"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),r=require("react-dom"),t=require("react-router-dom"),n=function(){return n=Object.assign||function(e){for(var r,t=1,n=arguments.length;t0&&o[o.length-1])||6!==c[0]&&2!==c[0])){a=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]1?r-1:0),n=1;n=1&&l>=0&&c[s]!==u[l];)l--;for(;s>=1&&l>=0;s--,l--)if(c[s]!==u[l]){if(1!==s||1!==l)do{if(s--,--l<0||c[s]!==u[l]){var f="\n"+c[s].replace(" at new "," at ");return e.displayName&&f.includes("")&&(f=f.replace("",e.displayName)),"function"==typeof e&&D.set(e,f),f}}while(s>=1&&l>=0);break}}}finally{F=!1,A.current=o,function(){if(0==--P){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:R({},e,{value:k}),info:R({},e,{value:_}),warn:R({},e,{value:j}),error:R({},e,{value:S}),group:R({},e,{value:x}),groupCollapsed:R({},e,{value:C}),groupEnd:R({},e,{value:E})})}P<0&&b("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=a}var p=e?e.displayName||e.name:"",y=p?$(p):"";return"function"==typeof e&&D.set(e,y),y}function K(e,r,t){if(null==e)return"";if("function"==typeof e)return I(e,!(!(n=e.prototype)||!n.isReactComponent));var n;if("string"==typeof e)return $(e);switch(e){case l:return $("Suspense");case f:return $("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case s:return I(e.render,!1);case y:return K(e.type,r,t);case d:var o=e,a=o._payload,i=o._init;try{return K(i(a),r,t)}catch(e){}}return""}D=new L;var W=Object.prototype.hasOwnProperty,M={},U=h.ReactDebugCurrentFrame;function z(e){if(e){var r=e._owner,t=K(e.type,e._source,r?r.type:null);U.setExtraStackFrame(t)}else U.setExtraStackFrame(null)}var Y=Array.isArray;function q(e){return Y(e)}function B(e){return""+e}function V(e){if(function(e){try{return B(e),!1}catch(e){return!0}}(e))return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",function(e){return"function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}(e)),B(e)}var J,X,H,G=h.ReactCurrentOwner,Q={key:!0,ref:!0,__self:!0,__source:!0};H={};function Z(e,r,n,o,a){var i,c={},u=null,s=null;for(i in void 0!==n&&(V(n),u=""+n),function(e){if(W.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return void 0!==e.key}(r)&&(V(r.key),u=""+r.key),function(e){if(W.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return void 0!==e.ref}(r)&&(s=r.ref,function(e,r){if("string"==typeof e.ref&&G.current&&r&&G.current.stateNode!==r){var t=w(G.current.type);H[t]||(b('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',w(G.current.type),e.ref),H[t]=!0)}}(r,a)),r)W.call(r,i)&&!Q.hasOwnProperty(i)&&(c[i]=r[i]);if(e&&e.defaultProps){var l=e.defaultProps;for(i in l)void 0===c[i]&&(c[i]=l[i])}if(u||s){var f="function"==typeof e?e.displayName||e.name||"Unknown":e;u&&function(e,r){var t=function(){J||(J=!0,b("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}(c,f),s&&function(e,r){var t=function(){X||(X=!0,b("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}(c,f)}return function(e,r,n,o,a,i,c){var u={$$typeof:t,type:e,key:r,ref:n,props:c,_owner:i,_store:{}};return Object.defineProperty(u._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(u,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(u,"_source",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.freeze&&(Object.freeze(u.props),Object.freeze(u)),u}(e,u,s,a,o,G.current,c)}var ee,re=h.ReactCurrentOwner,te=h.ReactDebugCurrentFrame;function ne(e){if(e){var r=e._owner,t=K(e.type,e._source,r?r.type:null);te.setExtraStackFrame(t)}else te.setExtraStackFrame(null)}function oe(e){return"object"==typeof e&&null!==e&&e.$$typeof===t}function ae(){if(re.current){var e=w(re.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}ee=!1;var ie={};function ce(e,r){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var t=function(e){var r=ae();if(!r){var t="string"==typeof e?e:e.displayName||e.name;t&&(r="\n\nCheck the top-level render call using <"+t+">.")}return r}(r);if(!ie[t]){ie[t]=!0;var n="";e&&e._owner&&e._owner!==re.current&&(n=" It was passed a child from "+w(e._owner.type)+"."),ne(e),b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),ne(null)}}}function ue(e,r){if("object"==typeof e)if(q(e))for(var t=0;t",k=" Did you accidentally export a JSX literal instead of a component?"):_=typeof e,b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",_,k)}var j=Z(e,r,n,m,h);if(null==j)return j;if(O){var S=r.children;if(void 0!==S)if(p)if(q(S)){for(var x=0;x0?"{key: someKey, "+E.join(": ..., ")+": ...}":"{key: someKey}";if(!le[C+R])b('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',R,C,E.length>0?"{"+E.join(": ..., ")+": ...}":"{}",C),le[C+R]=!0}return e===o?function(e){for(var r=Object.keys(e.props),t=0;ta){var o=e.reduce((function(e,r){return e.lastActiveTime