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

react-localize-redux

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-localize-redux - npm Package Compare versions

Comparing version 2.17.3 to 2.17.4

6

dist/ReactLocalizeRedux.min.js

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

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-redux"),require("redux")):"function"==typeof define&&define.amd?define(["react","react-redux","redux"],t):"object"==typeof exports?exports.ReactLocalizeRedux=t(require("react"),require("react-redux"),require("redux")):e.ReactLocalizeRedux=t(e.React,e.ReactRedux,e.Redux)}(this,function(e,t,n){return function(e){function t(r){if(n[r])return n[r].exports;var a=n[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,t),a.l=!0,a.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=6)}([function(t,n){t.exports=e},function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1];switch(t.type){case g:case y:var n=t.payload.options||{},r=t.payload.activeLanguage||n.defaultLanguage;return t.payload.languages.map(function(e,t){var n=function(e){return void 0!==r?e===r:0===t};return"string"==typeof e?{code:e,active:n(e)}:s({},e,{active:n(e.code)})});case m:return e.map(function(e){return e.code===t.payload.languageCode?s({},e,{active:!0}):s({},e,{active:!1})});default:return e}}function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];switch(t.type){case h:var n=void 0!==t.translationTransform?t.translationTransform(t.payload.translation,t.languageCodes):t.payload.translation;return s({},e,(0,f.flatten)(n,{safe:!0}));case v:var r=t.languageCodes.indexOf(t.payload.language),o=r>=0?(0,f.flatten)(t.payload.translation):{},i=Object.keys(o).reduce(function(n,i){var u=t.languageCodes.map(function(t,n){var a=e[i]||[];return n===r?o[i]:a[n]});return s({},n,a({},i,u))},{});return s({},e,i);default:return e}}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:b,t=arguments[1];switch(t.type){case g:var n=t.payload.options||{};return s({},e,(0,p.validateOptions)(n));default:return e}}Object.defineProperty(t,"__esModule",{value:!0}),t.getTranslateComponent=t.getTranslate=t.getTranslationsForSpecificLanguage=t.getTranslationsForActiveLanguage=t.translationsEqualSelector=t.getActiveLanguage=t.getOptions=t.getLanguages=t.getTranslations=t.setActiveLanguage=t.setLanguages=t.addTranslationForLanguage=t.addTranslation=t.initialize=t.localeReducer=t.defaultTranslateOptions=t.TRANSLATE=t.SET_ACTIVE_LANGUAGE=t.SET_LANGUAGES=t.ADD_TRANSLATION_FOR_LANGUGE=t.ADD_TRANSLATION=t.INITIALIZE=void 0;var l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.languages=o,t.translations=i,t.options=u;var c=n(0),f=(function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);t.default=e}(c),n(22),n(12)),d=n(20),p=n(2),g=t.INITIALIZE="@@localize/INITIALIZE",h=t.ADD_TRANSLATION="@@localize/ADD_TRANSLATION",v=t.ADD_TRANSLATION_FOR_LANGUGE="@@localize/ADD_TRANSLATION_FOR_LANGUGE",y=t.SET_LANGUAGES="@@localize/SET_LANGUAGES",m=t.SET_ACTIVE_LANGUAGE="@@localize/SET_ACTIVE_LANGUAGE",b=(t.TRANSLATE="@@localize/TRANSLATE",t.defaultTranslateOptions={renderInnerHtml:!0,showMissingTranslationMsg:!0,missingTranslationMsg:"Missing translation key ${ key } for language ${ code }",ignoreTranslateChildren:!1}),O={languages:[],translations:{},options:b},x=(t.localeReducer=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:O,t=arguments[1],n=e.languages.map(function(e){return e.code}),r=e.options.translationTransform;return{languages:o(e.languages,t),translations:i(e.translations,s({},t,{languageCodes:n,translationTransform:r})),options:u(e.options,t)}},t.initialize=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:b;return{type:g,payload:{languages:e,options:t}}},t.addTranslation=function(e){return{type:h,payload:{translation:e}}},t.addTranslationForLanguage=function(e,t){return{type:v,payload:{translation:e,language:t}}},t.setLanguages=function(e,t){return(0,p.warning)("The setLanguages action will be removed in the next major version. Please use initialize action instead https://ryandrewjohnson.github.io/react-localize-redux/api/action-creators/#initializelanguages-options"),{type:y,payload:{languages:e,activeLanguage:t}}},t.setActiveLanguage=function(e){return{type:m,payload:{languageCode:e}}},t.getTranslations=function(e){return e.translations}),S=t.getLanguages=function(e){return e.languages},w=t.getOptions=function(e){return e.options},A=t.getActiveLanguage=function(e){return S(e).filter(function(e){return!0===e.active})[0]},T=t.translationsEqualSelector=(0,d.createSelectorCreator)(d.defaultMemoize,function(e,t){var n="object"===(void 0===t?"undefined":l(t))?Object.keys(t).toString():void 0,r="object"===(void 0===e?"undefined":l(e))?Object.keys(e).toString():void 0,a="object"===(void 0===t?"undefined":l(t))?(0,p.objectValuesToString)(t):void 0,o="object"===(void 0===e?"undefined":l(e))?(0,p.objectValuesToString)(e):void 0;return(n&&a?t:n+" - "+a)===(r&&o?e:r+" - "+o)}),L=t.getTranslationsForActiveLanguage=T(A,S,x,p.getTranslationsForLanguage),_=t.getTranslationsForSpecificLanguage=T(S,x,function(e,t){return(0,d.defaultMemoize)(function(n){return(0,p.getTranslationsForLanguage)(n,e,t)})}),E=(0,d.createSelector)(L,_,A,w,function(e,t,n,o){return function(i){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},c=l.defaultLanguage,f=r(l,["defaultLanguage"]),d=s({},o,f),g=void 0!==c?t({code:c,active:!1}):e;if("string"==typeof i)return(0,p.getLocalizedElement)(i,g,u,n,d);if(Array.isArray(i))return i.reduce(function(e,t){return s({},e,a({},t,(0,p.getLocalizedElement)(t,g,u,n,d)))},{});throw new Error("react-localize-redux: Invalid key passed to getTranslate.")}});t.getTranslate=E;t.getTranslateComponent=(0,d.createSelector)(E,function(e){return function(t){return e(t.id,t.data,t.options)}})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0}),t.warning=t.storeDidChange=t.getTranslationsForLanguage=t.validateOptions=t.objectValuesToString=t.getIndexForLanguageCode=t.templater=t.hasHtmlTags=t.getLocalizedElement=void 0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(0),i=function(e){return e&&e.__esModule?e:{default:e}}(o),u=n(1),l=(t.getLocalizedElement=function(e,t,n,r){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:u.defaultTranslateOptions,o=t[e]||function(){return a.missingTranslationCallback&&a.missingTranslationCallback(e,r.code),!1===a.showMissingTranslationMsg?"":s(a.missingTranslationMsg||"",{key:e,code:r.code})}(),c=s(o,n);return a.renderInnerHtml&&l(c)?i.default.createElement("span",{dangerouslySetInnerHTML:{__html:c}}):c},t.hasHtmlTags=function(e){var t=/(&[^\s]*;|<\/?\w+((\s+\w+(\s*=\s*(?:".*?"|'.*?'|[\^'">\s]+))?)+\s*|\s*)\/?>)/;return e.search(t)>=0}),s=t.templater=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var n in t){var r="\\${\\s*"+n+"\\s*}",a=new RegExp(r,"gmi");e=e.replace(a,t[n])}return e},c=t.getIndexForLanguageCode=function(e,t){return t.map(function(e){return e.code}).indexOf(e)};t.objectValuesToString=function(e){return Object.values?Object.values(e).toString():Object.keys(e).map(function(t){return e[t].toString()}).toString()},t.validateOptions=function(e){if(void 0!==e.translationTransform&&"function"!=typeof e.translationTransform)throw new Error("react-localize-redux: Invalid translationTransform function.");return e},t.getTranslationsForLanguage=function(e,t,n){if(!e)return{};var o=e.code,i=c(o,t);return Object.keys(n).reduce(function(e,t){return a({},e,r({},t,n[t][i]))},{})},t.storeDidChange=function(e,t){function n(){var n=e.getState();n!==r&&(t(r),r=n)}var r=void 0,a=e.subscribe(n);return n(),a},t.warning=function(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e);try{throw new Error(e)}catch(e){}}},function(e,t,n){"use strict";function r(e){return function(){return e}}var a=function(){};a.thatReturns=r,a.thatReturnsFalse=r(!1),a.thatReturnsTrue=r(!0),a.thatReturnsNull=r(null),a.thatReturnsThis=function(){return this},a.thatReturnsArgument=function(e){return e},e.exports=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.localize=void 0;var r=n(0),a=(function(e){e&&e.__esModule}(r),n(21)),o=n(1),i=function(e,t){return function(n){var r=t?t(n):e&&n[e]||n,a=(0,o.getActiveLanguage)(r);return{currentLanguage:a?a.code:void 0,translate:(0,o.getTranslate)(r)}}};t.localize=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return(0,a.connect)(i(t,n))(e)}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.Translate=void 0;var l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(0),c=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(s),f=n(19),d=r(f),p=n(16),g=r(p),h=n(1),v=n(2);(t.Translate=function(e){function t(e,n){o(this,t);var r=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));if(!r.getStore())throw new Error("react-localize-redux: Unable to locate redux store in context. Ensure your app is wrapped with <Provider />.");if(!r.getStateSlice().languages)throw new Error("react-localize-redux: cannot find languages ensure you have correctly dispatched initialize action.");return r.state={hasUpdated:!1},r.onStateDidChange=r.onStateDidChange.bind(r),r.addDefaultTranslation(),r}return u(t,e),l(t,[{key:"componentDidMount",value:function(){this.unsubscribeFromStore=(0,v.storeDidChange)(this.getStore(),this.onStateDidChange)}},{key:"componentWillUnmount",value:function(){this.unsubscribeFromStore()}},{key:"onStateDidChange",value:function(e){var t=this.getStateSlice(e),n=this.getStateSlice(),r=(0,h.getActiveLanguage)(t),a=(0,h.getActiveLanguage)(n),o=(0,h.getOptions)(t),i=(0,h.getOptions)(n),u=(0,h.getTranslationsForActiveLanguage)(t),l=(0,h.getTranslationsForActiveLanguage)(n),s=r.code!==a.code,c=o!==i,f=u!==l;(s||c||f)&&this.setState({hasUpdated:!0})}},{key:"addDefaultTranslation",value:function(){var e=this.getStateSlice(),t=this.props,n=t.id,r=t.children;if(void 0!==r&&"function"!=typeof r&&!e.options.ignoreTranslateChildren&&void 0!==n){var o=this.getStore(),i=d.default.renderToStaticMarkup(r),u=e.options.defaultLanguage||e.languages[0].code;o.dispatch((0,h.addTranslationForLanguage)(a({},n,i),u))}}},{key:"getStore",value:function(){var e=this.context.storeKey;return this.context[e||"store"]}},{key:"getStateSlice",value:function(e){var t=this.context,n=t.getLocaleState,r=(t.storeKey,e||this.getStore().getState());return void 0!==n?n(r):r.locale||r}},{key:"render",value:function(){var e=(0,h.getTranslate)(this.getStateSlice()),t=(0,h.getActiveLanguage)(this.getStateSlice()),n=(0,h.getLanguages)(this.getStateSlice()),r=this.props,a=r.id,o=void 0===a?"":a,i=r.data,u=r.options;return"function"==typeof this.props.children?this.props.children(e,t,n):e(o,i,u)}}]),t}(c.Component)).contextTypes={store:g.default.shape({subscribe:g.default.func.isRequired,dispatch:g.default.func.isRequired,getState:g.default.func.isRequired}),getLocaleState:g.default.func,storeKey:g.default.string}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4);Object.defineProperty(t,"localize",{enumerable:!0,get:function(){return r.localize}});var a=n(5);Object.defineProperty(t,"Translate",{enumerable:!0,get:function(){return a.Translate}});var o=n(1);Object.defineProperty(t,"localeReducer",{enumerable:!0,get:function(){return o.localeReducer}}),Object.defineProperty(t,"initialize",{enumerable:!0,get:function(){return o.initialize}}),Object.defineProperty(t,"addTranslation",{enumerable:!0,get:function(){return o.addTranslation}}),Object.defineProperty(t,"addTranslationForLanguage",{enumerable:!0,get:function(){return o.addTranslationForLanguage}}),Object.defineProperty(t,"setLanguages",{enumerable:!0,get:function(){return o.setLanguages}}),Object.defineProperty(t,"setActiveLanguage",{enumerable:!0,get:function(){return o.setActiveLanguage}}),Object.defineProperty(t,"getTranslate",{enumerable:!0,get:function(){return o.getTranslate}}),Object.defineProperty(t,"getActiveLanguage",{enumerable:!0,get:function(){return o.getActiveLanguage}}),Object.defineProperty(t,"getLanguages",{enumerable:!0,get:function(){return o.getLanguages}}),Object.defineProperty(t,"getTranslations",{enumerable:!0,get:function(){return o.getTranslations}}),Object.defineProperty(t,"getOptions",{enumerable:!0,get:function(){return o.getOptions}})},function(e,t,n){"use strict";var r={};e.exports=r},function(e,t,n){"use strict";function r(e){return e.replace(a,"-$1").toLowerCase()}var a=/([A-Z])/g;e.exports=r},function(e,t,n){"use strict";function r(e){return a(e).replace(o,"-ms-")}var a=n(8),o=/^ms-/;e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r,o,i,u,l){if(a(t),!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,u,l],f=0;s=new Error(t.replace(/%s/g,function(){return c[f++]})),s.name="Invariant Violation"}throw s.framesToPop=1,s}}var a=function(e){};e.exports=r},function(e,t,n){"use strict";function r(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}}e.exports=r},function(e,t,n){function r(e,t){function n(e,u,l){l=l||1,Object.keys(e).forEach(function(s){var c=e[s],f=t.safe&&Array.isArray(c),d=Object.prototype.toString.call(c),p=o(c),g="[object Object]"===d||"[object Array]"===d,h=u?u+r+s:s;if(!f&&!p&&g&&Object.keys(c).length&&(!t.maxDepth||l<a))return n(c,h,l+1);i[h]=c})}t=t||{};var r=t.delimiter||".",a=t.maxDepth,i={};return n(e),i}function a(e,t){function n(e){var t=Number(e);return isNaN(t)||-1!==e.indexOf(".")?e:t}t=t||{};var r=t.delimiter||".",i=t.overwrite||!1,u={};return o(e)||"[object Object]"!==Object.prototype.toString.call(e)?e:(Object.keys(e).forEach(function(o){for(var l=o.split(r),s=n(l.shift()),c=n(l[0]),f=u;void 0!==c;){var d=Object.prototype.toString.call(f[s]),p="[object Object]"===d||"[object Array]"===d;if(!i&&!p&&void 0!==f[s])return;(i&&!p||!i&&null==f[s])&&(f[s]="number"!=typeof c||t.object?{}:[]),f=f[s],l.length>0&&(s=n(l.shift()),c=n(l[0]))}f[s]=a(e[o],t)}),u)}var o=n(13);e.exports=r;r.flatten=r,r.unflatten=a},function(e,t){function n(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function r(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&n(e.slice(0,0))}/*!
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-redux"),require("redux")):"function"==typeof define&&define.amd?define(["react","react-redux","redux"],t):"object"==typeof exports?exports.ReactLocalizeRedux=t(require("react"),require("react-redux"),require("redux")):e.ReactLocalizeRedux=t(e.React,e.ReactRedux,e.Redux)}(this,function(e,t,n){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=6)}([function(t,n){t.exports=e},function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1];switch(t.type){case g:case v:var n=t.payload.options||{},r=t.payload.activeLanguage||n.defaultLanguage;return t.payload.languages.map(function(e,t){var n=function(e){return void 0!==r?e===r:0===t};return"string"==typeof e?{code:e,active:n(e)}:c({},e,{active:n(e.code)})});case m:return e.map(function(e){return e.code===t.payload.languageCode?c({},e,{active:!0}):c({},e,{active:!1})});default:return e}}function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];switch(t.type){case h:var n=void 0!==t.translationTransform?t.translationTransform(t.payload.translation,t.languageCodes):t.payload.translation;return c({},e,(0,f.flatten)(n,{safe:!0}));case y:var r=t.languageCodes.indexOf(t.payload.language),a=r>=0?(0,f.flatten)(t.payload.translation):{},i=Object.keys(a).reduce(function(n,i){var u=t.languageCodes.map(function(t,n){var o=e[i]||[];return n===r?a[i]:o[n]});return c({},n,o({},i,u))},{});return c({},e,i);default:return e}}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:b,t=arguments[1];switch(t.type){case g:var n=t.payload.options||{};return c({},e,(0,d.validateOptions)(n));default:return e}}Object.defineProperty(t,"__esModule",{value:!0}),t.getTranslateComponent=t.getTranslate=t.getTranslationsForSpecificLanguage=t.getTranslationsForActiveLanguage=t.translationsEqualSelector=t.getActiveLanguage=t.getOptions=t.getLanguages=t.getTranslations=t.setActiveLanguage=t.setLanguages=t.addTranslationForLanguage=t.addTranslation=t.initialize=t.localeReducer=t.defaultTranslateOptions=t.TRANSLATE=t.SET_ACTIVE_LANGUAGE=t.SET_LANGUAGES=t.ADD_TRANSLATION_FOR_LANGUGE=t.ADD_TRANSLATION=t.INITIALIZE=void 0;var l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.languages=a,t.translations=i,t.options=u;var s=n(0),f=(function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);t.default=e}(s),n(22),n(12)),p=n(20),d=n(2),g=t.INITIALIZE="@@localize/INITIALIZE",h=t.ADD_TRANSLATION="@@localize/ADD_TRANSLATION",y=t.ADD_TRANSLATION_FOR_LANGUGE="@@localize/ADD_TRANSLATION_FOR_LANGUGE",v=t.SET_LANGUAGES="@@localize/SET_LANGUAGES",m=t.SET_ACTIVE_LANGUAGE="@@localize/SET_ACTIVE_LANGUAGE",b=(t.TRANSLATE="@@localize/TRANSLATE",t.defaultTranslateOptions={renderInnerHtml:!0,showMissingTranslationMsg:!0,missingTranslationMsg:"Missing translation key ${ key } for language ${ code }",ignoreTranslateChildren:!1}),w={languages:[],translations:{},options:b},x=(t.localeReducer=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:w,t=arguments[1],n=e.languages.map(function(e){return e.code}),r=e.options.translationTransform;return{languages:a(e.languages,t),translations:i(e.translations,c({},t,{languageCodes:n,translationTransform:r})),options:u(e.options,t)}},t.initialize=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:b;return{type:g,payload:{languages:e,options:t}}},t.addTranslation=function(e){return{type:h,payload:{translation:e}}},t.addTranslationForLanguage=function(e,t){return{type:y,payload:{translation:e,language:t}}},t.setLanguages=function(e,t){return(0,d.warning)("The setLanguages action will be removed in the next major version. Please use initialize action instead https://ryandrewjohnson.github.io/react-localize-redux/api/action-creators/#initializelanguages-options"),{type:v,payload:{languages:e,activeLanguage:t}}},t.setActiveLanguage=function(e){return{type:m,payload:{languageCode:e}}},t.getTranslations=function(e){return e.translations}),S=t.getLanguages=function(e){return e.languages},O=t.getOptions=function(e){return e.options},T=t.getActiveLanguage=function(e){return S(e).filter(function(e){return!0===e.active})[0]},k=t.translationsEqualSelector=(0,p.createSelectorCreator)(p.defaultMemoize,function(e,t){var n="object"===(void 0===t?"undefined":l(t))?Object.keys(t).toString():void 0,r="object"===(void 0===e?"undefined":l(e))?Object.keys(e).toString():void 0,o="object"===(void 0===t?"undefined":l(t))?(0,d.objectValuesToString)(t):void 0,a="object"===(void 0===e?"undefined":l(e))?(0,d.objectValuesToString)(e):void 0;return(n&&o?t:n+" - "+o)===(r&&a?e:r+" - "+a)}),j=t.getTranslationsForActiveLanguage=k(T,S,x,d.getTranslationsForLanguage),L=t.getTranslationsForSpecificLanguage=k(S,x,function(e,t){return(0,p.defaultMemoize)(function(n){return(0,d.getTranslationsForLanguage)(n,e,t)})}),A=(0,p.createSelector)(j,L,T,O,function(e,t,n,a){return function(i){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=l.defaultLanguage,f=r(l,["defaultLanguage"]),p=c({},a,f),g=void 0!==s?t({code:s,active:!1}):e;if("string"==typeof i)return(0,d.getLocalizedElement)(i,g,u,n,p);if(Array.isArray(i))return i.reduce(function(e,t){return c({},e,o({},t,(0,d.getLocalizedElement)(t,g,u,n,p)))},{});throw new Error("react-localize-redux: Invalid key passed to getTranslate.")}});t.getTranslate=A;t.getTranslateComponent=(0,p.createSelector)(A,function(e){return function(t){return e(t.id,t.data,t.options)}})},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0}),t.warning=t.storeDidChange=t.getTranslationsForLanguage=t.validateOptions=t.objectValuesToString=t.getIndexForLanguageCode=t.templater=t.hasHtmlTags=t.getLocalizedElement=void 0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(0),i=function(e){return e&&e.__esModule?e:{default:e}}(a),u=n(1),l=(t.getLocalizedElement=function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:u.defaultTranslateOptions,a=t[e]||function(){return o.missingTranslationCallback&&o.missingTranslationCallback(e,r.code),!1===o.showMissingTranslationMsg?"":c(o.missingTranslationMsg||"",{key:e,code:r.code})}(),s=c(a,n);return o.renderInnerHtml&&l(s)?i.default.createElement("span",{dangerouslySetInnerHTML:{__html:s}}):s},t.hasHtmlTags=function(e){var t=/(&[^\s]*;|<\/?\w+((\s+\w+(\s*=\s*(?:".*?"|'.*?'|[\^'">\s]+))?)+\s*|\s*)\/?>)/;return e.search(t)>=0}),c=t.templater=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var n in t){var r="\\${\\s*"+n+"\\s*}",o=new RegExp(r,"gmi");e=e.replace(o,t[n])}return e},s=t.getIndexForLanguageCode=function(e,t){return t.map(function(e){return e.code}).indexOf(e)};t.objectValuesToString=function(e){return Object.values?Object.values(e).toString():Object.keys(e).map(function(t){return e[t].toString()}).toString()},t.validateOptions=function(e){if(void 0!==e.translationTransform&&"function"!=typeof e.translationTransform)throw new Error("react-localize-redux: Invalid translationTransform function.");return e},t.getTranslationsForLanguage=function(e,t,n){if(!e)return{};var a=e.code,i=s(a,t);return Object.keys(n).reduce(function(e,t){return o({},e,r({},t,n[t][i]))},{})},t.storeDidChange=function(e,t){function n(){var n=e.getState();n!==r&&(t(r),r=n)}var r=void 0,o=e.subscribe(n);return n(),o},t.warning=function(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e);try{throw new Error(e)}catch(e){}}},function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.localize=void 0;var r=n(0),o=(function(e){e&&e.__esModule}(r),n(21)),a=n(1),i=function(e,t){return function(n){var r=t?t(n):e&&n[e]||n,o=(0,a.getActiveLanguage)(r);return{currentLanguage:o?o.code:void 0,translate:(0,a.getTranslate)(r)}}};t.localize=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return(0,o.connect)(i(t,n))(e)}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.Translate=void 0;var l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(0),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(c),f=n(19),p=r(f),d=n(16),g=r(d),h=n(1),y=n(2);(t.Translate=function(e){function t(e,n){a(this,t);var r=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));if(!r.getStore())throw new Error("react-localize-redux: Unable to locate redux store in context. Ensure your app is wrapped with <Provider />.");if(!r.getStateSlice().languages)throw new Error("react-localize-redux: cannot find languages ensure you have correctly dispatched initialize action.");return r.state={hasUpdated:!1},r.onStateDidChange=r.onStateDidChange.bind(r),r.addDefaultTranslation(),r}return u(t,e),l(t,[{key:"componentDidMount",value:function(){this.unsubscribeFromStore=(0,y.storeDidChange)(this.getStore(),this.onStateDidChange)}},{key:"componentWillUnmount",value:function(){this.unsubscribeFromStore()}},{key:"onStateDidChange",value:function(e){var t=this.getStateSlice(e),n=this.getStateSlice(),r=(0,h.getActiveLanguage)(t),o=(0,h.getActiveLanguage)(n),a=(0,h.getOptions)(t),i=(0,h.getOptions)(n),u=(0,h.getTranslationsForActiveLanguage)(t),l=(0,h.getTranslationsForActiveLanguage)(n),c=r.code!==o.code,s=a!==i,f=u!==l;(c||s||f)&&this.setState({hasUpdated:!0})}},{key:"addDefaultTranslation",value:function(){var e=this.getStateSlice(),t=this.props,n=t.id,r=t.children;if(void 0!==r&&"function"!=typeof r&&!e.options.ignoreTranslateChildren&&void 0!==n){var a=this.getStore(),i=p.default.renderToStaticMarkup(r),u=e.options.defaultLanguage||e.languages[0].code;a.dispatch((0,h.addTranslationForLanguage)(o({},n,i),u))}}},{key:"getStore",value:function(){var e=this.context.storeKey;return this.context[e||"store"]}},{key:"getStateSlice",value:function(e){var t=this.context,n=t.getLocaleState,r=(t.storeKey,e||this.getStore().getState());return void 0!==n?n(r):r.locale||r}},{key:"render",value:function(){var e=(0,h.getTranslate)(this.getStateSlice()),t=(0,h.getActiveLanguage)(this.getStateSlice()),n=(0,h.getLanguages)(this.getStateSlice()),r=this.props,o=r.id,a=void 0===o?"":o,i=r.data,u=r.options;return"function"==typeof this.props.children?this.props.children(e,t,n):e(a,i,u)}}]),t}(s.Component)).contextTypes={store:g.default.shape({subscribe:g.default.func.isRequired,dispatch:g.default.func.isRequired,getState:g.default.func.isRequired}),getLocaleState:g.default.func,storeKey:g.default.string}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4);Object.defineProperty(t,"localize",{enumerable:!0,get:function(){return r.localize}});var o=n(5);Object.defineProperty(t,"Translate",{enumerable:!0,get:function(){return o.Translate}});var a=n(1);Object.defineProperty(t,"localeReducer",{enumerable:!0,get:function(){return a.localeReducer}}),Object.defineProperty(t,"initialize",{enumerable:!0,get:function(){return a.initialize}}),Object.defineProperty(t,"addTranslation",{enumerable:!0,get:function(){return a.addTranslation}}),Object.defineProperty(t,"addTranslationForLanguage",{enumerable:!0,get:function(){return a.addTranslationForLanguage}}),Object.defineProperty(t,"setLanguages",{enumerable:!0,get:function(){return a.setLanguages}}),Object.defineProperty(t,"setActiveLanguage",{enumerable:!0,get:function(){return a.setActiveLanguage}}),Object.defineProperty(t,"getTranslate",{enumerable:!0,get:function(){return a.getTranslate}}),Object.defineProperty(t,"getActiveLanguage",{enumerable:!0,get:function(){return a.getActiveLanguage}}),Object.defineProperty(t,"getLanguages",{enumerable:!0,get:function(){return a.getLanguages}}),Object.defineProperty(t,"getTranslations",{enumerable:!0,get:function(){return a.getTranslations}}),Object.defineProperty(t,"getOptions",{enumerable:!0,get:function(){return a.getOptions}})},function(e,t,n){"use strict";var r={};e.exports=r},function(e,t,n){"use strict";function r(e){return e.replace(o,"-$1").toLowerCase()}var o=/([A-Z])/g;e.exports=r},function(e,t,n){"use strict";function r(e){return o(e).replace(a,"-ms-")}var o=n(8),a=/^ms-/;e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r,a,i,u,l){if(o(t),!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,r,a,i,u,l],f=0;c=new Error(t.replace(/%s/g,function(){return s[f++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}}var o=function(e){};e.exports=r},function(e,t,n){"use strict";function r(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}}e.exports=r},function(e,t,n){function r(e,t){function n(e,u,l){l=l||1,Object.keys(e).forEach(function(c){var s=e[c],f=t.safe&&Array.isArray(s),p=Object.prototype.toString.call(s),d=a(s),g="[object Object]"===p||"[object Array]"===p,h=u?u+r+c:c;if(!f&&!d&&g&&Object.keys(s).length&&(!t.maxDepth||l<o))return n(s,h,l+1);i[h]=s})}t=t||{};var r=t.delimiter||".",o=t.maxDepth,i={};return n(e),i}function o(e,t){function n(e){var t=Number(e);return isNaN(t)||-1!==e.indexOf(".")?e:t}t=t||{};var r=t.delimiter||".",i=t.overwrite||!1,u={};return a(e)||"[object Object]"!==Object.prototype.toString.call(e)?e:(Object.keys(e).forEach(function(a){for(var l=a.split(r),c=n(l.shift()),s=n(l[0]),f=u;void 0!==s;){var p=Object.prototype.toString.call(f[c]),d="[object Object]"===p||"[object Array]"===p;if(!i&&!d&&void 0!==f[c])return;(i&&!d||!i&&null==f[c])&&(f[c]="number"!=typeof s||t.object?{}:[]),f=f[c],l.length>0&&(c=n(l.shift()),s=n(l[0]))}f[c]=o(e[a],t)}),u)}var a=n(13);e.exports=r;r.flatten=r,r.unflatten=o},function(e,t){function n(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function r(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&n(e.slice(0,0))}/*!
* Determine if an object is a Buffer

