File manager - Edit - /home/autoph/public_html/projects/tickets-autohub/public/js/jquery.inputmask.min.js
Back
/*! * dist/jquery.inputmask.min * https://github.com/RobinHerbots/Inputmask * Copyright (c) 2010 - 2023 Robin Herbots * Licensed under the MIT license * Version: 5.0.9-beta.31 */ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("jquery"));else if("function"==typeof define&&define.amd)define(["jquery"],t);else{var i="object"==typeof exports?t(require("jquery")):t(e.jQuery);for(var n in i)("object"==typeof exports?exports:e)[n]=i[n]}}("undefined"!=typeof self?self:this,(function(e){return function(){"use strict";var t={3046:function(e,t,i){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,i(7149),i(3194),i(9302),i(4013),i(3851),i(219),i(207),i(5296);var a=((n=i(2394))&&n.__esModule?n:{default:n}).default;t.default=a},3976:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(2839),a={_maxTestPos:500,placeholder:"_",optionalmarker:["[","]"],quantifiermarker:["{","}"],groupmarker:["(",")"],alternatormarker:"|",escapeChar:"\\",mask:null,regex:null,oncomplete:function(){},onincomplete:function(){},oncleared:function(){},repeat:0,greedy:!1,autoUnmask:!1,removeMaskOnSubmit:!1,clearMaskOnLostFocus:!0,insertMode:!0,insertModeVisual:!0,clearIncomplete:!1,alias:null,onKeyDown:function(){},onBeforeMask:null,onBeforePaste:function(e,t){return"function"==typeof t.onBeforeMask?t.onBeforeMask.call(this,e,t):e},onBeforeWrite:null,onUnMask:null,showMaskOnFocus:!0,showMaskOnHover:!0,onKeyValidation:function(){},skipOptionalPartCharacter:" ",numericInput:!1,rightAlign:!1,undoOnEscape:!0,radixPoint:"",_radixDance:!1,groupSeparator:"",keepStatic:null,positionCaretOnTab:!0,tabThrough:!1,supportsInputType:["text","tel","url","password","search"],ignorables:Object.keys(n.ignorables),isComplete:null,preValidation:null,postValidation:null,staticDefinitionSymbol:void 0,jitMasking:!1,nullable:!0,inputEventOnly:!1,noValuePatching:!1,positionCaretOnClick:"lvp",casing:null,inputmode:"text",importDataAttributes:!0,shiftPositions:!0,usePrototypeDefinitions:!0,validationEventTimeOut:3e3,substitutes:{}};t.default=a},7392:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={9:{validator:"[0-9\uff10-\uff19]",definitionSymbol:"*"},a:{validator:"[A-Za-z\u0410-\u044f\u0401\u0451\xc0-\xff\xb5]",definitionSymbol:"*"},"*":{validator:"[0-9\uff10-\uff19A-Za-z\u0410-\u044f\u0401\u0451\xc0-\xff\xb5]"}}},3287:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,a=(n=i(7957))&&n.__esModule?n:{default:n};if(void 0===a.default)throw"jQuery not loaded!";var r=a.default;t.default=r},9845:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.mobile=t.iphone=t.ie=void 0;var n,a=(n=i(9380))&&n.__esModule?n:{default:n};var r=a.default.navigator&&a.default.navigator.userAgent||"",o=r.indexOf("MSIE ")>0||r.indexOf("Trident/")>0,s=a.default.navigator&&a.default.navigator.userAgentData&&a.default.navigator.userAgentData.mobile||a.default.navigator&&a.default.navigator.maxTouchPoints||"ontouchstart"in a.default,l=/iphone/i.test(r);t.iphone=l,t.mobile=s,t.ie=o},7184:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(i,"\\$1")};var i=new RegExp("(\\"+["/",".","*","+","?","|","(",")","[","]","{","}","\\","$","^"].join("|\\")+")","gim")},6030:function(e,t,i){function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.EventHandlers=void 0;var a,r=i(8711),o=i(2839),s=i(9845),l=i(7215),c=i(7760),u=i(4713),f=(a=i(9380))&&a.__esModule?a:{default:a};function p(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */p=function(){return e};var e={},t=Object.prototype,i=t.hasOwnProperty,a=Object.defineProperty||function(e,t,i){e[t]=i.value},r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",s=r.asyncIterator||"@@asyncIterator",l=r.toStringTag||"@@toStringTag";function c(e,t,i){return Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,i){return e[t]=i}}function u(e,t,i,n){var r=t&&t.prototype instanceof h?t:h,o=Object.create(r.prototype),s=new _(n||[]);return a(o,"_invoke",{value:w(e,i,s)}),o}function f(e,t,i){try{return{type:"normal",arg:e.call(t,i)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var d={};function h(){}function v(){}function m(){}var g={};c(g,o,(function(){return this}));var y=Object.getPrototypeOf,k=y&&y(y(E([])));k&&k!==t&&i.call(k,o)&&(g=k);var b=m.prototype=h.prototype=Object.create(g);function x(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(a,o,s,l){var c=f(e[a],e,o);if("throw"!==c.type){var u=c.arg,p=u.value;return p&&"object"==n(p)&&i.call(p,"__await")?t.resolve(p.__await).then((function(e){r("next",e,s,l)}),(function(e){r("throw",e,s,l)})):t.resolve(p).then((function(e){u.value=e,s(u)}),(function(e){return r("throw",e,s,l)}))}l(c.arg)}var o;a(this,"_invoke",{value:function(e,i){function n(){return new t((function(t,n){r(e,i,t,n)}))}return o=o?o.then(n,n):n()}})}function w(e,t,i){var n="suspendedStart";return function(a,r){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===a)throw r;return j()}for(i.method=a,i.arg=r;;){var o=i.delegate;if(o){var s=S(o,i);if(s){if(s===d)continue;return s}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if("suspendedStart"===n)throw n="completed",i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);n="executing";var l=f(e,t,i);if("normal"===l.type){if(n=i.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:i.done}}"throw"===l.type&&(n="completed",i.method="throw",i.arg=l.arg)}}}function S(e,t){var i=t.method,n=e.iterator[i];if(void 0===n)return t.delegate=null,"throw"===i&&e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method)||"return"!==i&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+i+"' method")),d;var a=f(n,e.iterator,t.arg);if("throw"===a.type)return t.method="throw",t.arg=a.arg,t.delegate=null,d;var r=a.arg;return r?r.done?(t[e.resultName]=r.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):r:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function M(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function E(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,a=function t(){for(;++n<e.length;)if(i.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return a.next=a}}return{next:j}}function j(){return{value:void 0,done:!0}}return v.prototype=m,a(b,"constructor",{value:m,configurable:!0}),a(m,"constructor",{value:v,configurable:!0}),v.displayName=c(m,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,c(e,l,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},x(P.prototype),c(P.prototype,s,(function(){return this})),e.AsyncIterator=P,e.async=function(t,i,n,a,r){void 0===r&&(r=Promise);var o=new P(u(t,i,n,a),r);return e.isGeneratorFunction(i)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},x(b),c(b,l,"Generator"),c(b,o,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),i=[];for(var n in t)i.push(n);return i.reverse(),function e(){for(;i.length;){var n=i.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=E,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(M),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(i,n){return o.type="throw",o.arg=e,t.next=i,n&&(t.method="next",t.arg=void 0),!!n}for(var a=this.tryEntries.length-1;a>=0;--a){var r=this.tryEntries[a],o=r.completion;if("root"===r.tryLoc)return n("end");if(r.tryLoc<=this.prev){var s=i.call(r,"catchLoc"),l=i.call(r,"finallyLoc");if(s&&l){if(this.prev<r.catchLoc)return n(r.catchLoc,!0);if(this.prev<r.finallyLoc)return n(r.finallyLoc)}else if(s){if(this.prev<r.catchLoc)return n(r.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<r.finallyLoc)return n(r.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&i.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var r=a;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var o=r?r.completion:{};return o.type=e,o.arg=t,r?(this.method="next",this.next=r.finallyLoc,d):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var i=this.tryEntries[t];if(i.finallyLoc===e)return this.complete(i.completion,i.afterLoc),M(i),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var i=this.tryEntries[t];if(i.tryLoc===e){var n=i.completion;if("throw"===n.type){var a=n.arg;M(i)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,i){return this.delegate={iterator:E(e),resultName:t,nextLoc:i},"next"===this.method&&(this.arg=void 0),d}},e}function d(e,t){var i="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!i){if(Array.isArray(e)||(i=function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);"Object"===i&&e.constructor&&(i=e.constructor.name);if("Map"===i||"Set"===i)return Array.from(e);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return h(e,t)}(e))||t&&e&&"number"==typeof e.length){i&&(e=i);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o=!0,s=!1;return{s:function(){i=i.call(e)},n:function(){var e=i.next();return o=e.done,e},e:function(e){s=!0,r=e},f:function(){try{o||null==i.return||i.return()}finally{if(s)throw r}}}}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}function v(e,t,i,n,a,r,o){try{var s=e[r](o),l=s.value}catch(e){return void i(e)}s.done?t(l):Promise.resolve(l).then(n,a)}var m,g,y={keyEvent:function(e,t,i,n,a){var f=this.inputmask,p=f.opts,d=f.dependencyLib,h=f.maskset,v=this,m=d(v),g=e.key,k=r.caret.call(f,v),b=p.onKeyDown.call(this,e,r.getBuffer.call(f),k,p);if(void 0!==b)return b;if(g===o.keys.Backspace||g===o.keys.Delete||s.iphone&&g===o.keys.BACKSPACE_SAFARI||e.ctrlKey&&g===o.keys.x&&!("oncut"in v))e.preventDefault(),l.handleRemove.call(f,v,g,k),(0,c.writeBuffer)(v,r.getBuffer.call(f,!0),h.p,e,v.inputmask._valueGet()!==r.getBuffer.call(f).join(""));else if(g===o.keys.End||g===o.keys.PageDown){e.preventDefault();var x=r.seekNext.call(f,r.getLastValidPosition.call(f));r.caret.call(f,v,e.shiftKey?k.begin:x,x,!0)}else g===o.keys.Home&&!e.shiftKey||g===o.keys.PageUp?(e.preventDefault(),r.caret.call(f,v,0,e.shiftKey?k.begin:0,!0)):p.undoOnEscape&&g===o.keys.Escape&&!0!==e.altKey?((0,c.checkVal)(v,!0,!1,f.undoValue.split("")),m.trigger("click")):g!==o.keys.Insert||e.shiftKey||e.ctrlKey||void 0!==f.userOptions.insertMode?!0===p.tabThrough&&g===o.keys.Tab?!0===e.shiftKey?(k.end=r.seekPrevious.call(f,k.end,!0),!0===u.getTest.call(f,k.end-1).match.static&&k.end--,k.begin=r.seekPrevious.call(f,k.end,!0),k.begin>=0&&k.end>0&&(e.preventDefault(),r.caret.call(f,v,k.begin,k.end))):(k.begin=r.seekNext.call(f,k.begin,!0),k.end=r.seekNext.call(f,k.begin,!0),k.end<h.maskLength&&k.end--,k.begin<=h.maskLength&&(e.preventDefault(),r.caret.call(f,v,k.begin,k.end))):e.shiftKey||p.insertModeVisual&&!1===p.insertMode&&(g===o.keys.ArrowRight?setTimeout((function(){var e=r.caret.call(f,v);r.caret.call(f,v,e.begin)}),0):g===o.keys.ArrowLeft&&setTimeout((function(){var e=r.translatePosition.call(f,v.inputmask.caretPos.begin);r.translatePosition.call(f,v.inputmask.caretPos.end);f.isRTL?r.caret.call(f,v,e+(e===h.maskLength?0:1)):r.caret.call(f,v,e-(0===e?0:1))}),0)):l.isSelection.call(f,k)?p.insertMode=!p.insertMode:(p.insertMode=!p.insertMode,r.caret.call(f,v,k.begin,k.begin));return f.isComposing=g==o.keys.Process||g==o.keys.Unidentified,f.ignorable=p.ignorables.includes(g),y.keypressEvent.call(this,e,t,i,n,a)},keypressEvent:function(e,t,i,n,a){var s=this.inputmask||this,u=s.opts,f=s.dependencyLib,p=s.maskset,d=s.el,h=f(d),v=e.key;if(!0===t||e.ctrlKey&&e.altKey||!(e.ctrlKey||e.metaKey||s.ignorable)){if(v){var m,g=t?{begin:a,end:a}:r.caret.call(s,d);v=u.substitutes[v]||v,p.writeOutBuffer=!0;var y=l.isValid.call(s,g,v,n,void 0,void 0,void 0,t);if(!1!==y&&(r.resetMaskSet.call(s,!0),m=void 0!==y.caret?y.caret:r.seekNext.call(s,y.pos.begin?y.pos.begin:y.pos),p.p=m),m=u.numericInput&&void 0===y.caret?r.seekPrevious.call(s,m):m,!1!==i&&(setTimeout((function(){u.onKeyValidation.call(d,v,y)}),0),p.writeOutBuffer&&!1!==y)){var k=r.getBuffer.call(s);(0,c.writeBuffer)(d,k,m,e,!0!==t)}if(e.preventDefault(),t)return!1!==y&&(y.forwardPosition=m),y}}else v===o.keys.Enter&&s.undoValue!==s._valueGet(!0)&&(s.undoValue=s._valueGet(!0),setTimeout((function(){h.trigger("change")}),0))},pasteEvent:(m=p().mark((function e(t){var i,n,a,o,s,l;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i=function(e,i,n,a,s){var l=r.caret.call(e,i,void 0,void 0,!0),u=n.substr(0,l.begin),f=n.substr(l.end,n.length);if(u==(e.isRTL?r.getBufferTemplate.call(e).slice().reverse():r.getBufferTemplate.call(e)).slice(0,l.begin).join("")&&(u=""),f==(e.isRTL?r.getBufferTemplate.call(e).slice().reverse():r.getBufferTemplate.call(e)).slice(l.end).join("")&&(f=""),a=u+a+f,e.isRTL&&!0!==o.numericInput){a=a.split("");var p,h=d(r.getBufferTemplate.call(e));try{for(h.s();!(p=h.n()).done;){var v=p.value;a[0]===v&&a.shift()}}catch(e){h.e(e)}finally{h.f()}a=a.reverse().join("")}var m=a;if("function"==typeof s){if(!1===(m=s.call(e,m,o)))return!1;m||(m=n)}(0,c.checkVal)(i,!0,!1,m.toString().split(""),t)},n=this,a=this.inputmask,o=a.opts,s=a._valueGet(!0),a.skipInputEvent=!0,t.clipboardData&&t.clipboardData.getData?l=t.clipboardData.getData("text/plain"):f.default.clipboardData&&f.default.clipboardData.getData&&(l=f.default.clipboardData.getData("Text")),i(a,n,s,l,o.onBeforePaste),t.preventDefault();case 7:case"end":return e.stop()}}),e,this)})),g=function(){var e=this,t=arguments;return new Promise((function(i,n){var a=m.apply(e,t);function r(e){v(a,i,n,r,o,"next",e)}function o(e){v(a,i,n,r,o,"throw",e)}r(void 0)}))},function(e){return g.apply(this,arguments)}),inputFallBackEvent:function(e){var t=this.inputmask,i=t.opts,n=t.dependencyLib;var a,l=this,f=l.inputmask._valueGet(!0),p=(t.isRTL?r.getBuffer.call(t).slice().reverse():r.getBuffer.call(t)).join(""),d=r.caret.call(t,l,void 0,void 0,!0);if(p!==f){if(a=function(e,n,a){for(var o,s,l,c=e.substr(0,a.begin).split(""),f=e.substr(a.begin).split(""),p=n.substr(0,a.begin).split(""),d=n.substr(a.begin).split(""),h=c.length>=p.length?c.length:p.length,v=f.length>=d.length?f.length:d.length,m="",g=[],y="~";c.length<h;)c.push(y);for(;p.length<h;)p.push(y);for(;f.length<v;)f.unshift(y);for(;d.length<v;)d.unshift(y);var k=c.concat(f),b=p.concat(d);for(s=0,o=k.length;s<o;s++)switch(l=u.getPlaceholder.call(t,r.translatePosition.call(t,s)),m){case"insertText":b[s-1]===k[s]&&a.begin==k.length-1&&g.push(k[s]),s=o;break;case"insertReplacementText":case"deleteContentBackward":k[s]===y?a.end++:s=o;break;default:k[s]!==b[s]&&(k[s+1]!==y&&k[s+1]!==l&&void 0!==k[s+1]||(b[s]!==l||b[s+1]!==y)&&b[s]!==y?b[s+1]===y&&b[s]===k[s+1]?(m="insertText",g.push(k[s]),a.begin--,a.end--):k[s]!==l&&k[s]!==y&&(k[s+1]===y||b[s]!==k[s]&&b[s+1]===k[s+1])?(m="insertReplacementText",g.push(k[s]),a.begin--):k[s]===y?(m="deleteContentBackward",(r.isMask.call(t,r.translatePosition.call(t,s),!0)||b[s]===i.radixPoint)&&a.end++):s=o:(m="insertText",g.push(k[s]),a.begin--,a.end--))}return{action:m,data:g,caret:a}}(f,p,d),(l.inputmask.shadowRoot||l.ownerDocument).activeElement!==l&&l.focus(),(0,c.writeBuffer)(l,r.getBuffer.call(t)),r.caret.call(t,l,d.begin,d.end,!0),!s.mobile&&t.skipNextInsert&&"insertText"===e.inputType&&"insertText"===a.action&&t.isComposing)return!1;switch("insertCompositionText"===e.inputType&&"insertText"===a.action&&t.isComposing?t.skipNextInsert=!0:t.skipNextInsert=!1,a.action){case"insertText":case"insertReplacementText":a.data.forEach((function(e,i){var a=new n.Event("keypress");a.key=e,t.ignorable=!1,y.keypressEvent.call(l,a)})),setTimeout((function(){t.$el.trigger("keyup")}),0);break;case"deleteContentBackward":var h=new n.Event("keydown");h.key=o.keys.Backspace,y.keyEvent.call(l,h);break;default:(0,c.applyInputValue)(l,f),r.caret.call(t,l,d.begin,d.end,!0)}e.preventDefault()}},setValueEvent:function(e){var t=this.inputmask,i=this,n=e&&e.detail?e.detail[0]:arguments[1];void 0===n&&(n=i.inputmask._valueGet(!0)),(0,c.applyInputValue)(i,n),(e.detail&&void 0!==e.detail[1]||void 0!==arguments[2])&&r.caret.call(t,i,e.detail?e.detail[1]:arguments[2])},focusEvent:function(e){var t=this.inputmask,i=t.opts,n=t&&t._valueGet();i.showMaskOnFocus&&n!==r.getBuffer.call(t).join("")&&(0,c.writeBuffer)(this,r.getBuffer.call(t),r.seekNext.call(t,r.getLastValidPosition.call(t))),!0!==i.positionCaretOnTab||!1!==t.mouseEnter||l.isComplete.call(t,r.getBuffer.call(t))&&-1!==r.getLastValidPosition.call(t)||y.clickEvent.apply(this,[e,!0]),t.undoValue=t&&t._valueGet(!0)},invalidEvent:function(e){this.inputmask.validationEvent=!0},mouseleaveEvent:function(){var e=this.inputmask,t=e.opts,i=this;e.mouseEnter=!1,t.clearMaskOnLostFocus&&(i.inputmask.shadowRoot||i.ownerDocument).activeElement!==i&&(0,c.HandleNativePlaceholder)(i,e.originalPlaceholder)},clickEvent:function(e,t){var i=this.inputmask;i.clicked++;var n=this;if((n.inputmask.shadowRoot||n.ownerDocument).activeElement===n){var a=r.determineNewCaretPosition.call(i,r.caret.call(i,n),t);void 0!==a&&r.caret.call(i,n,a)}},cutEvent:function(e){var t=this.inputmask,i=t.maskset,n=this,a=r.caret.call(t,n),s=t.isRTL?r.getBuffer.call(t).slice(a.end,a.begin):r.getBuffer.call(t).slice(a.begin,a.end),u=t.isRTL?s.reverse().join(""):s.join("");f.default.navigator&&f.default.navigator.clipboard?f.default.navigator.clipboard.writeText(u):f.default.clipboardData&&f.default.clipboardData.getData&&f.default.clipboardData.setData("Text",u),l.handleRemove.call(t,n,o.keys.Delete,a),(0,c.writeBuffer)(n,r.getBuffer.call(t),i.p,e,t.undoValue!==t._valueGet(!0))},blurEvent:function(e){var t=this.inputmask,i=t.opts,n=t.dependencyLib;t.clicked=0;var a=n(this),o=this;if(o.inputmask){(0,c.HandleNativePlaceholder)(o,t.originalPlaceholder);var s=o.inputmask._valueGet(),u=r.getBuffer.call(t).slice();""!==s&&(i.clearMaskOnLostFocus&&(-1===r.getLastValidPosition.call(t)&&s===r.getBufferTemplate.call(t).join("")?u=[]:c.clearOptionalTail.call(t,u)),!1===l.isComplete.call(t,u)&&(setTimeout((function(){a.trigger("incomplete")}),0),i.clearIncomplete&&(r.resetMaskSet.call(t,!1),u=i.clearMaskOnLostFocus?[]:r.getBufferTemplate.call(t).slice())),(0,c.writeBuffer)(o,u,void 0,e)),s=t._valueGet(!0),t.undoValue!==s&&(""!=s||t.undoValue!=r.getBufferTemplate.call(t).join("")||t.undoValue==r.getBufferTemplate.call(t).join("")&&t.maskset.validPositions.length>0)&&(t.undoValue=s,a.trigger("change"))}},mouseenterEvent:function(){var e=this.inputmask,t=e.opts.showMaskOnHover,i=this;if(e.mouseEnter=!0,(i.inputmask.shadowRoot||i.ownerDocument).activeElement!==i){var n=(e.isRTL?r.getBufferTemplate.call(e).slice().reverse():r.getBufferTemplate.call(e)).join("");t&&(0,c.HandleNativePlaceholder)(i,n)}},submitEvent:function(){var e=this.inputmask,t=e.opts;e.undoValue!==e._valueGet(!0)&&e.$el.trigger("change"),-1===r.getLastValidPosition.call(e)&&e._valueGet&&e._valueGet()===r.getBufferTemplate.call(e).join("")&&e._valueSet(""),t.clearIncomplete&&!1===l.isComplete.call(e,r.getBuffer.call(e))&&e._valueSet(""),t.removeMaskOnSubmit&&(e._valueSet(e.unmaskedvalue(),!0),setTimeout((function(){(0,c.writeBuffer)(e.el,r.getBuffer.call(e))}),0))},resetEvent:function(){var e=this.inputmask;e.refreshValue=!0,setTimeout((function(){(0,c.applyInputValue)(e.el,e._valueGet(!0))}),0)}};t.EventHandlers=y},9716:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.EventRuler=void 0;var n,a=(n=i(2394))&&n.__esModule?n:{default:n},r=i(2839),o=i(8711),s=i(7760);var l={on:function(e,t,i){var n=e.inputmask.dependencyLib,l=function(t){t.originalEvent&&(t=t.originalEvent||t,arguments[0]=t);var l,c=this,u=c.inputmask,f=u?u.opts:void 0;if(void 0===u&&"FORM"!==this.nodeName){var p=n.data(c,"_inputmask_opts");n(c).off(),p&&new a.default(p).mask(c)}else{if(["submit","reset","setvalue"].includes(t.type)||"FORM"===this.nodeName||!(c.disabled||c.readOnly&&!("keydown"===t.type&&t.ctrlKey&&t.key===r.keys.c||!1===f.tabThrough&&t.key===r.keys.Tab))){switch(t.type){case"input":if(!0===u.skipInputEvent)return u.skipInputEvent=!1,t.preventDefault();break;case"click":case"focus":return u.validationEvent?(u.validationEvent=!1,e.blur(),(0,s.HandleNativePlaceholder)(e,(u.isRTL?o.getBufferTemplate.call(u).slice().reverse():o.getBufferTemplate.call(u)).join("")),setTimeout((function(){e.focus()}),f.validationEventTimeOut),!1):(l=arguments,void setTimeout((function(){e.inputmask&&i.apply(c,l)}),0))}var d=i.apply(c,arguments);return!1===d&&(t.preventDefault(),t.stopPropagation()),d}t.preventDefault()}};["submit","reset"].includes(t)?(l=l.bind(e),null!==e.form&&n(e.form).on(t,l)):n(e).on(t,l),e.inputmask.events[t]=e.inputmask.events[t]||[],e.inputmask.events[t].push(l)},off:function(e,t){if(e.inputmask&&e.inputmask.events){var i=e.inputmask.dependencyLib,n=e.inputmask.events;for(var a in t&&((n=[])[t]=e.inputmask.events[t]),n){for(var r=n[a];r.length>0;){var o=r.pop();["submit","reset"].includes(a)?null!==e.form&&i(e.form).off(a,o):i(e).off(a,o)}delete e.inputmask.events[a]}}}};t.EventRuler=l},219:function(e,t,i){var n=p(i(2394)),a=i(2839),r=p(i(7184)),o=i(8711),s=i(4713);function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var n,a,r,o,s=[],l=!0,c=!1;try{if(r=(i=i.call(e)).next,0===t){if(Object(i)!==i)return;l=!1}else for(;!(l=(n=r.call(i)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=i.return&&(o=i.return(),Object(o)!==o))return}finally{if(c)throw a}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);"Object"===i&&e.constructor&&(i=e.constructor.name);if("Map"===i||"Set"===i)return Array.from(e);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return c(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function f(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,(a=n.key,r=void 0,r=function(e,t){if("object"!==u(e)||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var n=i.call(e,t||"default");if("object"!==u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(a,"string"),"symbol"===u(r)?r:String(r)),n)}var a,r}function p(e){return e&&e.__esModule?e:{default:e}}var d=n.default.dependencyLib,h=function(){function e(t,i,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.mask=t,this.format=i,this.opts=n,this._date=new Date(1,0,1),this.initDateObject(t,this.opts)}var t,i,n;return t=e,(i=[{key:"date",get:function(){return void 0===this._date&&(this._date=new Date(1,0,1),this.initDateObject(void 0,this.opts)),this._date}},{key:"initDateObject",value:function(e,t){var i;for(P(t).lastIndex=0;i=P(t).exec(this.format);){var n=new RegExp("\\d+$").exec(i[0]),a=n?i[0][0]+"x":i[0],r=void 0;if(void 0!==e){if(n){var o=P(t).lastIndex,s=E(i.index,t);P(t).lastIndex=o,r=e.slice(0,e.indexOf(s.nextMatch[0]))}else r=e.slice(0,g[a]&&g[a][4]||a.length);e=e.slice(r.length)}Object.prototype.hasOwnProperty.call(g,a)&&this.setValue(this,r,a,g[a][2],g[a][1])}}},{key:"setValue",value:function(e,t,i,n,a){if(void 0!==t&&(e[n]="ampm"===n?t:t.replace(/[^0-9]/g,"0"),e["raw"+n]=t.replace(/\s/g,"_")),void 0!==a){var r=e[n];("day"===n&&29===parseInt(r)||"month"===n&&2===parseInt(r))&&(29!==parseInt(e.day)||2!==parseInt(e.month)||""!==e.year&&void 0!==e.year||e._date.setFullYear(2012,1,29)),"day"===n&&(m=!0,0===parseInt(r)&&(r=1)),"month"===n&&(m=!0),"year"===n&&(m=!0,r.length<4&&(r=O(r,4,!0))),""===r||isNaN(r)||a.call(e._date,r),"ampm"===n&&a.call(e._date,r)}}},{key:"reset",value:function(){this._date=new Date(1,0,1)}},{key:"reInit",value:function(){this._date=void 0,this.date}}])&&f(t.prototype,i),n&&f(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),v=(new Date).getFullYear(),m=!1,g={d:["[1-9]|[12][0-9]|3[01]",Date.prototype.setDate,"day",Date.prototype.getDate],dd:["0[1-9]|[12][0-9]|3[01]",Date.prototype.setDate,"day",function(){return O(Date.prototype.getDate.call(this),2)}],ddd:[""],dddd:[""],m:["[1-9]|1[012]",function(e){var t=e?parseInt(e):0;return t>0&&t--,Date.prototype.setMonth.call(this,t)},"month",function(){return Date.prototype.getMonth.call(this)+1}],mm:["0[1-9]|1[012]",function(e){var t=e?parseInt(e):0;return t>0&&t--,Date.prototype.setMonth.call(this,t)},"month",function(){return O(Date.prototype.getMonth.call(this)+1,2)}],mmm:[""],mmmm:[""],yy:["[0-9]{2}",Date.prototype.setFullYear,"year",function(){return O(Date.prototype.getFullYear.call(this),2)}],yyyy:["[0-9]{4}",Date.prototype.setFullYear,"year",function(){return O(Date.prototype.getFullYear.call(this),4)}],h:["[1-9]|1[0-2]",Date.prototype.setHours,"hours",Date.prototype.getHours],hh:["0[1-9]|1[0-2]",Date.prototype.setHours,"hours",function(){return O(Date.prototype.getHours.call(this),2)}],hx:[function(e){return"[0-9]{".concat(e,"}")},Date.prototype.setHours,"hours",function(e){return Date.prototype.getHours}],H:["1?[0-9]|2[0-3]",Date.prototype.setHours,"hours",Date.prototype.getHours],HH:["0[0-9]|1[0-9]|2[0-3]",Date.prototype.setHours,"hours",function(){return O(Date.prototype.getHours.call(this),2)}],Hx:[function(e){return"[0-9]{".concat(e,"}")},Date.prototype.setHours,"hours",function(e){return function(){return O(Date.prototype.getHours.call(this),e)}}],M:["[1-5]?[0-9]",Date.prototype.setMinutes,"minutes",Date.prototype.getMinutes],MM:["0[0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9]",Date.prototype.setMinutes,"minutes",function(){return O(Date.prototype.getMinutes.call(this),2)}],s:["[1-5]?[0-9]",Date.prototype.setSeconds,"seconds",Date.prototype.getSeconds],ss:["0[0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9]",Date.prototype.setSeconds,"seconds",function(){return O(Date.prototype.getSeconds.call(this),2)}],l:["[0-9]{3}",Date.prototype.setMilliseconds,"milliseconds",function(){return O(Date.prototype.getMilliseconds.call(this),3)},3],L:["[0-9]{2}",Date.prototype.setMilliseconds,"milliseconds",function(){return O(Date.prototype.getMilliseconds.call(this),2)},2],t:["[ap]",k,"ampm",b,1],tt:["[ap]m",k,"ampm",b,2],T:["[AP]",k,"ampm",b,1],TT:["[AP]M",k,"ampm",b,2],Z:[".*",void 0,"Z",function(){var e=this.toString().match(/\((.+)\)/)[1];e.includes(" ")&&(e=(e=e.replace("-"," ").toUpperCase()).split(" ").map((function(e){return l(e,1)[0]})).join(""));return e}],o:[""],S:[""]},y={isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:ss",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"};function k(e){var t=this.getHours();e.toLowerCase().includes("p")?this.setHours(t+12):e.toLowerCase().includes("a")&&t>=12&&this.setHours(t-12)}function b(){var e=this.getHours();return(e=e||12)>=12?"PM":"AM"}function x(e){var t=new RegExp("\\d+$").exec(e[0]);if(t&&void 0!==t[0]){var i=g[e[0][0]+"x"].slice("");return i[0]=i[0](t[0]),i[3]=i[3](t[0]),i}if(g[e[0]])return g[e[0]]}function P(e){if(!e.tokenizer){var t=[],i=[];for(var n in g)if(/\.*x$/.test(n)){var a=n[0]+"\\d+";-1===i.indexOf(a)&&i.push(a)}else-1===t.indexOf(n[0])&&t.push(n[0]);e.tokenizer="("+(i.length>0?i.join("|")+"|":"")+t.join("+|")+")+?|.",e.tokenizer=new RegExp(e.tokenizer,"g")}return e.tokenizer}function w(e,t,i){if(!m)return!0;if(void 0===e.rawday||!isFinite(e.rawday)&&new Date(e.date.getFullYear(),isFinite(e.rawmonth)?e.month:e.date.getMonth()+1,0).getDate()>=e.day||"29"==e.day&&(!isFinite(e.rawyear)||void 0===e.rawyear||""===e.rawyear)||new Date(e.date.getFullYear(),isFinite(e.rawmonth)?e.month:e.date.getMonth()+1,0).getDate()>=e.day)return t;if("29"==e.day){var n=E(t.pos,i);if(n.targetMatch&&"yyyy"===n.targetMatch[0]&&t.pos-n.targetMatchIndex==2)return t.remove=t.pos+1,t}else if("02"==e.month&&"30"==e.day&&void 0!==t.c)return e.day="03",e.date.setDate(3),e.date.setMonth(1),t.insert=[{pos:t.pos,c:"0"},{pos:t.pos+1,c:t.c}],t.caret=o.seekNext.call(this,t.pos+1),t;return!1}function S(e,t,i,n){var a,o,s="";for(P(i).lastIndex=0;a=P(i).exec(e);){if(void 0===t)if(o=x(a))s+="("+o[0]+")";else switch(a[0]){case"[":s+="(";break;case"]":s+=")?";break;default:s+=(0,r.default)(a[0])}else if(o=x(a))if(!0!==n&&o[3])s+=o[3].call(t.date);else o[2]?s+=t["raw"+o[2]]:s+=a[0];else s+=a[0]}return s}function O(e,t,i){for(e=String(e),t=t||2;e.length<t;)e=i?e+"0":"0"+e;return e}function M(e,t,i){return"string"==typeof e?new h(e,t,i):e&&"object"===u(e)&&Object.prototype.hasOwnProperty.call(e,"date")?e:void 0}function _(e,t){return S(t.inputFormat,{date:e},t)}function E(e,t){var i,n,a=0,r=0;for(P(t).lastIndex=0;n=P(t).exec(t.inputFormat);){var o=new RegExp("\\d+$").exec(n[0]);if((a+=r=o?parseInt(o[0]):n[0].length)>=e+1){i=n,n=P(t).exec(t.inputFormat);break}}return{targetMatchIndex:a-r,nextMatch:n,targetMatch:i}}n.default.extendAliases({datetime:{mask:function(e){return e.numericInput=!1,g.S=e.i18n.ordinalSuffix.join("|"),e.inputFormat=y[e.inputFormat]||e.inputFormat,e.displayFormat=y[e.displayFormat]||e.displayFormat||e.inputFormat,e.outputFormat=y[e.outputFormat]||e.outputFormat||e.inputFormat,e.placeholder=""!==e.placeholder?e.placeholder:e.inputFormat.replace(/[[\]]/,""),e.regex=S(e.inputFormat,void 0,e),e.min=M(e.min,e.inputFormat,e),e.max=M(e.max,e.inputFormat,e),null},placeholder:"",inputFormat:"isoDateTime",displayFormat:null,outputFormat:null,min:null,max:null,skipOptionalPartCharacter:"",i18n:{dayNames:["Mon","Tue","Wed","Thu","Fri","Sat","Sun","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"],ordinalSuffix:["st","nd","rd","th"]},preValidation:function(e,t,i,n,a,r,o,s){if(s)return!0;if(isNaN(i)&&e[t]!==i){var l=E(t,a);if(l.nextMatch&&l.nextMatch[0]===i&&l.targetMatch[0].length>1){var c=g[l.targetMatch[0]][0];if(new RegExp(c).test("0"+e[t-1]))return e[t]=e[t-1],e[t-1]="0",{fuzzy:!0,buffer:e,refreshFromBuffer:{start:t-1,end:t+1},pos:t+1}}}return!0},postValidation:function(e,t,i,n,a,r,o,l){var c,u;if(o)return!0;if(!1===n&&(((c=E(t+1,a)).targetMatch&&c.targetMatchIndex===t&&c.targetMatch[0].length>1&&void 0!==g[c.targetMatch[0]]||(c=E(t+2,a)).targetMatch&&c.targetMatchIndex===t+1&&c.targetMatch[0].length>1&&void 0!==g[c.targetMatch[0]])&&(u=g[c.targetMatch[0]][0]),void 0!==u&&(void 0!==r.validPositions[t+1]&&new RegExp(u).test(i+"0")?(e[t]=i,e[t+1]="0",n={pos:t+2,caret:t}):new RegExp(u).test("0"+i)&&(e[t]="0",e[t+1]=i,n={pos:t+2})),!1===n))return n;if(n.fuzzy&&(e=n.buffer,t=n.pos),(c=E(t,a)).targetMatch&&c.targetMatch[0]&&void 0!==g[c.targetMatch[0]]){var f=g[c.targetMatch[0]];u=f[0];var p=e.slice(c.targetMatchIndex,c.targetMatchIndex+c.targetMatch[0].length);if(!1===new RegExp(u).test(p.join(""))&&2===c.targetMatch[0].length&&r.validPositions[c.targetMatchIndex]&&r.validPositions[c.targetMatchIndex+1]&&(r.validPositions[c.targetMatchIndex+1].input="0"),"year"==f[2])for(var d=s.getMaskTemplate.call(this,!1,1,void 0,!0),h=t+1;h<e.length;h++)e[h]=d[h],r.validPositions.splice(t+1,1)}var m=n,y=M(e.join(""),a.inputFormat,a);return m&&!isNaN(y.date.getTime())&&(a.prefillYear&&(m=function(e,t,i){if(e.year!==e.rawyear){var n=v.toString(),a=e.rawyear.replace(/[^0-9]/g,""),r=n.slice(0,a.length),o=n.slice(a.length);if(2===a.length&&a===r){var s=new Date(v,e.month-1,e.day);e.day==s.getDate()&&(!i.max||i.max.date.getTime()>=s.getTime())&&(e.date.setFullYear(v),e.year=n,t.insert=[{pos:t.pos+1,c:o[0]},{pos:t.pos+2,c:o[1]}])}}return t}(y,m,a)),m=function(e,t,i,n,a){if(!t)return t;if(t&&i.min&&!isNaN(i.min.date.getTime())){var r;for(e.reset(),P(i).lastIndex=0;r=P(i).exec(i.inputFormat);){var o;if((o=x(r))&&o[3]){for(var s=o[1],l=e[o[2]],c=i.min[o[2]],u=i.max?i.max[o[2]]:c,f=[],p=!1,d=0;d<c.length;d++)void 0!==n.validPositions[d+r.index]||p?(f[d]=l[d],p=p||l[d]>c[d]):(f[d]=c[d],"year"===o[2]&&l.length-1==d&&c!=u&&(f=(parseInt(f.join(""))+1).toString().split("")),"ampm"===o[2]&&c!=u&&i.min.date.getTime()>e.date.getTime()&&(f[d]=u[d]));s.call(e._date,f.join(""))}}t=i.min.date.getTime()<=e.date.getTime(),e.reInit()}return t&&i.max&&(isNaN(i.max.date.getTime())||(t=i.max.date.getTime()>=e.date.getTime())),t}(y,m=w.call(this,y,m,a),a,r)),void 0!==t&&m&&n.pos!==t?{buffer:S(a.inputFormat,y,a).split(""),refreshFromBuffer:{start:t,end:n.pos},pos:n.caret||n.pos}:m},onKeyDown:function(e,t,i,n){e.ctrlKey&&e.key===a.keys.ArrowRight&&(this.inputmask._valueSet(_(new Date,n)),d(this).trigger("setvalue"))},onUnMask:function(e,t,i){return t?S(i.outputFormat,M(e,i.inputFormat,i),i,!0):t},casing:function(e,t,i,n){return 0==t.nativeDef.indexOf("[ap]")?e.toLowerCase():0==t.nativeDef.indexOf("[AP]")?e.toUpperCase():e},onBeforeMask:function(e,t){return"[object Date]"===Object.prototype.toString.call(e)&&(e=_(e,t)),e},insertMode:!1,insertModeVisual:!1,shiftPositions:!1,keepStatic:!1,inputmode:"numeric",prefillYear:!0}})},3851:function(e,t,i){var n,a=(n=i(2394))&&n.__esModule?n:{default:n},r=i(8711),o=i(4713);a.default.extendDefinitions({A:{validator:"[A-Za-z\u0410-\u044f\u0401\u0451\xc0-\xff\xb5]",casing:"upper"},"&":{validator:"[0-9A-Za-z\u0410-\u044f\u0401\u0451\xc0-\xff\xb5]",casing:"upper"},"#":{validator:"[0-9A-Fa-f]",casing:"upper"}});var s=new RegExp("25[0-5]|2[0-4][0-9]|[01][0-9][0-9]");function l(e,t,i,n,a){return i-1>-1&&"."!==t.buffer[i-1]?(e=t.buffer[i-1]+e,e=i-2>-1&&"."!==t.buffer[i-2]?t.buffer[i-2]+e:"0"+e):e="00"+e,s.test(e)}a.default.extendAliases({cssunit:{regex:"[+-]?[0-9]+\\.?([0-9]+)?(px|em|rem|ex|%|in|cm|mm|pt|pc)"},url:{regex:"(https?|ftp)://.*",autoUnmask:!1,keepStatic:!1,tabThrough:!0},ip:{mask:"i{1,3}.j{1,3}.k{1,3}.l{1,3}",definitions:{i:{validator:l},j:{validator:l},k:{validator:l},l:{validator:l}},onUnMask:function(e,t,i){return e},inputmode:"decimal",substitutes:{",":"."}},email:{mask:function(e){var t=e.separator,i=e.quantifier,n="*{1,64}[.*{1,64}][.*{1,64}][.*{1,63}]@-{1,63}.-{1,63}[.-{1,63}][.-{1,63}]",a=n;if(t)for(var r=0;r<i;r++)a+="[".concat(t).concat(n,"]");return a},greedy:!1,casing:"lower",separator:null,quantifier:5,skipOptionalPartCharacter:"",onBeforePaste:function(e,t){return(e=e.toLowerCase()).replace("mailto:","")},definitions:{"*":{validator:"[0-9\uff11-\uff19A-Za-z\u0410-\u044f\u0401\u0451\xc0-\xff\xb5!#$%&'*+/=?^_`{|}~-]"},"-":{validator:"[0-9A-Za-z-]"}},onUnMask:function(e,t,i){return e},inputmode:"email"},mac:{mask:"##:##:##:##:##:##"},vin:{mask:"V{13}9{4}",definitions:{V:{validator:"[A-HJ-NPR-Za-hj-npr-z\\d]",casing:"upper"}},clearIncomplete:!0,autoUnmask:!0},ssn:{mask:"999-99-9999",postValidation:function(e,t,i,n,a,s,l){var c=o.getMaskTemplate.call(this,!0,r.getLastValidPosition.call(this),!0,!0);return/^(?!219-09-9999|078-05-1120)(?!666|000|9.{2}).{3}-(?!00).{2}-(?!0{4}).{4}$/.test(c.join(""))}}})},207:function(e,t,i){var n=s(i(2394)),a=s(i(7184)),r=i(8711),o=i(2839);function s(e){return e&&e.__esModule?e:{default:e}}var l=n.default.dependencyLib;function c(e,t){for(var i="",a=0;a<e.length;a++)n.default.prototype.definitions[e.charAt(a)]||t.definitions[e.charAt(a)]||t.optionalmarker[0]===e.charAt(a)||t.optionalmarker[1]===e.charAt(a)||t.quantifiermarker[0]===e.charAt(a)||t.quantifiermarker[1]===e.charAt(a)||t.groupmarker[0]===e.charAt(a)||t.groupmarker[1]===e.charAt(a)||t.alternatormarker===e.charAt(a)?i+="\\"+e.charAt(a):i+=e.charAt(a);return i}function u(e,t,i,n){if(e.length>0&&t>0&&(!i.digitsOptional||n)){var a=e.indexOf(i.radixPoint),r=!1;i.negationSymbol.back===e[e.length-1]&&(r=!0,e.length--),-1===a&&(e.push(i.radixPoint),a=e.length-1);for(var o=1;o<=t;o++)isFinite(e[a+o])||(e[a+o]="0")}return r&&e.push(i.negationSymbol.back),e}function f(e,t){var i=0;for(var n in"+"===e&&(i=r.seekNext.call(this,t.validPositions.length-1)),t.tests)if((n=parseInt(n))>=i)for(var a=0,o=t.tests[n].length;a<o;a++)if((void 0===t.validPositions[n]||"-"===e)&&t.tests[n][a].match.def===e)return n+(void 0!==t.validPositions[n]&&"-"!==e?1:0);return i}function p(e,t){for(var i=-1,n=0,a=t.validPositions.length;n<a;n++){var r=t.validPositions[n];if(r&&r.match.def===e){i=n;break}}return i}function d(e,t,i,n,a){var r=t.buffer?t.buffer.indexOf(a.radixPoint):-1,o=(-1!==r||n&&a.jitMasking)&&new RegExp(a.definitions[9].validator).test(e);return a._radixDance&&-1!==r&&o&&null==t.validPositions[r]?{insert:{pos:r===i?r+1:r,c:a.radixPoint},pos:i}:o}n.default.extendAliases({numeric:{mask:function(e){e.repeat=0,e.groupSeparator===e.radixPoint&&e.digits&&"0"!==e.digits&&("."===e.radixPoint?e.groupSeparator=",":","===e.radixPoint?e.groupSeparator=".":e.groupSeparator="")," "===e.groupSeparator&&(e.skipOptionalPartCharacter=void 0),e.placeholder.length>1&&(e.placeholder=e.placeholder.charAt(0)),"radixFocus"===e.positionCaretOnClick&&""===e.placeholder&&(e.positionCaretOnClick="lvp");var t="0",i=e.radixPoint;!0===e.numericInput&&void 0===e.__financeInput?(t="1",e.positionCaretOnClick="radixFocus"===e.positionCaretOnClick?"lvp":e.positionCaretOnClick,e.digitsOptional=!1,isNaN(e.digits)&&(e.digits=2),e._radixDance=!1,i=","===e.radixPoint?"?":"!",""!==e.radixPoint&&void 0===e.definitions[i]&&(e.definitions[i]={},e.definitions[i].validator="["+e.radixPoint+"]",e.definitions[i].placeholder=e.radixPoint,e.definitions[i].static=!0,e.definitions[i].generated=!0)):(e.__financeInput=!1,e.numericInput=!0);var n,r="[+]";if(r+=c(e.prefix,e),""!==e.groupSeparator?(void 0===e.definitions[e.groupSeparator]&&(e.definitions[e.groupSeparator]={},e.definitions[e.groupSeparator].validator="["+e.groupSeparator+"]",e.definitions[e.groupSeparator].placeholder=e.groupSeparator,e.definitions[e.groupSeparator].static=!0,e.definitions[e.groupSeparator].generated=!0),r+=e._mask(e)):r+="9{+}",void 0!==e.digits&&0!==e.digits){var o=e.digits.toString().split(",");isFinite(o[0])&&o[1]&&isFinite(o[1])?r+=i+t+"{"+e.digits+"}":(isNaN(e.digits)||parseInt(e.digits)>0)&&(e.digitsOptional||e.jitMasking?(n=r+i+t+"{0,"+e.digits+"}",e.keepStatic=!0):r+=i+t+"{"+e.digits+"}")}else e.inputmode="numeric";return r+=c(e.suffix,e),r+="[-]",n&&(r=[n+c(e.suffix,e)+"[-]",r]),e.greedy=!1,function(e){void 0===e.parseMinMaxOptions&&(null!==e.min&&(e.min=e.min.toString().replace(new RegExp((0,a.default)(e.groupSeparator),"g"),""),","===e.radixPoint&&(e.min=e.min.replace(e.radixPoint,".")),e.min=isFinite(e.min)?parseFloat(e.min):NaN,isNaN(e.min)&&(e.min=Number.MIN_VALUE)),null!==e.max&&(e.max=e.max.toString().replace(new RegExp((0,a.default)(e.groupSeparator),"g"),""),","===e.radixPoint&&(e.max=e.max.replace(e.radixPoint,".")),e.max=isFinite(e.max)?parseFloat(e.max):NaN,isNaN(e.max)&&(e.max=Number.MAX_VALUE)),e.parseMinMaxOptions="done")}(e),""!==e.radixPoint&&e.substituteRadixPoint&&(e.substitutes["."==e.radixPoint?",":"."]=e.radixPoint),r},_mask:function(e){return"("+e.groupSeparator+"999){+|1}"},digits:"*",digitsOptional:!0,enforceDigitsOnBlur:!1,radixPoint:".",positionCaretOnClick:"radixFocus",_radixDance:!0,groupSeparator:"",allowMinus:!0,negationSymbol:{front:"-",back:""},prefix:"",suffix:"",min:null,max:null,SetMaxOnOverflow:!1,step:1,inputType:"text",unmaskAsNumber:!1,roundingFN:Math.round,inputmode:"decimal",shortcuts:{k:"1000",m:"1000000"},placeholder:"0",greedy:!1,rightAlign:!0,insertMode:!0,autoUnmask:!1,skipOptionalPartCharacter:"",usePrototypeDefinitions:!1,stripLeadingZeroes:!0,substituteRadixPoint:!0,definitions:{0:{validator:d},1:{validator:d,definitionSymbol:"9"},9:{validator:"[0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]",definitionSymbol:"*"},"+":{validator:function(e,t,i,n,a){return a.allowMinus&&("-"===e||e===a.negationSymbol.front)}},"-":{validator:function(e,t,i,n,a){return a.allowMinus&&e===a.negationSymbol.back}}},preValidation:function(e,t,i,n,a,r,o,s){var l=this;if(!1!==a.__financeInput&&i===a.radixPoint)return!1;var c=e.indexOf(a.radixPoint),u=t;if(t=function(e,t,i,n,a){return a._radixDance&&a.numericInput&&t!==a.negationSymbol.back&&e<=i&&(i>0||t==a.radixPoint)&&(void 0===n.validPositions[e-1]||n.validPositions[e-1].input!==a.negationSymbol.back)&&(e-=1),e}(t,i,c,r,a),"-"===i||i===a.negationSymbol.front){if(!0!==a.allowMinus)return!1;var d=!1,h=p("+",r),v=p("-",r);return-1!==h&&(d=[h,v]),!1!==d?{remove:d,caret:u-a.negationSymbol.back.length}:{insert:[{pos:f.call(l,"+",r),c:a.negationSymbol.front,fromIsValid:!0},{pos:f.call(l,"-",r),c:a.negationSymbol.back,fromIsValid:void 0}],caret:u+a.negationSymbol.back.length}}if(i===a.groupSeparator)return{caret:u};if(s)return!0;if(-1!==c&&!0===a._radixDance&&!1===n&&i===a.radixPoint&&void 0!==a.digits&&(isNaN(a.digits)||parseInt(a.digits)>0)&&c!==t){var m=f.call(l,a.radixPoint,r);return r.validPositions[m]&&(r.validPositions[m].generatedInput=r.validPositions[m].generated||!1),{caret:a._radixDance&&t===c-1?c+1:c}}if(!1===a.__financeInput)if(n){if(a.digitsOptional)return{rewritePosition:o.end};if(!a.digitsOptional){if(o.begin>c&&o.end<=c)return i===a.radixPoint?{insert:{pos:c+1,c:"0",fromIsValid:!0},rewritePosition:c}:{rewritePosition:c+1};if(o.begin<c)return{rewritePosition:o.begin-1}}}else if(!a.showMaskOnHover&&!a.showMaskOnFocus&&!a.digitsOptional&&a.digits>0&&""===this.__valueGet.call(this.el))return{rewritePosition:c};return{rewritePosition:t}},postValidation:function(e,t,i,n,a,r,o){if(!1===n)return n;if(o)return!0;if(null!==a.min||null!==a.max){var s=a.onUnMask(e.slice().reverse().join(""),void 0,l.extend({},a,{unmaskAsNumber:!0}));if(null!==a.min&&s<a.min&&(s.toString().length>a.min.toString().length||s<0))return!1;if(null!==a.max&&s>a.max)return!!a.SetMaxOnOverflow&&{refreshFromBuffer:!0,buffer:u(a.max.toString().replace(".",a.radixPoint).split(""),a.digits,a).reverse()}}return n},onUnMask:function(e,t,i){if(""===t&&!0===i.nullable)return t;var n=e.replace(i.prefix,"");return n=(n=n.replace(i.suffix,"")).replace(new RegExp((0,a.default)(i.groupSeparator),"g"),""),""!==i.placeholder.charAt(0)&&(n=n.replace(new RegExp(i.placeholder.charAt(0),"g"),"0")),i.unmaskAsNumber?(""!==i.radixPoint&&-1!==n.indexOf(i.radixPoint)&&(n=n.replace(a.default.call(this,i.radixPoint),".")),n=(n=n.replace(new RegExp("^"+(0,a.default)(i.negationSymbol.front)),"-")).replace(new RegExp((0,a.default)(i.negationSymbol.back)+"$"),""),Number(n)):n},isComplete:function(e,t){var i=(t.numericInput?e.slice().reverse():e).join("");return i=(i=(i=(i=(i=i.replace(new RegExp("^"+(0,a.default)(t.negationSymbol.front)),"-")).replace(new RegExp((0,a.default)(t.negationSymbol.back)+"$"),"")).replace(t.prefix,"")).replace(t.suffix,"")).replace(new RegExp((0,a.default)(t.groupSeparator)+"([0-9]{3})","g"),"$1"),","===t.radixPoint&&(i=i.replace((0,a.default)(t.radixPoint),".")),isFinite(i)},onBeforeMask:function(e,t){var i=t.radixPoint||",";isFinite(t.digits)&&(t.digits=parseInt(t.digits)),"number"!=typeof e&&"number"!==t.inputType||""===i||(e=e.toString().replace(".",i));var n="-"===e.charAt(0)||e.charAt(0)===t.negationSymbol.front,r=e.split(i),o=r[0].replace(/[^\-0-9]/g,""),s=r.length>1?r[1].replace(/[^0-9]/g,""):"",l=r.length>1;e=o+(""!==s?i+s:s);var c=0;if(""!==i&&(c=t.digitsOptional?t.digits<s.length?t.digits:s.length:t.digits,""!==s||!t.digitsOptional)){var f=Math.pow(10,c||1);e=e.replace((0,a.default)(i),"."),isNaN(parseFloat(e))||(e=(t.roundingFN(parseFloat(e)*f)/f).toFixed(c)),e=e.toString().replace(".",i)}if(0===t.digits&&-1!==e.indexOf(i)&&(e=e.substring(0,e.indexOf(i))),null!==t.min||null!==t.max){var p=e.toString().replace(i,".");null!==t.min&&p<t.min?e=t.min.toString().replace(".",i):null!==t.max&&p>t.max&&(e=t.max.toString().replace(".",i))}return n&&"-"!==e.charAt(0)&&(e="-"+e),u(e.toString().split(""),c,t,l).join("")},onBeforeWrite:function(e,t,i,n){function r(e,t){if(!1!==n.__financeInput||t){var i=e.indexOf(n.radixPoint);-1!==i&&e.splice(i,1)}if(""!==n.groupSeparator)for(;-1!==(i=e.indexOf(n.groupSeparator));)e.splice(i,1);return e}var o,s;if(n.stripLeadingZeroes&&(s=function(e,t){var i=new RegExp("(^"+(""!==t.negationSymbol.front?(0,a.default)(t.negationSymbol.front)+"?":"")+(0,a.default)(t.prefix)+")(.*)("+(0,a.default)(t.suffix)+(""!=t.negationSymbol.back?(0,a.default)(t.negationSymbol.back)+"?":"")+"$)").exec(e.slice().reverse().join("")),n=i?i[2]:"",r=!1;return n&&(n=n.split(t.radixPoint.charAt(0))[0],r=new RegExp("^[0"+t.groupSeparator+"]*").exec(n)),!(!r||!(r[0].length>1||r[0].length>0&&r[0].length<n.length))&&r}(t,n)))for(var c=t.join("").lastIndexOf(s[0].split("").reverse().join(""))-(s[0]==s.input?0:1),f=s[0]==s.input?1:0,p=s[0].length-f;p>0;p--)this.maskset.validPositions.splice(c+p,1),delete t[c+p];if(e)switch(e.type){case"blur":case"checkval":if(null!==n.min){var d=n.onUnMask(t.slice().reverse().join(""),void 0,l.extend({},n,{unmaskAsNumber:!0}));if(null!==n.min&&d<n.min)return{refreshFromBuffer:!0,buffer:u(n.min.toString().replace(".",n.radixPoint).split(""),n.digits,n).reverse()}}if(t[t.length-1]===n.negationSymbol.front){var h=new RegExp("(^"+(""!=n.negationSymbol.front?(0,a.default)(n.negationSymbol.front)+"?":"")+(0,a.default)(n.prefix)+")(.*)("+(0,a.default)(n.suffix)+(""!=n.negationSymbol.back?(0,a.default)(n.negationSymbol.back)+"?":"")+"$)").exec(r(t.slice(),!0).reverse().join(""));0==(h?h[2]:"")&&(o={refreshFromBuffer:!0,buffer:[0]})}else if(""!==n.radixPoint){t.indexOf(n.radixPoint)===n.suffix.length&&(o&&o.buffer?o.buffer.splice(0,1+n.suffix.length):(t.splice(0,1+n.suffix.length),o={refreshFromBuffer:!0,buffer:r(t)}))}if(n.enforceDigitsOnBlur){var v=(o=o||{})&&o.buffer||t.slice().reverse();o.refreshFromBuffer=!0,o.buffer=u(v,n.digits,n,!0).reverse()}}return o},onKeyDown:function(e,t,i,n){var a,r=l(this);if(3!=e.location){var s,c=e.key;if((s=n.shortcuts&&n.shortcuts[c])&&s.length>1)return this.inputmask.__valueSet.call(this,parseFloat(this.inputmask.unmaskedvalue())*parseInt(s)),r.trigger("setvalue"),!1}if(e.ctrlKey)switch(e.key){case o.keys.ArrowUp:return this.inputmask.__valueSet.call(this,parseFloat(this.inputmask.unmaskedvalue())+parseInt(n.step)),r.trigger("setvalue"),!1;case o.keys.ArrowDown:return this.inputmask.__valueSet.call(this,parseFloat(this.inputmask.unmaskedvalue())-parseInt(n.step)),r.trigger("setvalue"),!1}if(!e.shiftKey&&(e.key===o.keys.Delete||e.key===o.keys.Backspace||e.key===o.keys.BACKSPACE_SAFARI)&&i.begin!==t.length){if(t[e.key===o.keys.Delete?i.begin-1:i.end]===n.negationSymbol.front)return a=t.slice().reverse(),""!==n.negationSymbol.front&&a.shift(),""!==n.negationSymbol.back&&a.pop(),r.trigger("setvalue",[a.join(""),i.begin]),!1;if(!0===n._radixDance){var f=t.indexOf(n.radixPoint);if(n.digitsOptional){if(0===f)return(a=t.slice().reverse()).pop(),r.trigger("setvalue",[a.join(""),i.begin>=a.length?a.length:i.begin]),!1}else if(-1!==f&&(i.begin<f||i.end<f||e.key===o.keys.Delete&&(i.begin===f||i.begin-1===f))){var p=void 0;return i.begin===i.end&&(e.key===o.keys.Backspace||e.key===o.keys.BACKSPACE_SAFARI?i.begin++:e.key===o.keys.Delete&&i.begin-1===f&&(p=l.extend({},i),i.begin--,i.end--)),(a=t.slice().reverse()).splice(a.length-i.begin,i.begin-i.end+1),a=u(a,n.digits,n).join(""),p&&(i=p),r.trigger("setvalue",[a,i.begin>=a.length?f+1:i.begin]),!1}}}}},currency:{prefix:"",groupSeparator:",",alias:"numeric",digits:2,digitsOptional:!1},decimal:{alias:"numeric"},integer:{alias:"numeric",inputmode:"numeric",digits:0},percentage:{alias:"numeric",min:0,max:100,suffix:" %",digits:0,allowMinus:!1},indianns:{alias:"numeric",_mask:function(e){return"("+e.groupSeparator+"99){*|1}("+e.groupSeparator+"999){1|1}"},groupSeparator:",",radixPoint:".",placeholder:"0",digits:2,digitsOptional:!1}})},9380:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=!("undefined"==typeof window||!window.document||!window.document.createElement)?window:{};t.default=i},7760:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.HandleNativePlaceholder=function(e,t){var i=e?e.inputmask:this;if(s.ie){if(e.inputmask._valueGet()!==t&&(e.placeholder!==t||""===e.placeholder)){var n=r.getBuffer.call(i).slice(),a=e.inputmask._valueGet();if(a!==t){var o=r.getLastValidPosition.call(i);-1===o&&a===r.getBufferTemplate.call(i).join("")?n=[]:-1!==o&&u.call(i,n),p(e,n)}}}else e.placeholder!==t&&(e.placeholder=t,""===e.placeholder&&e.removeAttribute("placeholder"))},t.applyInputValue=c,t.checkVal=f,t.clearOptionalTail=u,t.unmaskedvalue=function(e){var t=e?e.inputmask:this,i=t.opts,n=t.maskset;if(e){if(void 0===e.inputmask)return e.value;e.inputmask&&e.inputmask.refreshValue&&c(e,e.inputmask._valueGet(!0))}for(var a=[],o=n.validPositions,s=0,l=o.length;s<l;s++)o[s]&&o[s].match&&(1!=o[s].match.static||Array.isArray(n.metadata)&&!0!==o[s].generatedInput)&&a.push(o[s].input);var u=0===a.length?"":(t.isRTL?a.reverse():a).join("");if("function"==typeof i.onUnMask){var f=(t.isRTL?r.getBuffer.call(t).slice().reverse():r.getBuffer.call(t)).join("");u=i.onUnMask.call(t,f,u,i)}return u},t.writeBuffer=p;var n=i(2839),a=i(4713),r=i(8711),o=i(7215),s=i(9845),l=i(6030);function c(e,t){var i=e?e.inputmask:this,n=i.opts;e.inputmask.refreshValue=!1,"function"==typeof n.onBeforeMask&&(t=n.onBeforeMask.call(i,t,n)||t),f(e,!0,!1,t=(t||"").toString().split("")),i.undoValue=i._valueGet(!0),(n.clearMaskOnLostFocus||n.clearIncomplete)&&e.inputmask._valueGet()===r.getBufferTemplate.call(i).join("")&&-1===r.getLastValidPosition.call(i)&&e.inputmask._valueSet("")}function u(e){e.length=0;for(var t,i=a.getMaskTemplate.call(this,!0,0,!0,void 0,!0);void 0!==(t=i.shift());)e.push(t);return e}function f(e,t,i,n,s){var c=e?e.inputmask:this,u=c.maskset,f=c.opts,d=c.dependencyLib,h=n.slice(),v="",m=-1,g=void 0,y=f.skipOptionalPartCharacter;f.skipOptionalPartCharacter="",r.resetMaskSet.call(c,!1),c.clicked=0,m=f.radixPoint?r.determineNewCaretPosition.call(c,{begin:0,end:0},!1,!1===f.__financeInput?"radixFocus":void 0).begin:0,u.p=m,c.caretPos={begin:m};var k=[],b=c.caretPos;if(h.forEach((function(e,t){if(void 0!==e){var n=new d.Event("_checkval");n.key=e,v+=e;var o=r.getLastValidPosition.call(c,void 0,!0);!function(e,t){for(var i=a.getMaskTemplate.call(c,!0,0).slice(e,r.seekNext.call(c,e,!1,!1)).join("").replace(/'/g,""),n=i.indexOf(t);n>0&&" "===i[n-1];)n--;var o=0===n&&!r.isMask.call(c,e)&&(a.getTest.call(c,e).match.nativeDef===t.charAt(0)||!0===a.getTest.call(c,e).match.static&&a.getTest.call(c,e).match.nativeDef==="'"+t.charAt(0)||" "===a.getTest.call(c,e).match.nativeDef&&(a.getTest.call(c,e+1).match.nativeDef===t.charAt(0)||!0===a.getTest.call(c,e+1).match.static&&a.getTest.call(c,e+1).match.nativeDef==="'"+t.charAt(0)));if(!o&&n>0&&!r.isMask.call(c,e,!1,!0)){var s=r.seekNext.call(c,e);c.caretPos.begin<s&&(c.caretPos={begin:s})}return o}(m,v)?(g=l.EventHandlers.keypressEvent.call(c,n,!0,!1,i,c.caretPos.begin))&&(m=c.caretPos.begin+1,v=""):g=l.EventHandlers.keypressEvent.call(c,n,!0,!1,i,o+1),g?(void 0!==g.pos&&u.validPositions[g.pos]&&!0===u.validPositions[g.pos].match.static&&void 0===u.validPositions[g.pos].alternation&&(k.push(g.pos),c.isRTL||(g.forwardPosition=g.pos+1)),p.call(c,void 0,r.getBuffer.call(c),g.forwardPosition,n,!1),c.caretPos={begin:g.forwardPosition,end:g.forwardPosition},b=c.caretPos):void 0===u.validPositions[t]&&h[t]===a.getPlaceholder.call(c,t)&&r.isMask.call(c,t,!0)?c.caretPos.begin++:c.caretPos=b}})),k.length>0){var x,P,w=r.seekNext.call(c,-1,void 0,!1);if(!o.isComplete.call(c,r.getBuffer.call(c))&&k.length<=w||o.isComplete.call(c,r.getBuffer.call(c))&&k.length>0&&k.length!==w&&0===k[0])for(var S=w;void 0!==(x=k.shift());){var O=new d.Event("_checkval");if((P=u.validPositions[x]).generatedInput=!0,O.key=P.input,(g=l.EventHandlers.keypressEvent.call(c,O,!0,!1,i,S))&&void 0!==g.pos&&g.pos!==x&&u.validPositions[g.pos]&&!0===u.validPositions[g.pos].match.static)k.push(g.pos);else if(!g)break;S++}}t&&p.call(c,e,r.getBuffer.call(c),g?g.forwardPosition:c.caretPos.begin,s||new d.Event("checkval"),s&&("input"===s.type&&c.undoValue!==r.getBuffer.call(c).join("")||"paste"===s.type)),f.skipOptionalPartCharacter=y}function p(e,t,i,a,s){var l=e?e.inputmask:this,c=l.opts,u=l.dependencyLib;if(a&&"function"==typeof c.onBeforeWrite){var f=c.onBeforeWrite.call(l,a,t,i,c);if(f){if(f.refreshFromBuffer){var p=f.refreshFromBuffer;o.refreshFromBuffer.call(l,!0===p?p:p.start,p.end,f.buffer||t),t=r.getBuffer.call(l,!0)}void 0!==i&&(i=void 0!==f.caret?f.caret:i)}}if(void 0!==e&&(e.inputmask._valueSet(t.join("")),void 0===i||void 0!==a&&"blur"===a.type||r.caret.call(l,e,i,void 0,void 0,void 0!==a&&"keydown"===a.type&&(a.key===n.keys.Delete||a.key===n.keys.Backspace)),!0===s)){var d=u(e),h=e.inputmask._valueGet();e.inputmask.skipInputEvent=!0,d.trigger("input"),setTimeout((function(){h===r.getBufferTemplate.call(l).join("")?d.trigger("cleared"):!0===o.isComplete.call(l,t)&&d.trigger("complete")}),0)}}},2394:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(157),a=v(i(3287)),r=v(i(9380)),o=i(2391),s=i(4713),l=i(8711),c=i(7215),u=i(7760),f=i(9716),p=v(i(7392)),d=v(i(3976));function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}function v(e){return e&&e.__esModule?e:{default:e}}var m=r.default.document,g="_inputmask_opts";function y(e,t,i){if(!(this instanceof y))return new y(e,t,i);this.dependencyLib=a.default,this.el=void 0,this.events={},this.maskset=void 0,!0!==i&&("[object Object]"===Object.prototype.toString.call(e)?t=e:(t=t||{},e&&(t.alias=e)),this.opts=a.default.extend(!0,{},this.defaults,t),this.noMasksCache=t&&void 0!==t.definitions,this.userOptions=t||{},k(this.opts.alias,t,this.opts)),this.refreshValue=!1,this.undoValue=void 0,this.$el=void 0,this.skipInputEvent=!1,this.validationEvent=!1,this.ignorable=!1,this.maxLength,this.mouseEnter=!1,this.clicked=0,this.originalPlaceholder=void 0,this.isComposing=!1,this.hasAlternator=!1}function k(e,t,i){var n=y.prototype.aliases[e];return n?(n.alias&&k(n.alias,void 0,i),a.default.extend(!0,i,n),a.default.extend(!0,i,t),!0):(null===i.mask&&(i.mask=e),!1)}y.prototype={dataAttribute:"data-inputmask",defaults:d.default,definitions:p.default,aliases:{},masksCache:{},get isRTL(){return this.opts.isRTL||this.opts.numericInput},mask:function(e){var t=this;return"string"==typeof e&&(e=m.getElementById(e)||m.querySelectorAll(e)),(e=e.nodeName?[e]:Array.isArray(e)?e:[].slice.call(e)).forEach((function(e,i){var s=a.default.extend(!0,{},t.opts);if(function(e,t,i,n){function o(t,a){var o=""===n?t:n+"-"+t;null!==(a=void 0!==a?a:e.getAttribute(o))&&("string"==typeof a&&(0===t.indexOf("on")?a=r.default[a]:"false"===a?a=!1:"true"===a&&(a=!0)),i[t]=a)}if(!0===t.importDataAttributes){var s,l,c,u,f=e.getAttribute(n);if(f&&""!==f&&(f=f.replace(/'/g,'"'),l=JSON.parse("{"+f+"}")),l)for(u in c=void 0,l)if("alias"===u.toLowerCase()){c=l[u];break}for(s in o("alias",c),i.alias&&k(i.alias,i,t),t){if(l)for(u in c=void 0,l)if(u.toLowerCase()===s.toLowerCase()){c=l[u];break}o(s,c)}}a.default.extend(!0,t,i),("rtl"===e.dir||t.rightAlign)&&(e.style.textAlign="right");("rtl"===e.dir||t.numericInput)&&(e.dir="ltr",e.removeAttribute("dir"),t.isRTL=!0);return Object.keys(i).length}(e,s,a.default.extend(!0,{},t.userOptions),t.dataAttribute)){var l=(0,o.generateMaskSet)(s,t.noMasksCache);void 0!==l&&(void 0!==e.inputmask&&(e.inputmask.opts.autoUnmask=!0,e.inputmask.remove()),e.inputmask=new y(void 0,void 0,!0),e.inputmask.opts=s,e.inputmask.noMasksCache=t.noMasksCache,e.inputmask.userOptions=a.default.extend(!0,{},t.userOptions),e.inputmask.el=e,e.inputmask.$el=(0,a.default)(e),e.inputmask.maskset=l,a.default.data(e,g,t.userOptions),n.mask.call(e.inputmask))}})),e&&e[0]&&e[0].inputmask||this},option:function(e,t){return"string"==typeof e?this.opts[e]:"object"===h(e)?(a.default.extend(this.userOptions,e),this.el&&!0!==t&&this.mask(this.el),this):void 0},unmaskedvalue:function(e){if(this.maskset=this.maskset||(0,o.generateMaskSet)(this.opts,this.noMasksCache),void 0===this.el||void 0!==e){var t=("function"==typeof this.opts.onBeforeMask&&this.opts.onBeforeMask.call(this,e,this.opts)||e).split("");u.checkVal.call(this,void 0,!1,!1,t),"function"==typeof this.opts.onBeforeWrite&&this.opts.onBeforeWrite.call(this,void 0,l.getBuffer.call(this),0,this.opts)}return u.unmaskedvalue.call(this,this.el)},remove:function(){if(this.el){a.default.data(this.el,g,null);var e=this.opts.autoUnmask?(0,u.unmaskedvalue)(this.el):this._valueGet(this.opts.autoUnmask);e!==l.getBufferTemplate.call(this).join("")?this._valueSet(e,this.opts.autoUnmask):this._valueSet(""),f.EventRuler.off(this.el),Object.getOwnPropertyDescriptor&&Object.getPrototypeOf?Object.getOwnPropertyDescriptor(Object.getPrototypeOf(this.el),"value")&&this.__valueGet&&Object.defineProperty(this.el,"value",{get:this.__valueGet,set:this.__valueSet,configurable:!0}):m.__lookupGetter__&&this.el.__lookupGetter__("value")&&this.__valueGet&&(this.el.__defineGetter__("value",this.__valueGet),this.el.__defineSetter__("value",this.__valueSet)),this.el.inputmask=void 0}return this.el},getemptymask:function(){return this.maskset=this.maskset||(0,o.generateMaskSet)(this.opts,this.noMasksCache),(this.isRTL?l.getBufferTemplate.call(this).reverse():l.getBufferTemplate.call(this)).join("")},hasMaskedValue:function(){return!this.opts.autoUnmask},isComplete:function(){return this.maskset=this.maskset||(0,o.generateMaskSet)(this.opts,this.noMasksCache),c.isComplete.call(this,l.getBuffer.call(this))},getmetadata:function(){if(this.maskset=this.maskset||(0,o.generateMaskSet)(this.opts,this.noMasksCache),Array.isArray(this.maskset.metadata)){var e=s.getMaskTemplate.call(this,!0,0,!1).join("");return this.maskset.metadata.forEach((function(t){return t.mask!==e||(e=t,!1)})),e}return this.maskset.metadata},isValid:function(e){if(this.maskset=this.maskset||(0,o.generateMaskSet)(this.opts,this.noMasksCache),e){var t=("function"==typeof this.opts.onBeforeMask&&this.opts.onBeforeMask.call(this,e,this.opts)||e).split("");u.checkVal.call(this,void 0,!0,!1,t)}else e=this.isRTL?l.getBuffer.call(this).slice().reverse().join(""):l.getBuffer.call(this).join("");for(var i=l.getBuffer.call(this),n=l.determineLastRequiredPosition.call(this),a=i.length-1;a>n&&!l.isMask.call(this,a);a--);return i.splice(n,a+1-n),c.isComplete.call(this,i)&&e===(this.isRTL?l.getBuffer.call(this).slice().reverse().join(""):l.getBuffer.call(this).join(""))},format:function(e,t){this.maskset=this.maskset||(0,o.generateMaskSet)(this.opts,this.noMasksCache);var i=("function"==typeof this.opts.onBeforeMask&&this.opts.onBeforeMask.call(this,e,this.opts)||e).split("");u.checkVal.call(this,void 0,!0,!1,i);var n=this.isRTL?l.getBuffer.call(this).slice().reverse().join(""):l.getBuffer.call(this).join("");return t?{value:n,metadata:this.getmetadata()}:n},setValue:function(e){this.el&&(0,a.default)(this.el).trigger("setvalue",[e])},analyseMask:o.analyseMask},y.extendDefaults=function(e){a.default.extend(!0,y.prototype.defaults,e)},y.extendDefinitions=function(e){a.default.extend(!0,y.prototype.definitions,e)},y.extendAliases=function(e){a.default.extend(!0,y.prototype.aliases,e)},y.format=function(e,t,i){return y(t).format(e,i)},y.unmask=function(e,t){return y(t).unmaskedvalue(e)},y.isValid=function(e,t){return y(t).isValid(e)},y.remove=function(e){"string"==typeof e&&(e=m.getElementById(e)||m.querySelectorAll(e)),(e=e.nodeName?[e]:e).forEach((function(e){e.inputmask&&e.inputmask.remove()}))},y.setValue=function(e,t){"string"==typeof e&&(e=m.getElementById(e)||m.querySelectorAll(e)),(e=e.nodeName?[e]:e).forEach((function(e){e.inputmask?e.inputmask.setValue(t):(0,a.default)(e).trigger("setvalue",[t])}))},y.dependencyLib=a.default,r.default.Inputmask=y;var b=y;t.default=b},5296:function(e,t,i){function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}var a=d(i(9380)),r=d(i(2394));function o(e,t){for(var i=0;i<t.length;i++){var a=t[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,(r=a.key,o=void 0,o=function(e,t){if("object"!==n(e)||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var a=i.call(e,t||"default");if("object"!==n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(r,"string"),"symbol"===n(o)?o:String(o)),a)}var r,o}function s(e){var t=u();return function(){var i,a=p(e);if(t){var r=p(this).constructor;i=Reflect.construct(a,arguments,r)}else i=a.apply(this,arguments);return function(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,i)}}function l(e){var t="function"==typeof Map?new Map:void 0;return l=function(e){if(null===e||(i=e,-1===Function.toString.call(i).indexOf("[native code]")))return e;var i;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return c(e,arguments,p(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),f(n,e)},l(e)}function c(e,t,i){return c=u()?Reflect.construct.bind():function(e,t,i){var n=[null];n.push.apply(n,t);var a=new(Function.bind.apply(e,n));return i&&f(a,i.prototype),a},c.apply(null,arguments)}function u(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function f(e,t){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},f(e,t)}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function d(e){return e&&e.__esModule?e:{default:e}}var h=a.default.document;if(h&&h.head&&h.head.attachShadow&&a.default.customElements&&void 0===a.default.customElements.get("input-mask")){var v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}(l,e);var t,i,n,a=s(l);function l(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l);var t=(e=a.call(this)).getAttributeNames(),i=e.attachShadow({mode:"closed"}),n=h.createElement("input");for(var o in n.type="text",i.appendChild(n),t)Object.prototype.hasOwnProperty.call(t,o)&&n.setAttribute(t[o],e.getAttribute(t[o]));var s=new r.default;return s.dataAttribute="",s.mask(n),n.inputmask.shadowRoot=i,e}return t=l,i&&o(t.prototype,i),n&&o(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}(l(HTMLElement));a.default.customElements.define("input-mask",v)}},443:function(e,t,i){var n=o(i(7957)),a=o(i(2394));function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e){return e&&e.__esModule?e:{default:e}}void 0===n.default.fn.inputmask&&(n.default.fn.inputmask=function(e,t){var i,o=this[0];if(void 0===t&&(t={}),"string"==typeof e)switch(e){case"unmaskedvalue":return o&&o.inputmask?o.inputmask.unmaskedvalue():(0,n.default)(o).val();case"remove":return this.each((function(){this.inputmask&&this.inputmask.remove()}));case"getemptymask":return o&&o.inputmask?o.inputmask.getemptymask():"";case"hasMaskedValue":return!(!o||!o.inputmask)&&o.inputmask.hasMaskedValue();case"isComplete":return!o||!o.inputmask||o.inputmask.isComplete();case"getmetadata":return o&&o.inputmask?o.inputmask.getmetadata():void 0;case"setvalue":a.default.setValue(o,t);break;case"option":if("string"!=typeof t)return this.each((function(){if(void 0!==this.inputmask)return this.inputmask.option(t)}));if(o&&void 0!==o.inputmask)return o.inputmask.option(t);break;default:return t.alias=e,i=new a.default(t),this.each((function(){i.mask(this)}))}else{if(Array.isArray(e))return t.alias=e,i=new a.default(t),this.each((function(){i.mask(this)}));if("object"==r(e))return i=new a.default(e),void 0===e.mask&&void 0===e.alias?this.each((function(){if(void 0!==this.inputmask)return this.inputmask.option(e);i.mask(this)})):this.each((function(){i.mask(this)}));if(void 0===e)return this.each((function(){(i=new a.default(t)).mask(this)}))}})},2839:function(e,t){function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var n,a,r,o,s=[],l=!0,c=!1;try{if(r=(i=i.call(e)).next,0===t){if(Object(i)!==i)return;l=!1}else for(;!(l=(n=r.call(i)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=i.return&&(o=i.return(),Object(o)!==o))return}finally{if(c)throw a}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);"Object"===i&&e.constructor&&(i=e.constructor.name);if("Map"===i||"Set"===i)return Array.from(e);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return a(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}function r(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function o(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==i(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!==i(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===i(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0}),t.keys=t.keyCode=t.ignorables=void 0,t.toKey=function(e,t){return c[e]||(t?String.fromCharCode(e):String.fromCharCode(e).toLowerCase())},t.toKeyCode=function(e){return l[e]};var s={Alt:18,AltGraph:18,ArrowDown:40,ArrowLeft:37,ArrowRight:39,ArrowUp:38,Backspace:8,CapsLock:20,Control:17,ContextMenu:93,Dead:221,Delete:46,End:35,Escape:27,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,Home:36,Insert:45,NumLock:144,PageDown:34,PageUp:33,Pause:19,PrintScreen:44,Process:229,Shift:16,ScrollLock:145,Tab:9,Unidentified:229};t.ignorables=s;var l=function(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?r(Object(i),!0).forEach((function(t){o(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):r(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}({c:67,x:88,z:90,BACKSPACE_SAFARI:127,Enter:13,Meta_LEFT:91,Meta_RIGHT:92,Space:32},s);t.keyCode=l;var c=Object.entries(l).reduce((function(e,t){var i=n(t,2),a=i[0],r=i[1];return e[r]=void 0===e[r]?a:e[r],e}),{}),u=Object.entries(l).reduce((function(e,t){var i=n(t,2),a=i[0];i[1];return e[a]="Space"===a?" ":a,e}),{});t.keys=u},2391:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.analyseMask=function(e,t,i){var n,o,s,l,c,u,f=/(?:[?*+]|\{[0-9+*]+(?:,[0-9+*]*)?(?:\|[0-9+*]*)?\})|[^.?*+^${[]()|\\]+|./g,p=/\[\^?]?(?:[^\\\]]+|\\[\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,d=!1,h=new a.default,v=[],m=[],g=!1;function y(e,n,a){a=void 0!==a?a:e.matches.length;var o=e.matches[a-1];if(t){if(0===n.indexOf("[")||d&&/\\d|\\s|\\w|\\p/i.test(n)||"."===n){var s=i.casing?"i":"";/^\\p\{.*}$/i.test(n)&&(s+="u"),e.matches.splice(a++,0,{fn:new RegExp(n,s),static:!1,optionality:!1,newBlockMarker:void 0===o?"master":o.def!==n,casing:null,def:n,placeholder:void 0,nativeDef:n})}else d&&(n=n[n.length-1]),n.split("").forEach((function(t,n){o=e.matches[a-1],e.matches.splice(a++,0,{fn:/[a-z]/i.test(i.staticDefinitionSymbol||t)?new RegExp("["+(i.staticDefinitionSymbol||t)+"]",i.casing?"i":""):null,static:!0,optionality:!1,newBlockMarker:void 0===o?"master":o.def!==t&&!0!==o.static,casing:null,def:i.staticDefinitionSymbol||t,placeholder:void 0!==i.staticDefinitionSymbol?t:void 0,nativeDef:(d?"'":"")+t})}));d=!1}else{var l=i.definitions&&i.definitions[n]||i.usePrototypeDefinitions&&r.default.prototype.definitions[n];l&&!d?e.matches.splice(a++,0,{fn:l.validator?"string"==typeof l.validator?new RegExp(l.validator,i.casing?"i":""):new function(){this.test=l.validator}:new RegExp("."),static:l.static||!1,optionality:l.optional||!1,defOptionality:l.optional||!1,newBlockMarker:void 0===o||l.optional?"master":o.def!==(l.definitionSymbol||n),casing:l.casing,def:l.definitionSymbol||n,placeholder:l.placeholder,nativeDef:n,generated:l.generated}):(e.matches.splice(a++,0,{fn:/[a-z]/i.test(i.staticDefinitionSymbol||n)?new RegExp("["+(i.staticDefinitionSymbol||n)+"]",i.casing?"i":""):null,static:!0,optionality:!1,newBlockMarker:void 0===o?"master":o.def!==n&&!0!==o.static,casing:null,def:i.staticDefinitionSymbol||n,placeholder:void 0!==i.staticDefinitionSymbol?n:void 0,nativeDef:(d?"'":"")+n}),d=!1)}}function k(){if(v.length>0){if(y(l=v[v.length-1],o),l.isAlternator){c=v.pop();for(var e=0;e<c.matches.length;e++)c.matches[e].isGroup&&(c.matches[e].isGroup=!1);v.length>0?(l=v[v.length-1]).matches.push(c):h.matches.push(c)}}else y(h,o)}function b(e){var t=new a.default(!0);return t.openGroup=!1,t.matches=e,t}function x(){if((s=v.pop()).openGroup=!1,void 0!==s)if(v.length>0){if((l=v[v.length-1]).matches.push(s),l.isAlternator){for(var e=(c=v.pop()).matches[0].matches?c.matches[0].matches.length:1,t=0;t<c.matches.length;t++)c.matches[t].isGroup=!1,c.matches[t].alternatorGroup=!1,null===i.keepStatic&&e<(c.matches[t].matches?c.matches[t].matches.length:1)&&(i.keepStatic=!0),e=c.matches[t].matches?c.matches[t].matches.length:1;v.length>0?(l=v[v.length-1]).matches.push(c):h.matches.push(c)}}else h.matches.push(s);else k()}function P(e){var t=e.pop();return t.isQuantifier&&(t=b([e.pop(),t])),t}t&&(i.optionalmarker[0]=void 0,i.optionalmarker[1]=void 0);for(;n=t?p.exec(e):f.exec(e);){if(o=n[0],t){switch(o.charAt(0)){case"?":o="{0,1}";break;case"+":case"*":o="{"+o+"}";break;case"|":if(0===v.length){var w=b(h.matches);w.openGroup=!0,v.push(w),h.matches=[],g=!0}}switch(o){case"\\d":o="[0-9]";break;case"\\p":o+=p.exec(e)[0],o+=p.exec(e)[0]}}if(d)k();else switch(o.charAt(0)){case"$":case"^":t||k();break;case i.escapeChar:d=!0,t&&k();break;case i.optionalmarker[1]:case i.groupmarker[1]:x();break;case i.optionalmarker[0]:v.push(new a.default(!1,!0));break;case i.groupmarker[0]:v.push(new a.default(!0));break;case i.quantifiermarker[0]:var S=new a.default(!1,!1,!0),O=(o=o.replace(/[{}?]/g,"")).split("|"),M=O[0].split(","),_=isNaN(M[0])?M[0]:parseInt(M[0]),E=1===M.length?_:isNaN(M[1])?M[1]:parseInt(M[1]),j=isNaN(O[1])?O[1]:parseInt(O[1]);"*"!==_&&"+"!==_||(_="*"===E?0:1),S.quantifier={min:_,max:E,jit:j};var T=v.length>0?v[v.length-1].matches:h.matches;(n=T.pop()).isGroup||(n=b([n])),T.push(n),T.push(S);break;case i.alternatormarker:if(v.length>0){var D=(l=v[v.length-1]).matches[l.matches.length-1];u=l.openGroup&&(void 0===D.matches||!1===D.isGroup&&!1===D.isAlternator)?v.pop():P(l.matches)}else u=P(h.matches);if(u.isAlternator)v.push(u);else if(u.alternatorGroup?(c=v.pop(),u.alternatorGroup=!1):c=new a.default(!1,!1,!1,!0),c.matches.push(u),v.push(c),u.openGroup){u.openGroup=!1;var A=new a.default(!0);A.alternatorGroup=!0,v.push(A)}break;default:k()}}g&&x();for(;v.length>0;)s=v.pop(),h.matches.push(s);h.matches.length>0&&(!function e(n){n&&n.matches&&n.matches.forEach((function(a,r){var o=n.matches[r+1];(void 0===o||void 0===o.matches||!1===o.isQuantifier)&&a&&a.isGroup&&(a.isGroup=!1,t||(y(a,i.groupmarker[0],0),!0!==a.openGroup&&y(a,i.groupmarker[1]))),e(a)}))}(h),m.push(h));(i.numericInput||i.isRTL)&&function e(t){for(var n in t.matches=t.matches.reverse(),t.matches)if(Object.prototype.hasOwnProperty.call(t.matches,n)){var a=parseInt(n);if(t.matches[n].isQuantifier&&t.matches[a+1]&&t.matches[a+1].isGroup){var r=t.matches[n];t.matches.splice(n,1),t.matches.splice(a+1,0,r)}void 0!==t.matches[n].matches?t.matches[n]=e(t.matches[n]):t.matches[n]=((o=t.matches[n])===i.optionalmarker[0]?o=i.optionalmarker[1]:o===i.optionalmarker[1]?o=i.optionalmarker[0]:o===i.groupmarker[0]?o=i.groupmarker[1]:o===i.groupmarker[1]&&(o=i.groupmarker[0]),o)}var o;return t}(m[0]);return m},t.generateMaskSet=function(e,t){var i;function a(e,t){var i=t.repeat,n=t.groupmarker,a=t.quantifiermarker,r=t.keepStatic;if(i>0||"*"===i||"+"===i){var l="*"===i?0:"+"===i?1:i;e=n[0]+e+n[1]+a[0]+l+","+i+a[1]}if(!0===r){var c=e.match(new RegExp("(.)\\[([^\\]]*)\\]","g"));c&&c.forEach((function(t,i){var n=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var n,a,r,o,s=[],l=!0,c=!1;try{if(r=(i=i.call(e)).next,0===t){if(Object(i)!==i)return;l=!1}else for(;!(l=(n=r.call(i)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=i.return&&(o=i.return(),Object(o)!==o))return}finally{if(c)throw a}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);"Object"===i&&e.constructor&&(i=e.constructor.name);if("Map"===i||"Set"===i)return Array.from(e);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return s(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(t.split("["),2),a=n[0],r=n[1];r=r.replace("]",""),e=e.replace(new RegExp("".concat((0,o.default)(a),"\\[").concat((0,o.default)(r),"\\]")),a.charAt(0)===r.charAt(0)?"(".concat(a,"|").concat(a).concat(r,")"):"".concat(a,"[").concat(r,"]"))}))}return e}function l(e,i,o){var s,l,c=!1;return null!==e&&""!==e||((c=null!==o.regex)?e=(e=o.regex).replace(/^(\^)(.*)(\$)$/,"$2"):(c=!0,e=".*")),1===e.length&&!1===o.greedy&&0!==o.repeat&&(o.placeholder=""),e=a(e,o),l=c?"regex_"+o.regex:o.numericInput?e.split("").reverse().join(""):e,null!==o.keepStatic&&(l="ks_"+o.keepStatic+l),void 0===r.default.prototype.masksCache[l]||!0===t?(s={mask:e,maskToken:r.default.prototype.analyseMask(e,c,o),validPositions:[],_buffer:void 0,buffer:void 0,tests:{},excludes:{},metadata:i,maskLength:void 0,jitOffset:{}},!0!==t&&(r.default.prototype.masksCache[l]=s,s=n.default.extend(!0,{},r.default.prototype.masksCache[l]))):s=n.default.extend(!0,{},r.default.prototype.masksCache[l]),s}"function"==typeof e.mask&&(e.mask=e.mask(e));if(Array.isArray(e.mask)){if(e.mask.length>1){null===e.keepStatic&&(e.keepStatic=!0);var c=e.groupmarker[0];return(e.isRTL?e.mask.reverse():e.mask).forEach((function(t){c.length>1&&(c+=e.alternatormarker),void 0!==t.mask&&"function"!=typeof t.mask?c+=t.mask:c+=t})),l(c+=e.groupmarker[1],e.mask,e)}e.mask=e.mask.pop()}i=e.mask&&void 0!==e.mask.mask&&"function"!=typeof e.mask.mask?l(e.mask.mask,e.mask,e):l(e.mask,e.mask,e);null===e.keepStatic&&(e.keepStatic=!1);return i};var n=l(i(3287)),a=l(i(9695)),r=l(i(2394)),o=l(i(7184));function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}function l(e){return e&&e.__esModule?e:{default:e}}},157:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.mask=function(){var e=this,t=this.opts,i=this.el,u=this.dependencyLib;o.EventRuler.off(i);var f=function(t,i){"textarea"!==t.tagName.toLowerCase()&&i.ignorables.push(n.keys.Enter);var s=t.getAttribute("type"),l="input"===t.tagName.toLowerCase()&&i.supportsInputType.includes(s)||t.isContentEditable||"textarea"===t.tagName.toLowerCase();if(!l)if("input"===t.tagName.toLowerCase()){var c=document.createElement("input");c.setAttribute("type",s),l="text"===c.type,c=null}else l="partial";return!1!==l?function(t){var n,s;function l(){return this.inputmask?this.inputmask.opts.autoUnmask?this.inputmask.unmaskedvalue():-1!==a.getLastValidPosition.call(e)||!0!==i.nullable?(this.inputmask.shadowRoot||this.ownerDocument).activeElement===this&&i.clearMaskOnLostFocus?(e.isRTL?r.clearOptionalTail.call(e,a.getBuffer.call(e).slice()).reverse():r.clearOptionalTail.call(e,a.getBuffer.call(e).slice())).join(""):n.call(this):"":n.call(this)}function c(e){s.call(this,e),this.inputmask&&(0,r.applyInputValue)(this,e)}if(!t.inputmask.__valueGet){if(!0!==i.noValuePatching){if(Object.getOwnPropertyDescriptor){var f=Object.getPrototypeOf?Object.getOwnPropertyDescriptor(Object.getPrototypeOf(t),"value"):void 0;f&&f.get&&f.set?(n=f.get,s=f.set,Object.defineProperty(t,"value",{get:l,set:c,configurable:!0})):"input"!==t.tagName.toLowerCase()&&(n=function(){return this.textContent},s=function(e){this.textContent=e},Object.defineProperty(t,"value",{get:l,set:c,configurable:!0}))}else document.__lookupGetter__&&t.__lookupGetter__("value")&&(n=t.__lookupGetter__("value"),s=t.__lookupSetter__("value"),t.__defineGetter__("value",l),t.__defineSetter__("value",c));t.inputmask.__valueGet=n,t.inputmask.__valueSet=s}t.inputmask._valueGet=function(t){return e.isRTL&&!0!==t?n.call(this.el).split("").reverse().join(""):n.call(this.el)},t.inputmask._valueSet=function(t,i){s.call(this.el,null==t?"":!0!==i&&e.isRTL?t.split("").reverse().join(""):t)},void 0===n&&(n=function(){return this.value},s=function(e){this.value=e},function(t){if(u.valHooks&&(void 0===u.valHooks[t]||!0!==u.valHooks[t].inputmaskpatch)){var n=u.valHooks[t]&&u.valHooks[t].get?u.valHooks[t].get:function(e){return e.value},o=u.valHooks[t]&&u.valHooks[t].set?u.valHooks[t].set:function(e,t){return e.value=t,e};u.valHooks[t]={get:function(t){if(t.inputmask){if(t.inputmask.opts.autoUnmask)return t.inputmask.unmaskedvalue();var r=n(t);return-1!==a.getLastValidPosition.call(e,void 0,void 0,t.inputmask.maskset.validPositions)||!0!==i.nullable?r:""}return n(t)},set:function(e,t){var i=o(e,t);return e.inputmask&&(0,r.applyInputValue)(e,t),i},inputmaskpatch:!0}}}(t.type),function(e){o.EventRuler.on(e,"mouseenter",(function(){var e=this,t=e.inputmask._valueGet(!0);t!=(e.inputmask.isRTL?a.getBuffer.call(e.inputmask).slice().reverse():a.getBuffer.call(e.inputmask)).join("")&&(0,r.applyInputValue)(e,t)}))}(t))}}(t):t.inputmask=void 0,l}(i,t);if(!1!==f){e.originalPlaceholder=i.placeholder,e.maxLength=void 0!==i?i.maxLength:void 0,-1===e.maxLength&&(e.maxLength=void 0),"inputMode"in i&&null===i.getAttribute("inputmode")&&(i.inputMode=t.inputmode,i.setAttribute("inputmode",t.inputmode)),!0===f&&(t.showMaskOnFocus=t.showMaskOnFocus&&-1===["cc-number","cc-exp"].indexOf(i.autocomplete),s.iphone&&(t.insertModeVisual=!1,i.setAttribute("autocorrect","off")),o.EventRuler.on(i,"submit",c.EventHandlers.submitEvent),o.EventRuler.on(i,"reset",c.EventHandlers.resetEvent),o.EventRuler.on(i,"blur",c.EventHandlers.blurEvent),o.EventRuler.on(i,"focus",c.EventHandlers.focusEvent),o.EventRuler.on(i,"invalid",c.EventHandlers.invalidEvent),o.EventRuler.on(i,"click",c.EventHandlers.clickEvent),o.EventRuler.on(i,"mouseleave",c.EventHandlers.mouseleaveEvent),o.EventRuler.on(i,"mouseenter",c.EventHandlers.mouseenterEvent),o.EventRuler.on(i,"paste",c.EventHandlers.pasteEvent),o.EventRuler.on(i,"cut",c.EventHandlers.cutEvent),o.EventRuler.on(i,"complete",t.oncomplete),o.EventRuler.on(i,"incomplete",t.onincomplete),o.EventRuler.on(i,"cleared",t.oncleared),!0!==t.inputEventOnly&&o.EventRuler.on(i,"keydown",c.EventHandlers.keyEvent),(s.mobile||t.inputEventOnly)&&i.removeAttribute("maxLength"),o.EventRuler.on(i,"input",c.EventHandlers.inputFallBackEvent)),o.EventRuler.on(i,"setvalue",c.EventHandlers.setValueEvent),a.getBufferTemplate.call(e).join(""),e.undoValue=e._valueGet(!0);var p=(i.inputmask.shadowRoot||i.ownerDocument).activeElement;if(""!==i.inputmask._valueGet(!0)||!1===t.clearMaskOnLostFocus||p===i){(0,r.applyInputValue)(i,i.inputmask._valueGet(!0),t);var d=a.getBuffer.call(e).slice();!1===l.isComplete.call(e,d)&&t.clearIncomplete&&a.resetMaskSet.call(e,!1),t.clearMaskOnLostFocus&&p!==i&&(-1===a.getLastValidPosition.call(e)?d=[]:r.clearOptionalTail.call(e,d)),(!1===t.clearMaskOnLostFocus||t.showMaskOnFocus&&p===i||""!==i.inputmask._valueGet(!0))&&(0,r.writeBuffer)(i,d),p===i&&a.caret.call(e,i,a.seekNext.call(e,a.getLastValidPosition.call(e)))}}};var n=i(2839),a=i(8711),r=i(7760),o=i(9716),s=i(9845),l=i(7215),c=i(6030)},9695:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,i,n){this.matches=[],this.openGroup=e||!1,this.alternatorGroup=!1,this.isGroup=e||!1,this.isOptional=t||!1,this.isQuantifier=i||!1,this.isAlternator=n||!1,this.quantifier={min:1,max:1}}},3194:function(){Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(e,t){if(null==this)throw new TypeError('"this" is null or not defined');var i=Object(this),n=i.length>>>0;if(0===n)return!1;for(var a=0|t,r=Math.max(a>=0?a:n-Math.abs(a),0);r<n;){if(i[r]===e)return!0;r++}return!1}})},9302:function(){var e=Function.bind.call(Function.call,Array.prototype.reduce),t=Function.bind.call(Function.call,Object.prototype.propertyIsEnumerable),i=Function.bind.call(Function.call,Array.prototype.concat),n=Object.keys;Object.entries||(Object.entries=function(a){return e(n(a),(function(e,n){return i(e,"string"==typeof n&&t(a,n)?[[n,a[n]]]:[])}),[])})},7149:function(){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}"function"!=typeof Object.getPrototypeOf&&(Object.getPrototypeOf="object"===e("test".__proto__)?function(e){return e.__proto__}:function(e){return e.constructor.prototype})},4013:function(){String.prototype.includes||(String.prototype.includes=function(e,t){return"number"!=typeof t&&(t=0),!(t+e.length>this.length)&&-1!==this.indexOf(e,t)})},8711:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.caret=function(e,t,i,n,r){var o,s=this,l=this.opts;if(void 0===t)return"selectionStart"in e&&"selectionEnd"in e?(t=e.selectionStart,i=e.selectionEnd):a.default.getSelection?(o=a.default.getSelection().getRangeAt(0)).commonAncestorContainer.parentNode!==e&&o.commonAncestorContainer!==e||(t=o.startOffset,i=o.endOffset):document.selection&&document.selection.createRange&&(i=(t=0-(o=document.selection.createRange()).duplicate().moveStart("character",-e.inputmask._valueGet().length))+o.text.length),{begin:n?t:f.call(s,t),end:n?i:f.call(s,i)};if(Array.isArray(t)&&(i=s.isRTL?t[0]:t[1],t=s.isRTL?t[1]:t[0]),void 0!==t.begin&&(i=s.isRTL?t.begin:t.end,t=s.isRTL?t.end:t.begin),"number"==typeof t){t=n?t:f.call(s,t),i="number"==typeof(i=n?i:f.call(s,i))?i:t;var c=parseInt(((e.ownerDocument.defaultView||a.default).getComputedStyle?(e.ownerDocument.defaultView||a.default).getComputedStyle(e,null):e.currentStyle).fontSize)*i;if(e.scrollLeft=c>e.scrollWidth?c:0,e.inputmask.caretPos={begin:t,end:i},l.insertModeVisual&&!1===l.insertMode&&t===i&&(r||i++),e===(e.inputmask.shadowRoot||e.ownerDocument).activeElement)if("setSelectionRange"in e)e.setSelectionRange(t,i);else if(a.default.getSelection){if(o=document.createRange(),void 0===e.firstChild||null===e.firstChild){var u=document.createTextNode("");e.appendChild(u)}o.setStart(e.firstChild,t<e.inputmask._valueGet().length?t:e.inputmask._valueGet().length),o.setEnd(e.firstChild,i<e.inputmask._valueGet().length?i:e.inputmask._valueGet().length),o.collapse(!0);var p=a.default.getSelection();p.removeAllRanges(),p.addRange(o)}else e.createTextRange&&((o=e.createTextRange()).collapse(!0),o.moveEnd("character",i),o.moveStart("character",t),o.select())}},t.determineLastRequiredPosition=function(e){var t,i,n=this,a=n.maskset,s=n.dependencyLib,c=r.getMaskTemplate.call(n,!0,l.call(n),!0,!0),u=c.length,f=l.call(n),p={},d=a.validPositions[f],h=void 0!==d?d.locator.slice():void 0;for(t=f+1;t<c.length;t++)h=(i=r.getTestTemplate.call(n,t,h,t-1)).locator.slice(),p[t]=s.extend(!0,{},i);var v=d&&void 0!==d.alternation?d.locator[d.alternation]:void 0;for(t=u-1;t>f&&(((i=p[t]).match.optionality||i.match.optionalQuantifier&&i.match.newBlockMarker||v&&(v!==p[t].locator[d.alternation]&&1!=i.match.static||!0===i.match.static&&i.locator[d.alternation]&&o.checkAlternationMatch.call(n,i.locator[d.alternation].toString().split(","),v.toString().split(","))&&""!==r.getTests.call(n,t)[0].def))&&c[t]===r.getPlaceholder.call(n,t,i.match));t--)u--;return e?{l:u,def:p[u]?p[u].match:void 0}:u},t.determineNewCaretPosition=function(e,t,i){var n=this,a=n.maskset,o=n.opts;t&&(n.isRTL?e.end=e.begin:e.begin=e.end);if(e.begin===e.end){switch(i=i||o.positionCaretOnClick){case"none":break;case"select":e={begin:0,end:s.call(n).length};break;case"ignore":e.end=e.begin=u.call(n,l.call(n));break;case"radixFocus":if(n.clicked>1&&0==a.validPositions.length)break;if(function(e){if(""!==o.radixPoint&&0!==o.digits){var t=a.validPositions;if(void 0===t[e]||t[e].input===r.getPlaceholder.call(n,e)){if(e<u.call(n,-1))return!0;var i=s.call(n).indexOf(o.radixPoint);if(-1!==i){for(var l=0,c=t.length;l<c;l++)if(t[l]&&i<l&&t[l].input!==r.getPlaceholder.call(n,l))return!1;return!0}}}return!1}(e.begin)){var f=s.call(n).join("").indexOf(o.radixPoint);e.end=e.begin=o.numericInput?u.call(n,f):f;break}default:var p=e.begin,d=l.call(n,p,!0),h=u.call(n,-1!==d||c.call(n,0)?d:-1);if(p<=h)e.end=e.begin=c.call(n,p,!1,!0)?p:u.call(n,p);else{var v=a.validPositions[d],m=r.getTestTemplate.call(n,h,v?v.match.locator:void 0,v),g=r.getPlaceholder.call(n,h,m.match);if(""!==g&&s.call(n)[h]!==g&&!0!==m.match.optionalQuantifier&&!0!==m.match.newBlockMarker||!c.call(n,h,o.keepStatic,!0)&&m.match.def===g){var y=u.call(n,h);(p>=y||p===h)&&(h=y)}e.end=e.begin=h}}return e}},t.getBuffer=s,t.getBufferTemplate=function(){var e=this.maskset;void 0===e._buffer&&(e._buffer=r.getMaskTemplate.call(this,!1,1),void 0===e.buffer&&(e.buffer=e._buffer.slice()));return e._buffer},t.getLastValidPosition=l,t.isMask=c,t.resetMaskSet=function(e){var t=this.maskset;t.buffer=void 0,!0!==e&&(t.validPositions=[],t.p=0);!1===e&&(t.tests={})},t.seekNext=u,t.seekPrevious=function(e,t){var i=this,n=e-1;if(e<=0)return 0;for(;n>0&&(!0===t&&(!0!==r.getTest.call(i,n).match.newBlockMarker||!c.call(i,n,void 0,!0))||!0!==t&&!c.call(i,n,void 0,!0));)n--;return n},t.translatePosition=f;var n,a=(n=i(9380))&&n.__esModule?n:{default:n},r=i(4713),o=i(7215);function s(e){var t=this,i=t.maskset;return void 0!==i.buffer&&!0!==e||(i.buffer=r.getMaskTemplate.call(t,!0,l.call(t),!0),void 0===i._buffer&&(i._buffer=i.buffer.slice())),i.buffer}function l(e,t,i){var n=this.maskset,a=-1,r=-1,o=i||n.validPositions;void 0===e&&(e=-1);for(var s=0,l=o.length;s<l;s++)o[s]&&(t||!0!==o[s].generatedInput)&&(s<=e&&(a=s),s>=e&&(r=s));return-1===a||a==e?r:-1==r||e-a<r-e?a:r}function c(e,t,i){var n=this,a=this.maskset,o=r.getTestTemplate.call(n,e).match;if(""===o.def&&(o=r.getTest.call(n,e).match),!0!==o.static)return o.fn;if(!0===i&&void 0!==a.validPositions[e]&&!0!==a.validPositions[e].generatedInput)return!0;if(!0!==t&&e>-1){if(i){var s=r.getTests.call(n,e);return s.length>1+(""===s[s.length-1].match.def?1:0)}var l=r.determineTestTemplate.call(n,e,r.getTests.call(n,e)),c=r.getPlaceholder.call(n,e,l.match);return l.match.def!==c}return!1}function u(e,t,i){var n=this;void 0===i&&(i=!0);for(var a=e+1;""!==r.getTest.call(n,a).match.def&&(!0===t&&(!0!==r.getTest.call(n,a).match.newBlockMarker||!c.call(n,a,void 0,!0))||!0!==t&&!c.call(n,a,void 0,i));)a++;return a}function f(e){var t=this.opts,i=this.el;return!this.isRTL||"number"!=typeof e||t.greedy&&""===t.placeholder||!i||(e=this._valueGet().length-e)<0&&(e=0),e}},4713:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.determineTestTemplate=c,t.getDecisionTaker=o,t.getMaskTemplate=function(e,t,i,n,a){var r=this,o=this.opts,u=this.maskset,f=o.greedy;a&&o.greedy&&(o.greedy=!1,r.maskset.tests={});t=t||0;var d,h,v,m,g=[],y=0;do{if(!0===e&&u.validPositions[y])h=(v=a&&u.validPositions[y].match.optionality&&void 0===u.validPositions[y+1]&&(!0===u.validPositions[y].generatedInput||u.validPositions[y].input==o.skipOptionalPartCharacter&&y>0)?c.call(r,y,p.call(r,y,d,y-1)):u.validPositions[y]).match,d=v.locator.slice(),g.push(!0===i?v.input:!1===i?h.nativeDef:s.call(r,y,h));else{h=(v=l.call(r,y,d,y-1)).match,d=v.locator.slice();var k=!0!==n&&(!1!==o.jitMasking?o.jitMasking:h.jit);(m=(m||u.validPositions[y-1])&&h.static&&h.def!==o.groupSeparator&&null===h.fn)||!1===k||void 0===k||"number"==typeof k&&isFinite(k)&&k>y?g.push(!1===i?h.nativeDef:s.call(r,g.length,h)):m=!1}y++}while(!0!==h.static||""!==h.def||t>y);""===g[g.length-1]&&g.pop();!1===i&&void 0!==u.maskLength||(u.maskLength=y-1);return o.greedy=f,g},t.getPlaceholder=s,t.getTest=u,t.getTestTemplate=l,t.getTests=p,t.isSubsetOf=f;var n,a=(n=i(2394))&&n.__esModule?n:{default:n};function r(e,t){var i=(null!=e.alternation?e.mloc[o(e)]:e.locator).join("");if(""!==i)for(;i.length<t;)i+="0";return i}function o(e){var t=e.locator[e.alternation];return"string"==typeof t&&t.length>0&&(t=t.split(",")[0]),void 0!==t?t.toString():""}function s(e,t,i){var n=this.opts,a=this.maskset;if(void 0!==(t=t||u.call(this,e).match).placeholder||!0===i)return"function"==typeof t.placeholder?t.placeholder(n):t.placeholder;if(!0===t.static){if(e>-1&&void 0===a.validPositions[e]){var r,o=p.call(this,e),s=[];if(o.length>1+(""===o[o.length-1].match.def?1:0))for(var l=0;l<o.length;l++)if(""!==o[l].match.def&&!0!==o[l].match.optionality&&!0!==o[l].match.optionalQuantifier&&(!0===o[l].match.static||void 0===r||!1!==o[l].match.fn.test(r.match.def,a,e,!0,n))&&(s.push(o[l]),!0===o[l].match.static&&(r=o[l]),s.length>1&&/[0-9a-bA-Z]/.test(s[0].match.def)))return n.placeholder.charAt(e%n.placeholder.length)}return t.def}return n.placeholder.charAt(e%n.placeholder.length)}function l(e,t,i){return this.maskset.validPositions[e]||c.call(this,e,p.call(this,e,t?t.slice():t,i))}function c(e,t){var i=this.opts,n=0,a=function(e,t){var i=0,n=!1;t.forEach((function(e){e.match.optionality&&(0!==i&&i!==e.match.optionality&&(n=!0),(0===i||i>e.match.optionality)&&(i=e.match.optionality))})),i&&(0==e||1==t.length?i=0:n||(i=0));return i}(e,t);e=e>0?e-1:0;var o,s,l,c=r(u.call(this,e));i.greedy&&t.length>1&&""===t[t.length-1].match.def&&(n=1);for(var f=0;f<t.length-n;f++){var p=t[f];o=r(p,c.length);var d=Math.abs(o-c);(void 0===s||""!==o&&d<s||l&&!i.greedy&&l.match.optionality&&l.match.optionality-a>0&&"master"===l.match.newBlockMarker&&(!p.match.optionality||p.match.optionality-a<1||!p.match.newBlockMarker)||l&&!i.greedy&&l.match.optionalQuantifier&&!p.match.optionalQuantifier)&&(s=d,l=p)}return l}function u(e,t){var i=this.maskset;return i.validPositions[e]?i.validPositions[e]:(t||p.call(this,e))[0]}function f(e,t,i){function n(e){for(var t,i=[],n=-1,a=0,r=e.length;a<r;a++)if("-"===e.charAt(a))for(t=e.charCodeAt(a+1);++n<t;)i.push(String.fromCharCode(n));else n=e.charCodeAt(a),i.push(e.charAt(a));return i.join("")}return e.match.def===t.match.nativeDef||!(!(i.regex||e.match.fn instanceof RegExp&&t.match.fn instanceof RegExp)||!0===e.match.static||!0===t.match.static)&&-1!==n(t.match.fn.toString().replace(/[[\]/]/g,"")).indexOf(n(e.match.fn.toString().replace(/[[\]/]/g,"")))}function p(e,t,i){var n,r,o=this,s=this.dependencyLib,l=this.maskset,u=this.opts,p=this.el,d=l.maskToken,h=t?i:0,v=t?t.slice():[0],m=[],g=!1,y=t?t.join(""):"";function k(t,i,r,s){function c(r,s,d){function v(e,t){var i=0===t.matches.indexOf(e);return i||t.matches.every((function(n,a){return!0===n.isQuantifier?i=v(e,t.matches[a-1]):Object.prototype.hasOwnProperty.call(n,"matches")&&(i=v(e,n)),!i})),i}function x(e,t,i){var n,a;if((l.tests[e]||l.validPositions[e])&&(l.tests[e]||[l.validPositions[e]]).every((function(e,r){if(e.mloc[t])return n=e,!1;var o=void 0!==i?i:e.alternation,s=void 0!==e.locator[o]?e.locator[o].toString().indexOf(t):-1;return(void 0===a||s<a)&&-1!==s&&(n=e,a=s),!0})),n){var r=n.locator[n.alternation];return(n.mloc[t]||n.mloc[r]||n.locator).slice((void 0!==i?i:n.alternation)+1)}return void 0!==i?x(e,t):void 0}function P(e,t){var i=e.alternation,n=void 0===t||i===t.alternation&&-1===e.locator[i].toString().indexOf(t.locator[i]);if(!n&&i>t.alternation)for(var a=t.alternation;a<i;a++)if(e.locator[a]!==t.locator[a]){i=a,n=!0;break}if(n){e.mloc=e.mloc||{};var r=e.locator[i];if(void 0!==r){if("string"==typeof r&&(r=r.split(",")[0]),void 0===e.mloc[r]&&(e.mloc[r]=e.locator.slice()),void 0!==t){for(var o in t.mloc)"string"==typeof o&&(o=o.split(",")[0]),void 0===e.mloc[o]&&(e.mloc[o]=t.mloc[o]);e.locator[i]=Object.keys(e.mloc).join(",")}return!0}e.alternation=void 0}return!1}function w(e,t){if(e.locator.length!==t.locator.length)return!1;for(var i=e.alternation+1;i<e.locator.length;i++)if(e.locator[i]!==t.locator[i])return!1;return!0}if(h>e+u._maxTestPos)throw"Inputmask: There is probably an error in your mask definition or in the code. Create an issue on github with an example of the mask you are using. "+l.mask;if(h===e&&void 0===r.matches){if(m.push({match:r,locator:s.reverse(),cd:y,mloc:{}}),!r.optionality||void 0!==d||!(u.definitions&&u.definitions[r.nativeDef]&&u.definitions[r.nativeDef].optional||a.default.prototype.definitions[r.nativeDef]&&a.default.prototype.definitions[r.nativeDef].optional))return!0;g=!0,h=e}else if(void 0!==r.matches){if(r.isGroup&&d!==r)return function(){if(r=c(t.matches[t.matches.indexOf(r)+1],s,d))return!0}();if(r.isOptional)return function(){var t=r,a=m.length;if(r=k(r,i,s,d),m.length>0){if(m.forEach((function(e,t){t>=a&&(e.match.optionality=e.match.optionality?e.match.optionality+1:1)})),n=m[m.length-1].match,void 0!==d||!v(n,t))return r;g=!0,h=e}}();if(r.isAlternator)return function(){o.hasAlternator=!0;var n,a,v,y=r,k=[],b=m.slice(),S=s.length,O=!1,M=i.length>0?i.shift():-1;if(-1===M||"string"==typeof M){var _,E=h,j=i.slice(),T=[];if("string"==typeof M)T=M.split(",");else for(_=0;_<y.matches.length;_++)T.push(_.toString());if(void 0!==l.excludes[e]){for(var D=T.slice(),A=0,L=l.excludes[e].length;A<L;A++){var B=l.excludes[e][A].toString().split(":");s.length==B[1]&&T.splice(T.indexOf(B[0]),1)}0===T.length&&(delete l.excludes[e],T=D)}(!0===u.keepStatic||isFinite(parseInt(u.keepStatic))&&E>=u.keepStatic)&&(T=T.slice(0,1));for(var C=0;C<T.length;C++){_=parseInt(T[C]),m=[],i="string"==typeof M&&x(h,_,S)||j.slice();var R=y.matches[_];if(R&&c(R,[_].concat(s),d))r=!0;else if(0===C&&(O=!0),R&&R.matches&&R.matches.length>y.matches[0].matches.length)break;n=m.slice(),h=E,m=[];for(var F=0;F<n.length;F++){var I=n[F],N=!1;I.match.jit=I.match.jit||O,I.alternation=I.alternation||S,P(I);for(var V=0;V<k.length;V++){var G=k[V];if("string"!=typeof M||void 0!==I.alternation&&T.includes(I.locator[I.alternation].toString())){if(I.match.nativeDef===G.match.nativeDef){N=!0,P(G,I);break}if(f(I,G,u)){P(I,G)&&(N=!0,k.splice(k.indexOf(G),0,I));break}if(f(G,I,u)){P(G,I);break}if(v=G,!0===(a=I).match.static&&!0!==v.match.static&&v.match.fn.test(a.match.def,l,e,!1,u,!1)){w(I,G)||void 0!==p.inputmask.userOptions.keepStatic?P(I,G)&&(N=!0,k.splice(k.indexOf(G),0,I)):u.keepStatic=!0;break}}}N||k.push(I)}}m=b.concat(k),h=e,g=m.length>0,r=k.length>0,i=j.slice()}else r=c(y.matches[M]||t.matches[M],[M].concat(s),d);if(r)return!0}();if(r.isQuantifier&&d!==t.matches[t.matches.indexOf(r)-1])return function(){for(var a=r,o=!1,f=i.length>0?i.shift():0;f<(isNaN(a.quantifier.max)?f+1:a.quantifier.max)&&h<=e;f++){var p=t.matches[t.matches.indexOf(a)-1];if(r=c(p,[f].concat(s),p)){if(m.forEach((function(t,i){(n=b(p,t.match)?t.match:m[m.length-1].match).optionalQuantifier=f>=a.quantifier.min,n.jit=(f+1)*(p.matches.indexOf(n)+1)>a.quantifier.jit,n.optionalQuantifier&&v(n,p)&&(g=!0,h=e,u.greedy&&null==l.validPositions[e-1]&&f>a.quantifier.min&&-1!=["*","+"].indexOf(a.quantifier.max)&&(m.pop(),y=void 0),o=!0,r=!1),!o&&n.jit&&(l.jitOffset[e]=p.matches.length-p.matches.indexOf(n))})),o)break;return!0}}}();if(r=k(r,i,s,d))return!0}else h++}for(var d=i.length>0?i.shift():0;d<t.matches.length;d++)if(!0!==t.matches[d].isQuantifier){var v=c(t.matches[d],[d].concat(r),s);if(v&&h===e)return v;if(h>e)break}}function b(e,t){var i=-1!=e.matches.indexOf(t);return i||e.matches.forEach((function(e,n){void 0===e.matches||i||(i=b(e,t))})),i}if(e>-1){if(void 0===t){for(var x,P=e-1;void 0===(x=l.validPositions[P]||l.tests[P])&&P>-1;)P--;void 0!==x&&P>-1&&(v=function(e,t){var i,n=[];return Array.isArray(t)||(t=[t]),t.length>0&&(void 0===t[0].alternation||!0===u.keepStatic?0===(n=c.call(o,e,t.slice()).locator.slice()).length&&(n=t[0].locator.slice()):t.forEach((function(e){""!==e.def&&(0===n.length?(i=e.alternation,n=e.locator.slice()):e.locator[i]&&-1===n[i].toString().indexOf(e.locator[i])&&(n[i]+=","+e.locator[i]))}))),n}(P,x),y=v.join(""),h=P)}if(l.tests[e]&&l.tests[e][0].cd===y)return l.tests[e];for(var w=v.shift();w<d.length;w++){if(k(d[w],v,[w])&&h===e||h>e)break}}return(0===m.length||g)&&m.push({match:{fn:null,static:!0,optionality:!1,casing:null,def:"",placeholder:""},locator:[],mloc:{},cd:y}),void 0!==t&&l.tests[e]?r=s.extend(!0,[],m):(l.tests[e]=s.extend(!0,[],m),r=l.tests[e]),m.forEach((function(e){e.match.optionality=e.match.defOptionality||!1})),r}},7215:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.alternate=s,t.checkAlternationMatch=function(e,t,i){for(var n,a=this.opts.greedy?t:t.slice(0,1),r=!1,o=void 0!==i?i.split(","):[],s=0;s<o.length;s++)-1!==(n=e.indexOf(o[s]))&&e.splice(n,1);for(var l=0;l<e.length;l++)if(a.includes(e[l])){r=!0;break}return r},t.handleRemove=function(e,t,i,o,l){var c=this,u=this.maskset,f=this.opts;if((f.numericInput||c.isRTL)&&(t===a.keys.Backspace?t=a.keys.Delete:t===a.keys.Delete&&(t=a.keys.Backspace),c.isRTL)){var p=i.end;i.end=i.begin,i.begin=p}var d,h=r.getLastValidPosition.call(c,void 0,!0);i.end>=r.getBuffer.call(c).length&&h>=i.end&&(i.end=h+1);t===a.keys.Backspace?i.end-i.begin<1&&(i.begin=r.seekPrevious.call(c,i.begin)):t===a.keys.Delete&&i.begin===i.end&&(i.end=r.isMask.call(c,i.end,!0,!0)?i.end+1:r.seekNext.call(c,i.end)+1);if(!1!==(d=v.call(c,i))){if(!0!==o&&!1!==f.keepStatic||null!==f.regex&&-1!==n.getTest.call(c,i.begin).match.def.indexOf("|")){var m=s.call(c,!0);if(m){var g=void 0!==m.caret?m.caret:m.pos?r.seekNext.call(c,m.pos.begin?m.pos.begin:m.pos):r.getLastValidPosition.call(c,-1,!0);(t!==a.keys.Delete||i.begin>g)&&i.begin}}!0!==o&&(u.p=t===a.keys.Delete?i.begin+d:i.begin,u.p=r.determineNewCaretPosition.call(c,{begin:u.p,end:u.p},!1,!1===f.insertMode&&t===a.keys.Backspace?"none":void 0).begin)}},t.isComplete=c,t.isSelection=u,t.isValid=f,t.refreshFromBuffer=d,t.revalidateMask=v;var n=i(4713),a=i(2839),r=i(8711),o=i(6030);function s(e,t,i,a,o,l){var c,u,p,d,h,v,m,g,y,k,b,x=this,P=this.dependencyLib,w=this.opts,S=x.maskset,O=P.extend(!0,[],S.validPositions),M=P.extend(!0,{},S.tests),_=!1,E=!1,j=void 0!==o?o:r.getLastValidPosition.call(x);if(l&&(k=l.begin,b=l.end,l.begin>l.end&&(k=l.end,b=l.begin)),-1===j&&void 0===o)c=0,u=(d=n.getTest.call(x,c)).alternation;else for(;j>=0;j--)if((p=S.validPositions[j])&&void 0!==p.alternation){if(j<=(e||0)&&d&&d.locator[p.alternation]!==p.locator[p.alternation])break;c=j,u=S.validPositions[c].alternation,d=p}if(void 0!==u){m=parseInt(c),S.excludes[m]=S.excludes[m]||[],!0!==e&&S.excludes[m].push((0,n.getDecisionTaker)(d)+":"+d.alternation);var T=[],D=-1;for(h=m;m<r.getLastValidPosition.call(x,void 0,!0)+1;h++)-1===D&&e<=h&&void 0!==t&&(T.push(t),D=T.length-1),(v=S.validPositions[m])&&!0!==v.generatedInput&&(void 0===l||h<k||h>=b)&&T.push(v.input),S.validPositions.splice(m,1);for(-1===D&&void 0!==t&&(T.push(t),D=T.length-1);void 0!==S.excludes[m]&&S.excludes[m].length<10;){for(S.tests={},r.resetMaskSet.call(x,!0),_=!0,h=0;h<T.length&&(g=_.caret||0==w.insertMode&&null!=g?r.seekNext.call(x,g):r.getLastValidPosition.call(x,void 0,!0)+1,y=T[h],_=f.call(x,g,y,!1,a,!0));h++)h===D&&(E=_),1==e&&_&&(E={caretPos:h});if(_)break;if(r.resetMaskSet.call(x),d=n.getTest.call(x,m),S.validPositions=P.extend(!0,[],O),S.tests=P.extend(!0,{},M),!S.excludes[m]){E=s.call(x,e,t,i,a,m-1,l);break}if(null!=d.alternation){var A=(0,n.getDecisionTaker)(d);if(-1!==S.excludes[m].indexOf(A+":"+d.alternation)){E=s.call(x,e,t,i,a,m-1,l);break}for(S.excludes[m].push(A+":"+d.alternation),h=m;h<r.getLastValidPosition.call(x,void 0,!0)+1;h++)S.validPositions.splice(m)}else delete S.excludes[m]}}return E&&!1===w.keepStatic||delete S.excludes[m],E}function l(e,t,i){var n=this.opts,r=this.maskset;switch(n.casing||t.casing){case"upper":e=e.toUpperCase();break;case"lower":e=e.toLowerCase();break;case"title":var o=r.validPositions[i-1];e=0===i||o&&o.input===String.fromCharCode(a.keyCode.Space)?e.toUpperCase():e.toLowerCase();break;default:if("function"==typeof n.casing){var s=Array.prototype.slice.call(arguments);s.push(r.validPositions),e=n.casing.apply(this,s)}}return e}function c(e){var t=this,i=this.opts,a=this.maskset;if("function"==typeof i.isComplete)return i.isComplete(e,i);if("*"!==i.repeat){var o=!1,s=r.determineLastRequiredPosition.call(t,!0),l=s.l;if(void 0===s.def||s.def.newBlockMarker||s.def.optionality||s.def.optionalQuantifier){o=!0;for(var c=0;c<=l;c++){var u=n.getTestTemplate.call(t,c).match;if(!0!==u.static&&void 0===a.validPositions[c]&&(!1===u.optionality||void 0===u.optionality||u.optionality&&0==u.newBlockMarker)&&(!1===u.optionalQuantifier||void 0===u.optionalQuantifier)||!0===u.static&&""!=u.def&&e[c]!==n.getPlaceholder.call(t,c,u)){o=!1;break}}}return o}}function u(e){var t=this.opts.insertMode?0:1;return this.isRTL?e.begin-e.end>t:e.end-e.begin>t}function f(e,t,i,a,o,p,m){var g=this,y=this.dependencyLib,k=this.opts,b=g.maskset;i=!0===i;var x=e;function P(e){if(void 0!==e){if(void 0!==e.remove&&(Array.isArray(e.remove)||(e.remove=[e.remove]),e.remove.sort((function(e,t){return g.isRTL?e.pos-t.pos:t.pos-e.pos})).forEach((function(e){v.call(g,{begin:e,end:e+1})})),e.remove=void 0),void 0!==e.insert&&(Array.isArray(e.insert)||(e.insert=[e.insert]),e.insert.sort((function(e,t){return g.isRTL?t.pos-e.pos:e.pos-t.pos})).forEach((function(e){""!==e.c&&f.call(g,e.pos,e.c,void 0===e.strict||e.strict,void 0!==e.fromIsValid?e.fromIsValid:a)})),e.insert=void 0),e.refreshFromBuffer&&e.buffer){var t=e.refreshFromBuffer;d.call(g,!0===t?t:t.start,t.end,e.buffer),e.refreshFromBuffer=void 0}void 0!==e.rewritePosition&&(x=e.rewritePosition,e=!0)}return e}function w(t,i,o){var s=!1;return n.getTests.call(g,t).every((function(c,f){var p=c.match;if(r.getBuffer.call(g,!0),!1!==(s=(!p.jit||void 0!==b.validPositions[r.seekPrevious.call(g,t)])&&(null!=p.fn?p.fn.test(i,b,t,o,k,u.call(g,e)):(i===p.def||i===k.skipOptionalPartCharacter)&&""!==p.def&&{c:n.getPlaceholder.call(g,t,p,!0)||p.def,pos:t}))){var d=void 0!==s.c?s.c:i,h=t;return d=d===k.skipOptionalPartCharacter&&!0===p.static?n.getPlaceholder.call(g,t,p,!0)||p.def:d,!0!==(s=P(s))&&void 0!==s.pos&&s.pos!==t&&(h=s.pos),!0!==s&&void 0===s.pos&&void 0===s.c?!1:(!1===v.call(g,e,y.extend({},c,{input:l.call(g,d,p,h)}),a,h)&&(s=!1),!1)}return!0})),s}void 0!==e.begin&&(x=g.isRTL?e.end:e.begin);var S=!0,O=y.extend(!0,[],b.validPositions);if(!1===k.keepStatic&&void 0!==b.excludes[x]&&!0!==o&&!0!==a)for(var M=x;M<(g.isRTL?e.begin:e.end);M++)void 0!==b.excludes[M]&&(b.excludes[M]=void 0,delete b.tests[M]);if("function"==typeof k.preValidation&&!0!==a&&!0!==p&&(S=P(S=k.preValidation.call(g,r.getBuffer.call(g),x,t,u.call(g,e),k,b,e,i||o))),!0===S){if(S=w(x,t,i),(!i||!0===a)&&!1===S&&!0!==p){var _=b.validPositions[x];if(!_||!0!==_.match.static||_.match.def!==t&&t!==k.skipOptionalPartCharacter){if(k.insertMode||void 0===b.validPositions[r.seekNext.call(g,x)]||e.end>x){var E=!1;if(b.jitOffset[x]&&void 0===b.validPositions[r.seekNext.call(g,x)]&&!1!==(S=f.call(g,x+b.jitOffset[x],t,!0,!0))&&(!0!==o&&(S.caret=x),E=!0),e.end>x&&(b.validPositions[x]=void 0),!E&&!r.isMask.call(g,x,k.keepStatic&&0===x))for(var j=x+1,T=r.seekNext.call(g,x,!1,0!==x);j<=T;j++)if(!1!==(S=w(j,t,i))){S=h.call(g,x,void 0!==S.pos?S.pos:j)||S,x=j;break}}}else S={caret:r.seekNext.call(g,x)}}g.hasAlternator&&!0!==o&&!i&&(o=!0,!1===S&&k.keepStatic&&(c.call(g,r.getBuffer.call(g))||0===x)?S=s.call(g,x,t,i,a,void 0,e):(u.call(g,e)&&b.tests[x]&&b.tests[x].length>1&&k.keepStatic||1==S&&!0!==k.numericInput&&b.tests[x]&&b.tests[x].length>1&&r.getLastValidPosition.call(g,void 0,!0)>x)&&(S=s.call(g,!0))),!0===S&&(S={pos:x})}if("function"==typeof k.postValidation&&!0!==a&&!0!==p){var D=k.postValidation.call(g,r.getBuffer.call(g,!0),void 0!==e.begin?g.isRTL?e.end:e.begin:e,t,S,k,b,i,m);void 0!==D&&(S=!0===D?S:D)}S&&void 0===S.pos&&(S.pos=x),!1===S||!0===p?(r.resetMaskSet.call(g,!0),b.validPositions=y.extend(!0,[],O)):h.call(g,void 0,x,!0);var A=P(S);void 0!==g.maxLength&&(r.getBuffer.call(g).length>g.maxLength&&!a&&(r.resetMaskSet.call(g,!0),b.validPositions=y.extend(!0,[],O),A=!1));return A}function p(e,t,i){for(var a=this.maskset,r=!1,o=n.getTests.call(this,e),s=0;s<o.length;s++){if(o[s].match&&(o[s].match.nativeDef===t.match[i.shiftPositions?"def":"nativeDef"]&&(!i.shiftPositions||!t.match.static)||o[s].match.nativeDef===t.match.nativeDef||i.regex&&!o[s].match.static&&o[s].match.fn.test(t.input,a,e,!1,i))){r=!0;break}if(o[s].match&&o[s].match.def===t.match.nativeDef){r=void 0;break}}return!1===r&&void 0!==a.jitOffset[e]&&(r=p.call(this,e+a.jitOffset[e],t,i)),r}function d(e,t,i){var n,a,s=this,l=this.maskset,c=this.opts,u=this.dependencyLib,f=c.skipOptionalPartCharacter,p=s.isRTL?i.slice().reverse():i;if(c.skipOptionalPartCharacter="",!0===e)r.resetMaskSet.call(s,!1),e=0,t=i.length,a=r.determineNewCaretPosition.call(s,{begin:0,end:0},!1).begin;else{for(n=e;n<t;n++)l.validPositions.splice(e,0);a=e}var d=new u.Event("keypress");for(n=e;n<t;n++){d.key=p[n].toString(),s.ignorable=!1;var h=o.EventHandlers.keypressEvent.call(s,d,!0,!1,!1,a);!1!==h&&void 0!==h&&(a=h.forwardPosition)}c.skipOptionalPartCharacter=f}function h(e,t,i){var a=this,o=this.maskset,s=this.dependencyLib;if(void 0===e)for(e=t-1;e>0&&!o.validPositions[e];e--);for(var l=e;l<t;l++){if(void 0===o.validPositions[l]&&!r.isMask.call(a,l,!1))if(0==l?n.getTest.call(a,l):o.validPositions[l-1]){var c=n.getTests.call(a,l).slice();""===c[c.length-1].match.def&&c.pop();var u,p=n.determineTestTemplate.call(a,l,c);if(p&&(!0!==p.match.jit||"master"===p.match.newBlockMarker&&(u=o.validPositions[l+1])&&!0===u.match.optionalQuantifier)&&((p=s.extend({},p,{input:n.getPlaceholder.call(a,l,p.match,!0)||p.match.def})).generatedInput=!0,v.call(a,l,p,!0),!0!==i)){var d=o.validPositions[t].input;return o.validPositions[t]=void 0,f.call(a,t,d,!0,!0)}}}}function v(e,t,i,a){var o=this,s=this.maskset,l=this.opts,c=this.dependencyLib;function u(e,t,i){var n=t[e];if(void 0!==n&&!0===n.match.static&&!0!==n.match.optionality&&(void 0===t[0]||void 0===t[0].alternation)){var a=i.begin<=e-1?t[e-1]&&!0===t[e-1].match.static&&t[e-1]:t[e-1],r=i.end>e+1?t[e+1]&&!0===t[e+1].match.static&&t[e+1]:t[e+1];return a&&r}return!1}var d=0,h=void 0!==e.begin?e.begin:e,v=void 0!==e.end?e.end:e,m=!0;if(e.begin>e.end&&(h=e.end,v=e.begin),a=void 0!==a?a:h,void 0===i&&(h!==v||l.insertMode&&void 0!==s.validPositions[a]||void 0===t||t.match.optionalQuantifier||t.match.optionality)){var g,y=c.extend(!0,[],s.validPositions),k=r.getLastValidPosition.call(o,void 0,!0);for(s.p=h,g=k;g>=h;g--)s.validPositions.splice(g,1),void 0===t&&delete s.tests[g+1];var b,x,P=a,w=P;for(t&&(s.validPositions[a]=c.extend(!0,{},t),w++,P++),null==y[v]&&s.jitOffset[v]&&(v+=s.jitOffset[v]+1),g=t?v:v-1;g<=k;g++){if(void 0!==(b=y[g])&&!0!==b.generatedInput&&(g>=v||g>=h&&u(g,y,{begin:h,end:v}))){for(;""!==n.getTest.call(o,w).match.def;){if(!1!==(x=p.call(o,w,b,l))||"+"===b.match.def){"+"===b.match.def&&r.getBuffer.call(o,!0);var S=f.call(o,w,b.input,"+"!==b.match.def,!0);if(m=!1!==S,P=(S.pos||w)+1,!m&&x)break}else m=!1;if(m){void 0===t&&b.match.static&&g===e.begin&&d++;break}if(!m&&r.getBuffer.call(o),w>s.maskLength)break;w++}""==n.getTest.call(o,w).match.def&&(m=!1),w=P}if(!m)break}if(!m)return s.validPositions=c.extend(!0,[],y),r.resetMaskSet.call(o,!0),!1}else t&&n.getTest.call(o,a).match.cd===t.match.cd&&(s.validPositions[a]=c.extend(!0,{},t));return r.resetMaskSet.call(o,!0),d}},7957:function(t){t.exports=e}},i={};function n(e){var a=i[e];if(void 0!==a)return a.exports;var r=i[e]={exports:{}};return t[e](r,r.exports,n),r.exports}var a={};return function(){var e=a;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t,i=(t=n(3046))&&t.__esModule?t:{default:t};n(443);var r=i.default;e.default=r}(),a}()}));
| ver. 1.4 |
.
| PHP 8.1.32 | Generation time: 0 |
proxy
|
phpinfo
|
Settings