-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.4230e93b.js
2 lines (2 loc) · 215 KB
/
index.4230e93b.js
1
2
function e(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}function t(e){return e&&e.__esModule?e.default:e}function n(e){Object.defineProperty(e,"__esModule",{value:!0,configurable:!0})}var r,o,a,i,l,u,s,c,f="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},d={},p={},m=f.parcelRequire4c5b;null==m&&((m=function(e){if(e in d)return d[e].exports;if(e in p){var t=p[e];delete p[e];var n={id:e,exports:{}};return d[e]=n,t.call(n.exports,n,n.exports),n.exports}var r=Error("Cannot find module '"+e+"'");throw r.code="MODULE_NOT_FOUND",r}).register=function(e,t){p[e]=t},f.parcelRequire4c5b=m),m.register("2nzLi",function(t,n){e(t.exports,"Fragment",function(){return r},function(e){return r=e}),e(t.exports,"jsx",function(){return o},function(e){return o=e}),e(t.exports,"jsxs",function(){return a},function(e){return a=e});var r,o,a,i=m("7fPBF"),l=Symbol.for("react.element"),u=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,c=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,f={key:!0,ref:!0,__self:!0,__source:!0};function d(e,t,n){var r,o={},a=null,i=null;for(r in void 0!==n&&(a=""+n),void 0!==t.key&&(a=""+t.key),void 0!==t.ref&&(i=t.ref),t)s.call(t,r)&&!f.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:l,type:e,key:a,ref:i,props:o,_owner:c.current}}r=u,o=d,a=d}),m.register("7fPBF",function(e,t){e.exports=m("fSPLm")}),m.register("fSPLm",function(t,n){e(t.exports,"Children",function(){return r},function(e){return r=e}),e(t.exports,"Component",function(){return o},function(e){return o=e}),e(t.exports,"Fragment",function(){return a},function(e){return a=e}),e(t.exports,"Profiler",function(){return i},function(e){return i=e}),e(t.exports,"PureComponent",function(){return l},function(e){return l=e}),e(t.exports,"StrictMode",function(){return u},function(e){return u=e}),e(t.exports,"Suspense",function(){return s},function(e){return s=e}),e(t.exports,"__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED",function(){return c},function(e){return c=e}),e(t.exports,"cloneElement",function(){return f},function(e){return f=e}),e(t.exports,"createContext",function(){return d},function(e){return d=e}),e(t.exports,"createElement",function(){return p},function(e){return p=e}),e(t.exports,"createFactory",function(){return m},function(e){return m=e}),e(t.exports,"createRef",function(){return h},function(e){return h=e}),e(t.exports,"forwardRef",function(){return g},function(e){return g=e}),e(t.exports,"isValidElement",function(){return v},function(e){return v=e}),e(t.exports,"lazy",function(){return y},function(e){return y=e}),e(t.exports,"memo",function(){return b},function(e){return b=e}),e(t.exports,"startTransition",function(){return w},function(e){return w=e}),e(t.exports,"unstable_act",function(){return k},function(e){return k=e}),e(t.exports,"useCallback",function(){return x},function(e){return x=e}),e(t.exports,"useContext",function(){return S},function(e){return S=e}),e(t.exports,"useDebugValue",function(){return E},function(e){return E=e}),e(t.exports,"useDeferredValue",function(){return _},function(e){return _=e}),e(t.exports,"useEffect",function(){return C},function(e){return C=e}),e(t.exports,"useId",function(){return P},function(e){return P=e}),e(t.exports,"useImperativeHandle",function(){return T},function(e){return T=e}),e(t.exports,"useInsertionEffect",function(){return L},function(e){return L=e}),e(t.exports,"useLayoutEffect",function(){return N},function(e){return N=e}),e(t.exports,"useMemo",function(){return z},function(e){return z=e}),e(t.exports,"useReducer",function(){return R},function(e){return R=e}),e(t.exports,"useRef",function(){return M},function(e){return M=e}),e(t.exports,"useState",function(){return O},function(e){return O=e}),e(t.exports,"useSyncExternalStore",function(){return F},function(e){return F=e}),e(t.exports,"useTransition",function(){return I},function(e){return I=e}),e(t.exports,"version",function(){return D},function(e){return D=e});var r,o,a,i,l,u,s,c,f,d,p,m,h,g,v,y,b,w,k,x,S,E,_,C,P,T,L,N,z,R,M,O,F,I,D,j=Symbol.for("react.element"),A=Symbol.for("react.portal"),B=Symbol.for("react.fragment"),U=Symbol.for("react.strict_mode"),$=Symbol.for("react.profiler"),V=Symbol.for("react.provider"),H=Symbol.for("react.context"),W=Symbol.for("react.forward_ref"),q=Symbol.for("react.suspense"),Q=Symbol.for("react.memo"),X=Symbol.for("react.lazy"),Y=Symbol.iterator,K={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},G=Object.assign,Z={};function J(e,t,n){this.props=e,this.context=t,this.refs=Z,this.updater=n||K}function ee(){}function et(e,t,n){this.props=e,this.context=t,this.refs=Z,this.updater=n||K}J.prototype.isReactComponent={},J.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},J.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},ee.prototype=J.prototype;var en=et.prototype=new ee;en.constructor=et,G(en,J.prototype),en.isPureReactComponent=!0;var er=Array.isArray,eo=Object.prototype.hasOwnProperty,ea={current:null},ei={key:!0,ref:!0,__self:!0,__source:!0};function el(e,t,n){var r,o={},a=null,i=null;if(null!=t)for(r in void 0!==t.ref&&(i=t.ref),void 0!==t.key&&(a=""+t.key),t)eo.call(t,r)&&!ei.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(1===l)o.children=n;else if(1<l){for(var u=Array(l),s=0;s<l;s++)u[s]=arguments[s+2];o.children=u}if(e&&e.defaultProps)for(r in l=e.defaultProps)void 0===o[r]&&(o[r]=l[r]);return{$$typeof:j,type:e,key:a,ref:i,props:o,_owner:ea.current}}function eu(e){return"object"==typeof e&&null!==e&&e.$$typeof===j}var es=/\/+/g;function ec(e,t){var n,r;return"object"==typeof e&&null!==e&&null!=e.key?(n=""+e.key,r={"=":"=0",":":"=2"},"$"+n.replace(/[=:]/g,function(e){return r[e]})):t.toString(36)}function ef(e,t,n){if(null==e)return e;var r=[],o=0;return function e(t,n,r,o,a){var i,l,u,s=typeof t;("undefined"===s||"boolean"===s)&&(t=null);var c=!1;if(null===t)c=!0;else switch(s){case"string":case"number":c=!0;break;case"object":switch(t.$$typeof){case j:case A:c=!0}}if(c)return a=a(c=t),t=""===o?"."+ec(c,0):o,er(a)?(r="",null!=t&&(r=t.replace(es,"$&/")+"/"),e(a,n,r,"",function(e){return e})):null!=a&&(eu(a)&&(i=a,l=r+(!a.key||c&&c.key===a.key?"":(""+a.key).replace(es,"$&/")+"/")+t,a={$$typeof:j,type:i.type,key:l,ref:i.ref,props:i.props,_owner:i._owner}),n.push(a)),1;if(c=0,o=""===o?".":o+":",er(t))for(var f=0;f<t.length;f++){s=t[f];var d=o+ec(s,f);c+=e(s,n,r,d,a)}else if("function"==typeof(d=null===(u=t)||"object"!=typeof u?null:"function"==typeof(u=Y&&u[Y]||u["@@iterator"])?u:null))for(t=d.call(t),f=0;!(s=t.next()).done;)d=o+ec(s=s.value,f++),c+=e(s,n,r,d,a);else if("object"===s)throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(n=String(t))?"object with keys {"+Object.keys(t).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.");return c}(e,r,"","",function(e){return t.call(n,e,o++)}),r}function ed(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){(0===e._status||-1===e._status)&&(e._status=1,e._result=t)},function(t){(0===e._status||-1===e._status)&&(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var ep={current:null},em={transition:null};r={map:ef,forEach:function(e,t,n){ef(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return ef(e,function(){t++}),t},toArray:function(e){return ef(e,function(e){return e})||[]},only:function(e){if(!eu(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},o=J,a=B,i=$,l=et,u=U,s=q,c={ReactCurrentDispatcher:ep,ReactCurrentBatchConfig:em,ReactCurrentOwner:ea},f=function(e,t,n){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=G({},e.props),o=e.key,a=e.ref,i=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,i=ea.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(u in t)eo.call(t,u)&&!ei.hasOwnProperty(u)&&(r[u]=void 0===t[u]&&void 0!==l?l[u]:t[u])}var u=arguments.length-2;if(1===u)r.children=n;else if(1<u){l=Array(u);for(var s=0;s<u;s++)l[s]=arguments[s+2];r.children=l}return{$$typeof:j,type:e.type,key:o,ref:a,props:r,_owner:i}},d=function(e){return(e={$$typeof:H,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:V,_context:e},e.Consumer=e},p=el,m=function(e){var t=el.bind(null,e);return t.type=e,t},h=function(){return{current:null}},g=function(e){return{$$typeof:W,render:e}},v=eu,y=function(e){return{$$typeof:X,_payload:{_status:-1,_result:e},_init:ed}},b=function(e,t){return{$$typeof:Q,type:e,compare:void 0===t?null:t}},w=function(e){var t=em.transition;em.transition={};try{e()}finally{em.transition=t}},k=function(){throw Error("act(...) is not supported in production builds of React.")},x=function(e,t){return ep.current.useCallback(e,t)},S=function(e){return ep.current.useContext(e)},E=function(){},_=function(e){return ep.current.useDeferredValue(e)},C=function(e,t){return ep.current.useEffect(e,t)},P=function(){return ep.current.useId()},T=function(e,t,n){return ep.current.useImperativeHandle(e,t,n)},L=function(e,t){return ep.current.useInsertionEffect(e,t)},N=function(e,t){return ep.current.useLayoutEffect(e,t)},z=function(e,t){return ep.current.useMemo(e,t)},R=function(e,t,n){return ep.current.useReducer(e,t,n)},M=function(e){return ep.current.useRef(e)},O=function(e){return ep.current.useState(e)},F=function(e,t,n){return ep.current.useSyncExternalStore(e,t,n)},I=function(){return ep.current.useTransition()},D="18.2.0"}),m.register("6EA3T",function(t,n){e(t.exports,"__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED",function(){return V},function(e){return V=e}),e(t.exports,"createPortal",function(){return H},function(e){return H=e}),e(t.exports,"createRoot",function(){return W},function(e){return W=e}),e(t.exports,"findDOMNode",function(){return q},function(e){return q=e}),e(t.exports,"flushSync",function(){return Q},function(e){return Q=e}),e(t.exports,"hydrate",function(){return X},function(e){return X=e}),e(t.exports,"hydrateRoot",function(){return Y},function(e){return Y=e}),e(t.exports,"render",function(){return K},function(e){return K=e}),e(t.exports,"unmountComponentAtNode",function(){return G},function(e){return G=e}),e(t.exports,"unstable_batchedUpdates",function(){return Z},function(e){return Z=e}),e(t.exports,"unstable_renderSubtreeIntoContainer",function(){return J},function(e){return J=e}),e(t.exports,"version",function(){return ee},function(e){return ee=e});var r,o,a,i,l,u,s=m("7fPBF"),c=m("33s19");function f(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 d=new Set,p={};function h(e,t){g(e,t),g(e+"Capture",t)}function g(e,t){for(p[e]=t,e=0;e<t.length;e++)d.add(t[e])}var v=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),y=Object.prototype.hasOwnProperty,b=/^[: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]*$/,w={},k={};function x(e,t,n,r,o,a,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=a,this.removeEmptyString=i}var S={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){S[e]=new x(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];S[t]=new x(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){S[e]=new x(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){S[e]=new x(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){S[e]=new x(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){S[e]=new x(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){S[e]=new x(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){S[e]=new x(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){S[e]=new x(e,5,!1,e.toLowerCase(),null,!1,!1)});var E=/[\-:]([a-z])/g;function _(e){return e[1].toUpperCase()}function C(e,t,n,r){var o,a=S.hasOwnProperty(t)?S[t]:null;(null!==a?0!==a.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":if(r)return!1;if(null!==n)return!n.acceptsBooleans;return"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,a,r)&&(n=null),r||null===a?(o=t,(!!y.call(k,o)||!y.call(w,o)&&(b.test(o)?k[o]=!0:(w[o]=!0,!1)))&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n))):a.mustUseProperty?e[a.propertyName]=null===n?3!==a.type&&"":n:(t=a.attributeName,r=a.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(a=a.type)||4===a&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"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(E,_);S[t]=new x(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(E,_);S[t]=new x(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(E,_);S[t]=new x(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){S[e]=new x(e,1,!1,e.toLowerCase(),null,!1,!1)}),S.xlinkHref=new x("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){S[e]=new x(e,1,!1,e.toLowerCase(),null,!0,!0)});var P=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,T=Symbol.for("react.element"),L=Symbol.for("react.portal"),N=Symbol.for("react.fragment"),z=Symbol.for("react.strict_mode"),R=Symbol.for("react.profiler"),M=Symbol.for("react.provider"),O=Symbol.for("react.context"),F=Symbol.for("react.forward_ref"),I=Symbol.for("react.suspense"),D=Symbol.for("react.suspense_list"),j=Symbol.for("react.memo"),A=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var B=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var U=Symbol.iterator;function $(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=U&&e[U]||e["@@iterator"])?e:null}var V,H,W,q,Q,X,Y,K,G,Z,J,ee,et,en=Object.assign;function er(e){if(void 0===et)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);et=t&&t[1]||""}return"\n"+et+e}var eo=!1;function ea(e,t){if(!e||eo)return"";eo=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t){if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var o=t.stack.split("\n"),a=r.stack.split("\n"),i=o.length-1,l=a.length-1;1<=i&&0<=l&&o[i]!==a[l];)l--;for(;1<=i&&0<=l;i--,l--)if(o[i]!==a[l]){if(1!==i||1!==l)do if(i--,0>--l||o[i]!==a[l]){var u="\n"+o[i].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}while(1<=i&&0<=l)break}}}finally{eo=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?er(e):""}function ei(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function el(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function eu(e){e._valueTracker||(e._valueTracker=function(e){var t=el(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,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,a.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 es(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=el(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function ec(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 ef(e,t){var n=t.checked;return en({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ed(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=ei(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 ep(e,t){null!=(t=t.checked)&&C(e,"checked",t,!1)}function em(e,t){ep(e,t);var n=ei(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){e.removeAttribute("value");return}t.hasOwnProperty("value")?eg(e,t.type,n):t.hasOwnProperty("defaultValue")&&eg(e,t.type,ei(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function eh(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._wrapperState.initialChecked,""!==n&&(e.name=n)}function eg(e,t,n){("number"!==t||ec(e.ownerDocument)!==e)&&(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ev=Array.isArray;function ey(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(o=0,n=""+ei(n),t=null;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function eb(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(f(91));return en({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ew(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(f(92));if(ev(n)){if(1<n.length)throw Error(f(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:ei(n)}}function ek(e,t){var n=ei(t.value),r=ei(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 ex(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function eS(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 eE(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?eS(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var e_,eC,eP=(e_=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((eC=eC||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=eC.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction(function(){return e_(e,t,n,r)})}:e_);function eT(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType){n.nodeValue=t;return}}e.textContent=t}var eL={animationIterationCount:!0,aspectRatio:!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},eN=["Webkit","ms","Moz","O"];function ez(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||eL.hasOwnProperty(e)&&eL[e]?(""+t).trim():t+"px"}function eR(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=ez(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(eL).forEach(function(e){eN.forEach(function(t){eL[t=t+e.charAt(0).toUpperCase()+e.substring(1)]=eL[e]})});var eM=en({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 eO(e,t){if(t){if(eM[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(f(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(f(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(f(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(f(62))}}function eF(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}}var eI=null;function eD(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var ej=null,eA=null,eB=null;function eU(e){if(e=rY(e)){if("function"!=typeof ej)throw Error(f(280));var t=e.stateNode;t&&(t=rG(t),ej(e.stateNode,e.type,t))}}function e$(e){eA?eB?eB.push(e):eB=[e]:eA=e}function eV(){if(eA){var e=eA,t=eB;if(eB=eA=null,eU(e),t)for(e=0;e<t.length;e++)eU(t[e])}}function eH(e,t){return e(t)}function eW(){}var eq=!1;function eQ(e,t,n){if(eq)return e(t,n);eq=!0;try{return eH(e,t,n)}finally{eq=!1,(null!==eA||null!==eB)&&(eW(),eV())}}function eX(e,t){var n=e.stateNode;if(null===n)return null;var r=rG(n);if(null===r)return null;switch(n=r[t],t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(f(231,t,typeof n));return n}var eY=!1;if(v)try{var eK={};Object.defineProperty(eK,"passive",{get:function(){eY=!0}}),window.addEventListener("test",eK,eK),window.removeEventListener("test",eK,eK)}catch(e){eY=!1}function eG(e,t,n,r,o,a,i,l,u){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(e){this.onError(e)}}var eZ=!1,eJ=null,e0=!1,e1=null,e2={onError:function(e){eZ=!0,eJ=e}};function e3(e,t,n,r,o,a,i,l,u){eZ=!1,eJ=null,eG.apply(e2,arguments)}function e4(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do 0!=(4098&(t=e).flags)&&(n=t.return),e=t.return;while(e)}return 3===t.tag?n:null}function e6(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 e5(e){if(e4(e)!==e)throw Error(f(188))}function e8(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=e4(e)))throw Error(f(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return e5(o),e;if(a===r)return e5(o),t;a=a.sibling}throw Error(f(188))}if(n.return!==r.return)n=o,r=a;else{for(var i=!1,l=o.child;l;){if(l===n){i=!0,n=o,r=a;break}if(l===r){i=!0,r=o,n=a;break}l=l.sibling}if(!i){for(l=a.child;l;){if(l===n){i=!0,n=a,r=o;break}if(l===r){i=!0,r=a,n=o;break}l=l.sibling}if(!i)throw Error(f(189))}}if(n.alternate!==r)throw Error(f(190))}if(3!==n.tag)throw Error(f(188));return n.stateNode.current===n?e:t}(e))?function e(t){if(5===t.tag||6===t.tag)return t;for(t=t.child;null!==t;){var n=e(t);if(null!==n)return n;t=t.sibling}return null}(e):null}var e7=c.unstable_scheduleCallback,e9=c.unstable_cancelCallback,te=c.unstable_shouldYield,tt=c.unstable_requestPaint,tn=c.unstable_now,tr=c.unstable_getCurrentPriorityLevel,to=c.unstable_ImmediatePriority,ta=c.unstable_UserBlockingPriority,ti=c.unstable_NormalPriority,tl=c.unstable_LowPriority,tu=c.unstable_IdlePriority,ts=null,tc=null,tf=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(td(e)/tp|0)|0},td=Math.log,tp=Math.LN2,tm=64,th=4194304;function tg(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function tv(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,a=e.pingedLanes,i=268435455&n;if(0!==i){var l=i&~o;0!==l?r=tg(l):0!=(a&=i)&&(r=tg(a))}else 0!=(i=n&~o)?r=tg(i):0!==a&&(r=tg(a));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&o)&&((o=r&-r)>=(a=t&-t)||16===o&&0!=(4194240&a)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-tf(t)),r|=e[n],t&=~o;return r}function ty(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function tb(){var e=tm;return 0==(4194240&(tm<<=1))&&(tm=64),e}function tw(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function tk(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-tf(t)]=n}function tx(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-tf(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var tS=0;function tE(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var t_,tC,tP,tT,tL,tN=!1,tz=[],tR=null,tM=null,tO=null,tF=new Map,tI=new Map,tD=[],tj="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function tA(e,t){switch(e){case"focusin":case"focusout":tR=null;break;case"dragenter":case"dragleave":tM=null;break;case"mouseover":case"mouseout":tO=null;break;case"pointerover":case"pointerout":tF.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":tI.delete(t.pointerId)}}function tB(e,t,n,r,o,a){return null===e||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[o]},null!==t&&null!==(t=rY(t))&&tC(t)):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o)),e}function tU(e){var t=rX(e.target);if(null!==t){var n=e4(t);if(null!==n){if(13===(t=n.tag)){if(null!==(t=e6(n))){e.blockedOn=t,tL(e.priority,function(){tP(n)});return}}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=3===n.tag?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function t$(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=tJ(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=rY(n))&&tC(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);eI=r,n.target.dispatchEvent(r),eI=null,t.shift()}return!0}function tV(e,t,n){t$(e)&&n.delete(t)}function tH(){tN=!1,null!==tR&&t$(tR)&&(tR=null),null!==tM&&t$(tM)&&(tM=null),null!==tO&&t$(tO)&&(tO=null),tF.forEach(tV),tI.forEach(tV)}function tW(e,t){e.blockedOn===t&&(e.blockedOn=null,tN||(tN=!0,c.unstable_scheduleCallback(c.unstable_NormalPriority,tH)))}function tq(e){function t(t){return tW(t,e)}if(0<tz.length){tW(tz[0],e);for(var n=1;n<tz.length;n++){var r=tz[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==tR&&tW(tR,e),null!==tM&&tW(tM,e),null!==tO&&tW(tO,e),tF.forEach(t),tI.forEach(t),n=0;n<tD.length;n++)(r=tD[n]).blockedOn===e&&(r.blockedOn=null);for(;0<tD.length&&null===(n=tD[0]).blockedOn;)tU(n),null===n.blockedOn&&tD.shift()}var tQ=P.ReactCurrentBatchConfig,tX=!0;function tY(e,t,n,r){var o=tS,a=tQ.transition;tQ.transition=null;try{tS=1,tG(e,t,n,r)}finally{tS=o,tQ.transition=a}}function tK(e,t,n,r){var o=tS,a=tQ.transition;tQ.transition=null;try{tS=4,tG(e,t,n,r)}finally{tS=o,tQ.transition=a}}function tG(e,t,n,r){if(tX){var o=tJ(e,t,n,r);if(null===o)rw(e,t,r,tZ,n),tA(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return tR=tB(tR,e,t,n,r,o),!0;case"dragenter":return tM=tB(tM,e,t,n,r,o),!0;case"mouseover":return tO=tB(tO,e,t,n,r,o),!0;case"pointerover":var a=o.pointerId;return tF.set(a,tB(tF.get(a)||null,e,t,n,r,o)),!0;case"gotpointercapture":return a=o.pointerId,tI.set(a,tB(tI.get(a)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(tA(e,r),4&t&&-1<tj.indexOf(e)){for(;null!==o;){var a=rY(o);if(null!==a&&t_(a),null===(a=tJ(e,t,n,r))&&rw(e,t,r,tZ,n),a===o)break;o=a}null!==o&&r.stopPropagation()}else rw(e,t,r,null,n)}}var tZ=null;function tJ(e,t,n,r){if(tZ=null,null!==(e=rX(e=eD(r)))){if(null===(t=e4(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=e6(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}return tZ=e,null}function t0(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(tr()){case to:return 1;case ta:return 4;case ti:case tl:return 16;case tu:return 536870912;default:return 16}default:return 16}}var t1=null,t2=null,t3=null;function t4(){if(t3)return t3;var e,t,n=t2,r=n.length,o="value"in t1?t1.value:t1.textContent,a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);return t3=o.slice(e,1<t?1-t:void 0)}function t6(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}function t5(){return!0}function t8(){return!1}function t7(e){function t(t,n,r,o,a){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(o):o[i]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?t5:t8,this.isPropagationStopped=t8,this}return en(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=t5)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=t5)},persist:function(){},isPersistent:t5}),t}var t9,ne,nt,nn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},nr=t7(nn),no=en({},nn,{view:0,detail:0}),na=t7(no),ni=en({},no,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:nv,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==nt&&(nt&&"mousemove"===e.type?(t9=e.screenX-nt.screenX,ne=e.screenY-nt.screenY):ne=t9=0,nt=e),t9)},movementY:function(e){return"movementY"in e?e.movementY:ne}}),nl=t7(ni),nu=t7(en({},ni,{dataTransfer:0})),ns=t7(en({},no,{relatedTarget:0})),nc=t7(en({},nn,{animationName:0,elapsedTime:0,pseudoElement:0})),nf=t7(en({},nn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),nd=t7(en({},nn,{data:0})),np={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},nm={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"},nh={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ng(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=nh[e])&&!!t[e]}function nv(){return ng}var ny=t7(en({},no,{key:function(e){if(e.key){var t=np[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=t6(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?nm[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:nv,charCode:function(e){return"keypress"===e.type?t6(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?t6(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),nb=t7(en({},ni,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),nw=t7(en({},no,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:nv})),nk=t7(en({},nn,{propertyName:0,elapsedTime:0,pseudoElement:0})),nx=t7(en({},ni,{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:0,deltaMode:0})),nS=[9,13,27,32],nE=v&&"CompositionEvent"in window,n_=null;v&&"documentMode"in document&&(n_=document.documentMode);var nC=v&&"TextEvent"in window&&!n_,nP=v&&(!nE||n_&&8<n_&&11>=n_),nT=!1;function nL(e,t){switch(e){case"keyup":return -1!==nS.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function nN(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var nz=!1,nR={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 nM(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!nR[e.type]:"textarea"===t}function nO(e,t,n,r){e$(r),0<(t=rx(t,"onChange")).length&&(n=new nr("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var nF=null,nI=null;function nD(e){rm(e,0)}function nj(e){if(es(rK(e)))return e}function nA(e,t){if("change"===e)return t}var nB=!1;if(v){if(v){var nU="oninput"in document;if(!nU){var n$=document.createElement("div");n$.setAttribute("oninput","return;"),nU="function"==typeof n$.oninput}r=nU}else r=!1;nB=r&&(!document.documentMode||9<document.documentMode)}function nV(){nF&&(nF.detachEvent("onpropertychange",nH),nI=nF=null)}function nH(e){if("value"===e.propertyName&&nj(nI)){var t=[];nO(t,nI,e,eD(e)),eQ(nD,t)}}function nW(e,t,n){"focusin"===e?(nV(),nF=t,nI=n,nF.attachEvent("onpropertychange",nH)):"focusout"===e&&nV()}function nq(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return nj(nI)}function nQ(e,t){if("click"===e)return nj(t)}function nX(e,t){if("input"===e||"change"===e)return nj(t)}var nY="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function nK(e,t){if(nY(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++){var o=n[r];if(!y.call(t,o)||!nY(e[o],t[o]))return!1}return!0}function nG(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function nZ(e,t){var n,r=nG(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=nG(r)}}function nJ(){for(var e=window,t=ec();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(n)e=t.contentWindow;else break;t=ec(e.document)}return t}function n0(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 n1=v&&"documentMode"in document&&11>=document.documentMode,n2=null,n3=null,n4=null,n6=!1;function n5(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;n6||null==n2||n2!==ec(r)||(r="selectionStart"in(r=n2)&&n0(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},n4&&nK(n4,r)||(n4=r,0<(r=rx(n3,"onSelect")).length&&(t=new nr("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=n2)))}function n8(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var n7={animationend:n8("Animation","AnimationEnd"),animationiteration:n8("Animation","AnimationIteration"),animationstart:n8("Animation","AnimationStart"),transitionend:n8("Transition","TransitionEnd")},n9={},re={};function rt(e){if(n9[e])return n9[e];if(!n7[e])return e;var t,n=n7[e];for(t in n)if(n.hasOwnProperty(t)&&t in re)return n9[e]=n[t];return e}v&&(re=document.createElement("div").style,"AnimationEvent"in window||(delete n7.animationend.animation,delete n7.animationiteration.animation,delete n7.animationstart.animation),"TransitionEvent"in window||delete n7.transitionend.transition);var rn=rt("animationend"),rr=rt("animationiteration"),ro=rt("animationstart"),ra=rt("transitionend"),ri=new Map,rl="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function ru(e,t){ri.set(e,t),h(t,[e])}for(var rs=0;rs<rl.length;rs++){var rc=rl[rs];ru(rc.toLowerCase(),"on"+(rc[0].toUpperCase()+rc.slice(1)))}ru(rn,"onAnimationEnd"),ru(rr,"onAnimationIteration"),ru(ro,"onAnimationStart"),ru("dblclick","onDoubleClick"),ru("focusin","onFocus"),ru("focusout","onBlur"),ru(ra,"onTransitionEnd"),g("onMouseEnter",["mouseout","mouseover"]),g("onMouseLeave",["mouseout","mouseover"]),g("onPointerEnter",["pointerout","pointerover"]),g("onPointerLeave",["pointerout","pointerover"]),h("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),h("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),h("onBeforeInput",["compositionend","keypress","textInput","paste"]),h("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),h("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),h("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var rf="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),rd=new Set("cancel close invalid load scroll toggle".split(" ").concat(rf));function rp(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,i,l,u){if(e3.apply(this,arguments),eZ){if(eZ){var s=eJ;eZ=!1,eJ=null}else throw Error(f(198));e0||(e0=!0,e1=s)}}(r,t,void 0,e),e.currentTarget=null}function rm(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var i=r.length-1;0<=i;i--){var l=r[i],u=l.instance,s=l.currentTarget;if(l=l.listener,u!==a&&o.isPropagationStopped())break e;rp(o,l,s),a=u}else for(i=0;i<r.length;i++){if(u=(l=r[i]).instance,s=l.currentTarget,l=l.listener,u!==a&&o.isPropagationStopped())break e;rp(o,l,s),a=u}}}if(e0)throw e=e1,e0=!1,e1=null,e}function rh(e,t){var n=t[rW];void 0===n&&(n=t[rW]=new Set);var r=e+"__bubble";n.has(r)||(rb(t,e,2,!1),n.add(r))}function rg(e,t,n){var r=0;t&&(r|=4),rb(n,e,r,t)}var rv="_reactListening"+Math.random().toString(36).slice(2);function ry(e){if(!e[rv]){e[rv]=!0,d.forEach(function(t){"selectionchange"!==t&&(rd.has(t)||rg(t,!1,e),rg(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[rv]||(t[rv]=!0,rg("selectionchange",!1,t))}}function rb(e,t,n,r){switch(t0(t)){case 1:var o=tY;break;case 4:o=tK;break;default:o=tG}n=o.bind(null,t,n,e),o=void 0,eY&&("touchstart"===t||"touchmove"===t||"wheel"===t)&&(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function rw(e,t,n,r,o){var a=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var l=r.stateNode.containerInfo;if(l===o||8===l.nodeType&&l.parentNode===o)break;if(4===i)for(i=r.return;null!==i;){var u=i.tag;if((3===u||4===u)&&((u=i.stateNode.containerInfo)===o||8===u.nodeType&&u.parentNode===o))return;i=i.return}for(;null!==l;){if(null===(i=rX(l)))return;if(5===(u=i.tag)||6===u){r=a=i;continue e}l=l.parentNode}}r=r.return}eQ(function(){var r=a,o=eD(n),i=[];e:{var l=ri.get(e);if(void 0!==l){var u=nr,s=e;switch(e){case"keypress":if(0===t6(n))break e;case"keydown":case"keyup":u=ny;break;case"focusin":s="focus",u=ns;break;case"focusout":s="blur",u=ns;break;case"beforeblur":case"afterblur":u=ns;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":u=nl;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=nu;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=nw;break;case rn:case rr:case ro:u=nc;break;case ra:u=nk;break;case"scroll":u=na;break;case"wheel":u=nx;break;case"copy":case"cut":case"paste":u=nf;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=nb}var c=0!=(4&t),f=!c&&"scroll"===e,d=c?null!==l?l+"Capture":null:l;c=[];for(var p,m=r;null!==m;){var h=(p=m).stateNode;if(5===p.tag&&null!==h&&(p=h,null!==d&&null!=(h=eX(m,d))&&c.push(rk(m,h,p))),f)break;m=m.return}0<c.length&&(l=new u(l,s,null,n,o),i.push({event:l,listeners:c}))}}if(0==(7&t)){if(l="mouseover"===e||"pointerover"===e,u="mouseout"===e||"pointerout"===e,!(l&&n!==eI&&(s=n.relatedTarget||n.fromElement)&&(rX(s)||s[rH]))&&(u||l)&&(l=o.window===o?o:(l=o.ownerDocument)?l.defaultView||l.parentWindow:window,u?(s=n.relatedTarget||n.toElement,u=r,null!==(s=s?rX(s):null)&&(f=e4(s),s!==f||5!==s.tag&&6!==s.tag)&&(s=null)):(u=null,s=r),u!==s)){if(c=nl,h="onMouseLeave",d="onMouseEnter",m="mouse",("pointerout"===e||"pointerover"===e)&&(c=nb,h="onPointerLeave",d="onPointerEnter",m="pointer"),f=null==u?l:rK(u),p=null==s?l:rK(s),(l=new c(h,m+"leave",u,n,o)).target=f,l.relatedTarget=p,h=null,rX(o)===r&&((c=new c(d,m+"enter",s,n,o)).target=p,c.relatedTarget=f,h=c),f=h,u&&s)t:{for(c=u,d=s,m=0,p=c;p;p=rS(p))m++;for(p=0,h=d;h;h=rS(h))p++;for(;0<m-p;)c=rS(c),m--;for(;0<p-m;)d=rS(d),p--;for(;m--;){if(c===d||null!==d&&c===d.alternate)break t;c=rS(c),d=rS(d)}c=null}else c=null;null!==u&&rE(i,l,u,c,!1),null!==s&&null!==f&&rE(i,f,s,c,!0)}e:{if("select"===(u=(l=r?rK(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===u&&"file"===l.type)var g,v=nA;else if(nM(l)){if(nB)v=nX;else{v=nq;var y=nW}}else(u=l.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(v=nQ);if(v&&(v=v(e,r))){nO(i,v,n,o);break e}y&&y(e,l,r),"focusout"===e&&(y=l._wrapperState)&&y.controlled&&"number"===l.type&&eg(l,"number",l.value)}switch(y=r?rK(r):window,e){case"focusin":(nM(y)||"true"===y.contentEditable)&&(n2=y,n3=r,n4=null);break;case"focusout":n4=n3=n2=null;break;case"mousedown":n6=!0;break;case"contextmenu":case"mouseup":case"dragend":n6=!1,n5(i,n,o);break;case"selectionchange":if(n1)break;case"keydown":case"keyup":n5(i,n,o)}if(nE)t:{switch(e){case"compositionstart":var b="onCompositionStart";break t;case"compositionend":b="onCompositionEnd";break t;case"compositionupdate":b="onCompositionUpdate";break t}b=void 0}else nz?nL(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(nP&&"ko"!==n.locale&&(nz||"onCompositionStart"!==b?"onCompositionEnd"===b&&nz&&(g=t4()):(t2="value"in(t1=o)?t1.value:t1.textContent,nz=!0)),0<(y=rx(r,b)).length&&(b=new nd(b,e,null,n,o),i.push({event:b,listeners:y}),g?b.data=g:null!==(g=nN(n))&&(b.data=g))),(g=nC?function(e,t){switch(e){case"compositionend":return nN(t);case"keypress":if(32!==t.which)return null;return nT=!0," ";case"textInput":return" "===(e=t.data)&&nT?null:e;default:return null}}(e,n):function(e,t){if(nz)return"compositionend"===e||!nE&&nL(e,t)?(e=t4(),t3=t2=t1=null,nz=!1,e):null;switch(e){case"paste":default: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 nP&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(r=rx(r,"onBeforeInput")).length&&(o=new nd("onBeforeInput","beforeinput",null,n,o),i.push({event:o,listeners:r}),o.data=g)}rm(i,t)})}function rk(e,t,n){return{instance:e,listener:t,currentTarget:n}}function rx(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,a=o.stateNode;5===o.tag&&null!==a&&(o=a,null!=(a=eX(e,n))&&r.unshift(rk(e,a,o)),null!=(a=eX(e,t))&&r.push(rk(e,a,o))),e=e.return}return r}function rS(e){if(null===e)return null;do e=e.return;while(e&&5!==e.tag)return e||null}function rE(e,t,n,r,o){for(var a=t._reactName,i=[];null!==n&&n!==r;){var l=n,u=l.alternate,s=l.stateNode;if(null!==u&&u===r)break;5===l.tag&&null!==s&&(l=s,o?null!=(u=eX(n,a))&&i.unshift(rk(n,u,l)):o||null!=(u=eX(n,a))&&i.push(rk(n,u,l))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var r_=/\r\n?/g,rC=/\u0000|\uFFFD/g;function rP(e){return("string"==typeof e?e:""+e).replace(r_,"\n").replace(rC,"")}function rT(e,t,n){if(t=rP(t),rP(e)!==t&&n)throw Error(f(425))}function rL(){}var rN=null,rz=null;function rR(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var rM="function"==typeof setTimeout?setTimeout:void 0,rO="function"==typeof clearTimeout?clearTimeout:void 0,rF="function"==typeof Promise?Promise:void 0,rI="function"==typeof queueMicrotask?queueMicrotask:void 0!==rF?function(e){return rF.resolve(null).then(e).catch(rD)}:rM;function rD(e){setTimeout(function(){throw e})}function rj(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType){if("/$"===(n=o.data)){if(0===r){e.removeChild(o),tq(t);return}r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++}n=o}while(n)tq(t)}function rA(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function rB(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 rU=Math.random().toString(36).slice(2),r$="__reactFiber$"+rU,rV="__reactProps$"+rU,rH="__reactContainer$"+rU,rW="__reactEvents$"+rU,rq="__reactListeners$"+rU,rQ="__reactHandles$"+rU;function rX(e){var t=e[r$];if(t)return t;for(var n=e.parentNode;n;){if(t=n[rH]||n[r$]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=rB(e);null!==e;){if(n=e[r$])return n;e=rB(e)}return t}n=(e=n).parentNode}return null}function rY(e){return(e=e[r$]||e[rH])&&(5===e.tag||6===e.tag||13===e.tag||3===e.tag)?e:null}function rK(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(f(33))}function rG(e){return e[rV]||null}var rZ=[],rJ=-1;function r0(e){return{current:e}}function r1(e){0>rJ||(e.current=rZ[rJ],rZ[rJ]=null,rJ--)}function r2(e,t){rZ[++rJ]=e.current,e.current=t}var r3={},r4=r0(r3),r6=r0(!1),r5=r3;function r8(e,t){var n=e.type.contextTypes;if(!n)return r3;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,a={};for(o in n)a[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function r7(e){return null!=(e=e.childContextTypes)}function r9(){r1(r6),r1(r4)}function oe(e,t,n){if(r4.current!==r3)throw Error(f(168));r2(r4,t),r2(r6,n)}function ot(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(f(108,function(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return function e(t){if(null==t)return null;if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t;switch(t){case N:return"Fragment";case L:return"Portal";case R:return"Profiler";case z:return"StrictMode";case I:return"Suspense";case D:return"SuspenseList"}if("object"==typeof t)switch(t.$$typeof){case O:return(t.displayName||"Context")+".Consumer";case M:return(t._context.displayName||"Context")+".Provider";case F:var n=t.render;return(t=t.displayName)||(t=""!==(t=n.displayName||n.name||"")?"ForwardRef("+t+")":"ForwardRef"),t;case j:return null!==(n=t.displayName||null)?n:e(t.type)||"Memo";case A:n=t._payload,t=t._init;try{return e(t(n))}catch(e){}}return null}(t);case 8:return t===z?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}(e)||"Unknown",o));return en({},n,r)}function on(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||r3,r5=r4.current,r2(r4,e),r2(r6,r6.current),!0}function or(e,t,n){var r=e.stateNode;if(!r)throw Error(f(169));n?(e=ot(e,t,r5),r.__reactInternalMemoizedMergedChildContext=e,r1(r6),r1(r4),r2(r4,e)):r1(r6),r2(r6,n)}var oo=null,oa=!1,oi=!1;function ol(){if(!oi&&null!==oo){oi=!0;var e=0,t=tS;try{var n=oo;for(tS=1;e<n.length;e++){var r=n[e];do r=r(!0);while(null!==r)}oo=null,oa=!1}catch(t){throw null!==oo&&(oo=oo.slice(e+1)),e7(to,ol),t}finally{tS=t,oi=!1}}return null}var ou=[],os=0,oc=null,of=0,od=[],op=0,om=null,oh=1,og="";function ov(e,t){ou[os++]=of,ou[os++]=oc,oc=e,of=t}function oy(e,t,n){od[op++]=oh,od[op++]=og,od[op++]=om,om=e;var r=oh;e=og;var o=32-tf(r)-1;r&=~(1<<o),n+=1;var a=32-tf(t)+o;if(30<a){var i=o-o%5;a=(r&(1<<i)-1).toString(32),r>>=i,o-=i,oh=1<<32-tf(t)+o|n<<o|r,og=a+e}else oh=1<<a|n<<o|r,og=e}function ob(e){null!==e.return&&(ov(e,1),oy(e,1,0))}function ow(e){for(;e===oc;)oc=ou[--os],ou[os]=null,of=ou[--os],ou[os]=null;for(;e===om;)om=od[--op],od[op]=null,og=od[--op],od[op]=null,oh=od[--op],od[op]=null}var ok=null,ox=null,oS=!1,oE=null;function o_(e,t){var n=l8(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function oC(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,ok=e,ox=rA(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ok=e,ox=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==om?{id:oh,overflow:og}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=l8(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ok=e,ox=null,!0);default:return!1}}function oP(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function oT(e){if(oS){var t=ox;if(t){var n=t;if(!oC(e,t)){if(oP(e))throw Error(f(418));t=rA(n.nextSibling);var r=ok;t&&oC(e,t)?o_(r,n):(e.flags=-4097&e.flags|2,oS=!1,ok=e)}}else{if(oP(e))throw Error(f(418));e.flags=-4097&e.flags|2,oS=!1,ok=e}}}function oL(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ok=e}function oN(e){if(e!==ok)return!1;if(!oS)return oL(e),oS=!0,!1;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!rR(e.type,e.memoizedProps)),t&&(t=ox)){if(oP(e))throw oz(),Error(f(418));for(;t;)o_(e,t),t=rA(t.nextSibling)}if(oL(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(f(317));e:{for(t=0,e=e.nextSibling;e;){if(8===e.nodeType){var t,n=e.data;if("/$"===n){if(0===t){ox=rA(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ox=null}}else ox=ok?rA(e.stateNode.nextSibling):null;return!0}function oz(){for(var e=ox;e;)e=rA(e.nextSibling)}function oR(){ox=ok=null,oS=!1}function oM(e){null===oE?oE=[e]:oE.push(e)}var oO=P.ReactCurrentBatchConfig;function oF(e,t){if(e&&e.defaultProps)for(var n in t=en({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var oI=r0(null),oD=null,oj=null,oA=null;function oB(){oA=oj=oD=null}function oU(e){var t=oI.current;r1(oI),e._currentValue=t}function o$(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function oV(e,t){oD=e,oA=oj=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(iw=!0),e.firstContext=null)}function oH(e){var t=e._currentValue;if(oA!==e){if(e={context:e,memoizedValue:t,next:null},null===oj){if(null===oD)throw Error(f(308));oj=e,oD.dependencies={lanes:0,firstContext:e}}else oj=oj.next=e}return t}var oW=null;function oq(e){null===oW?oW=[e]:oW.push(e)}function oQ(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,oq(t)):(n.next=o.next,o.next=n),t.interleaved=n,oX(e,r)}function oX(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var oY=!1;function oK(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function oG(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function oZ(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function oJ(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&ll)){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,oX(e,n)}return null===(o=r.interleaved)?(t.next=t,oq(r)):(t.next=o.next,o.next=t),r.interleaved=t,oX(e,n)}function o0(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,tx(e,n)}}function o1(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===a?o=a=i:a=a.next=i,n=n.next}while(null!==n)null===a?o=a=t:a=a.next=t}else o=a=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:r.shared,effects:r.effects},e.updateQueue=n;return}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function o2(e,t,n,r){var o=e.updateQueue;oY=!1;var a=o.firstBaseUpdate,i=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var u=l,s=u.next;u.next=null,null===i?a=s:i.next=s,i=u;var c=e.alternate;null!==c&&(l=(c=c.updateQueue).lastBaseUpdate)!==i&&(null===l?c.firstBaseUpdate=s:l.next=s,c.lastBaseUpdate=u)}if(null!==a){var f=o.baseState;for(i=0,c=s=u=null,l=a;;){var d=l.lane,p=l.eventTime;if((r&d)===d){null!==c&&(c=c.next={eventTime:p,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var m=e,h=l;switch(d=t,p=n,h.tag){case 1:if("function"==typeof(m=h.payload)){f=m.call(p,f,d);break e}f=m;break e;case 3:m.flags=-65537&m.flags|128;case 0:if(null==(d="function"==typeof(m=h.payload)?m.call(p,f,d):m))break e;f=en({},f,d);break e;case 2:oY=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(d=o.effects)?o.effects=[l]:d.push(l))}else p={eventTime:p,lane:d,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===c?(s=c=p,u=f):c=c.next=p,i|=d;if(null===(l=l.next)){if(null===(l=o.shared.pending))break;l=(d=l).next,d.next=null,o.lastBaseUpdate=d,o.shared.pending=null}}if(null===c&&(u=f),o.baseState=u,o.firstBaseUpdate=s,o.lastBaseUpdate=c,null!==(t=o.shared.interleaved)){o=t;do i|=o.lane,o=o.next;while(o!==t)}else null===a&&(o.shared.lanes=0);lh|=i,e.lanes=i,e.memoizedState=f}}function o3(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(f(191,o));o.call(r)}}}var o4=(new s.Component).refs;function o6(e,t,n,r){t=e.memoizedState,n=null==(n=n(r,t))?t:en({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var o5={isMounted:function(e){return!!(e=e._reactInternals)&&e4(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=lM(),o=lO(e),a=oZ(r,o);a.payload=t,null!=n&&(a.callback=n),null!==(t=oJ(e,a,o))&&(lF(t,e,o,r),o0(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=lM(),o=lO(e),a=oZ(r,o);a.tag=1,a.payload=t,null!=n&&(a.callback=n),null!==(t=oJ(e,a,o))&&(lF(t,e,o,r),o0(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=lM(),r=lO(e),o=oZ(n,r);o.tag=2,null!=t&&(o.callback=t),null!==(t=oJ(e,o,r))&&(lF(t,e,r,n),o0(t,e,r))}};function o8(e,t,n,r,o,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,i):!t.prototype||!t.prototype.isPureReactComponent||!nK(n,r)||!nK(o,a)}function o7(e,t,n){var r=!1,o=r3,a=t.contextType;return"object"==typeof a&&null!==a?a=oH(a):(o=r7(t)?r5:r4.current,a=(r=null!=(r=t.contextTypes))?r8(e,o):r3),t=new t(n,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=o5,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function o9(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&&o5.enqueueReplaceState(t,t.state,null)}function ae(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=o4,oK(e);var a=t.contextType;"object"==typeof a&&null!==a?o.context=oH(a):(a=r7(t)?r5:r4.current,o.context=r8(e,a)),o.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&(o6(e,t,a,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&&o5.enqueueReplaceState(o,o.state,null),o2(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function at(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(f(309));var r=n.stateNode}if(!r)throw Error(f(147,e));var o=r,a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:((t=function(e){var t=o.refs;t===o4&&(t=o.refs={}),null===e?delete t[a]:t[a]=e})._stringRef=a,t)}if("string"!=typeof e)throw Error(f(284));if(!n._owner)throw Error(f(290,e))}return e}function an(e,t){throw Error(f(31,"[object Object]"===(e=Object.prototype.toString.call(t))?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function ar(e){return(0,e._init)(e._payload)}function ao(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}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){return(e=l9(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return(t.index=r,e)?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function i(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?(t=ur(n,e.mode,r)).return=e:(t=o(t,n)).return=e,t}function u(e,t,n,r){var a=n.type;return a===N?c(e,t,n.props.children,r,n.key):(null!==t&&(t.elementType===a||"object"==typeof a&&null!==a&&a.$$typeof===A&&ar(a)===t.type)?(r=o(t,n.props)).ref=at(e,t,n):(r=ue(n.type,n.key,n.props,null,e.mode,r)).ref=at(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=uo(n,e.mode,r)).return=e:(t=o(t,n.children||[])).return=e,t}function c(e,t,n,r,a){return null===t||7!==t.tag?(t=ut(n,e.mode,r,a)).return=e:(t=o(t,n)).return=e,t}function d(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=ur(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case T:return(n=ue(t.type,t.key,t.props,null,e.mode,n)).ref=at(e,null,t),n.return=e,n;case L:return(t=uo(t,e.mode,n)).return=e,t;case A:var r=t._init;return d(e,r(t._payload),n)}if(ev(t)||$(t))return(t=ut(t,e.mode,n,null)).return=e,t;an(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case T:return n.key===o?u(e,t,n,r):null;case L:return n.key===o?s(e,t,n,r):null;case A:return p(e,t,(o=n._init)(n._payload),r)}if(ev(n)||$(n))return null!==o?null:c(e,t,n,r,null);an(e,n)}return null}function m(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case T:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case L:return s(t,e=e.get(null===r.key?n:r.key)||null,r,o);case A:return m(e,t,n,(0,r._init)(r._payload),o)}if(ev(r)||$(r))return c(t,e=e.get(n)||null,r,o,null);an(t,r)}return null}return function l(u,s,c,h){if("object"==typeof c&&null!==c&&c.type===N&&null===c.key&&(c=c.props.children),"object"==typeof c&&null!==c){switch(c.$$typeof){case T:e:{for(var g=c.key,v=s;null!==v;){if(v.key===g){if((g=c.type)===N){if(7===v.tag){n(u,v.sibling),(s=o(v,c.props.children)).return=u,u=s;break e}}else if(v.elementType===g||"object"==typeof g&&null!==g&&g.$$typeof===A&&ar(g)===v.type){n(u,v.sibling),(s=o(v,c.props)).ref=at(u,v,c),s.return=u,u=s;break e}n(u,v);break}t(u,v),v=v.sibling}c.type===N?((s=ut(c.props.children,u.mode,h,c.key)).return=u,u=s):((h=ue(c.type,c.key,c.props,null,u.mode,h)).ref=at(u,s,c),h.return=u,u=h)}return i(u);case L:e:{for(v=c.key;null!==s;){if(s.key===v){if(4===s.tag&&s.stateNode.containerInfo===c.containerInfo&&s.stateNode.implementation===c.implementation){n(u,s.sibling),(s=o(s,c.children||[])).return=u,u=s;break e}n(u,s);break}t(u,s),s=s.sibling}(s=uo(c,u.mode,h)).return=u,u=s}return i(u);case A:return l(u,s,(v=c._init)(c._payload),h)}if(ev(c))return function(o,i,l,u){for(var s=null,c=null,f=i,h=i=0,g=null;null!==f&&h<l.length;h++){f.index>h?(g=f,f=null):g=f.sibling;var v=p(o,f,l[h],u);if(null===v){null===f&&(f=g);break}e&&f&&null===v.alternate&&t(o,f),i=a(v,i,h),null===c?s=v:c.sibling=v,c=v,f=g}if(h===l.length)return n(o,f),oS&&ov(o,h),s;if(null===f){for(;h<l.length;h++)null!==(f=d(o,l[h],u))&&(i=a(f,i,h),null===c?s=f:c.sibling=f,c=f);return oS&&ov(o,h),s}for(f=r(o,f);h<l.length;h++)null!==(g=m(f,o,h,l[h],u))&&(e&&null!==g.alternate&&f.delete(null===g.key?h:g.key),i=a(g,i,h),null===c?s=g:c.sibling=g,c=g);return e&&f.forEach(function(e){return t(o,e)}),oS&&ov(o,h),s}(u,s,c,h);if($(c))return function(o,i,l,u){var s=$(l);if("function"!=typeof s)throw Error(f(150));if(null==(l=s.call(l)))throw Error(f(151));for(var c=s=null,h=i,g=i=0,v=null,y=l.next();null!==h&&!y.done;g++,y=l.next()){h.index>g?(v=h,h=null):v=h.sibling;var b=p(o,h,y.value,u);if(null===b){null===h&&(h=v);break}e&&h&&null===b.alternate&&t(o,h),i=a(b,i,g),null===c?s=b:c.sibling=b,c=b,h=v}if(y.done)return n(o,h),oS&&ov(o,g),s;if(null===h){for(;!y.done;g++,y=l.next())null!==(y=d(o,y.value,u))&&(i=a(y,i,g),null===c?s=y:c.sibling=y,c=y);return oS&&ov(o,g),s}for(h=r(o,h);!y.done;g++,y=l.next())null!==(y=m(h,o,g,y.value,u))&&(e&&null!==y.alternate&&h.delete(null===y.key?g:y.key),i=a(y,i,g),null===c?s=y:c.sibling=y,c=y);return e&&h.forEach(function(e){return t(o,e)}),oS&&ov(o,g),s}(u,s,c,h);an(u,c)}return"string"==typeof c&&""!==c||"number"==typeof c?(c=""+c,null!==s&&6===s.tag?(n(u,s.sibling),(s=o(s,c)).return=u):(n(u,s),(s=ur(c,u.mode,h)).return=u),i(u=s)):n(u,s)}}var aa=ao(!0),ai=ao(!1),al={},au=r0(al),as=r0(al),ac=r0(al);function af(e){if(e===al)throw Error(f(174));return e}function ad(e,t){switch(r2(ac,t),r2(as,e),r2(au,al),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:eE(null,"");break;default:t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName,t=eE(t,e)}r1(au),r2(au,t)}function ap(){r1(au),r1(as),r1(ac)}function am(e){af(ac.current);var t=af(au.current),n=eE(t,e.type);t!==n&&(r2(as,e),r2(au,n))}function ah(e){as.current===e&&(r1(au),r1(as))}var ag=r0(0);function av(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!=(128&t.flags))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}var ay=[];function ab(){for(var e=0;e<ay.length;e++)ay[e]._workInProgressVersionPrimary=null;ay.length=0}var aw=P.ReactCurrentDispatcher,ak=P.ReactCurrentBatchConfig,ax=0,aS=null,aE=null,a_=null,aC=!1,aP=!1,aT=0,aL=0;function aN(){throw Error(f(321))}function az(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!nY(e[n],t[n]))return!1;return!0}function aR(e,t,n,r,o,a){if(ax=a,aS=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,aw.current=null===e||null===e.memoizedState?ii:il,e=n(r,o),aP){a=0;do{if(aP=!1,aT=0,25<=a)throw Error(f(301));a+=1,a_=aE=null,t.updateQueue=null,aw.current=iu,e=n(r,o)}while(aP)}if(aw.current=ia,t=null!==aE&&null!==aE.next,ax=0,a_=aE=aS=null,aC=!1,t)throw Error(f(300));return e}function aM(){var e=0!==aT;return aT=0,e}function aO(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===a_?aS.memoizedState=a_=e:a_=a_.next=e,a_}function aF(){if(null===aE){var e=aS.alternate;e=null!==e?e.memoizedState:null}else e=aE.next;var t=null===a_?aS.memoizedState:a_.next;if(null!==t)a_=t,aE=e;else{if(null===e)throw Error(f(310));e={memoizedState:(aE=e).memoizedState,baseState:aE.baseState,baseQueue:aE.baseQueue,queue:aE.queue,next:null},null===a_?aS.memoizedState=a_=e:a_=a_.next=e}return a_}function aI(e,t){return"function"==typeof t?t(e):t}function aD(e){var t=aF(),n=t.queue;if(null===n)throw Error(f(311));n.lastRenderedReducer=e;var r=aE,o=r.baseQueue,a=n.pending;if(null!==a){if(null!==o){var i=o.next;o.next=a.next,a.next=i}r.baseQueue=o=a,n.pending=null}if(null!==o){a=o.next,r=r.baseState;var l=i=null,u=null,s=a;do{var c=s.lane;if((ax&c)===c)null!==u&&(u=u.next={lane:0,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null}),r=s.hasEagerState?s.eagerState:e(r,s.action);else{var d={lane:c,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null};null===u?(l=u=d,i=r):u=u.next=d,aS.lanes|=c,lh|=c}s=s.next}while(null!==s&&s!==a)null===u?i=r:u.next=l,nY(r,t.memoizedState)||(iw=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=u,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do a=o.lane,aS.lanes|=a,lh|=a,o=o.next;while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function aj(e){var t=aF(),n=t.queue;if(null===n)throw Error(f(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var i=o=o.next;do a=e(a,i.action),i=i.next;while(i!==o)nY(a,t.memoizedState)||(iw=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function aA(){}function aB(e,t){var n=aS,r=aF(),o=t(),a=!nY(r.memoizedState,o);if(a&&(r.memoizedState=o,iw=!0),r=r.queue,aZ(aV.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==a_&&1&a_.memoizedState.tag){if(n.flags|=2048,aQ(9,a$.bind(null,n,r,o,t),void 0,null),null===lu)throw Error(f(349));0!=(30&ax)||aU(n,t,o)}return o}function aU(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=aS.updateQueue)?(t={lastEffect:null,stores:null},aS.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function a$(e,t,n,r){t.value=n,t.getSnapshot=r,aH(t)&&aW(e)}function aV(e,t,n){return n(function(){aH(t)&&aW(e)})}function aH(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!nY(e,n)}catch(e){return!0}}function aW(e){var t=oX(e,1);null!==t&&lF(t,e,1,-1)}function aq(e){var t=aO();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:aI,lastRenderedState:e},t.queue=e,e=e.dispatch=ie.bind(null,aS,e),[t.memoizedState,e]}function aQ(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=aS.updateQueue)?(t={lastEffect:null,stores:null},aS.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function aX(){return aF().memoizedState}function aY(e,t,n,r){var o=aO();aS.flags|=e,o.memoizedState=aQ(1|t,n,void 0,void 0===r?null:r)}function aK(e,t,n,r){var o=aF();r=void 0===r?null:r;var a=void 0;if(null!==aE){var i=aE.memoizedState;if(a=i.destroy,null!==r&&az(r,i.deps)){o.memoizedState=aQ(t,n,a,r);return}}aS.flags|=e,o.memoizedState=aQ(1|t,n,a,r)}function aG(e,t){return aY(8390656,8,e,t)}function aZ(e,t){return aK(2048,8,e,t)}function aJ(e,t){return aK(4,2,e,t)}function a0(e,t){return aK(4,4,e,t)}function a1(e,t){return"function"==typeof t?(t(e=e()),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function a2(e,t,n){return n=null!=n?n.concat([e]):null,aK(4,4,a1.bind(null,t,e),n)}function a3(){}function a4(e,t){var n=aF();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&az(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function a6(e,t){var n=aF();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&az(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function a5(e,t,n){return 0==(21&ax)?(e.baseState&&(e.baseState=!1,iw=!0),e.memoizedState=n):(nY(n,t)||(n=tb(),aS.lanes|=n,lh|=n,e.baseState=!0),t)}function a8(e,t){var n=tS;tS=0!==n&&4>n?n:4,e(!0);var r=ak.transition;ak.transition={};try{e(!1),t()}finally{tS=n,ak.transition=r}}function a7(){return aF().memoizedState}function a9(e,t,n){var r=lO(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},it(e)?ir(t,n):null!==(n=oQ(e,t,n,r))&&(lF(n,e,r,lM()),io(n,t,r))}function ie(e,t,n){var r=lO(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(it(e))ir(t,o);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var i=t.lastRenderedState,l=a(i,n);if(o.hasEagerState=!0,o.eagerState=l,nY(l,i)){var u=t.interleaved;null===u?(o.next=o,oq(t)):(o.next=u.next,u.next=o),t.interleaved=o;return}}catch(e){}finally{}null!==(n=oQ(e,t,o,r))&&(lF(n,e,r,o=lM()),io(n,t,r))}}function it(e){var t=e.alternate;return e===aS||null!==t&&t===aS}function ir(e,t){aP=aC=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function io(e,t,n){if(0!=(4194240&n)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,tx(e,n)}}var ia={readContext:oH,useCallback:aN,useContext:aN,useEffect:aN,useImperativeHandle:aN,useInsertionEffect:aN,useLayoutEffect:aN,useMemo:aN,useReducer:aN,useRef:aN,useState:aN,useDebugValue:aN,useDeferredValue:aN,useTransition:aN,useMutableSource:aN,useSyncExternalStore:aN,useId:aN,unstable_isNewReconciler:!1},ii={readContext:oH,useCallback:function(e,t){return aO().memoizedState=[e,void 0===t?null:t],e},useContext:oH,useEffect:aG,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,aY(4194308,4,a1.bind(null,t,e),n)},useLayoutEffect:function(e,t){return aY(4194308,4,e,t)},useInsertionEffect:function(e,t){return aY(4,2,e,t)},useMemo:function(e,t){var n=aO();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=aO();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=a9.bind(null,aS,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},aO().memoizedState=e},useState:aq,useDebugValue:a3,useDeferredValue:function(e){return aO().memoizedState=e},useTransition:function(){var e=aq(!1),t=e[0];return e=a8.bind(null,e[1]),aO().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=aS,o=aO();if(oS){if(void 0===n)throw Error(f(407));n=n()}else{if(n=t(),null===lu)throw Error(f(349));0!=(30&ax)||aU(r,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,aG(aV.bind(null,r,a,e),[e]),r.flags|=2048,aQ(9,a$.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=aO(),t=lu.identifierPrefix;if(oS){var n=og,r=oh;t=":"+t+"R"+(n=(r&~(1<<32-tf(r)-1)).toString(32)+n),0<(n=aT++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=aL++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},il={readContext:oH,useCallback:a4,useContext:oH,useEffect:aZ,useImperativeHandle:a2,useInsertionEffect:aJ,useLayoutEffect:a0,useMemo:a6,useReducer:aD,useRef:aX,useState:function(){return aD(aI)},useDebugValue:a3,useDeferredValue:function(e){return a5(aF(),aE.memoizedState,e)},useTransition:function(){return[aD(aI)[0],aF().memoizedState]},useMutableSource:aA,useSyncExternalStore:aB,useId:a7,unstable_isNewReconciler:!1},iu={readContext:oH,useCallback:a4,useContext:oH,useEffect:aZ,useImperativeHandle:a2,useInsertionEffect:aJ,useLayoutEffect:a0,useMemo:a6,useReducer:aj,useRef:aX,useState:function(){return aj(aI)},useDebugValue:a3,useDeferredValue:function(e){var t=aF();return null===aE?t.memoizedState=e:a5(t,aE.memoizedState,e)},useTransition:function(){return[aj(aI)[0],aF().memoizedState]},useMutableSource:aA,useSyncExternalStore:aB,useId:a7,unstable_isNewReconciler:!1};function is(e,t){try{var n="",r=t;do n+=function(e){switch(e.tag){case 5:return er(e.type);case 16:return er("Lazy");case 13:return er("Suspense");case 19:return er("SuspenseList");case 0:case 2:case 15:return e=ea(e.type,!1);case 11:return e=ea(e.type.render,!1);case 1:return e=ea(e.type,!0);default:return""}}(r),r=r.return;while(r)var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o,digest:null}}function ic(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function id(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}var ip="function"==typeof WeakMap?WeakMap:Map;function im(e,t,n){(n=oZ(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){lS||(lS=!0,lE=r),id(e,t)},n}function ih(e,t,n){(n=oZ(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){id(e,t)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(n.callback=function(){id(e,t),"function"!=typeof r&&(null===l_?l_=new Set([this]):l_.add(this));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}function ig(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new ip;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=l2.bind(null,e,t,n),t.then(e,e))}function iv(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e)return null}function iy(e,t,n,r,o){return 0==(1&e.mode)?e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=oZ(-1,1)).tag=2,oJ(n,t,1))),n.lanes|=1):(e.flags|=65536,e.lanes=o),e}var ib=P.ReactCurrentOwner,iw=!1;function ik(e,t,n,r){t.child=null===e?ai(t,null,n,r):aa(t,e.child,n,r)}function ix(e,t,n,r,o){n=n.render;var a=t.ref;return(oV(t,o),r=aR(e,t,n,r,a,o),n=aM(),null===e||iw)?(oS&&n&&ob(t),t.flags|=1,ik(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,iU(e,t,o))}function iS(e,t,n,r,o){if(null===e){var a=n.type;return"function"!=typeof a||l7(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=ue(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,iE(e,t,a,r,o))}if(a=e.child,0==(e.lanes&o)){var i=a.memoizedProps;if((n=null!==(n=n.compare)?n:nK)(i,r)&&e.ref===t.ref)return iU(e,t,o)}return t.flags|=1,(e=l9(a,r)).ref=t.ref,e.return=t,t.child=e}function iE(e,t,n,r,o){if(null!==e){var a=e.memoizedProps;if(nK(a,r)&&e.ref===t.ref){if(iw=!1,t.pendingProps=r=a,0==(e.lanes&o))return t.lanes=e.lanes,iU(e,t,o);0!=(131072&e.flags)&&(iw=!0)}}return iP(e,t,n,r,o)}function i_(e,t,n){var r=t.pendingProps,o=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode){if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r2(ld,lf),lf|=n;else{if(0==(1073741824&n))return e=null!==a?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,r2(ld,lf),lf|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==a?a.baseLanes:n,r2(ld,lf),lf|=r}}else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,r2(ld,lf),lf|=r;return ik(e,t,o,n),t.child}function iC(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function iP(e,t,n,r,o){var a=r7(n)?r5:r4.current;return(a=r8(t,a),oV(t,o),n=aR(e,t,n,r,a,o),r=aM(),null===e||iw)?(oS&&r&&ob(t),t.flags|=1,ik(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,iU(e,t,o))}function iT(e,t,n,r,o){if(r7(n)){var a=!0;on(t)}else a=!1;if(oV(t,o),null===t.stateNode)iB(e,t),o7(t,n,r),ae(t,n,r,o),r=!0;else if(null===e){var i=t.stateNode,l=t.memoizedProps;i.props=l;var u=i.context,s=n.contextType;s="object"==typeof s&&null!==s?oH(s):r8(t,s=r7(n)?r5:r4.current);var c=n.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof i.getSnapshotBeforeUpdate;f||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==r||u!==s)&&o9(t,i,r,s),oY=!1;var d=t.memoizedState;i.state=d,o2(t,r,i,o),u=t.memoizedState,l!==r||d!==u||r6.current||oY?("function"==typeof c&&(o6(t,n,c,r),u=t.memoizedState),(l=oY||o8(t,n,l,r,d,u,s))?(f||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),i.props=r,i.state=u,i.context=s,r=l):("function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,oG(e,t),l=t.memoizedProps,s=t.type===t.elementType?l:oF(t.type,l),i.props=s,f=t.pendingProps,d=i.context,u="object"==typeof(u=n.contextType)&&null!==u?oH(u):r8(t,u=r7(n)?r5:r4.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==f||d!==u)&&o9(t,i,r,u),oY=!1,d=t.memoizedState,i.state=d,o2(t,r,i,o);var m=t.memoizedState;l!==f||d!==m||r6.current||oY?("function"==typeof p&&(o6(t,n,p,r),m=t.memoizedState),(s=oY||o8(t,n,s,r,d,m,u)||!1)?(c||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,m,u),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,m,u)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=m),i.props=r,i.state=m,i.context=u,r=s):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return iL(e,t,n,r,a,o)}function iL(e,t,n,r,o,a){iC(e,t);var i=0!=(128&t.flags);if(!r&&!i)return o&&or(t,n,!1),iU(e,t,a);r=t.stateNode,ib.current=t;var l=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=aa(t,e.child,null,a),t.child=aa(t,null,l,a)):ik(e,t,l,a),t.memoizedState=r.state,o&&or(t,n,!0),t.child}function iN(e){var t=e.stateNode;t.pendingContext?oe(e,t.pendingContext,t.pendingContext!==t.context):t.context&&oe(e,t.context,!1),ad(e,t.containerInfo)}function iz(e,t,n,r,o){return oR(),oM(o),t.flags|=256,ik(e,t,n,r),t.child}var iR={dehydrated:null,treeContext:null,retryLane:0};function iM(e){return{baseLanes:e,cachePool:null,transitions:null}}function iO(e,t,n){var r,o=t.pendingProps,a=ag.current,i=!1,l=0!=(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&0!=(2&a)),r?(i=!0,t.flags&=-129):(null===e||null!==e.memoizedState)&&(a|=1),r2(ag,1&a),null===e)return(oT(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated))?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(l=o.children,e=o.fallback,i?(o=t.mode,i=t.child,l={mode:"hidden",children:l},0==(1&o)&&null!==i?(i.childLanes=0,i.pendingProps=l):i=un(l,o,0,null),e=ut(e,o,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=iM(n),t.memoizedState=iR,e):iF(t,l));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,t,n,r,o,a,i){if(n)return 256&t.flags?(t.flags&=-257,iI(e,t,i,r=ic(Error(f(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=r.fallback,o=t.mode,r=un({mode:"visible",children:r.children},o,0,null),a=ut(a,o,i,null),a.flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,0!=(1&t.mode)&&aa(t,e.child,null,i),t.child.memoizedState=iM(i),t.memoizedState=iR,a);if(0==(1&t.mode))return iI(e,t,i,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var l=r.dgst;return r=l,r=ic(a=Error(f(419)),r,void 0),iI(e,t,i,r)}if(l=0!=(i&e.childLanes),iw||l){if(null!==(r=lu)){switch(i&-i){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!=(o&(r.suspendedLanes|i))?0:o)&&o!==a.retryLane&&(a.retryLane=o,oX(e,o),lF(r,e,o,-1))}return lX(),iI(e,t,i,r=ic(Error(f(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=l4.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,ox=rA(o.nextSibling),ok=t,oS=!0,oE=null,null!==e&&(od[op++]=oh,od[op++]=og,od[op++]=om,oh=e.id,og=e.overflow,om=t),t=iF(t,r.children),t.flags|=4096,t)}(e,t,l,o,r,a,n);if(i){i=o.fallback,l=t.mode,r=(a=e.child).sibling;var u={mode:"hidden",children:o.children};return 0==(1&l)&&t.child!==a?((o=t.child).childLanes=0,o.pendingProps=u,t.deletions=null):(o=l9(a,u)).subtreeFlags=14680064&a.subtreeFlags,null!==r?i=l9(r,i):(i=ut(i,l,n,null),i.flags|=2),i.return=t,o.return=t,o.sibling=i,t.child=o,o=i,i=t.child,l=null===(l=e.child.memoizedState)?iM(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},i.memoizedState=l,i.childLanes=e.childLanes&~n,t.memoizedState=iR,o}return e=(i=e.child).sibling,o=l9(i,{mode:"visible",children:o.children}),0==(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function iF(e,t){return(t=un({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function iI(e,t,n,r){return null!==r&&oM(r),aa(t,e.child,null,n),e=iF(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function iD(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),o$(e.return,t,n)}function ij(e,t,n,r,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o)}function iA(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;if(ik(e,t,r.children,n),0!=(2&(r=ag.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&iD(e,n,t);else if(19===e.tag)iD(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;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(r2(ag,r),0==(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(o=null,n=t.child;null!==n;)null!==(e=n.alternate)&&null===av(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),ij(t,!1,o,n,a);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===av(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}ij(t,!0,n,null,a);break;case"together":ij(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function iB(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function iU(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),lh|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(f(153));if(null!==t.child){for(n=l9(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=l9(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function i$(e,t){if(!oS)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 iV(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}o=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}},a=function(){},i=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,af(au.current);var a,i=null;switch(n){case"input":o=ef(e,o),r=ef(e,r),i=[];break;case"select":o=en({},o,{value:void 0}),r=en({},r,{value:void 0}),i=[];break;case"textarea":o=eb(e,o),r=eb(e,r),i=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=rL)}for(s in eO(n,r),n=null,o)if(!r.hasOwnProperty(s)&&o.hasOwnProperty(s)&&null!=o[s]){if("style"===s){var l=o[s];for(a in l)l.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(p.hasOwnProperty(s)?i||(i=[]):(i=i||[]).push(s,null))}for(s in r){var u=r[s];if(l=null!=o?o[s]:void 0,r.hasOwnProperty(s)&&u!==l&&(null!=u||null!=l)){if("style"===s){if(l){for(a in l)!l.hasOwnProperty(a)||u&&u.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in u)u.hasOwnProperty(a)&&l[a]!==u[a]&&(n||(n={}),n[a]=u[a])}else n||(i||(i=[]),i.push(s,n)),n=u}else"dangerouslySetInnerHTML"===s?(u=u?u.__html:void 0,l=l?l.__html:void 0,null!=u&&l!==u&&(i=i||[]).push(s,u)):"children"===s?"string"!=typeof u&&"number"!=typeof u||(i=i||[]).push(s,""+u):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(p.hasOwnProperty(s)?(null!=u&&"onScroll"===s&&rh("scroll",e),i||l===u||(i=[])):(i=i||[]).push(s,u))}}n&&(i=i||[]).push("style",n);var s=i;(t.updateQueue=s)&&(t.flags|=4)}},l=function(e,t,n,r){n!==r&&(t.flags|=4)};var iH=!1,iW=!1,iq="function"==typeof WeakSet?WeakSet:Set,iQ=null;function iX(e,t){var n=e.ref;if(null!==n){if("function"==typeof n)try{n(null)}catch(n){l1(e,t,n)}else n.current=null}}function iY(e,t,n){try{n()}catch(n){l1(e,t,n)}}var iK=!1;function iG(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var a=o.destroy;o.destroy=void 0,void 0!==a&&iY(t,n,a)}o=o.next}while(o!==r)}}function iZ(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function iJ(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function i0(e){return 5===e.tag||3===e.tag||4===e.tag}function i1(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||i0(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags||null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}var i2=null,i3=!1;function i4(e,t,n){for(n=n.child;null!==n;)i6(e,t,n),n=n.sibling}function i6(e,t,n){if(tc&&"function"==typeof tc.onCommitFiberUnmount)try{tc.onCommitFiberUnmount(ts,n)}catch(e){}switch(n.tag){case 5:iW||iX(n,t);case 6:var r=i2,o=i3;i2=null,i4(e,t,n),i2=r,i3=o,null!==i2&&(i3?(e=i2,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):i2.removeChild(n.stateNode));break;case 18:null!==i2&&(i3?(e=i2,n=n.stateNode,8===e.nodeType?rj(e.parentNode,n):1===e.nodeType&&rj(e,n),tq(e)):rj(i2,n.stateNode));break;case 4:r=i2,o=i3,i2=n.stateNode.containerInfo,i3=!0,i4(e,t,n),i2=r,i3=o;break;case 0:case 11:case 14:case 15:if(!iW&&null!==(r=n.updateQueue)&&null!==(r=r.lastEffect)){o=r=r.next;do{var a=o,i=a.destroy;a=a.tag,void 0!==i&&(0!=(2&a)?iY(n,t,i):0!=(4&a)&&iY(n,t,i)),o=o.next}while(o!==r)}i4(e,t,n);break;case 1:if(!iW&&(iX(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){l1(n,t,e)}i4(e,t,n);break;case 21:default:i4(e,t,n);break;case 22:1&n.mode?(iW=(r=iW)||null!==n.memoizedState,i4(e,t,n),iW=r):i4(e,t,n)}}function i5(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new iq),t.forEach(function(t){var r=l6.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}function i8(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var a=t,i=a;e:for(;null!==i;){switch(i.tag){case 5:i2=i.stateNode,i3=!1;break e;case 3:case 4:i2=i.stateNode.containerInfo,i3=!0;break e}i=i.return}if(null===i2)throw Error(f(160));i6(e,a,o),i2=null,i3=!1;var l=o.alternate;null!==l&&(l.return=null),o.return=null}catch(e){l1(o,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)i7(t,e),t=t.sibling}function i7(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(i8(t,e),i9(e),4&r){try{iG(3,e,e.return),iZ(3,e)}catch(t){l1(e,e.return,t)}try{iG(5,e,e.return)}catch(t){l1(e,e.return,t)}}break;case 1:i8(t,e),i9(e),512&r&&null!==n&&iX(n,n.return);break;case 5:if(i8(t,e),i9(e),512&r&&null!==n&&iX(n,n.return),32&e.flags){var o=e.stateNode;try{eT(o,"")}catch(t){l1(e,e.return,t)}}if(4&r&&null!=(o=e.stateNode)){var a=e.memoizedProps,i=null!==n?n.memoizedProps:a,l=e.type,u=e.updateQueue;if(e.updateQueue=null,null!==u)try{"input"===l&&"radio"===a.type&&null!=a.name&&ep(o,a),eF(l,i);var s=eF(l,a);for(i=0;i<u.length;i+=2){var c=u[i],d=u[i+1];"style"===c?eR(o,d):"dangerouslySetInnerHTML"===c?eP(o,d):"children"===c?eT(o,d):C(o,c,d,s)}switch(l){case"input":em(o,a);break;case"textarea":ek(o,a);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!a.multiple;var m=a.value;null!=m?ey(o,!!a.multiple,m,!1):!!a.multiple!==p&&(null!=a.defaultValue?ey(o,!!a.multiple,a.defaultValue,!0):ey(o,!!a.multiple,a.multiple?[]:"",!1))}o[rV]=a}catch(t){l1(e,e.return,t)}}break;case 6:if(i8(t,e),i9(e),4&r){if(null===e.stateNode)throw Error(f(162));o=e.stateNode,a=e.memoizedProps;try{o.nodeValue=a}catch(t){l1(e,e.return,t)}}break;case 3:if(i8(t,e),i9(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{tq(t.containerInfo)}catch(t){l1(e,e.return,t)}break;case 4:default:i8(t,e),i9(e);break;case 13:i8(t,e),i9(e),8192&(o=e.child).flags&&(a=null!==o.memoizedState,o.stateNode.isHidden=a,a&&(null===o.alternate||null===o.alternate.memoizedState)&&(lw=tn())),4&r&&i5(e);break;case 22:if(c=null!==n&&null!==n.memoizedState,1&e.mode?(iW=(s=iW)||c,i8(t,e),iW=s):i8(t,e),i9(e),8192&r){if(s=null!==e.memoizedState,(e.stateNode.isHidden=s)&&!c&&0!=(1&e.mode))for(iQ=e,c=e.child;null!==c;){for(d=iQ=c;null!==iQ;){switch(m=(p=iQ).child,p.tag){case 0:case 11:case 14:case 15:iG(4,p,p.return);break;case 1:iX(p,p.return);var h=p.stateNode;if("function"==typeof h.componentWillUnmount){r=p,n=p.return;try{t=r,h.props=t.memoizedProps,h.state=t.memoizedState,h.componentWillUnmount()}catch(e){l1(r,n,e)}}break;case 5:iX(p,p.return);break;case 22:if(null!==p.memoizedState){lt(d);continue}}null!==m?(m.return=p,iQ=m):lt(d)}c=c.sibling}e:for(c=null,d=e;;){if(5===d.tag){if(null===c){c=d;try{o=d.stateNode,s?(a=o.style,"function"==typeof a.setProperty?a.setProperty("display","none","important"):a.display="none"):(l=d.stateNode,i=null!=(u=d.memoizedProps.style)&&u.hasOwnProperty("display")?u.display:null,l.style.display=ez("display",i))}catch(t){l1(e,e.return,t)}}}else if(6===d.tag){if(null===c)try{d.stateNode.nodeValue=s?"":d.memoizedProps}catch(t){l1(e,e.return,t)}}else if((22!==d.tag&&23!==d.tag||null===d.memoizedState||d===e)&&null!==d.child){d.child.return=d,d=d.child;continue}if(d===e)break;for(;null===d.sibling;){if(null===d.return||d.return===e)break e;c===d&&(c=null),d=d.return}c===d&&(c=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:i8(t,e),i9(e),4&r&&i5(e);case 21:}}function i9(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(i0(n)){var r=n;break e}n=n.return}throw Error(f(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(eT(o,""),r.flags&=-33);var a=i1(e);!function e(t,n,r){var o=t.tag;if(5===o||6===o)t=t.stateNode,n?r.insertBefore(t,n):r.appendChild(t);else if(4!==o&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,a,o);break;case 3:case 4:var i=r.stateNode.containerInfo,l=i1(e);!function e(t,n,r){var o=t.tag;if(5===o||6===o)t=t.stateNode,n?8===r.nodeType?r.parentNode.insertBefore(t,n):r.insertBefore(t,n):(8===r.nodeType?(n=r.parentNode).insertBefore(t,r):(n=r).appendChild(t),null!=(r=r._reactRootContainer)||null!==n.onclick||(n.onclick=rL));else if(4!==o&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,l,i);break;default:throw Error(f(161))}}catch(t){l1(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function le(e){for(;null!==iQ;){var t=iQ;if(0!=(8772&t.flags)){var n=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:iW||iZ(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!iW){if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:oF(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}}var a=t.updateQueue;null!==a&&o3(t,a,r);break;case 3:var i=t.updateQueue;if(null!==i){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}o3(t,i,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var s=t.alternate;if(null!==s){var c=s.memoizedState;if(null!==c){var d=c.dehydrated;null!==d&&tq(d)}}}break;default:throw Error(f(163))}iW||512&t.flags&&iJ(t)}catch(e){l1(t,t.return,e)}}if(t===e){iQ=null;break}if(null!==(n=t.sibling)){n.return=t.return,iQ=n;break}iQ=t.return}}function lt(e){for(;null!==iQ;){var t=iQ;if(t===e){iQ=null;break}var n=t.sibling;if(null!==n){n.return=t.return,iQ=n;break}iQ=t.return}}function ln(e){for(;null!==iQ;){var t=iQ;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{iZ(4,t)}catch(e){l1(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(e){l1(t,o,e)}}var a=t.return;try{iJ(t)}catch(e){l1(t,a,e)}break;case 5:var i=t.return;try{iJ(t)}catch(e){l1(t,i,e)}}}catch(e){l1(t,t.return,e)}if(t===e){iQ=null;break}var l=t.sibling;if(null!==l){l.return=t.return,iQ=l;break}iQ=t.return}}var lr=Math.ceil,lo=P.ReactCurrentDispatcher,la=P.ReactCurrentOwner,li=P.ReactCurrentBatchConfig,ll=0,lu=null,ls=null,lc=0,lf=0,ld=r0(0),lp=0,lm=null,lh=0,lg=0,lv=0,ly=null,lb=null,lw=0,lk=1/0,lx=null,lS=!1,lE=null,l_=null,lC=!1,lP=null,lT=0,lL=0,lN=null,lz=-1,lR=0;function lM(){return 0!=(6&ll)?tn():-1!==lz?lz:lz=tn()}function lO(e){return 0==(1&e.mode)?1:0!=(2&ll)&&0!==lc?lc&-lc:null!==oO.transition?(0===lR&&(lR=tb()),lR):0!==(e=tS)?e:e=void 0===(e=window.event)?16:t0(e.type)}function lF(e,t,n,r){if(50<lL)throw lL=0,lN=null,Error(f(185));tk(e,n,r),(0==(2&ll)||e!==lu)&&(e===lu&&(0==(2&ll)&&(lg|=n),4===lp&&lB(e,lc)),lI(e,r),1===n&&0===ll&&0==(1&t.mode)&&(lk=tn()+500,oa&&ol()))}function lI(e,t){var n,r,o,a=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,a=e.pendingLanes;0<a;){var i=31-tf(a),l=1<<i,u=o[i];-1===u?(0==(l&n)||0!=(l&r))&&(o[i]=function(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return -1}}(l,t)):u<=t&&(e.expiredLanes|=l),a&=~l}}(e,t);var i=tv(e,e===lu?lc:0);if(0===i)null!==a&&e9(a),e.callbackNode=null,e.callbackPriority=0;else if(t=i&-i,e.callbackPriority!==t){if(null!=a&&e9(a),1===t){0===e.tag&&(oa=!0),n=lU.bind(null,e),null===oo?oo=[n]:oo.push(n),rI(function(){0==(6&ll)&&ol()}),a=null}else{switch(tE(i)){case 1:a=to;break;case 4:a=ta;break;case 16:default:a=ti;break;case 536870912:a=tu}r=a,o=lD.bind(null,e),a=e7(r,o)}e.callbackPriority=t,e.callbackNode=a}}function lD(e,t){if(lz=-1,lR=0,0!=(6&ll))throw Error(f(327));var n=e.callbackNode;if(lJ()&&e.callbackNode!==n)return null;var r=tv(e,e===lu?lc:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||t)t=lY(e,r);else{t=r;var o=ll;ll|=2;var a=lQ();for((lu!==e||lc!==t)&&(lx=null,lk=tn()+500,lW(e,t));;)try{(function(){for(;null!==ls&&!te();)lK(ls)})();break}catch(t){lq(e,t)}oB(),lo.current=a,ll=o,null!==ls?t=0:(lu=null,lc=0,t=lp)}if(0!==t){if(2===t&&0!==(o=ty(e))&&(r=o,t=lj(e,o)),1===t)throw n=lm,lW(e,0),lB(e,r),lI(e,tn()),n;if(6===t)lB(e,r);else{if(o=e.current.alternate,0==(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],a=o.getSnapshot;o=o.value;try{if(!nY(a(),o))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)&&(2===(t=lY(e,r))&&0!==(a=ty(e))&&(r=a,t=lj(e,a)),1===t))throw n=lm,lW(e,0),lB(e,r),lI(e,tn()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(f(345));case 2:case 5:lZ(e,lb,lx);break;case 3:if(lB(e,r),(130023424&r)===r&&10<(t=lw+500-tn())){if(0!==tv(e,0))break;if(((o=e.suspendedLanes)&r)!==r){lM(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=rM(lZ.bind(null,e,lb,lx),t);break}lZ(e,lb,lx);break;case 4:if(lB(e,r),(4194240&r)===r)break;for(o=-1,t=e.eventTimes;0<r;){var i=31-tf(r);a=1<<i,(i=t[i])>o&&(o=i),r&=~a}if(r=o,10<(r=(120>(r=tn()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*lr(r/1960))-r)){e.timeoutHandle=rM(lZ.bind(null,e,lb,lx),r);break}lZ(e,lb,lx);break;default:throw Error(f(329))}}}return lI(e,tn()),e.callbackNode===n?lD.bind(null,e):null}function lj(e,t){var n=ly;return e.current.memoizedState.isDehydrated&&(lW(e,t).flags|=256),2!==(e=lY(e,t))&&(t=lb,lb=n,null!==t&&lA(t)),e}function lA(e){null===lb?lb=e:lb.push.apply(lb,e)}function lB(e,t){for(t&=~lv,t&=~lg,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-tf(t),r=1<<n;e[n]=-1,t&=~r}}function lU(e){if(0!=(6&ll))throw Error(f(327));lJ();var t=tv(e,0);if(0==(1&t))return lI(e,tn()),null;var n=lY(e,t);if(0!==e.tag&&2===n){var r=ty(e);0!==r&&(t=r,n=lj(e,r))}if(1===n)throw n=lm,lW(e,0),lB(e,t),lI(e,tn()),n;if(6===n)throw Error(f(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,lZ(e,lb,lx),lI(e,tn()),null}function l$(e,t){var n=ll;ll|=1;try{return e(t)}finally{0===(ll=n)&&(lk=tn()+500,oa&&ol())}}function lV(e){null!==lP&&0===lP.tag&&0==(6&ll)&&lJ();var t=ll;ll|=1;var n=li.transition,r=tS;try{if(li.transition=null,tS=1,e)return e()}finally{tS=r,li.transition=n,0==(6&(ll=t))&&ol()}}function lH(){lf=ld.current,r1(ld)}function lW(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,rO(n)),null!==ls)for(n=ls.return;null!==n;){var r=n;switch(ow(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&r9();break;case 3:ap(),r1(r6),r1(r4),ab();break;case 5:ah(r);break;case 4:ap();break;case 13:case 19:r1(ag);break;case 10:oU(r.type._context);break;case 22:case 23:lH()}n=n.return}if(lu=e,ls=e=l9(e.current,null),lc=lf=t,lp=0,lm=null,lv=lg=lh=0,lb=ly=null,null!==oW){for(t=0;t<oW.length;t++)if(null!==(r=(n=oW[t]).interleaved)){n.interleaved=null;var o=r.next,a=n.pending;if(null!==a){var i=a.next;a.next=o,r.next=i}n.pending=r}oW=null}return e}function lq(e,t){for(;;){var n=ls;try{if(oB(),aw.current=ia,aC){for(var r=aS.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}aC=!1}if(ax=0,a_=aE=aS=null,aP=!1,aT=0,la.current=null,null===n||null===n.return){lp=1,lm=t,ls=null;break}e:{var a=e,i=n.return,l=n,u=t;if(t=lc,l.flags|=32768,null!==u&&"object"==typeof u&&"function"==typeof u.then){var s=u,c=l,d=c.tag;if(0==(1&c.mode)&&(0===d||11===d||15===d)){var p=c.alternate;p?(c.updateQueue=p.updateQueue,c.memoizedState=p.memoizedState,c.lanes=p.lanes):(c.updateQueue=null,c.memoizedState=null)}var m=iv(i);if(null!==m){m.flags&=-257,iy(m,i,l,a,t),1&m.mode&&ig(a,s,t),t=m,u=s;var h=t.updateQueue;if(null===h){var g=new Set;g.add(u),t.updateQueue=g}else h.add(u);break e}if(0==(1&t)){ig(a,s,t),lX();break e}u=Error(f(426))}else if(oS&&1&l.mode){var v=iv(i);if(null!==v){0==(65536&v.flags)&&(v.flags|=256),iy(v,i,l,a,t),oM(is(u,l));break e}}a=u=is(u,l),4!==lp&&(lp=2),null===ly?ly=[a]:ly.push(a),a=i;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t;var y=im(a,u,t);o1(a,y);break e;case 1:l=u;var b=a.type,w=a.stateNode;if(0==(128&a.flags)&&("function"==typeof b.getDerivedStateFromError||null!==w&&"function"==typeof w.componentDidCatch&&(null===l_||!l_.has(w)))){a.flags|=65536,t&=-t,a.lanes|=t;var k=ih(a,l,t);o1(a,k);break e}}a=a.return}while(null!==a)}lG(n)}catch(e){t=e,ls===n&&null!==n&&(ls=n=n.return);continue}break}}function lQ(){var e=lo.current;return lo.current=ia,null===e?ia:e}function lX(){(0===lp||3===lp||2===lp)&&(lp=4),null===lu||0==(268435455&lh)&&0==(268435455&lg)||lB(lu,lc)}function lY(e,t){var n=ll;ll|=2;var r=lQ();for((lu!==e||lc!==t)&&(lx=null,lW(e,t));;)try{(function(){for(;null!==ls;)lK(ls)})();break}catch(t){lq(e,t)}if(oB(),ll=n,lo.current=r,null!==ls)throw Error(f(261));return lu=null,lc=0,lp}function lK(e){var t=u(e.alternate,e,lf);e.memoizedProps=e.pendingProps,null===t?lG(e):ls=t,la.current=null}function lG(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=function(e,t,n){var r=t.pendingProps;switch(ow(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return iV(t),null;case 1:case 17:return r7(t.type)&&r9(),iV(t),null;case 3:return r=t.stateNode,ap(),r1(r6),r1(r4),ab(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(null===e||null===e.child)&&(oN(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==oE&&(lA(oE),oE=null))),a(e,t),iV(t),null;case 5:ah(t);var u=af(ac.current);if(n=t.type,null!==e&&null!=t.stateNode)i(e,t,n,r,u),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(f(166));return iV(t),null}if(e=af(au.current),oN(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[r$]=t,r[rV]=s,e=0!=(1&t.mode),n){case"dialog":rh("cancel",r),rh("close",r);break;case"iframe":case"object":case"embed":rh("load",r);break;case"video":case"audio":for(u=0;u<rf.length;u++)rh(rf[u],r);break;case"source":rh("error",r);break;case"img":case"image":case"link":rh("error",r),rh("load",r);break;case"details":rh("toggle",r);break;case"input":ed(r,s),rh("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},rh("invalid",r);break;case"textarea":ew(r,s),rh("invalid",r)}for(var c in eO(n,s),u=null,s)if(s.hasOwnProperty(c)){var d=s[c];"children"===c?"string"==typeof d?r.textContent!==d&&(!0!==s.suppressHydrationWarning&&rT(r.textContent,d,e),u=["children",d]):"number"==typeof d&&r.textContent!==""+d&&(!0!==s.suppressHydrationWarning&&rT(r.textContent,d,e),u=["children",""+d]):p.hasOwnProperty(c)&&null!=d&&"onScroll"===c&&rh("scroll",r)}switch(n){case"input":eu(r),eh(r,s,!0);break;case"textarea":eu(r),ex(r);break;case"select":case"option":break;default:"function"==typeof s.onClick&&(r.onclick=rL)}r=u,t.updateQueue=r,null!==r&&(t.flags|=4)}else{c=9===u.nodeType?u:u.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=eS(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=c.createElement("div")).innerHTML="<script></script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=c.createElement(n,{is:r.is}):(e=c.createElement(n),"select"===n&&(c=e,r.multiple?c.multiple=!0:r.size&&(c.size=r.size))):e=c.createElementNS(e,n),e[r$]=t,e[rV]=r,o(e,t,!1,!1),t.stateNode=e;e:{switch(c=eF(n,r),n){case"dialog":rh("cancel",e),rh("close",e),u=r;break;case"iframe":case"object":case"embed":rh("load",e),u=r;break;case"video":case"audio":for(u=0;u<rf.length;u++)rh(rf[u],e);u=r;break;case"source":rh("error",e),u=r;break;case"img":case"image":case"link":rh("error",e),rh("load",e),u=r;break;case"details":rh("toggle",e),u=r;break;case"input":ed(e,r),u=ef(e,r),rh("invalid",e);break;case"option":default:u=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},u=en({},r,{value:void 0}),rh("invalid",e);break;case"textarea":ew(e,r),u=eb(e,r),rh("invalid",e)}for(s in eO(n,u),d=u)if(d.hasOwnProperty(s)){var m=d[s];"style"===s?eR(e,m):"dangerouslySetInnerHTML"===s?null!=(m=m?m.__html:void 0)&&eP(e,m):"children"===s?"string"==typeof m?("textarea"!==n||""!==m)&&eT(e,m):"number"==typeof m&&eT(e,""+m):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(p.hasOwnProperty(s)?null!=m&&"onScroll"===s&&rh("scroll",e):null!=m&&C(e,s,m,c))}switch(n){case"input":eu(e),eh(e,r,!1);break;case"textarea":eu(e),ex(e);break;case"option":null!=r.value&&e.setAttribute("value",""+ei(r.value));break;case"select":e.multiple=!!r.multiple,null!=(s=r.value)?ey(e,!!r.multiple,s,!1):null!=r.defaultValue&&ey(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof u.onClick&&(e.onclick=rL)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return iV(t),null;case 6:if(e&&null!=t.stateNode)l(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(f(166));if(n=af(ac.current),af(au.current),oN(t)){if(r=t.stateNode,n=t.memoizedProps,r[r$]=t,(s=r.nodeValue!==n)&&null!==(e=ok))switch(e.tag){case 3:rT(r.nodeValue,n,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&rT(r.nodeValue,n,0!=(1&e.mode))}s&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[r$]=t,t.stateNode=r}return iV(t),null;case 13:if(r1(ag),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(oS&&null!==ox&&0!=(1&t.mode)&&0==(128&t.flags))oz(),oR(),t.flags|=98560,s=!1;else if(s=oN(t),null!==r&&null!==r.dehydrated){if(null===e){if(!s)throw Error(f(318));if(!(s=null!==(s=t.memoizedState)?s.dehydrated:null))throw Error(f(317));s[r$]=t}else oR(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;iV(t),s=!1}else null!==oE&&(lA(oE),oE=null),s=!0;if(!s)return 65536&t.flags?t:null}if(0!=(128&t.flags))return t.lanes=n,t;return(r=null!==r)!=(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&ag.current)?0===lp&&(lp=3):lX())),null!==t.updateQueue&&(t.flags|=4),iV(t),null;case 4:return ap(),a(e,t),null===e&&ry(t.stateNode.containerInfo),iV(t),null;case 10:return oU(t.type._context),iV(t),null;case 19:if(r1(ag),null===(s=t.memoizedState))return iV(t),null;if(r=0!=(128&t.flags),null===(c=s.rendering)){if(r)i$(s,!1);else{if(0!==lp||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(c=av(e))){for(t.flags|=128,i$(s,!1),null!==(r=c.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)s=n,e=r,s.flags&=14680066,null===(c=s.alternate)?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=c.childLanes,s.lanes=c.lanes,s.child=c.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=c.memoizedProps,s.memoizedState=c.memoizedState,s.updateQueue=c.updateQueue,s.type=c.type,e=c.dependencies,s.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return r2(ag,1&ag.current|2),t.child}e=e.sibling}null!==s.tail&&tn()>lk&&(t.flags|=128,r=!0,i$(s,!1),t.lanes=4194304)}}else{if(!r){if(null!==(e=av(c))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),i$(s,!0),null===s.tail&&"hidden"===s.tailMode&&!c.alternate&&!oS)return iV(t),null}else 2*tn()-s.renderingStartTime>lk&&1073741824!==n&&(t.flags|=128,r=!0,i$(s,!1),t.lanes=4194304)}s.isBackwards?(c.sibling=t.child,t.child=c):(null!==(n=s.last)?n.sibling=c:t.child=c,s.last=c)}if(null!==s.tail)return t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=tn(),t.sibling=null,n=ag.current,r2(ag,r?1&n|2:1&n),t;return iV(t),null;case 22:case 23:return lH(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(1073741824&lf)&&(iV(t),6&t.subtreeFlags&&(t.flags|=8192)):iV(t),null;case 24:case 25:return null}throw Error(f(156,t.tag))}(n,t,lf))){ls=n;return}}else{if(null!==(n=function(e,t){switch(ow(t),t.tag){case 1:return r7(t.type)&&r9(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ap(),r1(r6),r1(r4),ab(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return ah(t),null;case 13:if(r1(ag),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(f(340));oR()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return r1(ag),null;case 4:return ap(),null;case 10:return oU(t.type._context),null;case 22:case 23:return lH(),null;default:return null}}(n,t))){n.flags&=32767,ls=n;return}if(null!==e)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{lp=6,ls=null;return}}if(null!==(t=t.sibling)){ls=t;return}ls=t=e}while(null!==t)0===lp&&(lp=5)}function lZ(e,t,n){var r=tS,o=li.transition;try{li.transition=null,tS=1,function(e,t,n,r){do lJ();while(null!==lP)if(0!=(6&ll))throw Error(f(327));n=e.finishedWork;var o=e.finishedLanes;if(null!==n){if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(f(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-tf(n),a=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~a}}(e,a),e===lu&&(ls=lu=null,lc=0),0==(2064&n.subtreeFlags)&&0==(2064&n.flags)||lC||(lC=!0,i=ti,l=function(){return lJ(),null},e7(i,l)),a=0!=(15990&n.flags),0!=(15990&n.subtreeFlags)||a){a=li.transition,li.transition=null;var i,l,u,s,c,d=tS;tS=1;var p=ll;ll|=4,la.current=null,function(e,t){if(rN=tX,n0(e=nJ())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o,a=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch(e){n=null;break e}var l=0,u=-1,s=-1,c=0,d=0,p=e,m=null;t:for(;;){for(;p!==n||0!==a&&3!==p.nodeType||(u=l+a),p!==i||0!==r&&3!==p.nodeType||(s=l+r),3===p.nodeType&&(l+=p.nodeValue.length),null!==(o=p.firstChild);)m=p,p=o;for(;;){if(p===e)break t;if(m===n&&++c===a&&(u=l),m===i&&++d===r&&(s=l),null!==(o=p.nextSibling))break;m=(p=m).parentNode}p=o}n=-1===u||-1===s?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(rz={focusedElem:e,selectionRange:n},tX=!1,iQ=t;null!==iQ;)if(e=(t=iQ).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,iQ=e;else for(;null!==iQ;){t=iQ;try{var h=t.alternate;if(0!=(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==h){var g=h.memoizedProps,v=h.memoizedState,y=t.stateNode,b=y.getSnapshotBeforeUpdate(t.elementType===t.type?g:oF(t.type,g),v);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(f(163))}}catch(e){l1(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,iQ=e;break}iQ=t.return}h=iK,iK=!1}(e,n),i7(n,e),function(e){var t=nJ(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.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))))}(n.ownerDocument.documentElement,n)){if(null!==r&&n0(n)){if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,a=Math.min(r.start,o);r=void 0===r.end?a:Math.min(r.end,o),!e.extend&&a>r&&(o=r,r=a,a=o),o=nZ(n,a);var i=nZ(n,r);o&&i&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}(rz),tX=!!rN,rz=rN=null,e.current=n,u=n,s=e,c=o,iQ=u,function e(t,n,r){for(var o=0!=(1&t.mode);null!==iQ;){var a=iQ,i=a.child;if(22===a.tag&&o){var l=null!==a.memoizedState||iH;if(!l){var u=a.alternate,s=null!==u&&null!==u.memoizedState||iW;u=iH;var c=iW;if(iH=l,(iW=s)&&!c)for(iQ=a;null!==iQ;)s=(l=iQ).child,22===l.tag&&null!==l.memoizedState?ln(a):null!==s?(s.return=l,iQ=s):ln(a);for(;null!==i;)iQ=i,e(i,n,r),i=i.sibling;iQ=a,iH=u,iW=c}le(t,n,r)}else 0!=(8772&a.subtreeFlags)&&null!==i?(i.return=a,iQ=i):le(t,n,r)}}(u,s,c),tt(),ll=p,tS=d,li.transition=a}else e.current=n;if(lC&&(lC=!1,lP=e,lT=o),0===(a=e.pendingLanes)&&(l_=null),function(e){if(tc&&"function"==typeof tc.onCommitFiberRoot)try{tc.onCommitFiberRoot(ts,e,void 0,128==(128&e.current.flags))}catch(e){}}(n.stateNode,r),lI(e,tn()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)r((o=t[n]).value,{componentStack:o.stack,digest:o.digest});if(lS)throw lS=!1,e=lE,lE=null,e;0!=(1&lT)&&0!==e.tag&&lJ(),0!=(1&(a=e.pendingLanes))?e===lN?lL++:(lL=0,lN=e):lL=0,ol()}}(e,t,n,r)}finally{li.transition=o,tS=r}return null}function lJ(){if(null!==lP){var e=tE(lT),t=li.transition,n=tS;try{if(li.transition=null,tS=16>e?16:e,null===lP)var r=!1;else{if(e=lP,lP=null,lT=0,0!=(6&ll))throw Error(f(331));var o=ll;for(ll|=4,iQ=e.current;null!==iQ;){var a=iQ,i=a.child;if(0!=(16&iQ.flags)){var l=a.deletions;if(null!==l){for(var u=0;u<l.length;u++){var s=l[u];for(iQ=s;null!==iQ;){var c=iQ;switch(c.tag){case 0:case 11:case 15:iG(8,c,a)}var d=c.child;if(null!==d)d.return=c,iQ=d;else for(;null!==iQ;){var p=(c=iQ).sibling,m=c.return;if(function e(t){var n=t.alternate;null!==n&&(t.alternate=null,e(n)),t.child=null,t.deletions=null,t.sibling=null,5===t.tag&&null!==(n=t.stateNode)&&(delete n[r$],delete n[rV],delete n[rW],delete n[rq],delete n[rQ]),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}(c),c===s){iQ=null;break}if(null!==p){p.return=m,iQ=p;break}iQ=m}}}var h=a.alternate;if(null!==h){var g=h.child;if(null!==g){h.child=null;do{var v=g.sibling;g.sibling=null,g=v}while(null!==g)}}iQ=a}}if(0!=(2064&a.subtreeFlags)&&null!==i)i.return=a,iQ=i;else for(;null!==iQ;){if(a=iQ,0!=(2048&a.flags))switch(a.tag){case 0:case 11:case 15:iG(9,a,a.return)}var y=a.sibling;if(null!==y){y.return=a.return,iQ=y;break}iQ=a.return}}var b=e.current;for(iQ=b;null!==iQ;){var w=(i=iQ).child;if(0!=(2064&i.subtreeFlags)&&null!==w)w.return=i,iQ=w;else for(i=b;null!==iQ;){if(l=iQ,0!=(2048&l.flags))try{switch(l.tag){case 0:case 11:case 15:iZ(9,l)}}catch(e){l1(l,l.return,e)}if(l===i){iQ=null;break}var k=l.sibling;if(null!==k){k.return=l.return,iQ=k;break}iQ=l.return}}if(ll=o,ol(),tc&&"function"==typeof tc.onPostCommitFiberRoot)try{tc.onPostCommitFiberRoot(ts,e)}catch(e){}r=!0}return r}finally{tS=n,li.transition=t}}return!1}function l0(e,t,n){t=is(n,t),t=im(e,t,1),e=oJ(e,t,1),t=lM(),null!==e&&(tk(e,1,t),lI(e,t))}function l1(e,t,n){if(3===e.tag)l0(e,e,n);else for(;null!==t;){if(3===t.tag){l0(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===l_||!l_.has(r))){e=is(n,e),e=ih(t,e,1),t=oJ(t,e,1),e=lM(),null!==t&&(tk(t,1,e),lI(t,e));break}}t=t.return}}function l2(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=lM(),e.pingedLanes|=e.suspendedLanes&n,lu===e&&(lc&n)===n&&(4===lp||3===lp&&(130023424&lc)===lc&&500>tn()-lw?lW(e,0):lv|=n),lI(e,t)}function l3(e,t){0===t&&(0==(1&e.mode)?t=1:(t=th,0==(130023424&(th<<=1))&&(th=4194304)));var n=lM();null!==(e=oX(e,t))&&(tk(e,t,n),lI(e,n))}function l4(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),l3(e,n)}function l6(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(f(314))}null!==r&&r.delete(t),l3(e,n)}function l5(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.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function l8(e,t,n,r){return new l5(e,t,n,r)}function l7(e){return!(!(e=e.prototype)||!e.isReactComponent)}function l9(e,t){var n=e.alternate;return null===n?((n=l8(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.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function ue(e,t,n,r,o,a){var i=2;if(r=e,"function"==typeof e)l7(e)&&(i=1);else if("string"==typeof e)i=5;else e:switch(e){case N:return ut(n.children,o,a,t);case z:i=8,o|=8;break;case R:return(e=l8(12,n,t,2|o)).elementType=R,e.lanes=a,e;case I:return(e=l8(13,n,t,o)).elementType=I,e.lanes=a,e;case D:return(e=l8(19,n,t,o)).elementType=D,e.lanes=a,e;case B:return un(n,o,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case M:i=10;break e;case O:i=9;break e;case F:i=11;break e;case j:i=14;break e;case A:i=16,r=null;break e}throw Error(f(130,null==e?e:typeof e,""))}return(t=l8(i,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function ut(e,t,n,r){return(e=l8(7,e,r,t)).lanes=n,e}function un(e,t,n,r){return(e=l8(22,e,r,t)).elementType=B,e.lanes=n,e.stateNode={isHidden:!1},e}function ur(e,t,n){return(e=l8(6,e,null,t)).lanes=n,e}function uo(e,t,n){return(t=l8(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ua(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=tw(0),this.expirationTimes=tw(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=tw(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function ui(e,t,n,r,o,a,i,l,u){return e=new ua(e,t,n,l,u),1===t?(t=1,!0===a&&(t|=8)):t=0,a=l8(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},oK(a),e}function ul(e){if(!e)return r3;e=e._reactInternals;e:{if(e4(e)!==e||1!==e.tag)throw Error(f(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(r7(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t)throw Error(f(171))}if(1===e.tag){var n=e.type;if(r7(n))return ot(e,n,t)}return t}function uu(e,t,n,r,o,a,i,l,u){return(e=ui(n,r,!0,e,o,a,i,l,u)).context=ul(null),n=e.current,(a=oZ(r=lM(),o=lO(n))).callback=null!=t?t:null,oJ(n,a,o),e.current.lanes=o,tk(e,o,r),lI(e,r),e}function us(e,t,n,r){var o=t.current,a=lM(),i=lO(o);return n=ul(n),null===t.context?t.context=n:t.pendingContext=n,(t=oZ(a,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=oJ(o,t,i))&&(lF(e,o,i,a),o0(e,o,i)),i}function uc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function uf(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function ud(e,t){uf(e,t),(e=e.alternate)&&uf(e,t)}u=function(e,t,n){if(null!==e){if(e.memoizedProps!==t.pendingProps||r6.current)iw=!0;else{if(0==(e.lanes&n)&&0==(128&t.flags))return iw=!1,function(e,t,n){switch(t.tag){case 3:iN(t),oR();break;case 5:am(t);break;case 1:r7(t.type)&&on(t);break;case 4:ad(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;r2(oI,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState)){if(null!==r.dehydrated)return r2(ag,1&ag.current),t.flags|=128,null;if(0!=(n&t.child.childLanes))return iO(e,t,n);return r2(ag,1&ag.current),null!==(e=iU(e,t,n))?e.sibling:null}r2(ag,1&ag.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return iA(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),r2(ag,ag.current),!r)return null;break;case 22:case 23:return t.lanes=0,i_(e,t,n)}return iU(e,t,n)}(e,t,n);iw=0!=(131072&e.flags)}}else iw=!1,oS&&0!=(1048576&t.flags)&&oy(t,of,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;iB(e,t),e=t.pendingProps;var o=r8(t,r4.current);oV(t,n),o=aR(null,t,r,e,o,n);var a=aM();return t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,r7(r)?(a=!0,on(t)):a=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,oK(t),o.updater=o5,t.stateNode=o,o._reactInternals=t,ae(t,r,e,n),t=iL(null,t,r,!0,a,n)):(t.tag=0,oS&&a&&ob(t),ik(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(iB(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"==typeof e)return l7(e)?1:0;if(null!=e){if((e=e.$$typeof)===F)return 11;if(e===j)return 14}return 2}(r),e=oF(r,e),o){case 0:t=iP(null,t,r,e,n);break e;case 1:t=iT(null,t,r,e,n);break e;case 11:t=ix(null,t,r,e,n);break e;case 14:t=iS(null,t,r,oF(r.type,e),n);break e}throw Error(f(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:oF(r,o),iP(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:oF(r,o),iT(e,t,r,o,n);case 3:e:{if(iN(t),null===e)throw Error(f(387));r=t.pendingProps,o=(a=t.memoizedState).element,oG(e,t),o2(t,r,null,n);var i=t.memoizedState;if(r=i.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){o=is(Error(f(423)),t),t=iz(e,t,r,n,o);break e}if(r!==o){o=is(Error(f(424)),t),t=iz(e,t,r,n,o);break e}for(ox=rA(t.stateNode.containerInfo.firstChild),ok=t,oS=!0,oE=null,n=ai(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(oR(),r===o){t=iU(e,t,n);break e}ik(e,t,r,n)}t=t.child}return t;case 5:return am(t),null===e&&oT(t),r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,i=o.children,rR(r,o)?i=null:null!==a&&rR(r,a)&&(t.flags|=32),iC(e,t),ik(e,t,i,n),t.child;case 6:return null===e&&oT(t),null;case 13:return iO(e,t,n);case 4:return ad(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=aa(t,null,r,n):ik(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:oF(r,o),ix(e,t,r,o,n);case 7:return ik(e,t,t.pendingProps,n),t.child;case 8:case 12:return ik(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,a=t.memoizedProps,i=o.value,r2(oI,r._currentValue),r._currentValue=i,null!==a){if(nY(a.value,i)){if(a.children===o.children&&!r6.current){t=iU(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var l=a.dependencies;if(null!==l){i=a.child;for(var u=l.firstContext;null!==u;){if(u.context===r){if(1===a.tag){(u=oZ(-1,n&-n)).tag=2;var s=a.updateQueue;if(null!==s){var c=(s=s.shared).pending;null===c?u.next=u:(u.next=c.next,c.next=u),s.pending=u}}a.lanes|=n,null!==(u=a.alternate)&&(u.lanes|=n),o$(a.return,n,t),l.lanes|=n;break}u=u.next}}else if(10===a.tag)i=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(i=a.return))throw Error(f(341));i.lanes|=n,null!==(l=i.alternate)&&(l.lanes|=n),o$(i,n,t),i=a.sibling}else i=a.child;if(null!==i)i.return=a;else for(i=a;null!==i;){if(i===t){i=null;break}if(null!==(a=i.sibling)){a.return=i.return,i=a;break}i=i.return}a=i}}ik(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,oV(t,n),o=oH(o),r=r(o),t.flags|=1,ik(e,t,r,n),t.child;case 14:return o=oF(r=t.type,t.pendingProps),o=oF(r.type,o),iS(e,t,r,o,n);case 15:return iE(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:oF(r,o),iB(e,t),t.tag=1,r7(r)?(e=!0,on(t)):e=!1,oV(t,n),o7(t,r,o),ae(t,r,o,n),iL(null,t,r,!0,e,n);case 19:return iA(e,t,n);case 22:return i_(e,t,n)}throw Error(f(156,t.tag))};var up="function"==typeof reportError?reportError:function(e){console.error(e)};function um(e){this._internalRoot=e}function uh(e){this._internalRoot=e}function ug(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function uv(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function uy(){}function ub(e,t,n,r,o){var a=n._reactRootContainer;if(a){var i=a;if("function"==typeof o){var l=o;o=function(){var e=uc(i);l.call(e)}}us(t,i,e,o)}else i=function(e,t,n,r,o){if(o){if("function"==typeof r){var a=r;r=function(){var e=uc(i);a.call(e)}}var i=uu(t,r,e,0,null,!1,!1,"",uy);return e._reactRootContainer=i,e[rH]=i.current,ry(8===e.nodeType?e.parentNode:e),lV(),i}for(;o=e.lastChild;)e.removeChild(o);if("function"==typeof r){var l=r;r=function(){var e=uc(u);l.call(e)}}var u=ui(e,0,!1,null,null,!1,!1,"",uy);return e._reactRootContainer=u,e[rH]=u.current,ry(8===e.nodeType?e.parentNode:e),lV(function(){us(t,u,n,r)}),u}(n,t,e,o,r);return uc(i)}uh.prototype.render=um.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(f(409));us(e,t,null,null)},uh.prototype.unmount=um.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;lV(function(){us(null,e,null,null)}),t[rH]=null}},uh.prototype.unstable_scheduleHydration=function(e){if(e){var t=tT();e={blockedOn:null,target:e,priority:t};for(var n=0;n<tD.length&&0!==t&&t<tD[n].priority;n++);tD.splice(n,0,e),0===n&&tU(e)}},t_=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=tg(t.pendingLanes);0!==n&&(tx(t,1|n),lI(t,tn()),0==(6&ll)&&(lk=tn()+500,ol()))}break;case 13:lV(function(){var t=oX(e,1);null!==t&&lF(t,e,1,lM())}),ud(e,1)}},tC=function(e){if(13===e.tag){var t=oX(e,134217728);null!==t&&lF(t,e,134217728,lM()),ud(e,134217728)}},tP=function(e){if(13===e.tag){var t=lO(e),n=oX(e,t);null!==n&&lF(n,e,t,lM()),ud(e,t)}},tT=function(){return tS},tL=function(e,t){var n=tS;try{return tS=e,t()}finally{tS=n}},ej=function(e,t,n){switch(t){case"input":if(em(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=rG(r);if(!o)throw Error(f(90));es(r),em(r,o)}}}break;case"textarea":ek(e,n);break;case"select":null!=(t=n.value)&&ey(e,!!n.multiple,t,!1)}},eH=l$,eW=lV;var uw={findFiberByHostInstance:rX,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},uk={bundleType:uw.bundleType,version:uw.version,rendererPackageName:uw.rendererPackageName,rendererConfig:uw.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:P.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=e8(e))?null:e.stateNode},findFiberByHostInstance:uw.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ux=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ux.isDisabled&&ux.supportsFiber)try{ts=ux.inject(uk),tc=ux}catch(e){}}V={usingClientEntryPoint:!1,Events:[rY,rK,rG,e$,eV,l$]},H=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!ug(t))throw Error(f(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:L,key:null==r?null:""+r,children:e,containerInfo:t,implementation:null}}(e,t,null,n)},W=function(e,t){if(!ug(e))throw Error(f(299));var n=!1,r="",o=up;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=ui(e,1,!1,null,null,n,!1,r,o),e[rH]=t.current,ry(8===e.nodeType?e.parentNode:e),new um(t)},q=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(f(188));throw Error(f(268,e=Object.keys(e).join(",")))}return e=null===(e=e8(t))?null:e.stateNode},Q=function(e){return lV(e)},X=function(e,t,n){if(!uv(t))throw Error(f(200));return ub(null,e,t,!0,n)},Y=function(e,t,n){if(!ug(e))throw Error(f(405));var r=null!=n&&n.hydratedSources||null,o=!1,a="",i=up;if(null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(i=n.onRecoverableError)),t=uu(t,null,e,1,null!=n?n:null,o,!1,a,i),e[rH]=t.current,ry(e),r)for(e=0;e<r.length;e++)o=(o=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new uh(t)},K=function(e,t,n){if(!uv(t))throw Error(f(200));return ub(null,e,t,!1,n)},G=function(e){if(!uv(e))throw Error(f(40));return!!e._reactRootContainer&&(lV(function(){ub(null,null,e,!1,function(){e._reactRootContainer=null,e[rH]=null})}),!0)},Z=l$,J=function(e,t,n,r){if(!uv(n))throw Error(f(200));if(null==e||void 0===e._reactInternals)throw Error(f(38));return ub(e,t,n,!1,r)},ee="18.2.0-next-9e3b772b8-20220608"}),m.register("33s19",function(e,t){e.exports=m("a0C75")}),m.register("a0C75",function(t,n){function r(e,t){var n=e.length;for(e.push(t);0<n;){var r=n-1>>>1,o=e[r];if(0<i(o,t))e[r]=t,e[n]=o,n=r;else break}}function o(e){return 0===e.length?null:e[0]}function a(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;for(var r=0,o=e.length,a=o>>>1;r<a;){var l=2*(r+1)-1,u=e[l],s=l+1,c=e[s];if(0>i(u,n))s<o&&0>i(c,u)?(e[r]=c,e[s]=n,r=s):(e[r]=u,e[l]=n,r=l);else if(s<o&&0>i(c,n))e[r]=c,e[s]=n,r=s;else break}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if(e(t.exports,"unstable_now",function(){return l},function(e){return l=e}),e(t.exports,"unstable_IdlePriority",function(){return u},function(e){return u=e}),e(t.exports,"unstable_ImmediatePriority",function(){return s},function(e){return s=e}),e(t.exports,"unstable_LowPriority",function(){return c},function(e){return c=e}),e(t.exports,"unstable_NormalPriority",function(){return f},function(e){return f=e}),e(t.exports,"unstable_Profiling",function(){return d},function(e){return d=e}),e(t.exports,"unstable_UserBlockingPriority",function(){return p},function(e){return p=e}),e(t.exports,"unstable_cancelCallback",function(){return m},function(e){return m=e}),e(t.exports,"unstable_continueExecution",function(){return h},function(e){return h=e}),e(t.exports,"unstable_forceFrameRate",function(){return g},function(e){return g=e}),e(t.exports,"unstable_getCurrentPriorityLevel",function(){return v},function(e){return v=e}),e(t.exports,"unstable_getFirstCallbackNode",function(){return y},function(e){return y=e}),e(t.exports,"unstable_next",function(){return b},function(e){return b=e}),e(t.exports,"unstable_pauseExecution",function(){return w},function(e){return w=e}),e(t.exports,"unstable_requestPaint",function(){return k},function(e){return k=e}),e(t.exports,"unstable_runWithPriority",function(){return x},function(e){return x=e}),e(t.exports,"unstable_scheduleCallback",function(){return S},function(e){return S=e}),e(t.exports,"unstable_shouldYield",function(){return E},function(e){return E=e}),e(t.exports,"unstable_wrapCallback",function(){return _},function(e){return _=e}),"object"==typeof performance&&"function"==typeof performance.now){var l,u,s,c,f,d,p,m,h,g,v,y,b,w,k,x,S,E,_,C,P=performance;l=function(){return P.now()}}else{var T=Date,L=T.now();l=function(){return T.now()-L}}var N=[],z=[],R=1,M=null,O=3,F=!1,I=!1,D=!1,j="function"==typeof setTimeout?setTimeout:null,A="function"==typeof clearTimeout?clearTimeout:null,B="undefined"!=typeof setImmediate?setImmediate:null;function U(e){for(var t=o(z);null!==t;){if(null===t.callback)a(z);else if(t.startTime<=e)a(z),t.sortIndex=t.expirationTime,r(N,t);else break;t=o(z)}}function $(e){if(D=!1,U(e),!I){if(null!==o(N))I=!0,J(V);else{var t=o(z);null!==t&&ee($,t.startTime-e)}}}function V(e,t){I=!1,D&&(D=!1,A(q),q=-1),F=!0;var n=O;try{for(U(t),M=o(N);null!==M&&(!(M.expirationTime>t)||e&&!Y());){var r=M.callback;if("function"==typeof r){M.callback=null,O=M.priorityLevel;var i=r(M.expirationTime<=t);t=l(),"function"==typeof i?M.callback=i:M===o(N)&&a(N),U(t)}else a(N);M=o(N)}if(null!==M)var u=!0;else{var s=o(z);null!==s&&ee($,s.startTime-t),u=!1}return u}finally{M=null,O=n,F=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var H=!1,W=null,q=-1,Q=5,X=-1;function Y(){return!(l()-X<Q)}function K(){if(null!==W){var e=l();X=e;var t=!0;try{t=W(!0,e)}finally{t?C():(H=!1,W=null)}}else H=!1}if("function"==typeof B)C=function(){B(K)};else if("undefined"!=typeof MessageChannel){var G=new MessageChannel,Z=G.port2;G.port1.onmessage=K,C=function(){Z.postMessage(null)}}else C=function(){j(K,0)};function J(e){W=e,H||(H=!0,C())}function ee(e,t){q=j(function(){e(l())},t)}u=5,s=1,c=4,f=3,d=null,p=2,m=function(e){e.callback=null},h=function(){I||F||(I=!0,J(V))},g=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Q=0<e?Math.floor(1e3/e):5},v=function(){return O},y=function(){return o(N)},b=function(e){switch(O){case 1:case 2:case 3:var t=3;break;default:t=O}var n=O;O=t;try{return e()}finally{O=n}},w=function(){},k=function(){},x=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=O;O=e;try{return t()}finally{O=n}},S=function(e,t,n){var a=l();switch(n="object"==typeof n&&null!==n&&"number"==typeof(n=n.delay)&&0<n?a+n:a,e){case 1:var i=-1;break;case 2:i=250;break;case 5:i=1073741823;break;case 4:i=1e4;break;default:i=5e3}return i=n+i,e={id:R++,callback:t,priorityLevel:e,startTime:n,expirationTime:i,sortIndex:-1},n>a?(e.sortIndex=n,r(z,e),null===o(N)&&e===o(z)&&(D?(A(q),q=-1):D=!0,ee($,n-a))):(e.sortIndex=i,r(N,e),I||F||(I=!0,J(V))),e},E=Y,_=function(e){var t=O;return function(){var n=O;O=t;try{return e.apply(this,arguments)}finally{O=n}}}}),m.register("avYnK",function(t,n){e(t.exports,"useSyncExternalStore",function(){return r},function(e){return r=e});var r,o=m("7fPBF"),a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=o.useState,l=o.useEffect,u=o.useLayoutEffect,s=o.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!a(e,n)}catch(e){return!0}}var f="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),o=r[0].inst,a=r[1];return u(function(){o.value=n,o.getSnapshot=t,c(o)&&a({inst:o})},[e,n,t]),l(function(){return c(o)&&a({inst:o}),e(function(){c(o)&&a({inst:o})})},[e]),s(n),n};r=void 0!==o.useSyncExternalStore?o.useSyncExternalStore:f}),m.register("1gT5S",function(t,n){e(t.exports,"useSyncExternalStoreWithSelector",function(){return r},function(e){return r=e});var r,o=m("7fPBF"),a=m("hL6ll"),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},l=a.useSyncExternalStore,u=o.useRef,s=o.useEffect,c=o.useMemo,f=o.useDebugValue;r=function(e,t,n,r,o){var a=u(null);if(null===a.current){var d={hasValue:!1,value:null};a.current=d}else d=a.current;a=c(function(){function e(e){if(!u){if(u=!0,a=e,e=r(e),void 0!==o&&d.hasValue){var t=d.value;if(o(t,e))return l=t}return l=e}if(t=l,i(a,e))return t;var n=r(e);return void 0!==o&&o(t,n)?t:(a=e,l=n)}var a,l,u=!1,s=void 0===n?null:n;return[function(){return e(t())},null===s?void 0:function(){return e(s())}]},[t,n,r,o]);var p=l(e,a[0],a[1]);return s(function(){d.hasValue=!0,d.value=p},[p]),f(p),p}}),m.register("hL6ll",function(e,t){e.exports=m("avYnK")}),m.register("45MkT",function(t,n){e(t.exports,"AsyncMode",function(){return r},function(e){return r=e}),e(t.exports,"ConcurrentMode",function(){return o},function(e){return o=e}),e(t.exports,"ContextConsumer",function(){return a},function(e){return a=e}),e(t.exports,"ContextProvider",function(){return i},function(e){return i=e}),e(t.exports,"Element",function(){return l},function(e){return l=e}),e(t.exports,"ForwardRef",function(){return u},function(e){return u=e}),e(t.exports,"Fragment",function(){return s},function(e){return s=e}),e(t.exports,"Lazy",function(){return c},function(e){return c=e}),e(t.exports,"Memo",function(){return f},function(e){return f=e}),e(t.exports,"Portal",function(){return d},function(e){return d=e}),e(t.exports,"Profiler",function(){return p},function(e){return p=e}),e(t.exports,"StrictMode",function(){return m},function(e){return m=e}),e(t.exports,"Suspense",function(){return h},function(e){return h=e}),e(t.exports,"isAsyncMode",function(){return g},function(e){return g=e}),e(t.exports,"isConcurrentMode",function(){return v},function(e){return v=e}),e(t.exports,"isContextConsumer",function(){return y},function(e){return y=e}),e(t.exports,"isContextProvider",function(){return b},function(e){return b=e}),e(t.exports,"isElement",function(){return w},function(e){return w=e}),e(t.exports,"isForwardRef",function(){return k},function(e){return k=e}),e(t.exports,"isFragment",function(){return x},function(e){return x=e}),e(t.exports,"isLazy",function(){return S},function(e){return S=e}),e(t.exports,"isMemo",function(){return E},function(e){return E=e}),e(t.exports,"isPortal",function(){return _},function(e){return _=e}),e(t.exports,"isProfiler",function(){return C},function(e){return C=e}),e(t.exports,"isStrictMode",function(){return P},function(e){return P=e}),e(t.exports,"isSuspense",function(){return T},function(e){return T=e}),e(t.exports,"isValidElementType",function(){return L},function(e){return L=e}),e(t.exports,"typeOf",function(){return N},function(e){return N=e});var r,o,a,i,l,u,s,c,f,d,p,m,h,g,v,y,b,w,k,x,S,E,_,C,P,T,L,N,z="function"==typeof Symbol&&Symbol.for,R=z?Symbol.for("react.element"):60103,M=z?Symbol.for("react.portal"):60106,O=z?Symbol.for("react.fragment"):60107,F=z?Symbol.for("react.strict_mode"):60108,I=z?Symbol.for("react.profiler"):60114,D=z?Symbol.for("react.provider"):60109,j=z?Symbol.for("react.context"):60110,A=z?Symbol.for("react.async_mode"):60111,B=z?Symbol.for("react.concurrent_mode"):60111,U=z?Symbol.for("react.forward_ref"):60112,$=z?Symbol.for("react.suspense"):60113,V=z?Symbol.for("react.suspense_list"):60120,H=z?Symbol.for("react.memo"):60115,W=z?Symbol.for("react.lazy"):60116,q=z?Symbol.for("react.block"):60121,Q=z?Symbol.for("react.fundamental"):60117,X=z?Symbol.for("react.responder"):60118,Y=z?Symbol.for("react.scope"):60119;function K(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case R:switch(e=e.type){case A:case B:case O:case I:case F:case $:return e;default:switch(e=e&&e.$$typeof){case j:case U:case W:case H:case D:return e;default:return t}}case M:return t}}}function G(e){return K(e)===B}r=A,o=B,a=j,i=D,l=R,u=U,s=O,c=W,f=H,d=M,p=I,m=F,h=$,g=function(e){return G(e)||K(e)===A},v=G,y=function(e){return K(e)===j},b=function(e){return K(e)===D},w=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===R},k=function(e){return K(e)===U},x=function(e){return K(e)===O},S=function(e){return K(e)===W},E=function(e){return K(e)===H},_=function(e){return K(e)===M},C=function(e){return K(e)===I},P=function(e){return K(e)===F},T=function(e){return K(e)===$},L=function(e){return"string"==typeof e||"function"==typeof e||e===O||e===B||e===I||e===F||e===$||e===V||"object"==typeof e&&null!==e&&(e.$$typeof===W||e.$$typeof===H||e.$$typeof===D||e.$$typeof===j||e.$$typeof===U||e.$$typeof===Q||e.$$typeof===X||e.$$typeof===Y||e.$$typeof===q)},N=K}),m.register("awO3n",function(t,n){e(t.exports,"ContextConsumer",function(){return r},function(e){return r=e}),e(t.exports,"ContextProvider",function(){return o},function(e){return o=e}),e(t.exports,"Element",function(){return a},function(e){return a=e}),e(t.exports,"ForwardRef",function(){return i},function(e){return i=e}),e(t.exports,"Fragment",function(){return l},function(e){return l=e}),e(t.exports,"Lazy",function(){return u},function(e){return u=e}),e(t.exports,"Memo",function(){return s},function(e){return s=e}),e(t.exports,"Portal",function(){return c},function(e){return c=e}),e(t.exports,"Profiler",function(){return f},function(e){return f=e}),e(t.exports,"StrictMode",function(){return d},function(e){return d=e}),e(t.exports,"Suspense",function(){return p},function(e){return p=e}),e(t.exports,"SuspenseList",function(){return m},function(e){return m=e}),e(t.exports,"isAsyncMode",function(){return h},function(e){return h=e}),e(t.exports,"isConcurrentMode",function(){return g},function(e){return g=e}),e(t.exports,"isContextConsumer",function(){return v},function(e){return v=e}),e(t.exports,"isContextProvider",function(){return y},function(e){return y=e}),e(t.exports,"isElement",function(){return b},function(e){return b=e}),e(t.exports,"isForwardRef",function(){return w},function(e){return w=e}),e(t.exports,"isFragment",function(){return k},function(e){return k=e}),e(t.exports,"isLazy",function(){return x},function(e){return x=e}),e(t.exports,"isMemo",function(){return S},function(e){return S=e}),e(t.exports,"isPortal",function(){return E},function(e){return E=e}),e(t.exports,"isProfiler",function(){return _},function(e){return _=e}),e(t.exports,"isStrictMode",function(){return C},function(e){return C=e}),e(t.exports,"isSuspense",function(){return P},function(e){return P=e}),e(t.exports,"isSuspenseList",function(){return T},function(e){return T=e}),e(t.exports,"isValidElementType",function(){return L},function(e){return L=e}),e(t.exports,"typeOf",function(){return N},function(e){return N=e});var r,o,a,i,l,u,s,c,f,d,p,m,h,g,v,y,b,w,k,x,S,E,_,C,P,T,L,N,z,R=Symbol.for("react.element"),M=Symbol.for("react.portal"),O=Symbol.for("react.fragment"),F=Symbol.for("react.strict_mode"),I=Symbol.for("react.profiler"),D=Symbol.for("react.provider"),j=Symbol.for("react.context"),A=Symbol.for("react.server_context"),B=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),$=Symbol.for("react.suspense_list"),V=Symbol.for("react.memo"),H=Symbol.for("react.lazy"),W=Symbol.for("react.offscreen");function q(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case R:switch(e=e.type){case O:case I:case F:case U:case $:return e;default:switch(e=e&&e.$$typeof){case A:case j:case B:case H:case V:case D:return e;default:return t}}case M:return t}}}z=Symbol.for("react.module.reference"),r=j,o=D,a=R,i=B,l=O,u=H,s=V,c=M,f=I,d=F,p=U,m=$,h=function(){return!1},g=function(){return!1},v=function(e){return q(e)===j},y=function(e){return q(e)===D},b=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===R},w=function(e){return q(e)===B},k=function(e){return q(e)===O},x=function(e){return q(e)===H},S=function(e){return q(e)===V},E=function(e){return q(e)===M},_=function(e){return q(e)===I},C=function(e){return q(e)===F},P=function(e){return q(e)===U},T=function(e){return q(e)===$},L=function(e){return"string"==typeof e||"function"==typeof e||e===O||e===I||e===F||e===U||e===$||e===W||"object"==typeof e&&null!==e&&(e.$$typeof===H||e.$$typeof===V||e.$$typeof===D||e.$$typeof===j||e.$$typeof===B||e.$$typeof===z||void 0!==e.getModuleId)},N=q}),m.register("25LWe",function(r,o){n(r.exports),e(r.exports,"default",function(){return a});var a=t(m("5G4ql"))}),m.register("5G4ql",function(e,t){var n=m("14iG4");function r(e,t){var r,o,a,i=null;if(!e||"string"!=typeof e)return i;for(var l=n(e),u="function"==typeof t,s=0,c=l.length;s<c;s++)o=(r=l[s]).property,a=r.value,u?t(o,a,r):a&&(i||(i={}),i[o]=a);return i}e.exports=r,e.exports.default=r}),m.register("14iG4",function(e,t){var n=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,o=/^\s*/,a=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,l=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,u=/^[;\s]*/,s=/^\s+|\s+$/g;function c(e){return e?e.replace(s,""):""}e.exports=function(e,t){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];t=t||{};var s=1,f=1;function d(e){var t=e.match(r);t&&(s+=t.length);var n=e.lastIndexOf("\n");f=~n?e.length-n:f+e.length}function p(){var e={line:s,column:f};return function(t){return t.position=new m(e),v(o),t}}function m(e){this.start=e,this.end={line:s,column:f},this.source=t.source}m.prototype.content=e;var h=[];function g(n){var r=Error(t.source+":"+s+":"+f+": "+n);if(r.reason=n,r.filename=t.source,r.line=s,r.column=f,r.source=e,t.silent)h.push(r);else throw r}function v(t){var n=t.exec(e);if(n){var r=n[0];return d(r),e=e.slice(r.length),n}}function y(e){var t;for(e=e||[];t=b();)!1!==t&&e.push(t);return e}function b(){var t=p();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;""!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return g("End of comment missing");var r=e.slice(2,n-2);return f+=2,d(r),e=e.slice(n),f+=2,t({type:"comment",comment:r})}}return v(o),function(){var e,t=[];for(y(t);e=function(){var e=p(),t=v(a);if(t){if(b(),!v(i))return g("property missing ':'");var r=v(l),o=e({type:"declaration",property:c(t[0].replace(n,"")),value:r?c(r[0].replace(n,"")):""});return v(u),o}}();)!1!==e&&(t.push(e),y(t));return t}()}}),m.register("2TViE",function(e,t){e.exports=import("./"+m("4SSe9").resolve("ltKV1")).then(()=>m("9J8mI"))}),m.register("eDEMR",function(e,t){e.exports=import("./"+m("4SSe9").resolve("gBuEv")).then(()=>m("gLiW1"))});var h={};h=m("2nzLi");var g=m("7fPBF"),v={};!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),v=m("6EA3T"),m("7fPBF");var y=m("hL6ll"),b={};b=m("1gT5S");let w=function(e){e()};const k=()=>w;var g=(m("7fPBF"),m("7fPBF"),m("7fPBF"));const x=Symbol.for(`react-redux-context-${g.version}`),S=globalThis,E=new Proxy({},new Proxy({},{get(e,t){let n;let r=((n=S[x])||(n=(0,g.createContext)(null),S[x]=n),n);return(e,...n)=>Reflect[t](r,...n)}}));function _(e=E){return function(){let t=(0,g.useContext)(e);return t}}const C=_();let P=()=>{throw Error("uSES not initialized!")};const T=(e,t)=>e===t,L=function(e=E){let t=e===E?C:_(e);return function(e,n={}){let{equalityFn:r=T,stabilityCheck:o,noopCheck:a}="function"==typeof n?{equalityFn:n}:n,{store:i,subscription:l,getServerState:u,stabilityCheck:s,noopCheck:c}=t();(0,g.useRef)(!0);let f=(0,g.useCallback)({[e.name](t){let n=e(t);return n}}[e.name],[e,s,o]),d=P(l.addNestedSub,i.getState,u||i.getState,f,r);return(0,g.useDebugValue)(d),d}}();var N={};N=m("45MkT");var z={};z[N.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},z[N.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0};var g=m("7fPBF");m("awO3n");const R={notify(){},get:()=>[]};var g=m("7fPBF");const M=!!("undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement),O=M?g.useLayoutEffect:g.useEffect;var g=m("7fPBF"),F=function({store:e,context:n,children:r,serverState:o,stabilityCheck:a="once",noopCheck:i="once"}){let l=(0,g.useMemo)(()=>{let t=function(e,t){let n;let r=R;function o(){i.onStateChange&&i.onStateChange()}function a(){n||(n=t?t.addNestedSub(o):e.subscribe(o),r=function(){let e=k(),t=null,n=null;return{clear(){t=null,n=null},notify(){e(()=>{let e=t;for(;e;)e.callback(),e=e.next})},get(){let e=[],n=t;for(;n;)e.push(n),n=n.next;return e},subscribe(e){let r=!0,o=n={callback:e,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){r&&null!==t&&(r=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}())}let i={addNestedSub:function(e){return a(),r.subscribe(e)},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:o,isSubscribed:function(){return!!n},trySubscribe:a,tryUnsubscribe:function(){n&&(n(),n=void 0,r.clear(),r=R)},getListeners:()=>r};return i}(e);return{store:e,subscription:t,getServerState:o?()=>o:void 0,stabilityCheck:a,noopCheck:i}},[e,o,a,i]),u=(0,g.useMemo)(()=>e.getState(),[e]);return O(()=>{let{subscription:t}=l;return t.onStateChange=t.notifyNestedSubs,t.trySubscribe(),u!==e.getState()&&t.notifyNestedSubs(),()=>{t.tryUnsubscribe(),t.onStateChange=void 0}},[l,u]),t(g).createElement((n||E).Provider,{value:l},r)};P=b.useSyncExternalStoreWithSelector,y.useSyncExternalStore,w=v.unstable_batchedUpdates,m("7fPBF");var g=(m("7fPBF"),m("7fPBF"));function I(){return(I=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)}var D=function(e,t){void 0===t&&(t=!0),(0,g.useEffect)(function(){if(t){var n=function(t){"Escape"===t.key&&e(t)};return document.addEventListener("keyup",n),function(){t&&document.removeEventListener("keyup",n)}}},[e,t])},j=function(e,t){void 0===t&&(t=!0),(0,g.useEffect)(function(){if(t){var n=function(){e()};return window.addEventListener("resize",n),function(){t&&window.removeEventListener("resize",n)}}},[e,t])},A=function(e,t,n){void 0===n&&(n=!0),(0,g.useEffect)(function(){if(n){var r=function(n){var r=Array.isArray(e)?e:[e],o=!1;r.forEach(function(e){if(!e.current||e.current.contains(n.target)){o=!0;return}}),n.stopPropagation(),o||t(n)};return document.addEventListener("mousedown",r),document.addEventListener("touchstart",r),function(){n&&(document.removeEventListener("mousedown",r),document.removeEventListener("touchstart",r))}}},[e,t,n])},B=function(e,t){void 0===t&&(t=!0),(0,g.useEffect)(function(){if(t){var n=function(t){if(9===t.keyCode){var n,r=null==e?void 0:null===(n=e.current)||void 0===n?void 0:n.querySelectorAll('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex="0"]'),o=Array.prototype.slice.call(r);if(1===o.length){t.preventDefault();return}var a=o[0],i=o[o.length-1];t.shiftKey&&document.activeElement===a?(t.preventDefault(),i.focus()):document.activeElement===i&&(t.preventDefault(),a.focus())}};return document.addEventListener("keydown",n),function(){t&&document.removeEventListener("keydown",n)}}},[e,t])},U="undefined"!=typeof window?g.useLayoutEffect:g.useEffect,$={popupContent:{tooltip:{position:"absolute",zIndex:999},modal:{position:"relative",margin:"auto"}},popupArrow:{height:"8px",width:"16px",position:"absolute",background:"transparent",color:"#FFF",zIndex:-1},overlay:{tooltip:{position:"fixed",top:"0",bottom:"0",left:"0",right:"0",zIndex:999},modal:{position:"fixed",top:"0",bottom:"0",left:"0",right:"0",display:"flex",zIndex:999}}},V=["top left","top center","top right","right top","right center","right bottom","bottom left","bottom center","bottom right","left top","left center","left bottom"],H=function(e,t,n,r,o){var a=o.offsetX,i=o.offsetY,l=r?8:0,u=n.split(" "),s=e.top+e.height/2,c=e.left+e.width/2,f=t.height,d=t.width,p=s-f/2,m=c-d/2,h="",g="0%",v="0%";switch(u[0]){case"top":p-=f/2+e.height/2+l,h="rotate(180deg) translateX(50%)",g="100%",v="50%";break;case"bottom":p+=f/2+e.height/2+l,h="rotate(0deg) translateY(-100%) translateX(-50%)",v="50%";break;case"left":m-=d/2+e.width/2+l,h=" rotate(90deg) translateY(50%) translateX(-25%)",v="100%",g="50%";break;case"right":m+=d/2+e.width/2+l,h="rotate(-90deg) translateY(-150%) translateX(25%)",g="50%"}switch(u[1]){case"top":p=e.top,g=e.height/2+"px";break;case"bottom":p=e.top-f+e.height,g=f-e.height/2+"px";break;case"left":m=e.left,v=e.width/2+"px";break;case"right":m=e.left-d+e.width,v=d-e.width/2+"px"}return{top:p="top"===u[0]?p-i:p+i,left:m="left"===u[0]?m-a:m+a,transform:h,arrowLeft:v,arrowTop:g}},W=function(e){var t={top:0,left:0,width:window.innerWidth,height:window.innerHeight};if("string"==typeof e){var n=document.querySelector(e);null!==n&&(t=n.getBoundingClientRect())}return t},q=function(e,t,n,r,o,a){var i=o.offsetX,l=o.offsetY,u={arrowLeft:"0%",arrowTop:"0%",left:0,top:0,transform:"rotate(135deg)"},s=0,c=W(a),f=Array.isArray(n)?n:[n];for((a||Array.isArray(n))&&(f=[].concat(f,V));s<f.length;){var d={top:(u=H(e,t,f[s],r,{offsetX:i,offsetY:l})).top,left:u.left,width:t.width,height:t.height};if(d.top<=c.top||d.left<=c.left||d.top+d.height>=c.top+c.height||d.left+d.width>=c.left+c.width)s++;else break}return u},Q=0,X=function(){var e=document.getElementById("popup-root");return null===e&&((e=document.createElement("div")).setAttribute("id","popup-root"),document.body.appendChild(e)),e},Y=(0,g.forwardRef)(function(e,n){var r=e.trigger,o=void 0===r?null:r,a=e.onOpen,i=void 0===a?function(){}:a,l=e.onClose,u=void 0===l?function(){}:l,s=e.defaultOpen,c=e.open,f=void 0===c?void 0:c,d=e.disabled,p=void 0!==d&&d,m=e.nested,h=void 0!==m&&m,y=e.closeOnDocumentClick,b=void 0===y||y,w=e.repositionOnResize,k=void 0===w||w,x=e.closeOnEscape,S=void 0===x||x,E=e.on,_=void 0===E?["click"]:E,C=e.contentStyle,P=void 0===C?{}:C,T=e.arrowStyle,L=void 0===T?{}:T,N=e.overlayStyle,z=void 0===N?{}:N,R=e.className,M=void 0===R?"":R,O=e.position,F=void 0===O?"bottom center":O,V=e.modal,H=void 0!==V&&V,W=e.lockScroll,Y=void 0!==W&&W,K=e.arrow,G=void 0===K||K,Z=e.offsetX,J=void 0===Z?0:Z,ee=e.offsetY,et=void 0===ee?0:ee,en=e.mouseEnterDelay,er=void 0===en?100:en,eo=e.mouseLeaveDelay,ea=void 0===eo?100:eo,ei=e.keepTooltipInside,el=void 0!==ei&&ei,eu=e.children,es=(0,g.useState)(f||void 0!==s&&s),ec=es[0],ef=es[1],ed=(0,g.useRef)(null),ep=(0,g.useRef)(null),em=(0,g.useRef)(null),eh=(0,g.useRef)(null),eg=(0,g.useRef)("popup-"+ ++Q),ev=!!H||!o,ey=(0,g.useRef)(0);U(function(){return ec?(eh.current=document.activeElement,eT(),eP(),e_()):eC(),function(){clearTimeout(ey.current)}},[ec]),(0,g.useEffect)(function(){"boolean"==typeof f&&(f?eb():ew())},[f,p]);var eb=function(e){ec||p||(ef(!0),setTimeout(function(){return i(e)},0))},ew=function(e){var t;ec&&!p&&(ef(!1),ev&&(null===(t=eh.current)||void 0===t||t.focus()),setTimeout(function(){return u(e)},0))},ek=function(e){null==e||e.stopPropagation(),ec?ew(e):eb(e)},ex=function(e){clearTimeout(ey.current),ey.current=setTimeout(function(){return eb(e)},er)},eS=function(e){null==e||e.preventDefault(),ek()},eE=function(e){clearTimeout(ey.current),ey.current=setTimeout(function(){return ew(e)},ea)},e_=function(){ev&&Y&&(document.getElementsByTagName("body")[0].style.overflow="hidden")},eC=function(){ev&&Y&&(document.getElementsByTagName("body")[0].style.overflow="auto")},eP=function(){var e,t=null==ep?void 0:null===(e=ep.current)||void 0===e?void 0:e.querySelectorAll('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex="0"]'),n=Array.prototype.slice.call(t)[0];null==n||n.focus()};(0,g.useImperativeHandle)(n,function(){return{open:function(){eb()},close:function(){ew()},toggle:function(){ek()}}});var eT=function(){if(!ev&&ec&&(null==ed?void 0:ed.current)&&(null==ed?void 0:ed.current)&&(null==ep?void 0:ep.current)){var e,t,n=q(ed.current.getBoundingClientRect(),ep.current.getBoundingClientRect(),F,G,{offsetX:J,offsetY:et},el);ep.current.style.top=n.top+window.scrollY+"px",ep.current.style.left=n.left+window.scrollX+"px",G&&em.current&&(em.current.style.transform=n.transform,em.current.style.setProperty("-ms-transform",n.transform),em.current.style.setProperty("-webkit-transform",n.transform),em.current.style.top=(null===(e=L.top)||void 0===e?void 0:e.toString())||n.arrowTop,em.current.style.left=(null===(t=L.left)||void 0===t?void 0:t.toString())||n.arrowLeft)}};D(ew,S),B(ep,ec&&ev),j(eT,k),A(o?[ep,ed]:[ep],ew,b&&!h);var eL=function(){var e=ev?$.popupContent.modal:$.popupContent.tooltip,t={className:"popup-content "+(""!==M?M.split(" ").map(function(e){return e+"-content"}).join(" "):""),style:I({},e,P,{pointerEvents:"auto"}),ref:ep,onClick:function(e){e.stopPropagation()}};return!H&&_.indexOf("hover")>=0&&(t.onMouseEnter=ex,t.onMouseLeave=eE),t},eN=function(){return t(g).createElement("div",Object.assign({},eL(),{key:"C",role:ev?"dialog":"tooltip",id:eg.current}),G&&!ev&&t(g).createElement("div",{ref:em,style:$.popupArrow},t(g).createElement("svg",{"data-testid":"arrow",className:"popup-arrow "+(""!==M?M.split(" ").map(function(e){return e+"-arrow"}).join(" "):""),viewBox:"0 0 32 16",style:I({position:"absolute"},L)},t(g).createElement("path",{d:"M16 0l16 16H0z",fill:"currentcolor"}))),eu&&"function"==typeof eu?eu(ew,ec):eu)},ez=!(_.indexOf("hover")>=0),eR=ev?$.overlay.modal:$.overlay.tooltip,eM=[ez&&t(g).createElement("div",{key:"O","data-testid":"overlay","data-popup":ev?"modal":"tooltip",className:"popup-overlay "+(""!==M?M.split(" ").map(function(e){return e+"-overlay"}).join(" "):""),style:I({},eR,z,{pointerEvents:b&&h||ev?"auto":"none"}),onClick:b&&h?ew:void 0,tabIndex:-1},ev&&eN()),!ev&&eN()];return t(g).createElement(t(g).Fragment,null,function(){for(var e={key:"T",ref:ed,"aria-describedby":eg.current},n=Array.isArray(_)?_:[_],r=0,a=n.length;r<a;r++)switch(n[r]){case"click":e.onClick=ek;break;case"right-click":e.onContextMenu=eS;break;case"hover":e.onMouseEnter=ex,e.onMouseLeave=eE;break;case"focus":e.onFocus=ex,e.onBlur=eE}if("function"==typeof o){var i=o(ec);return!!o&&t(g).cloneElement(i,e)}return!!o&&t(g).cloneElement(o,e)}(),ec&&t(v).createPortal(eM,X()))});function K(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var G="function"==typeof Symbol&&Symbol.observable||"@@observable",Z=function(){return Math.random().toString(36).substring(7).split("").join(".")},J={INIT:"@@redux/INIT"+Z(),REPLACE:"@@redux/REPLACE"+Z(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Z()}};const ee={minDate:new Date("2010-01-01"),maxDate:new Date,selectedStartDate:new Date(Date.now()-307584e5),selectedEndDate:new Date},et={timestamp:null,timeline:ee,incidents:null,selectedIncident:null,selectedRegion:"global",visibleIncidents:[]},en=function e(t,n,r){if("function"==typeof n&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw Error(K(0));if("function"==typeof n&&void 0===r&&(r=n,n=void 0),void 0!==r){if("function"!=typeof r)throw Error(K(1));return r(e)(t,n)}if("function"!=typeof t)throw Error(K(2));var o,a=t,i=n,l=[],u=l,s=!1;function c(){u===l&&(u=l.slice())}function f(){if(s)throw Error(K(3));return i}function d(e){if("function"!=typeof e)throw Error(K(4));if(s)throw Error(K(5));var t=!0;return c(),u.push(e),function(){if(t){if(s)throw Error(K(6));t=!1,c();var n=u.indexOf(e);u.splice(n,1),l=null}}}function p(e){if(!function(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}(e))throw Error(K(7));if(void 0===e.type)throw Error(K(8));if(s)throw Error(K(9));try{s=!0,i=a(i,e)}finally{s=!1}for(var t=l=u,n=0;n<t.length;n++)(0,t[n])();return e}return p({type:J.INIT}),(o={dispatch:p,subscribe:d,getState:f,replaceReducer:function(e){if("function"!=typeof e)throw Error(K(10));a=e,p({type:J.REPLACE})}})[G]=function(){var e;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw Error(K(11));function t(){e.next&&e.next(f())}return t(),{unsubscribe:d(t)}}})[G]=function(){return this},e},o}((e=et,t)=>{switch(t.type){case"SET_INCIDENTS":return{...e,incidents:t.incidents,timestamp:new Date(t.timestamp)};case"SET_REGION":return{...e,selectedRegion:t.region};case"SET_INCIDENT":return{...e,selectedIncident:t.incident};case"SET_TIMELINE_START":return{...e,timeline:{...e.timeline,selectedStartDate:t.start}};case"SET_TIMELINE_END":return{...e,timeline:{...e.timeline,selectedEndDate:t.end}};case"ADD_VISIBLE_INCIDENT":let{visibleIncidents:n}=e;return{...e,visibleIncidents:[...n,t.incidentName]};case"REMOVE_VISIBLE_INCIDENT":let r=[...e.visibleIncidents],o=r.indexOf(t.incidentName);return o>-1&&r.splice(o,1),{...e,visibleIncidents:r};default:return e}},window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__()),er=(e,t)=>{en.dispatch({type:"SET_INCIDENTS",incidents:e,timestamp:t})},eo=e=>{en.dispatch({type:"SET_INCIDENT",incident:e})},ea=e=>{en.dispatch({type:"ADD_VISIBLE_INCIDENT",incidentName:e})},ei=e=>{en.dispatch({type:"REMOVE_VISIBLE_INCIDENT",incidentName:e})};var g=m("7fPBF");const el=e=>e.incidents,eu=e=>e.timeline.selectedStartDate,es=e=>e.timeline.selectedEndDate,ec=e=>e.selectedRegion,ef=(e,t)=>e&&t&&e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate();var ed=()=>{let e=L(el),t=L(eu),n=L(es),r=L(ec),o=(0,g.useMemo)(()=>{if(!e)return null;let o=null;return e.filter(e=>Object.values(e.coordinates).length>0&&e.timestamp>=t&&e.timestamp<=n&&("global"===r||e.regions&&e.regions.includes(r))).map(e=>{let t=!ef(o,e.timestamp);return o=e.timestamp,{...e,firstOfDate:t}})},[e,t,n,r]);return o};function ep({name:e,children:t,inline:n}){let r=function(e){let t=0;for(var n=0;n<e.length;n++)t=e.charCodeAt(n)+((t<<5)-t);return t}(e),o=`hsl(${r%360}, 70%, 50%)`,a=e[0],i=`${a}${r}${n?"-inline":""}`;return(0,h.jsxs)("span",{className:"location-marker",children:[(0,h.jsxs)("svg",{viewBox:"0 0 10 14",xmlns:"http://www.w3.org/2000/svg",children:[(0,h.jsx)("defs",{children:(0,h.jsxs)("mask",{id:i,children:[(0,h.jsx)("path",{d:"m-1-1h12v16h-12z",fill:"white"}),(0,h.jsx)("text",{className:"location-marker__text",x:"5",y:"8",children:a})]})}),(0,h.jsx)("path",{d:"m0 5a5 5 0 1 1 10 0c0 3.025-3.28 6.713-5 9-1.72-2.287-5-5.975-5-9z",fill:o,mask:`url(#${i})`})]}),t]})}m("7fPBF"),m("7fPBF");var g=m("7fPBF"),em=Object.defineProperty,eh=new Map,eg=new WeakMap,ev=0,ey=void 0;function eb({name:e,url:t}){let{ref:n}=function({threshold:e,delay:t,trackVisibility:n,rootMargin:r,root:o,triggerOnce:a,skip:i,initialInView:l,fallbackInView:u,onChange:s}={}){var c;let[f,d]=g.useState(null),p=g.useRef(),[m,h]=g.useState({inView:!!l,entry:void 0});p.current=s,g.useEffect(()=>{let l;if(!i&&f)return l=function(e,t,n={},r=ey){if(void 0===window.IntersectionObserver&&void 0!==r){let o=e.getBoundingClientRect();return t(r,{isIntersecting:r,target:e,intersectionRatio:"number"==typeof n.threshold?n.threshold:0,time:0,boundingClientRect:o,intersectionRect:o,rootBounds:o}),()=>{}}let{id:o,observer:a,elements:i}=function(e){let t=Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>{var n;return`${t}_${"root"===t?(n=e.root)?(eg.has(n)||(ev+=1,eg.set(n,ev.toString())),eg.get(n)):"0":e[t]}`}).toString(),n=eh.get(t);if(!n){let r;let o=new Map,a=new IntersectionObserver(t=>{t.forEach(t=>{var n;let a=t.isIntersecting&&r.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=a),null==(n=o.get(t.target))||n.forEach(e=>{e(a,t)})})},e);r=a.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:a,elements:o},eh.set(t,n)}return n}(n),l=i.get(e)||[];return i.has(e)||i.set(e,l),l.push(t),a.observe(e),function(){l.splice(l.indexOf(t),1),0===l.length&&(i.delete(e),a.unobserve(e)),0===i.size&&(a.disconnect(),eh.delete(o))}}(f,(e,t)=>{h({inView:e,entry:t}),p.current&&p.current(e,t),t.isIntersecting&&a&&l&&(l(),l=void 0)},{root:o,rootMargin:r,threshold:e,trackVisibility:n,delay:t},u),()=>{l&&l()}},[Array.isArray(e)?e.toString():e,f,o,r,a,i,n,u,t]);let v=null==(c=m.entry)?void 0:c.target,y=g.useRef();f||!v||a||i||y.current===v||(y.current=v,h({inView:!!l,entry:void 0}));let b=[d,m.inView,m.entry];return b.ref=b[0],b.inView=b[1],b.entry=b[2],b}({onChange:t=>{t?ea(e):ei(e)}});return(0,h.jsx)(ep,{name:e,inline:!0,children:(0,h.jsx)("a",{ref:n,href:t,children:e})})}g.Component,m("7fPBF");var ew=({close:e})=>(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("h1",{children:"About"}),(0,h.jsxs)("p",{children:[(0,h.jsx)("a",{href:"#",onClick:e,children:"global-conflicts.com"})," is a geovisualization of armed conflicts around the world."]}),(0,h.jsxs)("p",{children:["Data is gathered from the ",(0,h.jsx)("a",{href:"https://en.wikipedia.org/wiki/Portal:Current_events",children:"Wikipedia Current Events Portal"})," in combination with geodata from ",(0,h.jsx)("a",{href:"https://www.wikidata.org",children:"Wikidata"}),"."]}),(0,h.jsx)("p",{children:"The Current Events Portal summarizes current news incidents on a daily basis, together with links to sources and related Wikipedia articles."}),(0,h.jsxs)("p",{children:["The Portal's ",(0,h.jsx)("a",{href:"https://en.wikipedia.org/wiki/Wikipedia:How_the_Current_events_page_works",children:"guidlines"})," strive for ",(0,h.jsx)("a",{href:"https://en.wikipedia.org/wiki/Wikipedia:Neutral_point_of_view",children:"neutral reporting"})," and citing ",(0,h.jsx)("a",{href:"https://en.wikipedia.org/wiki/Wikipedia:Reliable_sources",children:"reliable sources"}),". "]}),(0,h.jsxs)("p",{children:["Copyright by Wikipedia and Wikidata editors and contributors under the under the terms of the ",(0,h.jsx)("a",{href:"https://en.wikipedia.org/wiki/Wikipedia:Text_of_the_Creative_Commons_Attribution-ShareAlike_4.0_International_License",children:"Creative Commons 4.0 License"})," and, unless otherwise noted, the ",(0,h.jsx)("a",{href:"https://en.wikipedia.org/wiki/Wikipedia:Text_of_the_GNU_Free_Documentation_License",children:"GNU Free Documentation License."})]}),(0,h.jsxs)("p",{children:["This project is developed by ",(0,h.jsx)("a",{href:"https://jan-bausch.com/",children:"Jan Bausch"}),", originally as part of a University thesis called \xbb",(0,h.jsx)("a",{href:"https://raw.githubusercontent.com/Global-Conflicts/thesis/master/Thesis.pdf",children:"Geospatial visualization of Wikipedia news reports about armed conflicts"}),"\xab."]}),(0,h.jsxs)("p",{children:["The source code can be found on ",(0,h.jsx)("a",{href:"https://github.com/Global-Conflicts/global-conflicts",children:"Github"}),"."]})]}),ek={};(r=o||(o={})).Root="root",r.Text="text",r.Directive="directive",r.Comment="comment",r.Script="script",r.Style="style",r.Tag="tag",r.CDATA="cdata",r.Doctype="doctype",o.Root,o.Text,o.Directive,o.Comment,o.Script,o.Style,o.Tag,o.CDATA,o.Doctype;class ex{get parentNode(){return this.parent}set parentNode(e){this.parent=e}get previousSibling(){return this.prev}set previousSibling(e){this.prev=e}get nextSibling(){return this.next}set nextSibling(e){this.next=e}cloneNode(e=!1){return ez(this,e)}constructor(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}}class eS extends ex{get nodeValue(){return this.data}set nodeValue(e){this.data=e}constructor(e){super(),this.data=e}}class eE extends eS{get nodeType(){return 3}constructor(){super(...arguments),this.type=o.Text}}class e_ extends eS{get nodeType(){return 8}constructor(){super(...arguments),this.type=o.Comment}}class eC extends eS{get nodeType(){return 1}constructor(e,t){super(t),this.name=e,this.type=o.Directive}}class eP extends ex{get firstChild(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(e){this.children=e}constructor(e){super(),this.children=e}}class eT extends eP{get nodeType(){return 4}constructor(){super(...arguments),this.type=o.CDATA}}class eL extends eP{get nodeType(){return 9}constructor(){super(...arguments),this.type=o.Root}}class eN extends eP{get nodeType(){return 1}get tagName(){return this.name}set tagName(e){this.name=e}get attributes(){return Object.keys(this.attribs).map(e=>{var t,n;return{name:e,value:this.attribs[e],namespace:null===(t=this["x-attribsNamespace"])||void 0===t?void 0:t[e],prefix:null===(n=this["x-attribsPrefix"])||void 0===n?void 0:n[e]}})}constructor(e,t,n=[],r="script"===e?o.Script:"style"===e?o.Style:o.Tag){super(n),this.name=e,this.attribs=t,this.type=r}}function ez(e,t=!1){let n;if(e.type===o.Text)n=new eE(e.data);else if(e.type===o.Comment)n=new e_(e.data);else{if(e.type===o.Tag||e.type===o.Script||e.type===o.Style){let r=t?eR(e.children):[],o=new eN(e.name,{...e.attribs},r);r.forEach(e=>e.parent=o),null!=e.namespace&&(o.namespace=e.namespace),e["x-attribsNamespace"]&&(o["x-attribsNamespace"]={...e["x-attribsNamespace"]}),e["x-attribsPrefix"]&&(o["x-attribsPrefix"]={...e["x-attribsPrefix"]}),n=o}else if(e.type===o.CDATA){let r=t?eR(e.children):[],o=new eT(r);r.forEach(e=>e.parent=o),n=o}else if(e.type===o.Root){let r=t?eR(e.children):[],o=new eL(r);r.forEach(e=>e.parent=o),e["x-mode"]&&(o["x-mode"]=e["x-mode"]),n=o}else if(e.type===o.Directive){let t=new eC(e.name,e.data);null!=e["x-name"]&&(t["x-name"]=e["x-name"],t["x-publicId"]=e["x-publicId"],t["x-systemId"]=e["x-systemId"]),n=t}else throw Error(`Not implemented yet: ${e.type}`)}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function eR(e){let t=e.map(e=>ez(e,!0));for(let e=1;e<t.length;e++)t[e].prev=t[e-1],t[e-1].next=t[e];return t}var eM={};n(eM),e(eM,"default",function(){return e1});var eO={},eF="html",eI="head",eD="body",ej=/<([a-zA-Z]+[0-9]?)/,eA=/<head[^]*>/i,eB=/<body[^]*>/i,eU=function(){throw Error("This browser does not support `document.implementation.createHTMLDocument`")},e$=function(){throw Error("This browser does not support `DOMParser.prototype.parseFromString`")},eV="object"==typeof window&&window.DOMParser;if("function"==typeof eV){var eH=new eV;eU=e$=function(e,t){return t&&(e="<"+t+">"+e+"</"+t+">"),eH.parseFromString(e,"text/html")}}if("object"==typeof document&&document.implementation){var eW=document.implementation.createHTMLDocument();eU=function(e,t){return t?eW.documentElement.querySelector(t).innerHTML=e:eW.documentElement.innerHTML=e,eW}}var eq="object"==typeof document?document.createElement("template"):{};eq.content&&(a=function(e){return eq.innerHTML=e,eq.content.childNodes}),eO=function(e){var t,n,r,o,i=e.match(ej);switch(i&&i[1]&&(t=i[1].toLowerCase()),t){case eF:return n=e$(e),!eA.test(e)&&(r=n.querySelector(eI))&&r.parentNode.removeChild(r),!eB.test(e)&&(r=n.querySelector(eD))&&r.parentNode.removeChild(r),n.querySelectorAll(eF);case eI:case eD:if(o=(n=eU(e)).querySelectorAll(t),eB.test(e)&&eA.test(e))return o[0].parentNode.childNodes;return o;default:if(a)return a(e);return(r=eU(e,eD).querySelector(eD)).childNodes}};var eQ={};e(eQ,"formatAttributes",function(){return i},function(e){return i=e}),e(eQ,"formatDOM",function(){return l},function(e){return l=e});for(var eX=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"],eY={},eK=0,eG=eX.length;eK<eG;eK++)eY[(u=eX[eK]).toLowerCase()]=u;function eZ(e){for(var t,n={},r=0,o=e.length;r<o;r++)n[(t=e[r]).name]=t.value;return n}i=eZ,l=function e(t,n,r){n=n||null;for(var o=[],a=0,i=t.length;a<i;a++){var l,u,s,c=t[a];switch(c.nodeType){case 1:u=eY[l=(l=c.nodeName).toLowerCase()]||l,(s=new eN(u,eZ(c.attributes))).children=e("template"===u?c.content.childNodes:c.childNodes,s);break;case 3:s=new eE(c.nodeValue);break;case 8:s=new e_(c.nodeValue);break;default:continue}var f=o[a-1]||null;f&&(f.next=s),s.parent=n,s.prev=f,s.next=null,o.push(s)}return r&&((s=new eC(r.substring(0,r.indexOf(" ")).toLowerCase(),r)).next=o[0]||null,s.parent=n,o.unshift(s),o[1]&&(o[1].prev=o[0])),o};var eJ=t(eQ).formatDOM,e0=/<(![a-zA-Z\s]+)>/;function e1(e){if("string"!=typeof e)throw TypeError("First argument must be a string");if(""===e)return[];var n,r=e.match(e0);return r&&r[1]&&(n=r[1]),eJ(t(eO)(e),null,n)}var e2=eM,e3={},e4={};function e6(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function e5(e,t,n,r,o,a,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=a,this.removeEmptyString=i}Object.defineProperty(e4,"__esModule",{value:!0});var e8={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach(function(e){e8[e]=new e5(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var a=[],i=!0,l=!1;try{for(o=o.call(e);!(i=(n=o.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(e,2)||function(e,t){if(e){if("string"==typeof e)return e6(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return e6(e,t)}}(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),n=t[0],r=t[1];e8[n]=new e5(n,1,!1,r,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){e8[e]=new e5(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){e8[e]=new e5(e,2,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(e){e8[e]=new e5(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){e8[e]=new e5(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){e8[e]=new e5(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){e8[e]=new e5(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){e8[e]=new e5(e,5,!1,e.toLowerCase(),null,!1,!1)});var e7=/[\-\:]([a-z])/g,e9=function(e){return e[1].toUpperCase()};["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"].forEach(function(e){var t=e.replace(e7,e9);e8[t]=new e5(t,1,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(e7,e9);e8[t]=new e5(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(e7,e9);e8[t]=new e5(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){e8[e]=new e5(e,1,!1,e.toLowerCase(),null,!1,!1)}),e8.xlinkHref=new e5("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){e8[e]=new e5(e,1,!1,e.toLowerCase(),null,!0,!0)});var te={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1},tt=RegExp.prototype.test.bind(RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),tn=Object.keys(te).reduce(function(e,t){var n=te[t];return 0===n?e[t]=t:1===n?e[t.toLowerCase()]=t:e[t]=n,e},{});e4.BOOLEAN=3,e4.BOOLEANISH_STRING=2,e4.NUMERIC=5,e4.OVERLOADED_BOOLEAN=4,e4.POSITIVE_NUMERIC=6,e4.RESERVED=0,e4.STRING=1,e4.getPropertyInfo=function(e){return e8.hasOwnProperty(e)?e8[e]:null},e4.isCustomAttribute=tt,e4.possibleStandardNames=tn;var tr={},g=m("7fPBF"),to={},ta=to&&to.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};to.__esModule=!0;var ti=ta(m("25LWe"));s=void 0;var tl=/^--[a-zA-Z0-9-]+$/,tu=/-([a-z])/g,ts=/^[^-]+$/,tc=/^-(webkit|moz|ms|o|khtml)-/,tf=/^-(ms)-/,td=function(e,t){return t.toUpperCase()},tp=function(e,t){return"".concat(t,"-")};s=function(e,t){var n;return(void 0===t&&(t={}),!(n=e)||ts.test(n)||tl.test(n))?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(tf,tp):e.replace(tc,tp)).replace(tu,td))},to.default=function(e,t){var n={};return e&&"string"==typeof e&&(0,ti.default)(e,function(e,r){e&&r&&(n[s(e,t)]=r)}),n};var tm=to.default,th={reactCompat:!0},tg=g.version.split(".")[0]>=16,tv=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);tr={PRESERVE_CUSTOM_ATTRIBUTES:tg,invertObject:function(e,t){if(!e||"object"!=typeof e)throw TypeError("First argument must be an object");var n,r,o="function"==typeof t,a={},i={};for(n in e){if(r=e[n],o&&(a=t(n,r))&&2===a.length){i[a[0]]=a[1];continue}"string"==typeof r&&(i[r]=n)}return i},isCustomComponent:function(e,t){if(-1===e.indexOf("-"))return t&&"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}},setStyleProp:function(e,t){if(null!=e)try{t.style=tm(e,th)}catch(e){t.style={}}},canTextBeChildOfNode:function(e){return!tv.has(e.name)},elementsWithNoTextChildren:tv,returnFirstArg:function(e){return e}};var ty=["checked","value"],tb=["input","select","textarea"],tw={reset:!0,submit:!0};function tk(e){return e4.possibleStandardNames[e]}e3=function(e,t){var n,r,o,a,i,l={},u=(e=e||{}).type&&tw[e.type];for(n in e){if(o=e[n],e4.isCustomAttribute(n)){l[n]=o;continue}if(a=tk(r=n.toLowerCase())){switch(i=e4.getPropertyInfo(a),-1===ty.indexOf(a)||-1===tb.indexOf(t)||u||(a=tk("default"+r)),l[a]=o,i&&i.type){case e4.BOOLEAN:l[a]=!0;break;case e4.OVERLOADED_BOOLEAN:""===o&&(l[a]=!0)}continue}tr.PRESERVE_CUSTOM_ATTRIBUTES&&(l[n]=o)}return tr.setStyleProp(e.style,l),l};var tx={},g=m("7fPBF"),tS=tr.setStyleProp,tE=tr.canTextBeChildOfNode;tx=function e(t,n){for(var r,o,a,i,l,u=(n=n||{}).library||g,s=u.cloneElement,c=u.createElement,f=u.isValidElement,d=[],p="function"==typeof n.replace,m=n.transform||tr.returnFirstArg,h=n.trim,v=0,y=t.length;v<y;v++){if(r=t[v],p&&f(a=n.replace(r))){y>1&&(a=s(a,{key:a.key||v})),d.push(m(a,r,v));continue}if("text"===r.type){if((o=!r.data.trim().length)&&r.parent&&!tE(r.parent)||h&&o)continue;d.push(m(r.data,r,v));continue}switch(i=r.attribs,tr.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===r.type&&tr.isCustomComponent(r.name,r.attribs)?tS(i.style,i):i&&(i=e3(i,r.name)),l=null,r.type){case"script":case"style":r.children[0]&&(i.dangerouslySetInnerHTML={__html:r.children[0].data});break;case"tag":"textarea"===r.name&&r.children[0]?i.defaultValue=r.children[0].data:r.children&&r.children.length&&(l=e(r.children,n));break;default:continue}y>1&&(i.key=v),d.push(m(c(r.name,i,l),r,v))}return 1===d.length?d[0]:d},e2="function"==typeof e2.default?e2.default:e2;var t_={lowerCaseAttributeNames:!1};function tC(e,t){if("string"!=typeof e)throw TypeError("First argument must be a string");return""===e?[]:tx(e2(e,(t=t||{}).htmlparser2||t_),t)}tC.domToReact=tx,tC.htmlToDOM=e2,tC.attributesToProps=e3,tC.Comment=e_,tC.Element=eN,tC.ProcessingInstruction=eC,tC.Text=eE,ek=tC,tC.default=tC,t(ek).domToReact,t(ek).htmlToDOM,t(ek).attributesToProps,t(ek).Comment,t(ek).Element,t(ek).ProcessingInstruction,t(ek).Text;var tP=t(ek),tT={};tT=new URL(m("4SSe9").resolve("bYmnw"),import.meta.url).toString();const tL=e=>e.timestamp,tN=({item:e})=>{let t=(0,g.useCallback)(({target:t})=>{eo(e)},[eo,e]);return(0,h.jsxs)(h.Fragment,{children:[e.firstOfDate?(0,h.jsxs)("span",{className:"incident-list__divider incident-list__divider--date",children:[e.timestamp.toLocaleString("en-us",{weekday:"short"}),", ",e.timestamp.toLocaleString("en-us",{dateStyle:"short"})," "]}):(0,h.jsx)("div",{className:"incident-list__divider incident-list__divider--divider"}),(0,h.jsx)("div",{className:"incident-list__item",onClick:t,children:tP(function e(t){return t.replace(/(?:(?:(?:^|\n)[*#].*)+)/g,function(t){var n=t.match(/(^|\n)#/)?"OL":"UL";return t=t.replace(/(^|\n)[*#][ ]{0,1}/g,"$1"),"<"+n+"><li>"+(t=e(t)).replace(/^\n/,"").split(/\n/).join("</li><li>")+"</li></"+n+">"})}(e.wikitext.replace(/(?:^|\n+)([^# =*<].+)(?:\n+|$)/gm,function(e,t){return t.match(/^\^+$/)?t:"\n<p>"+t+"</p>\n"}).replace(/(?:^|\n)[ ]{2}(.*)+/g,function(e,t){return t.match(/^\s+$/)?e:"<blockquote>"+t+"</pre>"}).replace(/((?:^|\n)[ ]+.*)+/g,function(e){return e.match(/^\s+$/)?e:"<pre>"+e.replace(/(^|\n)[ ]+/g,"$1")+"</pre>"}).replace(/(?:^|\n)([=]+)(.*)\1/g,function(e,t,n){return"<h"+t.length+">"+n+"</h"+t.length+">"}).replace(/'''(.*?)'''/g,function(e,t){return"<strong>"+t+"</strong>"}).replace(/''(.*?)''/g,function(e,t){return"<em>"+t+"</em>"}).replace(/[^[](http[^[\s]*)/g,function(e,t){return'<a target="_blank" href="'+t+'">'+t+"</a>"}).replace(/[[](http.*?)[!\]]/g,function(e,t){var n=t.replace(/[[\]]/g,"").split(/ /),r=n.shift();return'<a target="_blank" href="'+r+'">'+(n.length?n.join(" "):r)+"</a>"}).replace(/\[\[(.*?)\]\]/g,function(e,t){var n=t.split(/\|/),r=n.shift();return r.match(/^Image:(.*)/)?e:'<a target="_blank" href="https://en.wikipedia.org/wiki/'+r+'">'+(n.length?n.join("|"):r)+"</a>"})),{replace:t=>{if("a"===t.name){let n=t.children[0].data;if(n in e.coordinates){let e=t.attribs.href;return(0,h.jsx)(eb,{name:n,url:e})}}}})})]})};var tz=()=>{let e=ed(),n=L(tL);return(0,h.jsxs)("div",{className:"incident-list",children:[(0,h.jsx)("img",{className:"header__logo",src:t(tT),alt:"Logo"}),(0,h.jsxs)("span",{children:["[ ",(0,h.jsx)(Y,{trigger:(0,h.jsx)("a",{href:"#",children:"About this project"}),modal:!0,nested:!0,children:e=>(0,h.jsx)(ew,{close:e})})," ]"]}),e&&e.map(e=>(0,h.jsx)(tN,{item:e},e.key)),(0,h.jsxs)("footer",{className:"footer",children:["Last updated on ",n&&n.toLocaleString("en-us",{dateStyle:"short",timeStyle:"short"})," using data from ",(0,h.jsx)("a",{href:"https://en.wikipedia.org/wiki/Portal:Current_events",children:"Wikipedia.org"})]})]})},tR=()=>(0,h.jsx)("div",{className:"main",children:(0,h.jsx)(tz,{})});m("7fPBF");var g=m("7fPBF");const tM=e=>e.visibleIncidents;var tO=()=>{let e=ed(),t=L(tM),n=(0,g.useMemo)(()=>e?e.filter(({coordinates:e})=>Object.values(e).length>0).map(e=>{let{coordinates:t}=e;return Object.entries(t).map(([t,n])=>({...e,name:t,coordinates:[n]}))}).flat().map(e=>{let t=Object.values(e.coordinates),[n,r]=t[0];return{...e,coordinates:[r,n]}}).filter(e=>t.includes(e.name)):null,[e,t]);return n},g=(m("7fPBF"),m("7fPBF"),m("7fPBF"));const tF=g.createContext(null);function tI(e,t){if(e===t)return!0;if(!e||!t)return!1;if(Array.isArray(e)){if(!Array.isArray(t)||e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!tI(e[n],t[n]))return!1;return!0}if(Array.isArray(t))return!1;if("object"==typeof e&&"object"==typeof t){let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r of n)if(!t.hasOwnProperty(r)||!tI(e[r],t[r]))return!1;return!0}return!1}function tD(e,t){if(!e.getProjection)return;let n=e.getProjection(),r=t.getProjection();tI(n,r)||t.setProjection(n)}function tj(e){return{longitude:e.center.lng,latitude:e.center.lat,zoom:e.zoom,pitch:e.pitch,bearing:e.bearing,padding:e.padding}}function tA(e,t){let n=t.viewState||t,r=!1;if("longitude"in n&&"latitude"in n){let t=e.center;e.center=new t.constructor(n.longitude,n.latitude),r=r||t!==e.center}if("zoom"in n){let t=e.zoom;e.zoom=n.zoom,r=r||t!==e.zoom}if("bearing"in n){let t=e.bearing;e.bearing=n.bearing,r=r||t!==e.bearing}if("pitch"in n){let t=e.pitch;e.pitch=n.pitch,r=r||t!==e.pitch}return n.padding&&!e.isPaddingEqual(n.padding)&&(r=!0,e.padding=n.padding),r}const tB=["type","source","source-layer","minzoom","maxzoom","filter","layout"];function tU(e){if(!e)return null;if("string"==typeof e||("toJS"in e&&(e=e.toJS()),!e.layers))return e;let t={};for(let n of e.layers)t[n.id]=n;let n=e.layers.map(e=>{let n=null;"interactive"in e&&(n=Object.assign({},e),delete n.interactive);let r=t[e.ref];if(r)for(let t of(n=n||Object.assign({},e),delete n.ref,tB))t in r&&(n[t]=r[t]);return n||e});return{...e,layers:n}}const t$={version:8,sources:{},layers:[]},tV={mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",click:"onClick",dblclick:"onDblClick",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",mouseout:"onMouseOut",contextmenu:"onContextMenu",touchstart:"onTouchStart",touchend:"onTouchEnd",touchmove:"onTouchMove",touchcancel:"onTouchCancel"},tH={movestart:"onMoveStart",move:"onMove",moveend:"onMoveEnd",dragstart:"onDragStart",drag:"onDrag",dragend:"onDragEnd",zoomstart:"onZoomStart",zoom:"onZoom",zoomend:"onZoomEnd",rotatestart:"onRotateStart",rotate:"onRotate",rotateend:"onRotateEnd",pitchstart:"onPitchStart",pitch:"onPitch",pitchend:"onPitchEnd"},tW={wheel:"onWheel",boxzoomstart:"onBoxZoomStart",boxzoomend:"onBoxZoomEnd",boxzoomcancel:"onBoxZoomCancel",resize:"onResize",load:"onLoad",render:"onRender",idle:"onIdle",remove:"onRemove",data:"onData",styledata:"onStyleData",sourcedata:"onSourceData",error:"onError"},tq=["minZoom","maxZoom","minPitch","maxPitch","maxBounds","projection","renderWorldCopies"],tQ=["scrollZoom","boxZoom","dragRotate","dragPan","keyboard","doubleClickZoom","touchZoomRotate","touchPitch"];class tX{get map(){return this._map}get transform(){return this._renderTransform}setProps(e){let t=this.props;this.props=e;let n=this._updateSettings(e,t);n&&this._createShadowTransform(this._map);let r=this._updateSize(e),o=this._updateViewState(e,!0);this._updateStyle(e,t),this._updateStyleComponents(e,t),this._updateHandlers(e,t),(n||r||o&&!this._map.isMoving())&&this.redraw()}static reuse(e,t){let n=tX.savedMaps.pop();if(!n)return null;let r=n.map,o=r.getContainer();for(t.className=o.className;o.childNodes.length>0;)t.appendChild(o.childNodes[0]);r._container=t;let a=r._resizeObserver;a&&(a.disconnect(),a.observe(t)),n.setProps({...e,styleDiffing:!1}),r.resize();let{initialViewState:i}=e;return i&&(i.bounds?r.fitBounds(i.bounds,{...i.fitBoundsOptions,duration:0}):n._updateViewState(i,!1)),r.isStyleLoaded()?r.fire("load"):r.once("styledata",()=>r.fire("load")),r._update(),n}_initialize(e){let{props:t}=this,{mapStyle:n=t$}=t,r={...t,...t.initialViewState,accessToken:t.mapboxAccessToken||function(){let e=null;if("undefined"!=typeof location){let t=/access_token=([^&\/]*)/.exec(location.search);e=t&&t[1]}try{e=e||void 0}catch(e){}try{e=e||void 0}catch(e){}return e}()||null,container:e,style:tU(n)},o=r.initialViewState||r.viewState||r;if(Object.assign(r,{center:[o.longitude||0,o.latitude||0],zoom:o.zoom||0,pitch:o.pitch||0,bearing:o.bearing||0}),t.gl){let e=HTMLCanvasElement.prototype.getContext;HTMLCanvasElement.prototype.getContext=()=>(HTMLCanvasElement.prototype.getContext=e,t.gl)}let a=new this._MapClass(r);o.padding&&a.setPadding(o.padding),t.cursor&&(a.getCanvas().style.cursor=t.cursor),this._createShadowTransform(a);let i=a._render;a._render=e=>{this._inRender=!0,i.call(a,e),this._inRender=!1};let l=a._renderTaskQueue.run;a._renderTaskQueue.run=e=>{l.call(a._renderTaskQueue,e),this._onBeforeRepaint()},a.on("render",()=>this._onAfterRepaint());let u=a.fire;for(let e in a.fire=this._fireEvent.bind(this,u),a.on("resize",()=>{this._renderTransform.resize(a.transform.width,a.transform.height)}),a.on("styledata",()=>{this._updateStyleComponents(this.props,{}),tD(a.transform,this._renderTransform)}),a.on("sourcedata",()=>this._updateStyleComponents(this.props,{})),tV)a.on(e,this._onPointerEvent);for(let e in tH)a.on(e,this._onCameraEvent);for(let e in tW)a.on(e,this._onEvent);this._map=a}recycle(){let e=this.map.getContainer(),t=e.querySelector("[mapboxgl-children]");null==t||t.remove(),tX.savedMaps.push(this)}destroy(){this._map.remove()}redraw(){let e=this._map;!this._inRender&&e.style&&(e._frame&&(e._frame.cancel(),e._frame=null),e._render())}_createShadowTransform(e){let t=function(e){let t=e.clone();return t.pixelsToGLUnits=e.pixelsToGLUnits,t}(e.transform);e.painter.transform=t,this._renderTransform=t}_updateSize(e){let{viewState:t}=e;if(t){let e=this._map;if(t.width!==e.transform.width||t.height!==e.transform.height)return e.resize(),!0}return!1}_updateViewState(e,t){if(this._internalUpdate)return!1;let n=this._map,r=this._renderTransform,{zoom:o,pitch:a,bearing:i}=r,l=n.isMoving();l&&(r.cameraElevationReference="sea");let u=tA(r,{...tj(n.transform),...e});if(l&&(r.cameraElevationReference="ground"),u&&t){let e=this._deferredEvents;e.move=!0,e.zoom||(e.zoom=o!==r.zoom),e.rotate||(e.rotate=i!==r.bearing),e.pitch||(e.pitch=a!==r.pitch)}return l||tA(n.transform,e),u}_updateSettings(e,t){let n=this._map,r=!1;for(let o of tq)if(o in e&&!tI(e[o],t[o])){r=!0;let t=n[`set${o[0].toUpperCase()}${o.slice(1)}`];null==t||t.call(n,e[o])}return r}_updateStyle(e,t){if(e.cursor!==t.cursor&&(this._map.getCanvas().style.cursor=e.cursor),e.mapStyle!==t.mapStyle){let{mapStyle:t=t$,styleDiffing:n=!0}=e,r={diff:n};return"localIdeographFontFamily"in e&&(r.localIdeographFontFamily=e.localIdeographFontFamily),this._map.setStyle(tU(t),r),!0}return!1}_updateStyleComponents(e,t){let n=this._map,r=!1;return n.isStyleLoaded()&&("light"in e&&n.setLight&&!tI(e.light,t.light)&&(r=!0,n.setLight(e.light)),"fog"in e&&n.setFog&&!tI(e.fog,t.fog)&&(r=!0,n.setFog(e.fog)),"terrain"in e&&n.setTerrain&&!tI(e.terrain,t.terrain)&&(!e.terrain||n.getSource(e.terrain.source))&&(r=!0,n.setTerrain(e.terrain))),r}_updateHandlers(e,t){var n,r;let o=this._map,a=!1;for(let i of tQ){let l=null===(n=e[i])||void 0===n||n,u=null===(r=t[i])||void 0===r||r;tI(l,u)||(a=!0,l?o[i].enable(l):o[i].disable())}return a}_queryRenderedFeatures(e){let t=this._map,{interactiveLayerIds:n=[]}=this.props;try{return t.queryRenderedFeatures(e,{layers:n.filter(t.getLayer.bind(t))})}catch(e){return[]}}_updateHover(e){var t;let{props:n}=this,r=n.interactiveLayerIds&&(n.onMouseMove||n.onMouseEnter||n.onMouseLeave);if(r){let n=e.type,r=(null===(t=this._hoveredFeatures)||void 0===t?void 0:t.length)>0,o=this._queryRenderedFeatures(e.point),a=o.length>0;!a&&r&&(e.type="mouseleave",this._onPointerEvent(e)),this._hoveredFeatures=o,a&&!r&&(e.type="mouseenter",this._onPointerEvent(e)),e.type=n}else this._hoveredFeatures=null}_fireEvent(e,t,n){let r=this._map,o=r.transform,a="string"==typeof t?t:t.type;return("move"===a&&this._updateViewState(this.props,!1),a in tH&&("object"==typeof t&&(t.viewState=tj(o)),this._map.isMoving()))?(r.transform=this._renderTransform,e.call(r,t,n),r.transform=o):e.call(r,t,n),r}_onBeforeRepaint(){let e=this._map;for(let t in this._internalUpdate=!0,this._deferredEvents)this._deferredEvents[t]&&e.fire(t);this._internalUpdate=!1;let t=this._map.transform;e.transform=this._renderTransform,this._onAfterRepaint=()=>{tD(this._renderTransform,t),e.transform=t}}constructor(e,t,n){this._map=null,this._internalUpdate=!1,this._inRender=!1,this._hoveredFeatures=null,this._deferredEvents={move:!1,zoom:!1,pitch:!1,rotate:!1},this._onEvent=e=>{let t=this.props[tW[e.type]];t?t(e):"error"===e.type&&console.error(e.error)},this._onPointerEvent=e=>{("mousemove"===e.type||"mouseout"===e.type)&&this._updateHover(e);let t=this.props[tV[e.type]];t&&(this.props.interactiveLayerIds&&"mouseover"!==e.type&&"mouseout"!==e.type&&(e.features=this._hoveredFeatures||this._queryRenderedFeatures(e.point)),t(e),delete e.features)},this._onCameraEvent=e=>{if(!this._internalUpdate){let t=this.props[tH[e.type]];t&&t(e)}e.type in this._deferredEvents&&(this._deferredEvents[e.type]=!1)},this._MapClass=e,this.props=t,this._initialize(n)}}tX.savedMaps=[];const tY=["setMaxBounds","setMinZoom","setMaxZoom","setMinPitch","setMaxPitch","setRenderWorldCopies","setProjection","setStyle","addSource","removeSource","addLayer","removeLayer","setLayerZoomRange","setFilter","setPaintProperty","setLayoutProperty","setLight","setTerrain","setFog","remove"];var g=m("7fPBF");const tK="undefined"!=typeof document?g.useLayoutEffect:g.useEffect,tG=["baseApiUrl","maxParallelImageRequests","workerClass","workerCount","workerUrl"],tZ=g.createContext(null);var g=m("7fPBF");const tJ=/box|flex|grid|column|lineHeight|fontWeight|opacity|order|tabSize|zIndex/;function t0(e,t){if(!e||!t)return;let n=e.style;for(let e in t){let r=t[e];Number.isFinite(r)&&!tJ.test(e)?n[e]=`${r}px`:n[e]=r}}var t1=(0,g.memo)((0,g.forwardRef)(function(e,t){let{map:n,mapLib:r}=(0,g.useContext)(tZ),o=(0,g.useRef)({props:e});o.current.props=e;let a=(0,g.useMemo)(()=>{let t=!1;g.Children.forEach(e.children,e=>{e&&(t=!0)});let n={...e,element:t?document.createElement("div"):null},i=new r.Marker(n);return i.setLngLat([e.longitude,e.latitude]),i.getElement().addEventListener("click",e=>{var t,n;null===(n=(t=o.current.props).onClick)||void 0===n||n.call(t,{type:"click",target:i,originalEvent:e})}),i.on("dragstart",e=>{var t,n;e.lngLat=a.getLngLat(),null===(n=(t=o.current.props).onDragStart)||void 0===n||n.call(t,e)}),i.on("drag",e=>{var t,n;e.lngLat=a.getLngLat(),null===(n=(t=o.current.props).onDrag)||void 0===n||n.call(t,e)}),i.on("dragend",e=>{var t,n;e.lngLat=a.getLngLat(),null===(n=(t=o.current.props).onDragEnd)||void 0===n||n.call(t,e)}),i},[]);(0,g.useEffect)(()=>(a.addTo(n.getMap()),()=>{a.remove()}),[]);let{longitude:i,latitude:l,offset:u,style:s,draggable:c=!1,popup:f=null,rotation:d=0,rotationAlignment:p="auto",pitchAlignment:m="auto"}=e;return(0,g.useEffect)(()=>{t0(a.getElement(),s)},[s]),(0,g.useImperativeHandle)(t,()=>a,[]),(a.getLngLat().lng!==i||a.getLngLat().lat!==l)&&a.setLngLat([i,l]),u&&!function(e,t){let n=Array.isArray(e)?e[0]:e?e.x:0,r=Array.isArray(e)?e[1]:e?e.y:0,o=Array.isArray(t)?t[0]:t?t.x:0,a=Array.isArray(t)?t[1]:t?t.y:0;return n===o&&r===a}(a.getOffset(),u)&&a.setOffset(u),a.isDraggable()!==c&&a.setDraggable(c),a.getRotation()!==d&&a.setRotation(d),a.getRotationAlignment()!==p&&a.setRotationAlignment(p),a.getPitchAlignment()!==m&&a.setPitchAlignment(m),a.getPopup()!==f&&a.setPopup(f),(0,v.createPortal)(e.children,a.getElement())})),g=m("7fPBF");function t2(e){return new Set(e?e.trim().split(/\s+/):[])}(0,g.memo)((0,g.forwardRef)(function(e,t){let{map:n,mapLib:r}=(0,g.useContext)(tZ),o=(0,g.useMemo)(()=>document.createElement("div"),[]),a=(0,g.useRef)({props:e});a.current.props=e;let i=(0,g.useMemo)(()=>{let t={...e},n=new r.Popup(t);return n.setLngLat([e.longitude,e.latitude]),n.once("open",e=>{var t,n;null===(n=(t=a.current.props).onOpen)||void 0===n||n.call(t,e)}),n},[]);if((0,g.useEffect)(()=>{let e=e=>{var t,n;null===(n=(t=a.current.props).onClose)||void 0===n||n.call(t,e)};return i.on("close",e),i.setDOMContent(o).addTo(n.getMap()),()=>{i.off("close",e),i.isOpen()&&i.remove()}},[]),(0,g.useEffect)(()=>{t0(i.getElement(),e.style)},[e.style]),(0,g.useImperativeHandle)(t,()=>i,[]),i.isOpen()&&((i.getLngLat().lng!==e.longitude||i.getLngLat().lat!==e.latitude)&&i.setLngLat([e.longitude,e.latitude]),e.offset&&!tI(i.options.offset,e.offset)&&i.setOffset(e.offset),(i.options.anchor!==e.anchor||i.options.maxWidth!==e.maxWidth)&&(i.options.anchor=e.anchor,i.setMaxWidth(e.maxWidth)),i.options.className!==e.className)){let t=t2(i.options.className),n=t2(e.className);for(let e of t)n.has(e)||i.removeClassName(e);for(let e of n)t.has(e)||i.addClassName(e);i.options.className=e.className}return(0,v.createPortal)(e.children,o)}));var g=(m("7fPBF"),m("7fPBF")),t3=function(e,t,n,r){let o=(0,g.useContext)(tZ),a=(0,g.useMemo)(()=>e(o),[]);return(0,g.useEffect)(()=>{let e=r||n||t,i="function"==typeof t&&"function"==typeof n?t:null,l="function"==typeof n?n:"function"==typeof t?t:null,{map:u}=o;return!u.hasControl(a)&&(u.addControl(a,null==e?void 0:e.position),i&&i(o)),()=>{l&&l(o),u.hasControl(a)&&u.removeControl(a)}},[]),a};(0,g.memo)(function(e){let t=t3(({mapLib:t})=>new t.AttributionControl(e),{position:e.position});return(0,g.useEffect)(()=>{t0(t._container,e.style)},[e.style]),null});var g=m("7fPBF");(0,g.memo)(function(e){let t=t3(({mapLib:t})=>new t.FullscreenControl({container:e.containerId&&document.getElementById(e.containerId)}),{position:e.position});return(0,g.useEffect)(()=>{t0(t._controlContainer,e.style)},[e.style]),null});var g=m("7fPBF");(0,g.memo)((0,g.forwardRef)(function(e,t){let n=(0,g.useRef)({props:e}),r=t3(({mapLib:t})=>{let r=new t.GeolocateControl(e),o=r._setupUI;return r._setupUI=e=>{r._container.hasChildNodes()||o(e)},r.on("geolocate",e=>{var t,r;null===(r=(t=n.current.props).onGeolocate)||void 0===r||r.call(t,e)}),r.on("error",e=>{var t,r;null===(r=(t=n.current.props).onError)||void 0===r||r.call(t,e)}),r.on("outofmaxbounds",e=>{var t,r;null===(r=(t=n.current.props).onOutOfMaxBounds)||void 0===r||r.call(t,e)}),r.on("trackuserlocationstart",e=>{var t,r;null===(r=(t=n.current.props).onTrackUserLocationStart)||void 0===r||r.call(t,e)}),r.on("trackuserlocationend",e=>{var t,r;null===(r=(t=n.current.props).onTrackUserLocationEnd)||void 0===r||r.call(t,e)}),r},{position:e.position});return n.current.props=e,(0,g.useImperativeHandle)(t,()=>r,[]),(0,g.useEffect)(()=>{t0(r._container,e.style)},[e.style]),null}));var g=m("7fPBF"),t4=(0,g.memo)(function(e){let t=t3(({mapLib:t})=>new t.NavigationControl(e),{position:e.position});return(0,g.useEffect)(()=>{t0(t._container,e.style)},[e.style]),null}),g=m("7fPBF");(0,g.memo)(function(e){let t=t3(({mapLib:t})=>new t.ScaleControl(e),{position:e.position}),n=(0,g.useRef)(e),r=n.current;n.current=e;let{style:o}=e;return void 0!==e.maxWidth&&e.maxWidth!==r.maxWidth&&(t.options.maxWidth=e.maxWidth),void 0!==e.unit&&e.unit!==r.unit&&t.setUnit(e.unit),(0,g.useEffect)(()=>{t0(t._container,o)},[o]),null});var g=(m("7fPBF"),m("7fPBF"));const t6=m("2TViE"),t5=g.forwardRef(function(e,t){return function(e,t,n){let r=(0,g.useContext)(tF),[o,a]=(0,g.useState)(null),i=(0,g.useRef)(),{current:l}=(0,g.useRef)({mapLib:null,map:null});(0,g.useEffect)(()=>{let t;let o=e.mapLib,u=!0;return Promise.resolve(o||n).then(n=>{if(!u)return;if(!n)throw Error("Invalid mapLib");let o="Map"in n?n:n.default;if(!o.Map)throw Error("Invalid mapLib");if(function(e,t){for(let n of tG)n in t&&(e[n]=t[n]);let{RTLTextPlugin:n="https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-rtl-text/v0.2.3/mapbox-gl-rtl-text.js"}=t;n&&e.getRTLTextPluginStatus&&"unavailable"===e.getRTLTextPluginStatus()&&e.setRTLTextPlugin(n,e=>{e&&console.error(e)},!1)}(o,e),!o.supported||o.supported(e))e.reuseMaps&&(t=tX.reuse(e,i.current)),t||(t=new tX(o.Map,e,i.current)),l.map=function(e){if(!e)return null;let t=e.map,n={getMap:()=>t,getCenter:()=>e.transform.center,getZoom:()=>e.transform.zoom,getBearing:()=>e.transform.bearing,getPitch:()=>e.transform.pitch,getPadding:()=>e.transform.padding,getBounds:()=>e.transform.getBounds(),project:n=>{let r=t.transform;t.transform=e.transform;let o=t.project(n);return t.transform=r,o},unproject:n=>{let r=t.transform;t.transform=e.transform;let o=t.unproject(n);return t.transform=r,o},queryTerrainElevation:(n,r)=>{let o=t.transform;t.transform=e.transform;let a=t.queryTerrainElevation(n,r);return t.transform=o,a}};for(let e of function(e){let t=new Set,n=e;for(;n;){for(let r of Object.getOwnPropertyNames(n))"_"!==r[0]&&"function"==typeof e[r]&&"fire"!==r&&"setEventedParent"!==r&&t.add(r);n=Object.getPrototypeOf(n)}return Array.from(t)}(t))e in n||tY.includes(e)||(n[e]=t[e].bind(t));return n}(t),l.mapLib=o,a(t),null==r||r.onMapMount(l.map,e.id);else throw Error("Map is not supported by this browser")}).catch(t=>{let{onError:n}=e;n?n({type:"error",target:null,originalEvent:null,error:t}):console.error(t)}),()=>{u=!1,t&&(null==r||r.onMapUnmount(e.id),e.reuseMaps?t.recycle():t.destroy())}},[]),tK(()=>{o&&o.setProps(e)}),(0,g.useImperativeHandle)(t,()=>l.map,[o]);let u=(0,g.useMemo)(()=>({position:"relative",width:"100%",height:"100%",...e.style}),[e.style]);return g.createElement("div",{id:e.id,ref:i,style:u},o&&g.createElement(tZ.Provider,{value:l},g.createElement("div",{"mapboxgl-children":"",style:{height:"100%"}},e.children)))}(e,t,t6)});var t8=()=>{let e=tO();return(0,h.jsxs)(t5,{initialViewState:{longitude:30,latitude:50,zoom:2},mapStyle:"https://basemaps.cartocdn.com/gl/dark-matter-gl-style/style.json",className:"map",doubleClickZoom:!1,children:[(0,h.jsx)(t4,{position:"top-left"}),e&&e.map(e=>(0,h.jsx)(t1,{longitude:e.coordinates[0],latitude:e.coordinates[1],anchor:"bottom",children:(0,h.jsx)(ep,{name:e.name})},`${e.key}-${e.name}`))]})};async function t7(){let{incidents:e,timestamp:t}=await m("eDEMR"),n=e.map(e=>({...e,timestamp:new Date(e.date)})).reverse();er(n,t)}c=v.createRoot,v.hydrateRoot;const t9=document.getElementById("root"),ne=c(t9);ne.render((0,h.jsx)(t(g).StrictMode,{children:(0,h.jsx)(function(){return t7(),(0,h.jsx)(F,{store:en,children:(0,h.jsxs)("div",{className:"app",children:[(0,h.jsx)(t8,{}),(0,h.jsx)(tR,{})]})})},{})}));
//# sourceMappingURL=index.4230e93b.js.map