text: /** 
   * Kendo UI v2021.1.224 (http://www.telerik.com/kendo-ui)                                                                                                                                               
   * Copyright 2021 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.                                                                                      
   *                                                                                                                                                                                                      
   * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
   * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
   * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
                                                                                                                                                                                                         
                                                                                                                                                                                                         
                                                                                                                                                                                                         
                                                                                                                                                                                                         
                                                                                                                                                                                                         
                                                                                                                                                                                                         
                                                                                                                                                                                                         
                                                                                                                                                                                                         
                                                                                                                                                                                                         
                                                                                                                                                                                                         
                                                                                                                                                                                                         
                                                                                                                                                                                                         
                                                                                                                                                                                                         
                                                                                                                                                                                                         
                                                                                                                                                                                                         
  
  */
  !function(e,define){define("kendo.maskedtextbox.min",["kendo.core.min","kendo.floatinglabel.min"],e)}(function(){return function(e,t){function n(e){return e+d}function a(e,t){for(var n=0;n<t.length&&e[n]===t[n];)n++;return n}function i(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}var s=window,l=s.Math.min,o=s.kendo,r=o.caret,u=o.keys,_=o.ui,p=_.Widget,d=".kendoMaskedTextBox",m=e.isPlainObject,h=e.proxy,f=window.setTimeout,c="k-label k-input-label",g="k-state-disabled",v="k-state-invalid",k="disabled",b="readonly",y="change",w="mouseup",C="drop",x="keydown",L="paste",I="input",E=n(o.support.propertyChangeEvent?"propertychange":I),P=p.extend({init:function(t,n){var a,i,s=this;p.fn.init.call(s,t,n),s._rules=e.extend({},s.rules,s.options.rules),t=s.element,a=t[0],s._wrapper(),s._tokenize(),s._form(),s.element.addClass("k-textbox").attr("autocomplete","off").on("focus"+d,function(){var e=a.value;e?s._togglePrompt(!0):a.value=s._old=s._emptyMask,s._oldValue=e,s._timeoutId=f(function(){r(t,0,e?s._maskLength:0)})}).on("focusout"+d,function(){var e=t.val();clearTimeout(s._timeoutId),a.value=s._old="",e!==s._emptyMask&&(a.value=s._old=e),s._change(),s._togglePrompt()}),i=t.is("[disabled]")||e(s.element).parents("fieldset").is(":disabled"),i?s.enable(!1):s.readonly(t.is("[readonly]")),s.value(s.options.value||t.val()),s._validationIcon=e("<span class='k-icon k-i-warning'></span>").insertAfter(t),s._label(),o.notify(s)},options:{name:"MaskedTextBox",clearPromptChar:!1,unmaskOnPost:!1,promptChar:"_",culture:"",rules:{},value:"",mask:"",label:null},events:[y],rules:{0:/\d/,9:/\d|\s/,"#":/\d|\s|\+|\-/,L:/[a-zA-Z]/,"?":/[a-zA-Z]|\s/,"&":/\S/,C:/./,A:/[a-zA-Z0-9]/,a:/[a-zA-Z0-9]|\s/},setOptions:function(t){var n=this;p.fn.setOptions.call(n,t),n._rules=e.extend({},n.rules,n.options.rules),n._tokenize(),this._unbindInput(),this._bindInput(),n.value(n.element.val())},destroy:function(){var e=this;e.floatingLabel&&e.floatingLabel.destroy(),e.element.off(d),e._formElement&&(e._formElement.off("reset",e._resetHandler),e._formElement.off("submit",e._submitHandler)),p.fn.destroy.call(e)},raw:function(){var e=this._unmask(this.element.val(),0);return e.replace(RegExp(i(this.options.promptChar),"g"),"")},value:function(e){var n=this.element,a=this._emptyMask;return e===t?this.element.val():(null===e&&(e=""),a?(e=this._unmask(e+""),n.val(e?a:""),this._mask(0,this._maskLength,e),this._unmaskedValue=null,e=n.val(),this._oldValue=e,o._activeElement()!==n&&(e===a?n.val(""):this._togglePrompt()),t):(this._oldValue=e,n.val(e),t))},_togglePrompt:function(e){var t=this.element[0],n=t.value;this.options.clearPromptChar&&(n=e?this._oldValue:n.replace(RegExp(i(this.options.promptChar),"g")," "),t.value=this._old=n)},readonly:function(e){var n=this;this._editable({readonly:e===t||e,disable:!1}),n.floatingLabel&&n.floatingLabel.readonly(e===t||e)},enable:function(e){var n=this;this._editable({readonly:!1,disable:!(e=e===t||e)}),n.floatingLabel&&n.floatingLabel.enable(e=e===t||e)},_bindInput:function(){var e,t,a=this;a._maskLength&&(a.options.$angular&&a.element.off(I),a.element.on(n(x),h(a._keydown,a)).on(n(C),h(a._drop,a)).on(n(y),h(a._trackChange,a)).on(E,h(a._inputHandler,a)),o.support.browser.msie&&(e=o.support.browser.version,e>8&&e<11&&(t=[n(w),n(C),n(x),n(L)].join(" "),a.element.on(t,h(a._legacyIEInputHandler,a)))))},_unbindInput:function(){var e=[E,n(x),n(w),n(C),n(L)].join(" ");this.element.off(e)},_editable:function(e){var t=this,n=t.element,a=t.wrapper,i=e.disable,s=e.readonly;t._unbindInput(),s||i?(n.attr(k,i).attr(b,s),a.toggleClass(g,i)):(n.removeAttr(k).removeAttr(b),a.removeClass(g),t._bindInput())},_change:function(){var e=this,t=e.value();t!==e._oldValue?(e._oldValue=t,e.trigger(y),e.element.trigger(y)):""===t&&e.__changing&&e.element.trigger(y)},inputChange:function(e){var t,n,i,s,u,_=this,p=_._old,d=_.element[0],m=d.value,h=r(d),f=h[1],c=m.length-p.length,g=o.support.mobileOS;_.__dropping&&c<0||(c===-1&&g.android&&"chrome"===g.browser&&(e=!0),t=l(f,a(m,p)),n=m.substring(t,f),d.value=m.substring(0,t)+_._emptyMask.substring(t),i=_._mask(t,f,n),s=_._trimStartPromptChars(m.substring(f),l(c,i-t)),u=_._unmask(s,p.length-s.length),_._mask(i,i,u),e&&(i=_._findCaretPosBackwards(t)),r(d,i),_.__dropping=!1)},_trimStartPromptChars:function(e,t){for(var n=this.options.promptChar;t-- >0&&0===e.indexOf(n);)e=e.substring(1);return e},_findCaretPosBackwards:function(e){var t=this._find(e,!0);return t<e&&(t+=1),t},_inputHandler:function(){o._activeElement()===this.element[0]&&this.inputChange(this.__backward)},_legacyIEInputHandler:function(e){var t=this,n=t.element[0],a=n.value,i=e.type;t.__pasting="paste"===i,f(function(){"mouseup"===i&&t.__pasting||n.value&&n.value!==a&&t.inputChange(t.__backward)})},_trackChange:function(){var e=this;e.__changing=!0,f(function(){e.__changing=!1})},_form:function(){var t=this,n=t.element,a=n.attr("form"),i=a?e("#"+a):n.closest("form");i[0]&&(t._resetHandler=function(){f(function(){t.value(n[0].value)})},t._submitHandler=function(){t.element[0].value=t._old=t.raw()},t.options.unmaskOnPost&&i.on("submit",t._submitHandler),t._formElement=i.on("reset",t._resetHandler))},_keydown:function(e){var t=e.keyCode;this.__backward=t===u.BACKSPACE,t===u.ENTER&&this._change()},_drop:function(){this.__dropping=!0},_find:function(e,t){var n=this.element.val()||this._emptyMask,a=1;for(t===!0&&(a=-1);e>-1||e<=this._maskLength;){if(n.charAt(e)!==this.tokens[e])return e;e+=a}return-1},_mask:function(e,n,a,i){var s,l,u,_,p=this.element[0],d=p.value||this._emptyMask,m=this.options.promptChar,h=0;for(e=this._find(e,i),e>n&&(n=e),l=this._unmask(d.substring(n),n),a=this._unmask(a,e),s=a.length,a&&(l=l.replace(RegExp("^_{0,"+s+"}"),"")),a+=l,d=d.split(""),u=a.charAt(h);e<this._maskLength;)d[e]=u||m,u=a.charAt(++h),_===t&&h>s&&(_=e),e=this._find(e+1);return p.value=this._old=d.join(""),o._activeElement()===p&&(_===t&&(_=this._maskLength),r(p,_)),_},_unmask:function(t,n){var a,i,s,l,o,r,u,_;if(!t)return"";if(this._unmaskedValue===t)return this._unmaskedValue;for(t=(t+"").split(""),s=0,l=n||0,o=this.options.promptChar,r=t.length,u=this.tokens.length,_="";l<u&&(a=t[s],i=this.tokens[l],a===i||a===o?(_+=a===o?o:"",s+=1,l+=1):"string"!=typeof i?(i&&i.test&&i.test(a)||e.isFunction(i)&&i(a)?(_+=a,l+=1):1===r&&this._blinkInvalidState(),s+=1):l+=1,!(s>=r)););return this._unmaskedValue=_,_},_label:function(){var t,n,a=this,i=a.element,s=a.options,l=i.attr("id");null!==s.label&&(t=!!m(s.label)&&s.label.floating,n=m(s.label)?s.label.content:s.label,t&&(a._floatingLabelContainer=a.wrapper.wrap("<span></span>").parent(),a.floatingLabel=new o.ui.FloatingLabel(a._floatingLabelContainer,{widget:a})),o.isFunction(n)&&(n=n.call(a)),n||(n=""),l||(l=s.name+"_"+o.guid(),i.attr("id",l)),a._inputLabel=e("<label class='"+c+"' for='"+l+"'>"+n+"</label>'").insertBefore(a.wrapper))},_wrapper:function(){var e=this,t=e.element,n=t[0],a=t.wrap("<span class='k-widget k-maskedtextbox'></span>").parent();a[0].style.cssText=n.style.cssText,n.style.width="100%",e.wrapper=a.addClass(n.className).removeClass("input-validation-error")},_blinkInvalidState:function(){var e=this;e.wrapper.addClass(v),clearTimeout(e._invalidStateTimeout),e._invalidStateTimeout=f(h(e._removeInvalidState,e),100)},_removeInvalidState:function(){var e=this;e.wrapper.removeClass(v),e._invalidStateTimeout=null},_tokenize:function(){for(var e,t,n,a,i=[],s=0,l=this.options.mask||"",r=l.split(""),u=r.length,_=0,p="",d=this.options.promptChar,m=o.getCulture(this.options.culture).numberFormat,h=this._rules;_<u;_++)if(e=r[_],t=h[e])i[s]=t,p+=d,s+=1;else for("."===e||","===e?e=m[e]:"$"===e?e=m.currency.symbol:"\\"===e&&(_+=1,e=r[_]),e=e.split(""),n=0,a=e.length;n<a;n++)i[s]=e[n],p+=e[n],s+=1;this.tokens=i,this._emptyMask=p,this._maskLength=p.length}});_.plugin(P)}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(e,t,n){(n||t)()});
  //# sourceMappingURL=kendo.maskedtextbox.min.js.map
  