Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@progress/kendo-react-intl

Package Overview
Dependencies
Maintainers
1
Versions
1255
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@progress/kendo-react-intl - npm Package Compare versions

Comparing version 2.3.0-dev.201810151602 to 2.3.0-dev.201810161345

2

dist/cdn/js/kendo-react-intl.js

@@ -1,1 +0,1 @@

!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("prop-types"),require("react")):"function"==typeof define&&define.amd?define(["prop-types","react"],r):"object"==typeof exports?exports.KendoReactIntl=r(require("prop-types"),require("react")):e.KendoReactIntl=r(e.PropTypes,e.React)}(window,function(e,r){return function(e){var r={};function t(n){if(r[n])return r[n].exports;var a=r[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,t),a.l=!0,a.exports}return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var a in e)t.d(n,a,function(r){return e[r]}.bind(null,a));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s=6)}([function(r,t){r.exports=e},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t(5),a=function(){function e(e){this.locale=e}return e.prototype.format=function(e){for(var r=[],t=1;t<arguments.length;t++)r[t-1]=arguments[t];return 1===r.length&&Array.isArray(r[0])?n.format(e,r[0],this.locale):n.format(e,r,this.locale)},e.prototype.formatDate=function(e,r){return n.formatDate(e,r,this.locale)},e.prototype.toString=function(e,r){return n.toString(e,r,this.locale)},e.prototype.parseNumber=function(e,r){return n.parseNumber(e,this.locale,r)},e.prototype.parseDate=function(e,r){return n.parseDate(e,r,this.locale)},e.prototype.formatNumber=function(e,r){return n.formatNumber(e,r,this.locale)},e.prototype.dateFieldName=function(e){return n.dateFieldName(e,this.locale)},e.prototype.dateFormatNames=function(e){return n.dateFormatNames(this.locale,e)},e.prototype.splitDateFormat=function(e){return n.splitDateFormat(e,this.locale)},e.prototype.numberSymbols=function(){return n.numberSymbols(this.locale)},e.prototype.firstDay=function(){return n.firstDay(this.locale)},e}();r.IntlService=a},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t(4),a=function(){function e(e){this.language=e}return e.prototype.toLanguageString=function(e,r){return this.language&&n.messages[this.language]&&n.messages[this.language].hasOwnProperty(e)?n.messages[this.language][e]:r},e}();r.LocalizationService=a},function(e,t){e.exports=r},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.messages=Object.create({})},function(e,r,t){"use strict";t.r(r);var n={en:{name:"en",identity:{version:{_number:"$Revision: 12418 $",_cldrVersion:"29"},language:"en"},territory:"US",numbers:{symbols:{decimal:".",group:",",list:";",percentSign:"%",plusSign:"+",minusSign:"-",exponential:"E",superscriptingExponent:"×",perMille:"‰",infinity:"∞",nan:"NaN",timeSeparator:":"},decimal:{patterns:["n"],groupSize:[3]},scientific:{patterns:["nEn"],groupSize:[]},percent:{patterns:["n%"],groupSize:[3]},currency:{patterns:["$n"],groupSize:[3],"unitPattern-count-one":"n $","unitPattern-count-other":"n $"},currencies:{BGN:{displayName:"Bulgarian Lev","displayName-count-one":"Bulgarian lev","displayName-count-other":"Bulgarian leva",symbol:"BGN"},EUR:{displayName:"Euro","displayName-count-one":"euro","displayName-count-other":"euros",symbol:"€","symbol-alt-narrow":"€"},USD:{displayName:"US Dollar","displayName-count-one":"US dollar","displayName-count-other":"US dollars",symbol:"$","symbol-alt-narrow":"$"}},localeCurrency:"USD",accounting:{patterns:["$n","($n)"],groupSize:[3]}},calendar:{gmtFormat:"GMT{0}",gmtZeroFormat:"GMT",patterns:{d:"M/d/y",D:"EEEE, MMMM d, y",m:"MMM d",M:"MMMM d",y:"MMM y",Y:"MMMM y",F:"EEEE, MMMM d, y h:mm:ss a",g:"M/d/y h:mm a",G:"M/d/y h:mm:ss a",t:"h:mm a",T:"h:mm:ss a",s:"yyyy'-'MM'-'dd'T'HH':'mm':'ss",u:"yyyy'-'MM'-'dd HH':'mm':'ss'Z'"},dateTimeFormats:{full:"{1} 'at' {0}",long:"{1} 'at' {0}",medium:"{1}, {0}",short:"{1}, {0}",availableFormats:{Bh:"h B",Bhm:"h:mm B",Bhms:"h:mm:ss B",d:"d",E:"ccc",EBhm:"E h:mm B",EBhms:"E h:mm:ss B",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","MMMMW-count-one":"'week' W 'of' MMMM","MMMMW-count-other":"'week' W 'of' MMMM",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",yQQQ:"QQQ y",yQQQQ:"QQQQ y","yw-count-one":"'week' w 'of' Y","yw-count-other":"'week' w 'of' Y"}},timeFormats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},dateFormats:{full:"EEEE, MMMM d, y",long:"MMMM d, y",medium:"MMM d, y",short:"M/d/yy"},days:{format:{abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},"stand-alone":{abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]}},months:{format:{abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},"stand-alone":{abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]}},quarters:{format:{abbreviated:["Q1","Q2","Q3","Q4"],narrow:["1","2","3","4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},"stand-alone":{abbreviated:["Q1","Q2","Q3","Q4"],narrow:["1","2","3","4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]}},dayPeriods:{format:{abbreviated:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"in the morning",afternoon1:"in the afternoon",evening1:"in the evening",night1:"at night"},narrow:{midnight:"mi",am:"a","am-alt-variant":"am",noon:"n",pm:"p","pm-alt-variant":"pm",morning1:"in the morning",afternoon1:"in the afternoon",evening1:"in the evening",night1:"at night"},wide:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"in the morning",afternoon1:"in the afternoon",evening1:"in the evening",night1:"at night"}},"stand-alone":{abbreviated:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"morning",afternoon1:"afternoon",evening1:"evening",night1:"night"},narrow:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"morning",afternoon1:"afternoon",evening1:"evening",night1:"night"},wide:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"morning",afternoon1:"afternoon",evening1:"evening",night1:"night"}}},eras:{format:{wide:{0:"Before Christ",1:"Anno Domini","0-alt-variant":"Before Common Era","1-alt-variant":"Common Era"},abbreviated:{0:"BC",1:"AD","0-alt-variant":"BCE","1-alt-variant":"CE"},narrow:{0:"B",1:"A","0-alt-variant":"BCE","1-alt-variant":"CE"}}},dateFields:{era:{wide:"era"},year:{wide:"year",short:"yr.",narrow:"yr."},quarter:{wide:"quarter",short:"qtr.",narrow:"qtr."},month:{wide:"month",short:"mo.",narrow:"mo."},week:{wide:"week",short:"wk.",narrow:"wk."},day:{wide:"day",short:"day",narrow:"day"},weekday:{wide:"day of the week"},dayperiod:{wide:"AM/PM"},hour:{wide:"hour",short:"hr.",narrow:"hr."},minute:{wide:"minute",short:"min.",narrow:"min."},second:{wide:"second",short:"sec.",narrow:"sec."},zone:{wide:"time zone"}}}},supplemental:{likelySubtags:{en:"en-Latn-US"},currencyData:{region:{US:[{USD:{_from:"1792-01-01"}}]}},weekData:{firstDay:{US:"sun"}}}};function a(e){return"string"==typeof e}var i=/\{(\d+)}?\}/g,o=function(e){var r=e.name,t=e.message;if(!r||!t)throw new Error("{ name: string, message: string } object is required!");this.name=r,this.message=t};o.prototype.formatMessage=function(){for(var e=[],r=arguments.length;r--;)e[r]=arguments[r];var t=u(e),n=this.message.replace(i,function(e,r){return t[parseInt(r,10)]});return this.name+": "+n},o.prototype.error=function(){for(var e=[],r=arguments.length;r--;)e[r]=arguments[r];return new Error(this.formatMessage(e))};var u=function(e){return e.reduce(function(e,r){return e.concat(r)},[])},s=function(e){return Object.keys(e).reduce(function(r,t){return r[t]=new o({name:t,message:e[t]}),r},{})},l=s({NoLocale:"Missing locale info for '{0}'",NoCurrency:"Cannot determine currency information. Please load the locale currencies data.",NoSupplementalCurrency:"Cannot determine currency. Please load the supplemental currencyData.",NoCurrencyRegion:"No currency data for region '{0}'",NoCurrencyDisplay:"Cannot determine currency display information. Please load the locale currencies data. The default culture does not include the all currencies data.",NoGMTInfo:"Cannot determine locale GMT format. Please load the locale timeZoneNames data.",NoWeekData:"Cannot determine locale first day of week. Please load the supplemental weekData.",NoFirstDay:"Cannot determine locale first day of week. Please load the supplemental weekData. The default culture includes only the 'en-US' first day info.",NoValidCurrency:"Cannot determine a default currency for the {0} locale. Please specify explicitly the currency with the format options.",NoDateFieldNames:"Cannot determine the locale date field names. Please load the locale dateFields data."});var c=n;function m(e){return a(e)?f(e):e}function f(e){if(c[e])return c[e];if(c.supplemental.likelySubtags){var r=e.split("-"),t=r[0],n=r.slice(1),a=function(e,r){for(var t=c.supplemental.likelySubtags,n=0;n<r.length;n++){var a=t[e+"-"+r[n]];if(a)return a}if(t[e])return t[e]}(t,n),i=a?function(e,r){var t=e.split("-"),n=t[0],a=t[1],i=t[2];return c[e]||-1!==r.indexOf(i)&&c[n+"-"+i]||-1!==r.indexOf(a)&&c[n+"-"+a]||c[n]}(a,n):null;if(i)return i}throw l.NoLocale.error(e)}var d="decimal",y="currency",p="accounting",v="percent",g="scientific",h="$",M="%",b="n",S=";",w=",",x=".",F="",D="en",N="Formats-numberSystem-latn",O="symbols-numberSystem-latn",H=/([#,0.]+)/g,T=/¤/g;function E(e){return H.lastIndex=0,e.replace(T,h).replace(H,b).split(S)}function k(e){return H.lastIndex=0,H.exec(e.split(S)[0])[0].split(x)[0].split(w).slice(1).map(function(e){return e.length}).reverse()}function I(e,r){for(var t in r)t.startsWith("unitPattern")&&(e[t]=r[t].replace("{0}",b).replace("{1}",h))}function _(e,r){var t=c[e],n=t.numbers=t.numbers||{};for(var a in n.symbols=n.symbols||{},r)if(a===O)Object.assign(n.symbols,r[a]);else if(a.includes(N)){var i=a.substr(0,a.indexOf(N)),o=r[a].standard;n[i]={patterns:E(o)},i===y?(n[i].groupSize=k((r[d+N]||r[a]).standard),I(n[i],r[a]),n[p]={patterns:E(r[a][p]),groupSize:n[i].groupSize}):n[i].groupSize=k(o)}else"currencies"===a&&(n.currencies=r[a])}var z={s:"yyyy'-'MM'-'dd'T'HH':'mm':'ss",u:"yyyy'-'MM'-'dd HH':'mm':'ss'Z'"},P={d:[["dateTimeFormats","availableFormats","yMd"]],D:[["dateFormats","full"]],m:[["dateTimeFormats","availableFormats","MMMd"]],M:[["dateTimeFormats","availableFormats","MMMMd"]],y:[["dateTimeFormats","availableFormats","yMMM"]],Y:[["dateTimeFormats","availableFormats","yMMMM"]],F:[["dateFormats","full"],["timeFormats","medium"]],g:[["dateTimeFormats","availableFormats","yMd"],["timeFormats","short"]],G:[["dateTimeFormats","availableFormats","yMd"],["timeFormats","medium"]],t:[["timeFormats","short"]],T:[["timeFormats","medium"]]};function C(e){for(var r=[],t=Object.getOwnPropertyNames(e),n=0;n<t.length;n++){var a=e[t[n]];r.push(a)}return r}function j(e,r){var t={};for(var n in e){var a=t[n]={};for(var i in e[n]){var o=e[n][i];a[i]=r?o:C(o)}}return t}function L(e,r){var t=c[e].calendar;t.days=j(r.days),t.months=j(r.months),t.quarters=j(r.quarters),t.dayPeriods=j(r.dayPeriods,!0),t.eras=function(e){var r={},t=r.format={},n={eraAbbr:"abbreviated",eraNames:"wide",eraNarrow:"narrow"};for(var a in e)t[n[a]]=e[a];return r}(r.eras)}function A(e,r){var t=c[e].calendar,n={};for(var a in r){var i=a.split("-"),o=i[0],u=i[1];void 0===u&&(u="wide");var s=n[o]||{},l=r[a].displayName;l&&(s[u]=l,n[o]=s)}t.dateFields=n}function q(e,r){for(var t=[],n=0;n<e.length;n++){for(var a=e[n],i=r,o=0;o<a.length;o++)i=i[a[o]];t.push(i)}return t.join(" ")}function G(e,r){var t=c[e].calendar,n=t.patterns={};for(var a in P)n[a]=q(P[a],r);for(var i in z)n[i]=z[i];var o=r.dateTimeFormats;t.dateTimeFormats={full:o.full,long:o.long,medium:o.medium,short:o.short,availableFormats:o.availableFormats},t.timeFormats=r.timeFormats,t.dateFormats=r.dateFormats}function Q(e,r){var t=c[e].calendar=c[e].calendar||{};for(var n in r)"timeZoneNames"===n?(t.gmtFormat=r[n].gmtFormat,t.gmtZeroFormat=r[n].gmtZeroFormat):"calendars"===n&&r[n].gregorian?(G(e,r[n].gregorian),L(e,r[n].gregorian)):"fields"===n&&A(e,r.fields)}function X(e){if(e.territory)return e.territory;var r,t=e.name,n=e.identity;return r=n&&n.territory?n.territory:function(e,r){var t=c.supplemental.likelySubtags,n=e.split("-");if(t){var a=t[e]||t[n[0]];a&&(n=a.split("-"))}if(r)for(var i=n.length-1;i>=1;i--){var o=n[i];o!==r.variant&&o!==r.script||n.splice(i,1)}var u=n.length;if(u>1)return n[u-1].toUpperCase()}(t,n),e.territory=r,r}function Z(e,r){for(var t in r)"numbers"===t?_(e,r[t]):"dates"===t&&Q(e,r[t])}function B(){for(var e=arguments,r=arguments.length,t=0;t<r;t++){var n=e[t];if(n.main){var a=Object.keys(n.main)[0],i=n.main[a],o=c[a]=c[a]||{};o.name=o.name||a,o.identity=o.identity||i.identity,X(o),Z(a,i)}else n.supplemental&&(n.supplemental.weekData?c.supplemental.weekData={firstDay:n.supplemental.weekData.firstDay}:Object.assign(c.supplemental,n.supplemental))}}function U(e){var r=e.name,t=c[r]=c[r]||{};if(e.likelySubtags){var n=c.supplemental=c.supplemental||{};n.likelySubtags=Object.assign(n.likelySubtags||{},e.likelySubtags)}var a=t.numbers;Object.assign(t,e),a&&e.numbers&&(t.numbers=Object.assign({},a,e.numbers))}function J(e,r){void 0===r&&(r=D);var t=f(r).calendar.dateFields;if(!t)throw l.NoDateFieldNames.error();var n=t[e.type]||{};return n[e.nameType]||n.wide}function W(e,r){var t=r.type,n=r.nameType,a=r.standAlone,i=r.lower,o=m(e),u=a?"stand-alone":"format",s=(i?"lower-":F)+n,l=o.calendar[t][u],c=l[s];return!c&&i&&(c=l[s]=function(e){return Array.isArray(e)?function(e){for(var r=[],t=0;t<e.length;t++)r.push(e[t].toLowerCase());return r}(e):function(e){var r={};for(var t in e)r[t]=e[t].toLowerCase();return r}(e)}(l[n])),c}function $(e){var r=e.split("-"),t=parseInt(r[0],10),n=parseInt(r[1],10)-1,a=parseInt(r[2],10);return new Date(t,n,a)}var R=l.NoCurrency,Y=l.NoCurrencyDisplay,K=l.NoSupplementalCurrency,V=l.NoCurrencyRegion,ee=l.NoValidCurrency,re=2,te="symbol",ne="XXX",ae={"001":"USD",150:"EUR"};function ie(e,r,t){var n=m(e).numbers.currencies;if(n){var a=n[r];if(a)return a;if(t)throw Y.error()}else if(t)throw R.error()}function oe(e,r){return r.length-e.length}function ue(e,r,t){void 0===t&&(t=!0);var n=ie(e,r,t);if(n){if(!n.displays){var a=[r];for(var i in n)a.push(n[i]);a.sort(oe),n.displays=a}return n.displays}}function se(e,r){var t=r.value,n=r.currency,a=r.currencyDisplay;if(void 0===a&&(a=te),"code"===a)return n;var i=ie(e,n,!0);return a===te?i["symbol-alt-narrow"]||i[te]:void 0===typeof t||1!==t?i["displayName-count-other"]:i["displayName-count-one"]}function le(e){var r=re,t=re,n=((c.supplemental.currencyData||{}).fractions||{})[e];return n&&n._digits&&(t=r=parseInt(n._digits,10)),{minimumFractionDigits:r,maximumFractionDigits:t}}function ce(e,r){if(void 0===r&&(r=!0),ae[e])return ae[e];var t=c.supplemental.currencyData;if(t){var n=t.region[e];if(n)return function(e){for(var r,t,n,a,i=0;i<e.length;i++){var o=e[i],u=Object.keys(o)[0],s=o[u];if(u!==ne&&"false"!==s._tender&&s._from)if(s._to){if(!n){var l=$(s._from),c=$(s._to);(!t||t.to<c||t.from<l)&&(r=u,t={from:l,to:c})}}else{var m=$(s._from);(!a||a<m)&&(n=u,a=m)}}return n||r}(n);if(r)throw V.error(e)}else if(r)throw K.error()}function me(e,r){var t=m(e),n=t.numbers;if(!n.localeCurrency){var a=ce(X(t),r);if(!a&&r)throw ee.error(t.name);n.localeCurrency=a}return n.localeCurrency}var fe=l.NoWeekData,de=l.NoFirstDay,ye=["sun","mon","tue","wed","thu","fri","sat"],pe="001";function ve(e){var r=m(e);if(!isNaN(r.firstDay))return r.firstDay;var t=c.supplemental.weekData;if(!t)throw fe.error();var n=t.firstDay[X(r)]||t.firstDay[pe];if(!n)throw de.error();return r.firstDay=ye.indexOf(n),r.firstDay}function ge(e){return m(e).numbers.symbols}function he(e,r){return void 0===r&&(r={}),r.currency||(r.currency=me(e,!0)),se(e,r)}function Me(e,r,t,n,a){var i=a.numbers.symbols,o=e.indexOf(i.decimal),u=n.groupSize.slice(),s=u.shift(),l=-1!==o?o:t+1,c=e.substring(r,l),m=e,f=c.length;if(f>=s){for(var d=f,y=[];d>-1;){var p=c.substring(d-s,d);p&&y.push(p),d-=s;var v=u.shift();if(0===(s=void 0!==v?v:s)){(p=c.substring(0,d))&&y.push(p);break}}c=y.reverse().join(i.group),m=e.substring(0,r)+c+e.substring(l)}return m}function be(e){return e===y||e===p}function Se(e,r,t){void 0===r&&(r=2),void 0===t&&(t=!1);var n=r-String(e).length,a=e;if(n>0){var i=new Array(n+1).join("0");a=t?e+i:i+e}return a}var we=20;function xe(e,r){var t=e,n=r||0;return t=t.toString().split("e"),t=(t=Math.round(Number(t[0]+"e"+(t[1]?Number(t[1])+n:n)))).toString().split("e"),(t=Number(t[0]+"e"+(t[1]?Number(t[1])-n:-n))).toFixed(Math.min(n,we))}var Fe=3,De=0,Ne=/0+$/;function Oe(e,r,t){var n=t.numbers.symbols,a=r.style,i=be(a);if(a===g)return(void 0!==r.minimumFractionDigits?e.toExponential(r.minimumFractionDigits):e.toExponential()).replace(x,n.decimal);var o,u=e;i&&(r.value=u,o=he(t,r)),a===v&&(u*=100,o=n.percentSign);var s=function(e){var r,t=e.minimumFractionDigits,n=e.maximumFractionDigits,a=e.style,i=be(a);return i&&(r=le(e.currency)),void 0===t&&(t=i?r.minimumFractionDigits:0),void 0===n&&(n=a===v?Math.max(t,De):i?Math.max(t,r.maximumFractionDigits):Math.max(t,Fe)),{minimumFractionDigits:t,maximumFractionDigits:n}}(r),l=s.minimumFractionDigits,c=(u=xe(u,s.maximumFractionDigits))<0,m=u.split(x),f=m[0],d=Se(m[1]?m[1].replace(Ne,F):F,l,!0);c&&(f=f.substring(1)),r.minimumIntegerDigits&&(f=Se(f,r.minimumIntegerDigits));var y,p=!1!==r.useGrouping?Me(f,0,f.length,r,t):f;if(d&&(p+=n.decimal+d),i&&"name"===r.currencyDisplay)y=function(e,r){var t=e.numbers.currency,n=1!==r?t["unitPattern-count-other"]:t["unitPattern-count-one"];return r<0&&(n=n.replace(b,"-"+b)),n}(t,e);else{var S=r.patterns;y=c?S[1]||"-"+S[0]:S[0]}return y!==b||c?function(e,r,t){for(var n=F,a=0,i=r.length;a<i;a++){var o=r.charAt(a);n+=o===b?e:o===h||o===M?t:o}return n}(p,y,o):p}var He="__??__",Te="#",Ee="0",ke=/(\\.)|(['][^']*[']?)|(["][^"]*["]?)/g,Ie=/(\.(?:[0-9]*[1-9])?)0+$/g,_e=/\.$/,ze=/\,/g;function Pe(e){var r=e.number,t=e.format,n=t.indexOf(x);if(-1!==n){var a=t.lastIndexOf(Ee)-n,i=t.lastIndexOf(Te)-n,o=a>-1,u=i>-1,s=r.toString().split("e"),l=(s=(s=s[1]?xe(r,Math.abs(s[1])):s[0]).split(x)[1]||F).length,c=-1;o||u?o&&a>i?l=a:i>a&&(u&&l>i?l=i:o&&l<a&&(l=a),c=o?a:0):(e.format=t.substring(0,n)+t.substring(n+1),n=-1,l=0),l>-1&&(r=xe(r,l),c>-1&&(r=function(e,r){var t;return t=0===r?Ie:new RegExp("(\\.[0-9]{"+r+"}[1-9]*)0+$","g"),e.replace(t,"$1").replace(_e,F)}(r,c)))}else r=xe(r);e.negative&&-1*r>=0&&(e.negative=!1),e.number=r,e.decimalIndex=n}function Ce(e){var r=e.number,t=e.format;if(t=t.split(S),e.negative&&t[1])t=t[1],e.hasNegativeFormat=!0;else if(0===r){var n=t[2];t=n||t[0],n&&function(e){return-1===e.indexOf(Te)&&-1===e.indexOf(Ee)}(n)&&(e.constant=n)}else t=t[0];e.format=t}function je(e,r,t){return-1===e&&-1!==r?r:-1!==e&&-1===r?e:t?Math.min(e,r):Math.max(e,r)}function Le(e,r){var t=e.number;return-1!==e.start&&(t=function(e,r){var t=e;if(r)for(var n=r.length,a=0;a<n;a++)t=t.replace(He,r[a]);return t}(t=function(e,r,t){var n=e;if(r===y||r===v){n=F;for(var a=0,i=e.length;a<i;a++){var o=e.charAt(a);n+=o===h||o===M?t:o}}return n}(t=function(e,r){var t=e.start,n=e.end,a=e.negative,i=e.format,o=e.decimalIndex,u=e.lastZeroIndex,s=e.hasNegativeFormat,l=e.hasGroup,c=e.number,m=c.toString().split(x),f=i.length,d=m[0],y=m[1]||F,p=d.length,v=F;c=i.substring(0,t),a&&!s&&(c+="-");for(var g=t;g<f;g++){var h=i.charAt(g);if(-1===o){if(n-g<p){c+=d;break}}else if(-1!==u&&u<g&&(v=F),o-g<=p&&o-g>-1&&(c+=d,g=o),o===g){c+=(y?r.numbers.symbols.decimal:F)+y,g+=n-o+1;continue}h===Ee?(c+=h,v=h):h===Te&&(c+=v)}return l&&(c=Me(c,t+(a&&!s?1:0),Math.max(n,p+t),r.numbers.decimal,r)),n>=t&&(c+=i.substring(n+1)),c}(e,r),e.style,e.symbol),e.literals)),t}function Ae(e,r,t){var n={negative:e<0,number:Math.abs(e),format:r};return Ce(n),n.constant?n.constant:(function(e){var r=e.format;if(r.indexOf("'")>-1||r.indexOf('"')>-1||r.indexOf("\\")>-1){var t=e.literals=[];e.format=r.replace(ke,function(e){var r=e.charAt(0).replace("\\",F),n=e.slice(1).replace(r,F);return t.push(n),He})}}(n),function(e,r){var t=e.format;-1!==t.indexOf(M)&&(e.style=v,e.symbol=r.numbers.symbols.percentSign,e.number*=100),-1!==t.indexOf(h)&&(e.style=y,e.symbol=he(r))}(n,t),function(e){e.hasGroup=e.format.indexOf(w)>-1,e.hasGroup&&(e.format=e.format.replace(ze,F))}(n),Pe(n),function(e){var r=e.format,t=r.indexOf(Te),n=r.indexOf(Ee),a=je(t,n,!0),i=je(t=r.lastIndexOf(Te),n=r.lastIndexOf(Ee));a===r.length&&(i=a),e.start=a,e.end=i,e.lastZeroIndex=n}(n),Le(n,t))}var qe=/^(n|c|p|e|a)(\d*)$/i;function Ge(e){return a(e)?function(e){var r=qe.exec(e);if(r){var t={style:d},n=r[1].toLowerCase();return"c"===n?t.style=y:"a"===n?t.style=p:"p"===n?t.style=v:"e"===n&&(t.style=g),r[2]&&(t.minimumFractionDigits=t.maximumFractionDigits=parseInt(r[2],10)),t}}(e):e}function Qe(e,r,t){if(void 0===r&&(r=b),void 0===t&&(t=D),void 0===e||null===e)return F;if(!isFinite(e))return String(e);var n,a=f(t),i=Ge(r);if(i){var o=(i||{}).style||d;n=Oe(e,Object.assign({},a.numbers[o],i),a)}else n=Ae(e,r,a);return n}function Xe(e){return"number"==typeof e}var Ze=/[eE][\-+]?[0-9]+/,Be=/\u00A0/g;function Ue(e,r){if(r.length>1){var t=(r[1]||F).replace(h,F).split(b);if(e.indexOf(t[0])>-1&&e.indexOf(t[1])>-1)return e.replace(t[0],F).replace(t[1],F)}}function Je(e,r,t){if(void 0===r&&(r=D),void 0===t&&(t={}),!e&&0!==e)return null;if(Xe(e))return e;var n,a=f(r),i=a.numbers.symbols,o=e.toString();if(Ze.test(o))return o=parseFloat(o.replace(i.decimal,x)),isNaN(o)?null:o;var u=o.indexOf("-");if(u>0)return null;var s=u>-1,l=function(e,r,t){var n,a=Ge(t)||{},i=be(a.style),o=e,u=a.currency||me(r,i);if(u){var s=ue(r,u,i);if(s)for(var l=0;l<s.length;l++){var c=s[l];if(o.includes(c)){o=o.replace(c,F),i=!0;break}}if(i){var m=Ue(o,r.numbers.currency.patterns)||Ue(o,r.numbers.accounting.patterns);m&&(n=!0,o=m)}}return{number:o,negative:n}}(o,a,t),c=l.negative;return o=l.number,s=void 0!==c?c:s,(t.style===v||o.indexOf(i.percentSign)>-1)&&(o=o.replace(i.percentSign,F),n=!0),o=o.replace("-",F).replace(Be," ").split(i.group.replace(Be," ")).join(F).replace(i.decimal,x),o=parseFloat(o),isNaN(o)?o=null:s&&(o*=-1),o&&n&&(o/=100),o}var We=/\{(\d+)}/g;function $e(e){var r=arguments;return e.replace(We,function(e,t){return r[parseInt(t,10)+1]})}var Re=120,Ye=20,Ke=[2,1,5,3,4],Ve={};Ve[(-2).toString()]=8,Ve[(-1).toString()]=6,Ve[2..toString()]=6,Ve[1..toString()]=3;var er={numeric:1,"2-digit":2,short:3,long:4,narrow:5},rr=/[hHmsSzZoOvVxX]/;var tr=[{key:"era",specifier:"G"},{key:"year",specifier:"y"},{key:"month",specifier:"M"},{key:"day",specifier:"d"},{key:"weekday",specifier:"E"},{key:"hour",getSpecifier:function(e){return e.hour12?"h":"H"}},{key:"minute",specifier:"m"},{key:"second",specifier:"s"},{key:"timeZoneName",specifier:"z"}],nr={e:"c",E:"c",M:"L",Q:"q"},ar={},ir={};function or(e){return ar[e]||(ar[e]=new RegExp(e+"+")),ar[e]}function ur(e){for(var r=[],t=e.charAt(0),n=t,a=1;a<e.length;a++){var i=e.charAt(a);i===n?t+=i:(r.push(t),t=n=i)}return r.push(t),r}function sr(e,r){var t,n,a=e.length,i=-Number.MAX_VALUE;for(var o in r){for(var u=[],s=o.replace("v","z"),l=0,c=0;c<a;c++){var m=e[c],f=(or(m[0]).exec(s)||[])[0];if(f){if(s=s.replace(f,F),f.length!==m.length){var d=Math.max(Math.min(Ke[f.length]-Ke[m.length],2),-2);l-=Ve[d]}}else l-=Re;if(u.push(f),l<i)break}s.length&&(l-=ur(s).length*Ye),l>i&&(i=l,t=u,n=r[o])}n=n.replace("v","z");for(var y=0;y<a;y++){var p=t[y];if(p&&p!==e[y]){var v=t[y][0];n=n.replace(or(v),e[y]),nr[v]&&(n=n.replace(or(nr[v]),e[y]))}}return n}function lr(e,r){var t=r.calendar.dateTimeFormats.availableFormats;if(t[e])return t[e];if(ir[r.name]&&ir[r.name][e])return ir[r.name][e];var n,a=e.search(rr);if(a>0){var i=e.substr(0,a),o=e.substr(a);n=$e(r.calendar.dateTimeFormats.short,t[o]||sr(ur(o),t),t[i]||sr(ur(i),t))}else n=sr(ur(e),t);return function(e,r,t){ir[t]||(ir[t]={}),ir[t][e]=r}(e,n,r.name),n}function cr(e,r){var t,n=r.calendar;if(a(e))t=n.patterns[e]?n.patterns[e]:e;else if(e){if(e.pattern)return e.pattern;var i=e.skeleton;i||(e.datetime?t=$e(n.dateTimeFormats[e.datetime],n.timeFormats[e.datetime],n.dateFormats[e.datetime]):e.date?t=n.dateFormats[e.date]:e.time?t=n.timeFormats[e.time]:i=function(e){for(var r=[],t=0;t<tr.length;t++){var n=tr[t],a=e[n.key];if(a){var i=n.specifier||n.getSpecifier(e);r.push(i.repeat(er[a]))}}return r.join(F)}(e)),i&&(t=lr(i,r))}return t||(t=n.patterns.d),t}function mr(e){var r;return e<=3?r="abbreviated":4===e?r="wide":5===e?r="narrow":6===e&&(r="short"),r}function fr(e,r,t,n,a){return W(e,{type:r,nameType:mr(t),standAlone:n,lower:a})}var dr={}.toString,yr="[object Date]";function pr(e){return dr.call(e)===yr}var vr={G:"era",y:"year",q:"quarter",Q:"quarter",M:"month",L:"month",d:"day",E:"weekday",c:"weekday",e:"weekday",h:"hour",H:"hour",k:"hour",K:"hour",m:"minute",s:"second",a:"dayperiod",x:"zone",X:"zone",z:"zone",Z:"zone"},gr=/d{1,2}|E{1,6}|e{1,6}|c{3,6}|c{1}|M{1,5}|L{1,5}|y{1,4}|H{1,2}|h{1,2}|k{1,2}|K{1,2}|m{1,2}|a{1,5}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|x{1,5}|X{1,5}|G{1,5}|q{1,5}|Q{1,5}|"[^"]*"|'[^']*'/g;function hr(e,r,t,n){return r<=2?Se(e+1,r):fr(t,"months",r,n)[e]}function Mr(e,r,t,n){var a=Math.floor(e.getMonth()/3);return r<3?a+1:fr(t,"quarters",r,n)[a]}function br(e,r,t){var n=t.shortHours,a=t.optionalMinutes,i=t.separator,o=t.localizedName,u=t.zZeroOffset,s=e.getTimezoneOffset()/60;if(0===s&&u)return"Z";var l=s<=0?"+":"-",c=Math.abs(s).toString().split("."),m=c[1]||0,f=l+(n?c[0]:Se(c[0],2));(!m&&a||(f+=(i?":":F)+Se(m,2)),o)&&(f=$e(0===s?r.calendar.gmtZeroFormat:r.calendar.gmtFormat,f));return f}function Sr(e,r,t,n){return r<3?function(e,r,t){var n=ve(t);return(e<n?7-n+e:e-n)+1}(e.getDay(),0,t):fr(t,"days",r,n)[e.getDay()]}var wr={};function xr(e,r,t){if(void 0===t&&(t=D),!pr(e))return void 0===e||null===e?F:e;var n=f(t);return cr(r,n).replace(gr,function(r){var t=r.length;return r.includes("'")||r.includes('"')?r.slice(1,t-1):wr[r[0]](e,t,n)})}function Fr(e,r,t){var n=e.getTimezoneOffset(),a=new Date(e.getTime()+6e4*(r-t)),i=a.getTimezoneOffset();return new Date(a.getTime()+6e4*(i-n))}wr.d=function(e,r){return Se(e.getDate(),r)},wr.E=function(e,r,t){return fr(t,"days",r)[e.getDay()]},wr.M=function(e,r,t){return hr(e.getMonth(),r,t,!1)},wr.L=function(e,r,t){return hr(e.getMonth(),r,t,!0)},wr.y=function(e,r){var t=e.getFullYear();return 2===r&&(t%=100),Se(t,r)},wr.h=function(e,r){return Se(e.getHours()%12||12,r)},wr.H=function(e,r){return Se(e.getHours(),r)},wr.k=function(e,r){return Se(e.getHours()||24,r)},wr.K=function(e,r){return Se(e.getHours()%12,r)},wr.m=function(e,r){return Se(e.getMinutes(),r)},wr.s=function(e,r){return Se(e.getSeconds(),r)},wr.S=function(e,r){return 0!==e.getMilliseconds()?String(e.getMilliseconds()/1e3).split(".")[1].substr(0,r):Se(F,r)},wr.a=function(e,r,t){return fr(t,"dayPeriods",r)[e.getHours()<12?"am":"pm"]},wr.z=function(e,r,t){return br(e,t,{shortHours:r<4,optionalMinutes:r<4,separator:!0,localizedName:!0})},wr.Z=function(e,r,t){return br(e,t,{separator:r>3,localizedName:4===r,zZeroOffset:5===r})},wr.x=function(e,r,t){return br(e,t,{optionalMinutes:1===r,separator:3===r||5===r})},wr.X=function(e,r,t){return br(e,t,{optionalMinutes:1===r,separator:3===r||5===r,zZeroOffset:!0})},wr.G=function(e,r,t){var n=e.getFullYear()>=0?1:0;return fr(t,"eras",r)[n]},wr.e=Sr,wr.c=function(e,r,t){return Sr(e,r,t,!0)},wr.q=function(e,r,t){return Mr(e,r,t,!0)},wr.Q=Mr;var Dr=/([+|\-]\d{1,2})(:?)(\d{2})?/,Nr=/^\/Date\((.*?)\)\/$/,Or=/[+-]\d*/,Hr={2:/^\d{1,2}/,3:/^\d{1,3}/,4:/^\d{4}/},Tr=/\d+/,Er="{0}",kr=["yyyy/MM/dd HH:mm:ss","yyyy/MM/dd HH:mm","yyyy/MM/dd","E MMM dd yyyy HH:mm:ss","yyyy-MM-ddTHH:mm:ss.SSSSSSSXXX","yyyy-MM-ddTHH:mm:ss.SSSXXX","yyyy-MM-ddTHH:mm:ss.SSXXX","yyyy-MM-ddTHH:mm:ssXXX","yyyy-MM-ddTHH:mm:ss.SSSSSSS","yyyy-MM-ddTHH:mm:ss.SSS","yyyy-MM-ddTHH:mmXXX","yyyy-MM-ddTHH:mmX","yyyy-MM-ddTHH:mm:ss","yyyy-MM-ddTHH:mm","yyyy-MM-dd HH:mm:ss","yyyy-MM-dd HH:mm","yyyy-MM-dd","HH:mm:ss","HH:mm"],Ir=["G","g","F","Y","y","M","m","D","d","y","T","t"];function _r(e,r,t){return!(e>=r&&e<=t)}function zr(e,r){for(var t=r.format,n=r.idx,a=0;t[n]===e;)a++,n++;return a>0&&(n-=1),r.idx=n,a}function Pr(e,r){var t=e?Hr[e]||new RegExp("^\\d{1,"+e+"}"):Tr,n=r.value.substr(r.valueIdx,e).match(t);return n?(n=n[0],r.valueIdx+=n.length,parseInt(n,10)):null}function Cr(e,r,t){for(var n,a,i,o=0,u=e.length,s=0,l=0;o<u;o++)a=(n=e[o]).length,i=r.value.substr(r.valueIdx,a),t&&(i=i.toLowerCase()),i===n&&a>s&&(s=a,l=o);return s?(r.valueIdx+=s,l+1):null}function jr(e){var r=!1;return e.value.charAt(e.valueIdx)===e.format[e.idx]&&(e.valueIdx++,r=!0),r}function Lr(e,r,t){var n=t.shortHours,a=t.noSeparator,i=t.optionalMinutes,o=t.localizedName,u=t.zLiteral;if(e.UTC=!0,u&&"Z"===e.value.charAt(e.valueIdx))return e.valueIdx++,!1;if(o&&!Cr(function(e){var r=e.gmtFormat,t=e.gmtZeroFormat;if(!r)throw l.NoGMTInfo.error();return[r.replace(Er,F).toLowerCase(),t.replace(Er,F).toLowerCase()]}(r.calendar),e,!0))return!0;var s=Dr.exec(e.value.substr(e.valueIdx,6));if(!s)return!o;var c=s[1],m=s[3],f=parseInt(c,10),d=s[2],y=parseInt(m,10);return!!(isNaN(f)||!n&&3!==c.length||!i&&isNaN(y)||a&&d)||(isNaN(y)&&(y=null),!!(_r(f,-12,13)||y&&_r(y,0,59))||(e.valueIdx+=s[0].length,e.hoursOffset=f,void(e.minutesOffset=y)))}function Ar(e,r,t){var n=zr(e,r),a=fr(t,"months",n,"L"===e,!0),i=n<3?Pr(2,r):Cr(a,r,!0);if(null===i||_r(i,1,12))return!0;r.month=i-1}function qr(e,r,t){var n=zr(e,r),a=fr(t,"days",n,"c"===e,!0),i=n<3?Pr(1,r):Cr(a,r,!0);if(!i&&0!==i||_r(i,1,7))return!0}var Gr={};function Qr(e,r,t){for(var n=cr(r,t).split(F),a={format:n,idx:0,value:e,valueIdx:0,year:null,month:null,day:null,hours:null,minutes:null,seconds:null,milliseconds:null},i=n.length,o=!1;a.idx<i;a.idx++){var u=n[a.idx];if(o)"'"===u&&(o=!1),jr(a);else if(Gr[u]){if(Gr[u](a,t))return null}else if("'"===u)o=!0,jr(a);else if(!jr(a))return null}return a.valueIdx<e.length?null:function(e){var r,t=e.year,n=e.month,a=e.day,i=e.hours,o=e.minutes,u=e.seconds,s=e.milliseconds,l=e.pmHour,c=e.UTC,m=e.hoursOffset,f=e.minutesOffset,d=null!==i||null!==o||u||null,y=new Date;return null===t&&null===n&&null===a&&d?(t=y.getFullYear(),n=y.getMonth(),a=y.getDate()):(null===t&&(t=y.getFullYear()),null===a&&(a=1)),l&&i<12&&(i+=12),c?(m&&(i+=-m),f&&(o+=-f*(m<0?-1:1)),r=new Date(Date.UTC(t,n,a,i,o,u,s))):function(e,r){r||23!==e.getHours()||e.setHours(e.getHours()+2)}(r=new Date(t,n,a,i,o,u,s),i),t<100&&r.setFullYear(t),r.getDate()!==a&&void 0===c?null:r}(a)||null}function Xr(e){if(e&&0===e.indexOf("/D")){var r=Nr.exec(e);if(r){r=r[1];var t=Or.exec(r.substring(1));return r=new Date(parseInt(r,10)),t&&(t=function(e){var r="-"===e.substr(0,1)?-1:1,t=e.substring(1);return r*(t=60*parseInt(t.substr(0,2),10)+parseInt(t.substring(2),10))}(t[0]),r=Fr(r=Fr(r,r.getTimezoneOffset(),0),0,-1*t)),r}}}function Zr(e,r,t){if(void 0===t&&(t=D),!e)return null;if(pr(e))return e;var n=String(e).trim(),a=Xr(n);if(a)return a;for(var i=f(t),o=r||function(e){for(var r=[],t=e.patterns,n=Ir.length,a=0;a<n;a++)r.push(t[Ir[a]]);return r.concat(kr)}(i.calendar),u=(o=Array.isArray(o)?o:[o]).length,s=0;s<u;s++)if(a=Qr(n,o[s],i))return a;return a}Gr.d=function(e){zr("d",e);var r=Pr(2,e);if(null===r||_r(r,1,31))return!0;null===e.day&&(e.day=r)},Gr.E=function(e,r){if(null===Cr(fr(r,"days",zr("E",e),!1,!0),e,!0))return!0},Gr.M=function(e,r){return Ar("M",e,r)},Gr.L=function(e,r){return Ar("L",e,r)},Gr.y=function(e){var r=zr("y",e),t=Pr(1===r?void 0:r,e);if(null===t)return!0;if(2===r){var n=(new Date).getFullYear();(t=n-n%100+t)>2029&&(t-=100)}e.year=t},Gr.h=function(e){zr("h",e);var r=Pr(2,e);if(12===r&&(r=0),null===r||_r(r,0,11))return!0;e.hours=r},Gr.K=function(e){zr("K",e);var r=Pr(2,e);if(null===r||_r(r,0,11))return!0;e.hours=r},Gr.a=function(e,r){var t=fr(r,"dayPeriods",zr("a",e),!1,!0),n=Cr([t.pm],e,!0);if(!n&&!Cr([t.am],e,!0))return!0;e.pmHour=n},Gr.H=function(e){zr("H",e);var r=Pr(2,e);if(null===r||_r(r,0,23))return!0;e.hours=r},Gr.k=function(e){zr("k",e);var r=Pr(2,e);if(null===r||_r(r,1,24))return!0;e.hours=24===r?0:r},Gr.m=function(e){zr("m",e);var r=Pr(2,e);if(null===r||_r(r,0,59))return!0;e.minutes=r},Gr.s=function(e){zr("s",e);var r=Pr(2,e);if(null===r||_r(r,0,59))return!0;e.seconds=r},Gr.S=function(e){var r=zr("S",e),t=e.value.substr(e.valueIdx,r),n=null;if(isNaN(parseInt(t,10))||(n=xe(n=parseFloat("0."+t,10),3),n*=1e3,e.valueIdx+=r),null===n||_r(n,0,999))return!0;e.milliseconds=n},Gr.z=function(e,r){var t=zr("z",e)<4,n=Lr(e,r,{shortHours:t,optionalMinutes:t,localizedName:!0});if(n)return n},Gr.Z=function(e,r){var t=zr("Z",e),n=Lr(e,r,{noSeparator:t<4,zLiteral:5===t,localizedName:4===t});if(n)return n},Gr.x=function(e,r){var t=zr("x",e),n=Lr(e,r,{noSeparator:3!==t&&5!==t,optionalMinutes:1===t});if(n)return n},Gr.X=function(e,r){var t=zr("X",e),n=Lr(e,r,{noSeparator:3!==t&&5!==t,optionalMinutes:1===t,zLiteral:!0});if(n)return n},Gr.G=function(e,r){var t=fr(r,"eras",zr("G",e),!1,!0);if(null===Cr([t[0],t[1]],e,!0))return!0},Gr.e=function(e,r){return qr("e",e,r)},Gr.c=function(e,r){return qr("c",e,r)};var Br={month:{type:"months",minLength:3,standAlone:"L"},quarter:{type:"quarters",minLength:3,standAlone:"q"},weekday:{type:"days",minLength:{E:0,c:3,e:3},standAlone:"c"},dayperiod:{type:"dayPeriods",minLength:0},era:{type:"eras",minLength:0}},Ur="literal";function Jr(e,r){var t=e[e.length-1];t&&t.type===Ur?t.pattern+=r:e.push({type:Ur,pattern:r})}function Wr(e){return"h"===e||"K"===e}function $r(e,r){void 0===r&&(r=D);for(var t=cr(e,f(r)),n=[],a=gr.lastIndex=0,i=gr.exec(t);i;){var o=i[0];if(a<i.index&&Jr(n,t.substring(a,i.index)),o.startsWith('"')||o.startsWith("'"))Jr(n,o);else{var u=o[0],s=vr[u],l={type:s,pattern:o};"hour"===s&&(l.hour12=Wr(o));var c=Br[s];if(c){var m=Xe(c.minLength)?c.minLength:c.minLength[u],d=o.length;d>=m&&(l.names={type:c.type,nameType:mr(d),standAlone:c.standAlone===u})}n.push(l)}a=gr.lastIndex,i=gr.exec(t)}return a<t.length&&Jr(n,t.substring(a)),n}var Rr=/\{(\d+)(:[^\}]+)?\}/g;function Yr(e,r,t){if(r){if(pr(e))return xr(e,r,t);if(Xe(e))return Qe(e,r,t)}return void 0!==e&&null!==e?e:F}function Kr(e,r,t){return e.replace(Rr,function(e,n,a){return Yr(r[parseInt(n,10)],a?a.substring(1):F,t)})}t.d(r,"formatNumber",function(){return Qe}),t.d(r,"parseNumber",function(){return Je}),t.d(r,"formatDate",function(){return xr}),t.d(r,"parseDate",function(){return Zr}),t.d(r,"splitDateFormat",function(){return $r}),t.d(r,"load",function(){return B}),t.d(r,"setData",function(){return U}),t.d(r,"dateFieldName",function(){return J}),t.d(r,"dateFormatNames",function(){return W}),t.d(r,"cldr",function(){return c}),t.d(r,"localeInfo",function(){return f}),t.d(r,"currencyDisplays",function(){return ue}),t.d(r,"currencyDisplay",function(){return se}),t.d(r,"currencyFractionOptions",function(){return le}),t.d(r,"territoryCurrencyCode",function(){return ce}),t.d(r,"localeCurrency",function(){return me}),t.d(r,"firstDay",function(){return ve}),t.d(r,"numberSymbols",function(){return ge}),t.d(r,"toString",function(){return Yr}),t.d(r,"format",function(){return Kr}),t.d(r,"errors",function(){return l}),t.d(r,"IntlError",function(){return o}),t.d(r,"toIntlErrors",function(){return s})},function(e,r,t){"use strict";function n(e){for(var t in e)r.hasOwnProperty(t)||(r[t]=e[t])}Object.defineProperty(r,"__esModule",{value:!0}),n(t(7)),n(t(9)),n(t(12)),n(t(13))},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t(8);r.IntlProvider=n.default;var a=t(1);r.IntlService=a.IntlService},function(e,r,t){"use strict";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var t in r)r.hasOwnProperty(t)&&(e[t]=r[t])};return function(r,t){function n(){this.constructor=r}e(r,t),r.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}();Object.defineProperty(r,"__esModule",{value:!0});var a=t(3),i=t(0),o=t(1),u=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return n(r,e),r.prototype.getIntlService=function(){return new o.IntlService(this.props.locale)},r.prototype.getChildContext=function(){return{kendoIntlService:this.getIntlService()}},r.prototype.render=function(){return a.Children.only(this.props.children)},r.propTypes={locale:i.string},r.childContextTypes={kendoIntlService:i.object},r}(a.Component);r.default=u},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t(10);r.loadMessages=n.loadMessages;var a=t(11);r.LocalizationProvider=a.LocalizationProvider;var i=t(2);r.LocalizationService=i.LocalizationService},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t(4),a=function(e,r,t){for(var n in e)if(e.hasOwnProperty(n)){var i=t.slice();if(i.push(n),"string"!=typeof e[n])a(e[n],r,i);else{var o=e[n];Object.defineProperty(r,i.join("."),{value:o})}}};r.loadMessages=function(e,r){var t=n.messages[r]=n.messages[r]||{};a(e,t,[])}},function(e,r,t){"use strict";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var t in r)r.hasOwnProperty(t)&&(e[t]=r[t])};return function(r,t){function n(){this.constructor=r}e(r,t),r.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}();Object.defineProperty(r,"__esModule",{value:!0});var a=t(3),i=t(0),o=t(2),u=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return n(r,e),r.prototype.getLocalizationService=function(){return new o.LocalizationService(this.props.language)},r.prototype.getChildContext=function(){return{kendoLocalizationService:this.getLocalizationService()}},r.prototype.render=function(){return a.Children.only(this.props.children)},r.propTypes={language:i.string},r.childContextTypes={kendoLocalizationService:i.object},r}(a.Component);r.LocalizationProvider=u},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t(5);r.load=n.load},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t(0),a=t(1),i=t(2);r.provideIntlService=function(e){return e.context&&e.context.kendoIntlService||new a.IntlService("en")},r.provideLocalizationService=function(e){return e.context&&e.context.kendoLocalizationService||new i.LocalizationService},r.registerForIntl=function(e){var r={kendoIntlService:n.object};e.contextTypes?Object.assign(e.contextTypes,r):e.contextTypes=r},r.registerForLocalization=function(e){var r={kendoLocalizationService:n.object};e.contextTypes?Object.assign(e.contextTypes,r):e.contextTypes=r}}])});
!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("prop-types"),require("react")):"function"==typeof define&&define.amd?define(["prop-types","react"],r):"object"==typeof exports?exports.KendoReactIntl=r(require("prop-types"),require("react")):e.KendoReactIntl=r(e.PropTypes,e.React)}(window,function(e,r){return function(e){var r={};function t(n){if(r[n])return r[n].exports;var a=r[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,t),a.l=!0,a.exports}return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var a in e)t.d(n,a,function(r){return e[r]}.bind(null,a));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s=6)}([function(r,t){r.exports=e},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t(5),a=function(){function e(e){this.locale=e}return e.prototype.format=function(e){for(var r=[],t=1;t<arguments.length;t++)r[t-1]=arguments[t];return 1===r.length&&Array.isArray(r[0])?n.format(e,r[0],this.locale):n.format(e,r,this.locale)},e.prototype.formatDate=function(e,r){return n.formatDate(e,r,this.locale)},e.prototype.toString=function(e,r){return n.toString(e,r,this.locale)},e.prototype.parseNumber=function(e,r){return n.parseNumber(e,this.locale,r)},e.prototype.parseDate=function(e,r){return n.parseDate(e,r,this.locale)},e.prototype.formatNumber=function(e,r){return n.formatNumber(e,r,this.locale)},e.prototype.dateFieldName=function(e){return n.dateFieldName(e,this.locale)},e.prototype.dateFormatNames=function(e){return n.dateFormatNames(this.locale,e)},e.prototype.splitDateFormat=function(e){return n.splitDateFormat(e,this.locale)},e.prototype.numberSymbols=function(){return n.numberSymbols(this.locale)},e.prototype.firstDay=function(){return n.firstDay(this.locale)},e}();r.IntlService=a},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t(4),a=function(){function e(e){this.language=e}return e.prototype.toLanguageString=function(e,r){return this.language&&n.messages[this.language]&&n.messages[this.language].hasOwnProperty(e)?n.messages[this.language][e]:r},e}();r.LocalizationService=a},function(e,t){e.exports=r},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.messages=Object.create({})},function(e,r,t){"use strict";t.r(r);var n={en:{name:"en",identity:{version:{_number:"$Revision: 12418 $",_cldrVersion:"29"},language:"en"},territory:"US",numbers:{symbols:{decimal:".",group:",",list:";",percentSign:"%",plusSign:"+",minusSign:"-",exponential:"E",superscriptingExponent:"×",perMille:"‰",infinity:"∞",nan:"NaN",timeSeparator:":"},decimal:{patterns:["n"],groupSize:[3]},scientific:{patterns:["nEn"],groupSize:[]},percent:{patterns:["n%"],groupSize:[3]},currency:{patterns:["$n"],groupSize:[3],"unitPattern-count-one":"n $","unitPattern-count-other":"n $"},currencies:{BGN:{displayName:"Bulgarian Lev","displayName-count-one":"Bulgarian lev","displayName-count-other":"Bulgarian leva",symbol:"BGN"},EUR:{displayName:"Euro","displayName-count-one":"euro","displayName-count-other":"euros",symbol:"€","symbol-alt-narrow":"€"},USD:{displayName:"US Dollar","displayName-count-one":"US dollar","displayName-count-other":"US dollars",symbol:"$","symbol-alt-narrow":"$"}},localeCurrency:"USD",accounting:{patterns:["$n","($n)"],groupSize:[3]}},calendar:{gmtFormat:"GMT{0}",gmtZeroFormat:"GMT",patterns:{d:"M/d/y",D:"EEEE, MMMM d, y",m:"MMM d",M:"MMMM d",y:"MMM y",Y:"MMMM y",F:"EEEE, MMMM d, y h:mm:ss a",g:"M/d/y h:mm a",G:"M/d/y h:mm:ss a",t:"h:mm a",T:"h:mm:ss a",s:"yyyy'-'MM'-'dd'T'HH':'mm':'ss",u:"yyyy'-'MM'-'dd HH':'mm':'ss'Z'"},dateTimeFormats:{full:"{1} 'at' {0}",long:"{1} 'at' {0}",medium:"{1}, {0}",short:"{1}, {0}",availableFormats:{Bh:"h B",Bhm:"h:mm B",Bhms:"h:mm:ss B",d:"d",E:"ccc",EBhm:"E h:mm B",EBhms:"E h:mm:ss B",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","MMMMW-count-one":"'week' W 'of' MMMM","MMMMW-count-other":"'week' W 'of' MMMM",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",yQQQ:"QQQ y",yQQQQ:"QQQQ y","yw-count-one":"'week' w 'of' Y","yw-count-other":"'week' w 'of' Y"}},timeFormats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},dateFormats:{full:"EEEE, MMMM d, y",long:"MMMM d, y",medium:"MMM d, y",short:"M/d/yy"},days:{format:{abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},"stand-alone":{abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]}},months:{format:{abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},"stand-alone":{abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]}},quarters:{format:{abbreviated:["Q1","Q2","Q3","Q4"],narrow:["1","2","3","4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},"stand-alone":{abbreviated:["Q1","Q2","Q3","Q4"],narrow:["1","2","3","4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]}},dayPeriods:{format:{abbreviated:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"in the morning",afternoon1:"in the afternoon",evening1:"in the evening",night1:"at night"},narrow:{midnight:"mi",am:"a","am-alt-variant":"am",noon:"n",pm:"p","pm-alt-variant":"pm",morning1:"in the morning",afternoon1:"in the afternoon",evening1:"in the evening",night1:"at night"},wide:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"in the morning",afternoon1:"in the afternoon",evening1:"in the evening",night1:"at night"}},"stand-alone":{abbreviated:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"morning",afternoon1:"afternoon",evening1:"evening",night1:"night"},narrow:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"morning",afternoon1:"afternoon",evening1:"evening",night1:"night"},wide:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"morning",afternoon1:"afternoon",evening1:"evening",night1:"night"}}},eras:{format:{wide:{0:"Before Christ",1:"Anno Domini","0-alt-variant":"Before Common Era","1-alt-variant":"Common Era"},abbreviated:{0:"BC",1:"AD","0-alt-variant":"BCE","1-alt-variant":"CE"},narrow:{0:"B",1:"A","0-alt-variant":"BCE","1-alt-variant":"CE"}}},dateFields:{era:{wide:"era"},year:{wide:"year",short:"yr.",narrow:"yr."},quarter:{wide:"quarter",short:"qtr.",narrow:"qtr."},month:{wide:"month",short:"mo.",narrow:"mo."},week:{wide:"week",short:"wk.",narrow:"wk."},day:{wide:"day",short:"day",narrow:"day"},weekday:{wide:"day of the week"},dayperiod:{wide:"AM/PM"},hour:{wide:"hour",short:"hr.",narrow:"hr."},minute:{wide:"minute",short:"min.",narrow:"min."},second:{wide:"second",short:"sec.",narrow:"sec."},zone:{wide:"time zone"}}}},supplemental:{likelySubtags:{en:"en-Latn-US"},currencyData:{region:{US:[{USD:{_from:"1792-01-01"}}]}},weekData:{firstDay:{US:"sun"}}}};function a(e){return"string"==typeof e}var i=/\{(\d+)}?\}/g,o=function(e){var r=e.name,t=e.message;if(!r||!t)throw new Error("{ name: string, message: string } object is required!");this.name=r,this.message=t};o.prototype.formatMessage=function(){for(var e=[],r=arguments.length;r--;)e[r]=arguments[r];var t=u(e),n=this.message.replace(i,function(e,r){return t[parseInt(r,10)]});return this.name+": "+n},o.prototype.error=function(){for(var e=[],r=arguments.length;r--;)e[r]=arguments[r];return new Error(this.formatMessage(e))};var u=function(e){return e.reduce(function(e,r){return e.concat(r)},[])},s=function(e){return Object.keys(e).reduce(function(r,t){return r[t]=new o({name:t,message:e[t]}),r},{})},l=s({NoLocale:"Missing locale info for '{0}'",NoCurrency:"Cannot determine currency information. Please load the locale currencies data.",NoSupplementalCurrency:"Cannot determine currency. Please load the supplemental currencyData.",NoCurrencyRegion:"No currency data for region '{0}'",NoCurrencyDisplay:"Cannot determine currency display information. Please load the locale currencies data. The default culture does not include the all currencies data.",NoGMTInfo:"Cannot determine locale GMT format. Please load the locale timeZoneNames data.",NoWeekData:"Cannot determine locale first day of week. Please load the supplemental weekData.",NoFirstDay:"Cannot determine locale first day of week. Please load the supplemental weekData. The default culture includes only the 'en-US' first day info.",NoValidCurrency:"Cannot determine a default currency for the {0} locale. Please specify explicitly the currency with the format options.",NoDateFieldNames:"Cannot determine the locale date field names. Please load the locale dateFields data."});var c=n;function m(e){return a(e)?f(e):e}function f(e){if(c[e])return c[e];if(c.supplemental.likelySubtags){var r=e.split("-"),t=r[0],n=r.slice(1),a=function(e,r){for(var t=c.supplemental.likelySubtags,n=0;n<r.length;n++){var a=t[e+"-"+r[n]];if(a)return a}if(t[e])return t[e]}(t,n),i=a?function(e,r){var t=e.split("-"),n=t[0],a=t[1],i=t[2];return c[e]||-1!==r.indexOf(i)&&c[n+"-"+i]||-1!==r.indexOf(a)&&c[n+"-"+a]||c[n]}(a,n):null;if(i)return i}throw l.NoLocale.error(e)}var d="decimal",y="currency",p="accounting",v="percent",g="scientific",h="$",M="%",b="n",S=";",w=",",x=".",F="",D="en",N="Formats-numberSystem-latn",O="symbols-numberSystem-latn",H=/([#,0.]+)/g,T=/¤/g;function E(e){return H.lastIndex=0,e.replace(T,h).replace(H,b).split(S)}function k(e){return H.lastIndex=0,H.exec(e.split(S)[0])[0].split(x)[0].split(w).slice(1).map(function(e){return e.length}).reverse()}function I(e,r){for(var t in r)t.startsWith("unitPattern")&&(e[t]=r[t].replace("{0}",b).replace("{1}",h))}function _(e,r){var t=c[e],n=t.numbers=t.numbers||{};for(var a in n.symbols=n.symbols||{},r)if(a===O)Object.assign(n.symbols,r[a]);else if(a.includes(N)){var i=a.substr(0,a.indexOf(N)),o=r[a].standard;n[i]={patterns:E(o)},i===y?(n[i].groupSize=k((r[d+N]||r[a]).standard),I(n[i],r[a]),n[p]={patterns:E(r[a][p]),groupSize:n[i].groupSize}):n[i].groupSize=k(o)}else"currencies"===a&&(n.currencies=r[a])}var z={s:"yyyy'-'MM'-'dd'T'HH':'mm':'ss",u:"yyyy'-'MM'-'dd HH':'mm':'ss'Z'"},P={d:[["dateTimeFormats","availableFormats","yMd"]],D:[["dateFormats","full"]],m:[["dateTimeFormats","availableFormats","MMMd"]],M:[["dateTimeFormats","availableFormats","MMMMd"]],y:[["dateTimeFormats","availableFormats","yMMM"]],Y:[["dateTimeFormats","availableFormats","yMMMM"]],F:[["dateFormats","full"],["timeFormats","medium"]],g:[["dateTimeFormats","availableFormats","yMd"],["timeFormats","short"]],G:[["dateTimeFormats","availableFormats","yMd"],["timeFormats","medium"]],t:[["timeFormats","short"]],T:[["timeFormats","medium"]]};function C(e){for(var r=[],t=Object.getOwnPropertyNames(e),n=0;n<t.length;n++){var a=e[t[n]];r.push(a)}return r}function j(e,r){var t={};for(var n in e){var a=t[n]={};for(var i in e[n]){var o=e[n][i];a[i]=r?o:C(o)}}return t}function L(e,r){var t=c[e].calendar;t.days=j(r.days),t.months=j(r.months),t.quarters=j(r.quarters),t.dayPeriods=j(r.dayPeriods,!0),t.eras=function(e){var r={},t=r.format={},n={eraAbbr:"abbreviated",eraNames:"wide",eraNarrow:"narrow"};for(var a in e)t[n[a]]=e[a];return r}(r.eras)}function A(e,r){var t=c[e].calendar,n={};for(var a in r){var i=a.split("-"),o=i[0],u=i[1];void 0===u&&(u="wide");var s=n[o]||{},l=r[a].displayName;l&&(s[u]=l,n[o]=s)}t.dateFields=n}function q(e,r){for(var t=[],n=0;n<e.length;n++){for(var a=e[n],i=r,o=0;o<a.length;o++)i=i[a[o]];t.push(i)}return t.join(" ")}function G(e,r){var t=c[e].calendar,n=t.patterns={};for(var a in P)n[a]=q(P[a],r);for(var i in z)n[i]=z[i];var o=r.dateTimeFormats;t.dateTimeFormats={full:o.full,long:o.long,medium:o.medium,short:o.short,availableFormats:o.availableFormats},t.timeFormats=r.timeFormats,t.dateFormats=r.dateFormats}function Q(e,r){var t=c[e].calendar=c[e].calendar||{};for(var n in r)"timeZoneNames"===n?(t.gmtFormat=r[n].gmtFormat,t.gmtZeroFormat=r[n].gmtZeroFormat):"calendars"===n&&r[n].gregorian?(G(e,r[n].gregorian),L(e,r[n].gregorian)):"fields"===n&&A(e,r.fields)}function X(e){if(e.territory)return e.territory;var r,t=e.name,n=e.identity;return r=n&&n.territory?n.territory:function(e,r){var t=c.supplemental.likelySubtags,n=e.split("-");if(t){var a=t[e]||t[n[0]];a&&(n=a.split("-"))}if(r)for(var i=n.length-1;i>=1;i--){var o=n[i];o!==r.variant&&o!==r.script||n.splice(i,1)}var u=n.length;if(u>1)return n[u-1].toUpperCase()}(t,n),e.territory=r,r}function Z(e,r){for(var t in r)"numbers"===t?_(e,r[t]):"dates"===t&&Q(e,r[t])}function B(){for(var e=arguments,r=arguments.length,t=0;t<r;t++){var n=e[t];if(n.main){var a=Object.keys(n.main)[0],i=n.main[a],o=c[a]=c[a]||{};o.name=o.name||a,o.identity=o.identity||i.identity,X(o),Z(a,i)}else n.supplemental&&(n.supplemental.weekData?c.supplemental.weekData={firstDay:n.supplemental.weekData.firstDay}:Object.assign(c.supplemental,n.supplemental))}}function U(e){var r=e.name,t=c[r]=c[r]||{};if(e.likelySubtags){var n=c.supplemental=c.supplemental||{};n.likelySubtags=Object.assign(n.likelySubtags||{},e.likelySubtags)}var a=t.numbers;Object.assign(t,e),a&&e.numbers&&(t.numbers=Object.assign({},a,e.numbers))}function J(e,r){void 0===r&&(r=D);var t=f(r).calendar.dateFields;if(!t)throw l.NoDateFieldNames.error();var n=t[e.type]||{};return n[e.nameType]||n.wide}function W(e,r){var t=r.type,n=r.nameType,a=r.standAlone,i=r.lower,o=m(e),u=a?"stand-alone":"format",s=(i?"lower-":F)+n,l=o.calendar[t][u],c=l[s];return!c&&i&&(c=l[s]=function(e){return Array.isArray(e)?function(e){for(var r=[],t=0;t<e.length;t++)r.push(e[t].toLowerCase());return r}(e):function(e){var r={};for(var t in e)r[t]=e[t].toLowerCase();return r}(e)}(l[n])),c}function $(e){var r=e.split("-"),t=parseInt(r[0],10),n=parseInt(r[1],10)-1,a=parseInt(r[2],10);return new Date(t,n,a)}var R=l.NoCurrency,Y=l.NoCurrencyDisplay,K=l.NoSupplementalCurrency,V=l.NoCurrencyRegion,ee=l.NoValidCurrency,re=2,te="symbol",ne="XXX",ae={"001":"USD",150:"EUR"};function ie(e,r,t){var n=m(e).numbers.currencies;if(n){var a=n[r];if(a)return a;if(t)throw Y.error()}else if(t)throw R.error()}function oe(e,r){return r.length-e.length}function ue(e,r,t){void 0===t&&(t=!0);var n=ie(e,r,t);if(n){if(!n.displays){var a=[r];for(var i in n)a.push(n[i]);a.sort(oe),n.displays=a}return n.displays}}function se(e,r){var t=r.value,n=r.currency,a=r.currencyDisplay;if(void 0===a&&(a=te),"code"===a)return n;var i=ie(e,n,!0);return a===te?i["symbol-alt-narrow"]||i[te]:void 0===typeof t||1!==t?i["displayName-count-other"]:i["displayName-count-one"]}function le(e){var r=re,t=re,n=((c.supplemental.currencyData||{}).fractions||{})[e];return n&&n._digits&&(t=r=parseInt(n._digits,10)),{minimumFractionDigits:r,maximumFractionDigits:t}}function ce(e,r){if(void 0===r&&(r=!0),ae[e])return ae[e];var t=c.supplemental.currencyData;if(t){var n=t.region[e];if(n)return function(e){for(var r,t,n,a,i=0;i<e.length;i++){var o=e[i],u=Object.keys(o)[0],s=o[u];if(u!==ne&&"false"!==s._tender&&s._from)if(s._to){if(!n){var l=$(s._from),c=$(s._to);(!t||t.to<c||t.from<l)&&(r=u,t={from:l,to:c})}}else{var m=$(s._from);(!a||a<m)&&(n=u,a=m)}}return n||r}(n);if(r)throw V.error(e)}else if(r)throw K.error()}function me(e,r){var t=m(e),n=t.numbers;if(!n.localeCurrency){var a=ce(X(t),r);if(!a&&r)throw ee.error(t.name);n.localeCurrency=a}return n.localeCurrency}var fe=l.NoWeekData,de=l.NoFirstDay,ye=["sun","mon","tue","wed","thu","fri","sat"],pe="001";function ve(e){var r=m(e);if(!isNaN(r.firstDay))return r.firstDay;var t=c.supplemental.weekData;if(!t)throw fe.error();var n=t.firstDay[X(r)]||t.firstDay[pe];if(!n)throw de.error();return r.firstDay=ye.indexOf(n),r.firstDay}function ge(e){return m(e).numbers.symbols}function he(e,r){return void 0===r&&(r={}),r.currency||(r.currency=me(e,!0)),se(e,r)}function Me(e,r,t,n,a){var i=a.numbers.symbols,o=e.indexOf(i.decimal),u=n.groupSize.slice(),s=u.shift(),l=-1!==o?o:t+1,c=e.substring(r,l),m=e,f=c.length;if(f>=s){for(var d=f,y=[];d>-1;){var p=c.substring(d-s,d);p&&y.push(p),d-=s;var v=u.shift();if(0===(s=void 0!==v?v:s)){(p=c.substring(0,d))&&y.push(p);break}}c=y.reverse().join(i.group),m=e.substring(0,r)+c+e.substring(l)}return m}function be(e){return e===y||e===p}function Se(e,r,t){void 0===r&&(r=2),void 0===t&&(t=!1);var n=r-String(e).length,a=e;if(n>0){var i=new Array(n+1).join("0");a=t?e+i:i+e}return a}var we=20;function xe(e,r){var t=e,n=r||0;return t=t.toString().split("e"),t=(t=Math.round(Number(t[0]+"e"+(t[1]?Number(t[1])+n:n)))).toString().split("e"),(t=Number(t[0]+"e"+(t[1]?Number(t[1])-n:-n))).toFixed(Math.min(n,we))}var Fe=3,De=0,Ne=/0+$/;function Oe(e,r,t){var n=t.numbers.symbols,a=r.style,i=be(a);if(a===g)return(void 0!==r.minimumFractionDigits?e.toExponential(r.minimumFractionDigits):e.toExponential()).replace(x,n.decimal);var o,u=e;i&&(r.value=u,o=he(t,r)),a===v&&(u*=100,o=n.percentSign);var s=function(e){var r,t=e.minimumFractionDigits,n=e.maximumFractionDigits,a=e.style,i=be(a);return i&&(r=le(e.currency)),void 0===t&&(t=i?r.minimumFractionDigits:0),void 0===n&&(n=a===v?Math.max(t,De):i?Math.max(t,r.maximumFractionDigits):Math.max(t,Fe)),{minimumFractionDigits:t,maximumFractionDigits:n}}(r),l=s.minimumFractionDigits,c=(u=xe(u,s.maximumFractionDigits))<0,m=u.split(x),f=m[0],d=Se(m[1]?m[1].replace(Ne,F):F,l,!0);c&&(f=f.substring(1)),r.minimumIntegerDigits&&(f=Se(f,r.minimumIntegerDigits));var y,p=!1!==r.useGrouping?Me(f,0,f.length,r,t):f;if(d&&(p+=n.decimal+d),i&&"name"===r.currencyDisplay)y=function(e,r){var t=e.numbers.currency,n=1!==r?t["unitPattern-count-other"]:t["unitPattern-count-one"];return r<0&&(n=n.replace(b,"-"+b)),n}(t,e);else{var S=r.patterns;y=c?S[1]||"-"+S[0]:S[0]}return y!==b||c?function(e,r,t){for(var n=F,a=0,i=r.length;a<i;a++){var o=r.charAt(a);n+=o===b?e:o===h||o===M?t:o}return n}(p,y,o):p}var He="__??__",Te="#",Ee="0",ke=/(\\.)|(['][^']*[']?)|(["][^"]*["]?)/g,Ie=/(\.(?:[0-9]*[1-9])?)0+$/g,_e=/\.$/,ze=/\,/g;function Pe(e){var r=e.number,t=e.format,n=t.indexOf(x);if(-1!==n){var a=t.lastIndexOf(Ee)-n,i=t.lastIndexOf(Te)-n,o=a>-1,u=i>-1,s=r.toString().split("e"),l=(s=(s=s[1]?xe(r,Math.abs(s[1])):s[0]).split(x)[1]||F).length,c=-1;o||u?o&&a>i?l=a:i>a&&(u&&l>i?l=i:o&&l<a&&(l=a),c=o?a:0):(e.format=t.substring(0,n)+t.substring(n+1),n=-1,l=0),l>-1&&(r=xe(r,l),c>-1&&(r=function(e,r){var t;return t=0===r?Ie:new RegExp("(\\.[0-9]{"+r+"}[1-9]*)0+$","g"),e.replace(t,"$1").replace(_e,F)}(r,c)))}else r=xe(r);e.negative&&-1*r>=0&&(e.negative=!1),e.number=r,e.decimalIndex=n}function Ce(e){var r=e.number,t=e.format;if(t=t.split(S),e.negative&&t[1])t=t[1],e.hasNegativeFormat=!0;else if(0===r){var n=t[2];t=n||t[0],n&&function(e){return-1===e.indexOf(Te)&&-1===e.indexOf(Ee)}(n)&&(e.constant=n)}else t=t[0];e.format=t}function je(e,r,t){return-1===e&&-1!==r?r:-1!==e&&-1===r?e:t?Math.min(e,r):Math.max(e,r)}function Le(e,r){var t=e.number;return-1!==e.start&&(t=function(e,r){var t=e;if(r)for(var n=r.length,a=0;a<n;a++)t=t.replace(He,r[a]);return t}(t=function(e,r,t){var n=e;if(r===y||r===v){n=F;for(var a=0,i=e.length;a<i;a++){var o=e.charAt(a);n+=o===h||o===M?t:o}}return n}(t=function(e,r){var t=e.start,n=e.end,a=e.negative,i=e.format,o=e.decimalIndex,u=e.lastZeroIndex,s=e.hasNegativeFormat,l=e.hasGroup,c=e.number,m=c.toString().split(x),f=i.length,d=m[0],y=m[1]||F,p=d.length,v=F;c=i.substring(0,t),a&&!s&&(c+="-");for(var g=t;g<f;g++){var h=i.charAt(g);if(-1===o){if(n-g<p){c+=d;break}}else if(-1!==u&&u<g&&(v=F),o-g<=p&&o-g>-1&&(c+=d,g=o),o===g){c+=(y?r.numbers.symbols.decimal:F)+y,g+=n-o+1;continue}h===Ee?(c+=h,v=h):h===Te&&(c+=v)}return l&&(c=Me(c,t+(a&&!s?1:0),Math.max(n,p+t),r.numbers.decimal,r)),n>=t&&(c+=i.substring(n+1)),c}(e,r),e.style,e.symbol),e.literals)),t}function Ae(e,r,t){var n={negative:e<0,number:Math.abs(e),format:r};return Ce(n),n.constant?n.constant:(function(e){var r=e.format;if(r.indexOf("'")>-1||r.indexOf('"')>-1||r.indexOf("\\")>-1){var t=e.literals=[];e.format=r.replace(ke,function(e){var r=e.charAt(0).replace("\\",F),n=e.slice(1).replace(r,F);return t.push(n),He})}}(n),function(e,r){var t=e.format;-1!==t.indexOf(M)&&(e.style=v,e.symbol=r.numbers.symbols.percentSign,e.number*=100),-1!==t.indexOf(h)&&(e.style=y,e.symbol=he(r))}(n,t),function(e){e.hasGroup=e.format.indexOf(w)>-1,e.hasGroup&&(e.format=e.format.replace(ze,F))}(n),Pe(n),function(e){var r=e.format,t=r.indexOf(Te),n=r.indexOf(Ee),a=je(t,n,!0),i=je(t=r.lastIndexOf(Te),n=r.lastIndexOf(Ee));a===r.length&&(i=a),e.start=a,e.end=i,e.lastZeroIndex=n}(n),Le(n,t))}var qe=/^(n|c|p|e|a)(\d*)$/i;function Ge(e){return a(e)?function(e){var r=qe.exec(e);if(r){var t={style:d},n=r[1].toLowerCase();return"c"===n?t.style=y:"a"===n?t.style=p:"p"===n?t.style=v:"e"===n&&(t.style=g),r[2]&&(t.minimumFractionDigits=t.maximumFractionDigits=parseInt(r[2],10)),t}}(e):e}function Qe(e,r,t){if(void 0===r&&(r=b),void 0===t&&(t=D),void 0===e||null===e)return F;if(!isFinite(e))return String(e);var n,a=f(t),i=Ge(r);if(i){var o=i.style||d;n=Oe(e,Object.assign({},a.numbers[o],i),a)}else n=Ae(e,r,a);return n}function Xe(e){return"number"==typeof e}var Ze=/[eE][\-+]?[0-9]+/,Be=/\u00A0/g;function Ue(e,r){if(r.length>1){var t=(r[1]||F).replace(h,F).split(b);if(e.indexOf(t[0])>-1&&e.indexOf(t[1])>-1)return e.replace(t[0],F).replace(t[1],F)}}function Je(e,r,t){if(void 0===r&&(r=D),void 0===t&&(t={}),!e&&0!==e)return null;if(Xe(e))return e;var n,a=f(r),i=a.numbers.symbols,o=e.toString();if(Ze.test(o))return o=parseFloat(o.replace(i.decimal,x)),isNaN(o)?null:o;var u=o.indexOf("-");if(u>0)return null;var s=u>-1,l=function(e,r,t){var n,a=Ge(t)||{},i=be(a.style),o=e,u=a.currency||me(r,i);if(u){var s=ue(r,u,i);if(s)for(var l=0;l<s.length;l++){var c=s[l];if(o.includes(c)){o=o.replace(c,F),i=!0;break}}if(i){var m=Ue(o,r.numbers.currency.patterns)||Ue(o,r.numbers.accounting.patterns);m&&(n=!0,o=m)}}return{number:o,negative:n}}(o,a,t),c=l.negative;return o=l.number,s=void 0!==c?c:s,(t.style===v||o.indexOf(i.percentSign)>-1)&&(o=o.replace(i.percentSign,F),n=!0),o=o.replace("-",F).replace(Be," ").split(i.group.replace(Be," ")).join(F).replace(i.decimal,x),o=parseFloat(o),isNaN(o)?o=null:s&&(o*=-1),o&&n&&(o/=100),o}var We=/\{(\d+)}/g;function $e(e){var r=arguments;return e.replace(We,function(e,t){return r[parseInt(t,10)+1]})}var Re=120,Ye=20,Ke=[2,1,5,3,4],Ve={};Ve[(-2).toString()]=8,Ve[(-1).toString()]=6,Ve[2..toString()]=6,Ve[1..toString()]=3;var er={numeric:1,"2-digit":2,short:3,long:4,narrow:5},rr=/[hHmsSzZoOvVxX]/;var tr=[{key:"era",specifier:"G"},{key:"year",specifier:"y"},{key:"month",specifier:"M"},{key:"day",specifier:"d"},{key:"weekday",specifier:"E"},{key:"hour",getSpecifier:function(e){return e.hour12?"h":"H"}},{key:"minute",specifier:"m"},{key:"second",specifier:"s"},{key:"timeZoneName",specifier:"z"}],nr={e:"c",E:"c",M:"L",Q:"q"},ar={},ir={};function or(e){return ar[e]||(ar[e]=new RegExp(e+"+")),ar[e]}function ur(e){for(var r=[],t=e.charAt(0),n=t,a=1;a<e.length;a++){var i=e.charAt(a);i===n?t+=i:(r.push(t),t=n=i)}return r.push(t),r}function sr(e,r){var t,n,a=e.length,i=-Number.MAX_VALUE;for(var o in r){for(var u=[],s=o.replace("v","z"),l=0,c=0;c<a;c++){var m=e[c],f=(or(m[0]).exec(s)||[])[0];if(f){if(s=s.replace(f,F),f.length!==m.length){var d=Math.max(Math.min(Ke[f.length]-Ke[m.length],2),-2);l-=Ve[d]}}else l-=Re;if(u.push(f),l<i)break}s.length&&(l-=ur(s).length*Ye),l>i&&(i=l,t=u,n=r[o])}n=n.replace("v","z");for(var y=0;y<a;y++){var p=t[y];if(p&&p!==e[y]){var v=t[y][0];n=n.replace(or(v),e[y]),nr[v]&&(n=n.replace(or(nr[v]),e[y]))}}return n}function lr(e,r){var t=r.calendar.dateTimeFormats.availableFormats;if(t[e])return t[e];if(ir[r.name]&&ir[r.name][e])return ir[r.name][e];var n,a=e.search(rr);if(a>0){var i=e.substr(0,a),o=e.substr(a);n=$e(r.calendar.dateTimeFormats.short,t[o]||sr(ur(o),t),t[i]||sr(ur(i),t))}else n=sr(ur(e),t);return function(e,r,t){ir[t]||(ir[t]={}),ir[t][e]=r}(e,n,r.name),n}function cr(e,r){var t,n=r.calendar;if(a(e))t=n.patterns[e]?n.patterns[e]:e;else if(e){if(e.pattern)return e.pattern;var i=e.skeleton;i||(e.datetime?t=$e(n.dateTimeFormats[e.datetime],n.timeFormats[e.datetime],n.dateFormats[e.datetime]):e.date?t=n.dateFormats[e.date]:e.time?t=n.timeFormats[e.time]:i=function(e){for(var r=[],t=0;t<tr.length;t++){var n=tr[t],a=e[n.key];if(a){var i=n.specifier||n.getSpecifier(e);r.push(i.repeat(er[a]))}}return r.join(F)}(e)),i&&(t=lr(i,r))}return t||(t=n.patterns.d),t}function mr(e){var r;return e<=3?r="abbreviated":4===e?r="wide":5===e?r="narrow":6===e&&(r="short"),r}function fr(e,r,t,n,a){return W(e,{type:r,nameType:mr(t),standAlone:n,lower:a})}var dr={}.toString,yr="[object Date]";function pr(e){return dr.call(e)===yr}var vr={G:"era",y:"year",q:"quarter",Q:"quarter",M:"month",L:"month",d:"day",E:"weekday",c:"weekday",e:"weekday",h:"hour",H:"hour",k:"hour",K:"hour",m:"minute",s:"second",a:"dayperiod",x:"zone",X:"zone",z:"zone",Z:"zone"},gr=/d{1,2}|E{1,6}|e{1,6}|c{3,6}|c{1}|M{1,5}|L{1,5}|y{1,4}|H{1,2}|h{1,2}|k{1,2}|K{1,2}|m{1,2}|a{1,5}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|x{1,5}|X{1,5}|G{1,5}|q{1,5}|Q{1,5}|"[^"]*"|'[^']*'/g;function hr(e,r,t,n){return r<=2?Se(e+1,r):fr(t,"months",r,n)[e]}function Mr(e,r,t,n){var a=Math.floor(e.getMonth()/3);return r<3?a+1:fr(t,"quarters",r,n)[a]}function br(e,r,t){var n=t.shortHours,a=t.optionalMinutes,i=t.separator,o=t.localizedName,u=t.zZeroOffset,s=e.getTimezoneOffset()/60;if(0===s&&u)return"Z";var l=s<=0?"+":"-",c=Math.abs(s).toString().split("."),m=c[1]||0,f=l+(n?c[0]:Se(c[0],2));(!m&&a||(f+=(i?":":F)+Se(m,2)),o)&&(f=$e(0===s?r.calendar.gmtZeroFormat:r.calendar.gmtFormat,f));return f}function Sr(e,r,t,n){return r<3?function(e,r,t){var n=ve(t);return(e<n?7-n+e:e-n)+1}(e.getDay(),0,t):fr(t,"days",r,n)[e.getDay()]}var wr={};function xr(e,r,t){if(void 0===t&&(t=D),!pr(e))return void 0===e||null===e?F:e;var n=f(t);return cr(r,n).replace(gr,function(r){var t=r.length;return r.includes("'")||r.includes('"')?r.slice(1,t-1):wr[r[0]](e,t,n)})}function Fr(e,r,t){var n=e.getTimezoneOffset(),a=new Date(e.getTime()+6e4*(r-t)),i=a.getTimezoneOffset();return new Date(a.getTime()+6e4*(i-n))}wr.d=function(e,r){return Se(e.getDate(),r)},wr.E=function(e,r,t){return fr(t,"days",r)[e.getDay()]},wr.M=function(e,r,t){return hr(e.getMonth(),r,t,!1)},wr.L=function(e,r,t){return hr(e.getMonth(),r,t,!0)},wr.y=function(e,r){var t=e.getFullYear();return 2===r&&(t%=100),Se(t,r)},wr.h=function(e,r){return Se(e.getHours()%12||12,r)},wr.H=function(e,r){return Se(e.getHours(),r)},wr.k=function(e,r){return Se(e.getHours()||24,r)},wr.K=function(e,r){return Se(e.getHours()%12,r)},wr.m=function(e,r){return Se(e.getMinutes(),r)},wr.s=function(e,r){return Se(e.getSeconds(),r)},wr.S=function(e,r){return 0!==e.getMilliseconds()?String(e.getMilliseconds()/1e3).split(".")[1].substr(0,r):Se(F,r)},wr.a=function(e,r,t){return fr(t,"dayPeriods",r)[e.getHours()<12?"am":"pm"]},wr.z=function(e,r,t){return br(e,t,{shortHours:r<4,optionalMinutes:r<4,separator:!0,localizedName:!0})},wr.Z=function(e,r,t){return br(e,t,{separator:r>3,localizedName:4===r,zZeroOffset:5===r})},wr.x=function(e,r,t){return br(e,t,{optionalMinutes:1===r,separator:3===r||5===r})},wr.X=function(e,r,t){return br(e,t,{optionalMinutes:1===r,separator:3===r||5===r,zZeroOffset:!0})},wr.G=function(e,r,t){var n=e.getFullYear()>=0?1:0;return fr(t,"eras",r)[n]},wr.e=Sr,wr.c=function(e,r,t){return Sr(e,r,t,!0)},wr.q=function(e,r,t){return Mr(e,r,t,!0)},wr.Q=Mr;var Dr=/([+|\-]\d{1,2})(:?)(\d{2})?/,Nr=/^\/Date\((.*?)\)\/$/,Or=/[+-]\d*/,Hr={2:/^\d{1,2}/,3:/^\d{1,3}/,4:/^\d{4}/},Tr=/\d+/,Er="{0}",kr=["yyyy/MM/dd HH:mm:ss","yyyy/MM/dd HH:mm","yyyy/MM/dd","E MMM dd yyyy HH:mm:ss","yyyy-MM-ddTHH:mm:ss.SSSSSSSXXX","yyyy-MM-ddTHH:mm:ss.SSSXXX","yyyy-MM-ddTHH:mm:ss.SSXXX","yyyy-MM-ddTHH:mm:ssXXX","yyyy-MM-ddTHH:mm:ss.SSSSSSS","yyyy-MM-ddTHH:mm:ss.SSS","yyyy-MM-ddTHH:mmXXX","yyyy-MM-ddTHH:mmX","yyyy-MM-ddTHH:mm:ss","yyyy-MM-ddTHH:mm","yyyy-MM-dd HH:mm:ss","yyyy-MM-dd HH:mm","yyyy-MM-dd","HH:mm:ss","HH:mm"],Ir=["G","g","F","Y","y","M","m","D","d","y","T","t"];function _r(e,r,t){return!(e>=r&&e<=t)}function zr(e,r){for(var t=r.format,n=r.idx,a=0;t[n]===e;)a++,n++;return a>0&&(n-=1),r.idx=n,a}function Pr(e,r){var t=e?Hr[e]||new RegExp("^\\d{1,"+e+"}"):Tr,n=r.value.substr(r.valueIdx,e).match(t);return n?(n=n[0],r.valueIdx+=n.length,parseInt(n,10)):null}function Cr(e,r,t){for(var n,a,i,o=0,u=e.length,s=0,l=0;o<u;o++)a=(n=e[o]).length,i=r.value.substr(r.valueIdx,a),t&&(i=i.toLowerCase()),i===n&&a>s&&(s=a,l=o);return s?(r.valueIdx+=s,l+1):null}function jr(e){var r=!1;return e.value.charAt(e.valueIdx)===e.format[e.idx]&&(e.valueIdx++,r=!0),r}function Lr(e,r,t){var n=t.shortHours,a=t.noSeparator,i=t.optionalMinutes,o=t.localizedName,u=t.zLiteral;if(e.UTC=!0,u&&"Z"===e.value.charAt(e.valueIdx))return e.valueIdx++,!1;if(o&&!Cr(function(e){var r=e.gmtFormat,t=e.gmtZeroFormat;if(!r)throw l.NoGMTInfo.error();return[r.replace(Er,F).toLowerCase(),t.replace(Er,F).toLowerCase()]}(r.calendar),e,!0))return!0;var s=Dr.exec(e.value.substr(e.valueIdx,6));if(!s)return!o;var c=s[1],m=s[3],f=parseInt(c,10),d=s[2],y=parseInt(m,10);return!!(isNaN(f)||!n&&3!==c.length||!i&&isNaN(y)||a&&d)||(isNaN(y)&&(y=null),!!(_r(f,-12,13)||y&&_r(y,0,59))||(e.valueIdx+=s[0].length,e.hoursOffset=f,void(e.minutesOffset=y)))}function Ar(e,r,t){var n=zr(e,r),a=fr(t,"months",n,"L"===e,!0),i=n<3?Pr(2,r):Cr(a,r,!0);if(null===i||_r(i,1,12))return!0;r.month=i-1}function qr(e,r,t){var n=zr(e,r),a=fr(t,"days",n,"c"===e,!0),i=n<3?Pr(1,r):Cr(a,r,!0);if(!i&&0!==i||_r(i,1,7))return!0}var Gr={};function Qr(e,r,t){for(var n=cr(r,t).split(F),a={format:n,idx:0,value:e,valueIdx:0,year:null,month:null,day:null,hours:null,minutes:null,seconds:null,milliseconds:null},i=n.length,o=!1;a.idx<i;a.idx++){var u=n[a.idx];if(o)"'"===u&&(o=!1),jr(a);else if(Gr[u]){if(Gr[u](a,t))return null}else if("'"===u)o=!0,jr(a);else if(!jr(a))return null}return a.valueIdx<e.length?null:function(e){var r,t=e.year,n=e.month,a=e.day,i=e.hours,o=e.minutes,u=e.seconds,s=e.milliseconds,l=e.pmHour,c=e.UTC,m=e.hoursOffset,f=e.minutesOffset,d=null!==i||null!==o||u||null,y=new Date;return null===t&&null===n&&null===a&&d?(t=y.getFullYear(),n=y.getMonth(),a=y.getDate()):(null===t&&(t=y.getFullYear()),null===a&&(a=1)),l&&i<12&&(i+=12),c?(m&&(i+=-m),f&&(o+=-f*(m<0?-1:1)),r=new Date(Date.UTC(t,n,a,i,o,u,s))):function(e,r){r||23!==e.getHours()||e.setHours(e.getHours()+2)}(r=new Date(t,n,a,i,o,u,s),i),t<100&&r.setFullYear(t),r.getDate()!==a&&void 0===c?null:r}(a)||null}function Xr(e){if(e&&0===e.indexOf("/D")){var r=Nr.exec(e);if(r){r=r[1];var t=Or.exec(r.substring(1));return r=new Date(parseInt(r,10)),t&&(t=function(e){var r="-"===e.substr(0,1)?-1:1,t=e.substring(1);return r*(t=60*parseInt(t.substr(0,2),10)+parseInt(t.substring(2),10))}(t[0]),r=Fr(r=Fr(r,r.getTimezoneOffset(),0),0,-1*t)),r}}}function Zr(e,r,t){if(void 0===t&&(t=D),!e)return null;if(pr(e))return e;var n=String(e).trim(),a=Xr(n);if(a)return a;for(var i=f(t),o=r||function(e){for(var r=[],t=e.patterns,n=Ir.length,a=0;a<n;a++)r.push(t[Ir[a]]);return r.concat(kr)}(i.calendar),u=(o=Array.isArray(o)?o:[o]).length,s=0;s<u;s++)if(a=Qr(n,o[s],i))return a;return a}Gr.d=function(e){zr("d",e);var r=Pr(2,e);if(null===r||_r(r,1,31))return!0;null===e.day&&(e.day=r)},Gr.E=function(e,r){if(null===Cr(fr(r,"days",zr("E",e),!1,!0),e,!0))return!0},Gr.M=function(e,r){return Ar("M",e,r)},Gr.L=function(e,r){return Ar("L",e,r)},Gr.y=function(e){var r=zr("y",e),t=Pr(1===r?void 0:r,e);if(null===t)return!0;if(2===r){var n=(new Date).getFullYear();(t=n-n%100+t)>2029&&(t-=100)}e.year=t},Gr.h=function(e){zr("h",e);var r=Pr(2,e);if(12===r&&(r=0),null===r||_r(r,0,11))return!0;e.hours=r},Gr.K=function(e){zr("K",e);var r=Pr(2,e);if(null===r||_r(r,0,11))return!0;e.hours=r},Gr.a=function(e,r){var t=fr(r,"dayPeriods",zr("a",e),!1,!0),n=Cr([t.pm],e,!0);if(!n&&!Cr([t.am],e,!0))return!0;e.pmHour=n},Gr.H=function(e){zr("H",e);var r=Pr(2,e);if(null===r||_r(r,0,23))return!0;e.hours=r},Gr.k=function(e){zr("k",e);var r=Pr(2,e);if(null===r||_r(r,1,24))return!0;e.hours=24===r?0:r},Gr.m=function(e){zr("m",e);var r=Pr(2,e);if(null===r||_r(r,0,59))return!0;e.minutes=r},Gr.s=function(e){zr("s",e);var r=Pr(2,e);if(null===r||_r(r,0,59))return!0;e.seconds=r},Gr.S=function(e){var r=zr("S",e),t=e.value.substr(e.valueIdx,r),n=null;if(isNaN(parseInt(t,10))||(n=xe(n=parseFloat("0."+t,10),3),n*=1e3,e.valueIdx+=r),null===n||_r(n,0,999))return!0;e.milliseconds=n},Gr.z=function(e,r){var t=zr("z",e)<4,n=Lr(e,r,{shortHours:t,optionalMinutes:t,localizedName:!0});if(n)return n},Gr.Z=function(e,r){var t=zr("Z",e),n=Lr(e,r,{noSeparator:t<4,zLiteral:5===t,localizedName:4===t});if(n)return n},Gr.x=function(e,r){var t=zr("x",e),n=Lr(e,r,{noSeparator:3!==t&&5!==t,optionalMinutes:1===t});if(n)return n},Gr.X=function(e,r){var t=zr("X",e),n=Lr(e,r,{noSeparator:3!==t&&5!==t,optionalMinutes:1===t,zLiteral:!0});if(n)return n},Gr.G=function(e,r){var t=fr(r,"eras",zr("G",e),!1,!0);if(null===Cr([t[0],t[1]],e,!0))return!0},Gr.e=function(e,r){return qr("e",e,r)},Gr.c=function(e,r){return qr("c",e,r)};var Br={month:{type:"months",minLength:3,standAlone:"L"},quarter:{type:"quarters",minLength:3,standAlone:"q"},weekday:{type:"days",minLength:{E:0,c:3,e:3},standAlone:"c"},dayperiod:{type:"dayPeriods",minLength:0},era:{type:"eras",minLength:0}},Ur="literal";function Jr(e,r){var t=e[e.length-1];t&&t.type===Ur?t.pattern+=r:e.push({type:Ur,pattern:r})}function Wr(e){return"h"===e||"K"===e}function $r(e,r){void 0===r&&(r=D);for(var t=cr(e,f(r)),n=[],a=gr.lastIndex=0,i=gr.exec(t);i;){var o=i[0];if(a<i.index&&Jr(n,t.substring(a,i.index)),o.startsWith('"')||o.startsWith("'"))Jr(n,o);else{var u=o[0],s=vr[u],l={type:s,pattern:o};"hour"===s&&(l.hour12=Wr(o));var c=Br[s];if(c){var m=Xe(c.minLength)?c.minLength:c.minLength[u],d=o.length;d>=m&&(l.names={type:c.type,nameType:mr(d),standAlone:c.standAlone===u})}n.push(l)}a=gr.lastIndex,i=gr.exec(t)}return a<t.length&&Jr(n,t.substring(a)),n}var Rr=/\{(\d+)(:[^\}]+)?\}/g;function Yr(e,r,t){if(r){if(pr(e))return xr(e,r,t);if(Xe(e))return Qe(e,r,t)}return void 0!==e&&null!==e?e:F}function Kr(e,r,t){return e.replace(Rr,function(e,n,a){return Yr(r[parseInt(n,10)],a?a.substring(1):F,t)})}t.d(r,"formatNumber",function(){return Qe}),t.d(r,"parseNumber",function(){return Je}),t.d(r,"formatDate",function(){return xr}),t.d(r,"parseDate",function(){return Zr}),t.d(r,"splitDateFormat",function(){return $r}),t.d(r,"load",function(){return B}),t.d(r,"setData",function(){return U}),t.d(r,"dateFieldName",function(){return J}),t.d(r,"dateFormatNames",function(){return W}),t.d(r,"cldr",function(){return c}),t.d(r,"localeInfo",function(){return f}),t.d(r,"currencyDisplays",function(){return ue}),t.d(r,"currencyDisplay",function(){return se}),t.d(r,"currencyFractionOptions",function(){return le}),t.d(r,"territoryCurrencyCode",function(){return ce}),t.d(r,"localeCurrency",function(){return me}),t.d(r,"firstDay",function(){return ve}),t.d(r,"numberSymbols",function(){return ge}),t.d(r,"toString",function(){return Yr}),t.d(r,"format",function(){return Kr}),t.d(r,"errors",function(){return l}),t.d(r,"IntlError",function(){return o}),t.d(r,"toIntlErrors",function(){return s})},function(e,r,t){"use strict";function n(e){for(var t in e)r.hasOwnProperty(t)||(r[t]=e[t])}Object.defineProperty(r,"__esModule",{value:!0}),n(t(7)),n(t(9)),n(t(12)),n(t(13))},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t(8);r.IntlProvider=n.default;var a=t(1);r.IntlService=a.IntlService},function(e,r,t){"use strict";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var t in r)r.hasOwnProperty(t)&&(e[t]=r[t])};return function(r,t){function n(){this.constructor=r}e(r,t),r.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}();Object.defineProperty(r,"__esModule",{value:!0});var a=t(3),i=t(0),o=t(1),u=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return n(r,e),r.prototype.getIntlService=function(){return new o.IntlService(this.props.locale)},r.prototype.getChildContext=function(){return{kendoIntlService:this.getIntlService()}},r.prototype.render=function(){return a.Children.only(this.props.children)},r.propTypes={locale:i.string},r.childContextTypes={kendoIntlService:i.object},r}(a.Component);r.default=u},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t(10);r.loadMessages=n.loadMessages;var a=t(11);r.LocalizationProvider=a.LocalizationProvider;var i=t(2);r.LocalizationService=i.LocalizationService},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t(4),a=function(e,r,t){for(var n in e)if(e.hasOwnProperty(n)){var i=t.slice();if(i.push(n),"string"!=typeof e[n])a(e[n],r,i);else{var o=e[n];Object.defineProperty(r,i.join("."),{value:o})}}};r.loadMessages=function(e,r){var t=n.messages[r]=n.messages[r]||{};a(e,t,[])}},function(e,r,t){"use strict";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var t in r)r.hasOwnProperty(t)&&(e[t]=r[t])};return function(r,t){function n(){this.constructor=r}e(r,t),r.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}();Object.defineProperty(r,"__esModule",{value:!0});var a=t(3),i=t(0),o=t(2),u=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return n(r,e),r.prototype.getLocalizationService=function(){return new o.LocalizationService(this.props.language)},r.prototype.getChildContext=function(){return{kendoLocalizationService:this.getLocalizationService()}},r.prototype.render=function(){return a.Children.only(this.props.children)},r.propTypes={language:i.string},r.childContextTypes={kendoLocalizationService:i.object},r}(a.Component);r.LocalizationProvider=u},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t(5);r.load=n.load},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t(0),a=t(1),i=t(2);r.provideIntlService=function(e){return e.context&&e.context.kendoIntlService||new a.IntlService("en")},r.provideLocalizationService=function(e){return e.context&&e.context.kendoLocalizationService||new i.LocalizationService},r.registerForIntl=function(e){var r={kendoIntlService:n.object};e.contextTypes?Object.assign(e.contextTypes,r):e.contextTypes=r},r.registerForLocalization=function(e){var r={kendoLocalizationService:n.object};e.contextTypes?Object.assign(e.contextTypes,r):e.contextTypes=r}}])});
{
"name": "@progress/kendo-react-intl",
"description": "KendoReact Internationalization package",
"version": "2.3.0-dev.201810151602",
"version": "2.3.0-dev.201810161345",
"repository": {

@@ -6,0 +6,0 @@ "type": "git",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc