UNPKG

@syncfusion/ej2-vue-es5

Version:

Essential JS 2 for Vue ES5 Global Scripts

1 lines 18.5 MB
var ej=function(e,t){"use strict";function i(e,t){var i=t;return i.unshift(void 0),new(Function.prototype.bind.apply(e,i))}function n(e){var t,i=new Uint16Array(5);(window.msCrypto||window.crypto).getRandomValues(i);var n="ej2"+function(e){for(var t="",i=0;i<5;i++)t+=(i?",":"")+e[parseInt(i.toString(),10)];return t}(i),r=function(i){i.source===window&&"string"==typeof i.data&&i.data.length<=32&&i.data===n&&(e(),t())};return window.addEventListener("message",r,!1),window.postMessage(n,"*"),t=function(){window.removeEventListener("message",r),e=r=n=void 0}}function r(e,t){for(var i=t,n=e.replace(/\[/g,".").replace(/\]/g,"").split("."),r=0;r<n.length&&!p(i);r++)i=i[n[parseInt(r.toString(),10)]];return i}function o(e,t,i){var n,r,o=e.replace(/\[/g,".").replace(/\]/g,"").split("."),s=i||{},a=s,l=o.length;for(n=0;n<l;n++)r=o[parseInt(n.toString(),10)],n+1===l?a[""+r]=void 0===t?{}:t:c(a[""+r])&&(a[""+r]={}),a=a[""+r];return s}function s(e,t){delete e[""+t]}function a(e){return!c(e)&&e.constructor==={}.constructor}function l(e,t){return e[t]}function h(e,t){if(!c(t))for(var i=e,n=t,r=0,o=Object.keys(t);r<o.length;r++){var s=o[r];c(i.deepMerge)||-1===i.deepMerge.indexOf(s)||!a(n[""+s])&&!Array.isArray(n[""+s])?i[""+s]=n[""+s]:d(i[""+s],i[""+s],n[""+s],!0)}}function d(e,t,i,n){var r=e&&"object"==typeof e?e:{},o=arguments.length;n&&(o-=1);for(var s=function(e){if(!l[e])return"continue";var t=l[e];Object.keys(t).forEach(function(e){var i,o=r[""+e],s=t[""+e],l=Array.isArray(s)&&Array.isArray(o)&&s.length!==o.length,h=!w()||!(o instanceof Event||l);n&&h&&(a(s)||Array.isArray(s))?a(s)?(i=o||{},Array.isArray(i)&&i.hasOwnProperty("isComplexArray")?d(i,{},s,n):r[""+e]=d(i,{},s,n)):(i=w()?o&&Object.keys(s).length:o||[],r[""+e]=d([],i,s,i&&i.length||s&&s.length)):r[""+e]=s})},l=arguments,h=1;h<o;h++)s(h);return r}function c(e){return void 0===e||null===e}function p(e){return void 0===e}function u(e){return e+"_"+oP++}function g(e,t){var i;return function(){var n=this,r=arguments;clearTimeout(i),i=setTimeout(function(){return i=null,e.apply(n,r)},t)}}function m(e){var t=Object.prototype.toString;return"[object Array]"===t.call(e)&&"[object Object]"===t.call(e[0])}function f(e,t){var i=e;return i===t||!(i===document||!i)&&f(i.parentNode,t)}function v(e){try{throw new Error(e)}catch(e){throw e.message+"\n"+e.stack}}function y(e,t){var i=document.createElement("div"),n=[].slice.call(document.getElementsByTagName("head")[0].querySelectorAll("base, link, style")),r=[].slice.call(document.getElementsByTagName("body")[0].querySelectorAll("link, style"));if(r.length)for(var o=0,s=r.length;o<s;o++)n.push(r[parseInt(o.toString(),10)]);var a="";c(t)&&(t=window.open("","print","height=452,width=1024,tabbar=no")),i.appendChild(e.cloneNode(!0));var l=0;for(s=n.length;l<s;l++)a+=n[parseInt(l.toString(),10)].outerHTML;t.document.write("<!DOCTYPE html> <html><head>"+a+"</head><body>"+i.innerHTML+"<script> (function() { window.ready = true; })(); <\/script></body></html>"),t.document.close(),t.focus();var h=setInterval(function(){t.ready&&(t.print(),t.close(),clearInterval(h))},500);return t}function b(e){var t=e+"";return t.match(/auto|cm|mm|in|px|pt|pc|%|em|ex|ch|rem|vw|vh|vmin|vmax/)?t:t+"px"}function w(){return sP}function C(e){return e instanceof Node||!w()||c(e.xPath)?e:document.evaluate(e.xPath,document,null,XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue}function S(e,t){var i="string"==typeof e?document.querySelector(e):e;if(i[""+rP])for(var n=0,r=i[""+rP];n<r.length;n++){var o=r[n];if(o instanceof t)return o}return null}function x(){if("undefined"!=typeof window){var e=new Uint16Array(5);return(window.msCrypto||window.crypto).getRandomValues(e)}}function I(e){OP=e,EP.notify("notifyExternalChange",{locale:OP})}function T(e,t){var i=uP.getDependables(LP,e,"",!0)[FP[0]],n=uP.getDependables(LP,e,"")[FP[1]],o=r("defaultNumberingSystem",i),s=w()?r("numberSymbols",i):r("symbols-numberSystem-"+o,i),a=uP.getSymbolPattern(t||"decimal",o,i,!1);return d(s,uP.getFormatData(a,!0,"",!0),{dateSeparator:uP.getDateSeparator(n)})}function k(e,t){var i=uP.getDependables(LP,e,"",!0);return uP.getCurrencySymbol(i.numericObject,t)}function P(e){return uP.getDependables(LP,"",e,!1)[FP[1]]}function M(e,t){var i=tM.test(e)?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e);return void 0===t?i:(i.innerHTML=t.innerHTML?t.innerHTML:"",void 0!==t.className&&(i.className=t.className),void 0!==t.id&&(i.id=t.id),void 0!==t.styles&&i.setAttribute("style",t.styles),void 0!==t.attrs&&V(i,t.attrs),i)}function D(e,t){for(var i=A(t),n=RegExp,s=0,l=e;s<l.length;s++)for(var h=l[s],d=0,p=i;d<p.length;d++){var u=p[d];if(a(h)){var g=r("attributes.className",h);c(g)?o("attributes.className",u,h):new n("\\b"+u+"\\b","i").test(g)||o("attributes.className",g+" "+u,h)}else h.classList.contains(u)||h.classList.add(u)}return e}function E(e,t){for(var i=A(t),n=0,s=e;n<s.length;n++){var l=s[n],h=a(l);if(h?r("attributes.className",l):""!==l.className)for(var d=0,c=i;d<c.length;d++){var p=c[d];if(h){var u=r("attributes.className",l).split(" "),g=u.indexOf(p);-1!==g&&u.splice(g,1),o("attributes.className",u.join(" "),l)}else l.classList.remove(p)}}return e}function A(e){var t=[];return"string"==typeof e?t.push(e):t=e,t}function L(e){var t=e;return""===t.style.visibility&&t.offsetWidth>0}function O(e,t,i){for(var n=document.createDocumentFragment(),r=0,o=e;r<o.length;r++){var s=o[r];n.appendChild(s)}return t.insertBefore(n,t.firstElementChild),i&&F(t),e}function R(e,t,i){var n=document.createDocumentFragment();if(e instanceof NodeList)for(;e.length>0;)n.appendChild(e[0]);else for(var r=0,o=e;r<o.length;r++){var s=o[r];n.appendChild(s)}return t.appendChild(n),i&&F(t),e}function F(e){e.querySelectorAll("script").forEach(function(e){var t=document.createElement("script");t.text=e.innerHTML,document.head.appendChild(t),B(t)})}function B(e){var t=e.parentNode;if(t)return t.removeChild(e)}function N(e){var t=e.parentNode;eM.clearEvents(e),t.removeChild(e)}function V(e,t){for(var i=e,n=0,r=Object.keys(t);n<r.length;n++){var o=r[n];if(a(i)){var s=o;"tabindex"===o&&(s="tabIndex"),i.attributes[""+s]=t[""+o]}else i.setAttribute(o,t[""+o])}return i}function j(e,t,i){return void 0===t&&(t=document),e=z(e),t.querySelector(e)}function H(e,t,i){void 0===t&&(t=document),e=z(e);return t.querySelectorAll(e)}function z(e){var t=/(!|"|\$|%|&|'|\(|\)|\*|\/|:|;|<|=|\?|@|\]|\^|`|{|}|\||\+|~)/g;if(e.match(/#[0-9]/g)||e.match(t)){for(var i=e.split(","),n=0;n<i.length;n++){for(var r=i[parseInt(n.toString(),10)].split(" "),o=0;o<r.length;o++)if(r[parseInt(o.toString(),10)].indexOf("#")>-1&&!r[parseInt(o.toString(),10)].match(/\[.*\]/)){var s=r[parseInt(o.toString(),10)].split("#");if(s[1].match(/^\d/)||s[1].match(t)){var a=r[parseInt(o.toString(),10)].split(".");a[0]=a[0].replace(/#/,"[id='")+"']",r[parseInt(o.toString(),10)]=a.join(".")}}i[parseInt(n.toString(),10)]=r.join(" ")}return i.join(",")}return e}function _(e,t){var i=e;if("function"==typeof i.closest)return i.closest(t);for(;i&&1===i.nodeType;){if(U(i,t))return i;i=i.parentNode}return null}function W(e,t){void 0!==t&&Object.keys(t).forEach(function(i){e.style[i]=t[i]})}function q(e,t,i){D([e],t),E([e],i)}function U(e,t){var i=e.matches||e.msMatchesSelector||e.webkitMatchesSelector;return i?i.call(e,t):-1!==[].indexOf.call(document.querySelectorAll(t),e)}function G(e,t){var i,n,r="string"==typeof e?document.getElementById(e):e;for(n=0;n<r.ej2_instances.length;n++)if(i=r.ej2_instances[parseInt(n.toString(),10)],"string"==typeof t){if(t===i.getModuleName())return i}else if(i instanceof t)return i}function Y(e,t,n,r){return e.properties.hasOwnProperty(t)&&e.properties[t]instanceof r||(e.properties[""+t]=i(r,[e,t,n])),e.properties[""+t]}function X(e,t,n,r,o,s){for(var a=[],l=n?n.length:0,h=0;h<l;h++){var d=r;if(s&&(d=r(n[parseInt(h.toString(),10)],e)),o){var c=i(d,[e,t,{},!0]);c.setProperties(n[parseInt(h.toString(),10)],!0),a.push(c)}else a.push(i(d,[e,t,n[parseInt(h.toString(),10)],!1]))}return a}function K(e,t){return function(){return this.properties.hasOwnProperty(t)||(this.properties[""+t]=e),this.properties[""+t]}}function Z(e,t,i){return function(){var n=this;if(!this.properties.hasOwnProperty(t)){var r=X(this,t,e,i,!1);this.properties[""+t]=r}var o=void 0!==this.controlParent&&this.controlParent.ignoreCollectionWatch||this.ignoreCollectionWatch;return this.properties[t].hasOwnProperty("push")||o||["push","pop"].forEach(function(e){var i={value:function(e,t,i,n){return function(){for(var i=[],r=0;r<arguments.length;r++)i[r]=arguments[r];var o=this.propName?this.getParentKey()+"."+t+"-":t+"-";switch(e){case"push":for(var s=0;s<i.length;s++){Array.prototype[""+e].apply(n,[i[parseInt(s.toString(),10)]]);var a=Q(o+(n.length-1),i[parseInt(s.toString(),10)],!this.controlParent,e);this.serverDataBind(a,i[parseInt(s.toString(),10)],!1,e)}break;case"pop":Array.prototype[""+e].apply(n);var l=Q(o+n.length,null,!this.controlParent,e);this.serverDataBind(l,{ejsAction:"pop"},!1,e)}return n}}(e,t,0,n.properties[""+t]).bind(n),configurable:!0};Object.defineProperty(n.properties[""+t],e,i)}),this.properties[t].hasOwnProperty("isComplexArray")||Object.defineProperty(this.properties[""+t],"isComplexArray",{value:!0}),this.properties[""+t]}}function Q(e,t,i,n){var r=e;if(i&&(r={},r[""+e]=t,t&&"object"==typeof t)){r[""+e].ejsAction=n}return r}function $(e){return function(t,i){var n={set:function(e,t){return function(i){if(this.properties[""+t]!==i){var n=this.properties.hasOwnProperty(t)?this.properties[t]:e;this.saveChanges(t,i,n),this.properties[""+t]=i}}}(e,i),get:K(e,i),enumerable:!0,configurable:!0};Object.defineProperty(t,i,n),oe(t,i,"prop",e)}}function J(e,t){return function(i,n){var r={set:function(e,t,i){return function(n){Y(this,t,e,i).setProperties(n)}}(e,n,t),get:function(e,t,i){return function(){return Y(this,t,e,i)}}(e,n,t),enumerable:!0,configurable:!0};Object.defineProperty(i,n,r),oe(i,n,"complexProp",e,t)}}function ee(e){return function(t,i){var n={set:function(e,t,i){return function(n){var r=i(n,this);Y(this,t,e,r).setProperties(n)}}({},i,e),get:function(e,t,i){return function(){var n=i({});return this.properties.hasOwnProperty(t)?this.properties[""+t]:Y(this,t,e,n)}}({},i,e),enumerable:!0,configurable:!0};Object.defineProperty(t,i,n),oe(t,i,"complexProp",{},e)}}function te(e,t){return function(i,n){var r={set:function(e,t,i){return function(n){this.isComplexArraySetter=!0;var r=X(this,t,e,i,!1),o=X(this,t,n,i,!0);this.isComplexArraySetter=!1,this.saveChanges(t,o,r),this.properties[""+t]=o}}(e,n,t),get:Z(e,n,t),enumerable:!0,configurable:!0};Object.defineProperty(i,n,r),oe(i,n,"colProp",e,t)}}function ie(e){return function(t,i){var n={set:function(e,t,i){return function(n){var r=this.properties.hasOwnProperty(t)?this.properties[t]:e,o=X(this,t,n,i,!0,!0);this.saveChanges(t,o,r),this.properties[""+t]=o}}([],i,e),get:function(e,t,i){return function(){var n=i({});if(!this.properties.hasOwnProperty(t)){var r=X(this,t,e,n,!1);this.properties[""+t]=r}return this.properties[""+t]}}([],i,e),enumerable:!0,configurable:!0};Object.defineProperty(t,i,n),oe(t,i,"colProp",{},e)}}function ne(){return function(e,t){var i={set:function(e){var i=this.properties[""+t];if(i!==e){var n=ae(this,t);!1===p(i)&&n.context.removeEventListener(n.prefix,i),n.context.addEventListener(n.prefix,e),this.properties[""+t]=e}},get:K(void 0,t),enumerable:!0,configurable:!0};Object.defineProperty(e,t,i),oe(e,t,"event")}}function re(e){}function oe(e,t,i,n,r){p(e.propList)&&(e.propList={props:[],complexProps:[],colProps:[],events:[],propNames:[],complexPropNames:[],colPropNames:[],eventNames:[]}),e.propList[i+"s"].push({propertyName:t,defaultValue:n,type:r}),e.propList[i+"Names"].push(t)}function se(e){if(p(e.prototype.builderObject)){e.prototype.builderObject={properties:{},propCollections:[],add:function(){this.isPropertyArray=!0,this.propCollections.push(d({},this.properties,{}))}};for(var t=/complex/,i=0,n=Object.keys(e.prototype.propList);i<n.length;i++)for(var r=n[i],o=function(i){t.test(r)?e.prototype.builderObject[i.propertyName]=function(e){var t={};h(t,se(i.type)),e(t);var n;return n=t.isPropertyArray?t.propCollections:d({},t.properties,{}),this.properties[i.propertyName]=n,t.properties={},t.propCollections=[],t.isPropertyArray=!1,this}:e.prototype.builderObject[i.propertyName]=function(e){return this.properties[i.propertyName]=e,this}},s=0,a=e.prototype.propList[""+r];s<a.length;s++){o(a[s])}}return e.prototype.builderObject}function ae(e,t){if(!1===e.hasOwnProperty("parentObj"))return{context:e,prefix:t};var i=r("propName",e);return i&&(t=i+"-"+t),ae(r("parentObj",e),t)}function le(e,t,i){var n=function(e){return{selector:e&&e.selector?e.selector:null,ignore:e&&e.ignore?e.ignore:null,rippleFlag:e&&e.rippleFlag,isCenterRipple:e&&e.isCenterRipple,duration:e&&e.duration?e.duration:350}}(t);return!1===n.rippleFlag||void 0===n.rippleFlag&&!aM?function(){}:(e.setAttribute("data-ripple","true"),eM.add(e,"mousedown",he,{parent:e,rippleOptions:n}),eM.add(e,"mouseup",de,{parent:e,rippleOptions:n,done:i}),eM.add(e,"mouseleave",ce,{parent:e,rippleOptions:n}),JP.isPointer&&eM.add(e,"transitionend",ce,{parent:e,rippleOptions:n}),function(){e.removeAttribute("data-ripple"),eM.remove(e,"mousedown",he),eM.remove(e,"mouseup",de),eM.remove(e,"mouseleave",ce),eM.remove(e,"transitionend",ce)})}function he(e){var t=e.target,i=this.rippleOptions.selector,n=i?_(t,i):t;if(!(!n||this.rippleOptions&&_(t,this.rippleOptions.ignore))){var r=n.getBoundingClientRect(),o=e.pageX-document.body.scrollLeft,s=e.pageY-(!document.body.scrollTop&&document.documentElement?document.documentElement.scrollTop:document.body.scrollTop),a=Math.max(Math.abs(o-r.left),Math.abs(o-r.right)),l=Math.max(Math.abs(s-r.top),Math.abs(s-r.bottom)),h=Math.sqrt(a*a+l*l),d=2*h+"px",c=o-r.left-h,p=s-r.top-h;this.rippleOptions&&this.rippleOptions.isCenterRipple&&(c=0,p=0,d="100%"),n.classList.add("e-ripple");var u=M("div",{className:"e-ripple-element",styles:"width: "+d+";height: "+d+";left: "+c+"px;top: "+p+"px;transition-duration: "+this.rippleOptions.duration.toString()+"ms;"});n.appendChild(u),window.getComputedStyle(u).getPropertyValue("opacity"),u.style.transform="scale(1)",n!==this.parent&&eM.add(n,"mouseleave",ce,{parent:this.parent,rippleOptions:this.rippleOptions})}}function de(e){pe(e,this)}function ce(e){pe(e,this)}function pe(e,t){var i=t.rippleOptions.duration,n=e.target,r=t.rippleOptions.selector,o=r?_(n,r):n;if(o&&(!o||-1!==o.className.indexOf("e-ripple"))){var s=H(".e-ripple-element",o),a=s[s.length-1];a&&(a.style.opacity="0.5"),t.parent!==o&&eM.remove(o,"mouseleave",ce),setTimeout(function(){a&&a.parentNode&&a.parentNode.removeChild(a),o.getElementsByClassName("e-ripple-element").length||o.classList.remove("e-ripple"),t.done&&t.done(e)},i)}}function ue(e){return aM=e}function ge(e){for(var t="",i=0,n=e;i<n.length;i++){var r=n[i];t+=String.fromCharCode(r)}return t}function me(e){gM=new uM(e)}function fe(e,t,i){var n='var str="'+function(e,t,i,n){var r=0,o=[],s=e.match(/class="([^"]+|)\s{2}/g),a="";s&&s.forEach(function(t){a=t.replace(/\s\s+/g," "),e=e.replace(t,a)});return e.replace(GM,"").replace(iD,"'$1'").replace(rD,function(e,s,a,l){var h=s.match(JM);if(h){var d=h[1];if(KM.test(s))s='";} '+s.replace(h[1],d.replace(tD,function(e){return e=e.trim(),ve(e,!YM.test(e)&&-1===o.indexOf(e),t,o,n)}))+'{ \n str = str + "';else if(XM.test(s))s='"; '+s.replace(h[1],d.replace(nD,function(e){return we(e,t,o,n)}))+'{ \n str = str + "';else if(QM.test(s)){var c=h[1].split(" of ");s='"; '+s.replace(h[1],function(e){return o.push(c[0]),o.push(c[0]+"Index"),"var i"+(r+=1)+"=0; i"+r+" < "+ve(c[1],!0,t,o,n)+".length; i"+r+"++"})+"{ \n "+c[0]+"= "+ve(c[1],!0,t,o,n)+"[i"+r+"]; \n var "+c[0]+"Index=i"+r+'; \n str = str + "'}else{var p=s.split("("),u=i&&i.hasOwnProperty(p[0])?"this.":"global";u=/\./.test(p[0])?"":u;var g=h[1].split(",");0===h[1].length||/data/.test(g[0])||/window./.test(g[0])||(h[1]="global"===u?t+"."+h[1]:h[1]);if(hD.test(s)&&/\]\./gm.test(s)||/@|\$|#/gm.test(s)){/@|\$|#|\]\./gm.test(s)&&(s='"+ '+("global"===u?"":u)+s.replace(h[1],d.replace(lD,function(e){return we(e,t,o,n)}))+'+ "')}else s='" + '+("global"===u?"":u)+s.replace(d,ve(h[1].replace(/,( |)data.|,/gi,","+t+".").replace(/,( |)data.window/gi,",window"),"global"!==u,t,o,n))+'+"'}}else ZM.test(s)?s='"; '+s.replace(ZM,'} else { \n str = str + "'):s.match($M)?s=s.replace($M,'"; \n } \n str = str + "'):/@|#|\$/gm.test(s)?(s.match(sD)&&(s=be(s)),s='"+'+ye(s,-1===o.indexOf(s),t,o)+'"]+"'):s=s.match(sD)?'"+'+ye(s=be(s),-1===o.indexOf(s),t,o)+'"]+"':""!==s?'"+'+ve(s.replace(/,/gi,"+"+t+"."),-1===o.indexOf(s),t,o,n)+'+"':" ";return s})}(e,"data",t,i)+"\";var valueRegEx = (/value=\\'([A-Za-z0-9 _]*)((.)([\\w)(!-;?-■\\s]+)['])/g);\n var hrefRegex = (/(?:href)([\\s='\"./]+)([\\w-./?=&\\\\#\"]+)((.)([\\w)(!-;/?-■\\s]+)['])/g);\n if(str.match(valueRegEx)){\n var check = str.match(valueRegEx);\n var str1 = str;\n for (var i=0; i < check.length; i++) {\n var check1 = str.match(valueRegEx)[i].split('value=')[1];\n var change = check1.match(/^'/) !== null ? check1.replace(/^'/, '\"') : check1;\n change =change.match(/.$/)[0] === '\\'' ? change.replace(/.$/,'\"') : change;\n str1 = str1.replace(check1, change);\n }\n str = str.replace(str, str1);\n }\n else if (str.match(/(?:href='')/) === null) {\n if(str.match(hrefRegex)) {\n var check = str.match(hrefRegex);\n var str1 = str;\n for (var i=0; i < check.length; i++) {\n var check1 = str.match(hrefRegex)[i].split('href=')[1];\n if (check1) {\n var change = check1.match(/^'/) !== null ? check1.replace(/^'/, '\"') : check1;\n change =change.match(/.$/)[0] === '\\'' ? change.replace(/.$/,'\"') : change;\n str1 = str1.replace(check1, change);\n }\n }\n str = str.replace(str, str1);\n }\n }\n return str;";return new Function("data",n).bind(t)}function ve(e,t,i,n,r){return!t||eD.test(e)||-1!==n.indexOf(e.split(".")[0])||r?e:i+"."+e}function ye(e,t,i,n){return t&&!eD.test(e)&&-1===n.indexOf(e.split(".")[0])?i+'["'+e:e}function be(e){return e=e.match(aD)?e:e.replace(sD,"\\\\")}function we(e,t,i,n){e=e.trim();if(/\window\./gm.test(e))return e;var r=/'|"/gm;return/@|\$|#/gm.test(e)&&(e=ye(e,-1===i.indexOf(e),t,i)+'"]'),oD.test(e)?function(e,t,i,n){return!t||eD.test(e)||-1!==n.indexOf(e.split(".")[0])||/^\..*/gm.test(e)?e:i+"."+e}(e,!r.test(e)&&-1===i.indexOf(e),t,i):ve(e,!r.test(e)&&-1===i.indexOf(e),t,i,n)}function Ce(){return"-"+Math.random().toString(36).substr(2,5)}function Se(e,t,i){var n=uD.compile(e,t,i);return function(e,t,i,r,o,s,a,l){var h=n(e,t,i,a,l),d="BlazorTemplateId";if(w()&&!o){var p=r+Ce();if(pD[""+r]||(pD[""+r]=[]),c(s))e[""+d]=p,pD[""+r].push(e);else for(var u=0,g=Object.keys(pD[""+r][parseInt(s.toString(),10)]);u<g.length;u++){var m=g[u];m!==d&&e[""+m]&&(pD[""+r][parseInt(s.toString(),10)][""+m]=e[""+m]),m===d&&(p=pD[""+r][parseInt(s.toString(),10)][""+m])}return"rowTemplate"===i?[M("tr",{id:p,className:"e-blazor-template"})]:[M("div",{id:p,className:"e-blazor-template"})]}if("string"==typeof h){if(cD.test(h)){return M("svg",{innerHTML:h}).childNodes}return M(dD.test(h)?"table":"div",{innerHTML:h}).childNodes}return h}}function xe(e,t,i,n,r){if(w()){window.sfBlazor.updateTemplate(t,pD[""+e],e,i,r),!1!==n&&(pD[""+e]=[])}}function Ie(e,t,i){var n=document.getElementById(e);if(n)for(var r=n.getElementsByClassName("blazor-inner-template"),o=0;o<r.length;o++){var s=" ";s=c(i)?r[parseInt(o.toString(),10)].getAttribute("data-templateId"):r[parseInt(i.toString(),10)].getAttribute("data-templateId");var a=document.getElementById(s);if(a)for(var l=a.childNodes.length,h=0;h<l;h++)c(i)?r[parseInt(o.toString(),10)].appendChild(a.childNodes[0]):(r[parseInt(i.toString(),10)].appendChild(a.childNodes[0]),o=r.length)}}function Te(e){uD.compile=e.compile}function ke(){return uD.compile}function Pe(e,t){var i=M(e);return t&&Ee(i,t),i}function Me(e){var t,i=[];if("msie"===JP.info.name||"edge"===JP.info.name)for(var n=0;n<e.childNodes.length;n++)1===(t=e.childNodes[parseInt(n.toString(),10)]).nodeType&&i.push(t);else i=e.children;return i}function De(e){var t="barcodeMeasureElement";window[""+t].style.visibility="visible";var i=Me(window[""+t].children[1])[0];i.textContent=e.string,i.setAttribute("style","font-size:"+e.stringSize+"px; font-family:"+e.fontStyle+";font-weight:");var n=new SD(0,0);return n.width=i.getBBox().width,n.height=i.getBBox().height,window[""+t].style.visibility="hidden",n}function Ee(e,t){for(var i=Object.keys(t),n=0;n<i.length;n++)e.setAttribute(i[parseInt(n.toString(),10)],t[i[parseInt(n.toString(),10)]])}function Ae(e,t){var i=document.createElementNS("http://www.w3.org/2000/svg",e);return Ee(i,t),i}function Le(){var e="barcodeMeasureElement";if(window[""+e])window[""+e].usageCount+=1;else{var t=Pe("div",{id:"barcodeMeasureElement",class:"barcodeMeasureElement",style:"visibility:hidden ; height: 0px ; width: 0px; overflow: hidden;"}),i=Pe("span",{style:"display:inline-block ; line-height: normal"});t.appendChild(i);var n=document.createElementNS("http://www.w3.org/2000/svg","svg");n.setAttribute("xlink","http://www.w3.org/1999/xlink"),t.appendChild(n);var r=document.createElementNS("http://www.w3.org/2000/svg","text");r.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),n.appendChild(r),window[""+e]=t,window[""+e].usageCount=1,document.body.appendChild(t)}}function Oe(e,t,i,n){var r=t;return"SVG"!==i||e.mode?e.mode&&r.parentNode.removeChild(r):r.innerHTML="",new TD(n,"SVG"===i)}function Re(e,t,i,n,r,o){return{width:e,height:t,x:i,y:n,color:r,strokeColor:o}}function Fe(e,t){!function(e,t){var i=1.5*e.element.offsetWidth,n=1.5*e.element.offsetHeight;xD.getContext(t).clearRect(0,0,i,n)}(e,t)}function Be(e,t,i,n,r){var o=function(e,t,i,n,r){return new Promise(function(o,s){var a=i.children[0],l=document.createElement("canvas");l.height=i.clientHeight,l.width=i.clientWidth;var h=l.getContext("2d"),d=new Image;d.onload=function(){if(h.drawImage(d,0,0),n){var i="JPG"===e?l.toDataURL("image/jpg"):l.toDataURL("image/png");o(i)}else!function(e,t,i){var n=document.createElement("a");n.download=t+"."+e.toLocaleLowerCase(),n.href=i,n.click()}(e,t,l.toDataURL("image/png").replace("image/png","image/octet-stream")),o(null)},"Canvas"===r.mode?(d.src="JPG"===e?a.toDataURL("image/jpg"):a.toDataURL("image/png"),l.height=1.5*i.clientHeight,l.width=1.5*i.clientWidth,h.scale(2/3,2/3)):d.src=window.URL.createObjectURL(new Blob([(new window.XMLSerializer).serializeToString(i.children[0])],{type:"image/svg+xml"}))})}(e,t,i,n,r);return o instanceof Promise&&o.then(function(e){return e}),o}function Ne(e){if(void 0===e&&(e={}),e.props)for(var t=function(t){(e.newprops||(e.newprops={}))[""+t]={},(e.watch||(e.watch={}))[""+t]=function(i){this.ej2Instances[""+t]=i,this.dataBind&&"DateRangePickerComponent"!==e.name&&this.dataBind()}},i=0,n=e.props;i<n.length;i++){t(n[i])}return[e.newprops,e.watch]}function Ve(e,t,i){var n=t||(i&&i.vueInstance?i.vueInstance:null);if(n){for(var r=["components","mixins","provides"],o=0;o<r.length;o++){var s=r[o];e._context[s]&&n.$.appContext[s]&&(e._context[s]=n.$.appContext[s])}var a={},l=function(e){e.$&&e.$.parent&&l(e.$.parent),e.provides&&Object.keys(e.provides).length>0&&(a=BE({},a,e.provides))};l(n),e._context.provides&&(e._context.provides=BE({},e._context.provides,a)),e._context.config.globalProperties&&n.$.appContext.config.globalProperties&&(e._context.config.globalProperties=n.$.appContext.config.globalProperties)}}function je(e,t){if(e){var i=e.$slots,n=e.$scopedSlots,r=e.scopedSlots,o=e.children;if(n&&n[""+t])return n;if(i&&i.default)for(var s=i.default,a=0;a<s.length;a++){if(l=je(He(s[parseInt(a.toString(),10)]),t))return l}else{if(r&&r[""+t])return r;if(o)for(a=0;a<o.length;a++){var l;if(l=je(He(o[parseInt(a.toString(),10)]),t))return l}}}}function He(e){var t=e.componentOptions&&e.componentOptions.children?e.componentOptions:e.data||"e-markersettings"!==e.tag&&"e-markersetting"!==e.tag?e.data:e;return e.componentInstance?e.componentInstance:t}function ze(e,t){if(e&&e[""+t])return e;if(e&&e.default)for(var i=e.default(),n=0;n<i.length;n++){var r=ze(i[parseInt(n.toString(),10)].children,t);if(r)return r}}function _e(e,t,i,n,a,l){var h=n;if(n.tagName===t){var d=r("ej2_instances",n);h=e("input",{attrs:{type:i}});for(var c=["change","cssClass","label","labelPosition","id"],p=0,u=n.attributes.length;p<u;p++)-1===c.indexOf(n.attributes[p].nodeName)&&h.setAttribute(n.attributes[p].nodeName,n.attributes[p].nodeValue);V(n,{class:a}),n.appendChild(h),o("ej2_instances",d,h),s(n,"ej2_instances")}return h}function We(e){for(var t,i=e.childNodes,n=0;n<i.length;n++)if(3===(t=i[n]).nodeType)return t;return null}function qe(e,t,i){"INPUT"===i?(t.parentNode.insertBefore(e.element,t),B(t),e.element.checked=!1,["name","value","disabled"].forEach(function(t){e.element.removeAttribute(t)})):(["role","aria-checked","class"].forEach(function(e){t.removeAttribute(e)}),t.innerHTML="")}function Ue(e,t,i,n,r){n=_e(e.createElement,t,"checkbox",n,i),e.element=n,"checkbox"!==e.element.getAttribute("type")&&e.element.setAttribute("type","checkbox"),e.element.id||(e.element.id=u("e-"+r))}function Ge(e,t,i){void 0===t&&(t=!1),void 0===i&&(i={});var n=e("div",{className:"e-checkbox-wrapper e-css"});if(i.cssClass&&D([n],i.cssClass.split(" ")),i.enableRtl&&n.classList.add("e-rtl"),t){var r=e("span",{className:"e-ripple-container"});le(r,{isCenterRipple:!0,duration:400}),n.appendChild(r)}var o=e("span",{className:"e-frame e-icons"});if(i.checked&&o.classList.add("e-check"),n.appendChild(o),i.label){var s=e("span",{className:"e-label"});i.disableHtmlEncode?s.textContent=i.label:s.innerHTML=i.label,n.appendChild(s)}return n}function Ye(e,t){if(t){var i=document.createEvent("MouseEvents");i.initEvent(e.type,!1,!0),t.dispatchEvent(i)}}function Xe(e,t){e.element.getAttribute("ejs-for")&&t.appendChild(e.createElement("input",{attrs:{name:e.name||e.element.name,value:"false",type:"hidden"}}))}function Ke(e,t){var i=!1,n={left:0,top:0},r=e;if(!e||!t)return n;for(c(t.offsetParent)&&"fixed"===t.style.position&&(i=!0);(t.offsetParent||i)&&e&&t.offsetParent!==e;)n.left+=e.offsetLeft,n.top+=e.offsetTop,e=e.offsetParent;for(e=r;(t.offsetParent||i)&&e&&t.offsetParent!==e;)n.left-=e.scrollLeft,n.top-=e.scrollTop,e=e.parentElement;return n}function Ze(e,t,i,n,r){if(OR=void 0,OR=r,yF=!!n,!e)return{left:0,top:0};t||(t="left"),i||(i="top"),FR=e.ownerDocument,RR=e;return function(e,t,i){switch(LR=RR.getBoundingClientRect(),t+e){case"topcenter":Qe(st(),i),$e(nt(),i);break;case"topright":Qe(ot(),i),$e(nt(),i);break;case"centercenter":Qe(st(),i),$e(it(),i);break;case"centerright":Qe(ot(),i),$e(it(),i);break;case"centerleft":Qe(rt(),i),$e(it(),i);break;case"bottomcenter":Qe(st(),i),$e(tt(),i);break;case"bottomright":Qe(ot(),i),$e(tt(),i);break;case"bottomleft":Qe(rt(),i),$e(tt(),i);break;default:case"topleft":Qe(rt(),i),$e(nt(),i)}return RR=null,i}(t.toLowerCase(),i.toLowerCase(),{left:0,top:0})}function Qe(e,t){t.left=e}function $e(e,t){t.top=e}function Je(){return FR.documentElement.scrollTop||FR.body.scrollTop}function et(){return FR.documentElement.scrollLeft||FR.body.scrollLeft}function tt(){return yF?LR.bottom:LR.bottom+Je()}function it(){return nt()+LR.height/2}function nt(){return yF?LR.top:LR.top+Je()}function rt(){return LR.left+et()}function ot(){var e=RR&&RR.classList.contains("e-date-range-wrapper")?OR?OR.width:0:OR&&LR.width>=OR.width?OR.width:0;return LR.right+et()-e}function st(){return rt()+LR.width/2}function at(e,t,i,n){if(void 0===t&&(t=null),void 0===i&&(i={X:!1,Y:!1}),!i.Y&&!i.X)return{left:0,top:0};var r=e.getBoundingClientRect();if(NR=t,BR=e.ownerDocument,n||(n=Ze(e,"left","top")),i.X){var o=NR?mt():kt(),s=wt(),a=Ct(),l=s-n.left,h=n.left+r.width-a;r.width>o?n.left=l>0&&h<=0?a-r.width:h>0&&l<=0?s:l>h?a-r.width:s:l>0?n.left+=l:h>0&&(n.left-=h)}if(i.Y){var d=NR?ft():Tt(),c=bt(),p=St(),u=c-n.top,g=n.top+r.height-p;r.height>d?n.top=u>0&&g<=0?p-r.height:g>0&&u<=0?c:u>g?p-r.height:c:u>0?n.top+=u:g>0&&(n.top-=g)}return n}function lt(e,t,i,n){void 0===t&&(t=null);var r=Ze(e,"left","top");i&&(r.left=i),n&&(r.top=n);var o=[];NR=t,BR=e.ownerDocument;var s=e.getBoundingClientRect(),a=r.top,l=r.left,h=r.left+s.width,d=gt(a,r.top+s.height),c=ct(l,h);return d.topSide&&o.push("top"),c.rightSide&&o.push("right"),c.leftSide&&o.push("left"),d.bottomSide&&o.push("bottom"),o}function ht(e,t,i,n,r,o,s,a,l){if(void 0===s&&(s=null),void 0===a&&(a={X:!0,Y:!0}),t&&e&&r&&o&&(a.X||a.Y)){var h,d={TL:null,TR:null,BL:null,BR:null},c={TL:null,TR:null,BL:null,BR:null};if("none"===window.getComputedStyle(e).display){var p=e.style.visibility;e.style.visibility="hidden",e.style.display="block",h=e.getBoundingClientRect(),e.style.removeProperty("display"),e.style.visibility=p}else h=e.getBoundingClientRect();var u={posX:r,posY:o,offsetX:i,offsetY:n,position:{left:0,top:0}};NR=s,BR=t.ownerDocument,function(e,t,i,n,r){i.position=Ze(e,i.posX,i.posY,n,r),t.TL=Ze(e,"left","top",n,r),t.TR=Ze(e,"right","top",n,r),t.BR=Ze(e,"left","bottom",n,r),t.BL=Ze(e,"right","bottom",n,r)}(t,d,u,l,h),dt(c,u,h),a.X&&pt(t,c,d,u,h,!0),a.Y&&d.TL.top>-1&&ut(t,c,d,u,h,!0),function(e,t,i){var n=0,r=0;if(null!=e.offsetParent&&("absolute"===getComputedStyle(e.offsetParent).position||"relative"===getComputedStyle(e.offsetParent).position)){var o=Ze(e.offsetParent,"left","top",!1,i);n=o.left,r=o.top}e.style.top=t.position.top+t.offsetY-r+"px",e.style.left=t.position.left+t.offsetX-n+"px"}(e,u,h)}}function dt(e,t,i){e.TL={top:t.position.top+t.offsetY,left:t.position.left+t.offsetX},e.TR={top:e.TL.top,left:e.TL.left+i.width},e.BL={top:e.TL.top+i.height,left:e.TL.left},e.BR={top:e.TL.top+i.height,left:e.TL.left+i.width}}function ct(e,t){var i=!1,n=!1;return e-It()<wt()&&(i=!0),t>Ct()&&(n=!0),{leftSide:i,rightSide:n}}function pt(e,t,i,n,r,o){var s=ct(t.TL.left,t.TR.left);i.TL.left-It()<=wt()&&(s.leftSide=!1),i.TR.left>Ct()&&(s.rightSide=!1),(s.leftSide&&!s.rightSide||!s.leftSide&&s.rightSide)&&("right"===n.posX?n.posX="left":n.posX="right",n.offsetX=n.offsetX+r.width,n.offsetX=-1*n.offsetX,n.position=Ze(e,n.posX,n.posY,!1),dt(t,n,r),o&&pt(e,t,i,n,r,!1))}function ut(e,t,i,n,r,o){var s=gt(t.TL.top,t.BL.top);i.TL.top-xt()<=bt()&&(s.topSide=!1),i.BL.top>=St()&&e.getBoundingClientRect().bottom<window.innerHeight&&(s.bottomSide=!1),(s.topSide&&!s.bottomSide||!s.topSide&&s.bottomSide)&&("top"===n.posY?n.posY="bottom":n.posY="top",n.offsetY=n.offsetY+r.height,n.offsetY=-1*n.offsetY,n.position=Ze(e,n.posX,n.posY,!1,r),dt(t,n,r),o&&ut(e,t,i,n,r,!1))}function gt(e,t){var i=!1,n=!1;return e-xt()<bt()&&(i=!0),t>St()&&(n=!0),{topSide:i,bottomSide:n}}function mt(){return NR.getBoundingClientRect().width}function ft(){return NR.getBoundingClientRect().height}function vt(){return NR.getBoundingClientRect().left}function yt(){return NR.getBoundingClientRect().top}function bt(){return NR?yt():0}function wt(){return NR?vt():0}function Ct(){return NR?It()+vt()+mt():It()+kt()}function St(){return NR?xt()+yt()+ft():xt()+Tt()}function xt(){return BR.documentElement.scrollTop||BR.body.scrollTop}function It(){return BR.documentElement.scrollLeft||BR.body.scrollLeft}function Tt(){return window.innerHeight}function kt(){var e=window.innerWidth,t=document.documentElement.getBoundingClientRect();return e-(e-(c(document.documentElement)?0:t.width))}function Pt(e,t){for(var i=getComputedStyle(e),n=[],r=/(auto|scroll)/,o=e.parentElement;o&&"HTML"!==o.tagName;){var s=getComputedStyle(o);"absolute"===i.position&&"static"===s.position||!r.test(s.overflow+s.overflowY+s.overflowX)||n.push(o),o=o.parentElement}return t||n.push(document),n}function Mt(e){for(var t=e.parentElement,i=[];t&&"BODY"!==t.tagName;){var n=document.defaultView.getComputedStyle(t,null).getPropertyValue("z-index"),r=document.defaultView.getComputedStyle(t,null).getPropertyValue("position");"auto"!==n&&"static"!==r&&i.push(n),t=t.parentElement}for(var o=[],s=0;s<document.body.children.length;s++)if(!e.isEqualNode(document.body.children[s])){n=document.defaultView.getComputedStyle(document.body.children[s],null).getPropertyValue("z-index"),r=document.defaultView.getComputedStyle(document.body.children[s],null).getPropertyValue("position");"auto"!==n&&"static"!==r&&o.push(n)}o.push("999");var a=[];if(!c(e.parentElement)&&"BODY"!==e.parentElement.tagName){var l=[].slice.call(e.parentElement.children);for(s=0;s<l.length;s++)if(!e.isEqualNode(l[s])){n=document.defaultView.getComputedStyle(l[s],null).getPropertyValue("z-index"),r=document.defaultView.getComputedStyle(l[s],null).getPropertyValue("position");"auto"!==n&&"static"!==r&&a.push(n)}}var h=i.concat(o,a),d=Math.max.apply(Math,h)+1;return d>2147483647?2147483647:d}function Dt(e){HF=e.resizeBegin,zF=e.resizing,_F=e.resizeComplete,VR=Et(e.element),qR=Et(e.boundary);for(var t=e.direction.split(" "),i=0;i<t.length;i++)if(OF.indexOf(t[i])>=0&&t[i])!function(e){Ft();var t=M("span",{attrs:{unselectable:"on",contenteditable:"false"}});t.setAttribute("class","e-dialog-border-resize e-"+e),"south"===e&&(t.style.height="2px",t.style.width="100%",t.style.bottom="0px",t.style.left="0px");"north"===e&&(t.style.height="2px",t.style.width="100%",t.style.top="0px",t.style.left="0px");"east"===e&&(t.style.height="100%",t.style.width="2px",t.style.right="0px",t.style.top="0px");"west"===e&&(t.style.height="100%",t.style.width="2px",t.style.left="0px",t.style.top="0px");VR.appendChild(t)}(t[i]);else if(""!==t[i].trim()){var n=M("div",{className:"e-icons "+MF+" e-"+t[i]});VR.appendChild(n)}HR=e.minHeight,_R=e.minWidth,WR=e.maxWidth,zR=e.maxHeight,e.proxy&&e.proxy.element&&e.proxy.element.classList.contains("e-dialog")?At(e.proxy):At()}function Et(e){var t;return c(e)||(t="string"==typeof e?document.querySelector(e):e),t}function At(e){c(e)&&(e=this);for(var t=VR.querySelectorAll("."+MF),i=0;i<t.length;i++){jR=t[i],eM.add(jR,"mousedown",Ot,e);var n="msie"===JP.info.name?"pointerdown":"touchstart";eM.add(jR,n,Bt,e)}var r=VR.querySelectorAll(".e-dialog-border-resize");if(!c(r))for(i=0;i<r.length;i++){jR=r[i],eM.add(jR,"mousedown",Ot,e);n="msie"===JP.info.name?"pointerdown":"touchstart";eM.add(jR,n,Bt,e)}}function Lt(e){return e.indexOf("mouse")>-1?"mouse":"touch"}function Ot(e){if(e.preventDefault(),VR=e.target.parentElement,Ft(),VF=e.pageX,jF=e.pageY,e.target.classList.add(DF),c(HF)||(GR=this,!0!==HF(e,GR))){this.targetEle&&VR&&VR.querySelector("."+EF)&&(qR="body"===this.target?null:this.targetEle,WR=this.targetEle.clientWidth,zR=this.targetEle.clientHeight);var t=c(qR)?document:qR;eM.add(t,"mousemove",Nt,this),eM.add(document,"mouseup",Rt,this);for(var i=0;i<AF.length;i++)WF=!VR.classList.contains(AF[i])}}function Rt(e){var t="msie"===JP.info.name?"pointermove":"touchmove",i="msie"===JP.info.name?"pointerup":"touchend",n=c(qR)?document:qR,r="msie"===JP.info.name?"pointerdown":"touchstart";eM.remove(n,"mousemove",Nt),eM.remove(n,t,Nt),eM.remove(n,r,Nt),c(document.body.querySelector("."+DF))||document.body.querySelector("."+DF).classList.remove(DF),c(_F)||_F(e,GR=this),eM.remove(document,"mouseup",Rt),eM.remove(document,i,Rt)}function Ft(){RF=parseFloat(getComputedStyle(VR,null).getPropertyValue("width").replace("px","")),FF=parseFloat(getComputedStyle(VR,null).getPropertyValue("height").replace("px","")),BF=VR.getBoundingClientRect().left,NF=VR.getBoundingClientRect().top}function Bt(e){VR=e.target.parentElement,Ft();var t=VR.classList.contains("e-dialog");(e.target.classList.contains(MF)||e.target.classList.contains("e-dialog-border-resize"))&&t&&e.target.classList.add(DF);var i=e.touches?e.changedTouches[0]:e;if(VF=i.pageX,jF=i.pageY,c(HF)||(GR=this,!0!==HF(e,GR))){var n="msie"===JP.info.name?"pointermove":"touchmove",r="msie"===JP.info.name?"pointerup":"touchend",o=c(qR)?document:qR;eM.add(o,n,Nt,this),eM.add(document,r,Rt,this)}}function Nt(e){if(e.target.classList.contains(MF)&&e.target.classList.contains(DF)?jR=e.target:c(document.body.querySelector("."+DF))||(jR=document.body.querySelector("."+DF)),!c(jR)){for(var t="",i=0;i<PF.length;i++)jR.classList.contains("e-"+PF[i])&&(t=PF[i]);switch(c(zF)||zF(e,GR=this),t){case"south":jt(e);break;case"north":Ht(e);break;case"west":zt(e);break;case"east":_t(e);break;case"south-east":jt(e),_t(e);break;case"south-west":jt(e),zt(e);break;case"north-east":Ht(e),_t(e);break;case"north-west":Ht(e),zt(e)}}}function Vt(e){return e.getBoundingClientRect()}function jt(e){var t,i=document.documentElement.clientHeight,n=!1,r=(e.touches?e.changedTouches[0]:e).pageY,o=Vt(VR);c(qR)||(t=Vt(qR)),c(qR)?c(qR)&&(i-r>=0||o.top<0)&&(n=!0):n=!0;var s=FF+(r-jF);s=s>HR?s:HR;var a=0;c(qR)||(a=t.top);var l=c(qR)?0:qR.offsetHeight-qR.clientHeight,h=o.top-a-l/2;if(h=h<0?0:h,o.top>0&&h+s>zR){if(n=!1,VR.classList.contains(LF))return;VR.style.height=zR-parseInt(h.toString(),10)+"px"}else{var d=0;if(n){o.top<0&&i+(o.height+o.top)>0&&s+(d=o.top)<=30&&(s=o.height-(o.height+o.top)+30),s+o.top>=zR&&(VR.style.height=o.height+(i-(o.height+o.top))+"px");var p=c(qR)?d:h;s>=HR&&s+p<=zR&&(VR.style.height=s+"px")}}}function Ht(e){var t,i=!1,n="mouse"===Lt(e.type)?e.pageY:e.touches[0].pageY,r=Vt(VR);c(qR)||(t=Vt(qR)),!c(qR)&&r.top-t.top>0?i=!0:c(qR)&&n>0&&(i=!0);var o=FF-(n-jF);if(i&&o>=HR&&o<=zR){var s=0;c(qR)||(s=t.top);var a=NF-s+(n-jF);a=a>0?a:1,VR.style.height=o+"px",VR.style.top=a+"px"}}function zt(e){var t,i=document.documentElement.clientWidth,n=!1;c(qR)||(t=Vt(qR));var r="mouse"===Lt(e.type)?e.pageX:e.touches[0].pageX,o=Vt(VR),s=c(qR)?0:qR.offsetWidth-qR.clientWidth,a=c(qR)?0:t.left,l=c(qR)?0:t.width;c(UR)&&(c(qR)?UR=i:(UR=o.left-a-s/2+o.width,UR+=l-s-UR)),!c(qR)&&Math.floor(o.left-t.left+o.width+(t.right-o.right))-s<=WR?n=!0:c(qR)&&r>=0&&(n=!0);var h=RF-(r-VF);if(WF&&(h=h>UR?UR:h),n&&h>=_R&&h<=WR){var d=0;c(qR)||(d=t.left);var p=BF-d+(r-VF);p=p>0?p:1,h!==qF&&UF&&(VR.style.width=h+"px"),WF&&(VR.style.left=p+"px",UF=1!==p)}qF=h}function _t(e){var t,i=document.documentElement.clientWidth,n=!1;c(qR)||(t=Vt(qR));var r=(e.touches?e.changedTouches[0]:e).pageX,o=Vt(VR);!c(qR)&&(o.left-t.left+o.width<=WR||o.right-t.left>=o.width)?n=!0:c(qR)&&i-r>0&&(n=!0);var s=RF+(r-VF),a=0;if(c(qR)||(a=t.left),o.left-a+s>WR){if(n=!1,VR.classList.contains(LF))return;VR.style.width=WR-(o.left-a)+"px"}n&&s>=_R&&s<=WR&&(VR.style.width=s+"px")}function Wt(){for(var e=VR.querySelectorAll("."+MF),t=0;t<e.length;t++)B(e[t]);var i=VR.querySelectorAll(".e-dialog-border-resize");if(!c(i))for(t=0;t<i.length;t++)B(i[t])}function qt(e,t){if(e.target){var i,n=c(t)?M:t,r=function(e,t){var i=t("div",{}),n=t("div",{});return i.classList.add(YB),n.classList.add(XB),e.appendChild(i),i.appendChild(n),{wrap:i,inner_wrap:n}}(e.target,n);if(c(e.cssClass)||r.wrap.classList.add(e.cssClass),c(e.template)&&c(JB)){var o=c(e.type)?function(e){return window.getComputedStyle(e,":after").getPropertyValue("content").replace(/['"]+/g,"")}(r.wrap):e.type;i=function(e,t){var i;switch(t){case"Material":i=DB;break;case"Material3":i=EB;break;case"Fabric":i=AB;break;case"Tailwind":case"Tailwind-dark":i=AB;break;case"Fluent":i=LB;break;case"Bootstrap4":i=RB;break;case"Bootstrap5":i=FB;break;default:i=OB}return e=e?parseFloat(e+""):i,"Bootstrap"===t?e:e/2}(c(e.width)?void 0:e.width,o),Ut(o,r.wrap,i,n),c(e.label)||function(e,t,i){var n=i("div",{});n.classList.add(QB),n.innerHTML=t,e.appendChild(n)}(r.inner_wrap,e.label,n)}else{var s=c(e.template)?JB:e.template;r.wrap.classList.add($B),Yt(r.wrap,s,eN)}r.wrap.classList.add(NB),r=null}}function Ut(e,t,i,n){var r=t.querySelector("."+XB),o=r.querySelector("svg");switch(c(o)||r.removeChild(o),e){case"Material":!function(e,t,i){var n=Xt();MB[""+n]={timeOut:0,type:"Material",radius:t},Zt(e,n,i,VB),$t(t,e,"Material",VB)}(r,i,n);break;case"Material3":!function(e,t,i){var n=Xt();MB[""+n]={timeOut:0,type:"Material3",radius:t},Zt(e,n,i,jB),$t(t,e,"Material3",jB)}(r,i,n);break;case"Fabric":!function(e,t,i){var n=Xt();MB[""+n]={timeOut:0,type:"Fabric",radius:t},Kt(e,n,HB,i),ii(t,e,HB)}(r,i,n);break;case"Fluent":!function(e,t,i){var n=Xt();MB[""+n]={timeOut:0,type:"Fluent",radius:t},Kt(e,n,zB,i),ii(t,e,zB)}(r,i,n);break;case"Bootstrap":!function(e,t,i){var n=Xt();MB[""+n]={timeOut:0,type:"Bootstrap",radius:t},function(e,t,i){var n=document.createElementNS("http://www.w3.org/2000/svg","svg");n.setAttribute("id",t),n.setAttribute("class",WB),n.setAttribute("viewBox","0 0 64 64"),e.insertBefore(n,e.firstChild);for(var r=0;r<=7;r++){var o=document.createElementNS("http://www.w3.org/2000/svg","circle");o.setAttribute("class",KB+"_"+r),o.setAttribute("r","2"),o.setAttribute("transform","translate(32,32)"),n.appendChild(o)}}(e,n),function(e,t){var i=e.querySelector("svg.e-spin-bootstrap");i.style.width=i.style.height=t+"px";for(var n=90,r=0;r<=7;r++){var o=ni(0,0,24,n),s=i.querySelector("."+KB+"_"+r);s.setAttribute("cx",o.x+""),s.setAttribute("cy",o.y+""),n=n>=360?0:n,n+=45}}(e,t)}(r,i);break;case"HighContrast":!function(e,t,i){var n=Xt();MB[""+n]={timeOut:0,type:"HighContrast",radius:t},Kt(e,n,GB,i),ii(t,e,GB)}(r,i,n);break;case"Bootstrap4":!function(e,t,i){var n=Xt();MB[""+n]={timeOut:0,type:"Bootstrap4",radius:t},Zt(e,n,i,qB),$t(t,e,"Bootstrap4",qB)}(r,i,n);break;case"Bootstrap5":!function(e,t,i){var n=Xt();MB[""+n]={timeOut:0,type:"Bootstrap5",radius:t},Zt(e,n,i,UB),$t(t,e,"Bootstrap5",UB)}(r,i,n);break;case"Tailwind":case"Tailwind-dark":!function(e,t,i){var n=Xt();MB[""+n]={timeOut:0,type:"Tailwind",radius:t},Kt(e,n,_B,i),ii(t,e,_B)}(r,i,n)}}function Gt(e,t){function i(e){n.push(e),e===o&&1!==a||(e<=r&&e>1&&!s?e=parseFloat((e-.2).toFixed(2)):1===e?(e=7,e=parseFloat((e+.2).toFixed(2)),s=!0):e<8&&s?8===(e=parseFloat((e+.2).toFixed(2)))&&(s=!1):e<=8&&!s&&(e=parseFloat((e-.2).toFixed(2))),++a,i(e))}var n=[],r=e,o=t,s=!1,a=1;return i(r),n}function Yt(e,t,i){c(i)||e.classList.add(i);e.querySelector(".e-spinner-inner").innerHTML=t}function Xt(){for(var e="",t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",i=0;i<5;i++)e+=t.charAt(Math.floor(Math.random()*t.length));return e}function Kt(e,t,i,n){var r=document.createElementNS("http://www.w3.org/2000/svg","svg");r.setAttribute("id",t),r.setAttribute("class",i);var o=document.createElementNS("http://www.w3.org/2000/svg","path");o.setAttribute("class",KB);var s=document.createElementNS("http://www.w3.org/2000/svg","path");s.setAttribute("class",ZB),e.insertBefore(r,e.firstChild),r.appendChild(o),r.appendChild(s)}function Zt(e,t,i,n){var r=document.createElementNS("http://www.w3.org/2000/svg","svg"),o=document.createElementNS("http://www.w3.org/2000/svg","path");r.setAttribute("class",n),r.setAttribute("id",t),o.setAttribute("class",KB),e.insertBefore(r,e.firstChild),r.appendChild(o)}function Qt(e){!function(e,t,i,n,r,o,s){function a(t){var r=Math.max(0,Math.min((new Date).getTime()-h,n));!function(e,t){if(!c(t.querySelector("svg.e-spin-material"))||!c(t.querySelector("svg.e-spin-material3"))){var i=void 0;if(c(t.querySelector("svg.e-spin-material"))||c(t.querySelector("svg.e-spin-material").querySelector("path.e-path-circle"))?c(t.querySelector("svg.e-spin-material3"))||c(t.querySelector("svg.e-spin-material3").querySelector("path.e-path-circle"))||(i=t.querySelector("svg.e-spin-material3")):i=t.querySelector("svg.e-spin-material"),!c(i)){var n=i.querySelector("path.e-path-circle");n.setAttribute("stroke-dashoffset",ei(p,u,e,o)+""),n.setAttribute("transform","rotate("+g+" "+p/2+" "+p/2+")")}}}(i(r,e,d,n),t.container),l===t.globalInfo[t.uniqueID].previousId&&r<n?MB[t.uniqueID].timeOut=setTimeout(a.bind(null,t),1):Qt(t)}var l=++s.globalInfo[s.uniqueID].previousId,h=(new Date).getTime(),d=t-e,p=function(e){return parseFloat(e)}(2*s.globalInfo[s.uniqueID].radius+""),u=Jt(p),g=-90*(s.globalInfo[s.uniqueID].count||0);a(s)}(1,149,ti,1333,e.globalInfo[e.uniqueID].count,75,e),e.globalInfo[e.uniqueID].count=++e.globalInfo[e.uniqueID].count%4}function $t(e,t,i,n){var r=2*e,o=t.querySelector("svg."+n),s=o.querySelector("path.e-path-circle"),a=Jt(r),l=r/2+"px";o.setAttribute("viewBox","0 0 "+r+" "+r),o.style.width=o.style.height=r+"px",o.style.transformOrigin=l+" "+l+" "+l,s.setAttribute("d",function(e,t){var i=e/2,n=t/2;return"M"+i+","+n+"A"+(i-n)+","+(i-n)+" 0 1 1 "+n+","+i}(r,a)),"Material"!==i&&"Material3"!==i||(s.setAttribute("stroke-width",a+""),s.setAttribute("stroke-dasharray",(r-a)*Math.PI*.75+""),s.setAttribute("stroke-dashoffset",ei(r,a,1,75)+""))}function Jt(e){return.1*e}function ei(e,t,i,n){return(e-t)*Math.PI*(3*n/100-i/100)}function ti(e,t,i,n){var r=(e/=n)*e,o=r*e;return t+i*(6*o*r+-15*r*r+10*o)}function ii(e,t,i){var n=e,r=e,o=2*e,s=t.querySelector("."+i),a=s.querySelector(".e-path-circle"),l=s.querySelector(".e-path-arc"),h=o/2+"px";a.setAttribute("d",function(e,t,i){return["M",e,t,"m",-i,0,"a",i,i,0,1,0,2*i,0,"a",i,i,0,1,0,2*-i,0].join(" ")}(n,r,e)),l.setAttribute("d",function(e,t,i,n,r){var o=ni(e,t,i,r),s=ni(e,t,i,n);return["M",o.x,o.y,"A",i,i,0,0,0,s.x,s.y].join(" ")}(n,r,e,315,45)),s.setAttribute("viewBox","0 0 "+o+" "+o),s.style.transformOrigin=h+" "+h+" "+h,s.style.width=s.style.height=o+"px"}function ni(e,t,i,n){var r=(n-90)*Math.PI/180;return{x:e+i*Math.cos(r),y:t+i*Math.sin(r)}}function ri(e){oi(e,!1),e=null}function oi(e,t){var i;if(e)if(e.classList.contains(YB))i=e;else{var n=void 0;n=e.querySelectorAll("."+YB),i=Array.from(n).find(function(t){return t.parentElement===e})||null}if(e&&i){var r=i.querySelector("."+XB);if(t?!i.classList.contains($B)&&!i.classList.contains(NB):!i.classList.contains($B)&&!i.classList.contains(BB)){var o=i.querySelector("svg");if(c(o))return;var s=o.getAttribute("id");switch(MB[""+s].isAnimate=!t,MB[""+s].type){case"Material":case"Material3":t?clearTimeout(MB[s].timeOut):function(e,t,i){var n={};MB[""+t].timeOut=0,n[""+t]=function(e,t,i,n){return{radius:t,count:i,previousId:n}}(0,i,0,0),Qt({uniqueID:t,container:e,globalInfo:n,timeOutVar:0})}(r,s,MB[s].radius);break;case"Bootstrap":t?clearTimeout(MB[s].timeOut):function(e){for(var t=e.querySelector("svg.e-spin-bootstrap").getAttribute("id"),i=1;i<=8;i++)!function(e,t,i,n,r){function o(t){MB[""+r].isAnimate&&(++s,e.setAttribute("r",t+""),s>=n.length&&(s=0),MB[r].timeOut=setTimeout(o.bind(null,n[s]),18))}var s=0;o(t)}(e.getElementsByClassName("e-path-circle_"+(8===i?0:i))[0],i,0,Gt(i,i),t)}(r)}}t?q(i,[NB],[BB]):q(i,[BB],[NB]),e=null}}function si(e){oi(e,!0),e=null}function ai(e,t){var i=c(t)?M:t;void 0!==e.template&&(JB=e.template,void 0!==e.template&&(eN=e.cssClass));for(var n=document.querySelectorAll("."+YB),r=0;r<n.length;r++)!function(e,t,i,n,r){c(e)&&!t.classList.contains($B)?(!function(e,t,i,n){c(i)||e.classList.add(i);var r=e.querySelector("svg");if(!c(r)){var o="Bootstrap"===t?parseFloat(r.style.height):parseFloat(r.style.height)/2,s=r.getAttribute("class"),a=s.split(/\s/);if(a.indexOf("e-spin-material")>=0){var l=r.getAttribute("id");clearTimeout(MB[""+l].timeOut)}Ut(t,e,o,n)}}(t,i,n,r),t.classList.contains(BB)?(t.classList.remove(BB),ri(t)):(t.classList.remove(NB),si(t))):(JB=e,c(n)||(eN=n),c(JB)||Yt(t,JB,eN))}(e.template,n[r],e.type,e.cssClass,i)}function li(){if(V(this.element,{role:"textbox",autocomplete:"off",autocapitalize:"off",spellcheck:"false","aria-live":"assertive"}),this.mask){for(var e=this.mask.split("]"),t=0;t<e.length;t++)if("\\"===e[t][e[t].length-1]){e[t]=e[t]+"]";for(var i=e[t].split("["),n=0;n<i.length;n++)"\\"===i[n][i[n].length-1]&&(i[n]=i[n]+"["),vi.call(this,i[n])}else{if((i=e[t].split("[")).length>1){var r=!1;for(n=0;n<i.length;n++)"\\"===i[n]?(this.customRegExpCollec.push("["),this.hiddenMask+=i[n]+"["):""===i[n]?r=!0:""!==i[n]&&r||n===i.length-1?(this.customRegExpCollec.push("["+i[n]+"]"),this.hiddenMask+=this.promptChar,r=!1):vi.call(this,i[n])}else vi.call(this,i[0])}if(this.escapeMaskValue=this.hiddenMask,this.promptMask=this.hiddenMask.replace(/[09?LCAa#&]/g,this.promptChar),!c(this.customCharacters))for(t=0;t<this.promptMask.length;t++)c(this.customCharacters[this.promptMask[t]])||(this.promptMask=this.promptMask.replace(new RegExp(this.promptMask[t],"g"),this.promptChar));var o=0;if(this.hiddenMask.match(new RegExp(/\\/)))for(t=0;t<this.hiddenMask.length;t++){n=0;t>=1&&(n=t),n-=o=this.hiddenMask.length-this.promptMask.length,t>0&&"\\"!==this.hiddenMask[t-1]&&(">"===this.hiddenMask[t]||"<"===this.hiddenMask[t]||"|"===this.hiddenMask[t])&&(this.promptMask=this.promptMask.substring(0,n)+this.promptMask.substring(t+1-o,this.promptMask.length),this.escapeMaskValue=this.escapeMaskValue.substring(0,n)+this.escapeMaskValue.substring(t+1-o,this.escapeMaskValue.length)),"\\"===this.hiddenMask[t]&&(this.promptMask=this.promptMask.substring(0,n)+this.hiddenMask[t+1]+this.promptMask.substring(t+2-o,this.promptMask.length),this.escapeMaskValue=this.escapeMaskValue.substring(0,n)+this.escapeMaskValue[t+1]+this.escapeMaskValue.substring(t+2-o,this.escapeMaskValue.length))}else this.promptMask=this.promptMask.replace(/[>|<]/g,""),this.escapeMaskValue=this.hiddenMask.replace(/[>|<]/g,"");V(this.element,{"aria-invalid":"false"})}}function hi(){zi.call(this,this.promptMask),Hi.call(this,this.value)}function di(){eM.add(this.element,"keydown",Mi,this),eM.add(this.element,"keypress",Li,this),eM.add(this.element,"keyup",Ri,this),eM.add(this.element,"input",Pi,this),eM.add(this.element,"focus",wi,this),eM.add(this.element,"blur",xi,this),eM.add(this.element,"paste",Ii,this),eM.add(this.element,"cut",Ti,this),eM.add(this.element,"drop",ki,this),eM.add(this.element,"mousedown",yi,this),eM.add(this.element,"mouseup",bi,this),this.enabled&&(pi.call(this),this.formElement&&eM.add(this.formElement,"reset",gi,this))}function ci(){eM.remove(this.element,"keydown",Mi),eM.remove(this.element,"keypress",Li),eM.remove(this.element,"keyup",Ri),eM.remove(this.element,"input",Pi),eM.remove(this.element,"focus",wi),eM.