-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbundle.js
39 lines (39 loc) · 225 KB
/
bundle.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=25)}([function(e,t,n){"use strict";e.exports=n(26)},function(e,t,n){"use strict";function r(){return(r=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)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(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}n.d(t,"a",(function(){return r}))},function(e,t,n){e.exports=n(30)()},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,i,a,l){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,l],s=0;(u=new Error(t.replace(/%s/g,(function(){return c[s++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}}(),e.exports=n(27)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.SPRITE_WIDTH=30,o=t.SPRITE_HEIGHT=60;t.MAP_HEIGHT=5*o,t.MAP_WIDTH=20*r,t.GRAVITY=.3,t.JUMP_FORCE=-10,t.OBSTICLE_SPEED=10},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r),i=n(3),a=n.n(i),l=o.a.createContext(null);var u=function(e){e()},c={notify:function(){}};function s(){var e=u,t=[],n=[];return{clear:function(){n=null,t=null},notify:function(){var r=t=n;e((function(){for(var e=0;e<r.length;e++)r[e]()}))},get:function(){return n},subscribe:function(e){var r=!0;return n===t&&(n=t.slice()),n.push(e),function(){r&&null!==t&&(r=!1,n===t&&(n=t.slice()),n.splice(n.indexOf(e),1))}}}}var f=function(){function e(e,t){this.store=e,this.parentSub=t,this.unsubscribe=null,this.listeners=c,this.handleChangeWrapper=this.handleChangeWrapper.bind(this)}var t=e.prototype;return t.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},t.notifyNestedSubs=function(){this.listeners.notify()},t.handleChangeWrapper=function(){this.onStateChange&&this.onStateChange()},t.isSubscribed=function(){return Boolean(this.unsubscribe)},t.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.handleChangeWrapper):this.store.subscribe(this.handleChangeWrapper),this.listeners=s())},t.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=c)},e}();function d(e){var t=e.store,n=e.context,i=e.children,a=Object(r.useMemo)((function(){var e=new f(t);return e.onStateChange=e.notifyNestedSubs,{store:t,subscription:e}}),[t]),u=Object(r.useMemo)((function(){return t.getState()}),[t]);Object(r.useEffect)((function(){var e=a.subscription;return e.trySubscribe(),u!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[a,u]);var c=n||l;return o.a.createElement(c.Provider,{value:a},i)}d.propTypes={store:a.a.shape({subscribe:a.a.func.isRequired,dispatch:a.a.func.isRequired,getState:a.a.func.isRequired}),context:a.a.object,children:a.a.any};var p=d,h=n(1),m=n(2),v=n(8),y=n.n(v),g=n(4),b=n.n(g),w=n(11),k="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?r.useLayoutEffect:r.useEffect,E=[],_=[null,null];function T(e,t){var n=e[1];return[t.payload,n+1]}var x=function(){return[null,0]};function S(e,t){void 0===t&&(t={});var n=t,i=n.getDisplayName,a=void 0===i?function(e){return"ConnectAdvanced("+e+")"}:i,u=n.methodName,c=void 0===u?"connectAdvanced":u,s=n.renderCountProp,d=void 0===s?void 0:s,p=n.shouldHandleStateChanges,v=void 0===p||p,g=n.storeKey,S=void 0===g?"store":g,P=n.withRef,O=void 0!==P&&P,C=n.forwardRef,j=void 0!==C&&C,I=n.context,R=void 0===I?l:I,M=Object(m.a)(n,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]);b()(void 0===d,"renderCountProp is removed. render counting is built into the latest React Dev Tools profiling extension"),b()(!O,"withRef is removed. To access the wrapped instance, use a ref on the connected component");b()("store"===S,"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 N=R;return function(t){var n=t.displayName||t.name||"Component",i=a(n),l=Object(h.a)({},M,{getDisplayName:a,methodName:c,renderCountProp:d,shouldHandleStateChanges:v,storeKey:S,displayName:i,wrappedComponentName:n,WrappedComponent:t}),u=M.pure;var s=u?r.useMemo:function(e){return e()};function p(n){var a=Object(r.useMemo)((function(){var e=n.forwardedRef,t=Object(m.a)(n,["forwardedRef"]);return[n.context,e,t]}),[n]),u=a[0],c=a[1],d=a[2],p=Object(r.useMemo)((function(){return u&&u.Consumer&&Object(w.isContextConsumer)(o.a.createElement(u.Consumer,null))?u:N}),[u,N]),y=Object(r.useContext)(p),g=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch),S=Boolean(y)&&Boolean(y.store);b()(g||S,'Could not find "store" in the context of "'+i+'". Either wrap the root component in a <Provider>, or pass a custom React context provider to <Provider> and the corresponding React context consumer to '+i+" in connect options.");var P=g?n.store:y.store,O=Object(r.useMemo)((function(){return function(t){return e(t.dispatch,l)}(P)}),[P]),C=Object(r.useMemo)((function(){if(!v)return _;var e=new f(P,g?null:y.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[P,g,y]),j=C[0],I=C[1],R=Object(r.useMemo)((function(){return g?y:Object(h.a)({},y,{subscription:j})}),[g,y,j]),M=Object(r.useReducer)(T,E,x),A=M[0][0],U=M[1];if(A&&A.error)throw A.error;var D=Object(r.useRef)(),L=Object(r.useRef)(d),z=Object(r.useRef)(),F=Object(r.useRef)(!1),H=s((function(){return z.current&&d===L.current?z.current:O(P.getState(),d)}),[P,A,d]);k((function(){L.current=d,D.current=H,F.current=!1,z.current&&(z.current=null,I())})),k((function(){if(v){var e=!1,t=null,n=function(){if(!e){var n,r,o=P.getState();try{n=O(o,L.current)}catch(e){r=e,t=e}r||(t=null),n===D.current?F.current||I():(D.current=n,z.current=n,F.current=!0,U({type:"STORE_UPDATED",payload:{error:r}}))}};j.onStateChange=n,j.trySubscribe(),n();return function(){if(e=!0,j.tryUnsubscribe(),j.onStateChange=null,t)throw t}}}),[P,j,O]);var q=Object(r.useMemo)((function(){return o.a.createElement(t,Object(h.a)({},H,{ref:c}))}),[c,t,H]);return Object(r.useMemo)((function(){return v?o.a.createElement(p.Provider,{value:R},q):q}),[p,q,R])}var g=u?o.a.memo(p):p;if(g.WrappedComponent=t,g.displayName=i,j){var P=o.a.forwardRef((function(e,t){return o.a.createElement(g,Object(h.a)({},e,{forwardedRef:t}))}));return P.displayName=i,P.WrappedComponent=t,y()(P,t)}return y()(g,t)}}var P=Object.prototype.hasOwnProperty;function O(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function C(e,t){if(O(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(!P.call(t,n[o])||!O(e[n[o]],t[n[o]]))return!1;return!0}var j=n(12);function I(e){return function(t,n){var r=e(t,n);function o(){return r}return o.dependsOnOwnProps=!1,o}}function R(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function M(e,t){return function(t,n){n.displayName;var r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=R(e);var o=r(t,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=R(o),o=r(t,n)),o},r}}var N=[function(e){return"function"==typeof e?M(e):void 0},function(e){return e?void 0:I((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?I((function(t){return Object(j.bindActionCreators)(e,t)})):void 0}];var A=[function(e){return"function"==typeof e?M(e):void 0},function(e){return e?void 0:I((function(){return{}}))}];function U(e,t,n){return Object(h.a)({},n,{},e,{},t)}var D=[function(e){return"function"==typeof e?function(e){return function(t,n){n.displayName;var r,o=n.pure,i=n.areMergedPropsEqual,a=!1;return function(t,n,l){var u=e(t,n,l);return a?o&&i(u,r)||(r=u):(a=!0,r=u),r}}}(e):void 0},function(e){return e?void 0:function(){return U}}];function L(e,t,n,r){return function(o,i){return n(e(o,i),t(r,i),i)}}function z(e,t,n,r,o){var i,a,l,u,c,s=o.areStatesEqual,f=o.areOwnPropsEqual,d=o.areStatePropsEqual,p=!1;function h(o,p){var h,m,v=!f(p,a),y=!s(o,i);return i=o,a=p,v&&y?(l=e(i,a),t.dependsOnOwnProps&&(u=t(r,a)),c=n(l,u,a)):v?(e.dependsOnOwnProps&&(l=e(i,a)),t.dependsOnOwnProps&&(u=t(r,a)),c=n(l,u,a)):y?(h=e(i,a),m=!d(h,l),l=h,m&&(c=n(l,u,a)),c):c}return function(o,s){return p?h(o,s):(l=e(i=o,a=s),u=t(r,a),c=n(l,u,a),p=!0,c)}}function F(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,o=t.initMergeProps,i=Object(m.a)(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=n(e,i),l=r(e,i),u=o(e,i);return(i.pure?z:L)(a,l,u,e,i)}function H(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 q(e,t){return e===t}var W,B,$,V,G,K,Q,Y,X,J,Z,ee,te=($=(B=void 0===W?{}:W).connectHOC,V=void 0===$?S:$,G=B.mapStateToPropsFactories,K=void 0===G?A:G,Q=B.mapDispatchToPropsFactories,Y=void 0===Q?N:Q,X=B.mergePropsFactories,J=void 0===X?D:X,Z=B.selectorFactory,ee=void 0===Z?F:Z,function(e,t,n,r){void 0===r&&(r={});var o=r,i=o.pure,a=void 0===i||i,l=o.areStatesEqual,u=void 0===l?q:l,c=o.areOwnPropsEqual,s=void 0===c?C:c,f=o.areStatePropsEqual,d=void 0===f?C:f,p=o.areMergedPropsEqual,v=void 0===p?C:p,y=Object(m.a)(o,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),g=H(e,K,"mapStateToProps"),b=H(t,Y,"mapDispatchToProps"),w=H(n,J,"mergeProps");return V(ee,Object(h.a)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:g,initMapDispatchToProps:b,initMergeProps:w,pure:a,areStatesEqual:u,areOwnPropsEqual:s,areStatePropsEqual:d,areMergedPropsEqual:v},y))});function ne(){var e=Object(r.useContext)(l);return b()(e,"could not find react-redux context value; please ensure the component is wrapped in a <Provider>"),e}function re(e){void 0===e&&(e=l);var t=e===l?ne:function(){return Object(r.useContext)(e)};return function(){return t().store}}var oe=re();function ie(e){void 0===e&&(e=l);var t=e===l?oe:re(e);return function(){return t().dispatch}}var ae=ie(),le=function(e,t){return e===t};function ue(e){void 0===e&&(e=l);var t=e===l?ne:function(){return Object(r.useContext)(e)};return function(e,n){void 0===n&&(n=le),b()(e,"You must pass a selector to useSelectors");var o=t();return function(e,t,n,o){var i,a=Object(r.useReducer)((function(e){return e+1}),0)[1],l=Object(r.useMemo)((function(){return new f(n,o)}),[n,o]),u=Object(r.useRef)(),c=Object(r.useRef)(),s=Object(r.useRef)();try{i=e!==c.current||u.current?e(n.getState()):s.current}catch(e){var d="An error occurred while selecting the store state: "+e.message+".";throw u.current&&(d+="\nThe error may be correlated with this previous error:\n"+u.current.stack+"\n\nOriginal stack trace:"),new Error(d)}return k((function(){c.current=e,s.current=i,u.current=void 0})),k((function(){function e(){try{var e=c.current(n.getState());if(t(e,s.current))return;s.current=e}catch(e){u.current=e}a({})}return l.onStateChange=e,l.trySubscribe(),e(),function(){return l.tryUnsubscribe()}}),[n,l]),i}(e,n,o.store,o.subscription)}}var ce,se=ue(),fe=n(5);n.d(t,"Provider",(function(){return p})),n.d(t,"connectAdvanced",(function(){return S})),n.d(t,"ReactReduxContext",(function(){return l})),n.d(t,"connect",(function(){return te})),n.d(t,"batch",(function(){return fe.unstable_batchedUpdates})),n.d(t,"useDispatch",(function(){return ae})),n.d(t,"createDispatchHook",(function(){return ie})),n.d(t,"useSelector",(function(){return se})),n.d(t,"createSelectorHook",(function(){return ue})),n.d(t,"useStore",(function(){return oe})),n.d(t,"createStoreHook",(function(){return re})),n.d(t,"shallowEqual",(function(){return C})),ce=fe.unstable_batchedUpdates,u=ce},function(e,t,n){"use strict";var r=n(11),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},l={};function u(e){return r.isMemo(e)?a:l[e.$$typeof]||o}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=a;var c=Object.defineProperty,s=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=s(n);f&&(a=a.concat(f(n)));for(var l=u(t),m=u(n),v=0;v<a.length;++v){var y=a[v];if(!(i[y]||r&&r[y]||m&&m[y]||l&&l[y])){var g=d(n,y);try{c(t,y,g)}catch(e){}}}}return t}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(12),i=n(40),a=(r=i)&&r.__esModule?r:{default:r};var l=(0,o.createStore)(a.default,window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__());t.default=l},function(e,t,n){"use strict";e.exports=n(32)},function(e,t,n){"use strict";n.r(t),n.d(t,"__DO_NOT_USE__ActionTypes",(function(){return i})),n.d(t,"applyMiddleware",(function(){return v})),n.d(t,"bindActionCreators",(function(){return f})),n.d(t,"combineReducers",(function(){return c})),n.d(t,"compose",(function(){return m})),n.d(t,"createStore",(function(){return l}));var r=n(14),o=function(){return Math.random().toString(36).substring(7).split("").join(".")},i={INIT:"@@redux/INIT"+o(),REPLACE:"@@redux/REPLACE"+o(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+o()}};function a(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function l(e,t,n){var o;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(l)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var u=e,c=t,s=[],f=s,d=!1;function p(){f===s&&(f=s.slice())}function h(){if(d)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return c}function m(e){if("function"!=typeof e)throw new Error("Expected the listener to be a function.");if(d)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribelistener for more details.");var t=!0;return p(),f.push(e),function(){if(t){if(d)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribelistener for more details.");t=!1,p();var n=f.indexOf(e);f.splice(n,1),s=null}}}function v(e){if(!a(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(d)throw new Error("Reducers may not dispatch actions.");try{d=!0,c=u(c,e)}finally{d=!1}for(var t=s=f,n=0;n<t.length;n++){(0,t[n])()}return e}function y(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");u=e,v({type:i.REPLACE})}function g(){var e,t=m;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function n(){e.next&&e.next(h())}return n(),{unsubscribe:t(n)}}})[r.a]=function(){return this},e}return v({type:i.INIT}),(o={dispatch:v,subscribe:m,getState:h,replaceReducer:y})[r.a]=g,o}function u(e,t){var n=t&&t.type;return"Given "+(n&&'action "'+String(n)+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function c(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var o=t[r];0,"function"==typeof e[o]&&(n[o]=e[o])}var a,l=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:i.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:i.PROBE_UNKNOWN_ACTION()}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+i.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')}))}(n)}catch(e){a=e}return function(e,t){if(void 0===e&&(e={}),a)throw a;for(var r=!1,o={},i=0;i<l.length;i++){var c=l[i],s=n[c],f=e[c],d=s(f,t);if(void 0===d){var p=u(c,t);throw new Error(p)}o[c]=d,r=r||d!==f}return(r=r||l.length!==Object.keys(e).length)?o:e}}function s(e,t){return function(){return t(e.apply(this,arguments))}}function f(e,t){if("function"==typeof e)return s(e,t);if("object"!=typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');var n={};for(var r in e){var o=e[r];"function"==typeof o&&(n[r]=s(o,t))}return n}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(n,!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function v(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},o={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=t.map((function(e){return e(o)}));return h({},n,{dispatch:r=m.apply(void 0,i)(n.dispatch)})}}}},,function(e,t,n){"use strict";(function(e,r){var o,i=n(23);o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:r;var a=Object(i.a)(o);t.a=a}).call(this,n(9),n(33)(e))},function(e,t){e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}},function(e,t,n){var r=n(34);e.exports=p,e.exports.parse=i,e.exports.compile=function(e,t){return l(i(e,t),t)},e.exports.tokensToFunction=l,e.exports.tokensToRegExp=d;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function i(e,t){for(var n,r=[],i=0,a=0,l="",s=t&&t.delimiter||"/";null!=(n=o.exec(e));){var f=n[0],d=n[1],p=n.index;if(l+=e.slice(a,p),a=p+f.length,d)l+=d[1];else{var h=e[a],m=n[2],v=n[3],y=n[4],g=n[5],b=n[6],w=n[7];l&&(r.push(l),l="");var k=null!=m&&null!=h&&h!==m,E="+"===b||"*"===b,_="?"===b||"*"===b,T=n[2]||s,x=y||g;r.push({name:v||i++,prefix:m||"",delimiter:T,optional:_,repeat:E,partial:k,asterisk:!!w,pattern:x?c(x):w?".*":"[^"+u(T)+"]+?"})}}return a<e.length&&(l+=e.substr(a)),l&&r.push(l),r}function a(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function l(e,t){for(var n=new Array(e.length),o=0;o<e.length;o++)"object"==typeof e[o]&&(n[o]=new RegExp("^(?:"+e[o].pattern+")$",f(t)));return function(t,o){for(var i="",l=t||{},u=(o||{}).pretty?a:encodeURIComponent,c=0;c<e.length;c++){var s=e[c];if("string"!=typeof s){var f,d=l[s.name];if(null==d){if(s.optional){s.partial&&(i+=s.prefix);continue}throw new TypeError('Expected "'+s.name+'" to be defined')}if(r(d)){if(!s.repeat)throw new TypeError('Expected "'+s.name+'" to not repeat, but received `'+JSON.stringify(d)+"`");if(0===d.length){if(s.optional)continue;throw new TypeError('Expected "'+s.name+'" to not be empty')}for(var p=0;p<d.length;p++){if(f=u(d[p]),!n[c].test(f))throw new TypeError('Expected all "'+s.name+'" to match "'+s.pattern+'", but received `'+JSON.stringify(f)+"`");i+=(0===p?s.prefix:s.delimiter)+f}}else{if(f=s.asterisk?encodeURI(d).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):u(d),!n[c].test(f))throw new TypeError('Expected "'+s.name+'" to match "'+s.pattern+'", but received "'+f+'"');i+=s.prefix+f}}else i+=s}return i}}function u(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function c(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function s(e,t){return e.keys=t,e}function f(e){return e&&e.sensitive?"":"i"}function d(e,t,n){r(t)||(n=t||n,t=[]);for(var o=(n=n||{}).strict,i=!1!==n.end,a="",l=0;l<e.length;l++){var c=e[l];if("string"==typeof c)a+=u(c);else{var d=u(c.prefix),p="(?:"+c.pattern+")";t.push(c),c.repeat&&(p+="(?:"+d+p+")*"),a+=p=c.optional?c.partial?d+"("+p+")?":"(?:"+d+"("+p+"))?":d+"("+p+")"}}var h=u(n.delimiter||"/"),m=a.slice(-h.length)===h;return o||(a=(m?a.slice(0,-h.length):a)+"(?:"+h+"(?=$))?"),a+=i?"$":o&&m?"":"(?="+h+"|$)",s(new RegExp("^"+a,f(n)),t)}function p(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return s(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],o=0;o<e.length;o++)r.push(p(e[o],t,n).source);return s(new RegExp("(?:"+r.join("|")+")",f(n)),t)}(e,t,n):function(e,t,n){return d(i(e,n),t,n)}(e,t,n)}},function(e,t,n){"use strict";
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,l,u=a(e),c=1;c<arguments.length;c++){for(var s in n=Object(arguments[c]))o.call(n,s)&&(u[s]=n[s]);if(r){l=r(n);for(var f=0;f<l.length;f++)i.call(n,l[f])&&(u[l[f]]=n[l[f]])}}return u}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=d(n(0)),i=d(n(38)),a=d(n(39)),l=d(n(46)),u=n(6),c=n(47),s=d(n(10)),f=n(7);function d(e){return e&&e.__esModule?e:{default:e}}var p=function(e){function t(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"componentDidMount",value:function(){s.default.dispatch({type:"ADD_TILES",payload:{tiles:c.tiles}})}},{key:"scrollHandler",value:function(e){}},{key:"keyupHandler",value:function(e){}},{key:"changeSection",value:function(e){this.setState({currentSection:e})}},{key:"render",value:function(){return o.default.createElement("div",{style:{width:u.MAP_WIDTH+"px",margin:"10px auto",position:"relative"}},o.default.createElement("div",{id:"game",className:this.props.currentMap.isGameOver?"game-over":"",style:{position:"relative",width:u.MAP_WIDTH+"px",height:u.MAP_HEIGHT+"px",margin:"10px auto",overflow:"hidden"}},o.default.createElement(i.default,null),o.default.createElement(a.default,null),o.default.createElement(l.default,null)),o.default.createElement("span",{id:"score"},"SCORE: ",this.props.currentMap.score.length),this.props.currentMap.isGameOver?o.default.createElement("span",{id:"restart-message"},'Press "Enter" to restart'):"")}}]),t}(o.default.Component);t.default=(0,f.connect)((function(e){return{currentMap:e.map}}))(p)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.API_URL="https://api.unsplash.com",t.API_VERSION="v1",t.OAUTH_AUTHORIZE_URL="https://unsplash.com/oauth/authorize",t.OAUTH_TOKEN_URL="https://unsplash.com/oauth/token"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.formUrlEncode=u,t.getUrlComponents=function(e){return(0,a.default)(e,{},!0)},t.buildFetchOptions=function(e){var t=e.method,n=e.query,i=e.oauth,a=e.body,l=!0===i?e.url:""+this._apiUrl+e.url,c=r({},this._headers,e.headers,{"Accept-Version":this._apiVersion,Authorization:this._bearerToken?"Bearer "+this._bearerToken:"Client-ID "+this._accessKey}),s=this._timeout;a&&(c["Content-Type"]="application/x-www-form-urlencoded");n&&(l=decodeURIComponent(l+"?"+(0,o.stringify)(n)));return{url:l,options:{method:t,headers:c,timeout:s,body:"GET"!==t&&a?u(a):void 0}}};var o=n(21),i=l(n(51)),a=l(n(52));function l(e){return e&&e.__esModule?e:{default:e}}function u(e){return(0,i.default)(e)}},function(e,t,n){"use strict";t.decode=t.parse=n(49),t.encode=t.stringify=n(50)},function(e,t,n){e.exports={twenty:"twenty",sixty:"sixty",scroller:"scroller","first-screen":"first-screen",content:"content","content-appearance":"content-appearance",logo:"logo","logo-side-appearance":"logo-side-appearance","unsplash-creds":"unsplash-creds",soc:"soc",draw:"draw","text-input":"text-input",hide:"hide","mouse-wrapper":"mouse-wrapper",mouse:"mouse",toggle:"toggle",active:"active",player:"player",obstacle:"obstacle",score:"score","restart-message":"restart-message","map-row":"map-row",grass:"grass",block:"block",run:"run",walking:"walking",game:"game","game-over":"game-over","nav-bliming":"nav-bliming"}},function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";(function(t){var n="__global_unique_id__";e.exports=function(){return t[n]=(t[n]||0)+1}}).call(this,n(9))},function(e,t,n){"use strict";var r=s(n(0)),o=s(n(5)),i=n(7),a=n(63),l=s(n(35)),u=s(n(18)),c=s(n(10));function s(e){return e&&e.__esModule?e:{default:e}}n(22);var f=document.getElementById("app");o.default.render(r.default.createElement(i.Provider,{store:c.default},r.default.createElement(a.HashRouter,null,r.default.createElement(a.Switch,null,r.default.createElement(a.Route,{exact:!0,path:"/",component:l.default}),r.default.createElement(a.Route,{exact:!0,path:"/game",component:u.default})))),f)},function(e,t,n){"use strict";
/** @license React v16.12.0
* react.production.min.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.
*/var r=n(17),o="function"==typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,a=o?Symbol.for("react.portal"):60106,l=o?Symbol.for("react.fragment"):60107,u=o?Symbol.for("react.strict_mode"):60108,c=o?Symbol.for("react.profiler"):60114,s=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,d=o?Symbol.for("react.forward_ref"):60112,p=o?Symbol.for("react.suspense"):60113;o&&Symbol.for("react.suspense_list");var h=o?Symbol.for("react.memo"):60115,m=o?Symbol.for("react.lazy"):60116;o&&Symbol.for("react.fundamental"),o&&Symbol.for("react.responder"),o&&Symbol.for("react.scope");var v="function"==typeof Symbol&&Symbol.iterator;function y(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function w(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||g}function k(){}function E(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||g}w.prototype.isReactComponent={},w.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(y(85));this.updater.enqueueSetState(this,e,t,"setState")},w.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},k.prototype=w.prototype;var _=E.prototype=new k;_.constructor=E,r(_,w.prototype),_.isPureReactComponent=!0;var T={current:null},x={current:null},S=Object.prototype.hasOwnProperty,P={key:!0,ref:!0,__self:!0,__source:!0};function O(e,t,n){var r,o={},a=null,l=null;if(null!=t)for(r in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(a=""+t.key),t)S.call(t,r)&&!P.hasOwnProperty(r)&&(o[r]=t[r]);var u=arguments.length-2;if(1===u)o.children=n;else if(1<u){for(var c=Array(u),s=0;s<u;s++)c[s]=arguments[s+2];o.children=c}if(e&&e.defaultProps)for(r in u=e.defaultProps)void 0===o[r]&&(o[r]=u[r]);return{$$typeof:i,type:e,key:a,ref:l,props:o,_owner:x.current}}function C(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var j=/\/+/g,I=[];function R(e,t,n,r){if(I.length){var o=I.pop();return o.result=e,o.keyPrefix=t,o.func=n,o.context=r,o.count=0,o}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function M(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>I.length&&I.push(e)}function N(e,t,n){return null==e?0:function e(t,n,r,o){var l=typeof t;"undefined"!==l&&"boolean"!==l||(t=null);var u=!1;if(null===t)u=!0;else switch(l){case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case i:case a:u=!0}}if(u)return r(o,t,""===n?"."+A(t,0):n),1;if(u=0,n=""===n?".":n+":",Array.isArray(t))for(var c=0;c<t.length;c++){var s=n+A(l=t[c],c);u+=e(l,s,r,o)}else if(null===t||"object"!=typeof t?s=null:s="function"==typeof(s=v&&t[v]||t["@@iterator"])?s:null,"function"==typeof s)for(t=s.call(t),c=0;!(l=t.next()).done;)u+=e(l=l.value,s=n+A(l,c++),r,o);else if("object"===l)throw r=""+t,Error(y(31,"[object Object]"===r?"object with keys {"+Object.keys(t).join(", ")+"}":r,""));return u}(e,"",t,n)}function A(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function U(e,t){e.func.call(e.context,t,e.count++)}function D(e,t,n){var r=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?L(e,r,n,(function(e){return e})):null!=e&&(C(e)&&(e=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(j,"$&/")+"/")+n)),r.push(e))}function L(e,t,n,r,o){var i="";null!=n&&(i=(""+n).replace(j,"$&/")+"/"),N(e,D,t=R(t,i,r,o)),M(t)}function z(){var e=T.current;if(null===e)throw Error(y(321));return e}var F={Children:{map:function(e,t,n){if(null==e)return e;var r=[];return L(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;N(e,U,t=R(null,null,t,n)),M(t)},count:function(e){return N(e,(function(){return null}),null)},toArray:function(e){var t=[];return L(e,t,null,(function(e){return e})),t},only:function(e){if(!C(e))throw Error(y(143));return e}},createRef:function(){return{current:null}},Component:w,PureComponent:E,createContext:function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},forwardRef:function(e){return{$$typeof:d,render:e}},lazy:function(e){return{$$typeof:m,_ctor:e,_status:-1,_result:null}},memo:function(e,t){return{$$typeof:h,type:e,compare:void 0===t?null:t}},useCallback:function(e,t){return z().useCallback(e,t)},useContext:function(e,t){return z().useContext(e,t)},useEffect:function(e,t){return z().useEffect(e,t)},useImperativeHandle:function(e,t,n){return z().useImperativeHandle(e,t,n)},useDebugValue:function(){},useLayoutEffect:function(e,t){return z().useLayoutEffect(e,t)},useMemo:function(e,t){return z().useMemo(e,t)},useReducer:function(e,t,n){return z().useReducer(e,t,n)},useRef:function(e){return z().useRef(e)},useState:function(e){return z().useState(e)},Fragment:l,Profiler:c,StrictMode:u,Suspense:p,createElement:O,cloneElement:function(e,t,n){if(null==e)throw Error(y(267,e));var o=r({},e.props),a=e.key,l=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(l=t.ref,u=x.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(s in t)S.call(t,s)&&!P.hasOwnProperty(s)&&(o[s]=void 0===t[s]&&void 0!==c?c[s]:t[s])}var s=arguments.length-2;if(1===s)o.children=n;else if(1<s){c=Array(s);for(var f=0;f<s;f++)c[f]=arguments[f+2];o.children=c}return{$$typeof:i,type:e.type,key:a,ref:l,props:o,_owner:u}},createFactory:function(e){var t=O.bind(null,e);return t.type=e,t},isValidElement:C,version:"16.12.0",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentDispatcher:T,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:x,IsSomeRendererActing:{current:!1},assign:r}},H={default:F},q=H&&F||H;e.exports=q.default||q},function(e,t,n){"use strict";
/** @license React v16.12.0
* react-dom.production.min.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.
*/var r=n(0),o=n(17),i=n(28);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(a(227));var l=null,u={};function c(){if(l)for(var e in u){var t=u[e],n=l.indexOf(e);if(!(-1<n))throw Error(a(96,e));if(!f[n]){if(!t.extractEvents)throw Error(a(97,e));for(var r in f[n]=t,n=t.eventTypes){var o=void 0,i=n[r],c=t,p=r;if(d.hasOwnProperty(p))throw Error(a(99,p));d[p]=i;var h=i.phasedRegistrationNames;if(h){for(o in h)h.hasOwnProperty(o)&&s(h[o],c,p);o=!0}else i.registrationName?(s(i.registrationName,c,p),o=!0):o=!1;if(!o)throw Error(a(98,r,e))}}}}function s(e,t,n){if(p[e])throw Error(a(100,e));p[e]=t,h[e]=t.eventTypes[n].dependencies}var f=[],d={},p={},h={};function m(e,t,n,r,o,i,a,l,u){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}var v=!1,y=null,g=!1,b=null,w={onError:function(e){v=!0,y=e}};function k(e,t,n,r,o,i,a,l,u){v=!1,y=null,m.apply(w,arguments)}var E=null,_=null,T=null;function x(e,t,n){var r=e.type||"unknown-event";e.currentTarget=T(n),function(e,t,n,r,o,i,l,u,c){if(k.apply(this,arguments),v){if(!v)throw Error(a(198));var s=y;v=!1,y=null,g||(g=!0,b=s)}}(r,t,void 0,e),e.currentTarget=null}function S(e,t){if(null==t)throw Error(a(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function P(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var O=null;function C(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)x(e,t[r],n[r]);else t&&x(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function j(e){if(null!==e&&(O=S(O,e)),e=O,O=null,e){if(P(e,C),O)throw Error(a(95));if(g)throw e=b,g=!1,b=null,e}}var I={injectEventPluginOrder:function(e){if(l)throw Error(a(101));l=Array.prototype.slice.call(e),c()},injectEventPluginsByName:function(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];if(!u.hasOwnProperty(t)||u[t]!==r){if(u[t])throw Error(a(102,t));u[t]=r,n=!0}}n&&c()}};function R(e,t){var n=e.stateNode;if(!n)return null;var r=E(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(a(231,t,typeof n));return n}var M=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;M.hasOwnProperty("ReactCurrentDispatcher")||(M.ReactCurrentDispatcher={current:null}),M.hasOwnProperty("ReactCurrentBatchConfig")||(M.ReactCurrentBatchConfig={suspense:null});var N=/^(.*)[\\\/]/,A="function"==typeof Symbol&&Symbol.for,U=A?Symbol.for("react.element"):60103,D=A?Symbol.for("react.portal"):60106,L=A?Symbol.for("react.fragment"):60107,z=A?Symbol.for("react.strict_mode"):60108,F=A?Symbol.for("react.profiler"):60114,H=A?Symbol.for("react.provider"):60109,q=A?Symbol.for("react.context"):60110,W=A?Symbol.for("react.concurrent_mode"):60111,B=A?Symbol.for("react.forward_ref"):60112,$=A?Symbol.for("react.suspense"):60113,V=A?Symbol.for("react.suspense_list"):60120,G=A?Symbol.for("react.memo"):60115,K=A?Symbol.for("react.lazy"):60116;A&&Symbol.for("react.fundamental"),A&&Symbol.for("react.responder"),A&&Symbol.for("react.scope");var Q="function"==typeof Symbol&&Symbol.iterator;function Y(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Q&&e[Q]||e["@@iterator"])?e:null}function X(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case L:return"Fragment";case D:return"Portal";case F:return"Profiler";case z:return"StrictMode";case $:return"Suspense";case V:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case q:return"Context.Consumer";case H:return"Context.Provider";case B:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case G:return X(e.type);case K:if(e=1===e._status?e._result:null)return X(e)}return null}function J(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var r=e._debugOwner,o=e._debugSource,i=X(e.type);n=null,r&&(n=X(r.type)),r=i,i="",o?i=" (at "+o.fileName.replace(N,"")+":"+o.lineNumber+")":n&&(i=" (created by "+n+")"),n="\n in "+(r||"Unknown")+i}t+=n,e=e.return}while(e);return t}var Z=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),ee=null,te=null,ne=null;function re(e){if(e=_(e)){if("function"!=typeof ee)throw Error(a(280));var t=E(e.stateNode);ee(e.stateNode,e.type,t)}}function oe(e){te?ne?ne.push(e):ne=[e]:te=e}function ie(){if(te){var e=te,t=ne;if(ne=te=null,re(e),t)for(e=0;e<t.length;e++)re(t[e])}}function ae(e,t){return e(t)}function le(e,t,n,r){return e(t,n,r)}function ue(){}var ce=ae,se=!1,fe=!1;function de(){null===te&&null===ne||(ue(),ie())}new Map;var pe=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,he=Object.prototype.hasOwnProperty,me={},ve={};function ye(e,t,n,r,o,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i}var ge={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){ge[e]=new ye(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];ge[t]=new ye(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){ge[e]=new ye(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){ge[e]=new ye(e,2,!1,e,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){ge[e]=new ye(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){ge[e]=new ye(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){ge[e]=new ye(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){ge[e]=new ye(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){ge[e]=new ye(e,5,!1,e.toLowerCase(),null,!1)}));var be=/[\-:]([a-z])/g;function we(e){return e[1].toUpperCase()}function ke(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function Ee(e,t,n,r){var o=ge.hasOwnProperty(t)?ge[t]:null;(null!==o?0===o.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!he.call(ve,e)||!he.call(me,e)&&(pe.test(e)?ve[e]=!0:(me[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}function _e(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Te(e){e._valueTracker||(e._valueTracker=function(e){var t=_e(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function xe(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=_e(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Se(e,t){var n=t.checked;return o({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Pe(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=ke(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Oe(e,t){null!=(t=t.checked)&&Ee(e,"checked",t,!1)}function Ce(e,t){Oe(e,t);var n=ke(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?Ie(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ie(e,t.type,ke(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function je(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!e.defaultChecked,e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function Ie(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function Re(e,t){return e=o({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function Me(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+ke(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function Ne(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return o({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Ae(e,t){var n=t.value;if(null==n){if(n=t.defaultValue,null!=(t=t.children)){if(null!=n)throw Error(a(92));if(Array.isArray(t)){if(!(1>=t.length))throw Error(a(93));t=t[0]}n=t}null==n&&(n="")}e._wrapperState={initialValue:ke(n)}}function Ue(e,t){var n=ke(t.value),r=ke(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function De(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(be,we);ge[t]=new ye(t,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(be,we);ge[t]=new ye(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(be,we);ge[t]=new ye(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){ge[e]=new ye(e,1,!1,e.toLowerCase(),null,!1)})),ge.xlinkHref=new ye("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){ge[e]=new ye(e,1,!1,e.toLowerCase(),null,!0)}));var Le="http://www.w3.org/1999/xhtml",ze="http://www.w3.org/2000/svg";function Fe(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function He(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Fe(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var qe,We=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction((function(){return e(t,n)}))}:e}((function(e,t){if(e.namespaceURI!==ze||"innerHTML"in e)e.innerHTML=t;else{for((qe=qe||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=qe.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function Be(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function $e(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ve={animationend:$e("Animation","AnimationEnd"),animationiteration:$e("Animation","AnimationIteration"),animationstart:$e("Animation","AnimationStart"),transitionend:$e("Transition","TransitionEnd")},Ge={},Ke={};function Qe(e){if(Ge[e])return Ge[e];if(!Ve[e])return e;var t,n=Ve[e];for(t in n)if(n.hasOwnProperty(t)&&t in Ke)return Ge[e]=n[t];return e}Z&&(Ke=document.createElement("div").style,"AnimationEvent"in window||(delete Ve.animationend.animation,delete Ve.animationiteration.animation,delete Ve.animationstart.animation),"TransitionEvent"in window||delete Ve.transitionend.transition);var Ye=Qe("animationend"),Xe=Qe("animationiteration"),Je=Qe("animationstart"),Ze=Qe("transitionend"),et="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" ");function tt(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).effectTag)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function nt(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function rt(e){if(tt(e)!==e)throw Error(a(188))}function ot(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=tt(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return rt(o),e;if(i===r)return rt(o),t;i=i.sibling}throw Error(a(188))}if(n.return!==r.return)n=o,r=i;else{for(var l=!1,u=o.child;u;){if(u===n){l=!0,n=o,r=i;break}if(u===r){l=!0,r=o,n=i;break}u=u.sibling}if(!l){for(u=i.child;u;){if(u===n){l=!0,n=i,r=o;break}if(u===r){l=!0,r=i,n=o;break}u=u.sibling}if(!l)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}var it,at,lt,ut=!1,ct=[],st=null,ft=null,dt=null,pt=new Map,ht=new Map,mt=[],vt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),yt="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function gt(e,t,n,r){return{blockedOn:e,topLevelType:t,eventSystemFlags:32|n,nativeEvent:r}}function bt(e,t){switch(e){case"focus":case"blur":st=null;break;case"dragenter":case"dragleave":ft=null;break;case"mouseover":case"mouseout":dt=null;break;case"pointerover":case"pointerout":pt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ht.delete(t.pointerId)}}function wt(e,t,n,r,o){return null===e||e.nativeEvent!==o?(e=gt(t,n,r,o),null!==t&&(null!==(t=cr(t))&&at(t)),e):(e.eventSystemFlags|=r,e)}function kt(e){var t=ur(e.target);if(null!==t){var n=tt(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=nt(n)))return e.blockedOn=t,void i.unstable_runWithPriority(e.priority,(function(){lt(n)}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Et(e){if(null!==e.blockedOn)return!1;var t=In(e.topLevelType,e.eventSystemFlags,e.nativeEvent);if(null!==t){var n=cr(t);return null!==n&&at(n),e.blockedOn=t,!1}return!0}function _t(e,t,n){Et(e)&&n.delete(t)}function Tt(){for(ut=!1;0<ct.length;){var e=ct[0];if(null!==e.blockedOn){null!==(e=cr(e.blockedOn))&&it(e);break}var t=In(e.topLevelType,e.eventSystemFlags,e.nativeEvent);null!==t?e.blockedOn=t:ct.shift()}null!==st&&Et(st)&&(st=null),null!==ft&&Et(ft)&&(ft=null),null!==dt&&Et(dt)&&(dt=null),pt.forEach(_t),ht.forEach(_t)}function xt(e,t){e.blockedOn===t&&(e.blockedOn=null,ut||(ut=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Tt)))}function St(e){function t(t){return xt(t,e)}if(0<ct.length){xt(ct[0],e);for(var n=1;n<ct.length;n++){var r=ct[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==st&&xt(st,e),null!==ft&&xt(ft,e),null!==dt&&xt(dt,e),pt.forEach(t),ht.forEach(t),n=0;n<mt.length;n++)(r=mt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<mt.length&&null===(n=mt[0]).blockedOn;)kt(n),null===n.blockedOn&&mt.shift()}function Pt(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function Ot(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function Ct(e,t,n){(t=R(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=S(n._dispatchListeners,t),n._dispatchInstances=S(n._dispatchInstances,e))}function jt(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=Ot(t);for(t=n.length;0<t--;)Ct(n[t],"captured",e);for(t=0;t<n.length;t++)Ct(n[t],"bubbled",e)}}function It(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=R(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=S(n._dispatchListeners,t),n._dispatchInstances=S(n._dispatchInstances,e))}function Rt(e){e&&e.dispatchConfig.registrationName&&It(e._targetInst,null,e)}function Mt(e){P(e,jt)}function Nt(){return!0}function At(){return!1}function Ut(e,t,n,r){for(var o in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(o)&&((t=e[o])?this[o]=t(n):"target"===o?this.target=r:this[o]=n[o]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?Nt:At,this.isPropagationStopped=At,this}function Dt(e,t,n,r){if(this.eventPool.length){var o=this.eventPool.pop();return this.call(o,e,t,n,r),o}return new this(e,t,n,r)}function Lt(e){if(!(e instanceof this))throw Error(a(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function zt(e){e.eventPool=[],e.getPooled=Dt,e.release=Lt}o(Ut.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Nt)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Nt)},persist:function(){this.isPersistent=Nt},isPersistent:At,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=At,this._dispatchInstances=this._dispatchListeners=null}}),Ut.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},Ut.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,zt(n),n},zt(Ut);var Ft=Ut.extend({animationName:null,elapsedTime:null,pseudoElement:null}),Ht=Ut.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),qt=Ut.extend({view:null,detail:null}),Wt=qt.extend({relatedTarget:null});function Bt(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}var $t={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Vt={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Gt={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Kt(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Gt[e])&&!!t[e]}function Qt(){return Kt}for(var Yt=qt.extend({key:function(e){if(e.key){var t=$t[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Bt(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Vt[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Qt,charCode:function(e){return"keypress"===e.type?Bt(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Bt(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Xt=0,Jt=0,Zt=!1,en=!1,tn=qt.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Qt,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=Xt;return Xt=e.screenX,Zt?"mousemove"===e.type?e.screenX-t:0:(Zt=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=Jt;return Jt=e.screenY,en?"mousemove"===e.type?e.screenY-t:0:(en=!0,0)}}),nn=tn.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),rn=tn.extend({dataTransfer:null}),on=qt.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Qt}),an=Ut.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),ln=tn.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),un=[["blur","blur",0],["cancel","cancel",0],["click","click",0],["close","close",0],["contextmenu","contextMenu",0],["copy","copy",0],["cut","cut",0],["auxclick","auxClick",0],["dblclick","doubleClick",0],["dragend","dragEnd",0],["dragstart","dragStart",0],["drop","drop",0],["focus","focus",0],["input","input",0],["invalid","invalid",0],["keydown","keyDown",0],["keypress","keyPress",0],["keyup","keyUp",0],["mousedown","mouseDown",0],["mouseup","mouseUp",0],["paste","paste",0],["pause","pause",0],["play","play",0],["pointercancel","pointerCancel",0],["pointerdown","pointerDown",0],["pointerup","pointerUp",0],["ratechange","rateChange",0],["reset","reset",0],["seeked","seeked",0],["submit","submit",0],["touchcancel","touchCancel",0],["touchend","touchEnd",0],["touchstart","touchStart",0],["volumechange","volumeChange",0],["drag","drag",1],["dragenter","dragEnter",1],["dragexit","dragExit",1],["dragleave","dragLeave",1],["dragover","dragOver",1],["mousemove","mouseMove",1],["mouseout","mouseOut",1],["mouseover","mouseOver",1],["pointermove","pointerMove",1],["pointerout","pointerOut",1],["pointerover","pointerOver",1],["scroll","scroll",1],["toggle","toggle",1],["touchmove","touchMove",1],["wheel","wheel",1],["abort","abort",2],[Ye,"animationEnd",2],[Xe,"animationIteration",2],[Je,"animationStart",2],["canplay","canPlay",2],["canplaythrough","canPlayThrough",2],["durationchange","durationChange",2],["emptied","emptied",2],["encrypted","encrypted",2],["ended","ended",2],["error","error",2],["gotpointercapture","gotPointerCapture",2],["load","load",2],["loadeddata","loadedData",2],["loadedmetadata","loadedMetadata",2],["loadstart","loadStart",2],["lostpointercapture","lostPointerCapture",2],["playing","playing",2],["progress","progress",2],["seeking","seeking",2],["stalled","stalled",2],["suspend","suspend",2],["timeupdate","timeUpdate",2],[Ze,"transitionEnd",2],["waiting","waiting",2]],cn={},sn={},fn=0;fn<un.length;fn++){var dn=un[fn],pn=dn[0],hn=dn[1],mn=dn[2],vn="on"+(hn[0].toUpperCase()+hn.slice(1)),yn={phasedRegistrationNames:{bubbled:vn,captured:vn+"Capture"},dependencies:[pn],eventPriority:mn};cn[hn]=yn,sn[pn]=yn}var gn={eventTypes:cn,getEventPriority:function(e){return void 0!==(e=sn[e])?e.eventPriority:2},extractEvents:function(e,t,n,r){var o=sn[e];if(!o)return null;switch(e){case"keypress":if(0===Bt(n))return null;case"keydown":case"keyup":e=Yt;break;case"blur":case"focus":e=Wt;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=tn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=rn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=on;break;case Ye:case Xe:case Je:e=Ft;break;case Ze:e=an;break;case"scroll":e=qt;break;case"wheel":e=ln;break;case"copy":case"cut":case"paste":e=Ht;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=nn;break;default:e=Ut}return Mt(t=e.getPooled(o,t,n,r)),t}},bn=i.unstable_UserBlockingPriority,wn=i.unstable_runWithPriority,kn=gn.getEventPriority,En=[];function _n(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r=n;if(3===r.tag)r=r.stateNode.containerInfo;else{for(;r.return;)r=r.return;r=3!==r.tag?null:r.stateNode.containerInfo}if(!r)break;5!==(t=n.tag)&&6!==t||e.ancestors.push(n),n=ur(r)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var o=Pt(e.nativeEvent);r=e.topLevelType;for(var i=e.nativeEvent,a=e.eventSystemFlags,l=null,u=0;u<f.length;u++){var c=f[u];c&&(c=c.extractEvents(r,t,i,o,a))&&(l=S(l,c))}j(l)}}var Tn=!0;function xn(e,t){Sn(t,e,!1)}function Sn(e,t,n){switch(kn(t)){case 0:var r=Pn.bind(null,t,1);break;case 1:r=On.bind(null,t,1);break;default:r=jn.bind(null,t,1)}n?e.addEventListener(t,r,!0):e.addEventListener(t,r,!1)}function Pn(e,t,n){se||ue();var r=jn,o=se;se=!0;try{le(r,e,t,n)}finally{(se=o)||de()}}function On(e,t,n){wn(bn,jn.bind(null,e,t,n))}function Cn(e,t,n,r){if(En.length){var o=En.pop();o.topLevelType=e,o.eventSystemFlags=t,o.nativeEvent=n,o.targetInst=r,e=o}else e={topLevelType:e,eventSystemFlags:t,nativeEvent:n,targetInst:r,ancestors:[]};try{if(t=_n,n=e,fe)t(n,void 0);else{fe=!0;try{ce(t,n,void 0)}finally{fe=!1,de()}}}finally{e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,En.length<10&&En.push(e)}}function jn(e,t,n){if(Tn)if(0<ct.length&&-1<vt.indexOf(e))e=gt(null,e,t,n),ct.push(e);else{var r=In(e,t,n);null===r?bt(e,n):-1<vt.indexOf(e)?(e=gt(r,e,t,n),ct.push(e)):function(e,t,n,r){switch(t){case"focus":return st=wt(st,e,t,n,r),!0;case"dragenter":return ft=wt(ft,e,t,n,r),!0;case"mouseover":return dt=wt(dt,e,t,n,r),!0;case"pointerover":var o=r.pointerId;return pt.set(o,wt(pt.get(o)||null,e,t,n,r)),!0;case"gotpointercapture":return o=r.pointerId,ht.set(o,wt(ht.get(o)||null,e,t,n,r)),!0}return!1}(r,e,t,n)||(bt(e,n),Cn(e,t,n,null))}}function In(e,t,n){var r=Pt(n);if(null!==(r=ur(r))){var o=tt(r);if(null===o)r=null;else{var i=o.tag;if(13===i){if(null!==(r=nt(o)))return r;r=null}else if(3===i){if(o.stateNode.hydrate)return 3===o.tag?o.stateNode.containerInfo:null;r=null}else o!==r&&(r=null)}}return Cn(e,t,n,r),null}function Rn(e){if(!Z)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"==typeof t[e]),t}var Mn=new("function"==typeof WeakMap?WeakMap:Map);function Nn(e){var t=Mn.get(e);return void 0===t&&(t=new Set,Mn.set(e,t)),t}function An(e,t,n){if(!n.has(e)){switch(e){case"scroll":Sn(t,"scroll",!0);break;case"focus":case"blur":Sn(t,"focus",!0),Sn(t,"blur",!0),n.add("blur"),n.add("focus");break;case"cancel":case"close":Rn(e)&&Sn(t,e,!0);break;case"invalid":case"submit":case"reset":break;default:-1===et.indexOf(e)&&xn(e,t)}n.add(e)}}var Un={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Dn=["Webkit","ms","Moz","O"];function Ln(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Un.hasOwnProperty(e)&&Un[e]?(""+t).trim():t+"px"}function zn(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=Ln(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(Un).forEach((function(e){Dn.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Un[t]=Un[e]}))}));var Fn=o({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Hn(e,t){if(t){if(Fn[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e,""));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if(!("object"==typeof t.dangerouslySetInnerHTML&&"__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(a(62,""))}}function qn(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Wn(e,t){var n=Nn(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=h[t];for(var r=0;r<t.length;r++)An(t[r],e,n)}function Bn(){}function $n(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Vn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Gn(e,t){var n,r=Vn(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Vn(r)}}function Kn(){for(var e=window,t=$n();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=$n((e=t.contentWindow).document)}return t}function Qn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var Yn=null,Xn=null;function Jn(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Zn(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var er="function"==typeof setTimeout?setTimeout:void 0,tr="function"==typeof clearTimeout?clearTimeout:void 0;function nr(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function rr(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var or=Math.random().toString(36).slice(2),ir="__reactInternalInstance$"+or,ar="__reactEventHandlers$"+or,lr="__reactContainere$"+or;function ur(e){var t=e[ir];if(t)return t;for(var n=e.parentNode;n;){if(t=n[lr]||n[ir]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=rr(e);null!==e;){if(n=e[ir])return n;e=rr(e)}return t}n=(e=n).parentNode}return null}function cr(e){return!(e=e[ir]||e[lr])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function sr(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function fr(e){return e[ar]||null}var dr=null,pr=null,hr=null;function mr(){if(hr)return hr;var e,t,n=pr,r=n.length,o="value"in dr?dr.value:dr.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return hr=o.slice(e,1<t?1-t:void 0)}var vr=Ut.extend({data:null}),yr=Ut.extend({data:null}),gr=[9,13,27,32],br=Z&&"CompositionEvent"in window,wr=null;Z&&"documentMode"in document&&(wr=document.documentMode);var kr=Z&&"TextEvent"in window&&!wr,Er=Z&&(!br||wr&&8<wr&&11>=wr),_r=String.fromCharCode(32),Tr={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(" ")}},xr=!1;function Sr(e,t){switch(e){case"keyup":return-1!==gr.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function Pr(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Or=!1;var Cr={eventTypes:Tr,extractEvents:function(e,t,n,r){var o;if(br)e:{switch(e){case"compositionstart":var i=Tr.compositionStart;break e;case"compositionend":i=Tr.compositionEnd;break e;case"compositionupdate":i=Tr.compositionUpdate;break e}i=void 0}else Or?Sr(e,n)&&(i=Tr.compositionEnd):"keydown"===e&&229===n.keyCode&&(i=Tr.compositionStart);return i?(Er&&"ko"!==n.locale&&(Or||i!==Tr.compositionStart?i===Tr.compositionEnd&&Or&&(o=mr()):(pr="value"in(dr=r)?dr.value:dr.textContent,Or=!0)),i=vr.getPooled(i,t,n,r),o?i.data=o:null!==(o=Pr(n))&&(i.data=o),Mt(i),o=i):o=null,(e=kr?function(e,t){switch(e){case"compositionend":return Pr(t);case"keypress":return 32!==t.which?null:(xr=!0,_r);case"textInput":return(e=t.data)===_r&&xr?null:e;default:return null}}(e,n):function(e,t){if(Or)return"compositionend"===e||!br&&Sr(e,t)?(e=mr(),hr=pr=dr=null,Or=!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<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Er&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))?((t=yr.getPooled(Tr.beforeInput,t,n,r)).data=e,Mt(t)):t=null,null===o?t:null===t?o:[o,t]}},jr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Ir(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!jr[e.type]:"textarea"===t}var Rr={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function Mr(e,t,n){return(e=Ut.getPooled(Rr.change,e,t,n)).type="change",oe(n),Mt(e),e}var Nr=null,Ar=null;function Ur(e){j(e)}function Dr(e){if(xe(sr(e)))return e}function Lr(e,t){if("change"===e)return t}var zr=!1;function Fr(){Nr&&(Nr.detachEvent("onpropertychange",Hr),Ar=Nr=null)}function Hr(e){if("value"===e.propertyName&&Dr(Ar))if(e=Mr(Ar,e,Pt(e)),se)j(e);else{se=!0;try{ae(Ur,e)}finally{se=!1,de()}}}function qr(e,t,n){"focus"===e?(Fr(),Ar=n,(Nr=t).attachEvent("onpropertychange",Hr)):"blur"===e&&Fr()}function Wr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Dr(Ar)}function Br(e,t){if("click"===e)return Dr(t)}function $r(e,t){if("input"===e||"change"===e)return Dr(t)}Z&&(zr=Rn("input")&&(!document.documentMode||9<document.documentMode));var Vr,Gr={eventTypes:Rr,_isInputEventSupported:zr,extractEvents:function(e,t,n,r){var o=t?sr(t):window,i=o.nodeName&&o.nodeName.toLowerCase();if("select"===i||"input"===i&&"file"===o.type)var a=Lr;else if(Ir(o))if(zr)a=$r;else{a=Wr;var l=qr}else(i=o.nodeName)&&"input"===i.toLowerCase()&&("checkbox"===o.type||"radio"===o.type)&&(a=Br);if(a&&(a=a(e,t)))return Mr(a,n,r);l&&l(e,o,t),"blur"===e&&(e=o._wrapperState)&&e.controlled&&"number"===o.type&&Ie(o,"number",o.value)}},Kr={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Qr={eventTypes:Kr,extractEvents:function(e,t,n,r,o){var i="mouseover"===e||"pointerover"===e,a="mouseout"===e||"pointerout"===e;if(i&&0==(32&o)&&(n.relatedTarget||n.fromElement)||!a&&!i)return null;if(o=r.window===r?r:(o=r.ownerDocument)?o.defaultView||o.parentWindow:window,a?(a=t,null!==(t=(t=n.relatedTarget||n.toElement)?ur(t):null)&&(t!==(i=tt(t))||5!==t.tag&&6!==t.tag)&&(t=null)):a=null,a===t)return null;if("mouseout"===e||"mouseover"===e)var l=tn,u=Kr.mouseLeave,c=Kr.mouseEnter,s="mouse";else"pointerout"!==e&&"pointerover"!==e||(l=nn,u=Kr.pointerLeave,c=Kr.pointerEnter,s="pointer");if(e=null==a?o:sr(a),o=null==t?o:sr(t),(u=l.getPooled(u,a,n,r)).type=s+"leave",u.target=e,u.relatedTarget=o,(r=l.getPooled(c,t,n,r)).type=s+"enter",r.target=o,r.relatedTarget=e,s=t,(l=a)&&s)e:{for(e=s,a=0,t=c=l;t;t=Ot(t))a++;for(t=0,o=e;o;o=Ot(o))t++;for(;0<a-t;)c=Ot(c),a--;for(;0<t-a;)e=Ot(e),t--;for(;a--;){if(c===e||c===e.alternate)break e;c=Ot(c),e=Ot(e)}c=null}else c=null;for(e=c,c=[];l&&l!==e&&(null===(a=l.alternate)||a!==e);)c.push(l),l=Ot(l);for(l=[];s&&s!==e&&(null===(a=s.alternate)||a!==e);)l.push(s),s=Ot(s);for(s=0;s<c.length;s++)It(c[s],"bubbled",u);for(s=l.length;0<s--;)It(l[s],"captured",r);return n===Vr?(Vr=null,[u]):(Vr=n,[u,r])}};var Yr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Xr=Object.prototype.hasOwnProperty;function Jr(e,t){if(Yr(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(r=0;r<n.length;r++)if(!Xr.call(t,n[r])||!Yr(e[n[r]],t[n[r]]))return!1;return!0}var Zr=Z&&"documentMode"in document&&11>=document.documentMode,eo={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},to=null,no=null,ro=null,oo=!1;function io(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return oo||null==to||to!==$n(n)?null:("selectionStart"in(n=to)&&Qn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},ro&&Jr(ro,n)?null:(ro=n,(e=Ut.getPooled(eo.select,no,e,t)).type="select",e.target=to,Mt(e),e))}var ao={eventTypes:eo,extractEvents:function(e,t,n,r){var o,i=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;if(!(o=!i)){e:{i=Nn(i),o=h.onSelect;for(var a=0;a<o.length;a++)if(!i.has(o[a])){i=!1;break e}i=!0}o=!i}if(o)return null;switch(i=t?sr(t):window,e){case"focus":(Ir(i)||"true"===i.contentEditable)&&(to=i,no=t,ro=null);break;case"blur":ro=no=to=null;break;case"mousedown":oo=!0;break;case"contextmenu":case"mouseup":case"dragend":return oo=!1,io(n,r);case"selectionchange":if(Zr)break;case"keydown":case"keyup":return io(n,r)}return null}};I.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),E=fr,_=cr,T=sr,I.injectEventPluginsByName({SimpleEventPlugin:gn,EnterLeaveEventPlugin:Qr,ChangeEventPlugin:Gr,SelectEventPlugin:ao,BeforeInputEventPlugin:Cr}),new Set;var lo=[],uo=-1;function co(e){0>uo||(e.current=lo[uo],lo[uo]=null,uo--)}function so(e,t){uo++,lo[uo]=e.current,e.current=t}var fo={},po={current:fo},ho={current:!1},mo=fo;function vo(e,t){var n=e.type.contextTypes;if(!n)return fo;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function yo(e){return null!=(e=e.childContextTypes)}function go(e){co(ho),co(po)}function bo(e){co(ho),co(po)}function wo(e,t,n){if(po.current!==fo)throw Error(a(168));so(po,t),so(ho,n)}function ko(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in e))throw Error(a(108,X(t)||"Unknown",i));return o({},n,{},r)}function Eo(e){var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||fo,mo=po.current,so(po,t),so(ho,ho.current),!0}function _o(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(t=ko(e,t,mo),r.__reactInternalMemoizedMergedChildContext=t,co(ho),co(po),so(po,t)):co(ho),so(ho,n)}var To=i.unstable_runWithPriority,xo=i.unstable_scheduleCallback,So=i.unstable_cancelCallback,Po=i.unstable_shouldYield,Oo=i.unstable_requestPaint,Co=i.unstable_now,jo=i.unstable_getCurrentPriorityLevel,Io=i.unstable_ImmediatePriority,Ro=i.unstable_UserBlockingPriority,Mo=i.unstable_NormalPriority,No=i.unstable_LowPriority,Ao=i.unstable_IdlePriority,Uo={},Do=void 0!==Oo?Oo:function(){},Lo=null,zo=null,Fo=!1,Ho=Co(),qo=1e4>Ho?Co:function(){return Co()-Ho};function Wo(){switch(jo()){case Io:return 99;case Ro:return 98;case Mo:return 97;case No:return 96;case Ao:return 95;default:throw Error(a(332))}}function Bo(e){switch(e){case 99:return Io;case 98:return Ro;case 97:return Mo;case 96:return No;case 95:return Ao;default:throw Error(a(332))}}function $o(e,t){return e=Bo(e),To(e,t)}function Vo(e,t,n){return e=Bo(e),xo(e,t,n)}function Go(e){return null===Lo?(Lo=[e],zo=xo(Io,Qo)):Lo.push(e),Uo}function Ko(){if(null!==zo){var e=zo;zo=null,So(e)}Qo()}function Qo(){if(!Fo&&null!==Lo){Fo=!0;var e=0;try{var t=Lo;$o(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Lo=null}catch(t){throw null!==Lo&&(Lo=Lo.slice(e+1)),xo(Io,Ko),t}finally{Fo=!1}}}var Yo=3;function Xo(e,t,n){return 1073741821-(1+((1073741821-e+t/10)/(n/=10)|0))*n}function Jo(e,t){if(e&&e.defaultProps)for(var n in t=o({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var Zo={current:null},ei=null,ti=null,ni=null;function ri(){ni=ti=ei=null}function oi(e,t){var n=e.type._context;so(Zo,n._currentValue),n._currentValue=t}function ii(e){var t=Zo.current;co(Zo),e.type._context._currentValue=t}function ai(e,t){for(;null!==e;){var n=e.alternate;if(e.childExpirationTime<t)e.childExpirationTime=t,null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t);else{if(!(null!==n&&n.childExpirationTime<t))break;n.childExpirationTime=t}e=e.return}}function li(e,t){ei=e,ni=ti=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(Ha=!0),e.firstContext=null)}function ui(e,t){if(ni!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(ni=e,t=1073741823),t={context:e,observedBits:t,next:null},null===ti){if(null===ei)throw Error(a(308));ti=t,ei.dependencies={expirationTime:0,firstContext:t,responders:null}}else ti=ti.next=t;return e._currentValue}var ci=!1;function si(e){return{baseState:e,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function fi(e){return{baseState:e.baseState,firstUpdate:e.firstUpdate,lastUpdate:e.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function di(e,t){return{expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null,nextEffect:null}}function pi(e,t){null===e.lastUpdate?e.firstUpdate=e.lastUpdate=t:(e.lastUpdate.next=t,e.lastUpdate=t)}function hi(e,t){var n=e.alternate;if(null===n){var r=e.updateQueue,o=null;null===r&&(r=e.updateQueue=si(e.memoizedState))}else r=e.updateQueue,o=n.updateQueue,null===r?null===o?(r=e.updateQueue=si(e.memoizedState),o=n.updateQueue=si(n.memoizedState)):r=e.updateQueue=fi(o):null===o&&(o=n.updateQueue=fi(r));null===o||r===o?pi(r,t):null===r.lastUpdate||null===o.lastUpdate?(pi(r,t),pi(o,t)):(pi(r,t),o.lastUpdate=t)}function mi(e,t){var n=e.updateQueue;null===(n=null===n?e.updateQueue=si(e.memoizedState):vi(e,n)).lastCapturedUpdate?n.firstCapturedUpdate=n.lastCapturedUpdate=t:(n.lastCapturedUpdate.next=t,n.lastCapturedUpdate=t)}function vi(e,t){var n=e.alternate;return null!==n&&t===n.updateQueue&&(t=e.updateQueue=fi(t)),t}function yi(e,t,n,r,i,a){switch(n.tag){case 1:return"function"==typeof(e=n.payload)?e.call(a,r,i):e;case 3:e.effectTag=-4097&e.effectTag|64;case 0:if(null==(i="function"==typeof(e=n.payload)?e.call(a,r,i):e))break;return o({},r,i);case 2:ci=!0}return r}function gi(e,t,n,r,o){ci=!1;for(var i=(t=vi(e,t)).baseState,a=null,l=0,u=t.firstUpdate,c=i;null!==u;){var s=u.expirationTime;s<o?(null===a&&(a=u,i=c),l<s&&(l=s)):(fu(s,u.suspenseConfig),c=yi(e,0,u,c,n,r),null!==u.callback&&(e.effectTag|=32,u.nextEffect=null,null===t.lastEffect?t.firstEffect=t.lastEffect=u:(t.lastEffect.nextEffect=u,t.lastEffect=u))),u=u.next}for(s=null,u=t.firstCapturedUpdate;null!==u;){var f=u.expirationTime;f<o?(null===s&&(s=u,null===a&&(i=c)),l<f&&(l=f)):(c=yi(e,0,u,c,n,r),null!==u.callback&&(e.effectTag|=32,u.nextEffect=null,null===t.lastCapturedEffect?t.firstCapturedEffect=t.lastCapturedEffect=u:(t.lastCapturedEffect.nextEffect=u,t.lastCapturedEffect=u))),u=u.next}null===a&&(t.lastUpdate=null),null===s?t.lastCapturedUpdate=null:e.effectTag|=32,null===a&&null===s&&(i=c),t.baseState=i,t.firstUpdate=a,t.firstCapturedUpdate=s,du(l),e.expirationTime=l,e.memoizedState=c}function bi(e,t,n){null!==t.firstCapturedUpdate&&(null!==t.lastUpdate&&(t.lastUpdate.next=t.firstCapturedUpdate,t.lastUpdate=t.lastCapturedUpdate),t.firstCapturedUpdate=t.lastCapturedUpdate=null),wi(t.firstEffect,n),t.firstEffect=t.lastEffect=null,wi(t.firstCapturedEffect,n),t.firstCapturedEffect=t.lastCapturedEffect=null}function wi(e,t){for(;null!==e;){var n=e.callback;if(null!==n){e.callback=null;var r=t;if("function"!=typeof n)throw Error(a(191,n));n.call(r)}e=e.nextEffect}}var ki=M.ReactCurrentBatchConfig,Ei=(new r.Component).refs;function _i(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:o({},t,n),e.memoizedState=n,null!==(r=e.updateQueue)&&0===e.expirationTime&&(r.baseState=n)}var Ti={isMounted:function(e){return!!(e=e._reactInternalFiber)&&tt(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=Jl(),o=ki.suspense;(o=di(r=Zl(r,e,o),o)).payload=t,null!=n&&(o.callback=n),hi(e,o),eu(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=Jl(),o=ki.suspense;(o=di(r=Zl(r,e,o),o)).tag=1,o.payload=t,null!=n&&(o.callback=n),hi(e,o),eu(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=Jl(),r=ki.suspense;(r=di(n=Zl(n,e,r),r)).tag=2,null!=t&&(r.callback=t),hi(e,r),eu(e,n)}};function xi(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!Jr(n,r)||!Jr(o,i))}function Si(e,t,n){var r=!1,o=fo,i=t.contextType;return"object"==typeof i&&null!==i?i=ui(i):(o=yo(t)?mo:po.current,i=(r=null!=(r=t.contextTypes))?vo(e,o):fo),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Ti,e.stateNode=t,t._reactInternalFiber=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Pi(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Ti.enqueueReplaceState(t,t.state,null)}function Oi(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=Ei;var i=t.contextType;"object"==typeof i&&null!==i?o.context=ui(i):(i=yo(t)?mo:po.current,o.context=vo(e,i)),null!==(i=e.updateQueue)&&(gi(e,i,n,o,r),o.state=e.memoizedState),"function"==typeof(i=t.getDerivedStateFromProps)&&(_i(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&Ti.enqueueReplaceState(o,o.state,null),null!==(i=e.updateQueue)&&(gi(e,i,n,o,r),o.state=e.memoizedState)),"function"==typeof o.componentDidMount&&(e.effectTag|=4)}var Ci=Array.isArray;function ji(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:((t=function(e){var t=r.refs;t===Ei&&(t=r.refs={}),null===e?delete t[o]:t[o]=e})._stringRef=o,t)}if("string"!=typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function Ii(e,t){if("textarea"!==e.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,""))}function Ri(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t,n){return(e=Ru(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.effectTag=2,n):r:(t.effectTag=2,n):n}function l(t){return e&&null===t.alternate&&(t.effectTag=2),t}function u(e,t,n,r){return null===t||6!==t.tag?((t=Au(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function c(e,t,n,r){return null!==t&&t.elementType===n.type?((r=o(t,n.props)).ref=ji(e,t,n),r.return=e,r):((r=Mu(n.type,n.key,n.props,null,e.mode,r)).ref=ji(e,t,n),r.return=e,r)}function s(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Uu(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function f(e,t,n,r,i){return null===t||7!==t.tag?((t=Nu(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Au(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case U:return(n=Mu(t.type,t.key,t.props,null,e.mode,n)).ref=ji(e,null,t),n.return=e,n;case D:return(t=Uu(t,e.mode,n)).return=e,t}if(Ci(t)||Y(t))return(t=Nu(t,e.mode,n,null)).return=e,t;Ii(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==o?null:u(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case U:return n.key===o?n.type===L?f(e,t,n.props.children,r,o):c(e,t,n,r):null;case D:return n.key===o?s(e,t,n,r):null}if(Ci(n)||Y(n))return null!==o?null:f(e,t,n,r,null);Ii(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r||"number"==typeof r)return u(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case U:return e=e.get(null===r.key?n:r.key)||null,r.type===L?f(t,e,r.props.children,o,r.key):c(t,e,r,o);case D:return s(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(Ci(r)||Y(r))return f(t,e=e.get(n)||null,r,o,null);Ii(t,r)}return null}function m(o,a,l,u){for(var c=null,s=null,f=a,m=a=0,v=null;null!==f&&m<l.length;m++){f.index>m?(v=f,f=null):v=f.sibling;var y=p(o,f,l[m],u);if(null===y){null===f&&(f=v);break}e&&f&&null===y.alternate&&t(o,f),a=i(y,a,m),null===s?c=y:s.sibling=y,s=y,f=v}if(m===l.length)return n(o,f),c;if(null===f){for(;m<l.length;m++)null!==(f=d(o,l[m],u))&&(a=i(f,a,m),null===s?c=f:s.sibling=f,s=f);return c}for(f=r(o,f);m<l.length;m++)null!==(v=h(f,o,m,l[m],u))&&(e&&null!==v.alternate&&f.delete(null===v.key?m:v.key),a=i(v,a,m),null===s?c=v:s.sibling=v,s=v);return e&&f.forEach((function(e){return t(o,e)})),c}function v(o,l,u,c){var s=Y(u);if("function"!=typeof s)throw Error(a(150));if(null==(u=s.call(u)))throw Error(a(151));for(var f=s=null,m=l,v=l=0,y=null,g=u.next();null!==m&&!g.done;v++,g=u.next()){m.index>v?(y=m,m=null):y=m.sibling;var b=p(o,m,g.value,c);if(null===b){null===m&&(m=y);break}e&&m&&null===b.alternate&&t(o,m),l=i(b,l,v),null===f?s=b:f.sibling=b,f=b,m=y}if(g.done)return n(o,m),s;if(null===m){for(;!g.done;v++,g=u.next())null!==(g=d(o,g.value,c))&&(l=i(g,l,v),null===f?s=g:f.sibling=g,f=g);return s}for(m=r(o,m);!g.done;v++,g=u.next())null!==(g=h(m,o,v,g.value,c))&&(e&&null!==g.alternate&&m.delete(null===g.key?v:g.key),l=i(g,l,v),null===f?s=g:f.sibling=g,f=g);return e&&m.forEach((function(e){return t(o,e)})),s}return function(e,r,i,u){var c="object"==typeof i&&null!==i&&i.type===L&&null===i.key;c&&(i=i.props.children);var s="object"==typeof i&&null!==i;if(s)switch(i.$$typeof){case U:e:{for(s=i.key,c=r;null!==c;){if(c.key===s){if(7===c.tag?i.type===L:c.elementType===i.type){n(e,c.sibling),(r=o(c,i.type===L?i.props.children:i.props)).ref=ji(e,c,i),r.return=e,e=r;break e}n(e,c);break}t(e,c),c=c.sibling}i.type===L?((r=Nu(i.props.children,e.mode,u,i.key)).return=e,e=r):((u=Mu(i.type,i.key,i.props,null,e.mode,u)).ref=ji(e,r,i),u.return=e,e=u)}return l(e);case D:e:{for(c=i.key;null!==r;){if(r.key===c){if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),(r=o(r,i.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Uu(i,e.mode,u)).return=e,e=r}return l(e)}if("string"==typeof i||"number"==typeof i)return i=""+i,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,i)).return=e,e=r):(n(e,r),(r=Au(i,e.mode,u)).return=e,e=r),l(e);if(Ci(i))return m(e,r,i,u);if(Y(i))return v(e,r,i,u);if(s&&Ii(e,i),void 0===i&&!c)switch(e.tag){case 1:case 0:throw e=e.type,Error(a(152,e.displayName||e.name||"Component"))}return n(e,r)}}var Mi=Ri(!0),Ni=Ri(!1),Ai={},Ui={current:Ai},Di={current:Ai},Li={current:Ai};function zi(e){if(e===Ai)throw Error(a(174));return e}function Fi(e,t){so(Li,t),so(Di,e),so(Ui,Ai);var n=t.nodeType;switch(n){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:He(null,"");break;default:t=He(t=(n=8===n?t.parentNode:t).namespaceURI||null,n=n.tagName)}co(Ui),so(Ui,t)}function Hi(e){co(Ui),co(Di),co(Li)}function qi(e){zi(Li.current);var t=zi(Ui.current),n=He(t,e.type);t!==n&&(so(Di,e),so(Ui,n))}function Wi(e){Di.current===e&&(co(Ui),co(Di))}var Bi={current:0};function $i(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.effectTag))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Vi(e,t){return{responder:e,props:t}}var Gi=M.ReactCurrentDispatcher,Ki=M.ReactCurrentBatchConfig,Qi=0,Yi=null,Xi=null,Ji=null,Zi=null,ea=null,ta=null,na=0,ra=null,oa=0,ia=!1,aa=null,la=0;function ua(){throw Error(a(321))}function ca(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Yr(e[n],t[n]))return!1;return!0}function sa(e,t,n,r,o,i){if(Qi=i,Yi=t,Ji=null!==e?e.memoizedState:null,Gi.current=null===Ji?Ca:ja,t=n(r,o),ia){do{ia=!1,la+=1,Ji=null!==e?e.memoizedState:null,ta=Zi,ra=ea=Xi=null,Gi.current=ja,t=n(r,o)}while(ia);aa=null,la=0}if(Gi.current=Oa,(e=Yi).memoizedState=Zi,e.expirationTime=na,e.updateQueue=ra,e.effectTag|=oa,e=null!==Xi&&null!==Xi.next,Qi=0,ta=ea=Zi=Ji=Xi=Yi=null,na=0,ra=null,oa=0,e)throw Error(a(300));return t}function fa(){Gi.current=Oa,Qi=0,ta=ea=Zi=Ji=Xi=Yi=null,na=0,ra=null,oa=0,ia=!1,aa=null,la=0}function da(){var e={memoizedState:null,baseState:null,queue:null,baseUpdate:null,next:null};return null===ea?Zi=ea=e:ea=ea.next=e,ea}function pa(){if(null!==ta)ta=(ea=ta).next,Ji=null!==(Xi=Ji)?Xi.next:null;else{if(null===Ji)throw Error(a(310));var e={memoizedState:(Xi=Ji).memoizedState,baseState:Xi.baseState,queue:Xi.queue,baseUpdate:Xi.baseUpdate,next:null};ea=null===ea?Zi=e:ea.next=e,Ji=Xi.next}return ea}function ha(e,t){return"function"==typeof t?t(e):t}function ma(e){var t=pa(),n=t.queue;if(null===n)throw Error(a(311));if(n.lastRenderedReducer=e,0<la){var r=n.dispatch;if(null!==aa){var o=aa.get(n);if(void 0!==o){aa.delete(n);var i=t.memoizedState;do{i=e(i,o.action),o=o.next}while(null!==o);return Yr(i,t.memoizedState)||(Ha=!0),t.memoizedState=i,t.baseUpdate===n.last&&(t.baseState=i),n.lastRenderedState=i,[i,r]}}return[t.memoizedState,r]}r=n.last;var l=t.baseUpdate;if(i=t.baseState,null!==l?(null!==r&&(r.next=null),r=l.next):r=null!==r?r.next:null,null!==r){var u=o=null,c=r,s=!1;do{var f=c.expirationTime;f<Qi?(s||(s=!0,u=l,o=i),f>na&&du(na=f)):(fu(f,c.suspenseConfig),i=c.eagerReducer===e?c.eagerState:e(i,c.action)),l=c,c=c.next}while(null!==c&&c!==r);s||(u=l,o=i),Yr(i,t.memoizedState)||(Ha=!0),t.memoizedState=i,t.baseUpdate=u,t.baseState=o,n.lastRenderedState=i}return[t.memoizedState,n.dispatch]}function va(e){var t=da();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={last:null,dispatch:null,lastRenderedReducer:ha,lastRenderedState:e}).dispatch=Pa.bind(null,Yi,e),[t.memoizedState,e]}function ya(e){return ma(ha)}function ga(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===ra?(ra={lastEffect:null}).lastEffect=e.next=e:null===(t=ra.lastEffect)?ra.lastEffect=e.next=e:(n=t.next,t.next=e,e.next=n,ra.lastEffect=e),e}function ba(e,t,n,r){var o=da();oa|=e,o.memoizedState=ga(t,n,void 0,void 0===r?null:r)}function wa(e,t,n,r){var o=pa();r=void 0===r?null:r;var i=void 0;if(null!==Xi){var a=Xi.memoizedState;if(i=a.destroy,null!==r&&ca(r,a.deps))return void ga(0,n,i,r)}oa|=e,o.memoizedState=ga(t,n,i,r)}function ka(e,t){return ba(516,192,e,t)}function Ea(e,t){return wa(516,192,e,t)}function _a(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ta(){}function xa(e,t){return da().memoizedState=[e,void 0===t?null:t],e}function Sa(e,t){var n=pa();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ca(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Pa(e,t,n){if(!(25>la))throw Error(a(301));var r=e.alternate;if(e===Yi||null!==r&&r===Yi)if(ia=!0,e={expirationTime:Qi,suspenseConfig:null,action:n,eagerReducer:null,eagerState:null,next:null},null===aa&&(aa=new Map),void 0===(n=aa.get(t)))aa.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}else{var o=Jl(),i=ki.suspense;i={expirationTime:o=Zl(o,e,i),suspenseConfig:i,action:n,eagerReducer:null,eagerState:null,next:null};var l=t.last;if(null===l)i.next=i;else{var u=l.next;null!==u&&(i.next=u),l.next=i}if(t.last=i,0===e.expirationTime&&(null===r||0===r.expirationTime)&&null!==(r=t.lastRenderedReducer))try{var c=t.lastRenderedState,s=r(c,n);if(i.eagerReducer=r,i.eagerState=s,Yr(s,c))return}catch(e){}eu(e,o)}}var Oa={readContext:ui,useCallback:ua,useContext:ua,useEffect:ua,useImperativeHandle:ua,useLayoutEffect:ua,useMemo:ua,useReducer:ua,useRef:ua,useState:ua,useDebugValue:ua,useResponder:ua,useDeferredValue:ua,useTransition:ua},Ca={readContext:ui,useCallback:xa,useContext:ui,useEffect:ka,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,ba(4,36,_a.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ba(4,36,e,t)},useMemo:function(e,t){var n=da();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=da();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={last:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=Pa.bind(null,Yi,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},da().memoizedState=e},useState:va,useDebugValue:Ta,useResponder:Vi,useDeferredValue:function(e,t){var n=va(e),r=n[0],o=n[1];return ka((function(){i.unstable_next((function(){var n=Ki.suspense;Ki.suspense=void 0===t?null:t;try{o(e)}finally{Ki.suspense=n}}))}),[e,t]),r},useTransition:function(e){var t=va(!1),n=t[0],r=t[1];return[xa((function(t){r(!0),i.unstable_next((function(){var n=Ki.suspense;Ki.suspense=void 0===e?null:e;try{r(!1),t()}finally{Ki.suspense=n}}))}),[e,n]),n]}},ja={readContext:ui,useCallback:Sa,useContext:ui,useEffect:Ea,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,wa(4,36,_a.bind(null,t,e),n)},useLayoutEffect:function(e,t){return wa(4,36,e,t)},useMemo:function(e,t){var n=pa();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ca(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)},useReducer:ma,useRef:function(){return pa().memoizedState},useState:ya,useDebugValue:Ta,useResponder:Vi,useDeferredValue:function(e,t){var n=ya(),r=n[0],o=n[1];return Ea((function(){i.unstable_next((function(){var n=Ki.suspense;Ki.suspense=void 0===t?null:t;try{o(e)}finally{Ki.suspense=n}}))}),[e,t]),r},useTransition:function(e){var t=ya(),n=t[0],r=t[1];return[Sa((function(t){r(!0),i.unstable_next((function(){var n=Ki.suspense;Ki.suspense=void 0===e?null:e;try{r(!1),t()}finally{Ki.suspense=n}}))}),[e,n]),n]}},Ia=null,Ra=null,Ma=!1;function Na(e,t){var n=ju(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Aa(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function Ua(e){if(Ma){var t=Ra;if(t){var n=t;if(!Aa(e,t)){if(!(t=nr(n.nextSibling))||!Aa(e,t))return e.effectTag=-1025&e.effectTag|2,Ma=!1,void(Ia=e);Na(Ia,n)}Ia=e,Ra=nr(t.firstChild)}else e.effectTag=-1025&e.effectTag|2,Ma=!1,Ia=e}}function Da(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Ia=e}function La(e){if(e!==Ia)return!1;if(!Ma)return Da(e),Ma=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Zn(t,e.memoizedProps))for(t=Ra;t;)Na(e,t),t=nr(t.nextSibling);if(Da(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Ra=nr(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Ra=null}}else Ra=Ia?nr(e.stateNode.nextSibling):null;return!0}function za(){Ra=Ia=null,Ma=!1}var Fa=M.ReactCurrentOwner,Ha=!1;function qa(e,t,n,r){t.child=null===e?Ni(t,null,n,r):Mi(t,e.child,n,r)}function Wa(e,t,n,r,o){n=n.render;var i=t.ref;return li(t,o),r=sa(e,t,n,r,i,o),null===e||Ha?(t.effectTag|=1,qa(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=o&&(e.expirationTime=0),il(e,t,o))}function Ba(e,t,n,r,o,i){if(null===e){var a=n.type;return"function"!=typeof a||Iu(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Mu(n.type,null,r,null,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,$a(e,t,a,r,o,i))}return a=e.child,o<i&&(o=a.memoizedProps,(n=null!==(n=n.compare)?n:Jr)(o,r)&&e.ref===t.ref)?il(e,t,i):(t.effectTag|=1,(e=Ru(a,r)).ref=t.ref,e.return=t,t.child=e)}function $a(e,t,n,r,o,i){return null!==e&&Jr(e.memoizedProps,r)&&e.ref===t.ref&&(Ha=!1,o<i)?il(e,t,i):Ga(e,t,n,r,i)}function Va(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function Ga(e,t,n,r,o){var i=yo(n)?mo:po.current;return i=vo(t,i),li(t,o),n=sa(e,t,n,r,i,o),null===e||Ha?(t.effectTag|=1,qa(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=o&&(e.expirationTime=0),il(e,t,o))}function Ka(e,t,n,r,o){if(yo(n)){var i=!0;Eo(t)}else i=!1;if(li(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),Si(t,n,r),Oi(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,l=t.memoizedProps;a.props=l;var u=a.context,c=n.contextType;"object"==typeof c&&null!==c?c=ui(c):c=vo(t,c=yo(n)?mo:po.current);var s=n.getDerivedStateFromProps,f="function"==typeof s||"function"==typeof a.getSnapshotBeforeUpdate;f||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==r||u!==c)&&Pi(t,a,r,c),ci=!1;var d=t.memoizedState;u=a.state=d;var p=t.updateQueue;null!==p&&(gi(t,p,r,a,o),u=t.memoizedState),l!==r||d!==u||ho.current||ci?("function"==typeof s&&(_i(t,n,s,r),u=t.memoizedState),(l=ci||xi(t,n,l,r,d,u,c))?(f||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.effectTag|=4)):("function"==typeof a.componentDidMount&&(t.effectTag|=4),t.memoizedProps=r,t.memoizedState=u),a.props=r,a.state=u,a.context=c,r=l):("function"==typeof a.componentDidMount&&(t.effectTag|=4),r=!1)}else a=t.stateNode,l=t.memoizedProps,a.props=t.type===t.elementType?l:Jo(t.type,l),u=a.context,"object"==typeof(c=n.contextType)&&null!==c?c=ui(c):c=vo(t,c=yo(n)?mo:po.current),(f="function"==typeof(s=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==r||u!==c)&&Pi(t,a,r,c),ci=!1,u=t.memoizedState,d=a.state=u,null!==(p=t.updateQueue)&&(gi(t,p,r,a,o),d=t.memoizedState),l!==r||u!==d||ho.current||ci?("function"==typeof s&&(_i(t,n,s,r),d=t.memoizedState),(s=ci||xi(t,n,l,r,u,d,c))?(f||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,d,c),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,d,c)),"function"==typeof a.componentDidUpdate&&(t.effectTag|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=d),a.props=r,a.state=d,a.context=c,r=s):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=256),r=!1);return Qa(e,t,n,r,i,o)}function Qa(e,t,n,r,o,i){Va(e,t);var a=0!=(64&t.effectTag);if(!r&&!a)return o&&_o(t,n,!1),il(e,t,i);r=t.stateNode,Fa.current=t;var l=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&a?(t.child=Mi(t,e.child,null,i),t.child=Mi(t,null,l,i)):qa(e,t,l,i),t.memoizedState=r.state,o&&_o(t,n,!0),t.child}function Ya(e){var t=e.stateNode;t.pendingContext?wo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&wo(0,t.context,!1),Fi(e,t.containerInfo)}var Xa,Ja,Za,el={dehydrated:null,retryTime:0};function tl(e,t,n){var r,o=t.mode,i=t.pendingProps,a=Bi.current,l=!1;if((r=0!=(64&t.effectTag))||(r=0!=(2&a)&&(null===e||null!==e.memoizedState)),r?(l=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===i.fallback||!0===i.unstable_avoidThisFallback||(a|=1),so(Bi,1&a),null===e){if(void 0!==i.fallback&&Ua(t),l){if(l=i.fallback,(i=Nu(null,o,0,null)).return=t,0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,i.child=e;null!==e;)e.return=i,e=e.sibling;return(n=Nu(l,o,n,null)).return=t,i.sibling=n,t.memoizedState=el,t.child=i,n}return o=i.children,t.memoizedState=null,t.child=Ni(t,null,o,n)}if(null!==e.memoizedState){if(o=(e=e.child).sibling,l){if(i=i.fallback,(n=Ru(e,e.pendingProps)).return=t,0==(2&t.mode)&&(l=null!==t.memoizedState?t.child.child:t.child)!==e.child)for(n.child=l;null!==l;)l.return=n,l=l.sibling;return(o=Ru(o,i,o.expirationTime)).return=t,n.sibling=o,n.childExpirationTime=0,t.memoizedState=el,t.child=n,o}return n=Mi(t,e.child,i.children,n),t.memoizedState=null,t.child=n}if(e=e.child,l){if(l=i.fallback,(i=Nu(null,o,0,null)).return=t,i.child=e,null!==e&&(e.return=i),0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,i.child=e;null!==e;)e.return=i,e=e.sibling;return(n=Nu(l,o,n,null)).return=t,i.sibling=n,n.effectTag|=2,i.childExpirationTime=0,t.memoizedState=el,t.child=i,n}return t.memoizedState=null,t.child=Mi(t,e,i.children,n)}function nl(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t),ai(e.return,t)}function rl(e,t,n,r,o,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,last:r,tail:n,tailExpiration:0,tailMode:o,lastEffect:i}:(a.isBackwards=t,a.rendering=null,a.last=r,a.tail=n,a.tailExpiration=0,a.tailMode=o,a.lastEffect=i)}function ol(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(qa(e,t,r.children,n),0!=(2&(r=Bi.current)))r=1&r|2,t.effectTag|=64;else{if(null!==e&&0!=(64&e.effectTag))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&nl(e,n);else if(19===e.tag)nl(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(so(Bi,r),0==(2&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===$i(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),rl(t,!1,o,n,i,t.lastEffect);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===$i(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}rl(t,!0,n,null,i,t.lastEffect);break;case"together":rl(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function il(e,t,n){null!==e&&(t.dependencies=e.dependencies);var r=t.expirationTime;if(0!==r&&du(r),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Ru(e=t.child,e.pendingProps,e.expirationTime),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Ru(e,e.pendingProps,e.expirationTime)).return=t;n.sibling=null}return t.child}function al(e){e.effectTag|=4}function ll(e,t){switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ul(e){switch(e.tag){case 1:yo(e.type)&&go();var t=e.effectTag;return 4096&t?(e.effectTag=-4097&t|64,e):null;case 3:if(Hi(),bo(),0!=(64&(t=e.effectTag)))throw Error(a(285));return e.effectTag=-4097&t|64,e;case 5:return Wi(e),null;case 13:return co(Bi),4096&(t=e.effectTag)?(e.effectTag=-4097&t|64,e):null;case 19:return co(Bi),null;case 4:return Hi(),null;case 10:return ii(e),null;default:return null}}function cl(e,t){return{value:e,source:t,stack:J(t)}}Xa=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ja=function(e,t,n,r,i){var a=e.memoizedProps;if(a!==r){var l,u,c=t.stateNode;switch(zi(Ui.current),e=null,n){case"input":a=Se(c,a),r=Se(c,r),e=[];break;case"option":a=Re(c,a),r=Re(c,r),e=[];break;case"select":a=o({},a,{value:void 0}),r=o({},r,{value:void 0}),e=[];break;case"textarea":a=Ne(c,a),r=Ne(c,r),e=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(c.onclick=Bn)}for(l in Hn(n,r),n=null,a)if(!r.hasOwnProperty(l)&&a.hasOwnProperty(l)&&null!=a[l])if("style"===l)for(u in c=a[l])c.hasOwnProperty(u)&&(n||(n={}),n[u]="");else"dangerouslySetInnerHTML"!==l&&"children"!==l&&"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(p.hasOwnProperty(l)?e||(e=[]):(e=e||[]).push(l,null));for(l in r){var s=r[l];if(c=null!=a?a[l]:void 0,r.hasOwnProperty(l)&&s!==c&&(null!=s||null!=c))if("style"===l)if(c){for(u in c)!c.hasOwnProperty(u)||s&&s.hasOwnProperty(u)||(n||(n={}),n[u]="");for(u in s)s.hasOwnProperty(u)&&c[u]!==s[u]&&(n||(n={}),n[u]=s[u])}else n||(e||(e=[]),e.push(l,n)),n=s;else"dangerouslySetInnerHTML"===l?(s=s?s.__html:void 0,c=c?c.__html:void 0,null!=s&&c!==s&&(e=e||[]).push(l,""+s)):"children"===l?c===s||"string"!=typeof s&&"number"!=typeof s||(e=e||[]).push(l,""+s):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&(p.hasOwnProperty(l)?(null!=s&&Wn(i,l),e||c===s||(e=[])):(e=e||[]).push(l,s))}n&&(e=e||[]).push("style",n),i=e,(t.updateQueue=i)&&al(t)}},Za=function(e,t,n,r){n!==r&&al(t)};var sl="function"==typeof WeakSet?WeakSet:Set;function fl(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=J(n)),null!==n&&X(n.type),t=t.value,null!==e&&1===e.tag&&X(e.type);try{console.error(t)}catch(e){setTimeout((function(){throw e}))}}function dl(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Tu(e,t)}else t.current=null}function pl(e,t){switch(t.tag){case 0:case 11:case 15:hl(2,0,t);break;case 1:if(256&t.effectTag&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Jo(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}break;case 3:case 5:case 6:case 4:case 17:break;default:throw Error(a(163))}}function hl(e,t,n){if(null!==(n=null!==(n=n.updateQueue)?n.lastEffect:null)){var r=n=n.next;do{if(0!=(r.tag&e)){var o=r.destroy;r.destroy=void 0,void 0!==o&&o()}0!=(r.tag&t)&&(o=r.create,r.destroy=o()),r=r.next}while(r!==n)}}function ml(e,t,n){switch("function"==typeof Ou&&Ou(t),t.tag){case 0:case 11:case 14:case 15:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var r=e.next;$o(97<n?97:n,(function(){var e=r;do{var n=e.destroy;if(void 0!==n){var o=t;try{n()}catch(e){Tu(o,e)}}e=e.next}while(e!==r)}))}break;case 1:dl(t),"function"==typeof(n=t.stateNode).componentWillUnmount&&function(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){Tu(e,t)}}(t,n);break;case 5:dl(t);break;case 4:bl(e,t,n)}}function vl(e){var t=e.alternate;e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.alternate=null,e.firstEffect=null,e.lastEffect=null,e.pendingProps=null,e.memoizedProps=null,null!==t&&vl(t)}function yl(e){return 5===e.tag||3===e.tag||4===e.tag}function gl(e){e:{for(var t=e.return;null!==t;){if(yl(t)){var n=t;break e}t=t.return}throw Error(a(160))}switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(a(161))}16&n.effectTag&&(Be(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||yl(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}for(var o=e;;){var i=5===o.tag||6===o.tag;if(i){var l=i?o.stateNode:o.stateNode.instance;if(n)if(r){var u=l;l=n,8===(i=t).nodeType?i.parentNode.insertBefore(u,l):i.insertBefore(u,l)}else t.insertBefore(l,n);else r?(8===(u=t).nodeType?(i=u.parentNode).insertBefore(l,u):(i=u).appendChild(l),null!=(u=u._reactRootContainer)||null!==i.onclick||(i.onclick=Bn)):t.appendChild(l)}else if(4!==o.tag&&null!==o.child){o.child.return=o,o=o.child;continue}if(o===e)break;for(;null===o.sibling;){if(null===o.return||o.return===e)return;o=o.return}o.sibling.return=o.return,o=o.sibling}}function bl(e,t,n){for(var r,o,i=t,l=!1;;){if(!l){l=i.return;e:for(;;){if(null===l)throw Error(a(160));switch(r=l.stateNode,l.tag){case 5:o=!1;break e;case 3:case 4:r=r.containerInfo,o=!0;break e}l=l.return}l=!0}if(5===i.tag||6===i.tag){e:for(var u=e,c=i,s=n,f=c;;)if(ml(u,f,s),null!==f.child&&4!==f.tag)f.child.return=f,f=f.child;else{if(f===c)break;for(;null===f.sibling;){if(null===f.return||f.return===c)break e;f=f.return}f.sibling.return=f.return,f=f.sibling}o?(u=r,c=i.stateNode,8===u.nodeType?u.parentNode.removeChild(c):u.removeChild(c)):r.removeChild(i.stateNode)}else if(4===i.tag){if(null!==i.child){r=i.stateNode.containerInfo,o=!0,i.child.return=i,i=i.child;continue}}else if(ml(e,i,n),null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)return;4===(i=i.return).tag&&(l=!1)}i.sibling.return=i.return,i=i.sibling}}function wl(e,t){switch(t.tag){case 0:case 11:case 14:case 15:hl(4,8,t);break;case 1:break;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps,o=null!==e?e.memoizedProps:r;e=t.type;var i=t.updateQueue;if(t.updateQueue=null,null!==i){for(n[ar]=r,"input"===e&&"radio"===r.type&&null!=r.name&&Oe(n,r),qn(e,o),t=qn(e,r),o=0;o<i.length;o+=2){var l=i[o],u=i[o+1];"style"===l?zn(n,u):"dangerouslySetInnerHTML"===l?We(n,u):"children"===l?Be(n,u):Ee(n,l,u,t)}switch(e){case"input":Ce(n,r);break;case"textarea":Ue(n,r);break;case"select":t=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(e=r.value)?Me(n,!!r.multiple,e,!1):t!==!!r.multiple&&(null!=r.defaultValue?Me(n,!!r.multiple,r.defaultValue,!0):Me(n,!!r.multiple,r.multiple?[]:"",!1))}}}break;case 6:if(null===t.stateNode)throw Error(a(162));t.stateNode.nodeValue=t.memoizedProps;break;case 3:(t=t.stateNode).hydrate&&(t.hydrate=!1,St(t.containerInfo));break;case 12:break;case 13:if(n=t,null===t.memoizedState?r=!1:(r=!0,n=t.child,Fl=qo()),null!==n)e:for(e=n;;){if(5===e.tag)i=e.stateNode,r?"function"==typeof(i=i.style).setProperty?i.setProperty("display","none","important"):i.display="none":(i=e.stateNode,o=null!=(o=e.memoizedProps.style)&&o.hasOwnProperty("display")?o.display:null,i.style.display=Ln("display",o));else if(6===e.tag)e.stateNode.nodeValue=r?"":e.memoizedProps;else{if(13===e.tag&&null!==e.memoizedState&&null===e.memoizedState.dehydrated){(i=e.child.sibling).return=e,e=i;continue}if(null!==e.child){e.child.return=e,e=e.child;continue}}if(e===n)break e;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}kl(t);break;case 19:kl(t);break;case 17:case 20:case 21:break;default:throw Error(a(163))}}function kl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new sl),t.forEach((function(t){var r=Su.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}var El="function"==typeof WeakMap?WeakMap:Map;function _l(e,t,n){(n=di(n,null)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ql||(ql=!0,Wl=r),fl(e,t)},n}function Tl(e,t,n){(n=di(n,null)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return fl(e,t),r(o)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Bl?Bl=new Set([this]):Bl.add(this),fl(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}var xl,Sl=Math.ceil,Pl=M.ReactCurrentDispatcher,Ol=M.ReactCurrentOwner,Cl=0,jl=null,Il=null,Rl=0,Ml=0,Nl=null,Al=1073741823,Ul=1073741823,Dl=null,Ll=0,zl=!1,Fl=0,Hl=null,ql=!1,Wl=null,Bl=null,$l=!1,Vl=null,Gl=90,Kl=null,Ql=0,Yl=null,Xl=0;function Jl(){return 0!=(48&Cl)?1073741821-(qo()/10|0):0!==Xl?Xl:Xl=1073741821-(qo()/10|0)}function Zl(e,t,n){if(0==(2&(t=t.mode)))return 1073741823;var r=Wo();if(0==(4&t))return 99===r?1073741823:1073741822;if(0!=(16&Cl))return Rl;if(null!==n)e=Xo(e,0|n.timeoutMs||5e3,250);else switch(r){case 99:e=1073741823;break;case 98:e=Xo(e,150,100);break;case 97:case 96:e=Xo(e,5e3,250);break;case 95:e=2;break;default:throw Error(a(326))}return null!==jl&&e===Rl&&--e,e}function eu(e,t){if(50<Ql)throw Ql=0,Yl=null,Error(a(185));if(null!==(e=tu(e,t))){var n=Wo();1073741823===t?0!=(8&Cl)&&0==(48&Cl)?iu(e):(ru(e),0===Cl&&Ko()):ru(e),0==(4&Cl)||98!==n&&99!==n||(null===Kl?Kl=new Map([[e,t]]):(void 0===(n=Kl.get(e))||n>t)&&Kl.set(e,t))}}function tu(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,o=null;if(null===r&&3===e.tag)o=e.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<t&&(r.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===r.return&&3===r.tag){o=r.stateNode;break}r=r.return}return null!==o&&(jl===o&&(du(t),4===Ml&&zu(o,Rl)),Fu(o,t)),o}function nu(e){var t=e.lastExpiredTime;return 0!==t?t:Lu(e,t=e.firstPendingTime)?(t=e.lastPingedTime)>(e=e.nextKnownPendingLevel)?t:e:t}function ru(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=Go(iu.bind(null,e));else{var t=nu(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var r=Jl();if(1073741823===t?r=99:1===t||2===t?r=95:r=0>=(r=10*(1073741821-t)-10*(1073741821-r))?99:250>=r?98:5250>=r?97:95,null!==n){var o=e.callbackPriority;if(e.callbackExpirationTime===t&&o>=r)return;n!==Uo&&So(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?Go(iu.bind(null,e)):Vo(r,ou.bind(null,e),{timeout:10*(1073741821-t)-qo()}),e.callbackNode=t}}}function ou(e,t){if(Xl=0,t)return Hu(e,t=Jl()),ru(e),null;var n=nu(e);if(0!==n){if(t=e.callbackNode,0!=(48&Cl))throw Error(a(327));if(ku(),e===jl&&n===Rl||uu(e,n),null!==Il){var r=Cl;Cl|=16;for(var o=su();;)try{hu();break}catch(t){cu(e,t)}if(ri(),Cl=r,Pl.current=o,1===Ml)throw t=Nl,uu(e,n),zu(e,n),ru(e),t;if(null===Il)switch(o=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,r=Ml,jl=null,r){case 0:case 1:throw Error(a(345));case 2:Hu(e,2<n?2:n);break;case 3:if(zu(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=yu(o)),1073741823===Al&&10<(o=Fl+500-qo())){if(zl){var i=e.lastPingedTime;if(0===i||i>=n){e.lastPingedTime=n,uu(e,n);break}}if(0!==(i=nu(e))&&i!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}e.timeoutHandle=er(gu.bind(null,e),o);break}gu(e);break;case 4:if(zu(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=yu(o)),zl&&(0===(o=e.lastPingedTime)||o>=n)){e.lastPingedTime=n,uu(e,n);break}if(0!==(o=nu(e))&&o!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}if(1073741823!==Ul?r=10*(1073741821-Ul)-qo():1073741823===Al?r=0:(r=10*(1073741821-Al)-5e3,0>(r=(o=qo())-r)&&(r=0),(n=10*(1073741821-n)-o)<(r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Sl(r/1960))-r)&&(r=n)),10<r){e.timeoutHandle=er(gu.bind(null,e),r);break}gu(e);break;case 5:if(1073741823!==Al&&null!==Dl){i=Al;var l=Dl;if(0>=(r=0|l.busyMinDurationMs)?r=0:(o=0|l.busyDelayMs,r=(i=qo()-(10*(1073741821-i)-(0|l.timeoutMs||5e3)))<=o?0:o+r-i),10<r){zu(e,n),e.timeoutHandle=er(gu.bind(null,e),r);break}}gu(e);break;default:throw Error(a(329))}if(ru(e),e.callbackNode===t)return ou.bind(null,e)}}return null}function iu(e){var t=e.lastExpiredTime;if(t=0!==t?t:1073741823,e.finishedExpirationTime===t)gu(e);else{if(0!=(48&Cl))throw Error(a(327));if(ku(),e===jl&&t===Rl||uu(e,t),null!==Il){var n=Cl;Cl|=16;for(var r=su();;)try{pu();break}catch(t){cu(e,t)}if(ri(),Cl=n,Pl.current=r,1===Ml)throw n=Nl,uu(e,t),zu(e,t),ru(e),n;if(null!==Il)throw Error(a(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,jl=null,gu(e),ru(e)}}return null}function au(e,t){var n=Cl;Cl|=1;try{return e(t)}finally{0===(Cl=n)&&Ko()}}function lu(e,t){var n=Cl;Cl&=-2,Cl|=8;try{return e(t)}finally{0===(Cl=n)&&Ko()}}function uu(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,tr(n)),null!==Il)for(n=Il.return;null!==n;){var r=n;switch(r.tag){case 1:var o=r.type.childContextTypes;null!=o&&go();break;case 3:Hi(),bo();break;case 5:Wi(r);break;case 4:Hi();break;case 13:case 19:co(Bi);break;case 10:ii(r)}n=n.return}jl=e,Il=Ru(e.current,null),Rl=t,Ml=0,Nl=null,Ul=Al=1073741823,Dl=null,Ll=0,zl=!1}function cu(e,t){for(;;){try{if(ri(),fa(),null===Il||null===Il.return)return Ml=1,Nl=t,null;e:{var n=e,r=Il.return,o=Il,i=t;if(t=Rl,o.effectTag|=2048,o.firstEffect=o.lastEffect=null,null!==i&&"object"==typeof i&&"function"==typeof i.then){var a=i,l=0!=(1&Bi.current),u=r;do{var c;if(c=13===u.tag){var s=u.memoizedState;if(null!==s)c=null!==s.dehydrated;else{var f=u.memoizedProps;c=void 0!==f.fallback&&(!0!==f.unstable_avoidThisFallback||!l)}}if(c){var d=u.updateQueue;if(null===d){var p=new Set;p.add(a),u.updateQueue=p}else d.add(a);if(0==(2&u.mode)){if(u.effectTag|=64,o.effectTag&=-2981,1===o.tag)if(null===o.alternate)o.tag=17;else{var h=di(1073741823,null);h.tag=2,hi(o,h)}o.expirationTime=1073741823;break e}i=void 0,o=t;var m=n.pingCache;if(null===m?(m=n.pingCache=new El,i=new Set,m.set(a,i)):void 0===(i=m.get(a))&&(i=new Set,m.set(a,i)),!i.has(o)){i.add(o);var v=xu.bind(null,n,a,o);a.then(v,v)}u.effectTag|=4096,u.expirationTime=t;break e}u=u.return}while(null!==u);i=Error((X(o.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+J(o))}5!==Ml&&(Ml=2),i=cl(i,o),u=r;do{switch(u.tag){case 3:a=i,u.effectTag|=4096,u.expirationTime=t,mi(u,_l(u,a,t));break e;case 1:a=i;var y=u.type,g=u.stateNode;if(0==(64&u.effectTag)&&("function"==typeof y.getDerivedStateFromError||null!==g&&"function"==typeof g.componentDidCatch&&(null===Bl||!Bl.has(g)))){u.effectTag|=4096,u.expirationTime=t,mi(u,Tl(u,a,t));break e}}u=u.return}while(null!==u)}Il=vu(Il)}catch(e){t=e;continue}break}}function su(){var e=Pl.current;return Pl.current=Oa,null===e?Oa:e}function fu(e,t){e<Al&&2<e&&(Al=e),null!==t&&e<Ul&&2<e&&(Ul=e,Dl=t)}function du(e){e>Ll&&(Ll=e)}function pu(){for(;null!==Il;)Il=mu(Il)}function hu(){for(;null!==Il&&!Po();)Il=mu(Il)}function mu(e){var t=xl(e.alternate,e,Rl);return e.memoizedProps=e.pendingProps,null===t&&(t=vu(e)),Ol.current=null,t}function vu(e){Il=e;do{var t=Il.alternate;if(e=Il.return,0==(2048&Il.effectTag)){e:{var n=t,r=Rl,i=(t=Il).pendingProps;switch(t.tag){case 2:case 16:break;case 15:case 0:break;case 1:yo(t.type)&&go();break;case 3:Hi(),bo(),(i=t.stateNode).pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(null===n||null===n.child)&&La(t)&&al(t);break;case 5:Wi(t),r=zi(Li.current);var l=t.type;if(null!==n&&null!=t.stateNode)Ja(n,t,l,i,r),n.ref!==t.ref&&(t.effectTag|=128);else if(i){var u=zi(Ui.current);if(La(t)){var c=(i=t).stateNode;n=i.type;var s=i.memoizedProps,f=r;switch(c[ir]=i,c[ar]=s,l=void 0,r=c,n){case"iframe":case"object":case"embed":xn("load",r);break;case"video":case"audio":for(c=0;c<et.length;c++)xn(et[c],r);break;case"source":xn("error",r);break;case"img":case"image":case"link":xn("error",r),xn("load",r);break;case"form":xn("reset",r),xn("submit",r);break;case"details":xn("toggle",r);break;case"input":Pe(r,s),xn("invalid",r),Wn(f,"onChange");break;case"select":r._wrapperState={wasMultiple:!!s.multiple},xn("invalid",r),Wn(f,"onChange");break;case"textarea":Ae(r,s),xn("invalid",r),Wn(f,"onChange")}for(l in Hn(n,s),c=null,s)s.hasOwnProperty(l)&&(u=s[l],"children"===l?"string"==typeof u?r.textContent!==u&&(c=["children",u]):"number"==typeof u&&r.textContent!==""+u&&(c=["children",""+u]):p.hasOwnProperty(l)&&null!=u&&Wn(f,l));switch(n){case"input":Te(r),je(r,s,!0);break;case"textarea":Te(r),De(r);break;case"select":case"option":break;default:"function"==typeof s.onClick&&(r.onclick=Bn)}l=c,i.updateQueue=l,(i=null!==l)&&al(t)}else{n=t,f=l,s=i,c=9===r.nodeType?r:r.ownerDocument,u===Le&&(u=Fe(f)),u===Le?"script"===f?((s=c.createElement("div")).innerHTML="<script><\/script>",c=s.removeChild(s.firstChild)):"string"==typeof s.is?c=c.createElement(f,{is:s.is}):(c=c.createElement(f),"select"===f&&(f=c,s.multiple?f.multiple=!0:s.size&&(f.size=s.size))):c=c.createElementNS(u,f),(s=c)[ir]=n,s[ar]=i,Xa(s,t),t.stateNode=s;var d=r,h=qn(f=l,n=i);switch(f){case"iframe":case"object":case"embed":xn("load",s),r=n;break;case"video":case"audio":for(r=0;r<et.length;r++)xn(et[r],s);r=n;break;case"source":xn("error",s),r=n;break;case"img":case"image":case"link":xn("error",s),xn("load",s),r=n;break;case"form":xn("reset",s),xn("submit",s),r=n;break;case"details":xn("toggle",s),r=n;break;case"input":Pe(s,n),r=Se(s,n),xn("invalid",s),Wn(d,"onChange");break;case"option":r=Re(s,n);break;case"select":s._wrapperState={wasMultiple:!!n.multiple},r=o({},n,{value:void 0}),xn("invalid",s),Wn(d,"onChange");break;case"textarea":Ae(s,n),r=Ne(s,n),xn("invalid",s),Wn(d,"onChange");break;default:r=n}Hn(f,r),c=void 0,u=f;var m=s,v=r;for(c in v)if(v.hasOwnProperty(c)){var y=v[c];"style"===c?zn(m,y):"dangerouslySetInnerHTML"===c?null!=(y=y?y.__html:void 0)&&We(m,y):"children"===c?"string"==typeof y?("textarea"!==u||""!==y)&&Be(m,y):"number"==typeof y&&Be(m,""+y):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(p.hasOwnProperty(c)?null!=y&&Wn(d,c):null!=y&&Ee(m,c,y,h))}switch(f){case"input":Te(s),je(s,n,!1);break;case"textarea":Te(s),De(s);break;case"option":null!=n.value&&s.setAttribute("value",""+ke(n.value));break;case"select":(r=s).multiple=!!n.multiple,null!=(s=n.value)?Me(r,!!n.multiple,s,!1):null!=n.defaultValue&&Me(r,!!n.multiple,n.defaultValue,!0);break;default:"function"==typeof r.onClick&&(s.onclick=Bn)}(i=Jn(l,i))&&al(t)}null!==t.ref&&(t.effectTag|=128)}else if(null===t.stateNode)throw Error(a(166));break;case 6:if(n&&null!=t.stateNode)Za(0,t,n.memoizedProps,i);else{if("string"!=typeof i&&null===t.stateNode)throw Error(a(166));r=zi(Li.current),zi(Ui.current),La(t)?(l=(i=t).stateNode,r=i.memoizedProps,l[ir]=i,(i=l.nodeValue!==r)&&al(t)):(l=t,(i=(9===r.nodeType?r:r.ownerDocument).createTextNode(i))[ir]=l,t.stateNode=i)}break;case 11:break;case 13:if(co(Bi),i=t.memoizedState,0!=(64&t.effectTag)){t.expirationTime=r;break e}i=null!==i,l=!1,null===n?void 0!==t.memoizedProps.fallback&&La(t):(l=null!==(r=n.memoizedState),i||null===r||null!==(r=n.child.sibling)&&(null!==(s=t.firstEffect)?(t.firstEffect=r,r.nextEffect=s):(t.firstEffect=t.lastEffect=r,r.nextEffect=null),r.effectTag=8)),i&&!l&&0!=(2&t.mode)&&(null===n&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Bi.current)?0===Ml&&(Ml=3):(0!==Ml&&3!==Ml||(Ml=4),0!==Ll&&null!==jl&&(zu(jl,Rl),Fu(jl,Ll)))),(i||l)&&(t.effectTag|=4);break;case 7:case 8:case 12:break;case 4:Hi();break;case 10:ii(t);break;case 9:case 14:break;case 17:yo(t.type)&&go();break;case 19:if(co(Bi),null===(i=t.memoizedState))break;if(l=0!=(64&t.effectTag),null===(s=i.rendering)){if(l)ll(i,!1);else if(0!==Ml||null!==n&&0!=(64&n.effectTag))for(n=t.child;null!==n;){if(null!==(s=$i(n))){for(t.effectTag|=64,ll(i,!1),null!==(l=s.updateQueue)&&(t.updateQueue=l,t.effectTag|=4),null===i.lastEffect&&(t.firstEffect=null),t.lastEffect=i.lastEffect,i=r,l=t.child;null!==l;)n=i,(r=l).effectTag&=2,r.nextEffect=null,r.firstEffect=null,r.lastEffect=null,null===(s=r.alternate)?(r.childExpirationTime=0,r.expirationTime=n,r.child=null,r.memoizedProps=null,r.memoizedState=null,r.updateQueue=null,r.dependencies=null):(r.childExpirationTime=s.childExpirationTime,r.expirationTime=s.expirationTime,r.child=s.child,r.memoizedProps=s.memoizedProps,r.memoizedState=s.memoizedState,r.updateQueue=s.updateQueue,n=s.dependencies,r.dependencies=null===n?null:{expirationTime:n.expirationTime,firstContext:n.firstContext,responders:n.responders}),l=l.sibling;so(Bi,1&Bi.current|2),t=t.child;break e}n=n.sibling}}else{if(!l)if(null!==(n=$i(s))){if(t.effectTag|=64,l=!0,null!==(r=n.updateQueue)&&(t.updateQueue=r,t.effectTag|=4),ll(i,!0),null===i.tail&&"hidden"===i.tailMode&&!s.alternate){null!==(t=t.lastEffect=i.lastEffect)&&(t.nextEffect=null);break}}else qo()>i.tailExpiration&&1<r&&(t.effectTag|=64,l=!0,ll(i,!1),t.expirationTime=t.childExpirationTime=r-1);i.isBackwards?(s.sibling=t.child,t.child=s):(null!==(r=i.last)?r.sibling=s:t.child=s,i.last=s)}if(null!==i.tail){0===i.tailExpiration&&(i.tailExpiration=qo()+500),r=i.tail,i.rendering=r,i.tail=r.sibling,i.lastEffect=t.lastEffect,r.sibling=null,i=Bi.current,so(Bi,i=l?1&i|2:1&i),t=r;break e}break;case 20:case 21:break;default:throw Error(a(156,t.tag))}t=null}if(i=Il,1===Rl||1!==i.childExpirationTime){for(l=0,r=i.child;null!==r;)(n=r.expirationTime)>l&&(l=n),(s=r.childExpirationTime)>l&&(l=s),r=r.sibling;i.childExpirationTime=l}if(null!==t)return t;null!==e&&0==(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=Il.firstEffect),null!==Il.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=Il.firstEffect),e.lastEffect=Il.lastEffect),1<Il.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=Il:e.firstEffect=Il,e.lastEffect=Il))}else{if(null!==(t=ul(Il)))return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}if(null!==(t=Il.sibling))return t;Il=e}while(null!==Il);return 0===Ml&&(Ml=5),null}function yu(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function gu(e){var t=Wo();return $o(99,bu.bind(null,e,t)),null}function bu(e,t){do{ku()}while(null!==Vl);if(0!=(48&Cl))throw Error(a(327));var n=e.finishedWork,r=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,n===e.current)throw Error(a(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var o=yu(n);if(e.firstPendingTime=o,r<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:r<=e.firstSuspendedTime&&(e.firstSuspendedTime=r-1),r<=e.lastPingedTime&&(e.lastPingedTime=0),r<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===jl&&(Il=jl=null,Rl=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,o=n.firstEffect):o=n:o=n.firstEffect,null!==o){var i=Cl;Cl|=32,Ol.current=null,Yn=Tn;var l=Kn();if(Qn(l)){if("selectionStart"in l)var u={start:l.selectionStart,end:l.selectionEnd};else e:{var c=(u=(u=l.ownerDocument)&&u.defaultView||window).getSelection&&u.getSelection();if(c&&0!==c.rangeCount){u=c.anchorNode;var s=c.anchorOffset,f=c.focusNode;c=c.focusOffset;try{u.nodeType,f.nodeType}catch(e){u=null;break e}var d=0,p=-1,h=-1,m=0,v=0,y=l,g=null;t:for(;;){for(var b;y!==u||0!==s&&3!==y.nodeType||(p=d+s),y!==f||0!==c&&3!==y.nodeType||(h=d+c),3===y.nodeType&&(d+=y.nodeValue.length),null!==(b=y.firstChild);)g=y,y=b;for(;;){if(y===l)break t;if(g===u&&++m===s&&(p=d),g===f&&++v===c&&(h=d),null!==(b=y.nextSibling))break;g=(y=g).parentNode}y=b}u=-1===p||-1===h?null:{start:p,end:h}}else u=null}u=u||{start:0,end:0}}else u=null;Xn={focusedElem:l,selectionRange:u},Tn=!1,Hl=o;do{try{wu()}catch(e){if(null===Hl)throw Error(a(330));Tu(Hl,e),Hl=Hl.nextEffect}}while(null!==Hl);Hl=o;do{try{for(l=e,u=t;null!==Hl;){var w=Hl.effectTag;if(16&w&&Be(Hl.stateNode,""),128&w){var k=Hl.alternate;if(null!==k){var E=k.ref;null!==E&&("function"==typeof E?E(null):E.current=null)}}switch(1038&w){case 2:gl(Hl),Hl.effectTag&=-3;break;case 6:gl(Hl),Hl.effectTag&=-3,wl(Hl.alternate,Hl);break;case 1024:Hl.effectTag&=-1025;break;case 1028:Hl.effectTag&=-1025,wl(Hl.alternate,Hl);break;case 4:wl(Hl.alternate,Hl);break;case 8:bl(l,s=Hl,u),vl(s)}Hl=Hl.nextEffect}}catch(e){if(null===Hl)throw Error(a(330));Tu(Hl,e),Hl=Hl.nextEffect}}while(null!==Hl);if(E=Xn,k=Kn(),w=E.focusedElem,u=E.selectionRange,k!==w&&w&&w.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(w.ownerDocument.documentElement,w)){null!==u&&Qn(w)&&(k=u.start,void 0===(E=u.end)&&(E=k),"selectionStart"in w?(w.selectionStart=k,w.selectionEnd=Math.min(E,w.value.length)):(E=(k=w.ownerDocument||document)&&k.defaultView||window).getSelection&&(E=E.getSelection(),s=w.textContent.length,l=Math.min(u.start,s),u=void 0===u.end?l:Math.min(u.end,s),!E.extend&&l>u&&(s=u,u=l,l=s),s=Gn(w,l),f=Gn(w,u),s&&f&&(1!==E.rangeCount||E.anchorNode!==s.node||E.anchorOffset!==s.offset||E.focusNode!==f.node||E.focusOffset!==f.offset)&&((k=k.createRange()).setStart(s.node,s.offset),E.removeAllRanges(),l>u?(E.addRange(k),E.extend(f.node,f.offset)):(k.setEnd(f.node,f.offset),E.addRange(k))))),k=[];for(E=w;E=E.parentNode;)1===E.nodeType&&k.push({element:E,left:E.scrollLeft,top:E.scrollTop});for("function"==typeof w.focus&&w.focus(),w=0;w<k.length;w++)(E=k[w]).element.scrollLeft=E.left,E.element.scrollTop=E.top}Xn=null,Tn=!!Yn,Yn=null,e.current=n,Hl=o;do{try{for(w=r;null!==Hl;){var _=Hl.effectTag;if(36&_){var T=Hl.alternate;switch(E=w,(k=Hl).tag){case 0:case 11:case 15:hl(16,32,k);break;case 1:var x=k.stateNode;if(4&k.effectTag)if(null===T)x.componentDidMount();else{var S=k.elementType===k.type?T.memoizedProps:Jo(k.type,T.memoizedProps);x.componentDidUpdate(S,T.memoizedState,x.__reactInternalSnapshotBeforeUpdate)}var P=k.updateQueue;null!==P&&bi(0,P,x);break;case 3:var O=k.updateQueue;if(null!==O){if(l=null,null!==k.child)switch(k.child.tag){case 5:l=k.child.stateNode;break;case 1:l=k.child.stateNode}bi(0,O,l)}break;case 5:var C=k.stateNode;null===T&&4&k.effectTag&&Jn(k.type,k.memoizedProps)&&C.focus();break;case 6:case 4:case 12:break;case 13:if(null===k.memoizedState){var j=k.alternate;if(null!==j){var I=j.memoizedState;if(null!==I){var R=I.dehydrated;null!==R&&St(R)}}}break;case 19:case 17:case 20:case 21:break;default:throw Error(a(163))}}if(128&_){k=void 0;var M=Hl.ref;if(null!==M){var N=Hl.stateNode;switch(Hl.tag){case 5:k=N;break;default:k=N}"function"==typeof M?M(k):M.current=k}}Hl=Hl.nextEffect}}catch(e){if(null===Hl)throw Error(a(330));Tu(Hl,e),Hl=Hl.nextEffect}}while(null!==Hl);Hl=null,Do(),Cl=i}else e.current=n;if($l)$l=!1,Vl=e,Gl=t;else for(Hl=o;null!==Hl;)t=Hl.nextEffect,Hl.nextEffect=null,Hl=t;if(0===(t=e.firstPendingTime)&&(Bl=null),1073741823===t?e===Yl?Ql++:(Ql=0,Yl=e):Ql=0,"function"==typeof Pu&&Pu(n.stateNode,r),ru(e),ql)throw ql=!1,e=Wl,Wl=null,e;return 0!=(8&Cl)?null:(Ko(),null)}function wu(){for(;null!==Hl;){var e=Hl.effectTag;0!=(256&e)&&pl(Hl.alternate,Hl),0==(512&e)||$l||($l=!0,Vo(97,(function(){return ku(),null}))),Hl=Hl.nextEffect}}function ku(){if(90!==Gl){var e=97<Gl?97:Gl;return Gl=90,$o(e,Eu)}}function Eu(){if(null===Vl)return!1;var e=Vl;if(Vl=null,0!=(48&Cl))throw Error(a(331));var t=Cl;for(Cl|=32,e=e.current.firstEffect;null!==e;){try{var n=e;if(0!=(512&n.effectTag))switch(n.tag){case 0:case 11:case 15:hl(128,0,n),hl(0,64,n)}}catch(t){if(null===e)throw Error(a(330));Tu(e,t)}n=e.nextEffect,e.nextEffect=null,e=n}return Cl=t,Ko(),!0}function _u(e,t,n){hi(e,t=_l(e,t=cl(n,t),1073741823)),null!==(e=tu(e,1073741823))&&ru(e)}function Tu(e,t){if(3===e.tag)_u(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){_u(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Bl||!Bl.has(r))){hi(n,e=Tl(n,e=cl(t,e),1073741823)),null!==(n=tu(n,1073741823))&&ru(n);break}}n=n.return}}function xu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),jl===e&&Rl===n?4===Ml||3===Ml&&1073741823===Al&&qo()-Fl<500?uu(e,Rl):zl=!0:Lu(e,n)&&(0!==(t=e.lastPingedTime)&&t<n||(e.lastPingedTime=n,e.finishedExpirationTime===n&&(e.finishedExpirationTime=0,e.finishedWork=null),ru(e)))}function Su(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(t=Zl(t=Jl(),e,null)),null!==(e=tu(e,t))&&ru(e)}xl=function(e,t,n){var r=t.expirationTime;if(null!==e){var o=t.pendingProps;if(e.memoizedProps!==o||ho.current)Ha=!0;else{if(r<n){switch(Ha=!1,t.tag){case 3:Ya(t),za();break;case 5:if(qi(t),4&t.mode&&1!==n&&o.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:yo(t.type)&&Eo(t);break;case 4:Fi(t,t.stateNode.containerInfo);break;case 10:oi(t,t.memoizedProps.value);break;case 13:if(null!==t.memoizedState)return 0!==(r=t.child.childExpirationTime)&&r>=n?tl(e,t,n):(so(Bi,1&Bi.current),null!==(t=il(e,t,n))?t.sibling:null);so(Bi,1&Bi.current);break;case 19:if(r=t.childExpirationTime>=n,0!=(64&e.effectTag)){if(r)return ol(e,t,n);t.effectTag|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null),so(Bi,Bi.current),!r)return null}return il(e,t,n)}Ha=!1}}else Ha=!1;switch(t.expirationTime=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,o=vo(t,po.current),li(t,n),o=sa(null,t,r,e,o,n),t.effectTag|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){if(t.tag=1,fa(),yo(r)){var i=!0;Eo(t)}else i=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null;var l=r.getDerivedStateFromProps;"function"==typeof l&&_i(t,r,l,e),o.updater=Ti,t.stateNode=o,o._reactInternalFiber=t,Oi(t,r,e,n),t=Qa(null,t,r,!0,i,n)}else t.tag=0,qa(null,t,o,n),t=t.child;return t;case 16:if(o=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,function(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}}(o),1!==o._status)throw o._result;switch(o=o._result,t.type=o,i=t.tag=function(e){if("function"==typeof e)return Iu(e)?1:0;if(null!=e){if((e=e.$$typeof)===B)return 11;if(e===G)return 14}return 2}(o),e=Jo(o,e),i){case 0:t=Ga(null,t,o,e,n);break;case 1:t=Ka(null,t,o,e,n);break;case 11:t=Wa(null,t,o,e,n);break;case 14:t=Ba(null,t,o,Jo(o.type,e),r,n);break;default:throw Error(a(306,o,""))}return t;case 0:return r=t.type,o=t.pendingProps,Ga(e,t,r,o=t.elementType===r?o:Jo(r,o),n);case 1:return r=t.type,o=t.pendingProps,Ka(e,t,r,o=t.elementType===r?o:Jo(r,o),n);case 3:if(Ya(t),null===(r=t.updateQueue))throw Error(a(282));if(o=null!==(o=t.memoizedState)?o.element:null,gi(t,r,t.pendingProps,null,n),(r=t.memoizedState.element)===o)za(),t=il(e,t,n);else{if((o=t.stateNode.hydrate)&&(Ra=nr(t.stateNode.containerInfo.firstChild),Ia=t,o=Ma=!0),o)for(n=Ni(t,null,r,n),t.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else qa(e,t,r,n),za();t=t.child}return t;case 5:return qi(t),null===e&&Ua(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,l=o.children,Zn(r,o)?l=null:null!==i&&Zn(r,i)&&(t.effectTag|=16),Va(e,t),4&t.mode&&1!==n&&o.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(qa(e,t,l,n),t=t.child),t;case 6:return null===e&&Ua(t),null;case 13:return tl(e,t,n);case 4:return Fi(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Mi(t,null,r,n):qa(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,Wa(e,t,r,o=t.elementType===r?o:Jo(r,o),n);case 7:return qa(e,t,t.pendingProps,n),t.child;case 8:case 12:return qa(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,l=t.memoizedProps,oi(t,i=o.value),null!==l){var u=l.value;if(0===(i=Yr(u,i)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(u,i):1073741823))){if(l.children===o.children&&!ho.current){t=il(e,t,n);break e}}else for(null!==(u=t.child)&&(u.return=t);null!==u;){var c=u.dependencies;if(null!==c){l=u.child;for(var s=c.firstContext;null!==s;){if(s.context===r&&0!=(s.observedBits&i)){1===u.tag&&((s=di(n,null)).tag=2,hi(u,s)),u.expirationTime<n&&(u.expirationTime=n),null!==(s=u.alternate)&&s.expirationTime<n&&(s.expirationTime=n),ai(u.return,n),c.expirationTime<n&&(c.expirationTime=n);break}s=s.next}}else l=10===u.tag&&u.type===t.type?null:u.child;if(null!==l)l.return=u;else for(l=u;null!==l;){if(l===t){l=null;break}if(null!==(u=l.sibling)){u.return=l.return,l=u;break}l=l.return}u=l}}qa(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(i=t.pendingProps).children,li(t,n),r=r(o=ui(o,i.unstable_observedBits)),t.effectTag|=1,qa(e,t,r,n),t.child;case 14:return i=Jo(o=t.type,t.pendingProps),Ba(e,t,o,i=Jo(o.type,i),r,n);case 15:return $a(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Jo(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,yo(r)?(e=!0,Eo(t)):e=!1,li(t,n),Si(t,r,o),Oi(t,r,o,n),Qa(null,t,r,!0,e,n);case 19:return ol(e,t,n)}throw Error(a(156,t.tag))};var Pu=null,Ou=null;function Cu(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function ju(e,t,n,r){return new Cu(e,t,n,r)}function Iu(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ru(e,t){var n=e.alternate;return null===n?((n=ju(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{expirationTime:t.expirationTime,firstContext:t.firstContext,responders:t.responders},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Mu(e,t,n,r,o,i){var l=2;if(r=e,"function"==typeof e)Iu(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case L:return Nu(n.children,o,i,t);case W:l=8,o|=7;break;case z:l=8,o|=1;break;case F:return(e=ju(12,n,t,8|o)).elementType=F,e.type=F,e.expirationTime=i,e;case $:return(e=ju(13,n,t,o)).type=$,e.elementType=$,e.expirationTime=i,e;case V:return(e=ju(19,n,t,o)).elementType=V,e.expirationTime=i,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case H:l=10;break e;case q:l=9;break e;case B:l=11;break e;case G:l=14;break e;case K:l=16,r=null;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=ju(l,n,t,o)).elementType=e,t.type=r,t.expirationTime=i,t}function Nu(e,t,n,r){return(e=ju(7,e,r,t)).expirationTime=n,e}function Au(e,t,n){return(e=ju(6,e,null,t)).expirationTime=n,e}function Uu(e,t,n){return(t=ju(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Du(e,t,n){this.tag=t,this.current=null,this.containerInfo=e,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function Lu(e,t){var n=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==n&&n>=t&&e<=t}function zu(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;n<t&&(e.firstSuspendedTime=t),(r>t||0===n)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function Fu(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;0!==n&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function Hu(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function qu(e,t,n,r){var o=t.current,i=Jl(),l=ki.suspense;i=Zl(i,o,l);e:if(n){t:{if(tt(n=n._reactInternalFiber)!==n||1!==n.tag)throw Error(a(170));var u=n;do{switch(u.tag){case 3:u=u.stateNode.context;break t;case 1:if(yo(u.type)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break t}}u=u.return}while(null!==u);throw Error(a(171))}if(1===n.tag){var c=n.type;if(yo(c)){n=ko(n,c,u);break e}}n=u}else n=fo;return null===t.context?t.context=n:t.pendingContext=n,(t=di(i,l)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),hi(o,t),eu(o,i),i}function Wu(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Bu(e,t){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime<t&&(e.retryTime=t)}function $u(e,t){Bu(e,t),(e=e.alternate)&&Bu(e,t)}function Vu(e,t,n){var r=new Du(e,t,n=null!=n&&!0===n.hydrate),o=ju(3,null,null,2===t?7:1===t?3:0);r.current=o,o.stateNode=r,e[lr]=r.current,n&&0!==t&&function(e){var t=Nn(e);vt.forEach((function(n){An(n,e,t)})),yt.forEach((function(n){An(n,e,t)}))}(9===e.nodeType?e:e.ownerDocument),this._internalRoot=r}function Gu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Ku(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i._internalRoot;if("function"==typeof o){var l=o;o=function(){var e=Wu(a);l.call(e)}}qu(t,a,e,o)}else{if(i=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Vu(e,0,t?{hydrate:!0}:void 0)}(n,r),a=i._internalRoot,"function"==typeof o){var u=o;o=function(){var e=Wu(a);u.call(e)}}lu((function(){qu(t,a,e,o)}))}return Wu(a)}function Qu(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:D,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Yu(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Gu(t))throw Error(a(200));return Qu(e,t,null,n)}Vu.prototype.render=function(e,t){qu(e,this._internalRoot,null,void 0===t?null:t)},Vu.prototype.unmount=function(e){var t=this._internalRoot,n=void 0===e?null:e,r=t.containerInfo;qu(null,t,null,(function(){r[lr]=null,null!==n&&n()}))},it=function(e){if(13===e.tag){var t=Xo(Jl(),150,100);eu(e,t),$u(e,t)}},at=function(e){if(13===e.tag){Jl();var t=Yo++;eu(e,t),$u(e,t)}},lt=function(e){if(13===e.tag){var t=Jl();eu(e,t=Zl(t,e,null)),$u(e,t)}},ee=function(e,t,n){switch(t){case"input":if(Ce(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=fr(r);if(!o)throw Error(a(90));xe(r),Ce(r,o)}}}break;case"textarea":Ue(e,n);break;case"select":null!=(t=n.value)&&Me(e,!!n.multiple,t,!1)}},ae=au,le=function(e,t,n,r){var o=Cl;Cl|=4;try{return $o(98,e.bind(null,t,n,r))}finally{0===(Cl=o)&&Ko()}},ue=function(){0==(49&Cl)&&(function(){if(null!==Kl){var e=Kl;Kl=null,e.forEach((function(e,t){Hu(t,e),ru(t)})),Ko()}}(),ku())},ce=function(e,t){var n=Cl;Cl|=2;try{return e(t)}finally{0===(Cl=n)&&Ko()}};var Xu,Ju,Zu={createPortal:Yu,findDOMNode:function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;if(void 0===t){if("function"==typeof e.render)throw Error(a(188));throw Error(a(268,Object.keys(e)))}return e=null===(e=ot(t))?null:e.stateNode},hydrate:function(e,t,n){if(!Gu(t))throw Error(a(200));return Ku(null,e,t,!0,n)},render:function(e,t,n){if(!Gu(t))throw Error(a(200));return Ku(null,e,t,!1,n)},unstable_renderSubtreeIntoContainer:function(e,t,n,r){if(!Gu(n))throw Error(a(200));if(null==e||void 0===e._reactInternalFiber)throw Error(a(38));return Ku(e,t,n,!1,r)},unmountComponentAtNode:function(e){if(!Gu(e))throw Error(a(40));return!!e._reactRootContainer&&(lu((function(){Ku(null,null,e,!1,(function(){e._reactRootContainer=null,e[lr]=null}))})),!0)},unstable_createPortal:function(){return Yu.apply(void 0,arguments)},unstable_batchedUpdates:au,flushSync:function(e,t){if(0!=(48&Cl))throw Error(a(187));var n=Cl;Cl|=1;try{return $o(99,e.bind(null,t))}finally{Cl=n,Ko()}},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{Events:[cr,sr,fr,I.injectEventPluginsByName,d,Mt,function(e){P(e,Rt)},oe,ie,jn,j,ku,{current:!1}]}};Ju=(Xu={findFiberByHostInstance:ur,bundleType:0,version:"16.12.0",rendererPackageName:"react-dom"}).findFiberByHostInstance,function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);Pu=function(e){try{t.onCommitFiberRoot(n,e,void 0,64==(64&e.current.effectTag))}catch(e){}},Ou=function(e){try{t.onCommitFiberUnmount(n,e)}catch(e){}}}catch(e){}}(o({},Xu,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:M.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=ot(e))?null:e.stateNode},findFiberByHostInstance:function(e){return Ju?Ju(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}));var ec={default:Zu},tc=ec&&Zu||ec;e.exports=tc.default||tc},function(e,t,n){"use strict";e.exports=n(29)},function(e,t,n){"use strict";
/** @license React v0.18.0
* scheduler.production.min.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.
*/var r,o,i,a,l;if(Object.defineProperty(t,"__esModule",{value:!0}),"undefined"==typeof window||"function"!=typeof MessageChannel){var u=null,c=null,s=function(){if(null!==u)try{var e=t.unstable_now();u(!0,e),u=null}catch(e){throw setTimeout(s,0),e}},f=Date.now();t.unstable_now=function(){return Date.now()-f},r=function(e){null!==u?setTimeout(r,0,e):(u=e,setTimeout(s,0))},o=function(e,t){c=setTimeout(e,t)},i=function(){clearTimeout(c)},a=function(){return!1},l=t.unstable_forceFrameRate=function(){}}else{var d=window.performance,p=window.Date,h=window.setTimeout,m=window.clearTimeout;if("undefined"!=typeof console){var v=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof v&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof d&&"function"==typeof d.now)t.unstable_now=function(){return d.now()};else{var y=p.now();t.unstable_now=function(){return p.now()-y}}var g=!1,b=null,w=-1,k=5,E=0;a=function(){return t.unstable_now()>=E},l=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):k=0<e?Math.floor(1e3/e):5};var _=new MessageChannel,T=_.port2;_.port1.onmessage=function(){if(null!==b){var e=t.unstable_now();E=e+k;try{b(!0,e)?T.postMessage(null):(g=!1,b=null)}catch(e){throw T.postMessage(null),e}}else g=!1},r=function(e){b=e,g||(g=!0,T.postMessage(null))},o=function(e,n){w=h((function(){e(t.unstable_now())}),n)},i=function(){m(w),w=-1}}function x(e,t){var n=e.length;e.push(t);e:for(;;){var r=Math.floor((n-1)/2),o=e[r];if(!(void 0!==o&&0<O(o,t)))break e;e[r]=t,e[n]=o,n=r}}function S(e){return void 0===(e=e[0])?null:e}function P(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length;r<o;){var i=2*(r+1)-1,a=e[i],l=i+1,u=e[l];if(void 0!==a&&0>O(a,n))void 0!==u&&0>O(u,a)?(e[r]=u,e[l]=n,r=l):(e[r]=a,e[i]=n,r=i);else{if(!(void 0!==u&&0>O(u,n)))break e;e[r]=u,e[l]=n,r=l}}}return t}return null}function O(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var C=[],j=[],I=1,R=null,M=3,N=!1,A=!1,U=!1;function D(e){for(var t=S(j);null!==t;){if(null===t.callback)P(j);else{if(!(t.startTime<=e))break;P(j),t.sortIndex=t.expirationTime,x(C,t)}t=S(j)}}function L(e){if(U=!1,D(e),!A)if(null!==S(C))A=!0,r(z);else{var t=S(j);null!==t&&o(L,t.startTime-e)}}function z(e,n){A=!1,U&&(U=!1,i()),N=!0;var r=M;try{for(D(n),R=S(C);null!==R&&(!(R.expirationTime>n)||e&&!a());){var l=R.callback;if(null!==l){R.callback=null,M=R.priorityLevel;var u=l(R.expirationTime<=n);n=t.unstable_now(),"function"==typeof u?R.callback=u:R===S(C)&&P(C),D(n)}else P(C);R=S(C)}if(null!==R)var c=!0;else{var s=S(j);null!==s&&o(L,s.startTime-n),c=!1}return c}finally{R=null,M=r,N=!1}}function F(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var H=l;t.unstable_ImmediatePriority=1,t.unstable_UserBlockingPriority=2,t.unstable_NormalPriority=3,t.unstable_IdlePriority=5,t.unstable_LowPriority=4,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=M;M=e;try{return t()}finally{M=n}},t.unstable_next=function(e){switch(M){case 1:case 2:case 3:var t=3;break;default:t=M}var n=M;M=t;try{return e()}finally{M=n}},t.unstable_scheduleCallback=function(e,n,a){var l=t.unstable_now();if("object"==typeof a&&null!==a){var u=a.delay;u="number"==typeof u&&0<u?l+u:l,a="number"==typeof a.timeout?a.timeout:F(e)}else a=F(e),u=l;return e={id:I++,callback:n,priorityLevel:e,startTime:u,expirationTime:a=u+a,sortIndex:-1},u>l?(e.sortIndex=u,x(j,e),null===S(C)&&e===S(j)&&(U?i():U=!0,o(L,u-l))):(e.sortIndex=a,x(C,e),A||N||(A=!0,r(z))),e},t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_wrapCallback=function(e){var t=M;return function(){var n=M;M=t;try{return e.apply(this,arguments)}finally{M=n}}},t.unstable_getCurrentPriorityLevel=function(){return M},t.unstable_shouldYield=function(){var e=t.unstable_now();D(e);var n=S(C);return n!==R&&null!==R&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<R.expirationTime||a()},t.unstable_requestPaint=H,t.unstable_continueExecution=function(){A||N||(A=!0,r(z))},t.unstable_pauseExecution=function(){},t.unstable_getFirstCallbackNode=function(){return S(C)},t.unstable_Profiling=null},function(e,t,n){"use strict";var r=n(31);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var l=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 l.name="Invariant Violation",l}}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:i,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";
/** @license React v16.12.0
* react-is.production.min.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.
*/Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,l=r?Symbol.for("react.strict_mode"):60108,u=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,s=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,m=r?Symbol.for("react.suspense_list"):60120,v=r?Symbol.for("react.memo"):60115,y=r?Symbol.for("react.lazy"):60116,g=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,w=r?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case f:case d:case a:case u:case l:case h:return e;default:switch(e=e&&e.$$typeof){case s:case p:case y:case v:case c:return e;default:return t}}case i:return t}}}function E(e){return k(e)===d}t.typeOf=k,t.AsyncMode=f,t.ConcurrentMode=d,t.ContextConsumer=s,t.ContextProvider=c,t.Element=o,t.ForwardRef=p,t.Fragment=a,t.Lazy=y,t.Memo=v,t.Portal=i,t.Profiler=u,t.StrictMode=l,t.Suspense=h,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===u||e===l||e===h||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===v||e.$$typeof===c||e.$$typeof===s||e.$$typeof===p||e.$$typeof===g||e.$$typeof===b||e.$$typeof===w)},t.isAsyncMode=function(e){return E(e)||k(e)===f},t.isConcurrentMode=E,t.isContextConsumer=function(e){return k(e)===s},t.isContextProvider=function(e){return k(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return k(e)===p},t.isFragment=function(e){return k(e)===a},t.isLazy=function(e){return k(e)===y},t.isMemo=function(e){return k(e)===v},t.isPortal=function(e){return k(e)===i},t.isProfiler=function(e){return k(e)===u},t.isStrictMode=function(e){return k(e)===l},t.isSuspense=function(e){return k(e)===h}},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=u(n(0)),i=(u(n(5)),u(n(36))),a=n(48),l=u(a);function u(e){return e&&e.__esModule?e:{default:e}}n(22);var c=new l.default({accessKey:"sKRU9tRvT9fDsOk6SiHkhk-42s6EOlBRCk1z-hdM6vk",secret:"Ptz8mLA8RuH8pYri_dKJov9HBHHKMdVZl9ocGezcxDw"}),s=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.logoAlt="GreenXIII - Web Development",n.logoSrc="img/logo.png",n.state={bgSrc:""},c.photos.getRandomPhoto({collections:[9653460]}).then(a.toJson).then((function(e){n.setState({bgSrc:e.urls.regular})})),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"componentDidMount",value:function(){}},{key:"render",value:function(){return o.default.createElement("div",null,o.default.createElement("div",{id:"first-screen"},o.default.createElement("div",{id:"logo",style:{backgroundImage:"url("+this.state.bgSrc+")"}},o.default.createElement("a",{href:"/"},o.default.createElement("img",{src:this.logoSrc,alt:this.logoAlt})),o.default.createElement("div",{id:"unsplash-creds"},"Photo by ",o.default.createElement("a",{href:"https://unsplash.com/@greenxiii?utm_source=GreenXIII_personal_website&utm_medium=referral"},"Viktor Nikolaienko")," on ",o.default.createElement("a",{href:"https://unsplash.com?utm_source=GreenXIII_personal_website&utm_medium=referral"},"Unsplash"))),o.default.createElement(i.default,null)))}}]),t}(o.default.Component);t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=c(n(0)),a=(c(n(5)),c(n(37))),l=c(n(18)),u=n(7);function c(e){return e&&e.__esModule?e:{default:e}}var s=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.logoAlt="GreenXIII - Web Development",n.logoSrc="img/logo_b.png",n.sectionArr=[],n.state={currentSection:0},n.inProgress=!1,n.scrollHandler=n.scrollHandler.bind(n),n.keyupHandler=n.keyupHandler.bind(n),n.changeSection=n.changeSection.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){var e=this;this.setState({currentSection:0}),this.props.texts.map((function(t,n){e.sectionArr.push(t.title)})),window.addEventListener("wheel",this.scrollHandler),window.addEventListener("keydown",this.keyupHandler)}},{key:"scrollHandler",value:function(e){var t=this;if(!window.matchMedia("(max-width: 767px)").matches){if(this.inProgress)return;this.inProgress=!0;var n=this.state.currentSection;e.wheelDelta>0&&n<this.sectionArr.length-1?n++:e.wheelDelta<0&&n>0&&n--,this.setState({currentSection:n}),setTimeout((function(){t.inProgress=!1}),500)}}},{key:"keyupHandler",value:function(e){if(!window.matchMedia("(max-width: 767px)").matches){var t=this.state.currentSection;40===e.keyCode&&t<this.sectionArr.length-1?t++:38===e.keyCode&&t>0&&t--,this.setState({currentSection:t})}}},{key:"changeSection",value:function(e){"6"!==e&&this.setState({currentSection:e})}},{key:"render",value:function(){var e=this;return i.default.createElement("div",{id:"content"},i.default.createElement(a.default,{position:this.state.currentSection,changeSection:this.changeSection}),this.props.texts.map((function(t,n){return i.default.createElement("section",{key:n,id:t.title,className:n===e.state.currentSection?"":"hide"},i.default.createElement("div",{style:{height:"Game"===t.title?"347px":"auto"}},t.header?i.default.createElement("h1",null,i.default.createElement("img",{src:e.logoSrc,alt:e.logoAlt}),t.header):"",i.default.createElement("header",null,t.title),i.default.createElement("article",{dangerouslySetInnerHTML:{__html:t.content}}),"Game"===t.title&&e.state.currentSection===e.sectionArr.length-1?i.default.createElement("div",{style:{position:"absolute",left:"10%"}},i.default.createElement(l.default,null)):"",t.header?i.default.createElement("div",{className:"mouse-wrapper"},i.default.createElement("div",{className:"mouse"})):""))})))}}]),t}(i.default.Component);t.default=(0,u.connect)((function(e){return r({},e.global)}))(s)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=i(n(0));i(n(5));function i(e){return e&&e.__esModule?e:{default:e}}var a=function(e){function t(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"render",value:function(){var e=this;return o.default.createElement("nav",null,o.default.createElement("div",{className:0===this.props.position?"active":"",onClick:function(t){return e.props.changeSection(0)}},"0"),o.default.createElement("div",{className:1===this.props.position?"active":"",onClick:function(t){return e.props.changeSection(1)}},"1"),o.default.createElement("div",{className:2===this.props.position?"active":"",onClick:function(t){return e.props.changeSection(2)}},"2"),o.default.createElement("div",{className:3===this.props.position?"active":"",onClick:function(t){return e.props.changeSection(3)}},"3"),o.default.createElement("div",{className:4===this.props.position?"active":"",onClick:function(t){return e.props.changeSection(4)}},"4"),o.default.createElement("div",{className:5===this.props.position?"active":"",onClick:function(t){return e.props.changeSection(5)}},"5"),o.default.createElement("div",{className:6===this.props.position?"active":"",onClick:function(t){return e.props.changeSection(6)}},"6"))}}]),t}(o.default.Component);t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(0),i=(r=o)&&r.__esModule?r:{default:r},a=n(7),l=n(6);function u(e){switch(e){case 0:return"grass";case 5:return"block";default:return""}}function c(e){return i.default.createElement("div",{className:"map-tile "+u(e.tile),style:{height:l.SPRITE_HEIGHT,width:l.SPRITE_WIDTH}})}function s(e){return i.default.createElement("div",{className:"map-row"},e.tiles.map((function(e,t){return i.default.createElement(c,{tile:e,key:"tile-"+t})})))}t.default=(0,a.connect)((function(e){return{tiles:e.map.tiles}}))((function(e){return i.default.createElement("div",{style:{width:"100%",height:"100%"}},e.tiles.map((function(e,t){return i.default.createElement(s,{tiles:e,key:"row-"+t})})))}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=s(n(0)),a=n(7),l=s(n(10)),u=n(6),c=s(n(45));function s(e){return e&&e.__esModule?e:{default:e}}var f=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.keyDown=n.keyDown.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){var e=this;window.addEventListener("keydown",this.keyDown),setInterval((function(){e.attemptMove("gravity")}),10)}},{key:"getNewPosition",value:function(e){var t=l.default.getState().player.position;switch(e){case"left":return[t[0]-15,t[1]];case"right":return[t[0]+15,t[1]];case"jump":return[t[0],t[1]-u.SPRITE_HEIGHT];case"gravity":return[t[0],l.default.getState().player.velocity+t[1]];default:return t}}},{key:"observeBoundaries",value:function(e,t){return t[0]>=0&&t[0]<=u.MAP_WIDTH-u.SPRITE_WIDTH&&t[1]>=0&&t[1]<=u.MAP_HEIGHT-u.SPRITE_HEIGHT}},{key:"attemptMove",value:function(e){var t=l.default.getState().player.position;if("jump"===e&&u.JUMP_FORCE+u.GRAVITY+t[1]>u.SPRITE_HEIGHT&&l.default.getState().player.jumpsInRow<2)l.default.dispatch({type:"JUMP",payload:{velocity:u.JUMP_FORCE+u.GRAVITY,jumpsInRow:l.default.getState().player.jumpsInRow+1}});else if("gravity"===e){var n=l.default.getState().player.velocity,r=[l.default.getState().player.position[0],n+u.GRAVITY+t[1]];r[1]<=u.MAP_HEIGHT-u.SPRITE_HEIGHT&&r[1]>0?l.default.dispatch({type:"UPDATE_VELOCITY",payload:{velocity:n+u.GRAVITY}}):l.default.dispatch({type:"UPDATE_VELOCITY",payload:{velocity:0}})}else if("right"===e||"left"===e){var o=this.getNewPosition(e);this.observeBoundaries(t,o)&&l.default.dispatch({type:"MOVE_PLAYER",payload:{position:o}})}}},{key:"dispatchMove",value:function(e){l.default.dispatch({type:"MOVE_PLAYER",payload:{position:e}})}},{key:"keyDown",value:function(e){if(39==e.keyCode||37==e.keyCode||!e.repeat)switch(40!==e.keyCode&&38!==e.keyCode&&32!==e.keyCode&&39!==e.keyCode&&37!==e.keyCode||e.preventDefault(),e.keyCode){case 40:this.attemptMove("gravity");break;case 32:case 38:this.attemptMove("jump");break;case 39:this.attemptMove("right");break;case 37:this.attemptMove("left")}}},{key:"render",value:function(){return i.default.createElement("div",{id:"player",className:this.props.playerState,style:{top:this.props.position[1],left:this.props.position[0],backgroundImage:"url('"+c.default+"')",position:"absolute",width:u.SPRITE_WIDTH+"px",height:u.SPRITE_HEIGHT+"px"}})}}]),t}(i.default.Component);t.default=(0,a.connect)((function(e){return r({},e.player)}))(f)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(12),o=u(n(41)),i=u(n(42)),a=u(n(43)),l=u(n(44));function u(e){return e&&e.__esModule?e:{default:e}}var c=(0,r.combineReducers)({obstacles:o.default,player:i.default,map:a.default,global:l.default});t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(6),i={items:[]};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,t=arguments[1];switch(t.type){default:return e;case"START_NEW":return i;case"ADD_OBSTACLE":return e.items.push(r({},t.payload,{position:o.MAP_WIDTH})),e;case"MOVE_ALL_OBSTACLES":var n={};return n.items=e.items.map((function(e){return r({},e,{position:e.position-o.OBSTICLE_SPEED})})).filter((function(e){return e.position>=-e.width})),n}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(6),i={position:[300,0],playerState:"run",velocity:0,jumpsInRow:0};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,t=arguments[1];switch(t.type){default:return e;case"MOVE_PLAYER":return r({},t.payload,{playerState:i.playerState,velocity:e.velocity,jumpsInRow:e.jumpsInRow});case"UPDATE_VELOCITY":var n=Math.round(e.position[1]+t.payload.velocity);return r({},t.payload,{playerState:i.playerState,position:[e.position[0],n],jumpsInRow:n===o.MAP_HEIGHT-o.SPRITE_HEIGHT?0:e.jumpsInRow});case"JUMP":return r({},t.payload,{playerState:i.playerState,position:[e.position[0],e.position[1]+t.payload.velocity]});case"START_NEW":return i}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o={tiles:[],score:[],isGameOver:!1};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments[1];switch(t.type){default:return e;case"ADD_TILES":return r({},t.payload,{score:e.score,isGameOver:e.isGameOver});case"SET_SCORE":return r({},t.payload,{tiles:e.tiles,isGameOver:e.isGameOver});case"SET_IS_GAME_OVER":return r({},t.payload,{tiles:e.tiles,score:e.score})}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={texts:[{header:"Web Development for you and your mom",title:"bio",content:"\n Hi there! It's such a great to see you here! I'm front-end developer based in Ukraine. I'm passionate about development world. I've lived in this world since I was in school and a lot of things have happened. <br /><br />\n You can briefly look what my mind was busy about in my <a href=\"https://www.dropbox.com/s/sj43bw7dfa18pa4/cv.pdf?dl=0\" target=\"_blank\" onclick=\"ga('send', 'event', 'buttons', 'click', 'download-cv-top');\">cv</a> or you can scroll down and read it more detailed but less structured.<br /><br />\n PS: Work/life balance is something very important for me. I have a lovely girlfriend and amazing doggie and plenty of hobbies :) And I do believe that my time is the biggest resource I have.\n\n "},{title:"development: chapter 1",content:"\n As I wrote I started coding from my school years. It was small e-shop projects on joomla and wordpress for some local championships.<br /><br />\n That was quite a success and it was more than a reason to continue and get a Bachelor's degree in Programmer Engineering. That gave me a lot of basic knowledge starting from c#'s #include and ending with learning some openGL magic, and mysql tricks.\n <br /><br />\n Besides it, I worked on weekends on upwork and grabbed some part-time work on holidays as a full-stack developer in a small local company. It was quite passionate people who teach me how to deal with monsters like Angular, Ember, Backbone, Symphony and Yii. That was also a great opportunity for me to implement something new and propose to use everything I wanted. From my initiative, we had few projects on express.js, we wrote some tests on Jest, we tried Ionic(react native wasn't there yet) and all our projects used Sass with tuned Gulp(or Grunt).\n <br /><br />\n After I was graduated I finally sign a contract with the same local company for a full-time position, but in a few years our paths diverged and I was ready for much bigger steps.\n "},{title:"development: chapter 2",content:"\n I'm pretty quickly found a great vacancy in the neighbor city - Dnipro. Its a great team and project I'm still working in. For three years here I'm mostly working with Vue.js and React.js, but from times-to-times, I'm not scared to dive into few React-Native or Angular projects.\n <br /><br />\n My role here is mostly being front-end hero, Its a lot of work with charts, visualizing and allow users to edit and update big chunks of data. At the same time, here I started to value my time as never before. Yes, I think I'm much lazier then I was but in a good way. We're trying to automate everything that takes too much time, that's why we're minimized and simplified steps for ci/cd with pipelines, trying test as much as we can with Jest and creating some custom npm packages for being able to quickly reuse our components in future projects. My part here was to implement and structurize it all on the front-end side.\n <br /><br />\n Also, when I first came to this company I was a first fully front-end guy in the company and as long as we're expanding I took a part in mentoring few new guys, I pretty loved this part because now I can quite be proud of the team we have now.\n <br /><br />\n Sometimes Im also implementing my small \"just for fun\" projects on github using react/redux you can check my humble repos\n on <a href=\"https://github.com/greenxiii\" onclick=\"ga('send', 'event', 'buttons', 'click', 'github-top');\" target=\"_blank\">GITHUB</a> \n and <a href=\"http://codepen.io/GreenXIII/\" onclick=\"ga('send', 'event', 'buttons', 'click', 'codepen');\" target=\"_blank\">CODEPEN</a>\n "},{title:"design",content:"\n As a designer, I worked a few years in two first years in university and it was something like a hobby because I was quite loaded via student's works and my head was in exploding state till evening.\n <br /><br />\n So, to make little rest and have money from this time I was drawing logos and websites.\n <br /><br />\n After this, I direct all my efforts to be a cool web developer. But, from time to time, I open Adobe Photoshop or Adobe Illustrator and draw something for my projects or just for fun. In general, it helps me to understand designers, and I rarely had conflicts with this design part of the team.\n <br /><br />\n You can see my works on <a href=\"https://dribbble.com/greenxiii\" onclick=\"ga('send', 'event', 'buttons', 'click', 'dribbble');\" target=\"_blank\">Dribbble</a> and <a href=\"https://www.behance.net/greenxiii\" onclick=\"ga('send', 'event', 'buttons', 'click', 'behance');\" target=\"_blank\">behance</a>.\n "},{title:"achivements",content:"\n OnePageLove Award: <a href=\"https://onepagelove.com/greenxiii\" onclick=\"ga('send', 'event', 'buttons', 'click', 'onepagelove');\" target=\"_blank\">[link]</a><br /><br />\n Mention in \"The Essentials of the Split Screen Trend in Web Design\" article: <a href=\"https://visualhierarchy.co/blog/split-screen-trend-in-web-design/\" onclick=\"ga('send', 'event', 'buttons', 'click', 'design-trend');\" target=\"_blank\">[link]</a><br /><br />\n Mention in \"How to design the perfect single page website\" article: <a href=\"http://www.webdesignerdepot.com/2014/12/how-to-design-the-perfect-single-page-website/\" onclick=\"ga('send', 'event', 'buttons', 'click', 'single-page-article');\" target=\"_blank\">[link]</a>\n "},{title:"contacts",content:"\n download cv: <a href=\"https://www.dropbox.com/s/sj43bw7dfa18pa4/cv.pdf?dl=0\" target=\"_blank\" onclick=\"ga('send', 'event', 'buttons', 'click', 'download-cv-bottom');\">[link]</a><br /><br />\n e-mail: <a href=\"mailto:[email protected]\" onclick=\"ga('send', 'event', 'buttons', 'click', 'email');\">[email protected]</a><br /><br />\n linkedin: <a href=\"https://www.linkedin.com/in/greenxiii/\" onclick=\"ga('send', 'event', 'buttons', 'click', 'linkedin');\" target=\"_blank\">[greenxiii]</a><br /><br />\n github: <a href=\"https://github.com/greenxiii\" onclick=\"ga('send', 'event', 'buttons', 'click', 'github-bottom');\" target=\"_blank\">[greenxiii]</a><br /><br />\n facebook: <a href=\"https://www.facebook.com/greenxiii13\" onclick=\"ga('send', 'event', 'buttons', 'click', 'facebook');\" target=\"_blank\">[greenxiii13]</a><br /><br />\n instagram: <a href=\"https://www.instagram.com/greenxiii13/\" onclick=\"ga('send', 'event', 'buttons', 'click', 'instagram');\" target=\"_blank\">[greenxiii13]</a><br /><br />\n medium: <a href=\"https://medium.com/@GreenXIII\" onclick=\"ga('send', 'event', 'buttons', 'click', 'medium');\" target=\"_blank\">[GreenXIII]</a><br /><br />\n "},{title:"Game",content:"Use SPACE to jump"}]};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r,t=arguments[1];return t.type,e}},function(e,t,n){"use strict";n.r(t),t.default=n.p+"img/playerSprite-2b42b9ac.png"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=u(n(0)),i=n(7),a=u(n(10)),l=n(6);function u(e){return e&&e.__esModule?e:{default:e}}var c=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.updateTimeInterval=null,n.obstacleSpeeds=[50,40,30,20,18,15,13,12,11,10],n.level=0,n.scoreToNextLevel=10,n.keyDown=n.keyDown.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"componentDidMount",value:function(){window.addEventListener("keydown",this.keyDown),this.startGame()}},{key:"componentWillUnmount",value:function(){this.level=0,a.default.dispatch({type:"START_NEW"}),a.default.dispatch({type:"SET_SCORE",payload:{score:[]}}),a.default.dispatch({type:"SET_IS_GAME_OVER",payload:{isGameOver:!1}}),clearInterval(this.updateTimeInterval)}},{key:"startGame",value:function(){var e=this;this.level=0,a.default.dispatch({type:"START_NEW"}),a.default.dispatch({type:"SET_SCORE",payload:{score:[]}}),a.default.dispatch({type:"SET_IS_GAME_OVER",payload:{isGameOver:!1}}),this.update(!0);var t=0,n=this.getNewDistanceBB();this.updateTimeInterval=setInterval((function(){t>=n?(e.update(!0),t=0,n=e.getNewDistanceBB()):(e.update(),t++)}),this.obstacleSpeeds[this.level])}},{key:"getNewDistanceBB",value:function(){var e=5*(this.level+1)+30,t=e+35;return e+Math.floor((t-e)*Math.random())}},{key:"update",value:function(e){this.moveObstacles(),e&&this.addObstacle(),this.isHit()?this.gameOver():this.checkScore()}},{key:"isHit",value:function(){var e=this.props.player.position;return-1!==this.props.obstacles.items.findIndex((function(t){return(e[0]>=t.position&&e[0]<=t.position+t.width||e[0]+l.SPRITE_WIDTH>=t.position&&e[0]+l.SPRITE_WIDTH<=t.position+t.width)&&e[1]+l.SPRITE_HEIGHT>=l.MAP_HEIGHT-t.height}))}},{key:"checkScore",value:function(){var e=this.props.player.position,t=this.props.obstacles.items.findIndex((function(t){return e[0]>=t.position+t.width})),n=this.props.currentMap.score;-1!==t&&-1===n.indexOf(this.props.obstacles.items[t].id)&&(n.push(this.props.obstacles.items[t].id),a.default.dispatch({type:"SET_SCORE",payload:{score:n}}),n.length%this.scoreToNextLevel==0&&this.level<=this.obstacleSpeeds.length-1&&this.nextLevel())}},{key:"nextLevel",value:function(){var e=this;this.level++,clearInterval(this.updateTimeInterval);var t=0,n=this.getNewDistanceBB();this.updateTimeInterval=setInterval((function(){t>=n?(e.update(!0),t=0,n=e.getNewDistanceBB()):(e.update(),t++)}),this.obstacleSpeeds[this.level])}},{key:"gameOver",value:function(){clearInterval(this.updateTimeInterval),a.default.dispatch({type:"SET_IS_GAME_OVER",payload:{isGameOver:!0}})}},{key:"keyDown",value:function(e){13===e.keyCode&&e.preventDefault(),13===e.keyCode&&this.props.currentMap.isGameOver&&this.startGame()}},{key:"moveObstacles",value:function(){a.default.dispatch({type:"MOVE_ALL_OBSTACLES"})}},{key:"addObstacle",value:function(){var e=Math.floor(2*Math.random()),t=l.SPRITE_WIDTH+Math.floor((3*l.SPRITE_WIDTH-l.SPRITE_WIDTH)*Math.random()),n=l.SPRITE_HEIGHT/2+Math.floor((2*l.SPRITE_HEIGHT-l.SPRITE_HEIGHT/2)*Math.random());a.default.dispatch({type:"ADD_OBSTACLE",payload:{id:(new Date).getTime(),width:t,height:n,type:e}})}},{key:"render",value:function(){return this.props.obstacles.items.map((function(e,t){return o.default.createElement("div",{key:"obstacle-"+t,className:"obstacle "+e.type,style:{top:l.MAP_HEIGHT-e.height+"px",left:e.position+"px",position:"absolute",width:e.width+"px",height:e.height+"px"}})}))}}]),t}(o.default.Component);t.default=(0,i.connect)((function(e){return{obstacles:e.obstacles,player:e.player,currentMap:e.map}}))(c)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.tiles=[[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.toJson=function(e){return"function"==typeof e.json?e.json():e};var o=n(19),i=n(20),a=p(n(55)),l=p(n(56)),u=p(n(57)),c=p(n(58)),s=p(n(60)),f=p(n(61)),d=p(n(62));function p(e){return e&&e.__esModule?e:{default:e}}var h=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._apiUrl=t.apiUrl||o.API_URL,this._apiVersion=t.apiVersion||o.API_VERSION,this._accessKey=t.accessKey,this._secret=t.secret,this._callbackUrl=t.callbackUrl,this._bearerToken=t.bearerToken,this._headers=t.headers||{},this._timeout=t.timeout||0,this.auth=a.default.bind(this)(),this.currentUser=l.default.bind(this)(),this.users=u.default.bind(this)(),this.photos=c.default.bind(this)(),this.collections=s.default.bind(this)(),this.search=f.default.bind(this)(),this.stats=d.default.bind(this)()}return r(e,[{key:"request",value:function(e){var t=i.buildFetchOptions.bind(this)(e),n=t.url,r=t.options;return fetch(n,r)}}]),e}();t.default=h},function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,i){t=t||"&",n=n||"=";var a={};if("string"!=typeof e||0===e.length)return a;var l=/\+/g;e=e.split(t);var u=1e3;i&&"number"==typeof i.maxKeys&&(u=i.maxKeys);var c=e.length;u>0&&c>u&&(c=u);for(var s=0;s<c;++s){var f,d,p,h,m=e[s].replace(l,"%20"),v=m.indexOf(n);v>=0?(f=m.substr(0,v),d=m.substr(v+1)):(f=m,d=""),p=decodeURIComponent(f),h=decodeURIComponent(d),r(a,p)?o(a[p])?a[p].push(h):a[p]=[a[p],h]:a[p]=h}return a};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},function(e,t,n){"use strict";var r=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,l){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?i(a(e),(function(a){var l=encodeURIComponent(r(a))+n;return o(e[a])?i(e[a],(function(e){return l+encodeURIComponent(r(e))})).join(t):l+encodeURIComponent(r(e[a]))})).join(t):l?encodeURIComponent(r(l))+n+encodeURIComponent(r(e)):""};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function i(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r<e.length;r++)n.push(t(e[r],r));return n}var a=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}},function(e,t){e.exports=function(e,t){function n(e){return String(e).replace(/[^ !'()~\*]*/g,encodeURIComponent).replace(/ /g,"+").replace(/[!'()~\*]/g,(function(e){return"%"+e.charCodeAt().toString(16).slice(-2).toUpperCase()}))}function r(e){var n=Object.keys(e);return t.sorted?n.sort():n}function o(e){return e.filter((function(e){return e})).join("&")}function i(e,a){var l=typeof a,u=null;return a===u?u=t.ignorenull?u:n(e)+"="+u:/string|number|boolean/.test(l)?u=n(e)+"="+n(a):Array.isArray(a)?u=function(e,t){return o(t.map((function(t){return i(e+"[]",t)})))}(e,a):"object"===l&&(u=function(e,t){return o(r(t).map((function(n){return i(e+"["+n+"]",t[n])})))}(e,a)),u}return t="object"==typeof t?t:{},o(r(e).map((function(t){return i(t,e[t])})))}},function(e,t,n){"use strict";(function(t){var r=n(53),o=n(54),i=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\S\s]*)/i,a=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,l=[["#","hash"],["?","query"],function(e){return e.replace("\\","/")},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d+)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],u={hash:1,query:1};function c(e){var n,r=("undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{}).location||{},o={},i=typeof(e=e||r);if("blob:"===e.protocol)o=new f(unescape(e.pathname),{});else if("string"===i)for(n in o=new f(e,{}),u)delete o[n];else if("object"===i){for(n in e)n in u||(o[n]=e[n]);void 0===o.slashes&&(o.slashes=a.test(e.href))}return o}function s(e){var t=i.exec(e);return{protocol:t[1]?t[1].toLowerCase():"",slashes:!!t[2],rest:t[3]}}function f(e,t,n){if(!(this instanceof f))return new f(e,t,n);var i,a,u,d,p,h,m=l.slice(),v=typeof t,y=this,g=0;for("object"!==v&&"string"!==v&&(n=t,t=null),n&&"function"!=typeof n&&(n=o.parse),t=c(t),i=!(a=s(e||"")).protocol&&!a.slashes,y.slashes=a.slashes||i&&t.slashes,y.protocol=a.protocol||t.protocol||"",e=a.rest,a.slashes||(m[3]=[/(.*)/,"pathname"]);g<m.length;g++)"function"!=typeof(d=m[g])?(u=d[0],h=d[1],u!=u?y[h]=e:"string"==typeof u?~(p=e.indexOf(u))&&("number"==typeof d[2]?(y[h]=e.slice(0,p),e=e.slice(p+d[2])):(y[h]=e.slice(p),e=e.slice(0,p))):(p=u.exec(e))&&(y[h]=p[1],e=e.slice(0,p.index)),y[h]=y[h]||i&&d[3]&&t[h]||"",d[4]&&(y[h]=y[h].toLowerCase())):e=d(e);n&&(y.query=n(y.query)),i&&t.slashes&&"/"!==y.pathname.charAt(0)&&(""!==y.pathname||""!==t.pathname)&&(y.pathname=function(e,t){for(var n=(t||"/").split("/").slice(0,-1).concat(e.split("/")),r=n.length,o=n[r-1],i=!1,a=0;r--;)"."===n[r]?n.splice(r,1):".."===n[r]?(n.splice(r,1),a++):a&&(0===r&&(i=!0),n.splice(r,1),a--);return i&&n.unshift(""),"."!==o&&".."!==o||n.push(""),n.join("/")}(y.pathname,t.pathname)),r(y.port,y.protocol)||(y.host=y.hostname,y.port=""),y.username=y.password="",y.auth&&(d=y.auth.split(":"),y.username=d[0]||"",y.password=d[1]||""),y.origin=y.protocol&&y.host&&"file:"!==y.protocol?y.protocol+"//"+y.host:"null",y.href=y.toString()}f.prototype={set:function(e,t,n){var i=this;switch(e){case"query":"string"==typeof t&&t.length&&(t=(n||o.parse)(t)),i[e]=t;break;case"port":i[e]=t,r(t,i.protocol)?t&&(i.host=i.hostname+":"+t):(i.host=i.hostname,i[e]="");break;case"hostname":i[e]=t,i.port&&(t+=":"+i.port),i.host=t;break;case"host":i[e]=t,/:\d+$/.test(t)?(t=t.split(":"),i.port=t.pop(),i.hostname=t.join(":")):(i.hostname=t,i.port="");break;case"protocol":i.protocol=t.toLowerCase(),i.slashes=!n;break;case"pathname":case"hash":if(t){var a="pathname"===e?"/":"#";i[e]=t.charAt(0)!==a?a+t:t}else i[e]=t;break;default:i[e]=t}for(var u=0;u<l.length;u++){var c=l[u];c[4]&&(i[c[1]]=i[c[1]].toLowerCase())}return i.origin=i.protocol&&i.host&&"file:"!==i.protocol?i.protocol+"//"+i.host:"null",i.href=i.toString(),i},toString:function(e){e&&"function"==typeof e||(e=o.stringify);var t,n=this,r=n.protocol;r&&":"!==r.charAt(r.length-1)&&(r+=":");var i=r+(n.slashes?"//":"");return n.username&&(i+=n.username,n.password&&(i+=":"+n.password),i+="@"),i+=n.host+n.pathname,(t="object"==typeof n.query?e(n.query):n.query)&&(i+="?"!==t.charAt(0)?"?"+t:t),n.hash&&(i+=n.hash),i}},f.extractProtocol=s,f.location=c,f.qs=o,e.exports=f}).call(this,n(9))},function(e,t,n){"use strict";e.exports=function(e,t){if(t=t.split(":")[0],!(e=+e))return!1;switch(t){case"http":case"ws":return 80!==e;case"https":case"wss":return 443!==e;case"ftp":return 21!==e;case"gopher":return 70!==e;case"file":return!1}return 0!==e}},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty;function o(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(e){return null}}t.stringify=function(e,t){t=t||"";var n,o,i=[];for(o in"string"!=typeof t&&(t="?"),e)if(r.call(e,o)){if((n=e[o])||null!=n&&!isNaN(n)||(n=""),o=encodeURIComponent(o),n=encodeURIComponent(n),null===o||null===n)continue;i.push(o+"="+n)}return i.length?t+i.join("&"):""},t.parse=function(e){for(var t,n=/([^=?&]+)=?([^&]*)/g,r={};t=n.exec(e);){var i=o(t[1]),a=o(t[2]);null===i||null===a||i in r||(r[i]=a)}return r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=this;return{getAuthenticationUrl:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["public"],n=i.default.stringify({client_id:e._accessKey,redirect_uri:e._callbackUrl,response_type:"code",scope:t.length>1?t.join("+"):t.toString()});return decodeURIComponent(a.OAUTH_AUTHORIZE_URL+"?"+n)},userAuthentication:function(t){var n=a.OAUTH_TOKEN_URL;return e.request({url:n,method:"POST",body:{client_id:e._accessKey,client_secret:e._secret,redirect_uri:e._callbackUrl,grant_type:"authorization_code",code:t},oauth:!0})},setBearerToken:function(t){t&&(e._bearerToken=t)}}};var r,o=n(21),i=(r=o)&&r.__esModule?r:{default:r},a=n(19)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=this;return{profile:function(){return e.request({url:"/me",method:"GET"})},updateProfile:function(t){var n={username:t.username,first_name:t.firstName,last_name:t.lastName,email:t.email,url:t.url,location:t.location,bio:t.bio,instagram_username:t.instagramUsername};return Object.keys(n).forEach((function(e){n[e]||delete n[e]})),e.request({url:"/me",method:"PUT",body:n})}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=this;return{profile:function(t){var n="/users/"+t;return e.request({url:n,method:"GET"})},photos:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"latest",i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a="/users/"+t+"/photos",l={page:n,per_page:r,order_by:o,stats:i};return e.request({url:a,method:"GET",query:l})},likes:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"latest",i="/users/"+t+"/likes",a={page:n,per_page:r,order_by:o};return e.request({url:i,method:"GET",query:a})},collections:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"published",i="/users/"+t+"/collections",a={page:n,per_page:r,order_by:o};return e.request({url:i,method:"GET",query:a})},statistics:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"days",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:30,o="/users/"+t+"/statistics",i={resolution:n,quantity:r};return e.request({url:o,method:"GET",query:i})}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=this;return{listPhotos:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"latest",o="/photos",i={page:t,per_page:n,order_by:r};return e.request({url:o,method:"GET",query:i})},getPhoto:function(t){var n="/photos/"+t;return e.request({url:n,method:"GET"})},getPhotoStats:function(t){var n="/photos/"+t+"/statistics";return e.request({url:n,method:"GET"})},getRandomPhoto:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n="/photos/random",r=t.collections||[],o={featured:t.featured,username:t.username,orientation:t.orientation,collections:r.join(),query:t.query,c:t.cacheBuster||(new Date).getTime(),count:t.count};return Object.keys(o).forEach((function(e){o[e]||delete o[e]})),e.request({url:n,method:"GET",query:o})},likePhoto:function(t){if(!e._bearerToken)throw new Error("Requires a bearerToken to be set.");var n="/photos/"+t+"/like";return e.request({url:n,method:"POST"})},unlikePhoto:function(t){if(!e._bearerToken)throw new Error("Requires a bearerToken to be set.");var n="/photos/"+t+"/like";return e.request({url:n,method:"DELETE"})},downloadPhoto:function(t){var n=(0,a.default)(t,"links.download_location",void 0);if(void 0===n)throw new Error("Object received is not a photo. "+t);var r=(0,o.getUrlComponents)(n);return e.request({url:r.pathname,method:"GET",query:r.query})}}};var r,o=n(20),i=n(59),a=(r=i)&&r.__esModule?r:{default:r}},function(e,t,n){(function(t){var n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,r=/^\w*$/,o=/^\./,i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,l=/^\[object .+?Constructor\]$/,u="object"==typeof t&&t&&t.Object===Object&&t,c="object"==typeof self&&self&&self.Object===Object&&self,s=u||c||Function("return this")();var f,d=Array.prototype,p=Function.prototype,h=Object.prototype,m=s["__core-js_shared__"],v=(f=/[^.]+$/.exec(m&&m.keys&&m.keys.IE_PROTO||""))?"Symbol(src)_1."+f:"",y=p.toString,g=h.hasOwnProperty,b=h.toString,w=RegExp("^"+y.call(g).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),k=s.Symbol,E=d.splice,_=N(s,"Map"),T=N(Object,"create"),x=k?k.prototype:void 0,S=x?x.toString:void 0;function P(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function O(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function C(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function j(e,t){for(var n,r,o=e.length;o--;)if((n=e[o][0])===(r=t)||n!=n&&r!=r)return o;return-1}function I(e,t){for(var o,i=0,a=(t=function(e,t){if(L(e))return!1;var o=typeof e;if("number"==o||"symbol"==o||"boolean"==o||null==e||F(e))return!0;return r.test(e)||!n.test(e)||null!=t&&e in Object(t)}(t,e)?[t]:L(o=t)?o:A(o)).length;null!=e&&i<a;)e=e[U(t[i++])];return i&&i==a?e:void 0}function R(e){return!(!z(e)||(t=e,v&&v in t))&&(function(e){var t=z(e)?b.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?w:l).test(function(e){if(null!=e){try{return y.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e));var t}function M(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function N(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return R(n)?n:void 0}P.prototype.clear=function(){this.__data__=T?T(null):{}},P.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},P.prototype.get=function(e){var t=this.__data__;if(T){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return g.call(t,e)?t[e]:void 0},P.prototype.has=function(e){var t=this.__data__;return T?void 0!==t[e]:g.call(t,e)},P.prototype.set=function(e,t){return this.__data__[e]=T&&void 0===t?"__lodash_hash_undefined__":t,this},O.prototype.clear=function(){this.__data__=[]},O.prototype.delete=function(e){var t=this.__data__,n=j(t,e);return!(n<0)&&(n==t.length-1?t.pop():E.call(t,n,1),!0)},O.prototype.get=function(e){var t=this.__data__,n=j(t,e);return n<0?void 0:t[n][1]},O.prototype.has=function(e){return j(this.__data__,e)>-1},O.prototype.set=function(e,t){var n=this.__data__,r=j(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},C.prototype.clear=function(){this.__data__={hash:new P,map:new(_||O),string:new P}},C.prototype.delete=function(e){return M(this,e).delete(e)},C.prototype.get=function(e){return M(this,e).get(e)},C.prototype.has=function(e){return M(this,e).has(e)},C.prototype.set=function(e,t){return M(this,e).set(e,t),this};var A=D((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(F(e))return S?S.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var n=[];return o.test(e)&&n.push(""),e.replace(i,(function(e,t,r,o){n.push(r?o.replace(a,"$1"):t||e)})),n}));function U(e){if("string"==typeof e||F(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function D(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a),a};return n.cache=new(D.Cache||C),n}D.Cache=C;var L=Array.isArray;function z(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function F(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==b.call(e)}e.exports=function(e,t,n){var r=null==e?void 0:I(e,t);return void 0===r?n:r}}).call(this,n(9))},function(e,t,n){"use strict";function r(e){return this.request({url:"/collections/"+e,method:"GET"})}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"latest",o={page:t,per_page:n,order_by:r};return this.request({url:"/collections/"+e+"/photos",method:"GET",query:o})}function i(e,t,n,r){var o=e?"/collections/"+e:"/collections",i={title:t,description:n,private:r};return this.request({url:o,method:e?"PUT":"POST",body:i})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=this;return{listCollections:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,r="/collections",o={page:t,per_page:n};return e.request({url:r,method:"GET",query:o})},getCollection:r.bind(this),getCollectionPhotos:o.bind(this),createCollection:i.bind(this,null),updateCollection:i.bind(this),deleteCollection:function(t){var n="/collections/"+t;return e.request({url:n,method:"DELETE"})},addPhotoToCollection:function(t,n){var r="/collections/"+t+"/add";return e.request({url:r,method:"POST",body:{photo_id:n}})},removePhotoFromCollection:function(t,n){var r="/collections/"+t+"/remove?photo_id="+n;return e.request({url:r,method:"DELETE"})},listRelatedCollections:function(t){var n="/collections/"+t+"/related";return e.request({url:n,method:"GET"})}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=this;return{photos:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=o.collections||[],a={query:encodeURIComponent(t),per_page:r,orientation:o.orientation,collections:i.join(),page:n};return Object.keys(a).forEach((function(e){a[e]||"query"==e||delete a[e]})),e.request({url:"/search/photos",method:"GET",query:a})},users:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,o={query:encodeURIComponent(t),per_page:r,page:n};return e.request({url:"/search/users",method:"GET",query:o})},collections:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,o={query:encodeURIComponent(t),per_page:r,page:n};return e.request({url:"/search/collections",method:"GET",query:o})}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=this;return{total:function(){return e.request({url:"/stats/total",method:"GET"})}}}},function(e,t,n){"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}n.r(t);var o=n(0),i=n.n(o),a=n(3),l=n.n(a),u=n(1);function c(e){return"/"===e.charAt(0)}function s(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}var f=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],o=t&&t.split("/")||[],i=e&&c(e),a=t&&c(t),l=i||a;if(e&&c(e)?o=r:r.length&&(o.pop(),o=o.concat(r)),!o.length)return"/";if(o.length){var u=o[o.length-1];n="."===u||".."===u||""===u}else n=!1;for(var f=0,d=o.length;d>=0;d--){var p=o[d];"."===p?s(o,d):".."===p?(s(o,d),f++):f&&(s(o,d),f--)}if(!l)for(;f--;f)o.unshift("..");!l||""===o[0]||o[0]&&c(o[0])||o.unshift("");var h=o.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h};function d(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var p=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])}));if("object"==typeof t||"object"==typeof n){var r=d(t),o=d(n);return r!==t||o!==n?e(r,o):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1};var h=function(e,t){if(!e)throw new Error("Invariant failed")};function m(e){return"/"===e.charAt(0)?e:"/"+e}function v(e){return"/"===e.charAt(0)?e.substr(1):e}function y(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function g(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function b(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 w(e,t,n,r){var o;"string"==typeof e?(o=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===(o=Object(u.a)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(o.key=n),r?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=f(o.pathname,r.pathname)):o.pathname=r.pathname:o.pathname||(o.pathname="/"),o}function k(){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<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var E=!("undefined"==typeof window||!window.document||!window.document.createElement);function _(e,t){t(window.confirm(e))}function T(){try{return window.history.state||{}}catch(e){return{}}}function x(e){void 0===e&&(e={}),E||h(!1);var t,n=window.history,r=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,o=!(-1===window.navigator.userAgent.indexOf("Trident")),i=e,a=i.forceRefresh,l=void 0!==a&&a,c=i.getUserConfirmation,s=void 0===c?_:c,f=i.keyLength,d=void 0===f?6:f,p=e.basename?g(m(e.basename)):"";function v(e){var t=e||{},n=t.key,r=t.state,o=window.location,i=o.pathname+o.search+o.hash;return p&&(i=y(i,p)),w(i,r,n)}function x(){return Math.random().toString(36).substr(2,d)}var S=k();function P(e){Object(u.a)(z,e),z.length=n.length,S.notifyListeners(z.location,z.action)}function O(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||I(v(e.state))}function C(){I(v(T()))}var j=!1;function I(e){if(j)j=!1,P();else{S.confirmTransitionTo(e,"POP",s,(function(t){t?P({action:"POP",location:e}):function(e){var t=z.location,n=M.indexOf(t.key);-1===n&&(n=0);var r=M.indexOf(e.key);-1===r&&(r=0);var o=n-r;o&&(j=!0,A(o))}(e)}))}}var R=v(T()),M=[R.key];function N(e){return p+b(e)}function A(e){n.go(e)}var U=0;function D(e){1===(U+=e)&&1===e?(window.addEventListener("popstate",O),o&&window.addEventListener("hashchange",C)):0===U&&(window.removeEventListener("popstate",O),o&&window.removeEventListener("hashchange",C))}var L=!1;var z={length:n.length,action:"POP",location:R,createHref:N,push:function(e,t){var o=w(e,t,x(),z.location);S.confirmTransitionTo(o,"PUSH",s,(function(e){if(e){var t=N(o),i=o.key,a=o.state;if(r)if(n.pushState({key:i,state:a},null,t),l)window.location.href=t;else{var u=M.indexOf(z.location.key),c=M.slice(0,u+1);c.push(o.key),M=c,P({action:"PUSH",location:o})}else window.location.href=t}}))},replace:function(e,t){var o=w(e,t,x(),z.location);S.confirmTransitionTo(o,"REPLACE",s,(function(e){if(e){var t=N(o),i=o.key,a=o.state;if(r)if(n.replaceState({key:i,state:a},null,t),l)window.location.replace(t);else{var u=M.indexOf(z.location.key);-1!==u&&(M[u]=o.key),P({action:"REPLACE",location:o})}else window.location.replace(t)}}))},go:A,goBack:function(){A(-1)},goForward:function(){A(1)},block:function(e){void 0===e&&(e=!1);var t=S.setPrompt(e);return L||(D(1),L=!0),function(){return L&&(L=!1,D(-1)),t()}},listen:function(e){var t=S.appendListener(e);return D(1),function(){D(-1),t()}}};return z}var S={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+v(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:v,decodePath:m},slash:{encodePath:m,decodePath:m}};function P(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function O(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function C(e){window.location.replace(P(window.location.href)+"#"+e)}function j(e){void 0===e&&(e={}),E||h(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),r=n.getUserConfirmation,o=void 0===r?_:r,i=n.hashType,a=void 0===i?"slash":i,l=e.basename?g(m(e.basename)):"",c=S[a],s=c.encodePath,f=c.decodePath;function d(){var e=f(O());return l&&(e=y(e,l)),w(e)}var p=k();function v(e){Object(u.a)(z,e),z.length=t.length,p.notifyListeners(z.location,z.action)}var T=!1,x=null;function j(){var e,t,n=O(),r=s(n);if(n!==r)C(r);else{var i=d(),a=z.location;if(!T&&(t=i,(e=a).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(x===b(i))return;x=null,function(e){if(T)T=!1,v();else{p.confirmTransitionTo(e,"POP",o,(function(t){t?v({action:"POP",location:e}):function(e){var t=z.location,n=N.lastIndexOf(b(t));-1===n&&(n=0);var r=N.lastIndexOf(b(e));-1===r&&(r=0);var o=n-r;o&&(T=!0,A(o))}(e)}))}}(i)}}var I=O(),R=s(I);I!==R&&C(R);var M=d(),N=[b(M)];function A(e){t.go(e)}var U=0;function D(e){1===(U+=e)&&1===e?window.addEventListener("hashchange",j):0===U&&window.removeEventListener("hashchange",j)}var L=!1;var z={length:t.length,action:"POP",location:M,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=P(window.location.href)),n+"#"+s(l+b(e))},push:function(e,t){var n=w(e,void 0,void 0,z.location);p.confirmTransitionTo(n,"PUSH",o,(function(e){if(e){var t=b(n),r=s(l+t);if(O()!==r){x=t,function(e){window.location.hash=e}(r);var o=N.lastIndexOf(b(z.location)),i=N.slice(0,o+1);i.push(t),N=i,v({action:"PUSH",location:n})}else v()}}))},replace:function(e,t){var n=w(e,void 0,void 0,z.location);p.confirmTransitionTo(n,"REPLACE",o,(function(e){if(e){var t=b(n),r=s(l+t);O()!==r&&(x=t,C(r));var o=N.indexOf(b(z.location));-1!==o&&(N[o]=t),v({action:"REPLACE",location:n})}}))},go:A,goBack:function(){A(-1)},goForward:function(){A(1)},block:function(e){void 0===e&&(e=!1);var t=p.setPrompt(e);return L||(D(1),L=!0),function(){return L&&(L=!1,D(-1)),t()}},listen:function(e){var t=p.appendListener(e);return D(1),function(){D(-1),t()}}};return z}function I(e,t,n){return Math.min(Math.max(e,t),n)}function R(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,r=t.initialEntries,o=void 0===r?["/"]:r,i=t.initialIndex,a=void 0===i?0:i,l=t.keyLength,c=void 0===l?6:l,s=k();function f(e){Object(u.a)(y,e),y.length=y.entries.length,s.notifyListeners(y.location,y.action)}function d(){return Math.random().toString(36).substr(2,c)}var p=I(a,0,o.length-1),h=o.map((function(e){return w(e,void 0,"string"==typeof e?d():e.key||d())})),m=b;function v(e){var t=I(y.index+e,0,y.entries.length-1),r=y.entries[t];s.confirmTransitionTo(r,"POP",n,(function(e){e?f({action:"POP",location:r,index:t}):f()}))}var y={length:h.length,action:"POP",location:h[p],index:p,entries:h,createHref:m,push:function(e,t){var r=w(e,t,d(),y.location);s.confirmTransitionTo(r,"PUSH",n,(function(e){if(e){var t=y.index+1,n=y.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=w(e,t,d(),y.location);s.confirmTransitionTo(r,"REPLACE",n,(function(e){e&&(y.entries[y.index]=r,f({action:"REPLACE",location:r}))}))},go:v,goBack:function(){v(-1)},goForward:function(){v(1)},canGo:function(e){var t=y.index+e;return t>=0&&t<y.entries.length},block:function(e){return void 0===e&&(e=!1),s.setPrompt(e)},listen:function(e){return s.appendListener(e)}};return y}var M=n(15),N=n.n(M),A=n(24),U=n.n(A);function D(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter((function(t){return t!==e}))},get:function(){return e},set:function(n,r){e=n,t.forEach((function(t){return t(e,r)}))}}}var L=i.a.createContext||function(e,t){var n,r,i="__create-react-context-"+U()()+"__",a=function(e){function n(){var t;return(t=e.apply(this,arguments)||this).emitter=D(t.props.value),t}N()(n,e);var r=n.prototype;return r.getChildContext=function(){var e;return(e={})[i]=this.emitter,e},r.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,o=e.value;((i=r)===(a=o)?0!==i||1/i==1/a:i!=i&&a!=a)?n=0:(n="function"==typeof t?t(r,o):1073741823,0!==(n|=0)&&this.emitter.set(e.value,n))}var i,a},r.render=function(){return this.props.children},n}(o.Component);a.childContextTypes=((n={})[i]=l.a.object.isRequired,n);var u=function(t){function n(){var e;return(e=t.apply(this,arguments)||this).state={value:e.getValue()},e.onUpdate=function(t,n){0!=((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}N()(n,t);var r=n.prototype;return r.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?1073741823:t},r.componentDidMount=function(){this.context[i]&&this.context[i].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?1073741823:e},r.componentWillUnmount=function(){this.context[i]&&this.context[i].off(this.onUpdate)},r.getValue=function(){return this.context[i]?this.context[i].get():e},r.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(o.Component);return u.contextTypes=((r={})[i]=l.a.object,r),{Provider:a,Consumer:u}},z=n(16),F=n.n(z),H=(n(11),n(2)),q=n(8),W=n.n(q),B=function(e){var t=L();return t.displayName=e,t}("Router"),$=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._isMounted?n.setState({location:e}):n._pendingLocation=e}))),n}r(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&this.unlisten()},n.render=function(){return i.a.createElement(B.Provider,{children:this.props.children||null,value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}})},t}(i.a.Component);var V=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).history=R(t.props),t}return r(t,e),t.prototype.render=function(){return i.a.createElement($,{history:this.history,children:this.props.children})},t}(i.a.Component);var G=function(e){function t(){return e.apply(this,arguments)||this}r(t,e);var n=t.prototype;return n.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},n.componentDidUpdate=function(e){this.props.onUpdate&&this.props.onUpdate.call(this,this,e)},n.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},n.render=function(){return null},t}(i.a.Component);function K(e){var t=e.message,n=e.when,r=void 0===n||n;return i.a.createElement(B.Consumer,null,(function(e){if(e||h(!1),!r||e.staticContext)return null;var n=e.history.block;return i.a.createElement(G,{onMount:function(e){e.release=n(t)},onUpdate:function(e,r){r.message!==t&&(e.release(),e.release=n(t))},onUnmount:function(e){e.release()},message:t})}))}var Q={},Y=0;function X(e,t){return void 0===e&&(e="/"),void 0===t&&(t={}),"/"===e?e:function(e){if(Q[e])return Q[e];var t=F.a.compile(e);return Y<1e4&&(Q[e]=t,Y++),t}(e)(t,{pretty:!0})}function J(e){var t=e.computedMatch,n=e.to,r=e.push,o=void 0!==r&&r;return i.a.createElement(B.Consumer,null,(function(e){e||h(!1);var r=e.history,a=e.staticContext,l=o?r.push:r.replace,c=w(t?"string"==typeof n?X(n,t.params):Object(u.a)({},n,{pathname:X(n.pathname,t.params)}):n);return a?(l(c),null):i.a.createElement(G,{onMount:function(){l(c)},onUpdate:function(e,t){var n,r,o=w(t.to);n=o,r=Object(u.a)({},c,{key:o.key}),n.pathname===r.pathname&&n.search===r.search&&n.hash===r.hash&&n.key===r.key&&p(n.state,r.state)||l(c)},to:n})}))}var Z={},ee=0;function te(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,o=n.exact,i=void 0!==o&&o,a=n.strict,l=void 0!==a&&a,u=n.sensitive,c=void 0!==u&&u;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=Z[n]||(Z[n]={});if(r[e])return r[e];var o=[],i={regexp:F()(e,o,t),keys:o};return ee<1e4&&(r[e]=i,ee++),i}(n,{end:i,strict:l,sensitive:c}),o=r.regexp,a=r.keys,u=o.exec(e);if(!u)return null;var s=u[0],f=u.slice(1),d=e===s;return i&&!d?null:{path:n,url:"/"===n&&""===s?"/":s,isExact:d,params:a.reduce((function(e,t,n){return e[t.name]=f[n],e}),{})}}),null)}var ne=function(e){function t(){return e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){var e=this;return i.a.createElement(B.Consumer,null,(function(t){t||h(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?te(n.pathname,e.props):t.match,o=Object(u.a)({},t,{location:n,match:r}),a=e.props,l=a.children,c=a.component,s=a.render;return Array.isArray(l)&&0===l.length&&(l=null),i.a.createElement(B.Provider,{value:o},o.match?l?"function"==typeof l?l(o):l:c?i.a.createElement(c,o):s?s(o):null:"function"==typeof l?l(o):null)}))},t}(i.a.Component);function re(e){return"/"===e.charAt(0)?e:"/"+e}function oe(e,t){if(!e)return t;var n=re(e);return 0!==t.pathname.indexOf(n)?t:Object(u.a)({},t,{pathname:t.pathname.substr(n.length)})}function ie(e){return"string"==typeof e?e:b(e)}function ae(e){return function(){h(!1)}}function le(){}var ue=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).handlePush=function(e){return t.navigateTo(e,"PUSH")},t.handleReplace=function(e){return t.navigateTo(e,"REPLACE")},t.handleListen=function(){return le},t.handleBlock=function(){return le},t}r(t,e);var n=t.prototype;return n.navigateTo=function(e,t){var n=this.props,r=n.basename,o=void 0===r?"":r,i=n.context,a=void 0===i?{}:i;a.action=t,a.location=function(e,t){return e?Object(u.a)({},t,{pathname:re(e)+t.pathname}):t}(o,w(e)),a.url=ie(a.location)},n.render=function(){var e=this.props,t=e.basename,n=void 0===t?"":t,r=e.context,o=void 0===r?{}:r,a=e.location,l=void 0===a?"/":a,c=Object(H.a)(e,["basename","context","location"]),s={createHref:function(e){return re(n+ie(e))},action:"POP",location:oe(n,w(l)),push:this.handlePush,replace:this.handleReplace,go:ae(),goBack:ae(),goForward:ae(),listen:this.handleListen,block:this.handleBlock};return i.a.createElement($,Object(u.a)({},c,{history:s,staticContext:o}))},t}(i.a.Component);var ce=function(e){function t(){return e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){var e=this;return i.a.createElement(B.Consumer,null,(function(t){t||h(!1);var n,r,o=e.props.location||t.location;return i.a.Children.forEach(e.props.children,(function(e){if(null==r&&i.a.isValidElement(e)){n=e;var a=e.props.path||e.props.from;r=a?te(o.pathname,Object(u.a)({},e.props,{path:a})):t.match}})),r?i.a.cloneElement(n,{location:o,computedMatch:r}):null}))},t}(i.a.Component);function se(e){var t="withRouter("+(e.displayName||e.name)+")",n=function(t){var n=t.wrappedComponentRef,r=Object(H.a)(t,["wrappedComponentRef"]);return i.a.createElement(B.Consumer,null,(function(t){return t||h(!1),i.a.createElement(e,Object(u.a)({},r,t,{ref:n}))}))};return n.displayName=t,n.WrappedComponent=e,W()(n,e)}var fe=i.a.useContext;function de(){return fe(B).history}function pe(){return fe(B).location}function he(){var e=fe(B).match;return e?e.params:{}}function me(e){return e?te(pe().pathname,e):fe(B).match}n.d(t,"BrowserRouter",(function(){return ve})),n.d(t,"HashRouter",(function(){return ye})),n.d(t,"Link",(function(){return _e})),n.d(t,"NavLink",(function(){return Se})),n.d(t,"MemoryRouter",(function(){return V})),n.d(t,"Prompt",(function(){return K})),n.d(t,"Redirect",(function(){return J})),n.d(t,"Route",(function(){return ne})),n.d(t,"Router",(function(){return $})),n.d(t,"StaticRouter",(function(){return ue})),n.d(t,"Switch",(function(){return ce})),n.d(t,"__RouterContext",(function(){return B})),n.d(t,"generatePath",(function(){return X})),n.d(t,"matchPath",(function(){return te})),n.d(t,"useHistory",(function(){return de})),n.d(t,"useLocation",(function(){return pe})),n.d(t,"useParams",(function(){return he})),n.d(t,"useRouteMatch",(function(){return me})),n.d(t,"withRouter",(function(){return se}));var ve=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).history=x(t.props),t}return r(t,e),t.prototype.render=function(){return i.a.createElement($,{history:this.history,children:this.props.children})},t}(i.a.Component);var ye=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).history=j(t.props),t}return r(t,e),t.prototype.render=function(){return i.a.createElement($,{history:this.history,children:this.props.children})},t}(i.a.Component);var ge=function(e,t){return"function"==typeof e?e(t):e},be=function(e,t){return"string"==typeof e?w(e,null,null,t):e},we=function(e){return e},ke=i.a.forwardRef;void 0===ke&&(ke=we);var Ee=ke((function(e,t){var n=e.innerRef,r=e.navigate,o=e.onClick,a=Object(H.a)(e,["innerRef","navigate","onClick"]),l=a.target,c=Object(u.a)({},a,{onClick:function(e){try{o&&o(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||l&&"_self"!==l||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return c.ref=we!==ke&&t||n,i.a.createElement("a",c)}));var _e=ke((function(e,t){var n=e.component,r=void 0===n?Ee:n,o=e.replace,a=e.to,l=e.innerRef,c=Object(H.a)(e,["component","replace","to","innerRef"]);return i.a.createElement(B.Consumer,null,(function(e){e||h(!1);var n=e.history,s=be(ge(a,e.location),e.location),f=s?n.createHref(s):"",d=Object(u.a)({},c,{href:f,navigate:function(){var t=ge(a,e.location);(o?n.replace:n.push)(t)}});return we!==ke?d.ref=t||l:d.innerRef=l,i.a.createElement(r,d)}))})),Te=function(e){return e},xe=i.a.forwardRef;void 0===xe&&(xe=Te);var Se=xe((function(e,t){var n=e["aria-current"],r=void 0===n?"page":n,o=e.activeClassName,a=void 0===o?"active":o,l=e.activeStyle,c=e.className,s=e.exact,f=e.isActive,d=e.location,p=e.strict,m=e.style,v=e.to,y=e.innerRef,g=Object(H.a)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","strict","style","to","innerRef"]);return i.a.createElement(B.Consumer,null,(function(e){e||h(!1);var n=d||e.location,o=be(ge(v,n),n),b=o.pathname,w=b&&b.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),k=w?te(n.pathname,{path:w,exact:s,strict:p}):null,E=!!(f?f(k,n):k),_=E?function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(c,a):c,T=E?Object(u.a)({},m,{},l):m,x=Object(u.a)({"aria-current":E&&r||null,className:_,style:T,to:o},g);return Te!==xe?x.ref=t||y:x.innerRef=y,i.a.createElement(_e,x)}))}))}]);
//# sourceMappingURL=bundle.js.map