From b3f6e9cc37cfc9f55b337dcec9b864d148faafa9 Mon Sep 17 00:00:00 2001 From: Robin Herbots Date: Fri, 6 Oct 2023 11:17:36 +0200 Subject: [PATCH] Updates --- asset-manifest.json | 6 +++--- index.html | 2 +- static/js/522.0566e6df.chunk.js | 1 + static/js/522.35e2d51c.chunk.js | 1 - static/js/main.66ef043c.js | 2 -- static/js/main.79756ddb.js | 2 ++ ....js.LICENSE.txt => main.79756ddb.js.LICENSE.txt} | 13 ++++++++++--- 7 files changed, 17 insertions(+), 10 deletions(-) create mode 100644 static/js/522.0566e6df.chunk.js delete mode 100644 static/js/522.35e2d51c.chunk.js delete mode 100644 static/js/main.66ef043c.js create mode 100644 static/js/main.79756ddb.js rename static/js/{main.66ef043c.js.LICENSE.txt => main.79756ddb.js.LICENSE.txt} (90%) diff --git a/asset-manifest.json b/asset-manifest.json index f7b6d887c..8a596a17d 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,8 +1,8 @@ { "files": { "main.css": "/Inputmask/static/css/main.551d4dcf.css", - "main.js": "/Inputmask/static/js/main.66ef043c.js", - "static/js/522.35e2d51c.chunk.js": "/Inputmask/static/js/522.35e2d51c.chunk.js", + "main.js": "/Inputmask/static/js/main.79756ddb.js", + "static/js/522.0566e6df.chunk.js": "/Inputmask/static/js/522.0566e6df.chunk.js", "static/media/Changelog.md": "/Inputmask/static/media/Changelog.53c23bd33c41a2a91bb4.md", "static/media/Documentation.md": "/Inputmask/static/media/Documentation.9c56b25db73830444913.md", "static/media/browserstack-logo-600x315.png": "/Inputmask/static/media/browserstack-logo-600x315.6d2b669584674591381c.png", @@ -16,6 +16,6 @@ }, "entrypoints": [ "static/css/main.551d4dcf.css", - "static/js/main.66ef043c.js" + "static/js/main.79756ddb.js" ] } \ No newline at end of file diff --git a/index.html b/index.html index 32aef0893..1da0828a1 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -Inputmask documentation
\ No newline at end of file +Inputmask documentation
\ No newline at end of file diff --git a/static/js/522.0566e6df.chunk.js b/static/js/522.0566e6df.chunk.js new file mode 100644 index 000000000..694d0834a --- /dev/null +++ b/static/js/522.0566e6df.chunk.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkinputmask_pages=self.webpackChunkinputmask_pages||[]).push([[522],{9522:function(n,e,t){t.r(e),t.d(e,{CLSThresholds:function(){return F},FCPThresholds:function(){return S},FIDThresholds:function(){return N},INPThresholds:function(){return G},LCPThresholds:function(){return X},TTFBThresholds:function(){return $},getCLS:function(){return I},getFCP:function(){return P},getFID:function(){return R},getINP:function(){return W},getLCP:function(){return Z},getTTFB:function(){return en},onCLS:function(){return I},onFCP:function(){return P},onFID:function(){return R},onINP:function(){return W},onLCP:function(){return Z},onTTFB:function(){return en}});var r,i,o,a,u,c=-1,f=function(n){addEventListener("pageshow",(function(e){e.persisted&&(c=e.timeStamp,n(e))}),!0)},s=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},d=function(){var n=s();return n&&n.activationStart||0},l=function(n,e){var t=s(),r="navigate";return c>=0?r="back-forward-cache":t&&(document.prerendering||d()>0?r="prerender":document.wasDiscarded?r="restore":t.type&&(r=t.type.replace(/_/g,"-"))),{name:n,value:void 0===e?-1:e,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:r}},p=function(n,e,t){try{if(PerformanceObserver.supportedEntryTypes.includes(n)){var r=new PerformanceObserver((function(n){Promise.resolve().then((function(){e(n.getEntries())}))}));return r.observe(Object.assign({type:n,buffered:!0},t||{})),r}}catch(n){}},v=function(n,e,t,r){var i,o;return function(a){e.value>=0&&(a||r)&&((o=e.value-(i||0))||void 0===i)&&(i=e.value,e.delta=o,e.rating=function(n,e){return n>e[1]?"poor":n>e[0]?"needs-improvement":"good"}(e.value,t),n(e))}},m=function(n){requestAnimationFrame((function(){return requestAnimationFrame((function(){return n()}))}))},h=function(n){var e=function(e){"pagehide"!==e.type&&"hidden"!==document.visibilityState||n(e)};addEventListener("visibilitychange",e,!0),addEventListener("pagehide",e,!0)},g=function(n){var e=!1;return function(t){e||(n(t),e=!0)}},T=-1,y=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},C=function(n){"hidden"===document.visibilityState&&T>-1&&(T="visibilitychange"===n.type?n.timeStamp:0,L())},E=function(){addEventListener("visibilitychange",C,!0),addEventListener("prerenderingchange",C,!0)},L=function(){removeEventListener("visibilitychange",C,!0),removeEventListener("prerenderingchange",C,!0)},b=function(){return T<0&&(T=y(),E(),f((function(){setTimeout((function(){T=y(),E()}),0)}))),{get firstHiddenTime(){return T}}},w=function(n){document.prerendering?addEventListener("prerenderingchange",(function(){return n()}),!0):n()},S=[1800,3e3],P=function(n,e){e=e||{},w((function(){var t,r=b(),i=l("FCP"),o=p("paint",(function(n){n.forEach((function(n){"first-contentful-paint"===n.name&&(o.disconnect(),n.startTimer.value&&(r.value=i,r.entries=o,t())},u=p("layout-shift",a);u&&(t=v(n,r,F,e.reportAllChanges),h((function(){a(u.takeRecords()),t(!0)})),f((function(){i=0,r=l("CLS",0),t=v(n,r,F,e.reportAllChanges),m((function(){return t()}))})),setTimeout(t,0))})))},k={passive:!0,capture:!0},A=new Date,D=function(n,e){r||(r=e,i=n,o=new Date,x(removeEventListener),M())},M=function(){if(i>=0&&i1e12?new Date:performance.now())-n.timeStamp;"pointerdown"==n.type?function(n,e){var t=function(){D(n,e),i()},r=function(){i()},i=function(){removeEventListener("pointerup",t,k),removeEventListener("pointercancel",r,k)};addEventListener("pointerup",t,k),addEventListener("pointercancel",r,k)}(e,n):D(e,n)}},x=function(n){["mousedown","keydown","touchstart","pointerdown"].forEach((function(e){return n(e,B,k)}))},N=[100,300],R=function(n,e){e=e||{},w((function(){var t,o=b(),u=l("FID"),c=function(n){n.startTimee.latency){if(t)t.entries.push(n),t.latency=Math.max(t.latency,n.duration);else{var r={id:n.interactionId,latency:n.duration,entries:[n]};U[r.id]=r,Q.push(r)}Q.sort((function(n,e){return e.latency-n.latency})),Q.splice(10).forEach((function(n){delete U[n.id]}))}},W=function(n,e){e=e||{},w((function(){z();var t,r=l("INP"),i=function(n){n.forEach((function(n){n.interactionId&&V(n),"first-input"===n.entryType&&!Q.some((function(e){return e.entries.some((function(e){return n.duration===e.duration&&n.startTime===e.startTime}))}))&&V(n)}));var e,i=(e=Math.min(Q.length-1,Math.floor(K()/50)),Q[e]);i&&i.latency!==r.value&&(r.value=i.latency,r.entries=i.entries,t())},o=p("event",i,{durationThreshold:e.durationThreshold||40});t=v(n,r,G,e.reportAllChanges),o&&(o.observe({type:"first-input",buffered:!0}),h((function(){i(o.takeRecords()),r.value<0&&K()>0&&(r.value=0,r.entries=[]),t(!0)})),f((function(){Q=[],J=j(),r=l("INP"),t=v(n,r,G,e.reportAllChanges)})))}))},X=[2500,4e3],Y={},Z=function(n,e){e=e||{},w((function(){var t,r=b(),i=l("LCP"),o=function(n){var e=n[n.length-1];e&&e.startTimeperformance.now())return;t.value=Math.max(o-d(),0),t.entries=[i],r(!0),f((function(){t=l("TTFB",0),(r=v(n,t,$,e.reportAllChanges))(!0)}))}}))}}}]); \ No newline at end of file diff --git a/static/js/522.35e2d51c.chunk.js b/static/js/522.35e2d51c.chunk.js deleted file mode 100644 index 86fcd30df..000000000 --- a/static/js/522.35e2d51c.chunk.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkinputmask_pages=self.webpackChunkinputmask_pages||[]).push([[522],{522:function(n,e,t){t.r(e),t.d(e,{CLSThresholds:function(){return I},FCPThresholds:function(){return S},FIDThresholds:function(){return N},INPThresholds:function(){return G},LCPThresholds:function(){return X},TTFBThresholds:function(){return $},getCLS:function(){return F},getFCP:function(){return P},getFID:function(){return R},getINP:function(){return W},getLCP:function(){return Z},getTTFB:function(){return en},onCLS:function(){return F},onFCP:function(){return P},onFID:function(){return R},onINP:function(){return W},onLCP:function(){return Z},onTTFB:function(){return en}});var r,i,o,a,u,c=-1,f=function(n){addEventListener("pageshow",(function(e){e.persisted&&(c=e.timeStamp,n(e))}),!0)},s=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},d=function(){var n=s();return n&&n.activationStart||0},l=function(n,e){var t=s(),r="navigate";return c>=0?r="back-forward-cache":t&&(document.prerendering||d()>0?r="prerender":document.wasDiscarded?r="restore":t.type&&(r=t.type.replace(/_/g,"-"))),{name:n,value:void 0===e?-1:e,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:r}},p=function(n,e,t){try{if(PerformanceObserver.supportedEntryTypes.includes(n)){var r=new PerformanceObserver((function(n){Promise.resolve().then((function(){e(n.getEntries())}))}));return r.observe(Object.assign({type:n,buffered:!0},t||{})),r}}catch(n){}},v=function(n,e,t,r){var i,o;return function(a){e.value>=0&&(a||r)&&((o=e.value-(i||0))||void 0===i)&&(i=e.value,e.delta=o,e.rating=function(n,e){return n>e[1]?"poor":n>e[0]?"needs-improvement":"good"}(e.value,t),n(e))}},m=function(n){requestAnimationFrame((function(){return requestAnimationFrame((function(){return n()}))}))},h=function(n){var e=function(e){"pagehide"!==e.type&&"hidden"!==document.visibilityState||n(e)};addEventListener("visibilitychange",e,!0),addEventListener("pagehide",e,!0)},g=function(n){var e=!1;return function(t){e||(n(t),e=!0)}},T=-1,y=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},C=function(n){"hidden"===document.visibilityState&&T>-1&&(T="visibilitychange"===n.type?n.timeStamp:0,L())},E=function(){addEventListener("visibilitychange",C,!0),addEventListener("prerenderingchange",C,!0)},L=function(){removeEventListener("visibilitychange",C,!0),removeEventListener("prerenderingchange",C,!0)},b=function(){return T<0&&(T=y(),E(),f((function(){setTimeout((function(){T=y(),E()}),0)}))),{get firstHiddenTime(){return T}}},w=function(n){document.prerendering?addEventListener("prerenderingchange",(function(){return n()}),!0):n()},S=[1800,3e3],P=function(n,e){e=e||{},w((function(){var t,r=b(),i=l("FCP"),o=p("paint",(function(n){n.forEach((function(n){"first-contentful-paint"===n.name&&(o.disconnect(),n.startTimer.value&&(r.value=i,r.entries=o,t())},u=p("layout-shift",a);u&&(t=v(n,r,I,e.reportAllChanges),h((function(){a(u.takeRecords()),t(!0)})),f((function(){i=0,r=l("CLS",0),t=v(n,r,I,e.reportAllChanges),m((function(){return t()}))})),setTimeout(t,0))})))},k={passive:!0,capture:!0},A=new Date,D=function(n,e){r||(r=e,i=n,o=new Date,x(removeEventListener),M())},M=function(){if(i>=0&&i1e12?new Date:performance.now())-n.timeStamp;"pointerdown"==n.type?function(n,e){var t=function(){D(n,e),i()},r=function(){i()},i=function(){removeEventListener("pointerup",t,k),removeEventListener("pointercancel",r,k)};addEventListener("pointerup",t,k),addEventListener("pointercancel",r,k)}(e,n):D(e,n)}},x=function(n){["mousedown","keydown","touchstart","pointerdown"].forEach((function(e){return n(e,B,k)}))},N=[100,300],R=function(n,e){e=e||{},w((function(){var t,o=b(),u=l("FID"),c=function(n){n.startTimee.latency){if(t)t.entries.push(n),t.latency=Math.max(t.latency,n.duration);else{var r={id:n.interactionId,latency:n.duration,entries:[n]};U[r.id]=r,Q.push(r)}Q.sort((function(n,e){return e.latency-n.latency})),Q.splice(10).forEach((function(n){delete U[n.id]}))}},W=function(n,e){e=e||{},w((function(){var t;z();var r,i=l("INP"),o=function(n){n.forEach((function(n){n.interactionId&&V(n),"first-input"===n.entryType&&!Q.some((function(e){return e.entries.some((function(e){return n.duration===e.duration&&n.startTime===e.startTime}))}))&&V(n)}));var e,t=(e=Math.min(Q.length-1,Math.floor(K()/50)),Q[e]);t&&t.latency!==i.value&&(i.value=t.latency,i.entries=t.entries,r())},a=p("event",o,{durationThreshold:null!==(t=e.durationThreshold)&&void 0!==t?t:40});r=v(n,i,G,e.reportAllChanges),a&&("interactionId"in PerformanceEventTiming.prototype&&a.observe({type:"first-input",buffered:!0}),h((function(){o(a.takeRecords()),i.value<0&&K()>0&&(i.value=0,i.entries=[]),r(!0)})),f((function(){Q=[],J=j(),i=l("INP"),r=v(n,i,G,e.reportAllChanges)})))}))},X=[2500,4e3],Y={},Z=function(n,e){e=e||{},w((function(){var t,r=b(),i=l("LCP"),o=function(n){var e=n[n.length-1];e&&e.startTimeperformance.now())return;t.value=Math.max(o-d(),0),t.entries=[i],r(!0),f((function(){t=l("TTFB",0),(r=v(n,t,$,e.reportAllChanges))(!0)}))}}))}}}]); \ No newline at end of file diff --git a/static/js/main.66ef043c.js b/static/js/main.66ef043c.js deleted file mode 100644 index 553cb2b7d..000000000 --- a/static/js/main.66ef043c.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see main.66ef043c.js.LICENSE.txt */ -!function(){var e={994:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,u=Object.getOwnPropertyDescriptor,a=function(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},i=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,u=t.call(e,"constructor"),a=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!u&&!a)return!1;for(r in e);return"undefined"===typeof r||t.call(e,r)},o=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(u)return u(e,n).value}return e[n]};e.exports=function e(){var t,n,r,u,s,c,d=arguments[0],f=1,p=arguments.length,D=!1;for("boolean"===typeof d&&(D=d,d=arguments[1]||{},f=2),(null==d||"object"!==typeof d&&"function"!==typeof d)&&(d={});f0)if(void 0===t)for(u=0,a=n[e][r].length;u0?r:"global",handler:n[e][r][u]});else i.push({ev:e,namespace:r&&r.length>0?r:"global",handler:t});else if(r.length>0)for(var o in n)for(var l in n[o])if(l===r)if(void 0===t)for(u=0,a=n[o][l].length;ue.length)&&(t=e.length);for(var n=0,r=new Array(t);n0||a.indexOf("Trident/")>0,o=u.default.navigator&&u.default.navigator.userAgentData&&u.default.navigator.userAgentData.mobile||u.default.navigator&&u.default.navigator.maxTouchPoints||"ontouchstart"in u.default,l=/iphone/i.test(a);t.iphone=l,t.mobile=o,t.ie=i},7184:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(n,"\\$1")};var n=new RegExp("(\\"+["/",".","*","+","?","|","(",")","[","]","{","}","\\","$","^"].join("|\\")+")","gim")},6030:function(e,t,n){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)}Object.defineProperty(t,"__esModule",{value:!0}),t.EventHandlers=void 0;var u,a=n(8711),i=n(2839),o=n(9845),l=n(7215),s=n(7760),c=n(4713),d=(u=n(9380))&&u.__esModule?u:{default:u};function f(){f=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,u=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",o=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var a=t&&t.prototype instanceof D?t:D,i=Object.create(a.prototype),o=new w(r||[]);return u(i,"_invoke",{value:C(e,n,o)}),i}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var p={};function D(){}function h(){}function g(){}var m={};s(m,i,(function(){return this}));var v=Object.getPrototypeOf,b=v&&v(v(_([])));b&&b!==t&&n.call(b,i)&&(m=b);var y=g.prototype=D.prototype=Object.create(m);function E(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function F(e,t){function a(u,i,o,l){var s=d(e[u],e,i);if("throw"!==s.type){var c=s.arg,f=c.value;return f&&"object"==r(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){a("next",e,o,l)}),(function(e){a("throw",e,o,l)})):t.resolve(f).then((function(e){c.value=e,o(c)}),(function(e){return a("throw",e,o,l)}))}l(s.arg)}var i;u(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){a(e,n,t,r)}))}return i=i?i.then(r,r):r()}})}function C(e,t,n){var r="suspendedStart";return function(u,a){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===u)throw a;return B()}for(n.method=u,n.arg=a;;){var i=n.delegate;if(i){var o=A(i,n);if(o){if(o===p)continue;return o}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=d(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===p)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function A(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,A(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),p;var u=d(r,e.iterator,t.arg);if("throw"===u.type)return t.method="throw",t.arg=u.arg,t.delegate=null,p;var a=u.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function k(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 x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function w(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function _(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,u=function t(){for(;++r=0;--u){var a=this.tryEntries[u],i=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var o=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(o&&l){if(this.prev=0;--r){var u=this.tryEntries[r];if(u.tryLoc<=this.prev&&n.call(u,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),x(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var u=r.arg;x(n)}return u}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:_(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},e}function p(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return D(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?D(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,u=function(){};return{s:u,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:u}}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 a,i=!0,o=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){o=!0,a=e},f:function(){try{i||null==n.return||n.return()}finally{if(o)throw a}}}}function D(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0&&b.end>0&&(e.preventDefault(),a.caret.call(d,h,b.begin,b.end))):(b.begin=a.seekNext.call(d,b.begin,!0),b.end=a.seekNext.call(d,b.begin,!0),b.end=f.length?s.length:f.length,h=d.length>=p.length?d.length:p.length,g="",m=[],v="~";s.length0)&&(t.undoValue=o,u.trigger("change"))}},mouseenterEvent:function(){var e=this.inputmask,t=e.opts.showMaskOnHover,n=this;if(e.mouseEnter=!0,(n.inputmask.shadowRoot||n.ownerDocument).activeElement!==n){var r=(e.isRTL?a.getBufferTemplate.call(e).slice().reverse():a.getBufferTemplate.call(e)).join("");t&&(0,s.HandleNativePlaceholder)(n,r)}},submitEvent:function(){var e=this.inputmask,t=e.opts;e.undoValue!==e._valueGet(!0)&&e.$el.trigger("change"),-1===a.getLastValidPosition.call(e)&&e._valueGet&&e._valueGet()===a.getBufferTemplate.call(e).join("")&&e._valueSet(""),t.clearIncomplete&&!1===l.isComplete.call(e,a.getBuffer.call(e))&&e._valueSet(""),t.removeMaskOnSubmit&&(e._valueSet(e.unmaskedvalue(),!0),setTimeout((function(){(0,s.writeBuffer)(e.el,a.getBuffer.call(e))}),0))},resetEvent:function(){var e=this.inputmask;e.refreshValue=!0,setTimeout((function(){(0,s.applyInputValue)(e.el,e._valueGet(!0))}),0)}};t.EventHandlers=v},9716:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.EventRuler=void 0;var r,u=(r=n(2394))&&r.__esModule?r:{default:r},a=n(2839),i=n(8711),o=n(7760),l={on:function(e,t,n){var r=e.inputmask.dependencyLib,l=function(t){t.originalEvent&&(t=t.originalEvent||t,arguments[0]=t);var l,s=this,c=s.inputmask,d=c?c.opts:void 0;if(void 0===c&&"FORM"!==this.nodeName){var f=r.data(s,"_inputmask_opts");r(s).off(),f&&new u.default(f).mask(s)}else{if(["submit","reset","setvalue"].includes(t.type)||"FORM"===this.nodeName||!(s.disabled||s.readOnly&&!("keydown"===t.type&&t.ctrlKey&&t.key===a.keys.c||!1===d.tabThrough&&t.key===a.keys.Tab))){switch(t.type){case"input":if(!0===c.skipInputEvent)return c.skipInputEvent=!1,t.preventDefault();break;case"click":case"focus":return c.validationEvent?(c.validationEvent=!1,e.blur(),(0,o.HandleNativePlaceholder)(e,(c.isRTL?i.getBufferTemplate.call(c).slice().reverse():i.getBufferTemplate.call(c)).join("")),setTimeout((function(){e.focus()}),d.validationEventTimeOut),!1):(l=arguments,void setTimeout((function(){e.inputmask&&n.apply(s,l)}),0))}var p=n.apply(s,arguments);return!1===p&&(t.preventDefault(),t.stopPropagation()),p}t.preventDefault()}};["submit","reset"].includes(t)?(l=l.bind(e),null!==e.form&&r(e.form).on(t,l)):r(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 n=e.inputmask.dependencyLib,r=e.inputmask.events;for(var u in t&&((r=[])[t]=e.inputmask.events[t]),r){for(var a=r[u];a.length>0;){var i=a.pop();["submit","reset"].includes(u)?null!==e.form&&n(e.form).off(u,i):n(e).off(u,i)}delete e.inputmask.events[u]}}}};t.EventRuler=l},219:function(e,t,n){var r=f(n(2394)),u=n(2839),a=f(n(7184)),i=n(8711),o=n(4713);function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,u,a,i,o=[],l=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(o.push(r.value),o.length!==t);l=!0);}catch(e){s=!0,u=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw u}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}(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 s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&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 k(Date.prototype.getMonth.call(this)+1,2)}],mmm:[""],mmmm:[""],yy:["[0-9]{2}",Date.prototype.setFullYear,"year",function(){return k(Date.prototype.getFullYear.call(this),2)}],yyyy:["[0-9]{4}",Date.prototype.setFullYear,"year",function(){return k(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 k(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 k(Date.prototype.getHours.call(this),2)}],Hx:[function(e){return"[0-9]{".concat(e,"}")},Date.prototype.setHours,"hours",function(e){return function(){return k(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 k(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 k(Date.prototype.getSeconds.call(this),2)}],l:["[0-9]{3}",Date.prototype.setMilliseconds,"milliseconds",function(){return k(Date.prototype.getMilliseconds.call(this),3)},3],L:["[0-9]{2}",Date.prototype.setMilliseconds,"milliseconds",function(){return k(Date.prototype.getMilliseconds.call(this),2)},2],t:["[ap]",b,"ampm",y,1],tt:["[ap]m",b,"ampm",y,2],T:["[AP]",b,"ampm",y,1],TT:["[AP]M",b,"ampm",y,2],Z:[".*",void 0,"Z",function(){var e=this.toString().match(/\((.+)\)/)[1];return e.includes(" ")&&(e=(e=e.replace("-"," ").toUpperCase()).split(" ").map((function(e){return l(e,1)[0]})).join("")),e}],o:[""],S:[""]},v={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 b(e){var t=this.getHours();e.toLowerCase().includes("p")?this.setHours(t+12):e.toLowerCase().includes("a")&&t>=12&&this.setHours(t-12)}function y(){var e=this.getHours();return(e=e||12)>=12?"PM":"AM"}function E(e){var t=new RegExp("\\d+$").exec(e[0]);if(t&&void 0!==t[0]){var n=m[e[0][0]+"x"].slice("");return n[0]=n[0](t[0]),n[3]=n[3](t[0]),n}if(m[e[0]])return m[e[0]]}function F(e){if(!e.tokenizer){var t=[],n=[];for(var r in m)if(/\.*x$/.test(r)){var u=r[0]+"\\d+";-1===n.indexOf(u)&&n.push(u)}else-1===t.indexOf(r[0])&&t.push(r[0]);e.tokenizer="("+(n.length>0?n.join("|")+"|":"")+t.join("+|")+")+?|.",e.tokenizer=new RegExp(e.tokenizer,"g")}return e.tokenizer}function C(e,t,n){if(!g)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 r=_(t.pos,n);if(r.targetMatch&&"yyyy"===r.targetMatch[0]&&t.pos-r.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=i.seekNext.call(this,t.pos+1),t;return!1}function A(e,t,n,r){var u,i,o="";for(F(n).lastIndex=0;u=F(n).exec(e);)if(void 0===t)if(i=E(u))o+="("+i[0]+")";else switch(u[0]){case"[":o+="(";break;case"]":o+=")?";break;default:o+=(0,a.default)(u[0])}else(i=E(u))?!0!==r&&i[3]?o+=i[3].call(t.date):i[2]?o+=t["raw"+i[2]]:o+=u[0]:o+=u[0];return o}function k(e,t,n){for(e=String(e),t=t||2;e.length=e+1){n=r,r=F(t).exec(t.inputFormat);break}}return{targetMatchIndex:u-a,nextMatch:r,targetMatch:n}}r.default.extendAliases({datetime:{mask:function(e){return e.numericInput=!1,m.S=e.i18n.ordinalSuffix.join("|"),e.inputFormat=v[e.inputFormat]||e.inputFormat,e.displayFormat=v[e.displayFormat]||e.displayFormat||e.inputFormat,e.outputFormat=v[e.outputFormat]||e.outputFormat||e.inputFormat,e.placeholder=""!==e.placeholder?e.placeholder:e.inputFormat.replace(/[[\]]/,""),e.regex=A(e.inputFormat,void 0,e),e.min=x(e.min,e.inputFormat,e),e.max=x(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,n,r,u,a,i,o){if(o)return!0;if(isNaN(n)&&e[t]!==n){var l=_(t,u);if(l.nextMatch&&l.nextMatch[0]===n&&l.targetMatch[0].length>1){var s=m[l.targetMatch[0]][0];if(new RegExp(s).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,n,r,u,a,i,l){var s,c;if(i)return!0;if(!1===r&&(((s=_(t+1,u)).targetMatch&&s.targetMatchIndex===t&&s.targetMatch[0].length>1&&void 0!==m[s.targetMatch[0]]||(s=_(t+2,u)).targetMatch&&s.targetMatchIndex===t+1&&s.targetMatch[0].length>1&&void 0!==m[s.targetMatch[0]])&&(c=m[s.targetMatch[0]][0]),void 0!==c&&(void 0!==a.validPositions[t+1]&&new RegExp(c).test(n+"0")?(e[t]=n,e[t+1]="0",r={pos:t+2,caret:t}):new RegExp(c).test("0"+n)&&(e[t]="0",e[t+1]=n,r={pos:t+2})),!1===r))return r;if(r.fuzzy&&(e=r.buffer,t=r.pos),(s=_(t,u)).targetMatch&&s.targetMatch[0]&&void 0!==m[s.targetMatch[0]]){var d=m[s.targetMatch[0]];c=d[0];var f=e.slice(s.targetMatchIndex,s.targetMatchIndex+s.targetMatch[0].length);if(!1===new RegExp(c).test(f.join(""))&&2===s.targetMatch[0].length&&a.validPositions[s.targetMatchIndex]&&a.validPositions[s.targetMatchIndex+1]&&(a.validPositions[s.targetMatchIndex+1].input="0"),"year"==d[2])for(var p=o.getMaskTemplate.call(this,!1,1,void 0,!0),D=t+1;D=o.getTime())&&(e.date.setFullYear(h),e.year=r,t.insert=[{pos:t.pos+1,c:i[0]},{pos:t.pos+2,c:i[1]}])}}return t}(v,g,u)),g=function(e,t,n,r,u){if(!t)return t;if(t&&n.min&&!isNaN(n.min.date.getTime())){var a;for(e.reset(),F(n).lastIndex=0;a=F(n).exec(n.inputFormat);){var i;if((i=E(a))&&i[3]){for(var o=i[1],l=e[i[2]],s=n.min[i[2]],c=n.max?n.max[i[2]]:s,d=[],f=!1,p=0;ps[p]):(d[p]=s[p],"year"===i[2]&&l.length-1==p&&s!=c&&(d=(parseInt(d.join(""))+1).toString().split("")),"ampm"===i[2]&&s!=c&&n.min.date.getTime()>e.date.getTime()&&(d[p]=c[p]));o.call(e._date,d.join(""))}}t=n.min.date.getTime()<=e.date.getTime(),e.reInit()}return t&&n.max&&(isNaN(n.max.date.getTime())||(t=n.max.date.getTime()>=e.date.getTime())),t}(v,g=C.call(this,v,g,u),u,a)),void 0!==t&&g&&r.pos!==t?{buffer:A(u.inputFormat,v,u).split(""),refreshFromBuffer:{start:t,end:r.pos},pos:r.caret||r.pos}:g},onKeyDown:function(e,t,n,r){e.ctrlKey&&e.key===u.keys.ArrowRight&&(this.inputmask._valueSet(w(new Date,r)),p(this).trigger("setvalue"))},onUnMask:function(e,t,n){return t?A(n.outputFormat,x(e,n.inputFormat,n),n,!0):t},casing:function(e,t,n,r){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=w(e,t)),e},insertMode:!1,insertModeVisual:!1,shiftPositions:!1,keepStatic:!1,inputmode:"numeric",prefillYear:!0}})},3851:function(e,t,n){var r,u=(r=n(2394))&&r.__esModule?r:{default:r},a=n(8711),i=n(4713);u.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 o=new RegExp("25[0-5]|2[0-4][0-9]|[01][0-9][0-9]");function l(e,t,n,r,u){return n-1>-1&&"."!==t.buffer[n-1]?(e=t.buffer[n-1]+e,e=n-2>-1&&"."!==t.buffer[n-2]?t.buffer[n-2]+e:"0"+e):e="00"+e,o.test(e)}u.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,n){return e},inputmode:"decimal",substitutes:{",":"."}},email:{mask:function(e){var t=e.separator,n=e.quantifier,r="*{1,64}[.*{1,64}][.*{1,64}][.*{1,63}]@-{1,63}.-{1,63}[.-{1,63}][.-{1,63}]",u=r;if(t)for(var a=0;a0&&t>0&&(!n.digitsOptional||r)){var u=e.indexOf(n.radixPoint),a=!1;n.negationSymbol.back===e[e.length-1]&&(a=!0,e.length--),-1===u&&(e.push(n.radixPoint),u=e.length-1);for(var i=1;i<=t;i++)isFinite(e[u+i])||(e[u+i]="0")}return a&&e.push(n.negationSymbol.back),e}function d(e,t){var n=0;for(var r in"+"===e&&(n=a.seekNext.call(this,t.validPositions.length-1)),t.tests)if((r=parseInt(r))>=n)for(var u=0,i=t.tests[r].length;u1&&(e.placeholder=e.placeholder.charAt(0)),"radixFocus"===e.positionCaretOnClick&&""===e.placeholder&&(e.positionCaretOnClick="lvp");var t="0",n=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,n=","===e.radixPoint?"?":"!",""!==e.radixPoint&&void 0===e.definitions[n]&&(e.definitions[n]={},e.definitions[n].validator="["+e.radixPoint+"]",e.definitions[n].placeholder=e.radixPoint,e.definitions[n].static=!0,e.definitions[n].generated=!0)):(e.__financeInput=!1,e.numericInput=!0);var r,a="[+]";if(a+=s(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),a+=e._mask(e)):a+="9{+}",void 0!==e.digits&&0!==e.digits){var i=e.digits.toString().split(",");isFinite(i[0])&&i[1]&&isFinite(i[1])?a+=n+t+"{"+e.digits+"}":(isNaN(e.digits)||parseInt(e.digits)>0)&&(e.digitsOptional||e.jitMasking?(r=a+n+t+"{0,"+e.digits+"}",e.keepStatic=!0):a+=n+t+"{"+e.digits+"}")}else e.inputmode="numeric";return a+=s(e.suffix,e),a+="[-]",r&&(a=[r+s(e.suffix,e)+"[-]",a]),e.greedy=!1,function(e){void 0===e.parseMinMaxOptions&&(null!==e.min&&(e.min=e.min.toString().replace(new RegExp((0,u.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,u.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),a},_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:p},1:{validator:p,definitionSymbol:"9"},9:{validator:"[0-9\uff10-\uff19\u0660-\u0669\u06f0-\u06f9]",definitionSymbol:"*"},"+":{validator:function(e,t,n,r,u){return u.allowMinus&&("-"===e||e===u.negationSymbol.front)}},"-":{validator:function(e,t,n,r,u){return u.allowMinus&&e===u.negationSymbol.back}}},preValidation:function(e,t,n,r,u,a,i,o){var l=this;if(!1!==u.__financeInput&&n===u.radixPoint)return!1;var s=e.indexOf(u.radixPoint),c=t;if(t=function(e,t,n,r,u){return u._radixDance&&u.numericInput&&t!==u.negationSymbol.back&&e<=n&&(n>0||t==u.radixPoint)&&(void 0===r.validPositions[e-1]||r.validPositions[e-1].input!==u.negationSymbol.back)&&(e-=1),e}(t,n,s,a,u),"-"===n||n===u.negationSymbol.front){if(!0!==u.allowMinus)return!1;var p=!1,D=f("+",a),h=f("-",a);return-1!==D&&(p=[D,h]),!1!==p?{remove:p,caret:c-u.negationSymbol.back.length}:{insert:[{pos:d.call(l,"+",a),c:u.negationSymbol.front,fromIsValid:!0},{pos:d.call(l,"-",a),c:u.negationSymbol.back,fromIsValid:void 0}],caret:c+u.negationSymbol.back.length}}if(n===u.groupSeparator)return{caret:c};if(o)return!0;if(-1!==s&&!0===u._radixDance&&!1===r&&n===u.radixPoint&&void 0!==u.digits&&(isNaN(u.digits)||parseInt(u.digits)>0)&&s!==t){var g=d.call(l,u.radixPoint,a);return a.validPositions[g]&&(a.validPositions[g].generatedInput=a.validPositions[g].generated||!1),{caret:u._radixDance&&t===s-1?s+1:s}}if(!1===u.__financeInput)if(r){if(u.digitsOptional)return{rewritePosition:i.end};if(!u.digitsOptional){if(i.begin>s&&i.end<=s)return n===u.radixPoint?{insert:{pos:s+1,c:"0",fromIsValid:!0},rewritePosition:s}:{rewritePosition:s+1};if(i.begin0&&""===this.__valueGet.call(this.el))return{rewritePosition:s};return{rewritePosition:t}},postValidation:function(e,t,n,r,u,a,i){if(!1===r)return r;if(i)return!0;if(null!==u.min||null!==u.max){var o=u.onUnMask(e.slice().reverse().join(""),void 0,l.extend({},u,{unmaskAsNumber:!0}));if(null!==u.min&&ou.min.toString().length||o<0))return!1;if(null!==u.max&&o>u.max)return!!u.SetMaxOnOverflow&&{refreshFromBuffer:!0,buffer:c(u.max.toString().replace(".",u.radixPoint).split(""),u.digits,u).reverse()}}return r},onUnMask:function(e,t,n){if(""===t&&!0===n.nullable)return t;var r=e.replace(n.prefix,"");return r=(r=r.replace(n.suffix,"")).replace(new RegExp((0,u.default)(n.groupSeparator),"g"),""),""!==n.placeholder.charAt(0)&&(r=r.replace(new RegExp(n.placeholder.charAt(0),"g"),"0")),n.unmaskAsNumber?(""!==n.radixPoint&&-1!==r.indexOf(n.radixPoint)&&(r=r.replace(u.default.call(this,n.radixPoint),".")),r=(r=r.replace(new RegExp("^"+(0,u.default)(n.negationSymbol.front)),"-")).replace(new RegExp((0,u.default)(n.negationSymbol.back)+"$"),""),Number(r)):r},isComplete:function(e,t){var n=(t.numericInput?e.slice().reverse():e).join("");return n=(n=(n=(n=(n=n.replace(new RegExp("^"+(0,u.default)(t.negationSymbol.front)),"-")).replace(new RegExp((0,u.default)(t.negationSymbol.back)+"$"),"")).replace(t.prefix,"")).replace(t.suffix,"")).replace(new RegExp((0,u.default)(t.groupSeparator)+"([0-9]{3})","g"),"$1"),","===t.radixPoint&&(n=n.replace((0,u.default)(t.radixPoint),".")),isFinite(n)},onBeforeMask:function(e,t){var n=t.radixPoint||",";isFinite(t.digits)&&(t.digits=parseInt(t.digits)),"number"!=typeof e&&"number"!==t.inputType||""===n||(e=e.toString().replace(".",n));var r="-"===e.charAt(0)||e.charAt(0)===t.negationSymbol.front,a=e.split(n),i=a[0].replace(/[^\-0-9]/g,""),o=a.length>1?a[1].replace(/[^0-9]/g,""):"",l=a.length>1;e=i+(""!==o?n+o:o);var s=0;if(""!==n&&(s=t.digitsOptional?t.digitst.max&&(e=t.max.toString().replace(".",n))}return r&&"-"!==e.charAt(0)&&(e="-"+e),c(e.toString().split(""),s,t,l).join("")},onBeforeWrite:function(e,t,n,r){function a(e,t){if(!1!==r.__financeInput||t){var n=e.indexOf(r.radixPoint);-1!==n&&e.splice(n,1)}if(""!==r.groupSeparator)for(;-1!==(n=e.indexOf(r.groupSeparator));)e.splice(n,1);return e}var i,o;if(r.stripLeadingZeroes&&(o=function(e,t){var n=new RegExp("(^"+(""!==t.negationSymbol.front?(0,u.default)(t.negationSymbol.front)+"?":"")+(0,u.default)(t.prefix)+")(.*)("+(0,u.default)(t.suffix)+(""!=t.negationSymbol.back?(0,u.default)(t.negationSymbol.back)+"?":"")+"$)").exec(e.slice().reverse().join("")),r=n?n[2]:"",a=!1;return r&&(r=r.split(t.radixPoint.charAt(0))[0],a=new RegExp("^[0"+t.groupSeparator+"]*").exec(r)),!(!a||!(a[0].length>1||a[0].length>0&&a[0].length0;f--)this.maskset.validPositions.splice(s+f,1),delete t[s+f];if(e)switch(e.type){case"blur":case"checkval":if(null!==r.min){var p=r.onUnMask(t.slice().reverse().join(""),void 0,l.extend({},r,{unmaskAsNumber:!0}));if(null!==r.min&&p1)return this.inputmask.__valueSet.call(this,parseFloat(this.inputmask.unmaskedvalue())*parseInt(o)),a.trigger("setvalue"),!1}if(e.ctrlKey)switch(e.key){case i.keys.ArrowUp:return this.inputmask.__valueSet.call(this,parseFloat(this.inputmask.unmaskedvalue())+parseInt(r.step)),a.trigger("setvalue"),!1;case i.keys.ArrowDown:return this.inputmask.__valueSet.call(this,parseFloat(this.inputmask.unmaskedvalue())-parseInt(r.step)),a.trigger("setvalue"),!1}if(!e.shiftKey&&(e.key===i.keys.Delete||e.key===i.keys.Backspace||e.key===i.keys.BACKSPACE_SAFARI)&&n.begin!==t.length){if(t[e.key===i.keys.Delete?n.begin-1:n.end]===r.negationSymbol.front)return u=t.slice().reverse(),""!==r.negationSymbol.front&&u.shift(),""!==r.negationSymbol.back&&u.pop(),a.trigger("setvalue",[u.join(""),n.begin]),!1;if(!0===r._radixDance){var d=t.indexOf(r.radixPoint);if(r.digitsOptional){if(0===d)return(u=t.slice().reverse()).pop(),a.trigger("setvalue",[u.join(""),n.begin>=u.length?u.length:n.begin]),!1}else if(-1!==d&&(n.begin=u.length?d+1:n.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 n="undefined"!=typeof window&&window.document&&window.document.createElement?window:{};t.default=n},7760:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.HandleNativePlaceholder=function(e,t){var n=e?e.inputmask:this;if(o.ie){if(e.inputmask._valueGet()!==t&&(e.placeholder!==t||""===e.placeholder)){var r=a.getBuffer.call(n).slice(),u=e.inputmask._valueGet();if(u!==t){var i=a.getLastValidPosition.call(n);-1===i&&u===a.getBufferTemplate.call(n).join("")?r=[]:-1!==i&&c.call(n,r),f(e,r)}}}else e.placeholder!==t&&(e.placeholder=t,""===e.placeholder&&e.removeAttribute("placeholder"))},t.applyInputValue=s,t.checkVal=d,t.clearOptionalTail=c,t.unmaskedvalue=function(e){var t=e?e.inputmask:this,n=t.opts,r=t.maskset;if(e){if(void 0===e.inputmask)return e.value;e.inputmask&&e.inputmask.refreshValue&&s(e,e.inputmask._valueGet(!0))}for(var u=[],i=r.validPositions,o=0,l=i.length;o0&&" "===n[r-1];)r--;var i=0===r&&!a.isMask.call(s,e)&&(u.getTest.call(s,e).match.nativeDef===t.charAt(0)||!0===u.getTest.call(s,e).match.static&&u.getTest.call(s,e).match.nativeDef==="'"+t.charAt(0)||" "===u.getTest.call(s,e).match.nativeDef&&(u.getTest.call(s,e+1).match.nativeDef===t.charAt(0)||!0===u.getTest.call(s,e+1).match.static&&u.getTest.call(s,e+1).match.nativeDef==="'"+t.charAt(0)));if(!i&&r>0&&!a.isMask.call(s,e,!1,!0)){var o=a.seekNext.call(s,e);s.caretPos.begin0){var E,F,C=a.seekNext.call(s,-1,void 0,!1);if(!i.isComplete.call(s,a.getBuffer.call(s))&&b.length<=C||i.isComplete.call(s,a.getBuffer.call(s))&&b.length>0&&b.length!==C&&0===b[0])for(var A=C;void 0!==(E=b.shift());){var k=new p.Event("_checkval");if((F=c.validPositions[E]).generatedInput=!0,k.key=F.input,(m=l.EventHandlers.keypressEvent.call(s,k,!0,!1,n,A))&&void 0!==m.pos&&m.pos!==E&&c.validPositions[m.pos]&&!0===c.validPositions[m.pos].match.static)b.push(m.pos);else if(!m)break;A++}}t&&f.call(s,e,a.getBuffer.call(s),m?m.forwardPosition:s.caretPos.begin,o||new p.Event("checkval"),o&&("input"===o.type&&s.undoValue!==a.getBuffer.call(s).join("")||"paste"===o.type)),d.skipOptionalPartCharacter=v}function f(e,t,n,u,o){var l=e?e.inputmask:this,s=l.opts,c=l.dependencyLib;if(u&&"function"==typeof s.onBeforeWrite){var d=s.onBeforeWrite.call(l,u,t,n,s);if(d){if(d.refreshFromBuffer){var f=d.refreshFromBuffer;i.refreshFromBuffer.call(l,!0===f?f:f.start,f.end,d.buffer||t),t=a.getBuffer.call(l,!0)}void 0!==n&&(n=void 0!==d.caret?d.caret:n)}}if(void 0!==e&&(e.inputmask._valueSet(t.join("")),void 0===n||void 0!==u&&"blur"===u.type||a.caret.call(l,e,n,void 0,void 0,void 0!==u&&"keydown"===u.type&&(u.key===r.keys.Delete||u.key===r.keys.Backspace)),!0===o)){var p=c(e),D=e.inputmask._valueGet();e.inputmask.skipInputEvent=!0,p.trigger("input"),setTimeout((function(){D===a.getBufferTemplate.call(l).join("")?p.trigger("cleared"):!0===i.isComplete.call(l,t)&&p.trigger("complete")}),0)}}},2394:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(157),u=h(n(4963)),a=h(n(9380)),i=n(2391),o=n(4713),l=n(8711),s=n(7215),c=n(7760),d=n(9716),f=h(n(7392)),p=h(n(3976));function D(e){return D="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},D(e)}function h(e){return e&&e.__esModule?e:{default:e}}var g=a.default.document,m="_inputmask_opts";function v(e,t,n){if(!(this instanceof v))return new v(e,t,n);this.dependencyLib=u.default,this.el=void 0,this.events={},this.maskset=void 0,!0!==n&&("[object Object]"===Object.prototype.toString.call(e)?t=e:(t=t||{},e&&(t.alias=e)),this.opts=u.default.extend(!0,{},this.defaults,t),this.noMasksCache=t&&void 0!==t.definitions,this.userOptions=t||{},b(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 b(e,t,n){var r=v.prototype.aliases[e];return r?(r.alias&&b(r.alias,void 0,n),u.default.extend(!0,n,r),u.default.extend(!0,n,t),!0):(null===n.mask&&(n.mask=e),!1)}v.prototype={dataAttribute:"data-inputmask",defaults:p.default,definitions:f.default,aliases:{},masksCache:{},get isRTL(){return this.opts.isRTL||this.opts.numericInput},mask:function(e){var t=this;return"string"==typeof e&&(e=g.getElementById(e)||g.querySelectorAll(e)),(e=e.nodeName?[e]:Array.isArray(e)?e:[].slice.call(e)).forEach((function(e,n){var o=u.default.extend(!0,{},t.opts);if(function(e,t,n,r){function i(t,u){var i=""===r?t:r+"-"+t;null!==(u=void 0!==u?u:e.getAttribute(i))&&("string"==typeof u&&(0===t.indexOf("on")?u=a.default[u]:"false"===u?u=!1:"true"===u&&(u=!0)),n[t]=u)}if(!0===t.importDataAttributes){var o,l,s,c,d=e.getAttribute(r);if(d&&""!==d&&(d=d.replace(/'/g,'"'),l=JSON.parse("{"+d+"}")),l)for(c in s=void 0,l)if("alias"===c.toLowerCase()){s=l[c];break}for(o in i("alias",s),n.alias&&b(n.alias,n,t),t){if(l)for(c in s=void 0,l)if(c.toLowerCase()===o.toLowerCase()){s=l[c];break}i(o,s)}}return u.default.extend(!0,t,n),("rtl"===e.dir||t.rightAlign)&&(e.style.textAlign="right"),("rtl"===e.dir||t.numericInput)&&(e.dir="ltr",e.removeAttribute("dir"),t.isRTL=!0),Object.keys(n).length}(e,o,u.default.extend(!0,{},t.userOptions),t.dataAttribute)){var l=(0,i.generateMaskSet)(o,t.noMasksCache);void 0!==l&&(void 0!==e.inputmask&&(e.inputmask.opts.autoUnmask=!0,e.inputmask.remove()),e.inputmask=new v(void 0,void 0,!0),e.inputmask.opts=o,e.inputmask.noMasksCache=t.noMasksCache,e.inputmask.userOptions=u.default.extend(!0,{},t.userOptions),e.inputmask.el=e,e.inputmask.$el=(0,u.default)(e),e.inputmask.maskset=l,u.default.data(e,m,t.userOptions),r.mask.call(e.inputmask))}})),e&&e[0]&&e[0].inputmask||this},option:function(e,t){return"string"==typeof e?this.opts[e]:"object"===D(e)?(u.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,i.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("");c.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 c.unmaskedvalue.call(this,this.el)},remove:function(){if(this.el){u.default.data(this.el,m,null);var e=this.opts.autoUnmask?(0,c.unmaskedvalue)(this.el):this._valueGet(this.opts.autoUnmask);e!==l.getBufferTemplate.call(this).join("")?this._valueSet(e,this.opts.autoUnmask):this._valueSet(""),d.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}):g.__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,i.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,i.generateMaskSet)(this.opts,this.noMasksCache),s.isComplete.call(this,l.getBuffer.call(this))},getmetadata:function(){if(this.maskset=this.maskset||(0,i.generateMaskSet)(this.opts,this.noMasksCache),Array.isArray(this.maskset.metadata)){var e=o.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,i.generateMaskSet)(this.opts,this.noMasksCache),e){var t=("function"==typeof this.opts.onBeforeMask&&this.opts.onBeforeMask.call(this,e,this.opts)||e).split("");c.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 n=l.getBuffer.call(this),r=l.determineLastRequiredPosition.call(this),u=n.length-1;u>r&&!l.isMask.call(this,u);u--);return n.splice(r,u+1-r),s.isComplete.call(this,n)&&e===(this.isRTL?l.getBuffer.call(this).slice().reverse().join(""):l.getBuffer.call(this).join(""))},format:function(e,t){this.maskset=this.maskset||(0,i.generateMaskSet)(this.opts,this.noMasksCache);var n=("function"==typeof this.opts.onBeforeMask&&this.opts.onBeforeMask.call(this,e,this.opts)||e).split("");c.checkVal.call(this,void 0,!0,!1,n);var r=this.isRTL?l.getBuffer.call(this).slice().reverse().join(""):l.getBuffer.call(this).join("");return t?{value:r,metadata:this.getmetadata()}:r},setValue:function(e){this.el&&(0,u.default)(this.el).trigger("setvalue",[e])},analyseMask:i.analyseMask},v.extendDefaults=function(e){u.default.extend(!0,v.prototype.defaults,e)},v.extendDefinitions=function(e){u.default.extend(!0,v.prototype.definitions,e)},v.extendAliases=function(e){u.default.extend(!0,v.prototype.aliases,e)},v.format=function(e,t,n){return v(t).format(e,n)},v.unmask=function(e,t){return v(t).unmaskedvalue(e)},v.isValid=function(e,t){return v(t).isValid(e)},v.remove=function(e){"string"==typeof e&&(e=g.getElementById(e)||g.querySelectorAll(e)),(e=e.nodeName?[e]:e).forEach((function(e){e.inputmask&&e.inputmask.remove()}))},v.setValue=function(e,t){"string"==typeof e&&(e=g.getElementById(e)||g.querySelectorAll(e)),(e=e.nodeName?[e]:e).forEach((function(e){e.inputmask?e.inputmask.setValue(t):(0,u.default)(e).trigger("setvalue",[t])}))},v.dependencyLib=u.default,a.default.Inputmask=v;var y=v;t.default=y},5296:function(e,t,n){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)}var u=p(n(9380)),a=p(n(2394));function i(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n0){if(v(l=h[h.length-1],i),l.isAlternator){s=h.pop();for(var e=0;e0?(l=h[h.length-1]).matches.push(s):D.matches.push(s)}}else v(D,i)}function y(e){var t=new u.default(!0);return t.openGroup=!1,t.matches=e,t}function E(){if((o=h.pop()).openGroup=!1,void 0!==o)if(h.length>0){if((l=h[h.length-1]).matches.push(o),l.isAlternator){for(var e=(s=h.pop()).matches[0].matches?s.matches[0].matches.length:1,t=0;t0?(l=h[h.length-1]).matches.push(s):D.matches.push(s)}}else D.matches.push(o);else b()}function F(e){var t=e.pop();return t.isQuantifier&&(t=y([e.pop(),t])),t}for(t&&(n.optionalmarker[0]=void 0,n.optionalmarker[1]=void 0);r=t?f.exec(e):d.exec(e);){if(i=r[0],t){switch(i.charAt(0)){case"?":i="{0,1}";break;case"+":case"*":i="{"+i+"}";break;case"|":if(0===h.length){var C=y(D.matches);C.openGroup=!0,h.push(C),D.matches=[],m=!0}}switch(i){case"\\d":i="[0-9]";break;case"\\p":i+=f.exec(e)[0],i+=f.exec(e)[0]}}if(p)b();else switch(i.charAt(0)){case"$":case"^":t||b();break;case n.escapeChar:p=!0,t&&b();break;case n.optionalmarker[1]:case n.groupmarker[1]:E();break;case n.optionalmarker[0]:h.push(new u.default(!1,!0));break;case n.groupmarker[0]:h.push(new u.default(!0));break;case n.quantifiermarker[0]:var A=new u.default(!1,!1,!0),k=(i=i.replace(/[{}?]/g,"")).split("|"),x=k[0].split(","),w=isNaN(x[0])?x[0]:parseInt(x[0]),_=1===x.length?w:isNaN(x[1])?x[1]:parseInt(x[1]),B=isNaN(k[1])?k[1]:parseInt(k[1]);"*"!==w&&"+"!==w||(w="*"===_?0:1),A.quantifier={min:w,max:_,jit:B};var S=h.length>0?h[h.length-1].matches:D.matches;(r=S.pop()).isGroup||(r=y([r])),S.push(r),S.push(A);break;case n.alternatormarker:if(h.length>0){var N=(l=h[h.length-1]).matches[l.matches.length-1];c=l.openGroup&&(void 0===N.matches||!1===N.isGroup&&!1===N.isAlternator)?h.pop():F(l.matches)}else c=F(D.matches);if(c.isAlternator)h.push(c);else if(c.alternatorGroup?(s=h.pop(),c.alternatorGroup=!1):s=new u.default(!1,!1,!1,!0),s.matches.push(c),h.push(s),c.openGroup){c.openGroup=!1;var O=new u.default(!0);O.alternatorGroup=!0,h.push(O)}break;default:b()}}for(m&&E();h.length>0;)o=h.pop(),D.matches.push(o);return D.matches.length>0&&(function e(r){r&&r.matches&&r.matches.forEach((function(u,a){var i=r.matches[a+1];(void 0===i||void 0===i.matches||!1===i.isQuantifier)&&u&&u.isGroup&&(u.isGroup=!1,t||(v(u,n.groupmarker[0],0),!0!==u.openGroup&&v(u,n.groupmarker[1]))),e(u)}))}(D),g.push(D)),(n.numericInput||n.isRTL)&&function e(t){for(var r in t.matches=t.matches.reverse(),t.matches)if(Object.prototype.hasOwnProperty.call(t.matches,r)){var u=parseInt(r);if(t.matches[r].isQuantifier&&t.matches[u+1]&&t.matches[u+1].isGroup){var a=t.matches[r];t.matches.splice(r,1),t.matches.splice(u+1,0,a)}void 0!==t.matches[r].matches?t.matches[r]=e(t.matches[r]):t.matches[r]=((i=t.matches[r])===n.optionalmarker[0]?i=n.optionalmarker[1]:i===n.optionalmarker[1]?i=n.optionalmarker[0]:i===n.groupmarker[0]?i=n.groupmarker[1]:i===n.groupmarker[1]&&(i=n.groupmarker[0]),i)}var i;return t}(g[0]),g},t.generateMaskSet=function(e,t){var n;function u(e,t){var n=t.repeat,r=t.groupmarker,u=t.quantifiermarker,a=t.keepStatic;if(n>0||"*"===n||"+"===n){var l="*"===n?0:"+"===n?1:n;e=r[0]+e+r[1]+u[0]+l+","+n+u[1]}if(!0===a){var s=e.match(new RegExp("(.)\\[([^\\]]*)\\]","g"));s&&s.forEach((function(t,n){var r=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,u,a,i,o=[],l=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(o.push(r.value),o.length!==t);l=!0);}catch(e){s=!0,u=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw u}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(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),u=r[0],a=r[1];a=a.replace("]",""),e=e.replace(new RegExp("".concat((0,i.default)(u),"\\[").concat((0,i.default)(a),"\\]")),u.charAt(0)===a.charAt(0)?"(".concat(u,"|").concat(u).concat(a,")"):"".concat(u,"[").concat(a,"]"))}))}return e}function l(e,n,i){var o,l,s=!1;return null!==e&&""!==e||((s=null!==i.regex)?e=(e=i.regex).replace(/^(\^)(.*)(\$)$/,"$2"):(s=!0,e=".*")),1===e.length&&!1===i.greedy&&0!==i.repeat&&(i.placeholder=""),e=u(e,i),l=s?"regex_"+i.regex:i.numericInput?e.split("").reverse().join(""):e,null!==i.keepStatic&&(l="ks_"+i.keepStatic+l),void 0===a.default.prototype.masksCache[l]||!0===t?(o={mask:e,maskToken:a.default.prototype.analyseMask(e,s,i),validPositions:[],_buffer:void 0,buffer:void 0,tests:{},excludes:{},metadata:n,maskLength:void 0,jitOffset:{}},!0!==t&&(a.default.prototype.masksCache[l]=o,o=r.default.extend(!0,{},a.default.prototype.masksCache[l]))):o=r.default.extend(!0,{},a.default.prototype.masksCache[l]),o}if("function"==typeof e.mask&&(e.mask=e.mask(e)),Array.isArray(e.mask)){if(e.mask.length>1){null===e.keepStatic&&(e.keepStatic=!0);var s=e.groupmarker[0];return(e.isRTL?e.mask.reverse():e.mask).forEach((function(t){s.length>1&&(s+=e.alternatormarker),void 0!==t.mask&&"function"!=typeof t.mask?s+=t.mask:s+=t})),l(s+=e.groupmarker[1],e.mask,e)}e.mask=e.mask.pop()}return n=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),n};var r=l(n(4963)),u=l(n(9695)),a=l(n(2394)),i=l(n(7184));function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n>>0;if(0===r)return!1;for(var u=0|t,a=Math.max(u>=0?u:r-Math.abs(u),0);athis.length)&&-1!==this.indexOf(e,t)})},8711:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.caret=function(e,t,n,r,a){var i,o=this,l=this.opts;if(void 0===t)return"selectionStart"in e&&"selectionEnd"in e?(t=e.selectionStart,n=e.selectionEnd):u.default.getSelection?(i=u.default.getSelection().getRangeAt(0)).commonAncestorContainer.parentNode!==e&&i.commonAncestorContainer!==e||(t=i.startOffset,n=i.endOffset):document.selection&&document.selection.createRange&&(n=(t=0-(i=document.selection.createRange()).duplicate().moveStart("character",-e.inputmask._valueGet().length))+i.text.length),{begin:r?t:d.call(o,t),end:r?n:d.call(o,n)};if(Array.isArray(t)&&(n=o.isRTL?t[0]:t[1],t=o.isRTL?t[1]:t[0]),void 0!==t.begin&&(n=o.isRTL?t.begin:t.end,t=o.isRTL?t.end:t.begin),"number"==typeof t){t=r?t:d.call(o,t),n="number"==typeof(n=r?n:d.call(o,n))?n:t;var s=parseInt(((e.ownerDocument.defaultView||u.default).getComputedStyle?(e.ownerDocument.defaultView||u.default).getComputedStyle(e,null):e.currentStyle).fontSize)*n;if(e.scrollLeft=s>e.scrollWidth?s:0,e.inputmask.caretPos={begin:t,end:n},l.insertModeVisual&&!1===l.insertMode&&t===n&&(a||n++),e===(e.inputmask.shadowRoot||e.ownerDocument).activeElement)if("setSelectionRange"in e)e.setSelectionRange(t,n);else if(u.default.getSelection){if(i=document.createRange(),void 0===e.firstChild||null===e.firstChild){var c=document.createTextNode("");e.appendChild(c)}i.setStart(e.firstChild,td&&((n=f[t]).match.optionality||n.match.optionalQuantifier&&n.match.newBlockMarker||h&&(h!==f[t].locator[p.alternation]&&1!=n.match.static||!0===n.match.static&&n.locator[p.alternation]&&i.checkAlternationMatch.call(r,n.locator[p.alternation].toString().split(","),h.toString().split(","))&&""!==a.getTests.call(r,t)[0].def))&&s[t]===a.getPlaceholder.call(r,t,n.match);t--)c--;return e?{l:c,def:f[c]?f[c].match:void 0}:c},t.determineNewCaretPosition=function(e,t,n){var r=this,u=r.maskset,i=r.opts;if(t&&(r.isRTL?e.end=e.begin:e.begin=e.end),e.begin===e.end){switch(n=n||i.positionCaretOnClick){case"none":break;case"select":e={begin:0,end:o.call(r).length};break;case"ignore":e.end=e.begin=c.call(r,l.call(r));break;case"radixFocus":if(r.clicked>1&&0==u.validPositions.length)break;if(function(e){if(""!==i.radixPoint&&0!==i.digits){var t=u.validPositions;if(void 0===t[e]||t[e].input===a.getPlaceholder.call(r,e)){if(e=v||f===D)&&(D=v)}e.end=e.begin=D}}return e}},t.getBuffer=o,t.getBufferTemplate=function(){var e=this.maskset;return void 0===e._buffer&&(e._buffer=a.getMaskTemplate.call(this,!1,1),void 0===e.buffer&&(e.buffer=e._buffer.slice())),e._buffer},t.getLastValidPosition=l,t.isMask=s,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=c,t.seekPrevious=function(e,t){var n=this,r=e-1;if(e<=0)return 0;for(;r>0&&(!0===t&&(!0!==a.getTest.call(n,r).match.newBlockMarker||!s.call(n,r,void 0,!0))||!0!==t&&!s.call(n,r,void 0,!0));)r--;return r},t.translatePosition=d;var r,u=(r=n(9380))&&r.__esModule?r:{default:r},a=n(4713),i=n(7215);function o(e){var t=this,n=t.maskset;return void 0!==n.buffer&&!0!==e||(n.buffer=a.getMaskTemplate.call(t,!0,l.call(t),!0),void 0===n._buffer&&(n._buffer=n.buffer.slice())),n.buffer}function l(e,t,n){var r=this.maskset,u=-1,a=-1,i=n||r.validPositions;void 0===e&&(e=-1);for(var o=0,l=i.length;o=e&&(a=o));return-1===u||u==e?a:-1==a||e-u-1){if(n){var o=a.getTests.call(r,e);return o.length>1+(""===o[o.length-1].match.def?1:0)}var l=a.determineTestTemplate.call(r,e,a.getTests.call(r,e)),s=a.getPlaceholder.call(r,e,l.match);return l.match.def!==s}return!1}function c(e,t,n){var r=this;void 0===n&&(n=!0);for(var u=e+1;""!==a.getTest.call(r,u).match.def&&(!0===t&&(!0!==a.getTest.call(r,u).match.newBlockMarker||!s.call(r,u,void 0,!0))||!0!==t&&!s.call(r,u,void 0,n));)u++;return u}function d(e){var t=this.opts,n=this.el;return!this.isRTL||"number"!=typeof e||t.greedy&&""===t.placeholder||!n||(e=this._valueGet().length-e)<0&&(e=0),e}},4713:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.determineTestTemplate=s,t.getDecisionTaker=i,t.getMaskTemplate=function(e,t,n,r,u){var a=this,i=this.opts,c=this.maskset,d=i.greedy;u&&i.greedy&&(i.greedy=!1,a.maskset.tests={}),t=t||0;var p,D,h,g,m=[],v=0;do{if(!0===e&&c.validPositions[v])D=(h=u&&c.validPositions[v].match.optionality&&void 0===c.validPositions[v+1]&&(!0===c.validPositions[v].generatedInput||c.validPositions[v].input==i.skipOptionalPartCharacter&&v>0)?s.call(a,v,f.call(a,v,p,v-1)):c.validPositions[v]).match,p=h.locator.slice(),m.push(!0===n?h.input:!1===n?D.nativeDef:o.call(a,v,D));else{D=(h=l.call(a,v,p,v-1)).match,p=h.locator.slice();var b=!0!==r&&(!1!==i.jitMasking?i.jitMasking:D.jit);(g=(g||c.validPositions[v-1])&&D.static&&D.def!==i.groupSeparator&&null===D.fn)||!1===b||void 0===b||"number"==typeof b&&isFinite(b)&&b>v?m.push(!1===n?D.nativeDef:o.call(a,m.length,D)):g=!1}v++}while(!0!==D.static||""!==D.def||t>v);return""===m[m.length-1]&&m.pop(),!1===n&&void 0!==c.maskLength||(c.maskLength=v-1),i.greedy=d,m},t.getPlaceholder=o,t.getTest=c,t.getTestTemplate=l,t.getTests=f,t.isSubsetOf=d;var r,u=(r=n(2394))&&r.__esModule?r:{default:r};function a(e,t){var n=(null!=e.alternation?e.mloc[i(e)]:e.locator).join("");if(""!==n)for(n=n.split(":")[0];n.length0&&(t=t.split(",")[0]),void 0!==t?t.toString():""}function o(e,t,n){var r=this.opts,u=this.maskset;if(void 0!==(t=t||c.call(this,e).match).placeholder||!0===n)return"function"==typeof t.placeholder?t.placeholder(r):t.placeholder;if(!0===t.static){if(e>-1&&void 0===u.validPositions[e]){var a,i=f.call(this,e),o=[];if(i.length>1+(""===i[i.length-1].match.def?1:0))for(var l=0;l1&&/[0-9a-bA-Z]/.test(o[0].match.def)))return r.placeholder.charAt(e%r.placeholder.length)}return t.def}return r.placeholder.charAt(e%r.placeholder.length)}function l(e,t,n){return this.maskset.validPositions[e]||s.call(this,e,f.call(this,e,t?t.slice():t,n))}function s(e,t){var n=this.opts,r=0,u=function(e,t){var n=0,r=!1;return t.forEach((function(e){e.match.optionality&&(0!==n&&n!==e.match.optionality&&(r=!0),(0===n||n>e.match.optionality)&&(n=e.match.optionality))})),n&&(0==e||1==t.length?n=0:r||(n=0)),n}(e,t);e=e>0?e-1:0;var i,o,l,s=a(c.call(this,e));n.greedy&&t.length>1&&""===t[t.length-1].match.def&&(r=1);for(var d=0;d0&&"master"===l.match.newBlockMarker&&(!f.match.optionality||f.match.optionality-u<1||!f.match.newBlockMarker)||l&&!n.greedy&&l.match.optionalQuantifier&&!f.match.optionalQuantifier)&&(o=p,l=f)}return l}function c(e,t){var n=this.maskset;return n.validPositions[e]?n.validPositions[e]:(t||f.call(this,e))[0]}function d(e,t,n){function r(e){for(var t,n=[],r=-1,u=0,a=e.length;ut.alternation)for(var u=0;un&&(e.alternation=n),!0}return e.alternation=void 0,!1}(n)}function C(e,t){if(e.locator.length!==t.locator.length)return!1;for(var n=e.alternation+1;ne+c._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(D===e&&void 0===a.matches){if(g.push({match:a,locator:o.reverse(),cd:v,mloc:{}}),!a.optionality||void 0!==p||!(c.definitions&&c.definitions[a.nativeDef]&&c.definitions[a.nativeDef].optional||u.default.prototype.definitions[a.nativeDef]&&u.default.prototype.definitions[a.nativeDef].optional))return!0;m=!0,D=e}else if(void 0!==a.matches){if(a.isGroup&&p!==a)return function(){if(a=s(t.matches[t.matches.indexOf(a)+1],o,p))return!0}();if(a.isOptional)return function(){var t=a,u=g.length;if(a=b(a,n,o,p),g.length>0){if(g.forEach((function(e,t){t>=u&&(e.match.optionality=e.match.optionality?e.match.optionality+1:1)})),r=g[g.length-1].match,void 0!==p||!h(r,t))return a;m=!0,D=e}}();if(a.isAlternator)return function(){i.hasAlternator=!0;var r,u,h,v=a,b=[],y=g.slice(),A=o.length,k=!1,x=n.length>0?n.shift():-1;if(-1===x||"string"==typeof x){var w,_=D,B=n.slice(),S=[];if("string"==typeof x)S=x.split(",");else for(w=0;w=c.keepStatic)&&(S=S.slice(0,1));for(var P=0;Pv.matches[0].matches.length)break;r=g.slice(),D=_,g=[];for(var R=0;R0,a=b.length>0,n=B.slice()}else a=s(v.matches[x]||t.matches[x],[x].concat(o),p);if(a)return!0}();if(a.isQuantifier&&p!==t.matches[t.matches.indexOf(a)-1])return function(){for(var u=a,i=!1,d=n.length>0?n.shift():0;d<(isNaN(u.quantifier.max)?d+1:u.quantifier.max)&&D<=e;d++){var f=t.matches[t.matches.indexOf(u)-1];if(a=s(f,[d].concat(o),f)){if(g.forEach((function(t,n){(r=y(f,t.match)?t.match:g[g.length-1].match).optionalQuantifier=d>=u.quantifier.min,r.jit=(d+1)*(f.matches.indexOf(r)+1)>u.quantifier.jit,r.optionalQuantifier&&h(r,f)&&(m=!0,D=e,c.greedy&&null==l.validPositions[e-1]&&d>u.quantifier.min&&-1!=["*","+"].indexOf(u.quantifier.max)&&(g.pop(),v=void 0),i=!0,a=!1),!i&&r.jit&&(l.jitOffset[e]=f.matches.length-f.matches.indexOf(r))})),i)break;return!0}}}();if(a=b(a,n,o,p))return!0}else D++}for(var p=n.length>0?n.shift():0;pe)break}}function y(e,t){var n=-1!=e.matches.indexOf(t);return n||e.matches.forEach((function(e,r){void 0===e.matches||n||(n=y(e,t))})),n}if(e>-1){if(void 0===t){for(var E,F=e-1;void 0===(E=l.validPositions[F]||l.tests[F])&&F>-1;)F--;void 0!==E&&F>-1&&(h=function(e,t){var n,r=[];return Array.isArray(t)||(t=[t]),t.length>0&&(void 0===t[0].alternation||!0===c.keepStatic?0===(r=s.call(i,e,t.slice()).locator.slice()).length&&(r=t[0].locator.slice()):t.forEach((function(e){""!==e.def&&(0===r.length?(n=e.alternation,r=e.locator.slice()):e.locator[n]&&-1===r[n].toString().indexOf(e.locator[n])&&(r[n]+=","+e.locator[n]))}))),r}(F,E),v=h.join(""),D=F)}if(l.tests[e]&&l.tests[e][0].cd===v)return l.tests[e];for(var C=h.shift();Ce);C++);}return(0===g.length||m)&&g.push({match:{fn:null,static:!0,optionality:!1,casing:null,def:"",placeholder:""},locator:[],mloc:{},cd:v}),void 0!==t&&l.tests[e]?a=o.extend(!0,[],g):(l.tests[e]=o.extend(!0,[],g),a=l.tests[e]),g.forEach((function(e){e.match.optionality=e.match.defOptionality||!1})),a}},7215:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.alternate=o,t.checkAlternationMatch=function(e,t,n){for(var r,u=this.opts.greedy?t:t.slice(0,1),a=!1,i=void 0!==n?n.split(","):[],o=0;o=a.getBuffer.call(s).length&&D>=n.end&&(n.end=D+1),t===u.keys.Backspace?n.end-n.begin<1&&(n.begin=a.seekPrevious.call(s,n.begin)):t===u.keys.Delete&&n.begin===n.end&&(n.end=a.isMask.call(s,n.end,!0,!0)?n.end+1:a.seekNext.call(s,n.end)+1),!1!==(p=h.call(s,n))){if(!0!==i&&!1!==d.keepStatic||null!==d.regex&&-1!==r.getTest.call(s,n.begin).match.def.indexOf("|")){var g=o.call(s,!0);if(g){var m=void 0!==g.caret?g.caret:g.pos?a.seekNext.call(s,g.pos.begin?g.pos.begin:g.pos):a.getLastValidPosition.call(s,-1,!0);(t!==u.keys.Delete||n.begin>m)&&n.begin}}!0!==i&&(c.p=t===u.keys.Delete?n.begin+p:n.begin,c.p=a.determineNewCaretPosition.call(s,{begin:c.p,end:c.p},!1,!1===d.insertMode&&t===u.keys.Backspace?"none":void 0).begin)}},t.isComplete=s,t.isSelection=c,t.isValid=d,t.refreshFromBuffer=p,t.revalidateMask=h;var r=n(4713),u=n(2839),a=n(8711),i=n(6030);function o(e,t,n,u,i,l){var s,c,f,p,D,h,g,m,v,b,y,E=this,F=this.dependencyLib,C=this.opts,A=E.maskset,k=F.extend(!0,[],A.validPositions),x=F.extend(!0,{},A.tests),w=!1,_=!1,B=void 0!==i?i:a.getLastValidPosition.call(E);if(l&&(b=l.begin,y=l.end,l.begin>l.end&&(b=l.end,y=l.begin)),-1===B&&void 0===i)s=0,c=(p=r.getTest.call(E,s)).alternation;else for(;B>=0;B--)if((f=A.validPositions[B])&&void 0!==f.alternation){if(B<=(e||0)&&p&&p.locator[f.alternation]!==f.locator[f.alternation])break;s=B,c=A.validPositions[s].alternation,p=f}if(void 0!==c){g=parseInt(s),A.excludes[g]=A.excludes[g]||[],!0!==e&&A.excludes[g].push((0,r.getDecisionTaker)(p)+":"+p.alternation);var S=[],N=-1;for(D=g;g=y)&&S.push(h.input),A.validPositions.splice(g,1);for(-1===N&&void 0!==t&&(S.push(t),N=S.length-1);void 0!==A.excludes[g]&&A.excludes[g].length<10;){for(A.tests={},a.resetMaskSet.call(E,!0),w=!0,D=0;Dt:e.end-e.begin>t}function d(e,t,n,u,i,f,g){var m=this,v=this.dependencyLib,b=this.opts,y=m.maskset;n=!0===n;var E=e;function F(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 m.isRTL?e.pos-t.pos:t.pos-e.pos})).forEach((function(e){h.call(m,{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 m.isRTL?t.pos-e.pos:e.pos-t.pos})).forEach((function(e){""!==e.c&&d.call(m,e.pos,e.c,void 0===e.strict||e.strict,void 0!==e.fromIsValid?e.fromIsValid:u)})),e.insert=void 0),e.refreshFromBuffer&&e.buffer){var t=e.refreshFromBuffer;p.call(m,!0===t?t:t.start,t.end,e.buffer),e.refreshFromBuffer=void 0}void 0!==e.rewritePosition&&(E=e.rewritePosition,e=!0)}return e}function C(t,n,i){var o=!1;return r.getTests.call(m,t).every((function(s,d){var f=s.match;if(a.getBuffer.call(m,!0),!1!==(o=(!f.jit||void 0!==y.validPositions[a.seekPrevious.call(m,t)])&&(null!=f.fn?f.fn.test(n,y,t,i,b,c.call(m,e)):(n===f.def||n===b.skipOptionalPartCharacter)&&""!==f.def&&{c:r.getPlaceholder.call(m,t,f,!0)||f.def,pos:t}))){var p=void 0!==o.c?o.c:n,D=t;return p=p===b.skipOptionalPartCharacter&&!0===f.static?r.getPlaceholder.call(m,t,f,!0)||f.def:p,!0!==(o=F(o))&&void 0!==o.pos&&o.pos!==t&&(D=o.pos),!0!==o&&void 0===o.pos&&void 0===o.c||!1===h.call(m,e,v.extend({},s,{input:l.call(m,p,f,D)}),u,D)&&(o=!1),!1}return!0})),o}void 0!==e.begin&&(E=m.isRTL?e.end:e.begin);var A=!0,k=v.extend(!0,[],y.validPositions);if(!1===b.keepStatic&&void 0!==y.excludes[E]&&!0!==i&&!0!==u)for(var x=E;x<(m.isRTL?e.begin:e.end);x++)void 0!==y.excludes[x]&&(y.excludes[x]=void 0,delete y.tests[x]);if("function"==typeof b.preValidation&&!0!==u&&!0!==f&&(A=F(A=b.preValidation.call(m,a.getBuffer.call(m),E,t,c.call(m,e),b,y,e,n||i))),!0===A){if(A=C(E,t,n),(!n||!0===u)&&!1===A&&!0!==f){var w=y.validPositions[E];if(!w||!0!==w.match.static||w.match.def!==t&&t!==b.skipOptionalPartCharacter){if(b.insertMode||void 0===y.validPositions[a.seekNext.call(m,E)]||e.end>E){var _=!1;if(y.jitOffset[E]&&void 0===y.validPositions[a.seekNext.call(m,E)]&&!1!==(A=d.call(m,E+y.jitOffset[E],t,!0,!0))&&(!0!==i&&(A.caret=E),_=!0),e.end>E&&(y.validPositions[E]=void 0),!_&&!a.isMask.call(m,E,b.keepStatic&&0===E))for(var B=E+1,S=a.seekNext.call(m,E,!1,0!==E);B<=S;B++)if(!1!==(A=C(B,t,n))){A=D.call(m,E,void 0!==A.pos?A.pos:B)||A,E=B;break}}}else A={caret:a.seekNext.call(m,E)}}m.hasAlternator&&!0!==i&&!n&&(i=!0,!1===A&&b.keepStatic&&(s.call(m,a.getBuffer.call(m))||0===E)?A=o.call(m,E,t,n,u,void 0,e):(c.call(m,e)&&y.tests[E]&&y.tests[E].length>1&&b.keepStatic||1==A&&!0!==b.numericInput&&y.tests[E]&&y.tests[E].length>1&&a.getLastValidPosition.call(m,void 0,!0)>E)&&(A=o.call(m,!0))),!0===A&&(A={pos:E})}if("function"==typeof b.postValidation&&!0!==u&&!0!==f){var N=b.postValidation.call(m,a.getBuffer.call(m,!0),void 0!==e.begin?m.isRTL?e.end:e.begin:e,t,A,b,y,n,g);void 0!==N&&(A=!0===N?A:N)}A&&void 0===A.pos&&(A.pos=E),!1===A||!0===f?(a.resetMaskSet.call(m,!0),y.validPositions=v.extend(!0,[],k)):D.call(m,void 0,E,!0);var O=F(A);return void 0!==m.maxLength&&a.getBuffer.call(m).length>m.maxLength&&!u&&(a.resetMaskSet.call(m,!0),y.validPositions=v.extend(!0,[],k),O=!1),O}function f(e,t,n){for(var u=this.maskset,a=!1,i=r.getTests.call(this,e),o=0;o0&&!i.validPositions[e];e--);for(var l=e;le+1?t[e+1]&&!0===t[e+1].match.static&&t[e+1]:t[e+1];return u&&a}return!1}var p=0,D=void 0!==e.begin?e.begin:e,h=void 0!==e.end?e.end:e,g=!0;if(e.begin>e.end&&(D=e.end,h=e.begin),u=void 0!==u?u:D,void 0===n&&(D!==h||l.insertMode&&void 0!==o.validPositions[u]||void 0===t||t.match.optionalQuantifier||t.match.optionality)){var m,v=s.extend(!0,[],o.validPositions),b=a.getLastValidPosition.call(i,void 0,!0);for(o.p=D,m=b;m>=D;m--)o.validPositions.splice(m,1),void 0===t&&delete o.tests[m+1];var y,E,F=u,C=F;for(t&&(o.validPositions[u]=s.extend(!0,{},t),C++,F++),null==v[h]&&o.jitOffset[h]&&(h+=o.jitOffset[h]+1),m=t?h:h-1;m<=b;m++){if(void 0!==(y=v[m])&&!0!==y.generatedInput&&(m>=h||m>=D&&c(m,v,{begin:D,end:h}))){for(;""!==r.getTest.call(i,C).match.def;){if(!1!==(E=f.call(i,C,y,l))||"+"===y.match.def){"+"===y.match.def&&a.getBuffer.call(i,!0);var A=d.call(i,C,y.input,"+"!==y.match.def,!0);if(g=!1!==A,F=(A.pos||C)+1,!g&&E)break}else g=!1;if(g){void 0===t&&y.match.static&&m===e.begin&&p++;break}if(!g&&a.getBuffer.call(i),C>o.maskLength)break;C++}""==r.getTest.call(i,C).match.def&&(g=!1),C=F}if(!g)break}if(!g)return o.validPositions=s.extend(!0,[],v),a.resetMaskSet.call(i,!0),!1}else t&&r.getTest.call(i,u).match.cd===t.match.cd&&(o.validPositions[u]=s.extend(!0,{},t));return a.resetMaskSet.call(i,!0),p}}},t={};function n(r){var u=t[r];if(void 0!==u)return u.exports;var a=t[r]={exports:{}};return e[r](a,a.exports,n),a.exports}var r={};return function(){var e,t=r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(7149),n(3194),n(9302),n(4013),n(3851),n(219),n(207),n(5296);var u=((e=n(2394))&&e.__esModule?e:{default:e}).default;t.default=u}(),r}()},534:function(e,t,n){"use strict";var r=n(313),u=n(224);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n