diff --git a/.gitignore b/.gitignore index 8996736..7d42407 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,8 @@ # testing /coverage +.vscode/ + # misc .DS_Store .env.local diff --git a/__mocks__/axios.js b/__mocks__/axios.js new file mode 100644 index 0000000..0f38c0b --- /dev/null +++ b/__mocks__/axios.js @@ -0,0 +1,23 @@ +/* eslint-disable no-undef */ +export default { + post: jest.fn().mockImplementation(() => Promise.resolve({ + data: { + data: {}, + token: '' + } + })), + + get: jest.fn().mockImplementation(() => Promise.resolve({ + books: [] + })), + + defaults: { + headers: { + post: { + 'Content-Type': 'application/json', + }, + common: {} + }, + baseURL: '', + } +}; diff --git a/__tests__/App.test.js b/__tests__/ConnectedApp.test.js similarity index 85% rename from __tests__/App.test.js rename to __tests__/ConnectedApp.test.js index 16c33af..51dd832 100644 --- a/__tests__/App.test.js +++ b/__tests__/ConnectedApp.test.js @@ -1,12 +1,9 @@ import React from 'react'; -import { cleanup } from '@testing-library/react'; import '@testing-library/jest-dom/extend-expect'; import ConnectedApp from '../src/ConnectedApp'; import { RenderWithRedux } from './Renderers'; -afterEach(cleanup); - describe(' ', () => { it('renders without crashing', () => { const { getByText } = RenderWithRedux(); diff --git a/__tests__/Error404.test.js b/__tests__/Error404.test.js index 38f7b67..7f967e0 100644 --- a/__tests__/Error404.test.js +++ b/__tests__/Error404.test.js @@ -1,12 +1,9 @@ import React from 'react'; -import { cleanup } from '@testing-library/react'; import '@testing-library/jest-dom/extend-expect'; import Error404 from '../src/components/Error404'; import { RenderWithRouter } from './Renderers'; -afterEach(cleanup); - describe(' ', () => { it('Displays error message', () => { const location = { pathname: 'unknown-path' }; diff --git a/__tests__/Home.test.js b/__tests__/Home.test.js index 825c74c..768510c 100644 --- a/__tests__/Home.test.js +++ b/__tests__/Home.test.js @@ -1,15 +1,16 @@ import React from 'react'; -import { cleanup } from '@testing-library/react'; import '@testing-library/jest-dom/extend-expect'; import Home from '../src/components/Home'; -import { RenderWithRouter } from './Renderers'; - -afterEach(cleanup); +import { RenderWithReduxAndRouter } from './Renderers'; +import utils from '../src/actions/utils'; describe(' ', () => { - it('renders without crashing', () => { - const { getByText } = RenderWithRouter(); + it('renders without crashing', async () => { + utils.getPaginatedItems = jest.fn().mockImplementationOnce(() => ({ + books: [] + })); + const { getByText } = RenderWithReduxAndRouter(); expect(getByText('Douay-Rheims Bible')).toBeInTheDocument(); expect(getByText('Challoner Commentary')).toBeInTheDocument(); }); diff --git a/build/asset-manifest.json b/build/asset-manifest.json index c282fc5..6684678 100644 --- a/build/asset-manifest.json +++ b/build/asset-manifest.json @@ -1,21 +1,21 @@ { "files": { "main.css": "/Ethodoxy/static/css/main.b676491d.chunk.css", - "main.js": "/Ethodoxy/static/js/main.22430d85.chunk.js", - "main.js.map": "/Ethodoxy/static/js/main.22430d85.chunk.js.map", - "runtime~main.js": "/Ethodoxy/static/js/runtime~main.e59d4e58.js", - "runtime~main.js.map": "/Ethodoxy/static/js/runtime~main.e59d4e58.js.map", + "main.js": "/Ethodoxy/static/js/main.9d5eb37a.chunk.js", + "main.js.map": "/Ethodoxy/static/js/main.9d5eb37a.chunk.js.map", + "runtime~main.js": "/Ethodoxy/static/js/runtime~main.25c407d9.js", + "runtime~main.js.map": "/Ethodoxy/static/js/runtime~main.25c407d9.js.map", "static/css/2.5d832d7a.chunk.css": "/Ethodoxy/static/css/2.5d832d7a.chunk.css", - "static/js/2.35bb070b.chunk.js": "/Ethodoxy/static/js/2.35bb070b.chunk.js", - "static/js/2.35bb070b.chunk.js.map": "/Ethodoxy/static/js/2.35bb070b.chunk.js.map", - "static/js/3.c32e13c7.chunk.js": "/Ethodoxy/static/js/3.c32e13c7.chunk.js", - "static/js/3.c32e13c7.chunk.js.map": "/Ethodoxy/static/js/3.c32e13c7.chunk.js.map", - "static/js/4.3da62355.chunk.js": "/Ethodoxy/static/js/4.3da62355.chunk.js", - "static/js/4.3da62355.chunk.js.map": "/Ethodoxy/static/js/4.3da62355.chunk.js.map", - "static/js/5.1b552df0.chunk.js": "/Ethodoxy/static/js/5.1b552df0.chunk.js", - "static/js/5.1b552df0.chunk.js.map": "/Ethodoxy/static/js/5.1b552df0.chunk.js.map", + "static/js/2.114a3a32.chunk.js": "/Ethodoxy/static/js/2.114a3a32.chunk.js", + "static/js/2.114a3a32.chunk.js.map": "/Ethodoxy/static/js/2.114a3a32.chunk.js.map", + "static/js/3.a49cdf27.chunk.js": "/Ethodoxy/static/js/3.a49cdf27.chunk.js", + "static/js/3.a49cdf27.chunk.js.map": "/Ethodoxy/static/js/3.a49cdf27.chunk.js.map", + "static/js/4.c18c74de.chunk.js": "/Ethodoxy/static/js/4.c18c74de.chunk.js", + "static/js/4.c18c74de.chunk.js.map": "/Ethodoxy/static/js/4.c18c74de.chunk.js.map", + "static/js/5.f046343d.chunk.js": "/Ethodoxy/static/js/5.f046343d.chunk.js", + "static/js/5.f046343d.chunk.js.map": "/Ethodoxy/static/js/5.f046343d.chunk.js.map", "index.html": "/Ethodoxy/index.html", - "precache-manifest.e73797ae6c7a3686587a04dd5e2ff7f6.js": "/Ethodoxy/precache-manifest.e73797ae6c7a3686587a04dd5e2ff7f6.js", + "precache-manifest.d9d865af60e89dba75c65b182468e057.js": "/Ethodoxy/precache-manifest.d9d865af60e89dba75c65b182468e057.js", "service-worker.js": "/Ethodoxy/service-worker.js", "static/css/2.5d832d7a.chunk.css.map": "/Ethodoxy/static/css/2.5d832d7a.chunk.css.map", "static/css/main.b676491d.chunk.css.map": "/Ethodoxy/static/css/main.b676491d.chunk.css.map" diff --git a/build/index.html b/build/index.html index b0b248a..044a0be 100644 --- a/build/index.html +++ b/build/index.html @@ -1 +1 @@ -Ethodoxy
\ No newline at end of file +Ethodoxy
\ No newline at end of file diff --git a/build/precache-manifest.d9d865af60e89dba75c65b182468e057.js b/build/precache-manifest.d9d865af60e89dba75c65b182468e057.js new file mode 100644 index 0000000..ed62c4f --- /dev/null +++ b/build/precache-manifest.d9d865af60e89dba75c65b182468e057.js @@ -0,0 +1,38 @@ +self.__precacheManifest = (self.__precacheManifest || []).concat([ + { + "revision": "d9a539c96218cb375fe7dff4997d0ac7", + "url": "/Ethodoxy/index.html" + }, + { + "revision": "a952fc318107fce07d5d", + "url": "/Ethodoxy/static/css/2.5d832d7a.chunk.css" + }, + { + "revision": "9f9ab67df1bcf8a8706d", + "url": "/Ethodoxy/static/css/main.b676491d.chunk.css" + }, + { + "revision": "a952fc318107fce07d5d", + "url": "/Ethodoxy/static/js/2.114a3a32.chunk.js" + }, + { + "revision": "4416396e5787527a43f2", + "url": "/Ethodoxy/static/js/3.a49cdf27.chunk.js" + }, + { + "revision": "931a1cdfadb843f173d7", + "url": "/Ethodoxy/static/js/4.c18c74de.chunk.js" + }, + { + "revision": "0cb5028beefff33ed482", + "url": "/Ethodoxy/static/js/5.f046343d.chunk.js" + }, + { + "revision": "9f9ab67df1bcf8a8706d", + "url": "/Ethodoxy/static/js/main.9d5eb37a.chunk.js" + }, + { + "revision": "0cf5419082e806b14976", + "url": "/Ethodoxy/static/js/runtime~main.25c407d9.js" + } +]); \ No newline at end of file diff --git a/build/precache-manifest.e73797ae6c7a3686587a04dd5e2ff7f6.js b/build/precache-manifest.e73797ae6c7a3686587a04dd5e2ff7f6.js deleted file mode 100644 index 3825174..0000000 --- a/build/precache-manifest.e73797ae6c7a3686587a04dd5e2ff7f6.js +++ /dev/null @@ -1,38 +0,0 @@ -self.__precacheManifest = (self.__precacheManifest || []).concat([ - { - "revision": "99c30887ae77d28107e3f71a00498673", - "url": "/Ethodoxy/index.html" - }, - { - "revision": "8971140219b61e8a3eb6", - "url": "/Ethodoxy/static/css/2.5d832d7a.chunk.css" - }, - { - "revision": "01807329f36c078df365", - "url": "/Ethodoxy/static/css/main.b676491d.chunk.css" - }, - { - "revision": "8971140219b61e8a3eb6", - "url": "/Ethodoxy/static/js/2.35bb070b.chunk.js" - }, - { - "revision": "7cfeda08eb5249aad762", - "url": "/Ethodoxy/static/js/3.c32e13c7.chunk.js" - }, - { - "revision": "65e3cd83853ddd98fd78", - "url": "/Ethodoxy/static/js/4.3da62355.chunk.js" - }, - { - "revision": "0ee51c66ed4cf4c091c3", - "url": "/Ethodoxy/static/js/5.1b552df0.chunk.js" - }, - { - "revision": "01807329f36c078df365", - "url": "/Ethodoxy/static/js/main.22430d85.chunk.js" - }, - { - "revision": "11c3768196f05fe6f259", - "url": "/Ethodoxy/static/js/runtime~main.e59d4e58.js" - } -]); \ No newline at end of file diff --git a/build/service-worker.js b/build/service-worker.js index e769fc4..0781f8e 100644 --- a/build/service-worker.js +++ b/build/service-worker.js @@ -14,7 +14,7 @@ importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js"); importScripts( - "/Ethodoxy/precache-manifest.e73797ae6c7a3686587a04dd5e2ff7f6.js" + "/Ethodoxy/precache-manifest.d9d865af60e89dba75c65b182468e057.js" ); self.addEventListener('message', (event) => { diff --git a/build/static/js/2.35bb070b.chunk.js b/build/static/js/2.114a3a32.chunk.js similarity index 94% rename from build/static/js/2.35bb070b.chunk.js rename to build/static/js/2.114a3a32.chunk.js index bf60ca7..59336d6 100644 --- a/build/static/js/2.35bb070b.chunk.js +++ b/build/static/js/2.114a3a32.chunk.js @@ -1,2 +1,2 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[2],[function(e,t,n){"use strict";e.exports=n(80)},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var r=t.defaultTheme,i=t.withTheme,u=void 0!==i&&i,s=t.name,h=a()(t,["defaultTheme","withTheme","name"]),m=s,v=Object(f.a)(e,o()({defaultTheme:r,Component:n,name:s||n.displayName,classNamePrefix:m},h)),y=l.a.forwardRef(function(e,t){e.classes;var i,c=e.innerRef,f=a()(e,["classes","innerRef"]),h=v(e),m=f;return("string"===typeof s||u)&&(i=Object(p.a)()||r,s&&(m=d({theme:i,name:s,props:f})),u&&!m.theme&&(m.theme=i)),l.a.createElement(n,o()({ref:c||t,classes:h},m))});return c()(y,n),y}},m=n(32);t.a=function(e,t){return h(e,o()({defaultTheme:m.a},t))}},function(e,t,n){"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(81)},function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return a}),n.d(t,"c",function(){return u});var r=n(0),o=n.n(r);function i(e,t){return o.a.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}function a(e,t){"function"===typeof e?e(t):e&&(e.current=t)}function u(e,t){return o.a.useMemo(function(){return null==e&&null==t?null:function(n){a(e,n),a(t,n)}},[e,t])}},function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return o});n(11);function r(e){return e.charAt(0).toUpperCase()+e.slice(1)}function o(){for(var e=arguments.length,t=new Array(e),n=0;n=0||(o[n]=e[n]);return o}n.d(t,"a",function(){return r})},function(e,t,n){"use strict";(function(e){n.d(t,"e",function(){return pe}),n.d(t,"b",function(){return he}),n.d(t,"d",function(){return de}),n.d(t,"f",function(){return d}),n.d(t,"c",function(){return c}),n.d(t,"a",function(){return $});var r=n(3),o=n(29),i=(n(21),n(43)),a=n(10),u=n(23),l={}.constructor;function s(e){if(null==e||"object"!==typeof e)return e;if(Array.isArray(e))return e.map(s);if(e.constructor!==l)return e;var t={};for(var n in e)t[n]=s(e[n]);return t}function c(e,t,n){void 0===e&&(e="unnamed");var r=n.jss,o=s(t),i=r.plugins.onCreateRule(e,o,n);return i||(e[0],null)}var f=function(e,t){for(var n="",r=0;r<+~=|^:(),"'`\s])/g,v="undefined"!==typeof CSS&&CSS.escape,y=function(e){return v?v(e):e.replace(m,"\\$1")},g=function(){function e(e,t,n){this.type="style",this.key=void 0,this.isProcessed=!1,this.style=void 0,this.renderer=void 0,this.renderable=void 0,this.options=void 0;var r=n.sheet,o=n.Renderer;this.key=e,this.options=n,this.style=t,r?this.renderer=r.renderer:o&&(this.renderer=new o)}return e.prototype.prop=function(e,t,n){if(void 0===t)return this.style[e];var r=!!n&&n.force;if(!r&&this.style[e]===t)return this;var o=t;n&&!1===n.process||(o=this.options.jss.plugins.onChangeValue(t,e,this));var i=null==o||!1===o,a=e in this.style;if(i&&!a&&!r)return this;var u=i&&a;if(u?delete this.style[e]:this.style[e]=o,this.renderable&&this.renderer)return u?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,o),this;var l=this.options.sheet;return l&&l.attached,this},e}(),b=function(e){function t(t,n,r){var o;(o=e.call(this,t,n,r)||this).selectorText=void 0,o.id=void 0,o.renderable=void 0;var i=r.selector,a=r.scoped,l=r.sheet,s=r.generateId;return i?o.selectorText=i:!1!==a&&(o.id=s(Object(u.a)(Object(u.a)(o)),l),o.selectorText="."+y(o.id)),o}Object(a.a)(t,e);var n=t.prototype;return n.applyTo=function(e){var t=this.renderer;if(t){var n=this.toJSON();for(var r in n)t.setProperty(e,r,n[r])}return this},n.toJSON=function(){var e={};for(var t in this.style){var n=this.style[t];"object"!==typeof n?e[t]=n:Array.isArray(n)&&(e[t]=d(n))}return e},n.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?Object(r.a)({},e,{allowEmpty:!0}):e;return h(this.selectorText,this.style,n)},Object(i.a)(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,n=this.renderable;if(n&&t)t.setSelector(n,e)||t.replaceRule(n,this)}},get:function(){return this.selectorText}}]),t}(g),x={onCreateRule:function(e,t,n){return"@"===e[0]||n.parent&&"keyframes"===n.parent.type?null:new b(e,t,n)}},w={indent:1,children:!0},E=/@([\w-]+)/,k=function(){function e(e,t,n){this.type="conditional",this.at=void 0,this.key=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e;var o=e.match(E);for(var i in this.at=o?o[1]:"unknown",this.options=n,this.rules=new $(Object(r.a)({},n,{parent:this})),t)this.rules.add(i,t[i]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},t.toString=function(e){if(void 0===e&&(e=w),!1===e.children)return this.key+" {}";var t=this.rules.toString(e);return t?this.key+" {\n"+t+"\n}":""},e}(),S=/@media|@supports\s+/,O={onCreateRule:function(e,t,n){return S.test(e)?new k(e,t,n):null}},C={indent:1,children:!0},T=/@keyframes\s+([\w-]+)/,P=function(){function e(e,t,n){this.type="keyframes",this.at="@keyframes",this.key=void 0,this.name=void 0,this.id=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0;var o=e.match(T);o&&o[1]?this.name=o[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var i=n.scoped,a=n.sheet,u=n.generateId;for(var l in this.id=!1===i?this.name:y(u(this,a)),this.rules=new $(Object(r.a)({},n,{parent:this})),t)this.rules.add(l,t[l],Object(r.a)({},n,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){if(void 0===e&&(e=C),!1===e.children)return this.at+" "+this.id+" {}";var t=this.rules.toString(e);return t&&(t="\n"+t+"\n"),this.at+" "+this.id+" {"+t+"}"},e}(),_=/@keyframes\s+/,j=/\$([\w-]+)/g,R=function(e,t){return"string"===typeof e?e.replace(j,function(e,n){return n in t?t[n]:e}):e},N=function(e,t,n){var r=e[t],o=R(r,n);o!==r&&(e[t]=o)},M={onCreateRule:function(e,t,n){return"string"===typeof e&&_.test(e)?new P(e,t,n):null},onProcessStyle:function(e,t,n){return"style"===t.type&&n?("animation-name"in e&&N(e,"animation-name",n.keyframes),"animation"in e&&N(e,"animation",n.keyframes),e):e},onChangeValue:function(e,t,n){var r=n.options.sheet;if(!r)return e;switch(t){case"animation":case"animation-name":return R(e,r.keyframes);default:return e}}},A=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o=this.index)t.push(e);else for(var r=0;rn)return void t.splice(r,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){return this.registry.filter(function(e){return e.attached}).map(function(t){return t.toString(e)}).join("\n")},Object(i.a)(e,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),e}()),Q="undefined"!==typeof e?e:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{},Y="2f1acc6c3a606b082e5eef5e54414ffb";null==Q[Y]&&(Q[Y]=0);var X=Q[Y]++,J=function(e){void 0===e&&(e={});var t=0,n=e.minify?"c":"";return function(r,o){t+=1;var i=n,a="";return o&&(i=o.options.classNamePrefix||n,null!=o.options.jss.id&&(a+=o.options.jss.id)),e.minify?""+i+X+a+t:i+r.key+"-"+X+(a&&"-"+a)+"-"+t}},Z=function(e){var t;return function(){return t||(t=e()),t}};function ee(e,t){try{return e.attributeStyleMap?e.attributeStyleMap.get(t):e.style.getPropertyValue(t)}catch(n){return""}}function te(e,t,n){try{var r=n;if(Array.isArray(n)&&(r=d(n,!0),"!important"===n[n.length-1]))return e.style.setProperty(t,r,"important"),!0;e.attributeStyleMap?e.attributeStyleMap.set(t,r):e.style.setProperty(t,r)}catch(o){return!1}return!0}function ne(e,t){try{e.attributeStyleMap?e.attributeStyleMap.delete(t):e.style.removeProperty(t)}catch(n){}}function re(e,t){return e.selectorText=t,e.selectorText===t}var oe=Z(function(){return document.querySelector("head")});function ie(e){var t=G.registry;if(t.length>0){var n=function(e,t){for(var n=0;nt.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if((n=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e))&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=e.insertionPoint;if(r&&"string"===typeof r){var o=function(e){for(var t=oe(),n=0;n1&&void 0!==arguments[1]?arguments[1]:"",n=e&&e.split("/")||[],r=t&&t.split("/")||[],a=e&&o(e),u=t&&o(t),l=a||u;if(e&&o(e)?r=n:n.length&&(r.pop(),r=r.concat(n)),!r.length)return"/";var s=void 0;if(r.length){var c=r[r.length-1];s="."===c||".."===c||""===c}else s=!1;for(var f=0,d=r.length;d>=0;d--){var p=r[d];"."===p?i(r,d):".."===p?(i(r,d),f++):f&&(i(r,d),f--)}if(!l)for(;f--;f)r.unshift("..");!l||""===r[0]||r[0]&&o(r[0])||r.unshift("");var h=r.join("/");return s&&"/"!==h.substr(-1)&&(h+="/"),h},u="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};var l=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every(function(t,r){return e(t,n[r])});var r="undefined"===typeof t?"undefined":u(t);if(r!==("undefined"===typeof n?"undefined":u(n)))return!1;if("object"===r){var o=t.valueOf(),i=n.valueOf();if(o!==t||i!==n)return e(o,i);var a=Object.keys(t),l=Object.keys(n);return a.length===l.length&&a.every(function(r){return e(t[r],n[r])})}return!1},s=n(14);function c(e){return"/"===e.charAt(0)?e:"/"+e}function f(e){return"/"===e.charAt(0)?e.substr(1):e}function d(e,t){return function(e,t){return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)}(e,t)?e.substr(t.length):e}function p(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function h(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function m(e,t,n,o){var i;"string"===typeof e?(i=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var i=t.indexOf("?");return-1!==i&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e)).state=t:(void 0===(i=Object(r.a)({},e)).pathname&&(i.pathname=""),i.search?"?"!==i.search.charAt(0)&&(i.search="?"+i.search):i.search="",i.hash?"#"!==i.hash.charAt(0)&&(i.hash="#"+i.hash):i.hash="",void 0!==t&&void 0===i.state&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(u){throw u instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):u}return n&&(i.key=n),o?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=a(i.pathname,o.pathname)):i.pathname=o.pathname:i.pathname||(i.pathname="/"),i}function v(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&l(e.state,t.state)}function y(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var i="function"===typeof e?e(t,n):e;"string"===typeof i?"function"===typeof r?r(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter(function(e){return e!==r})}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r=0?t:0)+"#"+e)}function P(e){void 0===e&&(e={}),g||Object(s.a)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),o=n.getUserConfirmation,i=void 0===o?b:o,a=n.hashType,u=void 0===a?"slash":a,l=e.basename?p(c(e.basename)):"",f=O[u],x=f.encodePath,w=f.decodePath;function E(){var e=w(C());return l&&(e=d(e,l)),m(e)}var k=y();function P(e){Object(r.a)(F,e),F.length=t.length,k.notifyListeners(F.location,F.action)}var _=!1,j=null;function R(){var e=C(),t=x(e);if(e!==t)T(t);else{var n=E(),r=F.location;if(!_&&v(r,n))return;if(j===h(n))return;j=null,function(e){if(_)_=!1,P();else{k.confirmTransitionTo(e,"POP",i,function(t){t?P({action:"POP",location:e}):function(e){var t=F.location,n=I.lastIndexOf(h(t));-1===n&&(n=0);var r=I.lastIndexOf(h(e));-1===r&&(r=0);var o=n-r;o&&(_=!0,D(o))}(e)})}}(n)}}var N=C(),M=x(N);N!==M&&T(M);var A=E(),I=[h(A)];function D(e){t.go(e)}var L=0;function z(e){1===(L+=e)&&1===e?window.addEventListener(S,R):0===L&&window.removeEventListener(S,R)}var U=!1;var F={length:t.length,action:"POP",location:A,createHref:function(e){return"#"+x(l+h(e))},push:function(e,t){var n=m(e,void 0,void 0,F.location);k.confirmTransitionTo(n,"PUSH",i,function(e){if(e){var t=h(n),r=x(l+t);if(C()!==r){j=t,function(e){window.location.hash=e}(r);var o=I.lastIndexOf(h(F.location)),i=I.slice(0,-1===o?0:o+1);i.push(t),I=i,P({action:"PUSH",location:n})}else P()}})},replace:function(e,t){var n=m(e,void 0,void 0,F.location);k.confirmTransitionTo(n,"REPLACE",i,function(e){if(e){var t=h(n),r=x(l+t);C()!==r&&(j=t,T(r));var o=I.indexOf(h(F.location));-1!==o&&(I[o]=t),P({action:"REPLACE",location:n})}})},go:D,goBack:function(){D(-1)},goForward:function(){D(1)},block:function(e){void 0===e&&(e=!1);var t=k.setPrompt(e);return U||(z(1),U=!0),function(){return U&&(U=!1,z(-1)),t()}},listen:function(e){var t=k.appendListener(e);return z(1),function(){z(-1),t()}}};return F}function _(e,t,n){return Math.min(Math.max(e,t),n)}function j(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,o=t.initialEntries,i=void 0===o?["/"]:o,a=t.initialIndex,u=void 0===a?0:a,l=t.keyLength,s=void 0===l?6:l,c=y();function f(e){Object(r.a)(x,e),x.length=x.entries.length,c.notifyListeners(x.location,x.action)}function d(){return Math.random().toString(36).substr(2,s)}var p=_(u,0,i.length-1),v=i.map(function(e){return m(e,void 0,"string"===typeof e?d():e.key||d())}),g=h;function b(e){var t=_(x.index+e,0,x.entries.length-1),r=x.entries[t];c.confirmTransitionTo(r,"POP",n,function(e){e?f({action:"POP",location:r,index:t}):f()})}var x={length:v.length,action:"POP",location:v[p],index:p,entries:v,createHref:g,push:function(e,t){var r=m(e,t,d(),x.location);c.confirmTransitionTo(r,"PUSH",n,function(e){if(e){var t=x.index+1,n=x.entries.slice(0);n.length>t?n.splice(t,n.length-t,r):n.push(r),f({action:"PUSH",location:r,index:t,entries:n})}})},replace:function(e,t){var r=m(e,t,d(),x.location);c.confirmTransitionTo(r,"REPLACE",n,function(e){e&&(x.entries[x.index]=r,f({action:"REPLACE",location:r}))})},go:b,goBack:function(){b(-1)},goForward:function(){b(1)},canGo:function(e){var t=x.index+e;return t>=0&&t1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return en?n:e}function o(e){if(e.type)return e;if("#"===e.charAt(0))return o(function(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length/3,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map(function(e){return e+e})),n?"rgb(".concat(n.map(function(e){return parseInt(e,16)}).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error(["Material-UI: unsupported `".concat(e,"` color."),"We support the following formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()."].join("\n"));var r=e.substring(t+1,e.length-1).split(",");return{type:n,values:r=r.map(function(e){return parseFloat(e)})}}function i(e){var t=e.type,n=e.values;return-1!==t.indexOf("rgb")?n=n.map(function(e,t){return t<3?parseInt(e,10):e}):-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(t,"(").concat(n.join(", "),")")}function a(e,t){var n=u(e),r=u(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function u(e){var t="hsl"===(e=o(e)).type?o(function(e){var t=(e=o(e)).values,n=t[0],r=t[1]/100,a=t[2]/100,u=r*Math.min(a,1-a),l=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return a-u*Math.max(Math.min(t-3,9-t,1),-1)},s="rgb",c=[Math.round(255*l(0)),Math.round(255*l(8)),Math.round(255*l(4))];return"hsla"===e.type&&(s+="a",c.push(t[3])),i({type:s,values:c})}(e)).values:e.values;return t=t.map(function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)}),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function l(e,t){return e=o(e),t=r(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,i(e)}function s(e,t){if(e=o(e),t=r(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return i(e)}function c(e,t){if(e=o(e),t=r(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;return i(e)}},function(e,t,n){"use strict";var r=n(39),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};function l(e){return r.isMemo(e)?a:u[e.$$typeof]||o}u[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0};var s=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var a=c(n);f&&(a=a.concat(f(n)));for(var u=l(t),m=l(n),v=0;v0&&void 0!==arguments[0]?arguments[0]:{};return a()({paddingLeft:t(2),paddingRight:t(2)},n,o()({},e.up("sm"),a()({paddingLeft:t(3),paddingRight:t(3)},n[e.up("sm")])))},toolbar:(r={minHeight:56},o()(r,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),o()(r,e.up("sm"),{minHeight:64}),r)},n)}var m={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"},v={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"},y={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"},g={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},b={black:"#000",white:"#fff"},x=n(26),w={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:b.white,default:y[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.08)",hoverOpacity:.08,selected:"rgba(0, 0, 0, 0.14)",disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)"}},E={text:{primary:b.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:y[800],default:"#303030"},action:{active:b.white,hover:"rgba(255, 255, 255, 0.1)",hoverOpacity:.1,selected:"rgba(255, 255, 255, 0.2)",disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)"}};function k(e,t,n,r){e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=Object(x.d)(e.main,r):"dark"===t&&(e.dark=Object(x.a)(e.main,1.5*r)))}function S(e){return Math.round(1e5*e)/1e5}var O={textTransform:"uppercase"},C='"Roboto", "Helvetica", "Arial", sans-serif';function T(e,t){var n="function"===typeof t?t(e):t,r=n.fontFamily,o=void 0===r?C:r,i=n.fontSize,u=void 0===i?14:i,s=n.fontWeightLight,f=void 0===s?300:s,d=n.fontWeightRegular,p=void 0===d?400:d,h=n.fontWeightMedium,m=void 0===h?500:h,v=n.fontWeightBold,y=void 0===v?700:v,g=n.htmlFontSize,b=void 0===g?16:g,x=n.allVariants,w=l()(n,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants"]),E=u/14,k=function(e){return"".concat(e/b*E,"rem")},T=function(e,t,n,r,i){return a()({fontFamily:o,fontWeight:e,fontSize:k(t),lineHeight:n},o===C?{letterSpacing:"".concat(S(r/t),"em")}:{},i,x)},P={h1:T(f,96,1,-1.5),h2:T(f,60,1,-.5),h3:T(p,48,1.04,0),h4:T(p,34,1.17,.25),h5:T(p,24,1.33,0),h6:T(m,20,1.6,.15),subtitle1:T(p,16,1.75,.15),subtitle2:T(m,14,1.57,.1),body1:T(p,16,1.5,.15),body2:T(p,14,1.43,.15),button:T(m,14,1.75,.4,O),caption:T(p,12,1.66,.4),overline:T(p,12,2.66,1,O)};return c()(a()({htmlFontSize:b,pxToRem:k,round:S,fontFamily:o,fontSize:u,fontWeightLight:f,fontWeightRegular:p,fontWeightMedium:m,fontWeightBold:y},P),w,{clone:!1})}var P=.2,_=.14,j=.12;function R(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(P,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(_,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(j,")")].join(",")}var N=["none",R(0,1,3,0,0,1,1,0,0,2,1,-1),R(0,1,5,0,0,2,2,0,0,3,1,-2),R(0,1,8,0,0,3,4,0,0,3,3,-2),R(0,2,4,-1,0,4,5,0,0,1,10,0),R(0,3,5,-1,0,5,8,0,0,1,14,0),R(0,3,5,-1,0,6,10,0,0,1,18,0),R(0,4,5,-2,0,7,10,1,0,2,16,1),R(0,5,5,-3,0,8,10,1,0,3,14,2),R(0,5,6,-3,0,9,12,1,0,3,16,2),R(0,6,6,-3,0,10,14,1,0,4,18,3),R(0,6,7,-4,0,11,15,1,0,4,20,3),R(0,7,8,-4,0,12,17,2,0,5,22,4),R(0,7,8,-4,0,13,19,2,0,5,24,4),R(0,7,9,-4,0,14,21,2,0,5,26,4),R(0,8,9,-5,0,15,22,2,0,6,28,5),R(0,8,10,-5,0,16,24,2,0,6,30,5),R(0,8,11,-5,0,17,26,2,0,6,32,5),R(0,9,11,-5,0,18,28,2,0,7,34,6),R(0,9,12,-6,0,19,29,2,0,7,36,6),R(0,10,13,-6,0,20,31,3,0,8,38,7),R(0,10,13,-6,0,21,33,3,0,8,40,7),R(0,10,14,-6,0,22,35,3,0,8,42,7),R(0,11,14,-7,0,23,36,3,0,9,44,8),R(0,11,15,-7,0,24,38,3,0,9,46,8)],M={borderRadius:4};var A={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},I={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195},D=function(e){return"".concat(Math.round(e),"ms")},L={easing:A,duration:I,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.duration,r=void 0===n?I.standard:n,o=t.easing,i=void 0===o?A.easeInOut:o,a=t.delay,u=void 0===a?0:a;l()(t,["duration","easing","delay"]);return(Array.isArray(e)?e:[e]).map(function(e){return"".concat(e," ").concat("string"===typeof r?r:D(r)," ").concat(i," ").concat("string"===typeof u?u:D(u))}).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}},z=n(41);var U=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,r=e.mixins,o=void 0===r?{}:r,i=e.palette,u=void 0===i?{}:i,s=e.shadows,f=e.spacing,S=e.typography,O=void 0===S?{}:S,C=l()(e,["breakpoints","mixins","palette","shadows","spacing","typography"]),P=function(e){var t=e.primary,n=void 0===t?{light:m[300],main:m[500],dark:m[700]}:t,r=e.secondary,o=void 0===r?{light:v.A200,main:v.A400,dark:v.A700}:r,i=e.error,u=void 0===i?{light:g[300],main:g[500],dark:g[700]}:i,s=e.type,f=void 0===s?"light":s,d=e.contrastThreshold,p=void 0===d?3:d,h=e.tonalOffset,S=void 0===h?.2:h,O=l()(e,["primary","secondary","error","type","contrastThreshold","tonalOffset"]);function C(e){return Object(x.c)(e,E.text.primary)>=p?E.text.primary:w.text.primary}function T(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;return!(e=a()({},e)).main&&e[t]&&(e.main=e[t]),k(e,"light",n,S),k(e,"dark",r,S),e.contrastText||(e.contrastText=C(e.main)),e}var P={dark:E,light:w};return c()(a()({common:b,type:f,primary:T(n),secondary:T(o,"A400","A200","A700"),error:T(u),grey:y,contrastThreshold:p,getContrastText:C,augmentColor:T,tonalOffset:S},P[f]),O,{clone:!1})}(u),_=Object(p.a)(n),j=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(t.mui)return t;e="function"===typeof t?t:function(e){return t*e};var n=function(){for(var t=arguments.length,n=new Array(t),r=0;r. You may also pass a {context : MyContext} option to connect");var A=N;return function(t){var n=t.displayName||t.name||"Component",r=o(n),u=Object(y.a)({},M,{getDisplayName:o,methodName:l,renderCountProp:f,shouldHandleStateChanges:p,storeKey:v,displayName:r,wrappedComponentName:n,WrappedComponent:t}),s=M.pure;var c=s?i.useMemo:function(e){return e()};function d(n){var o=Object(i.useMemo)(function(){var e=n.forwardedRef,t=Object(g.a)(n,["forwardedRef"]);return[n.context,e,t]},[n]),l=o[0],s=o[1],f=o[2],d=Object(i.useMemo)(function(){return l&&l.Consumer&&Object(k.isContextConsumer)(a.a.createElement(l.Consumer,null))?l:A},[l,A]),m=Object(i.useContext)(d),v=Boolean(n.store),b=Boolean(m)&&Boolean(m.store);E()(v||b,'Could not find "store" in the context of "'+r+'". Either wrap the root component in a , or pass a custom React context provider to and the corresponding React context consumer to '+r+" in connect options.");var x=n.store||m.store,w=Object(i.useMemo)(function(){return function(t){return e(t.dispatch,u)}(x)},[x]),_=Object(i.useMemo)(function(){if(!p)return O;var e=new h(x,v?null:m.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]},[x,v,m]),j=_[0],R=_[1],N=Object(i.useMemo)(function(){return v?m:Object(y.a)({},m,{subscription:j})},[v,m,j]),M=Object(i.useReducer)(C,S,T),I=M[0][0],D=M[1];if(I&&I.error)throw I.error;var L=Object(i.useRef)(),z=Object(i.useRef)(f),U=Object(i.useRef)(),F=Object(i.useRef)(!1),W=c(function(){return U.current&&f===z.current?U.current:w(x.getState(),f)},[x,I,f]);P(function(){z.current=f,L.current=W,F.current=!1,U.current&&(U.current=null,R())}),P(function(){if(p){var e=!1,t=null,n=function(){if(!e){var n,r,o=x.getState();try{n=w(o,z.current)}catch(i){r=i,t=i}r||(t=null),n===L.current?F.current||R():(L.current=n,U.current=n,F.current=!0,D({type:"STORE_UPDATED",payload:{latestStoreState:o,error:r}}))}};j.onStateChange=n,j.trySubscribe(),n();return function(){if(e=!0,j.tryUnsubscribe(),t)throw t}}},[x,j,w]);var B=Object(i.useMemo)(function(){return a.a.createElement(t,Object(y.a)({},W,{ref:s}))},[s,t,W]);return Object(i.useMemo)(function(){return p?a.a.createElement(d.Provider,{value:N},B):B},[d,B,N])}var m=s?a.a.memo(d):d;if(m.WrappedComponent=t,m.displayName=r,j){var b=a.a.forwardRef(function(e,t){return a.a.createElement(m,Object(y.a)({},e,{forwardedRef:t}))});return b.displayName=r,b.WrappedComponent=t,x()(b,t)}return x()(m,t)}}var j=Object.prototype.hasOwnProperty;function R(e,t){return e===t?0!==e||0!==t||1/e===1/t:e!==e&&t!==t}function N(e,t){if(R(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0;o=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function $(e,t){return e===t}var q=function(e){var t=void 0===e?{}:e,n=t.connectHOC,r=void 0===n?_:n,o=t.mapStateToPropsFactories,i=void 0===o?z:o,a=t.mapDispatchToPropsFactories,u=void 0===a?L:a,l=t.mergePropsFactories,s=void 0===l?F:l,c=t.selectorFactory,f=void 0===c?V:c;return function(e,t,n,o){void 0===o&&(o={});var a=o,l=a.pure,c=void 0===l||l,d=a.areStatesEqual,p=void 0===d?$:d,h=a.areOwnPropsEqual,m=void 0===h?N:h,v=a.areStatePropsEqual,b=void 0===v?N:v,x=a.areMergedPropsEqual,w=void 0===x?N:x,E=Object(g.a)(a,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),k=H(e,i,"mapStateToProps"),S=H(t,u,"mapDispatchToProps"),O=H(n,s,"mergeProps");return r(f,Object(y.a)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:k,initMapDispatchToProps:S,initMergeProps:O,pure:c,areStatesEqual:p,areOwnPropsEqual:m,areStatePropsEqual:b,areMergedPropsEqual:w},E))}}();function K(){var e=Object(i.useContext)(s);return E()(e,"could not find react-redux context value; please ensure the component is wrapped in a "),e}function G(){return K().store}function Q(){return G().dispatch}var Y="undefined"!==typeof window?i.useLayoutEffect:i.useEffect,X=function(e,t){return e===t};function J(e,t){void 0===t&&(t=X),E()(e,"You must pass a selector to useSelectors");var n,r=K(),o=r.store,a=r.subscription,u=Object(i.useReducer)(function(e){return e+1},0)[1],l=Object(i.useMemo)(function(){return new h(o,a)},[o,a]),s=Object(i.useRef)(),c=Object(i.useRef)(),f=Object(i.useRef)();try{n=e!==c.current||s.current?e(o.getState()):f.current}catch(p){var d="An error occured while selecting the store state: "+p.message+".";throw s.current&&(d+="\nThe error may be correlated with this previous error:\n"+s.current.stack+"\n\nOriginal stack trace:"),new Error(d)}return Y(function(){c.current=e,f.current=n,s.current=void 0}),Y(function(){function e(){try{var e=c.current(o.getState());if(t(e,f.current))return;f.current=e}catch(p){s.current=p}u({})}return l.onStateChange=e,l.trySubscribe(),e(),function(){return l.tryUnsubscribe()}},[o,l]),n}var Z,ee=n(7);n.d(t,"Provider",function(){return v}),n.d(t,"connectAdvanced",function(){return _}),n.d(t,"ReactReduxContext",function(){return s}),n.d(t,"connect",function(){return q}),n.d(t,"batch",function(){return ee.unstable_batchedUpdates}),n.d(t,"useDispatch",function(){return Q}),n.d(t,"useSelector",function(){return J}),n.d(t,"useStore",function(){return G}),n.d(t,"shallowEqual",function(){return N}),Z=ee.unstable_batchedUpdates,c=Z},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:l;return{type:i,payload:{scope:e}}},t.hideLoading=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l;return{type:a,payload:{scope:e}}},t.resetLoading=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l;return{type:u,payload:{scope:e}}},t.loadingBarReducer=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(t.payload||{}).scope,s=void 0===n?l:n;switch(t.type){case i:return r({},e,o({},s,(e[s]||0)+1));case a:return r({},e,o({},s,Math.max(0,(e[s]||1)-1)));case u:return r({},e,o({},s,0));default:return e}};var i=t.SHOW="loading-bar/SHOW",a=t.HIDE="loading-bar/HIDE",u=t.RESET="loading-bar/RESET",l=t.DEFAULT_SCOPE="default"},function(e,t,n){"use strict";e.exports=n(87)},,function(e,t,n){"use strict";t.a={mobileStepper:1e3,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500}},function(e,t,n){var r=n(120),o=n(121),i=n(122);e.exports=function(e){return r(e)||o(e)||i()}},function(e,t,n){"use strict";function r(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(v,["_persist"]);if(p.type===u){var S=!1,O=function(t,n){S||(p.rehydrate(e.key,t,n),S=!0)};if(d&&setTimeout(function(){!S&&O(void 0,new Error('redux-persist: persist timed out for persist key "'+e.key+'"'))},d),w=!1,m||(m=h(e)),x)return c;if("function"!==typeof p.rehydrate||"function"!==typeof p.register)throw new Error("redux-persist: either rehydrate or register is not a function on the PERSIST action. This can happen if the action is being replayed. This is an unexplored use case, please open an issue and we will figure out a resolution.");return p.register(e.key),f(e).then(function(t){(e.migrate||function(e,t){return Promise.resolve(e)})(t,n).then(function(e){O(e)},function(e){O(void 0,e)})},function(e){O(void 0,e)}),b({},t(k,p),{_persist:{version:n,rehydrated:!1}})}if(p.type===l)return y=!0,p.result(function(e){var t=e.storage,n=""+(void 0!==e.keyPrefix?e.keyPrefix:r)+e.key;return t.removeItem(n,g)}(e)),b({},t(k,p),{_persist:x});if(p.type===o)return p.result(m&&m.flush()),b({},t(k,p),{_persist:x});if(p.type===a)w=!0;else if(p.type===i){if(y)return b({},k,{_persist:b({},x,{rehydrated:!0})});if(p.key===e.key){var C=t(k,p),T=p.payload,P=!1!==s&&void 0!==T?s(T,c,C,e):C,_=b({},P,{_persist:b({},x,{rehydrated:!0})});return E(_)}}if(!x)return t(c,p);var j=t(k,p);return j===k?c:(j._persist=x,E(j))}}var E=n(17);"function"===typeof Symbol&&Symbol.iterator,Object.assign;var k=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:O,t=arguments[1];switch(t.type){case s:return k({},e,{registry:[].concat(S(e.registry),[t.key])});case i:var n=e.registry.indexOf(t.key),r=[].concat(S(e.registry));return r.splice(n,1),k({},e,{registry:r,bootstrapped:0===r.length});default:return e}};function T(e,t,n){var r=n||!1,c=Object(E.d)(C,O,t?t.enhancer:void 0),f=function(e){c.dispatch({type:s,key:e})},d=function(t,n,o){var a={type:i,payload:n,err:o,key:t};e.dispatch(a),c.dispatch(a),r&&p.getState().bootstrapped&&(r(),r=!1)},p=k({},c,{purge:function(){var t=[];return e.dispatch({type:l,result:function(e){t.push(e)}}),Promise.all(t)},flush:function(){var t=[];return e.dispatch({type:o,result:function(e){t.push(e)}}),Promise.all(t)},pause:function(){e.dispatch({type:a})},persist:function(){e.dispatch({type:u,register:f,rehydrate:d})}});return p.persist(),p}n.d(t,"a",function(){return w}),n.d(t,"b",function(){return T})},function(e,t,n){"use strict";function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(l){o=!0,i=l}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}n.d(t,"a",function(){return r})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.showLoading=t.resetLoading=t.loadingBarReducer=t.loadingBarMiddleware=t.LoadingBar=t.ImmutableLoadingBar=t.hideLoading=void 0;var r=n(53),o=l(r),i=l(n(92)),a=n(38),u=l(n(93));function l(e){return e&&e.__esModule?e:{default:e}}t.hideLoading=a.hideLoading,t.ImmutableLoadingBar=u.default,t.LoadingBar=r.LoadingBar,t.loadingBarMiddleware=i.default,t.loadingBarReducer=a.loadingBarReducer,t.resetLoading=a.resetLoading,t.showLoading=a.showLoading,t.default=o.default},function(e,t,n){"use strict";n.d(t,"b",function(){return u}),n.d(t,"a",function(){return l});var r=n(1),o=n.n(r),i=n(2),a=n.n(i),u=["xs","sm","md","lg","xl"];function l(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:960,lg:1280,xl:1920}:t,r=e.unit,i=void 0===r?"px":r,l=e.step,s=void 0===l?5:l,c=a()(e,["values","unit","step"]);function f(e){var t="number"===typeof n[e]?n[e]:e;return"@media (min-width:".concat(t).concat(i,")")}function d(e,t){var r=u.indexOf(t)+1;return r===u.length?f(e):"@media (min-width:".concat(n[e]).concat(i,") and ")+"(max-width:".concat(n[u[r]]-s/100).concat(i,")")}return o()({keys:u,values:n,up:f,down:function(e){var t=u.indexOf(e)+1,r=n[u[t]];return t===u.length?f("xs"):"@media (max-width:".concat(("number"===typeof r&&t>0?r:e)-s/100).concat(i,")")},between:d,only:function(e){return d(e,e)},width:function(e){return n[e]}},c)}},function(e,t,n){"use strict";var r=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(o){return!1}}()?Object.assign:function(e,t){for(var n,a,u=function(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l0&&this.state.percent<=100}},{key:"buildStyle",value:function(){var e="stopping"===this.state.status?y:v,t="rtl"===this.props.direction?1:-1,n=(100-this.state.percent)*t,r={opacity:"1",transform:"translate3d("+n+"%, 0px, 0px)",msTransform:"translate3d("+n+"%, 0px, 0px)",WebkitTransform:"translate3d("+n+"%, 0px, 0px)",MozTransform:"translate3d("+n+"%, 0px, 0px)",OTransform:"translate3d("+n+"%, 0px, 0px)",transition:"transform "+e+"ms linear 0s",msTransition:"-ms-transform "+e+"ms linear 0s",WebkitTransition:"-webkit-transform "+e+"ms linear 0s",MozTransition:"-moz-transform "+e+"ms linear 0s",OTransition:"-o-transform "+e+"ms linear 0s",width:"100%",willChange:"transform, opacity"};return this.props.className||(r.height="3px",r.backgroundColor="red",r.position="absolute"),this.isShown()?r.opacity="1":r.opacity="0",o({},r,this.props.style)}},{key:"render",value:function(){return"hidden"===this.state.status?u.default.createElement("div",null):u.default.createElement("div",null,u.default.createElement("div",{style:this.buildStyle(),className:this.props.className}),u.default.createElement("div",{style:{display:"table",clear:"both"}}))}}],[{key:"shouldStart",value:function(e,t){return e.loading>0&&["hidden","stopping"].indexOf(t.status)>=0}},{key:"shouldStop",value:function(e,t){return 0===e.loading&&["starting","running"].indexOf(t.status)>=0}},{key:"getDerivedStateFromProps",value:function(e,n){return t.shouldStart(e,n)?{status:"starting"}:t.shouldStop(e,n)?{status:"stopping"}:null}}]),t}();b.propTypes={className:s.string,direction:s.string,loading:s.number,maxProgress:s.number,progressIncrease:s.number,scope:s.string,showFastActions:s.bool,style:s.object,updateTime:s.number},b.defaultProps={className:"",direction:"ltr",loading:0,maxProgress:h,progressIncrease:m,scope:f.DEFAULT_SCOPE,showFastActions:!1,style:{},updateTime:p};(0,l.polyfill)(b);var x=(0,c.connect)(function(e,t){return{loading:e.loadingBar[t.scope||f.DEFAULT_SCOPE]}})(b);t.LoadingBar=b,t.default=x},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(25);function o(e){for(var t=1;t=t.length?n(new u(h,x,new a(void 0,e[x]))):c(e[x],t[x],n,r,h,x,p);for(;x=0?(c(e[o],t[o],n,r,h,o,p),E=l(E,a)):c(e[o],void 0,n,r,h,o,p)}),E.forEach(function(e){c(void 0,t[e],n,r,h,e,p)})}p.length=p.length-1}else e!==t&&("number"===v&&isNaN(e)&&isNaN(t)||n(new o(h,e,t)))}function f(e,t,n,r){return r=r||[],c(e,t,function(e){e&&r.push(e)},n),r.length?r:void 0}function d(e,t,n){if(e&&t&&n&&n.kind){for(var r=e,o=-1,i=n.path?n.path.length-1:0;++o0&&void 0!==arguments[0]?arguments[0]:{},t=Object.assign({},T,e),n=t.logger,r=t.stateTransformer,o=t.errorTransformer,i=t.predicate,a=t.logErrors,u=t.diffPredicate;if("undefined"==typeof n)return function(){return function(e){return function(t){return e(t)}}};if(e.getState&&e.dispatch)return console.error("[redux-logger] redux-logger not installed. Make sure to pass logger instance as middleware:\n// Logger with default options\nimport { logger } from 'redux-logger'\nconst store = createStore(\n reducer,\n applyMiddleware(logger)\n)\n// Or you can create your own logger with custom options http://bit.ly/redux-logger-options\nimport createLogger from 'redux-logger'\nconst logger = createLogger({\n // ...options\n});\nconst store = createStore(\n reducer,\n applyMiddleware(logger)\n)\n"),function(){return function(e){return function(t){return e(t)}}};var l=[];return function(e){var n=e.getState;return function(e){return function(s){if("function"==typeof i&&!i(n,s))return e(s);var c={};l.push(c),c.started=E.now(),c.startedTime=new Date,c.prevState=r(n()),c.action=s;var f=void 0;if(a)try{f=e(s)}catch(e){c.error=o(e)}else f=e(s);c.took=E.now()-c.started,c.nextState=r(n());var d=t.diff&&"function"==typeof u?u(n,s):t.diff;if(v(l,Object.assign({},t,{diff:d})),l.length=0,c.error)throw c.error;return f}}}}var g,b,x=function(e,t){return function(e,t){return new Array(t+1).join(e)}("0",t-e.toString().length)+e},w=function(e){return x(e.getHours(),2)+":"+x(e.getMinutes(),2)+":"+x(e.getSeconds(),2)+"."+x(e.getMilliseconds(),3)},E="undefined"!=typeof performance&&null!==performance&&"function"==typeof performance.now?performance:Date,k="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=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:{},t=e.dispatch,n=e.getState;return"function"==typeof t||"function"==typeof n?y()({dispatch:t,getState:n}):void console.error("\n[redux-logger v3] BREAKING CHANGE\n[redux-logger v3] Since 3.0.0 redux-logger exports by default logger with default settings.\n[redux-logger v3] Change\n[redux-logger v3] import createLogger from 'redux-logger'\n[redux-logger v3] to\n[redux-logger v3] import { createLogger } from 'redux-logger'\n")};t.defaults=T,t.createLogger=y,t.logger=P,t.default=P,Object.defineProperty(t,"__esModule",{value:!0})}(t)}).call(this,n(34))},function(e,t,n){"use strict";function r(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(o){return"function"===typeof o?o(n,r,e):t(o)}}}}var o=r();o.withExtraArgument=r,t.a=o},function(e,t,n){e.exports=n(94)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",function(){return r})},function(e,t,n){"use strict";function r(e,t){for(var n=0;n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,"a",function(){return r})},,,,,,function(e,t,n){"use strict";var r=n(52),o="function"===typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,a=o?Symbol.for("react.portal"):60106,u=o?Symbol.for("react.fragment"):60107,l=o?Symbol.for("react.strict_mode"):60108,s=o?Symbol.for("react.profiler"):60114,c=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,d=o?Symbol.for("react.concurrent_mode"):60111,p=o?Symbol.for("react.forward_ref"):60112,h=o?Symbol.for("react.suspense"):60113,m=o?Symbol.for("react.memo"):60115,v=o?Symbol.for("react.lazy"):60116,y="function"===typeof Symbol&&Symbol.iterator;function g(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;rN.length&&N.push(e)}function I(e,t,n){return null==e?0:function e(t,n,r,o){var u=typeof t;"undefined"!==u&&"boolean"!==u||(t=null);var l=!1;if(null===t)l=!0;else switch(u){case"string":case"number":l=!0;break;case"object":switch(t.$$typeof){case i:case a:l=!0}}if(l)return r(o,t,""===n?"."+D(t,0):n),1;if(l=0,n=""===n?".":n+":",Array.isArray(t))for(var s=0;sthis.eventPool.length&&this.eventPool.push(e)}function fe(e){e.eventPool=[],e.getPooled=se,e.release=ce}o(le.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=ae)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=ae)},persist:function(){this.isPersistent=ae},isPersistent:ue,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=ue,this._dispatchInstances=this._dispatchListeners=null}}),le.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},le.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var i=new t;return o(i,n.prototype),n.prototype=i,n.prototype.constructor=n,n.Interface=o({},r.Interface,e),n.extend=r.extend,fe(n),n},fe(le);var de=le.extend({data:null}),pe=le.extend({data:null}),he=[9,13,27,32],me=$&&"CompositionEvent"in window,ve=null;$&&"documentMode"in document&&(ve=document.documentMode);var ye=$&&"TextEvent"in window&&!ve,ge=$&&(!me||ve&&8=ve),be=String.fromCharCode(32),xe={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},we=!1;function Ee(e,t){switch(e){case"keyup":return-1!==he.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function ke(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Se=!1;var Oe={eventTypes:xe,extractEvents:function(e,t,n,r){var o=void 0,i=void 0;if(me)e:{switch(e){case"compositionstart":o=xe.compositionStart;break e;case"compositionend":o=xe.compositionEnd;break e;case"compositionupdate":o=xe.compositionUpdate;break e}o=void 0}else Se?Ee(e,n)&&(o=xe.compositionEnd):"keydown"===e&&229===n.keyCode&&(o=xe.compositionStart);return o?(ge&&"ko"!==n.locale&&(Se||o!==xe.compositionStart?o===xe.compositionEnd&&Se&&(i=ie()):(re="value"in(ne=r)?ne.value:ne.textContent,Se=!0)),o=de.getPooled(o,t,n,r),i?o.data=i:null!==(i=ke(n))&&(o.data=i),H(o),i=o):i=null,(e=ye?function(e,t){switch(e){case"compositionend":return ke(t);case"keypress":return 32!==t.which?null:(we=!0,be);case"textInput":return(e=t.data)===be&&we?null:e;default:return null}}(e,n):function(e,t){if(Se)return"compositionend"===e||!me&&Ee(e,t)?(e=ie(),oe=re=ne=null,Se=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1. You may also pass a {context : MyContext} option to connect");var A=N;return function(t){var n=t.displayName||t.name||"Component",r=o(n),u=Object(y.a)({},M,{getDisplayName:o,methodName:l,renderCountProp:f,shouldHandleStateChanges:p,storeKey:v,displayName:r,wrappedComponentName:n,WrappedComponent:t}),s=M.pure;var c=s?i.useMemo:function(e){return e()};function d(n){var o=Object(i.useMemo)(function(){var e=n.forwardedRef,t=Object(g.a)(n,["forwardedRef"]);return[n.context,e,t]},[n]),l=o[0],s=o[1],f=o[2],d=Object(i.useMemo)(function(){return l&&l.Consumer&&Object(k.isContextConsumer)(a.a.createElement(l.Consumer,null))?l:A},[l,A]),m=Object(i.useContext)(d),v=Boolean(n.store),b=Boolean(m)&&Boolean(m.store);E()(v||b,'Could not find "store" in the context of "'+r+'". Either wrap the root component in a , or pass a custom React context provider to and the corresponding React context consumer to '+r+" in connect options.");var x=n.store||m.store,w=Object(i.useMemo)(function(){return function(t){return e(t.dispatch,u)}(x)},[x]),_=Object(i.useMemo)(function(){if(!p)return O;var e=new h(x,v?null:m.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]},[x,v,m]),j=_[0],R=_[1],N=Object(i.useMemo)(function(){return v?m:Object(y.a)({},m,{subscription:j})},[v,m,j]),M=Object(i.useReducer)(C,S,T),I=M[0][0],D=M[1];if(I&&I.error)throw I.error;var L=Object(i.useRef)(),z=Object(i.useRef)(f),U=Object(i.useRef)(),F=Object(i.useRef)(!1),W=c(function(){return U.current&&f===z.current?U.current:w(x.getState(),f)},[x,I,f]);P(function(){z.current=f,L.current=W,F.current=!1,U.current&&(U.current=null,R())}),P(function(){if(p){var e=!1,t=null,n=function(){if(!e){var n,r,o=x.getState();try{n=w(o,z.current)}catch(i){r=i,t=i}r||(t=null),n===L.current?F.current||R():(L.current=n,U.current=n,F.current=!0,D({type:"STORE_UPDATED",payload:{latestStoreState:o,error:r}}))}};j.onStateChange=n,j.trySubscribe(),n();return function(){if(e=!0,j.tryUnsubscribe(),t)throw t}}},[x,j,w]);var B=Object(i.useMemo)(function(){return a.a.createElement(t,Object(y.a)({},W,{ref:s}))},[s,t,W]);return Object(i.useMemo)(function(){return p?a.a.createElement(d.Provider,{value:N},B):B},[d,B,N])}var m=s?a.a.memo(d):d;if(m.WrappedComponent=t,m.displayName=r,j){var b=a.a.forwardRef(function(e,t){return a.a.createElement(m,Object(y.a)({},e,{forwardedRef:t}))});return b.displayName=r,b.WrappedComponent=t,x()(b,t)}return x()(m,t)}}var j=Object.prototype.hasOwnProperty;function R(e,t){return e===t?0!==e||0!==t||1/e===1/t:e!==e&&t!==t}function N(e,t){if(R(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0;o=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function $(e,t){return e===t}var q=function(e){var t=void 0===e?{}:e,n=t.connectHOC,r=void 0===n?_:n,o=t.mapStateToPropsFactories,i=void 0===o?z:o,a=t.mapDispatchToPropsFactories,u=void 0===a?L:a,l=t.mergePropsFactories,s=void 0===l?F:l,c=t.selectorFactory,f=void 0===c?V:c;return function(e,t,n,o){void 0===o&&(o={});var a=o,l=a.pure,c=void 0===l||l,d=a.areStatesEqual,p=void 0===d?$:d,h=a.areOwnPropsEqual,m=void 0===h?N:h,v=a.areStatePropsEqual,b=void 0===v?N:v,x=a.areMergedPropsEqual,w=void 0===x?N:x,E=Object(g.a)(a,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),k=H(e,i,"mapStateToProps"),S=H(t,u,"mapDispatchToProps"),O=H(n,s,"mergeProps");return r(f,Object(y.a)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:k,initMapDispatchToProps:S,initMergeProps:O,pure:c,areStatesEqual:p,areOwnPropsEqual:m,areStatePropsEqual:b,areMergedPropsEqual:w},E))}}();function K(){var e=Object(i.useContext)(s);return E()(e,"could not find react-redux context value; please ensure the component is wrapped in a "),e}function G(){return K().store}function Q(){return G().dispatch}var Y="undefined"!==typeof window?i.useLayoutEffect:i.useEffect,X=function(e,t){return e===t};function J(e,t){void 0===t&&(t=X),E()(e,"You must pass a selector to useSelectors");var n,r=K(),o=r.store,a=r.subscription,u=Object(i.useReducer)(function(e){return e+1},0)[1],l=Object(i.useMemo)(function(){return new h(o,a)},[o,a]),s=Object(i.useRef)(),c=Object(i.useRef)(),f=Object(i.useRef)();try{n=e!==c.current||s.current?e(o.getState()):f.current}catch(p){var d="An error occured while selecting the store state: "+p.message+".";throw s.current&&(d+="\nThe error may be correlated with this previous error:\n"+s.current.stack+"\n\nOriginal stack trace:"),new Error(d)}return Y(function(){c.current=e,f.current=n,s.current=void 0}),Y(function(){function e(){try{var e=c.current(o.getState());if(t(e,f.current))return;f.current=e}catch(p){s.current=p}u({})}return l.onStateChange=e,l.trySubscribe(),e(),function(){return l.tryUnsubscribe()}},[o,l]),n}var Z,ee=n(7);n.d(t,"Provider",function(){return v}),n.d(t,"connectAdvanced",function(){return _}),n.d(t,"ReactReduxContext",function(){return s}),n.d(t,"connect",function(){return q}),n.d(t,"batch",function(){return ee.unstable_batchedUpdates}),n.d(t,"useDispatch",function(){return Q}),n.d(t,"useSelector",function(){return J}),n.d(t,"useStore",function(){return G}),n.d(t,"shallowEqual",function(){return N}),Z=ee.unstable_batchedUpdates,c=Z},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";var r=n(31);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=i.default.memo(i.default.forwardRef(function(t,n){return i.default.createElement(a.default,(0,o.default)({ref:n},t),e)}));0;return n.muiName=a.default.muiName,n};var o=r(n(1)),i=r(n(0)),a=r(n(125))},function(e,t,n){"use strict";n.d(t,"a",function(){return f}),n.d(t,"b",function(){return d});var r=n(10),o=n(0),i=n.n(o),a=n(24),u=n(16),l=(n(4),n(3)),s=n(12),c=n(14),f=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o0&&void 0!==arguments[0]?arguments[0]:l;return{type:i,payload:{scope:e}}},t.hideLoading=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l;return{type:a,payload:{scope:e}}},t.resetLoading=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l;return{type:u,payload:{scope:e}}},t.loadingBarReducer=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(t.payload||{}).scope,s=void 0===n?l:n;switch(t.type){case i:return r({},e,o({},s,(e[s]||0)+1));case a:return r({},e,o({},s,Math.max(0,(e[s]||1)-1)));case u:return r({},e,o({},s,0));default:return e}};var i=t.SHOW="loading-bar/SHOW",a=t.HIDE="loading-bar/HIDE",u=t.RESET="loading-bar/RESET",l=t.DEFAULT_SCOPE="default"},function(e,t,n){"use strict";e.exports=n(87)},,function(e,t,n){"use strict";t.a={mobileStepper:1e3,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500}},function(e,t,n){var r=n(120),o=n(121),i=n(122);e.exports=function(e){return r(e)||o(e)||i()}},function(e,t,n){"use strict";function r(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(v,["_persist"]);if(p.type===u){var S=!1,O=function(t,n){S||(p.rehydrate(e.key,t,n),S=!0)};if(d&&setTimeout(function(){!S&&O(void 0,new Error('redux-persist: persist timed out for persist key "'+e.key+'"'))},d),w=!1,m||(m=h(e)),x)return c;if("function"!==typeof p.rehydrate||"function"!==typeof p.register)throw new Error("redux-persist: either rehydrate or register is not a function on the PERSIST action. This can happen if the action is being replayed. This is an unexplored use case, please open an issue and we will figure out a resolution.");return p.register(e.key),f(e).then(function(t){(e.migrate||function(e,t){return Promise.resolve(e)})(t,n).then(function(e){O(e)},function(e){O(void 0,e)})},function(e){O(void 0,e)}),b({},t(k,p),{_persist:{version:n,rehydrated:!1}})}if(p.type===l)return y=!0,p.result(function(e){var t=e.storage,n=""+(void 0!==e.keyPrefix?e.keyPrefix:r)+e.key;return t.removeItem(n,g)}(e)),b({},t(k,p),{_persist:x});if(p.type===o)return p.result(m&&m.flush()),b({},t(k,p),{_persist:x});if(p.type===a)w=!0;else if(p.type===i){if(y)return b({},k,{_persist:b({},x,{rehydrated:!0})});if(p.key===e.key){var C=t(k,p),T=p.payload,P=!1!==s&&void 0!==T?s(T,c,C,e):C,_=b({},P,{_persist:b({},x,{rehydrated:!0})});return E(_)}}if(!x)return t(c,p);var j=t(k,p);return j===k?c:(j._persist=x,E(j))}}var E=n(17);"function"===typeof Symbol&&Symbol.iterator,Object.assign;var k=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:O,t=arguments[1];switch(t.type){case s:return k({},e,{registry:[].concat(S(e.registry),[t.key])});case i:var n=e.registry.indexOf(t.key),r=[].concat(S(e.registry));return r.splice(n,1),k({},e,{registry:r,bootstrapped:0===r.length});default:return e}};function T(e,t,n){var r=n||!1,c=Object(E.d)(C,O,t?t.enhancer:void 0),f=function(e){c.dispatch({type:s,key:e})},d=function(t,n,o){var a={type:i,payload:n,err:o,key:t};e.dispatch(a),c.dispatch(a),r&&p.getState().bootstrapped&&(r(),r=!1)},p=k({},c,{purge:function(){var t=[];return e.dispatch({type:l,result:function(e){t.push(e)}}),Promise.all(t)},flush:function(){var t=[];return e.dispatch({type:o,result:function(e){t.push(e)}}),Promise.all(t)},pause:function(){e.dispatch({type:a})},persist:function(){e.dispatch({type:u,register:f,rehydrate:d})}});return p.persist(),p}n.d(t,"a",function(){return w}),n.d(t,"b",function(){return T})},function(e,t,n){"use strict";function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(l){o=!0,i=l}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}n.d(t,"a",function(){return r})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.showLoading=t.resetLoading=t.loadingBarReducer=t.loadingBarMiddleware=t.LoadingBar=t.ImmutableLoadingBar=t.hideLoading=void 0;var r=n(53),o=l(r),i=l(n(92)),a=n(38),u=l(n(93));function l(e){return e&&e.__esModule?e:{default:e}}t.hideLoading=a.hideLoading,t.ImmutableLoadingBar=u.default,t.LoadingBar=r.LoadingBar,t.loadingBarMiddleware=i.default,t.loadingBarReducer=a.loadingBarReducer,t.resetLoading=a.resetLoading,t.showLoading=a.showLoading,t.default=o.default},function(e,t,n){"use strict";n.d(t,"b",function(){return u}),n.d(t,"a",function(){return l});var r=n(1),o=n.n(r),i=n(2),a=n.n(i),u=["xs","sm","md","lg","xl"];function l(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:960,lg:1280,xl:1920}:t,r=e.unit,i=void 0===r?"px":r,l=e.step,s=void 0===l?5:l,c=a()(e,["values","unit","step"]);function f(e){var t="number"===typeof n[e]?n[e]:e;return"@media (min-width:".concat(t).concat(i,")")}function d(e,t){var r=u.indexOf(t)+1;return r===u.length?f(e):"@media (min-width:".concat(n[e]).concat(i,") and ")+"(max-width:".concat(n[u[r]]-s/100).concat(i,")")}return o()({keys:u,values:n,up:f,down:function(e){var t=u.indexOf(e)+1,r=n[u[t]];return t===u.length?f("xs"):"@media (max-width:".concat(("number"===typeof r&&t>0?r:e)-s/100).concat(i,")")},between:d,only:function(e){return d(e,e)},width:function(e){return n[e]}},c)}},function(e,t,n){"use strict";var r=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(o){return!1}}()?Object.assign:function(e,t){for(var n,a,u=function(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l0&&this.state.percent<=100}},{key:"buildStyle",value:function(){var e="stopping"===this.state.status?y:v,t="rtl"===this.props.direction?1:-1,n=(100-this.state.percent)*t,r={opacity:"1",transform:"translate3d("+n+"%, 0px, 0px)",msTransform:"translate3d("+n+"%, 0px, 0px)",WebkitTransform:"translate3d("+n+"%, 0px, 0px)",MozTransform:"translate3d("+n+"%, 0px, 0px)",OTransform:"translate3d("+n+"%, 0px, 0px)",transition:"transform "+e+"ms linear 0s",msTransition:"-ms-transform "+e+"ms linear 0s",WebkitTransition:"-webkit-transform "+e+"ms linear 0s",MozTransition:"-moz-transform "+e+"ms linear 0s",OTransition:"-o-transform "+e+"ms linear 0s",width:"100%",willChange:"transform, opacity"};return this.props.className||(r.height="3px",r.backgroundColor="red",r.position="absolute"),this.isShown()?r.opacity="1":r.opacity="0",o({},r,this.props.style)}},{key:"render",value:function(){return"hidden"===this.state.status?u.default.createElement("div",null):u.default.createElement("div",null,u.default.createElement("div",{style:this.buildStyle(),className:this.props.className}),u.default.createElement("div",{style:{display:"table",clear:"both"}}))}}],[{key:"shouldStart",value:function(e,t){return e.loading>0&&["hidden","stopping"].indexOf(t.status)>=0}},{key:"shouldStop",value:function(e,t){return 0===e.loading&&["starting","running"].indexOf(t.status)>=0}},{key:"getDerivedStateFromProps",value:function(e,n){return t.shouldStart(e,n)?{status:"starting"}:t.shouldStop(e,n)?{status:"stopping"}:null}}]),t}();b.propTypes={className:s.string,direction:s.string,loading:s.number,maxProgress:s.number,progressIncrease:s.number,scope:s.string,showFastActions:s.bool,style:s.object,updateTime:s.number},b.defaultProps={className:"",direction:"ltr",loading:0,maxProgress:h,progressIncrease:m,scope:f.DEFAULT_SCOPE,showFastActions:!1,style:{},updateTime:p};(0,l.polyfill)(b);var x=(0,c.connect)(function(e,t){return{loading:e.loadingBar[t.scope||f.DEFAULT_SCOPE]}})(b);t.LoadingBar=b,t.default=x},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(25);function o(e){for(var t=1;t=t.length?n(new u(h,x,new a(void 0,e[x]))):c(e[x],t[x],n,r,h,x,p);for(;x=0?(c(e[o],t[o],n,r,h,o,p),E=l(E,a)):c(e[o],void 0,n,r,h,o,p)}),E.forEach(function(e){c(void 0,t[e],n,r,h,e,p)})}p.length=p.length-1}else e!==t&&("number"===v&&isNaN(e)&&isNaN(t)||n(new o(h,e,t)))}function f(e,t,n,r){return r=r||[],c(e,t,function(e){e&&r.push(e)},n),r.length?r:void 0}function d(e,t,n){if(e&&t&&n&&n.kind){for(var r=e,o=-1,i=n.path?n.path.length-1:0;++o0&&void 0!==arguments[0]?arguments[0]:{},t=Object.assign({},T,e),n=t.logger,r=t.stateTransformer,o=t.errorTransformer,i=t.predicate,a=t.logErrors,u=t.diffPredicate;if("undefined"==typeof n)return function(){return function(e){return function(t){return e(t)}}};if(e.getState&&e.dispatch)return console.error("[redux-logger] redux-logger not installed. Make sure to pass logger instance as middleware:\n// Logger with default options\nimport { logger } from 'redux-logger'\nconst store = createStore(\n reducer,\n applyMiddleware(logger)\n)\n// Or you can create your own logger with custom options http://bit.ly/redux-logger-options\nimport createLogger from 'redux-logger'\nconst logger = createLogger({\n // ...options\n});\nconst store = createStore(\n reducer,\n applyMiddleware(logger)\n)\n"),function(){return function(e){return function(t){return e(t)}}};var l=[];return function(e){var n=e.getState;return function(e){return function(s){if("function"==typeof i&&!i(n,s))return e(s);var c={};l.push(c),c.started=E.now(),c.startedTime=new Date,c.prevState=r(n()),c.action=s;var f=void 0;if(a)try{f=e(s)}catch(e){c.error=o(e)}else f=e(s);c.took=E.now()-c.started,c.nextState=r(n());var d=t.diff&&"function"==typeof u?u(n,s):t.diff;if(v(l,Object.assign({},t,{diff:d})),l.length=0,c.error)throw c.error;return f}}}}var g,b,x=function(e,t){return function(e,t){return new Array(t+1).join(e)}("0",t-e.toString().length)+e},w=function(e){return x(e.getHours(),2)+":"+x(e.getMinutes(),2)+":"+x(e.getSeconds(),2)+"."+x(e.getMilliseconds(),3)},E="undefined"!=typeof performance&&null!==performance&&"function"==typeof performance.now?performance:Date,k="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=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:{},t=e.dispatch,n=e.getState;return"function"==typeof t||"function"==typeof n?y()({dispatch:t,getState:n}):void console.error("\n[redux-logger v3] BREAKING CHANGE\n[redux-logger v3] Since 3.0.0 redux-logger exports by default logger with default settings.\n[redux-logger v3] Change\n[redux-logger v3] import createLogger from 'redux-logger'\n[redux-logger v3] to\n[redux-logger v3] import { createLogger } from 'redux-logger'\n")};t.defaults=T,t.createLogger=y,t.logger=P,t.default=P,Object.defineProperty(t,"__esModule",{value:!0})}(t)}).call(this,n(35))},function(e,t,n){"use strict";function r(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(o){return"function"===typeof o?o(n,r,e):t(o)}}}}var o=r();o.withExtraArgument=r,t.a=o},function(e,t,n){e.exports=n(94)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",function(){return r})},function(e,t,n){"use strict";function r(e,t){for(var n=0;n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,"a",function(){return r})},function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}n.d(t,"a",function(){return o})},,,,,,function(e,t,n){"use strict";var r=n(52),o="function"===typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,a=o?Symbol.for("react.portal"):60106,u=o?Symbol.for("react.fragment"):60107,l=o?Symbol.for("react.strict_mode"):60108,s=o?Symbol.for("react.profiler"):60114,c=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,d=o?Symbol.for("react.concurrent_mode"):60111,p=o?Symbol.for("react.forward_ref"):60112,h=o?Symbol.for("react.suspense"):60113,m=o?Symbol.for("react.memo"):60115,v=o?Symbol.for("react.lazy"):60116,y="function"===typeof Symbol&&Symbol.iterator;function g(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;rN.length&&N.push(e)}function I(e,t,n){return null==e?0:function e(t,n,r,o){var u=typeof t;"undefined"!==u&&"boolean"!==u||(t=null);var l=!1;if(null===t)l=!0;else switch(u){case"string":case"number":l=!0;break;case"object":switch(t.$$typeof){case i:case a:l=!0}}if(l)return r(o,t,""===n?"."+D(t,0):n),1;if(l=0,n=""===n?".":n+":",Array.isArray(t))for(var s=0;sthis.eventPool.length&&this.eventPool.push(e)}function fe(e){e.eventPool=[],e.getPooled=se,e.release=ce}o(le.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=ae)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=ae)},persist:function(){this.isPersistent=ae},isPersistent:ue,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=ue,this._dispatchInstances=this._dispatchListeners=null}}),le.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},le.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var i=new t;return o(i,n.prototype),n.prototype=i,n.prototype.constructor=n,n.Interface=o({},r.Interface,e),n.extend=r.extend,fe(n),n},fe(le);var de=le.extend({data:null}),pe=le.extend({data:null}),he=[9,13,27,32],me=$&&"CompositionEvent"in window,ve=null;$&&"documentMode"in document&&(ve=document.documentMode);var ye=$&&"TextEvent"in window&&!ve,ge=$&&(!me||ve&&8=ve),be=String.fromCharCode(32),xe={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},we=!1;function Ee(e,t){switch(e){case"keyup":return-1!==he.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function ke(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Se=!1;var Oe={eventTypes:xe,extractEvents:function(e,t,n,r){var o=void 0,i=void 0;if(me)e:{switch(e){case"compositionstart":o=xe.compositionStart;break e;case"compositionend":o=xe.compositionEnd;break e;case"compositionupdate":o=xe.compositionUpdate;break e}o=void 0}else Se?Ee(e,n)&&(o=xe.compositionEnd):"keydown"===e&&229===n.keyCode&&(o=xe.compositionStart);return o?(ge&&"ko"!==n.locale&&(Se||o!==xe.compositionStart?o===xe.compositionEnd&&Se&&(i=ie()):(re="value"in(ne=r)?ne.value:ne.textContent,Se=!0)),o=de.getPooled(o,t,n,r),i?o.data=i:null!==(i=ke(n))&&(o.data=i),H(o),i=o):i=null,(e=ye?function(e,t){switch(e){case"compositionend":return ke(t);case"keypress":return 32!==t.which?null:(we=!0,be);case"textInput":return(e=t.data)===be&&we?null:e;default:return null}}(e,n):function(e,t){if(Se)return"compositionend"===e||!me&&Ee(e,t)?(e=ie(),oe=re=ne=null,Se=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1