UNPKG

genome-browser-hnd

Version:

<div id="top"></div> <!-- *** Thanks for checking out the Best-README-Template. If you have a suggestion *** that would make this better, please fork the repo and create a pull request *** or simply open an issue with the tag "enhancement". *** Don't forg

30 lines 546 kB
import*as e from"react";import t,{useLayoutEffect as n,useEffect as r,useMemo as o,useContext as i,useReducer as a,useRef as s,Children as u,isValidElement as c,cloneElement as l,useState as f,Fragment as d,useCallback as p,Component as h}from"react";import*as m from"react-dom";import v,{unstable_batchedUpdates as g}from"react-dom";import y from"http";import b from"https";import w from"url";import x from"stream";import E from"assert";import C from"tty";import S from"util";import k from"os";import R from"zlib";var _="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function O(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach((function(n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})})),t}var N={exports:{}},T={exports:{}},A={},I="function"==typeof Symbol&&Symbol.for,D=I?Symbol.for("react.element"):60103,M=I?Symbol.for("react.portal"):60106,P=I?Symbol.for("react.fragment"):60107,B=I?Symbol.for("react.strict_mode"):60108,j=I?Symbol.for("react.profiler"):60114,F=I?Symbol.for("react.provider"):60109,L=I?Symbol.for("react.context"):60110,z=I?Symbol.for("react.async_mode"):60111,U=I?Symbol.for("react.concurrent_mode"):60111,V=I?Symbol.for("react.forward_ref"):60112,q=I?Symbol.for("react.suspense"):60113,$=I?Symbol.for("react.suspense_list"):60120,W=I?Symbol.for("react.memo"):60115,H=I?Symbol.for("react.lazy"):60116,G=I?Symbol.for("react.block"):60121,Y=I?Symbol.for("react.fundamental"):60117,K=I?Symbol.for("react.responder"):60118,X=I?Symbol.for("react.scope"):60119;function Z(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case D:switch(e=e.type){case z:case U:case P:case j:case B:case q:return e;default:switch(e=e&&e.$$typeof){case L:case V:case H:case W:case F:return e;default:return t}}case M:return t}}}function J(e){return Z(e)===U}A.AsyncMode=z,A.ConcurrentMode=U,A.ContextConsumer=L,A.ContextProvider=F,A.Element=D,A.ForwardRef=V,A.Fragment=P,A.Lazy=H,A.Memo=W,A.Portal=M,A.Profiler=j,A.StrictMode=B,A.Suspense=q,A.isAsyncMode=function(e){return J(e)||Z(e)===z},A.isConcurrentMode=J,A.isContextConsumer=function(e){return Z(e)===L},A.isContextProvider=function(e){return Z(e)===F},A.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===D},A.isForwardRef=function(e){return Z(e)===V},A.isFragment=function(e){return Z(e)===P},A.isLazy=function(e){return Z(e)===H},A.isMemo=function(e){return Z(e)===W},A.isPortal=function(e){return Z(e)===M},A.isProfiler=function(e){return Z(e)===j},A.isStrictMode=function(e){return Z(e)===B},A.isSuspense=function(e){return Z(e)===q},A.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===P||e===U||e===j||e===B||e===q||e===$||"object"==typeof e&&null!==e&&(e.$$typeof===H||e.$$typeof===W||e.$$typeof===F||e.$$typeof===L||e.$$typeof===V||e.$$typeof===Y||e.$$typeof===K||e.$$typeof===X||e.$$typeof===G)},A.typeOf=Z;var Q={}; /** @license React v16.13.1 * react-is.development.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,l=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,g=e?Symbol.for("react.responder"):60118,y=e?Symbol.for("react.scope"):60119;function b(e){if("object"==typeof e&&null!==e){var d=e.$$typeof;switch(d){case t:var m=e.type;switch(m){case u:case c:case r:case i:case o:case f:return m;default:var v=m&&m.$$typeof;switch(v){case s:case l:case h:case p:case a:return v;default:return d}}case n:return d}}}var w=u,x=c,E=s,C=a,S=t,k=l,R=r,_=h,O=p,N=n,T=i,A=o,I=f,D=!1;function M(e){return b(e)===c}Q.AsyncMode=w,Q.ConcurrentMode=x,Q.ContextConsumer=E,Q.ContextProvider=C,Q.Element=S,Q.ForwardRef=k,Q.Fragment=R,Q.Lazy=_,Q.Memo=O,Q.Portal=N,Q.Profiler=T,Q.StrictMode=A,Q.Suspense=I,Q.isAsyncMode=function(e){return D||(D=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),M(e)||b(e)===u},Q.isConcurrentMode=M,Q.isContextConsumer=function(e){return b(e)===s},Q.isContextProvider=function(e){return b(e)===a},Q.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Q.isForwardRef=function(e){return b(e)===l},Q.isFragment=function(e){return b(e)===r},Q.isLazy=function(e){return b(e)===h},Q.isMemo=function(e){return b(e)===p},Q.isPortal=function(e){return b(e)===n},Q.isProfiler=function(e){return b(e)===i},Q.isStrictMode=function(e){return b(e)===o},Q.isSuspense=function(e){return b(e)===f},Q.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===i||e===o||e===f||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===p||e.$$typeof===a||e.$$typeof===s||e.$$typeof===l||e.$$typeof===v||e.$$typeof===g||e.$$typeof===y||e.$$typeof===m)},Q.typeOf=b}(),"production"===process.env.NODE_ENV?T.exports=A:T.exports=Q /* object-assign (c) Sindre Sorhus @license MIT */;var ee=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable;function re(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var oe=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,r,o=re(e),i=1;i<arguments.length;i++){for(var a in n=Object(arguments[i]))te.call(n,a)&&(o[a]=n[a]);if(ee){r=ee(n);for(var s=0;s<r.length;s++)ne.call(n,r[s])&&(o[r[s]]=n[r[s]])}}return o},ie="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",ae=function(){};if("production"!==process.env.NODE_ENV){var se=ie,ue={},ce=Function.call.bind(Object.prototype.hasOwnProperty);ae=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function le(e,t,n,r,o){if("production"!==process.env.NODE_ENV)for(var i in e)if(ce(e,i)){var a;try{if("function"!=typeof e[i]){var s=Error((r||"React class")+": "+n+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.");throw s.name="Invariant Violation",s}a=e[i](t,i,r,n,null,se)}catch(e){a=e}if(!a||a instanceof Error||ae((r||"React class")+": type specification of "+n+" `"+i+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof a+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),a instanceof Error&&!(a.message in ue)){ue[a.message]=!0;var u=o?o():"";ae("Failed "+n+" type: "+a.message+(null!=u?u:""))}}}le.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(ue={})};var fe=le,de=T.exports,pe=oe,he=ie,me=fe,ve=Function.call.bind(Object.prototype.hasOwnProperty),ge=function(){};function ye(){return null}"production"!==process.env.NODE_ENV&&(ge=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}});function be(){}function we(){}we.resetWarningCache=be;if("production"!==process.env.NODE_ENV){var xe=T.exports;N.exports=function(e,t){var n="function"==typeof Symbol&&Symbol.iterator;var r={array:s("array"),bool:s("boolean"),func:s("function"),number:s("number"),object:s("object"),string:s("string"),symbol:s("symbol"),any:a(ye),arrayOf:function(e){return a((function(t,n,r,o,a){if("function"!=typeof e)return new i("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s))return new i("Invalid "+o+" `"+a+"` of type `"+c(s)+"` supplied to `"+r+"`, expected an array.");for(var u=0;u<s.length;u++){var l=e(s,u,r,o,a+"["+u+"]",he);if(l instanceof Error)return l}return null}))},element:a((function(t,n,r,o,a){var s=t[n];return e(s)?null:new i("Invalid "+o+" `"+a+"` of type `"+c(s)+"` supplied to `"+r+"`, expected a single ReactElement.")})),elementType:a((function(e,t,n,r,o){var a=e[t];return de.isValidElementType(a)?null:new i("Invalid "+r+" `"+o+"` of type `"+c(a)+"` supplied to `"+n+"`, expected a single ReactElement type.")})),instanceOf:function(e){return a((function(t,n,r,o,a){if(!(t[n]instanceof e)){var s=e.name||"<<anonymous>>";return new i("Invalid "+o+" `"+a+"` of type `"+function(e){if(!e.constructor||!e.constructor.name)return"<<anonymous>>";return e.constructor.name}(t[n])+"` supplied to `"+r+"`, expected instance of `"+s+"`.")}return null}))},node:a((function(e,t,n,r,o){return u(e[t])?null:new i("Invalid "+r+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return a((function(t,n,r,o,a){if("function"!=typeof e)return new i("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var s=t[n],u=c(s);if("object"!==u)return new i("Invalid "+o+" `"+a+"` of type `"+u+"` supplied to `"+r+"`, expected an object.");for(var l in s)if(ve(s,l)){var f=e(s,l,r,o,a+"."+l,he);if(f instanceof Error)return f}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&ge(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),ye;function t(t,n,r,a,s){for(var u=t[n],c=0;c<e.length;c++)if(o(u,e[c]))return null;var f=JSON.stringify(e,(function(e,t){return"symbol"===l(t)?String(t):t}));return new i("Invalid "+a+" `"+s+"` of value `"+String(u)+"` supplied to `"+r+"`, expected one of "+f+".")}return a(t)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&ge("Invalid argument supplied to oneOfType, expected an instance of array."),ye;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return ge("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+f(n)+" at index "+t+"."),ye}return a((function(t,n,r,o,a){for(var s=0;s<e.length;s++){if(null==(0,e[s])(t,n,r,o,a,he))return null}return new i("Invalid "+o+" `"+a+"` supplied to `"+r+"`.")}))},shape:function(e){return a((function(t,n,r,o,a){var s=t[n],u=c(s);if("object"!==u)return new i("Invalid "+o+" `"+a+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");for(var l in e){var f=e[l];if(f){var d=f(s,l,r,o,a+"."+l,he);if(d)return d}}return null}))},exact:function(e){return a((function(t,n,r,o,a){var s=t[n],u=c(s);if("object"!==u)return new i("Invalid "+o+" `"+a+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");var l=pe({},t[n],e);for(var f in l){var d=e[f];if(!d)return new i("Invalid "+o+" `"+a+"` key `"+f+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var p=d(s,f,r,o,a+"."+f,he);if(p)return p}return null}))}};function o(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function i(e){this.message=e,this.stack=""}function a(e){if("production"!==process.env.NODE_ENV)var n={},r=0;function o(o,a,s,u,c,l,f){if(u=u||"<<anonymous>>",l=l||s,f!==he){if(t){var d=new Error("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");throw d.name="Invariant Violation",d}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var p=u+":"+s;!n[p]&&r<3&&(ge("You are manually calling a React.PropTypes validation function for the `"+l+"` prop on `"+u+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),n[p]=!0,r++)}}return null==a[s]?o?null===a[s]?new i("The "+c+" `"+l+"` is marked as required in `"+u+"`, but its value is `null`."):new i("The "+c+" `"+l+"` is marked as required in `"+u+"`, but its value is `undefined`."):null:e(a,s,u,c,l)}var a=o.bind(null,!1);return a.isRequired=o.bind(null,!0),a}function s(e){return a((function(t,n,r,o,a,s){var u=t[n];return c(u)!==e?new i("Invalid "+o+" `"+a+"` of type `"+l(u)+"` supplied to `"+r+"`, expected `"+e+"`."):null}))}function u(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(u);if(null===t||e(t))return!0;var r=function(e){var t=e&&(n&&e[n]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(!r)return!1;var o,i=r.call(t);if(r!==t.entries){for(;!(o=i.next()).done;)if(!u(o.value))return!1}else for(;!(o=i.next()).done;){var a=o.value;if(a&&!u(a[1]))return!1}return!0;default:return!1}}function c(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function l(e){if(null==e)return""+e;var t=c(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function f(e){var t=l(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return i.prototype=Error.prototype,r.checkPropTypes=me,r.resetWarningCache=me.resetWarningCache,r.PropTypes=r,r}(xe.isElement,!0)}else N.exports=function(){function e(e,t,n,r,o,i){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==i){var a=new Error("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");throw a.name="Invariant Violation",a}}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,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:we,resetWarningCache:be};return n.PropTypes=n,n}();var Ee=N.exports,Ce=t.createContext(null);"production"!==process.env.NODE_ENV&&(Ce.displayName="ReactRedux");var Se=function(e){e()},ke=function(){return Se};var Re={notify:function(){},get:function(){return[]}};function _e(e,t){var n,r=Re;function o(){a.onStateChange&&a.onStateChange()}function i(){n||(n=t?t.addNestedSub(o):e.subscribe(o),r=function(){var e=ke(),t=null,n=null;return{clear:function(){t=null,n=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],n=t;n;)e.push(n),n=n.next;return e},subscribe:function(e){var r=!0,o=n={callback:e,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){r&&null!==t&&(r=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}())}var a={addNestedSub:function(e){return i(),r.subscribe(e)},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:o,isSubscribed:function(){return Boolean(n)},trySubscribe:i,tryUnsubscribe:function(){n&&(n(),n=void 0,r.clear(),r=Re)},getListeners:function(){return r}};return a}var Oe="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?n:r;function Ne(e){var n=e.store,r=e.context,i=e.children,a=o((function(){var e=_e(n);return e.onStateChange=e.notifyNestedSubs,{store:n,subscription:e}}),[n]),s=o((function(){return n.getState()}),[n]);Oe((function(){var e=a.subscription;return e.trySubscribe(),s!==n.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[a,s]);var u=r||Ce;return t.createElement(u.Provider,{value:a},i)}function Te(){return(Te=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}).apply(this,arguments)}function Ae(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}"production"!==process.env.NODE_ENV&&(Ne.propTypes={store:Ee.shape({subscribe:Ee.func.isRequired,dispatch:Ee.func.isRequired,getState:Ee.func.isRequired}),context:Ee.object,children:Ee.any});var Ie={exports:{}},De={},Me="function"==typeof Symbol&&Symbol.for,Pe=Me?Symbol.for("react.element"):60103,Be=Me?Symbol.for("react.portal"):60106,je=Me?Symbol.for("react.fragment"):60107,Fe=Me?Symbol.for("react.strict_mode"):60108,Le=Me?Symbol.for("react.profiler"):60114,ze=Me?Symbol.for("react.provider"):60109,Ue=Me?Symbol.for("react.context"):60110,Ve=Me?Symbol.for("react.async_mode"):60111,qe=Me?Symbol.for("react.concurrent_mode"):60111,$e=Me?Symbol.for("react.forward_ref"):60112,We=Me?Symbol.for("react.suspense"):60113,He=Me?Symbol.for("react.suspense_list"):60120,Ge=Me?Symbol.for("react.memo"):60115,Ye=Me?Symbol.for("react.lazy"):60116,Ke=Me?Symbol.for("react.block"):60121,Xe=Me?Symbol.for("react.fundamental"):60117,Ze=Me?Symbol.for("react.responder"):60118,Je=Me?Symbol.for("react.scope"):60119;function Qe(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Pe:switch(e=e.type){case Ve:case qe:case je:case Le:case Fe:case We:return e;default:switch(e=e&&e.$$typeof){case Ue:case $e:case Ye:case Ge:case ze:return e;default:return t}}case Be:return t}}}function et(e){return Qe(e)===qe}De.AsyncMode=Ve,De.ConcurrentMode=qe,De.ContextConsumer=Ue,De.ContextProvider=ze,De.Element=Pe,De.ForwardRef=$e,De.Fragment=je,De.Lazy=Ye,De.Memo=Ge,De.Portal=Be,De.Profiler=Le,De.StrictMode=Fe,De.Suspense=We,De.isAsyncMode=function(e){return et(e)||Qe(e)===Ve},De.isConcurrentMode=et,De.isContextConsumer=function(e){return Qe(e)===Ue},De.isContextProvider=function(e){return Qe(e)===ze},De.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Pe},De.isForwardRef=function(e){return Qe(e)===$e},De.isFragment=function(e){return Qe(e)===je},De.isLazy=function(e){return Qe(e)===Ye},De.isMemo=function(e){return Qe(e)===Ge},De.isPortal=function(e){return Qe(e)===Be},De.isProfiler=function(e){return Qe(e)===Le},De.isStrictMode=function(e){return Qe(e)===Fe},De.isSuspense=function(e){return Qe(e)===We},De.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===je||e===qe||e===Le||e===Fe||e===We||e===He||"object"==typeof e&&null!==e&&(e.$$typeof===Ye||e.$$typeof===Ge||e.$$typeof===ze||e.$$typeof===Ue||e.$$typeof===$e||e.$$typeof===Xe||e.$$typeof===Ze||e.$$typeof===Je||e.$$typeof===Ke)},De.typeOf=Qe;var tt={}; /** @license React v16.13.1 * react-is.development.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,l=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,g=e?Symbol.for("react.responder"):60118,y=e?Symbol.for("react.scope"):60119;function b(e){if("object"==typeof e&&null!==e){var d=e.$$typeof;switch(d){case t:var m=e.type;switch(m){case u:case c:case r:case i:case o:case f:return m;default:var v=m&&m.$$typeof;switch(v){case s:case l:case h:case p:case a:return v;default:return d}}case n:return d}}}var w=u,x=c,E=s,C=a,S=t,k=l,R=r,_=h,O=p,N=n,T=i,A=o,I=f,D=!1;function M(e){return b(e)===c}tt.AsyncMode=w,tt.ConcurrentMode=x,tt.ContextConsumer=E,tt.ContextProvider=C,tt.Element=S,tt.ForwardRef=k,tt.Fragment=R,tt.Lazy=_,tt.Memo=O,tt.Portal=N,tt.Profiler=T,tt.StrictMode=A,tt.Suspense=I,tt.isAsyncMode=function(e){return D||(D=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),M(e)||b(e)===u},tt.isConcurrentMode=M,tt.isContextConsumer=function(e){return b(e)===s},tt.isContextProvider=function(e){return b(e)===a},tt.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},tt.isForwardRef=function(e){return b(e)===l},tt.isFragment=function(e){return b(e)===r},tt.isLazy=function(e){return b(e)===h},tt.isMemo=function(e){return b(e)===p},tt.isPortal=function(e){return b(e)===n},tt.isProfiler=function(e){return b(e)===i},tt.isStrictMode=function(e){return b(e)===o},tt.isSuspense=function(e){return b(e)===f},tt.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===i||e===o||e===f||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===p||e.$$typeof===a||e.$$typeof===s||e.$$typeof===l||e.$$typeof===v||e.$$typeof===g||e.$$typeof===y||e.$$typeof===m)},tt.typeOf=b}(),"production"===process.env.NODE_ENV?Ie.exports=De:Ie.exports=tt;var nt=Ie.exports,rt={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},ot={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},it={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},at={};function st(e){return nt.isMemo(e)?it:at[e.$$typeof]||rt}at[nt.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},at[nt.Memo]=it;var ut=Object.defineProperty,ct=Object.getOwnPropertyNames,lt=Object.getOwnPropertySymbols,ft=Object.getOwnPropertyDescriptor,dt=Object.getPrototypeOf,pt=Object.prototype;var ht=function e(t,n,r){if("string"!=typeof n){if(pt){var o=dt(n);o&&o!==pt&&e(t,o,r)}var i=ct(n);lt&&(i=i.concat(lt(n)));for(var a=st(t),s=st(n),u=0;u<i.length;++u){var c=i[u];if(!(ot[c]||r&&r[c]||s&&s[c]||a&&a[c])){var l=ft(n,c);try{ut(t,c,l)}catch(e){}}}}return t},mt={exports:{}},vt={},gt=60103,yt=60106,bt=60107,wt=60108,xt=60114,Et=60109,Ct=60110,St=60112,kt=60113,Rt=60120,_t=60115,Ot=60116,Nt=60121,Tt=60122,At=60117,It=60129,Dt=60131;if("function"==typeof Symbol&&Symbol.for){var Mt=Symbol.for;gt=Mt("react.element"),yt=Mt("react.portal"),bt=Mt("react.fragment"),wt=Mt("react.strict_mode"),xt=Mt("react.profiler"),Et=Mt("react.provider"),Ct=Mt("react.context"),St=Mt("react.forward_ref"),kt=Mt("react.suspense"),Rt=Mt("react.suspense_list"),_t=Mt("react.memo"),Ot=Mt("react.lazy"),Nt=Mt("react.block"),Tt=Mt("react.server.block"),At=Mt("react.fundamental"),It=Mt("react.debug_trace_mode"),Dt=Mt("react.legacy_hidden")}function Pt(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case gt:switch(e=e.type){case bt:case xt:case wt:case kt:case Rt:return e;default:switch(e=e&&e.$$typeof){case Ct:case St:case Ot:case _t:case Et:return e;default:return t}}case yt:return t}}}var Bt=Et,jt=gt,Ft=St,Lt=bt,zt=Ot,Ut=_t,Vt=yt,qt=xt,$t=wt,Wt=kt;vt.ContextConsumer=Ct,vt.ContextProvider=Bt,vt.Element=jt,vt.ForwardRef=Ft,vt.Fragment=Lt,vt.Lazy=zt,vt.Memo=Ut,vt.Portal=Vt,vt.Profiler=qt,vt.StrictMode=$t,vt.Suspense=Wt,vt.isAsyncMode=function(){return!1},vt.isConcurrentMode=function(){return!1},vt.isContextConsumer=function(e){return Pt(e)===Ct},vt.isContextProvider=function(e){return Pt(e)===Et},vt.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===gt},vt.isForwardRef=function(e){return Pt(e)===St},vt.isFragment=function(e){return Pt(e)===bt},vt.isLazy=function(e){return Pt(e)===Ot},vt.isMemo=function(e){return Pt(e)===_t},vt.isPortal=function(e){return Pt(e)===yt},vt.isProfiler=function(e){return Pt(e)===xt},vt.isStrictMode=function(e){return Pt(e)===wt},vt.isSuspense=function(e){return Pt(e)===kt},vt.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===bt||e===xt||e===It||e===wt||e===kt||e===Rt||e===Dt||"object"==typeof e&&null!==e&&(e.$$typeof===Ot||e.$$typeof===_t||e.$$typeof===Et||e.$$typeof===Ct||e.$$typeof===St||e.$$typeof===At||e.$$typeof===Nt||e[0]===Tt)},vt.typeOf=Pt;var Ht={}; /** @license React v17.0.2 * react-is.development.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */"production"!==process.env.NODE_ENV&&function(){var e=60103,t=60106,n=60107,r=60108,o=60114,i=60109,a=60110,s=60112,u=60113,c=60120,l=60115,f=60116,d=60121,p=60122,h=60117,m=60129,v=60131;if("function"==typeof Symbol&&Symbol.for){var g=Symbol.for;e=g("react.element"),t=g("react.portal"),n=g("react.fragment"),r=g("react.strict_mode"),o=g("react.profiler"),i=g("react.provider"),a=g("react.context"),s=g("react.forward_ref"),u=g("react.suspense"),c=g("react.suspense_list"),l=g("react.memo"),f=g("react.lazy"),d=g("react.block"),p=g("react.server.block"),h=g("react.fundamental"),g("react.scope"),g("react.opaque.id"),m=g("react.debug_trace_mode"),g("react.offscreen"),v=g("react.legacy_hidden")}function y(d){if("object"==typeof d&&null!==d){var p=d.$$typeof;switch(p){case e:var h=d.type;switch(h){case n:case o:case r:case u:case c:return h;default:var m=h&&h.$$typeof;switch(m){case a:case s:case f:case l:case i:return m;default:return p}}case t:return p}}}var b=a,w=i,x=e,E=s,C=n,S=f,k=l,R=t,_=o,O=r,N=u,T=!1,A=!1;Ht.ContextConsumer=b,Ht.ContextProvider=w,Ht.Element=x,Ht.ForwardRef=E,Ht.Fragment=C,Ht.Lazy=S,Ht.Memo=k,Ht.Portal=R,Ht.Profiler=_,Ht.StrictMode=O,Ht.Suspense=N,Ht.isAsyncMode=function(e){return T||(T=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1},Ht.isConcurrentMode=function(e){return A||(A=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1},Ht.isContextConsumer=function(e){return y(e)===a},Ht.isContextProvider=function(e){return y(e)===i},Ht.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===e},Ht.isForwardRef=function(e){return y(e)===s},Ht.isFragment=function(e){return y(e)===n},Ht.isLazy=function(e){return y(e)===f},Ht.isMemo=function(e){return y(e)===l},Ht.isPortal=function(e){return y(e)===t},Ht.isProfiler=function(e){return y(e)===o},Ht.isStrictMode=function(e){return y(e)===r},Ht.isSuspense=function(e){return y(e)===u},Ht.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||(e===n||e===o||e===m||e===r||e===u||e===c||e===v||"object"==typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===l||e.$$typeof===i||e.$$typeof===a||e.$$typeof===s||e.$$typeof===h||e.$$typeof===d||e[0]===p))},Ht.typeOf=y}(),"production"===process.env.NODE_ENV?mt.exports=vt:mt.exports=Ht;var Gt=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],Yt=["reactReduxForwardedRef"],Kt=[],Xt=[null,null];function Zt(e,t){var n=e[1];return[t.payload,n+1]}function Jt(e,t,n){Oe((function(){return e.apply(void 0,t)}),n)}function Qt(e,t,n,r,o,i,a){e.current=r,t.current=o,n.current=!1,i.current&&(i.current=null,a())}function en(e,t,n,r,o,i,a,s,u,c){if(e){var l=!1,f=null,d=function(){if(!l){var e,n,d=t.getState();try{e=r(d,o.current)}catch(e){n=e,f=e}n||(f=null),e===i.current?a.current||u():(i.current=e,s.current=e,a.current=!0,c({type:"STORE_UPDATED",payload:{error:n}}))}};n.onStateChange=d,n.trySubscribe(),d();return function(){if(l=!0,n.tryUnsubscribe(),n.onStateChange=null,f)throw f}}}var tn=function(){return[null,0]};function nn(e,n){void 0===n&&(n={});var r=n,u=r.getDisplayName,c=void 0===u?function(e){return"ConnectAdvanced("+e+")"}:u,l=r.methodName,f=void 0===l?"connectAdvanced":l,d=r.renderCountProp,p=void 0===d?void 0:d,h=r.shouldHandleStateChanges,m=void 0===h||h,v=r.storeKey,g=void 0===v?"store":v,y=r.withRef,b=void 0!==y&&y,w=r.forwardRef,x=void 0!==w&&w,E=r.context,C=void 0===E?Ce:E,S=Ae(r,Gt);if("production"!==process.env.NODE_ENV){if(void 0!==p)throw new Error("renderCountProp is removed. render counting is built into the latest React Dev Tools profiling extension");if(b)throw new Error("withRef is removed. To access the wrapped instance, use a ref on the connected component");if("store"!==g)throw new Error("storeKey has been removed and does not do anything. To use a custom Redux store for specific components, create a custom React context with React.createContext(), and pass the context object to React Redux's Provider and specific components like: <Provider context={MyContext}><ConnectedComponent context={MyContext} /></Provider>. You may also pass a {context : MyContext} option to connect")}var k=C;return function(n){if("production"!==process.env.NODE_ENV&&!mt.exports.isValidElementType(n))throw new Error("You must pass a component to the function returned by "+f+". Instead received "+function(e){try{return JSON.stringify(e)}catch(t){return String(e)}}(n));var r=n.displayName||n.name||"Component",u=c(r),l=Te({},S,{getDisplayName:c,methodName:f,renderCountProp:p,shouldHandleStateChanges:m,storeKey:g,displayName:u,wrappedComponentName:r,WrappedComponent:n}),d=S.pure;var h=d?o:function(e){return e()};function v(r){var c=o((function(){var e=r.reactReduxForwardedRef,t=Ae(r,Yt);return[r.context,e,t]}),[r]),f=c[0],d=c[1],p=c[2],v=o((function(){return f&&f.Consumer&&mt.exports.isContextConsumer(t.createElement(f.Consumer,null))?f:k}),[f,k]),g=i(v),y=Boolean(r.store)&&Boolean(r.store.getState)&&Boolean(r.store.dispatch),b=Boolean(g)&&Boolean(g.store);if("production"!==process.env.NODE_ENV&&!y&&!b)throw new Error('Could not find "store" in the context of "'+u+'". Either wrap the root component in a <Provider>, or pass a custom React context provider to <Provider> and the corresponding React context consumer to '+u+" in connect options.");var w=y?r.store:g.store,x=o((function(){return function(t){return e(t.dispatch,l)}(w)}),[w]),E=o((function(){if(!m)return Xt;var e=_e(w,y?null:g.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[w,y,g]),C=E[0],S=E[1],R=o((function(){return y?g:Te({},g,{subscription:C})}),[y,g,C]),_=a(Zt,Kt,tn),O=_[0][0],N=_[1];if(O&&O.error)throw O.error;var T=s(),A=s(p),I=s(),D=s(!1),M=h((function(){return I.current&&p===A.current?I.current:x(w.getState(),p)}),[w,O,p]);Jt(Qt,[A,T,D,p,M,I,S]),Jt(en,[m,w,C,x,A,T,D,I,S,N],[w,C,x]);var P=o((function(){return t.createElement(n,Te({},M,{ref:d}))}),[d,n,M]);return o((function(){return m?t.createElement(v.Provider,{value:R},P):P}),[v,P,R])}var y=d?t.memo(v):v;if(y.WrappedComponent=n,y.displayName=v.displayName=u,x){var b=t.forwardRef((function(e,n){return t.createElement(y,Te({},e,{reactReduxForwardedRef:n}))}));return b.displayName=u,b.WrappedComponent=n,ht(b,n)}return ht(y,n)}}function rn(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function on(e,t){if(rn(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<n.length;o++)if(!Object.prototype.hasOwnProperty.call(t,n[o])||!rn(e[n[o]],t[n[o]]))return!1;return!0}function an(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e);try{throw new Error(e)}catch(e){}}function sn(e,t,n){(function(e){if("object"!=typeof e||null===e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;for(var n=t;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return t===n})(e)||an(n+"() in "+t+" must return a plain object. Instead received "+e+".")}function un(e){return function(t,n){var r=e(t,n);function o(){return r}return o.dependsOnOwnProps=!1,o}}function cn(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function ln(e,t){return function(n,r){var o=r.displayName,i=function(e,t){return i.dependsOnOwnProps?i.mapToProps(e,t):i.mapToProps(e)};return i.dependsOnOwnProps=!0,i.mapToProps=function(n,r){i.mapToProps=e,i.dependsOnOwnProps=cn(e);var a=i(n,r);return"function"==typeof a&&(i.mapToProps=a,i.dependsOnOwnProps=cn(a),a=i(n,r)),"production"!==process.env.NODE_ENV&&sn(a,o,t),a},i}}var fn=[function(e){return"function"==typeof e?ln(e,"mapDispatchToProps"):void 0},function(e){return e?void 0:un((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?un((function(t){return function(e,t){var n={},r=function(r){var o=e[r];"function"==typeof o&&(n[r]=function(){return t(o.apply(void 0,arguments))})};for(var o in e)r(o);return n}(e,t)})):void 0}];var dn=[function(e){return"function"==typeof e?ln(e,"mapStateToProps"):void 0},function(e){return e?void 0:un((function(){return{}}))}];function pn(e,t,n){return Te({},n,e,t)}var hn=[function(e){return"function"==typeof e?function(e){return function(t,n){var r,o=n.displayName,i=n.pure,a=n.areMergedPropsEqual,s=!1;return function(t,n,u){var c=e(t,n,u);return s?i&&a(c,r)||(r=c):(s=!0,r=c,"production"!==process.env.NODE_ENV&&sn(r,o,"mergeProps")),r}}}(e):void 0},function(e){return e?void 0:function(){return pn}}];function mn(e,t,n){if(!e)throw new Error("Unexpected value for "+t+" in "+n+".");"mapStateToProps"!==t&&"mapDispatchToProps"!==t||Object.prototype.hasOwnProperty.call(e,"dependsOnOwnProps")||an("The selector for "+t+" of "+n+" did not specify a value for dependsOnOwnProps.")}var vn=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function gn(e,t,n,r){return function(o,i){return n(e(o,i),t(r,i),i)}}function yn(e,t,n,r,o){var i,a,s,u,c,l=o.areStatesEqual,f=o.areOwnPropsEqual,d=o.areStatePropsEqual,p=!1;function h(o,p){var h,m,v=!f(p,a),g=!l(o,i);return i=o,a=p,v&&g?(s=e(i,a),t.dependsOnOwnProps&&(u=t(r,a)),c=n(s,u,a)):v?(e.dependsOnOwnProps&&(s=e(i,a)),t.dependsOnOwnProps&&(u=t(r,a)),c=n(s,u,a)):g?(h=e(i,a),m=!d(h,s),s=h,m&&(c=n(s,u,a)),c):c}return function(o,l){return p?h(o,l):(s=e(i=o,a=l),u=t(r,a),c=n(s,u,a),p=!0,c)}}function bn(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,o=t.initMergeProps,i=Ae(t,vn),a=n(e,i),s=r(e,i),u=o(e,i);return"production"!==process.env.NODE_ENV&&function(e,t,n,r){mn(e,"mapStateToProps",r),mn(t,"mapDispatchToProps",r),mn(n,"mergeProps",r)}(a,s,u,i.displayName),(i.pure?yn:gn)(a,s,u,e,i)}var wn=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function xn(e,t,n){for(var r=t.length-1;r>=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 En(e,t){return e===t}function Cn(e){var t=void 0===e?{}:e,n=t.connectHOC,r=void 0===n?nn:n,o=t.mapStateToPropsFactories,i=void 0===o?dn:o,a=t.mapDispatchToPropsFactories,s=void 0===a?fn:a,u=t.mergePropsFactories,c=void 0===u?hn:u,l=t.selectorFactory,f=void 0===l?bn:l;return function(e,t,n,o){void 0===o&&(o={});var a=o,u=a.pure,l=void 0===u||u,d=a.areStatesEqual,p=void 0===d?En:d,h=a.areOwnPropsEqual,m=void 0===h?on:h,v=a.areStatePropsEqual,g=void 0===v?on:v,y=a.areMergedPropsEqual,b=void 0===y?on:y,w=Ae(a,wn),x=xn(e,i,"mapStateToProps"),E=xn(t,s,"mapDispatchToProps"),C=xn(n,c,"mergeProps");return r(f,Te({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:x,initMapDispatchToProps:E,initMergeProps:C,pure:l,areStatesEqual:p,areOwnPropsEqual:m,areStatePropsEqual:g,areMergedPropsEqual:b},w))}}var Sn=Cn();Se=g;var kn={black:"#000",white:"#fff"},Rn={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"},_n={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"},On={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"},Nn={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Tn={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},An={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},In={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"};function Dn(e,t){return"production"===process.env.NODE_ENV?function(){return null}:function(){return e.apply(void 0,arguments)||t.apply(void 0,arguments)}}function Mn(e){return(Mn="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})(e)}function Pn(e){return e&&"object"===Mn(e)&&e.constructor===Object}function Bn(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},r=n.clone?Te({},e):e;return Pn(e)&&Pn(t)&&Object.keys(t).forEach((function(o){"__proto__"!==o&&(Pn(t[o])&&o in e?r[o]=Bn(e[o],t[o],n):r[o]=t[o])})),r}function jn(e,t,n,r,o){var i,a=e[t],s=o||t;if(null==a)return null;var u=a.type;return"function"!=typeof u||function(e){var t=e.prototype;return Boolean((void 0===t?{}:t).isReactComponent)}(u)||(i="Did you accidentally use a plain function component for an element instead?"),void 0!==i?new Error("Invalid ".concat(r," `").concat(s,"` supplied to `").concat(n,"`. ")+"Expected an element that can hold a ref. ".concat(i," ")+"For more information see https://material-ui.com/r/caveat-with-refs-guide"):null}var Fn=Dn(Ee.element,jn);Fn.isRequired=Dn(Ee.element.isRequired,jn);var Ln=Fn;var zn=Dn(N.exports.elementType,(function(e,t,n,r,o){var i,a,s=e[t],u=o||t;return null==s?null:("function"!=typeof s||(a=s.prototype,Boolean((void 0===a?{}:a).isReactComponent))||(i="Did you accidentally provide a plain function component instead?"),void 0!==i?new Error("Invalid ".concat(r," `").concat(u,"` supplied to `").concat(n,"`. ")+"Expected an element type that can hold a ref. ".concat(i," ")+"For more information see https://material-ui.com/r/caveat-with-refs-guide"):null)}));function Un(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vn(e){return"production"===process.env.NODE_ENV?e:Te({},e,Un({},"exact-prop: ​",(function(t){var n=Object.keys(t).filter((function(t){return!e.hasOwnProperty(t)}));return n.length>0?new Error("The following props are not supported: ".concat(n.map((function(e){return"`".concat(e,"`")})).join(", "),". Please remove them.")):null})))}function qn(e){for(var t="https://material-ui.com/production-error/?code="+e,n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified Material-UI error #"+e+"; visit "+t+" for the full message."}var $n=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function Wn(e){var t="".concat(e).match($n);return t&&t[1]||""}function Hn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e.displayName||e.name||Wn(e)||t}function Gn(e,t,n){var r=Hn(t);return e.displayName||(""!==r?"".concat(n,"(").concat(r,")"):n)}function Yn(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return Hn(e,"Component");if("object"===Mn(e))switch(e.$$typeof){case mt.exports.ForwardRef:return Gn(e,e.render,"ForwardRef");case mt.exports.Memo:return Gn(e,e.type,"memo");default:return}}}function Kn(e,t,n,r,o){if("production"===process.env.NODE_ENV)return null;var i=e[t],a=o||t;return null==i?null:i&&1!==i.nodeType?new Error("Invalid ".concat(r," `").concat(a,"` supplied to `").concat(n,"`. ")+"Expected an HTMLElement."):null}var Xn=Ee.oneOfType([Ee.func,Ee.object]);function Zn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return"production"!==process.env.NODE_ENV&&(e<t||e>n)&&console.error("Material-UI: The value provided ".concat(e," is out of range [").concat(t,", ").concat(n,"].")),Math.min(Math.max(t,e),n)}function Jn(e){if(e.type)return e;if("#"===e.charAt(0))return Jn(function(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error("production"!==process.env.NODE_ENV?"Material-UI: Unsupported `".concat(e,"` color.\nWe support the following formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()."):qn(3,e));var r=e.substring(t+1,e.length-1).split(",");return{type:n,values:r=r.map((function(e){return parseFloat(e)}))}}function Qn(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 er(e,t){var n=tr(e),r=tr(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function tr(e){var t="hsl"===(e=Jn(e)).type?Jn(function(e){var t=(e=Jn(e)).values,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return o-i*Math.max(Math.min(t-3,9-t,1),-1)},s="rgb",u=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",u.push(t[3])),Qn({type:s,values:u})}(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 nr(e,t){return e=Jn(e),t=Zn(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,Qn(e)}function rr(e,t){if(null==e)return{};var n,r,o=Ae(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var or=["xs","sm","md","lg","xl"];function ir(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:960,lg:1280,xl:1920}:t,r=e.unit,o=void 0===r?"px":r,i=e.step,a=void 0===i?5:i,s=rr(e,["values","unit","step"]);function u(e){var t="number"==typeof n[e]?n[e]:e;return"@media (min-width:".concat(t).concat(o,")")}function c(e,t){var r=or.indexOf(t);return r===or.length-1?u(e):"@media (min-width:".concat("number"==typeof n[e]?n[e]:e).concat(o,") and ")+"(max-width:".concat((-1!==r&&"number"==typeof n[or[r+1]]?n[or[r+1]]:t)-a/100).concat(o,")")}var l=!1;return Te({keys:or,values:n,up:u,down:function(e){var t=or.indexOf(e)+1,r=n[or[t]];return t===or.length?u("xs"):"@media (max-width:".concat(("number"==typeof r&&t>0?r:e)-a/100).concat(o,")")},between:c,only:function(e){return c(e,e)},width:function(e){return"production"!==process.env.NODE_ENV&&(l||(l=!0,console.warn(["Material-UI: The `theme.breakpoints.width` utility is deprecated because it's redundant.","Use the `theme.breakpoints.values` instead."].join("\n")))),n[e]}},s)}function ar(e,t,n){var r;return Te({gutters:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return console.warn(["Material-UI: theme.mixins.gutters() is deprecated.","You can use the source of the mixin directly:","\n paddingLeft: theme.spacing(2),\n paddingRight: theme.spacing(2),\n [theme.breakpoints.up('sm')]: {\n paddingLeft: theme.spacing(3),\n paddingRight: theme.spacing(3),\n },\n "].join("\n")),Te({paddingLeft:t(2),paddingRight:t(2)},n,Un({},e.up("sm"),Te({paddingLeft:t(3),paddingRight:t(3)},n[e.up("sm")])))},toolbar:(r={minHeight:56},Un(r,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),Un(r,e.up("sm"),{minHeight:64}),r)},n)}var sr={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:kn.white,default:In[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},ur={text:{primary:kn.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:In[800],default:"#303030"},action:{active:kn.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function cr(e,t,n,r){var o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=function(e,t){if(e=Jn(e),t=Zn(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 Qn(e)}(e.main,o):"dark"===t&&(e.dark=function(e,t){if(e=Jn(e),t=Zn(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 Qn(e)}(e.main,i)))}function lr(e){var t=e.primary,n=void 0===t?{light:On[300],main:On[500],dark:On[700]}:t,r=e.secondary,o=void 0===r?{light:_n.A200,main:_n.A400,dark:_n.A700}:r,i=e.error,a=void 0===i?{light:Rn[300],main:Rn[500],dark:Rn[700]}:i,s=e.warning,u=void 0===s?{light:An[300],main:An[500],dark:An[700]}:s,c=e.info,l=void 0===c?{light:Nn[300],main:Nn[500],dark:Nn[700]}:c,f=e.success,d=void 0===f?{light:Tn[300],main:Tn[500],dark:Tn[700]}:f,p=e.type,h=void 0===p?"light":p,m=e.contrastThreshold,v=void 0===m?3:m,g=e.tonalOffset,y=void 0===g?.2:g,b=rr(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function w(e){var t=er(e,ur.text.primary)>=v?ur.text.primary:sr.text.primary;if("production"!==process.env.NODE_ENV){var n=er(e,t);n<3&&console.error(["Material-UI: The contrast ratio of ".concat(n,":1 for ").concat(t," on ").concat(e),"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join("\n"))}return t}var x=function(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;if(!(e=Te({},e)).main&&e[t]&&(e.main=e[t]),!e.main)throw new Error("production"!==process.env.NODE_ENV?"Material-UI: The color provided to augmentColor(color) is invalid.\nThe color object needs to have a `main` property or a `".concat(t,"` property."):qn(4,t));if("string"!=typeof e.main)throw new Error("production"!==process.env.NODE_ENV?"Material-UI: The color provided to augmentColor(color) is invalid.\n`color.main` should be a string, but `".concat(JSON.stringify(e.main),'` was provided instead.\n\nDid you intend to use one of the following approaches?\n\nimport { green } from "@material-ui/core/colors";\n\nconst theme1 = createTheme({ palette: {\n primary: green,\n} });\n\nconst theme2 = createTheme({ palette: {\n primary: { main: green[500] },\n} });'):qn(5,JSON.stringify(e.main)));return cr(e,"light",n,y),cr(e,"dark",r,y),e.contrastText||(e.contrastText=w(e.main)),e},E={dark:ur,light:sr};return"production"!==process.env.NODE_ENV&&(E[h]||console.error("Material-UI: The palette type `".concat(h,"` is not supported."))),Bn(Te({common:kn,type:h,primary:x(n),secondary:x(o,"A400","A200","A700"),error:x(a),warning:x(u),info:x(l),success:x(d),grey:In,contrastThreshold:v,getContrastText:w,augmentColor:x,tonalOffset:y},E[h]),b)}function fr(e){return Math.round(1e5*e)/1e5}var dr=!1;function pr(e){return"production"!==process.env.NODE_ENV&&(dr||(console.warn(["Material-UI: The `theme.typography.round` helper is deprecated.","Head to https://material-ui.com/r/migration-v4/#theme for a migration path."].join("\n")),dr=!0)),fr(e)}var hr={textTr