@progress/kendo-react-intl
Advanced tools
Comparing version 0.1.2 to 0.1.3-dev.201801101534
@@ -1,2 +0,2 @@ | ||
!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("react")):"function"==typeof define&&define.amd?define(["react"],r):"object"==typeof exports?exports.KendoReactIntl=r(require("react")):e.KendoReactIntl=r(e.React)}(this,function(e){return function(e){function r(n){if(t[n])return t[n].exports;var a=t[n]={exports:{},id:n,loaded:!1};return e[n].call(a.exports,a,a.exports,r),a.loaded=!0,a.exports}var t={};return r.m=e,r.c=t,r.p="",r(0)}([function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t(1);r.IntlProvider=n.default;var a=t(15);r.provideIntlService=a.provideIntlService,r.registerForIntl=a.registerForIntl;var i=t(13);r.IntlService=i.default;var o=t(16);r.load=o.load},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(2),i=t(3),o=t(13),u=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return n(r,e),r.prototype.getIntlService=function(){return new o.default(this.props.locale)},r.prototype.getChildContext=function(){return{kendoIntlService:this.getIntlService()}},r.prototype.render=function(){return a.Children.only(this.props.children)},r}(a.Component);u.childContextTypes={kendoIntlService:i.object},r.default=u},function(r,t){r.exports=e},function(e,r,t){(function(r){if("production"!==r.env.NODE_ENV){var n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,a=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},i=!0;e.exports=t(5)(a,i)}else e.exports=t(12)()}).call(r,t(4))},function(e,r){function t(){throw new Error("setTimeout has not been defined")}function n(){throw new Error("clearTimeout has not been defined")}function a(e){if(c===setTimeout)return setTimeout(e,0);if((c===t||!c)&&setTimeout)return c=setTimeout,setTimeout(e,0);try{return c(e,0)}catch(r){try{return c.call(null,e,0)}catch(r){return c.call(this,e,0)}}}function i(e){if(f===clearTimeout)return clearTimeout(e);if((f===n||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(e);try{return f(e)}catch(r){try{return f.call(null,e)}catch(r){return f.call(this,e)}}}function o(){y&&d&&(y=!1,d.length?p=d.concat(p):v=-1,p.length&&u())}function u(){if(!y){var e=a(o);y=!0;for(var r=p.length;r;){for(d=p,p=[];++v<r;)d&&d[v].run();v=-1,r=p.length}d=null,y=!1,i(e)}}function s(e,r){this.fun=e,this.array=r}function l(){}var c,f,m=e.exports={};!function(){try{c="function"==typeof setTimeout?setTimeout:t}catch(e){c=t}try{f="function"==typeof clearTimeout?clearTimeout:n}catch(e){f=n}}();var d,p=[],y=!1,v=-1;m.nextTick=function(e){var r=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)r[t-1]=arguments[t];p.push(new s(e,r)),1!==p.length||y||a(u)},s.prototype.run=function(){this.fun.apply(null,this.array)},m.title="browser",m.browser=!0,m.env={},m.argv=[],m.version="",m.versions={},m.on=l,m.addListener=l,m.once=l,m.off=l,m.removeListener=l,m.removeAllListeners=l,m.emit=l,m.prependListener=l,m.prependOnceListener=l,m.listeners=function(e){return[]},m.binding=function(e){throw new Error("process.binding is not supported")},m.cwd=function(){return"/"},m.chdir=function(e){throw new Error("process.chdir is not supported")},m.umask=function(){return 0}},function(e,r,t){(function(r){"use strict";var n=t(6),a=t(7),i=t(8),o=t(9),u=t(10),s=t(11);e.exports=function(e,t){function l(e){var r=e&&(k&&e[k]||e[H]);if("function"==typeof r)return r}function c(e,r){return e===r?0!==e||1/e===1/r:e!==e&&r!==r}function f(e){this.message=e,this.stack=""}function m(e){function n(n,l,c,m,d,p,y){if(m=m||I,p=p||c,y!==u)if(t)a(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");else if("production"!==r.env.NODE_ENV&&"undefined"!=typeof console){var v=m+":"+c;!o[v]&&s<3&&(i(!1,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",p,m),o[v]=!0,s++)}return null==l[c]?n?new f(null===l[c]?"The "+d+" `"+p+"` is marked as required "+("in `"+m+"`, but its value is `null`."):"The "+d+" `"+p+"` is marked as required in "+("`"+m+"`, but its value is `undefined`.")):null:e(l,c,m,d,p)}if("production"!==r.env.NODE_ENV)var o={},s=0;var l=n.bind(null,!1);return l.isRequired=n.bind(null,!0),l}function d(e){function r(r,t,n,a,i,o){var u=r[t],s=N(u);if(s!==e){var l=E(u);return new f("Invalid "+a+" `"+i+"` of type "+("`"+l+"` supplied to `"+n+"`, expected ")+("`"+e+"`."))}return null}return m(r)}function p(){return m(n.thatReturnsNull)}function y(e){function r(r,t,n,a,i){if("function"!=typeof e)return new f("Property `"+i+"` of component `"+n+"` has invalid PropType notation inside arrayOf.");var o=r[t];if(!Array.isArray(o)){var s=N(o);return new f("Invalid "+a+" `"+i+"` of type "+("`"+s+"` supplied to `"+n+"`, expected an array."))}for(var l=0;l<o.length;l++){var c=e(o,l,n,a,i+"["+l+"]",u);if(c instanceof Error)return c}return null}return m(r)}function v(){function r(r,t,n,a,i){var o=r[t];if(!e(o)){var u=N(o);return new f("Invalid "+a+" `"+i+"` of type "+("`"+u+"` supplied to `"+n+"`, expected a single ReactElement."))}return null}return m(r)}function h(e){function r(r,t,n,a,i){if(!(r[t]instanceof e)){var o=e.name||I,u=D(r[t]);return new f("Invalid "+a+" `"+i+"` of type "+("`"+u+"` supplied to `"+n+"`, expected ")+("instance of `"+o+"`."))}return null}return m(r)}function g(e){function t(r,t,n,a,i){for(var o=r[t],u=0;u<e.length;u++)if(c(o,e[u]))return null;var s=JSON.stringify(e);return new f("Invalid "+a+" `"+i+"` of value `"+o+"` "+("supplied to `"+n+"`, expected one of "+s+"."))}return Array.isArray(e)?m(t):("production"!==r.env.NODE_ENV?i(!1,"Invalid argument supplied to oneOf, expected an instance of array."):void 0,n.thatReturnsNull)}function M(e){function r(r,t,n,a,i){if("function"!=typeof e)return new f("Property `"+i+"` of component `"+n+"` has invalid PropType notation inside objectOf.");var o=r[t],s=N(o);if("object"!==s)return new f("Invalid "+a+" `"+i+"` of type "+("`"+s+"` supplied to `"+n+"`, expected an object."));for(var l in o)if(o.hasOwnProperty(l)){var c=e(o,l,n,a,i+"."+l,u);if(c instanceof Error)return c}return null}return m(r)}function b(e){function t(r,t,n,a,i){for(var o=0;o<e.length;o++){var s=e[o];if(null==s(r,t,n,a,i,u))return null}return new f("Invalid "+a+" `"+i+"` supplied to "+("`"+n+"`."))}if(!Array.isArray(e))return"production"!==r.env.NODE_ENV?i(!1,"Invalid argument supplied to oneOfType, expected an instance of array."):void 0,n.thatReturnsNull;for(var a=0;a<e.length;a++){var o=e[a];if("function"!=typeof o)return i(!1,"Invalid argument supplied to oneOfType. Expected an array of check functions, but received %s at index %s.",T(o),a),n.thatReturnsNull}return m(t)}function w(){function e(e,r,t,n,a){return O(e[r])?null:new f("Invalid "+n+" `"+a+"` supplied to "+("`"+t+"`, expected a ReactNode."))}return m(e)}function S(e){function r(r,t,n,a,i){var o=r[t],s=N(o);if("object"!==s)return new f("Invalid "+a+" `"+i+"` of type `"+s+"` "+("supplied to `"+n+"`, expected `object`."));for(var l in e){var c=e[l];if(c){var m=c(o,l,n,a,i+"."+l,u);if(m)return m}}return null}return m(r)}function x(e){function r(r,t,n,a,i){var s=r[t],l=N(s);if("object"!==l)return new f("Invalid "+a+" `"+i+"` of type `"+l+"` "+("supplied to `"+n+"`, expected `object`."));var c=o({},r[t],e);for(var m in c){var d=e[m];if(!d)return new f("Invalid "+a+" `"+i+"` key `"+m+"` supplied to `"+n+"`.\nBad object: "+JSON.stringify(r[t],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var p=d(s,m,n,a,i+"."+m,u);if(p)return p}return null}return m(r)}function O(r){switch(typeof r){case"number":case"string":case"undefined":return!0;case"boolean":return!r;case"object":if(Array.isArray(r))return r.every(O);if(null===r||e(r))return!0;var t=l(r);if(!t)return!1;var n,a=t.call(r);if(t!==r.entries){for(;!(n=a.next()).done;)if(!O(n.value))return!1}else for(;!(n=a.next()).done;){var i=n.value;if(i&&!O(i[1]))return!1}return!0;default:return!1}}function F(e,r){return"symbol"===e||("Symbol"===r["@@toStringTag"]||"function"==typeof Symbol&&r instanceof Symbol)}function N(e){var r=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":F(r,e)?"symbol":r}function E(e){if("undefined"==typeof e||null===e)return""+e;var r=N(e);if("object"===r){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return r}function T(e){var r=E(e);switch(r){case"array":case"object":return"an "+r;case"boolean":case"date":case"regexp":return"a "+r;default:return r}}function D(e){return e.constructor&&e.constructor.name?e.constructor.name:I}var k="function"==typeof Symbol&&Symbol.iterator,H="@@iterator",I="<<anonymous>>",j={array:d("array"),bool:d("boolean"),func:d("function"),number:d("number"),object:d("object"),string:d("string"),symbol:d("symbol"),any:p(),arrayOf:y,element:v(),instanceOf:h,node:w(),objectOf:M,oneOf:g,oneOfType:b,shape:S,exact:x};return f.prototype=Error.prototype,j.checkPropTypes=s,j.PropTypes=j,j}}).call(r,t(4))},function(e,r){"use strict";function t(e){return function(){return e}}var n=function(){};n.thatReturns=t,n.thatReturnsFalse=t(!1),n.thatReturnsTrue=t(!0),n.thatReturnsNull=t(null),n.thatReturnsThis=function(){return this},n.thatReturnsArgument=function(e){return e},e.exports=n},function(e,r,t){(function(r){"use strict";function t(e,r,t,a,i,o,u,s){if(n(r),!e){var l;if(void 0===r)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[t,a,i,o,u,s],f=0;l=new Error(r.replace(/%s/g,function(){return c[f++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}}var n=function(e){};"production"!==r.env.NODE_ENV&&(n=function(e){if(void 0===e)throw new Error("invariant requires an error message argument")}),e.exports=t}).call(r,t(4))},function(e,r,t){(function(r){"use strict";var n=t(6),a=n;if("production"!==r.env.NODE_ENV){var i=function(e){for(var r=arguments.length,t=Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];var a=0,i="Warning: "+e.replace(/%s/g,function(){return t[a++]});"undefined"!=typeof console&&console.error(i);try{throw new Error(i)}catch(e){}};a=function(e,r){if(void 0===r)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==r.indexOf("Failed Composite propType: ")&&!e){for(var t=arguments.length,n=Array(t>2?t-2:0),a=2;a<t;a++)n[a-2]=arguments[a];i.apply(void 0,[r].concat(n))}}}e.exports=a}).call(r,t(4))},function(e,r){/* | ||
!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("react")):"function"==typeof define&&define.amd?define(["react"],r):"object"==typeof exports?exports.KendoReactIntl=r(require("react")):e.KendoReactIntl=r(e.React)}(this,function(e){return function(e){function r(n){if(t[n])return t[n].exports;var a=t[n]={exports:{},id:n,loaded:!1};return e[n].call(a.exports,a,a.exports,r),a.loaded=!0,a.exports}var t={};return r.m=e,r.c=t,r.p="",r(0)}([function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t(1);r.IntlProvider=n.default;var a=t(15);r.provideIntlService=a.provideIntlService,r.registerForIntl=a.registerForIntl;var i=t(13);r.IntlService=i.default;var o=t(16);r.load=o.load},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(2),i=t(3),o=t(13),u=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return n(r,e),r.prototype.getIntlService=function(){return new o.default(this.props.locale)},r.prototype.getChildContext=function(){return{kendoIntlService:this.getIntlService()}},r.prototype.render=function(){return a.Children.only(this.props.children)},r}(a.Component);u.propTypes={locale:i.string},u.childContextTypes={kendoIntlService:i.object},r.default=u},function(r,t){r.exports=e},function(e,r,t){(function(r){if("production"!==r.env.NODE_ENV){var n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,a=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},i=!0;e.exports=t(5)(a,i)}else e.exports=t(12)()}).call(r,t(4))},function(e,r){function t(){throw new Error("setTimeout has not been defined")}function n(){throw new Error("clearTimeout has not been defined")}function a(e){if(c===setTimeout)return setTimeout(e,0);if((c===t||!c)&&setTimeout)return c=setTimeout,setTimeout(e,0);try{return c(e,0)}catch(r){try{return c.call(null,e,0)}catch(r){return c.call(this,e,0)}}}function i(e){if(f===clearTimeout)return clearTimeout(e);if((f===n||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(e);try{return f(e)}catch(r){try{return f.call(null,e)}catch(r){return f.call(this,e)}}}function o(){y&&d&&(y=!1,d.length?p=d.concat(p):v=-1,p.length&&u())}function u(){if(!y){var e=a(o);y=!0;for(var r=p.length;r;){for(d=p,p=[];++v<r;)d&&d[v].run();v=-1,r=p.length}d=null,y=!1,i(e)}}function s(e,r){this.fun=e,this.array=r}function l(){}var c,f,m=e.exports={};!function(){try{c="function"==typeof setTimeout?setTimeout:t}catch(e){c=t}try{f="function"==typeof clearTimeout?clearTimeout:n}catch(e){f=n}}();var d,p=[],y=!1,v=-1;m.nextTick=function(e){var r=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)r[t-1]=arguments[t];p.push(new s(e,r)),1!==p.length||y||a(u)},s.prototype.run=function(){this.fun.apply(null,this.array)},m.title="browser",m.browser=!0,m.env={},m.argv=[],m.version="",m.versions={},m.on=l,m.addListener=l,m.once=l,m.off=l,m.removeListener=l,m.removeAllListeners=l,m.emit=l,m.prependListener=l,m.prependOnceListener=l,m.listeners=function(e){return[]},m.binding=function(e){throw new Error("process.binding is not supported")},m.cwd=function(){return"/"},m.chdir=function(e){throw new Error("process.chdir is not supported")},m.umask=function(){return 0}},function(e,r,t){(function(r){"use strict";var n=t(6),a=t(7),i=t(8),o=t(9),u=t(10),s=t(11);e.exports=function(e,t){function l(e){var r=e&&(k&&e[k]||e[H]);if("function"==typeof r)return r}function c(e,r){return e===r?0!==e||1/e===1/r:e!==e&&r!==r}function f(e){this.message=e,this.stack=""}function m(e){function n(n,l,c,m,d,p,y){if(m=m||I,p=p||c,y!==u)if(t)a(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");else if("production"!==r.env.NODE_ENV&&"undefined"!=typeof console){var v=m+":"+c;!o[v]&&s<3&&(i(!1,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",p,m),o[v]=!0,s++)}return null==l[c]?n?new f(null===l[c]?"The "+d+" `"+p+"` is marked as required "+("in `"+m+"`, but its value is `null`."):"The "+d+" `"+p+"` is marked as required in "+("`"+m+"`, but its value is `undefined`.")):null:e(l,c,m,d,p)}if("production"!==r.env.NODE_ENV)var o={},s=0;var l=n.bind(null,!1);return l.isRequired=n.bind(null,!0),l}function d(e){function r(r,t,n,a,i,o){var u=r[t],s=N(u);if(s!==e){var l=T(u);return new f("Invalid "+a+" `"+i+"` of type "+("`"+l+"` supplied to `"+n+"`, expected ")+("`"+e+"`."))}return null}return m(r)}function p(){return m(n.thatReturnsNull)}function y(e){function r(r,t,n,a,i){if("function"!=typeof e)return new f("Property `"+i+"` of component `"+n+"` has invalid PropType notation inside arrayOf.");var o=r[t];if(!Array.isArray(o)){var s=N(o);return new f("Invalid "+a+" `"+i+"` of type "+("`"+s+"` supplied to `"+n+"`, expected an array."))}for(var l=0;l<o.length;l++){var c=e(o,l,n,a,i+"["+l+"]",u);if(c instanceof Error)return c}return null}return m(r)}function v(){function r(r,t,n,a,i){var o=r[t];if(!e(o)){var u=N(o);return new f("Invalid "+a+" `"+i+"` of type "+("`"+u+"` supplied to `"+n+"`, expected a single ReactElement."))}return null}return m(r)}function h(e){function r(r,t,n,a,i){if(!(r[t]instanceof e)){var o=e.name||I,u=D(r[t]);return new f("Invalid "+a+" `"+i+"` of type "+("`"+u+"` supplied to `"+n+"`, expected ")+("instance of `"+o+"`."))}return null}return m(r)}function g(e){function t(r,t,n,a,i){for(var o=r[t],u=0;u<e.length;u++)if(c(o,e[u]))return null;var s=JSON.stringify(e);return new f("Invalid "+a+" `"+i+"` of value `"+o+"` "+("supplied to `"+n+"`, expected one of "+s+"."))}return Array.isArray(e)?m(t):("production"!==r.env.NODE_ENV?i(!1,"Invalid argument supplied to oneOf, expected an instance of array."):void 0,n.thatReturnsNull)}function M(e){function r(r,t,n,a,i){if("function"!=typeof e)return new f("Property `"+i+"` of component `"+n+"` has invalid PropType notation inside objectOf.");var o=r[t],s=N(o);if("object"!==s)return new f("Invalid "+a+" `"+i+"` of type "+("`"+s+"` supplied to `"+n+"`, expected an object."));for(var l in o)if(o.hasOwnProperty(l)){var c=e(o,l,n,a,i+"."+l,u);if(c instanceof Error)return c}return null}return m(r)}function b(e){function t(r,t,n,a,i){for(var o=0;o<e.length;o++){var s=e[o];if(null==s(r,t,n,a,i,u))return null}return new f("Invalid "+a+" `"+i+"` supplied to "+("`"+n+"`."))}if(!Array.isArray(e))return"production"!==r.env.NODE_ENV?i(!1,"Invalid argument supplied to oneOfType, expected an instance of array."):void 0,n.thatReturnsNull;for(var a=0;a<e.length;a++){var o=e[a];if("function"!=typeof o)return i(!1,"Invalid argument supplied to oneOfType. Expected an array of check functions, but received %s at index %s.",E(o),a),n.thatReturnsNull}return m(t)}function w(){function e(e,r,t,n,a){return O(e[r])?null:new f("Invalid "+n+" `"+a+"` supplied to "+("`"+t+"`, expected a ReactNode."))}return m(e)}function S(e){function r(r,t,n,a,i){var o=r[t],s=N(o);if("object"!==s)return new f("Invalid "+a+" `"+i+"` of type `"+s+"` "+("supplied to `"+n+"`, expected `object`."));for(var l in e){var c=e[l];if(c){var m=c(o,l,n,a,i+"."+l,u);if(m)return m}}return null}return m(r)}function x(e){function r(r,t,n,a,i){var s=r[t],l=N(s);if("object"!==l)return new f("Invalid "+a+" `"+i+"` of type `"+l+"` "+("supplied to `"+n+"`, expected `object`."));var c=o({},r[t],e);for(var m in c){var d=e[m];if(!d)return new f("Invalid "+a+" `"+i+"` key `"+m+"` supplied to `"+n+"`.\nBad object: "+JSON.stringify(r[t],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var p=d(s,m,n,a,i+"."+m,u);if(p)return p}return null}return m(r)}function O(r){switch(typeof r){case"number":case"string":case"undefined":return!0;case"boolean":return!r;case"object":if(Array.isArray(r))return r.every(O);if(null===r||e(r))return!0;var t=l(r);if(!t)return!1;var n,a=t.call(r);if(t!==r.entries){for(;!(n=a.next()).done;)if(!O(n.value))return!1}else for(;!(n=a.next()).done;){var i=n.value;if(i&&!O(i[1]))return!1}return!0;default:return!1}}function F(e,r){return"symbol"===e||("Symbol"===r["@@toStringTag"]||"function"==typeof Symbol&&r instanceof Symbol)}function N(e){var r=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":F(r,e)?"symbol":r}function T(e){if("undefined"==typeof e||null===e)return""+e;var r=N(e);if("object"===r){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return r}function E(e){var r=T(e);switch(r){case"array":case"object":return"an "+r;case"boolean":case"date":case"regexp":return"a "+r;default:return r}}function D(e){return e.constructor&&e.constructor.name?e.constructor.name:I}var k="function"==typeof Symbol&&Symbol.iterator,H="@@iterator",I="<<anonymous>>",j={array:d("array"),bool:d("boolean"),func:d("function"),number:d("number"),object:d("object"),string:d("string"),symbol:d("symbol"),any:p(),arrayOf:y,element:v(),instanceOf:h,node:w(),objectOf:M,oneOf:g,oneOfType:b,shape:S,exact:x};return f.prototype=Error.prototype,j.checkPropTypes=s,j.PropTypes=j,j}}).call(r,t(4))},function(e,r){"use strict";function t(e){return function(){return e}}var n=function(){};n.thatReturns=t,n.thatReturnsFalse=t(!1),n.thatReturnsTrue=t(!0),n.thatReturnsNull=t(null),n.thatReturnsThis=function(){return this},n.thatReturnsArgument=function(e){return e},e.exports=n},function(e,r,t){(function(r){"use strict";function t(e,r,t,a,i,o,u,s){if(n(r),!e){var l;if(void 0===r)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[t,a,i,o,u,s],f=0;l=new Error(r.replace(/%s/g,function(){return c[f++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}}var n=function(e){};"production"!==r.env.NODE_ENV&&(n=function(e){if(void 0===e)throw new Error("invariant requires an error message argument")}),e.exports=t}).call(r,t(4))},function(e,r,t){(function(r){"use strict";var n=t(6),a=n;if("production"!==r.env.NODE_ENV){var i=function(e){for(var r=arguments.length,t=Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];var a=0,i="Warning: "+e.replace(/%s/g,function(){return t[a++]});"undefined"!=typeof console&&console.error(i);try{throw new Error(i)}catch(e){}};a=function(e,r){if(void 0===r)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==r.indexOf("Failed Composite propType: ")&&!e){for(var t=arguments.length,n=Array(t>2?t-2:0),a=2;a<t;a++)n[a-2]=arguments[a];i.apply(void 0,[r].concat(n))}}}e.exports=a}).call(r,t(4))},function(e,r){/* | ||
object-assign | ||
@@ -6,3 +6,3 @@ (c) Sindre Sorhus | ||
*/ | ||
"use strict";function t(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function n(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var r={},t=0;t<10;t++)r["_"+String.fromCharCode(t)]=t;var n=Object.getOwnPropertyNames(r).map(function(e){return r[e]});if("0123456789"!==n.join(""))return!1;var a={};return"abcdefghijklmnopqrst".split("").forEach(function(e){a[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},a)).join("")}catch(e){return!1}}var a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;e.exports=n()?Object.assign:function(e,r){for(var n,u,s=t(e),l=1;l<arguments.length;l++){n=Object(arguments[l]);for(var c in n)i.call(n,c)&&(s[c]=n[c]);if(a){u=a(n);for(var f=0;f<u.length;f++)o.call(n,u[f])&&(s[u[f]]=n[u[f]])}}return s}},function(e,r){"use strict";var t="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";e.exports=t},function(e,r,t){(function(r){"use strict";function n(e,t,n,s,l){if("production"!==r.env.NODE_ENV)for(var c in e)if(e.hasOwnProperty(c)){var f;try{a("function"==typeof e[c],"%s: %s type `%s` is invalid; it must be a function, usually from the `prop-types` package, but received `%s`.",s||"React class",n,c,typeof e[c]),f=e[c](t,c,s,n,null,o)}catch(e){f=e}if(i(!f||f instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",s||"React class",n,c,typeof f),f instanceof Error&&!(f.message in u)){u[f.message]=!0;var m=l?l():"";i(!1,"Failed %s type: %s%s",n,f.message,null!=m?m:"")}}}if("production"!==r.env.NODE_ENV)var a=t(7),i=t(8),o=t(10),u={};e.exports=n}).call(r,t(4))},function(e,r,t){"use strict";var n=t(6),a=t(7),i=t(10);e.exports=function(){function e(e,r,t,n,o,u){u!==i&&a(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function r(){return e}e.isRequired=e;var t={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r};return t.checkPropTypes=n,t.PropTypes=t,t}},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t(14),a=function(){function e(e){if(this.locale=e,""===e)throw"Locale should not be empty string"}return e.prototype.format=function(e,r){return 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.default=a},function(e,r){"use strict";function t(e){return"string"==typeof e}function n(e,r){var t=e.split("-"),n=t[0],a=t[1],i=t[2];return lr[e]||r.indexOf(i)!==-1&&lr[n+"-"+i]||r.indexOf(a)!==-1&&lr[n+"-"+a]||lr[n]}function a(e,r){for(var t=lr.supplemental.likelySubtags,n=0;n<r.length;n++){var a=t[e+"-"+r[n]];if(a)return a}if(t[e])return t[e]}function i(e){var r;return r=t(e)?o(e):e}function o(e){if(lr[e])return lr[e];var r=lr.supplemental.likelySubtags;if(r){var t=e.split("-"),i=t[0],o=t.slice(1),u=a(i,o),s=u?n(u,o):null;if(s)return s}throw sr.NoLocale.error(e)}function u(e){return Fr.lastIndex=0,e.replace(Nr,yr).replace(Fr,hr).split(gr)}function s(e){Fr.lastIndex=0;var r=Fr.exec(e.split(gr)[0])[0].split(br),t=r[0],n=t.split(Mr).slice(1).map(function(e){return e.length}).reverse();return n}function l(e,r){for(var t in r)t.startsWith("unitPattern")&&(e[t]=r[t].replace("{0}",hr).replace("{1}",yr))}function c(e,r){var t=lr[e],n=t.numbers=t.numbers||{};n.symbols=n.symbols||{};for(var a in r)if(a===Or)Object.assign(n.symbols,r[a]);else if(a.includes(xr)){var i=a.substr(0,a.indexOf(xr)),o=r[a].standard;n[i]={patterns:u(o)},i===fr?(n[i].groupSize=s((r[cr+xr]||r[a]).standard),l(n[i],r[a]),n[mr]={patterns:u(r[a][mr]),groupSize:n[i].groupSize}):n[i].groupSize=s(o)}else"currencies"===a&&(n.currencies=r[a])}function f(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 m(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:f(o)}}return t}function d(e){var r={},t=r.format={},n={eraAbbr:"abbreviated",eraNames:"wide",eraNarrow:"narrow"};for(var a in e){var i=n[a];t[i]=e[a]}return r}function p(e,r){var t=lr[e].calendar;t.days=m(r.days),t.months=m(r.months),t.quarters=m(r.quarters),t.dayPeriods=m(r.dayPeriods,!0),t.eras=d(r.eras)}function y(e,r){var t=lr[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 v(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 h(e,r){var t=lr[e].calendar,n=t.patterns={};for(var a in Tr)n[a]=v(Tr[a],r);for(var i in Er)n[i]=Er[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 g(e,r){var t=lr[e].calendar=lr[e].calendar||{};for(var n in r)"timeZoneNames"===n?(t.gmtFormat=r[n].gmtFormat,t.gmtZeroFormat=r[n].gmtZeroFormat):"calendars"===n&&r[n].gregorian?(h(e,r[n].gregorian),p(e,r[n].gregorian)):"fields"===n&&y(e,r.fields)}function M(e,r){var t=lr.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){var s=n[u-1];return s.toUpperCase()}}function b(e){if(e.territory)return e.territory;var r,t=e.name,n=e.identity;return r=n&&n.territory?n.territory:M(t,n),e.territory=r,r}function w(e,r){for(var t in r)"numbers"===t?c(e,r[t]):"dates"===t&&g(e,r[t])}function S(){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=lr[a]=lr[a]||{};o.name=o.name||a,o.identity=o.identity||i.identity,b(o),w(a,i)}else n.supplemental&&(n.supplemental.weekData?lr.supplemental.weekData={firstDay:n.supplemental.weekData.firstDay}:Object.assign(lr.supplemental,n.supplemental))}}function x(e){var r=e.name,t=lr[r]=lr[r]||{};if(e.likelySubtags){var n=lr.supplemental=lr.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 O(e,r){void 0===r&&(r=Sr);var t=o(r),n=t.calendar.dateFields;if(!n)throw sr.NoDateFieldNames.error();var a=n[e.type]||{};return a[e.nameType]||a.wide}function F(e){for(var r=[],t=0;t<e.length;t++)r.push(e[t].toLowerCase());return r}function N(e){var r={};for(var t in e)r[t]=e[t].toLowerCase();return r}function E(e){var r=Array.isArray(e)?F(e):N(e);return r}function T(e,r){var t=r.type,n=r.nameType,a=r.standAlone,o=r.lower,u=i(e),s=a?"stand-alone":"format",l=(o?"lower-":wr)+n,c=u.calendar[t][s],f=c[l];return!f&&o&&(f=c[l]=E(c[n])),f}function D(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)}function k(e,r,t){var n=i(e),a=n.numbers.currencies;if(a){var o=a[r];if(o)return o;if(t)throw kr.error()}else if(t)throw Dr.error()}function H(e,r){return r.length-e.length}function I(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!==_r&&"false"!==s._tender&&s._from)if(s._to){if(!n){var l=D(s._from),c=D(s._to);(!t||t.to<c||t.from<l)&&(r=u,t={from:l,to:c})}}else{var f=D(s._from);(!a||a<f)&&(n=u,a=f)}}return n||r}function j(e,r,t){void 0===t&&(t=!0);var n=k(e,r,t);if(n){if(!n.displays){var a=[r];for(var i in n)a.push(n[i]);a.sort(H),n.displays=a}return n.displays}}function A(e,r){var t=r.value,n=r.currency,a=r.currencyDisplay;if(void 0===a&&(a=Pr),"code"===a)return n;var i,o=k(e,n,!0);return i=a===Pr?o["symbol-alt-narrow"]||o[Pr]:void 0===typeof t||1!==t?o["displayName-count-other"]:o["displayName-count-one"]}function P(e){var r=Ar,t=Ar,n=((lr.supplemental.currencyData||{}).fractions||{})[e];return n&&n._digits&&(t=r=parseInt(n._digits,10)),{minimumFractionDigits:r,maximumFractionDigits:t}}function _(e,r){if(void 0===r&&(r=!0),Cr[e])return Cr[e];var t=lr.supplemental.currencyData;if(t){var n=t.region[e];if(n){var a=I(n);return a}if(r)throw Ir.error(e)}else if(r)throw Hr.error()}function C(e,r){var t=i(e),n=t.numbers;if(!n.localeCurrency){var a=_(b(t),r);if(!a&&r)throw jr.error(t.name);n.localeCurrency=a}return n.localeCurrency}function z(e){var r=i(e);if(!isNaN(r.firstDay))return r.firstDay;var t=lr.supplemental.weekData;if(!t)throw zr.error();var n=t.firstDay[b(r)]||t.firstDay[Rr];if(!n)throw Lr.error();return r.firstDay=qr.indexOf(n),r.firstDay}function L(e){var r=i(e);return r.numbers.symbols}function q(e,r){void 0===r&&(r={}),r.currency||(r.currency=C(e,!0));var t=A(e,r);return t}function R(e,r,t,n,a){var i=a.numbers.symbols,o=e.indexOf(i.decimal),u=n.groupSize.slice(),s=u.shift(),l=o!==-1?o:t+1,c=e.substring(r,l),f=e,m=c.length;if(m>=s){for(var d=m,p=[];d>-1;){var y=c.substring(d-s,d);y&&p.push(y),d-=s;var v=u.shift();if(s=void 0!==v?v:s,0===s){y=c.substring(0,d),y&&p.push(y);break}}c=p.reverse().join(i.group),f=e.substring(0,r)+c+e.substring(l)}return f}function G(e){return e===fr||e===mr}function Q(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}function B(e,r){var t=e,n=r||0;return t=t.toString().split("e"),t=Math.round(Number(t[0]+"e"+(t[1]?Number(t[1])+n:n))),t=t.toString().split("e"),t=Number(t[0]+"e"+(t[1]?Number(t[1])-n:-n)),t.toFixed(Math.min(n,Gr))}function X(e){var r,t=e.minimumFractionDigits,n=e.maximumFractionDigits,a=e.style,i=G(a);return i&&(r=P(e.currency)),void 0===t&&(t=i?r.minimumFractionDigits:0),void 0===n&&(n=a===dr?Math.max(t,Br):i?Math.max(t,r.maximumFractionDigits):Math.max(t,Qr)),{minimumFractionDigits:t,maximumFractionDigits:n}}function Z(e,r,t){for(var n=wr,a=0,i=r.length;a<i;a++){var o=r.charAt(a);n+=o===hr?e:o===yr||o===vr?t:o}return n}function U(e,r){var t=e.numbers.currency,n=1!==r?t["unitPattern-count-other"]:t["unitPattern-count-one"];return r<0&&(n=n.replace(hr,"-"+hr)),n}function J(e,r,t){var n=t.numbers.symbols,a=r.style,i=G(a);if(a===pr){var o=void 0!==r.minimumFractionDigits?e.toExponential(r.minimumFractionDigits):e.toExponential();return o.replace(br,n.decimal)}var u,s=e;i&&(r.value=s,u=q(t,r)),a===dr&&(s*=100,u=n.percentSign);var l=X(r),c=l.minimumFractionDigits,f=l.maximumFractionDigits;s=B(s,f);var m=s<0,d=s.split(br),p=d[0],y=Q(d[1]?d[1].replace(Xr,wr):wr,c,!0);m&&(p=p.substring(1)),r.minimumIntegerDigits&&(p=Q(p,r.minimumIntegerDigits));var v=r.useGrouping!==!1?R(p,0,p.length,r,t):p;y&&(v+=n.decimal+y);var h;if(i&&"name"===r.currencyDisplay)h=U(t,e);else{var g=r.patterns;h=m?g[1]||"-"+g[0]:g[0]}if(h===hr&&!m)return v;var M=Z(v,h,u);return M}function W(e){var r=e.format;if(r.indexOf("'")>-1||r.indexOf('"')>-1||r.indexOf("\\")>-1){var t=e.literals=[];e.format=r.replace(Wr,function(e){var r=e.charAt(0).replace("\\",wr),n=e.slice(1).replace(r,wr);return t.push(n),Zr})}}function $(e,r){var t;return t=0===r?$r:new RegExp("(\\.[0-9]{"+r+"}[1-9]*)0+$","g"),e.replace(t,"$1").replace(Vr,wr)}function V(e){var r=e.number,t=e.format,n=t.indexOf(br);if(n!==-1){var a=t.lastIndexOf(Jr)-n,i=t.lastIndexOf(Ur)-n,o=a>-1,u=i>-1,s=r.toString().split("e");s=s[1]?B(r,Math.abs(s[1])):s[0],s=s.split(br)[1]||wr;var l=s.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=B(r,l),c>-1&&(r=$(r,c)))}else r=B(r);e.negative&&r*-1>=0&&(e.negative=!1),e.number=r,e.decimalIndex=n}function Y(e){return e.indexOf(Ur)===-1&&e.indexOf(Jr)===-1}function K(e){var r=e.number,t=e.format;if(t=t.split(gr),e.negative&&t[1])t=t[1],e.hasNegativeFormat=!0;else if(0===r){var n=t[2];t=n||t[0],n&&Y(n)&&(e.constant=n)}else t=t[0];e.format=t}function ee(e,r){var t=e.format;t.indexOf(vr)!==-1&&(e.style=dr,e.symbol=r.numbers.symbols.percentSign,e.number*=100),t.indexOf(yr)!==-1&&(e.style=fr,e.symbol=q(r))}function re(e){e.hasGroup=e.format.indexOf(Mr)>-1,e.hasGroup&&(e.format=e.format.replace(Yr,wr))}function te(e,r,t){var n;return n=e===-1&&r!==-1?r:e!==-1&&r===-1?e:t?Math.min(e,r):Math.max(e,r)}function ne(e){var r=e.format,t=r.indexOf(Ur),n=r.indexOf(Jr),a=te(t,n,!0);t=r.lastIndexOf(Ur),n=r.lastIndexOf(Jr);var i=te(t,n);a===r.length&&(i=a),e.start=a,e.end=i,e.lastZeroIndex=n}function ae(e,r,t){var n=e;if(r===fr||r===dr){n=wr;for(var a=0,i=e.length;a<i;a++){var o=e.charAt(a);n+=o===yr||o===vr?t:o}}return n}function ie(e,r){var t=e;if(r)for(var n=r.length,a=0;a<n;a++)t=t.replace(Zr,r[a]);return t}function oe(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,f=c.toString().split(br),m=i.length,d=f[0],p=f[1]||wr,y=d.length,v=wr;c=i.substring(0,t),a&&!s&&(c+="-");for(var h=t;h<m;h++){var g=i.charAt(h);if(o===-1){if(n-h<y){c+=d;break}}else if(u!==-1&&u<h&&(v=wr),o-h<=y&&o-h>-1&&(c+=d,h=o),o===h){c+=(p?r.numbers.symbols.decimal:wr)+p,h+=n-o+1;continue}g===Jr?(c+=g,v=g):g===Ur&&(c+=v)}return l&&(c=R(c,t+(a&&!s?1:0),Math.max(n,y+t),r.numbers.decimal,r)),n>=t&&(c+=i.substring(n+1)),c}function ue(e,r){var t=e.number;return e.start!==-1&&(t=oe(e,r),t=ae(t,e.style,e.symbol),t=ie(t,e.literals)),t}function se(e,r,t){var n={negative:e<0,number:Math.abs(e),format:r};return K(n),n.constant?n.constant:(W(n),ee(n,t),re(n),V(n),ne(n),ue(n,t))}function le(e){var r=Kr.exec(e);if(r){var t={style:cr},n=r[1].toLowerCase();return"c"===n?t.style=fr:"a"===n?t.style=mr:"p"===n?t.style=dr:"e"===n&&(t.style=pr),r[2]&&(t.minimumFractionDigits=t.maximumFractionDigits=parseInt(r[2],10)),t}}function ce(e){var r;return r=t(e)?le(e):e}function fe(e,r,t){if(void 0===r&&(r=hr),void 0===t&&(t=Sr),void 0===e||null===e)return wr;if(!isFinite(e))return String(e);var n,a=o(t),i=ce(r);if(i){var u=(i||{}).style||cr;n=J(e,Object.assign({},a.numbers[u],i),a)}else n=se(e,r,a);return n}function me(e){return"number"==typeof e}function de(e,r){if(r.length>1){var t=(r[1]||wr).replace(yr,wr).split(hr);if(e.indexOf(t[0])>-1&&e.indexOf(t[1])>-1)return e.replace(t[0],wr).replace(t[1],wr)}}function pe(e,r,t){var n,a=ce(t)||{},i=G(a.style),o=e,u=a.currency||C(r,i);if(u){var s=j(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,wr),i=!0;break}}if(i){var f=de(o,r.numbers.currency.patterns)||de(o,r.numbers.accounting.patterns);f&&(n=!0,o=f)}}return{number:o,negative:n}}function ye(e,r,t){if(void 0===r&&(r=Sr),void 0===t&&(t={}),!e&&0!==e)return null;if(me(e))return e;var n,a=o(r),i=a.numbers.symbols,u=e.toString();if(et.test(u))return u=parseFloat(u.replace(i.decimal,br)),isNaN(u)?null:u;var s=u.indexOf("-");if(s>0)return null;var l=s>-1,c=pe(u,a,t),f=c.negative,m=c.number;return u=m,l=void 0!==f?f:l,(t.style===dr||u.indexOf(i.percentSign)>-1)&&(u=u.replace(i.percentSign,wr),n=!0),u=u.replace("-",wr).replace(rt," ").split(i.group.replace(rt," ")).join(wr).replace(i.decimal,br),u=parseFloat(u),isNaN(u)?u=null:l&&(u*=-1),u&&n&&(u/=100),u}function ve(e){var r=arguments;return e.replace(tt,function(e,t){var n=r[parseInt(t,10)+1];return n})}function he(e){return e.hour12?"h":"H"}function ge(e){return yt[e]||(yt[e]=new RegExp(e+"+")),yt[e]}function Me(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 be(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 f=e[c],m=ge(f[0]),d=(m.exec(s)||[])[0];if(d){if(s=s.replace(d,wr),d.length!==f.length){var p=Math.max(Math.min(it[d.length]-it[f.length],2),-2);l-=ct[p]}}else l-=nt;if(u.push(d),l<i)break}s.length&&(l-=Me(s).length*at),l>i&&(i=l,t=u,n=r[o])}n=n.replace("v","z");for(var y=0;y<a;y++){var v=t[y];if(v&&v!==e[y]){var h=t[y][0];n=n.replace(ge(h),e[y]),pt[h]&&(n=n.replace(ge(pt[h]),e[y]))}}return n}function we(e,r,t){vt[t]||(vt[t]={}),vt[t][e]=r}function Se(e,r){var t=r.calendar.dateTimeFormats.availableFormats;if(t[e])return t[e];if(vt[r.name]&&vt[r.name][e])return vt[r.name][e];var n,a=e.search(mt);if(a>0){var i=e.substr(0,a),o=e.substr(a);n=ve(r.calendar.dateTimeFormats.short,t[o]||be(Me(o),t),t[i]||be(Me(i),t))}else n=be(Me(e),t);return we(e,n,r.name),n}function xe(e){for(var r=[],t=0;t<dt.length;t++){var n=dt[t],a=n.key,i=e[a];if(i){var o=n.specifier||n.getSpecifier(e);r.push(o.repeat(ft[i]))}}return r.join(wr)}function Oe(e,r){var n,a=r.calendar;if(t(e))n=a.patterns[e]?a.patterns[e]:e;else if(e){if(e.pattern)return e.pattern;var i=e.skeleton;i||(e.datetime?n=ve(a.dateTimeFormats[e.datetime],a.timeFormats[e.datetime],a.dateFormats[e.datetime]):e.date?n=a.dateFormats[e.date]:e.time?n=a.timeFormats[e.time]:i=xe(e)),i&&(n=Se(i,r))}return n||(n=a.patterns.d),n}function Fe(e){var r;return e<=3?r="abbreviated":4===e?r="wide":5===e?r="narrow":6===e&&(r="short"),r}function Ne(e,r,t,n,a){return T(e,{type:r,nameType:Fe(t),standAlone:n,lower:a})}function Ee(e){return ht.call(e)===gt}function Te(e,r,t){var n,a=z(t);return n=e<a?7-a+e:e-a,n+1}function De(e,r,t,n){return r<=2?Q(e+1,r):Ne(t,"months",r,n)[e]}function ke(e,r,t,n){var a=Math.floor(e.getMonth()/3);return r<3?a+1:Ne(t,"quarters",r,n)[a]}function He(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("."),f=c[1]||0,m=l+(n?c[0]:Q(c[0],2));if(!f&&a||(m+=(i?":":wr)+Q(f,2)),o){var d=0===s?r.calendar.gmtZeroFormat:r.calendar.gmtFormat;m=ve(d,m)}return m}function Ie(e,r,t,n){var a;return a=r<3?Te(e.getDay(),r,t):Ne(t,"days",r,n)[e.getDay()]}function je(e,r,t){if(void 0===t&&(t=Sr),!Ee(e))return void 0===e||null===e?wr:e;var n=o(t),a=Oe(r,n);return a.replace(Ft,function(r){var t,a=r.length;return t=r.includes("'")||r.includes('"')?r.slice(1,a-1):Nt[r[0]](e,a,n)})}function Ae(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))}function Pe(e,r){r||23!==e.getHours()||e.setHours(e.getHours()+2)}function _e(e,r,t){return!(e>=r&&e<=t)}function Ce(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 ze(e,r){var t=e?kt[e]||new RegExp("^\\d{1,"+e+"}"):Ht,n=r.value.substr(r.valueIdx,e).match(t);return n?(n=n[0],r.valueIdx+=n.length,parseInt(n,10)):null}function Le(e,r,t){for(var n,a,i,o=0,u=e.length,s=0,l=0;o<u;o++)n=e[o],a=n.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 qe(e){var r=!1;return e.value.charAt(e.valueIdx)===e.format[e.idx]&&(e.valueIdx++,r=!0),r}function Re(e){var r=e.gmtFormat,t=e.gmtZeroFormat;if(!r)throw sr.NoGMTInfo.error();return[r.replace(It,wr).toLowerCase(),t.replace(It,wr).toLowerCase()]}function Ge(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&&!Le(Re(r.calendar),e,!0))return!0;var s=Et.exec(e.value.substr(e.valueIdx,6));if(!s)return!o;var l=s[1],c=s[3],f=parseInt(l,10),m=s[2],d=parseInt(c,10);return!!(isNaN(f)||!n&&3!==l.length||!i&&isNaN(d)||a&&m)||(isNaN(d)&&(d=null),!!(_e(f,-12,13)||d&&_e(d,0,59))||(e.valueIdx+=s[0].length,e.hoursOffset=f,void(e.minutesOffset=d)))}function Qe(e,r,t){var n=Ce(e,r),a=Ne(t,"months",n,"L"===e,!0),i=n<3?ze(2,r):Le(a,r,!0);return!(null!==i&&!_e(i,1,12))||void(r.month=i-1)}function Be(e,r,t){var n=Ce(e,r),a=Ne(t,"days",n,"c"===e,!0),i=n<3?ze(1,r):Le(a,r,!0);if(!i&&0!==i||_e(i,1,7))return!0}function Xe(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,f=e.hoursOffset,m=e.minutesOffset,d=null!==i||null!==o||u||null,p=new Date;return null===t&&null===n&&null===a&&d?(t=p.getFullYear(),n=p.getMonth(),a=p.getDate()):(null===t&&(t=p.getFullYear()),null===a&&(a=1)),l&&i<12&&(i+=12),c?(f&&(i+=-f),m&&(o+=-m*(f<0?-1:1)),r=new Date(Date.UTC(t,n,a,i,o,u,s))):(r=new Date(t,n,a,i,o,u,s),Pe(r,i)),t<100&&r.setFullYear(t),r.getDate()!==a&&void 0===c?null:r}function Ze(e,r,t){for(var n=Oe(r,t).split(wr),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),qe(a);else if(_t[u]){var s=_t[u](a,t);if(s)return null}else if("'"===u)o=!0,qe(a);else if(!qe(a))return null}return a.valueIdx<e.length?null:Xe(a)||null}function Ue(e){var r="-"===e.substr(0,1)?-1:1,t=e.substring(1);return t=60*parseInt(t.substr(0,2),10)+parseInt(t.substring(2),10),r*t}function Je(e){if(e&&0===e.indexOf("/D")){var r=Tt.exec(e);if(r){r=r[1];var t=Dt.exec(r.substring(1));return r=new Date(parseInt(r,10)),t&&(t=Ue(t[0]),r=Ae(r,r.getTimezoneOffset(),0),r=Ae(r,0,-1*t)),r}}}function We(e){for(var r=[],t=e.patterns,n=At.length,a=0;a<n;a++)r.push(t[At[a]]);return r.concat(jt)}function $e(e,r,t){if(void 0===t&&(t=Sr),!e)return null;if(Ee(e))return e;var n=String(e).trim(),a=Je(n);if(a)return a;var i=o(t),u=r||We(i.calendar);u=Array.isArray(u)?u:[u];for(var s=u.length,l=0;l<s;l++)if(a=Ze(n,u[l],i))return a;return a}function Ve(e,r){var t=e[e.length-1];t&&t.type===zt?t.pattern+=r:e.push({type:zt,pattern:r})}function Ye(e){return"h"===e||"K"===e}function Ke(e,r){void 0===r&&(r=Sr);for(var t=o(r),n=Oe(e,t),a=[],i=Ft.lastIndex=0,u=Ft.exec(n);u;){var s=u[0];if(i<u.index&&Ve(a,n.substring(i,u.index)),s.startsWith('"')||s.startsWith("'"))Ve(a,s);else{var l=s[0],c=Ot[l],f={type:c,pattern:s};"hour"===c&&(f.hour12=Ye(s));var m=Ct[c];if(m){var d=me(m.minLength)?m.minLength:m.minLength[l],p=s.length;p>=d&&(f.names={type:m.type,nameType:Fe(p),standAlone:m.standAlone===l})}a.push(f)}i=Ft.lastIndex,u=Ft.exec(n)}return i<n.length&&Ve(a,n.substring(i)),a}function er(e,r,t){if(r){if(Ee(e))return je(e,r,t);if(me(e))return fe(e,r,t)}return void 0!==e&&null!==e?e:wr}function rr(e,r,t){return e.replace(Lt,function(e,n,a){var i=r[parseInt(n,10)];return er(i,a?a.substring(1):wr,t)})}Object.defineProperty(r,"__esModule",{value:!0});var tr={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"}}}},nr={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."},ar=/\{(\d+)}?\}/g,ir=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};ir.prototype.formatMessage=function(){for(var e=[],r=arguments.length;r--;)e[r]=arguments[r];var t=or(e),n=this.message.replace(ar,function(e,r){return t[parseInt(r,10)]});return this.name+": "+n},ir.prototype.error=function(){for(var e=[],r=arguments.length;r--;)e[r]=arguments[r];return new Error(this.formatMessage(e))};var or=function(e){return e.reduce(function(e,r){return e.concat(r)},[])},ur=function(e){var r=function(r,t){return r[t]=new ir({name:t,message:e[t]}),r};return Object.keys(e).reduce(r,{})},sr=ur(nr),lr=tr,cr="decimal",fr="currency",mr="accounting",dr="percent",pr="scientific",yr="$",vr="%",hr="n",gr=";",Mr=",",br=".",wr="",Sr="en",xr="Formats-numberSystem-latn",Or="symbols-numberSystem-latn",Fr=/([#,0.]+)/g,Nr=/¤/g,Er={s:"yyyy'-'MM'-'dd'T'HH':'mm':'ss",u:"yyyy'-'MM'-'dd HH':'mm':'ss'Z'"},Tr={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"]]},Dr=sr.NoCurrency,kr=sr.NoCurrencyDisplay,Hr=sr.NoSupplementalCurrency,Ir=sr.NoCurrencyRegion,jr=sr.NoValidCurrency,Ar=2,Pr="symbol",_r="XXX",Cr={"001":"USD",150:"EUR"},zr=sr.NoWeekData,Lr=sr.NoFirstDay,qr=["sun","mon","tue","wed","thu","fri","sat"],Rr="001",Gr=20,Qr=3,Br=0,Xr=/0+$/,Zr="__??__",Ur="#",Jr="0",Wr=/(\\.)|(['][^']*[']?)|(["][^"]*["]?)/g,$r=/(\.(?:[0-9]*[1-9])?)0+$/g,Vr=/\.$/,Yr=/\,/g,Kr=/^(n|c|p|e|a)(\d*)$/i,et=/[eE][\-+]?[0-9]+/,rt=/\u00A0/g,tt=/\{(\d+)}/g,nt=120,at=20,it=[2,1,5,3,4],ot=-2,ut=-1,st=1,lt=2,ct={};ct[ot]=8,ct[ut]=6,ct[lt]=6,ct[st]=3;var ft={numeric:1,"2-digit":2,short:3,long:4,narrow:5},mt=/[hHmsSzZoOvVxX]/,dt=[{key:"era",specifier:"G"},{key:"year",specifier:"y" | ||
},{key:"month",specifier:"M"},{key:"day",specifier:"d"},{key:"weekday",specifier:"E"},{key:"hour",getSpecifier:he},{key:"minute",specifier:"m"},{key:"second",specifier:"s"},{key:"timeZoneName",specifier:"z"}],pt={e:"c",E:"c",M:"L",Q:"q"},yt={},vt={},ht={}.toString,gt="[object Date]",Mt="month",bt="hour",wt="zone",St="weekday",xt="quarter",Ot={G:"era",y:"year",q:xt,Q:xt,M:Mt,L:Mt,d:"day",E:St,c:St,e:St,h:bt,H:bt,k:bt,K:bt,m:"minute",s:"second",a:"dayperiod",x:wt,X:wt,z:wt,Z:wt},Ft=/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,Nt={};Nt.d=function(e,r){return Q(e.getDate(),r)},Nt.E=function(e,r,t){return Ne(t,"days",r)[e.getDay()]},Nt.M=function(e,r,t){return De(e.getMonth(),r,t,!1)},Nt.L=function(e,r,t){return De(e.getMonth(),r,t,!0)},Nt.y=function(e,r){var t=e.getFullYear();return 2===r&&(t%=100),Q(t,r)},Nt.h=function(e,r){var t=e.getHours()%12||12;return Q(t,r)},Nt.H=function(e,r){return Q(e.getHours(),r)},Nt.k=function(e,r){return Q(e.getHours()||24,r)},Nt.K=function(e,r){return Q(e.getHours()%12,r)},Nt.m=function(e,r){return Q(e.getMinutes(),r)},Nt.s=function(e,r){return Q(e.getSeconds(),r)},Nt.S=function(e,r){var t,n=e.getMilliseconds();return t=0!==n?String(e.getMilliseconds()/1e3).split(".")[1].substr(0,r):Q(wr,r)},Nt.a=function(e,r,t){return Ne(t,"dayPeriods",r)[e.getHours()<12?"am":"pm"]},Nt.z=function(e,r,t){return He(e,t,{shortHours:r<4,optionalMinutes:r<4,separator:!0,localizedName:!0})},Nt.Z=function(e,r,t){return He(e,t,{separator:r>3,localizedName:4===r,zZeroOffset:5===r})},Nt.x=function(e,r,t){return He(e,t,{optionalMinutes:1===r,separator:3===r||5===r})},Nt.X=function(e,r,t){return He(e,t,{optionalMinutes:1===r,separator:3===r||5===r,zZeroOffset:!0})},Nt.G=function(e,r,t){var n=e.getFullYear()>=0?1:0;return Ne(t,"eras",r)[n]},Nt.e=Ie,Nt.c=function(e,r,t){return Ie(e,r,t,!0)},Nt.q=function(e,r,t){return ke(e,r,t,!0)},Nt.Q=ke;var Et=/([+|\-]\d{1,2})(:?)(\d{2})?/,Tt=/^\/Date\((.*?)\)\/$/,Dt=/[+-]\d*/,kt={2:/^\d{1,2}/,3:/^\d{1,3}/,4:/^\d{4}/},Ht=/\d+/,It="{0}",jt=["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: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"],At=["G","g","F","Y","y","M","m","D","d","y","T","t"],Pt=2029,_t={};_t.d=function(e){Ce("d",e);var r=ze(2,e);return!(null!==r&&!_e(r,1,31))||void(null===e.day&&(e.day=r))},_t.E=function(e,r){var t=Ce("E",e),n=Le(Ne(r,"days",t,!1,!0),e,!0);if(null===n)return!0},_t.M=function(e,r){return Qe("M",e,r)},_t.L=function(e,r){return Qe("L",e,r)},_t.y=function(e){var r=Ce("y",e),t=ze(1===r?void 0:r,e);if(null===t)return!0;if(2===r){var n=(new Date).getFullYear();t=n-n%100+t,t>Pt&&(t-=100)}e.year=t},_t.h=function(e){Ce("h",e);var r=ze(2,e);return 12===r&&(r=0),!(null!==r&&!_e(r,0,11))||void(e.hours=r)},_t.K=function(e){Ce("K",e);var r=ze(2,e);return!(null!==r&&!_e(r,0,11))||void(e.hours=r)},_t.a=function(e,r){var t=Ce("a",e),n=Ne(r,"dayPeriods",t,!1,!0),a=Le([n.pm],e,!0);return!a&&!Le([n.am],e,!0)||void(e.pmHour=a)},_t.H=function(e){Ce("H",e);var r=ze(2,e);return!(null!==r&&!_e(r,0,23))||void(e.hours=r)},_t.k=function(e){Ce("k",e);var r=ze(2,e);return!(null!==r&&!_e(r,1,24))||void(e.hours=24===r?0:r)},_t.m=function(e){Ce("m",e);var r=ze(2,e);return!(null!==r&&!_e(r,0,59))||void(e.minutes=r)},_t.s=function(e){Ce("s",e);var r=ze(2,e);return!(null!==r&&!_e(r,0,59))||void(e.seconds=r)},_t.S=function(e){var r=Ce("S",e),t=e.value.substr(e.valueIdx,r),n=null;return isNaN(parseInt(t,10))||(n=parseFloat("0."+t,10),n=B(n,3),n*=1e3,e.valueIdx+=r),!(null!==n&&!_e(n,0,999))||void(e.milliseconds=n)},_t.z=function(e,r){var t=Ce("z",e),n=t<4,a=Ge(e,r,{shortHours:n,optionalMinutes:n,localizedName:!0});if(a)return a},_t.Z=function(e,r){var t=Ce("Z",e),n=Ge(e,r,{noSeparator:t<4,zLiteral:5===t,localizedName:4===t});if(n)return n},_t.x=function(e,r){var t=Ce("x",e),n=Ge(e,r,{noSeparator:3!==t&&5!==t,optionalMinutes:1===t});if(n)return n},_t.X=function(e,r){var t=Ce("X",e),n=Ge(e,r,{noSeparator:3!==t&&5!==t,optionalMinutes:1===t,zLiteral:!0});if(n)return n},_t.G=function(e,r){var t=Ce("G",e),n=Ne(r,"eras",t,!1,!0),a=Le([n[0],n[1]],e,!0);if(null===a)return!0},_t.e=function(e,r){return Be("e",e,r)},_t.c=function(e,r){return Be("c",e,r)};var Ct={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}},zt="literal",Lt=/\{(\d+)(:[^\}]+)?\}/g;r.formatNumber=fe,r.parseNumber=ye,r.formatDate=je,r.parseDate=$e,r.splitDateFormat=Ke,r.load=S,r.setData=x,r.dateFieldName=O,r.dateFormatNames=T,r.cldr=lr,r.localeInfo=o,r.currencyDisplays=j,r.currencyDisplay=A,r.currencyFractionOptions=P,r.territoryCurrencyCode=_,r.localeCurrency=C,r.firstDay=z,r.numberSymbols=L,r.toString=er,r.format=rr,r.errors=sr,r.IntlError=ir,r.toIntlErrors=ur},function(e,r,t){"use strict";function n(e){if(!e)throw"Passed component = "+e+" is invalid.";var r=e.context&&e.context.kendoIntlService;return r?r:new o.default("en")}function a(e){e.contextTypes={kendoIntlService:i.object}}Object.defineProperty(r,"__esModule",{value:!0});var i=t(3),o=t(13);r.provideIntlService=n,r.registerForIntl=a},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t(14);r.load=n.load}])}); | ||
"use strict";function t(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function n(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var r={},t=0;t<10;t++)r["_"+String.fromCharCode(t)]=t;var n=Object.getOwnPropertyNames(r).map(function(e){return r[e]});if("0123456789"!==n.join(""))return!1;var a={};return"abcdefghijklmnopqrst".split("").forEach(function(e){a[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},a)).join("")}catch(e){return!1}}var a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;e.exports=n()?Object.assign:function(e,r){for(var n,u,s=t(e),l=1;l<arguments.length;l++){n=Object(arguments[l]);for(var c in n)i.call(n,c)&&(s[c]=n[c]);if(a){u=a(n);for(var f=0;f<u.length;f++)o.call(n,u[f])&&(s[u[f]]=n[u[f]])}}return s}},function(e,r){"use strict";var t="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";e.exports=t},function(e,r,t){(function(r){"use strict";function n(e,t,n,s,l){if("production"!==r.env.NODE_ENV)for(var c in e)if(e.hasOwnProperty(c)){var f;try{a("function"==typeof e[c],"%s: %s type `%s` is invalid; it must be a function, usually from the `prop-types` package, but received `%s`.",s||"React class",n,c,typeof e[c]),f=e[c](t,c,s,n,null,o)}catch(e){f=e}if(i(!f||f instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",s||"React class",n,c,typeof f),f instanceof Error&&!(f.message in u)){u[f.message]=!0;var m=l?l():"";i(!1,"Failed %s type: %s%s",n,f.message,null!=m?m:"")}}}if("production"!==r.env.NODE_ENV)var a=t(7),i=t(8),o=t(10),u={};e.exports=n}).call(r,t(4))},function(e,r,t){"use strict";var n=t(6),a=t(7),i=t(10);e.exports=function(){function e(e,r,t,n,o,u){u!==i&&a(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function r(){return e}e.isRequired=e;var t={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r};return t.checkPropTypes=n,t.PropTypes=t,t}},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t(14),a=function(){function e(e){if(this.locale=e,""===e)throw"Locale should not be empty string"}return e.prototype.format=function(e,r){return 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.default=a},function(e,r){"use strict";function t(e){return"string"==typeof e}function n(e,r){var t=e.split("-"),n=t[0],a=t[1],i=t[2];return lr[e]||r.indexOf(i)!==-1&&lr[n+"-"+i]||r.indexOf(a)!==-1&&lr[n+"-"+a]||lr[n]}function a(e,r){for(var t=lr.supplemental.likelySubtags,n=0;n<r.length;n++){var a=t[e+"-"+r[n]];if(a)return a}if(t[e])return t[e]}function i(e){var r;return r=t(e)?o(e):e}function o(e){if(lr[e])return lr[e];var r=lr.supplemental.likelySubtags;if(r){var t=e.split("-"),i=t[0],o=t.slice(1),u=a(i,o),s=u?n(u,o):null;if(s)return s}throw sr.NoLocale.error(e)}function u(e){return Fr.lastIndex=0,e.replace(Nr,yr).replace(Fr,hr).split(gr)}function s(e){Fr.lastIndex=0;var r=Fr.exec(e.split(gr)[0])[0].split(br),t=r[0],n=t.split(Mr).slice(1).map(function(e){return e.length}).reverse();return n}function l(e,r){for(var t in r)t.startsWith("unitPattern")&&(e[t]=r[t].replace("{0}",hr).replace("{1}",yr))}function c(e,r){var t=lr[e],n=t.numbers=t.numbers||{};n.symbols=n.symbols||{};for(var a in r)if(a===Or)Object.assign(n.symbols,r[a]);else if(a.includes(xr)){var i=a.substr(0,a.indexOf(xr)),o=r[a].standard;n[i]={patterns:u(o)},i===fr?(n[i].groupSize=s((r[cr+xr]||r[a]).standard),l(n[i],r[a]),n[mr]={patterns:u(r[a][mr]),groupSize:n[i].groupSize}):n[i].groupSize=s(o)}else"currencies"===a&&(n.currencies=r[a])}function f(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 m(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:f(o)}}return t}function d(e){var r={},t=r.format={},n={eraAbbr:"abbreviated",eraNames:"wide",eraNarrow:"narrow"};for(var a in e){var i=n[a];t[i]=e[a]}return r}function p(e,r){var t=lr[e].calendar;t.days=m(r.days),t.months=m(r.months),t.quarters=m(r.quarters),t.dayPeriods=m(r.dayPeriods,!0),t.eras=d(r.eras)}function y(e,r){var t=lr[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 v(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 h(e,r){var t=lr[e].calendar,n=t.patterns={};for(var a in Er)n[a]=v(Er[a],r);for(var i in Tr)n[i]=Tr[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 g(e,r){var t=lr[e].calendar=lr[e].calendar||{};for(var n in r)"timeZoneNames"===n?(t.gmtFormat=r[n].gmtFormat,t.gmtZeroFormat=r[n].gmtZeroFormat):"calendars"===n&&r[n].gregorian?(h(e,r[n].gregorian),p(e,r[n].gregorian)):"fields"===n&&y(e,r.fields)}function M(e,r){var t=lr.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){var s=n[u-1];return s.toUpperCase()}}function b(e){if(e.territory)return e.territory;var r,t=e.name,n=e.identity;return r=n&&n.territory?n.territory:M(t,n),e.territory=r,r}function w(e,r){for(var t in r)"numbers"===t?c(e,r[t]):"dates"===t&&g(e,r[t])}function S(){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=lr[a]=lr[a]||{};o.name=o.name||a,o.identity=o.identity||i.identity,b(o),w(a,i)}else n.supplemental&&(n.supplemental.weekData?lr.supplemental.weekData={firstDay:n.supplemental.weekData.firstDay}:Object.assign(lr.supplemental,n.supplemental))}}function x(e){var r=e.name,t=lr[r]=lr[r]||{};if(e.likelySubtags){var n=lr.supplemental=lr.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 O(e,r){void 0===r&&(r=Sr);var t=o(r),n=t.calendar.dateFields;if(!n)throw sr.NoDateFieldNames.error();var a=n[e.type]||{};return a[e.nameType]||a.wide}function F(e){for(var r=[],t=0;t<e.length;t++)r.push(e[t].toLowerCase());return r}function N(e){var r={};for(var t in e)r[t]=e[t].toLowerCase();return r}function T(e){var r=Array.isArray(e)?F(e):N(e);return r}function E(e,r){var t=r.type,n=r.nameType,a=r.standAlone,o=r.lower,u=i(e),s=a?"stand-alone":"format",l=(o?"lower-":wr)+n,c=u.calendar[t][s],f=c[l];return!f&&o&&(f=c[l]=T(c[n])),f}function D(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)}function k(e,r,t){var n=i(e),a=n.numbers.currencies;if(a){var o=a[r];if(o)return o;if(t)throw kr.error()}else if(t)throw Dr.error()}function H(e,r){return r.length-e.length}function I(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!==_r&&"false"!==s._tender&&s._from)if(s._to){if(!n){var l=D(s._from),c=D(s._to);(!t||t.to<c||t.from<l)&&(r=u,t={from:l,to:c})}}else{var f=D(s._from);(!a||a<f)&&(n=u,a=f)}}return n||r}function j(e,r,t){void 0===t&&(t=!0);var n=k(e,r,t);if(n){if(!n.displays){var a=[r];for(var i in n)a.push(n[i]);a.sort(H),n.displays=a}return n.displays}}function A(e,r){var t=r.value,n=r.currency,a=r.currencyDisplay;if(void 0===a&&(a=Pr),"code"===a)return n;var i,o=k(e,n,!0);return i=a===Pr?o["symbol-alt-narrow"]||o[Pr]:void 0===typeof t||1!==t?o["displayName-count-other"]:o["displayName-count-one"]}function P(e){var r=Ar,t=Ar,n=((lr.supplemental.currencyData||{}).fractions||{})[e];return n&&n._digits&&(t=r=parseInt(n._digits,10)),{minimumFractionDigits:r,maximumFractionDigits:t}}function _(e,r){if(void 0===r&&(r=!0),Cr[e])return Cr[e];var t=lr.supplemental.currencyData;if(t){var n=t.region[e];if(n){var a=I(n);return a}if(r)throw Ir.error(e)}else if(r)throw Hr.error()}function C(e,r){var t=i(e),n=t.numbers;if(!n.localeCurrency){var a=_(b(t),r);if(!a&&r)throw jr.error(t.name);n.localeCurrency=a}return n.localeCurrency}function z(e){var r=i(e);if(!isNaN(r.firstDay))return r.firstDay;var t=lr.supplemental.weekData;if(!t)throw zr.error();var n=t.firstDay[b(r)]||t.firstDay[Rr];if(!n)throw Lr.error();return r.firstDay=qr.indexOf(n),r.firstDay}function L(e){var r=i(e);return r.numbers.symbols}function q(e,r){void 0===r&&(r={}),r.currency||(r.currency=C(e,!0));var t=A(e,r);return t}function R(e,r,t,n,a){var i=a.numbers.symbols,o=e.indexOf(i.decimal),u=n.groupSize.slice(),s=u.shift(),l=o!==-1?o:t+1,c=e.substring(r,l),f=e,m=c.length;if(m>=s){for(var d=m,p=[];d>-1;){var y=c.substring(d-s,d);y&&p.push(y),d-=s;var v=u.shift();if(s=void 0!==v?v:s,0===s){y=c.substring(0,d),y&&p.push(y);break}}c=p.reverse().join(i.group),f=e.substring(0,r)+c+e.substring(l)}return f}function G(e){return e===fr||e===mr}function Q(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}function B(e,r){var t=e,n=r||0;return t=t.toString().split("e"),t=Math.round(Number(t[0]+"e"+(t[1]?Number(t[1])+n:n))),t=t.toString().split("e"),t=Number(t[0]+"e"+(t[1]?Number(t[1])-n:-n)),t.toFixed(Math.min(n,Gr))}function X(e){var r,t=e.minimumFractionDigits,n=e.maximumFractionDigits,a=e.style,i=G(a);return i&&(r=P(e.currency)),void 0===t&&(t=i?r.minimumFractionDigits:0),void 0===n&&(n=a===dr?Math.max(t,Br):i?Math.max(t,r.maximumFractionDigits):Math.max(t,Qr)),{minimumFractionDigits:t,maximumFractionDigits:n}}function Z(e,r,t){for(var n=wr,a=0,i=r.length;a<i;a++){var o=r.charAt(a);n+=o===hr?e:o===yr||o===vr?t:o}return n}function U(e,r){var t=e.numbers.currency,n=1!==r?t["unitPattern-count-other"]:t["unitPattern-count-one"];return r<0&&(n=n.replace(hr,"-"+hr)),n}function J(e,r,t){var n=t.numbers.symbols,a=r.style,i=G(a);if(a===pr){var o=void 0!==r.minimumFractionDigits?e.toExponential(r.minimumFractionDigits):e.toExponential();return o.replace(br,n.decimal)}var u,s=e;i&&(r.value=s,u=q(t,r)),a===dr&&(s*=100,u=n.percentSign);var l=X(r),c=l.minimumFractionDigits,f=l.maximumFractionDigits;s=B(s,f);var m=s<0,d=s.split(br),p=d[0],y=Q(d[1]?d[1].replace(Xr,wr):wr,c,!0);m&&(p=p.substring(1)),r.minimumIntegerDigits&&(p=Q(p,r.minimumIntegerDigits));var v=r.useGrouping!==!1?R(p,0,p.length,r,t):p;y&&(v+=n.decimal+y);var h;if(i&&"name"===r.currencyDisplay)h=U(t,e);else{var g=r.patterns;h=m?g[1]||"-"+g[0]:g[0]}if(h===hr&&!m)return v;var M=Z(v,h,u);return M}function W(e){var r=e.format;if(r.indexOf("'")>-1||r.indexOf('"')>-1||r.indexOf("\\")>-1){var t=e.literals=[];e.format=r.replace(Wr,function(e){var r=e.charAt(0).replace("\\",wr),n=e.slice(1).replace(r,wr);return t.push(n),Zr})}}function $(e,r){var t;return t=0===r?$r:new RegExp("(\\.[0-9]{"+r+"}[1-9]*)0+$","g"),e.replace(t,"$1").replace(Vr,wr)}function V(e){var r=e.number,t=e.format,n=t.indexOf(br);if(n!==-1){var a=t.lastIndexOf(Jr)-n,i=t.lastIndexOf(Ur)-n,o=a>-1,u=i>-1,s=r.toString().split("e");s=s[1]?B(r,Math.abs(s[1])):s[0],s=s.split(br)[1]||wr;var l=s.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=B(r,l),c>-1&&(r=$(r,c)))}else r=B(r);e.negative&&r*-1>=0&&(e.negative=!1),e.number=r,e.decimalIndex=n}function Y(e){return e.indexOf(Ur)===-1&&e.indexOf(Jr)===-1}function K(e){var r=e.number,t=e.format;if(t=t.split(gr),e.negative&&t[1])t=t[1],e.hasNegativeFormat=!0;else if(0===r){var n=t[2];t=n||t[0],n&&Y(n)&&(e.constant=n)}else t=t[0];e.format=t}function ee(e,r){var t=e.format;t.indexOf(vr)!==-1&&(e.style=dr,e.symbol=r.numbers.symbols.percentSign,e.number*=100),t.indexOf(yr)!==-1&&(e.style=fr,e.symbol=q(r))}function re(e){e.hasGroup=e.format.indexOf(Mr)>-1,e.hasGroup&&(e.format=e.format.replace(Yr,wr))}function te(e,r,t){var n;return n=e===-1&&r!==-1?r:e!==-1&&r===-1?e:t?Math.min(e,r):Math.max(e,r)}function ne(e){var r=e.format,t=r.indexOf(Ur),n=r.indexOf(Jr),a=te(t,n,!0);t=r.lastIndexOf(Ur),n=r.lastIndexOf(Jr);var i=te(t,n);a===r.length&&(i=a),e.start=a,e.end=i,e.lastZeroIndex=n}function ae(e,r,t){var n=e;if(r===fr||r===dr){n=wr;for(var a=0,i=e.length;a<i;a++){var o=e.charAt(a);n+=o===yr||o===vr?t:o}}return n}function ie(e,r){var t=e;if(r)for(var n=r.length,a=0;a<n;a++)t=t.replace(Zr,r[a]);return t}function oe(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,f=c.toString().split(br),m=i.length,d=f[0],p=f[1]||wr,y=d.length,v=wr;c=i.substring(0,t),a&&!s&&(c+="-");for(var h=t;h<m;h++){var g=i.charAt(h);if(o===-1){if(n-h<y){c+=d;break}}else if(u!==-1&&u<h&&(v=wr),o-h<=y&&o-h>-1&&(c+=d,h=o),o===h){c+=(p?r.numbers.symbols.decimal:wr)+p,h+=n-o+1;continue}g===Jr?(c+=g,v=g):g===Ur&&(c+=v)}return l&&(c=R(c,t+(a&&!s?1:0),Math.max(n,y+t),r.numbers.decimal,r)),n>=t&&(c+=i.substring(n+1)),c}function ue(e,r){var t=e.number;return e.start!==-1&&(t=oe(e,r),t=ae(t,e.style,e.symbol),t=ie(t,e.literals)),t}function se(e,r,t){var n={negative:e<0,number:Math.abs(e),format:r};return K(n),n.constant?n.constant:(W(n),ee(n,t),re(n),V(n),ne(n),ue(n,t))}function le(e){var r=Kr.exec(e);if(r){var t={style:cr},n=r[1].toLowerCase();return"c"===n?t.style=fr:"a"===n?t.style=mr:"p"===n?t.style=dr:"e"===n&&(t.style=pr),r[2]&&(t.minimumFractionDigits=t.maximumFractionDigits=parseInt(r[2],10)),t}}function ce(e){var r;return r=t(e)?le(e):e}function fe(e,r,t){if(void 0===r&&(r=hr),void 0===t&&(t=Sr),void 0===e||null===e)return wr;if(!isFinite(e))return String(e);var n,a=o(t),i=ce(r);if(i){var u=(i||{}).style||cr;n=J(e,Object.assign({},a.numbers[u],i),a)}else n=se(e,r,a);return n}function me(e){return"number"==typeof e}function de(e,r){if(r.length>1){var t=(r[1]||wr).replace(yr,wr).split(hr);if(e.indexOf(t[0])>-1&&e.indexOf(t[1])>-1)return e.replace(t[0],wr).replace(t[1],wr)}}function pe(e,r,t){var n,a=ce(t)||{},i=G(a.style),o=e,u=a.currency||C(r,i);if(u){var s=j(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,wr),i=!0;break}}if(i){var f=de(o,r.numbers.currency.patterns)||de(o,r.numbers.accounting.patterns);f&&(n=!0,o=f)}}return{number:o,negative:n}}function ye(e,r,t){if(void 0===r&&(r=Sr),void 0===t&&(t={}),!e&&0!==e)return null;if(me(e))return e;var n,a=o(r),i=a.numbers.symbols,u=e.toString();if(et.test(u))return u=parseFloat(u.replace(i.decimal,br)),isNaN(u)?null:u;var s=u.indexOf("-");if(s>0)return null;var l=s>-1,c=pe(u,a,t),f=c.negative,m=c.number;return u=m,l=void 0!==f?f:l,(t.style===dr||u.indexOf(i.percentSign)>-1)&&(u=u.replace(i.percentSign,wr),n=!0),u=u.replace("-",wr).replace(rt," ").split(i.group.replace(rt," ")).join(wr).replace(i.decimal,br),u=parseFloat(u),isNaN(u)?u=null:l&&(u*=-1),u&&n&&(u/=100),u}function ve(e){var r=arguments;return e.replace(tt,function(e,t){var n=r[parseInt(t,10)+1];return n})}function he(e){return e.hour12?"h":"H"}function ge(e){return yt[e]||(yt[e]=new RegExp(e+"+")),yt[e]}function Me(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 be(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 f=e[c],m=ge(f[0]),d=(m.exec(s)||[])[0];if(d){if(s=s.replace(d,wr),d.length!==f.length){var p=Math.max(Math.min(it[d.length]-it[f.length],2),-2);l-=ct[p]}}else l-=nt;if(u.push(d),l<i)break}s.length&&(l-=Me(s).length*at),l>i&&(i=l,t=u,n=r[o])}n=n.replace("v","z");for(var y=0;y<a;y++){var v=t[y];if(v&&v!==e[y]){var h=t[y][0];n=n.replace(ge(h),e[y]),pt[h]&&(n=n.replace(ge(pt[h]),e[y]))}}return n}function we(e,r,t){vt[t]||(vt[t]={}),vt[t][e]=r}function Se(e,r){var t=r.calendar.dateTimeFormats.availableFormats;if(t[e])return t[e];if(vt[r.name]&&vt[r.name][e])return vt[r.name][e];var n,a=e.search(mt);if(a>0){var i=e.substr(0,a),o=e.substr(a);n=ve(r.calendar.dateTimeFormats.short,t[o]||be(Me(o),t),t[i]||be(Me(i),t))}else n=be(Me(e),t);return we(e,n,r.name),n}function xe(e){for(var r=[],t=0;t<dt.length;t++){var n=dt[t],a=n.key,i=e[a];if(i){var o=n.specifier||n.getSpecifier(e);r.push(o.repeat(ft[i]))}}return r.join(wr)}function Oe(e,r){var n,a=r.calendar;if(t(e))n=a.patterns[e]?a.patterns[e]:e;else if(e){if(e.pattern)return e.pattern;var i=e.skeleton;i||(e.datetime?n=ve(a.dateTimeFormats[e.datetime],a.timeFormats[e.datetime],a.dateFormats[e.datetime]):e.date?n=a.dateFormats[e.date]:e.time?n=a.timeFormats[e.time]:i=xe(e)),i&&(n=Se(i,r))}return n||(n=a.patterns.d),n}function Fe(e){var r;return e<=3?r="abbreviated":4===e?r="wide":5===e?r="narrow":6===e&&(r="short"),r}function Ne(e,r,t,n,a){return E(e,{type:r,nameType:Fe(t),standAlone:n,lower:a})}function Te(e){return ht.call(e)===gt}function Ee(e,r,t){var n,a=z(t);return n=e<a?7-a+e:e-a,n+1}function De(e,r,t,n){return r<=2?Q(e+1,r):Ne(t,"months",r,n)[e]}function ke(e,r,t,n){var a=Math.floor(e.getMonth()/3);return r<3?a+1:Ne(t,"quarters",r,n)[a]}function He(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("."),f=c[1]||0,m=l+(n?c[0]:Q(c[0],2));if(!f&&a||(m+=(i?":":wr)+Q(f,2)),o){var d=0===s?r.calendar.gmtZeroFormat:r.calendar.gmtFormat;m=ve(d,m)}return m}function Ie(e,r,t,n){var a;return a=r<3?Ee(e.getDay(),r,t):Ne(t,"days",r,n)[e.getDay()]}function je(e,r,t){if(void 0===t&&(t=Sr),!Te(e))return void 0===e||null===e?wr:e;var n=o(t),a=Oe(r,n);return a.replace(Ft,function(r){var t,a=r.length;return t=r.includes("'")||r.includes('"')?r.slice(1,a-1):Nt[r[0]](e,a,n)})}function Ae(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))}function Pe(e,r){r||23!==e.getHours()||e.setHours(e.getHours()+2)}function _e(e,r,t){return!(e>=r&&e<=t)}function Ce(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 ze(e,r){var t=e?kt[e]||new RegExp("^\\d{1,"+e+"}"):Ht,n=r.value.substr(r.valueIdx,e).match(t);return n?(n=n[0],r.valueIdx+=n.length,parseInt(n,10)):null}function Le(e,r,t){for(var n,a,i,o=0,u=e.length,s=0,l=0;o<u;o++)n=e[o],a=n.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 qe(e){var r=!1;return e.value.charAt(e.valueIdx)===e.format[e.idx]&&(e.valueIdx++,r=!0),r}function Re(e){var r=e.gmtFormat,t=e.gmtZeroFormat;if(!r)throw sr.NoGMTInfo.error();return[r.replace(It,wr).toLowerCase(),t.replace(It,wr).toLowerCase()]}function Ge(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&&!Le(Re(r.calendar),e,!0))return!0;var s=Tt.exec(e.value.substr(e.valueIdx,6));if(!s)return!o;var l=s[1],c=s[3],f=parseInt(l,10),m=s[2],d=parseInt(c,10);return!!(isNaN(f)||!n&&3!==l.length||!i&&isNaN(d)||a&&m)||(isNaN(d)&&(d=null),!!(_e(f,-12,13)||d&&_e(d,0,59))||(e.valueIdx+=s[0].length,e.hoursOffset=f,void(e.minutesOffset=d)))}function Qe(e,r,t){var n=Ce(e,r),a=Ne(t,"months",n,"L"===e,!0),i=n<3?ze(2,r):Le(a,r,!0);return!(null!==i&&!_e(i,1,12))||void(r.month=i-1)}function Be(e,r,t){var n=Ce(e,r),a=Ne(t,"days",n,"c"===e,!0),i=n<3?ze(1,r):Le(a,r,!0);if(!i&&0!==i||_e(i,1,7))return!0}function Xe(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,f=e.hoursOffset,m=e.minutesOffset,d=null!==i||null!==o||u||null,p=new Date;return null===t&&null===n&&null===a&&d?(t=p.getFullYear(),n=p.getMonth(),a=p.getDate()):(null===t&&(t=p.getFullYear()),null===a&&(a=1)),l&&i<12&&(i+=12),c?(f&&(i+=-f),m&&(o+=-m*(f<0?-1:1)),r=new Date(Date.UTC(t,n,a,i,o,u,s))):(r=new Date(t,n,a,i,o,u,s),Pe(r,i)),t<100&&r.setFullYear(t),r.getDate()!==a&&void 0===c?null:r}function Ze(e,r,t){for(var n=Oe(r,t).split(wr),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),qe(a);else if(_t[u]){var s=_t[u](a,t);if(s)return null}else if("'"===u)o=!0,qe(a);else if(!qe(a))return null}return a.valueIdx<e.length?null:Xe(a)||null}function Ue(e){var r="-"===e.substr(0,1)?-1:1,t=e.substring(1);return t=60*parseInt(t.substr(0,2),10)+parseInt(t.substring(2),10),r*t}function Je(e){if(e&&0===e.indexOf("/D")){var r=Et.exec(e);if(r){r=r[1];var t=Dt.exec(r.substring(1));return r=new Date(parseInt(r,10)),t&&(t=Ue(t[0]),r=Ae(r,r.getTimezoneOffset(),0),r=Ae(r,0,-1*t)),r}}}function We(e){for(var r=[],t=e.patterns,n=At.length,a=0;a<n;a++)r.push(t[At[a]]);return r.concat(jt)}function $e(e,r,t){if(void 0===t&&(t=Sr),!e)return null;if(Te(e))return e;var n=String(e).trim(),a=Je(n);if(a)return a;var i=o(t),u=r||We(i.calendar);u=Array.isArray(u)?u:[u];for(var s=u.length,l=0;l<s;l++)if(a=Ze(n,u[l],i))return a;return a}function Ve(e,r){var t=e[e.length-1];t&&t.type===zt?t.pattern+=r:e.push({type:zt,pattern:r})}function Ye(e){return"h"===e||"K"===e}function Ke(e,r){void 0===r&&(r=Sr);for(var t=o(r),n=Oe(e,t),a=[],i=Ft.lastIndex=0,u=Ft.exec(n);u;){var s=u[0];if(i<u.index&&Ve(a,n.substring(i,u.index)),s.startsWith('"')||s.startsWith("'"))Ve(a,s);else{var l=s[0],c=Ot[l],f={type:c,pattern:s};"hour"===c&&(f.hour12=Ye(s));var m=Ct[c];if(m){var d=me(m.minLength)?m.minLength:m.minLength[l],p=s.length;p>=d&&(f.names={type:m.type,nameType:Fe(p),standAlone:m.standAlone===l})}a.push(f)}i=Ft.lastIndex,u=Ft.exec(n)}return i<n.length&&Ve(a,n.substring(i)),a}function er(e,r,t){if(r){if(Te(e))return je(e,r,t);if(me(e))return fe(e,r,t)}return void 0!==e&&null!==e?e:wr}function rr(e,r,t){return e.replace(Lt,function(e,n,a){var i=r[parseInt(n,10)];return er(i,a?a.substring(1):wr,t)})}Object.defineProperty(r,"__esModule",{value:!0});var tr={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"}}}},nr={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."},ar=/\{(\d+)}?\}/g,ir=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};ir.prototype.formatMessage=function(){for(var e=[],r=arguments.length;r--;)e[r]=arguments[r];var t=or(e),n=this.message.replace(ar,function(e,r){return t[parseInt(r,10)]});return this.name+": "+n},ir.prototype.error=function(){for(var e=[],r=arguments.length;r--;)e[r]=arguments[r];return new Error(this.formatMessage(e))};var or=function(e){return e.reduce(function(e,r){return e.concat(r)},[])},ur=function(e){var r=function(r,t){return r[t]=new ir({name:t,message:e[t]}),r};return Object.keys(e).reduce(r,{})},sr=ur(nr),lr=tr,cr="decimal",fr="currency",mr="accounting",dr="percent",pr="scientific",yr="$",vr="%",hr="n",gr=";",Mr=",",br=".",wr="",Sr="en",xr="Formats-numberSystem-latn",Or="symbols-numberSystem-latn",Fr=/([#,0.]+)/g,Nr=/¤/g,Tr={s:"yyyy'-'MM'-'dd'T'HH':'mm':'ss",u:"yyyy'-'MM'-'dd HH':'mm':'ss'Z'"},Er={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"]]},Dr=sr.NoCurrency,kr=sr.NoCurrencyDisplay,Hr=sr.NoSupplementalCurrency,Ir=sr.NoCurrencyRegion,jr=sr.NoValidCurrency,Ar=2,Pr="symbol",_r="XXX",Cr={"001":"USD",150:"EUR"},zr=sr.NoWeekData,Lr=sr.NoFirstDay,qr=["sun","mon","tue","wed","thu","fri","sat"],Rr="001",Gr=20,Qr=3,Br=0,Xr=/0+$/,Zr="__??__",Ur="#",Jr="0",Wr=/(\\.)|(['][^']*[']?)|(["][^"]*["]?)/g,$r=/(\.(?:[0-9]*[1-9])?)0+$/g,Vr=/\.$/,Yr=/\,/g,Kr=/^(n|c|p|e|a)(\d*)$/i,et=/[eE][\-+]?[0-9]+/,rt=/\u00A0/g,tt=/\{(\d+)}/g,nt=120,at=20,it=[2,1,5,3,4],ot=-2,ut=-1,st=1,lt=2,ct={};ct[ot]=8,ct[ut]=6,ct[lt]=6,ct[st]=3;var ft={numeric:1,"2-digit":2,short:3,long:4,narrow:5},mt=/[hHmsSzZoOvVxX]/,dt=[{key:"era",specifier:"G"},{key:"year",specifier:"y" | ||
},{key:"month",specifier:"M"},{key:"day",specifier:"d"},{key:"weekday",specifier:"E"},{key:"hour",getSpecifier:he},{key:"minute",specifier:"m"},{key:"second",specifier:"s"},{key:"timeZoneName",specifier:"z"}],pt={e:"c",E:"c",M:"L",Q:"q"},yt={},vt={},ht={}.toString,gt="[object Date]",Mt="month",bt="hour",wt="zone",St="weekday",xt="quarter",Ot={G:"era",y:"year",q:xt,Q:xt,M:Mt,L:Mt,d:"day",E:St,c:St,e:St,h:bt,H:bt,k:bt,K:bt,m:"minute",s:"second",a:"dayperiod",x:wt,X:wt,z:wt,Z:wt},Ft=/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,Nt={};Nt.d=function(e,r){return Q(e.getDate(),r)},Nt.E=function(e,r,t){return Ne(t,"days",r)[e.getDay()]},Nt.M=function(e,r,t){return De(e.getMonth(),r,t,!1)},Nt.L=function(e,r,t){return De(e.getMonth(),r,t,!0)},Nt.y=function(e,r){var t=e.getFullYear();return 2===r&&(t%=100),Q(t,r)},Nt.h=function(e,r){var t=e.getHours()%12||12;return Q(t,r)},Nt.H=function(e,r){return Q(e.getHours(),r)},Nt.k=function(e,r){return Q(e.getHours()||24,r)},Nt.K=function(e,r){return Q(e.getHours()%12,r)},Nt.m=function(e,r){return Q(e.getMinutes(),r)},Nt.s=function(e,r){return Q(e.getSeconds(),r)},Nt.S=function(e,r){var t,n=e.getMilliseconds();return t=0!==n?String(e.getMilliseconds()/1e3).split(".")[1].substr(0,r):Q(wr,r)},Nt.a=function(e,r,t){return Ne(t,"dayPeriods",r)[e.getHours()<12?"am":"pm"]},Nt.z=function(e,r,t){return He(e,t,{shortHours:r<4,optionalMinutes:r<4,separator:!0,localizedName:!0})},Nt.Z=function(e,r,t){return He(e,t,{separator:r>3,localizedName:4===r,zZeroOffset:5===r})},Nt.x=function(e,r,t){return He(e,t,{optionalMinutes:1===r,separator:3===r||5===r})},Nt.X=function(e,r,t){return He(e,t,{optionalMinutes:1===r,separator:3===r||5===r,zZeroOffset:!0})},Nt.G=function(e,r,t){var n=e.getFullYear()>=0?1:0;return Ne(t,"eras",r)[n]},Nt.e=Ie,Nt.c=function(e,r,t){return Ie(e,r,t,!0)},Nt.q=function(e,r,t){return ke(e,r,t,!0)},Nt.Q=ke;var Tt=/([+|\-]\d{1,2})(:?)(\d{2})?/,Et=/^\/Date\((.*?)\)\/$/,Dt=/[+-]\d*/,kt={2:/^\d{1,2}/,3:/^\d{1,3}/,4:/^\d{4}/},Ht=/\d+/,It="{0}",jt=["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: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"],At=["G","g","F","Y","y","M","m","D","d","y","T","t"],Pt=2029,_t={};_t.d=function(e){Ce("d",e);var r=ze(2,e);return!(null!==r&&!_e(r,1,31))||void(null===e.day&&(e.day=r))},_t.E=function(e,r){var t=Ce("E",e),n=Le(Ne(r,"days",t,!1,!0),e,!0);if(null===n)return!0},_t.M=function(e,r){return Qe("M",e,r)},_t.L=function(e,r){return Qe("L",e,r)},_t.y=function(e){var r=Ce("y",e),t=ze(1===r?void 0:r,e);if(null===t)return!0;if(2===r){var n=(new Date).getFullYear();t=n-n%100+t,t>Pt&&(t-=100)}e.year=t},_t.h=function(e){Ce("h",e);var r=ze(2,e);return 12===r&&(r=0),!(null!==r&&!_e(r,0,11))||void(e.hours=r)},_t.K=function(e){Ce("K",e);var r=ze(2,e);return!(null!==r&&!_e(r,0,11))||void(e.hours=r)},_t.a=function(e,r){var t=Ce("a",e),n=Ne(r,"dayPeriods",t,!1,!0),a=Le([n.pm],e,!0);return!a&&!Le([n.am],e,!0)||void(e.pmHour=a)},_t.H=function(e){Ce("H",e);var r=ze(2,e);return!(null!==r&&!_e(r,0,23))||void(e.hours=r)},_t.k=function(e){Ce("k",e);var r=ze(2,e);return!(null!==r&&!_e(r,1,24))||void(e.hours=24===r?0:r)},_t.m=function(e){Ce("m",e);var r=ze(2,e);return!(null!==r&&!_e(r,0,59))||void(e.minutes=r)},_t.s=function(e){Ce("s",e);var r=ze(2,e);return!(null!==r&&!_e(r,0,59))||void(e.seconds=r)},_t.S=function(e){var r=Ce("S",e),t=e.value.substr(e.valueIdx,r),n=null;return isNaN(parseInt(t,10))||(n=parseFloat("0."+t,10),n=B(n,3),n*=1e3,e.valueIdx+=r),!(null!==n&&!_e(n,0,999))||void(e.milliseconds=n)},_t.z=function(e,r){var t=Ce("z",e),n=t<4,a=Ge(e,r,{shortHours:n,optionalMinutes:n,localizedName:!0});if(a)return a},_t.Z=function(e,r){var t=Ce("Z",e),n=Ge(e,r,{noSeparator:t<4,zLiteral:5===t,localizedName:4===t});if(n)return n},_t.x=function(e,r){var t=Ce("x",e),n=Ge(e,r,{noSeparator:3!==t&&5!==t,optionalMinutes:1===t});if(n)return n},_t.X=function(e,r){var t=Ce("X",e),n=Ge(e,r,{noSeparator:3!==t&&5!==t,optionalMinutes:1===t,zLiteral:!0});if(n)return n},_t.G=function(e,r){var t=Ce("G",e),n=Ne(r,"eras",t,!1,!0),a=Le([n[0],n[1]],e,!0);if(null===a)return!0},_t.e=function(e,r){return Be("e",e,r)},_t.c=function(e,r){return Be("c",e,r)};var Ct={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}},zt="literal",Lt=/\{(\d+)(:[^\}]+)?\}/g;r.formatNumber=fe,r.parseNumber=ye,r.formatDate=je,r.parseDate=$e,r.splitDateFormat=Ke,r.load=S,r.setData=x,r.dateFieldName=O,r.dateFormatNames=E,r.cldr=lr,r.localeInfo=o,r.currencyDisplays=j,r.currencyDisplay=A,r.currencyFractionOptions=P,r.territoryCurrencyCode=_,r.localeCurrency=C,r.firstDay=z,r.numberSymbols=L,r.toString=er,r.format=rr,r.errors=sr,r.IntlError=ir,r.toIntlErrors=ur},function(e,r,t){"use strict";function n(e){if(!e)throw"Passed component = "+e+" is invalid.";var r=e.context&&e.context.kendoIntlService;return r?r:new o.default("en")}function a(e){e.contextTypes={kendoIntlService:i.object}}Object.defineProperty(r,"__esModule",{value:!0});var i=t(3),o=t(13);r.provideIntlService=n,r.registerForIntl=a},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t(14);r.load=n.load}])}); |
import { DateFormatOptions, NumberFormatOptions, DateFieldNameOptions, DateFormatNameOptions, DateFormatPart } from './coreExports'; | ||
/** | ||
* A service providing intl methods | ||
* bound to a specific locale. | ||
* A service which provides internationalization methods | ||
* and is bound to a specific locale. | ||
*/ | ||
@@ -9,5 +9,5 @@ export default class IntlService { | ||
/** | ||
* Creates a new instance of the intl service. | ||
* Creates a new instance of the internationalization service. | ||
* | ||
* @param locale - The locale that will be used by the intl methods. | ||
* @param locale - The locale that will be used by the internationalization methods. | ||
*/ | ||
@@ -20,3 +20,3 @@ constructor(locale: string); | ||
* @param format - The format string. | ||
* @param values - Array of values to output in the format string placeholders. | ||
* @param values - An array of values to output in the format string placeholders. | ||
* @return - The formatted string. | ||
@@ -29,3 +29,3 @@ */ | ||
* | ||
* @param value - The date to format. | ||
* @param value - The date which will be formatted. | ||
* @param format - The format string or options. | ||
@@ -38,3 +38,3 @@ * @return - The formatted date. | ||
* | ||
* @param value - The value to format. | ||
* @param value - The value which will be formatted. | ||
* @param format - The format to use. | ||
@@ -47,3 +47,3 @@ * @return - The formatted object. | ||
* | ||
* @param value - The string to convert. | ||
* @param value - The string which will be parsed. | ||
* @param format - The format string or options. | ||
@@ -56,3 +56,3 @@ * @return - The parsed number. | ||
* | ||
* @param value - The string to convert. | ||
* @param value - The string which will be converted. | ||
* @param format - The format strings or options. | ||
@@ -65,3 +65,3 @@ * @return - The parsed date. | ||
* | ||
* @param value - The number to format. | ||
* @param value - The number which will be formatted. | ||
* @param format - The format string or options. | ||
@@ -72,5 +72,5 @@ * @return - The formatted number. | ||
/** | ||
* Returns a localized date field name based on specific dateFieldName options. | ||
* Returns a localized date field name based on specific `dateFieldName` options. | ||
* | ||
* @param options - Detailed configuration for the desired date field name. | ||
* @param options - The detailed configuration for the desired date field name. | ||
* @returns - The localized date field name from the current locale based on the option. | ||
@@ -82,3 +82,3 @@ */ | ||
* | ||
* @param options - Detailed configuration for the desired date format. | ||
* @param options - The detailed configuration for the desired date format. | ||
* @return - The day names from the current locale based on the option. | ||
@@ -88,3 +88,4 @@ */ | ||
/** | ||
* Splits the date format into objects containing information about each part of the pattern. | ||
* Splits the date format into objects which contain | ||
* information about each part of the pattern. | ||
* | ||
@@ -102,3 +103,3 @@ * @param format - The format string or options. | ||
/** | ||
* Returns the first day index starting from Sunday. | ||
* Returns the first day index, starting from Sunday. | ||
* | ||
@@ -105,0 +106,0 @@ * @return - The index of the first day of the week (0 == Sunday). |
import * as coreIntl from '@telerik/kendo-intl'; | ||
/** | ||
* A service providing intl methods | ||
* bound to a specific locale. | ||
* A service which provides internationalization methods | ||
* and is bound to a specific locale. | ||
*/ | ||
var IntlService = (function () { | ||
/** | ||
* Creates a new instance of the intl service. | ||
* Creates a new instance of the internationalization service. | ||
* | ||
* @param locale - The locale that will be used by the intl methods. | ||
* @param locale - The locale that will be used by the internationalization methods. | ||
*/ | ||
@@ -23,3 +23,3 @@ function IntlService(locale) { | ||
* @param format - The format string. | ||
* @param values - Array of values to output in the format string placeholders. | ||
* @param values - An array of values to output in the format string placeholders. | ||
* @return - The formatted string. | ||
@@ -34,3 +34,3 @@ */ | ||
* | ||
* @param value - The date to format. | ||
* @param value - The date which will be formatted. | ||
* @param format - The format string or options. | ||
@@ -45,3 +45,3 @@ * @return - The formatted date. | ||
* | ||
* @param value - The value to format. | ||
* @param value - The value which will be formatted. | ||
* @param format - The format to use. | ||
@@ -56,3 +56,3 @@ * @return - The formatted object. | ||
* | ||
* @param value - The string to convert. | ||
* @param value - The string which will be parsed. | ||
* @param format - The format string or options. | ||
@@ -67,3 +67,3 @@ * @return - The parsed number. | ||
* | ||
* @param value - The string to convert. | ||
* @param value - The string which will be converted. | ||
* @param format - The format strings or options. | ||
@@ -78,3 +78,3 @@ * @return - The parsed date. | ||
* | ||
* @param value - The number to format. | ||
* @param value - The number which will be formatted. | ||
* @param format - The format string or options. | ||
@@ -87,5 +87,5 @@ * @return - The formatted number. | ||
/** | ||
* Returns a localized date field name based on specific dateFieldName options. | ||
* Returns a localized date field name based on specific `dateFieldName` options. | ||
* | ||
* @param options - Detailed configuration for the desired date field name. | ||
* @param options - The detailed configuration for the desired date field name. | ||
* @returns - The localized date field name from the current locale based on the option. | ||
@@ -99,3 +99,3 @@ */ | ||
* | ||
* @param options - Detailed configuration for the desired date format. | ||
* @param options - The detailed configuration for the desired date format. | ||
* @return - The day names from the current locale based on the option. | ||
@@ -107,3 +107,4 @@ */ | ||
/** | ||
* Splits the date format into objects containing information about each part of the pattern. | ||
* Splits the date format into objects which contain | ||
* information about each part of the pattern. | ||
* | ||
@@ -125,3 +126,3 @@ * @param format - The format string or options. | ||
/** | ||
* Returns the first day index starting from Sunday. | ||
* Returns the first day index, starting from Sunday. | ||
* | ||
@@ -128,0 +129,0 @@ * @return - The index of the first day of the week (0 == Sunday). |
/// <reference types="react" /> | ||
import * as React from 'react'; | ||
/** | ||
* Provides an intl service. | ||
* Provides an internationalization service. | ||
* When the passed component is a direct or indirect child of | ||
* `IntlProvider`, the returned service uses the provider's locale. | ||
* Otherwise, it uses `en` as a default locale. | ||
* In order to handle locale changes, the method should be called on each `render`. | ||
* `IntlProvider`, the returned service uses the locale of the provider. | ||
* Otherwise, uses `en` as a default locale. | ||
* To handle locale changes, call the method on each `render`. | ||
* | ||
* @param componentClass - The React component class that will use the intl service. | ||
* @param componentClass - The React component class that will use the internationalization service. | ||
*/ | ||
export declare function provideIntlService(component: React.Component): any; | ||
/** | ||
* A method registering a component class for intl. | ||
* A method which registers a component class for internationalization. | ||
* When a component of that class is a direct or indirect | ||
* child of `IntlProvider`, the provider's locale is used. | ||
* child of `IntlProvider`, the locale of the provider is used. | ||
* Otherwise, `en` is used as a default locale. | ||
* | ||
* @param componentClass - The React component class that will use the intl methods. | ||
* @param componentClass - The React component class that will use the internationalization methods. | ||
*/ | ||
export declare function registerForIntl(componentClass: any): void; |
import * as PropTypes from 'prop-types'; | ||
import IntlService from './IntlService'; | ||
/** | ||
* Provides an intl service. | ||
* Provides an internationalization service. | ||
* When the passed component is a direct or indirect child of | ||
* `IntlProvider`, the returned service uses the provider's locale. | ||
* Otherwise, it uses `en` as a default locale. | ||
* In order to handle locale changes, the method should be called on each `render`. | ||
* `IntlProvider`, the returned service uses the locale of the provider. | ||
* Otherwise, uses `en` as a default locale. | ||
* To handle locale changes, call the method on each `render`. | ||
* | ||
* @param componentClass - The React component class that will use the intl service. | ||
* @param componentClass - The React component class that will use the internationalization service. | ||
*/ | ||
@@ -20,8 +20,8 @@ export function provideIntlService(component) { | ||
/** | ||
* A method registering a component class for intl. | ||
* A method which registers a component class for internationalization. | ||
* When a component of that class is a direct or indirect | ||
* child of `IntlProvider`, the provider's locale is used. | ||
* child of `IntlProvider`, the locale of the provider is used. | ||
* Otherwise, `en` is used as a default locale. | ||
* | ||
* @param componentClass - The React component class that will use the intl methods. | ||
* @param componentClass - The React component class that will use the internationalization methods. | ||
*/ | ||
@@ -28,0 +28,0 @@ export function registerForIntl(componentClass) { |
@@ -1,2 +0,3 @@ | ||
import IntlProvider, { IntlProviderProps } from './components/IntlProvider'; | ||
import IntlProvider from './IntlProvider'; | ||
import { IntlProviderProps } from './IntlProviderProps'; | ||
import { provideIntlService, registerForIntl } from './intlUtils'; | ||
@@ -3,0 +4,0 @@ import IntlService from './IntlService'; |
@@ -1,2 +0,2 @@ | ||
import IntlProvider from './components/IntlProvider'; | ||
import IntlProvider from './IntlProvider'; | ||
import { provideIntlService, registerForIntl } from './intlUtils'; | ||
@@ -3,0 +3,0 @@ import IntlService from './IntlService'; |
import { DateFormatOptions, NumberFormatOptions, DateFieldNameOptions, DateFormatNameOptions, DateFormatPart } from './coreExports'; | ||
/** | ||
* A service providing intl methods | ||
* bound to a specific locale. | ||
* A service which provides internationalization methods | ||
* and is bound to a specific locale. | ||
*/ | ||
@@ -9,5 +9,5 @@ export default class IntlService { | ||
/** | ||
* Creates a new instance of the intl service. | ||
* Creates a new instance of the internationalization service. | ||
* | ||
* @param locale - The locale that will be used by the intl methods. | ||
* @param locale - The locale that will be used by the internationalization methods. | ||
*/ | ||
@@ -20,3 +20,3 @@ constructor(locale: string); | ||
* @param format - The format string. | ||
* @param values - Array of values to output in the format string placeholders. | ||
* @param values - An array of values to output in the format string placeholders. | ||
* @return - The formatted string. | ||
@@ -29,3 +29,3 @@ */ | ||
* | ||
* @param value - The date to format. | ||
* @param value - The date which will be formatted. | ||
* @param format - The format string or options. | ||
@@ -38,3 +38,3 @@ * @return - The formatted date. | ||
* | ||
* @param value - The value to format. | ||
* @param value - The value which will be formatted. | ||
* @param format - The format to use. | ||
@@ -47,3 +47,3 @@ * @return - The formatted object. | ||
* | ||
* @param value - The string to convert. | ||
* @param value - The string which will be parsed. | ||
* @param format - The format string or options. | ||
@@ -56,3 +56,3 @@ * @return - The parsed number. | ||
* | ||
* @param value - The string to convert. | ||
* @param value - The string which will be converted. | ||
* @param format - The format strings or options. | ||
@@ -65,3 +65,3 @@ * @return - The parsed date. | ||
* | ||
* @param value - The number to format. | ||
* @param value - The number which will be formatted. | ||
* @param format - The format string or options. | ||
@@ -72,5 +72,5 @@ * @return - The formatted number. | ||
/** | ||
* Returns a localized date field name based on specific dateFieldName options. | ||
* Returns a localized date field name based on specific `dateFieldName` options. | ||
* | ||
* @param options - Detailed configuration for the desired date field name. | ||
* @param options - The detailed configuration for the desired date field name. | ||
* @returns - The localized date field name from the current locale based on the option. | ||
@@ -82,3 +82,3 @@ */ | ||
* | ||
* @param options - Detailed configuration for the desired date format. | ||
* @param options - The detailed configuration for the desired date format. | ||
* @return - The day names from the current locale based on the option. | ||
@@ -88,3 +88,4 @@ */ | ||
/** | ||
* Splits the date format into objects containing information about each part of the pattern. | ||
* Splits the date format into objects which contain | ||
* information about each part of the pattern. | ||
* | ||
@@ -102,3 +103,3 @@ * @param format - The format string or options. | ||
/** | ||
* Returns the first day index starting from Sunday. | ||
* Returns the first day index, starting from Sunday. | ||
* | ||
@@ -105,0 +106,0 @@ * @return - The index of the first day of the week (0 == Sunday). |
@@ -5,10 +5,10 @@ "use strict"; | ||
/** | ||
* A service providing intl methods | ||
* bound to a specific locale. | ||
* A service which provides internationalization methods | ||
* and is bound to a specific locale. | ||
*/ | ||
var IntlService = (function () { | ||
/** | ||
* Creates a new instance of the intl service. | ||
* Creates a new instance of the internationalization service. | ||
* | ||
* @param locale - The locale that will be used by the intl methods. | ||
* @param locale - The locale that will be used by the internationalization methods. | ||
*/ | ||
@@ -26,3 +26,3 @@ function IntlService(locale) { | ||
* @param format - The format string. | ||
* @param values - Array of values to output in the format string placeholders. | ||
* @param values - An array of values to output in the format string placeholders. | ||
* @return - The formatted string. | ||
@@ -37,3 +37,3 @@ */ | ||
* | ||
* @param value - The date to format. | ||
* @param value - The date which will be formatted. | ||
* @param format - The format string or options. | ||
@@ -48,3 +48,3 @@ * @return - The formatted date. | ||
* | ||
* @param value - The value to format. | ||
* @param value - The value which will be formatted. | ||
* @param format - The format to use. | ||
@@ -59,3 +59,3 @@ * @return - The formatted object. | ||
* | ||
* @param value - The string to convert. | ||
* @param value - The string which will be parsed. | ||
* @param format - The format string or options. | ||
@@ -70,3 +70,3 @@ * @return - The parsed number. | ||
* | ||
* @param value - The string to convert. | ||
* @param value - The string which will be converted. | ||
* @param format - The format strings or options. | ||
@@ -81,3 +81,3 @@ * @return - The parsed date. | ||
* | ||
* @param value - The number to format. | ||
* @param value - The number which will be formatted. | ||
* @param format - The format string or options. | ||
@@ -90,5 +90,5 @@ * @return - The formatted number. | ||
/** | ||
* Returns a localized date field name based on specific dateFieldName options. | ||
* Returns a localized date field name based on specific `dateFieldName` options. | ||
* | ||
* @param options - Detailed configuration for the desired date field name. | ||
* @param options - The detailed configuration for the desired date field name. | ||
* @returns - The localized date field name from the current locale based on the option. | ||
@@ -102,3 +102,3 @@ */ | ||
* | ||
* @param options - Detailed configuration for the desired date format. | ||
* @param options - The detailed configuration for the desired date format. | ||
* @return - The day names from the current locale based on the option. | ||
@@ -110,3 +110,4 @@ */ | ||
/** | ||
* Splits the date format into objects containing information about each part of the pattern. | ||
* Splits the date format into objects which contain | ||
* information about each part of the pattern. | ||
* | ||
@@ -128,3 +129,3 @@ * @param format - The format string or options. | ||
/** | ||
* Returns the first day index starting from Sunday. | ||
* Returns the first day index, starting from Sunday. | ||
* | ||
@@ -131,0 +132,0 @@ * @return - The index of the first day of the week (0 == Sunday). |
/// <reference types="react" /> | ||
import * as React from 'react'; | ||
/** | ||
* Provides an intl service. | ||
* Provides an internationalization service. | ||
* When the passed component is a direct or indirect child of | ||
* `IntlProvider`, the returned service uses the provider's locale. | ||
* Otherwise, it uses `en` as a default locale. | ||
* In order to handle locale changes, the method should be called on each `render`. | ||
* `IntlProvider`, the returned service uses the locale of the provider. | ||
* Otherwise, uses `en` as a default locale. | ||
* To handle locale changes, call the method on each `render`. | ||
* | ||
* @param componentClass - The React component class that will use the intl service. | ||
* @param componentClass - The React component class that will use the internationalization service. | ||
*/ | ||
export declare function provideIntlService(component: React.Component): any; | ||
/** | ||
* A method registering a component class for intl. | ||
* A method which registers a component class for internationalization. | ||
* When a component of that class is a direct or indirect | ||
* child of `IntlProvider`, the provider's locale is used. | ||
* child of `IntlProvider`, the locale of the provider is used. | ||
* Otherwise, `en` is used as a default locale. | ||
* | ||
* @param componentClass - The React component class that will use the intl methods. | ||
* @param componentClass - The React component class that will use the internationalization methods. | ||
*/ | ||
export declare function registerForIntl(componentClass: any): void; |
@@ -6,9 +6,9 @@ "use strict"; | ||
/** | ||
* Provides an intl service. | ||
* Provides an internationalization service. | ||
* When the passed component is a direct or indirect child of | ||
* `IntlProvider`, the returned service uses the provider's locale. | ||
* Otherwise, it uses `en` as a default locale. | ||
* In order to handle locale changes, the method should be called on each `render`. | ||
* `IntlProvider`, the returned service uses the locale of the provider. | ||
* Otherwise, uses `en` as a default locale. | ||
* To handle locale changes, call the method on each `render`. | ||
* | ||
* @param componentClass - The React component class that will use the intl service. | ||
* @param componentClass - The React component class that will use the internationalization service. | ||
*/ | ||
@@ -24,8 +24,8 @@ function provideIntlService(component) { | ||
/** | ||
* A method registering a component class for intl. | ||
* A method which registers a component class for internationalization. | ||
* When a component of that class is a direct or indirect | ||
* child of `IntlProvider`, the provider's locale is used. | ||
* child of `IntlProvider`, the locale of the provider is used. | ||
* Otherwise, `en` is used as a default locale. | ||
* | ||
* @param componentClass - The React component class that will use the intl methods. | ||
* @param componentClass - The React component class that will use the internationalization methods. | ||
*/ | ||
@@ -32,0 +32,0 @@ function registerForIntl(componentClass) { |
@@ -1,2 +0,3 @@ | ||
import IntlProvider, { IntlProviderProps } from './components/IntlProvider'; | ||
import IntlProvider from './IntlProvider'; | ||
import { IntlProviderProps } from './IntlProviderProps'; | ||
import { provideIntlService, registerForIntl } from './intlUtils'; | ||
@@ -3,0 +4,0 @@ import IntlService from './IntlService'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var IntlProvider_1 = require("./components/IntlProvider"); | ||
var IntlProvider_1 = require("./IntlProvider"); | ||
exports.IntlProvider = IntlProvider_1.default; | ||
@@ -5,0 +5,0 @@ var intlUtils_1 = require("./intlUtils"); |
@@ -1,1 +0,1 @@ | ||
System.register("@progress/kendo-react-intl",["prop-types","react","@telerik/kendo-intl"],function(t){var e,r,o;function n(t){return t.__useDefault?t.default:t}return{setters:[function(t){e=n(t)},function(t){r=n(t)},function(t){o=n(t)}],execute:function(){!function(t){var e={};function r(o){if(e[o])return e[o].exports;var n=e[o]={exports:{},id:o,loaded:!1};return t[o].call(n.exports,n,n.exports,r),n.loaded=!0,n.exports}r.m=t,r.c=e,r.p="",r(0)}([function(e,r,o){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=o(1);r.IntlProvider=n.default;var i=o(6);r.provideIntlService=i.provideIntlService,r.registerForIntl=i.registerForIntl;var u=o(4);r.IntlService=u.default;var c=o(7);r.load=c.load,function(e){for(var r in e)t(r,e[r])}(r)},function(t,e,r){"use strict";var o,n=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},function(t,e){function r(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0});var i=r(2),u=r(3),c=r(4),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.getIntlService=function(){return new c.default(this.props.locale)},e.prototype.getChildContext=function(){return{kendoIntlService:this.getIntlService()}},e.prototype.render=function(){return i.Children.only(this.props.children)},e}(i.Component);a.childContextTypes={kendoIntlService:u.object},e.default=a},function(t,e){t.exports=r},function(t,r){t.exports=e},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=r(5),n=function(){function t(t){if(this.locale=t,""===t)throw"Locale should not be empty string"}return t.prototype.format=function(t,e){return o.format(t,e,this.locale)},t.prototype.formatDate=function(t,e){return o.formatDate(t,e,this.locale)},t.prototype.toString=function(t,e){return o.toString(t,e,this.locale)},t.prototype.parseNumber=function(t,e){return o.parseNumber(t,this.locale,e)},t.prototype.parseDate=function(t,e){return o.parseDate(t,e,this.locale)},t.prototype.formatNumber=function(t,e){return o.formatNumber(t,e,this.locale)},t.prototype.dateFieldName=function(t){return o.dateFieldName(t,this.locale)},t.prototype.dateFormatNames=function(t){return o.dateFormatNames(this.locale,t)},t.prototype.splitDateFormat=function(t){return o.splitDateFormat(t,this.locale)},t.prototype.numberSymbols=function(){return o.numberSymbols(this.locale)},t.prototype.firstDay=function(){return o.firstDay(this.locale)},t}();e.default=n},function(t,e){t.exports=o},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=r(3),n=r(4);e.provideIntlService=function(t){if(!t)throw"Passed component = "+t+" is invalid.";var e=t.context&&t.context.kendoIntlService;return e||new n.default("en")},e.registerForIntl=function(t){t.contextTypes={kendoIntlService:o.object}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=r(5);e.load=o.load}])}}}); | ||
System.register("@progress/kendo-react-intl",["prop-types","react","@telerik/kendo-intl"],function(t){var e,r,o;function n(t){return t.__useDefault?t.default:t}return{setters:[function(t){e=n(t)},function(t){r=n(t)},function(t){o=n(t)}],execute:function(){!function(t){var e={};function r(o){if(e[o])return e[o].exports;var n=e[o]={exports:{},id:o,loaded:!1};return t[o].call(n.exports,n,n.exports,r),n.loaded=!0,n.exports}r.m=t,r.c=e,r.p="",r(0)}([function(e,r,o){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=o(1);r.IntlProvider=n.default;var i=o(6);r.provideIntlService=i.provideIntlService,r.registerForIntl=i.registerForIntl;var u=o(4);r.IntlService=u.default;var c=o(7);r.load=c.load,function(e){for(var r in e)t(r,e[r])}(r)},function(t,e,r){"use strict";var o,n=this&&this.__extends||(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},function(t,e){function r(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0});var i=r(2),u=r(3),c=r(4),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.getIntlService=function(){return new c.default(this.props.locale)},e.prototype.getChildContext=function(){return{kendoIntlService:this.getIntlService()}},e.prototype.render=function(){return i.Children.only(this.props.children)},e}(i.Component);l.propTypes={locale:u.string},l.childContextTypes={kendoIntlService:u.object},e.default=l},function(t,e){t.exports=r},function(t,r){t.exports=e},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=r(5),n=function(){function t(t){if(this.locale=t,""===t)throw"Locale should not be empty string"}return t.prototype.format=function(t,e){return o.format(t,e,this.locale)},t.prototype.formatDate=function(t,e){return o.formatDate(t,e,this.locale)},t.prototype.toString=function(t,e){return o.toString(t,e,this.locale)},t.prototype.parseNumber=function(t,e){return o.parseNumber(t,this.locale,e)},t.prototype.parseDate=function(t,e){return o.parseDate(t,e,this.locale)},t.prototype.formatNumber=function(t,e){return o.formatNumber(t,e,this.locale)},t.prototype.dateFieldName=function(t){return o.dateFieldName(t,this.locale)},t.prototype.dateFormatNames=function(t){return o.dateFormatNames(this.locale,t)},t.prototype.splitDateFormat=function(t){return o.splitDateFormat(t,this.locale)},t.prototype.numberSymbols=function(){return o.numberSymbols(this.locale)},t.prototype.firstDay=function(){return o.firstDay(this.locale)},t}();e.default=n},function(t,e){t.exports=o},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=r(3),n=r(4);e.provideIntlService=function(t){if(!t)throw"Passed component = "+t+" is invalid.";var e=t.context&&t.context.kendoIntlService;return e||new n.default("en")},e.registerForIntl=function(t){t.contextTypes={kendoIntlService:o.object}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=r(5);e.load=o.load}])}}}); |
{ | ||
"name": "@progress/kendo-react-intl", | ||
"description": "Kendo UI for React Internationalization package", | ||
"version": "0.1.2", | ||
"version": "0.1.3-dev.201801101534", | ||
"repository": { | ||
@@ -26,3 +26,3 @@ "type": "git", | ||
"peerDependencies": { | ||
"cldr-data": "^31.0.2", | ||
"cldr-data": "^32.0.0", | ||
"react": "^16.0.0", | ||
@@ -29,0 +29,0 @@ "react-dom": "^16.0.0" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
92918
41
955
1