UNPKG

@syncfusion/ej2-base

Version:

A common package of Essential JS 2 base libraries, methods and class definitions

1 lines 268 kB
!function(M,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.SyncfusionBase=t():M.SyncfusionBase=t()}(self,(()=>(()=>{"use strict";var M={d:(t,e)=>{for(var N in e)M.o(e,N)&&!M.o(t,N)&&Object.defineProperty(t,N,{enumerable:!0,get:e[N]})},o:(M,t)=>Object.prototype.hasOwnProperty.call(M,t),r:M=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(M,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(M,"__esModule",{value:!0})}},t={};M.r(t),M.d(t,{Ajax:()=>J,Animation:()=>ut,Base:()=>fM,Browser:()=>iM,ChildProperty:()=>pt,Collection:()=>et,CollectionFactory:()=>Nt,Complex:()=>Mt,ComplexFactory:()=>tt,Component:()=>le,CreateBuilder:()=>nt,Draggable:()=>he,Droppable:()=>Ue,Event:()=>it,EventHandler:()=>gM,Fetch:()=>K,GlobalAnimationMode:()=>Et,HijriParser:()=>xt,Internationalization:()=>Xt,IntlBase:()=>G,KeyboardEvents:()=>ke,L10n:()=>be,ModuleLoader:()=>St,NotifyPropertyChanges:()=>gt,Observer:()=>QM,Position:()=>we,Property:()=>qM,SanitizeHtmlHelper:()=>pN,SwipeSettings:()=>Pe,Touch:()=>Re,addClass:()=>jM,addInstance:()=>d,animationMode:()=>st,append:()=>TM,attributes:()=>sM,blazorCultureFormats:()=>Z,blazorTemplates:()=>aN,classList:()=>CM,cldrData:()=>Wt,cloneNode:()=>mM,closest:()=>lM,compareElementParent:()=>L,compile:()=>cN,componentList:()=>ie,containerObject:()=>o,containsClass:()=>dM,createElement:()=>nM,createInstance:()=>D,createLicenseOverlay:()=>ue,debounce:()=>s,defaultCulture:()=>Jt,defaultCurrencyCode:()=>b,deleteObject:()=>j,detach:()=>AM,disableBlazorMode:()=>g,enableBlazorMode:()=>p,enableRipple:()=>Lt,enableRtl:()=>qt,enableVersionBasedPersistence:()=>Le,extend:()=>T,formatUnit:()=>S,getAttributeOrDefault:()=>SM,getComponent:()=>kM,getDefaultDateObject:()=>ee,getElement:()=>w,getEnumValue:()=>u,getInstance:()=>h,getNumberDependable:()=>te,getNumericObject:()=>Me,getRandomId:()=>TN,getTemplateEngine:()=>EN,getUniqueID:()=>y,getValue:()=>n,getVersion:()=>ze,includeInnerHTML:()=>hM,initializeCSPTemplate:()=>ON,isBlazor:()=>C,isNullOrUndefined:()=>c,isObject:()=>z,isObjectArray:()=>O,isRippleEnabled:()=>Ot,isUndefined:()=>A,isVisible:()=>uM,loadCldr:()=>$t,matches:()=>wM,merge:()=>a,onIntlChange:()=>Ht,prepend:()=>aM,print:()=>x,proxyToRaw:()=>UM,queryParams:()=>E,registerLicense:()=>re,remove:()=>yM,removeChildInstance:()=>bM,removeClass:()=>oM,resetBlazorTemplate:()=>yN,rightToLeft:()=>Zt,rippleEffect:()=>at,select:()=>EM,selectAll:()=>OM,setCulture:()=>Vt,setCurrencyCode:()=>_t,setDateFormat:()=>R,setDefaultCurrencyCode:()=>P,setGlobalAnimation:()=>lt,setImmediate:()=>I,setNumberFormat:()=>F,setProxyToRaw:()=>vM,setStyleAttribute:()=>pM,setTemplateEngine:()=>sN,setValue:()=>r,siblings:()=>xM,throwError:()=>l,uniqueID:()=>m,updateBlazorTemplate:()=>AN,updateCSSText:()=>rM,validateLicense:()=>oe,versionBasedStatePersistence:()=>Oe});var e="ej2_instances",N=0,i=!1;function g(){i=!1}function D(M,t){var e=t;return e.unshift(void 0),new(Function.prototype.bind.apply(M,e))}function I(M){var t,e=new Uint16Array(5);(window.msCrypto||window.crypto).getRandomValues(e);var N="ej2"+function(M){for(var t="",e=0;e<5;e++)t+=(e?",":"")+M[parseInt(e.toString(),10)];return t}(e),i=function(e){e.source===window&&"string"==typeof e.data&&e.data.length<=32&&e.data===N&&(M(),t())};return window.addEventListener("message",i,!1),window.postMessage(N,"*"),t=function(){window.removeEventListener("message",i),M=i=N=void 0}}function n(M,t){for(var e=t,N=M.replace(/\[/g,".").replace(/\]/g,"").split("."),i=0;i<N.length&&!A(e);i++)e=e[N[parseInt(i.toString(),10)]];return e}function r(M,t,e){var N,i,g=M.replace(/\[/g,".").replace(/\]/g,"").split("."),D=e||{},I=D,n=g.length;for(N=0;N<n;N++)"__proto__"!==(i=g[parseInt(N.toString(),10)])&&"constructor"!==i&&"prototype"!==i&&(N+1===n?I[""+i]=void 0===t?{}:t:c(I[""+i])&&(I[""+i]={}),I=I[""+i]);return D}function j(M,t){delete M[""+t]}var o="undefined"!=typeof window?window:{};function z(M){return!c(M)&&M.constructor==={}.constructor}function u(M,t){return M[""+t]}function a(M,t){if(!c(t))for(var e=M,N=t,i="deepMerge",g=0,D=Object.keys(t);g<D.length;g++){var I=D[g];c(e[""+i])||-1===e[""+i].indexOf(I)||!z(N[""+I])&&!Array.isArray(N[""+I])?e[""+I]=N[""+I]:T(e[""+I],e[""+I],N[""+I],!0)}}function T(M,t,e,N){var i=M&&"object"==typeof M?M:{},g=arguments.length,D=[M,t,e,N];N&&(g-=1);for(var I=function(M){if(!D[parseInt(M.toString(),10)])return"continue";var t=D[parseInt(M.toString(),10)];Object.keys(t).forEach((function(M){var e,g=i[""+M],D=t[""+M],I=Array.isArray(D)&&Array.isArray(g)&&D.length!==g.length,n=!C()||!(g instanceof Event||I);N&&n&&(z(D)||Array.isArray(D))?z(D)?(e=g||{},Array.isArray(e)&&Object.prototype.hasOwnProperty.call(e,"isComplexArray")?T(e,{},D,N):i[""+M]=T(e,{},D,N)):(e=C()?g&&Object.keys(D).length:g||[],i[""+M]=T([],e,D,e&&e.length||D&&D.length)):i[""+M]=D}))},n=1;n<g;n++)I(n);return i}function c(M){return null==M}function A(M){return void 0===M}function y(M){return M+"_"+N++}function s(M,t){var e;return function(){for(var N=this,i=[],g=0;g<arguments.length;g++)i[g]=arguments[g];clearTimeout(e),e=setTimeout((function(){return e=null,M.apply(N,i)}),t)}}function E(M){for(var t=[],e=0,N=Object.keys(M);e<N.length;e++){var i=N[e];t.push(encodeURIComponent(i)+"="+encodeURIComponent(""+M[""+i]))}return t.join("&")}function O(M){var t=Object.prototype.toString;return"[object Array]"===t.call(M)&&"[object Object]"===t.call(M[0])}function L(M,t){return M===t||!(M===document||!M)&&L(M.parentNode,t)}function l(M){try{throw new Error(M)}catch(M){throw new Error(M.message+"\n"+M.stack)}}function x(M,t){var e=document.createElement("div"),N=[].slice.call(document.getElementsByTagName("head")[0].querySelectorAll("base, link, style")),i=[].slice.call(document.getElementsByTagName("body")[0].querySelectorAll("link, style"));if(i.length)for(var g=0,D=i.length;g<D;g++)N.push(i[parseInt(g.toString(),10)]);var I="";c(t)&&(t=window.open("","print","height=452,width=1024,tabbar=no")),e.appendChild(M.cloneNode(!0));var n=0;for(D=N.length;n<D;n++)I+=N[parseInt(n.toString(),10)].outerHTML;t.document.write("<!DOCTYPE html> <html><head>"+I+"</head><body>"+e.innerHTML+"<script> (function() { window.ready = true; })(); <\/script></body></html>"),t.document.close(),t.focus();var r=setInterval((function(){t.ready&&(t.print(),t.close(),clearInterval(r))}),500);return t}function S(M){var t=M+"";return t.match(/auto|cm|mm|in|px|pt|pc|%|em|ex|ch|rem|vw|vh|vmin|vmax/)?t:t+"px"}function p(){i=!0}function C(){return i}function w(M){var t="xPath";return M instanceof Node||!C()||c(M[""+t])?M:document.evaluate(M[""+t],document,null,XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue}function h(M,t){var N="string"==typeof M?document.querySelector(M):M;if(N[""+e])for(var i=0,g=N[""+e];i<g.length;i++){var D=g[i];if(D instanceof t)return D}return null}function d(M,t){var N="string"==typeof M?document.querySelector(M):M;N[""+e]?N[""+e].push(t):N[""+e]=[t]}function m(){if("undefined"!=typeof window){var M=new Uint16Array(5);return(window.msCrypto||window.crypto).getRandomValues(M)}}var U={latn:{_digits:"0123456789",_type:"numeric"}},Q={decimal:".",group:",",percentSign:"%",plusSign:"+",minusSign:"-",infinity:"∞",nan:"NaN",exponential:"E"},Y=[0,1,2,3,4,5,6,7,8,9],f=function(){function M(){}return M.getMainObject=function(M,t){return n(C()?t:"main."+t,M)},M.getNumberingSystem=function(M){return n("supplemental.numberingSystems",M)||this.numberingSystems},M.reverseObject=function(M,t){for(var e={},N=0,i=t||Object.keys(M);N<i.length;N++){var g=i[N];Object.prototype.hasOwnProperty.call(e,M[""+g])||(e[M[""+g]]=g)}return e},M.getSymbolRegex=function(M){var t=M.map((function(M){return M.replace(/([.*+?^=!:${}()|[\]/\\])/g,"\\$1")})).join("|");return new RegExp(t,"g")},M.getSymbolMatch=function(M){for(var t={},e=0,N=Object.keys(Q);e<N.length;e++){var i=N[e];t[M[""+i]]=Q[""+i]}return t},M.constructRegex=function(M){for(var t=M.length,e="",N=0;N<t;N++)e+=N!==t-1?M[parseInt(N.toString(),10)]+"|":M[parseInt(N.toString(),10)];return e},M.convertValueParts=function(M,t,e){return M.replace(t,(function(M){return e[""+M]}))},M.getDefaultNumberingSystem=function(M){var t={};return t.obj=n("numbers",M),t.nSystem=n("defaultNumberingSystem",t.obj),t},M.getCurrentNumericOptions=function(M,t,e,N){var i={},g=this.getDefaultNumberingSystem(M);if(!A(g.nSystem)||N){var D=N?n("obj.mapperDigits",g):n(g.nSystem+"._digits",t);if(!A(D)){i.numericPair=this.reverseObject(D,Y);var I=RegExp;i.numberParseRegex=new I(this.constructRegex(D),"g"),i.numericRegex="["+D[0]+"-"+D[9]+"]",e&&(i.numericRegex=D[0]+"-"+D[9],i.symbolNumberSystem=n(N?"numberSymbols":"symbols-numberSystem-"+g.nSystem,g.obj),i.symbolMatch=this.getSymbolMatch(i.symbolNumberSystem),i.numberSystem=g.nSystem)}}return i},M.getNumberMapper=function(M,t,e){var N={mapper:{}},i=this.getDefaultNumberingSystem(M);if(!A(i.nSystem)){N.numberSystem=i.nSystem,N.numberSymbols=n("symbols-numberSystem-"+i.nSystem,i.obj),N.timeSeparator=n("timeSeparator",N.numberSymbols);var g=n(i.nSystem+"._digits",t);if(!A(g))for(var D=0,I=Y;D<I.length;D++){var r=I[D];N.mapper[parseInt(r.toString(),10)]=g[parseInt(r.toString(),10)]}}return N},M.nPair="numericPair",M.nRegex="numericRegex",M.numberingSystems=U,M}(),k={DJF:"Fdj",ERN:"Nfk",ETB:"Br",NAD:"$",ZAR:"R",XAF:"FCFA",GHS:"GH₵",XDR:"XDR",AED:"د.إ.",BHD:"د.ب.",DZD:"د.ج.",EGP:"ج.م.",ILS:"₪",IQD:"د.ع.",JOD:"د.ا.",KMF:"CF",KWD:"د.ك.",LBP:"ل.ل.",LYD:"د.ل.",MAD:"د.م.",MRU:"أ.م.",OMR:"ر.ع.",QAR:"ر.ق.",SAR:"ر.س.",SDG:"ج.س.",SOS:"S",SSP:"£",SYP:"ل.س.",TND:"د.ت.",YER:"ر.ي.",CLP:"$",INR:"₹",TZS:"TSh",EUR:"€",AZN:"₼",RUB:"₽",BYN:"Br",ZMW:"K",BGN:"лв.",NGN:"₦",XOF:"CFA",BDT:"৳",CNY:"¥",BAM:"КМ",UGX:"USh",USD:"$",CZK:"Kč",GBP:"£",DKK:"kr.",KES:"Ksh",CHF:"CHF",MVR:"ރ.",BTN:"Nu.",XCD:"EC$",AUD:"$",BBD:"$",BIF:"FBu",BMD:"$",BSD:"$",BWP:"P",BZD:"$",CAD:"$",NZD:"$",FJD:"$",FKP:"£",GIP:"£",GMD:"D",GYD:"$",HKD:"$",IDR:"Rp",JMD:"$",KYD:"$",LRD:"$",MGA:"Ar",MOP:"MOP$",MUR:"Rs",MWK:"MK",MYR:"RM",PGK:"K",PHP:"₱",PKR:"Rs",RWF:"RF",SBD:"$",SCR:"SR",SEK:"kr",SGD:"$",SHP:"£",SLL:"Le",ANG:"NAf.",SZL:"E",TOP:"T$",TTD:"$",VUV:"VT",WST:"WS$",ARS:"$",BOB:"Bs",BRL:"R$",COP:"$",CRC:"₡",CUP:"$",DOP:"$",GTQ:"Q",HNL:"L",MXN:"$",NIO:"C$",PAB:"B/.",PEN:"S/",PYG:"₲",UYU:"$",VES:"Bs.S",IRR:"ريال",GNF:"FG",CDF:"FC",HTG:"G",XPF:"FCFP",HRK:"kn",HUF:"Ft",AMD:"֏",ISK:"kr",JPY:"¥",GEL:"₾",CVE:"​",KZT:"₸",KHR:"៛",KPW:"₩",KRW:"₩",KGS:"сом",AOA:"Kz",LAK:"₭",MZN:"MTn",MKD:"ден",MNT:"₮",BND:"$",MMK:"K",NOK:"kr",NPR:"रु",AWG:"Afl.",SRD:"$",PLN:"zł",AFN:"؋",STN:"Db",MDL:"L",RON:"lei",UAH:"₴",LKR:"රු.",ALL:"Lekë",RSD:"дин.",TJS:"смн",THB:"฿",TMT:"m.",TRY:"₺",UZS:"сўм",VND:"₫",TWD:"NT$"};var b="USD",v=null,B=null;function P(M){b=M}function F(M){v=M}function R(M){B=M}var G,H=RegExp,Z={"en-US":{d:"M/d/y",D:"EEEE, MMMM d, y",f:"EEEE, MMMM d, y h:mm a",F:"EEEE, MMMM d, y h:mm:s a",g:"M/d/y h:mm a",G:"M/d/yyyy h:mm:ss tt",m:"MMMM d",M:"MMMM d",r:"ddd, dd MMM yyyy HH':'mm':'ss 'GMT'",R:"ddd, dd MMM yyyy HH':'mm':'ss 'GMT'",s:"yyyy'-'MM'-'dd'T'HH':'mm':'ss",t:"h:mm tt",T:"h:m:s tt",u:"yyyy'-'MM'-'dd HH':'mm':'ss'Z'",U:"dddd, MMMM d, yyyy h:mm:ss tt",y:"MMMM yyyy",Y:"MMMM yyyy"}};!function(M){M.negativeDataRegex=/^(('[^']+'|''|[^*#@0,.E])*)(\*.)?((([#,]*[0,]*0+)(\.0*[0-9]*#*)?)|([#,]*@+#*))(E\+?0+)?(('[^']+'|''|[^*#@0,.E])*)$/,M.customRegex=/^(('[^']+'|''|[^*#@0,.])*)(\*.)?((([0#,]*[0,]*[0#]*[0# ]*)(\.[0#]*)?)|([#,]*@+#*))(E\+?0+)?(('[^']+'|''|[^*#@0,.E])*)$/,M.latnParseRegex=/0|1|2|3|4|5|6|7|8|9/g;var t=/[0-9]/g;M.defaultCurrency="$";var e=["infinity","nan","group","decimal"],N=/G|M|L|H|c|'| a|yy|y|EEEE|E/g,i={G:"",M:"m",L:"m",H:"h",c:"d","'":'"'," a":" AM/PM",yy:"yy",y:"yyyy",EEEE:"dddd",E:"ddd"};M.dateConverterMapper=/dddd|ddd/gi;M.islamicRegex=/^islamic/;var g={sun:0,mon:1,tue:2,wed:3,thu:4,fri:5,sat:6};M.formatRegex=new H("(^[ncpae]{1})([0-1]?[0-9]|20)?$","i"),M.currencyFormatRegex=new H("(^[ca]{1})([0-1]?[0-9]|20)?$","i"),M.curWithoutNumberRegex=/(c|a)$/gi;var D={$:"isCurrency","%":"isPercent","-":"isNegative",0:"nlead",1:"nend"};function I(t,e,N,i,g){var D,I=N||"date";if(g)D=z({skeleton:t},g).format||z({skeleton:"d"},"en-US").format;else{if(-1!==M.basicPatterns.indexOf(t)){if(D=n(I+"Formats."+t,e),"dateTime"===I){var r=n("dateFormats."+t,e),j=n("timeFormats."+t,e);D=D.replace("{1}",r).replace("{0}",j)}}else D=n("dateTimeFormats.availableFormats."+t,e);A(D)&&"yMd"===t&&(D="M/d/y")}return D}function r(t,e,N,i){var g={},D=N||"gregorian";if(g.parserObject=f.getMainObject(t,e)||(C()?M.blazorDefaultObject:M.defaultObject),i)g.numericObject=n("numbers",g.parserObject);else{var I=C()?"dates":"dates.calendars."+D;g.dateObject=n(I,g.parserObject)}return g}function j(M,t,e,N){return n(M+"Formats-numberSystem-"+t+(N?".accounting":".standard"),e)||(N?n(M+"Formats-numberSystem-"+t+".standard",e):"")}function o(t){var e=t.match(M.dateConverterMapper);if(e&&C()){var N=3===e[0].length?"EEE":"EEEE";return t.replace(M.dateConverterMapper,N)}return t}function z(M,t){var e=M.format||M.skeleton,N=n((t||"en-US")+"."+e,Z);return N||(N=n("en-US."+e,Z)),N&&(N=o(N),M.format=N.replace(/tt/,"a")),M}function u(t){var e=t.match(M.formatRegex),N={},i=e[1].toUpperCase();return N.isAccount="A"===i,N.type=M.patternMatcher[""+i],t.length>1&&(N.fractionDigits=parseInt(e[2],10)),N}function a(e,N,i,g){var D=g?{}:{nlead:"",nend:""},I=e.match(M.customRegex);if(I){g||(D.nlead=y(I[1],i),D.nend=y(I[10],i),D.groupPattern=I[4]);var n=I[7];if(n&&N){var r=n.match(t);c(r)?D.minimumFraction=0:D.minimumFraction=r.length,D.maximumFraction=n.length-1}}return D}function y(t,e){return t?(t=t.replace(M.defaultCurrency,e),""===e?t.trim():t):""}function s(M,t,e,N){return N?"$":n("currencies."+t+(e?"."+e:".symbol"),M)||n("currencies."+t+".symbol-alt-narrow",M)||"$"}function E(t,N,i){var g={type:"decimal",minimumFractionDigits:0,maximumFractionDigits:0},D=t.match(M.customRegex);if(c(D)||""===D[5]&&"N/A"!==t)return g.type=void 0,g;g.nlead=D[1],g.nend=D[10];var I=D[6],n=!!I.match(/ $/g),r=-1!==I.replace(/ $/g,"").indexOf(" ");g.useGrouping=-1!==I.indexOf(",")||r,I=I.replace(/,/g,""),I=/\s$/.test(I)?I.replace(/ /g,""):I;var o=D[7];if(-1!==I.indexOf("0")&&(g.minimumIntegerDigits=I.length-I.indexOf("0")),c(o)||(g.minimumFractionDigits=o.lastIndexOf("0"),g.maximumFractionDigits=o.lastIndexOf("#"),-1===g.minimumFractionDigits&&(g.minimumFractionDigits=0),(-1===g.maximumFractionDigits||g.maximumFractionDigits<g.minimumFractionDigits)&&(g.maximumFractionDigits=g.minimumFractionDigits)),c(N)?T(g,O([g.nlead,g.nend],"%","%")):(N.isCustomFormat=!0,T(g,O([g.nlead,g.nend],"$",N.currencySymbol)),g.isCurrency||T(g,O([g.nlead,g.nend],"%",N.percentSymbol))),!c(i)){var z=j(g.type,N.numberMapper.numberSystem,i,!1);g.useGrouping&&(g.groupSeparator=r?" ":N.numberMapper.numberSymbols[e[2]],g.groupData=v.getGroupingDetails(z.split(";")[0])),g.nlead=g.nlead.replace(/'/g,""),g.nend=n?" "+g.nend.replace(/'/g,""):g.nend.replace(/'/g,"")}return g}function O(M,t,e){for(var N={nlead:M[0],nend:M[1]},i=0;i<2;i++){var g=M[parseInt(i.toString(),10)],I=g.indexOf(t);if(-1!==I&&(I<g.indexOf("'")||I>g.lastIndexOf("'"))){N[""+D[parseInt(i.toString(),10)]]=g.substr(0,I)+e+g.substr(I+1),N[""+D[""+t]]=!0,N.type=N.isCurrency?"currency":"percent";break}}return N}function L(M,t){if(-1!==M.indexOf(",")){var e=M.split(",");M=e[0]+n("numberMapper.numberSymbols.group",t)+e[1].replace(".",n("numberMapper.numberSymbols.decimal",t))}else M=M.replace(".",n("numberMapper.numberSymbols.decimal",t));return M}function l(M,t,e){M+=".";for(var N=0;N<t;N++)M+="0";if(t<e)for(var i=e-t,g=0;g<i;g++)M+="#";return M}function x(M,t){for(var e=M.split("."),N="",i=0;i<t;i++)N+="0";return e[1]?N+"."+e[1]:N}function S(M){var t=M.split("."),e=t[0],N=3-e.length%3;M="";for(var i=(e=(N&&1===N?"#":2===N?"##":"")+e).length-1;i>0;i-=3)M=","+e[i-2]+e[i-1]+e[parseInt(i.toString(),10)]+M;return M=M.slice(1),t[1]?M+"."+t[1]:M}M.dateParseRegex=/([a-z])\1*|'([^']|'')+'|''|./gi,M.basicPatterns=["short","medium","long","full"],M.defaultObject={dates:{calendars:{gregorian:{months:{"stand-alone":{abbreviated:{1:"Jan",2:"Feb",3:"Mar",4:"Apr",5:"May",6:"Jun",7:"Jul",8:"Aug",9:"Sep",10:"Oct",11:"Nov",12:"Dec"},narrow:{1:"J",2:"F",3:"M",4:"A",5:"M",6:"J",7:"J",8:"A",9:"S",10:"O",11:"N",12:"D"},wide:{1:"January",2:"February",3:"March",4:"April",5:"May",6:"June",7:"July",8:"August",9:"September",10:"October",11:"November",12:"December"}}},days:{"stand-alone":{abbreviated:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},narrow:{sun:"S",mon:"M",tue:"T",wed:"W",thu:"T",fri:"F",sat:"S"},short:{sun:"Su",mon:"Mo",tue:"Tu",wed:"We",thu:"Th",fri:"Fr",sat:"Sa"},wide:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"}}},dayPeriods:{format:{wide:{am:"AM",pm:"PM"}}},eras:{eraNames:{0:"Before Christ","0-alt-variant":"Before Common Era",1:"Anno Domini","1-alt-variant":"Common Era"},eraAbbr:{0:"BC","0-alt-variant":"BCE",1:"AD","1-alt-variant":"CE"},eraNarrow:{0:"B","0-alt-variant":"BCE",1:"A","1-alt-variant":"CE"}},dateFormats:{full:"EEEE, MMMM d, y",long:"MMMM d, y",medium:"MMM d, y",short:"M/d/yy"},timeFormats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},dateTimeFormats:{full:"{1} 'at' {0}",long:"{1} 'at' {0}",medium:"{1}, {0}",short:"{1}, {0}",availableFormats:{d:"d",E:"ccc",Ed:"d E",Ehm:"E h:mm a",EHm:"E HH:mm",Ehms:"E h:mm:ss a",EHms:"E HH:mm:ss",Gy:"y G",GyMMM:"MMM y G",GyMMMd:"MMM d, y G",GyMMMEd:"E, MMM d, y G",h:"h a",H:"HH",hm:"h:mm a",Hm:"HH:mm",hms:"h:mm:ss a",Hms:"HH:mm:ss",hmsv:"h:mm:ss a v",Hmsv:"HH:mm:ss v",hmv:"h:mm a v",Hmv:"HH:mm v",M:"L",Md:"M/d",MEd:"E, M/d",MMM:"LLL",MMMd:"MMM d",MMMEd:"E, MMM d",MMMMd:"MMMM d",ms:"mm:ss",y:"y",yM:"M/y",yMd:"M/d/y",yMEd:"E, M/d/y",yMMM:"MMM y",yMMMd:"MMM d, y",yMMMEd:"E, MMM d, y",yMMMM:"MMMM y"}}},islamic:{months:{"stand-alone":{abbreviated:{1:"Muh.",2:"Saf.",3:"Rab. I",4:"Rab. II",5:"Jum. I",6:"Jum. II",7:"Raj.",8:"Sha.",9:"Ram.",10:"Shaw.",11:"Dhuʻl-Q.",12:"Dhuʻl-H."},narrow:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12"},wide:{1:"Muharram",2:"Safar",3:"Rabiʻ I",4:"Rabiʻ II",5:"Jumada I",6:"Jumada II",7:"Rajab",8:"Shaʻban",9:"Ramadan",10:"Shawwal",11:"Dhuʻl-Qiʻdah",12:"Dhuʻl-Hijjah"}}},days:{"stand-alone":{abbreviated:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},narrow:{sun:"S",mon:"M",tue:"T",wed:"W",thu:"T",fri:"F",sat:"S"},short:{sun:"Su",mon:"Mo",tue:"Tu",wed:"We",thu:"Th",fri:"Fr",sat:"Sa"},wide:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"}}},dayPeriods:{format:{wide:{am:"AM",pm:"PM"}}},eras:{eraNames:{0:"AH"},eraAbbr:{0:"AH"},eraNarrow:{0:"AH"}},dateFormats:{full:"EEEE, MMMM d, y G",long:"MMMM d, y G",medium:"MMM d, y G",short:"M/d/y GGGGG"},timeFormats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},dateTimeFormats:{full:"{1} 'at' {0}",long:"{1} 'at' {0}",medium:"{1}, {0}",short:"{1}, {0}",availableFormats:{d:"d",E:"ccc",Ed:"d E",Ehm:"E h:mm a",EHm:"E HH:mm",Ehms:"E h:mm:ss a",EHms:"E HH:mm:ss",Gy:"y G",GyMMM:"MMM y G",GyMMMd:"MMM d, y G",GyMMMEd:"E, MMM d, y G",h:"h a",H:"HH",hm:"h:mm a",Hm:"HH:mm",hms:"h:mm:ss a",Hms:"HH:mm:ss",M:"L",Md:"M/d",MEd:"E, M/d",MMM:"LLL",MMMd:"MMM d",MMMEd:"E, MMM d",MMMMd:"MMMM d",ms:"mm:ss",y:"y G",yyyy:"y G",yyyyM:"M/y GGGGG",yyyyMd:"M/d/y GGGGG",yyyyMEd:"E, M/d/y GGGGG",yyyyMMM:"MMM y G",yyyyMMMd:"MMM d, y G",yyyyMMMEd:"E, MMM d, y G",yyyyMMMM:"MMMM y G",yyyyQQQ:"QQQ y G",yyyyQQQQ:"QQQQ y G"}}}},timeZoneNames:{hourFormat:"+HH:mm;-HH:mm",gmtFormat:"GMT{0}",gmtZeroFormat:"GMT"}},numbers:{currencies:{USD:{displayName:"US Dollar",symbol:"$","symbol-alt-narrow":"$"},EUR:{displayName:"Euro",symbol:"€","symbol-alt-narrow":"€"},GBP:{displayName:"British Pound","symbol-alt-narrow":"£"}},defaultNumberingSystem:"latn",minimumGroupingDigits:"1","symbols-numberSystem-latn":{decimal:".",group:",",list:";",percentSign:"%",plusSign:"+",minusSign:"-",exponential:"E",superscriptingExponent:"×",perMille:"‰",infinity:"∞",nan:"NaN",timeSeparator:":"},"decimalFormats-numberSystem-latn":{standard:"#,##0.###"},"percentFormats-numberSystem-latn":{standard:"#,##0%"},"currencyFormats-numberSystem-latn":{standard:"¤#,##0.00",accounting:"¤#,##0.00;(¤#,##0.00)"},"scientificFormats-numberSystem-latn":{standard:"#E0"}}},M.blazorDefaultObject={numbers:{mapper:{0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9"},mapperDigits:"0123456789",numberSymbols:{decimal:".",group:",",plusSign:"+",minusSign:"-",percentSign:"%",nan:"NaN",timeSeparator:":",infinity:"∞"},timeSeparator:":",currencySymbol:"$",currencypData:{nlead:"$",nend:"",groupSeparator:",",groupData:{primary:3},maximumFraction:2,minimumFraction:2},percentpData:{nlead:"",nend:"%",groupSeparator:",",groupData:{primary:3},maximumFraction:2,minimumFraction:2},percentnData:{nlead:"-",nend:"%",groupSeparator:",",groupData:{primary:3},maximumFraction:2,minimumFraction:2},currencynData:{nlead:"($",nend:")",groupSeparator:",",groupData:{primary:3},maximumFraction:2,minimumFraction:2},decimalnData:{nlead:"-",nend:"",groupData:{primary:3},maximumFraction:2,minimumFraction:2},decimalpData:{nlead:"",nend:"",groupData:{primary:3},maximumFraction:2,minimumFraction:2}},dates:{dayPeriods:{am:"AM",pm:"PM"},dateSeperator:"/",days:{abbreviated:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},short:{sun:"Su",mon:"Mo",tue:"Tu",wed:"We",thu:"Th",fri:"Fr",sat:"Sa"},wide:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"}},months:{abbreviated:{1:"Jan",2:"Feb",3:"Mar",4:"Apr",5:"May",6:"Jun",7:"Jul",8:"Aug",9:"Sep",10:"Oct",11:"Nov",12:"Dec"},wide:{1:"January",2:"February",3:"March",4:"April",5:"May",6:"June",7:"July",8:"August",9:"September",10:"October",11:"November",12:"December"}},eras:{1:"AD"}}},M.monthIndex={3:"abbreviated",4:"wide",5:"narrow",1:"abbreviated"},M.month="months",M.days="days",M.patternMatcher={C:"currency",P:"percent",N:"decimal",A:"currency",E:"scientific"},M.getResultantPattern=I,M.getDependables=r,M.getSymbolPattern=j,M.ConvertDateToWeekFormat=o,M.compareBlazorDateFormats=z,M.getProperNumericSkeleton=u,M.getFormatData=a,M.changeCurrencySymbol=y,M.getCurrencySymbol=s,M.customFormat=function(M,t,e){for(var N={},i=M.split(";"),g=["pData","nData","zeroData"],D=0;D<i.length;D++)N[""+g[parseInt(D.toString(),10)]]=E(i[parseInt(D.toString(),10)],t,e);return c(N.nData)&&(N.nData=T({},N.pData),N.nData.nlead=c(t)?"-"+N.nData.nlead:t.minusSymbol+N.nData.nlead),N},M.customNumberFormat=E,M.isCurrencyPercent=O,M.getDateSeparator=function(M){var t=(n("dateFormats.short",M)||"").match(/[dM]([^dM])[dM]/i);return t?t[1]:"/"},M.getActualDateTimeFormat=function(M,t,e,g){var D=r(e,M,t.calendar);C()&&(t=z(t,M));var j=t.format||I(t.skeleton,D.dateObject,t.type);if(g){if(j=j.replace(N,(function(M){return i[""+M]})),-1!==j.indexOf("z")){var o=j.match(/z/g).length,u=void 0,a={timeZone:{}};a.numMapper=f.getNumberMapper(D.parserObject,f.getNumberingSystem(e)),a.timeZone=n("dates.timeZoneNames",D.parserObject);var T=(new Date).getTimezoneOffset(),c=o<4?"+H;-H":a.timeZone.hourFormat;c=c.replace(/:/g,a.numMapper.timeSeparator),0===T?u=a.timeZone.gmtZeroFormat:(u=B.getTimeZoneValue(T,c),u=a.timeZone.gmtFormat.replace(/\{0\}/,u)),j=j.replace(/[z]+/,'"'+u+'"')}j=j.replace(/ $/,"")}return j},M.processSymbol=L,M.getActualNumberFormat=function(t,e,N,i){var g,D,I=r(N,t,"",!0),o={custom:!0},z=I.numericObject,c={},A=(e.format||"").match(M.currencyFormatRegex),y=M.formatRegex.test(e.format)?u(e.format||"N"):{},E={};if(A){E.numberMapper=C()?T({},I.numericObject):f.getNumberMapper(I.parserObject,f.getNumberingSystem(N),!0);var O=C()?n("currencySymbol",I.numericObject):s(I.numericObject,e.currency||b,e.altSymbol),p=j("currency",E.numberMapper.numberSystem,I.numericObject,/a/i.test(e.format)),w=(p=p.replace(/\u00A4/g,O)).split(";");c.hasNegativePattern=!!C()||w.length>1,c.nData=C()?n(y.type+"nData",z):a(w[1]||"-"+w[0],!0,O),c.pData=C()?n(y.type+"pData",z):a(w[0],!1,O),A[2]||e.minimumFractionDigits||e.maximumFractionDigits||(g=a(p.split(";")[0],!0,"",!0).minimumFraction)}if(M.formatRegex.test(e.format)||!e.format){if(T(o,u(e.format||"N")),o.custom=!1,D="###0",o.fractionDigits||e.minimumFractionDigits||e.maximumFractionDigits||g){o.fractionDigits&&(e.minimumFractionDigits=e.maximumFractionDigits=o.fractionDigits),D=l(D,g||o.fractionDigits||e.minimumFractionDigits||0,e.maximumFractionDigits||0)}if(e.minimumIntegerDigits&&(D=x(D,e.minimumIntegerDigits)),e.useGrouping&&(D=S(D)),"currency"===o.type||o.type&&C()){C()&&"currency"!==o.type&&(c.pData=n(o.type+"pData",z),c.nData=n(o.type+"nData",z));var h=D;D=c.pData.nlead+h+c.pData.nend,(c.hasNegativePattern||C())&&(D+=";"+c.nData.nlead+h+c.nData.nend)}"percent"!==o.type||C()||(D+=" %")}else D=e.format.replace(/'/g,'"');return Object.keys(E).length>0&&(D=i?D:L(D,E)),D},M.fractionDigitsPattern=l,M.minimumIntegerPattern=x,M.groupingPattern=S,M.getWeekData=function(M,t){var e="sun",N=n("supplemental.weekData.firstDay",t),i=M;return/en-/.test(i)&&(i=i.slice(3)),i=i.slice(0,2).toUpperCase()+i.substr(2),N&&(e=N[""+i]||N[i.slice(0,2)]||"sun"),g[""+e]},M.replaceBlazorCurrency=function(M,t,e){var N=n(e||"",k);if(t!==N)for(var i=0,g=M;i<g.length;i++){var D=g[i];D.nend=D.nend.replace(t,N),D.nlead=D.nlead.replace(t,N)}},M.getWeekOfYear=function(M,t){var e,N=new Date(M.getFullYear(),0,1),i=N.getDay();i=i>=0?i:i+7;var g=Math.floor((M.getTime()-N.getTime()-6e4*(M.getTimezoneOffset()-N.getTimezoneOffset()))/864e5)+1;if(i<4){if((e=Math.floor((g+i-t-1)/7)+1)>52){var D=new Date(M.getFullYear()+1,0,1).getDay();e=(D=D>=0?D:D+7)<4?1:53}}else e=Math.floor((g+i-t-1)/7);return e}}(G||(G={}));var W=/^(.*?):[ \t]*([^\r\n]*)$/gm,J=function(){function M(M,t,e,N){this.mode=!0,this.emitError=!0,this.options={},"string"==typeof M?(this.url=M,this.type=t?t.toUpperCase():"GET",this.mode=!!c(e)||e):"object"==typeof M&&(this.options=M,a(this,this.options)),this.type=this.type?this.type.toUpperCase():"GET",this.contentType=void 0!==this.contentType?this.contentType:N}return M.prototype.send=function(M){var t=this;this.data=c(M)?this.data:M;var e={cancel:!1,httpRequest:null};return new Promise((function(M,N){t.httpRequest=new XMLHttpRequest,t.httpRequest.onreadystatechange=function(){t.stateChange(M,N)},c(t.onLoad)||(t.httpRequest.onload=t.onLoad),c(t.onProgress)||(t.httpRequest.onprogress=t.onProgress),c(t.onAbort)||(t.httpRequest.onabort=t.onAbort),c(t.onError)||(t.httpRequest.onerror=t.onError),c(t.onUploadProgress)||(t.httpRequest.upload.onprogress=t.onUploadProgress),t.httpRequest.open(t.type,t.url,t.mode),c(t.data)||null===t.contentType||t.httpRequest.setRequestHeader("Content-Type",t.contentType||"application/json; charset=utf-8"),t.beforeSend&&(e.httpRequest=t.httpRequest,t.beforeSend(e)),e.cancel||t.httpRequest.send(c(t.data)?null:t.data)}))},M.prototype.successHandler=function(M){return this.onSuccess&&this.onSuccess(M,this),M},M.prototype.failureHandler=function(M){return this.onFailure&&this.onFailure(this.httpRequest),M},M.prototype.stateChange=function(M,t){var e=this.httpRequest.responseText;if(this.dataType&&"json"===this.dataType.toLowerCase())if(""===e)e=void 0;else try{e=JSON.parse(e)}catch(M){}4===this.httpRequest.readyState&&(this.httpRequest.status>=200&&this.httpRequest.status<=299||304===this.httpRequest.status?M(this.successHandler(e)):this.emitError?t(new Error(this.failureHandler(this.httpRequest.statusText))):M())},M.prototype.getResponseHeader=function(M){for(var t={},e=W.exec(this.httpRequest.getAllResponseHeaders());e;)t[e[1].toLowerCase()]=e[2],e=W.exec(this.httpRequest.getAllResponseHeaders());var N=t[M.toLowerCase()];return c(N)?null:N},M}(),K=function(){function M(M,t,e){this.type="GET",this.emitError=!0,"string"==typeof M?(this.url=M,this.type=c(t)?this.type:t.toUpperCase(),this.contentType=e):z(M)&&Object.keys(M).length>0&&a(this,M),this.contentType=c(this.contentType)?"application/json; charset=utf-8":this.contentType}return M.prototype.send=function(M){var t=this,e={"application/json":"json","multipart/form-data":"formData","application/octet-stream":"blob","application/x-www-form-urlencoded":"formData"};try{c(this.fetchRequest)&&"GET"===this.type?this.fetchRequest=new Request(this.url,{method:this.type}):c(this.fetchRequest)&&(this.data=c(M)?this.data:M,this.fetchRequest=new Request(this.url,{method:this.type,headers:{"Content-Type":this.contentType},body:this.data}));var N={cancel:!1,fetchRequest:this.fetchRequest};return this.triggerEvent(this.beforeSend,N),N.cancel?null:(this.fetchResponse=fetch(this.fetchRequest),this.fetchResponse.then((function(M){if(t.triggerEvent(t.onLoad,M),!M.ok)throw M;for(var N="text",i=0,g=Object.keys(e);i<g.length;i++){var D=g[i];M.headers.get("Content-Type")&&-1!==M.headers.get("Content-Type").indexOf(D)&&(N=e[D])}return M[N]()})).then((function(M){return t.triggerEvent(t.onSuccess,M,t),M})).catch((function(M){var e={};return t.emitError&&(t.triggerEvent(t.onFailure,M),e=Promise.reject(M)),e})))}catch(M){return M}},M.prototype.triggerEvent=function(M,t,e){c(M)||"function"!=typeof M||M(t,e)},M}(),X=/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini|mobile/i,V=/msie|trident/i,_=/Trident\/7\./,$=/(ipad|iphone|ipod touch)/i,q=/(ipad|iphone|ipod touch);.*os 7_\d|(ipad|iphone|ipod touch);.*os 8_\d/i,MM=/android/i,tM=/trident|windows phone|edge/i,eM=/(version)[ /]([\w.]+)/i,NM={OPERA:/(opera|opr)(?:.*version|)[ /]([\w.]+)/i,EDGE:/(edge)(?:.*version|)[ /]([\w.]+)/i,CHROME:/(chrome|crios)[ /]([\w.]+)/i,PANTHOMEJS:/(phantomjs)[ /]([\w.]+)/i,SAFARI:/(safari)[ /]([\w.]+)/i,WEBKIT:/(webkit)[ /]([\w.]+)/i,MSIE:/(msie|trident) ([\w.]+)/i,MOZILLA:/(mozilla)(?:.*? rv:([\w.]+)|)/i};"undefined"!=typeof window&&(window.browserDetails=window.browserDetails||{});var iM=function(){function M(){}return M.extractBrowserDetail=function(){for(var t={culture:{}},e=[],N=0,i=Object.keys(NM);N<i.length;N++){var g=i[N];if(e=M.userAgent.match(NM[""+g])){if(t.name="opr"===e[1].toLowerCase()?"opera":e[1].toLowerCase(),t.name="crios"===e[1].toLowerCase()?"chrome":t.name,t.version=e[2],t.culture.name=t.culture.language=navigator.language,M.userAgent.match(_)){t.name="msie";break}var D=M.userAgent.match(eM);"safari"===t.name&&D&&(t.version=D[2]);break}}return t},M.getEvent=function(t){var e={start:{isPointer:"pointerdown",isTouch:"touchstart",isDevice:"mousedown"},move:{isPointer:"pointermove",isTouch:"touchmove",isDevice:"mousemove"},end:{isPointer:"pointerup",isTouch:"touchend",isDevice:"mouseup"},cancel:{isPointer:"pointercancel",isTouch:"touchcancel",isDevice:"mouseleave"}};return M.isPointer?e[""+t].isPointer:M.isTouch?e[""+t].isTouch+(M.isDevice?"":" "+e[""+t].isDevice):e[""+t].isDevice},M.getTouchStartEvent=function(){return M.getEvent("start")},M.getTouchEndEvent=function(){return M.getEvent("end")},M.getTouchMoveEvent=function(){return M.getEvent("move")},M.getTouchCancelEvent=function(){return M.getEvent("cancel")},M.isSafari=function(){return M.isDevice&&M.isIos&&M.isTouch&&"undefined"!=typeof window&&-1===window.navigator.userAgent.toLowerCase().indexOf("iphone")&&window.navigator.userAgent.toLowerCase().indexOf("safari")>-1},M.getValue=function(t,e){var N="undefined"!=typeof window?window.browserDetails:{};return"undefined"!=typeof navigator&&"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1&&!0===M.isTouch&&!NM.CHROME.test(navigator.userAgent)&&(N.isIos=!0,N.isDevice=!0,N.isTouch=!0,N.isPointer=!0,N.isPointer="pointerEnabled"in window.navigator),"undefined"!=typeof window&&window.Capacitor&&"ios"===window.Capacitor.getPlatform()&&(N.isPointer=!1),void 0===N[""+t]?N[""+t]=e.test(M.userAgent):N[""+t]},Object.defineProperty(M,"userAgent",{get:function(){return M.uA},set:function(t){M.uA=t,window.browserDetails={}},enumerable:!0,configurable:!0}),Object.defineProperty(M,"info",{get:function(){return A(window.browserDetails.info)?window.browserDetails.info=M.extractBrowserDetail():window.browserDetails.info},enumerable:!0,configurable:!0}),Object.defineProperty(M,"isIE",{get:function(){return M.getValue("isIE",V)},enumerable:!0,configurable:!0}),Object.defineProperty(M,"isTouch",{get:function(){return A(window.browserDetails.isTouch)?window.browserDetails.isTouch="ontouchstart"in window.navigator||window&&window.navigator&&window.navigator.maxTouchPoints>0||"ontouchstart"in window:window.browserDetails.isTouch},enumerable:!0,configurable:!0}),Object.defineProperty(M,"isPointer",{get:function(){return A(window.browserDetails.isPointer)?window.browserDetails.isPointer="pointerEnabled"in window.navigator:window.browserDetails.isPointer},enumerable:!0,configurable:!0}),Object.defineProperty(M,"isMSPointer",{get:function(){return A(window.browserDetails.isMSPointer)?window.browserDetails.isMSPointer="msPointerEnabled"in window.navigator:window.browserDetails.isMSPointer},enumerable:!0,configurable:!0}),Object.defineProperty(M,"isDevice",{get:function(){return M.getValue("isDevice",X)},enumerable:!0,configurable:!0}),Object.defineProperty(M,"isIos",{get:function(){return M.getValue("isIos",$)},enumerable:!0,configurable:!0}),Object.defineProperty(M,"isIos7",{get:function(){return M.getValue("isIos7",q)},enumerable:!0,configurable:!0}),Object.defineProperty(M,"isAndroid",{get:function(){return M.getValue("isAndroid",MM)},enumerable:!0,configurable:!0}),Object.defineProperty(M,"isWebView",{get:function(){return A(window.browserDetails.isWebView)?(window.browserDetails.isWebView=!(A(window.cordova)&&A(window.PhoneGap)&&A(window.phonegap)&&"object"!==window.forge),window.browserDetails.isWebView):window.browserDetails.isWebView},enumerable:!0,configurable:!0}),Object.defineProperty(M,"isWindows",{get:function(){return M.getValue("isWindows",tM)},enumerable:!0,configurable:!0}),Object.defineProperty(M,"touchStartEvent",{get:function(){return A(window.browserDetails.touchStartEvent)?window.browserDetails.touchStartEvent=M.getTouchStartEvent():window.browserDetails.touchStartEvent},enumerable:!0,configurable:!0}),Object.defineProperty(M,"touchMoveEvent",{get:function(){return A(window.browserDetails.touchMoveEvent)?window.browserDetails.touchMoveEvent=M.getTouchMoveEvent():window.browserDetails.touchMoveEvent},enumerable:!0,configurable:!0}),Object.defineProperty(M,"touchEndEvent",{get:function(){return A(window.browserDetails.touchEndEvent)?window.browserDetails.touchEndEvent=M.getTouchEndEvent():window.browserDetails.touchEndEvent},enumerable:!0,configurable:!0}),Object.defineProperty(M,"touchCancelEvent",{get:function(){return A(window.browserDetails.touchCancelEvent)?window.browserDetails.touchCancelEvent=M.getTouchCancelEvent():window.browserDetails.touchCancelEvent},enumerable:!0,configurable:!0}),M.uA="undefined"!=typeof navigator?navigator.userAgent:"",M}(),gM=function(){function M(){}return M.addOrGetEventData=function(M){return"__eventList"in M?M.__eventList.events:(M.__eventList={},M.__eventList.events=[])},M.add=function(t,e,N,i,g){var D,I=M.addOrGetEventData(t);D=g?s(N,g):N,i&&(D=D.bind(i));for(var n=e.split(" "),r=0;r<n.length;r++)I.push({name:n[parseInt(r.toString(),10)],listener:N,debounce:D}),iM.isIE?t.addEventListener(n[parseInt(r.toString(),10)],D):t.addEventListener(n[parseInt(r.toString(),10)],D,{passive:!1});return D},M.remove=function(t,e,N){for(var i=M.addOrGetEventData(t),g=e.split(" "),D=function(M){var e,D=-1;i&&0!==i.length&&i.some((function(t,i){return t.name===g[parseInt(M.toString(),10)]&&t.listener===N&&(D=i,e=t.debounce,!0)})),-1!==D&&i.splice(D,1),e&&t.removeEventListener(g[parseInt(M.toString(),10)],e)},I=0;I<g.length;I++)D(I)},M.clearEvents=function(t){for(var e=M.addOrGetEventData(t),N=T([],void 0,e),i=0;i<N.length;i++){var g=N[parseInt(i.toString(),10)];t.removeEventListener(g.name,g.debounce),e.shift()}},M.trigger=function(t,e,N){for(var i=0,g=M.addOrGetEventData(t);i<g.length;i++){var D=g[i];D.name===e&&D.debounce.call(this,N)}},M}(),DM=function(){return DM=Object.assign||function(M){for(var t,e=1,N=arguments.length;e<N;e++)for(var i in t=arguments[e])Object.prototype.hasOwnProperty.call(t,i)&&(M[i]=t[i]);return M},DM.apply(this,arguments)},IM=/^svg|^path|^g/;function nM(M,t){var e=IM.test(M)?document.createElementNS("http://www.w3.org/2000/svg",M):document.createElement(M);return void 0===t||(e.innerHTML=t.innerHTML?t.innerHTML:"",void 0!==t.className&&(e.className=t.className),void 0!==t.id&&(e.id=t.id),void 0!==t.styles&&(e.style.cssText=t.styles),void 0!==t.attrs&&sM(e,t.attrs)),e}function rM(M,t){var e=M.style.cssText.split(";").reduce((function(M,t){var e=t.split(":"),N=e[0],i=e[1];return N&&i&&(M[N.trim()]=i.trim()),M}),{}),N=t.split(";").reduce((function(M,t){var e=t.split(":"),N=e[0],i=e[1];return N&&i&&(M[N.trim()]=i.trim()),M}),{}),i=document.createElement("div");Object.keys(DM({},e,N)).forEach((function(M){i.style.setProperty(M,N[M]||e[M])})),M.style.cssText=i.style.cssText}function jM(M,t){for(var e=zM(t),N=RegExp,i=0,g=M;i<g.length;i++)for(var D=g[i],I=0,j=e;I<j.length;I++){var o=j[I];if(z(D)){var u=n("attributes.className",D);c(u)?r("attributes.className",o,D):new N("\\b"+o+"\\b","i").test(u)||r("attributes.className",u+" "+o,D)}else D.classList.contains(o)||D.classList.add(o)}return M}function oM(M,t){for(var e=zM(t),N=0,i=M;N<i.length;N++){var g=i[N],D=z(g);if(D?n("attributes.className",g):""!==g.className)for(var I=0,j=e;I<j.length;I++){var o=j[I];if(D){var u=n("attributes.className",g).split(" "),a=u.indexOf(o);-1!==a&&u.splice(a,1),r("attributes.className",u.join(" "),g)}else g.classList.remove(o)}}return M}function zM(M){var t=[];return"string"==typeof M?t.push(M):t=M,t}function uM(M){var t=M;return""===t.style.visibility&&t.offsetWidth>0}function aM(M,t,e){for(var N=document.createDocumentFragment(),i=0,g=M;i<g.length;i++){var D=g[i];N.appendChild(D)}return t.insertBefore(N,t.firstElementChild),e&&cM(t),M}function TM(M,t,e){var N=document.createDocumentFragment();if(M instanceof NodeList)for(;M.length>0;)N.appendChild(M[0]);else for(var i=0,g=M;i<g.length;i++){var D=g[i];N.appendChild(D)}return t.appendChild(N),e&&cM(t),M}function cM(M){M.querySelectorAll("script").forEach((function(M){var t=document.createElement("script");t.text=M.innerHTML,document.head.appendChild(t),AM(t)}))}function AM(M){var t=M.parentNode;if(t)return t.removeChild(M)}function yM(M){var t=M.parentNode;gM.clearEvents(M),t.removeChild(M)}function sM(M,t){for(var e=M,N=0,i=Object.keys(t);N<i.length;N++){var g=i[N];if(z(e)){var D=g;"tabindex"===g&&(D="tabIndex"),e.attributes[""+D]=t[""+g]}else e.setAttribute(g,t[""+g])}return e}function EM(M,t,e){return void 0===t&&(t=document),M=LM(M),t.querySelector(M)}function OM(M,t,e){return void 0===t&&(t=document),M=LM(M),t.querySelectorAll(M)}function LM(M){var t=/(!|"|\$|%|&|'|\(|\)|\*|\/|:|;|<|=|\?|@|\]|\^|`|{|}|\||\+|~)/g;if(M.match(/#[0-9]/g)||M.match(t)){for(var e=M.split(","),N=0;N<e.length;N++){for(var i=e[parseInt(N.toString(),10)].split(" "),g=0;g<i.length;g++)if(i[parseInt(g.toString(),10)].indexOf("#")>-1&&!i[parseInt(g.toString(),10)].match(/\[.*\]/)){var D=i[parseInt(g.toString(),10)].split("#");if(D[1].match(/^\d/)||D[1].match(t)){var I=i[parseInt(g.toString(),10)].split(".");I[0]=I[0].replace(/#/,"[id='")+"']",i[parseInt(g.toString(),10)]=I.join(".")}}e[parseInt(N.toString(),10)]=i.join(" ")}return e.join(",")}return M}function lM(M,t){var e=M;if("function"==typeof e.closest)return e.closest(t);for(;e&&1===e.nodeType;){if(wM(e,t))return e;e=e.parentNode}return null}function xM(M){for(var t=[],e=0,N=Array.prototype.slice.call(M.parentNode.childNodes);e<N.length;e++){var i=N[e];i.nodeType===Node.ELEMENT_NODE&&M!==i&&t.push(i)}return t}function SM(M,t,e){var N,i=z(M);return c(N=i?n("attributes."+t,M):M.getAttribute(t))&&e&&(i?M.attributes[""+t]=e:M.setAttribute(t,e.toString()),N=e),N}function pM(M,t){void 0!==t&&Object.keys(t).forEach((function(e){M.style[""+e]=t[""+e]}))}function CM(M,t,e){jM([M],t),oM([M],e)}function wM(M,t){var e=M.matches||M.msMatchesSelector||M.webkitMatchesSelector;return e?e.call(M,t):-1!==[].indexOf.call(document.querySelectorAll(t),M)}function hM(M,t){M.innerHTML=t}function dM(M,t){return z(M)?new RegExp("\\b"+t+"\\b","i").test(M.attributes.className):M.classList.contains(t)}function mM(M,t){return z(M)?t?T({},{},M,!0):void 0:M.cloneNode(t)}var UM,QM=function(){function M(M){this.ranArray=[],this.boundedEvents={},c(M)||(this.context=M)}return M.prototype.on=function(M,t,e,N){if(!c(t)){var i=e||this.context;this.notExist(M)?this.boundedEvents[""+M]=[{handler:t,context:i,id:N}]:c(N)?this.isHandlerPresent(this.boundedEvents[""+M],t)||this.boundedEvents[""+M].push({handler:t,context:i}):-1===this.ranArray.indexOf(N)&&(this.ranArray.push(N),this.boundedEvents[""+M].push({handler:t,context:i,id:N}))}},M.prototype.off=function(M,t,e){if(!this.notExist(M)){var N=n(M,this.boundedEvents);if(t){for(var i=0;i<N.length;i++)if(e){if(N[parseInt(i.toString(),10)].id===e){N.splice(i,1);var g=this.ranArray.indexOf(e);-1!==g&&this.ranArray.splice(g,1);break}}else if(t===N[parseInt(i.toString(),10)].handler){N.splice(i,1);break}}else delete this.boundedEvents[""+M]}},M.prototype.notify=function(M,t,e,N){if(this.notExist(M))e&&e.call(this,t);else{t&&(t.name=M);var i=n(M,this.boundedEvents).slice(0);if(window.Blazor)return this.blazorCallback(i,t,e,N,0);for(var g=0,D=i;g<D.length;g++){var I=D[g];I.handler.call(I.context,t)}e&&e.call(this,t)}},M.prototype.blazorCallback=function(M,t,e,N,i){var g=this,D=i===M.length-1;if(i<M.length){var I=M[parseInt(i.toString(),10)],n=I.handler.call(I.context,t);if(n&&"function"==typeof n.then){if(!e)return n;n.then((function(n){if(n="string"==typeof n&&g.isJson(n)?JSON.parse(n,g.dateReviver):n,T(t,t,n,!0),!e||!D)return g.blazorCallback(M,t,e,N,i+1);e.call(I.context,t)})).catch((function(M){N&&N.call(I.context,"string"==typeof M&&g.isJson(M)?JSON.parse(M,g.dateReviver):M)}))}else{if(!e||!D)return this.blazorCallback(M,t,e,N,i+1);e.call(I.context,t)}}},M.prototype.dateReviver=function(M,t){return C&&"string"==typeof t&&null!==t.match(/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}/)?new Date(t):t},M.prototype.isJson=function(M){try{JSON.parse(M)}catch(M){return!1}return!0},M.prototype.destroy=function(){this.boundedEvents=this.context=void 0},M.prototype.offIntlEvents=function(){var M=this.boundedEvents.notifyExternalChange;if(M){for(var t=0;t<M.length;t++){var e=M[parseInt(t.toString(),10)].context;e&&e.detectFunction&&e.randomId&&e.isReactMock&&(this.off("notifyExternalChange",e.detectFunction,e.randomId),t--)}this.boundedEvents.notifyExternalChange.length||delete this.boundedEvents.notifyExternalChange}},M.prototype.notExist=function(M){return!1===Object.prototype.hasOwnProperty.call(this.boundedEvents,M)||this.boundedEvents[""+M].length<=0},M.prototype.isHandlerPresent=function(M,t){for(var e=0,N=M;e<N.length;e++){if(N[e].handler===t)return!0}return!1},M}(),YM=new RegExp("]"),fM=function(){function M(M,t){this.isRendered=!1,this.isComplexArraySetter=!1,this.isServerRendered=!1,this.allowServerDataBinding=!0,this.isProtectedOnChange=!0,this.properties={},this.changedProperties={},this.oldProperties={},this.bulkChanges={},this.refreshing=!1,this.ignoreCollectionWatch=!1,this.finalUpdate=function(){},this.childChangedProperties={},this.modelObserver=new QM(this),A(t)||(this.element="string"==typeof t?document.querySelector(t):t,c(this.element)||(this.isProtectedOnChange=!1,this.addInstance())),A(M)||this.setProperties(M,!0),this.isDestroyed=!1}return M.prototype.setProperties=function(M,t){var e=this.isProtectedOnChange;this.isProtectedOnChange=!!t,a(this,M),!0!==t?(a(this.changedProperties,M),this.dataBind()):C()&&this.isRendered&&this.serverDataBind(M),this.finalUpdate(),this.changedProperties={},this.oldProperties={},this.isProtectedOnChange=e},M.callChildDataBind=function(M,t){for(var e=0,N=Object.keys(M);e<N.length;e++){var i=N[e];if(t[""+i]instanceof Array)for(var g=0,D=t[""+i];g<D.length;g++){var I=D[g];void 0!==I.dataBind&&I.dataBind()}else t[""+i].dataBind()}},M.prototype.clearChanges=function(){this.finalUpdate(),this.changedProperties={},this.oldProperties={},this.childChangedProperties={}},M.prototype.dataBind=function(){if(M.callChildDataBind(this.childChangedProperties,this),Object.getOwnPropertyNames(this.changedProperties).length){var t=this.isProtectedOnChange,e=this.changedProperties,N=this.oldProperties;this.clearChanges(),this.isProtectedOnChange=!0,this.onPropertyChanged(e,N),this.isProtectedOnChange=t}},M.prototype.serverDataBind=function(M){if(C()){M=M||{},T(this.bulkChanges,{},M,!0);var t="sfBlazor";this.allowServerDataBinding&&window[""+t].updateModel&&(window[""+t].updateModel(this),this.bulkChanges={})}},M.prototype.saveChanges=function(M,t,e){if(C()){var N={};N[""+M]=t,this.serverDataBind(N)}this.isProtectedOnChange||(this.oldProperties[""+M]=e,this.changedProperties[""+M]=t,this.finalUpdate(),this.finalUpdate=I(this.dataBind.bind(this)))},M.prototype.addEventListener=function(M,t){this.modelObserver.on(M,t)},M.prototype.removeEventListener=function(M,t){this.modelObserver.off(M,t)},M.prototype.trigger=function(M,t,e,N){var i=this;if(!0!==this.isDestroyed){var g=this.isProtectedOnChange;this.isProtectedOnChange=!1;var D=this.modelObserver.notify(M,t,e,N);if(YM.test(M)){var I=n(M,this);if(I){if(window.Blazor){var r=I.call(this,t);r&&"function"==typeof r.then?e?r.then((function(M){e&&(M="string"==typeof M&&i.modelObserver.isJson(M)?JSON.parse(M):M,e.call(i,M))})).catch((function(M){N&&(M="string"==typeof M&&i.modelObserver.isJson(M)?JSON.parse(M):M,N.call(i,M))})):D=r:e&&e.call(this,t)}else I.call(this,t),e&&e.call(this,t)}else e&&e.call(this,t)}return this.isProtectedOnChange=g,D}},M.prototype.addInstance=function(){var M="e-"+this.getModuleName().toLowerCase();jM([this.element],["e-lib",M]),c(this.element.ej2_instances)?r("ej2_instances",[this],this.element):this.element.ej2_instances.push(this)},M.prototype.destroy=function(){var M=this;this.element.ej2_instances=this.element.ej2_instances?this.element.ej2_instances.filter((function(t){return UM?UM(t)!==UM(M):t!==M})):[],oM([this.element],["e-"+this.getModuleName()]),0===this.element.ej2_instances.length&&oM([this.element],["e-lib"]),this.clearChanges(),this.modelObserver.destroy(),this.isDestroyed=!0},M}();function kM(M,t){var e,N,i="string"==typeof M?document.getElementById(M):M;if(i&&i.ej2_instances)for(N=0;N<i.ej2_instances.length;N++){if(e=i.ej2_instances[parseInt(N.toString(),10)],"string"==typeof t){if(t===e.getModuleName())return e}else if(e instanceof t)return e}}function bM(M){for(var t=[].slice.call(M.getElementsByClassName("e-control")),e=0;e<t.length;e++){var N=t[parseInt(e.toString(),10)].classList[1].split("e-")[1],i=kM(t[parseInt(e.toString(),10)],N);A(i)||i.destroy()}}var vM=function(M){UM=M};function BM(M,t,e,N){return Object.prototype.hasOwnProperty.call(M.properties,t)&&M.properties[""+t]instanceof N||(M.properties[""+t]=D(N,[M,t,e])),M.properties[""+t]}function PM(M,t,e,N,i,g){for(var I=[],n=e?e.length:0,r=0;r<n;r++){var j=N;if(g&&(j=N(e[parseInt(r.toString(),10)],M)),i){var o=D(j,[M,t,{},!0]);o.setProperties(e[parseInt(r.toString(),10)],!0),I.push(o)}else I.push(D(j,[M,t,e[parseInt(r.toString(),10)],!1]))}return I}function FM(M,t){return function(){return Object.prototype.hasOwnProperty.call(this.properties,t)||(this.properties[""+t]=M),this.properties[""+t]}}function RM(M,t){return function(e){if(this.properties[""+t]!==e){var N=Object.prototype.hasOwnProperty.call(this.properties,t)?this.properties[""+t]:M;this.saveChanges(t,e,N),this.properties[""+t]=e}}}function GM(M,t,e){return function(){return BM(this,t,M,e)}}function HM(M,t,e){return function(N){BM(this,t,M,e).setProperties(N)}}function ZM(M,t,e){return function(){var N=e({});return Object.prototype.hasOwnProperty.call(this.properties,t)?this.properties[""+t]:BM(this,t,M,N)}}function WM(M,t,e){return function(N){var i=e(N,this);BM(this,t,M,i).setProperties(N)}}function JM(M,t,e){return function(){var N=this;if(!Object.prototype.hasOwnProperty.call(this.properties,t)){var i=PM(this,t,M,e,!1);this.properties[""+t]=i}var g=void 0!==this.controlParent&&this.controlParent.ignoreCollectionWatch||this.ignoreCollectionWatch;return Object.prototype.hasOwnProperty.call(this.properties[""+t],"push")||g||["push","pop"].forEach((function(M){var i={value:_M(M,t,e,N.properties[""+t]).bind(N),configurable:!0};Object.defineProperty(N.properties[""+t],M,i)})),Object.prototype.hasOwnProperty.call(this.properties[""+t],"isComplexArray")||Object.defineProperty(this.properties[""+t],"isComplexArray",{value:!0}),this.properties[""+t]}}function KM(M,t,e){return function(N){this.isComplexArraySetter=!0;var i=PM(this,t,M,e,!1),g=PM(this,t,N,e,!0);this.isComplexArraySetter=!1,this.saveChanges(t,g,i),this.properties[""+t]=g}}function XM(M,t,e){return function(N){var i=Object.prototype.hasOwnProperty.call(this.properties,t)?this.properties[""+t]:M,g=PM(this,t,N,e,!0,!0);this.saveChanges(t,g,i),this.properties[""+t]=g}}function VM(M,t,e){return function(){var N=e({});if(!Object.prototype.hasOwnProperty.call(this.properties,t)){var i=PM(this,t,M,N,!1);this.properties[""+t]=i}return this.properties[""+t]}}function _M(M,t,e,N){return function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];var g=this.propName?this.getParentKey()+"."+t+"-":t+"-";switch(M){case"push":for(var D=0;D<e.length;D++){var I=e[parseInt(D.toString(),10)];Array.prototype[""+M].apply(N,[I]);var n=$M(g+(N.length-1),I,!this.controlParent,M);this.serverDataBind(n,e[parseInt(D.toString(),10)],!1,M)}break;case"pop":Array.prototype[""+M].apply(N);n=$M(g+N.length,null,!this.controlParent,M);this.serverDataBind(n,{ejsAction:"pop"},!1,M)}return N}}function $M(M,t,e,N){var i=M;if(e&&((i={})[""+M]=t,t&&"object"==typeof t)){i[""+M].ejsAction=N}return i}function qM(M){return function(t,e){var N={set:RM(M,e),get:FM(M,e),enumerable:!0,configurable:!0};Object.defineProperty(t,e,N),Dt(t,e,"prop",M)}}function Mt(M,t){return