@@ -12,3 +12,3 @@ *

*/
var a=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,u,l=r(e),s=1;s<arguments.length;s++){n=Object(arguments[s]);for(var c in n)o.call(n,c)&&(l[c]=n[c]);if(a){u=a(n);for(var f=0;f<u.length;f++)i.call(n,u[f])&&(l[u[f]]=n[u[f]])}}return l}},function(e,t,n){"use strict";var r=n(3),a=n(10),o=n(17);e.exports=function(){function e(e,t,n,r,i,u){u!==o&&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 t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){e.exports=n(15)()},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";function r(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);throw t=Error(n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."),t.name="Invariant Violation",t.framesToPop=1,t}function a(e,t){return(e&t)===t}function o(e,t){if(A.hasOwnProperty(e)||2<e.length&&("o"===e[0]||"O"===e[0])&&("n"===e[1]||"N"===e[1]))return!1;if(null===t)return!0;switch(typeof t){case"boolean":return u(e);case"undefined":case"number":case"string":case"object":return!0;default:return!1}}function i(e){return L.hasOwnProperty(e)?L[e]:null}function u(e){if(A.hasOwnProperty(e))return!0;var t=i(e);return t?t.hasBooleanValue||t.hasStringBooleanValue||t.hasOverloadedBooleanValue:"data-"===(e=e.toLowerCase().slice(0,5))||"aria-"===e}function l(e){return e[1].toUpperCase()}function s(e){if("boolean"==typeof e||"number"==typeof e)return""+e;e=""+e;var t=D.exec(e);if(t){var n,r="",a=0;for(n=t.index;n<e.length;n++){switch(e.charCodeAt(n)){case 34:t="&quot;";break;case 38:t="&amp;";break;case 39:t="&#x27;";break;case 60:t="&lt;";break;case 62:t="&gt;";break;default:continue}a!==n&&(r+=e.substring(a,n)),a=n+1,r+=t}e=a!==n?r+e.substring(a,n):r}return e}function c(e){return!!z.hasOwnProperty(e)||!U.hasOwnProperty(e)&&(V.test(e)?z[e]=!0:(U[e]=!0,!1))}function f(e,t){var n=i(e);if(n){if(null==t||n.hasBooleanValue&&!t||n.hasNumericValue&&isNaN(t)||n.hasPositiveNumericValue&&1>t||n.hasOverloadedBooleanValue&&!1===t)return"";var r=n.attributeName;if(n.hasBooleanValue||n.hasOverloadedBooleanValue&&!0===t)return r+'=""';if("boolean"!=typeof t||u(e))return r+'="'+s(t)+'"'}else if(o(e,t))return null==t?"":e+'="'+s(t)+'"';return null}function d(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function p(e){return"string"==typeof e?e:"function"==typeof e?e.displayName||e.name:null}function g(e){var t="";return b.Children.forEach(e,function(e){null==e||"string"!=typeof e&&"number"!=typeof e||(t+=e)}),t}function h(e,t){if(e=e.contextTypes){var n,r={};for(n in e)r[n]=t[n];t=r}else t=x;return t}function v(e,t){void 0===e&&r("152",p(t)||"Component")}function y(e,t){for(;b.isValidElement(e);){var n=e,a=n.type;if("function"!=typeof a)break;e=h(a,t);var o=[],i=!1,u={isMounted:function(){return!1},enqueueForceUpdate:function(){if(null===o)return null},enqueueReplaceState:function(e,t){i=!0,o=[t]},enqueueSetState:function(e,t){if(null===o)return null;o.push(t)}};if(a.prototype&&a.prototype.isReactComponent)var l=new a(n.props,e,u);else if(null==(l=a(n.props,e,u))||null==l.render){e=l,v(e,a);continue}if(l.props=n.props,l.context=e,l.updater=u,u=l.state,void 0===u&&(l.state=u=null),l.componentWillMount)if(l.componentWillMount(),o.length){u=o;var s=i;if(o=null,i=!1,s&&1===u.length)l.state=u[0];else{var c=s?u[0]:l.state,f=!0;for(s=s?1:0;s<u.length;s++){var d=u[s];(d="function"==typeof d?d.call(l,c,n.props,e):d)&&(f?(f=!1,c=m({},c,d)):m(c,d))}l.state=c}}else o=null;if(e=l.render(),v(e,a),"function"==typeof l.getChildContext){n=a.childContextTypes,"object"!=typeof n&&r("107",p(a)||"Unknown");var g=l.getChildContext();for(var y in g)y in n||r("108",p(a)||"Unknown",y)}g&&(t=m({},t,g))}return{child:e,context:t}}/** @license React v16.1.0
var o=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,u,l=r(e),c=1;c<arguments.length;c++){n=Object(arguments[c]);for(var s in n)a.call(n,s)&&(l[s]=n[s]);if(o){u=o(n);for(var f=0;f<u.length;f++)i.call(n,u[f])&&(l[u[f]]=n[u[f]])}}return l}},function(e,t,n){"use strict";var r=n(3),o=n(10),a=n(17);e.exports=function(){function e(e,t,n,r,i,u){u!==a&&o(!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 t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){e.exports=n(15)()},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";function r(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);throw t=Error(n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."),t.name="Invariant Violation",t.framesToPop=1,t}function o(e){return!!I.hasOwnProperty(e)||!P.hasOwnProperty(e)&&(C.test(e)?I[e]=!0:(P[e]=!0,!1))}function a(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}function i(e,t,n,r){if(null===t||void 0===t||a(e,t,n,r))return!0;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function u(e,t,n,r,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t}function l(e){return e[1].toUpperCase()}function c(e){if("boolean"==typeof e||"number"==typeof e)return""+e;e=""+e;var t=R.exec(e);if(t){var n,r="",o=0;for(n=t.index;n<e.length;n++){switch(e.charCodeAt(n)){case 34:t="&quot;";break;case 38:t="&amp;";break;case 39:t="&#x27;";break;case 60:t="&lt;";break;case 62:t="&gt;";break;default:continue}o!==n&&(r+=e.substring(o,n)),o=n+1,r+=t}e=o!==n?r+e.substring(o,n):r}return e}function s(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function f(e){return"string"==typeof e?e:"function"==typeof e?e.displayName||e.name:null}function p(e){var t="";return v.Children.forEach(e,function(e){null==e||"string"!=typeof e&&"number"!=typeof e||(t+=e)}),t}function d(e,t){if(e=e.contextTypes){var n,r={};for(n in e)r[n]=t[n];t=r}else t=b;return t}function g(e,t){void 0===e&&r("152",f(t)||"Component")}function h(e,t){for(;v.isValidElement(e);){var n=e,o=n.type;if("function"!=typeof o)break;!function(n,o){var a=d(o,t),i=[],u=!1,l={isMounted:function(){return!1},enqueueForceUpdate:function(){if(null===i)return null},enqueueReplaceState:function(e,t){u=!0,i=[t]},enqueueSetState:function(e,t){if(null===i)return null;i.push(t)}},c=void 0;if(o.prototype&&o.prototype.isReactComponent){if(c=new o(n.props,a,l),"function"==typeof o.getDerivedStateFromProps){var s=o.getDerivedStateFromProps.call(null,n.props,c.state);null!=s&&(c.state=y({},c.state,s))}}else if(null==(c=o(n.props,a,l))||null==c.render)return e=c,void g(e,o);if(c.props=n.props,c.context=a,c.updater=l,l=c.state,void 0===l&&(c.state=l=null),"function"==typeof c.UNSAFE_componentWillMount||"function"==typeof c.componentWillMount)if("function"==typeof c.componentWillMount&&"function"!=typeof o.getDerivedStateFromProps&&c.componentWillMount(),"function"==typeof c.UNSAFE_componentWillMount&&"function"!=typeof o.getDerivedStateFromProps&&c.UNSAFE_componentWillMount(),i.length){l=i;var p=u;if(i=null,u=!1,p&&1===l.length)c.state=l[0];else{s=p?l[0]:c.state;var h=!0;for(p=p?1:0;p<l.length;p++){var v=l[p];null!=(v="function"==typeof v?v.call(c,s,n.props,a):v)&&(h?(h=!1,s=y({},s,v)):y(s,v))}c.state=s}}else i=null;if(e=c.render(),g(e,o),n=void 0,"function"==typeof c.getChildContext&&"object"==typeof(a=o.childContextTypes)){n=c.getChildContext();for(var m in n)m in a||r("108",f(o)||"Unknown",m)}n&&(t=y({},t,n))}(n,o)}return{child:e,context:t}}/** @license React v16.3.1
* react-dom-server.browser.production.min.js

@@ -21,2 +21,2 @@ *

*/
var m=n(14),b=n(0),O=n(3),x=n(7),S=n(9),w=n(11),A={children:!0,dangerouslySetInnerHTML:!0,defaultValue:!0,defaultChecked:!0,innerHTML:!0,suppressContentEditableWarning:!0,suppressHydrationWarning:!0,style:!0},T={MUST_USE_PROPERTY:1,HAS_BOOLEAN_VALUE:4,HAS_NUMERIC_VALUE:8,HAS_POSITIVE_NUMERIC_VALUE:24,HAS_OVERLOADED_BOOLEAN_VALUE:32,HAS_STRING_BOOLEAN_VALUE:64,injectDOMPropertyConfig:function(e){var t=T,n=e.Properties||{},o=e.DOMAttributeNamespaces||{},i=e.DOMAttributeNames||{};e=e.DOMMutationMethods||{};for(var u in n){L.hasOwnProperty(u)&&r("48",u);var l=u.toLowerCase(),s=n[u];l={attributeName:l,attributeNamespace:null,propertyName:u,mutationMethod:null,mustUseProperty:a(s,t.MUST_USE_PROPERTY),hasBooleanValue:a(s,t.HAS_BOOLEAN_VALUE),hasNumericValue:a(s,t.HAS_NUMERIC_VALUE),hasPositiveNumericValue:a(s,t.HAS_POSITIVE_NUMERIC_VALUE),hasOverloadedBooleanValue:a(s,t.HAS_OVERLOADED_BOOLEAN_VALUE),hasStringBooleanValue:a(s,t.HAS_STRING_BOOLEAN_VALUE)},1>=l.hasBooleanValue+l.hasNumericValue+l.hasOverloadedBooleanValue||r("50",u),i.hasOwnProperty(u)&&(l.attributeName=i[u]),o.hasOwnProperty(u)&&(l.attributeNamespace=o[u]),e.hasOwnProperty(u)&&(l.mutationMethod=e[u]),L[u]=l}}},L={},_=T,E=_.MUST_USE_PROPERTY,k=_.HAS_BOOLEAN_VALUE,j=_.HAS_NUMERIC_VALUE,N=_.HAS_POSITIVE_NUMERIC_VALUE,P=_.HAS_STRING_BOOLEAN_VALUE,C={Properties:{allowFullScreen:k,autoFocus:P,async:k,autoPlay:k,capture:k,checked:E|k,cols:N,contentEditable:P,controls:k,default:k,defer:k,disabled:k,download:_.HAS_OVERLOADED_BOOLEAN_VALUE,draggable:P,formNoValidate:k,hidden:k,loop:k,multiple:E|k,muted:E|k,noValidate:k,open:k,playsInline:k,readOnly:k,required:k,reversed:k,rows:N,rowSpan:j,scoped:k,seamless:k,selected:E|k,size:N,start:j,span:N,spellCheck:P,style:0,tabIndex:0,itemScope:k,acceptCharset:0,className:0,htmlFor:0,httpEquiv:0,value:P},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMMutationMethods:{value:function(e,t){if(null==t)return e.removeAttribute("value");"number"!==e.type||!1===e.hasAttribute("value")?e.setAttribute("value",""+t):e.validity&&!e.validity.badInput&&e.ownerDocument.activeElement!==e&&e.setAttribute("value",""+t)}}},M=_.HAS_STRING_BOOLEAN_VALUE,R={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},F={Properties:{autoReverse:M,externalResourcesRequired:M,preserveAlpha:M},DOMAttributeNames:{autoReverse:"autoReverse",externalResourcesRequired:"externalResourcesRequired",preserveAlpha:"preserveAlpha"},DOMAttributeNamespaces:{xlinkActuate:R.xlink,xlinkArcrole:R.xlink,xlinkHref:R.xlink,xlinkRole:R.xlink,xlinkShow:R.xlink,xlinkTitle:R.xlink,xlinkType:R.xlink,xmlBase:R.xml,xmlLang:R.xml,xmlSpace:R.xml}},I=/[\-\:]([a-z])/g;"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode x-height xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type xml:base xmlns:xlink xml:lang xml:space".split(" ").forEach(function(e){var t=e.replace(I,l);F.Properties[t]=0,F.DOMAttributeNames[t]=e}),_.injectDOMPropertyConfig(C),_.injectDOMPropertyConfig(F);var D=/["'&<>]/,V=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,U={},z={},H={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"},B={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},q=m({menuitem:!0},B),G={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},W=["Webkit","ms","Moz","O"];Object.keys(G).forEach(function(e){W.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),G[t]=G[e]})});var Z="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.fragment")||60107,$=b.Children.toArray,Y=O.thatReturns(""),K={listing:!0,pre:!0,textarea:!0},X=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,J={},Q=w(function(e){return S(e)}),ee={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null},te=function(){function e(t,n){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function");b.isValidElement(t)?t.type!==Z?t=[t]:(t=t.props.children,t=b.isValidElement(t)?[t]:$(t)):t=$(t),this.stack=[{domNamespace:H.html,children:t,childIndex:0,context:x,footer:""}],this.exhausted=!1,this.currentSelectValue=null,this.previousWasTextNode=!1,this.makeStaticMarkup=n}return e.prototype.read=function(e){if(this.exhausted)return null;for(var t="";t.length<e;){if(0===this.stack.length){this.exhausted=!0;break}var n=this.stack[this.stack.length-1];if(n.childIndex>=n.children.length){var r=n.footer;t+=r,""!==r&&(this.previousWasTextNode=!1),this.stack.pop(),"select"===n.tag&&(this.currentSelectValue=null)}else r=n.children[n.childIndex++],t+=this.render(r,n.context,n.domNamespace)}return t},e.prototype.render=function(e,t,n){return"string"==typeof e||"number"==typeof e?""===(n=""+e)?"":this.makeStaticMarkup?s(n):this.previousWasTextNode?"\x3c!-- --\x3e"+s(n):(this.previousWasTextNode=!0,s(n)):(t=y(e,t),e=t.child,t=t.context,null===e||!1===e?"":b.isValidElement(e)?e.type===Z?(e=$(e.props.children),this.stack.push({domNamespace:n,children:e,childIndex:0,context:t,footer:""}),""):this.renderDOM(e,t,n):(e=$(e),this.stack.push({domNamespace:n,children:e,childIndex:0,context:t,footer:""}),""))},e.prototype.renderDOM=function(e,t,n){var a=e.type.toLowerCase();n===H.html&&d(a),J.hasOwnProperty(a)||(X.test(a)||r("65",a),J[a]=!0);var o=e.props;if("input"===a)o=m({type:void 0},o,{defaultChecked:void 0,defaultValue:void 0,value:null!=o.value?o.value:o.defaultValue,checked:null!=o.checked?o.checked:o.defaultChecked});else if("textarea"===a){var i=o.value;if(null==i){i=o.defaultValue;var u=o.children;null!=u&&(null!=i&&r("92"),Array.isArray(u)&&(1>=u.length||r("93"),u=u[0]),i=""+u),null==i&&(i="")}o=m({},o,{value:void 0,children:""+i})}else if("select"===a)this.currentSelectValue=null!=o.value?o.value:o.defaultValue,o=m({},o,{value:void 0});else if("option"===a){u=this.currentSelectValue;var l=g(o.children);if(null!=u){var p=null!=o.value?o.value+"":l;if(i=!1,Array.isArray(u)){for(var h=0;h<u.length;h++)if(""+u[h]===p){i=!0;break}}else i=""+u===p;o=m({selected:void 0,children:void 0},o,{selected:i,children:l})}}(i=o)&&(q[a]&&(null!=i.children||null!=i.dangerouslySetInnerHTML)&&r("137",a,Y()),null!=i.dangerouslySetInnerHTML&&(null!=i.children&&r("60"),"object"==typeof i.dangerouslySetInnerHTML&&"__html"in i.dangerouslySetInnerHTML||r("61")),null!=i.style&&"object"!=typeof i.style&&r("62",Y())),i=o,u=this.makeStaticMarkup,l=1===this.stack.length,p="<"+e.type;for(S in i)if(i.hasOwnProperty(S)){var v=i[S];if(null!=v){if("style"===S){h=void 0;var y="",b="";for(h in v)if(v.hasOwnProperty(h)){var O=0===h.indexOf("--"),x=v[h];null!=x&&(y+=b+Q(h)+":",b=h,O=null==x||"boolean"==typeof x||""===x?"":O||"number"!=typeof x||0===x||G.hasOwnProperty(b)&&G[b]?(""+x).trim():x+"px",y+=O,b=";")}v=y||null}h=null;e:if(O=a,x=i,-1===O.indexOf("-"))O="string"==typeof x.is;else switch(O){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":O=!1;break e;default:O=!0}O?ee.hasOwnProperty(S)||(h=S,h=c(h)&&null!=v?h+'="'+s(v)+'"':""):h=f(S,v),h&&(p+=" "+h)}}u||l&&(p+=' data-reactroot=""');var S=p;i="",B.hasOwnProperty(a)?S+="/>":(S+=">",i="</"+e.type+">");e:{if(null!=(u=o.dangerouslySetInnerHTML)){if(null!=u.__html){u=u.__html;break e}}else if("string"==typeof(u=o.children)||"number"==typeof u){u=s(u);break e}u=null}return null!=u?(o=[],K[a]&&"\n"===u.charAt(0)&&(S+="\n"),S+=u):o=$(o.children),e=e.type,n=null==n||"http://www.w3.org/1999/xhtml"===n?d(e):"http://www.w3.org/2000/svg"===n&&"foreignObject"===e?"http://www.w3.org/1999/xhtml":n,this.stack.push({domNamespace:n,tag:a,children:o,childIndex:0,context:t,footer:i}),this.previousWasTextNode=!1,S},e}(),ne=Object.freeze({renderToString:function(e){return new te(e,!1).read(1/0)},renderToStaticMarkup:function(e){return new te(e,!0).read(1/0)},renderToNodeStream:function(){r("207")},renderToStaticNodeStream:function(){r("208")},version:"16.1.0"});e.exports=ne},function(e,t,n){"use strict";e.exports=n(18)},function(e,t,n){"use strict";function r(e,t){return e===t}function a(e,t,n){if(null===t||null===n||t.length!==n.length)return!1;for(var r=t.length,a=0;a<r;a++)if(!e(t[a],n[a]))return!1;return!0}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r,n=null,o=null;return function(){return a(t,n,arguments)||(o=e.apply(null,arguments)),n=arguments,o}}function i(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every(function(e){return"function"==typeof e})){var n=t.map(function(e){return typeof e}).join(", ");throw new Error("Selector creators expect all input-selectors to be functions, instead received the following types: ["+n+"]")}return t}function u(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return function(){for(var t=arguments.length,r=Array(t),a=0;a<t;a++)r[a]=arguments[a];var u=0,l=r.pop(),s=i(r),c=e.apply(void 0,[function(){return u++,l.apply(null,arguments)}].concat(n)),f=o(function(){for(var e=[],t=s.length,n=0;n<t;n++)e.push(s[n].apply(null,arguments));return c.apply(null,e)});return f.resultFunc=l,f.recomputations=function(){return u},f.resetRecomputations=function(){return u=0},f}}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s;if("object"!=typeof e)throw new Error("createStructuredSelector expects first argument to be an object where each property is a selector, instead received a "+typeof e);var n=Object.keys(e);return t(n.map(function(t){return e[t]}),function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce(function(e,t,r){return e[n[r]]=t,e},{})})}t.__esModule=!0,t.defaultMemoize=o,t.createSelectorCreator=u,t.createStructuredSelector=l;var s=t.createSelector=u(o)},function(e,n){e.exports=t},function(e,t){e.exports=n}])});
var y=n(14),v=n(0),m=n(3),b=n(7),w=n(9),x=n(11),S="function"==typeof Symbol&&Symbol.for,O=S?Symbol.for("react.call"):60104,T=S?Symbol.for("react.return"):60105,k=S?Symbol.for("react.portal"):60106,j=S?Symbol.for("react.fragment"):60107,L=S?Symbol.for("react.strict_mode"):60108,A=S?Symbol.for("react.provider"):60109,E=S?Symbol.for("react.context"):60110,_=S?Symbol.for("react.async_mode"):60111,F=S?Symbol.for("react.forward_ref"):60112,C=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,P={},I={},N={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){N[e]=new u(e,0,!1,e,null)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];N[t]=new u(t,1,!1,e[1],null)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){N[e]=new u(e,2,!1,e.toLowerCase(),null)}),["autoReverse","externalResourcesRequired","preserveAlpha"].forEach(function(e){N[e]=new u(e,2,!1,e,null)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){N[e]=new u(e,3,!1,e.toLowerCase(),null)}),["checked","multiple","muted","selected"].forEach(function(e){N[e]=new u(e,3,!0,e.toLowerCase(),null)}),["capture","download"].forEach(function(e){N[e]=new u(e,4,!1,e.toLowerCase(),null)}),["cols","rows","size","span"].forEach(function(e){N[e]=new u(e,6,!1,e.toLowerCase(),null)}),["rowSpan","start"].forEach(function(e){N[e]=new u(e,5,!1,e.toLowerCase(),null)});var M=/[\-\:]([a-z])/g;"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(M,l);N[t]=new u(t,1,!1,e,null)}),"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(M,l);N[t]=new u(t,1,!1,e,"http://www.w3.org/1999/xlink")}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(M,l);N[t]=new u(t,1,!1,e,"http://www.w3.org/XML/1998/namespace")}),N.tabIndex=new u("tabIndex",1,!1,"tabindex",null);var R=/["'&<>]/,D={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"},z={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},V=y({menuitem:!0},z),U={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},q=["Webkit","ms","Moz","O"];Object.keys(U).forEach(function(e){q.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),U[t]=U[e]})});var G=v.Children.toArray,W=m.thatReturns("");m.thatReturns("");var H={listing:!0,pre:!0,textarea:!0},$=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Z={},B=x(function(e){return w(e)}),K={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null},X=function(){function e(t,n){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function");v.isValidElement(t)?t.type!==j?t=[t]:(t=t.props.children,t=v.isValidElement(t)?[t]:G(t)):t=G(t),this.stack=[{type:null,domNamespace:D.html,children:t,childIndex:0,context:b,footer:""}],this.exhausted=!1,this.currentSelectValue=null,this.previousWasTextNode=!1,this.makeStaticMarkup=n,this.providerStack=[],this.providerIndex=-1}return e.prototype.pushProvider=function(e){this.providerIndex+=1,this.providerStack[this.providerIndex]=e,e.type._context._currentValue=e.props.value},e.prototype.popProvider=function(e){this.providerStack[this.providerIndex]=null,--this.providerIndex,e=e.type._context,e._currentValue=0>this.providerIndex?e._defaultValue:this.providerStack[this.providerIndex].props.value},e.prototype.read=function(e){if(this.exhausted)return null;for(var t="";t.length<e;){if(0===this.stack.length){this.exhausted=!0;break}var n=this.stack[this.stack.length-1];if(n.childIndex>=n.children.length){var r=n.footer;t+=r,""!==r&&(this.previousWasTextNode=!1),this.stack.pop(),"select"===n.type?this.currentSelectValue=null:null!=n.type&&null!=n.type.type&&n.type.type.$$typeof===A&&this.popProvider(n.type)}else r=n.children[n.childIndex++],t+=this.render(r,n.context,n.domNamespace)}return t},e.prototype.render=function(e,t,n){if("string"==typeof e||"number"==typeof e)return""===(n=""+e)?"":this.makeStaticMarkup?c(n):this.previousWasTextNode?"\x3c!-- --\x3e"+c(n):(this.previousWasTextNode=!0,c(n));if(t=h(e,t),e=t.child,t=t.context,null===e||!1===e)return"";if(!v.isValidElement(e)){if(null!=e&&null!=e.$$typeof){var o=e.$$typeof;o===k&&r("257"),r("258",o.toString())}return e=G(e),this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),""}if("string"==typeof(o=e.type))return this.renderDOM(e,t,n);switch(o){case L:case _:case j:return e=G(e.props.children),this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),"";case O:case T:r("259")}if("object"==typeof o&&null!==o)switch(o.$$typeof){case F:return e=G(o.render(e.props,e.ref)),this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),"";case A:return o=G(e.props.children),n={type:e,domNamespace:n,children:o,childIndex:0,context:t,footer:""},this.pushProvider(e),this.stack.push(n),"";case E:return o=G(e.props.children(e.type._currentValue)),this.stack.push({type:e,domNamespace:n,children:o,childIndex:0,context:t,footer:""}),""}r("130",null==o?o:typeof o,"")},e.prototype.renderDOM=function(e,t,n){var a=e.type.toLowerCase();n===D.html&&s(a),Z.hasOwnProperty(a)||($.test(a)||r("65",a),Z[a]=!0);var u=e.props;if("input"===a)u=y({type:void 0},u,{defaultChecked:void 0,defaultValue:void 0,value:null!=u.value?u.value:u.defaultValue,checked:null!=u.checked?u.checked:u.defaultChecked});else if("textarea"===a){var l=u.value;if(null==l){l=u.defaultValue;var f=u.children;null!=f&&(null!=l&&r("92"),Array.isArray(f)&&(1>=f.length||r("93"),f=f[0]),l=""+f),null==l&&(l="")}u=y({},u,{value:void 0,children:""+l})}else if("select"===a)this.currentSelectValue=null!=u.value?u.value:u.defaultValue,u=y({},u,{value:void 0});else if("option"===a){f=this.currentSelectValue;var d=p(u.children);if(null!=f){var g=null!=u.value?u.value+"":d;if(l=!1,Array.isArray(f)){for(var h=0;h<f.length;h++)if(""+f[h]===g){l=!0;break}}else l=""+f===g;u=y({selected:void 0,children:void 0},u,{selected:l,children:d})}}(l=u)&&(V[a]&&(null!=l.children||null!=l.dangerouslySetInnerHTML)&&r("137",a,W()),null!=l.dangerouslySetInnerHTML&&(null!=l.children&&r("60"),"object"==typeof l.dangerouslySetInnerHTML&&"__html"in l.dangerouslySetInnerHTML||r("61")),null!=l.style&&"object"!=typeof l.style&&r("62",W())),l=u,f=this.makeStaticMarkup,d=1===this.stack.length,g="<"+e.type;for(S in l)if(l.hasOwnProperty(S)){var v=l[S];if(null!=v){if("style"===S){h=void 0;var m="",b="";for(h in v)if(v.hasOwnProperty(h)){var w=0===h.indexOf("--"),x=v[h];null!=x&&(m+=b+B(h)+":",b=h,w=null==x||"boolean"==typeof x||""===x?"":w||"number"!=typeof x||0===x||U.hasOwnProperty(b)&&U[b]?(""+x).trim():x+"px",m+=w,b=";")}v=m||null}h=null;e:if(w=a,x=l,-1===w.indexOf("-"))w="string"==typeof x.is;else switch(w){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":w=!1;break e;default:w=!0}w?K.hasOwnProperty(S)||(h=S,h=o(h)&&null!=v?h+'="'+c(v)+'"':""):(w=S,h=v,v=N.hasOwnProperty(w)?N[w]:null,(x="style"!==w)&&(x=null!==v?0===v.type:2<w.length&&("o"===w[0]||"O"===w[0])&&("n"===w[1]||"N"===w[1])),x||i(w,h,v,!1)?h="":null!==v?(w=v.attributeName,v=v.type,h=3===v||4===v&&!0===h?w+'=""':w+'="'+c(h)+'"'):h=w+'="'+c(h)+'"'),h&&(g+=" "+h)}}f||d&&(g+=' data-reactroot=""');var S=g;l="",z.hasOwnProperty(a)?S+="/>":(S+=">",l="</"+e.type+">");e:{if(null!=(f=u.dangerouslySetInnerHTML)){if(null!=f.__html){f=f.__html;break e}}else if("string"==typeof(f=u.children)||"number"==typeof f){f=c(f);break e}f=null}return null!=f?(u=[],H[a]&&"\n"===f.charAt(0)&&(S+="\n"),S+=f):u=G(u.children),e=e.type,n=null==n||"http://www.w3.org/1999/xhtml"===n?s(e):"http://www.w3.org/2000/svg"===n&&"foreignObject"===e?"http://www.w3.org/1999/xhtml":n,this.stack.push({domNamespace:n,type:a,children:u,childIndex:0,context:t,footer:l}),this.previousWasTextNode=!1,S},e}(),Y={renderToString:function(e){return new X(e,!1).read(1/0)},renderToStaticMarkup:function(e){return new X(e,!0).read(1/0)},renderToNodeStream:function(){r("207")},renderToStaticNodeStream:function(){r("208")},version:"16.3.1"},J=Object.freeze({default:Y}),Q=J&&Y||J;e.exports=Q.default?Q.default:Q},function(e,t,n){"use strict";e.exports=n(18)},function(e,t,n){"use strict";function r(e,t){return e===t}function o(e,t,n){if(null===t||null===n||t.length!==n.length)return!1;for(var r=t.length,o=0;o<r;o++)if(!e(t[o],n[o]))return!1;return!0}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r,n=null,a=null;return function(){return o(t,n,arguments)||(a=e.apply(null,arguments)),n=arguments,a}}function i(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every(function(e){return"function"==typeof e})){var n=t.map(function(e){return typeof e}).join(", ");throw new Error("Selector creators expect all input-selectors to be functions, instead received the following types: ["+n+"]")}return t}function u(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return function(){for(var t=arguments.length,r=Array(t),o=0;o<t;o++)r[o]=arguments[o];var u=0,l=r.pop(),c=i(r),s=e.apply(void 0,[function(){return u++,l.apply(null,arguments)}].concat(n)),f=a(function(){for(var e=[],t=c.length,n=0;n<t;n++)e.push(c[n].apply(null,arguments));return s.apply(null,e)});return f.resultFunc=l,f.recomputations=function(){return u},f.resetRecomputations=function(){return u=0},f}}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c;if("object"!=typeof e)throw new Error("createStructuredSelector expects first argument to be an object where each property is a selector, instead received a "+typeof e);var n=Object.keys(e);return t(n.map(function(t){return e[t]}),function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce(function(e,t,r){return e[n[r]]=t,e},{})})}t.__esModule=!0,t.defaultMemoize=a,t.createSelectorCreator=u,t.createStructuredSelector=l;var c=t.createSelector=u(a)},function(e,n){e.exports=t},function(e,t){e.exports=n}])});

@@ -157,2 +157,2 @@ import { ReactElement, ReactNode, Component as ReactComponent } from 'react';

export default class Translate extends ReactComponent<TranslateProps> {}
export class Translate extends ReactComponent<TranslateProps> {}

@@ -157,2 +157,2 @@ import { ReactElement, ReactNode, Component as ReactComponent } from 'react';

export default class Translate extends ReactComponent<TranslateProps> {}
export class Translate extends ReactComponent<TranslateProps> {}
{
"name": "react-localize-redux",
"version": "2.17.3",
"version": "2.17.4",
"description": "Localization library for React/Redux",

@@ -5,0 +5,0 @@ "main": "./lib/index.js",

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc