@tolgee/web 5.16.1 → 5.16.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tolgee-in-context-tools.cjs.js +1 -1
- package/dist/tolgee-in-context-tools.cjs.min.js +1 -1
- package/dist/tolgee-in-context-tools.esm.js +1 -1
- package/dist/tolgee-in-context-tools.esm.min.js +1 -1
- package/dist/tolgee-in-context-tools.esm.min.mjs +1 -1
- package/dist/tolgee-in-context-tools.esm.mjs +1 -1
- package/dist/tolgee-in-context-tools.umd.js +1 -1
- package/dist/tolgee-in-context-tools.umd.min.js +1 -1
- package/dist/tolgee-web.development.cjs.js +2 -2
- package/dist/tolgee-web.development.cjs.min.js +1 -1
- package/dist/tolgee-web.development.esm.js +2 -2
- package/dist/tolgee-web.development.esm.min.js +1 -1
- package/dist/tolgee-web.development.esm.min.mjs +1 -1
- package/dist/tolgee-web.development.esm.mjs +2 -2
- package/dist/tolgee-web.development.umd.js +2 -2
- package/dist/tolgee-web.development.umd.min.js +1 -1
- package/dist/tolgee-web.production.cjs.js +2 -2
- package/dist/tolgee-web.production.cjs.min.js +1 -1
- package/dist/tolgee-web.production.esm.js +2 -2
- package/dist/tolgee-web.production.esm.min.js +1 -1
- package/dist/tolgee-web.production.esm.min.mjs +1 -1
- package/dist/tolgee-web.production.esm.mjs +2 -2
- package/dist/tolgee-web.production.umd.js +2 -2
- package/dist/tolgee-web.production.umd.min.js +1 -1
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self)["@tolgee/in-context-tools"]={})}(this,(function(e){"use strict";function t(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(n){if("default"!==n&&!(n in e)){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}}))})),Object.freeze(e)}function n(){var e,t;return void 0===(null===(t=null===(e=globalThis.window)||void 0===e?void 0:e.document)||void 0===t?void 0:t.createElement)}var r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function o(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function a(e){var t=e.default;if("function"==typeof t){var n=function(){return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})})),n}var i,l={exports:{}},s={};function u(){if(i)return s;i=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),f=Symbol.iterator;var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,v={};function g(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||h}function y(){}function b(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||h}g.prototype.isReactComponent={},g.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")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=g.prototype;var x=b.prototype=new y;x.constructor=b,m(x,g.prototype),x.isPureReactComponent=!0;var w=Array.isArray,k=Object.prototype.hasOwnProperty,S={current:null},E={key:!0,ref:!0,__self:!0,__source:!0};function C(t,n,r){var o,a={},i=null,l=null;if(null!=n)for(o in void 0!==n.ref&&(l=n.ref),void 0!==n.key&&(i=""+n.key),n)k.call(n,o)&&!E.hasOwnProperty(o)&&(a[o]=n[o]);var s=arguments.length-2;if(1===s)a.children=r;else if(1<s){for(var u=Array(s),c=0;c<s;c++)u[c]=arguments[c+2];a.children=u}if(t&&t.defaultProps)for(o in s=t.defaultProps)void 0===a[o]&&(a[o]=s[o]);return{$$typeof:e,type:t,key:i,ref:l,props:a,_owner:S.current}}function O(t){return"object"==typeof t&&null!==t&&t.$$typeof===e}var P=/\/+/g;function R(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function T(n,r,o,a,i){var l=typeof n;"undefined"!==l&&"boolean"!==l||(n=null);var s=!1;if(null===n)s=!0;else switch(l){case"string":case"number":s=!0;break;case"object":switch(n.$$typeof){case e:case t:s=!0}}if(s)return i=i(s=n),n=""===a?"."+R(s,0):a,w(i)?(o="",null!=n&&(o=n.replace(P,"$&/")+"/"),T(i,r,o,"",(function(e){return e}))):null!=i&&(O(i)&&(i=function(t,n){return{$$typeof:e,type:t.type,key:n,ref:t.ref,props:t.props,_owner:t._owner}}(i,o+(!i.key||s&&s.key===i.key?"":(""+i.key).replace(P,"$&/")+"/")+n)),r.push(i)),1;if(s=0,a=""===a?".":a+":",w(n))for(var u=0;u<n.length;u++){var c=a+R(l=n[u],u);s+=T(l,r,o,c,i)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=f&&e[f]||e["@@iterator"])?e:null}(n),"function"==typeof c)for(n=c.call(n),u=0;!(l=n.next()).done;)s+=T(l=l.value,r,o,c=a+R(l,u++),i);else if("object"===l)throw r=String(n),Error("Objects are not valid as a React child (found: "+("[object Object]"===r?"object with keys {"+Object.keys(n).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return s}function M(e,t,n){if(null==e)return e;var r=[],o=0;return T(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function $(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 I={current:null},N={transition:null},A={ReactCurrentDispatcher:I,ReactCurrentBatchConfig:N,ReactCurrentOwner:S};return s.Children={map:M,forEach:function(e,t,n){M(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return M(e,(function(){t++})),t},toArray:function(e){return M(e,(function(e){return e}))||[]},only:function(e){if(!O(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},s.Component=g,s.Fragment=n,s.Profiler=o,s.PureComponent=b,s.StrictMode=r,s.Suspense=c,s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=A,s.cloneElement=function(t,n,r){if(null==t)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var o=m({},t.props),a=t.key,i=t.ref,l=t._owner;if(null!=n){if(void 0!==n.ref&&(i=n.ref,l=S.current),void 0!==n.key&&(a=""+n.key),t.type&&t.type.defaultProps)var s=t.type.defaultProps;for(u in n)k.call(n,u)&&!E.hasOwnProperty(u)&&(o[u]=void 0===n[u]&&void 0!==s?s[u]:n[u])}var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){s=Array(u);for(var c=0;c<u;c++)s[c]=arguments[c+2];o.children=s}return{$$typeof:e,type:t.type,key:a,ref:i,props:o,_owner:l}},s.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},s.createElement=C,s.createFactory=function(e){var t=C.bind(null,e);return t.type=e,t},s.createRef=function(){return{current:null}},s.forwardRef=function(e){return{$$typeof:u,render:e}},s.isValidElement=O,s.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:$}},s.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},s.startTransition=function(e){var t=N.transition;N.transition={};try{e()}finally{N.transition=t}},s.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},s.useCallback=function(e,t){return I.current.useCallback(e,t)},s.useContext=function(e){return I.current.useContext(e)},s.useDebugValue=function(){},s.useDeferredValue=function(e){return I.current.useDeferredValue(e)},s.useEffect=function(e,t){return I.current.useEffect(e,t)},s.useId=function(){return I.current.useId()},s.useImperativeHandle=function(e,t,n){return I.current.useImperativeHandle(e,t,n)},s.useInsertionEffect=function(e,t){return I.current.useInsertionEffect(e,t)},s.useLayoutEffect=function(e,t){return I.current.useLayoutEffect(e,t)},s.useMemo=function(e,t){return I.current.useMemo(e,t)},s.useReducer=function(e,t,n){return I.current.useReducer(e,t,n)},s.useRef=function(e){return I.current.useRef(e)},s.useState=function(e){return I.current.useState(e)},s.useSyncExternalStore=function(e,t,n){return I.current.useSyncExternalStore(e,t,n)},s.useTransition=function(){return I.current.useTransition()},s.version="18.2.0",s}!function(e){e.exports=u()}(l);var c,d,p=o(l.exports),f=t({__proto__:null,default:p},[l.exports]),h={exports:{}},m={},v={exports:{}},g={};function y(){if(d)return m;d=1;var e=l.exports,t=v.exports;function n(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 r=new Set,o={};function a(e,t){i(e,t),i(e+"Capture",t)}function i(e,t){for(o[e]=t,e=0;e<t.length;e++)r.add(t[e])}var s=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),u=Object.prototype.hasOwnProperty,c=/^[: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]*$/,p={},f={};function h(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 g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){g[e]=new h(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];g[t]=new h(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){g[e]=new h(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){g[e]=new h(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){g[e]=new h(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){g[e]=new h(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){g[e]=new h(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){g[e]=new h(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){g[e]=new h(e,5,!1,e.toLowerCase(),null,!1,!1)}));var y=/[\-:]([a-z])/g;function b(e){return e[1].toUpperCase()}function x(e,t,n,r){var o=g.hasOwnProperty(t)?g[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!u.call(f,e)||!u.call(p,e)&&(c.test(e)?f[e]=!0:(p[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"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(y,b);g[t]=new h(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(y,b);g[t]=new h(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(y,b);g[t]=new h(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){g[e]=new h(e,1,!1,e.toLowerCase(),null,!1,!1)})),g.xlinkHref=new h("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){g[e]=new h(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,k=Symbol.for("react.element"),S=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),O=Symbol.for("react.profiler"),P=Symbol.for("react.provider"),R=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),M=Symbol.for("react.suspense"),$=Symbol.for("react.suspense_list"),I=Symbol.for("react.memo"),N=Symbol.for("react.lazy"),A=Symbol.for("react.offscreen"),j=Symbol.iterator;function z(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=j&&e[j]||e["@@iterator"])?e:null}var _,L=Object.assign;function F(e){if(void 0===_)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);_=t&&t[1]||""}return"\n"+_+e}var D=!1;function W(e,t){if(!e||D)return"";D=!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 s="\n"+o[i].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}}while(1<=i&&0<=l);break}}}finally{D=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?F(e):""}function B(e){switch(e.tag){case 5:return F(e.type);case 16:return F("Lazy");case 13:return F("Suspense");case 19:return F("SuspenseList");case 0:case 2:case 15:return e=W(e.type,!1);case 11:return e=W(e.type.render,!1);case 1:return e=W(e.type,!0);default:return""}}function U(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case E:return"Fragment";case S:return"Portal";case O:return"Profiler";case C:return"StrictMode";case M:return"Suspense";case $:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case R:return(e.displayName||"Context")+".Consumer";case P:return(e._context.displayName||"Context")+".Provider";case T:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case I:return null!==(t=e.displayName||null)?t:U(e.type)||"Memo";case N:t=e._payload,e=e._init;try{return U(e(t))}catch(e){}}return null}function V(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 U(t);case 8:return t===C?"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}function H(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function q(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function K(e){e._valueTracker||(e._valueTracker=function(e){var t=q(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 Q(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=q(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function G(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 X(e,t){var n=t.checked;return L({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Y(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=H(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 J(e,t){null!=(t=t.checked)&&x(e,"checked",t,!1)}function Z(e,t){J(e,t);var n=H(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?te(e,t.type,n):t.hasOwnProperty("defaultValue")&&te(e,t.type,H(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function ee(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 te(e,t,n){"number"===t&&G(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ne=Array.isArray;function re(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+H(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function oe(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(n(91));return L({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ae(e,t){var r=t.value;if(null==r){if(r=t.children,t=t.defaultValue,null!=r){if(null!=t)throw Error(n(92));if(ne(r)){if(1<r.length)throw Error(n(93));r=r[0]}t=r}null==t&&(t=""),r=t}e._wrapperState={initialValue:H(r)}}function ie(e,t){var n=H(t.value),r=H(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 le(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(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 ue(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ce,de=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction((function(){return e(t,n)}))}:e}((function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ce=ce||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ce.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function pe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var fe={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},he=["Webkit","ms","Moz","O"];function me(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||fe.hasOwnProperty(e)&&fe[e]?(""+t).trim():t+"px"}function ve(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(fe).forEach((function(e){he.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),fe[t]=fe[e]}))}));var ge=L({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 ye(e,t){if(t){if(ge[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(n(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(n(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(n(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(n(62))}}function be(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 xe=null;function we(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var ke=null,Se=null,Ee=null;function Ce(e){if(e=xo(e)){if("function"!=typeof ke)throw Error(n(280));var t=e.stateNode;t&&(t=ko(t),ke(e.stateNode,e.type,t))}}function Oe(e){Se?Ee?Ee.push(e):Ee=[e]:Se=e}function Pe(){if(Se){var e=Se,t=Ee;if(Ee=Se=null,Ce(e),t)for(e=0;e<t.length;e++)Ce(t[e])}}function Re(e,t){return e(t)}function Te(){}var Me=!1;function $e(e,t,n){if(Me)return e(t,n);Me=!0;try{return Re(e,t,n)}finally{Me=!1,(null!==Se||null!==Ee)&&(Te(),Pe())}}function Ie(e,t){var r=e.stateNode;if(null===r)return null;var o=ko(r);if(null===o)return null;r=o[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(o=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!o;break e;default:e=!1}if(e)return null;if(r&&"function"!=typeof r)throw Error(n(231,t,typeof r));return r}var Ne=!1;if(s)try{var Ae={};Object.defineProperty(Ae,"passive",{get:function(){Ne=!0}}),window.addEventListener("test",Ae,Ae),window.removeEventListener("test",Ae,Ae)}catch(e){Ne=!1}function je(e,t,n,r,o,a,i,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}var ze=!1,_e=null,Le=!1,Fe=null,De={onError:function(e){ze=!0,_e=e}};function We(e,t,n,r,o,a,i,l,s){ze=!1,_e=null,je.apply(De,arguments)}function Be(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 Ue(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 Ve(e){if(Be(e)!==e)throw Error(n(188))}function He(e){return e=function(e){var t=e.alternate;if(!t){if(null===(t=Be(e)))throw Error(n(188));return t!==e?null:e}for(var r=e,o=t;;){var a=r.return;if(null===a)break;var i=a.alternate;if(null===i){if(null!==(o=a.return)){r=o;continue}break}if(a.child===i.child){for(i=a.child;i;){if(i===r)return Ve(a),e;if(i===o)return Ve(a),t;i=i.sibling}throw Error(n(188))}if(r.return!==o.return)r=a,o=i;else{for(var l=!1,s=a.child;s;){if(s===r){l=!0,r=a,o=i;break}if(s===o){l=!0,o=a,r=i;break}s=s.sibling}if(!l){for(s=i.child;s;){if(s===r){l=!0,r=i,o=a;break}if(s===o){l=!0,o=i,r=a;break}s=s.sibling}if(!l)throw Error(n(189))}}if(r.alternate!==o)throw Error(n(190))}if(3!==r.tag)throw Error(n(188));return r.stateNode.current===r?e:t}(e),null!==e?qe(e):null}function qe(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=qe(e);if(null!==t)return t;e=e.sibling}return null}var Ke=t.unstable_scheduleCallback,Qe=t.unstable_cancelCallback,Ge=t.unstable_shouldYield,Xe=t.unstable_requestPaint,Ye=t.unstable_now,Je=t.unstable_getCurrentPriorityLevel,Ze=t.unstable_ImmediatePriority,et=t.unstable_UserBlockingPriority,tt=t.unstable_NormalPriority,nt=t.unstable_LowPriority,rt=t.unstable_IdlePriority,ot=null,at=null;var it=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(lt(e)/st|0)|0},lt=Math.log,st=Math.LN2;var ut=64,ct=4194304;function dt(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 pt(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=dt(l):0!==(a&=i)&&(r=dt(a))}else 0!==(i=n&~o)?r=dt(i):0!==a&&(r=dt(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-it(t)),r|=e[n],t&=~o;return r}function ft(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}}function ht(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=ut;return 0==(4194240&(ut<<=1))&&(ut=64),e}function vt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function gt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-it(t)]=n}function yt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-it(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var bt=0;function xt(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var wt,kt,St,Et,Ct,Ot=!1,Pt=[],Rt=null,Tt=null,Mt=null,$t=new Map,It=new Map,Nt=[],At="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 jt(e,t){switch(e){case"focusin":case"focusout":Rt=null;break;case"dragenter":case"dragleave":Tt=null;break;case"mouseover":case"mouseout":Mt=null;break;case"pointerover":case"pointerout":$t.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":It.delete(t.pointerId)}}function zt(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=xo(t))&&kt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function _t(e){var t=bo(e.target);if(null!==t){var n=Be(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ue(n)))return e.blockedOn=t,void Ct(e.priority,(function(){St(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Lt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Gt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=xo(n))&&kt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);xe=r,n.target.dispatchEvent(r),xe=null,t.shift()}return!0}function Ft(e,t,n){Lt(e)&&n.delete(t)}function Dt(){Ot=!1,null!==Rt&&Lt(Rt)&&(Rt=null),null!==Tt&&Lt(Tt)&&(Tt=null),null!==Mt&&Lt(Mt)&&(Mt=null),$t.forEach(Ft),It.forEach(Ft)}function Wt(e,n){e.blockedOn===n&&(e.blockedOn=null,Ot||(Ot=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Dt)))}function Bt(e){function t(t){return Wt(t,e)}if(0<Pt.length){Wt(Pt[0],e);for(var n=1;n<Pt.length;n++){var r=Pt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Rt&&Wt(Rt,e),null!==Tt&&Wt(Tt,e),null!==Mt&&Wt(Mt,e),$t.forEach(t),It.forEach(t),n=0;n<Nt.length;n++)(r=Nt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Nt.length&&null===(n=Nt[0]).blockedOn;)_t(n),null===n.blockedOn&&Nt.shift()}var Ut=w.ReactCurrentBatchConfig,Vt=!0;function Ht(e,t,n,r){var o=bt,a=Ut.transition;Ut.transition=null;try{bt=1,Kt(e,t,n,r)}finally{bt=o,Ut.transition=a}}function qt(e,t,n,r){var o=bt,a=Ut.transition;Ut.transition=null;try{bt=4,Kt(e,t,n,r)}finally{bt=o,Ut.transition=a}}function Kt(e,t,n,r){if(Vt){var o=Gt(e,t,n,r);if(null===o)Vr(e,t,r,Qt,n),jt(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return Rt=zt(Rt,e,t,n,r,o),!0;case"dragenter":return Tt=zt(Tt,e,t,n,r,o),!0;case"mouseover":return Mt=zt(Mt,e,t,n,r,o),!0;case"pointerover":var a=o.pointerId;return $t.set(a,zt($t.get(a)||null,e,t,n,r,o)),!0;case"gotpointercapture":return a=o.pointerId,It.set(a,zt(It.get(a)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(jt(e,r),4&t&&-1<At.indexOf(e)){for(;null!==o;){var a=xo(o);if(null!==a&&wt(a),null===(a=Gt(e,t,n,r))&&Vr(e,t,r,Qt,n),a===o)break;o=a}null!==o&&r.stopPropagation()}else Vr(e,t,r,null,n)}}var Qt=null;function Gt(e,t,n,r){if(Qt=null,null!==(e=bo(e=we(r))))if(null===(t=Be(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Ue(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 Qt=e,null}function Xt(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(Je()){case Ze:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Yt=null,Jt=null,Zt=null;function en(){if(Zt)return Zt;var e,t,n=Jt,r=n.length,o="value"in Yt?Yt.value:Yt.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 Zt=o.slice(e,1<t?1-t:void 0)}function tn(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 nn(){return!0}function rn(){return!1}function on(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)?nn:rn,this.isPropagationStopped=rn,this}return L(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=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var an,ln,sn,un={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=on(un),dn=L({},un,{view:0,detail:0}),pn=on(dn),fn=L({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cn,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!==sn&&(sn&&"mousemove"===e.type?(an=e.screenX-sn.screenX,ln=e.screenY-sn.screenY):ln=an=0,sn=e),an)},movementY:function(e){return"movementY"in e?e.movementY:ln}}),hn=on(fn),mn=on(L({},fn,{dataTransfer:0})),vn=on(L({},dn,{relatedTarget:0})),gn=on(L({},un,{animationName:0,elapsedTime:0,pseudoElement:0})),yn=L({},un,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=on(yn),xn=on(L({},un,{data:0})),wn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},kn={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"},Sn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function En(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Sn[e])&&!!t[e]}function Cn(){return En}var On=L({},dn,{key:function(e){if(e.key){var t=wn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?kn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Pn=on(On),Rn=on(L({},fn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Tn=on(L({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cn})),Mn=on(L({},un,{propertyName:0,elapsedTime:0,pseudoElement:0})),$n=L({},fn,{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}),In=on($n),Nn=[9,13,27,32],An=s&&"CompositionEvent"in window,jn=null;s&&"documentMode"in document&&(jn=document.documentMode);var zn=s&&"TextEvent"in window&&!jn,_n=s&&(!An||jn&&8<jn&&11>=jn),Ln=String.fromCharCode(32),Fn=!1;function Dn(e,t){switch(e){case"keyup":return-1!==Nn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Wn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Bn=!1;var Un={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 Vn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Un[e.type]:"textarea"===t}function Hn(e,t,n,r){Oe(r),0<(t=qr(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var qn=null,Kn=null;function Qn(e){Lr(e,0)}function Gn(e){if(Q(wo(e)))return e}function Xn(e,t){if("change"===e)return t}var Yn=!1;if(s){var Jn;if(s){var Zn="oninput"in document;if(!Zn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Zn="function"==typeof er.oninput}Jn=Zn}else Jn=!1;Yn=Jn&&(!document.documentMode||9<document.documentMode)}function tr(){qn&&(qn.detachEvent("onpropertychange",nr),Kn=qn=null)}function nr(e){if("value"===e.propertyName&&Gn(Kn)){var t=[];Hn(t,Kn,e,we(e)),$e(Qn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Kn=n,(qn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function or(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Gn(Kn)}function ar(e,t){if("click"===e)return Gn(t)}function ir(e,t){if("input"===e||"change"===e)return Gn(t)}var lr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function sr(e,t){if(lr(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(!u.call(t,o)||!lr(e[o],t[o]))return!1}return!0}function ur(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cr(e,t){var n,r=ur(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=ur(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function pr(){for(var e=window,t=G();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=G((e=t.contentWindow).document)}return t}function fr(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)}function hr(e){var t=pr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&fr(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=cr(n,a);var i=cr(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}}var mr=s&&"documentMode"in document&&11>=document.documentMode,vr=null,gr=null,yr=null,br=!1;function xr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==vr||vr!==G(r)||("selectionStart"in(r=vr)&&fr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},yr&&sr(yr,r)||(yr=r,0<(r=qr(gr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=vr)))}function wr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var kr={animationend:wr("Animation","AnimationEnd"),animationiteration:wr("Animation","AnimationIteration"),animationstart:wr("Animation","AnimationStart"),transitionend:wr("Transition","TransitionEnd")},Sr={},Er={};function Cr(e){if(Sr[e])return Sr[e];if(!kr[e])return e;var t,n=kr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Er)return Sr[e]=n[t];return e}s&&(Er=document.createElement("div").style,"AnimationEvent"in window||(delete kr.animationend.animation,delete kr.animationiteration.animation,delete kr.animationstart.animation),"TransitionEvent"in window||delete kr.transitionend.transition);var Or=Cr("animationend"),Pr=Cr("animationiteration"),Rr=Cr("animationstart"),Tr=Cr("transitionend"),Mr=new Map,$r="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 Ir(e,t){Mr.set(e,t),a(t,[e])}for(var Nr=0;Nr<$r.length;Nr++){var Ar=$r[Nr];Ir(Ar.toLowerCase(),"on"+(Ar[0].toUpperCase()+Ar.slice(1)))}Ir(Or,"onAnimationEnd"),Ir(Pr,"onAnimationIteration"),Ir(Rr,"onAnimationStart"),Ir("dblclick","onDoubleClick"),Ir("focusin","onFocus"),Ir("focusout","onBlur"),Ir(Tr,"onTransitionEnd"),i("onMouseEnter",["mouseout","mouseover"]),i("onMouseLeave",["mouseout","mouseover"]),i("onPointerEnter",["pointerout","pointerover"]),i("onPointerLeave",["pointerout","pointerover"]),a("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),a("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),a("onBeforeInput",["compositionend","keypress","textInput","paste"]),a("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),a("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),a("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var jr="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(" "),zr=new Set("cancel close invalid load scroll toggle".split(" ").concat(jr));function _r(e,t,r){var o=e.type||"unknown-event";e.currentTarget=r,function(e,t,r,o,a,i,l,s,u){if(We.apply(this,arguments),ze){if(!ze)throw Error(n(198));var c=_e;ze=!1,_e=null,Le||(Le=!0,Fe=c)}}(o,t,void 0,e),e.currentTarget=null}function Lr(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],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==a&&o.isPropagationStopped())break e;_r(o,l,u),a=s}else for(i=0;i<r.length;i++){if(s=(l=r[i]).instance,u=l.currentTarget,l=l.listener,s!==a&&o.isPropagationStopped())break e;_r(o,l,u),a=s}}}if(Le)throw e=Fe,Le=!1,Fe=null,e}function Fr(e,t){var n=t[vo];void 0===n&&(n=t[vo]=new Set);var r=e+"__bubble";n.has(r)||(Ur(t,e,2,!1),n.add(r))}function Dr(e,t,n){var r=0;t&&(r|=4),Ur(n,e,r,t)}var Wr="_reactListening"+Math.random().toString(36).slice(2);function Br(e){if(!e[Wr]){e[Wr]=!0,r.forEach((function(t){"selectionchange"!==t&&(zr.has(t)||Dr(t,!1,e),Dr(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Wr]||(t[Wr]=!0,Dr("selectionchange",!1,t))}}function Ur(e,t,n,r){switch(Xt(t)){case 1:var o=Ht;break;case 4:o=qt;break;default:o=Kt}n=o.bind(null,t,n,e),o=void 0,!Ne||"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 Vr(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 s=i.tag;if((3===s||4===s)&&((s=i.stateNode.containerInfo)===o||8===s.nodeType&&s.parentNode===o))return;i=i.return}for(;null!==l;){if(null===(i=bo(l)))return;if(5===(s=i.tag)||6===s){r=a=i;continue e}l=l.parentNode}}r=r.return}$e((function(){var r=a,o=we(n),i=[];e:{var l=Mr.get(e);if(void 0!==l){var s=cn,u=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":s=Pn;break;case"focusin":u="focus",s=vn;break;case"focusout":u="blur",s=vn;break;case"beforeblur":case"afterblur":s=vn;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":s=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=Tn;break;case Or:case Pr:case Rr:s=gn;break;case Tr:s=Mn;break;case"scroll":s=pn;break;case"wheel":s=In;break;case"copy":case"cut":case"paste":s=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=Rn}var c=0!=(4&t),d=!c&&"scroll"===e,p=c?null!==l?l+"Capture":null:l;c=[];for(var f,h=r;null!==h;){var m=(f=h).stateNode;if(5===f.tag&&null!==m&&(f=m,null!==p&&(null!=(m=Ie(h,p))&&c.push(Hr(h,m,f)))),d)break;h=h.return}0<c.length&&(l=new s(l,u,null,n,o),i.push({event:l,listeners:c}))}}if(0==(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===xe||!(u=n.relatedTarget||n.fromElement)||!bo(u)&&!u[mo])&&(s||l)&&(l=o.window===o?o:(l=o.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=r,null!==(u=(u=n.relatedTarget||n.toElement)?bo(u):null)&&(u!==(d=Be(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(s=null,u=r),s!==u)){if(c=hn,m="onMouseLeave",p="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=Rn,m="onPointerLeave",p="onPointerEnter",h="pointer"),d=null==s?l:wo(s),f=null==u?l:wo(u),(l=new c(m,h+"leave",s,n,o)).target=d,l.relatedTarget=f,m=null,bo(o)===r&&((c=new c(p,h+"enter",u,n,o)).target=f,c.relatedTarget=d,m=c),d=m,s&&u)e:{for(p=u,h=0,f=c=s;f;f=Kr(f))h++;for(f=0,m=p;m;m=Kr(m))f++;for(;0<h-f;)c=Kr(c),h--;for(;0<f-h;)p=Kr(p),f--;for(;h--;){if(c===p||null!==p&&c===p.alternate)break e;c=Kr(c),p=Kr(p)}c=null}else c=null;null!==s&&Qr(i,l,s,c,!1),null!==u&&null!==d&&Qr(i,d,u,c,!0)}if("select"===(s=(l=r?wo(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var v=Xn;else if(Vn(l))if(Yn)v=ir;else{v=or;var g=rr}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(v=ar);switch(v&&(v=v(e,r))?Hn(i,v,n,o):(g&&g(e,l,r),"focusout"===e&&(g=l._wrapperState)&&g.controlled&&"number"===l.type&&te(l,"number",l.value)),g=r?wo(r):window,e){case"focusin":(Vn(g)||"true"===g.contentEditable)&&(vr=g,gr=r,yr=null);break;case"focusout":yr=gr=vr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,xr(i,n,o);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":xr(i,n,o)}var y;if(An)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Bn?Dn(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(_n&&"ko"!==n.locale&&(Bn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Bn&&(y=en()):(Jt="value"in(Yt=o)?Yt.value:Yt.textContent,Bn=!0)),0<(g=qr(r,b)).length&&(b=new xn(b,e,null,n,o),i.push({event:b,listeners:g}),y?b.data=y:null!==(y=Wn(n))&&(b.data=y))),(y=zn?function(e,t){switch(e){case"compositionend":return Wn(t);case"keypress":return 32!==t.which?null:(Fn=!0,Ln);case"textInput":return(e=t.data)===Ln&&Fn?null:e;default:return null}}(e,n):function(e,t){if(Bn)return"compositionend"===e||!An&&Dn(e,t)?(e=en(),Zt=Jt=Yt=null,Bn=!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 _n&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=qr(r,"onBeforeInput")).length&&(o=new xn("onBeforeInput","beforeinput",null,n,o),i.push({event:o,listeners:r}),o.data=y))}Lr(i,t)}))}function Hr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function qr(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=Ie(e,n))&&r.unshift(Hr(e,a,o)),null!=(a=Ie(e,t))&&r.push(Hr(e,a,o))),e=e.return}return r}function Kr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Qr(e,t,n,r,o){for(var a=t._reactName,i=[];null!==n&&n!==r;){var l=n,s=l.alternate,u=l.stateNode;if(null!==s&&s===r)break;5===l.tag&&null!==u&&(l=u,o?null!=(s=Ie(n,a))&&i.unshift(Hr(n,s,l)):o||null!=(s=Ie(n,a))&&i.push(Hr(n,s,l))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var Gr=/\r\n?/g,Xr=/\u0000|\uFFFD/g;function Yr(e){return("string"==typeof e?e:""+e).replace(Gr,"\n").replace(Xr,"")}function Jr(e,t,r){if(t=Yr(t),Yr(e)!==t&&r)throw Error(n(425))}function Zr(){}var eo=null,to=null;function no(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 ro="function"==typeof setTimeout?setTimeout:void 0,oo="function"==typeof clearTimeout?clearTimeout:void 0,ao="function"==typeof Promise?Promise:void 0,io="function"==typeof queueMicrotask?queueMicrotask:void 0!==ao?function(e){return ao.resolve(null).then(e).catch(lo)}:ro;function lo(e){setTimeout((function(){throw e}))}function so(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)return e.removeChild(o),void Bt(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);Bt(t)}function uo(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 co(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 po=Math.random().toString(36).slice(2),fo="__reactFiber$"+po,ho="__reactProps$"+po,mo="__reactContainer$"+po,vo="__reactEvents$"+po,go="__reactListeners$"+po,yo="__reactHandles$"+po;function bo(e){var t=e[fo];if(t)return t;for(var n=e.parentNode;n;){if(t=n[mo]||n[fo]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=co(e);null!==e;){if(n=e[fo])return n;e=co(e)}return t}n=(e=n).parentNode}return null}function xo(e){return!(e=e[fo]||e[mo])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function wo(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(n(33))}function ko(e){return e[ho]||null}var So=[],Eo=-1;function Co(e){return{current:e}}function Oo(e){0>Eo||(e.current=So[Eo],So[Eo]=null,Eo--)}function Po(e,t){Eo++,So[Eo]=e.current,e.current=t}var Ro={},To=Co(Ro),Mo=Co(!1),$o=Ro;function Io(e,t){var n=e.type.contextTypes;if(!n)return Ro;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 No(e){return null!=(e=e.childContextTypes)}function Ao(){Oo(Mo),Oo(To)}function jo(e,t,r){if(To.current!==Ro)throw Error(n(168));Po(To,t),Po(Mo,r)}function zo(e,t,r){var o=e.stateNode;if(t=t.childContextTypes,"function"!=typeof o.getChildContext)return r;for(var a in o=o.getChildContext())if(!(a in t))throw Error(n(108,V(e)||"Unknown",a));return L({},r,o)}function _o(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ro,$o=To.current,Po(To,e),Po(Mo,Mo.current),!0}function Lo(e,t,r){var o=e.stateNode;if(!o)throw Error(n(169));r?(e=zo(e,t,$o),o.__reactInternalMemoizedMergedChildContext=e,Oo(Mo),Oo(To),Po(To,e)):Oo(Mo),Po(Mo,r)}var Fo=null,Do=!1,Wo=!1;function Bo(e){null===Fo?Fo=[e]:Fo.push(e)}function Uo(){if(!Wo&&null!==Fo){Wo=!0;var e=0,t=bt;try{var n=Fo;for(bt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Fo=null,Do=!1}catch(t){throw null!==Fo&&(Fo=Fo.slice(e+1)),Ke(Ze,Uo),t}finally{bt=t,Wo=!1}}return null}var Vo=[],Ho=0,qo=null,Ko=0,Qo=[],Go=0,Xo=null,Yo=1,Jo="";function Zo(e,t){Vo[Ho++]=Ko,Vo[Ho++]=qo,qo=e,Ko=t}function ea(e,t,n){Qo[Go++]=Yo,Qo[Go++]=Jo,Qo[Go++]=Xo,Xo=e;var r=Yo;e=Jo;var o=32-it(r)-1;r&=~(1<<o),n+=1;var a=32-it(t)+o;if(30<a){var i=o-o%5;a=(r&(1<<i)-1).toString(32),r>>=i,o-=i,Yo=1<<32-it(t)+o|n<<o|r,Jo=a+e}else Yo=1<<a|n<<o|r,Jo=e}function ta(e){null!==e.return&&(Zo(e,1),ea(e,1,0))}function na(e){for(;e===qo;)qo=Vo[--Ho],Vo[Ho]=null,Ko=Vo[--Ho],Vo[Ho]=null;for(;e===Xo;)Xo=Qo[--Go],Qo[Go]=null,Jo=Qo[--Go],Qo[Go]=null,Yo=Qo[--Go],Qo[Go]=null}var ra=null,oa=null,aa=!1,ia=null;function la(e,t){var n=Iu(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 sa(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,ra=e,oa=uo(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ra=e,oa=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Xo?{id:Yo,overflow:Jo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Iu(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ra=e,oa=null,!0);default:return!1}}function ua(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function ca(e){if(aa){var t=oa;if(t){var r=t;if(!sa(e,t)){if(ua(e))throw Error(n(418));t=uo(r.nextSibling);var o=ra;t&&sa(e,t)?la(o,r):(e.flags=-4097&e.flags|2,aa=!1,ra=e)}}else{if(ua(e))throw Error(n(418));e.flags=-4097&e.flags|2,aa=!1,ra=e}}}function da(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ra=e}function pa(e){if(e!==ra)return!1;if(!aa)return da(e),aa=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!no(e.type,e.memoizedProps)),t&&(t=oa)){if(ua(e))throw fa(),Error(n(418));for(;t;)la(e,t),t=uo(t.nextSibling)}if(da(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(n(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var r=e.data;if("/$"===r){if(0===t){oa=uo(e.nextSibling);break e}t--}else"$"!==r&&"$!"!==r&&"$?"!==r||t++}e=e.nextSibling}oa=null}}else oa=ra?uo(e.stateNode.nextSibling):null;return!0}function fa(){for(var e=oa;e;)e=uo(e.nextSibling)}function ha(){oa=ra=null,aa=!1}function ma(e){null===ia?ia=[e]:ia.push(e)}var va=w.ReactCurrentBatchConfig;function ga(e,t){if(e&&e.defaultProps){for(var n in t=L({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var ya=Co(null),ba=null,xa=null,wa=null;function ka(){wa=xa=ba=null}function Sa(e){var t=ya.current;Oo(ya),e._currentValue=t}function Ea(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 Ca(e,t){ba=e,wa=xa=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(xl=!0),e.firstContext=null)}function Oa(e){var t=e._currentValue;if(wa!==e)if(e={context:e,memoizedValue:t,next:null},null===xa){if(null===ba)throw Error(n(308));xa=e,ba.dependencies={lanes:0,firstContext:e}}else xa=xa.next=e;return t}var Pa=null;function Ra(e){null===Pa?Pa=[e]:Pa.push(e)}function Ta(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,Ra(t)):(n.next=o.next,o.next=n),t.interleaved=n,Ma(e,r)}function Ma(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 $a=!1;function Ia(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Na(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 Aa(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function ja(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&Ts)){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Ma(e,n)}return null===(o=r.interleaved)?(t.next=t,Ra(r)):(t.next=o.next,o.next=t),r.interleaved=t,Ma(e,n)}function za(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}function _a(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;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function La(e,t,n,r){var o=e.updateQueue;$a=!1;var a=o.firstBaseUpdate,i=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var s=l,u=s.next;s.next=null,null===i?a=u:i.next=u,i=s;var c=e.alternate;null!==c&&((l=(c=c.updateQueue).lastBaseUpdate)!==i&&(null===l?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=s))}if(null!==a){var d=o.baseState;for(i=0,c=u=s=null,l=a;;){var p=l.lane,f=l.eventTime;if((r&p)===p){null!==c&&(c=c.next={eventTime:f,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var h=e,m=l;switch(p=t,f=n,m.tag){case 1:if("function"==typeof(h=m.payload)){d=h.call(f,d,p);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(p="function"==typeof(h=m.payload)?h.call(f,d,p):h))break e;d=L({},d,p);break e;case 2:$a=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(p=o.effects)?o.effects=[l]:p.push(l))}else f={eventTime:f,lane:p,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===c?(u=c=f,s=d):c=c.next=f,i|=p;if(null===(l=l.next)){if(null===(l=o.shared.pending))break;l=(p=l).next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}}if(null===c&&(s=d),o.baseState=s,o.firstBaseUpdate=u,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);_s|=i,e.lanes=i,e.memoizedState=d}}function Fa(e,t,r){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var o=e[t],a=o.callback;if(null!==a){if(o.callback=null,o=r,"function"!=typeof a)throw Error(n(191,a));a.call(o)}}}var Da=(new e.Component).refs;function Wa(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:L({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Ba={isMounted:function(e){return!!(e=e._reactInternals)&&Be(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=tu(),o=nu(e),a=Aa(r,o);a.payload=t,null!=n&&(a.callback=n),null!==(t=ja(e,a,o))&&(ru(t,e,o,r),za(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=tu(),o=nu(e),a=Aa(r,o);a.tag=1,a.payload=t,null!=n&&(a.callback=n),null!==(t=ja(e,a,o))&&(ru(t,e,o,r),za(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=tu(),r=nu(e),o=Aa(n,r);o.tag=2,null!=t&&(o.callback=t),null!==(t=ja(e,o,r))&&(ru(t,e,r,n),za(t,e,r))}};function Ua(e,t,n,r,o,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,i):!t.prototype||!t.prototype.isPureReactComponent||(!sr(n,r)||!sr(o,a))}function Va(e,t,n){var r=!1,o=Ro,a=t.contextType;return"object"==typeof a&&null!==a?a=Oa(a):(o=No(t)?$o:To.current,a=(r=null!=(r=t.contextTypes))?Io(e,o):Ro),t=new t(n,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Ba,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function Ha(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&&Ba.enqueueReplaceState(t,t.state,null)}function qa(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=Da,Ia(e);var a=t.contextType;"object"==typeof a&&null!==a?o.context=Oa(a):(a=No(t)?$o:To.current,o.context=Io(e,a)),o.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&(Wa(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&&Ba.enqueueReplaceState(o,o.state,null),La(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function Ka(e,t,r){if(null!==(e=r.ref)&&"function"!=typeof e&&"object"!=typeof e){if(r._owner){if(r=r._owner){if(1!==r.tag)throw Error(n(309));var o=r.stateNode}if(!o)throw Error(n(147,e));var a=o,i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=a.refs;t===Da&&(t=a.refs={}),null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(n(284));if(!r._owner)throw Error(n(290,e))}return e}function Qa(e,t){throw e=Object.prototype.toString.call(t),Error(n(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Ga(e){return(0,e._init)(e._payload)}function Xa(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function r(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function o(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 a(e,t){return(e=Au(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function l(t){return e&&null===t.alternate&&(t.flags|=2),t}function s(e,t,n,r){return null===t||6!==t.tag?((t=Lu(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function u(e,t,n,r){var o=n.type;return o===E?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===N&&Ga(o)===t.type)?((r=a(t,n.props)).ref=Ka(e,t,n),r.return=e,r):((r=ju(n.type,n.key,n.props,null,e.mode,r)).ref=Ka(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Fu(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function d(e,t,n,r,o){return null===t||7!==t.tag?((t=zu(n,e.mode,r,o)).return=e,t):((t=a(t,n)).return=e,t)}function p(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Lu(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case k:return(n=ju(t.type,t.key,t.props,null,e.mode,n)).ref=Ka(e,null,t),n.return=e,n;case S:return(t=Fu(t,e.mode,n)).return=e,t;case N:return p(e,(0,t._init)(t._payload),n)}if(ne(t)||z(t))return(t=zu(t,e.mode,n,null)).return=e,t;Qa(e,t)}return null}function f(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==o?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case k:return n.key===o?u(e,t,n,r):null;case S:return n.key===o?c(e,t,n,r):null;case N:return f(e,t,(o=n._init)(n._payload),r)}if(ne(n)||z(n))return null!==o?null:d(e,t,n,r,null);Qa(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r)return s(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case k:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case S:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case N:return h(e,t,n,(0,r._init)(r._payload),o)}if(ne(r)||z(r))return d(t,e=e.get(n)||null,r,o,null);Qa(t,r)}return null}function m(n,a,l,s){for(var u=null,c=null,d=a,m=a=0,v=null;null!==d&&m<l.length;m++){d.index>m?(v=d,d=null):v=d.sibling;var g=f(n,d,l[m],s);if(null===g){null===d&&(d=v);break}e&&d&&null===g.alternate&&t(n,d),a=i(g,a,m),null===c?u=g:c.sibling=g,c=g,d=v}if(m===l.length)return r(n,d),aa&&Zo(n,m),u;if(null===d){for(;m<l.length;m++)null!==(d=p(n,l[m],s))&&(a=i(d,a,m),null===c?u=d:c.sibling=d,c=d);return aa&&Zo(n,m),u}for(d=o(n,d);m<l.length;m++)null!==(v=h(d,n,m,l[m],s))&&(e&&null!==v.alternate&&d.delete(null===v.key?m:v.key),a=i(v,a,m),null===c?u=v:c.sibling=v,c=v);return e&&d.forEach((function(e){return t(n,e)})),aa&&Zo(n,m),u}function v(a,l,s,u){var c=z(s);if("function"!=typeof c)throw Error(n(150));if(null==(s=c.call(s)))throw Error(n(151));for(var d=c=null,m=l,v=l=0,g=null,y=s.next();null!==m&&!y.done;v++,y=s.next()){m.index>v?(g=m,m=null):g=m.sibling;var b=f(a,m,y.value,u);if(null===b){null===m&&(m=g);break}e&&m&&null===b.alternate&&t(a,m),l=i(b,l,v),null===d?c=b:d.sibling=b,d=b,m=g}if(y.done)return r(a,m),aa&&Zo(a,v),c;if(null===m){for(;!y.done;v++,y=s.next())null!==(y=p(a,y.value,u))&&(l=i(y,l,v),null===d?c=y:d.sibling=y,d=y);return aa&&Zo(a,v),c}for(m=o(a,m);!y.done;v++,y=s.next())null!==(y=h(m,a,v,y.value,u))&&(e&&null!==y.alternate&&m.delete(null===y.key?v:y.key),l=i(y,l,v),null===d?c=y:d.sibling=y,d=y);return e&&m.forEach((function(e){return t(a,e)})),aa&&Zo(a,v),c}return function e(n,o,i,s){if("object"==typeof i&&null!==i&&i.type===E&&null===i.key&&(i=i.props.children),"object"==typeof i&&null!==i){switch(i.$$typeof){case k:e:{for(var u=i.key,c=o;null!==c;){if(c.key===u){if((u=i.type)===E){if(7===c.tag){r(n,c.sibling),(o=a(c,i.props.children)).return=n,n=o;break e}}else if(c.elementType===u||"object"==typeof u&&null!==u&&u.$$typeof===N&&Ga(u)===c.type){r(n,c.sibling),(o=a(c,i.props)).ref=Ka(n,c,i),o.return=n,n=o;break e}r(n,c);break}t(n,c),c=c.sibling}i.type===E?((o=zu(i.props.children,n.mode,s,i.key)).return=n,n=o):((s=ju(i.type,i.key,i.props,null,n.mode,s)).ref=Ka(n,o,i),s.return=n,n=s)}return l(n);case S:e:{for(c=i.key;null!==o;){if(o.key===c){if(4===o.tag&&o.stateNode.containerInfo===i.containerInfo&&o.stateNode.implementation===i.implementation){r(n,o.sibling),(o=a(o,i.children||[])).return=n,n=o;break e}r(n,o);break}t(n,o),o=o.sibling}(o=Fu(i,n.mode,s)).return=n,n=o}return l(n);case N:return e(n,o,(c=i._init)(i._payload),s)}if(ne(i))return m(n,o,i,s);if(z(i))return v(n,o,i,s);Qa(n,i)}return"string"==typeof i&&""!==i||"number"==typeof i?(i=""+i,null!==o&&6===o.tag?(r(n,o.sibling),(o=a(o,i)).return=n,n=o):(r(n,o),(o=Lu(i,n.mode,s)).return=n,n=o),l(n)):r(n,o)}}var Ya=Xa(!0),Ja=Xa(!1),Za={},ei=Co(Za),ti=Co(Za),ni=Co(Za);function ri(e){if(e===Za)throw Error(n(174));return e}function oi(e,t){switch(Po(ni,t),Po(ti,e),Po(ei,Za),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ue(null,"");break;default:t=ue(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Oo(ei),Po(ei,t)}function ai(){Oo(ei),Oo(ti),Oo(ni)}function ii(e){ri(ni.current);var t=ri(ei.current),n=ue(t,e.type);t!==n&&(Po(ti,e),Po(ei,n))}function li(e){ti.current===e&&(Oo(ei),Oo(ti))}var si=Co(0);function ui(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 ci=[];function di(){for(var e=0;e<ci.length;e++)ci[e]._workInProgressVersionPrimary=null;ci.length=0}var pi=w.ReactCurrentDispatcher,fi=w.ReactCurrentBatchConfig,hi=0,mi=null,vi=null,gi=null,yi=!1,bi=!1,xi=0,wi=0;function ki(){throw Error(n(321))}function Si(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!lr(e[n],t[n]))return!1;return!0}function Ei(e,t,r,o,a,i){if(hi=i,mi=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,pi.current=null===e||null===e.memoizedState?ll:sl,e=r(o,a),bi){i=0;do{if(bi=!1,xi=0,25<=i)throw Error(n(301));i+=1,gi=vi=null,t.updateQueue=null,pi.current=ul,e=r(o,a)}while(bi)}if(pi.current=il,t=null!==vi&&null!==vi.next,hi=0,gi=vi=mi=null,yi=!1,t)throw Error(n(300));return e}function Ci(){var e=0!==xi;return xi=0,e}function Oi(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===gi?mi.memoizedState=gi=e:gi=gi.next=e,gi}function Pi(){if(null===vi){var e=mi.alternate;e=null!==e?e.memoizedState:null}else e=vi.next;var t=null===gi?mi.memoizedState:gi.next;if(null!==t)gi=t,vi=e;else{if(null===e)throw Error(n(310));e={memoizedState:(vi=e).memoizedState,baseState:vi.baseState,baseQueue:vi.baseQueue,queue:vi.queue,next:null},null===gi?mi.memoizedState=gi=e:gi=gi.next=e}return gi}function Ri(e,t){return"function"==typeof t?t(e):t}function Ti(e){var t=Pi(),r=t.queue;if(null===r)throw Error(n(311));r.lastRenderedReducer=e;var o=vi,a=o.baseQueue,i=r.pending;if(null!==i){if(null!==a){var l=a.next;a.next=i.next,i.next=l}o.baseQueue=a=i,r.pending=null}if(null!==a){i=a.next,o=o.baseState;var s=l=null,u=null,c=i;do{var d=c.lane;if((hi&d)===d)null!==u&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),o=c.hasEagerState?c.eagerState:e(o,c.action);else{var p={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===u?(s=u=p,l=o):u=u.next=p,mi.lanes|=d,_s|=d}c=c.next}while(null!==c&&c!==i);null===u?l=o:u.next=s,lr(o,t.memoizedState)||(xl=!0),t.memoizedState=o,t.baseState=l,t.baseQueue=u,r.lastRenderedState=o}if(null!==(e=r.interleaved)){a=e;do{i=a.lane,mi.lanes|=i,_s|=i,a=a.next}while(a!==e)}else null===a&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function Mi(e){var t=Pi(),r=t.queue;if(null===r)throw Error(n(311));r.lastRenderedReducer=e;var o=r.dispatch,a=r.pending,i=t.memoizedState;if(null!==a){r.pending=null;var l=a=a.next;do{i=e(i,l.action),l=l.next}while(l!==a);lr(i,t.memoizedState)||(xl=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),r.lastRenderedState=i}return[i,o]}function $i(){}function Ii(e,t){var r=mi,o=Pi(),a=t(),i=!lr(o.memoizedState,a);if(i&&(o.memoizedState=a,xl=!0),o=o.queue,Vi(ji.bind(null,r,o,e),[e]),o.getSnapshot!==t||i||null!==gi&&1&gi.memoizedState.tag){if(r.flags|=2048,Fi(9,Ai.bind(null,r,o,a,t),void 0,null),null===Ms)throw Error(n(349));0!=(30&hi)||Ni(r,t,a)}return a}function Ni(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=mi.updateQueue)?(t={lastEffect:null,stores:null},mi.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Ai(e,t,n,r){t.value=n,t.getSnapshot=r,zi(t)&&_i(e)}function ji(e,t,n){return n((function(){zi(t)&&_i(e)}))}function zi(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!lr(e,n)}catch(e){return!0}}function _i(e){var t=Ma(e,1);null!==t&&ru(t,e,1,-1)}function Li(e){var t=Oi();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ri,lastRenderedState:e},t.queue=e,e=e.dispatch=nl.bind(null,mi,e),[t.memoizedState,e]}function Fi(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=mi.updateQueue)?(t={lastEffect:null,stores:null},mi.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 Di(){return Pi().memoizedState}function Wi(e,t,n,r){var o=Oi();mi.flags|=e,o.memoizedState=Fi(1|t,n,void 0,void 0===r?null:r)}function Bi(e,t,n,r){var o=Pi();r=void 0===r?null:r;var a=void 0;if(null!==vi){var i=vi.memoizedState;if(a=i.destroy,null!==r&&Si(r,i.deps))return void(o.memoizedState=Fi(t,n,a,r))}mi.flags|=e,o.memoizedState=Fi(1|t,n,a,r)}function Ui(e,t){return Wi(8390656,8,e,t)}function Vi(e,t){return Bi(2048,8,e,t)}function Hi(e,t){return Bi(4,2,e,t)}function qi(e,t){return Bi(4,4,e,t)}function Ki(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Qi(e,t,n){return n=null!=n?n.concat([e]):null,Bi(4,4,Ki.bind(null,t,e),n)}function Gi(){}function Xi(e,t){var n=Pi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Si(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Yi(e,t){var n=Pi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Si(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ji(e,t,n){return 0==(21&hi)?(e.baseState&&(e.baseState=!1,xl=!0),e.memoizedState=n):(lr(n,t)||(n=mt(),mi.lanes|=n,_s|=n,e.baseState=!0),t)}function Zi(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var r=fi.transition;fi.transition={};try{e(!1),t()}finally{bt=n,fi.transition=r}}function el(){return Pi().memoizedState}function tl(e,t,n){var r=nu(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rl(e))ol(t,n);else if(null!==(n=Ta(e,t,n,r))){ru(n,e,r,tu()),al(n,t,r)}}function nl(e,t,n){var r=nu(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rl(e))ol(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,lr(l,i)){var s=t.interleaved;return null===s?(o.next=o,Ra(t)):(o.next=s.next,s.next=o),void(t.interleaved=o)}}catch(e){}null!==(n=Ta(e,t,o,r))&&(ru(n,e,r,o=tu()),al(n,t,r))}}function rl(e){var t=e.alternate;return e===mi||null!==t&&t===mi}function ol(e,t){bi=yi=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function al(e,t,n){if(0!=(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}var il={readContext:Oa,useCallback:ki,useContext:ki,useEffect:ki,useImperativeHandle:ki,useInsertionEffect:ki,useLayoutEffect:ki,useMemo:ki,useReducer:ki,useRef:ki,useState:ki,useDebugValue:ki,useDeferredValue:ki,useTransition:ki,useMutableSource:ki,useSyncExternalStore:ki,useId:ki,unstable_isNewReconciler:!1},ll={readContext:Oa,useCallback:function(e,t){return Oi().memoizedState=[e,void 0===t?null:t],e},useContext:Oa,useEffect:Ui,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Wi(4194308,4,Ki.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Wi(4194308,4,e,t)},useInsertionEffect:function(e,t){return Wi(4,2,e,t)},useMemo:function(e,t){var n=Oi();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Oi();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=tl.bind(null,mi,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Oi().memoizedState=e},useState:Li,useDebugValue:Gi,useDeferredValue:function(e){return Oi().memoizedState=e},useTransition:function(){var e=Li(!1),t=e[0];return e=Zi.bind(null,e[1]),Oi().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var o=mi,a=Oi();if(aa){if(void 0===r)throw Error(n(407));r=r()}else{if(r=t(),null===Ms)throw Error(n(349));0!=(30&hi)||Ni(o,t,r)}a.memoizedState=r;var i={value:r,getSnapshot:t};return a.queue=i,Ui(ji.bind(null,o,i,e),[e]),o.flags|=2048,Fi(9,Ai.bind(null,o,i,r,t),void 0,null),r},useId:function(){var e=Oi(),t=Ms.identifierPrefix;if(aa){var n=Jo;t=":"+t+"R"+(n=(Yo&~(1<<32-it(Yo)-1)).toString(32)+n),0<(n=xi++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=wi++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},sl={readContext:Oa,useCallback:Xi,useContext:Oa,useEffect:Vi,useImperativeHandle:Qi,useInsertionEffect:Hi,useLayoutEffect:qi,useMemo:Yi,useReducer:Ti,useRef:Di,useState:function(){return Ti(Ri)},useDebugValue:Gi,useDeferredValue:function(e){return Ji(Pi(),vi.memoizedState,e)},useTransition:function(){return[Ti(Ri)[0],Pi().memoizedState]},useMutableSource:$i,useSyncExternalStore:Ii,useId:el,unstable_isNewReconciler:!1},ul={readContext:Oa,useCallback:Xi,useContext:Oa,useEffect:Vi,useImperativeHandle:Qi,useInsertionEffect:Hi,useLayoutEffect:qi,useMemo:Yi,useReducer:Mi,useRef:Di,useState:function(){return Mi(Ri)},useDebugValue:Gi,useDeferredValue:function(e){var t=Pi();return null===vi?t.memoizedState=e:Ji(t,vi.memoizedState,e)},useTransition:function(){return[Mi(Ri)[0],Pi().memoizedState]},useMutableSource:$i,useSyncExternalStore:Ii,useId:el,unstable_isNewReconciler:!1};function cl(e,t){try{var n="",r=t;do{n+=B(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 dl(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function pl(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var fl="function"==typeof WeakMap?WeakMap:Map;function hl(e,t,n){(n=Aa(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Hs||(Hs=!0,qs=r),pl(0,t)},n}function ml(e,t,n){(n=Aa(-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(){pl(0,t)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(n.callback=function(){pl(0,t),"function"!=typeof r&&(null===Ks?Ks=new Set([this]):Ks.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function vl(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new fl;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=Ou.bind(null,e,t,n),t.then(e,e))}function gl(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 yl(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=Aa(-1,1)).tag=2,ja(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var bl=w.ReactCurrentOwner,xl=!1;function wl(e,t,n,r){t.child=null===e?Ja(t,null,n,r):Ya(t,e.child,n,r)}function kl(e,t,n,r,o){n=n.render;var a=t.ref;return Ca(t,o),r=Ei(e,t,n,r,a,o),n=Ci(),null===e||xl?(aa&&n&&ta(t),t.flags|=1,wl(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Hl(e,t,o))}function Sl(e,t,n,r,o){if(null===e){var a=n.type;return"function"!=typeof a||Nu(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=ju(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,El(e,t,a,r,o))}if(a=e.child,0==(e.lanes&o)){var i=a.memoizedProps;if((n=null!==(n=n.compare)?n:sr)(i,r)&&e.ref===t.ref)return Hl(e,t,o)}return t.flags|=1,(e=Au(a,r)).ref=t.ref,e.return=t,t.child=e}function El(e,t,n,r,o){if(null!==e){var a=e.memoizedProps;if(sr(a,r)&&e.ref===t.ref){if(xl=!1,t.pendingProps=r=a,0==(e.lanes&o))return t.lanes=e.lanes,Hl(e,t,o);0!=(131072&e.flags)&&(xl=!0)}}return Pl(e,t,n,r,o)}function Cl(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},Po(As,Ns),Ns|=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,Po(As,Ns),Ns|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==a?a.baseLanes:n,Po(As,Ns),Ns|=r}else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,Po(As,Ns),Ns|=r;return wl(e,t,o,n),t.child}function Ol(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Pl(e,t,n,r,o){var a=No(n)?$o:To.current;return a=Io(t,a),Ca(t,o),n=Ei(e,t,n,r,a,o),r=Ci(),null===e||xl?(aa&&r&&ta(t),t.flags|=1,wl(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Hl(e,t,o))}function Rl(e,t,n,r,o){if(No(n)){var a=!0;_o(t)}else a=!1;if(Ca(t,o),null===t.stateNode)Vl(e,t),Va(t,n,r),qa(t,n,r,o),r=!0;else if(null===e){var i=t.stateNode,l=t.memoizedProps;i.props=l;var s=i.context,u=n.contextType;"object"==typeof u&&null!==u?u=Oa(u):u=Io(t,u=No(n)?$o:To.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==r||s!==u)&&Ha(t,i,r,u),$a=!1;var p=t.memoizedState;i.state=p,La(t,r,i,o),s=t.memoizedState,l!==r||p!==s||Mo.current||$a?("function"==typeof c&&(Wa(t,n,c,r),s=t.memoizedState),(l=$a||Ua(t,n,l,r,p,s,u))?(d||"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=s),i.props=r,i.state=s,i.context=u,r=l):("function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Na(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:ga(t.type,l),i.props=u,d=t.pendingProps,p=i.context,"object"==typeof(s=n.contextType)&&null!==s?s=Oa(s):s=Io(t,s=No(n)?$o:To.current);var f=n.getDerivedStateFromProps;(c="function"==typeof f||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==d||p!==s)&&Ha(t,i,r,s),$a=!1,p=t.memoizedState,i.state=p,La(t,r,i,o);var h=t.memoizedState;l!==d||p!==h||Mo.current||$a?("function"==typeof f&&(Wa(t,n,f,r),h=t.memoizedState),(u=$a||Ua(t,n,u,r,p,h,s)||!1)?(c||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,h,s),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,h,s)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),i.props=r,i.state=h,i.context=s,r=u):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return Tl(e,t,n,r,a,o)}function Tl(e,t,n,r,o,a){Ol(e,t);var i=0!=(128&t.flags);if(!r&&!i)return o&&Lo(t,n,!1),Hl(e,t,a);r=t.stateNode,bl.current=t;var l=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=Ya(t,e.child,null,a),t.child=Ya(t,null,l,a)):wl(e,t,l,a),t.memoizedState=r.state,o&&Lo(t,n,!0),t.child}function Ml(e){var t=e.stateNode;t.pendingContext?jo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&jo(0,t.context,!1),oi(e,t.containerInfo)}function $l(e,t,n,r,o){return ha(),ma(o),t.flags|=256,wl(e,t,n,r),t.child}var Il,Nl,Al,jl,zl={dehydrated:null,treeContext:null,retryLane:0};function _l(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ll(e,t,r){var o,a=t.pendingProps,i=si.current,l=!1,s=0!=(128&t.flags);if((o=s)||(o=(null===e||null!==e.memoizedState)&&0!=(2&i)),o?(l=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),Po(si,1&i),null===e)return ca(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):(s=a.children,e=a.fallback,l?(a=t.mode,l=t.child,s={mode:"hidden",children:s},0==(1&a)&&null!==l?(l.childLanes=0,l.pendingProps=s):l=_u(s,a,0,null),e=zu(e,a,r,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=_l(r),t.memoizedState=zl,e):Fl(t,s));if(null!==(i=e.memoizedState)&&null!==(o=i.dehydrated))return function(e,t,r,o,a,i,l){if(r)return 256&t.flags?(t.flags&=-257,Dl(e,t,l,o=dl(Error(n(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=o.fallback,a=t.mode,o=_u({mode:"visible",children:o.children},a,0,null),(i=zu(i,a,l,null)).flags|=2,o.return=t,i.return=t,o.sibling=i,t.child=o,0!=(1&t.mode)&&Ya(t,e.child,null,l),t.child.memoizedState=_l(l),t.memoizedState=zl,i);if(0==(1&t.mode))return Dl(e,t,l,null);if("$!"===a.data){if(o=a.nextSibling&&a.nextSibling.dataset)var s=o.dgst;return o=s,Dl(e,t,l,o=dl(i=Error(n(419)),o,void 0))}if(s=0!=(l&e.childLanes),xl||s){if(null!==(o=Ms)){switch(l&-l){case 4:a=2;break;case 16:a=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:a=32;break;case 536870912:a=268435456;break;default:a=0}0!==(a=0!=(a&(o.suspendedLanes|l))?0:a)&&a!==i.retryLane&&(i.retryLane=a,Ma(e,a),ru(o,e,a,-1))}return vu(),Dl(e,t,l,o=dl(Error(n(421))))}return"$?"===a.data?(t.flags|=128,t.child=e.child,t=Ru.bind(null,e),a._reactRetry=t,null):(e=i.treeContext,oa=uo(a.nextSibling),ra=t,aa=!0,ia=null,null!==e&&(Qo[Go++]=Yo,Qo[Go++]=Jo,Qo[Go++]=Xo,Yo=e.id,Jo=e.overflow,Xo=t),t=Fl(t,o.children),t.flags|=4096,t)}(e,t,s,a,o,i,r);if(l){l=a.fallback,s=t.mode,o=(i=e.child).sibling;var u={mode:"hidden",children:a.children};return 0==(1&s)&&t.child!==i?((a=t.child).childLanes=0,a.pendingProps=u,t.deletions=null):(a=Au(i,u)).subtreeFlags=14680064&i.subtreeFlags,null!==o?l=Au(o,l):(l=zu(l,s,r,null)).flags|=2,l.return=t,a.return=t,a.sibling=l,t.child=a,a=l,l=t.child,s=null===(s=e.child.memoizedState)?_l(r):{baseLanes:s.baseLanes|r,cachePool:null,transitions:s.transitions},l.memoizedState=s,l.childLanes=e.childLanes&~r,t.memoizedState=zl,a}return e=(l=e.child).sibling,a=Au(l,{mode:"visible",children:a.children}),0==(1&t.mode)&&(a.lanes=r),a.return=t,a.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=a,t.memoizedState=null,a}function Fl(e,t){return(t=_u({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Dl(e,t,n,r){return null!==r&&ma(r),Ya(t,e.child,null,n),(e=Fl(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Wl(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Ea(e.return,t,n)}function Bl(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 Ul(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;if(wl(e,t,r.children,n),0!=(2&(r=si.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&&Wl(e,n,t);else if(19===e.tag)Wl(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Po(si,r),0==(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===ui(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Bl(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===ui(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Bl(t,!0,n,null,a);break;case"together":Bl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Vl(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Hl(e,t,r){if(null!==e&&(t.dependencies=e.dependencies),_s|=t.lanes,0==(r&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(n(153));if(null!==t.child){for(r=Au(e=t.child,e.pendingProps),t.child=r,r.return=t;null!==e.sibling;)e=e.sibling,(r=r.sibling=Au(e,e.pendingProps)).return=t;r.sibling=null}return t.child}function ql(e,t){if(!aa)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 Kl(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}function Ql(e,t,r){var a=t.pendingProps;switch(na(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Kl(t),null;case 1:case 17:return No(t.type)&&Ao(),Kl(t),null;case 3:return a=t.stateNode,ai(),Oo(Mo),Oo(To),di(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),null!==e&&null!==e.child||(pa(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==ia&&(lu(ia),ia=null))),Nl(e,t),Kl(t),null;case 5:li(t);var i=ri(ni.current);if(r=t.type,null!==e&&null!=t.stateNode)Al(e,t,r,a,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!a){if(null===t.stateNode)throw Error(n(166));return Kl(t),null}if(e=ri(ei.current),pa(t)){a=t.stateNode,r=t.type;var l=t.memoizedProps;switch(a[fo]=t,a[ho]=l,e=0!=(1&t.mode),r){case"dialog":Fr("cancel",a),Fr("close",a);break;case"iframe":case"object":case"embed":Fr("load",a);break;case"video":case"audio":for(i=0;i<jr.length;i++)Fr(jr[i],a);break;case"source":Fr("error",a);break;case"img":case"image":case"link":Fr("error",a),Fr("load",a);break;case"details":Fr("toggle",a);break;case"input":Y(a,l),Fr("invalid",a);break;case"select":a._wrapperState={wasMultiple:!!l.multiple},Fr("invalid",a);break;case"textarea":ae(a,l),Fr("invalid",a)}for(var s in ye(r,l),i=null,l)if(l.hasOwnProperty(s)){var u=l[s];"children"===s?"string"==typeof u?a.textContent!==u&&(!0!==l.suppressHydrationWarning&&Jr(a.textContent,u,e),i=["children",u]):"number"==typeof u&&a.textContent!==""+u&&(!0!==l.suppressHydrationWarning&&Jr(a.textContent,u,e),i=["children",""+u]):o.hasOwnProperty(s)&&null!=u&&"onScroll"===s&&Fr("scroll",a)}switch(r){case"input":K(a),ee(a,l,!0);break;case"textarea":K(a),le(a);break;case"select":case"option":break;default:"function"==typeof l.onClick&&(a.onclick=Zr)}a=i,t.updateQueue=a,null!==a&&(t.flags|=4)}else{s=9===i.nodeType?i:i.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(r)),"http://www.w3.org/1999/xhtml"===e?"script"===r?((e=s.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof a.is?e=s.createElement(r,{is:a.is}):(e=s.createElement(r),"select"===r&&(s=e,a.multiple?s.multiple=!0:a.size&&(s.size=a.size))):e=s.createElementNS(e,r),e[fo]=t,e[ho]=a,Il(e,t,!1,!1),t.stateNode=e;e:{switch(s=be(r,a),r){case"dialog":Fr("cancel",e),Fr("close",e),i=a;break;case"iframe":case"object":case"embed":Fr("load",e),i=a;break;case"video":case"audio":for(i=0;i<jr.length;i++)Fr(jr[i],e);i=a;break;case"source":Fr("error",e),i=a;break;case"img":case"image":case"link":Fr("error",e),Fr("load",e),i=a;break;case"details":Fr("toggle",e),i=a;break;case"input":Y(e,a),i=X(e,a),Fr("invalid",e);break;case"option":default:i=a;break;case"select":e._wrapperState={wasMultiple:!!a.multiple},i=L({},a,{value:void 0}),Fr("invalid",e);break;case"textarea":ae(e,a),i=oe(e,a),Fr("invalid",e)}for(l in ye(r,i),u=i)if(u.hasOwnProperty(l)){var c=u[l];"style"===l?ve(e,c):"dangerouslySetInnerHTML"===l?null!=(c=c?c.__html:void 0)&&de(e,c):"children"===l?"string"==typeof c?("textarea"!==r||""!==c)&&pe(e,c):"number"==typeof c&&pe(e,""+c):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(o.hasOwnProperty(l)?null!=c&&"onScroll"===l&&Fr("scroll",e):null!=c&&x(e,l,c,s))}switch(r){case"input":K(e),ee(e,a,!1);break;case"textarea":K(e),le(e);break;case"option":null!=a.value&&e.setAttribute("value",""+H(a.value));break;case"select":e.multiple=!!a.multiple,null!=(l=a.value)?re(e,!!a.multiple,l,!1):null!=a.defaultValue&&re(e,!!a.multiple,a.defaultValue,!0);break;default:"function"==typeof i.onClick&&(e.onclick=Zr)}switch(r){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}}a&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Kl(t),null;case 6:if(e&&null!=t.stateNode)jl(e,t,e.memoizedProps,a);else{if("string"!=typeof a&&null===t.stateNode)throw Error(n(166));if(r=ri(ni.current),ri(ei.current),pa(t)){if(a=t.stateNode,r=t.memoizedProps,a[fo]=t,(l=a.nodeValue!==r)&&null!==(e=ra))switch(e.tag){case 3:Jr(a.nodeValue,r,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Jr(a.nodeValue,r,0!=(1&e.mode))}l&&(t.flags|=4)}else(a=(9===r.nodeType?r:r.ownerDocument).createTextNode(a))[fo]=t,t.stateNode=a}return Kl(t),null;case 13:if(Oo(si),a=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(aa&&null!==oa&&0!=(1&t.mode)&&0==(128&t.flags))fa(),ha(),t.flags|=98560,l=!1;else if(l=pa(t),null!==a&&null!==a.dehydrated){if(null===e){if(!l)throw Error(n(318));if(!(l=null!==(l=t.memoizedState)?l.dehydrated:null))throw Error(n(317));l[fo]=t}else ha(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Kl(t),l=!1}else null!==ia&&(lu(ia),ia=null),l=!0;if(!l)return 65536&t.flags?t:null}return 0!=(128&t.flags)?(t.lanes=r,t):((a=null!==a)!==(null!==e&&null!==e.memoizedState)&&a&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&si.current)?0===js&&(js=3):vu())),null!==t.updateQueue&&(t.flags|=4),Kl(t),null);case 4:return ai(),Nl(e,t),null===e&&Br(t.stateNode.containerInfo),Kl(t),null;case 10:return Sa(t.type._context),Kl(t),null;case 19:if(Oo(si),null===(l=t.memoizedState))return Kl(t),null;if(a=0!=(128&t.flags),null===(s=l.rendering))if(a)ql(l,!1);else{if(0!==js||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(s=ui(e))){for(t.flags|=128,ql(l,!1),null!==(a=s.updateQueue)&&(t.updateQueue=a,t.flags|=4),t.subtreeFlags=0,a=r,r=t.child;null!==r;)e=a,(l=r).flags&=14680066,null===(s=l.alternate)?(l.childLanes=0,l.lanes=e,l.child=null,l.subtreeFlags=0,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=s.childLanes,l.lanes=s.lanes,l.child=s.child,l.subtreeFlags=0,l.deletions=null,l.memoizedProps=s.memoizedProps,l.memoizedState=s.memoizedState,l.updateQueue=s.updateQueue,l.type=s.type,e=s.dependencies,l.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return Po(si,1&si.current|2),t.child}e=e.sibling}null!==l.tail&&Ye()>Us&&(t.flags|=128,a=!0,ql(l,!1),t.lanes=4194304)}else{if(!a)if(null!==(e=ui(s))){if(t.flags|=128,a=!0,null!==(r=e.updateQueue)&&(t.updateQueue=r,t.flags|=4),ql(l,!0),null===l.tail&&"hidden"===l.tailMode&&!s.alternate&&!aa)return Kl(t),null}else 2*Ye()-l.renderingStartTime>Us&&1073741824!==r&&(t.flags|=128,a=!0,ql(l,!1),t.lanes=4194304);l.isBackwards?(s.sibling=t.child,t.child=s):(null!==(r=l.last)?r.sibling=s:t.child=s,l.last=s)}return null!==l.tail?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=Ye(),t.sibling=null,r=si.current,Po(si,a?1&r|2:1&r),t):(Kl(t),null);case 22:case 23:return pu(),a=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==a&&(t.flags|=8192),a&&0!=(1&t.mode)?0!=(1073741824&Ns)&&(Kl(t),6&t.subtreeFlags&&(t.flags|=8192)):Kl(t),null;case 24:case 25:return null}throw Error(n(156,t.tag))}function Gl(e,t){switch(na(t),t.tag){case 1:return No(t.type)&&Ao(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ai(),Oo(Mo),Oo(To),di(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return li(t),null;case 13:if(Oo(si),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(n(340));ha()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Oo(si),null;case 4:return ai(),null;case 10:return Sa(t.type._context),null;case 22:case 23:return pu(),null;default:return null}}Il=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}},Nl=function(){},Al=function(e,t,n,r){var a=e.memoizedProps;if(a!==r){e=t.stateNode,ri(ei.current);var i,l=null;switch(n){case"input":a=X(e,a),r=X(e,r),l=[];break;case"select":a=L({},a,{value:void 0}),r=L({},r,{value:void 0}),l=[];break;case"textarea":a=oe(e,a),r=oe(e,r),l=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(e.onclick=Zr)}for(c in ye(n,r),n=null,a)if(!r.hasOwnProperty(c)&&a.hasOwnProperty(c)&&null!=a[c])if("style"===c){var s=a[c];for(i in s)s.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(o.hasOwnProperty(c)?l||(l=[]):(l=l||[]).push(c,null));for(c in r){var u=r[c];if(s=null!=a?a[c]:void 0,r.hasOwnProperty(c)&&u!==s&&(null!=u||null!=s))if("style"===c)if(s){for(i in s)!s.hasOwnProperty(i)||u&&u.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in u)u.hasOwnProperty(i)&&s[i]!==u[i]&&(n||(n={}),n[i]=u[i])}else n||(l||(l=[]),l.push(c,n)),n=u;else"dangerouslySetInnerHTML"===c?(u=u?u.__html:void 0,s=s?s.__html:void 0,null!=u&&s!==u&&(l=l||[]).push(c,u)):"children"===c?"string"!=typeof u&&"number"!=typeof u||(l=l||[]).push(c,""+u):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(o.hasOwnProperty(c)?(null!=u&&"onScroll"===c&&Fr("scroll",e),l||s===u||(l=[])):(l=l||[]).push(c,u))}n&&(l=l||[]).push("style",n);var c=l;(t.updateQueue=c)&&(t.flags|=4)}},jl=function(e,t,n,r){n!==r&&(t.flags|=4)};var Xl=!1,Yl=!1,Jl="function"==typeof WeakSet?WeakSet:Set,Zl=null;function es(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){Cu(e,t,n)}else n.current=null}function ts(e,t,n){try{n()}catch(n){Cu(e,t,n)}}var ns=!1;function rs(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&&ts(t,n,a)}o=o.next}while(o!==r)}}function os(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 as(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 is(e){var t=e.alternate;null!==t&&(e.alternate=null,is(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[fo],delete t[ho],delete t[vo],delete t[go],delete t[yo])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ls(e){return 5===e.tag||3===e.tag||4===e.tag}function ss(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ls(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)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function us(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Zr));else if(4!==r&&null!==(e=e.child))for(us(e,t,n),e=e.sibling;null!==e;)us(e,t,n),e=e.sibling}function cs(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(cs(e,t,n),e=e.sibling;null!==e;)cs(e,t,n),e=e.sibling}var ds=null,ps=!1;function fs(e,t,n){for(n=n.child;null!==n;)hs(e,t,n),n=n.sibling}function hs(e,t,n){if(at&&"function"==typeof at.onCommitFiberUnmount)try{at.onCommitFiberUnmount(ot,n)}catch(e){}switch(n.tag){case 5:Yl||es(n,t);case 6:var r=ds,o=ps;ds=null,fs(e,t,n),ps=o,null!==(ds=r)&&(ps?(e=ds,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):ds.removeChild(n.stateNode));break;case 18:null!==ds&&(ps?(e=ds,n=n.stateNode,8===e.nodeType?so(e.parentNode,n):1===e.nodeType&&so(e,n),Bt(e)):so(ds,n.stateNode));break;case 4:r=ds,o=ps,ds=n.stateNode.containerInfo,ps=!0,fs(e,t,n),ds=r,ps=o;break;case 0:case 11:case 14:case 15:if(!Yl&&(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)||0!=(4&a))&&ts(n,t,i),o=o.next}while(o!==r)}fs(e,t,n);break;case 1:if(!Yl&&(es(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Cu(n,t,e)}fs(e,t,n);break;case 21:fs(e,t,n);break;case 22:1&n.mode?(Yl=(r=Yl)||null!==n.memoizedState,fs(e,t,n),Yl=r):fs(e,t,n);break;default:fs(e,t,n)}}function ms(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Jl),t.forEach((function(t){var r=Tu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function vs(e,t){var r=t.deletions;if(null!==r)for(var o=0;o<r.length;o++){var a=r[o];try{var i=e,l=t,s=l;e:for(;null!==s;){switch(s.tag){case 5:ds=s.stateNode,ps=!1;break e;case 3:case 4:ds=s.stateNode.containerInfo,ps=!0;break e}s=s.return}if(null===ds)throw Error(n(160));hs(i,l,a),ds=null,ps=!1;var u=a.alternate;null!==u&&(u.return=null),a.return=null}catch(e){Cu(a,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)gs(t,e),t=t.sibling}function gs(e,t){var r=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(vs(t,e),ys(e),4&o){try{rs(3,e,e.return),os(3,e)}catch(t){Cu(e,e.return,t)}try{rs(5,e,e.return)}catch(t){Cu(e,e.return,t)}}break;case 1:vs(t,e),ys(e),512&o&&null!==r&&es(r,r.return);break;case 5:if(vs(t,e),ys(e),512&o&&null!==r&&es(r,r.return),32&e.flags){var a=e.stateNode;try{pe(a,"")}catch(t){Cu(e,e.return,t)}}if(4&o&&null!=(a=e.stateNode)){var i=e.memoizedProps,l=null!==r?r.memoizedProps:i,s=e.type,u=e.updateQueue;if(e.updateQueue=null,null!==u)try{"input"===s&&"radio"===i.type&&null!=i.name&&J(a,i),be(s,l);var c=be(s,i);for(l=0;l<u.length;l+=2){var d=u[l],p=u[l+1];"style"===d?ve(a,p):"dangerouslySetInnerHTML"===d?de(a,p):"children"===d?pe(a,p):x(a,d,p,c)}switch(s){case"input":Z(a,i);break;case"textarea":ie(a,i);break;case"select":var f=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!i.multiple;var h=i.value;null!=h?re(a,!!i.multiple,h,!1):f!==!!i.multiple&&(null!=i.defaultValue?re(a,!!i.multiple,i.defaultValue,!0):re(a,!!i.multiple,i.multiple?[]:"",!1))}a[ho]=i}catch(t){Cu(e,e.return,t)}}break;case 6:if(vs(t,e),ys(e),4&o){if(null===e.stateNode)throw Error(n(162));a=e.stateNode,i=e.memoizedProps;try{a.nodeValue=i}catch(t){Cu(e,e.return,t)}}break;case 3:if(vs(t,e),ys(e),4&o&&null!==r&&r.memoizedState.isDehydrated)try{Bt(t.containerInfo)}catch(t){Cu(e,e.return,t)}break;case 4:default:vs(t,e),ys(e);break;case 13:vs(t,e),ys(e),8192&(a=e.child).flags&&(i=null!==a.memoizedState,a.stateNode.isHidden=i,!i||null!==a.alternate&&null!==a.alternate.memoizedState||(Bs=Ye())),4&o&&ms(e);break;case 22:if(d=null!==r&&null!==r.memoizedState,1&e.mode?(Yl=(c=Yl)||d,vs(t,e),Yl=c):vs(t,e),ys(e),8192&o){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!d&&0!=(1&e.mode))for(Zl=e,d=e.child;null!==d;){for(p=Zl=d;null!==Zl;){switch(h=(f=Zl).child,f.tag){case 0:case 11:case 14:case 15:rs(4,f,f.return);break;case 1:es(f,f.return);var m=f.stateNode;if("function"==typeof m.componentWillUnmount){o=f,r=f.return;try{t=o,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(e){Cu(o,r,e)}}break;case 5:es(f,f.return);break;case 22:if(null!==f.memoizedState){ks(p);continue}}null!==h?(h.return=f,Zl=h):ks(p)}d=d.sibling}e:for(d=null,p=e;;){if(5===p.tag){if(null===d){d=p;try{a=p.stateNode,c?"function"==typeof(i=a.style).setProperty?i.setProperty("display","none","important"):i.display="none":(s=p.stateNode,l=null!=(u=p.memoizedProps.style)&&u.hasOwnProperty("display")?u.display:null,s.style.display=me("display",l))}catch(t){Cu(e,e.return,t)}}}else if(6===p.tag){if(null===d)try{p.stateNode.nodeValue=c?"":p.memoizedProps}catch(t){Cu(e,e.return,t)}}else if((22!==p.tag&&23!==p.tag||null===p.memoizedState||p===e)&&null!==p.child){p.child.return=p,p=p.child;continue}if(p===e)break e;for(;null===p.sibling;){if(null===p.return||p.return===e)break e;d===p&&(d=null),p=p.return}d===p&&(d=null),p.sibling.return=p.return,p=p.sibling}}break;case 19:vs(t,e),ys(e),4&o&&ms(e);case 21:}}function ys(e){var t=e.flags;if(2&t){try{e:{for(var r=e.return;null!==r;){if(ls(r)){var o=r;break e}r=r.return}throw Error(n(160))}switch(o.tag){case 5:var a=o.stateNode;32&o.flags&&(pe(a,""),o.flags&=-33),cs(e,ss(e),a);break;case 3:case 4:var i=o.stateNode.containerInfo;us(e,ss(e),i);break;default:throw Error(n(161))}}catch(t){Cu(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function bs(e,t,n){Zl=e,xs(e)}function xs(e,t,n){for(var r=0!=(1&e.mode);null!==Zl;){var o=Zl,a=o.child;if(22===o.tag&&r){var i=null!==o.memoizedState||Xl;if(!i){var l=o.alternate,s=null!==l&&null!==l.memoizedState||Yl;l=Xl;var u=Yl;if(Xl=i,(Yl=s)&&!u)for(Zl=o;null!==Zl;)s=(i=Zl).child,22===i.tag&&null!==i.memoizedState?Ss(o):null!==s?(s.return=i,Zl=s):Ss(o);for(;null!==a;)Zl=a,xs(a),a=a.sibling;Zl=o,Xl=l,Yl=u}ws(e)}else 0!=(8772&o.subtreeFlags)&&null!==a?(a.return=o,Zl=a):ws(e)}}function ws(e){for(;null!==Zl;){var t=Zl;if(0!=(8772&t.flags)){var r=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Yl||os(5,t);break;case 1:var o=t.stateNode;if(4&t.flags&&!Yl)if(null===r)o.componentDidMount();else{var a=t.elementType===t.type?r.memoizedProps:ga(t.type,r.memoizedProps);o.componentDidUpdate(a,r.memoizedState,o.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;null!==i&&Fa(t,i,o);break;case 3:var l=t.updateQueue;if(null!==l){if(r=null,null!==t.child)switch(t.child.tag){case 5:case 1:r=t.child.stateNode}Fa(t,l,r)}break;case 5:var s=t.stateNode;if(null===r&&4&t.flags){r=s;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&r.focus();break;case"img":u.src&&(r.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 c=t.alternate;if(null!==c){var d=c.memoizedState;if(null!==d){var p=d.dehydrated;null!==p&&Bt(p)}}}break;default:throw Error(n(163))}Yl||512&t.flags&&as(t)}catch(e){Cu(t,t.return,e)}}if(t===e){Zl=null;break}if(null!==(r=t.sibling)){r.return=t.return,Zl=r;break}Zl=t.return}}function ks(e){for(;null!==Zl;){var t=Zl;if(t===e){Zl=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Zl=n;break}Zl=t.return}}function Ss(e){for(;null!==Zl;){var t=Zl;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{os(4,t)}catch(e){Cu(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(e){Cu(t,o,e)}}var a=t.return;try{as(t)}catch(e){Cu(t,a,e)}break;case 5:var i=t.return;try{as(t)}catch(e){Cu(t,i,e)}}}catch(e){Cu(t,t.return,e)}if(t===e){Zl=null;break}var l=t.sibling;if(null!==l){l.return=t.return,Zl=l;break}Zl=t.return}}var Es,Cs=Math.ceil,Os=w.ReactCurrentDispatcher,Ps=w.ReactCurrentOwner,Rs=w.ReactCurrentBatchConfig,Ts=0,Ms=null,$s=null,Is=0,Ns=0,As=Co(0),js=0,zs=null,_s=0,Ls=0,Fs=0,Ds=null,Ws=null,Bs=0,Us=1/0,Vs=null,Hs=!1,qs=null,Ks=null,Qs=!1,Gs=null,Xs=0,Ys=0,Js=null,Zs=-1,eu=0;function tu(){return 0!=(6&Ts)?Ye():-1!==Zs?Zs:Zs=Ye()}function nu(e){return 0==(1&e.mode)?1:0!=(2&Ts)&&0!==Is?Is&-Is:null!==va.transition?(0===eu&&(eu=mt()),eu):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Xt(e.type)}function ru(e,t,r,o){if(50<Ys)throw Ys=0,Js=null,Error(n(185));gt(e,r,o),0!=(2&Ts)&&e===Ms||(e===Ms&&(0==(2&Ts)&&(Ls|=r),4===js&&su(e,Is)),ou(e,o),1===r&&0===Ts&&0==(1&t.mode)&&(Us=Ye()+500,Do&&Uo()))}function ou(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,a=e.pendingLanes;0<a;){var i=31-it(a),l=1<<i,s=o[i];-1===s?0!=(l&n)&&0==(l&r)||(o[i]=ft(l,t)):s<=t&&(e.expiredLanes|=l),a&=~l}}(e,t);var r=pt(e,e===Ms?Is:0);if(0===r)null!==n&&Qe(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Qe(n),1===t)0===e.tag?function(e){Do=!0,Bo(e)}(uu.bind(null,e)):Bo(uu.bind(null,e)),io((function(){0==(6&Ts)&&Uo()})),n=null;else{switch(xt(r)){case 1:n=Ze;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Mu(n,au.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function au(e,t){if(Zs=-1,eu=0,0!=(6&Ts))throw Error(n(327));var r=e.callbackNode;if(Su()&&e.callbackNode!==r)return null;var o=pt(e,e===Ms?Is:0);if(0===o)return null;if(0!=(30&o)||0!=(o&e.expiredLanes)||t)t=gu(e,o);else{t=o;var a=Ts;Ts|=2;var i=mu();for(Ms===e&&Is===t||(Vs=null,Us=Ye()+500,fu(e,t));;)try{bu();break}catch(t){hu(e,t)}ka(),Os.current=i,Ts=a,null!==$s?t=0:(Ms=null,Is=0,t=js)}if(0!==t){if(2===t&&(0!==(a=ht(e))&&(o=a,t=iu(e,a))),1===t)throw r=zs,fu(e,0),su(e,o),ou(e,Ye()),r;if(6===t)su(e,o);else{if(a=e.current.alternate,0==(30&o)&&!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(!lr(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}(a)&&(2===(t=gu(e,o))&&(0!==(i=ht(e))&&(o=i,t=iu(e,i))),1===t))throw r=zs,fu(e,0),su(e,o),ou(e,Ye()),r;switch(e.finishedWork=a,e.finishedLanes=o,t){case 0:case 1:throw Error(n(345));case 2:case 5:ku(e,Ws,Vs);break;case 3:if(su(e,o),(130023424&o)===o&&10<(t=Bs+500-Ye())){if(0!==pt(e,0))break;if(((a=e.suspendedLanes)&o)!==o){tu(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=ro(ku.bind(null,e,Ws,Vs),t);break}ku(e,Ws,Vs);break;case 4:if(su(e,o),(4194240&o)===o)break;for(t=e.eventTimes,a=-1;0<o;){var l=31-it(o);i=1<<l,(l=t[l])>a&&(a=l),o&=~i}if(o=a,10<(o=(120>(o=Ye()-o)?120:480>o?480:1080>o?1080:1920>o?1920:3e3>o?3e3:4320>o?4320:1960*Cs(o/1960))-o)){e.timeoutHandle=ro(ku.bind(null,e,Ws,Vs),o);break}ku(e,Ws,Vs);break;default:throw Error(n(329))}}}return ou(e,Ye()),e.callbackNode===r?au.bind(null,e):null}function iu(e,t){var n=Ds;return e.current.memoizedState.isDehydrated&&(fu(e,t).flags|=256),2!==(e=gu(e,t))&&(t=Ws,Ws=n,null!==t&&lu(t)),e}function lu(e){null===Ws?Ws=e:Ws.push.apply(Ws,e)}function su(e,t){for(t&=~Fs,t&=~Ls,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-it(t),r=1<<n;e[n]=-1,t&=~r}}function uu(e){if(0!=(6&Ts))throw Error(n(327));Su();var t=pt(e,0);if(0==(1&t))return ou(e,Ye()),null;var r=gu(e,t);if(0!==e.tag&&2===r){var o=ht(e);0!==o&&(t=o,r=iu(e,o))}if(1===r)throw r=zs,fu(e,0),su(e,t),ou(e,Ye()),r;if(6===r)throw Error(n(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,ku(e,Ws,Vs),ou(e,Ye()),null}function cu(e,t){var n=Ts;Ts|=1;try{return e(t)}finally{0===(Ts=n)&&(Us=Ye()+500,Do&&Uo())}}function du(e){null!==Gs&&0===Gs.tag&&0==(6&Ts)&&Su();var t=Ts;Ts|=1;var n=Rs.transition,r=bt;try{if(Rs.transition=null,bt=1,e)return e()}finally{bt=r,Rs.transition=n,0==(6&(Ts=t))&&Uo()}}function pu(){Ns=As.current,Oo(As)}function fu(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,oo(n)),null!==$s)for(n=$s.return;null!==n;){var r=n;switch(na(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Ao();break;case 3:ai(),Oo(Mo),Oo(To),di();break;case 5:li(r);break;case 4:ai();break;case 13:case 19:Oo(si);break;case 10:Sa(r.type._context);break;case 22:case 23:pu()}n=n.return}if(Ms=e,$s=e=Au(e.current,null),Is=Ns=t,js=0,zs=null,Fs=Ls=_s=0,Ws=Ds=null,null!==Pa){for(t=0;t<Pa.length;t++)if(null!==(r=(n=Pa[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}Pa=null}return e}function hu(e,t){for(;;){var r=$s;try{if(ka(),pi.current=il,yi){for(var o=mi.memoizedState;null!==o;){var a=o.queue;null!==a&&(a.pending=null),o=o.next}yi=!1}if(hi=0,gi=vi=mi=null,bi=!1,xi=0,Ps.current=null,null===r||null===r.return){js=1,zs=t,$s=null;break}e:{var i=e,l=r.return,s=r,u=t;if(t=Is,s.flags|=32768,null!==u&&"object"==typeof u&&"function"==typeof u.then){var c=u,d=s,p=d.tag;if(0==(1&d.mode)&&(0===p||11===p||15===p)){var f=d.alternate;f?(d.updateQueue=f.updateQueue,d.memoizedState=f.memoizedState,d.lanes=f.lanes):(d.updateQueue=null,d.memoizedState=null)}var h=gl(l);if(null!==h){h.flags&=-257,yl(h,l,s,0,t),1&h.mode&&vl(i,c,t),u=c;var m=(t=h).updateQueue;if(null===m){var v=new Set;v.add(u),t.updateQueue=v}else m.add(u);break e}if(0==(1&t)){vl(i,c,t),vu();break e}u=Error(n(426))}else if(aa&&1&s.mode){var g=gl(l);if(null!==g){0==(65536&g.flags)&&(g.flags|=256),yl(g,l,s,0,t),ma(cl(u,s));break e}}i=u=cl(u,s),4!==js&&(js=2),null===Ds?Ds=[i]:Ds.push(i),i=l;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t,_a(i,hl(0,u,t));break e;case 1:s=u;var y=i.type,b=i.stateNode;if(0==(128&i.flags)&&("function"==typeof y.getDerivedStateFromError||null!==b&&"function"==typeof b.componentDidCatch&&(null===Ks||!Ks.has(b)))){i.flags|=65536,t&=-t,i.lanes|=t,_a(i,ml(i,s,t));break e}}i=i.return}while(null!==i)}wu(r)}catch(e){t=e,$s===r&&null!==r&&($s=r=r.return);continue}break}}function mu(){var e=Os.current;return Os.current=il,null===e?il:e}function vu(){0!==js&&3!==js&&2!==js||(js=4),null===Ms||0==(268435455&_s)&&0==(268435455&Ls)||su(Ms,Is)}function gu(e,t){var r=Ts;Ts|=2;var o=mu();for(Ms===e&&Is===t||(Vs=null,fu(e,t));;)try{yu();break}catch(t){hu(e,t)}if(ka(),Ts=r,Os.current=o,null!==$s)throw Error(n(261));return Ms=null,Is=0,js}function yu(){for(;null!==$s;)xu($s)}function bu(){for(;null!==$s&&!Ge();)xu($s)}function xu(e){var t=Es(e.alternate,e,Ns);e.memoizedProps=e.pendingProps,null===t?wu(e):$s=t,Ps.current=null}function wu(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=Ql(n,t,Ns)))return void($s=n)}else{if(null!==(n=Gl(n,t)))return n.flags&=32767,void($s=n);if(null===e)return js=6,void($s=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void($s=t);$s=t=e}while(null!==t);0===js&&(js=5)}function ku(e,t,r){var o=bt,a=Rs.transition;try{Rs.transition=null,bt=1,function(e,t,r,o){do{Su()}while(null!==Gs);if(0!=(6&Ts))throw Error(n(327));r=e.finishedWork;var a=e.finishedLanes;if(null===r)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(n(177));e.callbackNode=null,e.callbackPriority=0;var i=r.lanes|r.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-it(n),a=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~a}}(e,i),e===Ms&&($s=Ms=null,Is=0),0==(2064&r.subtreeFlags)&&0==(2064&r.flags)||Qs||(Qs=!0,Mu(tt,(function(){return Su(),null}))),i=0!=(15990&r.flags),0!=(15990&r.subtreeFlags)||i){i=Rs.transition,Rs.transition=null;var l=bt;bt=1;var s=Ts;Ts|=4,Ps.current=null,function(e,t){if(eo=Vt,fr(e=pr())){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{var o=(r=(r=e.ownerDocument)&&r.defaultView||window).getSelection&&r.getSelection();if(o&&0!==o.rangeCount){r=o.anchorNode;var a=o.anchorOffset,i=o.focusNode;o=o.focusOffset;try{r.nodeType,i.nodeType}catch(e){r=null;break e}var l=0,s=-1,u=-1,c=0,d=0,p=e,f=null;t:for(;;){for(var h;p!==r||0!==a&&3!==p.nodeType||(s=l+a),p!==i||0!==o&&3!==p.nodeType||(u=l+o),3===p.nodeType&&(l+=p.nodeValue.length),null!==(h=p.firstChild);)f=p,p=h;for(;;){if(p===e)break t;if(f===r&&++c===a&&(s=l),f===i&&++d===o&&(u=l),null!==(h=p.nextSibling))break;f=(p=f).parentNode}p=h}r=-1===s||-1===u?null:{start:s,end:u}}else r=null}r=r||{start:0,end:0}}else r=null;for(to={focusedElem:e,selectionRange:r},Vt=!1,Zl=t;null!==Zl;)if(e=(t=Zl).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,Zl=e;else for(;null!==Zl;){t=Zl;try{var m=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!==m){var v=m.memoizedProps,g=m.memoizedState,y=t.stateNode,b=y.getSnapshotBeforeUpdate(t.elementType===t.type?v:ga(t.type,v),g);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var x=t.stateNode.containerInfo;1===x.nodeType?x.textContent="":9===x.nodeType&&x.documentElement&&x.removeChild(x.documentElement);break;default:throw Error(n(163))}}catch(e){Cu(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Zl=e;break}Zl=t.return}m=ns,ns=!1}(e,r),gs(r,e),hr(to),Vt=!!eo,to=eo=null,e.current=r,bs(r),Xe(),Ts=s,bt=l,Rs.transition=i}else e.current=r;if(Qs&&(Qs=!1,Gs=e,Xs=a),i=e.pendingLanes,0===i&&(Ks=null),function(e){if(at&&"function"==typeof at.onCommitFiberRoot)try{at.onCommitFiberRoot(ot,e,void 0,128==(128&e.current.flags))}catch(e){}}(r.stateNode),ou(e,Ye()),null!==t)for(o=e.onRecoverableError,r=0;r<t.length;r++)a=t[r],o(a.value,{componentStack:a.stack,digest:a.digest});if(Hs)throw Hs=!1,e=qs,qs=null,e;0!=(1&Xs)&&0!==e.tag&&Su(),i=e.pendingLanes,0!=(1&i)?e===Js?Ys++:(Ys=0,Js=e):Ys=0,Uo()}(e,t,r,o)}finally{Rs.transition=a,bt=o}return null}function Su(){if(null!==Gs){var e=xt(Xs),t=Rs.transition,r=bt;try{if(Rs.transition=null,bt=16>e?16:e,null===Gs)var o=!1;else{if(e=Gs,Gs=null,Xs=0,0!=(6&Ts))throw Error(n(331));var a=Ts;for(Ts|=4,Zl=e.current;null!==Zl;){var i=Zl,l=i.child;if(0!=(16&Zl.flags)){var s=i.deletions;if(null!==s){for(var u=0;u<s.length;u++){var c=s[u];for(Zl=c;null!==Zl;){var d=Zl;switch(d.tag){case 0:case 11:case 15:rs(8,d,i)}var p=d.child;if(null!==p)p.return=d,Zl=p;else for(;null!==Zl;){var f=(d=Zl).sibling,h=d.return;if(is(d),d===c){Zl=null;break}if(null!==f){f.return=h,Zl=f;break}Zl=h}}}var m=i.alternate;if(null!==m){var v=m.child;if(null!==v){m.child=null;do{var g=v.sibling;v.sibling=null,v=g}while(null!==v)}}Zl=i}}if(0!=(2064&i.subtreeFlags)&&null!==l)l.return=i,Zl=l;else e:for(;null!==Zl;){if(0!=(2048&(i=Zl).flags))switch(i.tag){case 0:case 11:case 15:rs(9,i,i.return)}var y=i.sibling;if(null!==y){y.return=i.return,Zl=y;break e}Zl=i.return}}var b=e.current;for(Zl=b;null!==Zl;){var x=(l=Zl).child;if(0!=(2064&l.subtreeFlags)&&null!==x)x.return=l,Zl=x;else e:for(l=b;null!==Zl;){if(0!=(2048&(s=Zl).flags))try{switch(s.tag){case 0:case 11:case 15:os(9,s)}}catch(e){Cu(s,s.return,e)}if(s===l){Zl=null;break e}var w=s.sibling;if(null!==w){w.return=s.return,Zl=w;break e}Zl=s.return}}if(Ts=a,Uo(),at&&"function"==typeof at.onPostCommitFiberRoot)try{at.onPostCommitFiberRoot(ot,e)}catch(e){}o=!0}return o}finally{bt=r,Rs.transition=t}}return!1}function Eu(e,t,n){e=ja(e,t=hl(0,t=cl(n,t),1),1),t=tu(),null!==e&&(gt(e,1,t),ou(e,t))}function Cu(e,t,n){if(3===e.tag)Eu(e,e,n);else for(;null!==t;){if(3===t.tag){Eu(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Ks||!Ks.has(r))){t=ja(t,e=ml(t,e=cl(n,e),1),1),e=tu(),null!==t&&(gt(t,1,e),ou(t,e));break}}t=t.return}}function Ou(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=tu(),e.pingedLanes|=e.suspendedLanes&n,Ms===e&&(Is&n)===n&&(4===js||3===js&&(130023424&Is)===Is&&500>Ye()-Bs?fu(e,0):Fs|=n),ou(e,t)}function Pu(e,t){0===t&&(0==(1&e.mode)?t=1:(t=ct,0==(130023424&(ct<<=1))&&(ct=4194304)));var n=tu();null!==(e=Ma(e,t))&&(gt(e,t,n),ou(e,n))}function Ru(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Pu(e,n)}function Tu(e,t){var r=0;switch(e.tag){case 13:var o=e.stateNode,a=e.memoizedState;null!==a&&(r=a.retryLane);break;case 19:o=e.stateNode;break;default:throw Error(n(314))}null!==o&&o.delete(t),Pu(e,r)}function Mu(e,t){return Ke(e,t)}function $u(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 Iu(e,t,n,r){return new $u(e,t,n,r)}function Nu(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Au(e,t){var n=e.alternate;return null===n?((n=Iu(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 ju(e,t,r,o,a,i){var l=2;if(o=e,"function"==typeof e)Nu(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case E:return zu(r.children,a,i,t);case C:l=8,a|=8;break;case O:return(e=Iu(12,r,t,2|a)).elementType=O,e.lanes=i,e;case M:return(e=Iu(13,r,t,a)).elementType=M,e.lanes=i,e;case $:return(e=Iu(19,r,t,a)).elementType=$,e.lanes=i,e;case A:return _u(r,a,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case P:l=10;break e;case R:l=9;break e;case T:l=11;break e;case I:l=14;break e;case N:l=16,o=null;break e}throw Error(n(130,null==e?e:typeof e,""))}return(t=Iu(l,r,t,a)).elementType=e,t.type=o,t.lanes=i,t}function zu(e,t,n,r){return(e=Iu(7,e,r,t)).lanes=n,e}function _u(e,t,n,r){return(e=Iu(22,e,r,t)).elementType=A,e.lanes=n,e.stateNode={isHidden:!1},e}function Lu(e,t,n){return(e=Iu(6,e,null,t)).lanes=n,e}function Fu(e,t,n){return(t=Iu(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Du(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=vt(0),this.expirationTimes=vt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=vt(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Wu(e,t,n,r,o,a,i,l,s){return e=new Du(e,t,n,l,s),1===t?(t=1,!0===a&&(t|=8)):t=0,a=Iu(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ia(a),e}function Bu(e){if(!e)return Ro;e:{if(Be(e=e._reactInternals)!==e||1!==e.tag)throw Error(n(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(No(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(n(171))}if(1===e.tag){var r=e.type;if(No(r))return zo(e,r,t)}return t}function Uu(e,t,n,r,o,a,i,l,s){return(e=Wu(n,r,!0,e,0,a,0,l,s)).context=Bu(null),n=e.current,(a=Aa(r=tu(),o=nu(n))).callback=null!=t?t:null,ja(n,a,o),e.current.lanes=o,gt(e,o,r),ou(e,r),e}function Vu(e,t,n,r){var o=t.current,a=tu(),i=nu(o);return n=Bu(n),null===t.context?t.context=n:t.pendingContext=n,(t=Aa(a,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=ja(o,t,i))&&(ru(e,o,i,a),za(e,o,i)),i}function Hu(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function qu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Ku(e,t){qu(e,t),(e=e.alternate)&&qu(e,t)}Es=function(e,t,r){if(null!==e)if(e.memoizedProps!==t.pendingProps||Mo.current)xl=!0;else{if(0==(e.lanes&r)&&0==(128&t.flags))return xl=!1,function(e,t,n){switch(t.tag){case 3:Ml(t),ha();break;case 5:ii(t);break;case 1:No(t.type)&&_o(t);break;case 4:oi(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;Po(ya,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Po(si,1&si.current),t.flags|=128,null):0!=(n&t.child.childLanes)?Ll(e,t,n):(Po(si,1&si.current),null!==(e=Hl(e,t,n))?e.sibling:null);Po(si,1&si.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return Ul(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),Po(si,si.current),r)break;return null;case 22:case 23:return t.lanes=0,Cl(e,t,n)}return Hl(e,t,n)}(e,t,r);xl=0!=(131072&e.flags)}else xl=!1,aa&&0!=(1048576&t.flags)&&ea(t,Ko,t.index);switch(t.lanes=0,t.tag){case 2:var o=t.type;Vl(e,t),e=t.pendingProps;var a=Io(t,To.current);Ca(t,r),a=Ei(null,t,o,e,a,r);var i=Ci();return t.flags|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,No(o)?(i=!0,_o(t)):i=!1,t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,Ia(t),a.updater=Ba,t.stateNode=a,a._reactInternals=t,qa(t,o,e,r),t=Tl(null,t,o,!0,i,r)):(t.tag=0,aa&&i&&ta(t),wl(null,t,a,r),t=t.child),t;case 16:o=t.elementType;e:{switch(Vl(e,t),e=t.pendingProps,o=(a=o._init)(o._payload),t.type=o,a=t.tag=function(e){if("function"==typeof e)return Nu(e)?1:0;if(null!=e){if((e=e.$$typeof)===T)return 11;if(e===I)return 14}return 2}(o),e=ga(o,e),a){case 0:t=Pl(null,t,o,e,r);break e;case 1:t=Rl(null,t,o,e,r);break e;case 11:t=kl(null,t,o,e,r);break e;case 14:t=Sl(null,t,o,ga(o.type,e),r);break e}throw Error(n(306,o,""))}return t;case 0:return o=t.type,a=t.pendingProps,Pl(e,t,o,a=t.elementType===o?a:ga(o,a),r);case 1:return o=t.type,a=t.pendingProps,Rl(e,t,o,a=t.elementType===o?a:ga(o,a),r);case 3:e:{if(Ml(t),null===e)throw Error(n(387));o=t.pendingProps,a=(i=t.memoizedState).element,Na(e,t),La(t,o,null,r);var l=t.memoizedState;if(o=l.element,i.isDehydrated){if(i={element:o,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=$l(e,t,o,r,a=cl(Error(n(423)),t));break e}if(o!==a){t=$l(e,t,o,r,a=cl(Error(n(424)),t));break e}for(oa=uo(t.stateNode.containerInfo.firstChild),ra=t,aa=!0,ia=null,r=Ja(t,null,o,r),t.child=r;r;)r.flags=-3&r.flags|4096,r=r.sibling}else{if(ha(),o===a){t=Hl(e,t,r);break e}wl(e,t,o,r)}t=t.child}return t;case 5:return ii(t),null===e&&ca(t),o=t.type,a=t.pendingProps,i=null!==e?e.memoizedProps:null,l=a.children,no(o,a)?l=null:null!==i&&no(o,i)&&(t.flags|=32),Ol(e,t),wl(e,t,l,r),t.child;case 6:return null===e&&ca(t),null;case 13:return Ll(e,t,r);case 4:return oi(t,t.stateNode.containerInfo),o=t.pendingProps,null===e?t.child=Ya(t,null,o,r):wl(e,t,o,r),t.child;case 11:return o=t.type,a=t.pendingProps,kl(e,t,o,a=t.elementType===o?a:ga(o,a),r);case 7:return wl(e,t,t.pendingProps,r),t.child;case 8:case 12:return wl(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(o=t.type._context,a=t.pendingProps,i=t.memoizedProps,l=a.value,Po(ya,o._currentValue),o._currentValue=l,null!==i)if(lr(i.value,l)){if(i.children===a.children&&!Mo.current){t=Hl(e,t,r);break e}}else for(null!==(i=t.child)&&(i.return=t);null!==i;){var s=i.dependencies;if(null!==s){l=i.child;for(var u=s.firstContext;null!==u;){if(u.context===o){if(1===i.tag){(u=Aa(-1,r&-r)).tag=2;var c=i.updateQueue;if(null!==c){var d=(c=c.shared).pending;null===d?u.next=u:(u.next=d.next,d.next=u),c.pending=u}}i.lanes|=r,null!==(u=i.alternate)&&(u.lanes|=r),Ea(i.return,r,t),s.lanes|=r;break}u=u.next}}else if(10===i.tag)l=i.type===t.type?null:i.child;else if(18===i.tag){if(null===(l=i.return))throw Error(n(341));l.lanes|=r,null!==(s=l.alternate)&&(s.lanes|=r),Ea(l,r,t),l=i.sibling}else l=i.child;if(null!==l)l.return=i;else for(l=i;null!==l;){if(l===t){l=null;break}if(null!==(i=l.sibling)){i.return=l.return,l=i;break}l=l.return}i=l}wl(e,t,a.children,r),t=t.child}return t;case 9:return a=t.type,o=t.pendingProps.children,Ca(t,r),o=o(a=Oa(a)),t.flags|=1,wl(e,t,o,r),t.child;case 14:return a=ga(o=t.type,t.pendingProps),Sl(e,t,o,a=ga(o.type,a),r);case 15:return El(e,t,t.type,t.pendingProps,r);case 17:return o=t.type,a=t.pendingProps,a=t.elementType===o?a:ga(o,a),Vl(e,t),t.tag=1,No(o)?(e=!0,_o(t)):e=!1,Ca(t,r),Va(t,o,a),qa(t,o,a,r),Tl(null,t,o,!0,e,r);case 19:return Ul(e,t,r);case 22:return Cl(e,t,r)}throw Error(n(156,t.tag))};var Qu="function"==typeof reportError?reportError:function(e){console.error(e)};function Gu(e){this._internalRoot=e}function Xu(e){this._internalRoot=e}function Yu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Ju(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Zu(){}function ec(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=Hu(i);l.call(e)}}Vu(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=Hu(i);a.call(e)}}var i=Uu(t,r,e,0,null,!1,0,"",Zu);return e._reactRootContainer=i,e[mo]=i.current,Br(8===e.nodeType?e.parentNode:e),du(),i}for(;o=e.lastChild;)e.removeChild(o);if("function"==typeof r){var l=r;r=function(){var e=Hu(s);l.call(e)}}var s=Wu(e,0,!1,null,0,!1,0,"",Zu);return e._reactRootContainer=s,e[mo]=s.current,Br(8===e.nodeType?e.parentNode:e),du((function(){Vu(t,s,n,r)})),s}(n,t,e,o,r);return Hu(i)}Xu.prototype.render=Gu.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(n(409));Vu(e,t,null,null)},Xu.prototype.unmount=Gu.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;du((function(){Vu(null,e,null,null)})),t[mo]=null}},Xu.prototype.unstable_scheduleHydration=function(e){if(e){var t=Et();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Nt.length&&0!==t&&t<Nt[n].priority;n++);Nt.splice(n,0,e),0===n&&_t(e)}},wt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(yt(t,1|n),ou(t,Ye()),0==(6&Ts)&&(Us=Ye()+500,Uo()))}break;case 13:du((function(){var t=Ma(e,1);if(null!==t){var n=tu();ru(t,e,1,n)}})),Ku(e,1)}},kt=function(e){if(13===e.tag){var t=Ma(e,134217728);if(null!==t)ru(t,e,134217728,tu());Ku(e,134217728)}},St=function(e){if(13===e.tag){var t=nu(e),n=Ma(e,t);if(null!==n)ru(n,e,t,tu());Ku(e,t)}},Et=function(){return bt},Ct=function(e,t){var n=bt;try{return bt=e,t()}finally{bt=n}},ke=function(e,t,r){switch(t){case"input":if(Z(e,r),t=r.name,"radio"===r.type&&null!=t){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var o=r[t];if(o!==e&&o.form===e.form){var a=ko(o);if(!a)throw Error(n(90));Q(o),Z(o,a)}}}break;case"textarea":ie(e,r);break;case"select":null!=(t=r.value)&&re(e,!!r.multiple,t,!1)}},Re=cu,Te=du;var tc={usingClientEntryPoint:!1,Events:[xo,wo,ko,Oe,Pe,cu]},nc={findFiberByHostInstance:bo,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},rc={bundleType:nc.bundleType,version:nc.version,rendererPackageName:nc.rendererPackageName,rendererConfig:nc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=He(e))?null:e.stateNode},findFiberByHostInstance:nc.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 oc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!oc.isDisabled&&oc.supportsFiber)try{ot=oc.inject(rc),at=oc}catch(e){}}return m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tc,m.createPortal=function(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Yu(t))throw Error(n(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:S,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,r)},m.createRoot=function(e,t){if(!Yu(e))throw Error(n(299));var r=!1,o="",a=Qu;return null!=t&&(!0===t.unstable_strictMode&&(r=!0),void 0!==t.identifierPrefix&&(o=t.identifierPrefix),void 0!==t.onRecoverableError&&(a=t.onRecoverableError)),t=Wu(e,1,!1,null,0,r,0,o,a),e[mo]=t.current,Br(8===e.nodeType?e.parentNode:e),new Gu(t)},m.findDOMNode=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(n(188));throw e=Object.keys(e).join(","),Error(n(268,e))}return e=null===(e=He(t))?null:e.stateNode},m.flushSync=function(e){return du(e)},m.hydrate=function(e,t,r){if(!Ju(t))throw Error(n(200));return ec(null,e,t,!0,r)},m.hydrateRoot=function(e,t,r){if(!Yu(e))throw Error(n(405));var o=null!=r&&r.hydratedSources||null,a=!1,i="",l=Qu;if(null!=r&&(!0===r.unstable_strictMode&&(a=!0),void 0!==r.identifierPrefix&&(i=r.identifierPrefix),void 0!==r.onRecoverableError&&(l=r.onRecoverableError)),t=Uu(t,null,e,1,null!=r?r:null,a,0,i,l),e[mo]=t.current,Br(e),o)for(e=0;e<o.length;e++)a=(a=(r=o[e])._getVersion)(r._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[r,a]:t.mutableSourceEagerHydrationData.push(r,a);return new Xu(t)},m.render=function(e,t,r){if(!Ju(t))throw Error(n(200));return ec(null,e,t,!1,r)},m.unmountComponentAtNode=function(e){if(!Ju(e))throw Error(n(40));return!!e._reactRootContainer&&(du((function(){ec(null,null,e,!1,(function(){e._reactRootContainer=null,e[mo]=null}))})),!0)},m.unstable_batchedUpdates=cu,m.unstable_renderSubtreeIntoContainer=function(e,t,r,o){if(!Ju(r))throw Error(n(200));if(null==e||void 0===e._reactInternals)throw Error(n(38));return ec(e,t,r,!1,o)},m.version="18.2.0-next-9e3b772b8-20220608",m}!function(e){e.exports=(c||(c=1,function(e){function t(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,a=e[r];if(!(0<o(a,t)))break e;e[r]=t,e[n]=a,n=r}}function n(e){return 0===e.length?null:e[0]}function r(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length,i=a>>>1;r<i;){var l=2*(r+1)-1,s=e[l],u=l+1,c=e[u];if(0>o(s,n))u<a&&0>o(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[l]=n,r=l);else{if(!(u<a&&0>o(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;e.unstable_now=function(){return a.now()}}else{var i=Date,l=i.now();e.unstable_now=function(){return i.now()-l}}var s=[],u=[],c=1,d=null,p=3,f=!1,h=!1,m=!1,v="function"==typeof setTimeout?setTimeout:null,g="function"==typeof clearTimeout?clearTimeout:null,y="undefined"!=typeof setImmediate?setImmediate:null;function b(e){for(var o=n(u);null!==o;){if(null===o.callback)r(u);else{if(!(o.startTime<=e))break;r(u),o.sortIndex=o.expirationTime,t(s,o)}o=n(u)}}function x(e){if(m=!1,b(e),!h)if(null!==n(s))h=!0,I(w);else{var t=n(u);null!==t&&N(x,t.startTime-e)}}function w(t,o){h=!1,m&&(m=!1,g(C),C=-1),f=!0;var a=p;try{for(b(o),d=n(s);null!==d&&(!(d.expirationTime>o)||t&&!R());){var i=d.callback;if("function"==typeof i){d.callback=null,p=d.priorityLevel;var l=i(d.expirationTime<=o);o=e.unstable_now(),"function"==typeof l?d.callback=l:d===n(s)&&r(s),b(o)}else r(s);d=n(s)}if(null!==d)var c=!0;else{var v=n(u);null!==v&&N(x,v.startTime-o),c=!1}return c}finally{d=null,p=a,f=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var k,S=!1,E=null,C=-1,O=5,P=-1;function R(){return!(e.unstable_now()-P<O)}function T(){if(null!==E){var t=e.unstable_now();P=t;var n=!0;try{n=E(!0,t)}finally{n?k():(S=!1,E=null)}}else S=!1}if("function"==typeof y)k=function(){y(T)};else if("undefined"!=typeof MessageChannel){var M=new MessageChannel,$=M.port2;M.port1.onmessage=T,k=function(){$.postMessage(null)}}else k=function(){v(T,0)};function I(e){E=e,S||(S=!0,k())}function N(t,n){C=v((function(){t(e.unstable_now())}),n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_continueExecution=function(){h||f||(h=!0,I(w))},e.unstable_forceFrameRate=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"):O=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return n(s)},e.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},e.unstable_scheduleCallback=function(r,o,a){var i=e.unstable_now();switch(a="object"==typeof a&&null!==a&&"number"==typeof(a=a.delay)&&0<a?i+a:i,r){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return r={id:c++,callback:o,priorityLevel:r,startTime:a,expirationTime:l=a+l,sortIndex:-1},a>i?(r.sortIndex=a,t(u,r),null===n(s)&&r===n(u)&&(m?(g(C),C=-1):m=!0,N(x,a-i))):(r.sortIndex=l,t(s,r),h||f||(h=!0,I(w))),r},e.unstable_shouldYield=R,e.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}}(g)),g)}(v),function(e){!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)}}(),e.exports=y()}(h);var b=o(h.exports);const x="__tolgee_dev_tools",w=2147483e3,k="__tolgee_preferredLanguages",S=5,E="data-tolgee-key-only",C="data-tolgee-restricted",O="_tolgee",P="_tolgee-highlighter";function R(){let e=document.getElementById(x);return(null==e?void 0:e.isConnected)||(e=document.createElement("div"),e.id=x,e.style.height="0px",e.style.overflow="hidden",document.body.appendChild(e)),e.shadowRoot||e.attachShadow({mode:"open"}),e.shadowRoot}class T extends l.exports.PureComponent{constructor(){super(...arguments),this._popup=null}get document(){return this.props.document||document}get devTools(){return R()}componentDidMount(){this._popup=this.document.createElement("div"),this.devTools.appendChild(this._popup),this._render()}componentDidUpdate(){this._render()}componentWillUnmount(){this._popup&&(h.exports.unmountComponentAtNode(this._popup),this.devTools.removeChild(this._popup))}_render(){h.exports.render(l.exports.createElement(l.exports.Fragment,null,this.props.children),this._popup)}render(){return null}}function M(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}const $=e=>new Promise((t=>setTimeout(t,e))),I=Symbol(),N=Symbol(),A="undefined"==typeof window||/ServerSideRendering/.test(window.navigator&&window.navigator.userAgent)?l.exports.useEffect:l.exports.useLayoutEffect,j=v.exports.unstable_runWithPriority?e=>v.exports.unstable_runWithPriority(v.exports.unstable_NormalPriority,e):e=>e();const z=(e,t,n)=>{var r;if(!(null==t?void 0:t.length))return!0;const o=null===(r=null==n?void 0:n.find((t=>t.tag===e)))||void 0===r?void 0:r.id;return void 0===o||t.includes(o)};function _(e,t){return _=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},_(e,t)}function L(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,_(e,t)}var F=function(){function e(){this.listeners=[]}var t=e.prototype;return t.subscribe=function(e){var t=this,n=e||function(){};return this.listeners.push(n),this.onSubscribe(),function(){t.listeners=t.listeners.filter((function(e){return e!==n})),t.onUnsubscribe()}},t.hasListeners=function(){return this.listeners.length>0},t.onSubscribe=function(){},t.onUnsubscribe=function(){},e}();function D(){return D=Object.assign?Object.assign.bind():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},D.apply(this,arguments)}var W="undefined"==typeof window;function B(){}function U(e){return"number"==typeof e&&e>=0&&e!==1/0}function V(e){return Array.isArray(e)?e:[e]}function H(e,t){return Math.max(e+(t||0)-Date.now(),0)}function q(e,t,n){return re(e)?"function"==typeof t?D({},n,{queryKey:e,queryFn:t}):D({},t,{queryKey:e}):e}function K(e,t,n){return re(e)?[D({},t,{queryKey:e}),n]:[e||{},t]}function Q(e,t){var n=e.active,r=e.exact,o=e.fetching,a=e.inactive,i=e.predicate,l=e.queryKey,s=e.stale;if(re(l))if(r){if(t.queryHash!==X(l,t.options))return!1}else if(!J(t.queryKey,l))return!1;var u=function(e,t){return!0===e&&!0===t||null==e&&null==t?"all":!1===e&&!1===t?"none":(null!=e?e:!t)?"active":"inactive"}(n,a);if("none"===u)return!1;if("all"!==u){var c=t.isActive();if("active"===u&&!c)return!1;if("inactive"===u&&c)return!1}return("boolean"!=typeof s||t.isStale()===s)&&(("boolean"!=typeof o||t.isFetching()===o)&&!(i&&!i(t)))}function G(e,t){var n=e.exact,r=e.fetching,o=e.predicate,a=e.mutationKey;if(re(a)){if(!t.options.mutationKey)return!1;if(n){if(Y(t.options.mutationKey)!==Y(a))return!1}else if(!J(t.options.mutationKey,a))return!1}return("boolean"!=typeof r||"loading"===t.state.status===r)&&!(o&&!o(t))}function X(e,t){return((null==t?void 0:t.queryKeyHashFn)||Y)(e)}function Y(e){var t,n=V(e);return t=n,JSON.stringify(t,(function(e,t){return te(t)?Object.keys(t).sort().reduce((function(e,n){return e[n]=t[n],e}),{}):t}))}function J(e,t){return Z(V(e),V(t))}function Z(e,t){return e===t||typeof e==typeof t&&(!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&!Object.keys(t).some((function(n){return!Z(e[n],t[n])})))}function ee(e,t){if(e===t)return e;var n=Array.isArray(e)&&Array.isArray(t);if(n||te(e)&&te(t)){for(var r=n?e.length:Object.keys(e).length,o=n?t:Object.keys(t),a=o.length,i=n?[]:{},l=0,s=0;s<a;s++){var u=n?s:o[s];i[u]=ee(e[u],t[u]),i[u]===e[u]&&l++}return r===a&&l===r?e:i}return t}function te(e){if(!ne(e))return!1;var t=e.constructor;if(void 0===t)return!0;var n=t.prototype;return!!ne(n)&&!!n.hasOwnProperty("isPrototypeOf")}function ne(e){return"[object Object]"===Object.prototype.toString.call(e)}function re(e){return"string"==typeof e||Array.isArray(e)}function oe(e){Promise.resolve().then(e).catch((function(e){return setTimeout((function(){throw e}))}))}function ae(){if("function"==typeof AbortController)return new AbortController}var ie=new(function(e){function t(){var t;return(t=e.call(this)||this).setup=function(e){var t;if(!W&&(null==(t=window)?void 0:t.addEventListener)){var n=function(){return e()};return window.addEventListener("visibilitychange",n,!1),window.addEventListener("focus",n,!1),function(){window.removeEventListener("visibilitychange",n),window.removeEventListener("focus",n)}}},t}L(t,e);var n=t.prototype;return n.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},n.onUnsubscribe=function(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)},n.setEventListener=function(e){var t,n=this;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((function(e){"boolean"==typeof e?n.setFocused(e):n.onFocus()}))},n.setFocused=function(e){this.focused=e,e&&this.onFocus()},n.onFocus=function(){this.listeners.forEach((function(e){e()}))},n.isFocused=function(){return"boolean"==typeof this.focused?this.focused:"undefined"==typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)},t}(F)),le=new(function(e){function t(){var t;return(t=e.call(this)||this).setup=function(e){var t;if(!W&&(null==(t=window)?void 0:t.addEventListener)){var n=function(){return e()};return window.addEventListener("online",n,!1),window.addEventListener("offline",n,!1),function(){window.removeEventListener("online",n),window.removeEventListener("offline",n)}}},t}L(t,e);var n=t.prototype;return n.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},n.onUnsubscribe=function(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)},n.setEventListener=function(e){var t,n=this;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((function(e){"boolean"==typeof e?n.setOnline(e):n.onOnline()}))},n.setOnline=function(e){this.online=e,e&&this.onOnline()},n.onOnline=function(){this.listeners.forEach((function(e){e()}))},n.isOnline=function(){return"boolean"==typeof this.online?this.online:"undefined"==typeof navigator||void 0===navigator.onLine||navigator.onLine},t}(F));function se(e){return Math.min(1e3*Math.pow(2,e),3e4)}function ue(e){return"function"==typeof(null==e?void 0:e.cancel)}var ce=function(e){this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent};function de(e){return e instanceof ce}var pe=function(e){var t,n,r,o,a=this,i=!1;this.abort=e.abort,this.cancel=function(e){return null==t?void 0:t(e)},this.cancelRetry=function(){i=!0},this.continueRetry=function(){i=!1},this.continue=function(){return null==n?void 0:n()},this.failureCount=0,this.isPaused=!1,this.isResolved=!1,this.isTransportCancelable=!1,this.promise=new Promise((function(e,t){r=e,o=t}));var l=function(t){a.isResolved||(a.isResolved=!0,null==e.onSuccess||e.onSuccess(t),null==n||n(),r(t))},s=function(t){a.isResolved||(a.isResolved=!0,null==e.onError||e.onError(t),null==n||n(),o(t))};!function r(){if(!a.isResolved){var o;try{o=e.fn()}catch(e){o=Promise.reject(e)}t=function(e){if(!a.isResolved&&(s(new ce(e)),null==a.abort||a.abort(),ue(o)))try{o.cancel()}catch(e){}},a.isTransportCancelable=ue(o),Promise.resolve(o).then(l).catch((function(t){var o,l;if(!a.isResolved){var u,c=null!=(o=e.retry)?o:3,d=null!=(l=e.retryDelay)?l:se,p="function"==typeof d?d(a.failureCount,t):d,f=!0===c||"number"==typeof c&&a.failureCount<c||"function"==typeof c&&c(a.failureCount,t);if(!i&&f)a.failureCount++,null==e.onFail||e.onFail(a.failureCount,t),(u=p,new Promise((function(e){setTimeout(e,u)}))).then((function(){if(!ie.isFocused()||!le.isOnline())return new Promise((function(t){n=t,a.isPaused=!0,null==e.onPause||e.onPause()})).then((function(){n=void 0,a.isPaused=!1,null==e.onContinue||e.onContinue()}))})).then((function(){i?s(t):r()}));else s(t)}}))}}()},fe=function(){function e(){this.queue=[],this.transactions=0,this.notifyFn=function(e){e()},this.batchNotifyFn=function(e){e()}}var t=e.prototype;return t.batch=function(e){var t;this.transactions++;try{t=e()}finally{this.transactions--,this.transactions||this.flush()}return t},t.schedule=function(e){var t=this;this.transactions?this.queue.push(e):oe((function(){t.notifyFn(e)}))},t.batchCalls=function(e){var t=this;return function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];t.schedule((function(){e.apply(void 0,r)}))}},t.flush=function(){var e=this,t=this.queue;this.queue=[],t.length&&oe((function(){e.batchNotifyFn((function(){t.forEach((function(t){e.notifyFn(t)}))}))}))},t.setNotifyFunction=function(e){this.notifyFn=e},t.setBatchNotifyFunction=function(e){this.batchNotifyFn=e},e}(),he=new fe,me=console;function ve(){return me}var ge=function(){function e(e){this.abortSignalConsumed=!1,this.hadObservers=!1,this.defaultOptions=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.cache=e.cache,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.initialState=e.state||this.getDefaultState(this.options),this.state=this.initialState,this.meta=e.meta,this.scheduleGc()}var t=e.prototype;return t.setOptions=function(e){var t;this.options=D({},this.defaultOptions,e),this.meta=null==e?void 0:e.meta,this.cacheTime=Math.max(this.cacheTime||0,null!=(t=this.options.cacheTime)?t:3e5)},t.setDefaultOptions=function(e){this.defaultOptions=e},t.scheduleGc=function(){var e=this;this.clearGcTimeout(),U(this.cacheTime)&&(this.gcTimeout=setTimeout((function(){e.optionalRemove()}),this.cacheTime))},t.clearGcTimeout=function(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)},t.optionalRemove=function(){this.observers.length||(this.state.isFetching?this.hadObservers&&this.scheduleGc():this.cache.remove(this))},t.setData=function(e,t){var n,r,o=this.state.data,a=function(e,t){return"function"==typeof e?e(t):e}(e,o);return(null==(n=(r=this.options).isDataEqual)?void 0:n.call(r,o,a))?a=o:!1!==this.options.structuralSharing&&(a=ee(o,a)),this.dispatch({data:a,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt}),a},t.setState=function(e,t){this.dispatch({type:"setState",state:e,setStateOptions:t})},t.cancel=function(e){var t,n=this.promise;return null==(t=this.retryer)||t.cancel(e),n?n.then(B).catch(B):Promise.resolve()},t.destroy=function(){this.clearGcTimeout(),this.cancel({silent:!0})},t.reset=function(){this.destroy(),this.setState(this.initialState)},t.isActive=function(){return this.observers.some((function(e){return!1!==e.options.enabled}))},t.isFetching=function(){return this.state.isFetching},t.isStale=function(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some((function(e){return e.getCurrentResult().isStale}))},t.isStaleByTime=function(e){return void 0===e&&(e=0),this.state.isInvalidated||!this.state.dataUpdatedAt||!H(this.state.dataUpdatedAt,e)},t.onFocus=function(){var e,t=this.observers.find((function(e){return e.shouldFetchOnWindowFocus()}));t&&t.refetch(),null==(e=this.retryer)||e.continue()},t.onOnline=function(){var e,t=this.observers.find((function(e){return e.shouldFetchOnReconnect()}));t&&t.refetch(),null==(e=this.retryer)||e.continue()},t.addObserver=function(e){-1===this.observers.indexOf(e)&&(this.observers.push(e),this.hadObservers=!0,this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:e}))},t.removeObserver=function(e){-1!==this.observers.indexOf(e)&&(this.observers=this.observers.filter((function(t){return t!==e})),this.observers.length||(this.retryer&&(this.retryer.isTransportCancelable||this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.cacheTime?this.scheduleGc():this.cache.remove(this)),this.cache.notify({type:"observerRemoved",query:this,observer:e}))},t.getObserversCount=function(){return this.observers.length},t.invalidate=function(){this.state.isInvalidated||this.dispatch({type:"invalidate"})},t.fetch=function(e,t){var n,r,o,a=this;if(this.state.isFetching)if(this.state.dataUpdatedAt&&(null==t?void 0:t.cancelRefetch))this.cancel({silent:!0});else if(this.promise){var i;return null==(i=this.retryer)||i.continueRetry(),this.promise}if(e&&this.setOptions(e),!this.options.queryFn){var l=this.observers.find((function(e){return e.options.queryFn}));l&&this.setOptions(l.options)}var s=V(this.queryKey),u=ae(),c={queryKey:s,pageParam:void 0,meta:this.meta};Object.defineProperty(c,"signal",{enumerable:!0,get:function(){if(u)return a.abortSignalConsumed=!0,u.signal}});var d,p,f={fetchOptions:t,options:this.options,queryKey:s,state:this.state,fetchFn:function(){return a.options.queryFn?(a.abortSignalConsumed=!1,a.options.queryFn(c)):Promise.reject("Missing queryFn")},meta:this.meta};(null==(n=this.options.behavior)?void 0:n.onFetch)&&(null==(d=this.options.behavior)||d.onFetch(f));(this.revertState=this.state,this.state.isFetching&&this.state.fetchMeta===(null==(r=f.fetchOptions)?void 0:r.meta))||this.dispatch({type:"fetch",meta:null==(p=f.fetchOptions)?void 0:p.meta});return this.retryer=new pe({fn:f.fetchFn,abort:null==u||null==(o=u.abort)?void 0:o.bind(u),onSuccess:function(e){a.setData(e),null==a.cache.config.onSuccess||a.cache.config.onSuccess(e,a),0===a.cacheTime&&a.optionalRemove()},onError:function(e){de(e)&&e.silent||a.dispatch({type:"error",error:e}),de(e)||(null==a.cache.config.onError||a.cache.config.onError(e,a),ve().error(e)),0===a.cacheTime&&a.optionalRemove()},onFail:function(){a.dispatch({type:"failed"})},onPause:function(){a.dispatch({type:"pause"})},onContinue:function(){a.dispatch({type:"continue"})},retry:f.options.retry,retryDelay:f.options.retryDelay}),this.promise=this.retryer.promise,this.promise},t.dispatch=function(e){var t=this;this.state=this.reducer(this.state,e),he.batch((function(){t.observers.forEach((function(t){t.onQueryUpdate(e)})),t.cache.notify({query:t,type:"queryUpdated",action:e})}))},t.getDefaultState=function(e){var t="function"==typeof e.initialData?e.initialData():e.initialData,n=void 0!==e.initialData?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0,r=void 0!==t;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?null!=n?n:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchMeta:null,isFetching:!1,isInvalidated:!1,isPaused:!1,status:r?"success":"idle"}},t.reducer=function(e,t){var n,r;switch(t.type){case"failed":return D({},e,{fetchFailureCount:e.fetchFailureCount+1});case"pause":return D({},e,{isPaused:!0});case"continue":return D({},e,{isPaused:!1});case"fetch":return D({},e,{fetchFailureCount:0,fetchMeta:null!=(n=t.meta)?n:null,isFetching:!0,isPaused:!1},!e.dataUpdatedAt&&{error:null,status:"loading"});case"success":return D({},e,{data:t.data,dataUpdateCount:e.dataUpdateCount+1,dataUpdatedAt:null!=(r=t.dataUpdatedAt)?r:Date.now(),error:null,fetchFailureCount:0,isFetching:!1,isInvalidated:!1,isPaused:!1,status:"success"});case"error":var o=t.error;return de(o)&&o.revert&&this.revertState?D({},this.revertState):D({},e,{error:o,errorUpdateCount:e.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:e.fetchFailureCount+1,isFetching:!1,isPaused:!1,status:"error"});case"invalidate":return D({},e,{isInvalidated:!0});case"setState":return D({},e,t.state);default:return e}},e}(),ye=function(e){function t(t){var n;return(n=e.call(this)||this).config=t||{},n.queries=[],n.queriesMap={},n}L(t,e);var n=t.prototype;return n.build=function(e,t,n){var r,o=t.queryKey,a=null!=(r=t.queryHash)?r:X(o,t),i=this.get(a);return i||(i=new ge({cache:this,queryKey:o,queryHash:a,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(o),meta:t.meta}),this.add(i)),i},n.add=function(e){this.queriesMap[e.queryHash]||(this.queriesMap[e.queryHash]=e,this.queries.push(e),this.notify({type:"queryAdded",query:e}))},n.remove=function(e){var t=this.queriesMap[e.queryHash];t&&(e.destroy(),this.queries=this.queries.filter((function(t){return t!==e})),t===e&&delete this.queriesMap[e.queryHash],this.notify({type:"queryRemoved",query:e}))},n.clear=function(){var e=this;he.batch((function(){e.queries.forEach((function(t){e.remove(t)}))}))},n.get=function(e){return this.queriesMap[e]},n.getAll=function(){return this.queries},n.find=function(e,t){var n=K(e,t)[0];return void 0===n.exact&&(n.exact=!0),this.queries.find((function(e){return Q(n,e)}))},n.findAll=function(e,t){var n=K(e,t)[0];return Object.keys(n).length>0?this.queries.filter((function(e){return Q(n,e)})):this.queries},n.notify=function(e){var t=this;he.batch((function(){t.listeners.forEach((function(t){t(e)}))}))},n.onFocus=function(){var e=this;he.batch((function(){e.queries.forEach((function(e){e.onFocus()}))}))},n.onOnline=function(){var e=this;he.batch((function(){e.queries.forEach((function(e){e.onOnline()}))}))},t}(F),be=function(){function e(e){this.options=D({},e.defaultOptions,e.options),this.mutationId=e.mutationId,this.mutationCache=e.mutationCache,this.observers=[],this.state=e.state||xe(),this.meta=e.meta}var t=e.prototype;return t.setState=function(e){this.dispatch({type:"setState",state:e})},t.addObserver=function(e){-1===this.observers.indexOf(e)&&this.observers.push(e)},t.removeObserver=function(e){this.observers=this.observers.filter((function(t){return t!==e}))},t.cancel=function(){return this.retryer?(this.retryer.cancel(),this.retryer.promise.then(B).catch(B)):Promise.resolve()},t.continue=function(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()},t.execute=function(){var e,t=this,n="loading"===this.state.status,r=Promise.resolve();return n||(this.dispatch({type:"loading",variables:this.options.variables}),r=r.then((function(){null==t.mutationCache.config.onMutate||t.mutationCache.config.onMutate(t.state.variables,t)})).then((function(){return null==t.options.onMutate?void 0:t.options.onMutate(t.state.variables)})).then((function(e){e!==t.state.context&&t.dispatch({type:"loading",context:e,variables:t.state.variables})}))),r.then((function(){return t.executeMutation()})).then((function(n){e=n,null==t.mutationCache.config.onSuccess||t.mutationCache.config.onSuccess(e,t.state.variables,t.state.context,t)})).then((function(){return null==t.options.onSuccess?void 0:t.options.onSuccess(e,t.state.variables,t.state.context)})).then((function(){return null==t.options.onSettled?void 0:t.options.onSettled(e,null,t.state.variables,t.state.context)})).then((function(){return t.dispatch({type:"success",data:e}),e})).catch((function(e){return null==t.mutationCache.config.onError||t.mutationCache.config.onError(e,t.state.variables,t.state.context,t),ve().error(e),Promise.resolve().then((function(){return null==t.options.onError?void 0:t.options.onError(e,t.state.variables,t.state.context)})).then((function(){return null==t.options.onSettled?void 0:t.options.onSettled(void 0,e,t.state.variables,t.state.context)})).then((function(){throw t.dispatch({type:"error",error:e}),e}))}))},t.executeMutation=function(){var e,t=this;return this.retryer=new pe({fn:function(){return t.options.mutationFn?t.options.mutationFn(t.state.variables):Promise.reject("No mutationFn found")},onFail:function(){t.dispatch({type:"failed"})},onPause:function(){t.dispatch({type:"pause"})},onContinue:function(){t.dispatch({type:"continue"})},retry:null!=(e=this.options.retry)?e:0,retryDelay:this.options.retryDelay}),this.retryer.promise},t.dispatch=function(e){var t=this;this.state=function(e,t){switch(t.type){case"failed":return D({},e,{failureCount:e.failureCount+1});case"pause":return D({},e,{isPaused:!0});case"continue":return D({},e,{isPaused:!1});case"loading":return D({},e,{context:t.context,data:void 0,error:null,isPaused:!1,status:"loading",variables:t.variables});case"success":return D({},e,{data:t.data,error:null,status:"success",isPaused:!1});case"error":return D({},e,{data:void 0,error:t.error,failureCount:e.failureCount+1,isPaused:!1,status:"error"});case"setState":return D({},e,t.state);default:return e}}(this.state,e),he.batch((function(){t.observers.forEach((function(t){t.onMutationUpdate(e)})),t.mutationCache.notify(t)}))},e}();function xe(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0}}var we=function(e){function t(t){var n;return(n=e.call(this)||this).config=t||{},n.mutations=[],n.mutationId=0,n}L(t,e);var n=t.prototype;return n.build=function(e,t,n){var r=new be({mutationCache:this,mutationId:++this.mutationId,options:e.defaultMutationOptions(t),state:n,defaultOptions:t.mutationKey?e.getMutationDefaults(t.mutationKey):void 0,meta:t.meta});return this.add(r),r},n.add=function(e){this.mutations.push(e),this.notify(e)},n.remove=function(e){this.mutations=this.mutations.filter((function(t){return t!==e})),e.cancel(),this.notify(e)},n.clear=function(){var e=this;he.batch((function(){e.mutations.forEach((function(t){e.remove(t)}))}))},n.getAll=function(){return this.mutations},n.find=function(e){return void 0===e.exact&&(e.exact=!0),this.mutations.find((function(t){return G(e,t)}))},n.findAll=function(e){return this.mutations.filter((function(t){return G(e,t)}))},n.notify=function(e){var t=this;he.batch((function(){t.listeners.forEach((function(t){t(e)}))}))},n.onFocus=function(){this.resumePausedMutations()},n.onOnline=function(){this.resumePausedMutations()},n.resumePausedMutations=function(){var e=this.mutations.filter((function(e){return e.state.isPaused}));return he.batch((function(){return e.reduce((function(e,t){return e.then((function(){return t.continue().catch(B)}))}),Promise.resolve())}))},t}(F);function ke(e,t){return null==e.getNextPageParam?void 0:e.getNextPageParam(t[t.length-1],t)}var Se=function(){function e(e){void 0===e&&(e={}),this.queryCache=e.queryCache||new ye,this.mutationCache=e.mutationCache||new we,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}var t=e.prototype;return t.mount=function(){var e=this;this.unsubscribeFocus=ie.subscribe((function(){ie.isFocused()&&le.isOnline()&&(e.mutationCache.onFocus(),e.queryCache.onFocus())})),this.unsubscribeOnline=le.subscribe((function(){ie.isFocused()&&le.isOnline()&&(e.mutationCache.onOnline(),e.queryCache.onOnline())}))},t.unmount=function(){var e,t;null==(e=this.unsubscribeFocus)||e.call(this),null==(t=this.unsubscribeOnline)||t.call(this)},t.isFetching=function(e,t){var n=K(e,t)[0];return n.fetching=!0,this.queryCache.findAll(n).length},t.isMutating=function(e){return this.mutationCache.findAll(D({},e,{fetching:!0})).length},t.getQueryData=function(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state.data},t.getQueriesData=function(e){return this.getQueryCache().findAll(e).map((function(e){return[e.queryKey,e.state.data]}))},t.setQueryData=function(e,t,n){var r=q(e),o=this.defaultQueryOptions(r);return this.queryCache.build(this,o).setData(t,n)},t.setQueriesData=function(e,t,n){var r=this;return he.batch((function(){return r.getQueryCache().findAll(e).map((function(e){var o=e.queryKey;return[o,r.setQueryData(o,t,n)]}))}))},t.getQueryState=function(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state},t.removeQueries=function(e,t){var n=K(e,t)[0],r=this.queryCache;he.batch((function(){r.findAll(n).forEach((function(e){r.remove(e)}))}))},t.resetQueries=function(e,t,n){var r=this,o=K(e,t,n),a=o[0],i=o[1],l=this.queryCache,s=D({},a,{active:!0});return he.batch((function(){return l.findAll(a).forEach((function(e){e.reset()})),r.refetchQueries(s,i)}))},t.cancelQueries=function(e,t,n){var r=this,o=K(e,t,n),a=o[0],i=o[1],l=void 0===i?{}:i;void 0===l.revert&&(l.revert=!0);var s=he.batch((function(){return r.queryCache.findAll(a).map((function(e){return e.cancel(l)}))}));return Promise.all(s).then(B).catch(B)},t.invalidateQueries=function(e,t,n){var r,o,a,i=this,l=K(e,t,n),s=l[0],u=l[1],c=D({},s,{active:null==(r=null!=(o=s.refetchActive)?o:s.active)||r,inactive:null!=(a=s.refetchInactive)&&a});return he.batch((function(){return i.queryCache.findAll(s).forEach((function(e){e.invalidate()})),i.refetchQueries(c,u)}))},t.refetchQueries=function(e,t,n){var r=this,o=K(e,t,n),a=o[0],i=o[1],l=he.batch((function(){return r.queryCache.findAll(a).map((function(e){return e.fetch(void 0,D({},i,{meta:{refetchPage:null==a?void 0:a.refetchPage}}))}))})),s=Promise.all(l).then(B);return(null==i?void 0:i.throwOnError)||(s=s.catch(B)),s},t.fetchQuery=function(e,t,n){var r=q(e,t,n),o=this.defaultQueryOptions(r);void 0===o.retry&&(o.retry=!1);var a=this.queryCache.build(this,o);return a.isStaleByTime(o.staleTime)?a.fetch(o):Promise.resolve(a.state.data)},t.prefetchQuery=function(e,t,n){return this.fetchQuery(e,t,n).then(B).catch(B)},t.fetchInfiniteQuery=function(e,t,n){var r=q(e,t,n);return r.behavior={onFetch:function(e){e.fetchFn=function(){var t,n,r,o,a,i,l,s,u,c=null==(t=e.fetchOptions)||null==(n=t.meta)?void 0:n.refetchPage,d=null==(r=e.fetchOptions)||null==(o=r.meta)?void 0:o.fetchMore,p=null==d?void 0:d.pageParam,f="forward"===(null==d?void 0:d.direction),h="backward"===(null==d?void 0:d.direction),m=(null==(a=e.state.data)?void 0:a.pages)||[],v=(null==(i=e.state.data)?void 0:i.pageParams)||[],g=ae(),y=null==g?void 0:g.signal,b=v,x=!1,w=e.options.queryFn||function(){return Promise.reject("Missing queryFn")},k=function(e,t,n,r){return b=r?[t].concat(b):[].concat(b,[t]),r?[n].concat(e):[].concat(e,[n])},S=function(t,n,r,o){if(x)return Promise.reject("Cancelled");if(void 0===r&&!n&&t.length)return Promise.resolve(t);var a={queryKey:e.queryKey,signal:y,pageParam:r,meta:e.meta},i=w(a),l=Promise.resolve(i).then((function(e){return k(t,r,e,o)}));return ue(i)&&(l.cancel=i.cancel),l};if(m.length)if(f){var E=void 0!==p,C=E?p:ke(e.options,m);l=S(m,E,C)}else if(h){var O=void 0!==p,P=O?p:(s=e.options,u=m,null==s.getPreviousPageParam?void 0:s.getPreviousPageParam(u[0],u));l=S(m,O,P,!0)}else!function(){b=[];var t=void 0===e.options.getNextPageParam,n=!c||!m[0]||c(m[0],0,m);l=n?S([],t,v[0]):Promise.resolve(k([],v[0],m[0]));for(var r=function(n){l=l.then((function(r){if(!c||!m[n]||c(m[n],n,m)){var o=t?v[n]:ke(e.options,r);return S(r,t,o)}return Promise.resolve(k(r,v[n],m[n]))}))},o=1;o<m.length;o++)r(o)}();else l=S([]);var R=l.then((function(e){return{pages:e,pageParams:b}}));return R.cancel=function(){x=!0,null==g||g.abort(),ue(l)&&l.cancel()},R}}},this.fetchQuery(r)},t.prefetchInfiniteQuery=function(e,t,n){return this.fetchInfiniteQuery(e,t,n).then(B).catch(B)},t.cancelMutations=function(){var e=this,t=he.batch((function(){return e.mutationCache.getAll().map((function(e){return e.cancel()}))}));return Promise.all(t).then(B).catch(B)},t.resumePausedMutations=function(){return this.getMutationCache().resumePausedMutations()},t.executeMutation=function(e){return this.mutationCache.build(this,e).execute()},t.getQueryCache=function(){return this.queryCache},t.getMutationCache=function(){return this.mutationCache},t.getDefaultOptions=function(){return this.defaultOptions},t.setDefaultOptions=function(e){this.defaultOptions=e},t.setQueryDefaults=function(e,t){var n=this.queryDefaults.find((function(t){return Y(e)===Y(t.queryKey)}));n?n.defaultOptions=t:this.queryDefaults.push({queryKey:e,defaultOptions:t})},t.getQueryDefaults=function(e){var t;return e?null==(t=this.queryDefaults.find((function(t){return J(e,t.queryKey)})))?void 0:t.defaultOptions:void 0},t.setMutationDefaults=function(e,t){var n=this.mutationDefaults.find((function(t){return Y(e)===Y(t.mutationKey)}));n?n.defaultOptions=t:this.mutationDefaults.push({mutationKey:e,defaultOptions:t})},t.getMutationDefaults=function(e){var t;return e?null==(t=this.mutationDefaults.find((function(t){return J(e,t.mutationKey)})))?void 0:t.defaultOptions:void 0},t.defaultQueryOptions=function(e){if(null==e?void 0:e._defaulted)return e;var t=D({},this.defaultOptions.queries,this.getQueryDefaults(null==e?void 0:e.queryKey),e,{_defaulted:!0});return!t.queryHash&&t.queryKey&&(t.queryHash=X(t.queryKey,t)),t},t.defaultQueryObserverOptions=function(e){return this.defaultQueryOptions(e)},t.defaultMutationOptions=function(e){return(null==e?void 0:e._defaulted)?e:D({},this.defaultOptions.mutations,this.getMutationDefaults(null==e?void 0:e.mutationKey),e,{_defaulted:!0})},t.clear=function(){this.queryCache.clear(),this.mutationCache.clear()},e}(),Ee=function(e){function t(t,n){var r;return(r=e.call(this)||this).client=t,r.options=n,r.trackedProps=[],r.selectError=null,r.bindMethods(),r.setOptions(n),r}L(t,e);var n=t.prototype;return n.bindMethods=function(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)},n.onSubscribe=function(){1===this.listeners.length&&(this.currentQuery.addObserver(this),Ce(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())},n.onUnsubscribe=function(){this.listeners.length||this.destroy()},n.shouldFetchOnReconnect=function(){return Oe(this.currentQuery,this.options,this.options.refetchOnReconnect)},n.shouldFetchOnWindowFocus=function(){return Oe(this.currentQuery,this.options,this.options.refetchOnWindowFocus)},n.destroy=function(){this.listeners=[],this.clearTimers(),this.currentQuery.removeObserver(this)},n.setOptions=function(e,t){var n=this.options,r=this.currentQuery;if(this.options=this.client.defaultQueryObserverOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled)throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=n.queryKey),this.updateQuery();var o=this.hasListeners();o&&Pe(this.currentQuery,r,this.options,n)&&this.executeFetch(),this.updateResult(t),!o||this.currentQuery===r&&this.options.enabled===n.enabled&&this.options.staleTime===n.staleTime||this.updateStaleTimeout();var a=this.computeRefetchInterval();!o||this.currentQuery===r&&this.options.enabled===n.enabled&&a===this.currentRefetchInterval||this.updateRefetchInterval(a)},n.getOptimisticResult=function(e){var t=this.client.defaultQueryObserverOptions(e),n=this.client.getQueryCache().build(this.client,t);return this.createResult(n,t)},n.getCurrentResult=function(){return this.currentResult},n.trackResult=function(e,t){var n=this,r={},o=function(e){n.trackedProps.includes(e)||n.trackedProps.push(e)};return Object.keys(e).forEach((function(t){Object.defineProperty(r,t,{configurable:!1,enumerable:!0,get:function(){return o(t),e[t]}})})),(t.useErrorBoundary||t.suspense)&&o("error"),r},n.getNextResult=function(e){var t=this;return new Promise((function(n,r){var o=t.subscribe((function(t){t.isFetching||(o(),t.isError&&(null==e?void 0:e.throwOnError)?r(t.error):n(t))}))}))},n.getCurrentQuery=function(){return this.currentQuery},n.remove=function(){this.client.getQueryCache().remove(this.currentQuery)},n.refetch=function(e){return this.fetch(D({},e,{meta:{refetchPage:null==e?void 0:e.refetchPage}}))},n.fetchOptimistic=function(e){var t=this,n=this.client.defaultQueryObserverOptions(e),r=this.client.getQueryCache().build(this.client,n);return r.fetch().then((function(){return t.createResult(r,n)}))},n.fetch=function(e){var t=this;return this.executeFetch(e).then((function(){return t.updateResult(),t.currentResult}))},n.executeFetch=function(e){this.updateQuery();var t=this.currentQuery.fetch(this.options,e);return(null==e?void 0:e.throwOnError)||(t=t.catch(B)),t},n.updateStaleTimeout=function(){var e=this;if(this.clearStaleTimeout(),!W&&!this.currentResult.isStale&&U(this.options.staleTime)){var t=H(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout((function(){e.currentResult.isStale||e.updateResult()}),t)}},n.computeRefetchInterval=function(){var e;return"function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(e=this.options.refetchInterval)&&e},n.updateRefetchInterval=function(e){var t=this;this.clearRefetchInterval(),this.currentRefetchInterval=e,!W&&!1!==this.options.enabled&&U(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval((function(){(t.options.refetchIntervalInBackground||ie.isFocused())&&t.executeFetch()}),this.currentRefetchInterval))},n.updateTimers=function(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())},n.clearTimers=function(){this.clearStaleTimeout(),this.clearRefetchInterval()},n.clearStaleTimeout=function(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)},n.clearRefetchInterval=function(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)},n.createResult=function(e,t){var n,r=this.currentQuery,o=this.options,a=this.currentResult,i=this.currentResultState,l=this.currentResultOptions,s=e!==r,u=s?e.state:this.currentQueryInitialState,c=s?this.currentResult:this.previousQueryResult,d=e.state,p=d.dataUpdatedAt,f=d.error,h=d.errorUpdatedAt,m=d.isFetching,v=d.status,g=!1,y=!1;if(t.optimisticResults){var b=this.hasListeners(),x=!b&&Ce(e,t),w=b&&Pe(e,r,t,o);(x||w)&&(m=!0,p||(v="loading"))}if(t.keepPreviousData&&!d.dataUpdateCount&&(null==c?void 0:c.isSuccess)&&"error"!==v)n=c.data,p=c.dataUpdatedAt,v=c.status,g=!0;else if(t.select&&void 0!==d.data)if(a&&d.data===(null==i?void 0:i.data)&&t.select===this.selectFn)n=this.selectResult;else try{this.selectFn=t.select,n=t.select(d.data),!1!==t.structuralSharing&&(n=ee(null==a?void 0:a.data,n)),this.selectResult=n,this.selectError=null}catch(e){ve().error(e),this.selectError=e}else n=d.data;if(void 0!==t.placeholderData&&void 0===n&&("loading"===v||"idle"===v)){var k;if((null==a?void 0:a.isPlaceholderData)&&t.placeholderData===(null==l?void 0:l.placeholderData))k=a.data;else if(k="function"==typeof t.placeholderData?t.placeholderData():t.placeholderData,t.select&&void 0!==k)try{k=t.select(k),!1!==t.structuralSharing&&(k=ee(null==a?void 0:a.data,k)),this.selectError=null}catch(e){ve().error(e),this.selectError=e}void 0!==k&&(v="success",n=k,y=!0)}return this.selectError&&(f=this.selectError,n=this.selectResult,h=Date.now(),v="error"),{status:v,isLoading:"loading"===v,isSuccess:"success"===v,isError:"error"===v,isIdle:"idle"===v,data:n,dataUpdatedAt:p,error:f,errorUpdatedAt:h,failureCount:d.fetchFailureCount,errorUpdateCount:d.errorUpdateCount,isFetched:d.dataUpdateCount>0||d.errorUpdateCount>0,isFetchedAfterMount:d.dataUpdateCount>u.dataUpdateCount||d.errorUpdateCount>u.errorUpdateCount,isFetching:m,isRefetching:m&&"loading"!==v,isLoadingError:"error"===v&&0===d.dataUpdatedAt,isPlaceholderData:y,isPreviousData:g,isRefetchError:"error"===v&&0!==d.dataUpdatedAt,isStale:Re(e,t),refetch:this.refetch,remove:this.remove}},n.shouldNotifyListeners=function(e,t){if(!t)return!0;var n=this.options,r=n.notifyOnChangeProps,o=n.notifyOnChangePropsExclusions;if(!r&&!o)return!0;if("tracked"===r&&!this.trackedProps.length)return!0;var a="tracked"===r?this.trackedProps:r;return Object.keys(e).some((function(n){var r=n,i=e[r]!==t[r],l=null==a?void 0:a.some((function(e){return e===n})),s=null==o?void 0:o.some((function(e){return e===n}));return i&&!s&&(!a||l)}))},n.updateResult=function(e){var t=this.currentResult;if(this.currentResult=this.createResult(this.currentQuery,this.options),this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,!function(e,t){if(e&&!t||t&&!e)return!1;for(var n in e)if(e[n]!==t[n])return!1;return!0}(this.currentResult,t)){var n={cache:!0};!1!==(null==e?void 0:e.listeners)&&this.shouldNotifyListeners(this.currentResult,t)&&(n.listeners=!0),this.notify(D({},n,e))}},n.updateQuery=function(){var e=this.client.getQueryCache().build(this.client,this.options);if(e!==this.currentQuery){var t=this.currentQuery;this.currentQuery=e,this.currentQueryInitialState=e.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}},n.onQueryUpdate=function(e){var t={};"success"===e.type?t.onSuccess=!0:"error"!==e.type||de(e.error)||(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()},n.notify=function(e){var t=this;he.batch((function(){e.onSuccess?(null==t.options.onSuccess||t.options.onSuccess(t.currentResult.data),null==t.options.onSettled||t.options.onSettled(t.currentResult.data,null)):e.onError&&(null==t.options.onError||t.options.onError(t.currentResult.error),null==t.options.onSettled||t.options.onSettled(void 0,t.currentResult.error)),e.listeners&&t.listeners.forEach((function(e){e(t.currentResult)})),e.cache&&t.client.getQueryCache().notify({query:t.currentQuery,type:"observerResultsUpdated"})}))},t}(F);function Ce(e,t){return function(e,t){return!(!1===t.enabled||e.state.dataUpdatedAt||"error"===e.state.status&&!1===t.retryOnMount)}(e,t)||e.state.dataUpdatedAt>0&&Oe(e,t,t.refetchOnMount)}function Oe(e,t,n){if(!1!==t.enabled){var r="function"==typeof n?n(e):n;return"always"===r||!1!==r&&Re(e,t)}return!1}function Pe(e,t,n,r){return!1!==n.enabled&&(e!==t||!1===r.enabled)&&(!n.suspense||"error"!==e.state.status)&&Re(e,n)}function Re(e,t){return e.isStaleByTime(t.staleTime)}var Te=function(e){function t(t,n){var r;return(r=e.call(this)||this).client=t,r.setOptions(n),r.bindMethods(),r.updateResult(),r}L(t,e);var n=t.prototype;return n.bindMethods=function(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)},n.setOptions=function(e){this.options=this.client.defaultMutationOptions(e)},n.onUnsubscribe=function(){var e;this.listeners.length||(null==(e=this.currentMutation)||e.removeObserver(this))},n.onMutationUpdate=function(e){this.updateResult();var t={listeners:!0};"success"===e.type?t.onSuccess=!0:"error"===e.type&&(t.onError=!0),this.notify(t)},n.getCurrentResult=function(){return this.currentResult},n.reset=function(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})},n.mutate=function(e,t){return this.mutateOptions=t,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,D({},this.options,{variables:void 0!==e?e:this.options.variables})),this.currentMutation.addObserver(this),this.currentMutation.execute()},n.updateResult=function(){var e=this.currentMutation?this.currentMutation.state:{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0},t=D({},e,{isLoading:"loading"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset});this.currentResult=t},n.notify=function(e){var t=this;he.batch((function(){t.mutateOptions&&(e.onSuccess?(null==t.mutateOptions.onSuccess||t.mutateOptions.onSuccess(t.currentResult.data,t.currentResult.variables,t.currentResult.context),null==t.mutateOptions.onSettled||t.mutateOptions.onSettled(t.currentResult.data,null,t.currentResult.variables,t.currentResult.context)):e.onError&&(null==t.mutateOptions.onError||t.mutateOptions.onError(t.currentResult.error,t.currentResult.variables,t.currentResult.context),null==t.mutateOptions.onSettled||t.mutateOptions.onSettled(void 0,t.currentResult.error,t.currentResult.variables,t.currentResult.context))),e.listeners&&t.listeners.forEach((function(e){e(t.currentResult)}))}))},t}(F),Me=p.createContext(void 0),$e=p.createContext(!1);function Ie(e){return e&&"undefined"!=typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=Me),window.ReactQueryClientContext):Me}var Ne=function(){var e=p.useContext(Ie(p.useContext($e)));if(!e)throw new Error("No QueryClient set, use QueryClientProvider to set one");return e},Ae=function(e){var t=e.client,n=e.contextSharing,r=void 0!==n&&n,o=e.children;p.useEffect((function(){return t.mount(),function(){t.unmount()}}),[t]);var a=Ie(r);return p.createElement($e.Provider,{value:r},p.createElement(a.Provider,{value:t},o))};var je,ze=p.createContext((je=!1,{clearReset:function(){je=!1},reset:function(){je=!0},isReset:function(){return je}})),_e=function(){return p.useContext(ze)};function Le(e,t,n){return"function"==typeof t?t.apply(void 0,n):"boolean"==typeof t?t:!!e}function Fe(e,t,n){var r=p.useRef(!1),o=p.useState(0)[1],a=function(e,t,n){return re(e)?"function"==typeof t?D({},n,{mutationKey:e,mutationFn:t}):D({},t,{mutationKey:e}):"function"==typeof e?D({},t,{mutationFn:e}):D({},e)}(e,t,n),i=Ne(),l=p.useRef();l.current?l.current.setOptions(a):l.current=new Te(i,a);var s=l.current.getCurrentResult();p.useEffect((function(){r.current=!0;var e=l.current.subscribe(he.batchCalls((function(){r.current&&o((function(e){return e+1}))})));return function(){r.current=!1,e()}}),[]);var u=p.useCallback((function(e,t){l.current.mutate(e,t).catch(B)}),[]);if(s.error&&Le(void 0,l.current.options.useErrorBoundary,[s.error]))throw s.error;return D({},s,{mutate:u,mutateAsync:s.mutate})}function De(e,t,n){return function(e,t){var n=p.useRef(!1),r=p.useState(0)[1],o=Ne(),a=_e(),i=o.defaultQueryObserverOptions(e);i.optimisticResults=!0,i.onError&&(i.onError=he.batchCalls(i.onError)),i.onSuccess&&(i.onSuccess=he.batchCalls(i.onSuccess)),i.onSettled&&(i.onSettled=he.batchCalls(i.onSettled)),i.suspense&&("number"!=typeof i.staleTime&&(i.staleTime=1e3),0===i.cacheTime&&(i.cacheTime=1)),(i.suspense||i.useErrorBoundary)&&(a.isReset()||(i.retryOnMount=!1));var l=p.useState((function(){return new t(o,i)}))[0],s=l.getOptimisticResult(i);if(p.useEffect((function(){n.current=!0,a.clearReset();var e=l.subscribe(he.batchCalls((function(){n.current&&r((function(e){return e+1}))})));return l.updateResult(),function(){n.current=!1,e()}}),[a,l]),p.useEffect((function(){l.setOptions(i,{listeners:!1})}),[i,l]),i.suspense&&s.isLoading)throw l.fetchOptimistic(i).then((function(e){var t=e.data;null==i.onSuccess||i.onSuccess(t),null==i.onSettled||i.onSettled(t,null)})).catch((function(e){a.clearReset(),null==i.onError||i.onError(e),null==i.onSettled||i.onSettled(void 0,e)}));if(s.isError&&!a.isReset()&&!s.isFetching&&Le(i.suspense,i.useErrorBoundary,[s.error,l.getCurrentQuery()]))throw s.error;return"tracked"===i.notifyOnChangeProps&&(s=l.trackResult(s,i)),s}(q(e,t,n),Ee)}function We(e){return"string"==typeof e?[e]:Array.isArray(e)?e:void 0}const Be=(e,t)=>fetch(e,t),Ue="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567";function Ve(e){const t=Ue.indexOf(e);if(-1===t)throw new Error("Invalid character found: "+e);return t}function He(e){const t=(e=e.toUpperCase()).length;let n=0,r=0,o=0;const a=new Uint8Array(5*t/8|0);for(let i=0;i<t;i++)r=r<<5|Ve(e[i]),n+=5,n>=8&&(a[o++]=r>>>n-8&255,n-=8);return function(e){const t=new Uint8Array(e),n=t.length;let r="",o=Math.pow(2,16)-1;for(let e=0;e<n;e+=o)e+o>n&&(o=n-e),r+=String.fromCharCode.apply(null,t.subarray(e,e+o));return r}(a.buffer)}function qe(e){if(e)try{const[t,n]=e.split("_");if("tgpak"===t){const[e]=He(n).split("_");return Number(e)}}catch(e){console.warn("Tolgee: Api key can't be parsed")}}function Ke(e){if(!e)return;const[t]=e.split("_");return"tgpak"===t?"tgpak":"tgpat"===t?"tgpat":"legacy"}const Qe=((e=Be)=>(t,n)=>e(t,Object.assign(Object.assign({},n),{headers:Object.assign({"X-Tolgee-SDK-Type":"JS","X-Tolgee-SDK-Version":"5.16.1"},null==n?void 0:n.headers)})))();async function Ge(e){const t=await e.text();try{return JSON.parse(t)}catch(e){return t}}const Xe=e=>e?Object.entries(e).reduce(((e,[t,n])=>Array.isArray(n)||"object"!=typeof n?Object.assign(Object.assign({},e),{[t]:n}):Object.assign(Object.assign({},e),Xe(n))),{}):{};const Ye=e=>e.replace("/projects/","/projects/{projectId}/");async function Je(e,t,n,r){var o,a;const i=(null==n?void 0:n.path)||{};let l=e;const s=qe(r.apiKey)||r.projectId;void 0!==s&&(i.projectId=s,l=Ye(l)),i&&Object.entries(i).forEach((([e,t])=>{l=l.replace(`{${e}}`,t)}));const u=null===(o=null==n?void 0:n.content)||void 0===o?void 0:o["multipart/form-data"];let c;u&&(c=new FormData,Object.entries(u).forEach((([e,t])=>{if(Array.isArray(t)){let n;return"[object File]"===Object.prototype.toString.call(t)&&(n=t.name),void t.forEach((t=>null==c?void 0:c.append(e,t,n)))}null==c||c.append(e,t)})));const d=JSON.stringify(null===(a=null==n?void 0:n.content)||void 0===a?void 0:a["application/json"]),p=null==n?void 0:n.query;let f="";const h=Xe(p),m=(v=h,Object.keys(v).filter((e=>!!v[e])).map((e=>Array.isArray(v[e])?v[e].map((t=>encodeURIComponent(e)+"="+encodeURIComponent(t))).join("&"):encodeURIComponent(e)+"="+encodeURIComponent(v[e]))).join("&"));var v;return m&&(f="?"+m),async function(e,t,n){if(void 0===t.apiUrl)throw"Api url not specified";if(void 0===t.apiKey)throw"Api key not specified";return(n=n||{}).headers=n.headers||{},n.headers=Object.assign(Object.assign({},n.headers),{"X-API-Key":t.apiKey}),Qe(t.apiUrl+e,n).then((async e=>{if(!e.ok){const t=await Ge(e),n=`${e.status}: ${(null==t?void 0:t.message)||"Error status code from server"}`;throw new Error(n)}const t=await Ge(e);return"object"==typeof t&&null!==t&&(t._internal={version:e.headers.get("X-Tolgee-Version")}),t})).catch((e=>{throw e.message||"Failed to fetch"}))}(l+f,r,{method:t,body:c||d,headers:d?{"Content-Type":"application/json"}:void 0})}const Ze=new Se({defaultOptions:{queries:{refetchOnWindowFocus:!1,refetchOnReconnect:!1,retry:!1}}}),et=p.createContext({}),tt=({children:e,apiUrl:t,apiKey:n,projectId:r})=>p.createElement(et.Provider,{value:{apiUrl:t,apiKey:n,projectId:r}},p.createElement(Ae,{client:Ze},e)),nt=e=>{const{url:t,method:n,options:r}=e,o=M(e,["url","method","options"]),a=l.exports.useContext(et);return De([t,null==o?void 0:o.path,null==o?void 0:o.query],(()=>Je(t,n,o,a)),r)},rt=e=>{const t=Ne(),{url:n,method:r,options:o,invalidatePrefix:a}=e,i=l.exports.useContext(et),s=Fe((e=>Je(n,r,e,i)),o),u=e=>Object.assign(Object.assign({},e),{onSuccess:(...n)=>{var r;void 0!==a&&ot(t,a),null===(r=null==e?void 0:e.onSuccess)||void 0===r||r.call(e,...n)}}),c=l.exports.useCallback(((e,t)=>s.mutate(e,u(t))),[s.mutate]),d=l.exports.useCallback(((e,t)=>s.mutateAsync(e,u(t))),[s.mutateAsync]);return Object.assign(Object.assign({},s),{mutate:c,mutateAsync:d})},ot=(e,t)=>e.invalidateQueries((e=>({predicate:t=>{var n;return null===(n=t.queryKey[0])||void 0===n?void 0:n.startsWith(e)}}))(t));function at(){try{return JSON.parse(localStorage.getItem(k)||"")}catch(e){return[]}}function it(e){localStorage.setItem(k,JSON.stringify(e))}const lt=(e,t,n,r)=>{const o=n.map((([n,o])=>r({language:n,namespace:t},e,o)));return{revert:()=>o.forEach((e=>e.revert()))}};function st({position:e}){return{x:e.x,y:e.y,width:e.width,height:e.height}}function ut(e){return new Promise((t=>{const n=document.createElement("img");n.src=e,n.onload=function(){const e=n.width,r=n.height;t({width:e,height:r})}}))}function ct(e,t,n){return Boolean(null==t?void 0:t.includes(e))||n}function dt({message:e,recievingMessage:t,data:n,attempts:r=1}){let o=!1;const a=()=>new Promise(((r,o)=>{const a=function(e,t){const n=n=>{var r,o;e.includes(null===(r=n.data)||void 0===r?void 0:r.type)&&t(null===(o=n.data)||void 0===o?void 0:o.data)};return window.addEventListener("message",n,!1),{unsubscribe(){window.removeEventListener("message",n)}}}(t,(function(e){clearTimeout(i),l(),r(e)}));window.postMessage({type:e,data:n},window.origin);const i=setTimeout((function(){l(),o()}),300);function l(){a.unsubscribe()}}));return{cancel(){o=!0},promise:(async()=>{for(let e=0;e<r;e++){if(o)return new Promise((()=>{}));try{return await a()}catch(e){continue}}if(!o)throw`Didn't recieve ${t.join(" or ")} in time.`;return new Promise((()=>{}))})()}}const pt=e=>{const[t,n]=l.exports.useState(void 0),[r,o]=l.exports.useState(!1),[a,i]=l.exports.useState([]),[s,u]=l.exports.useState(null);l.exports.useEffect((()=>{(async function(){try{return await dt({message:"TOLGEE_PING",recievingMessage:["TOLGEE_PONG"],attempts:2}).promise,!0}catch(e){return!1}})().then((e=>n(e)))}),[]);const c=rt({url:"/v2/image-upload/{ids}",method:"delete"}),d=rt({url:"/v2/image-upload",method:"post"}),p=(e,t,n)=>d.mutateAsync({content:{"multipart/form-data":{image:e}}},{onSuccess(e){i((r=>[...r,Object.assign(Object.assign(Object.assign({},e),t),{keyReferences:n.map((e=>Object.assign(Object.assign({},e),{keyId:-1}))),justUploaded:!0})]))}});return{error:c.error||d.error,screenshotsUploading:d.isLoading,takingScreenshot:r,screenshots:a,setScreenshots:i,screenshotDetail:s,setScreenshotDetail:u,handleUploadImages:async function(e){await Promise.all(e.map((async e=>{const t=URL.createObjectURL(e),n=await ut(t);await p(e,n,[])})))},handleTakeScreenshot:async function(t,n,r){o(!0);const{revert:a}=lt(t,n,Object.entries(r),e.changeTranslation);let i;await $(400);try{i=await dt({message:"TOLGEE_TAKE_SCREENSHOT",recievingMessage:["TOLGEE_SCREENSHOT_TAKEN"]}).promise}catch(e){return void console.error(e)}finally{a(),o(!1)}const l=e.findPositions(t,n),s={width:window.innerWidth,height:window.innerHeight},u=await ut(i),c=await fetch(i).then((e=>e.blob())),d=function(e,t,n){const r=t.width/e.width,o=t.height/e.height;return n.map((e=>{var{position:t}=e,n=M(e,["position"]);return Object.assign(Object.assign({},n),{position:{x:t.x*r,y:t.y*o,width:t.width*r,height:t.height*o}})}))}(s,u,l);p(c,u,d)},handleRemoveScreenshot:function(e){const t=a.find((t=>t.id===e));(null==t?void 0:t.justUploaded)&&c.mutate({path:{ids:[t.id]}}),i(a.filter((t=>t.id!==e)))},deleteImages:function(e){c.mutate({path:{ids:e}})},canTakeScreenshots:t}},ft=(e,t)=>e.localeCompare(t,"en",{numeric:!0,sensitivity:"base"})<=0,ht=(e,t)=>{const n=e.findIndex((e=>e.keyName===t.keyName&&(e.keyNamespace||void 0)===(t.keyNamespace||void 0)))||0;let r=n-50,o=n+50;return r<0&&(o+=0-r,r=0),o>e.length&&(r-=o-e.length,o=e.length),r<0&&(r=0),e.slice(r,o)},mt="v3.20.0",[vt,gt,yt]=(e=>{const t=function(e){const t=l.exports.createContext({[I]:{v:{current:e},n:{current:-1},l:new Set,u:e=>e()}});var n;return t[N]=t.Provider,t.Provider=(n=t.Provider,({value:e,children:t})=>{const r=l.exports.useRef(e),o=l.exports.useRef(0),[a,i]=l.exports.useState(null);a&&(a(e),i(null));const s=l.exports.useRef();if(!s.current){const e=new Set,t=(t,n)=>{h.exports.unstable_batchedUpdates((()=>{o.current+=1;const r={n:o.current};null!=n&&n.suspense&&(r.n*=-1,r.p=new Promise((e=>{i((()=>t=>{r.v=t,delete r.p,e(t)}))}))),e.forEach((e=>e(r))),t()}))};s.current={[I]:{v:r,n:o,l:e,u:t}}}return A((()=>{r.current=e,o.current+=1,j((()=>{s.current[I].l.forEach((t=>{t({n:o.current,v:e})}))}))}),[e]),l.exports.createElement(n,{value:s.current},t)}),delete t.Consumer,t}(null),n=p.createContext(null);return[r=>{var{children:o}=r,a=M(r,["children"]);const[i,s]=e(a),u=l.exports.useRef(s);u.current=s;const c=l.exports.useMemo((()=>{const e={};return Object.keys(u.current).map((t=>{e[t]=(...e)=>{var n,r;return null===(r=(n=u.current)[t])||void 0===r?void 0:r.call(n,...e)}})),e}),[u]);return p.createElement(t.Provider,{value:i},p.createElement(n.Provider,{value:c},o))},()=>p.useContext(n),function(e){return function(e,t){const n=l.exports.useContext(e)[I],{v:{current:r},n:{current:o},l:a}=n,i=t(r),[s,u]=l.exports.useReducer(((e,n)=>{if(!n)return[r,i];if("p"in n)throw n.p;if(n.n===o)return Object.is(e[1],i)?e:[r,i];try{if("v"in n){if(Object.is(e[0],n.v))return e;const r=t(n.v);return Object.is(e[1],r)?e:[n.v,r]}}catch(e){}return[...e]}),[r,i]);return Object.is(s[1],i)||u(),A((()=>(a.add(u),()=>{a.delete(u)})),[a]),s[1]}(t,e)}]})((e=>{var t,n,r,o,a,i,s,u,c,d,p,f,h;const[m,v]=l.exports.useState(!1),[g,y]=l.exports.useState({}),[b,x]=l.exports.useState(!1),[w,k]=l.exports.useState(!1),[E,C]=l.exports.useState(e.namespace),[O,P]=l.exports.useState([]),R="tgpat"===Ke(e.uiProps.apiKey),T=pt(e.uiProps),{screenshots:I,setScreenshots:N,screenshotDetail:A,setScreenshotDetail:j,screenshotsUploading:_,takingScreenshot:L,handleRemoveScreenshot:F,handleUploadImages:D,deleteImages:W,canTakeScreenshots:B,error:U}=T,V=M(T,["screenshots","setScreenshots","screenshotDetail","setScreenshotDetail","screenshotsUploading","takingScreenshot","handleRemoveScreenshot","handleUploadImages","deleteImages","canTakeScreenshots","error"]),H=nt({url:"/v2/api-keys/current",method:"get",options:{enabled:!R}}),q=nt({url:"/v2/projects/languages",method:"get",options:{onSuccess(e){var t,n;const r=function(e){let t=at().filter((t=>e.includes(t)));return 0===t.length&&(t=e),t.slice(0,S)}((null===(n=null===(t=e._embedded)||void 0===t?void 0:t.languages)||void 0===n?void 0:n.map((e=>e.tag)))||[]);X(r),it(r)}}}),K=rt({url:"/v2/projects/keys/create",method:"post"}),Q=l.exports.useMemo((()=>{var e,t;return(e=>{const t=null==e?void 0:e.find((e=>e.base));return t?[t,...(e||[]).filter((e=>e!==t))]:e})(null===(t=null===(e=q.data)||void 0===e?void 0:e._embedded)||void 0===t?void 0:t.languages)}),[q.data]),[G,X]=l.exports.useState(at()),Y=nt({url:"/v2/projects/translations",method:"get",query:{filterKeyName:[e.keyName],filterNamespace:[E],languages:G},options:{keepPreviousData:!0,onSuccess(e){var t,n,r,o;const a={},i=null===(n=null===(t=e._embedded)||void 0===t?void 0:t.keys)||void 0===n?void 0:n[0];Object.entries((null==i?void 0:i.translations)||{}).forEach((([e,t])=>{a[e]=t.text||""})),y(a),P((null===(r=null==i?void 0:i.keyTags)||void 0===r?void 0:r.map((e=>e.name)))||[]),N((null===(o=null==i?void 0:i.screenshots)||void 0===o?void 0:o.map((e=>Object.assign(Object.assign({},e),{filename:e.filename,justUploaded:!1}))))||[])}}}),J=rt({url:"/v2/projects/keys/{id}/complex-update",method:"put"}),Z=rt({url:"/v2/projects/big-meta",method:"post"}),ee=null===(r=null===(n=null===(t=Y.data)||void 0===t?void 0:t._embedded)||void 0===n?void 0:n.keys)||void 0===r?void 0:r[0],te=void 0!==(null===(o=H.data)||void 0===o?void 0:o.projectId)?`${e.uiProps.apiUrl}/projects/${null===(a=H.data)||void 0===a?void 0:a.projectId}/translations/single?key=${e.keyName}${void 0!==E?`&ns=${E}`:""}`:void 0,[ne,re]=l.exports.useState(void 0),[oe,ae]=l.exports.useState(!1),ie=null===(i=H.data)||void 0===i?void 0:i.permittedLanguageIds;function le(){if(A)j(null);else{e.onClose(),ae(!1);const t=se();t.length&&W(t.map((e=>e.id))),N([])}}l.exports.useEffect((()=>{const e=e=>{"Escape"===e.key&&le()};if(!oe)return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}}),[oe]);const se=()=>I.filter((e=>e.justUploaded)),ue=()=>{var e;return(null===(e=null==ee?void 0:ee.screenshots)||void 0===e?void 0:e.map((e=>e.id)).filter((e=>!I.find((t=>t.id===e)))))||[]};l.exports.useEffect((()=>{var t;if(e.defaultValue&&Q&&G&&g){const n=Q.find((e=>e.base));if(n&&G.includes(n.tag)&&!w){const r=void 0!==(null===(t=null==ee?void 0:ee.translations)||void 0===t?void 0:t[n.tag]);g[n.tag]||r||y(Object.assign(Object.assign({},g),{[n.tag]:e.defaultValue}))}}}),[Q,g,G,e.defaultValue]);const ce=null==Q?void 0:Q.find((({base:e})=>e)),de=q.isFetching||Y.isLoading&&!Y.data||H.isFetching,pe=q.error||Y.error||H.error||K.error||J.error||Z.error||U,fe=null===(s=H.data)||void 0===s?void 0:s.scopes,he=ct("screenshots.upload",fe,R)||ct("screenshots.delete",fe,R)||((null===(d=null===(c=null===(u=Y.data)||void 0===u?void 0:u._embedded)||void 0===c?void 0:c.keys)||void 0===d?void 0:d.length)?ct("translations.edit",fe,R):ct("keys.edit",fe,R)),me=!R&&(de||!he),ve=!me&&ct("keys.edit",fe,R),ge=Boolean(null===(h=null===(f=null===(p=Y.data)||void 0===p?void 0:p._embedded)||void 0===f?void 0:f.keys)||void 0===h?void 0:h.length),ye={input:e.keyName,open:e.open,fallbackNamespaces:e.fallbackNamespaces,selectedNs:E,loading:de,saving:b,success:m,error:pe,availableLanguages:Q,selectedLanguages:(be=G,xe=null==ce?void 0:ce.tag,xe&&be.includes(xe)?[xe,...be.filter((e=>e!==xe))]:be),formDisabled:me,keyData:ee,translationsForm:g,container:ne,useBrowserWindow:oe,canTakeScreenshots:B,takingScreenshot:L,screenshotsUploading:_,screenshots:I,screenshotDetail:A,linkToPlatform:te,keyExists:ge,scopes:fe,permittedLanguageIds:ie,tags:O,canEditTags:ve,isPat:R};var be,xe;const we={onInputChange:function(e,t){v(!1),k(!0),y(Object.assign(Object.assign({},g),{[e]:t}))},handleUploadImages:D,handleTakeScreenshot:function(){V.handleTakeScreenshot(e.keyName,E,g)},handleRemoveScreenshot:F,onSave:async function(){var t;x(!0);try{const n={};Object.entries(g).forEach((([e,t])=>{z(e,ie,Q)&&(n[e]=t)}));const r=await(void 0===ee?K.mutateAsync({content:{"application/json":{name:e.keyName,namespace:E||void 0,translations:n,screenshots:I.map((e=>{var t;return{uploadedImageId:e.id,positions:null===(t=e.keyReferences)||void 0===t?void 0:t.map(st)}})),tags:O}}}):J.mutateAsync({content:{"application/json":{name:e.keyName,namespace:E||void 0,translations:n,screenshotIdsToDelete:ue(),screenshotsToAdd:se().map((e=>{var t;return{uploadedImageId:e.id,positions:null===(t=e.keyReferences)||void 0===t?void 0:t.map(st)}})),tags:O}},path:{id:ee.keyId}})),o=null===(t=r._internal)||void 0===t?void 0:t.version;if(o&&("??"===o||ft(mt,o))){const t=ht(e.uiProps.findPositions(),{keyName:e.keyName,keyNamespace:E});await Z.mutateAsync({content:{"application/json":{relatedKeysInOrder:t.map((e=>({keyName:e.keyName,namespace:e.keyNamespace||void 0})))}}})}lt(e.keyName,E,Object.entries(n),e.uiProps.changeTranslation),e.uiProps.onPermanentChange({key:e.keyName,namespace:E}),Y.refetch(),x(!1),v(!0),oe?(await $(2e3),v(!1)):(await $(400),e.onClose())}catch(e){console.error(e)}finally{x(!1),v(!1)}},onClose:le,onSelectedLanguagesChange:function(e){e.length&&(X(e),it(e))},setContainer:re,setUseBrowserWindow:ae,setScreenshotDetail:j,setSelectedNs:C,setTags:P};return[ye,we]}));function bt(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function xt(){return xt=Object.assign?Object.assign.bind():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},xt.apply(this,arguments)}var wt,kt,St,Et,Ct={exports:{}};function Ot(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=Ot(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function Pt(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=Ot(e))&&(r&&(r+=" "),r+=t);return r}function Rt(){return Rt=Object.assign?Object.assign.bind():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},Rt.apply(this,arguments)}function Tt(e){return"string"==typeof e}function Mt(e,t={},n){return Tt(e)?t:Rt({},t,{ownerState:Rt({},t.ownerState,n)})}function $t(e,t){return"function"==typeof e?e(t):e}function It(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function Nt(e,t){return()=>null}function At(){return At=Object.assign?Object.assign.bind():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},At.apply(this,arguments)}function jt(e){return null!==e&&"object"==typeof e&&e.constructor===Object}function zt(e,t,n={clone:!0}){const r=n.clone?At({},e):e;return jt(e)&&jt(t)&&Object.keys(t).forEach((o=>{"__proto__"!==o&&(jt(t[o])&&o in e&&jt(e[o])?r[o]=zt(e[o],t[o],n):r[o]=t[o])})),r}Ct.exports=function(){if(Et)return St;Et=1;var e=kt?wt:(kt=1,wt="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");function t(){}function n(){}return n.resetWarningCache=t,St=function(){function r(t,n,r,o,a,i){if(i!==e){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function o(){return r}r.isRequired=r;var a={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return a.PropTypes=a,a}}()();const _t=(Ct.exports.element,()=>null);_t.isRequired=(Ct.exports.element.isRequired,()=>null);var Lt=_t,Ft=(Ct.exports.elementType,()=>null);function Dt(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}var Wt,Bt={exports:{}},Ut={};!function(e){e.exports=function(){if(Wt)return Ut;Wt=1;var e,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),l=Symbol.for("react.context"),s=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen");function m(e){if("object"==typeof e&&null!==e){var h=e.$$typeof;switch(h){case t:switch(e=e.type){case r:case a:case o:case c:case d:return e;default:switch(e=e&&e.$$typeof){case s:case l:case u:case f:case p:case i:return e;default:return h}}case n:return h}}}return e=Symbol.for("react.module.reference"),Ut.ContextConsumer=l,Ut.ContextProvider=i,Ut.Element=t,Ut.ForwardRef=u,Ut.Fragment=r,Ut.Lazy=f,Ut.Memo=p,Ut.Portal=n,Ut.Profiler=a,Ut.StrictMode=o,Ut.Suspense=c,Ut.SuspenseList=d,Ut.isAsyncMode=function(){return!1},Ut.isConcurrentMode=function(){return!1},Ut.isContextConsumer=function(e){return m(e)===l},Ut.isContextProvider=function(e){return m(e)===i},Ut.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Ut.isForwardRef=function(e){return m(e)===u},Ut.isFragment=function(e){return m(e)===r},Ut.isLazy=function(e){return m(e)===f},Ut.isMemo=function(e){return m(e)===p},Ut.isPortal=function(e){return m(e)===n},Ut.isProfiler=function(e){return m(e)===a},Ut.isStrictMode=function(e){return m(e)===o},Ut.isSuspense=function(e){return m(e)===c},Ut.isSuspenseList=function(e){return m(e)===d},Ut.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===r||t===a||t===o||t===c||t===d||t===h||"object"==typeof t&&null!==t&&(t.$$typeof===f||t.$$typeof===p||t.$$typeof===i||t.$$typeof===l||t.$$typeof===u||t.$$typeof===e||void 0!==t.getModuleId)},Ut.typeOf=m,Ut}()}(Bt);const Vt=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function Ht(e,t=""){return e.displayName||e.name||function(e){const t=`${e}`.match(Vt);return t&&t[1]||""}(e)||t}function qt(e,t,n){const r=Ht(t);return e.displayName||(""!==r?`${n}(${r})`:n)}var Kt="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();var Qt=Ct.exports.oneOfType([Ct.exports.func,Ct.exports.object]);function Gt(e){if("string"!=typeof e)throw new Error(Dt(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Xt(...e){return e.reduce(((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)}),(()=>{}))}function Yt(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout((()=>{e.apply(this,r)}),t)}return r.clear=()=>{clearTimeout(n)},r}function Jt(e,t){return()=>null}function Zt(e,t){return l.exports.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}function en(e){return e&&e.ownerDocument||document}function tn(e){return en(e).defaultView||window}function nn(e,t){return()=>null}function rn(e,t){"function"==typeof e?e(t):e&&(e.current=t)}var on="undefined"!=typeof window?l.exports.useLayoutEffect:l.exports.useEffect;let an=0;const ln=f.useId;function sn(e){if(void 0!==ln){const t=ln();return null!=e?e:t}return function(e){const[t,n]=l.exports.useState(e),r=e||t;return l.exports.useEffect((()=>{null==t&&(an+=1,n(`mui-${an}`))}),[t]),r}(e)}function un(e,t,n,r,o){return null}function cn({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=l.exports.useRef(void 0!==e),[a,i]=l.exports.useState(t);return[o?e:a,l.exports.useCallback((e=>{o||i(e)}),[])]}function dn(e){const t=l.exports.useRef(e);return on((()=>{t.current=e})),l.exports.useCallback(((...e)=>(0,t.current)(...e)),[])}function pn(e,t){return l.exports.useMemo((()=>null==e&&null==t?null:n=>{rn(e,n),rn(t,n)}),[e,t])}let fn,hn=!0,mn=!1;const vn={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function gn(e){e.metaKey||e.altKey||e.ctrlKey||(hn=!0)}function yn(){hn=!1}function bn(){"hidden"===this.visibilityState&&mn&&(hn=!0)}function xn(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return hn||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!vn[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function wn(){const e=l.exports.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",gn,!0),t.addEventListener("mousedown",yn,!0),t.addEventListener("pointerdown",yn,!0),t.addEventListener("touchstart",yn,!0),t.addEventListener("visibilitychange",bn,!0))}),[]),t=l.exports.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!xn(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(mn=!0,window.clearTimeout(fn),fn=window.setTimeout((()=>{mn=!1}),100),t.current=!1,!0)},ref:e}}function kn(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}let Sn;function En(){if(Sn)return Sn;const e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),Sn="reverse",e.scrollLeft>0?Sn="default":(e.scrollLeft=1,0===e.scrollLeft&&(Sn="negative")),document.body.removeChild(e),Sn}var Cn=e=>{const t=l.exports.useRef({});return l.exports.useEffect((()=>{t.current=e})),t.current};var On={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:-1,overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};function Pn(){return null}Pn.isRequired=Pn;var Rn=Pn;function Tn(e,t){const n=At({},t);return Object.keys(e).forEach((t=>{void 0===n[t]&&(n[t]=e[t])})),n}function Mn(e,t,n){const r={};return Object.keys(e).forEach((o=>{r[o]=e[o].reduce(((e,r)=>(r&&(e.push(t(r)),n&&n[r]&&e.push(n[r])),e)),[]).join(" ")})),r}const $n=e=>e;var In=(()=>{let e=$n;return{configure(t){e=t},generate:t=>e(t),reset(){e=$n}}})();const Nn={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function An(e,t,n="Mui"){const r=Nn[t];return r?`${n}-${r}`:`${In.generate(e)}-${t}`}function jn(e,t,n="Mui"){const r={};return t.forEach((t=>{r[t]=An(e,t,n)})),r}var zn=Object.freeze({__proto__:null,chainPropTypes:Nt,deepmerge:zt,isPlainObject:jt,elementAcceptingRef:Lt,elementTypeAcceptingRef:Ft,exactProp:function(e){return e},formatMuiErrorMessage:Dt,getDisplayName:function(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return Ht(e,"Component");if("object"==typeof e)switch(e.$$typeof){case Bt.exports.ForwardRef:return qt(e,e.render,"ForwardRef");case Bt.exports.Memo:return qt(e,e.type,"memo");default:return}}},HTMLElementType:function(e,t,n,r,o){return null},ponyfillGlobal:Kt,refType:Qt,unstable_capitalize:Gt,unstable_createChainedFunction:Xt,unstable_debounce:Yt,unstable_deprecatedPropType:Jt,unstable_isMuiElement:Zt,unstable_ownerDocument:en,unstable_ownerWindow:tn,unstable_requirePropFactory:nn,unstable_setRef:rn,unstable_useEnhancedEffect:on,unstable_useId:sn,unstable_unsupportedProp:un,unstable_useControlled:cn,unstable_useEventCallback:dn,unstable_useForkRef:pn,unstable_useIsFocusVisible:wn,unstable_getScrollbarSize:kn,unstable_detectScrollType:En,unstable_getNormalizedScrollLeft:function(e,t){const n=e.scrollLeft;if("rtl"!==t)return n;switch(En()){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n;default:return n}},usePreviousProps:Cn,visuallyHidden:On,integerPropType:Rn,internal_resolveProps:Tn,unstable_composeClasses:Mn,unstable_generateUtilityClass:An,unstable_generateUtilityClasses:jn,unstable_ClassNameGenerator:In});function _n(e){if(void 0===e)return{};const t={};return Object.keys(e).filter((t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t]))).forEach((n=>{t[n]=e[n]})),t}function Ln(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:a}=e;if(!t){const e=Pt(null==o?void 0:o.className,null==r?void 0:r.className,a,null==n?void 0:n.className),t=Rt({},null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),i=Rt({},n,o,r);return e.length>0&&(i.className=e),Object.keys(t).length>0&&(i.style=t),{props:i,internalRef:void 0}}const i=function(e,t=[]){if(void 0===e)return{};const n={};return Object.keys(e).filter((n=>n.match(/^on[A-Z]/)&&"function"==typeof e[n]&&!t.includes(n))).forEach((t=>{n[t]=e[t]})),n}(Rt({},o,r)),l=_n(r),s=_n(o),u=t(i),c=Pt(null==u?void 0:u.className,null==n?void 0:n.className,a,null==o?void 0:o.className,null==r?void 0:r.className),d=Rt({},null==u?void 0:u.style,null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),p=Rt({},u,n,s,l);return c.length>0&&(p.className=c),Object.keys(d).length>0&&(p.style=d),{props:p,internalRef:u.ref}}const Fn=["elementType","externalSlotProps","ownerState"];function Dn(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o}=e,a=It(e,Fn),i=$t(r,o),{props:l,internalRef:s}=Ln(Rt({},a,{externalSlotProps:i}));return Mt(n,Rt({},l,{ref:pn(s,pn(null==i?void 0:i.ref,null==(t=e.additionalProps)?void 0:t.ref))}),o)}function Wn(e){return void 0!==e.normalize?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e}function Bn(e,t){for(let n=0;n<e.length;n+=1)if(t(e[n]))return n;return-1}const Un=function(e={}){const{ignoreAccents:t=!0,ignoreCase:n=!0,limit:r,matchFrom:o="any",stringify:a,trim:i=!1}=e;return(e,{inputValue:l,getOptionLabel:s})=>{let u=i?l.trim():l;n&&(u=u.toLowerCase()),t&&(u=Wn(u));const c=u?e.filter((e=>{let r=(a||s)(e);return n&&(r=r.toLowerCase()),t&&(r=Wn(r)),"start"===o?0===r.indexOf(u):r.indexOf(u)>-1})):e;return"number"==typeof r?c.slice(0,r):c}}(),Vn=5;function Hn(e){const{autoComplete:t=!1,autoHighlight:n=!1,autoSelect:r=!1,blurOnSelect:o=!1,clearOnBlur:a=!e.freeSolo,clearOnEscape:i=!1,componentName:s="useAutocomplete",defaultValue:u=(e.multiple?[]:null),disableClearable:c=!1,disableCloseOnSelect:d=!1,disabled:p,disabledItemsFocusable:f=!1,disableListWrap:h=!1,filterOptions:m=Un,filterSelectedOptions:v=!1,freeSolo:g=!1,getOptionDisabled:y,getOptionLabel:b=(e=>{var t;return null!=(t=e.label)?t:e}),groupBy:x,handleHomeEndKeys:w=!e.freeSolo,id:k,includeInputInList:S=!1,inputValue:E,isOptionEqualToValue:C=((e,t)=>e===t),multiple:O=!1,onChange:P,onClose:R,onHighlightChange:T,onInputChange:M,onOpen:$,open:I,openOnFocus:N=!1,options:A,readOnly:j=!1,selectOnFocus:z=!e.freeSolo,value:_}=e,L=sn(k);let F=b;F=e=>{const t=b(e);return"string"!=typeof t?String(t):t};const D=l.exports.useRef(!1),W=l.exports.useRef(!0),B=l.exports.useRef(null),U=l.exports.useRef(null),[V,H]=l.exports.useState(null),[q,K]=l.exports.useState(-1),Q=n?0:-1,G=l.exports.useRef(Q),[X,Y]=cn({controlled:_,default:u,name:s}),[J,Z]=cn({controlled:E,default:"",name:s,state:"inputValue"}),[ee,te]=l.exports.useState(!1),ne=l.exports.useCallback(((e,t)=>{if(!(O?X.length<t.length:null!==t)&&!a)return;let n;if(O)n="";else if(null==t)n="";else{const e=F(t);n="string"==typeof e?e:""}J!==n&&(Z(n),M&&M(e,n,"reset"))}),[F,J,O,M,Z,a,X]),re=l.exports.useRef();l.exports.useEffect((()=>{const e=X!==re.current;re.current=X,ee&&!e||g&&!e||ne(null,X)}),[X,ne,ee,re,g]);const[oe,ae]=cn({controlled:I,default:!1,name:s,state:"open"}),[ie,le]=l.exports.useState(!0),se=!O&&null!=X&&J===F(X),ue=oe&&!j,ce=ue?m(A.filter((e=>!v||!(O?X:[X]).some((t=>null!==t&&C(e,t))))),{inputValue:se&&ie?"":J,getOptionLabel:F}):[],de=oe&&ce.length>0&&!j,pe=dn((e=>{-1===e?B.current.focus():V.querySelector(`[data-tag-index="${e}"]`).focus()}));l.exports.useEffect((()=>{O&&q>X.length-1&&(K(-1),pe(-1))}),[X,O,q,pe]);const fe=dn((({event:e,index:t,reason:n="auto"})=>{if(G.current=t,-1===t?B.current.removeAttribute("aria-activedescendant"):B.current.setAttribute("aria-activedescendant",`${L}-option-${t}`),T&&T(e,-1===t?null:ce[t],n),!U.current)return;const r=U.current.querySelector('[role="option"].Mui-focused');r&&(r.classList.remove("Mui-focused"),r.classList.remove("Mui-focusVisible"));const o=U.current.parentElement.querySelector('[role="listbox"]');if(!o)return;if(-1===t)return void(o.scrollTop=0);const a=U.current.querySelector(`[data-option-index="${t}"]`);if(a&&(a.classList.add("Mui-focused"),"keyboard"===n&&a.classList.add("Mui-focusVisible"),o.scrollHeight>o.clientHeight&&"mouse"!==n)){const e=a,t=o.clientHeight+o.scrollTop,n=e.offsetTop+e.offsetHeight;n>t?o.scrollTop=n-o.clientHeight:e.offsetTop-e.offsetHeight*(x?1.3:0)<o.scrollTop&&(o.scrollTop=e.offsetTop-e.offsetHeight*(x?1.3:0))}})),he=dn((({event:e,diff:n,direction:r="next",reason:o="auto"})=>{if(!ue)return;const a=function(e,t){if(!U.current||-1===e)return-1;let n=e;for(;;){if("next"===t&&n===ce.length||"previous"===t&&-1===n)return-1;const e=U.current.querySelector(`[data-option-index="${n}"]`),r=!f&&(!e||e.disabled||"true"===e.getAttribute("aria-disabled"));if(!(e&&!e.hasAttribute("tabindex")||r))return n;n+="next"===t?1:-1}}((()=>{const e=ce.length-1;if("reset"===n)return Q;if("start"===n)return 0;if("end"===n)return e;const t=G.current+n;return t<0?-1===t&&S?-1:h&&-1!==G.current||Math.abs(n)>1?0:e:t>e?t===e+1&&S?-1:h||Math.abs(n)>1?e:0:t})(),r);if(fe({index:a,reason:o,event:e}),t&&"reset"!==n)if(-1===a)B.current.value=J;else{const e=F(ce[a]);B.current.value=e;0===e.toLowerCase().indexOf(J.toLowerCase())&&J.length>0&&B.current.setSelectionRange(J.length,e.length)}})),me=l.exports.useCallback((()=>{if(!ue)return;const e=O?X[0]:X;if(0!==ce.length&&null!=e){if(U.current)if(null==e)G.current>=ce.length-1?fe({index:ce.length-1}):fe({index:G.current});else{const t=ce[G.current];if(O&&t&&-1!==Bn(X,(e=>C(t,e))))return;const n=Bn(ce,(t=>C(t,e)));-1===n?he({diff:"reset"}):fe({index:n})}}else he({diff:"reset"})}),[ce.length,!O&&X,v,he,fe,ue,J,O]),ve=dn((e=>{rn(U,e),e&&me()}));l.exports.useEffect((()=>{me()}),[me]);const ge=e=>{oe||(ae(!0),le(!0),$&&$(e))},ye=(e,t)=>{oe&&(ae(!1),R&&R(e,t))},be=(e,t,n,r)=>{if(O){if(X.length===t.length&&X.every(((e,n)=>e===t[n])))return}else if(X===t)return;P&&P(e,t,n,r),Y(t)},xe=l.exports.useRef(!1),we=(e,t,n="selectOption",r="options")=>{let a=n,i=t;if(O){i=Array.isArray(X)?X.slice():[];const e=Bn(i,(e=>C(t,e)));-1===e?i.push(t):"freeSolo"!==r&&(i.splice(e,1),a="removeOption")}ne(e,i),be(e,i,a,{option:t}),d||e&&(e.ctrlKey||e.metaKey)||ye(e,a),(!0===o||"touch"===o&&xe.current||"mouse"===o&&!xe.current)&&B.current.blur()};const ke=(e,t)=>{if(!O)return;""===J&&ye(e,"toggleInput");let n=q;-1===q?""===J&&"previous"===t&&(n=X.length-1):(n+="next"===t?1:-1,n<0&&(n=0),n===X.length&&(n=-1)),n=function(e,t){if(-1===e)return-1;let n=e;for(;;){if("next"===t&&n===X.length||"previous"===t&&-1===n)return-1;const e=V.querySelector(`[data-tag-index="${n}"]`);if(e&&e.hasAttribute("tabindex")&&!e.disabled&&"true"!==e.getAttribute("aria-disabled"))return n;n+="next"===t?1:-1}}(n,t),K(n),pe(n)},Se=e=>{D.current=!0,Z(""),M&&M(e,"","clear"),be(e,O?[]:null,"clear")},Ee=e=>n=>{if(e.onKeyDown&&e.onKeyDown(n),!n.defaultMuiPrevented&&(-1!==q&&-1===["ArrowLeft","ArrowRight"].indexOf(n.key)&&(K(-1),pe(-1)),229!==n.which))switch(n.key){case"Home":ue&&w&&(n.preventDefault(),he({diff:"start",direction:"next",reason:"keyboard",event:n}));break;case"End":ue&&w&&(n.preventDefault(),he({diff:"end",direction:"previous",reason:"keyboard",event:n}));break;case"PageUp":n.preventDefault(),he({diff:-Vn,direction:"previous",reason:"keyboard",event:n}),ge(n);break;case"PageDown":n.preventDefault(),he({diff:Vn,direction:"next",reason:"keyboard",event:n}),ge(n);break;case"ArrowDown":n.preventDefault(),he({diff:1,direction:"next",reason:"keyboard",event:n}),ge(n);break;case"ArrowUp":n.preventDefault(),he({diff:-1,direction:"previous",reason:"keyboard",event:n}),ge(n);break;case"ArrowLeft":ke(n,"previous");break;case"ArrowRight":ke(n,"next");break;case"Enter":if(-1!==G.current&&ue){const e=ce[G.current],r=!!y&&y(e);if(n.preventDefault(),r)return;we(n,e,"selectOption"),t&&B.current.setSelectionRange(B.current.value.length,B.current.value.length)}else g&&""!==J&&!1===se&&(O&&n.preventDefault(),we(n,J,"createOption","freeSolo"));break;case"Escape":ue?(n.preventDefault(),n.stopPropagation(),ye(n,"escape")):i&&(""!==J||O&&X.length>0)&&(n.preventDefault(),n.stopPropagation(),Se(n));break;case"Backspace":if(O&&!j&&""===J&&X.length>0){const e=-1===q?X.length-1:q,t=X.slice();t.splice(e,1),be(n,t,"removeOption",{option:X[e]})}}},Ce=e=>{te(!0),N&&!D.current&&ge(e)},Oe=e=>{null!==U.current&&U.current.parentElement.contains(document.activeElement)?B.current.focus():(te(!1),W.current=!0,D.current=!1,r&&-1!==G.current&&ue?we(e,ce[G.current],"blur"):r&&g&&""!==J?we(e,J,"blur","freeSolo"):a&&ne(e,X),ye(e,"blur"))},Pe=e=>{const t=e.target.value;J!==t&&(Z(t),le(!1),M&&M(e,t,"input")),""===t?c||O||be(e,null,"clear"):ge(e)},Re=e=>{fe({event:e,index:Number(e.currentTarget.getAttribute("data-option-index")),reason:"mouse"})},Te=()=>{xe.current=!0},Me=e=>{const t=Number(e.currentTarget.getAttribute("data-option-index"));we(e,ce[t],"selectOption"),xe.current=!1},$e=e=>t=>{const n=X.slice();n.splice(e,1),be(t,n,"removeOption",{option:X[e]})},Ie=e=>{oe?ye(e,"toggleInput"):ge(e)},Ne=e=>{e.target.getAttribute("id")!==L&&e.preventDefault()},Ae=()=>{B.current.focus(),z&&W.current&&B.current.selectionEnd-B.current.selectionStart==0&&B.current.select(),W.current=!1},je=e=>{""!==J&&oe||Ie(e)};let ze=g&&J.length>0;ze=ze||(O?X.length>0:null!==X);let _e=ce;return x&&(_e=ce.reduce(((e,t,n)=>{const r=x(t);return e.length>0&&e[e.length-1].group===r?e[e.length-1].options.push(t):e.push({key:n,index:n,group:r,options:[t]}),e}),[])),p&&ee&&Oe(),{getRootProps:(e={})=>Rt({"aria-owns":de?`${L}-listbox`:null},e,{onKeyDown:Ee(e),onMouseDown:Ne,onClick:Ae}),getInputLabelProps:()=>({id:`${L}-label`,htmlFor:L}),getInputProps:()=>({id:L,value:J,onBlur:Oe,onFocus:Ce,onChange:Pe,onMouseDown:je,"aria-activedescendant":ue?"":null,"aria-autocomplete":t?"both":"list","aria-controls":de?`${L}-listbox`:void 0,"aria-expanded":de,autoComplete:"off",ref:B,autoCapitalize:"none",spellCheck:"false",role:"combobox"}),getClearProps:()=>({tabIndex:-1,onClick:Se}),getPopupIndicatorProps:()=>({tabIndex:-1,onClick:Ie}),getTagProps:({index:e})=>Rt({key:e,"data-tag-index":e,tabIndex:-1},!j&&{onDelete:$e(e)}),getListboxProps:()=>({role:"listbox",id:`${L}-listbox`,"aria-labelledby":`${L}-label`,ref:ve,onMouseDown:e=>{e.preventDefault()}}),getOptionProps:({index:e,option:t})=>{const n=(O?X:[X]).some((e=>null!=e&&C(t,e))),r=!!y&&y(t);return{key:F(t),tabIndex:-1,role:"option",id:`${L}-option-${e}`,onMouseOver:Re,onClick:Me,onTouchStart:Te,"data-option-index":e,"aria-disabled":r,"aria-selected":n}},id:L,inputValue:J,value:X,dirty:ze,popupOpen:ue,focused:ee||-1!==q,anchorEl:V,setAnchorEl:H,focusedTag:q,groupedOptions:_e}}var qn,Kn={exports:{}},Qn={};!function(e){e.exports=function(){if(qn)return Qn;qn=1;var e=l.exports,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function i(e,n,i){var l,s={},u=null,c=null;for(l in void 0!==i&&(u=""+i),void 0!==n.key&&(u=""+n.key),void 0!==n.ref&&(c=n.ref),n)r.call(n,l)&&!a.hasOwnProperty(l)&&(s[l]=n[l]);if(e&&e.defaultProps)for(l in n=e.defaultProps)void 0===s[l]&&(s[l]=n[l]);return{$$typeof:t,type:e,key:u,ref:c,props:s,_owner:o.current}}return Qn.Fragment=n,Qn.jsx=i,Qn.jsxs=i,Qn}()}(Kn);const Gn=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Xn(e){const t=[],n=[];return Array.from(e.querySelectorAll(Gn)).forEach(((e,r)=>{const o=function(e){const t=parseInt(e.getAttribute("tabindex"),10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}(e))}(e)&&(0===o?t.push(e):n.push({documentOrder:r,tabIndex:o,node:e}))})),n.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function Yn(){return!0}function Jn(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:a=Xn,isEnabled:i=Yn,open:s}=e,u=l.exports.useRef(),c=l.exports.useRef(null),d=l.exports.useRef(null),p=l.exports.useRef(null),f=l.exports.useRef(null),h=l.exports.useRef(!1),m=l.exports.useRef(null),v=pn(t.ref,m),g=l.exports.useRef(null);l.exports.useEffect((()=>{s&&m.current&&(h.current=!n)}),[n,s]),l.exports.useEffect((()=>{if(!s||!m.current)return;const e=en(m.current);return m.current.contains(e.activeElement)||(m.current.hasAttribute("tabIndex")||m.current.setAttribute("tabIndex",-1),h.current&&m.current.focus()),()=>{o||(p.current&&p.current.focus&&(u.current=!0,p.current.focus()),p.current=null)}}),[s]),l.exports.useEffect((()=>{if(!s||!m.current)return;const e=en(m.current),t=t=>{const{current:n}=m;if(null!==n)if(e.hasFocus()&&!r&&i()&&!u.current){if(!n.contains(e.activeElement)){if(t&&f.current!==t.target||e.activeElement!==f.current)f.current=null;else if(null!==f.current)return;if(!h.current)return;let r=[];if(e.activeElement!==c.current&&e.activeElement!==d.current||(r=a(m.current)),r.length>0){var o,l;const e=Boolean((null==(o=g.current)?void 0:o.shiftKey)&&"Tab"===(null==(l=g.current)?void 0:l.key)),t=r[0],n=r[r.length-1];e?n.focus():t.focus()}else n.focus()}}else u.current=!1},n=t=>{g.current=t,!r&&i()&&"Tab"===t.key&&e.activeElement===m.current&&t.shiftKey&&(u.current=!0,d.current.focus())};e.addEventListener("focusin",t),e.addEventListener("keydown",n,!0);const o=setInterval((()=>{"BODY"===e.activeElement.tagName&&t()}),50);return()=>{clearInterval(o),e.removeEventListener("focusin",t),e.removeEventListener("keydown",n,!0)}}),[n,r,o,i,s,a]);const y=e=>{null===p.current&&(p.current=e.relatedTarget),h.current=!0};return Kn.exports.jsxs(l.exports.Fragment,{children:[Kn.exports.jsx("div",{tabIndex:s?0:-1,onFocus:y,ref:c,"data-testid":"sentinelStart"}),l.exports.cloneElement(t,{ref:v,onFocus:e=>{null===p.current&&(p.current=e.relatedTarget),h.current=!0,f.current=e.target;const n=t.props.onFocus;n&&n(e)}}),Kn.exports.jsx("div",{tabIndex:s?0:-1,onFocus:y,ref:d,"data-testid":"sentinelEnd"})]})}var Zn="top",er="bottom",tr="right",nr="left",rr="auto",or=[Zn,er,tr,nr],ar="start",ir="end",lr="clippingParents",sr="viewport",ur="popper",cr="reference",dr=or.reduce((function(e,t){return e.concat([t+"-"+ar,t+"-"+ir])}),[]),pr=[].concat(or,[rr]).reduce((function(e,t){return e.concat([t,t+"-"+ar,t+"-"+ir])}),[]),fr=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function hr(e){return e?(e.nodeName||"").toLowerCase():null}function mr(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function vr(e){return e instanceof mr(e).Element||e instanceof Element}function gr(e){return e instanceof mr(e).HTMLElement||e instanceof HTMLElement}function yr(e){return"undefined"!=typeof ShadowRoot&&(e instanceof mr(e).ShadowRoot||e instanceof ShadowRoot)}var br={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];gr(o)&&hr(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});gr(r)&&hr(r)&&(Object.assign(r.style,a),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};function xr(e){return e.split("-")[0]}var wr=Math.max,kr=Math.min,Sr=Math.round;function Er(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function Cr(){return!/^((?!chrome|android).)*safari/i.test(Er())}function Or(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,a=1;t&&gr(e)&&(o=e.offsetWidth>0&&Sr(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Sr(r.height)/e.offsetHeight||1);var i=(vr(e)?mr(e):window).visualViewport,l=!Cr()&&n,s=(r.left+(l&&i?i.offsetLeft:0))/o,u=(r.top+(l&&i?i.offsetTop:0))/a,c=r.width/o,d=r.height/a;return{width:c,height:d,top:u,right:s+c,bottom:u+d,left:s,x:s,y:u}}function Pr(e){var t=Or(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Rr(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&yr(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Tr(e){return mr(e).getComputedStyle(e)}function Mr(e){return["table","td","th"].indexOf(hr(e))>=0}function $r(e){return((vr(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ir(e){return"html"===hr(e)?e:e.assignedSlot||e.parentNode||(yr(e)?e.host:null)||$r(e)}function Nr(e){return gr(e)&&"fixed"!==Tr(e).position?e.offsetParent:null}function Ar(e){for(var t=mr(e),n=Nr(e);n&&Mr(n)&&"static"===Tr(n).position;)n=Nr(n);return n&&("html"===hr(n)||"body"===hr(n)&&"static"===Tr(n).position)?t:n||function(e){var t=/firefox/i.test(Er());if(/Trident/i.test(Er())&&gr(e)&&"fixed"===Tr(e).position)return null;var n=Ir(e);for(yr(n)&&(n=n.host);gr(n)&&["html","body"].indexOf(hr(n))<0;){var r=Tr(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function jr(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function zr(e,t,n){return wr(e,kr(t,n))}function _r(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Lr(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var Fr=function(e,t){return _r("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Lr(e,or))};var Dr={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,a=n.elements.arrow,i=n.modifiersData.popperOffsets,l=xr(n.placement),s=jr(l),u=[nr,tr].indexOf(l)>=0?"height":"width";if(a&&i){var c=Fr(o.padding,n),d=Pr(a),p="y"===s?Zn:nr,f="y"===s?er:tr,h=n.rects.reference[u]+n.rects.reference[s]-i[s]-n.rects.popper[u],m=i[s]-n.rects.reference[s],v=Ar(a),g=v?"y"===s?v.clientHeight||0:v.clientWidth||0:0,y=h/2-m/2,b=c[p],x=g-d[u]-c[f],w=g/2-d[u]/2+y,k=zr(b,w,x),S=s;n.modifiersData[r]=((t={})[S]=k,t.centerOffset=k-w,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&Rr(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Wr(e){return e.split("-")[1]}var Br={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ur(e){var t,n=e.popper,r=e.popperRect,o=e.placement,a=e.variation,i=e.offsets,l=e.position,s=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,d=e.isFixed,p=i.x,f=void 0===p?0:p,h=i.y,m=void 0===h?0:h,v="function"==typeof c?c({x:f,y:m}):{x:f,y:m};f=v.x,m=v.y;var g=i.hasOwnProperty("x"),y=i.hasOwnProperty("y"),b=nr,x=Zn,w=window;if(u){var k=Ar(n),S="clientHeight",E="clientWidth";if(k===mr(n)&&"static"!==Tr(k=$r(n)).position&&"absolute"===l&&(S="scrollHeight",E="scrollWidth"),o===Zn||(o===nr||o===tr)&&a===ir)x=er,m-=(d&&k===w&&w.visualViewport?w.visualViewport.height:k[S])-r.height,m*=s?1:-1;if(o===nr||(o===Zn||o===er)&&a===ir)b=tr,f-=(d&&k===w&&w.visualViewport?w.visualViewport.width:k[E])-r.width,f*=s?1:-1}var C,O=Object.assign({position:l},u&&Br),P=!0===c?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:Sr(t*r)/r||0,y:Sr(n*r)/r||0}}({x:f,y:m}):{x:f,y:m};return f=P.x,m=P.y,s?Object.assign({},O,((C={})[x]=y?"0":"",C[b]=g?"0":"",C.transform=(w.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",C)):Object.assign({},O,((t={})[x]=y?m+"px":"",t[b]=g?f+"px":"",t.transform="",t))}var Vr={passive:!0};var Hr={left:"right",right:"left",bottom:"top",top:"bottom"};function qr(e){return e.replace(/left|right|bottom|top/g,(function(e){return Hr[e]}))}var Kr={start:"end",end:"start"};function Qr(e){return e.replace(/start|end/g,(function(e){return Kr[e]}))}function Gr(e){var t=mr(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Xr(e){return Or($r(e)).left+Gr(e).scrollLeft}function Yr(e){var t=Tr(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Jr(e){return["html","body","#document"].indexOf(hr(e))>=0?e.ownerDocument.body:gr(e)&&Yr(e)?e:Jr(Ir(e))}function Zr(e,t){var n;void 0===t&&(t=[]);var r=Jr(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=mr(r),i=o?[a].concat(a.visualViewport||[],Yr(r)?r:[]):r,l=t.concat(i);return o?l:l.concat(Zr(Ir(i)))}function eo(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function to(e,t,n){return t===sr?eo(function(e,t){var n=mr(e),r=$r(e),o=n.visualViewport,a=r.clientWidth,i=r.clientHeight,l=0,s=0;if(o){a=o.width,i=o.height;var u=Cr();(u||!u&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:a,height:i,x:l+Xr(e),y:s}}(e,n)):vr(t)?function(e,t){var n=Or(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):eo(function(e){var t,n=$r(e),r=Gr(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=wr(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=wr(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+Xr(e),s=-r.scrollTop;return"rtl"===Tr(o||n).direction&&(l+=wr(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:l,y:s}}($r(e)))}function no(e,t,n,r){var o="clippingParents"===t?function(e){var t=Zr(Ir(e)),n=["absolute","fixed"].indexOf(Tr(e).position)>=0&&gr(e)?Ar(e):e;return vr(n)?t.filter((function(e){return vr(e)&&Rr(e,n)&&"body"!==hr(e)})):[]}(e):[].concat(t),a=[].concat(o,[n]),i=a[0],l=a.reduce((function(t,n){var o=to(e,n,r);return t.top=wr(o.top,t.top),t.right=kr(o.right,t.right),t.bottom=kr(o.bottom,t.bottom),t.left=wr(o.left,t.left),t}),to(e,i,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function ro(e){var t,n=e.reference,r=e.element,o=e.placement,a=o?xr(o):null,i=o?Wr(o):null,l=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(a){case Zn:t={x:l,y:n.y-r.height};break;case er:t={x:l,y:n.y+n.height};break;case tr:t={x:n.x+n.width,y:s};break;case nr:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var u=a?jr(a):null;if(null!=u){var c="y"===u?"height":"width";switch(i){case ar:t[u]=t[u]-(n[c]/2-r[c]/2);break;case ir:t[u]=t[u]+(n[c]/2-r[c]/2)}}return t}function oo(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,a=n.strategy,i=void 0===a?e.strategy:a,l=n.boundary,s=void 0===l?lr:l,u=n.rootBoundary,c=void 0===u?sr:u,d=n.elementContext,p=void 0===d?ur:d,f=n.altBoundary,h=void 0!==f&&f,m=n.padding,v=void 0===m?0:m,g=_r("number"!=typeof v?v:Lr(v,or)),y=p===ur?cr:ur,b=e.rects.popper,x=e.elements[h?y:p],w=no(vr(x)?x:x.contextElement||$r(e.elements.popper),s,c,i),k=Or(e.elements.reference),S=ro({reference:k,element:b,strategy:"absolute",placement:o}),E=eo(Object.assign({},b,S)),C=p===ur?E:k,O={top:w.top-C.top+g.top,bottom:C.bottom-w.bottom+g.bottom,left:w.left-C.left+g.left,right:C.right-w.right+g.right},P=e.modifiersData.offset;if(p===ur&&P){var R=P[o];Object.keys(O).forEach((function(e){var t=[tr,er].indexOf(e)>=0?1:-1,n=[Zn,er].indexOf(e)>=0?"y":"x";O[e]+=R[n]*t}))}return O}function ao(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,a=n.rootBoundary,i=n.padding,l=n.flipVariations,s=n.allowedAutoPlacements,u=void 0===s?pr:s,c=Wr(r),d=c?l?dr:dr.filter((function(e){return Wr(e)===c})):or,p=d.filter((function(e){return u.indexOf(e)>=0}));0===p.length&&(p=d);var f=p.reduce((function(t,n){return t[n]=oo(e,{placement:n,boundary:o,rootBoundary:a,padding:i})[xr(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}var io={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,a=void 0===o||o,i=n.altAxis,l=void 0===i||i,s=n.fallbackPlacements,u=n.padding,c=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.flipVariations,h=void 0===f||f,m=n.allowedAutoPlacements,v=t.options.placement,g=xr(v),y=s||(g===v||!h?[qr(v)]:function(e){if(xr(e)===rr)return[];var t=qr(e);return[Qr(e),t,Qr(t)]}(v)),b=[v].concat(y).reduce((function(e,n){return e.concat(xr(n)===rr?ao(t,{placement:n,boundary:c,rootBoundary:d,padding:u,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),x=t.rects.reference,w=t.rects.popper,k=new Map,S=!0,E=b[0],C=0;C<b.length;C++){var O=b[C],P=xr(O),R=Wr(O)===ar,T=[Zn,er].indexOf(P)>=0,M=T?"width":"height",$=oo(t,{placement:O,boundary:c,rootBoundary:d,altBoundary:p,padding:u}),I=T?R?tr:nr:R?er:Zn;x[M]>w[M]&&(I=qr(I));var N=qr(I),A=[];if(a&&A.push($[P]<=0),l&&A.push($[I]<=0,$[N]<=0),A.every((function(e){return e}))){E=O,S=!1;break}k.set(O,A)}if(S)for(var j=function(e){var t=b.find((function(t){var n=k.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return E=t,"break"},z=h?3:1;z>0;z--){if("break"===j(z))break}t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function lo(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function so(e){return[Zn,tr,er,nr].some((function(t){return e[t]>=0}))}var uo={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,a=void 0===o?[0,0]:o,i=pr.reduce((function(e,n){return e[n]=function(e,t,n){var r=xr(e),o=[nr,Zn].indexOf(r)>=0?-1:1,a="function"==typeof n?n(Object.assign({},t,{placement:e})):n,i=a[0],l=a[1];return i=i||0,l=(l||0)*o,[nr,tr].indexOf(r)>=0?{x:l,y:i}:{x:i,y:l}}(n,t.rects,a),e}),{}),l=i[t.placement],s=l.x,u=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=i}};var co={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,a=void 0===o||o,i=n.altAxis,l=void 0!==i&&i,s=n.boundary,u=n.rootBoundary,c=n.altBoundary,d=n.padding,p=n.tether,f=void 0===p||p,h=n.tetherOffset,m=void 0===h?0:h,v=oo(t,{boundary:s,rootBoundary:u,padding:d,altBoundary:c}),g=xr(t.placement),y=Wr(t.placement),b=!y,x=jr(g),w="x"===x?"y":"x",k=t.modifiersData.popperOffsets,S=t.rects.reference,E=t.rects.popper,C="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,O="number"==typeof C?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),P=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,R={x:0,y:0};if(k){if(a){var T,M="y"===x?Zn:nr,$="y"===x?er:tr,I="y"===x?"height":"width",N=k[x],A=N+v[M],j=N-v[$],z=f?-E[I]/2:0,_=y===ar?S[I]:E[I],L=y===ar?-E[I]:-S[I],F=t.elements.arrow,D=f&&F?Pr(F):{width:0,height:0},W=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},B=W[M],U=W[$],V=zr(0,S[I],D[I]),H=b?S[I]/2-z-V-B-O.mainAxis:_-V-B-O.mainAxis,q=b?-S[I]/2+z+V+U+O.mainAxis:L+V+U+O.mainAxis,K=t.elements.arrow&&Ar(t.elements.arrow),Q=K?"y"===x?K.clientTop||0:K.clientLeft||0:0,G=null!=(T=null==P?void 0:P[x])?T:0,X=N+q-G,Y=zr(f?kr(A,N+H-G-Q):A,N,f?wr(j,X):j);k[x]=Y,R[x]=Y-N}if(l){var J,Z="x"===x?Zn:nr,ee="x"===x?er:tr,te=k[w],ne="y"===w?"height":"width",re=te+v[Z],oe=te-v[ee],ae=-1!==[Zn,nr].indexOf(g),ie=null!=(J=null==P?void 0:P[w])?J:0,le=ae?re:te-S[ne]-E[ne]-ie+O.altAxis,se=ae?te+S[ne]+E[ne]-ie-O.altAxis:oe,ue=f&&ae?function(e,t,n){var r=zr(e,t,n);return r>n?n:r}(le,te,se):zr(f?le:re,te,f?se:oe);k[w]=ue,R[w]=ue-te}t.modifiersData[r]=R}},requiresIfExists:["offset"]};function po(e,t,n){void 0===n&&(n=!1);var r,o,a=gr(t),i=gr(t)&&function(e){var t=e.getBoundingClientRect(),n=Sr(t.width)/e.offsetWidth||1,r=Sr(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),l=$r(t),s=Or(e,i,n),u={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(a||!a&&!n)&&(("body"!==hr(t)||Yr(l))&&(u=(r=t)!==mr(r)&&gr(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:Gr(r)),gr(t)?((c=Or(t,!0)).x+=t.clientLeft,c.y+=t.clientTop):l&&(c.x=Xr(l))),{x:s.left+u.scrollLeft-c.x,y:s.top+u.scrollTop-c.y,width:s.width,height:s.height}}function fo(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var ho={placement:"bottom",modifiers:[],strategy:"absolute"};function mo(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function vo(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,a=void 0===o?ho:o;return function(e,t,n){void 0===n&&(n=a);var o,i,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},ho,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},s=[],u=!1,c={state:l,setOptions:function(n){var o="function"==typeof n?n(l.options):n;d(),l.options=Object.assign({},a,l.options,o),l.scrollParents={reference:vr(e)?Zr(e):e.contextElement?Zr(e.contextElement):[],popper:Zr(t)};var i,u,p=function(e){var t=fo(e);return fr.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((i=[].concat(r,l.options.modifiers),u=i.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(u).map((function(e){return u[e]}))));return l.orderedModifiers=p.filter((function(e){return e.enabled})),l.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var a=o({state:l,name:t,instance:c,options:r}),i=function(){};s.push(a||i)}})),c.update()},forceUpdate:function(){if(!u){var e=l.elements,t=e.reference,n=e.popper;if(mo(t,n)){l.rects={reference:po(t,Ar(n),"fixed"===l.options.strategy),popper:Pr(n)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach((function(e){return l.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<l.orderedModifiers.length;r++)if(!0!==l.reset){var o=l.orderedModifiers[r],a=o.fn,i=o.options,s=void 0===i?{}:i,d=o.name;"function"==typeof a&&(l=a({state:l,options:s,name:d,instance:c})||l)}else l.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){c.forceUpdate(),e(l)}))},function(){return i||(i=new Promise((function(e){Promise.resolve().then((function(){i=void 0,e(o())}))}))),i}),destroy:function(){d(),u=!0}};if(!mo(e,t))return c;function d(){s.forEach((function(e){return e()})),s=[]}return c.setOptions(n).then((function(e){!u&&n.onFirstUpdate&&n.onFirstUpdate(e)})),c}}var go=vo({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,a=void 0===o||o,i=r.resize,l=void 0===i||i,s=mr(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach((function(e){e.addEventListener("scroll",n.update,Vr)})),l&&s.addEventListener("resize",n.update,Vr),function(){a&&u.forEach((function(e){e.removeEventListener("scroll",n.update,Vr)})),l&&s.removeEventListener("resize",n.update,Vr)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=ro({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,a=n.adaptive,i=void 0===a||a,l=n.roundOffsets,s=void 0===l||l,u={placement:xr(t.placement),variation:Wr(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Ur(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ur(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},br,uo,io,co,Dr,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,i=oo(t,{elementContext:"reference"}),l=oo(t,{altBoundary:!0}),s=lo(i,r),u=lo(l,o,a),c=so(s),d=so(u);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}}]});var yo=l.exports.forwardRef((function(e,t){const{children:n,container:r,disablePortal:o=!1}=e,[a,i]=l.exports.useState(null),s=pn(l.exports.isValidElement(n)?n.ref:null,t);return on((()=>{o||i(function(e){return"function"==typeof e?e():e}(r)||document.body)}),[r,o]),on((()=>{if(a&&!o)return rn(t,a),()=>{rn(t,null)}}),[t,a,o]),o?l.exports.isValidElement(n)?l.exports.cloneElement(n,{ref:s}):n:Kn.exports.jsx(l.exports.Fragment,{children:a?h.exports.createPortal(n,a):a})}));function bo(e){return An("MuiPopperUnstyled",e)}jn("MuiPopperUnstyled",["root"]);const xo=["anchorEl","children","component","components","componentsProps","direction","disablePortal","modifiers","open","ownerState","placement","popperOptions","popperRef","TransitionProps"],wo=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition"];function ko(e){return"function"==typeof e?e():e}const So={},Eo=l.exports.forwardRef((function(e,t){var n;const{anchorEl:r,children:o,component:a,components:i={},componentsProps:s={},direction:u,disablePortal:c,modifiers:d,open:p,ownerState:f,placement:h,popperOptions:m,popperRef:v,TransitionProps:g}=e,y=It(e,xo),b=l.exports.useRef(null),x=pn(b,t),w=l.exports.useRef(null),k=pn(w,v),S=l.exports.useRef(k);on((()=>{S.current=k}),[k]),l.exports.useImperativeHandle(v,(()=>w.current),[]);const E=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(h,u),[C,O]=l.exports.useState(E);l.exports.useEffect((()=>{w.current&&w.current.forceUpdate()})),on((()=>{if(!r||!p)return;ko(r);let e=[{name:"preventOverflow",options:{altBoundary:c}},{name:"flip",options:{altBoundary:c}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{O(e.placement)}}];null!=d&&(e=e.concat(d)),m&&null!=m.modifiers&&(e=e.concat(m.modifiers));const t=go(ko(r),b.current,Rt({placement:E},m,{modifiers:e}));return S.current(t),()=>{t.destroy(),S.current(null)}}),[r,c,d,p,m,E]);const P={placement:C};null!==g&&(P.TransitionProps=g);const R=Mn({root:["root"]},bo,{}),T=null!=(n=null!=a?a:i.Root)?n:"div",M=Dn({elementType:T,externalSlotProps:s.root,externalForwardedProps:y,additionalProps:{role:"tooltip",ref:x},ownerState:Rt({},e,f),className:R.root});return Kn.exports.jsx(T,Rt({},M,{children:"function"==typeof o?o(P):o}))})),Co=l.exports.forwardRef((function(e,t){const{anchorEl:n,children:r,container:o,direction:a="ltr",disablePortal:i=!1,keepMounted:s=!1,modifiers:u,open:c,placement:d="bottom",popperOptions:p=So,popperRef:f,style:h,transition:m=!1}=e,v=It(e,wo),[g,y]=l.exports.useState(!0);if(!s&&!c&&(!m||g))return null;const b=o||(n?en(ko(n)).body:void 0);return Kn.exports.jsx(yo,{disablePortal:i,container:b,children:Kn.exports.jsx(Eo,Rt({anchorEl:n,direction:a,disablePortal:i,modifiers:u,ref:t,open:m?!g:c,placement:d,popperOptions:p,popperRef:f},v,{style:Rt({position:"fixed",top:0,left:0,display:c||!s||m&&!g?null:"none"},h),TransitionProps:m?{in:c,onEnter:()=>{y(!1)},onExited:()=>{y(!0)}}:null,children:r}))})}));var Oo=Co;function Po(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Ro(e){return parseInt(tn(e).getComputedStyle(e).paddingRight,10)||0}function To(e,t,n,r=[],o){const a=[t,n,...r];[].forEach.call(e.children,(e=>{const t=-1===a.indexOf(e),n=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),n="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||n}(e);t&&n&&Po(e,o)}))}function Mo(e,t){let n=-1;return e.some(((e,r)=>!!t(e)&&(n=r,!0))),n}function $o(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=en(e);return t.body===e?tn(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=kn(en(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${Ro(r)+e}px`;const t=en(r).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${Ro(t)+e}px`}))}let e;if(r.parentNode instanceof DocumentFragment)e=en(r).body;else{const t=r.parentElement,n=tn(r);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===n.getComputedStyle(t).overflowY?t:r}n.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{n.forEach((({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)}))}}function Io(e){return An("MuiModal",e)}jn("MuiModal",["root","hidden"]);const No=["children","classes","closeAfterTransition","component","components","componentsProps","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","onTransitionEnter","onTransitionExited"];const Ao=new class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&Po(e.modalRef,!1);const r=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);To(t,e.mount,e.modalRef,r,!0);const o=Mo(this.containers,(e=>e.container===t));return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}mount(e,t){const n=Mo(this.containers,(t=>-1!==t.modals.indexOf(e))),r=this.containers[n];r.restore||(r.restore=$o(r,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(-1===n)return n;const r=Mo(this.containers,(t=>-1!==t.modals.indexOf(e))),o=this.containers[r];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(n,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&Po(e.modalRef,t),To(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(r,1);else{const e=o.modals[o.modals.length-1];e.modalRef&&Po(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};var jo=l.exports.forwardRef((function(e,t){var n;const{children:r,classes:o,closeAfterTransition:a=!1,component:i="div",components:s={},componentsProps:u={},container:c,disableAutoFocus:d=!1,disableEnforceFocus:p=!1,disableEscapeKeyDown:f=!1,disablePortal:h=!1,disableRestoreFocus:m=!1,disableScrollLock:v=!1,hideBackdrop:g=!1,keepMounted:y=!1,manager:b=Ao,onBackdropClick:x,onClose:w,onKeyDown:k,open:S,onTransitionEnter:E,onTransitionExited:C}=e,O=It(e,No),[P,R]=l.exports.useState(!0),T=l.exports.useRef({}),M=l.exports.useRef(null),$=l.exports.useRef(null),I=pn($,t),N=function(e){return!!e.children&&e.children.props.hasOwnProperty("in")}(e),A=null==(n=e["aria-hidden"])||n,j=()=>(T.current.modalRef=$.current,T.current.mountNode=M.current,T.current),z=()=>{b.mount(j(),{disableScrollLock:v}),$.current.scrollTop=0},_=dn((()=>{const e=function(e){return"function"==typeof e?e():e}(c)||en(M.current).body;b.add(j(),e),$.current&&z()})),L=l.exports.useCallback((()=>b.isTopModal(j())),[b]),F=dn((e=>{M.current=e,e&&(S&&L()?z():Po($.current,A))})),D=l.exports.useCallback((()=>{b.remove(j(),A)}),[b,A]);l.exports.useEffect((()=>()=>{D()}),[D]),l.exports.useEffect((()=>{S?_():N&&a||D()}),[S,D,N,a,_]);const W=Rt({},e,{classes:o,closeAfterTransition:a,disableAutoFocus:d,disableEnforceFocus:p,disableEscapeKeyDown:f,disablePortal:h,disableRestoreFocus:m,disableScrollLock:v,exited:P,hideBackdrop:g,keepMounted:y}),B=(e=>{const{open:t,exited:n,classes:r}=e;return Mn({root:["root",!t&&n&&"hidden"]},Io,r)})(W),U=()=>{R(!1),E&&E()},V=()=>{R(!0),C&&C(),a&&D()},H={};void 0===r.props.tabIndex&&(H.tabIndex="-1"),N&&(H.onEnter=Xt(U,r.props.onEnter),H.onExited=Xt(V,r.props.onExited));const q=s.Root||i,K=Dn({elementType:q,externalSlotProps:u.root,externalForwardedProps:O,additionalProps:{ref:I,role:"presentation",onKeyDown:e=>{k&&k(e),"Escape"===e.key&&L()&&(f||(e.stopPropagation(),w&&w(e,"escapeKeyDown")))}},className:B.root,ownerState:W}),Q=s.Backdrop,G=Dn({elementType:Q,externalSlotProps:u.backdrop,additionalProps:{"aria-hidden":!0,onClick:e=>{e.target===e.currentTarget&&(x&&x(e),w&&w(e,"backdropClick"))},open:S},ownerState:W});return y||S||N&&!P?Kn.exports.jsx(yo,{ref:F,container:c,disablePortal:h,children:Kn.exports.jsxs(q,Rt({},K,{children:[!g&&Q?Kn.exports.jsx(Q,Rt({},G)):null,Kn.exports.jsx(Jn,{disableEnforceFocus:p,disableAutoFocus:d,disableRestoreFocus:m,isEnabled:L,open:S,children:l.exports.cloneElement(r,H)})]}))}):null}));const zo=["onChange","maxRows","minRows","style","value"];function _o(e,t){return parseInt(e[t],10)||0}const Lo={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function Fo(e){return null==e||0===Object.keys(e).length}const Do=l.exports.forwardRef((function(e,t){const{onChange:n,maxRows:r,minRows:o=1,style:a,value:i}=e,s=It(e,zo),{current:u}=l.exports.useRef(null!=i),c=l.exports.useRef(null),d=pn(t,c),p=l.exports.useRef(null),f=l.exports.useRef(0),[m,v]=l.exports.useState({}),g=l.exports.useCallback((()=>{const t=c.current,n=tn(t).getComputedStyle(t);if("0px"===n.width)return{};const a=p.current;a.style.width=n.width,a.value=t.value||e.placeholder||"x","\n"===a.value.slice(-1)&&(a.value+=" ");const i=n["box-sizing"],l=_o(n,"padding-bottom")+_o(n,"padding-top"),s=_o(n,"border-bottom-width")+_o(n,"border-top-width"),u=a.scrollHeight;a.value="x";const d=a.scrollHeight;let f=u;o&&(f=Math.max(Number(o)*d,f)),r&&(f=Math.min(Number(r)*d,f)),f=Math.max(f,d);return{outerHeightStyle:f+("border-box"===i?l+s:0),overflow:Math.abs(f-u)<=1}}),[r,o,e.placeholder]),y=(e,t)=>{const{outerHeightStyle:n,overflow:r}=t;return f.current<20&&(n>0&&Math.abs((e.outerHeightStyle||0)-n)>1||e.overflow!==r)?(f.current+=1,{overflow:r,outerHeightStyle:n}):e},b=l.exports.useCallback((()=>{const e=g();Fo(e)||v((t=>y(t,e)))}),[g]);l.exports.useEffect((()=>{const e=Yt((()=>{f.current=0,c.current&&(()=>{const e=g();Fo(e)||h.exports.flushSync((()=>{v((t=>y(t,e)))}))})()})),t=tn(c.current);let n;return t.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(n=new ResizeObserver(e),n.observe(c.current)),()=>{e.clear(),t.removeEventListener("resize",e),n&&n.disconnect()}})),on((()=>{b()})),l.exports.useEffect((()=>{f.current=0}),[i]);return Kn.exports.jsxs(l.exports.Fragment,{children:[Kn.exports.jsx("textarea",Rt({value:i,onChange:e=>{f.current=0,u||b(),n&&n(e)},ref:d,rows:o,style:Rt({height:m.outerHeightStyle,overflow:m.overflow?"hidden":null},a)},s)),Kn.exports.jsx("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:p,tabIndex:-1,style:Rt({},Lo,a,{padding:0})})]})}));var Wo=Do;function Bo(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Uo=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Vo=Bo((function(e){return Uo.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));function Ho(){return Ho=Object.assign?Object.assign.bind():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},Ho.apply(this,arguments)}var qo=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),Ko={exports:{}};!function(e,t){!function(e){var t="-ms-",n="-moz-",r="-webkit-",o="comm",a="rule",i="decl",l="@page",s="@media",u="@import",c="@charset",d="@viewport",p="@supports",f="@document",h="@namespace",m="@keyframes",v="@font-face",g="@counter-style",y="@font-feature-values",b=Math.abs,x=String.fromCharCode,w=Object.assign;function k(e,t){return(((t<<2^P(e,0))<<2^P(e,1))<<2^P(e,2))<<2^P(e,3)}function S(e){return e.trim()}function E(e,t){return(e=t.exec(e))?e[0]:e}function C(e,t,n){return e.replace(t,n)}function O(e,t){return e.indexOf(t)}function P(e,t){return 0|e.charCodeAt(t)}function R(e,t,n){return e.slice(t,n)}function T(e){return e.length}function M(e){return e.length}function $(e,t){return t.push(e),e}function I(e,t){return e.map(t).join("")}function N(t,n,r,o,a,i,l){return{value:t,root:n,parent:r,type:o,props:a,children:i,line:e.line,column:e.column,length:l,return:""}}function A(e,t){return w(N("",null,null,"",null,null,0),e,{length:-e.length},t)}function j(){return e.character}function z(){return e.character=e.position>0?P(e.characters,--e.position):0,e.column--,10===e.character&&(e.column=1,e.line--),e.character}function _(){return e.character=e.position<e.length?P(e.characters,e.position++):0,e.column++,10===e.character&&(e.column=1,e.line++),e.character}function L(){return P(e.characters,e.position)}function F(){return e.position}function D(t,n){return R(e.characters,t,n)}function W(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function B(t){return e.line=e.column=1,e.length=T(e.characters=t),e.position=0,[]}function U(t){return e.characters="",t}function V(t){return S(D(e.position-1,G(91===t?t+2:40===t?t+1:t)))}function H(e){return U(K(B(e)))}function q(t){for(;(e.character=L())&&e.character<33;)_();return W(t)>2||W(e.character)>3?"":" "}function K(t){for(;_();)switch(W(e.character)){case 0:$(Y(e.position-1),t);break;case 2:$(V(e.character),t);break;default:$(x(e.character),t)}return t}function Q(t,n){for(;--n&&_()&&!(e.character<48||e.character>102||e.character>57&&e.character<65||e.character>70&&e.character<97););return D(t,F()+(n<6&&32==L()&&32==_()))}function G(t){for(;_();)switch(e.character){case t:return e.position;case 34:case 39:34!==t&&39!==t&&G(e.character);break;case 40:41===t&&G(t);break;case 92:_()}return e.position}function X(t,n){for(;_()&&t+e.character!==57&&(t+e.character!==84||47!==L()););return"/*"+D(n,e.position-1)+"*"+x(47===t?t:_())}function Y(t){for(;!W(L());)_();return D(t,e.position)}function J(e){return U(Z("",null,null,null,[""],e=B(e),0,[0],e))}function Z(e,t,n,r,o,a,i,l,s){for(var u=0,c=0,d=i,p=0,f=0,h=0,m=1,v=1,g=1,y=0,b="",w=o,k=a,S=r,E=b;v;)switch(h=y,y=_()){case 40:if(108!=h&&58==E.charCodeAt(d-1)){-1!=O(E+=C(V(y),"&","&\f"),"&\f")&&(g=-1);break}case 34:case 39:case 91:E+=V(y);break;case 9:case 10:case 13:case 32:E+=q(h);break;case 92:E+=Q(F()-1,7);continue;case 47:switch(L()){case 42:case 47:$(te(X(_(),F()),t,n),s);break;default:E+="/"}break;case 123*m:l[u++]=T(E)*g;case 125*m:case 59:case 0:switch(y){case 0:case 125:v=0;case 59+c:f>0&&T(E)-d&&$(f>32?ne(E+";",r,n,d-1):ne(C(E," ","")+";",r,n,d-2),s);break;case 59:E+=";";default:if($(S=ee(E,t,n,u,c,o,l,b,w=[],k=[],d),a),123===y)if(0===c)Z(E,t,S,S,w,a,d,l,k);else switch(p){case 100:case 109:case 115:Z(e,S,S,r&&$(ee(e,S,S,0,0,o,l,b,o,w=[],d),k),o,k,d,l,r?w:k);break;default:Z(E,S,S,S,[""],k,0,l,k)}}u=c=f=0,m=g=1,b=E="",d=i;break;case 58:d=1+T(E),f=h;default:if(m<1)if(123==y)--m;else if(125==y&&0==m++&&125==z())continue;switch(E+=x(y),y*m){case 38:g=c>0?1:(E+="\f",-1);break;case 44:l[u++]=(T(E)-1)*g,g=1;break;case 64:45===L()&&(E+=V(_())),p=L(),c=d=T(b=E+=Y(F())),y++;break;case 45:45===h&&2==T(E)&&(m=0)}}return a}function ee(e,t,n,r,o,i,l,s,u,c,d){for(var p=o-1,f=0===o?i:[""],h=M(f),m=0,v=0,g=0;m<r;++m)for(var y=0,x=R(e,p+1,p=b(v=l[m])),w=e;y<h;++y)(w=S(v>0?f[y]+" "+x:C(x,/&\f/g,f[y])))&&(u[g++]=w);return N(e,t,n,0===o?a:s,u,c,d)}function te(e,t,n){return N(e,t,n,o,x(j()),R(e,2,-2),0)}function ne(e,t,n,r){return N(e,t,n,i,R(e,0,r),R(e,r+1,-1),r)}function re(e,o){switch(k(e,o)){case 5103:return r+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return r+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return r+e+n+e+t+e+e;case 6828:case 4268:return r+e+t+e+e;case 6165:return r+e+t+"flex-"+e+e;case 5187:return r+e+C(e,/(\w+).+(:[^]+)/,r+"box-$1$2"+t+"flex-$1$2")+e;case 5443:return r+e+t+"flex-item-"+C(e,/flex-|-self/,"")+e;case 4675:return r+e+t+"flex-line-pack"+C(e,/align-content|flex-|-self/,"")+e;case 5548:return r+e+t+C(e,"shrink","negative")+e;case 5292:return r+e+t+C(e,"basis","preferred-size")+e;case 6060:return r+"box-"+C(e,"-grow","")+r+e+t+C(e,"grow","positive")+e;case 4554:return r+C(e,/([^-])(transform)/g,"$1"+r+"$2")+e;case 6187:return C(C(C(e,/(zoom-|grab)/,r+"$1"),/(image-set)/,r+"$1"),e,"")+e;case 5495:case 3959:return C(e,/(image-set\([^]*)/,r+"$1$`$1");case 4968:return C(C(e,/(.+:)(flex-)?(.*)/,r+"box-pack:$3"+t+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+r+e+e;case 4095:case 3583:case 4068:case 2532:return C(e,/(.+)-inline(.+)/,r+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(T(e)-1-o>6)switch(P(e,o+1)){case 109:if(45!==P(e,o+4))break;case 102:return C(e,/(.+:)(.+)-([^]+)/,"$1"+r+"$2-$3$1"+n+(108==P(e,o+3)?"$3":"$2-$3"))+e;case 115:return~O(e,"stretch")?re(C(e,"stretch","fill-available"),o)+e:e}break;case 4949:if(115!==P(e,o+1))break;case 6444:switch(P(e,T(e)-3-(~O(e,"!important")&&10))){case 107:return C(e,":",":"+r)+e;case 101:return C(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+r+(45===P(e,14)?"inline-":"")+"box$3$1"+r+"$2$3$1"+t+"$2box$3")+e}break;case 5936:switch(P(e,o+11)){case 114:return r+e+t+C(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return r+e+t+C(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return r+e+t+C(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return r+e+t+e+e}return e}function oe(e,t){for(var n="",r=M(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function ae(e,t,n,r){switch(e.type){case u:case i:return e.return=e.return||e.value;case o:return"";case m:return e.return=e.value+"{"+oe(e.children,r)+"}";case a:e.value=e.props.join(",")}return T(n=oe(e.children,r))?e.return=e.value+"{"+n+"}":""}function ie(e){var t=M(e);return function(n,r,o,a){for(var i="",l=0;l<t;l++)i+=e[l](n,r,o,a)||"";return i}}function le(e){return function(t){t.root||(t=t.return)&&e(t)}}function se(e,o,l,s){if(e.length>-1&&!e.return)switch(e.type){case i:e.return=re(e.value,e.length);break;case m:return oe([A(e,{value:C(e.value,"@","@"+r)})],s);case a:if(e.length)return I(e.props,(function(o){switch(E(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return oe([A(e,{props:[C(o,/:(read-\w+)/,":"+n+"$1")]})],s);case"::placeholder":return oe([A(e,{props:[C(o,/:(plac\w+)/,":"+r+"input-$1")]}),A(e,{props:[C(o,/:(plac\w+)/,":"+n+"$1")]}),A(e,{props:[C(o,/:(plac\w+)/,t+"input-$1")]})],s)}return""}))}}function ue(e){e.type===a&&(e.props=e.props.map((function(t){return I(H(t),(function(t,n,r){switch(P(t,0)){case 12:return R(t,1,T(t));case 0:case 40:case 43:case 62:case 126:return t;case 58:"global"===r[++n]&&(r[n]="",r[++n]="\f"+R(r[n],n=1,-1));case 32:return 1===n?"":t;default:switch(n){case 0:return e=t,M(r)>1?"":t;case n=M(r)-1:case 2:return 2===n?t+e+e:t+e;default:return t}}}))})))}e.line=1,e.column=1,e.length=0,e.position=0,e.character=0,e.characters="",e.CHARSET=c,e.COMMENT=o,e.COUNTER_STYLE=g,e.DECLARATION=i,e.DOCUMENT=f,e.FONT_FACE=v,e.FONT_FEATURE_VALUES=y,e.IMPORT=u,e.KEYFRAMES=m,e.MEDIA=s,e.MOZ=n,e.MS=t,e.NAMESPACE=h,e.PAGE=l,e.RULESET=a,e.SUPPORTS=p,e.VIEWPORT=d,e.WEBKIT=r,e.abs=b,e.alloc=B,e.append=$,e.assign=w,e.caret=F,e.char=j,e.charat=P,e.combine=I,e.comment=te,e.commenter=X,e.compile=J,e.copy=A,e.dealloc=U,e.declaration=ne,e.delimit=V,e.delimiter=G,e.escaping=Q,e.from=x,e.hash=k,e.identifier=Y,e.indexof=O,e.match=E,e.middleware=ie,e.namespace=ue,e.next=_,e.node=N,e.parse=Z,e.peek=L,e.prefix=re,e.prefixer=se,e.prev=z,e.replace=C,e.ruleset=ee,e.rulesheet=le,e.serialize=oe,e.sizeof=M,e.slice=D,e.stringify=ae,e.strlen=T,e.substr=R,e.token=W,e.tokenize=H,e.tokenizer=K,e.trim=S,e.whitespace=q,Object.defineProperty(e,"__esModule",{value:!0})}(t)}(0,Ko.exports);var Qo=function(e){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}},Go=function(e,t,n){for(var r=0,o=0;r=o,o=Ko.exports.peek(),38===r&&12===o&&(t[n]=1),!Ko.exports.token(o);)Ko.exports.next();return Ko.exports.slice(e,Ko.exports.position)},Xo=function(e,t){return Ko.exports.dealloc(function(e,t){var n=-1,r=44;do{switch(Ko.exports.token(r)){case 0:38===r&&12===Ko.exports.peek()&&(t[n]=1),e[n]+=Go(Ko.exports.position-1,t,n);break;case 2:e[n]+=Ko.exports.delimit(r);break;case 4:if(44===r){e[++n]=58===Ko.exports.peek()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Ko.exports.from(r)}}while(r=Ko.exports.next());return e}(Ko.exports.alloc(e),t))},Yo=new WeakMap,Jo=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Yo.get(n))&&!r){Yo.set(e,!0);for(var o=[],a=Xo(t,o),i=n.props,l=0,s=0;l<a.length;l++)for(var u=0;u<i.length;u++,s++)e.props[s]=o[l]?a[l].replace(/&\f/g,i[u]):i[u]+" "+a[l]}}},Zo=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},ea="undefined"!=typeof document,ta=ea?void 0:Qo((function(){return Bo((function(){var e={};return function(t){return e[t]}}))})),na=[Ko.exports.prefixer],ra=function(e){var t=e.key;if(ea&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r,o,a=e.stylisPlugins||na,i={},l=[];ea&&(r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)i[t[n]]=!0;l.push(e)})));var s=[Jo,Zo];if(ea){var u,c=[Ko.exports.stringify,Ko.exports.rulesheet((function(e){u.insert(e)}))],d=Ko.exports.middleware(s.concat(a,c));o=function(e,t,n,r){u=n,function(e){Ko.exports.serialize(Ko.exports.compile(e),d)}(e?e+"{"+t.styles+"}":t.styles),r&&(v.inserted[t.name]=!0)}}else{var p=[Ko.exports.stringify],f=Ko.exports.middleware(s.concat(a,p)),h=ta(a)(t),m=function(e,t){var n=t.name;return void 0===h[n]&&(h[n]=function(e){return Ko.exports.serialize(Ko.exports.compile(e),f)}(e?e+"{"+t.styles+"}":t.styles)),h[n]};o=function(e,t,n,r){var o=t.name,a=m(e,t);return void 0===v.compat?(r&&(v.inserted[o]=!0),a):r?void(v.inserted[o]=a):a}}var v={key:t,sheet:new qo({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:o};return v.sheet.hydrate(l),v},oa="undefined"!=typeof document;var aa=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===oa&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},ia=function(e,t,n){aa(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o="",a=t;do{var i=e.insert(t===a?"."+r:"",a,e.sheet,!0);oa||void 0===i||(o+=i),a=a.next}while(void 0!==a);if(!oa&&0!==o.length)return o}};var la={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},sa=/[A-Z]|^ms/g,ua=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ca=function(e){return 45===e.charCodeAt(1)},da=function(e){return null!=e&&"boolean"!=typeof e},pa=Bo((function(e){return ca(e)?e:e.replace(sa,"-$&").toLowerCase()})),fa=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(ua,(function(e,t,n){return ma={name:t,styles:n,next:ma},t}))}return 1===la[e]||ca(e)||"number"!=typeof t||0===t?t:t+"px"};function ha(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return ma={name:n.name,styles:n.styles,next:ma},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)ma={name:r.name,styles:r.styles,next:ma},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=ha(e,t,n[o])+";";else for(var a in n){var i=n[a];if("object"!=typeof i)null!=t&&void 0!==t[i]?r+=a+"{"+t[i]+"}":da(i)&&(r+=pa(a)+":"+fa(a,i)+";");else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var l=ha(e,t,i);switch(a){case"animation":case"animationName":r+=pa(a)+":"+l+";";break;default:r+=a+"{"+l+"}"}}else for(var s=0;s<i.length;s++)da(i[s])&&(r+=pa(a)+":"+fa(a,i[s])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=ma,a=n(e);return ma=o,ha(e,t,a)}}if(null==t)return n;var i=t[n];return void 0!==i?i:n}var ma,va,ga=/label:\s*([^\s;\n{]+)\s*(;|$)/g,ya=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";ma=void 0;var a=e[0];null==a||void 0===a.raw?(r=!1,o+=ha(n,t,a)):o+=a[0];for(var i=1;i<e.length;i++)o+=ha(n,t,e[i]),r&&(o+=a[i]);ga.lastIndex=0;for(var l,s="";null!==(l=ga.exec(o));)s+="-"+l[1];var u=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+s;return{name:u,styles:o,next:ma}},ba={exports:{}},xa={};!function(e){e.exports=function(){if(va)return xa;va=1,Object.defineProperty(xa,"__esModule",{value:!0});var e=l.exports;function t(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var n=t(e),r="undefined"!=typeof document,o=function(e){return e()},a=!!n.useInsertionEffect&&n.useInsertionEffect,i=r&&a||o,s=a||e.useLayoutEffect;return xa.useInsertionEffectAlwaysWithSyncFallback=i,xa.useInsertionEffectWithLayoutFallback=s,xa}()}(ba);var wa="undefined"!=typeof document,ka=l.exports.createContext("undefined"!=typeof HTMLElement?ra({key:"css"}):null),Sa=ka.Provider,Ea=function(e){return l.exports.forwardRef((function(t,n){var r=l.exports.useContext(ka);return e(t,r,n)}))};wa||(Ea=function(e){return function(t){var n=l.exports.useContext(ka);return null===n?(n=ra({key:"css"}),l.exports.createElement(ka.Provider,{value:n},e(t,n))):e(t,n)}});var Ca=l.exports.createContext({}),Oa=Ea((function(e,t){var n=e.styles,r=ya([n],void 0,l.exports.useContext(Ca));if(!wa){for(var o,a=r.name,i=r.styles,s=r.next;void 0!==s;)a+=" "+s.name,i+=s.styles,s=s.next;var u=!0===t.compat,c=t.insert("",{name:a,styles:i},t.sheet,u);return u?null:l.exports.createElement("style",((o={})["data-emotion"]=t.key+"-global "+a,o.dangerouslySetInnerHTML={__html:c},o.nonce=t.sheet.nonce,o))}var d=l.exports.useRef();return ba.exports.useInsertionEffectWithLayoutFallback((function(){var e=t.key+"-global",n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),o=!1,a=document.querySelector('style[data-emotion="'+e+" "+r.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==a&&(o=!0,a.setAttribute("data-emotion",e),n.hydrate([a])),d.current=[n,o],function(){n.flush()}}),[t]),ba.exports.useInsertionEffectWithLayoutFallback((function(){var e=d.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==r.next&&ia(t,r.next,!0),n.tags.length){var o=n.tags[n.tags.length-1].nextElementSibling;n.before=o,n.flush()}t.insert("",r,n,!1)}}),[t,r.name]),null}));function Pa(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return ya(t)}var Ra,Ta=function(){var e=Pa.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},Ma={exports:{}},$a={};!function(e){e.exports=function(){if(Ra)return $a;Ra=1,Object.defineProperty($a,"__esModule",{value:!0});var e=l.exports;function t(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var n=t(e),r="undefined"!=typeof document,o=function(e){return e()},a=!!n.useInsertionEffect&&n.useInsertionEffect,i=r&&a||o,s=a||e.useLayoutEffect;return $a.useInsertionEffectAlwaysWithSyncFallback=i,$a.useInsertionEffectWithLayoutFallback=s,$a}()}(Ma);var Ia=Vo,Na=function(e){return"theme"!==e},Aa=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?Ia:Na},ja=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},za="undefined"!=typeof document,_a=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;aa(t,n,r);var o=Ma.exports.useInsertionEffectAlwaysWithSyncFallback((function(){return ia(t,n,r)}));if(!za&&void 0!==o){for(var a,i=n.name,s=n.next;void 0!==s;)i+=" "+s.name,s=s.next;return l.exports.createElement("style",((a={})["data-emotion"]=t.key+" "+i,a.dangerouslySetInnerHTML={__html:o},a.nonce=t.sheet.nonce,a))}return null},La=function e(t,n){var r,o,a=t.__emotion_real===t,i=a&&t.__emotion_base||t;void 0!==n&&(r=n.label,o=n.target);var s=ja(t,n,a),u=s||Aa(i),c=!u("as");return function(){var d=arguments,p=a&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&p.push("label:"+r+";"),null==d[0]||void 0===d[0].raw)p.push.apply(p,d);else{p.push(d[0][0]);for(var f=d.length,h=1;h<f;h++)p.push(d[h],d[0][h])}var m=Ea((function(e,t,n){var r,a,d,f,h=c&&e.as||i,m="",v=[],g=e;if(null==e.theme){for(var y in g={},e)g[y]=e[y];g.theme=l.exports.useContext(Ca)}"string"==typeof e.className?(r=t.registered,a=v,d=e.className,f="",d.split(" ").forEach((function(e){void 0!==r[e]?a.push(r[e]+";"):f+=e+" "})),m=f):null!=e.className&&(m=e.className+" ");var b=ya(p.concat(v),t.registered,g);m+=t.key+"-"+b.name,void 0!==o&&(m+=" "+o);var x=c&&void 0===s?Aa(h):u,w={};for(var k in e)c&&"as"===k||x(k)&&(w[k]=e[k]);return w.className=m,w.ref=n,l.exports.createElement(l.exports.Fragment,null,l.exports.createElement(_a,{cache:t,serialized:b,isStringTag:"string"==typeof h}),l.exports.createElement(h,w))}));return m.displayName=void 0!==r?r:"Styled("+("string"==typeof i?i:i.displayName||i.name||"Component")+")",m.defaultProps=t.defaultProps,m.__emotion_real=m,m.__emotion_base=i,m.__emotion_styles=p,m.__emotion_forwardProp=s,Object.defineProperty(m,"toString",{value:function(){return"."+o}}),m.withComponent=function(t,r){return e(t,Ho({},n,r,{shouldForwardProp:ja(m,r,!0)})).apply(void 0,p)},m}},Fa=La.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){Fa[e]=Fa(e)}));var Da=Fa;const Wa=ra({key:"css",prepend:!0});function Ba(e){const{styles:t,defaultTheme:n={}}=e,r="function"==typeof t?e=>{return t(null==(r=e)||0===Object.keys(r).length?n:e);var r}:t;return Kn.exports.jsx(Oa,{styles:r})}
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self)["@tolgee/in-context-tools"]={})}(this,(function(e){"use strict";function t(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(n){if("default"!==n&&!(n in e)){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}}))})),Object.freeze(e)}function n(){var e,t;return void 0===(null===(t=null===(e=globalThis.window)||void 0===e?void 0:e.document)||void 0===t?void 0:t.createElement)}var r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function o(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function a(e){var t=e.default;if("function"==typeof t){var n=function(){return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})})),n}var i,l={exports:{}},s={};function u(){if(i)return s;i=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),f=Symbol.iterator;var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,v={};function g(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||h}function y(){}function b(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||h}g.prototype.isReactComponent={},g.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")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=g.prototype;var x=b.prototype=new y;x.constructor=b,m(x,g.prototype),x.isPureReactComponent=!0;var w=Array.isArray,k=Object.prototype.hasOwnProperty,S={current:null},E={key:!0,ref:!0,__self:!0,__source:!0};function C(t,n,r){var o,a={},i=null,l=null;if(null!=n)for(o in void 0!==n.ref&&(l=n.ref),void 0!==n.key&&(i=""+n.key),n)k.call(n,o)&&!E.hasOwnProperty(o)&&(a[o]=n[o]);var s=arguments.length-2;if(1===s)a.children=r;else if(1<s){for(var u=Array(s),c=0;c<s;c++)u[c]=arguments[c+2];a.children=u}if(t&&t.defaultProps)for(o in s=t.defaultProps)void 0===a[o]&&(a[o]=s[o]);return{$$typeof:e,type:t,key:i,ref:l,props:a,_owner:S.current}}function O(t){return"object"==typeof t&&null!==t&&t.$$typeof===e}var P=/\/+/g;function R(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function T(n,r,o,a,i){var l=typeof n;"undefined"!==l&&"boolean"!==l||(n=null);var s=!1;if(null===n)s=!0;else switch(l){case"string":case"number":s=!0;break;case"object":switch(n.$$typeof){case e:case t:s=!0}}if(s)return i=i(s=n),n=""===a?"."+R(s,0):a,w(i)?(o="",null!=n&&(o=n.replace(P,"$&/")+"/"),T(i,r,o,"",(function(e){return e}))):null!=i&&(O(i)&&(i=function(t,n){return{$$typeof:e,type:t.type,key:n,ref:t.ref,props:t.props,_owner:t._owner}}(i,o+(!i.key||s&&s.key===i.key?"":(""+i.key).replace(P,"$&/")+"/")+n)),r.push(i)),1;if(s=0,a=""===a?".":a+":",w(n))for(var u=0;u<n.length;u++){var c=a+R(l=n[u],u);s+=T(l,r,o,c,i)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=f&&e[f]||e["@@iterator"])?e:null}(n),"function"==typeof c)for(n=c.call(n),u=0;!(l=n.next()).done;)s+=T(l=l.value,r,o,c=a+R(l,u++),i);else if("object"===l)throw r=String(n),Error("Objects are not valid as a React child (found: "+("[object Object]"===r?"object with keys {"+Object.keys(n).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return s}function M(e,t,n){if(null==e)return e;var r=[],o=0;return T(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function $(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 I={current:null},N={transition:null},A={ReactCurrentDispatcher:I,ReactCurrentBatchConfig:N,ReactCurrentOwner:S};return s.Children={map:M,forEach:function(e,t,n){M(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return M(e,(function(){t++})),t},toArray:function(e){return M(e,(function(e){return e}))||[]},only:function(e){if(!O(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},s.Component=g,s.Fragment=n,s.Profiler=o,s.PureComponent=b,s.StrictMode=r,s.Suspense=c,s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=A,s.cloneElement=function(t,n,r){if(null==t)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var o=m({},t.props),a=t.key,i=t.ref,l=t._owner;if(null!=n){if(void 0!==n.ref&&(i=n.ref,l=S.current),void 0!==n.key&&(a=""+n.key),t.type&&t.type.defaultProps)var s=t.type.defaultProps;for(u in n)k.call(n,u)&&!E.hasOwnProperty(u)&&(o[u]=void 0===n[u]&&void 0!==s?s[u]:n[u])}var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){s=Array(u);for(var c=0;c<u;c++)s[c]=arguments[c+2];o.children=s}return{$$typeof:e,type:t.type,key:a,ref:i,props:o,_owner:l}},s.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},s.createElement=C,s.createFactory=function(e){var t=C.bind(null,e);return t.type=e,t},s.createRef=function(){return{current:null}},s.forwardRef=function(e){return{$$typeof:u,render:e}},s.isValidElement=O,s.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:$}},s.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},s.startTransition=function(e){var t=N.transition;N.transition={};try{e()}finally{N.transition=t}},s.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},s.useCallback=function(e,t){return I.current.useCallback(e,t)},s.useContext=function(e){return I.current.useContext(e)},s.useDebugValue=function(){},s.useDeferredValue=function(e){return I.current.useDeferredValue(e)},s.useEffect=function(e,t){return I.current.useEffect(e,t)},s.useId=function(){return I.current.useId()},s.useImperativeHandle=function(e,t,n){return I.current.useImperativeHandle(e,t,n)},s.useInsertionEffect=function(e,t){return I.current.useInsertionEffect(e,t)},s.useLayoutEffect=function(e,t){return I.current.useLayoutEffect(e,t)},s.useMemo=function(e,t){return I.current.useMemo(e,t)},s.useReducer=function(e,t,n){return I.current.useReducer(e,t,n)},s.useRef=function(e){return I.current.useRef(e)},s.useState=function(e){return I.current.useState(e)},s.useSyncExternalStore=function(e,t,n){return I.current.useSyncExternalStore(e,t,n)},s.useTransition=function(){return I.current.useTransition()},s.version="18.2.0",s}!function(e){e.exports=u()}(l);var c,d,p=o(l.exports),f=t({__proto__:null,default:p},[l.exports]),h={exports:{}},m={},v={exports:{}},g={};function y(){if(d)return m;d=1;var e=l.exports,t=v.exports;function n(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 r=new Set,o={};function a(e,t){i(e,t),i(e+"Capture",t)}function i(e,t){for(o[e]=t,e=0;e<t.length;e++)r.add(t[e])}var s=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),u=Object.prototype.hasOwnProperty,c=/^[: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]*$/,p={},f={};function h(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 g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){g[e]=new h(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];g[t]=new h(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){g[e]=new h(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){g[e]=new h(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){g[e]=new h(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){g[e]=new h(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){g[e]=new h(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){g[e]=new h(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){g[e]=new h(e,5,!1,e.toLowerCase(),null,!1,!1)}));var y=/[\-:]([a-z])/g;function b(e){return e[1].toUpperCase()}function x(e,t,n,r){var o=g.hasOwnProperty(t)?g[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!u.call(f,e)||!u.call(p,e)&&(c.test(e)?f[e]=!0:(p[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"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(y,b);g[t]=new h(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(y,b);g[t]=new h(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(y,b);g[t]=new h(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){g[e]=new h(e,1,!1,e.toLowerCase(),null,!1,!1)})),g.xlinkHref=new h("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){g[e]=new h(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,k=Symbol.for("react.element"),S=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),O=Symbol.for("react.profiler"),P=Symbol.for("react.provider"),R=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),M=Symbol.for("react.suspense"),$=Symbol.for("react.suspense_list"),I=Symbol.for("react.memo"),N=Symbol.for("react.lazy"),A=Symbol.for("react.offscreen"),j=Symbol.iterator;function z(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=j&&e[j]||e["@@iterator"])?e:null}var _,L=Object.assign;function F(e){if(void 0===_)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);_=t&&t[1]||""}return"\n"+_+e}var D=!1;function W(e,t){if(!e||D)return"";D=!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 s="\n"+o[i].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}}while(1<=i&&0<=l);break}}}finally{D=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?F(e):""}function B(e){switch(e.tag){case 5:return F(e.type);case 16:return F("Lazy");case 13:return F("Suspense");case 19:return F("SuspenseList");case 0:case 2:case 15:return e=W(e.type,!1);case 11:return e=W(e.type.render,!1);case 1:return e=W(e.type,!0);default:return""}}function U(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case E:return"Fragment";case S:return"Portal";case O:return"Profiler";case C:return"StrictMode";case M:return"Suspense";case $:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case R:return(e.displayName||"Context")+".Consumer";case P:return(e._context.displayName||"Context")+".Provider";case T:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case I:return null!==(t=e.displayName||null)?t:U(e.type)||"Memo";case N:t=e._payload,e=e._init;try{return U(e(t))}catch(e){}}return null}function V(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 U(t);case 8:return t===C?"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}function H(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function q(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function K(e){e._valueTracker||(e._valueTracker=function(e){var t=q(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 Q(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=q(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function G(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 X(e,t){var n=t.checked;return L({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Y(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=H(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 J(e,t){null!=(t=t.checked)&&x(e,"checked",t,!1)}function Z(e,t){J(e,t);var n=H(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?te(e,t.type,n):t.hasOwnProperty("defaultValue")&&te(e,t.type,H(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function ee(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 te(e,t,n){"number"===t&&G(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ne=Array.isArray;function re(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+H(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function oe(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(n(91));return L({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ae(e,t){var r=t.value;if(null==r){if(r=t.children,t=t.defaultValue,null!=r){if(null!=t)throw Error(n(92));if(ne(r)){if(1<r.length)throw Error(n(93));r=r[0]}t=r}null==t&&(t=""),r=t}e._wrapperState={initialValue:H(r)}}function ie(e,t){var n=H(t.value),r=H(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 le(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(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 ue(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ce,de=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction((function(){return e(t,n)}))}:e}((function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ce=ce||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ce.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function pe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var fe={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},he=["Webkit","ms","Moz","O"];function me(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||fe.hasOwnProperty(e)&&fe[e]?(""+t).trim():t+"px"}function ve(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(fe).forEach((function(e){he.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),fe[t]=fe[e]}))}));var ge=L({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 ye(e,t){if(t){if(ge[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(n(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(n(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(n(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(n(62))}}function be(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 xe=null;function we(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var ke=null,Se=null,Ee=null;function Ce(e){if(e=xo(e)){if("function"!=typeof ke)throw Error(n(280));var t=e.stateNode;t&&(t=ko(t),ke(e.stateNode,e.type,t))}}function Oe(e){Se?Ee?Ee.push(e):Ee=[e]:Se=e}function Pe(){if(Se){var e=Se,t=Ee;if(Ee=Se=null,Ce(e),t)for(e=0;e<t.length;e++)Ce(t[e])}}function Re(e,t){return e(t)}function Te(){}var Me=!1;function $e(e,t,n){if(Me)return e(t,n);Me=!0;try{return Re(e,t,n)}finally{Me=!1,(null!==Se||null!==Ee)&&(Te(),Pe())}}function Ie(e,t){var r=e.stateNode;if(null===r)return null;var o=ko(r);if(null===o)return null;r=o[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(o=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!o;break e;default:e=!1}if(e)return null;if(r&&"function"!=typeof r)throw Error(n(231,t,typeof r));return r}var Ne=!1;if(s)try{var Ae={};Object.defineProperty(Ae,"passive",{get:function(){Ne=!0}}),window.addEventListener("test",Ae,Ae),window.removeEventListener("test",Ae,Ae)}catch(e){Ne=!1}function je(e,t,n,r,o,a,i,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}var ze=!1,_e=null,Le=!1,Fe=null,De={onError:function(e){ze=!0,_e=e}};function We(e,t,n,r,o,a,i,l,s){ze=!1,_e=null,je.apply(De,arguments)}function Be(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 Ue(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 Ve(e){if(Be(e)!==e)throw Error(n(188))}function He(e){return e=function(e){var t=e.alternate;if(!t){if(null===(t=Be(e)))throw Error(n(188));return t!==e?null:e}for(var r=e,o=t;;){var a=r.return;if(null===a)break;var i=a.alternate;if(null===i){if(null!==(o=a.return)){r=o;continue}break}if(a.child===i.child){for(i=a.child;i;){if(i===r)return Ve(a),e;if(i===o)return Ve(a),t;i=i.sibling}throw Error(n(188))}if(r.return!==o.return)r=a,o=i;else{for(var l=!1,s=a.child;s;){if(s===r){l=!0,r=a,o=i;break}if(s===o){l=!0,o=a,r=i;break}s=s.sibling}if(!l){for(s=i.child;s;){if(s===r){l=!0,r=i,o=a;break}if(s===o){l=!0,o=i,r=a;break}s=s.sibling}if(!l)throw Error(n(189))}}if(r.alternate!==o)throw Error(n(190))}if(3!==r.tag)throw Error(n(188));return r.stateNode.current===r?e:t}(e),null!==e?qe(e):null}function qe(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=qe(e);if(null!==t)return t;e=e.sibling}return null}var Ke=t.unstable_scheduleCallback,Qe=t.unstable_cancelCallback,Ge=t.unstable_shouldYield,Xe=t.unstable_requestPaint,Ye=t.unstable_now,Je=t.unstable_getCurrentPriorityLevel,Ze=t.unstable_ImmediatePriority,et=t.unstable_UserBlockingPriority,tt=t.unstable_NormalPriority,nt=t.unstable_LowPriority,rt=t.unstable_IdlePriority,ot=null,at=null;var it=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(lt(e)/st|0)|0},lt=Math.log,st=Math.LN2;var ut=64,ct=4194304;function dt(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 pt(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=dt(l):0!==(a&=i)&&(r=dt(a))}else 0!==(i=n&~o)?r=dt(i):0!==a&&(r=dt(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-it(t)),r|=e[n],t&=~o;return r}function ft(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}}function ht(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=ut;return 0==(4194240&(ut<<=1))&&(ut=64),e}function vt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function gt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-it(t)]=n}function yt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-it(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var bt=0;function xt(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var wt,kt,St,Et,Ct,Ot=!1,Pt=[],Rt=null,Tt=null,Mt=null,$t=new Map,It=new Map,Nt=[],At="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 jt(e,t){switch(e){case"focusin":case"focusout":Rt=null;break;case"dragenter":case"dragleave":Tt=null;break;case"mouseover":case"mouseout":Mt=null;break;case"pointerover":case"pointerout":$t.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":It.delete(t.pointerId)}}function zt(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=xo(t))&&kt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function _t(e){var t=bo(e.target);if(null!==t){var n=Be(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ue(n)))return e.blockedOn=t,void Ct(e.priority,(function(){St(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Lt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Gt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=xo(n))&&kt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);xe=r,n.target.dispatchEvent(r),xe=null,t.shift()}return!0}function Ft(e,t,n){Lt(e)&&n.delete(t)}function Dt(){Ot=!1,null!==Rt&&Lt(Rt)&&(Rt=null),null!==Tt&&Lt(Tt)&&(Tt=null),null!==Mt&&Lt(Mt)&&(Mt=null),$t.forEach(Ft),It.forEach(Ft)}function Wt(e,n){e.blockedOn===n&&(e.blockedOn=null,Ot||(Ot=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Dt)))}function Bt(e){function t(t){return Wt(t,e)}if(0<Pt.length){Wt(Pt[0],e);for(var n=1;n<Pt.length;n++){var r=Pt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Rt&&Wt(Rt,e),null!==Tt&&Wt(Tt,e),null!==Mt&&Wt(Mt,e),$t.forEach(t),It.forEach(t),n=0;n<Nt.length;n++)(r=Nt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Nt.length&&null===(n=Nt[0]).blockedOn;)_t(n),null===n.blockedOn&&Nt.shift()}var Ut=w.ReactCurrentBatchConfig,Vt=!0;function Ht(e,t,n,r){var o=bt,a=Ut.transition;Ut.transition=null;try{bt=1,Kt(e,t,n,r)}finally{bt=o,Ut.transition=a}}function qt(e,t,n,r){var o=bt,a=Ut.transition;Ut.transition=null;try{bt=4,Kt(e,t,n,r)}finally{bt=o,Ut.transition=a}}function Kt(e,t,n,r){if(Vt){var o=Gt(e,t,n,r);if(null===o)Vr(e,t,r,Qt,n),jt(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return Rt=zt(Rt,e,t,n,r,o),!0;case"dragenter":return Tt=zt(Tt,e,t,n,r,o),!0;case"mouseover":return Mt=zt(Mt,e,t,n,r,o),!0;case"pointerover":var a=o.pointerId;return $t.set(a,zt($t.get(a)||null,e,t,n,r,o)),!0;case"gotpointercapture":return a=o.pointerId,It.set(a,zt(It.get(a)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(jt(e,r),4&t&&-1<At.indexOf(e)){for(;null!==o;){var a=xo(o);if(null!==a&&wt(a),null===(a=Gt(e,t,n,r))&&Vr(e,t,r,Qt,n),a===o)break;o=a}null!==o&&r.stopPropagation()}else Vr(e,t,r,null,n)}}var Qt=null;function Gt(e,t,n,r){if(Qt=null,null!==(e=bo(e=we(r))))if(null===(t=Be(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Ue(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 Qt=e,null}function Xt(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(Je()){case Ze:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Yt=null,Jt=null,Zt=null;function en(){if(Zt)return Zt;var e,t,n=Jt,r=n.length,o="value"in Yt?Yt.value:Yt.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 Zt=o.slice(e,1<t?1-t:void 0)}function tn(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 nn(){return!0}function rn(){return!1}function on(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)?nn:rn,this.isPropagationStopped=rn,this}return L(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=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var an,ln,sn,un={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=on(un),dn=L({},un,{view:0,detail:0}),pn=on(dn),fn=L({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cn,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!==sn&&(sn&&"mousemove"===e.type?(an=e.screenX-sn.screenX,ln=e.screenY-sn.screenY):ln=an=0,sn=e),an)},movementY:function(e){return"movementY"in e?e.movementY:ln}}),hn=on(fn),mn=on(L({},fn,{dataTransfer:0})),vn=on(L({},dn,{relatedTarget:0})),gn=on(L({},un,{animationName:0,elapsedTime:0,pseudoElement:0})),yn=L({},un,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=on(yn),xn=on(L({},un,{data:0})),wn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},kn={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"},Sn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function En(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Sn[e])&&!!t[e]}function Cn(){return En}var On=L({},dn,{key:function(e){if(e.key){var t=wn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?kn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Pn=on(On),Rn=on(L({},fn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Tn=on(L({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cn})),Mn=on(L({},un,{propertyName:0,elapsedTime:0,pseudoElement:0})),$n=L({},fn,{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}),In=on($n),Nn=[9,13,27,32],An=s&&"CompositionEvent"in window,jn=null;s&&"documentMode"in document&&(jn=document.documentMode);var zn=s&&"TextEvent"in window&&!jn,_n=s&&(!An||jn&&8<jn&&11>=jn),Ln=String.fromCharCode(32),Fn=!1;function Dn(e,t){switch(e){case"keyup":return-1!==Nn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Wn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Bn=!1;var Un={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 Vn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Un[e.type]:"textarea"===t}function Hn(e,t,n,r){Oe(r),0<(t=qr(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var qn=null,Kn=null;function Qn(e){Lr(e,0)}function Gn(e){if(Q(wo(e)))return e}function Xn(e,t){if("change"===e)return t}var Yn=!1;if(s){var Jn;if(s){var Zn="oninput"in document;if(!Zn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Zn="function"==typeof er.oninput}Jn=Zn}else Jn=!1;Yn=Jn&&(!document.documentMode||9<document.documentMode)}function tr(){qn&&(qn.detachEvent("onpropertychange",nr),Kn=qn=null)}function nr(e){if("value"===e.propertyName&&Gn(Kn)){var t=[];Hn(t,Kn,e,we(e)),$e(Qn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Kn=n,(qn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function or(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Gn(Kn)}function ar(e,t){if("click"===e)return Gn(t)}function ir(e,t){if("input"===e||"change"===e)return Gn(t)}var lr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function sr(e,t){if(lr(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(!u.call(t,o)||!lr(e[o],t[o]))return!1}return!0}function ur(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cr(e,t){var n,r=ur(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=ur(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function pr(){for(var e=window,t=G();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=G((e=t.contentWindow).document)}return t}function fr(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)}function hr(e){var t=pr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&fr(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=cr(n,a);var i=cr(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}}var mr=s&&"documentMode"in document&&11>=document.documentMode,vr=null,gr=null,yr=null,br=!1;function xr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==vr||vr!==G(r)||("selectionStart"in(r=vr)&&fr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},yr&&sr(yr,r)||(yr=r,0<(r=qr(gr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=vr)))}function wr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var kr={animationend:wr("Animation","AnimationEnd"),animationiteration:wr("Animation","AnimationIteration"),animationstart:wr("Animation","AnimationStart"),transitionend:wr("Transition","TransitionEnd")},Sr={},Er={};function Cr(e){if(Sr[e])return Sr[e];if(!kr[e])return e;var t,n=kr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Er)return Sr[e]=n[t];return e}s&&(Er=document.createElement("div").style,"AnimationEvent"in window||(delete kr.animationend.animation,delete kr.animationiteration.animation,delete kr.animationstart.animation),"TransitionEvent"in window||delete kr.transitionend.transition);var Or=Cr("animationend"),Pr=Cr("animationiteration"),Rr=Cr("animationstart"),Tr=Cr("transitionend"),Mr=new Map,$r="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 Ir(e,t){Mr.set(e,t),a(t,[e])}for(var Nr=0;Nr<$r.length;Nr++){var Ar=$r[Nr];Ir(Ar.toLowerCase(),"on"+(Ar[0].toUpperCase()+Ar.slice(1)))}Ir(Or,"onAnimationEnd"),Ir(Pr,"onAnimationIteration"),Ir(Rr,"onAnimationStart"),Ir("dblclick","onDoubleClick"),Ir("focusin","onFocus"),Ir("focusout","onBlur"),Ir(Tr,"onTransitionEnd"),i("onMouseEnter",["mouseout","mouseover"]),i("onMouseLeave",["mouseout","mouseover"]),i("onPointerEnter",["pointerout","pointerover"]),i("onPointerLeave",["pointerout","pointerover"]),a("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),a("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),a("onBeforeInput",["compositionend","keypress","textInput","paste"]),a("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),a("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),a("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var jr="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(" "),zr=new Set("cancel close invalid load scroll toggle".split(" ").concat(jr));function _r(e,t,r){var o=e.type||"unknown-event";e.currentTarget=r,function(e,t,r,o,a,i,l,s,u){if(We.apply(this,arguments),ze){if(!ze)throw Error(n(198));var c=_e;ze=!1,_e=null,Le||(Le=!0,Fe=c)}}(o,t,void 0,e),e.currentTarget=null}function Lr(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],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==a&&o.isPropagationStopped())break e;_r(o,l,u),a=s}else for(i=0;i<r.length;i++){if(s=(l=r[i]).instance,u=l.currentTarget,l=l.listener,s!==a&&o.isPropagationStopped())break e;_r(o,l,u),a=s}}}if(Le)throw e=Fe,Le=!1,Fe=null,e}function Fr(e,t){var n=t[vo];void 0===n&&(n=t[vo]=new Set);var r=e+"__bubble";n.has(r)||(Ur(t,e,2,!1),n.add(r))}function Dr(e,t,n){var r=0;t&&(r|=4),Ur(n,e,r,t)}var Wr="_reactListening"+Math.random().toString(36).slice(2);function Br(e){if(!e[Wr]){e[Wr]=!0,r.forEach((function(t){"selectionchange"!==t&&(zr.has(t)||Dr(t,!1,e),Dr(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Wr]||(t[Wr]=!0,Dr("selectionchange",!1,t))}}function Ur(e,t,n,r){switch(Xt(t)){case 1:var o=Ht;break;case 4:o=qt;break;default:o=Kt}n=o.bind(null,t,n,e),o=void 0,!Ne||"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 Vr(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 s=i.tag;if((3===s||4===s)&&((s=i.stateNode.containerInfo)===o||8===s.nodeType&&s.parentNode===o))return;i=i.return}for(;null!==l;){if(null===(i=bo(l)))return;if(5===(s=i.tag)||6===s){r=a=i;continue e}l=l.parentNode}}r=r.return}$e((function(){var r=a,o=we(n),i=[];e:{var l=Mr.get(e);if(void 0!==l){var s=cn,u=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":s=Pn;break;case"focusin":u="focus",s=vn;break;case"focusout":u="blur",s=vn;break;case"beforeblur":case"afterblur":s=vn;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":s=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=Tn;break;case Or:case Pr:case Rr:s=gn;break;case Tr:s=Mn;break;case"scroll":s=pn;break;case"wheel":s=In;break;case"copy":case"cut":case"paste":s=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=Rn}var c=0!=(4&t),d=!c&&"scroll"===e,p=c?null!==l?l+"Capture":null:l;c=[];for(var f,h=r;null!==h;){var m=(f=h).stateNode;if(5===f.tag&&null!==m&&(f=m,null!==p&&(null!=(m=Ie(h,p))&&c.push(Hr(h,m,f)))),d)break;h=h.return}0<c.length&&(l=new s(l,u,null,n,o),i.push({event:l,listeners:c}))}}if(0==(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===xe||!(u=n.relatedTarget||n.fromElement)||!bo(u)&&!u[mo])&&(s||l)&&(l=o.window===o?o:(l=o.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=r,null!==(u=(u=n.relatedTarget||n.toElement)?bo(u):null)&&(u!==(d=Be(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(s=null,u=r),s!==u)){if(c=hn,m="onMouseLeave",p="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=Rn,m="onPointerLeave",p="onPointerEnter",h="pointer"),d=null==s?l:wo(s),f=null==u?l:wo(u),(l=new c(m,h+"leave",s,n,o)).target=d,l.relatedTarget=f,m=null,bo(o)===r&&((c=new c(p,h+"enter",u,n,o)).target=f,c.relatedTarget=d,m=c),d=m,s&&u)e:{for(p=u,h=0,f=c=s;f;f=Kr(f))h++;for(f=0,m=p;m;m=Kr(m))f++;for(;0<h-f;)c=Kr(c),h--;for(;0<f-h;)p=Kr(p),f--;for(;h--;){if(c===p||null!==p&&c===p.alternate)break e;c=Kr(c),p=Kr(p)}c=null}else c=null;null!==s&&Qr(i,l,s,c,!1),null!==u&&null!==d&&Qr(i,d,u,c,!0)}if("select"===(s=(l=r?wo(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var v=Xn;else if(Vn(l))if(Yn)v=ir;else{v=or;var g=rr}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(v=ar);switch(v&&(v=v(e,r))?Hn(i,v,n,o):(g&&g(e,l,r),"focusout"===e&&(g=l._wrapperState)&&g.controlled&&"number"===l.type&&te(l,"number",l.value)),g=r?wo(r):window,e){case"focusin":(Vn(g)||"true"===g.contentEditable)&&(vr=g,gr=r,yr=null);break;case"focusout":yr=gr=vr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,xr(i,n,o);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":xr(i,n,o)}var y;if(An)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Bn?Dn(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(_n&&"ko"!==n.locale&&(Bn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Bn&&(y=en()):(Jt="value"in(Yt=o)?Yt.value:Yt.textContent,Bn=!0)),0<(g=qr(r,b)).length&&(b=new xn(b,e,null,n,o),i.push({event:b,listeners:g}),y?b.data=y:null!==(y=Wn(n))&&(b.data=y))),(y=zn?function(e,t){switch(e){case"compositionend":return Wn(t);case"keypress":return 32!==t.which?null:(Fn=!0,Ln);case"textInput":return(e=t.data)===Ln&&Fn?null:e;default:return null}}(e,n):function(e,t){if(Bn)return"compositionend"===e||!An&&Dn(e,t)?(e=en(),Zt=Jt=Yt=null,Bn=!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 _n&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=qr(r,"onBeforeInput")).length&&(o=new xn("onBeforeInput","beforeinput",null,n,o),i.push({event:o,listeners:r}),o.data=y))}Lr(i,t)}))}function Hr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function qr(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=Ie(e,n))&&r.unshift(Hr(e,a,o)),null!=(a=Ie(e,t))&&r.push(Hr(e,a,o))),e=e.return}return r}function Kr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Qr(e,t,n,r,o){for(var a=t._reactName,i=[];null!==n&&n!==r;){var l=n,s=l.alternate,u=l.stateNode;if(null!==s&&s===r)break;5===l.tag&&null!==u&&(l=u,o?null!=(s=Ie(n,a))&&i.unshift(Hr(n,s,l)):o||null!=(s=Ie(n,a))&&i.push(Hr(n,s,l))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var Gr=/\r\n?/g,Xr=/\u0000|\uFFFD/g;function Yr(e){return("string"==typeof e?e:""+e).replace(Gr,"\n").replace(Xr,"")}function Jr(e,t,r){if(t=Yr(t),Yr(e)!==t&&r)throw Error(n(425))}function Zr(){}var eo=null,to=null;function no(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 ro="function"==typeof setTimeout?setTimeout:void 0,oo="function"==typeof clearTimeout?clearTimeout:void 0,ao="function"==typeof Promise?Promise:void 0,io="function"==typeof queueMicrotask?queueMicrotask:void 0!==ao?function(e){return ao.resolve(null).then(e).catch(lo)}:ro;function lo(e){setTimeout((function(){throw e}))}function so(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)return e.removeChild(o),void Bt(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);Bt(t)}function uo(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 co(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 po=Math.random().toString(36).slice(2),fo="__reactFiber$"+po,ho="__reactProps$"+po,mo="__reactContainer$"+po,vo="__reactEvents$"+po,go="__reactListeners$"+po,yo="__reactHandles$"+po;function bo(e){var t=e[fo];if(t)return t;for(var n=e.parentNode;n;){if(t=n[mo]||n[fo]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=co(e);null!==e;){if(n=e[fo])return n;e=co(e)}return t}n=(e=n).parentNode}return null}function xo(e){return!(e=e[fo]||e[mo])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function wo(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(n(33))}function ko(e){return e[ho]||null}var So=[],Eo=-1;function Co(e){return{current:e}}function Oo(e){0>Eo||(e.current=So[Eo],So[Eo]=null,Eo--)}function Po(e,t){Eo++,So[Eo]=e.current,e.current=t}var Ro={},To=Co(Ro),Mo=Co(!1),$o=Ro;function Io(e,t){var n=e.type.contextTypes;if(!n)return Ro;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 No(e){return null!=(e=e.childContextTypes)}function Ao(){Oo(Mo),Oo(To)}function jo(e,t,r){if(To.current!==Ro)throw Error(n(168));Po(To,t),Po(Mo,r)}function zo(e,t,r){var o=e.stateNode;if(t=t.childContextTypes,"function"!=typeof o.getChildContext)return r;for(var a in o=o.getChildContext())if(!(a in t))throw Error(n(108,V(e)||"Unknown",a));return L({},r,o)}function _o(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ro,$o=To.current,Po(To,e),Po(Mo,Mo.current),!0}function Lo(e,t,r){var o=e.stateNode;if(!o)throw Error(n(169));r?(e=zo(e,t,$o),o.__reactInternalMemoizedMergedChildContext=e,Oo(Mo),Oo(To),Po(To,e)):Oo(Mo),Po(Mo,r)}var Fo=null,Do=!1,Wo=!1;function Bo(e){null===Fo?Fo=[e]:Fo.push(e)}function Uo(){if(!Wo&&null!==Fo){Wo=!0;var e=0,t=bt;try{var n=Fo;for(bt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Fo=null,Do=!1}catch(t){throw null!==Fo&&(Fo=Fo.slice(e+1)),Ke(Ze,Uo),t}finally{bt=t,Wo=!1}}return null}var Vo=[],Ho=0,qo=null,Ko=0,Qo=[],Go=0,Xo=null,Yo=1,Jo="";function Zo(e,t){Vo[Ho++]=Ko,Vo[Ho++]=qo,qo=e,Ko=t}function ea(e,t,n){Qo[Go++]=Yo,Qo[Go++]=Jo,Qo[Go++]=Xo,Xo=e;var r=Yo;e=Jo;var o=32-it(r)-1;r&=~(1<<o),n+=1;var a=32-it(t)+o;if(30<a){var i=o-o%5;a=(r&(1<<i)-1).toString(32),r>>=i,o-=i,Yo=1<<32-it(t)+o|n<<o|r,Jo=a+e}else Yo=1<<a|n<<o|r,Jo=e}function ta(e){null!==e.return&&(Zo(e,1),ea(e,1,0))}function na(e){for(;e===qo;)qo=Vo[--Ho],Vo[Ho]=null,Ko=Vo[--Ho],Vo[Ho]=null;for(;e===Xo;)Xo=Qo[--Go],Qo[Go]=null,Jo=Qo[--Go],Qo[Go]=null,Yo=Qo[--Go],Qo[Go]=null}var ra=null,oa=null,aa=!1,ia=null;function la(e,t){var n=Iu(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 sa(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,ra=e,oa=uo(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ra=e,oa=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Xo?{id:Yo,overflow:Jo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Iu(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ra=e,oa=null,!0);default:return!1}}function ua(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function ca(e){if(aa){var t=oa;if(t){var r=t;if(!sa(e,t)){if(ua(e))throw Error(n(418));t=uo(r.nextSibling);var o=ra;t&&sa(e,t)?la(o,r):(e.flags=-4097&e.flags|2,aa=!1,ra=e)}}else{if(ua(e))throw Error(n(418));e.flags=-4097&e.flags|2,aa=!1,ra=e}}}function da(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ra=e}function pa(e){if(e!==ra)return!1;if(!aa)return da(e),aa=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!no(e.type,e.memoizedProps)),t&&(t=oa)){if(ua(e))throw fa(),Error(n(418));for(;t;)la(e,t),t=uo(t.nextSibling)}if(da(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(n(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var r=e.data;if("/$"===r){if(0===t){oa=uo(e.nextSibling);break e}t--}else"$"!==r&&"$!"!==r&&"$?"!==r||t++}e=e.nextSibling}oa=null}}else oa=ra?uo(e.stateNode.nextSibling):null;return!0}function fa(){for(var e=oa;e;)e=uo(e.nextSibling)}function ha(){oa=ra=null,aa=!1}function ma(e){null===ia?ia=[e]:ia.push(e)}var va=w.ReactCurrentBatchConfig;function ga(e,t){if(e&&e.defaultProps){for(var n in t=L({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var ya=Co(null),ba=null,xa=null,wa=null;function ka(){wa=xa=ba=null}function Sa(e){var t=ya.current;Oo(ya),e._currentValue=t}function Ea(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 Ca(e,t){ba=e,wa=xa=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(xl=!0),e.firstContext=null)}function Oa(e){var t=e._currentValue;if(wa!==e)if(e={context:e,memoizedValue:t,next:null},null===xa){if(null===ba)throw Error(n(308));xa=e,ba.dependencies={lanes:0,firstContext:e}}else xa=xa.next=e;return t}var Pa=null;function Ra(e){null===Pa?Pa=[e]:Pa.push(e)}function Ta(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,Ra(t)):(n.next=o.next,o.next=n),t.interleaved=n,Ma(e,r)}function Ma(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 $a=!1;function Ia(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Na(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 Aa(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function ja(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&Ts)){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Ma(e,n)}return null===(o=r.interleaved)?(t.next=t,Ra(r)):(t.next=o.next,o.next=t),r.interleaved=t,Ma(e,n)}function za(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}function _a(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;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function La(e,t,n,r){var o=e.updateQueue;$a=!1;var a=o.firstBaseUpdate,i=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var s=l,u=s.next;s.next=null,null===i?a=u:i.next=u,i=s;var c=e.alternate;null!==c&&((l=(c=c.updateQueue).lastBaseUpdate)!==i&&(null===l?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=s))}if(null!==a){var d=o.baseState;for(i=0,c=u=s=null,l=a;;){var p=l.lane,f=l.eventTime;if((r&p)===p){null!==c&&(c=c.next={eventTime:f,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var h=e,m=l;switch(p=t,f=n,m.tag){case 1:if("function"==typeof(h=m.payload)){d=h.call(f,d,p);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(p="function"==typeof(h=m.payload)?h.call(f,d,p):h))break e;d=L({},d,p);break e;case 2:$a=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(p=o.effects)?o.effects=[l]:p.push(l))}else f={eventTime:f,lane:p,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===c?(u=c=f,s=d):c=c.next=f,i|=p;if(null===(l=l.next)){if(null===(l=o.shared.pending))break;l=(p=l).next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}}if(null===c&&(s=d),o.baseState=s,o.firstBaseUpdate=u,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);_s|=i,e.lanes=i,e.memoizedState=d}}function Fa(e,t,r){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var o=e[t],a=o.callback;if(null!==a){if(o.callback=null,o=r,"function"!=typeof a)throw Error(n(191,a));a.call(o)}}}var Da=(new e.Component).refs;function Wa(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:L({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Ba={isMounted:function(e){return!!(e=e._reactInternals)&&Be(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=tu(),o=nu(e),a=Aa(r,o);a.payload=t,null!=n&&(a.callback=n),null!==(t=ja(e,a,o))&&(ru(t,e,o,r),za(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=tu(),o=nu(e),a=Aa(r,o);a.tag=1,a.payload=t,null!=n&&(a.callback=n),null!==(t=ja(e,a,o))&&(ru(t,e,o,r),za(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=tu(),r=nu(e),o=Aa(n,r);o.tag=2,null!=t&&(o.callback=t),null!==(t=ja(e,o,r))&&(ru(t,e,r,n),za(t,e,r))}};function Ua(e,t,n,r,o,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,i):!t.prototype||!t.prototype.isPureReactComponent||(!sr(n,r)||!sr(o,a))}function Va(e,t,n){var r=!1,o=Ro,a=t.contextType;return"object"==typeof a&&null!==a?a=Oa(a):(o=No(t)?$o:To.current,a=(r=null!=(r=t.contextTypes))?Io(e,o):Ro),t=new t(n,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Ba,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function Ha(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&&Ba.enqueueReplaceState(t,t.state,null)}function qa(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=Da,Ia(e);var a=t.contextType;"object"==typeof a&&null!==a?o.context=Oa(a):(a=No(t)?$o:To.current,o.context=Io(e,a)),o.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&(Wa(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&&Ba.enqueueReplaceState(o,o.state,null),La(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function Ka(e,t,r){if(null!==(e=r.ref)&&"function"!=typeof e&&"object"!=typeof e){if(r._owner){if(r=r._owner){if(1!==r.tag)throw Error(n(309));var o=r.stateNode}if(!o)throw Error(n(147,e));var a=o,i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=a.refs;t===Da&&(t=a.refs={}),null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(n(284));if(!r._owner)throw Error(n(290,e))}return e}function Qa(e,t){throw e=Object.prototype.toString.call(t),Error(n(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Ga(e){return(0,e._init)(e._payload)}function Xa(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function r(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function o(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 a(e,t){return(e=Au(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function l(t){return e&&null===t.alternate&&(t.flags|=2),t}function s(e,t,n,r){return null===t||6!==t.tag?((t=Lu(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function u(e,t,n,r){var o=n.type;return o===E?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===N&&Ga(o)===t.type)?((r=a(t,n.props)).ref=Ka(e,t,n),r.return=e,r):((r=ju(n.type,n.key,n.props,null,e.mode,r)).ref=Ka(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Fu(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function d(e,t,n,r,o){return null===t||7!==t.tag?((t=zu(n,e.mode,r,o)).return=e,t):((t=a(t,n)).return=e,t)}function p(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Lu(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case k:return(n=ju(t.type,t.key,t.props,null,e.mode,n)).ref=Ka(e,null,t),n.return=e,n;case S:return(t=Fu(t,e.mode,n)).return=e,t;case N:return p(e,(0,t._init)(t._payload),n)}if(ne(t)||z(t))return(t=zu(t,e.mode,n,null)).return=e,t;Qa(e,t)}return null}function f(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==o?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case k:return n.key===o?u(e,t,n,r):null;case S:return n.key===o?c(e,t,n,r):null;case N:return f(e,t,(o=n._init)(n._payload),r)}if(ne(n)||z(n))return null!==o?null:d(e,t,n,r,null);Qa(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r)return s(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case k:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case S:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case N:return h(e,t,n,(0,r._init)(r._payload),o)}if(ne(r)||z(r))return d(t,e=e.get(n)||null,r,o,null);Qa(t,r)}return null}function m(n,a,l,s){for(var u=null,c=null,d=a,m=a=0,v=null;null!==d&&m<l.length;m++){d.index>m?(v=d,d=null):v=d.sibling;var g=f(n,d,l[m],s);if(null===g){null===d&&(d=v);break}e&&d&&null===g.alternate&&t(n,d),a=i(g,a,m),null===c?u=g:c.sibling=g,c=g,d=v}if(m===l.length)return r(n,d),aa&&Zo(n,m),u;if(null===d){for(;m<l.length;m++)null!==(d=p(n,l[m],s))&&(a=i(d,a,m),null===c?u=d:c.sibling=d,c=d);return aa&&Zo(n,m),u}for(d=o(n,d);m<l.length;m++)null!==(v=h(d,n,m,l[m],s))&&(e&&null!==v.alternate&&d.delete(null===v.key?m:v.key),a=i(v,a,m),null===c?u=v:c.sibling=v,c=v);return e&&d.forEach((function(e){return t(n,e)})),aa&&Zo(n,m),u}function v(a,l,s,u){var c=z(s);if("function"!=typeof c)throw Error(n(150));if(null==(s=c.call(s)))throw Error(n(151));for(var d=c=null,m=l,v=l=0,g=null,y=s.next();null!==m&&!y.done;v++,y=s.next()){m.index>v?(g=m,m=null):g=m.sibling;var b=f(a,m,y.value,u);if(null===b){null===m&&(m=g);break}e&&m&&null===b.alternate&&t(a,m),l=i(b,l,v),null===d?c=b:d.sibling=b,d=b,m=g}if(y.done)return r(a,m),aa&&Zo(a,v),c;if(null===m){for(;!y.done;v++,y=s.next())null!==(y=p(a,y.value,u))&&(l=i(y,l,v),null===d?c=y:d.sibling=y,d=y);return aa&&Zo(a,v),c}for(m=o(a,m);!y.done;v++,y=s.next())null!==(y=h(m,a,v,y.value,u))&&(e&&null!==y.alternate&&m.delete(null===y.key?v:y.key),l=i(y,l,v),null===d?c=y:d.sibling=y,d=y);return e&&m.forEach((function(e){return t(a,e)})),aa&&Zo(a,v),c}return function e(n,o,i,s){if("object"==typeof i&&null!==i&&i.type===E&&null===i.key&&(i=i.props.children),"object"==typeof i&&null!==i){switch(i.$$typeof){case k:e:{for(var u=i.key,c=o;null!==c;){if(c.key===u){if((u=i.type)===E){if(7===c.tag){r(n,c.sibling),(o=a(c,i.props.children)).return=n,n=o;break e}}else if(c.elementType===u||"object"==typeof u&&null!==u&&u.$$typeof===N&&Ga(u)===c.type){r(n,c.sibling),(o=a(c,i.props)).ref=Ka(n,c,i),o.return=n,n=o;break e}r(n,c);break}t(n,c),c=c.sibling}i.type===E?((o=zu(i.props.children,n.mode,s,i.key)).return=n,n=o):((s=ju(i.type,i.key,i.props,null,n.mode,s)).ref=Ka(n,o,i),s.return=n,n=s)}return l(n);case S:e:{for(c=i.key;null!==o;){if(o.key===c){if(4===o.tag&&o.stateNode.containerInfo===i.containerInfo&&o.stateNode.implementation===i.implementation){r(n,o.sibling),(o=a(o,i.children||[])).return=n,n=o;break e}r(n,o);break}t(n,o),o=o.sibling}(o=Fu(i,n.mode,s)).return=n,n=o}return l(n);case N:return e(n,o,(c=i._init)(i._payload),s)}if(ne(i))return m(n,o,i,s);if(z(i))return v(n,o,i,s);Qa(n,i)}return"string"==typeof i&&""!==i||"number"==typeof i?(i=""+i,null!==o&&6===o.tag?(r(n,o.sibling),(o=a(o,i)).return=n,n=o):(r(n,o),(o=Lu(i,n.mode,s)).return=n,n=o),l(n)):r(n,o)}}var Ya=Xa(!0),Ja=Xa(!1),Za={},ei=Co(Za),ti=Co(Za),ni=Co(Za);function ri(e){if(e===Za)throw Error(n(174));return e}function oi(e,t){switch(Po(ni,t),Po(ti,e),Po(ei,Za),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ue(null,"");break;default:t=ue(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Oo(ei),Po(ei,t)}function ai(){Oo(ei),Oo(ti),Oo(ni)}function ii(e){ri(ni.current);var t=ri(ei.current),n=ue(t,e.type);t!==n&&(Po(ti,e),Po(ei,n))}function li(e){ti.current===e&&(Oo(ei),Oo(ti))}var si=Co(0);function ui(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 ci=[];function di(){for(var e=0;e<ci.length;e++)ci[e]._workInProgressVersionPrimary=null;ci.length=0}var pi=w.ReactCurrentDispatcher,fi=w.ReactCurrentBatchConfig,hi=0,mi=null,vi=null,gi=null,yi=!1,bi=!1,xi=0,wi=0;function ki(){throw Error(n(321))}function Si(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!lr(e[n],t[n]))return!1;return!0}function Ei(e,t,r,o,a,i){if(hi=i,mi=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,pi.current=null===e||null===e.memoizedState?ll:sl,e=r(o,a),bi){i=0;do{if(bi=!1,xi=0,25<=i)throw Error(n(301));i+=1,gi=vi=null,t.updateQueue=null,pi.current=ul,e=r(o,a)}while(bi)}if(pi.current=il,t=null!==vi&&null!==vi.next,hi=0,gi=vi=mi=null,yi=!1,t)throw Error(n(300));return e}function Ci(){var e=0!==xi;return xi=0,e}function Oi(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===gi?mi.memoizedState=gi=e:gi=gi.next=e,gi}function Pi(){if(null===vi){var e=mi.alternate;e=null!==e?e.memoizedState:null}else e=vi.next;var t=null===gi?mi.memoizedState:gi.next;if(null!==t)gi=t,vi=e;else{if(null===e)throw Error(n(310));e={memoizedState:(vi=e).memoizedState,baseState:vi.baseState,baseQueue:vi.baseQueue,queue:vi.queue,next:null},null===gi?mi.memoizedState=gi=e:gi=gi.next=e}return gi}function Ri(e,t){return"function"==typeof t?t(e):t}function Ti(e){var t=Pi(),r=t.queue;if(null===r)throw Error(n(311));r.lastRenderedReducer=e;var o=vi,a=o.baseQueue,i=r.pending;if(null!==i){if(null!==a){var l=a.next;a.next=i.next,i.next=l}o.baseQueue=a=i,r.pending=null}if(null!==a){i=a.next,o=o.baseState;var s=l=null,u=null,c=i;do{var d=c.lane;if((hi&d)===d)null!==u&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),o=c.hasEagerState?c.eagerState:e(o,c.action);else{var p={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===u?(s=u=p,l=o):u=u.next=p,mi.lanes|=d,_s|=d}c=c.next}while(null!==c&&c!==i);null===u?l=o:u.next=s,lr(o,t.memoizedState)||(xl=!0),t.memoizedState=o,t.baseState=l,t.baseQueue=u,r.lastRenderedState=o}if(null!==(e=r.interleaved)){a=e;do{i=a.lane,mi.lanes|=i,_s|=i,a=a.next}while(a!==e)}else null===a&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function Mi(e){var t=Pi(),r=t.queue;if(null===r)throw Error(n(311));r.lastRenderedReducer=e;var o=r.dispatch,a=r.pending,i=t.memoizedState;if(null!==a){r.pending=null;var l=a=a.next;do{i=e(i,l.action),l=l.next}while(l!==a);lr(i,t.memoizedState)||(xl=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),r.lastRenderedState=i}return[i,o]}function $i(){}function Ii(e,t){var r=mi,o=Pi(),a=t(),i=!lr(o.memoizedState,a);if(i&&(o.memoizedState=a,xl=!0),o=o.queue,Vi(ji.bind(null,r,o,e),[e]),o.getSnapshot!==t||i||null!==gi&&1&gi.memoizedState.tag){if(r.flags|=2048,Fi(9,Ai.bind(null,r,o,a,t),void 0,null),null===Ms)throw Error(n(349));0!=(30&hi)||Ni(r,t,a)}return a}function Ni(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=mi.updateQueue)?(t={lastEffect:null,stores:null},mi.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Ai(e,t,n,r){t.value=n,t.getSnapshot=r,zi(t)&&_i(e)}function ji(e,t,n){return n((function(){zi(t)&&_i(e)}))}function zi(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!lr(e,n)}catch(e){return!0}}function _i(e){var t=Ma(e,1);null!==t&&ru(t,e,1,-1)}function Li(e){var t=Oi();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ri,lastRenderedState:e},t.queue=e,e=e.dispatch=nl.bind(null,mi,e),[t.memoizedState,e]}function Fi(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=mi.updateQueue)?(t={lastEffect:null,stores:null},mi.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 Di(){return Pi().memoizedState}function Wi(e,t,n,r){var o=Oi();mi.flags|=e,o.memoizedState=Fi(1|t,n,void 0,void 0===r?null:r)}function Bi(e,t,n,r){var o=Pi();r=void 0===r?null:r;var a=void 0;if(null!==vi){var i=vi.memoizedState;if(a=i.destroy,null!==r&&Si(r,i.deps))return void(o.memoizedState=Fi(t,n,a,r))}mi.flags|=e,o.memoizedState=Fi(1|t,n,a,r)}function Ui(e,t){return Wi(8390656,8,e,t)}function Vi(e,t){return Bi(2048,8,e,t)}function Hi(e,t){return Bi(4,2,e,t)}function qi(e,t){return Bi(4,4,e,t)}function Ki(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Qi(e,t,n){return n=null!=n?n.concat([e]):null,Bi(4,4,Ki.bind(null,t,e),n)}function Gi(){}function Xi(e,t){var n=Pi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Si(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Yi(e,t){var n=Pi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Si(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ji(e,t,n){return 0==(21&hi)?(e.baseState&&(e.baseState=!1,xl=!0),e.memoizedState=n):(lr(n,t)||(n=mt(),mi.lanes|=n,_s|=n,e.baseState=!0),t)}function Zi(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var r=fi.transition;fi.transition={};try{e(!1),t()}finally{bt=n,fi.transition=r}}function el(){return Pi().memoizedState}function tl(e,t,n){var r=nu(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rl(e))ol(t,n);else if(null!==(n=Ta(e,t,n,r))){ru(n,e,r,tu()),al(n,t,r)}}function nl(e,t,n){var r=nu(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rl(e))ol(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,lr(l,i)){var s=t.interleaved;return null===s?(o.next=o,Ra(t)):(o.next=s.next,s.next=o),void(t.interleaved=o)}}catch(e){}null!==(n=Ta(e,t,o,r))&&(ru(n,e,r,o=tu()),al(n,t,r))}}function rl(e){var t=e.alternate;return e===mi||null!==t&&t===mi}function ol(e,t){bi=yi=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function al(e,t,n){if(0!=(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}var il={readContext:Oa,useCallback:ki,useContext:ki,useEffect:ki,useImperativeHandle:ki,useInsertionEffect:ki,useLayoutEffect:ki,useMemo:ki,useReducer:ki,useRef:ki,useState:ki,useDebugValue:ki,useDeferredValue:ki,useTransition:ki,useMutableSource:ki,useSyncExternalStore:ki,useId:ki,unstable_isNewReconciler:!1},ll={readContext:Oa,useCallback:function(e,t){return Oi().memoizedState=[e,void 0===t?null:t],e},useContext:Oa,useEffect:Ui,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Wi(4194308,4,Ki.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Wi(4194308,4,e,t)},useInsertionEffect:function(e,t){return Wi(4,2,e,t)},useMemo:function(e,t){var n=Oi();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Oi();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=tl.bind(null,mi,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Oi().memoizedState=e},useState:Li,useDebugValue:Gi,useDeferredValue:function(e){return Oi().memoizedState=e},useTransition:function(){var e=Li(!1),t=e[0];return e=Zi.bind(null,e[1]),Oi().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var o=mi,a=Oi();if(aa){if(void 0===r)throw Error(n(407));r=r()}else{if(r=t(),null===Ms)throw Error(n(349));0!=(30&hi)||Ni(o,t,r)}a.memoizedState=r;var i={value:r,getSnapshot:t};return a.queue=i,Ui(ji.bind(null,o,i,e),[e]),o.flags|=2048,Fi(9,Ai.bind(null,o,i,r,t),void 0,null),r},useId:function(){var e=Oi(),t=Ms.identifierPrefix;if(aa){var n=Jo;t=":"+t+"R"+(n=(Yo&~(1<<32-it(Yo)-1)).toString(32)+n),0<(n=xi++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=wi++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},sl={readContext:Oa,useCallback:Xi,useContext:Oa,useEffect:Vi,useImperativeHandle:Qi,useInsertionEffect:Hi,useLayoutEffect:qi,useMemo:Yi,useReducer:Ti,useRef:Di,useState:function(){return Ti(Ri)},useDebugValue:Gi,useDeferredValue:function(e){return Ji(Pi(),vi.memoizedState,e)},useTransition:function(){return[Ti(Ri)[0],Pi().memoizedState]},useMutableSource:$i,useSyncExternalStore:Ii,useId:el,unstable_isNewReconciler:!1},ul={readContext:Oa,useCallback:Xi,useContext:Oa,useEffect:Vi,useImperativeHandle:Qi,useInsertionEffect:Hi,useLayoutEffect:qi,useMemo:Yi,useReducer:Mi,useRef:Di,useState:function(){return Mi(Ri)},useDebugValue:Gi,useDeferredValue:function(e){var t=Pi();return null===vi?t.memoizedState=e:Ji(t,vi.memoizedState,e)},useTransition:function(){return[Mi(Ri)[0],Pi().memoizedState]},useMutableSource:$i,useSyncExternalStore:Ii,useId:el,unstable_isNewReconciler:!1};function cl(e,t){try{var n="",r=t;do{n+=B(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 dl(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function pl(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var fl="function"==typeof WeakMap?WeakMap:Map;function hl(e,t,n){(n=Aa(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Hs||(Hs=!0,qs=r),pl(0,t)},n}function ml(e,t,n){(n=Aa(-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(){pl(0,t)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(n.callback=function(){pl(0,t),"function"!=typeof r&&(null===Ks?Ks=new Set([this]):Ks.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function vl(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new fl;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=Ou.bind(null,e,t,n),t.then(e,e))}function gl(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 yl(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=Aa(-1,1)).tag=2,ja(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var bl=w.ReactCurrentOwner,xl=!1;function wl(e,t,n,r){t.child=null===e?Ja(t,null,n,r):Ya(t,e.child,n,r)}function kl(e,t,n,r,o){n=n.render;var a=t.ref;return Ca(t,o),r=Ei(e,t,n,r,a,o),n=Ci(),null===e||xl?(aa&&n&&ta(t),t.flags|=1,wl(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Hl(e,t,o))}function Sl(e,t,n,r,o){if(null===e){var a=n.type;return"function"!=typeof a||Nu(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=ju(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,El(e,t,a,r,o))}if(a=e.child,0==(e.lanes&o)){var i=a.memoizedProps;if((n=null!==(n=n.compare)?n:sr)(i,r)&&e.ref===t.ref)return Hl(e,t,o)}return t.flags|=1,(e=Au(a,r)).ref=t.ref,e.return=t,t.child=e}function El(e,t,n,r,o){if(null!==e){var a=e.memoizedProps;if(sr(a,r)&&e.ref===t.ref){if(xl=!1,t.pendingProps=r=a,0==(e.lanes&o))return t.lanes=e.lanes,Hl(e,t,o);0!=(131072&e.flags)&&(xl=!0)}}return Pl(e,t,n,r,o)}function Cl(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},Po(As,Ns),Ns|=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,Po(As,Ns),Ns|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==a?a.baseLanes:n,Po(As,Ns),Ns|=r}else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,Po(As,Ns),Ns|=r;return wl(e,t,o,n),t.child}function Ol(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Pl(e,t,n,r,o){var a=No(n)?$o:To.current;return a=Io(t,a),Ca(t,o),n=Ei(e,t,n,r,a,o),r=Ci(),null===e||xl?(aa&&r&&ta(t),t.flags|=1,wl(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Hl(e,t,o))}function Rl(e,t,n,r,o){if(No(n)){var a=!0;_o(t)}else a=!1;if(Ca(t,o),null===t.stateNode)Vl(e,t),Va(t,n,r),qa(t,n,r,o),r=!0;else if(null===e){var i=t.stateNode,l=t.memoizedProps;i.props=l;var s=i.context,u=n.contextType;"object"==typeof u&&null!==u?u=Oa(u):u=Io(t,u=No(n)?$o:To.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==r||s!==u)&&Ha(t,i,r,u),$a=!1;var p=t.memoizedState;i.state=p,La(t,r,i,o),s=t.memoizedState,l!==r||p!==s||Mo.current||$a?("function"==typeof c&&(Wa(t,n,c,r),s=t.memoizedState),(l=$a||Ua(t,n,l,r,p,s,u))?(d||"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=s),i.props=r,i.state=s,i.context=u,r=l):("function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Na(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:ga(t.type,l),i.props=u,d=t.pendingProps,p=i.context,"object"==typeof(s=n.contextType)&&null!==s?s=Oa(s):s=Io(t,s=No(n)?$o:To.current);var f=n.getDerivedStateFromProps;(c="function"==typeof f||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==d||p!==s)&&Ha(t,i,r,s),$a=!1,p=t.memoizedState,i.state=p,La(t,r,i,o);var h=t.memoizedState;l!==d||p!==h||Mo.current||$a?("function"==typeof f&&(Wa(t,n,f,r),h=t.memoizedState),(u=$a||Ua(t,n,u,r,p,h,s)||!1)?(c||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,h,s),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,h,s)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),i.props=r,i.state=h,i.context=s,r=u):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return Tl(e,t,n,r,a,o)}function Tl(e,t,n,r,o,a){Ol(e,t);var i=0!=(128&t.flags);if(!r&&!i)return o&&Lo(t,n,!1),Hl(e,t,a);r=t.stateNode,bl.current=t;var l=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=Ya(t,e.child,null,a),t.child=Ya(t,null,l,a)):wl(e,t,l,a),t.memoizedState=r.state,o&&Lo(t,n,!0),t.child}function Ml(e){var t=e.stateNode;t.pendingContext?jo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&jo(0,t.context,!1),oi(e,t.containerInfo)}function $l(e,t,n,r,o){return ha(),ma(o),t.flags|=256,wl(e,t,n,r),t.child}var Il,Nl,Al,jl,zl={dehydrated:null,treeContext:null,retryLane:0};function _l(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ll(e,t,r){var o,a=t.pendingProps,i=si.current,l=!1,s=0!=(128&t.flags);if((o=s)||(o=(null===e||null!==e.memoizedState)&&0!=(2&i)),o?(l=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),Po(si,1&i),null===e)return ca(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):(s=a.children,e=a.fallback,l?(a=t.mode,l=t.child,s={mode:"hidden",children:s},0==(1&a)&&null!==l?(l.childLanes=0,l.pendingProps=s):l=_u(s,a,0,null),e=zu(e,a,r,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=_l(r),t.memoizedState=zl,e):Fl(t,s));if(null!==(i=e.memoizedState)&&null!==(o=i.dehydrated))return function(e,t,r,o,a,i,l){if(r)return 256&t.flags?(t.flags&=-257,Dl(e,t,l,o=dl(Error(n(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=o.fallback,a=t.mode,o=_u({mode:"visible",children:o.children},a,0,null),(i=zu(i,a,l,null)).flags|=2,o.return=t,i.return=t,o.sibling=i,t.child=o,0!=(1&t.mode)&&Ya(t,e.child,null,l),t.child.memoizedState=_l(l),t.memoizedState=zl,i);if(0==(1&t.mode))return Dl(e,t,l,null);if("$!"===a.data){if(o=a.nextSibling&&a.nextSibling.dataset)var s=o.dgst;return o=s,Dl(e,t,l,o=dl(i=Error(n(419)),o,void 0))}if(s=0!=(l&e.childLanes),xl||s){if(null!==(o=Ms)){switch(l&-l){case 4:a=2;break;case 16:a=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:a=32;break;case 536870912:a=268435456;break;default:a=0}0!==(a=0!=(a&(o.suspendedLanes|l))?0:a)&&a!==i.retryLane&&(i.retryLane=a,Ma(e,a),ru(o,e,a,-1))}return vu(),Dl(e,t,l,o=dl(Error(n(421))))}return"$?"===a.data?(t.flags|=128,t.child=e.child,t=Ru.bind(null,e),a._reactRetry=t,null):(e=i.treeContext,oa=uo(a.nextSibling),ra=t,aa=!0,ia=null,null!==e&&(Qo[Go++]=Yo,Qo[Go++]=Jo,Qo[Go++]=Xo,Yo=e.id,Jo=e.overflow,Xo=t),t=Fl(t,o.children),t.flags|=4096,t)}(e,t,s,a,o,i,r);if(l){l=a.fallback,s=t.mode,o=(i=e.child).sibling;var u={mode:"hidden",children:a.children};return 0==(1&s)&&t.child!==i?((a=t.child).childLanes=0,a.pendingProps=u,t.deletions=null):(a=Au(i,u)).subtreeFlags=14680064&i.subtreeFlags,null!==o?l=Au(o,l):(l=zu(l,s,r,null)).flags|=2,l.return=t,a.return=t,a.sibling=l,t.child=a,a=l,l=t.child,s=null===(s=e.child.memoizedState)?_l(r):{baseLanes:s.baseLanes|r,cachePool:null,transitions:s.transitions},l.memoizedState=s,l.childLanes=e.childLanes&~r,t.memoizedState=zl,a}return e=(l=e.child).sibling,a=Au(l,{mode:"visible",children:a.children}),0==(1&t.mode)&&(a.lanes=r),a.return=t,a.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=a,t.memoizedState=null,a}function Fl(e,t){return(t=_u({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Dl(e,t,n,r){return null!==r&&ma(r),Ya(t,e.child,null,n),(e=Fl(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Wl(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Ea(e.return,t,n)}function Bl(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 Ul(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;if(wl(e,t,r.children,n),0!=(2&(r=si.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&&Wl(e,n,t);else if(19===e.tag)Wl(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Po(si,r),0==(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===ui(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Bl(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===ui(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Bl(t,!0,n,null,a);break;case"together":Bl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Vl(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Hl(e,t,r){if(null!==e&&(t.dependencies=e.dependencies),_s|=t.lanes,0==(r&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(n(153));if(null!==t.child){for(r=Au(e=t.child,e.pendingProps),t.child=r,r.return=t;null!==e.sibling;)e=e.sibling,(r=r.sibling=Au(e,e.pendingProps)).return=t;r.sibling=null}return t.child}function ql(e,t){if(!aa)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 Kl(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}function Ql(e,t,r){var a=t.pendingProps;switch(na(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Kl(t),null;case 1:case 17:return No(t.type)&&Ao(),Kl(t),null;case 3:return a=t.stateNode,ai(),Oo(Mo),Oo(To),di(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),null!==e&&null!==e.child||(pa(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==ia&&(lu(ia),ia=null))),Nl(e,t),Kl(t),null;case 5:li(t);var i=ri(ni.current);if(r=t.type,null!==e&&null!=t.stateNode)Al(e,t,r,a,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!a){if(null===t.stateNode)throw Error(n(166));return Kl(t),null}if(e=ri(ei.current),pa(t)){a=t.stateNode,r=t.type;var l=t.memoizedProps;switch(a[fo]=t,a[ho]=l,e=0!=(1&t.mode),r){case"dialog":Fr("cancel",a),Fr("close",a);break;case"iframe":case"object":case"embed":Fr("load",a);break;case"video":case"audio":for(i=0;i<jr.length;i++)Fr(jr[i],a);break;case"source":Fr("error",a);break;case"img":case"image":case"link":Fr("error",a),Fr("load",a);break;case"details":Fr("toggle",a);break;case"input":Y(a,l),Fr("invalid",a);break;case"select":a._wrapperState={wasMultiple:!!l.multiple},Fr("invalid",a);break;case"textarea":ae(a,l),Fr("invalid",a)}for(var s in ye(r,l),i=null,l)if(l.hasOwnProperty(s)){var u=l[s];"children"===s?"string"==typeof u?a.textContent!==u&&(!0!==l.suppressHydrationWarning&&Jr(a.textContent,u,e),i=["children",u]):"number"==typeof u&&a.textContent!==""+u&&(!0!==l.suppressHydrationWarning&&Jr(a.textContent,u,e),i=["children",""+u]):o.hasOwnProperty(s)&&null!=u&&"onScroll"===s&&Fr("scroll",a)}switch(r){case"input":K(a),ee(a,l,!0);break;case"textarea":K(a),le(a);break;case"select":case"option":break;default:"function"==typeof l.onClick&&(a.onclick=Zr)}a=i,t.updateQueue=a,null!==a&&(t.flags|=4)}else{s=9===i.nodeType?i:i.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(r)),"http://www.w3.org/1999/xhtml"===e?"script"===r?((e=s.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof a.is?e=s.createElement(r,{is:a.is}):(e=s.createElement(r),"select"===r&&(s=e,a.multiple?s.multiple=!0:a.size&&(s.size=a.size))):e=s.createElementNS(e,r),e[fo]=t,e[ho]=a,Il(e,t,!1,!1),t.stateNode=e;e:{switch(s=be(r,a),r){case"dialog":Fr("cancel",e),Fr("close",e),i=a;break;case"iframe":case"object":case"embed":Fr("load",e),i=a;break;case"video":case"audio":for(i=0;i<jr.length;i++)Fr(jr[i],e);i=a;break;case"source":Fr("error",e),i=a;break;case"img":case"image":case"link":Fr("error",e),Fr("load",e),i=a;break;case"details":Fr("toggle",e),i=a;break;case"input":Y(e,a),i=X(e,a),Fr("invalid",e);break;case"option":default:i=a;break;case"select":e._wrapperState={wasMultiple:!!a.multiple},i=L({},a,{value:void 0}),Fr("invalid",e);break;case"textarea":ae(e,a),i=oe(e,a),Fr("invalid",e)}for(l in ye(r,i),u=i)if(u.hasOwnProperty(l)){var c=u[l];"style"===l?ve(e,c):"dangerouslySetInnerHTML"===l?null!=(c=c?c.__html:void 0)&&de(e,c):"children"===l?"string"==typeof c?("textarea"!==r||""!==c)&&pe(e,c):"number"==typeof c&&pe(e,""+c):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(o.hasOwnProperty(l)?null!=c&&"onScroll"===l&&Fr("scroll",e):null!=c&&x(e,l,c,s))}switch(r){case"input":K(e),ee(e,a,!1);break;case"textarea":K(e),le(e);break;case"option":null!=a.value&&e.setAttribute("value",""+H(a.value));break;case"select":e.multiple=!!a.multiple,null!=(l=a.value)?re(e,!!a.multiple,l,!1):null!=a.defaultValue&&re(e,!!a.multiple,a.defaultValue,!0);break;default:"function"==typeof i.onClick&&(e.onclick=Zr)}switch(r){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}}a&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Kl(t),null;case 6:if(e&&null!=t.stateNode)jl(e,t,e.memoizedProps,a);else{if("string"!=typeof a&&null===t.stateNode)throw Error(n(166));if(r=ri(ni.current),ri(ei.current),pa(t)){if(a=t.stateNode,r=t.memoizedProps,a[fo]=t,(l=a.nodeValue!==r)&&null!==(e=ra))switch(e.tag){case 3:Jr(a.nodeValue,r,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Jr(a.nodeValue,r,0!=(1&e.mode))}l&&(t.flags|=4)}else(a=(9===r.nodeType?r:r.ownerDocument).createTextNode(a))[fo]=t,t.stateNode=a}return Kl(t),null;case 13:if(Oo(si),a=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(aa&&null!==oa&&0!=(1&t.mode)&&0==(128&t.flags))fa(),ha(),t.flags|=98560,l=!1;else if(l=pa(t),null!==a&&null!==a.dehydrated){if(null===e){if(!l)throw Error(n(318));if(!(l=null!==(l=t.memoizedState)?l.dehydrated:null))throw Error(n(317));l[fo]=t}else ha(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Kl(t),l=!1}else null!==ia&&(lu(ia),ia=null),l=!0;if(!l)return 65536&t.flags?t:null}return 0!=(128&t.flags)?(t.lanes=r,t):((a=null!==a)!==(null!==e&&null!==e.memoizedState)&&a&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&si.current)?0===js&&(js=3):vu())),null!==t.updateQueue&&(t.flags|=4),Kl(t),null);case 4:return ai(),Nl(e,t),null===e&&Br(t.stateNode.containerInfo),Kl(t),null;case 10:return Sa(t.type._context),Kl(t),null;case 19:if(Oo(si),null===(l=t.memoizedState))return Kl(t),null;if(a=0!=(128&t.flags),null===(s=l.rendering))if(a)ql(l,!1);else{if(0!==js||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(s=ui(e))){for(t.flags|=128,ql(l,!1),null!==(a=s.updateQueue)&&(t.updateQueue=a,t.flags|=4),t.subtreeFlags=0,a=r,r=t.child;null!==r;)e=a,(l=r).flags&=14680066,null===(s=l.alternate)?(l.childLanes=0,l.lanes=e,l.child=null,l.subtreeFlags=0,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=s.childLanes,l.lanes=s.lanes,l.child=s.child,l.subtreeFlags=0,l.deletions=null,l.memoizedProps=s.memoizedProps,l.memoizedState=s.memoizedState,l.updateQueue=s.updateQueue,l.type=s.type,e=s.dependencies,l.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return Po(si,1&si.current|2),t.child}e=e.sibling}null!==l.tail&&Ye()>Us&&(t.flags|=128,a=!0,ql(l,!1),t.lanes=4194304)}else{if(!a)if(null!==(e=ui(s))){if(t.flags|=128,a=!0,null!==(r=e.updateQueue)&&(t.updateQueue=r,t.flags|=4),ql(l,!0),null===l.tail&&"hidden"===l.tailMode&&!s.alternate&&!aa)return Kl(t),null}else 2*Ye()-l.renderingStartTime>Us&&1073741824!==r&&(t.flags|=128,a=!0,ql(l,!1),t.lanes=4194304);l.isBackwards?(s.sibling=t.child,t.child=s):(null!==(r=l.last)?r.sibling=s:t.child=s,l.last=s)}return null!==l.tail?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=Ye(),t.sibling=null,r=si.current,Po(si,a?1&r|2:1&r),t):(Kl(t),null);case 22:case 23:return pu(),a=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==a&&(t.flags|=8192),a&&0!=(1&t.mode)?0!=(1073741824&Ns)&&(Kl(t),6&t.subtreeFlags&&(t.flags|=8192)):Kl(t),null;case 24:case 25:return null}throw Error(n(156,t.tag))}function Gl(e,t){switch(na(t),t.tag){case 1:return No(t.type)&&Ao(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ai(),Oo(Mo),Oo(To),di(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return li(t),null;case 13:if(Oo(si),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(n(340));ha()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Oo(si),null;case 4:return ai(),null;case 10:return Sa(t.type._context),null;case 22:case 23:return pu(),null;default:return null}}Il=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}},Nl=function(){},Al=function(e,t,n,r){var a=e.memoizedProps;if(a!==r){e=t.stateNode,ri(ei.current);var i,l=null;switch(n){case"input":a=X(e,a),r=X(e,r),l=[];break;case"select":a=L({},a,{value:void 0}),r=L({},r,{value:void 0}),l=[];break;case"textarea":a=oe(e,a),r=oe(e,r),l=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(e.onclick=Zr)}for(c in ye(n,r),n=null,a)if(!r.hasOwnProperty(c)&&a.hasOwnProperty(c)&&null!=a[c])if("style"===c){var s=a[c];for(i in s)s.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(o.hasOwnProperty(c)?l||(l=[]):(l=l||[]).push(c,null));for(c in r){var u=r[c];if(s=null!=a?a[c]:void 0,r.hasOwnProperty(c)&&u!==s&&(null!=u||null!=s))if("style"===c)if(s){for(i in s)!s.hasOwnProperty(i)||u&&u.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in u)u.hasOwnProperty(i)&&s[i]!==u[i]&&(n||(n={}),n[i]=u[i])}else n||(l||(l=[]),l.push(c,n)),n=u;else"dangerouslySetInnerHTML"===c?(u=u?u.__html:void 0,s=s?s.__html:void 0,null!=u&&s!==u&&(l=l||[]).push(c,u)):"children"===c?"string"!=typeof u&&"number"!=typeof u||(l=l||[]).push(c,""+u):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(o.hasOwnProperty(c)?(null!=u&&"onScroll"===c&&Fr("scroll",e),l||s===u||(l=[])):(l=l||[]).push(c,u))}n&&(l=l||[]).push("style",n);var c=l;(t.updateQueue=c)&&(t.flags|=4)}},jl=function(e,t,n,r){n!==r&&(t.flags|=4)};var Xl=!1,Yl=!1,Jl="function"==typeof WeakSet?WeakSet:Set,Zl=null;function es(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){Cu(e,t,n)}else n.current=null}function ts(e,t,n){try{n()}catch(n){Cu(e,t,n)}}var ns=!1;function rs(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&&ts(t,n,a)}o=o.next}while(o!==r)}}function os(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 as(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 is(e){var t=e.alternate;null!==t&&(e.alternate=null,is(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[fo],delete t[ho],delete t[vo],delete t[go],delete t[yo])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ls(e){return 5===e.tag||3===e.tag||4===e.tag}function ss(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ls(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)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function us(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Zr));else if(4!==r&&null!==(e=e.child))for(us(e,t,n),e=e.sibling;null!==e;)us(e,t,n),e=e.sibling}function cs(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(cs(e,t,n),e=e.sibling;null!==e;)cs(e,t,n),e=e.sibling}var ds=null,ps=!1;function fs(e,t,n){for(n=n.child;null!==n;)hs(e,t,n),n=n.sibling}function hs(e,t,n){if(at&&"function"==typeof at.onCommitFiberUnmount)try{at.onCommitFiberUnmount(ot,n)}catch(e){}switch(n.tag){case 5:Yl||es(n,t);case 6:var r=ds,o=ps;ds=null,fs(e,t,n),ps=o,null!==(ds=r)&&(ps?(e=ds,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):ds.removeChild(n.stateNode));break;case 18:null!==ds&&(ps?(e=ds,n=n.stateNode,8===e.nodeType?so(e.parentNode,n):1===e.nodeType&&so(e,n),Bt(e)):so(ds,n.stateNode));break;case 4:r=ds,o=ps,ds=n.stateNode.containerInfo,ps=!0,fs(e,t,n),ds=r,ps=o;break;case 0:case 11:case 14:case 15:if(!Yl&&(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)||0!=(4&a))&&ts(n,t,i),o=o.next}while(o!==r)}fs(e,t,n);break;case 1:if(!Yl&&(es(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Cu(n,t,e)}fs(e,t,n);break;case 21:fs(e,t,n);break;case 22:1&n.mode?(Yl=(r=Yl)||null!==n.memoizedState,fs(e,t,n),Yl=r):fs(e,t,n);break;default:fs(e,t,n)}}function ms(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Jl),t.forEach((function(t){var r=Tu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function vs(e,t){var r=t.deletions;if(null!==r)for(var o=0;o<r.length;o++){var a=r[o];try{var i=e,l=t,s=l;e:for(;null!==s;){switch(s.tag){case 5:ds=s.stateNode,ps=!1;break e;case 3:case 4:ds=s.stateNode.containerInfo,ps=!0;break e}s=s.return}if(null===ds)throw Error(n(160));hs(i,l,a),ds=null,ps=!1;var u=a.alternate;null!==u&&(u.return=null),a.return=null}catch(e){Cu(a,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)gs(t,e),t=t.sibling}function gs(e,t){var r=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(vs(t,e),ys(e),4&o){try{rs(3,e,e.return),os(3,e)}catch(t){Cu(e,e.return,t)}try{rs(5,e,e.return)}catch(t){Cu(e,e.return,t)}}break;case 1:vs(t,e),ys(e),512&o&&null!==r&&es(r,r.return);break;case 5:if(vs(t,e),ys(e),512&o&&null!==r&&es(r,r.return),32&e.flags){var a=e.stateNode;try{pe(a,"")}catch(t){Cu(e,e.return,t)}}if(4&o&&null!=(a=e.stateNode)){var i=e.memoizedProps,l=null!==r?r.memoizedProps:i,s=e.type,u=e.updateQueue;if(e.updateQueue=null,null!==u)try{"input"===s&&"radio"===i.type&&null!=i.name&&J(a,i),be(s,l);var c=be(s,i);for(l=0;l<u.length;l+=2){var d=u[l],p=u[l+1];"style"===d?ve(a,p):"dangerouslySetInnerHTML"===d?de(a,p):"children"===d?pe(a,p):x(a,d,p,c)}switch(s){case"input":Z(a,i);break;case"textarea":ie(a,i);break;case"select":var f=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!i.multiple;var h=i.value;null!=h?re(a,!!i.multiple,h,!1):f!==!!i.multiple&&(null!=i.defaultValue?re(a,!!i.multiple,i.defaultValue,!0):re(a,!!i.multiple,i.multiple?[]:"",!1))}a[ho]=i}catch(t){Cu(e,e.return,t)}}break;case 6:if(vs(t,e),ys(e),4&o){if(null===e.stateNode)throw Error(n(162));a=e.stateNode,i=e.memoizedProps;try{a.nodeValue=i}catch(t){Cu(e,e.return,t)}}break;case 3:if(vs(t,e),ys(e),4&o&&null!==r&&r.memoizedState.isDehydrated)try{Bt(t.containerInfo)}catch(t){Cu(e,e.return,t)}break;case 4:default:vs(t,e),ys(e);break;case 13:vs(t,e),ys(e),8192&(a=e.child).flags&&(i=null!==a.memoizedState,a.stateNode.isHidden=i,!i||null!==a.alternate&&null!==a.alternate.memoizedState||(Bs=Ye())),4&o&&ms(e);break;case 22:if(d=null!==r&&null!==r.memoizedState,1&e.mode?(Yl=(c=Yl)||d,vs(t,e),Yl=c):vs(t,e),ys(e),8192&o){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!d&&0!=(1&e.mode))for(Zl=e,d=e.child;null!==d;){for(p=Zl=d;null!==Zl;){switch(h=(f=Zl).child,f.tag){case 0:case 11:case 14:case 15:rs(4,f,f.return);break;case 1:es(f,f.return);var m=f.stateNode;if("function"==typeof m.componentWillUnmount){o=f,r=f.return;try{t=o,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(e){Cu(o,r,e)}}break;case 5:es(f,f.return);break;case 22:if(null!==f.memoizedState){ks(p);continue}}null!==h?(h.return=f,Zl=h):ks(p)}d=d.sibling}e:for(d=null,p=e;;){if(5===p.tag){if(null===d){d=p;try{a=p.stateNode,c?"function"==typeof(i=a.style).setProperty?i.setProperty("display","none","important"):i.display="none":(s=p.stateNode,l=null!=(u=p.memoizedProps.style)&&u.hasOwnProperty("display")?u.display:null,s.style.display=me("display",l))}catch(t){Cu(e,e.return,t)}}}else if(6===p.tag){if(null===d)try{p.stateNode.nodeValue=c?"":p.memoizedProps}catch(t){Cu(e,e.return,t)}}else if((22!==p.tag&&23!==p.tag||null===p.memoizedState||p===e)&&null!==p.child){p.child.return=p,p=p.child;continue}if(p===e)break e;for(;null===p.sibling;){if(null===p.return||p.return===e)break e;d===p&&(d=null),p=p.return}d===p&&(d=null),p.sibling.return=p.return,p=p.sibling}}break;case 19:vs(t,e),ys(e),4&o&&ms(e);case 21:}}function ys(e){var t=e.flags;if(2&t){try{e:{for(var r=e.return;null!==r;){if(ls(r)){var o=r;break e}r=r.return}throw Error(n(160))}switch(o.tag){case 5:var a=o.stateNode;32&o.flags&&(pe(a,""),o.flags&=-33),cs(e,ss(e),a);break;case 3:case 4:var i=o.stateNode.containerInfo;us(e,ss(e),i);break;default:throw Error(n(161))}}catch(t){Cu(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function bs(e,t,n){Zl=e,xs(e)}function xs(e,t,n){for(var r=0!=(1&e.mode);null!==Zl;){var o=Zl,a=o.child;if(22===o.tag&&r){var i=null!==o.memoizedState||Xl;if(!i){var l=o.alternate,s=null!==l&&null!==l.memoizedState||Yl;l=Xl;var u=Yl;if(Xl=i,(Yl=s)&&!u)for(Zl=o;null!==Zl;)s=(i=Zl).child,22===i.tag&&null!==i.memoizedState?Ss(o):null!==s?(s.return=i,Zl=s):Ss(o);for(;null!==a;)Zl=a,xs(a),a=a.sibling;Zl=o,Xl=l,Yl=u}ws(e)}else 0!=(8772&o.subtreeFlags)&&null!==a?(a.return=o,Zl=a):ws(e)}}function ws(e){for(;null!==Zl;){var t=Zl;if(0!=(8772&t.flags)){var r=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Yl||os(5,t);break;case 1:var o=t.stateNode;if(4&t.flags&&!Yl)if(null===r)o.componentDidMount();else{var a=t.elementType===t.type?r.memoizedProps:ga(t.type,r.memoizedProps);o.componentDidUpdate(a,r.memoizedState,o.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;null!==i&&Fa(t,i,o);break;case 3:var l=t.updateQueue;if(null!==l){if(r=null,null!==t.child)switch(t.child.tag){case 5:case 1:r=t.child.stateNode}Fa(t,l,r)}break;case 5:var s=t.stateNode;if(null===r&&4&t.flags){r=s;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&r.focus();break;case"img":u.src&&(r.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 c=t.alternate;if(null!==c){var d=c.memoizedState;if(null!==d){var p=d.dehydrated;null!==p&&Bt(p)}}}break;default:throw Error(n(163))}Yl||512&t.flags&&as(t)}catch(e){Cu(t,t.return,e)}}if(t===e){Zl=null;break}if(null!==(r=t.sibling)){r.return=t.return,Zl=r;break}Zl=t.return}}function ks(e){for(;null!==Zl;){var t=Zl;if(t===e){Zl=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Zl=n;break}Zl=t.return}}function Ss(e){for(;null!==Zl;){var t=Zl;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{os(4,t)}catch(e){Cu(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(e){Cu(t,o,e)}}var a=t.return;try{as(t)}catch(e){Cu(t,a,e)}break;case 5:var i=t.return;try{as(t)}catch(e){Cu(t,i,e)}}}catch(e){Cu(t,t.return,e)}if(t===e){Zl=null;break}var l=t.sibling;if(null!==l){l.return=t.return,Zl=l;break}Zl=t.return}}var Es,Cs=Math.ceil,Os=w.ReactCurrentDispatcher,Ps=w.ReactCurrentOwner,Rs=w.ReactCurrentBatchConfig,Ts=0,Ms=null,$s=null,Is=0,Ns=0,As=Co(0),js=0,zs=null,_s=0,Ls=0,Fs=0,Ds=null,Ws=null,Bs=0,Us=1/0,Vs=null,Hs=!1,qs=null,Ks=null,Qs=!1,Gs=null,Xs=0,Ys=0,Js=null,Zs=-1,eu=0;function tu(){return 0!=(6&Ts)?Ye():-1!==Zs?Zs:Zs=Ye()}function nu(e){return 0==(1&e.mode)?1:0!=(2&Ts)&&0!==Is?Is&-Is:null!==va.transition?(0===eu&&(eu=mt()),eu):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Xt(e.type)}function ru(e,t,r,o){if(50<Ys)throw Ys=0,Js=null,Error(n(185));gt(e,r,o),0!=(2&Ts)&&e===Ms||(e===Ms&&(0==(2&Ts)&&(Ls|=r),4===js&&su(e,Is)),ou(e,o),1===r&&0===Ts&&0==(1&t.mode)&&(Us=Ye()+500,Do&&Uo()))}function ou(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,a=e.pendingLanes;0<a;){var i=31-it(a),l=1<<i,s=o[i];-1===s?0!=(l&n)&&0==(l&r)||(o[i]=ft(l,t)):s<=t&&(e.expiredLanes|=l),a&=~l}}(e,t);var r=pt(e,e===Ms?Is:0);if(0===r)null!==n&&Qe(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Qe(n),1===t)0===e.tag?function(e){Do=!0,Bo(e)}(uu.bind(null,e)):Bo(uu.bind(null,e)),io((function(){0==(6&Ts)&&Uo()})),n=null;else{switch(xt(r)){case 1:n=Ze;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Mu(n,au.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function au(e,t){if(Zs=-1,eu=0,0!=(6&Ts))throw Error(n(327));var r=e.callbackNode;if(Su()&&e.callbackNode!==r)return null;var o=pt(e,e===Ms?Is:0);if(0===o)return null;if(0!=(30&o)||0!=(o&e.expiredLanes)||t)t=gu(e,o);else{t=o;var a=Ts;Ts|=2;var i=mu();for(Ms===e&&Is===t||(Vs=null,Us=Ye()+500,fu(e,t));;)try{bu();break}catch(t){hu(e,t)}ka(),Os.current=i,Ts=a,null!==$s?t=0:(Ms=null,Is=0,t=js)}if(0!==t){if(2===t&&(0!==(a=ht(e))&&(o=a,t=iu(e,a))),1===t)throw r=zs,fu(e,0),su(e,o),ou(e,Ye()),r;if(6===t)su(e,o);else{if(a=e.current.alternate,0==(30&o)&&!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(!lr(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}(a)&&(2===(t=gu(e,o))&&(0!==(i=ht(e))&&(o=i,t=iu(e,i))),1===t))throw r=zs,fu(e,0),su(e,o),ou(e,Ye()),r;switch(e.finishedWork=a,e.finishedLanes=o,t){case 0:case 1:throw Error(n(345));case 2:case 5:ku(e,Ws,Vs);break;case 3:if(su(e,o),(130023424&o)===o&&10<(t=Bs+500-Ye())){if(0!==pt(e,0))break;if(((a=e.suspendedLanes)&o)!==o){tu(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=ro(ku.bind(null,e,Ws,Vs),t);break}ku(e,Ws,Vs);break;case 4:if(su(e,o),(4194240&o)===o)break;for(t=e.eventTimes,a=-1;0<o;){var l=31-it(o);i=1<<l,(l=t[l])>a&&(a=l),o&=~i}if(o=a,10<(o=(120>(o=Ye()-o)?120:480>o?480:1080>o?1080:1920>o?1920:3e3>o?3e3:4320>o?4320:1960*Cs(o/1960))-o)){e.timeoutHandle=ro(ku.bind(null,e,Ws,Vs),o);break}ku(e,Ws,Vs);break;default:throw Error(n(329))}}}return ou(e,Ye()),e.callbackNode===r?au.bind(null,e):null}function iu(e,t){var n=Ds;return e.current.memoizedState.isDehydrated&&(fu(e,t).flags|=256),2!==(e=gu(e,t))&&(t=Ws,Ws=n,null!==t&&lu(t)),e}function lu(e){null===Ws?Ws=e:Ws.push.apply(Ws,e)}function su(e,t){for(t&=~Fs,t&=~Ls,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-it(t),r=1<<n;e[n]=-1,t&=~r}}function uu(e){if(0!=(6&Ts))throw Error(n(327));Su();var t=pt(e,0);if(0==(1&t))return ou(e,Ye()),null;var r=gu(e,t);if(0!==e.tag&&2===r){var o=ht(e);0!==o&&(t=o,r=iu(e,o))}if(1===r)throw r=zs,fu(e,0),su(e,t),ou(e,Ye()),r;if(6===r)throw Error(n(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,ku(e,Ws,Vs),ou(e,Ye()),null}function cu(e,t){var n=Ts;Ts|=1;try{return e(t)}finally{0===(Ts=n)&&(Us=Ye()+500,Do&&Uo())}}function du(e){null!==Gs&&0===Gs.tag&&0==(6&Ts)&&Su();var t=Ts;Ts|=1;var n=Rs.transition,r=bt;try{if(Rs.transition=null,bt=1,e)return e()}finally{bt=r,Rs.transition=n,0==(6&(Ts=t))&&Uo()}}function pu(){Ns=As.current,Oo(As)}function fu(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,oo(n)),null!==$s)for(n=$s.return;null!==n;){var r=n;switch(na(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Ao();break;case 3:ai(),Oo(Mo),Oo(To),di();break;case 5:li(r);break;case 4:ai();break;case 13:case 19:Oo(si);break;case 10:Sa(r.type._context);break;case 22:case 23:pu()}n=n.return}if(Ms=e,$s=e=Au(e.current,null),Is=Ns=t,js=0,zs=null,Fs=Ls=_s=0,Ws=Ds=null,null!==Pa){for(t=0;t<Pa.length;t++)if(null!==(r=(n=Pa[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}Pa=null}return e}function hu(e,t){for(;;){var r=$s;try{if(ka(),pi.current=il,yi){for(var o=mi.memoizedState;null!==o;){var a=o.queue;null!==a&&(a.pending=null),o=o.next}yi=!1}if(hi=0,gi=vi=mi=null,bi=!1,xi=0,Ps.current=null,null===r||null===r.return){js=1,zs=t,$s=null;break}e:{var i=e,l=r.return,s=r,u=t;if(t=Is,s.flags|=32768,null!==u&&"object"==typeof u&&"function"==typeof u.then){var c=u,d=s,p=d.tag;if(0==(1&d.mode)&&(0===p||11===p||15===p)){var f=d.alternate;f?(d.updateQueue=f.updateQueue,d.memoizedState=f.memoizedState,d.lanes=f.lanes):(d.updateQueue=null,d.memoizedState=null)}var h=gl(l);if(null!==h){h.flags&=-257,yl(h,l,s,0,t),1&h.mode&&vl(i,c,t),u=c;var m=(t=h).updateQueue;if(null===m){var v=new Set;v.add(u),t.updateQueue=v}else m.add(u);break e}if(0==(1&t)){vl(i,c,t),vu();break e}u=Error(n(426))}else if(aa&&1&s.mode){var g=gl(l);if(null!==g){0==(65536&g.flags)&&(g.flags|=256),yl(g,l,s,0,t),ma(cl(u,s));break e}}i=u=cl(u,s),4!==js&&(js=2),null===Ds?Ds=[i]:Ds.push(i),i=l;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t,_a(i,hl(0,u,t));break e;case 1:s=u;var y=i.type,b=i.stateNode;if(0==(128&i.flags)&&("function"==typeof y.getDerivedStateFromError||null!==b&&"function"==typeof b.componentDidCatch&&(null===Ks||!Ks.has(b)))){i.flags|=65536,t&=-t,i.lanes|=t,_a(i,ml(i,s,t));break e}}i=i.return}while(null!==i)}wu(r)}catch(e){t=e,$s===r&&null!==r&&($s=r=r.return);continue}break}}function mu(){var e=Os.current;return Os.current=il,null===e?il:e}function vu(){0!==js&&3!==js&&2!==js||(js=4),null===Ms||0==(268435455&_s)&&0==(268435455&Ls)||su(Ms,Is)}function gu(e,t){var r=Ts;Ts|=2;var o=mu();for(Ms===e&&Is===t||(Vs=null,fu(e,t));;)try{yu();break}catch(t){hu(e,t)}if(ka(),Ts=r,Os.current=o,null!==$s)throw Error(n(261));return Ms=null,Is=0,js}function yu(){for(;null!==$s;)xu($s)}function bu(){for(;null!==$s&&!Ge();)xu($s)}function xu(e){var t=Es(e.alternate,e,Ns);e.memoizedProps=e.pendingProps,null===t?wu(e):$s=t,Ps.current=null}function wu(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=Ql(n,t,Ns)))return void($s=n)}else{if(null!==(n=Gl(n,t)))return n.flags&=32767,void($s=n);if(null===e)return js=6,void($s=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void($s=t);$s=t=e}while(null!==t);0===js&&(js=5)}function ku(e,t,r){var o=bt,a=Rs.transition;try{Rs.transition=null,bt=1,function(e,t,r,o){do{Su()}while(null!==Gs);if(0!=(6&Ts))throw Error(n(327));r=e.finishedWork;var a=e.finishedLanes;if(null===r)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(n(177));e.callbackNode=null,e.callbackPriority=0;var i=r.lanes|r.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-it(n),a=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~a}}(e,i),e===Ms&&($s=Ms=null,Is=0),0==(2064&r.subtreeFlags)&&0==(2064&r.flags)||Qs||(Qs=!0,Mu(tt,(function(){return Su(),null}))),i=0!=(15990&r.flags),0!=(15990&r.subtreeFlags)||i){i=Rs.transition,Rs.transition=null;var l=bt;bt=1;var s=Ts;Ts|=4,Ps.current=null,function(e,t){if(eo=Vt,fr(e=pr())){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{var o=(r=(r=e.ownerDocument)&&r.defaultView||window).getSelection&&r.getSelection();if(o&&0!==o.rangeCount){r=o.anchorNode;var a=o.anchorOffset,i=o.focusNode;o=o.focusOffset;try{r.nodeType,i.nodeType}catch(e){r=null;break e}var l=0,s=-1,u=-1,c=0,d=0,p=e,f=null;t:for(;;){for(var h;p!==r||0!==a&&3!==p.nodeType||(s=l+a),p!==i||0!==o&&3!==p.nodeType||(u=l+o),3===p.nodeType&&(l+=p.nodeValue.length),null!==(h=p.firstChild);)f=p,p=h;for(;;){if(p===e)break t;if(f===r&&++c===a&&(s=l),f===i&&++d===o&&(u=l),null!==(h=p.nextSibling))break;f=(p=f).parentNode}p=h}r=-1===s||-1===u?null:{start:s,end:u}}else r=null}r=r||{start:0,end:0}}else r=null;for(to={focusedElem:e,selectionRange:r},Vt=!1,Zl=t;null!==Zl;)if(e=(t=Zl).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,Zl=e;else for(;null!==Zl;){t=Zl;try{var m=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!==m){var v=m.memoizedProps,g=m.memoizedState,y=t.stateNode,b=y.getSnapshotBeforeUpdate(t.elementType===t.type?v:ga(t.type,v),g);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var x=t.stateNode.containerInfo;1===x.nodeType?x.textContent="":9===x.nodeType&&x.documentElement&&x.removeChild(x.documentElement);break;default:throw Error(n(163))}}catch(e){Cu(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Zl=e;break}Zl=t.return}m=ns,ns=!1}(e,r),gs(r,e),hr(to),Vt=!!eo,to=eo=null,e.current=r,bs(r),Xe(),Ts=s,bt=l,Rs.transition=i}else e.current=r;if(Qs&&(Qs=!1,Gs=e,Xs=a),i=e.pendingLanes,0===i&&(Ks=null),function(e){if(at&&"function"==typeof at.onCommitFiberRoot)try{at.onCommitFiberRoot(ot,e,void 0,128==(128&e.current.flags))}catch(e){}}(r.stateNode),ou(e,Ye()),null!==t)for(o=e.onRecoverableError,r=0;r<t.length;r++)a=t[r],o(a.value,{componentStack:a.stack,digest:a.digest});if(Hs)throw Hs=!1,e=qs,qs=null,e;0!=(1&Xs)&&0!==e.tag&&Su(),i=e.pendingLanes,0!=(1&i)?e===Js?Ys++:(Ys=0,Js=e):Ys=0,Uo()}(e,t,r,o)}finally{Rs.transition=a,bt=o}return null}function Su(){if(null!==Gs){var e=xt(Xs),t=Rs.transition,r=bt;try{if(Rs.transition=null,bt=16>e?16:e,null===Gs)var o=!1;else{if(e=Gs,Gs=null,Xs=0,0!=(6&Ts))throw Error(n(331));var a=Ts;for(Ts|=4,Zl=e.current;null!==Zl;){var i=Zl,l=i.child;if(0!=(16&Zl.flags)){var s=i.deletions;if(null!==s){for(var u=0;u<s.length;u++){var c=s[u];for(Zl=c;null!==Zl;){var d=Zl;switch(d.tag){case 0:case 11:case 15:rs(8,d,i)}var p=d.child;if(null!==p)p.return=d,Zl=p;else for(;null!==Zl;){var f=(d=Zl).sibling,h=d.return;if(is(d),d===c){Zl=null;break}if(null!==f){f.return=h,Zl=f;break}Zl=h}}}var m=i.alternate;if(null!==m){var v=m.child;if(null!==v){m.child=null;do{var g=v.sibling;v.sibling=null,v=g}while(null!==v)}}Zl=i}}if(0!=(2064&i.subtreeFlags)&&null!==l)l.return=i,Zl=l;else e:for(;null!==Zl;){if(0!=(2048&(i=Zl).flags))switch(i.tag){case 0:case 11:case 15:rs(9,i,i.return)}var y=i.sibling;if(null!==y){y.return=i.return,Zl=y;break e}Zl=i.return}}var b=e.current;for(Zl=b;null!==Zl;){var x=(l=Zl).child;if(0!=(2064&l.subtreeFlags)&&null!==x)x.return=l,Zl=x;else e:for(l=b;null!==Zl;){if(0!=(2048&(s=Zl).flags))try{switch(s.tag){case 0:case 11:case 15:os(9,s)}}catch(e){Cu(s,s.return,e)}if(s===l){Zl=null;break e}var w=s.sibling;if(null!==w){w.return=s.return,Zl=w;break e}Zl=s.return}}if(Ts=a,Uo(),at&&"function"==typeof at.onPostCommitFiberRoot)try{at.onPostCommitFiberRoot(ot,e)}catch(e){}o=!0}return o}finally{bt=r,Rs.transition=t}}return!1}function Eu(e,t,n){e=ja(e,t=hl(0,t=cl(n,t),1),1),t=tu(),null!==e&&(gt(e,1,t),ou(e,t))}function Cu(e,t,n){if(3===e.tag)Eu(e,e,n);else for(;null!==t;){if(3===t.tag){Eu(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Ks||!Ks.has(r))){t=ja(t,e=ml(t,e=cl(n,e),1),1),e=tu(),null!==t&&(gt(t,1,e),ou(t,e));break}}t=t.return}}function Ou(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=tu(),e.pingedLanes|=e.suspendedLanes&n,Ms===e&&(Is&n)===n&&(4===js||3===js&&(130023424&Is)===Is&&500>Ye()-Bs?fu(e,0):Fs|=n),ou(e,t)}function Pu(e,t){0===t&&(0==(1&e.mode)?t=1:(t=ct,0==(130023424&(ct<<=1))&&(ct=4194304)));var n=tu();null!==(e=Ma(e,t))&&(gt(e,t,n),ou(e,n))}function Ru(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Pu(e,n)}function Tu(e,t){var r=0;switch(e.tag){case 13:var o=e.stateNode,a=e.memoizedState;null!==a&&(r=a.retryLane);break;case 19:o=e.stateNode;break;default:throw Error(n(314))}null!==o&&o.delete(t),Pu(e,r)}function Mu(e,t){return Ke(e,t)}function $u(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 Iu(e,t,n,r){return new $u(e,t,n,r)}function Nu(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Au(e,t){var n=e.alternate;return null===n?((n=Iu(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 ju(e,t,r,o,a,i){var l=2;if(o=e,"function"==typeof e)Nu(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case E:return zu(r.children,a,i,t);case C:l=8,a|=8;break;case O:return(e=Iu(12,r,t,2|a)).elementType=O,e.lanes=i,e;case M:return(e=Iu(13,r,t,a)).elementType=M,e.lanes=i,e;case $:return(e=Iu(19,r,t,a)).elementType=$,e.lanes=i,e;case A:return _u(r,a,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case P:l=10;break e;case R:l=9;break e;case T:l=11;break e;case I:l=14;break e;case N:l=16,o=null;break e}throw Error(n(130,null==e?e:typeof e,""))}return(t=Iu(l,r,t,a)).elementType=e,t.type=o,t.lanes=i,t}function zu(e,t,n,r){return(e=Iu(7,e,r,t)).lanes=n,e}function _u(e,t,n,r){return(e=Iu(22,e,r,t)).elementType=A,e.lanes=n,e.stateNode={isHidden:!1},e}function Lu(e,t,n){return(e=Iu(6,e,null,t)).lanes=n,e}function Fu(e,t,n){return(t=Iu(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Du(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=vt(0),this.expirationTimes=vt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=vt(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Wu(e,t,n,r,o,a,i,l,s){return e=new Du(e,t,n,l,s),1===t?(t=1,!0===a&&(t|=8)):t=0,a=Iu(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ia(a),e}function Bu(e){if(!e)return Ro;e:{if(Be(e=e._reactInternals)!==e||1!==e.tag)throw Error(n(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(No(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(n(171))}if(1===e.tag){var r=e.type;if(No(r))return zo(e,r,t)}return t}function Uu(e,t,n,r,o,a,i,l,s){return(e=Wu(n,r,!0,e,0,a,0,l,s)).context=Bu(null),n=e.current,(a=Aa(r=tu(),o=nu(n))).callback=null!=t?t:null,ja(n,a,o),e.current.lanes=o,gt(e,o,r),ou(e,r),e}function Vu(e,t,n,r){var o=t.current,a=tu(),i=nu(o);return n=Bu(n),null===t.context?t.context=n:t.pendingContext=n,(t=Aa(a,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=ja(o,t,i))&&(ru(e,o,i,a),za(e,o,i)),i}function Hu(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function qu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Ku(e,t){qu(e,t),(e=e.alternate)&&qu(e,t)}Es=function(e,t,r){if(null!==e)if(e.memoizedProps!==t.pendingProps||Mo.current)xl=!0;else{if(0==(e.lanes&r)&&0==(128&t.flags))return xl=!1,function(e,t,n){switch(t.tag){case 3:Ml(t),ha();break;case 5:ii(t);break;case 1:No(t.type)&&_o(t);break;case 4:oi(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;Po(ya,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Po(si,1&si.current),t.flags|=128,null):0!=(n&t.child.childLanes)?Ll(e,t,n):(Po(si,1&si.current),null!==(e=Hl(e,t,n))?e.sibling:null);Po(si,1&si.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return Ul(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),Po(si,si.current),r)break;return null;case 22:case 23:return t.lanes=0,Cl(e,t,n)}return Hl(e,t,n)}(e,t,r);xl=0!=(131072&e.flags)}else xl=!1,aa&&0!=(1048576&t.flags)&&ea(t,Ko,t.index);switch(t.lanes=0,t.tag){case 2:var o=t.type;Vl(e,t),e=t.pendingProps;var a=Io(t,To.current);Ca(t,r),a=Ei(null,t,o,e,a,r);var i=Ci();return t.flags|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,No(o)?(i=!0,_o(t)):i=!1,t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,Ia(t),a.updater=Ba,t.stateNode=a,a._reactInternals=t,qa(t,o,e,r),t=Tl(null,t,o,!0,i,r)):(t.tag=0,aa&&i&&ta(t),wl(null,t,a,r),t=t.child),t;case 16:o=t.elementType;e:{switch(Vl(e,t),e=t.pendingProps,o=(a=o._init)(o._payload),t.type=o,a=t.tag=function(e){if("function"==typeof e)return Nu(e)?1:0;if(null!=e){if((e=e.$$typeof)===T)return 11;if(e===I)return 14}return 2}(o),e=ga(o,e),a){case 0:t=Pl(null,t,o,e,r);break e;case 1:t=Rl(null,t,o,e,r);break e;case 11:t=kl(null,t,o,e,r);break e;case 14:t=Sl(null,t,o,ga(o.type,e),r);break e}throw Error(n(306,o,""))}return t;case 0:return o=t.type,a=t.pendingProps,Pl(e,t,o,a=t.elementType===o?a:ga(o,a),r);case 1:return o=t.type,a=t.pendingProps,Rl(e,t,o,a=t.elementType===o?a:ga(o,a),r);case 3:e:{if(Ml(t),null===e)throw Error(n(387));o=t.pendingProps,a=(i=t.memoizedState).element,Na(e,t),La(t,o,null,r);var l=t.memoizedState;if(o=l.element,i.isDehydrated){if(i={element:o,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=$l(e,t,o,r,a=cl(Error(n(423)),t));break e}if(o!==a){t=$l(e,t,o,r,a=cl(Error(n(424)),t));break e}for(oa=uo(t.stateNode.containerInfo.firstChild),ra=t,aa=!0,ia=null,r=Ja(t,null,o,r),t.child=r;r;)r.flags=-3&r.flags|4096,r=r.sibling}else{if(ha(),o===a){t=Hl(e,t,r);break e}wl(e,t,o,r)}t=t.child}return t;case 5:return ii(t),null===e&&ca(t),o=t.type,a=t.pendingProps,i=null!==e?e.memoizedProps:null,l=a.children,no(o,a)?l=null:null!==i&&no(o,i)&&(t.flags|=32),Ol(e,t),wl(e,t,l,r),t.child;case 6:return null===e&&ca(t),null;case 13:return Ll(e,t,r);case 4:return oi(t,t.stateNode.containerInfo),o=t.pendingProps,null===e?t.child=Ya(t,null,o,r):wl(e,t,o,r),t.child;case 11:return o=t.type,a=t.pendingProps,kl(e,t,o,a=t.elementType===o?a:ga(o,a),r);case 7:return wl(e,t,t.pendingProps,r),t.child;case 8:case 12:return wl(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(o=t.type._context,a=t.pendingProps,i=t.memoizedProps,l=a.value,Po(ya,o._currentValue),o._currentValue=l,null!==i)if(lr(i.value,l)){if(i.children===a.children&&!Mo.current){t=Hl(e,t,r);break e}}else for(null!==(i=t.child)&&(i.return=t);null!==i;){var s=i.dependencies;if(null!==s){l=i.child;for(var u=s.firstContext;null!==u;){if(u.context===o){if(1===i.tag){(u=Aa(-1,r&-r)).tag=2;var c=i.updateQueue;if(null!==c){var d=(c=c.shared).pending;null===d?u.next=u:(u.next=d.next,d.next=u),c.pending=u}}i.lanes|=r,null!==(u=i.alternate)&&(u.lanes|=r),Ea(i.return,r,t),s.lanes|=r;break}u=u.next}}else if(10===i.tag)l=i.type===t.type?null:i.child;else if(18===i.tag){if(null===(l=i.return))throw Error(n(341));l.lanes|=r,null!==(s=l.alternate)&&(s.lanes|=r),Ea(l,r,t),l=i.sibling}else l=i.child;if(null!==l)l.return=i;else for(l=i;null!==l;){if(l===t){l=null;break}if(null!==(i=l.sibling)){i.return=l.return,l=i;break}l=l.return}i=l}wl(e,t,a.children,r),t=t.child}return t;case 9:return a=t.type,o=t.pendingProps.children,Ca(t,r),o=o(a=Oa(a)),t.flags|=1,wl(e,t,o,r),t.child;case 14:return a=ga(o=t.type,t.pendingProps),Sl(e,t,o,a=ga(o.type,a),r);case 15:return El(e,t,t.type,t.pendingProps,r);case 17:return o=t.type,a=t.pendingProps,a=t.elementType===o?a:ga(o,a),Vl(e,t),t.tag=1,No(o)?(e=!0,_o(t)):e=!1,Ca(t,r),Va(t,o,a),qa(t,o,a,r),Tl(null,t,o,!0,e,r);case 19:return Ul(e,t,r);case 22:return Cl(e,t,r)}throw Error(n(156,t.tag))};var Qu="function"==typeof reportError?reportError:function(e){console.error(e)};function Gu(e){this._internalRoot=e}function Xu(e){this._internalRoot=e}function Yu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Ju(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Zu(){}function ec(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=Hu(i);l.call(e)}}Vu(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=Hu(i);a.call(e)}}var i=Uu(t,r,e,0,null,!1,0,"",Zu);return e._reactRootContainer=i,e[mo]=i.current,Br(8===e.nodeType?e.parentNode:e),du(),i}for(;o=e.lastChild;)e.removeChild(o);if("function"==typeof r){var l=r;r=function(){var e=Hu(s);l.call(e)}}var s=Wu(e,0,!1,null,0,!1,0,"",Zu);return e._reactRootContainer=s,e[mo]=s.current,Br(8===e.nodeType?e.parentNode:e),du((function(){Vu(t,s,n,r)})),s}(n,t,e,o,r);return Hu(i)}Xu.prototype.render=Gu.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(n(409));Vu(e,t,null,null)},Xu.prototype.unmount=Gu.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;du((function(){Vu(null,e,null,null)})),t[mo]=null}},Xu.prototype.unstable_scheduleHydration=function(e){if(e){var t=Et();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Nt.length&&0!==t&&t<Nt[n].priority;n++);Nt.splice(n,0,e),0===n&&_t(e)}},wt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(yt(t,1|n),ou(t,Ye()),0==(6&Ts)&&(Us=Ye()+500,Uo()))}break;case 13:du((function(){var t=Ma(e,1);if(null!==t){var n=tu();ru(t,e,1,n)}})),Ku(e,1)}},kt=function(e){if(13===e.tag){var t=Ma(e,134217728);if(null!==t)ru(t,e,134217728,tu());Ku(e,134217728)}},St=function(e){if(13===e.tag){var t=nu(e),n=Ma(e,t);if(null!==n)ru(n,e,t,tu());Ku(e,t)}},Et=function(){return bt},Ct=function(e,t){var n=bt;try{return bt=e,t()}finally{bt=n}},ke=function(e,t,r){switch(t){case"input":if(Z(e,r),t=r.name,"radio"===r.type&&null!=t){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var o=r[t];if(o!==e&&o.form===e.form){var a=ko(o);if(!a)throw Error(n(90));Q(o),Z(o,a)}}}break;case"textarea":ie(e,r);break;case"select":null!=(t=r.value)&&re(e,!!r.multiple,t,!1)}},Re=cu,Te=du;var tc={usingClientEntryPoint:!1,Events:[xo,wo,ko,Oe,Pe,cu]},nc={findFiberByHostInstance:bo,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},rc={bundleType:nc.bundleType,version:nc.version,rendererPackageName:nc.rendererPackageName,rendererConfig:nc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=He(e))?null:e.stateNode},findFiberByHostInstance:nc.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 oc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!oc.isDisabled&&oc.supportsFiber)try{ot=oc.inject(rc),at=oc}catch(e){}}return m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tc,m.createPortal=function(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Yu(t))throw Error(n(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:S,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,r)},m.createRoot=function(e,t){if(!Yu(e))throw Error(n(299));var r=!1,o="",a=Qu;return null!=t&&(!0===t.unstable_strictMode&&(r=!0),void 0!==t.identifierPrefix&&(o=t.identifierPrefix),void 0!==t.onRecoverableError&&(a=t.onRecoverableError)),t=Wu(e,1,!1,null,0,r,0,o,a),e[mo]=t.current,Br(8===e.nodeType?e.parentNode:e),new Gu(t)},m.findDOMNode=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(n(188));throw e=Object.keys(e).join(","),Error(n(268,e))}return e=null===(e=He(t))?null:e.stateNode},m.flushSync=function(e){return du(e)},m.hydrate=function(e,t,r){if(!Ju(t))throw Error(n(200));return ec(null,e,t,!0,r)},m.hydrateRoot=function(e,t,r){if(!Yu(e))throw Error(n(405));var o=null!=r&&r.hydratedSources||null,a=!1,i="",l=Qu;if(null!=r&&(!0===r.unstable_strictMode&&(a=!0),void 0!==r.identifierPrefix&&(i=r.identifierPrefix),void 0!==r.onRecoverableError&&(l=r.onRecoverableError)),t=Uu(t,null,e,1,null!=r?r:null,a,0,i,l),e[mo]=t.current,Br(e),o)for(e=0;e<o.length;e++)a=(a=(r=o[e])._getVersion)(r._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[r,a]:t.mutableSourceEagerHydrationData.push(r,a);return new Xu(t)},m.render=function(e,t,r){if(!Ju(t))throw Error(n(200));return ec(null,e,t,!1,r)},m.unmountComponentAtNode=function(e){if(!Ju(e))throw Error(n(40));return!!e._reactRootContainer&&(du((function(){ec(null,null,e,!1,(function(){e._reactRootContainer=null,e[mo]=null}))})),!0)},m.unstable_batchedUpdates=cu,m.unstable_renderSubtreeIntoContainer=function(e,t,r,o){if(!Ju(r))throw Error(n(200));if(null==e||void 0===e._reactInternals)throw Error(n(38));return ec(e,t,r,!1,o)},m.version="18.2.0-next-9e3b772b8-20220608",m}!function(e){e.exports=(c||(c=1,function(e){function t(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,a=e[r];if(!(0<o(a,t)))break e;e[r]=t,e[n]=a,n=r}}function n(e){return 0===e.length?null:e[0]}function r(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length,i=a>>>1;r<i;){var l=2*(r+1)-1,s=e[l],u=l+1,c=e[u];if(0>o(s,n))u<a&&0>o(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[l]=n,r=l);else{if(!(u<a&&0>o(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;e.unstable_now=function(){return a.now()}}else{var i=Date,l=i.now();e.unstable_now=function(){return i.now()-l}}var s=[],u=[],c=1,d=null,p=3,f=!1,h=!1,m=!1,v="function"==typeof setTimeout?setTimeout:null,g="function"==typeof clearTimeout?clearTimeout:null,y="undefined"!=typeof setImmediate?setImmediate:null;function b(e){for(var o=n(u);null!==o;){if(null===o.callback)r(u);else{if(!(o.startTime<=e))break;r(u),o.sortIndex=o.expirationTime,t(s,o)}o=n(u)}}function x(e){if(m=!1,b(e),!h)if(null!==n(s))h=!0,I(w);else{var t=n(u);null!==t&&N(x,t.startTime-e)}}function w(t,o){h=!1,m&&(m=!1,g(C),C=-1),f=!0;var a=p;try{for(b(o),d=n(s);null!==d&&(!(d.expirationTime>o)||t&&!R());){var i=d.callback;if("function"==typeof i){d.callback=null,p=d.priorityLevel;var l=i(d.expirationTime<=o);o=e.unstable_now(),"function"==typeof l?d.callback=l:d===n(s)&&r(s),b(o)}else r(s);d=n(s)}if(null!==d)var c=!0;else{var v=n(u);null!==v&&N(x,v.startTime-o),c=!1}return c}finally{d=null,p=a,f=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var k,S=!1,E=null,C=-1,O=5,P=-1;function R(){return!(e.unstable_now()-P<O)}function T(){if(null!==E){var t=e.unstable_now();P=t;var n=!0;try{n=E(!0,t)}finally{n?k():(S=!1,E=null)}}else S=!1}if("function"==typeof y)k=function(){y(T)};else if("undefined"!=typeof MessageChannel){var M=new MessageChannel,$=M.port2;M.port1.onmessage=T,k=function(){$.postMessage(null)}}else k=function(){v(T,0)};function I(e){E=e,S||(S=!0,k())}function N(t,n){C=v((function(){t(e.unstable_now())}),n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_continueExecution=function(){h||f||(h=!0,I(w))},e.unstable_forceFrameRate=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"):O=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return n(s)},e.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},e.unstable_scheduleCallback=function(r,o,a){var i=e.unstable_now();switch(a="object"==typeof a&&null!==a&&"number"==typeof(a=a.delay)&&0<a?i+a:i,r){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return r={id:c++,callback:o,priorityLevel:r,startTime:a,expirationTime:l=a+l,sortIndex:-1},a>i?(r.sortIndex=a,t(u,r),null===n(s)&&r===n(u)&&(m?(g(C),C=-1):m=!0,N(x,a-i))):(r.sortIndex=l,t(s,r),h||f||(h=!0,I(w))),r},e.unstable_shouldYield=R,e.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}}(g)),g)}(v),function(e){!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)}}(),e.exports=y()}(h);var b=o(h.exports);const x="__tolgee_dev_tools",w=2147483e3,k="__tolgee_preferredLanguages",S=5,E="data-tolgee-key-only",C="data-tolgee-restricted",O="_tolgee",P="_tolgee-highlighter";function R(){let e=document.getElementById(x);return(null==e?void 0:e.isConnected)||(e=document.createElement("div"),e.id=x,e.style.height="0px",e.style.overflow="hidden",document.body.appendChild(e)),e.shadowRoot||e.attachShadow({mode:"open"}),e.shadowRoot}class T extends l.exports.PureComponent{constructor(){super(...arguments),this._popup=null}get document(){return this.props.document||document}get devTools(){return R()}componentDidMount(){this._popup=this.document.createElement("div"),this.devTools.appendChild(this._popup),this._render()}componentDidUpdate(){this._render()}componentWillUnmount(){this._popup&&(h.exports.unmountComponentAtNode(this._popup),this.devTools.removeChild(this._popup))}_render(){h.exports.render(l.exports.createElement(l.exports.Fragment,null,this.props.children),this._popup)}render(){return null}}function M(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}const $=e=>new Promise((t=>setTimeout(t,e))),I=Symbol(),N=Symbol(),A="undefined"==typeof window||/ServerSideRendering/.test(window.navigator&&window.navigator.userAgent)?l.exports.useEffect:l.exports.useLayoutEffect,j=v.exports.unstable_runWithPriority?e=>v.exports.unstable_runWithPriority(v.exports.unstable_NormalPriority,e):e=>e();const z=(e,t,n)=>{var r;if(!(null==t?void 0:t.length))return!0;const o=null===(r=null==n?void 0:n.find((t=>t.tag===e)))||void 0===r?void 0:r.id;return void 0===o||t.includes(o)};function _(e,t){return _=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},_(e,t)}function L(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,_(e,t)}var F=function(){function e(){this.listeners=[]}var t=e.prototype;return t.subscribe=function(e){var t=this,n=e||function(){};return this.listeners.push(n),this.onSubscribe(),function(){t.listeners=t.listeners.filter((function(e){return e!==n})),t.onUnsubscribe()}},t.hasListeners=function(){return this.listeners.length>0},t.onSubscribe=function(){},t.onUnsubscribe=function(){},e}();function D(){return D=Object.assign?Object.assign.bind():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},D.apply(this,arguments)}var W="undefined"==typeof window;function B(){}function U(e){return"number"==typeof e&&e>=0&&e!==1/0}function V(e){return Array.isArray(e)?e:[e]}function H(e,t){return Math.max(e+(t||0)-Date.now(),0)}function q(e,t,n){return re(e)?"function"==typeof t?D({},n,{queryKey:e,queryFn:t}):D({},t,{queryKey:e}):e}function K(e,t,n){return re(e)?[D({},t,{queryKey:e}),n]:[e||{},t]}function Q(e,t){var n=e.active,r=e.exact,o=e.fetching,a=e.inactive,i=e.predicate,l=e.queryKey,s=e.stale;if(re(l))if(r){if(t.queryHash!==X(l,t.options))return!1}else if(!J(t.queryKey,l))return!1;var u=function(e,t){return!0===e&&!0===t||null==e&&null==t?"all":!1===e&&!1===t?"none":(null!=e?e:!t)?"active":"inactive"}(n,a);if("none"===u)return!1;if("all"!==u){var c=t.isActive();if("active"===u&&!c)return!1;if("inactive"===u&&c)return!1}return("boolean"!=typeof s||t.isStale()===s)&&(("boolean"!=typeof o||t.isFetching()===o)&&!(i&&!i(t)))}function G(e,t){var n=e.exact,r=e.fetching,o=e.predicate,a=e.mutationKey;if(re(a)){if(!t.options.mutationKey)return!1;if(n){if(Y(t.options.mutationKey)!==Y(a))return!1}else if(!J(t.options.mutationKey,a))return!1}return("boolean"!=typeof r||"loading"===t.state.status===r)&&!(o&&!o(t))}function X(e,t){return((null==t?void 0:t.queryKeyHashFn)||Y)(e)}function Y(e){var t,n=V(e);return t=n,JSON.stringify(t,(function(e,t){return te(t)?Object.keys(t).sort().reduce((function(e,n){return e[n]=t[n],e}),{}):t}))}function J(e,t){return Z(V(e),V(t))}function Z(e,t){return e===t||typeof e==typeof t&&(!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&!Object.keys(t).some((function(n){return!Z(e[n],t[n])})))}function ee(e,t){if(e===t)return e;var n=Array.isArray(e)&&Array.isArray(t);if(n||te(e)&&te(t)){for(var r=n?e.length:Object.keys(e).length,o=n?t:Object.keys(t),a=o.length,i=n?[]:{},l=0,s=0;s<a;s++){var u=n?s:o[s];i[u]=ee(e[u],t[u]),i[u]===e[u]&&l++}return r===a&&l===r?e:i}return t}function te(e){if(!ne(e))return!1;var t=e.constructor;if(void 0===t)return!0;var n=t.prototype;return!!ne(n)&&!!n.hasOwnProperty("isPrototypeOf")}function ne(e){return"[object Object]"===Object.prototype.toString.call(e)}function re(e){return"string"==typeof e||Array.isArray(e)}function oe(e){Promise.resolve().then(e).catch((function(e){return setTimeout((function(){throw e}))}))}function ae(){if("function"==typeof AbortController)return new AbortController}var ie=new(function(e){function t(){var t;return(t=e.call(this)||this).setup=function(e){var t;if(!W&&(null==(t=window)?void 0:t.addEventListener)){var n=function(){return e()};return window.addEventListener("visibilitychange",n,!1),window.addEventListener("focus",n,!1),function(){window.removeEventListener("visibilitychange",n),window.removeEventListener("focus",n)}}},t}L(t,e);var n=t.prototype;return n.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},n.onUnsubscribe=function(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)},n.setEventListener=function(e){var t,n=this;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((function(e){"boolean"==typeof e?n.setFocused(e):n.onFocus()}))},n.setFocused=function(e){this.focused=e,e&&this.onFocus()},n.onFocus=function(){this.listeners.forEach((function(e){e()}))},n.isFocused=function(){return"boolean"==typeof this.focused?this.focused:"undefined"==typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)},t}(F)),le=new(function(e){function t(){var t;return(t=e.call(this)||this).setup=function(e){var t;if(!W&&(null==(t=window)?void 0:t.addEventListener)){var n=function(){return e()};return window.addEventListener("online",n,!1),window.addEventListener("offline",n,!1),function(){window.removeEventListener("online",n),window.removeEventListener("offline",n)}}},t}L(t,e);var n=t.prototype;return n.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},n.onUnsubscribe=function(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)},n.setEventListener=function(e){var t,n=this;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((function(e){"boolean"==typeof e?n.setOnline(e):n.onOnline()}))},n.setOnline=function(e){this.online=e,e&&this.onOnline()},n.onOnline=function(){this.listeners.forEach((function(e){e()}))},n.isOnline=function(){return"boolean"==typeof this.online?this.online:"undefined"==typeof navigator||void 0===navigator.onLine||navigator.onLine},t}(F));function se(e){return Math.min(1e3*Math.pow(2,e),3e4)}function ue(e){return"function"==typeof(null==e?void 0:e.cancel)}var ce=function(e){this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent};function de(e){return e instanceof ce}var pe=function(e){var t,n,r,o,a=this,i=!1;this.abort=e.abort,this.cancel=function(e){return null==t?void 0:t(e)},this.cancelRetry=function(){i=!0},this.continueRetry=function(){i=!1},this.continue=function(){return null==n?void 0:n()},this.failureCount=0,this.isPaused=!1,this.isResolved=!1,this.isTransportCancelable=!1,this.promise=new Promise((function(e,t){r=e,o=t}));var l=function(t){a.isResolved||(a.isResolved=!0,null==e.onSuccess||e.onSuccess(t),null==n||n(),r(t))},s=function(t){a.isResolved||(a.isResolved=!0,null==e.onError||e.onError(t),null==n||n(),o(t))};!function r(){if(!a.isResolved){var o;try{o=e.fn()}catch(e){o=Promise.reject(e)}t=function(e){if(!a.isResolved&&(s(new ce(e)),null==a.abort||a.abort(),ue(o)))try{o.cancel()}catch(e){}},a.isTransportCancelable=ue(o),Promise.resolve(o).then(l).catch((function(t){var o,l;if(!a.isResolved){var u,c=null!=(o=e.retry)?o:3,d=null!=(l=e.retryDelay)?l:se,p="function"==typeof d?d(a.failureCount,t):d,f=!0===c||"number"==typeof c&&a.failureCount<c||"function"==typeof c&&c(a.failureCount,t);if(!i&&f)a.failureCount++,null==e.onFail||e.onFail(a.failureCount,t),(u=p,new Promise((function(e){setTimeout(e,u)}))).then((function(){if(!ie.isFocused()||!le.isOnline())return new Promise((function(t){n=t,a.isPaused=!0,null==e.onPause||e.onPause()})).then((function(){n=void 0,a.isPaused=!1,null==e.onContinue||e.onContinue()}))})).then((function(){i?s(t):r()}));else s(t)}}))}}()},fe=function(){function e(){this.queue=[],this.transactions=0,this.notifyFn=function(e){e()},this.batchNotifyFn=function(e){e()}}var t=e.prototype;return t.batch=function(e){var t;this.transactions++;try{t=e()}finally{this.transactions--,this.transactions||this.flush()}return t},t.schedule=function(e){var t=this;this.transactions?this.queue.push(e):oe((function(){t.notifyFn(e)}))},t.batchCalls=function(e){var t=this;return function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];t.schedule((function(){e.apply(void 0,r)}))}},t.flush=function(){var e=this,t=this.queue;this.queue=[],t.length&&oe((function(){e.batchNotifyFn((function(){t.forEach((function(t){e.notifyFn(t)}))}))}))},t.setNotifyFunction=function(e){this.notifyFn=e},t.setBatchNotifyFunction=function(e){this.batchNotifyFn=e},e}(),he=new fe,me=console;function ve(){return me}var ge=function(){function e(e){this.abortSignalConsumed=!1,this.hadObservers=!1,this.defaultOptions=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.cache=e.cache,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.initialState=e.state||this.getDefaultState(this.options),this.state=this.initialState,this.meta=e.meta,this.scheduleGc()}var t=e.prototype;return t.setOptions=function(e){var t;this.options=D({},this.defaultOptions,e),this.meta=null==e?void 0:e.meta,this.cacheTime=Math.max(this.cacheTime||0,null!=(t=this.options.cacheTime)?t:3e5)},t.setDefaultOptions=function(e){this.defaultOptions=e},t.scheduleGc=function(){var e=this;this.clearGcTimeout(),U(this.cacheTime)&&(this.gcTimeout=setTimeout((function(){e.optionalRemove()}),this.cacheTime))},t.clearGcTimeout=function(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)},t.optionalRemove=function(){this.observers.length||(this.state.isFetching?this.hadObservers&&this.scheduleGc():this.cache.remove(this))},t.setData=function(e,t){var n,r,o=this.state.data,a=function(e,t){return"function"==typeof e?e(t):e}(e,o);return(null==(n=(r=this.options).isDataEqual)?void 0:n.call(r,o,a))?a=o:!1!==this.options.structuralSharing&&(a=ee(o,a)),this.dispatch({data:a,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt}),a},t.setState=function(e,t){this.dispatch({type:"setState",state:e,setStateOptions:t})},t.cancel=function(e){var t,n=this.promise;return null==(t=this.retryer)||t.cancel(e),n?n.then(B).catch(B):Promise.resolve()},t.destroy=function(){this.clearGcTimeout(),this.cancel({silent:!0})},t.reset=function(){this.destroy(),this.setState(this.initialState)},t.isActive=function(){return this.observers.some((function(e){return!1!==e.options.enabled}))},t.isFetching=function(){return this.state.isFetching},t.isStale=function(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some((function(e){return e.getCurrentResult().isStale}))},t.isStaleByTime=function(e){return void 0===e&&(e=0),this.state.isInvalidated||!this.state.dataUpdatedAt||!H(this.state.dataUpdatedAt,e)},t.onFocus=function(){var e,t=this.observers.find((function(e){return e.shouldFetchOnWindowFocus()}));t&&t.refetch(),null==(e=this.retryer)||e.continue()},t.onOnline=function(){var e,t=this.observers.find((function(e){return e.shouldFetchOnReconnect()}));t&&t.refetch(),null==(e=this.retryer)||e.continue()},t.addObserver=function(e){-1===this.observers.indexOf(e)&&(this.observers.push(e),this.hadObservers=!0,this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:e}))},t.removeObserver=function(e){-1!==this.observers.indexOf(e)&&(this.observers=this.observers.filter((function(t){return t!==e})),this.observers.length||(this.retryer&&(this.retryer.isTransportCancelable||this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.cacheTime?this.scheduleGc():this.cache.remove(this)),this.cache.notify({type:"observerRemoved",query:this,observer:e}))},t.getObserversCount=function(){return this.observers.length},t.invalidate=function(){this.state.isInvalidated||this.dispatch({type:"invalidate"})},t.fetch=function(e,t){var n,r,o,a=this;if(this.state.isFetching)if(this.state.dataUpdatedAt&&(null==t?void 0:t.cancelRefetch))this.cancel({silent:!0});else if(this.promise){var i;return null==(i=this.retryer)||i.continueRetry(),this.promise}if(e&&this.setOptions(e),!this.options.queryFn){var l=this.observers.find((function(e){return e.options.queryFn}));l&&this.setOptions(l.options)}var s=V(this.queryKey),u=ae(),c={queryKey:s,pageParam:void 0,meta:this.meta};Object.defineProperty(c,"signal",{enumerable:!0,get:function(){if(u)return a.abortSignalConsumed=!0,u.signal}});var d,p,f={fetchOptions:t,options:this.options,queryKey:s,state:this.state,fetchFn:function(){return a.options.queryFn?(a.abortSignalConsumed=!1,a.options.queryFn(c)):Promise.reject("Missing queryFn")},meta:this.meta};(null==(n=this.options.behavior)?void 0:n.onFetch)&&(null==(d=this.options.behavior)||d.onFetch(f));(this.revertState=this.state,this.state.isFetching&&this.state.fetchMeta===(null==(r=f.fetchOptions)?void 0:r.meta))||this.dispatch({type:"fetch",meta:null==(p=f.fetchOptions)?void 0:p.meta});return this.retryer=new pe({fn:f.fetchFn,abort:null==u||null==(o=u.abort)?void 0:o.bind(u),onSuccess:function(e){a.setData(e),null==a.cache.config.onSuccess||a.cache.config.onSuccess(e,a),0===a.cacheTime&&a.optionalRemove()},onError:function(e){de(e)&&e.silent||a.dispatch({type:"error",error:e}),de(e)||(null==a.cache.config.onError||a.cache.config.onError(e,a),ve().error(e)),0===a.cacheTime&&a.optionalRemove()},onFail:function(){a.dispatch({type:"failed"})},onPause:function(){a.dispatch({type:"pause"})},onContinue:function(){a.dispatch({type:"continue"})},retry:f.options.retry,retryDelay:f.options.retryDelay}),this.promise=this.retryer.promise,this.promise},t.dispatch=function(e){var t=this;this.state=this.reducer(this.state,e),he.batch((function(){t.observers.forEach((function(t){t.onQueryUpdate(e)})),t.cache.notify({query:t,type:"queryUpdated",action:e})}))},t.getDefaultState=function(e){var t="function"==typeof e.initialData?e.initialData():e.initialData,n=void 0!==e.initialData?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0,r=void 0!==t;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?null!=n?n:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchMeta:null,isFetching:!1,isInvalidated:!1,isPaused:!1,status:r?"success":"idle"}},t.reducer=function(e,t){var n,r;switch(t.type){case"failed":return D({},e,{fetchFailureCount:e.fetchFailureCount+1});case"pause":return D({},e,{isPaused:!0});case"continue":return D({},e,{isPaused:!1});case"fetch":return D({},e,{fetchFailureCount:0,fetchMeta:null!=(n=t.meta)?n:null,isFetching:!0,isPaused:!1},!e.dataUpdatedAt&&{error:null,status:"loading"});case"success":return D({},e,{data:t.data,dataUpdateCount:e.dataUpdateCount+1,dataUpdatedAt:null!=(r=t.dataUpdatedAt)?r:Date.now(),error:null,fetchFailureCount:0,isFetching:!1,isInvalidated:!1,isPaused:!1,status:"success"});case"error":var o=t.error;return de(o)&&o.revert&&this.revertState?D({},this.revertState):D({},e,{error:o,errorUpdateCount:e.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:e.fetchFailureCount+1,isFetching:!1,isPaused:!1,status:"error"});case"invalidate":return D({},e,{isInvalidated:!0});case"setState":return D({},e,t.state);default:return e}},e}(),ye=function(e){function t(t){var n;return(n=e.call(this)||this).config=t||{},n.queries=[],n.queriesMap={},n}L(t,e);var n=t.prototype;return n.build=function(e,t,n){var r,o=t.queryKey,a=null!=(r=t.queryHash)?r:X(o,t),i=this.get(a);return i||(i=new ge({cache:this,queryKey:o,queryHash:a,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(o),meta:t.meta}),this.add(i)),i},n.add=function(e){this.queriesMap[e.queryHash]||(this.queriesMap[e.queryHash]=e,this.queries.push(e),this.notify({type:"queryAdded",query:e}))},n.remove=function(e){var t=this.queriesMap[e.queryHash];t&&(e.destroy(),this.queries=this.queries.filter((function(t){return t!==e})),t===e&&delete this.queriesMap[e.queryHash],this.notify({type:"queryRemoved",query:e}))},n.clear=function(){var e=this;he.batch((function(){e.queries.forEach((function(t){e.remove(t)}))}))},n.get=function(e){return this.queriesMap[e]},n.getAll=function(){return this.queries},n.find=function(e,t){var n=K(e,t)[0];return void 0===n.exact&&(n.exact=!0),this.queries.find((function(e){return Q(n,e)}))},n.findAll=function(e,t){var n=K(e,t)[0];return Object.keys(n).length>0?this.queries.filter((function(e){return Q(n,e)})):this.queries},n.notify=function(e){var t=this;he.batch((function(){t.listeners.forEach((function(t){t(e)}))}))},n.onFocus=function(){var e=this;he.batch((function(){e.queries.forEach((function(e){e.onFocus()}))}))},n.onOnline=function(){var e=this;he.batch((function(){e.queries.forEach((function(e){e.onOnline()}))}))},t}(F),be=function(){function e(e){this.options=D({},e.defaultOptions,e.options),this.mutationId=e.mutationId,this.mutationCache=e.mutationCache,this.observers=[],this.state=e.state||xe(),this.meta=e.meta}var t=e.prototype;return t.setState=function(e){this.dispatch({type:"setState",state:e})},t.addObserver=function(e){-1===this.observers.indexOf(e)&&this.observers.push(e)},t.removeObserver=function(e){this.observers=this.observers.filter((function(t){return t!==e}))},t.cancel=function(){return this.retryer?(this.retryer.cancel(),this.retryer.promise.then(B).catch(B)):Promise.resolve()},t.continue=function(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()},t.execute=function(){var e,t=this,n="loading"===this.state.status,r=Promise.resolve();return n||(this.dispatch({type:"loading",variables:this.options.variables}),r=r.then((function(){null==t.mutationCache.config.onMutate||t.mutationCache.config.onMutate(t.state.variables,t)})).then((function(){return null==t.options.onMutate?void 0:t.options.onMutate(t.state.variables)})).then((function(e){e!==t.state.context&&t.dispatch({type:"loading",context:e,variables:t.state.variables})}))),r.then((function(){return t.executeMutation()})).then((function(n){e=n,null==t.mutationCache.config.onSuccess||t.mutationCache.config.onSuccess(e,t.state.variables,t.state.context,t)})).then((function(){return null==t.options.onSuccess?void 0:t.options.onSuccess(e,t.state.variables,t.state.context)})).then((function(){return null==t.options.onSettled?void 0:t.options.onSettled(e,null,t.state.variables,t.state.context)})).then((function(){return t.dispatch({type:"success",data:e}),e})).catch((function(e){return null==t.mutationCache.config.onError||t.mutationCache.config.onError(e,t.state.variables,t.state.context,t),ve().error(e),Promise.resolve().then((function(){return null==t.options.onError?void 0:t.options.onError(e,t.state.variables,t.state.context)})).then((function(){return null==t.options.onSettled?void 0:t.options.onSettled(void 0,e,t.state.variables,t.state.context)})).then((function(){throw t.dispatch({type:"error",error:e}),e}))}))},t.executeMutation=function(){var e,t=this;return this.retryer=new pe({fn:function(){return t.options.mutationFn?t.options.mutationFn(t.state.variables):Promise.reject("No mutationFn found")},onFail:function(){t.dispatch({type:"failed"})},onPause:function(){t.dispatch({type:"pause"})},onContinue:function(){t.dispatch({type:"continue"})},retry:null!=(e=this.options.retry)?e:0,retryDelay:this.options.retryDelay}),this.retryer.promise},t.dispatch=function(e){var t=this;this.state=function(e,t){switch(t.type){case"failed":return D({},e,{failureCount:e.failureCount+1});case"pause":return D({},e,{isPaused:!0});case"continue":return D({},e,{isPaused:!1});case"loading":return D({},e,{context:t.context,data:void 0,error:null,isPaused:!1,status:"loading",variables:t.variables});case"success":return D({},e,{data:t.data,error:null,status:"success",isPaused:!1});case"error":return D({},e,{data:void 0,error:t.error,failureCount:e.failureCount+1,isPaused:!1,status:"error"});case"setState":return D({},e,t.state);default:return e}}(this.state,e),he.batch((function(){t.observers.forEach((function(t){t.onMutationUpdate(e)})),t.mutationCache.notify(t)}))},e}();function xe(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0}}var we=function(e){function t(t){var n;return(n=e.call(this)||this).config=t||{},n.mutations=[],n.mutationId=0,n}L(t,e);var n=t.prototype;return n.build=function(e,t,n){var r=new be({mutationCache:this,mutationId:++this.mutationId,options:e.defaultMutationOptions(t),state:n,defaultOptions:t.mutationKey?e.getMutationDefaults(t.mutationKey):void 0,meta:t.meta});return this.add(r),r},n.add=function(e){this.mutations.push(e),this.notify(e)},n.remove=function(e){this.mutations=this.mutations.filter((function(t){return t!==e})),e.cancel(),this.notify(e)},n.clear=function(){var e=this;he.batch((function(){e.mutations.forEach((function(t){e.remove(t)}))}))},n.getAll=function(){return this.mutations},n.find=function(e){return void 0===e.exact&&(e.exact=!0),this.mutations.find((function(t){return G(e,t)}))},n.findAll=function(e){return this.mutations.filter((function(t){return G(e,t)}))},n.notify=function(e){var t=this;he.batch((function(){t.listeners.forEach((function(t){t(e)}))}))},n.onFocus=function(){this.resumePausedMutations()},n.onOnline=function(){this.resumePausedMutations()},n.resumePausedMutations=function(){var e=this.mutations.filter((function(e){return e.state.isPaused}));return he.batch((function(){return e.reduce((function(e,t){return e.then((function(){return t.continue().catch(B)}))}),Promise.resolve())}))},t}(F);function ke(e,t){return null==e.getNextPageParam?void 0:e.getNextPageParam(t[t.length-1],t)}var Se=function(){function e(e){void 0===e&&(e={}),this.queryCache=e.queryCache||new ye,this.mutationCache=e.mutationCache||new we,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}var t=e.prototype;return t.mount=function(){var e=this;this.unsubscribeFocus=ie.subscribe((function(){ie.isFocused()&&le.isOnline()&&(e.mutationCache.onFocus(),e.queryCache.onFocus())})),this.unsubscribeOnline=le.subscribe((function(){ie.isFocused()&&le.isOnline()&&(e.mutationCache.onOnline(),e.queryCache.onOnline())}))},t.unmount=function(){var e,t;null==(e=this.unsubscribeFocus)||e.call(this),null==(t=this.unsubscribeOnline)||t.call(this)},t.isFetching=function(e,t){var n=K(e,t)[0];return n.fetching=!0,this.queryCache.findAll(n).length},t.isMutating=function(e){return this.mutationCache.findAll(D({},e,{fetching:!0})).length},t.getQueryData=function(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state.data},t.getQueriesData=function(e){return this.getQueryCache().findAll(e).map((function(e){return[e.queryKey,e.state.data]}))},t.setQueryData=function(e,t,n){var r=q(e),o=this.defaultQueryOptions(r);return this.queryCache.build(this,o).setData(t,n)},t.setQueriesData=function(e,t,n){var r=this;return he.batch((function(){return r.getQueryCache().findAll(e).map((function(e){var o=e.queryKey;return[o,r.setQueryData(o,t,n)]}))}))},t.getQueryState=function(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state},t.removeQueries=function(e,t){var n=K(e,t)[0],r=this.queryCache;he.batch((function(){r.findAll(n).forEach((function(e){r.remove(e)}))}))},t.resetQueries=function(e,t,n){var r=this,o=K(e,t,n),a=o[0],i=o[1],l=this.queryCache,s=D({},a,{active:!0});return he.batch((function(){return l.findAll(a).forEach((function(e){e.reset()})),r.refetchQueries(s,i)}))},t.cancelQueries=function(e,t,n){var r=this,o=K(e,t,n),a=o[0],i=o[1],l=void 0===i?{}:i;void 0===l.revert&&(l.revert=!0);var s=he.batch((function(){return r.queryCache.findAll(a).map((function(e){return e.cancel(l)}))}));return Promise.all(s).then(B).catch(B)},t.invalidateQueries=function(e,t,n){var r,o,a,i=this,l=K(e,t,n),s=l[0],u=l[1],c=D({},s,{active:null==(r=null!=(o=s.refetchActive)?o:s.active)||r,inactive:null!=(a=s.refetchInactive)&&a});return he.batch((function(){return i.queryCache.findAll(s).forEach((function(e){e.invalidate()})),i.refetchQueries(c,u)}))},t.refetchQueries=function(e,t,n){var r=this,o=K(e,t,n),a=o[0],i=o[1],l=he.batch((function(){return r.queryCache.findAll(a).map((function(e){return e.fetch(void 0,D({},i,{meta:{refetchPage:null==a?void 0:a.refetchPage}}))}))})),s=Promise.all(l).then(B);return(null==i?void 0:i.throwOnError)||(s=s.catch(B)),s},t.fetchQuery=function(e,t,n){var r=q(e,t,n),o=this.defaultQueryOptions(r);void 0===o.retry&&(o.retry=!1);var a=this.queryCache.build(this,o);return a.isStaleByTime(o.staleTime)?a.fetch(o):Promise.resolve(a.state.data)},t.prefetchQuery=function(e,t,n){return this.fetchQuery(e,t,n).then(B).catch(B)},t.fetchInfiniteQuery=function(e,t,n){var r=q(e,t,n);return r.behavior={onFetch:function(e){e.fetchFn=function(){var t,n,r,o,a,i,l,s,u,c=null==(t=e.fetchOptions)||null==(n=t.meta)?void 0:n.refetchPage,d=null==(r=e.fetchOptions)||null==(o=r.meta)?void 0:o.fetchMore,p=null==d?void 0:d.pageParam,f="forward"===(null==d?void 0:d.direction),h="backward"===(null==d?void 0:d.direction),m=(null==(a=e.state.data)?void 0:a.pages)||[],v=(null==(i=e.state.data)?void 0:i.pageParams)||[],g=ae(),y=null==g?void 0:g.signal,b=v,x=!1,w=e.options.queryFn||function(){return Promise.reject("Missing queryFn")},k=function(e,t,n,r){return b=r?[t].concat(b):[].concat(b,[t]),r?[n].concat(e):[].concat(e,[n])},S=function(t,n,r,o){if(x)return Promise.reject("Cancelled");if(void 0===r&&!n&&t.length)return Promise.resolve(t);var a={queryKey:e.queryKey,signal:y,pageParam:r,meta:e.meta},i=w(a),l=Promise.resolve(i).then((function(e){return k(t,r,e,o)}));return ue(i)&&(l.cancel=i.cancel),l};if(m.length)if(f){var E=void 0!==p,C=E?p:ke(e.options,m);l=S(m,E,C)}else if(h){var O=void 0!==p,P=O?p:(s=e.options,u=m,null==s.getPreviousPageParam?void 0:s.getPreviousPageParam(u[0],u));l=S(m,O,P,!0)}else!function(){b=[];var t=void 0===e.options.getNextPageParam,n=!c||!m[0]||c(m[0],0,m);l=n?S([],t,v[0]):Promise.resolve(k([],v[0],m[0]));for(var r=function(n){l=l.then((function(r){if(!c||!m[n]||c(m[n],n,m)){var o=t?v[n]:ke(e.options,r);return S(r,t,o)}return Promise.resolve(k(r,v[n],m[n]))}))},o=1;o<m.length;o++)r(o)}();else l=S([]);var R=l.then((function(e){return{pages:e,pageParams:b}}));return R.cancel=function(){x=!0,null==g||g.abort(),ue(l)&&l.cancel()},R}}},this.fetchQuery(r)},t.prefetchInfiniteQuery=function(e,t,n){return this.fetchInfiniteQuery(e,t,n).then(B).catch(B)},t.cancelMutations=function(){var e=this,t=he.batch((function(){return e.mutationCache.getAll().map((function(e){return e.cancel()}))}));return Promise.all(t).then(B).catch(B)},t.resumePausedMutations=function(){return this.getMutationCache().resumePausedMutations()},t.executeMutation=function(e){return this.mutationCache.build(this,e).execute()},t.getQueryCache=function(){return this.queryCache},t.getMutationCache=function(){return this.mutationCache},t.getDefaultOptions=function(){return this.defaultOptions},t.setDefaultOptions=function(e){this.defaultOptions=e},t.setQueryDefaults=function(e,t){var n=this.queryDefaults.find((function(t){return Y(e)===Y(t.queryKey)}));n?n.defaultOptions=t:this.queryDefaults.push({queryKey:e,defaultOptions:t})},t.getQueryDefaults=function(e){var t;return e?null==(t=this.queryDefaults.find((function(t){return J(e,t.queryKey)})))?void 0:t.defaultOptions:void 0},t.setMutationDefaults=function(e,t){var n=this.mutationDefaults.find((function(t){return Y(e)===Y(t.mutationKey)}));n?n.defaultOptions=t:this.mutationDefaults.push({mutationKey:e,defaultOptions:t})},t.getMutationDefaults=function(e){var t;return e?null==(t=this.mutationDefaults.find((function(t){return J(e,t.mutationKey)})))?void 0:t.defaultOptions:void 0},t.defaultQueryOptions=function(e){if(null==e?void 0:e._defaulted)return e;var t=D({},this.defaultOptions.queries,this.getQueryDefaults(null==e?void 0:e.queryKey),e,{_defaulted:!0});return!t.queryHash&&t.queryKey&&(t.queryHash=X(t.queryKey,t)),t},t.defaultQueryObserverOptions=function(e){return this.defaultQueryOptions(e)},t.defaultMutationOptions=function(e){return(null==e?void 0:e._defaulted)?e:D({},this.defaultOptions.mutations,this.getMutationDefaults(null==e?void 0:e.mutationKey),e,{_defaulted:!0})},t.clear=function(){this.queryCache.clear(),this.mutationCache.clear()},e}(),Ee=function(e){function t(t,n){var r;return(r=e.call(this)||this).client=t,r.options=n,r.trackedProps=[],r.selectError=null,r.bindMethods(),r.setOptions(n),r}L(t,e);var n=t.prototype;return n.bindMethods=function(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)},n.onSubscribe=function(){1===this.listeners.length&&(this.currentQuery.addObserver(this),Ce(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())},n.onUnsubscribe=function(){this.listeners.length||this.destroy()},n.shouldFetchOnReconnect=function(){return Oe(this.currentQuery,this.options,this.options.refetchOnReconnect)},n.shouldFetchOnWindowFocus=function(){return Oe(this.currentQuery,this.options,this.options.refetchOnWindowFocus)},n.destroy=function(){this.listeners=[],this.clearTimers(),this.currentQuery.removeObserver(this)},n.setOptions=function(e,t){var n=this.options,r=this.currentQuery;if(this.options=this.client.defaultQueryObserverOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled)throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=n.queryKey),this.updateQuery();var o=this.hasListeners();o&&Pe(this.currentQuery,r,this.options,n)&&this.executeFetch(),this.updateResult(t),!o||this.currentQuery===r&&this.options.enabled===n.enabled&&this.options.staleTime===n.staleTime||this.updateStaleTimeout();var a=this.computeRefetchInterval();!o||this.currentQuery===r&&this.options.enabled===n.enabled&&a===this.currentRefetchInterval||this.updateRefetchInterval(a)},n.getOptimisticResult=function(e){var t=this.client.defaultQueryObserverOptions(e),n=this.client.getQueryCache().build(this.client,t);return this.createResult(n,t)},n.getCurrentResult=function(){return this.currentResult},n.trackResult=function(e,t){var n=this,r={},o=function(e){n.trackedProps.includes(e)||n.trackedProps.push(e)};return Object.keys(e).forEach((function(t){Object.defineProperty(r,t,{configurable:!1,enumerable:!0,get:function(){return o(t),e[t]}})})),(t.useErrorBoundary||t.suspense)&&o("error"),r},n.getNextResult=function(e){var t=this;return new Promise((function(n,r){var o=t.subscribe((function(t){t.isFetching||(o(),t.isError&&(null==e?void 0:e.throwOnError)?r(t.error):n(t))}))}))},n.getCurrentQuery=function(){return this.currentQuery},n.remove=function(){this.client.getQueryCache().remove(this.currentQuery)},n.refetch=function(e){return this.fetch(D({},e,{meta:{refetchPage:null==e?void 0:e.refetchPage}}))},n.fetchOptimistic=function(e){var t=this,n=this.client.defaultQueryObserverOptions(e),r=this.client.getQueryCache().build(this.client,n);return r.fetch().then((function(){return t.createResult(r,n)}))},n.fetch=function(e){var t=this;return this.executeFetch(e).then((function(){return t.updateResult(),t.currentResult}))},n.executeFetch=function(e){this.updateQuery();var t=this.currentQuery.fetch(this.options,e);return(null==e?void 0:e.throwOnError)||(t=t.catch(B)),t},n.updateStaleTimeout=function(){var e=this;if(this.clearStaleTimeout(),!W&&!this.currentResult.isStale&&U(this.options.staleTime)){var t=H(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout((function(){e.currentResult.isStale||e.updateResult()}),t)}},n.computeRefetchInterval=function(){var e;return"function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(e=this.options.refetchInterval)&&e},n.updateRefetchInterval=function(e){var t=this;this.clearRefetchInterval(),this.currentRefetchInterval=e,!W&&!1!==this.options.enabled&&U(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval((function(){(t.options.refetchIntervalInBackground||ie.isFocused())&&t.executeFetch()}),this.currentRefetchInterval))},n.updateTimers=function(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())},n.clearTimers=function(){this.clearStaleTimeout(),this.clearRefetchInterval()},n.clearStaleTimeout=function(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)},n.clearRefetchInterval=function(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)},n.createResult=function(e,t){var n,r=this.currentQuery,o=this.options,a=this.currentResult,i=this.currentResultState,l=this.currentResultOptions,s=e!==r,u=s?e.state:this.currentQueryInitialState,c=s?this.currentResult:this.previousQueryResult,d=e.state,p=d.dataUpdatedAt,f=d.error,h=d.errorUpdatedAt,m=d.isFetching,v=d.status,g=!1,y=!1;if(t.optimisticResults){var b=this.hasListeners(),x=!b&&Ce(e,t),w=b&&Pe(e,r,t,o);(x||w)&&(m=!0,p||(v="loading"))}if(t.keepPreviousData&&!d.dataUpdateCount&&(null==c?void 0:c.isSuccess)&&"error"!==v)n=c.data,p=c.dataUpdatedAt,v=c.status,g=!0;else if(t.select&&void 0!==d.data)if(a&&d.data===(null==i?void 0:i.data)&&t.select===this.selectFn)n=this.selectResult;else try{this.selectFn=t.select,n=t.select(d.data),!1!==t.structuralSharing&&(n=ee(null==a?void 0:a.data,n)),this.selectResult=n,this.selectError=null}catch(e){ve().error(e),this.selectError=e}else n=d.data;if(void 0!==t.placeholderData&&void 0===n&&("loading"===v||"idle"===v)){var k;if((null==a?void 0:a.isPlaceholderData)&&t.placeholderData===(null==l?void 0:l.placeholderData))k=a.data;else if(k="function"==typeof t.placeholderData?t.placeholderData():t.placeholderData,t.select&&void 0!==k)try{k=t.select(k),!1!==t.structuralSharing&&(k=ee(null==a?void 0:a.data,k)),this.selectError=null}catch(e){ve().error(e),this.selectError=e}void 0!==k&&(v="success",n=k,y=!0)}return this.selectError&&(f=this.selectError,n=this.selectResult,h=Date.now(),v="error"),{status:v,isLoading:"loading"===v,isSuccess:"success"===v,isError:"error"===v,isIdle:"idle"===v,data:n,dataUpdatedAt:p,error:f,errorUpdatedAt:h,failureCount:d.fetchFailureCount,errorUpdateCount:d.errorUpdateCount,isFetched:d.dataUpdateCount>0||d.errorUpdateCount>0,isFetchedAfterMount:d.dataUpdateCount>u.dataUpdateCount||d.errorUpdateCount>u.errorUpdateCount,isFetching:m,isRefetching:m&&"loading"!==v,isLoadingError:"error"===v&&0===d.dataUpdatedAt,isPlaceholderData:y,isPreviousData:g,isRefetchError:"error"===v&&0!==d.dataUpdatedAt,isStale:Re(e,t),refetch:this.refetch,remove:this.remove}},n.shouldNotifyListeners=function(e,t){if(!t)return!0;var n=this.options,r=n.notifyOnChangeProps,o=n.notifyOnChangePropsExclusions;if(!r&&!o)return!0;if("tracked"===r&&!this.trackedProps.length)return!0;var a="tracked"===r?this.trackedProps:r;return Object.keys(e).some((function(n){var r=n,i=e[r]!==t[r],l=null==a?void 0:a.some((function(e){return e===n})),s=null==o?void 0:o.some((function(e){return e===n}));return i&&!s&&(!a||l)}))},n.updateResult=function(e){var t=this.currentResult;if(this.currentResult=this.createResult(this.currentQuery,this.options),this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,!function(e,t){if(e&&!t||t&&!e)return!1;for(var n in e)if(e[n]!==t[n])return!1;return!0}(this.currentResult,t)){var n={cache:!0};!1!==(null==e?void 0:e.listeners)&&this.shouldNotifyListeners(this.currentResult,t)&&(n.listeners=!0),this.notify(D({},n,e))}},n.updateQuery=function(){var e=this.client.getQueryCache().build(this.client,this.options);if(e!==this.currentQuery){var t=this.currentQuery;this.currentQuery=e,this.currentQueryInitialState=e.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}},n.onQueryUpdate=function(e){var t={};"success"===e.type?t.onSuccess=!0:"error"!==e.type||de(e.error)||(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()},n.notify=function(e){var t=this;he.batch((function(){e.onSuccess?(null==t.options.onSuccess||t.options.onSuccess(t.currentResult.data),null==t.options.onSettled||t.options.onSettled(t.currentResult.data,null)):e.onError&&(null==t.options.onError||t.options.onError(t.currentResult.error),null==t.options.onSettled||t.options.onSettled(void 0,t.currentResult.error)),e.listeners&&t.listeners.forEach((function(e){e(t.currentResult)})),e.cache&&t.client.getQueryCache().notify({query:t.currentQuery,type:"observerResultsUpdated"})}))},t}(F);function Ce(e,t){return function(e,t){return!(!1===t.enabled||e.state.dataUpdatedAt||"error"===e.state.status&&!1===t.retryOnMount)}(e,t)||e.state.dataUpdatedAt>0&&Oe(e,t,t.refetchOnMount)}function Oe(e,t,n){if(!1!==t.enabled){var r="function"==typeof n?n(e):n;return"always"===r||!1!==r&&Re(e,t)}return!1}function Pe(e,t,n,r){return!1!==n.enabled&&(e!==t||!1===r.enabled)&&(!n.suspense||"error"!==e.state.status)&&Re(e,n)}function Re(e,t){return e.isStaleByTime(t.staleTime)}var Te=function(e){function t(t,n){var r;return(r=e.call(this)||this).client=t,r.setOptions(n),r.bindMethods(),r.updateResult(),r}L(t,e);var n=t.prototype;return n.bindMethods=function(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)},n.setOptions=function(e){this.options=this.client.defaultMutationOptions(e)},n.onUnsubscribe=function(){var e;this.listeners.length||(null==(e=this.currentMutation)||e.removeObserver(this))},n.onMutationUpdate=function(e){this.updateResult();var t={listeners:!0};"success"===e.type?t.onSuccess=!0:"error"===e.type&&(t.onError=!0),this.notify(t)},n.getCurrentResult=function(){return this.currentResult},n.reset=function(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})},n.mutate=function(e,t){return this.mutateOptions=t,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,D({},this.options,{variables:void 0!==e?e:this.options.variables})),this.currentMutation.addObserver(this),this.currentMutation.execute()},n.updateResult=function(){var e=this.currentMutation?this.currentMutation.state:{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0},t=D({},e,{isLoading:"loading"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset});this.currentResult=t},n.notify=function(e){var t=this;he.batch((function(){t.mutateOptions&&(e.onSuccess?(null==t.mutateOptions.onSuccess||t.mutateOptions.onSuccess(t.currentResult.data,t.currentResult.variables,t.currentResult.context),null==t.mutateOptions.onSettled||t.mutateOptions.onSettled(t.currentResult.data,null,t.currentResult.variables,t.currentResult.context)):e.onError&&(null==t.mutateOptions.onError||t.mutateOptions.onError(t.currentResult.error,t.currentResult.variables,t.currentResult.context),null==t.mutateOptions.onSettled||t.mutateOptions.onSettled(void 0,t.currentResult.error,t.currentResult.variables,t.currentResult.context))),e.listeners&&t.listeners.forEach((function(e){e(t.currentResult)}))}))},t}(F),Me=p.createContext(void 0),$e=p.createContext(!1);function Ie(e){return e&&"undefined"!=typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=Me),window.ReactQueryClientContext):Me}var Ne=function(){var e=p.useContext(Ie(p.useContext($e)));if(!e)throw new Error("No QueryClient set, use QueryClientProvider to set one");return e},Ae=function(e){var t=e.client,n=e.contextSharing,r=void 0!==n&&n,o=e.children;p.useEffect((function(){return t.mount(),function(){t.unmount()}}),[t]);var a=Ie(r);return p.createElement($e.Provider,{value:r},p.createElement(a.Provider,{value:t},o))};var je,ze=p.createContext((je=!1,{clearReset:function(){je=!1},reset:function(){je=!0},isReset:function(){return je}})),_e=function(){return p.useContext(ze)};function Le(e,t,n){return"function"==typeof t?t.apply(void 0,n):"boolean"==typeof t?t:!!e}function Fe(e,t,n){var r=p.useRef(!1),o=p.useState(0)[1],a=function(e,t,n){return re(e)?"function"==typeof t?D({},n,{mutationKey:e,mutationFn:t}):D({},t,{mutationKey:e}):"function"==typeof e?D({},t,{mutationFn:e}):D({},e)}(e,t,n),i=Ne(),l=p.useRef();l.current?l.current.setOptions(a):l.current=new Te(i,a);var s=l.current.getCurrentResult();p.useEffect((function(){r.current=!0;var e=l.current.subscribe(he.batchCalls((function(){r.current&&o((function(e){return e+1}))})));return function(){r.current=!1,e()}}),[]);var u=p.useCallback((function(e,t){l.current.mutate(e,t).catch(B)}),[]);if(s.error&&Le(void 0,l.current.options.useErrorBoundary,[s.error]))throw s.error;return D({},s,{mutate:u,mutateAsync:s.mutate})}function De(e,t,n){return function(e,t){var n=p.useRef(!1),r=p.useState(0)[1],o=Ne(),a=_e(),i=o.defaultQueryObserverOptions(e);i.optimisticResults=!0,i.onError&&(i.onError=he.batchCalls(i.onError)),i.onSuccess&&(i.onSuccess=he.batchCalls(i.onSuccess)),i.onSettled&&(i.onSettled=he.batchCalls(i.onSettled)),i.suspense&&("number"!=typeof i.staleTime&&(i.staleTime=1e3),0===i.cacheTime&&(i.cacheTime=1)),(i.suspense||i.useErrorBoundary)&&(a.isReset()||(i.retryOnMount=!1));var l=p.useState((function(){return new t(o,i)}))[0],s=l.getOptimisticResult(i);if(p.useEffect((function(){n.current=!0,a.clearReset();var e=l.subscribe(he.batchCalls((function(){n.current&&r((function(e){return e+1}))})));return l.updateResult(),function(){n.current=!1,e()}}),[a,l]),p.useEffect((function(){l.setOptions(i,{listeners:!1})}),[i,l]),i.suspense&&s.isLoading)throw l.fetchOptimistic(i).then((function(e){var t=e.data;null==i.onSuccess||i.onSuccess(t),null==i.onSettled||i.onSettled(t,null)})).catch((function(e){a.clearReset(),null==i.onError||i.onError(e),null==i.onSettled||i.onSettled(void 0,e)}));if(s.isError&&!a.isReset()&&!s.isFetching&&Le(i.suspense,i.useErrorBoundary,[s.error,l.getCurrentQuery()]))throw s.error;return"tracked"===i.notifyOnChangeProps&&(s=l.trackResult(s,i)),s}(q(e,t,n),Ee)}function We(e){return"string"==typeof e?[e]:Array.isArray(e)?e:void 0}const Be=(e,t)=>fetch(e,t),Ue="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567";function Ve(e){const t=Ue.indexOf(e);if(-1===t)throw new Error("Invalid character found: "+e);return t}function He(e){const t=(e=e.toUpperCase()).length;let n=0,r=0,o=0;const a=new Uint8Array(5*t/8|0);for(let i=0;i<t;i++)r=r<<5|Ve(e[i]),n+=5,n>=8&&(a[o++]=r>>>n-8&255,n-=8);return function(e){const t=new Uint8Array(e),n=t.length;let r="",o=Math.pow(2,16)-1;for(let e=0;e<n;e+=o)e+o>n&&(o=n-e),r+=String.fromCharCode.apply(null,t.subarray(e,e+o));return r}(a.buffer)}function qe(e){if(e)try{const[t,n]=e.split("_");if("tgpak"===t){const[e]=He(n).split("_");return Number(e)}}catch(e){console.warn("Tolgee: Api key can't be parsed")}}function Ke(e){if(!e)return;const[t]=e.split("_");return"tgpak"===t?"tgpak":"tgpat"===t?"tgpat":"legacy"}const Qe=((e=Be)=>(t,n)=>e(t,Object.assign(Object.assign({},n),{headers:Object.assign({"X-Tolgee-SDK-Type":"JS","X-Tolgee-SDK-Version":"5.16.2"},null==n?void 0:n.headers)})))();async function Ge(e){const t=await e.text();try{return JSON.parse(t)}catch(e){return t}}const Xe=e=>e?Object.entries(e).reduce(((e,[t,n])=>Array.isArray(n)||"object"!=typeof n?Object.assign(Object.assign({},e),{[t]:n}):Object.assign(Object.assign({},e),Xe(n))),{}):{};const Ye=e=>e.replace("/projects/","/projects/{projectId}/");async function Je(e,t,n,r){var o,a;const i=(null==n?void 0:n.path)||{};let l=e;const s=qe(r.apiKey)||r.projectId;void 0!==s&&(i.projectId=s,l=Ye(l)),i&&Object.entries(i).forEach((([e,t])=>{l=l.replace(`{${e}}`,t)}));const u=null===(o=null==n?void 0:n.content)||void 0===o?void 0:o["multipart/form-data"];let c;u&&(c=new FormData,Object.entries(u).forEach((([e,t])=>{if(Array.isArray(t)){let n;return"[object File]"===Object.prototype.toString.call(t)&&(n=t.name),void t.forEach((t=>null==c?void 0:c.append(e,t,n)))}null==c||c.append(e,t)})));const d=JSON.stringify(null===(a=null==n?void 0:n.content)||void 0===a?void 0:a["application/json"]),p=null==n?void 0:n.query;let f="";const h=Xe(p),m=(v=h,Object.keys(v).filter((e=>!!v[e])).map((e=>Array.isArray(v[e])?v[e].map((t=>encodeURIComponent(e)+"="+encodeURIComponent(t))).join("&"):encodeURIComponent(e)+"="+encodeURIComponent(v[e]))).join("&"));var v;return m&&(f="?"+m),async function(e,t,n){if(void 0===t.apiUrl)throw"Api url not specified";if(void 0===t.apiKey)throw"Api key not specified";return(n=n||{}).headers=n.headers||{},n.headers=Object.assign(Object.assign({},n.headers),{"X-API-Key":t.apiKey}),Qe(t.apiUrl+e,n).then((async e=>{if(!e.ok){const t=await Ge(e),n=`${e.status}: ${(null==t?void 0:t.message)||"Error status code from server"}`;throw new Error(n)}const t=await Ge(e);return"object"==typeof t&&null!==t&&(t._internal={version:e.headers.get("X-Tolgee-Version")}),t})).catch((e=>{throw e.message||"Failed to fetch"}))}(l+f,r,{method:t,body:c||d,headers:d?{"Content-Type":"application/json"}:void 0})}const Ze=new Se({defaultOptions:{queries:{refetchOnWindowFocus:!1,refetchOnReconnect:!1,retry:!1}}}),et=p.createContext({}),tt=({children:e,apiUrl:t,apiKey:n,projectId:r})=>p.createElement(et.Provider,{value:{apiUrl:t,apiKey:n,projectId:r}},p.createElement(Ae,{client:Ze},e)),nt=e=>{const{url:t,method:n,options:r}=e,o=M(e,["url","method","options"]),a=l.exports.useContext(et);return De([t,null==o?void 0:o.path,null==o?void 0:o.query],(()=>Je(t,n,o,a)),r)},rt=e=>{const t=Ne(),{url:n,method:r,options:o,invalidatePrefix:a}=e,i=l.exports.useContext(et),s=Fe((e=>Je(n,r,e,i)),o),u=e=>Object.assign(Object.assign({},e),{onSuccess:(...n)=>{var r;void 0!==a&&ot(t,a),null===(r=null==e?void 0:e.onSuccess)||void 0===r||r.call(e,...n)}}),c=l.exports.useCallback(((e,t)=>s.mutate(e,u(t))),[s.mutate]),d=l.exports.useCallback(((e,t)=>s.mutateAsync(e,u(t))),[s.mutateAsync]);return Object.assign(Object.assign({},s),{mutate:c,mutateAsync:d})},ot=(e,t)=>e.invalidateQueries((e=>({predicate:t=>{var n;return null===(n=t.queryKey[0])||void 0===n?void 0:n.startsWith(e)}}))(t));function at(){try{return JSON.parse(localStorage.getItem(k)||"")}catch(e){return[]}}function it(e){localStorage.setItem(k,JSON.stringify(e))}const lt=(e,t,n,r)=>{const o=n.map((([n,o])=>r({language:n,namespace:t},e,o)));return{revert:()=>o.forEach((e=>e.revert()))}};function st({position:e}){return{x:e.x,y:e.y,width:e.width,height:e.height}}function ut(e){return new Promise((t=>{const n=document.createElement("img");n.src=e,n.onload=function(){const e=n.width,r=n.height;t({width:e,height:r})}}))}function ct(e,t,n){return Boolean(null==t?void 0:t.includes(e))||n}function dt({message:e,recievingMessage:t,data:n,attempts:r=1}){let o=!1;const a=()=>new Promise(((r,o)=>{const a=function(e,t){const n=n=>{var r,o;e.includes(null===(r=n.data)||void 0===r?void 0:r.type)&&t(null===(o=n.data)||void 0===o?void 0:o.data)};return window.addEventListener("message",n,!1),{unsubscribe(){window.removeEventListener("message",n)}}}(t,(function(e){clearTimeout(i),l(),r(e)}));window.postMessage({type:e,data:n},window.origin);const i=setTimeout((function(){l(),o()}),300);function l(){a.unsubscribe()}}));return{cancel(){o=!0},promise:(async()=>{for(let e=0;e<r;e++){if(o)return new Promise((()=>{}));try{return await a()}catch(e){continue}}if(!o)throw`Didn't recieve ${t.join(" or ")} in time.`;return new Promise((()=>{}))})()}}const pt=e=>{const[t,n]=l.exports.useState(void 0),[r,o]=l.exports.useState(!1),[a,i]=l.exports.useState([]),[s,u]=l.exports.useState(null);l.exports.useEffect((()=>{(async function(){try{return await dt({message:"TOLGEE_PING",recievingMessage:["TOLGEE_PONG"],attempts:2}).promise,!0}catch(e){return!1}})().then((e=>n(e)))}),[]);const c=rt({url:"/v2/image-upload/{ids}",method:"delete"}),d=rt({url:"/v2/image-upload",method:"post"}),p=(e,t,n)=>d.mutateAsync({content:{"multipart/form-data":{image:e}}},{onSuccess(e){i((r=>[...r,Object.assign(Object.assign(Object.assign({},e),t),{keyReferences:n.map((e=>Object.assign(Object.assign({},e),{keyId:-1}))),justUploaded:!0})]))}});return{error:c.error||d.error,screenshotsUploading:d.isLoading,takingScreenshot:r,screenshots:a,setScreenshots:i,screenshotDetail:s,setScreenshotDetail:u,handleUploadImages:async function(e){await Promise.all(e.map((async e=>{const t=URL.createObjectURL(e),n=await ut(t);await p(e,n,[])})))},handleTakeScreenshot:async function(t,n,r){o(!0);const{revert:a}=lt(t,n,Object.entries(r),e.changeTranslation);let i;await $(400);try{i=await dt({message:"TOLGEE_TAKE_SCREENSHOT",recievingMessage:["TOLGEE_SCREENSHOT_TAKEN"]}).promise}catch(e){return void console.error(e)}finally{a(),o(!1)}const l=e.findPositions(t,n),s={width:window.innerWidth,height:window.innerHeight},u=await ut(i),c=await fetch(i).then((e=>e.blob())),d=function(e,t,n){const r=t.width/e.width,o=t.height/e.height;return n.map((e=>{var{position:t}=e,n=M(e,["position"]);return Object.assign(Object.assign({},n),{position:{x:t.x*r,y:t.y*o,width:t.width*r,height:t.height*o}})}))}(s,u,l);p(c,u,d)},handleRemoveScreenshot:function(e){const t=a.find((t=>t.id===e));(null==t?void 0:t.justUploaded)&&c.mutate({path:{ids:[t.id]}}),i(a.filter((t=>t.id!==e)))},deleteImages:function(e){c.mutate({path:{ids:e}})},canTakeScreenshots:t}},ft=(e,t)=>e.localeCompare(t,"en",{numeric:!0,sensitivity:"base"})<=0,ht=(e,t)=>{const n=e.findIndex((e=>e.keyName===t.keyName&&(e.keyNamespace||void 0)===(t.keyNamespace||void 0)))||0;let r=n-50,o=n+50;return r<0&&(o+=0-r,r=0),o>e.length&&(r-=o-e.length,o=e.length),r<0&&(r=0),e.slice(r,o)},mt="v3.20.0",[vt,gt,yt]=(e=>{const t=function(e){const t=l.exports.createContext({[I]:{v:{current:e},n:{current:-1},l:new Set,u:e=>e()}});var n;return t[N]=t.Provider,t.Provider=(n=t.Provider,({value:e,children:t})=>{const r=l.exports.useRef(e),o=l.exports.useRef(0),[a,i]=l.exports.useState(null);a&&(a(e),i(null));const s=l.exports.useRef();if(!s.current){const e=new Set,t=(t,n)=>{h.exports.unstable_batchedUpdates((()=>{o.current+=1;const r={n:o.current};null!=n&&n.suspense&&(r.n*=-1,r.p=new Promise((e=>{i((()=>t=>{r.v=t,delete r.p,e(t)}))}))),e.forEach((e=>e(r))),t()}))};s.current={[I]:{v:r,n:o,l:e,u:t}}}return A((()=>{r.current=e,o.current+=1,j((()=>{s.current[I].l.forEach((t=>{t({n:o.current,v:e})}))}))}),[e]),l.exports.createElement(n,{value:s.current},t)}),delete t.Consumer,t}(null),n=p.createContext(null);return[r=>{var{children:o}=r,a=M(r,["children"]);const[i,s]=e(a),u=l.exports.useRef(s);u.current=s;const c=l.exports.useMemo((()=>{const e={};return Object.keys(u.current).map((t=>{e[t]=(...e)=>{var n,r;return null===(r=(n=u.current)[t])||void 0===r?void 0:r.call(n,...e)}})),e}),[u]);return p.createElement(t.Provider,{value:i},p.createElement(n.Provider,{value:c},o))},()=>p.useContext(n),function(e){return function(e,t){const n=l.exports.useContext(e)[I],{v:{current:r},n:{current:o},l:a}=n,i=t(r),[s,u]=l.exports.useReducer(((e,n)=>{if(!n)return[r,i];if("p"in n)throw n.p;if(n.n===o)return Object.is(e[1],i)?e:[r,i];try{if("v"in n){if(Object.is(e[0],n.v))return e;const r=t(n.v);return Object.is(e[1],r)?e:[n.v,r]}}catch(e){}return[...e]}),[r,i]);return Object.is(s[1],i)||u(),A((()=>(a.add(u),()=>{a.delete(u)})),[a]),s[1]}(t,e)}]})((e=>{var t,n,r,o,a,i,s,u,c,d,p,f,h;const[m,v]=l.exports.useState(!1),[g,y]=l.exports.useState({}),[b,x]=l.exports.useState(!1),[w,k]=l.exports.useState(!1),[E,C]=l.exports.useState(e.namespace),[O,P]=l.exports.useState([]),R="tgpat"===Ke(e.uiProps.apiKey),T=pt(e.uiProps),{screenshots:I,setScreenshots:N,screenshotDetail:A,setScreenshotDetail:j,screenshotsUploading:_,takingScreenshot:L,handleRemoveScreenshot:F,handleUploadImages:D,deleteImages:W,canTakeScreenshots:B,error:U}=T,V=M(T,["screenshots","setScreenshots","screenshotDetail","setScreenshotDetail","screenshotsUploading","takingScreenshot","handleRemoveScreenshot","handleUploadImages","deleteImages","canTakeScreenshots","error"]),H=nt({url:"/v2/api-keys/current",method:"get",options:{enabled:!R}}),q=nt({url:"/v2/projects/languages",method:"get",options:{onSuccess(e){var t,n;const r=function(e){let t=at().filter((t=>e.includes(t)));return 0===t.length&&(t=e),t.slice(0,S)}((null===(n=null===(t=e._embedded)||void 0===t?void 0:t.languages)||void 0===n?void 0:n.map((e=>e.tag)))||[]);X(r),it(r)}}}),K=rt({url:"/v2/projects/keys/create",method:"post"}),Q=l.exports.useMemo((()=>{var e,t;return(e=>{const t=null==e?void 0:e.find((e=>e.base));return t?[t,...(e||[]).filter((e=>e!==t))]:e})(null===(t=null===(e=q.data)||void 0===e?void 0:e._embedded)||void 0===t?void 0:t.languages)}),[q.data]),[G,X]=l.exports.useState(at()),Y=nt({url:"/v2/projects/translations",method:"get",query:{filterKeyName:[e.keyName],filterNamespace:[E],languages:G},options:{keepPreviousData:!0,onSuccess(e){var t,n,r,o;const a={},i=null===(n=null===(t=e._embedded)||void 0===t?void 0:t.keys)||void 0===n?void 0:n[0];Object.entries((null==i?void 0:i.translations)||{}).forEach((([e,t])=>{a[e]=t.text||""})),y(a),P((null===(r=null==i?void 0:i.keyTags)||void 0===r?void 0:r.map((e=>e.name)))||[]),N((null===(o=null==i?void 0:i.screenshots)||void 0===o?void 0:o.map((e=>Object.assign(Object.assign({},e),{filename:e.filename,justUploaded:!1}))))||[])}}}),J=rt({url:"/v2/projects/keys/{id}/complex-update",method:"put"}),Z=rt({url:"/v2/projects/big-meta",method:"post"}),ee=null===(r=null===(n=null===(t=Y.data)||void 0===t?void 0:t._embedded)||void 0===n?void 0:n.keys)||void 0===r?void 0:r[0],te=void 0!==(null===(o=H.data)||void 0===o?void 0:o.projectId)?`${e.uiProps.apiUrl}/projects/${null===(a=H.data)||void 0===a?void 0:a.projectId}/translations/single?key=${e.keyName}${void 0!==E?`&ns=${E}`:""}`:void 0,[ne,re]=l.exports.useState(void 0),[oe,ae]=l.exports.useState(!1),ie=null===(i=H.data)||void 0===i?void 0:i.permittedLanguageIds;function le(){if(A)j(null);else{e.onClose(),ae(!1);const t=se();t.length&&W(t.map((e=>e.id))),N([])}}l.exports.useEffect((()=>{const e=e=>{"Escape"===e.key&&le()};if(!oe)return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}}),[oe]);const se=()=>I.filter((e=>e.justUploaded)),ue=()=>{var e;return(null===(e=null==ee?void 0:ee.screenshots)||void 0===e?void 0:e.map((e=>e.id)).filter((e=>!I.find((t=>t.id===e)))))||[]};l.exports.useEffect((()=>{var t;if(e.defaultValue&&Q&&G&&g){const n=Q.find((e=>e.base));if(n&&G.includes(n.tag)&&!w){const r=void 0!==(null===(t=null==ee?void 0:ee.translations)||void 0===t?void 0:t[n.tag]);g[n.tag]||r||y(Object.assign(Object.assign({},g),{[n.tag]:e.defaultValue}))}}}),[Q,g,G,e.defaultValue]);const ce=null==Q?void 0:Q.find((({base:e})=>e)),de=q.isFetching||Y.isLoading&&!Y.data||H.isFetching,pe=q.error||Y.error||H.error||K.error||J.error||Z.error||U,fe=null===(s=H.data)||void 0===s?void 0:s.scopes,he=ct("screenshots.upload",fe,R)||ct("screenshots.delete",fe,R)||((null===(d=null===(c=null===(u=Y.data)||void 0===u?void 0:u._embedded)||void 0===c?void 0:c.keys)||void 0===d?void 0:d.length)?ct("translations.edit",fe,R):ct("keys.edit",fe,R)),me=!R&&(de||!he),ve=!me&&ct("keys.edit",fe,R),ge=Boolean(null===(h=null===(f=null===(p=Y.data)||void 0===p?void 0:p._embedded)||void 0===f?void 0:f.keys)||void 0===h?void 0:h.length),ye={input:e.keyName,open:e.open,fallbackNamespaces:e.fallbackNamespaces,selectedNs:E,loading:de,saving:b,success:m,error:pe,availableLanguages:Q,selectedLanguages:(be=G,xe=null==ce?void 0:ce.tag,xe&&be.includes(xe)?[xe,...be.filter((e=>e!==xe))]:be),formDisabled:me,keyData:ee,translationsForm:g,container:ne,useBrowserWindow:oe,canTakeScreenshots:B,takingScreenshot:L,screenshotsUploading:_,screenshots:I,screenshotDetail:A,linkToPlatform:te,keyExists:ge,scopes:fe,permittedLanguageIds:ie,tags:O,canEditTags:ve,isPat:R};var be,xe;const we={onInputChange:function(e,t){v(!1),k(!0),y(Object.assign(Object.assign({},g),{[e]:t}))},handleUploadImages:D,handleTakeScreenshot:function(){V.handleTakeScreenshot(e.keyName,E,g)},handleRemoveScreenshot:F,onSave:async function(){var t;x(!0);try{const n={};Object.entries(g).forEach((([e,t])=>{z(e,ie,Q)&&(n[e]=t)}));const r=await(void 0===ee?K.mutateAsync({content:{"application/json":{name:e.keyName,namespace:E||void 0,translations:n,screenshots:I.map((e=>{var t;return{uploadedImageId:e.id,positions:null===(t=e.keyReferences)||void 0===t?void 0:t.map(st)}})),tags:O}}}):J.mutateAsync({content:{"application/json":{name:e.keyName,namespace:E||void 0,translations:n,screenshotIdsToDelete:ue(),screenshotsToAdd:se().map((e=>{var t;return{uploadedImageId:e.id,positions:null===(t=e.keyReferences)||void 0===t?void 0:t.map(st)}})),tags:O}},path:{id:ee.keyId}})),o=null===(t=r._internal)||void 0===t?void 0:t.version;if(o&&("??"===o||ft(mt,o))){const t=ht(e.uiProps.findPositions(),{keyName:e.keyName,keyNamespace:E});await Z.mutateAsync({content:{"application/json":{relatedKeysInOrder:t.map((e=>({keyName:e.keyName,namespace:e.keyNamespace||void 0})))}}})}lt(e.keyName,E,Object.entries(n),e.uiProps.changeTranslation),e.uiProps.onPermanentChange({key:e.keyName,namespace:E}),Y.refetch(),x(!1),v(!0),oe?(await $(2e3),v(!1)):(await $(400),e.onClose())}catch(e){console.error(e)}finally{x(!1),v(!1)}},onClose:le,onSelectedLanguagesChange:function(e){e.length&&(X(e),it(e))},setContainer:re,setUseBrowserWindow:ae,setScreenshotDetail:j,setSelectedNs:C,setTags:P};return[ye,we]}));function bt(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function xt(){return xt=Object.assign?Object.assign.bind():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},xt.apply(this,arguments)}var wt,kt,St,Et,Ct={exports:{}};function Ot(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=Ot(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function Pt(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=Ot(e))&&(r&&(r+=" "),r+=t);return r}function Rt(){return Rt=Object.assign?Object.assign.bind():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},Rt.apply(this,arguments)}function Tt(e){return"string"==typeof e}function Mt(e,t={},n){return Tt(e)?t:Rt({},t,{ownerState:Rt({},t.ownerState,n)})}function $t(e,t){return"function"==typeof e?e(t):e}function It(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function Nt(e,t){return()=>null}function At(){return At=Object.assign?Object.assign.bind():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},At.apply(this,arguments)}function jt(e){return null!==e&&"object"==typeof e&&e.constructor===Object}function zt(e,t,n={clone:!0}){const r=n.clone?At({},e):e;return jt(e)&&jt(t)&&Object.keys(t).forEach((o=>{"__proto__"!==o&&(jt(t[o])&&o in e&&jt(e[o])?r[o]=zt(e[o],t[o],n):r[o]=t[o])})),r}Ct.exports=function(){if(Et)return St;Et=1;var e=kt?wt:(kt=1,wt="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");function t(){}function n(){}return n.resetWarningCache=t,St=function(){function r(t,n,r,o,a,i){if(i!==e){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function o(){return r}r.isRequired=r;var a={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return a.PropTypes=a,a}}()();const _t=(Ct.exports.element,()=>null);_t.isRequired=(Ct.exports.element.isRequired,()=>null);var Lt=_t,Ft=(Ct.exports.elementType,()=>null);function Dt(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}var Wt,Bt={exports:{}},Ut={};!function(e){e.exports=function(){if(Wt)return Ut;Wt=1;var e,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),l=Symbol.for("react.context"),s=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen");function m(e){if("object"==typeof e&&null!==e){var h=e.$$typeof;switch(h){case t:switch(e=e.type){case r:case a:case o:case c:case d:return e;default:switch(e=e&&e.$$typeof){case s:case l:case u:case f:case p:case i:return e;default:return h}}case n:return h}}}return e=Symbol.for("react.module.reference"),Ut.ContextConsumer=l,Ut.ContextProvider=i,Ut.Element=t,Ut.ForwardRef=u,Ut.Fragment=r,Ut.Lazy=f,Ut.Memo=p,Ut.Portal=n,Ut.Profiler=a,Ut.StrictMode=o,Ut.Suspense=c,Ut.SuspenseList=d,Ut.isAsyncMode=function(){return!1},Ut.isConcurrentMode=function(){return!1},Ut.isContextConsumer=function(e){return m(e)===l},Ut.isContextProvider=function(e){return m(e)===i},Ut.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Ut.isForwardRef=function(e){return m(e)===u},Ut.isFragment=function(e){return m(e)===r},Ut.isLazy=function(e){return m(e)===f},Ut.isMemo=function(e){return m(e)===p},Ut.isPortal=function(e){return m(e)===n},Ut.isProfiler=function(e){return m(e)===a},Ut.isStrictMode=function(e){return m(e)===o},Ut.isSuspense=function(e){return m(e)===c},Ut.isSuspenseList=function(e){return m(e)===d},Ut.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===r||t===a||t===o||t===c||t===d||t===h||"object"==typeof t&&null!==t&&(t.$$typeof===f||t.$$typeof===p||t.$$typeof===i||t.$$typeof===l||t.$$typeof===u||t.$$typeof===e||void 0!==t.getModuleId)},Ut.typeOf=m,Ut}()}(Bt);const Vt=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function Ht(e,t=""){return e.displayName||e.name||function(e){const t=`${e}`.match(Vt);return t&&t[1]||""}(e)||t}function qt(e,t,n){const r=Ht(t);return e.displayName||(""!==r?`${n}(${r})`:n)}var Kt="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();var Qt=Ct.exports.oneOfType([Ct.exports.func,Ct.exports.object]);function Gt(e){if("string"!=typeof e)throw new Error(Dt(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Xt(...e){return e.reduce(((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)}),(()=>{}))}function Yt(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout((()=>{e.apply(this,r)}),t)}return r.clear=()=>{clearTimeout(n)},r}function Jt(e,t){return()=>null}function Zt(e,t){return l.exports.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}function en(e){return e&&e.ownerDocument||document}function tn(e){return en(e).defaultView||window}function nn(e,t){return()=>null}function rn(e,t){"function"==typeof e?e(t):e&&(e.current=t)}var on="undefined"!=typeof window?l.exports.useLayoutEffect:l.exports.useEffect;let an=0;const ln=f.useId;function sn(e){if(void 0!==ln){const t=ln();return null!=e?e:t}return function(e){const[t,n]=l.exports.useState(e),r=e||t;return l.exports.useEffect((()=>{null==t&&(an+=1,n(`mui-${an}`))}),[t]),r}(e)}function un(e,t,n,r,o){return null}function cn({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=l.exports.useRef(void 0!==e),[a,i]=l.exports.useState(t);return[o?e:a,l.exports.useCallback((e=>{o||i(e)}),[])]}function dn(e){const t=l.exports.useRef(e);return on((()=>{t.current=e})),l.exports.useCallback(((...e)=>(0,t.current)(...e)),[])}function pn(e,t){return l.exports.useMemo((()=>null==e&&null==t?null:n=>{rn(e,n),rn(t,n)}),[e,t])}let fn,hn=!0,mn=!1;const vn={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function gn(e){e.metaKey||e.altKey||e.ctrlKey||(hn=!0)}function yn(){hn=!1}function bn(){"hidden"===this.visibilityState&&mn&&(hn=!0)}function xn(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return hn||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!vn[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function wn(){const e=l.exports.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",gn,!0),t.addEventListener("mousedown",yn,!0),t.addEventListener("pointerdown",yn,!0),t.addEventListener("touchstart",yn,!0),t.addEventListener("visibilitychange",bn,!0))}),[]),t=l.exports.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!xn(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(mn=!0,window.clearTimeout(fn),fn=window.setTimeout((()=>{mn=!1}),100),t.current=!1,!0)},ref:e}}function kn(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}let Sn;function En(){if(Sn)return Sn;const e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),Sn="reverse",e.scrollLeft>0?Sn="default":(e.scrollLeft=1,0===e.scrollLeft&&(Sn="negative")),document.body.removeChild(e),Sn}var Cn=e=>{const t=l.exports.useRef({});return l.exports.useEffect((()=>{t.current=e})),t.current};var On={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:-1,overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};function Pn(){return null}Pn.isRequired=Pn;var Rn=Pn;function Tn(e,t){const n=At({},t);return Object.keys(e).forEach((t=>{void 0===n[t]&&(n[t]=e[t])})),n}function Mn(e,t,n){const r={};return Object.keys(e).forEach((o=>{r[o]=e[o].reduce(((e,r)=>(r&&(e.push(t(r)),n&&n[r]&&e.push(n[r])),e)),[]).join(" ")})),r}const $n=e=>e;var In=(()=>{let e=$n;return{configure(t){e=t},generate:t=>e(t),reset(){e=$n}}})();const Nn={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function An(e,t,n="Mui"){const r=Nn[t];return r?`${n}-${r}`:`${In.generate(e)}-${t}`}function jn(e,t,n="Mui"){const r={};return t.forEach((t=>{r[t]=An(e,t,n)})),r}var zn=Object.freeze({__proto__:null,chainPropTypes:Nt,deepmerge:zt,isPlainObject:jt,elementAcceptingRef:Lt,elementTypeAcceptingRef:Ft,exactProp:function(e){return e},formatMuiErrorMessage:Dt,getDisplayName:function(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return Ht(e,"Component");if("object"==typeof e)switch(e.$$typeof){case Bt.exports.ForwardRef:return qt(e,e.render,"ForwardRef");case Bt.exports.Memo:return qt(e,e.type,"memo");default:return}}},HTMLElementType:function(e,t,n,r,o){return null},ponyfillGlobal:Kt,refType:Qt,unstable_capitalize:Gt,unstable_createChainedFunction:Xt,unstable_debounce:Yt,unstable_deprecatedPropType:Jt,unstable_isMuiElement:Zt,unstable_ownerDocument:en,unstable_ownerWindow:tn,unstable_requirePropFactory:nn,unstable_setRef:rn,unstable_useEnhancedEffect:on,unstable_useId:sn,unstable_unsupportedProp:un,unstable_useControlled:cn,unstable_useEventCallback:dn,unstable_useForkRef:pn,unstable_useIsFocusVisible:wn,unstable_getScrollbarSize:kn,unstable_detectScrollType:En,unstable_getNormalizedScrollLeft:function(e,t){const n=e.scrollLeft;if("rtl"!==t)return n;switch(En()){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n;default:return n}},usePreviousProps:Cn,visuallyHidden:On,integerPropType:Rn,internal_resolveProps:Tn,unstable_composeClasses:Mn,unstable_generateUtilityClass:An,unstable_generateUtilityClasses:jn,unstable_ClassNameGenerator:In});function _n(e){if(void 0===e)return{};const t={};return Object.keys(e).filter((t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t]))).forEach((n=>{t[n]=e[n]})),t}function Ln(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:a}=e;if(!t){const e=Pt(null==o?void 0:o.className,null==r?void 0:r.className,a,null==n?void 0:n.className),t=Rt({},null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),i=Rt({},n,o,r);return e.length>0&&(i.className=e),Object.keys(t).length>0&&(i.style=t),{props:i,internalRef:void 0}}const i=function(e,t=[]){if(void 0===e)return{};const n={};return Object.keys(e).filter((n=>n.match(/^on[A-Z]/)&&"function"==typeof e[n]&&!t.includes(n))).forEach((t=>{n[t]=e[t]})),n}(Rt({},o,r)),l=_n(r),s=_n(o),u=t(i),c=Pt(null==u?void 0:u.className,null==n?void 0:n.className,a,null==o?void 0:o.className,null==r?void 0:r.className),d=Rt({},null==u?void 0:u.style,null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),p=Rt({},u,n,s,l);return c.length>0&&(p.className=c),Object.keys(d).length>0&&(p.style=d),{props:p,internalRef:u.ref}}const Fn=["elementType","externalSlotProps","ownerState"];function Dn(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o}=e,a=It(e,Fn),i=$t(r,o),{props:l,internalRef:s}=Ln(Rt({},a,{externalSlotProps:i}));return Mt(n,Rt({},l,{ref:pn(s,pn(null==i?void 0:i.ref,null==(t=e.additionalProps)?void 0:t.ref))}),o)}function Wn(e){return void 0!==e.normalize?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e}function Bn(e,t){for(let n=0;n<e.length;n+=1)if(t(e[n]))return n;return-1}const Un=function(e={}){const{ignoreAccents:t=!0,ignoreCase:n=!0,limit:r,matchFrom:o="any",stringify:a,trim:i=!1}=e;return(e,{inputValue:l,getOptionLabel:s})=>{let u=i?l.trim():l;n&&(u=u.toLowerCase()),t&&(u=Wn(u));const c=u?e.filter((e=>{let r=(a||s)(e);return n&&(r=r.toLowerCase()),t&&(r=Wn(r)),"start"===o?0===r.indexOf(u):r.indexOf(u)>-1})):e;return"number"==typeof r?c.slice(0,r):c}}(),Vn=5;function Hn(e){const{autoComplete:t=!1,autoHighlight:n=!1,autoSelect:r=!1,blurOnSelect:o=!1,clearOnBlur:a=!e.freeSolo,clearOnEscape:i=!1,componentName:s="useAutocomplete",defaultValue:u=(e.multiple?[]:null),disableClearable:c=!1,disableCloseOnSelect:d=!1,disabled:p,disabledItemsFocusable:f=!1,disableListWrap:h=!1,filterOptions:m=Un,filterSelectedOptions:v=!1,freeSolo:g=!1,getOptionDisabled:y,getOptionLabel:b=(e=>{var t;return null!=(t=e.label)?t:e}),groupBy:x,handleHomeEndKeys:w=!e.freeSolo,id:k,includeInputInList:S=!1,inputValue:E,isOptionEqualToValue:C=((e,t)=>e===t),multiple:O=!1,onChange:P,onClose:R,onHighlightChange:T,onInputChange:M,onOpen:$,open:I,openOnFocus:N=!1,options:A,readOnly:j=!1,selectOnFocus:z=!e.freeSolo,value:_}=e,L=sn(k);let F=b;F=e=>{const t=b(e);return"string"!=typeof t?String(t):t};const D=l.exports.useRef(!1),W=l.exports.useRef(!0),B=l.exports.useRef(null),U=l.exports.useRef(null),[V,H]=l.exports.useState(null),[q,K]=l.exports.useState(-1),Q=n?0:-1,G=l.exports.useRef(Q),[X,Y]=cn({controlled:_,default:u,name:s}),[J,Z]=cn({controlled:E,default:"",name:s,state:"inputValue"}),[ee,te]=l.exports.useState(!1),ne=l.exports.useCallback(((e,t)=>{if(!(O?X.length<t.length:null!==t)&&!a)return;let n;if(O)n="";else if(null==t)n="";else{const e=F(t);n="string"==typeof e?e:""}J!==n&&(Z(n),M&&M(e,n,"reset"))}),[F,J,O,M,Z,a,X]),re=l.exports.useRef();l.exports.useEffect((()=>{const e=X!==re.current;re.current=X,ee&&!e||g&&!e||ne(null,X)}),[X,ne,ee,re,g]);const[oe,ae]=cn({controlled:I,default:!1,name:s,state:"open"}),[ie,le]=l.exports.useState(!0),se=!O&&null!=X&&J===F(X),ue=oe&&!j,ce=ue?m(A.filter((e=>!v||!(O?X:[X]).some((t=>null!==t&&C(e,t))))),{inputValue:se&&ie?"":J,getOptionLabel:F}):[],de=oe&&ce.length>0&&!j,pe=dn((e=>{-1===e?B.current.focus():V.querySelector(`[data-tag-index="${e}"]`).focus()}));l.exports.useEffect((()=>{O&&q>X.length-1&&(K(-1),pe(-1))}),[X,O,q,pe]);const fe=dn((({event:e,index:t,reason:n="auto"})=>{if(G.current=t,-1===t?B.current.removeAttribute("aria-activedescendant"):B.current.setAttribute("aria-activedescendant",`${L}-option-${t}`),T&&T(e,-1===t?null:ce[t],n),!U.current)return;const r=U.current.querySelector('[role="option"].Mui-focused');r&&(r.classList.remove("Mui-focused"),r.classList.remove("Mui-focusVisible"));const o=U.current.parentElement.querySelector('[role="listbox"]');if(!o)return;if(-1===t)return void(o.scrollTop=0);const a=U.current.querySelector(`[data-option-index="${t}"]`);if(a&&(a.classList.add("Mui-focused"),"keyboard"===n&&a.classList.add("Mui-focusVisible"),o.scrollHeight>o.clientHeight&&"mouse"!==n)){const e=a,t=o.clientHeight+o.scrollTop,n=e.offsetTop+e.offsetHeight;n>t?o.scrollTop=n-o.clientHeight:e.offsetTop-e.offsetHeight*(x?1.3:0)<o.scrollTop&&(o.scrollTop=e.offsetTop-e.offsetHeight*(x?1.3:0))}})),he=dn((({event:e,diff:n,direction:r="next",reason:o="auto"})=>{if(!ue)return;const a=function(e,t){if(!U.current||-1===e)return-1;let n=e;for(;;){if("next"===t&&n===ce.length||"previous"===t&&-1===n)return-1;const e=U.current.querySelector(`[data-option-index="${n}"]`),r=!f&&(!e||e.disabled||"true"===e.getAttribute("aria-disabled"));if(!(e&&!e.hasAttribute("tabindex")||r))return n;n+="next"===t?1:-1}}((()=>{const e=ce.length-1;if("reset"===n)return Q;if("start"===n)return 0;if("end"===n)return e;const t=G.current+n;return t<0?-1===t&&S?-1:h&&-1!==G.current||Math.abs(n)>1?0:e:t>e?t===e+1&&S?-1:h||Math.abs(n)>1?e:0:t})(),r);if(fe({index:a,reason:o,event:e}),t&&"reset"!==n)if(-1===a)B.current.value=J;else{const e=F(ce[a]);B.current.value=e;0===e.toLowerCase().indexOf(J.toLowerCase())&&J.length>0&&B.current.setSelectionRange(J.length,e.length)}})),me=l.exports.useCallback((()=>{if(!ue)return;const e=O?X[0]:X;if(0!==ce.length&&null!=e){if(U.current)if(null==e)G.current>=ce.length-1?fe({index:ce.length-1}):fe({index:G.current});else{const t=ce[G.current];if(O&&t&&-1!==Bn(X,(e=>C(t,e))))return;const n=Bn(ce,(t=>C(t,e)));-1===n?he({diff:"reset"}):fe({index:n})}}else he({diff:"reset"})}),[ce.length,!O&&X,v,he,fe,ue,J,O]),ve=dn((e=>{rn(U,e),e&&me()}));l.exports.useEffect((()=>{me()}),[me]);const ge=e=>{oe||(ae(!0),le(!0),$&&$(e))},ye=(e,t)=>{oe&&(ae(!1),R&&R(e,t))},be=(e,t,n,r)=>{if(O){if(X.length===t.length&&X.every(((e,n)=>e===t[n])))return}else if(X===t)return;P&&P(e,t,n,r),Y(t)},xe=l.exports.useRef(!1),we=(e,t,n="selectOption",r="options")=>{let a=n,i=t;if(O){i=Array.isArray(X)?X.slice():[];const e=Bn(i,(e=>C(t,e)));-1===e?i.push(t):"freeSolo"!==r&&(i.splice(e,1),a="removeOption")}ne(e,i),be(e,i,a,{option:t}),d||e&&(e.ctrlKey||e.metaKey)||ye(e,a),(!0===o||"touch"===o&&xe.current||"mouse"===o&&!xe.current)&&B.current.blur()};const ke=(e,t)=>{if(!O)return;""===J&&ye(e,"toggleInput");let n=q;-1===q?""===J&&"previous"===t&&(n=X.length-1):(n+="next"===t?1:-1,n<0&&(n=0),n===X.length&&(n=-1)),n=function(e,t){if(-1===e)return-1;let n=e;for(;;){if("next"===t&&n===X.length||"previous"===t&&-1===n)return-1;const e=V.querySelector(`[data-tag-index="${n}"]`);if(e&&e.hasAttribute("tabindex")&&!e.disabled&&"true"!==e.getAttribute("aria-disabled"))return n;n+="next"===t?1:-1}}(n,t),K(n),pe(n)},Se=e=>{D.current=!0,Z(""),M&&M(e,"","clear"),be(e,O?[]:null,"clear")},Ee=e=>n=>{if(e.onKeyDown&&e.onKeyDown(n),!n.defaultMuiPrevented&&(-1!==q&&-1===["ArrowLeft","ArrowRight"].indexOf(n.key)&&(K(-1),pe(-1)),229!==n.which))switch(n.key){case"Home":ue&&w&&(n.preventDefault(),he({diff:"start",direction:"next",reason:"keyboard",event:n}));break;case"End":ue&&w&&(n.preventDefault(),he({diff:"end",direction:"previous",reason:"keyboard",event:n}));break;case"PageUp":n.preventDefault(),he({diff:-Vn,direction:"previous",reason:"keyboard",event:n}),ge(n);break;case"PageDown":n.preventDefault(),he({diff:Vn,direction:"next",reason:"keyboard",event:n}),ge(n);break;case"ArrowDown":n.preventDefault(),he({diff:1,direction:"next",reason:"keyboard",event:n}),ge(n);break;case"ArrowUp":n.preventDefault(),he({diff:-1,direction:"previous",reason:"keyboard",event:n}),ge(n);break;case"ArrowLeft":ke(n,"previous");break;case"ArrowRight":ke(n,"next");break;case"Enter":if(-1!==G.current&&ue){const e=ce[G.current],r=!!y&&y(e);if(n.preventDefault(),r)return;we(n,e,"selectOption"),t&&B.current.setSelectionRange(B.current.value.length,B.current.value.length)}else g&&""!==J&&!1===se&&(O&&n.preventDefault(),we(n,J,"createOption","freeSolo"));break;case"Escape":ue?(n.preventDefault(),n.stopPropagation(),ye(n,"escape")):i&&(""!==J||O&&X.length>0)&&(n.preventDefault(),n.stopPropagation(),Se(n));break;case"Backspace":if(O&&!j&&""===J&&X.length>0){const e=-1===q?X.length-1:q,t=X.slice();t.splice(e,1),be(n,t,"removeOption",{option:X[e]})}}},Ce=e=>{te(!0),N&&!D.current&&ge(e)},Oe=e=>{null!==U.current&&U.current.parentElement.contains(document.activeElement)?B.current.focus():(te(!1),W.current=!0,D.current=!1,r&&-1!==G.current&&ue?we(e,ce[G.current],"blur"):r&&g&&""!==J?we(e,J,"blur","freeSolo"):a&&ne(e,X),ye(e,"blur"))},Pe=e=>{const t=e.target.value;J!==t&&(Z(t),le(!1),M&&M(e,t,"input")),""===t?c||O||be(e,null,"clear"):ge(e)},Re=e=>{fe({event:e,index:Number(e.currentTarget.getAttribute("data-option-index")),reason:"mouse"})},Te=()=>{xe.current=!0},Me=e=>{const t=Number(e.currentTarget.getAttribute("data-option-index"));we(e,ce[t],"selectOption"),xe.current=!1},$e=e=>t=>{const n=X.slice();n.splice(e,1),be(t,n,"removeOption",{option:X[e]})},Ie=e=>{oe?ye(e,"toggleInput"):ge(e)},Ne=e=>{e.target.getAttribute("id")!==L&&e.preventDefault()},Ae=()=>{B.current.focus(),z&&W.current&&B.current.selectionEnd-B.current.selectionStart==0&&B.current.select(),W.current=!1},je=e=>{""!==J&&oe||Ie(e)};let ze=g&&J.length>0;ze=ze||(O?X.length>0:null!==X);let _e=ce;return x&&(_e=ce.reduce(((e,t,n)=>{const r=x(t);return e.length>0&&e[e.length-1].group===r?e[e.length-1].options.push(t):e.push({key:n,index:n,group:r,options:[t]}),e}),[])),p&&ee&&Oe(),{getRootProps:(e={})=>Rt({"aria-owns":de?`${L}-listbox`:null},e,{onKeyDown:Ee(e),onMouseDown:Ne,onClick:Ae}),getInputLabelProps:()=>({id:`${L}-label`,htmlFor:L}),getInputProps:()=>({id:L,value:J,onBlur:Oe,onFocus:Ce,onChange:Pe,onMouseDown:je,"aria-activedescendant":ue?"":null,"aria-autocomplete":t?"both":"list","aria-controls":de?`${L}-listbox`:void 0,"aria-expanded":de,autoComplete:"off",ref:B,autoCapitalize:"none",spellCheck:"false",role:"combobox"}),getClearProps:()=>({tabIndex:-1,onClick:Se}),getPopupIndicatorProps:()=>({tabIndex:-1,onClick:Ie}),getTagProps:({index:e})=>Rt({key:e,"data-tag-index":e,tabIndex:-1},!j&&{onDelete:$e(e)}),getListboxProps:()=>({role:"listbox",id:`${L}-listbox`,"aria-labelledby":`${L}-label`,ref:ve,onMouseDown:e=>{e.preventDefault()}}),getOptionProps:({index:e,option:t})=>{const n=(O?X:[X]).some((e=>null!=e&&C(t,e))),r=!!y&&y(t);return{key:F(t),tabIndex:-1,role:"option",id:`${L}-option-${e}`,onMouseOver:Re,onClick:Me,onTouchStart:Te,"data-option-index":e,"aria-disabled":r,"aria-selected":n}},id:L,inputValue:J,value:X,dirty:ze,popupOpen:ue,focused:ee||-1!==q,anchorEl:V,setAnchorEl:H,focusedTag:q,groupedOptions:_e}}var qn,Kn={exports:{}},Qn={};!function(e){e.exports=function(){if(qn)return Qn;qn=1;var e=l.exports,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function i(e,n,i){var l,s={},u=null,c=null;for(l in void 0!==i&&(u=""+i),void 0!==n.key&&(u=""+n.key),void 0!==n.ref&&(c=n.ref),n)r.call(n,l)&&!a.hasOwnProperty(l)&&(s[l]=n[l]);if(e&&e.defaultProps)for(l in n=e.defaultProps)void 0===s[l]&&(s[l]=n[l]);return{$$typeof:t,type:e,key:u,ref:c,props:s,_owner:o.current}}return Qn.Fragment=n,Qn.jsx=i,Qn.jsxs=i,Qn}()}(Kn);const Gn=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Xn(e){const t=[],n=[];return Array.from(e.querySelectorAll(Gn)).forEach(((e,r)=>{const o=function(e){const t=parseInt(e.getAttribute("tabindex"),10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}(e))}(e)&&(0===o?t.push(e):n.push({documentOrder:r,tabIndex:o,node:e}))})),n.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function Yn(){return!0}function Jn(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:a=Xn,isEnabled:i=Yn,open:s}=e,u=l.exports.useRef(),c=l.exports.useRef(null),d=l.exports.useRef(null),p=l.exports.useRef(null),f=l.exports.useRef(null),h=l.exports.useRef(!1),m=l.exports.useRef(null),v=pn(t.ref,m),g=l.exports.useRef(null);l.exports.useEffect((()=>{s&&m.current&&(h.current=!n)}),[n,s]),l.exports.useEffect((()=>{if(!s||!m.current)return;const e=en(m.current);return m.current.contains(e.activeElement)||(m.current.hasAttribute("tabIndex")||m.current.setAttribute("tabIndex",-1),h.current&&m.current.focus()),()=>{o||(p.current&&p.current.focus&&(u.current=!0,p.current.focus()),p.current=null)}}),[s]),l.exports.useEffect((()=>{if(!s||!m.current)return;const e=en(m.current),t=t=>{const{current:n}=m;if(null!==n)if(e.hasFocus()&&!r&&i()&&!u.current){if(!n.contains(e.activeElement)){if(t&&f.current!==t.target||e.activeElement!==f.current)f.current=null;else if(null!==f.current)return;if(!h.current)return;let r=[];if(e.activeElement!==c.current&&e.activeElement!==d.current||(r=a(m.current)),r.length>0){var o,l;const e=Boolean((null==(o=g.current)?void 0:o.shiftKey)&&"Tab"===(null==(l=g.current)?void 0:l.key)),t=r[0],n=r[r.length-1];e?n.focus():t.focus()}else n.focus()}}else u.current=!1},n=t=>{g.current=t,!r&&i()&&"Tab"===t.key&&e.activeElement===m.current&&t.shiftKey&&(u.current=!0,d.current.focus())};e.addEventListener("focusin",t),e.addEventListener("keydown",n,!0);const o=setInterval((()=>{"BODY"===e.activeElement.tagName&&t()}),50);return()=>{clearInterval(o),e.removeEventListener("focusin",t),e.removeEventListener("keydown",n,!0)}}),[n,r,o,i,s,a]);const y=e=>{null===p.current&&(p.current=e.relatedTarget),h.current=!0};return Kn.exports.jsxs(l.exports.Fragment,{children:[Kn.exports.jsx("div",{tabIndex:s?0:-1,onFocus:y,ref:c,"data-testid":"sentinelStart"}),l.exports.cloneElement(t,{ref:v,onFocus:e=>{null===p.current&&(p.current=e.relatedTarget),h.current=!0,f.current=e.target;const n=t.props.onFocus;n&&n(e)}}),Kn.exports.jsx("div",{tabIndex:s?0:-1,onFocus:y,ref:d,"data-testid":"sentinelEnd"})]})}var Zn="top",er="bottom",tr="right",nr="left",rr="auto",or=[Zn,er,tr,nr],ar="start",ir="end",lr="clippingParents",sr="viewport",ur="popper",cr="reference",dr=or.reduce((function(e,t){return e.concat([t+"-"+ar,t+"-"+ir])}),[]),pr=[].concat(or,[rr]).reduce((function(e,t){return e.concat([t,t+"-"+ar,t+"-"+ir])}),[]),fr=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function hr(e){return e?(e.nodeName||"").toLowerCase():null}function mr(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function vr(e){return e instanceof mr(e).Element||e instanceof Element}function gr(e){return e instanceof mr(e).HTMLElement||e instanceof HTMLElement}function yr(e){return"undefined"!=typeof ShadowRoot&&(e instanceof mr(e).ShadowRoot||e instanceof ShadowRoot)}var br={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];gr(o)&&hr(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});gr(r)&&hr(r)&&(Object.assign(r.style,a),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};function xr(e){return e.split("-")[0]}var wr=Math.max,kr=Math.min,Sr=Math.round;function Er(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function Cr(){return!/^((?!chrome|android).)*safari/i.test(Er())}function Or(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,a=1;t&&gr(e)&&(o=e.offsetWidth>0&&Sr(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Sr(r.height)/e.offsetHeight||1);var i=(vr(e)?mr(e):window).visualViewport,l=!Cr()&&n,s=(r.left+(l&&i?i.offsetLeft:0))/o,u=(r.top+(l&&i?i.offsetTop:0))/a,c=r.width/o,d=r.height/a;return{width:c,height:d,top:u,right:s+c,bottom:u+d,left:s,x:s,y:u}}function Pr(e){var t=Or(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Rr(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&yr(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Tr(e){return mr(e).getComputedStyle(e)}function Mr(e){return["table","td","th"].indexOf(hr(e))>=0}function $r(e){return((vr(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ir(e){return"html"===hr(e)?e:e.assignedSlot||e.parentNode||(yr(e)?e.host:null)||$r(e)}function Nr(e){return gr(e)&&"fixed"!==Tr(e).position?e.offsetParent:null}function Ar(e){for(var t=mr(e),n=Nr(e);n&&Mr(n)&&"static"===Tr(n).position;)n=Nr(n);return n&&("html"===hr(n)||"body"===hr(n)&&"static"===Tr(n).position)?t:n||function(e){var t=/firefox/i.test(Er());if(/Trident/i.test(Er())&&gr(e)&&"fixed"===Tr(e).position)return null;var n=Ir(e);for(yr(n)&&(n=n.host);gr(n)&&["html","body"].indexOf(hr(n))<0;){var r=Tr(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function jr(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function zr(e,t,n){return wr(e,kr(t,n))}function _r(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Lr(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var Fr=function(e,t){return _r("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Lr(e,or))};var Dr={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,a=n.elements.arrow,i=n.modifiersData.popperOffsets,l=xr(n.placement),s=jr(l),u=[nr,tr].indexOf(l)>=0?"height":"width";if(a&&i){var c=Fr(o.padding,n),d=Pr(a),p="y"===s?Zn:nr,f="y"===s?er:tr,h=n.rects.reference[u]+n.rects.reference[s]-i[s]-n.rects.popper[u],m=i[s]-n.rects.reference[s],v=Ar(a),g=v?"y"===s?v.clientHeight||0:v.clientWidth||0:0,y=h/2-m/2,b=c[p],x=g-d[u]-c[f],w=g/2-d[u]/2+y,k=zr(b,w,x),S=s;n.modifiersData[r]=((t={})[S]=k,t.centerOffset=k-w,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&Rr(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Wr(e){return e.split("-")[1]}var Br={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ur(e){var t,n=e.popper,r=e.popperRect,o=e.placement,a=e.variation,i=e.offsets,l=e.position,s=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,d=e.isFixed,p=i.x,f=void 0===p?0:p,h=i.y,m=void 0===h?0:h,v="function"==typeof c?c({x:f,y:m}):{x:f,y:m};f=v.x,m=v.y;var g=i.hasOwnProperty("x"),y=i.hasOwnProperty("y"),b=nr,x=Zn,w=window;if(u){var k=Ar(n),S="clientHeight",E="clientWidth";if(k===mr(n)&&"static"!==Tr(k=$r(n)).position&&"absolute"===l&&(S="scrollHeight",E="scrollWidth"),o===Zn||(o===nr||o===tr)&&a===ir)x=er,m-=(d&&k===w&&w.visualViewport?w.visualViewport.height:k[S])-r.height,m*=s?1:-1;if(o===nr||(o===Zn||o===er)&&a===ir)b=tr,f-=(d&&k===w&&w.visualViewport?w.visualViewport.width:k[E])-r.width,f*=s?1:-1}var C,O=Object.assign({position:l},u&&Br),P=!0===c?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:Sr(t*r)/r||0,y:Sr(n*r)/r||0}}({x:f,y:m}):{x:f,y:m};return f=P.x,m=P.y,s?Object.assign({},O,((C={})[x]=y?"0":"",C[b]=g?"0":"",C.transform=(w.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",C)):Object.assign({},O,((t={})[x]=y?m+"px":"",t[b]=g?f+"px":"",t.transform="",t))}var Vr={passive:!0};var Hr={left:"right",right:"left",bottom:"top",top:"bottom"};function qr(e){return e.replace(/left|right|bottom|top/g,(function(e){return Hr[e]}))}var Kr={start:"end",end:"start"};function Qr(e){return e.replace(/start|end/g,(function(e){return Kr[e]}))}function Gr(e){var t=mr(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Xr(e){return Or($r(e)).left+Gr(e).scrollLeft}function Yr(e){var t=Tr(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Jr(e){return["html","body","#document"].indexOf(hr(e))>=0?e.ownerDocument.body:gr(e)&&Yr(e)?e:Jr(Ir(e))}function Zr(e,t){var n;void 0===t&&(t=[]);var r=Jr(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=mr(r),i=o?[a].concat(a.visualViewport||[],Yr(r)?r:[]):r,l=t.concat(i);return o?l:l.concat(Zr(Ir(i)))}function eo(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function to(e,t,n){return t===sr?eo(function(e,t){var n=mr(e),r=$r(e),o=n.visualViewport,a=r.clientWidth,i=r.clientHeight,l=0,s=0;if(o){a=o.width,i=o.height;var u=Cr();(u||!u&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:a,height:i,x:l+Xr(e),y:s}}(e,n)):vr(t)?function(e,t){var n=Or(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):eo(function(e){var t,n=$r(e),r=Gr(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=wr(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=wr(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+Xr(e),s=-r.scrollTop;return"rtl"===Tr(o||n).direction&&(l+=wr(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:l,y:s}}($r(e)))}function no(e,t,n,r){var o="clippingParents"===t?function(e){var t=Zr(Ir(e)),n=["absolute","fixed"].indexOf(Tr(e).position)>=0&&gr(e)?Ar(e):e;return vr(n)?t.filter((function(e){return vr(e)&&Rr(e,n)&&"body"!==hr(e)})):[]}(e):[].concat(t),a=[].concat(o,[n]),i=a[0],l=a.reduce((function(t,n){var o=to(e,n,r);return t.top=wr(o.top,t.top),t.right=kr(o.right,t.right),t.bottom=kr(o.bottom,t.bottom),t.left=wr(o.left,t.left),t}),to(e,i,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function ro(e){var t,n=e.reference,r=e.element,o=e.placement,a=o?xr(o):null,i=o?Wr(o):null,l=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(a){case Zn:t={x:l,y:n.y-r.height};break;case er:t={x:l,y:n.y+n.height};break;case tr:t={x:n.x+n.width,y:s};break;case nr:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var u=a?jr(a):null;if(null!=u){var c="y"===u?"height":"width";switch(i){case ar:t[u]=t[u]-(n[c]/2-r[c]/2);break;case ir:t[u]=t[u]+(n[c]/2-r[c]/2)}}return t}function oo(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,a=n.strategy,i=void 0===a?e.strategy:a,l=n.boundary,s=void 0===l?lr:l,u=n.rootBoundary,c=void 0===u?sr:u,d=n.elementContext,p=void 0===d?ur:d,f=n.altBoundary,h=void 0!==f&&f,m=n.padding,v=void 0===m?0:m,g=_r("number"!=typeof v?v:Lr(v,or)),y=p===ur?cr:ur,b=e.rects.popper,x=e.elements[h?y:p],w=no(vr(x)?x:x.contextElement||$r(e.elements.popper),s,c,i),k=Or(e.elements.reference),S=ro({reference:k,element:b,strategy:"absolute",placement:o}),E=eo(Object.assign({},b,S)),C=p===ur?E:k,O={top:w.top-C.top+g.top,bottom:C.bottom-w.bottom+g.bottom,left:w.left-C.left+g.left,right:C.right-w.right+g.right},P=e.modifiersData.offset;if(p===ur&&P){var R=P[o];Object.keys(O).forEach((function(e){var t=[tr,er].indexOf(e)>=0?1:-1,n=[Zn,er].indexOf(e)>=0?"y":"x";O[e]+=R[n]*t}))}return O}function ao(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,a=n.rootBoundary,i=n.padding,l=n.flipVariations,s=n.allowedAutoPlacements,u=void 0===s?pr:s,c=Wr(r),d=c?l?dr:dr.filter((function(e){return Wr(e)===c})):or,p=d.filter((function(e){return u.indexOf(e)>=0}));0===p.length&&(p=d);var f=p.reduce((function(t,n){return t[n]=oo(e,{placement:n,boundary:o,rootBoundary:a,padding:i})[xr(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}var io={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,a=void 0===o||o,i=n.altAxis,l=void 0===i||i,s=n.fallbackPlacements,u=n.padding,c=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.flipVariations,h=void 0===f||f,m=n.allowedAutoPlacements,v=t.options.placement,g=xr(v),y=s||(g===v||!h?[qr(v)]:function(e){if(xr(e)===rr)return[];var t=qr(e);return[Qr(e),t,Qr(t)]}(v)),b=[v].concat(y).reduce((function(e,n){return e.concat(xr(n)===rr?ao(t,{placement:n,boundary:c,rootBoundary:d,padding:u,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),x=t.rects.reference,w=t.rects.popper,k=new Map,S=!0,E=b[0],C=0;C<b.length;C++){var O=b[C],P=xr(O),R=Wr(O)===ar,T=[Zn,er].indexOf(P)>=0,M=T?"width":"height",$=oo(t,{placement:O,boundary:c,rootBoundary:d,altBoundary:p,padding:u}),I=T?R?tr:nr:R?er:Zn;x[M]>w[M]&&(I=qr(I));var N=qr(I),A=[];if(a&&A.push($[P]<=0),l&&A.push($[I]<=0,$[N]<=0),A.every((function(e){return e}))){E=O,S=!1;break}k.set(O,A)}if(S)for(var j=function(e){var t=b.find((function(t){var n=k.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return E=t,"break"},z=h?3:1;z>0;z--){if("break"===j(z))break}t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function lo(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function so(e){return[Zn,tr,er,nr].some((function(t){return e[t]>=0}))}var uo={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,a=void 0===o?[0,0]:o,i=pr.reduce((function(e,n){return e[n]=function(e,t,n){var r=xr(e),o=[nr,Zn].indexOf(r)>=0?-1:1,a="function"==typeof n?n(Object.assign({},t,{placement:e})):n,i=a[0],l=a[1];return i=i||0,l=(l||0)*o,[nr,tr].indexOf(r)>=0?{x:l,y:i}:{x:i,y:l}}(n,t.rects,a),e}),{}),l=i[t.placement],s=l.x,u=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=i}};var co={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,a=void 0===o||o,i=n.altAxis,l=void 0!==i&&i,s=n.boundary,u=n.rootBoundary,c=n.altBoundary,d=n.padding,p=n.tether,f=void 0===p||p,h=n.tetherOffset,m=void 0===h?0:h,v=oo(t,{boundary:s,rootBoundary:u,padding:d,altBoundary:c}),g=xr(t.placement),y=Wr(t.placement),b=!y,x=jr(g),w="x"===x?"y":"x",k=t.modifiersData.popperOffsets,S=t.rects.reference,E=t.rects.popper,C="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,O="number"==typeof C?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),P=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,R={x:0,y:0};if(k){if(a){var T,M="y"===x?Zn:nr,$="y"===x?er:tr,I="y"===x?"height":"width",N=k[x],A=N+v[M],j=N-v[$],z=f?-E[I]/2:0,_=y===ar?S[I]:E[I],L=y===ar?-E[I]:-S[I],F=t.elements.arrow,D=f&&F?Pr(F):{width:0,height:0},W=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},B=W[M],U=W[$],V=zr(0,S[I],D[I]),H=b?S[I]/2-z-V-B-O.mainAxis:_-V-B-O.mainAxis,q=b?-S[I]/2+z+V+U+O.mainAxis:L+V+U+O.mainAxis,K=t.elements.arrow&&Ar(t.elements.arrow),Q=K?"y"===x?K.clientTop||0:K.clientLeft||0:0,G=null!=(T=null==P?void 0:P[x])?T:0,X=N+q-G,Y=zr(f?kr(A,N+H-G-Q):A,N,f?wr(j,X):j);k[x]=Y,R[x]=Y-N}if(l){var J,Z="x"===x?Zn:nr,ee="x"===x?er:tr,te=k[w],ne="y"===w?"height":"width",re=te+v[Z],oe=te-v[ee],ae=-1!==[Zn,nr].indexOf(g),ie=null!=(J=null==P?void 0:P[w])?J:0,le=ae?re:te-S[ne]-E[ne]-ie+O.altAxis,se=ae?te+S[ne]+E[ne]-ie-O.altAxis:oe,ue=f&&ae?function(e,t,n){var r=zr(e,t,n);return r>n?n:r}(le,te,se):zr(f?le:re,te,f?se:oe);k[w]=ue,R[w]=ue-te}t.modifiersData[r]=R}},requiresIfExists:["offset"]};function po(e,t,n){void 0===n&&(n=!1);var r,o,a=gr(t),i=gr(t)&&function(e){var t=e.getBoundingClientRect(),n=Sr(t.width)/e.offsetWidth||1,r=Sr(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),l=$r(t),s=Or(e,i,n),u={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(a||!a&&!n)&&(("body"!==hr(t)||Yr(l))&&(u=(r=t)!==mr(r)&&gr(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:Gr(r)),gr(t)?((c=Or(t,!0)).x+=t.clientLeft,c.y+=t.clientTop):l&&(c.x=Xr(l))),{x:s.left+u.scrollLeft-c.x,y:s.top+u.scrollTop-c.y,width:s.width,height:s.height}}function fo(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var ho={placement:"bottom",modifiers:[],strategy:"absolute"};function mo(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function vo(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,a=void 0===o?ho:o;return function(e,t,n){void 0===n&&(n=a);var o,i,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},ho,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},s=[],u=!1,c={state:l,setOptions:function(n){var o="function"==typeof n?n(l.options):n;d(),l.options=Object.assign({},a,l.options,o),l.scrollParents={reference:vr(e)?Zr(e):e.contextElement?Zr(e.contextElement):[],popper:Zr(t)};var i,u,p=function(e){var t=fo(e);return fr.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((i=[].concat(r,l.options.modifiers),u=i.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(u).map((function(e){return u[e]}))));return l.orderedModifiers=p.filter((function(e){return e.enabled})),l.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var a=o({state:l,name:t,instance:c,options:r}),i=function(){};s.push(a||i)}})),c.update()},forceUpdate:function(){if(!u){var e=l.elements,t=e.reference,n=e.popper;if(mo(t,n)){l.rects={reference:po(t,Ar(n),"fixed"===l.options.strategy),popper:Pr(n)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach((function(e){return l.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<l.orderedModifiers.length;r++)if(!0!==l.reset){var o=l.orderedModifiers[r],a=o.fn,i=o.options,s=void 0===i?{}:i,d=o.name;"function"==typeof a&&(l=a({state:l,options:s,name:d,instance:c})||l)}else l.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){c.forceUpdate(),e(l)}))},function(){return i||(i=new Promise((function(e){Promise.resolve().then((function(){i=void 0,e(o())}))}))),i}),destroy:function(){d(),u=!0}};if(!mo(e,t))return c;function d(){s.forEach((function(e){return e()})),s=[]}return c.setOptions(n).then((function(e){!u&&n.onFirstUpdate&&n.onFirstUpdate(e)})),c}}var go=vo({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,a=void 0===o||o,i=r.resize,l=void 0===i||i,s=mr(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach((function(e){e.addEventListener("scroll",n.update,Vr)})),l&&s.addEventListener("resize",n.update,Vr),function(){a&&u.forEach((function(e){e.removeEventListener("scroll",n.update,Vr)})),l&&s.removeEventListener("resize",n.update,Vr)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=ro({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,a=n.adaptive,i=void 0===a||a,l=n.roundOffsets,s=void 0===l||l,u={placement:xr(t.placement),variation:Wr(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Ur(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ur(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},br,uo,io,co,Dr,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,i=oo(t,{elementContext:"reference"}),l=oo(t,{altBoundary:!0}),s=lo(i,r),u=lo(l,o,a),c=so(s),d=so(u);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}}]});var yo=l.exports.forwardRef((function(e,t){const{children:n,container:r,disablePortal:o=!1}=e,[a,i]=l.exports.useState(null),s=pn(l.exports.isValidElement(n)?n.ref:null,t);return on((()=>{o||i(function(e){return"function"==typeof e?e():e}(r)||document.body)}),[r,o]),on((()=>{if(a&&!o)return rn(t,a),()=>{rn(t,null)}}),[t,a,o]),o?l.exports.isValidElement(n)?l.exports.cloneElement(n,{ref:s}):n:Kn.exports.jsx(l.exports.Fragment,{children:a?h.exports.createPortal(n,a):a})}));function bo(e){return An("MuiPopperUnstyled",e)}jn("MuiPopperUnstyled",["root"]);const xo=["anchorEl","children","component","components","componentsProps","direction","disablePortal","modifiers","open","ownerState","placement","popperOptions","popperRef","TransitionProps"],wo=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition"];function ko(e){return"function"==typeof e?e():e}const So={},Eo=l.exports.forwardRef((function(e,t){var n;const{anchorEl:r,children:o,component:a,components:i={},componentsProps:s={},direction:u,disablePortal:c,modifiers:d,open:p,ownerState:f,placement:h,popperOptions:m,popperRef:v,TransitionProps:g}=e,y=It(e,xo),b=l.exports.useRef(null),x=pn(b,t),w=l.exports.useRef(null),k=pn(w,v),S=l.exports.useRef(k);on((()=>{S.current=k}),[k]),l.exports.useImperativeHandle(v,(()=>w.current),[]);const E=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(h,u),[C,O]=l.exports.useState(E);l.exports.useEffect((()=>{w.current&&w.current.forceUpdate()})),on((()=>{if(!r||!p)return;ko(r);let e=[{name:"preventOverflow",options:{altBoundary:c}},{name:"flip",options:{altBoundary:c}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{O(e.placement)}}];null!=d&&(e=e.concat(d)),m&&null!=m.modifiers&&(e=e.concat(m.modifiers));const t=go(ko(r),b.current,Rt({placement:E},m,{modifiers:e}));return S.current(t),()=>{t.destroy(),S.current(null)}}),[r,c,d,p,m,E]);const P={placement:C};null!==g&&(P.TransitionProps=g);const R=Mn({root:["root"]},bo,{}),T=null!=(n=null!=a?a:i.Root)?n:"div",M=Dn({elementType:T,externalSlotProps:s.root,externalForwardedProps:y,additionalProps:{role:"tooltip",ref:x},ownerState:Rt({},e,f),className:R.root});return Kn.exports.jsx(T,Rt({},M,{children:"function"==typeof o?o(P):o}))})),Co=l.exports.forwardRef((function(e,t){const{anchorEl:n,children:r,container:o,direction:a="ltr",disablePortal:i=!1,keepMounted:s=!1,modifiers:u,open:c,placement:d="bottom",popperOptions:p=So,popperRef:f,style:h,transition:m=!1}=e,v=It(e,wo),[g,y]=l.exports.useState(!0);if(!s&&!c&&(!m||g))return null;const b=o||(n?en(ko(n)).body:void 0);return Kn.exports.jsx(yo,{disablePortal:i,container:b,children:Kn.exports.jsx(Eo,Rt({anchorEl:n,direction:a,disablePortal:i,modifiers:u,ref:t,open:m?!g:c,placement:d,popperOptions:p,popperRef:f},v,{style:Rt({position:"fixed",top:0,left:0,display:c||!s||m&&!g?null:"none"},h),TransitionProps:m?{in:c,onEnter:()=>{y(!1)},onExited:()=>{y(!0)}}:null,children:r}))})}));var Oo=Co;function Po(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Ro(e){return parseInt(tn(e).getComputedStyle(e).paddingRight,10)||0}function To(e,t,n,r=[],o){const a=[t,n,...r];[].forEach.call(e.children,(e=>{const t=-1===a.indexOf(e),n=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),n="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||n}(e);t&&n&&Po(e,o)}))}function Mo(e,t){let n=-1;return e.some(((e,r)=>!!t(e)&&(n=r,!0))),n}function $o(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=en(e);return t.body===e?tn(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=kn(en(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${Ro(r)+e}px`;const t=en(r).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${Ro(t)+e}px`}))}let e;if(r.parentNode instanceof DocumentFragment)e=en(r).body;else{const t=r.parentElement,n=tn(r);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===n.getComputedStyle(t).overflowY?t:r}n.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{n.forEach((({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)}))}}function Io(e){return An("MuiModal",e)}jn("MuiModal",["root","hidden"]);const No=["children","classes","closeAfterTransition","component","components","componentsProps","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","onTransitionEnter","onTransitionExited"];const Ao=new class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&Po(e.modalRef,!1);const r=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);To(t,e.mount,e.modalRef,r,!0);const o=Mo(this.containers,(e=>e.container===t));return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}mount(e,t){const n=Mo(this.containers,(t=>-1!==t.modals.indexOf(e))),r=this.containers[n];r.restore||(r.restore=$o(r,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(-1===n)return n;const r=Mo(this.containers,(t=>-1!==t.modals.indexOf(e))),o=this.containers[r];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(n,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&Po(e.modalRef,t),To(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(r,1);else{const e=o.modals[o.modals.length-1];e.modalRef&&Po(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};var jo=l.exports.forwardRef((function(e,t){var n;const{children:r,classes:o,closeAfterTransition:a=!1,component:i="div",components:s={},componentsProps:u={},container:c,disableAutoFocus:d=!1,disableEnforceFocus:p=!1,disableEscapeKeyDown:f=!1,disablePortal:h=!1,disableRestoreFocus:m=!1,disableScrollLock:v=!1,hideBackdrop:g=!1,keepMounted:y=!1,manager:b=Ao,onBackdropClick:x,onClose:w,onKeyDown:k,open:S,onTransitionEnter:E,onTransitionExited:C}=e,O=It(e,No),[P,R]=l.exports.useState(!0),T=l.exports.useRef({}),M=l.exports.useRef(null),$=l.exports.useRef(null),I=pn($,t),N=function(e){return!!e.children&&e.children.props.hasOwnProperty("in")}(e),A=null==(n=e["aria-hidden"])||n,j=()=>(T.current.modalRef=$.current,T.current.mountNode=M.current,T.current),z=()=>{b.mount(j(),{disableScrollLock:v}),$.current.scrollTop=0},_=dn((()=>{const e=function(e){return"function"==typeof e?e():e}(c)||en(M.current).body;b.add(j(),e),$.current&&z()})),L=l.exports.useCallback((()=>b.isTopModal(j())),[b]),F=dn((e=>{M.current=e,e&&(S&&L()?z():Po($.current,A))})),D=l.exports.useCallback((()=>{b.remove(j(),A)}),[b,A]);l.exports.useEffect((()=>()=>{D()}),[D]),l.exports.useEffect((()=>{S?_():N&&a||D()}),[S,D,N,a,_]);const W=Rt({},e,{classes:o,closeAfterTransition:a,disableAutoFocus:d,disableEnforceFocus:p,disableEscapeKeyDown:f,disablePortal:h,disableRestoreFocus:m,disableScrollLock:v,exited:P,hideBackdrop:g,keepMounted:y}),B=(e=>{const{open:t,exited:n,classes:r}=e;return Mn({root:["root",!t&&n&&"hidden"]},Io,r)})(W),U=()=>{R(!1),E&&E()},V=()=>{R(!0),C&&C(),a&&D()},H={};void 0===r.props.tabIndex&&(H.tabIndex="-1"),N&&(H.onEnter=Xt(U,r.props.onEnter),H.onExited=Xt(V,r.props.onExited));const q=s.Root||i,K=Dn({elementType:q,externalSlotProps:u.root,externalForwardedProps:O,additionalProps:{ref:I,role:"presentation",onKeyDown:e=>{k&&k(e),"Escape"===e.key&&L()&&(f||(e.stopPropagation(),w&&w(e,"escapeKeyDown")))}},className:B.root,ownerState:W}),Q=s.Backdrop,G=Dn({elementType:Q,externalSlotProps:u.backdrop,additionalProps:{"aria-hidden":!0,onClick:e=>{e.target===e.currentTarget&&(x&&x(e),w&&w(e,"backdropClick"))},open:S},ownerState:W});return y||S||N&&!P?Kn.exports.jsx(yo,{ref:F,container:c,disablePortal:h,children:Kn.exports.jsxs(q,Rt({},K,{children:[!g&&Q?Kn.exports.jsx(Q,Rt({},G)):null,Kn.exports.jsx(Jn,{disableEnforceFocus:p,disableAutoFocus:d,disableRestoreFocus:m,isEnabled:L,open:S,children:l.exports.cloneElement(r,H)})]}))}):null}));const zo=["onChange","maxRows","minRows","style","value"];function _o(e,t){return parseInt(e[t],10)||0}const Lo={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function Fo(e){return null==e||0===Object.keys(e).length}const Do=l.exports.forwardRef((function(e,t){const{onChange:n,maxRows:r,minRows:o=1,style:a,value:i}=e,s=It(e,zo),{current:u}=l.exports.useRef(null!=i),c=l.exports.useRef(null),d=pn(t,c),p=l.exports.useRef(null),f=l.exports.useRef(0),[m,v]=l.exports.useState({}),g=l.exports.useCallback((()=>{const t=c.current,n=tn(t).getComputedStyle(t);if("0px"===n.width)return{};const a=p.current;a.style.width=n.width,a.value=t.value||e.placeholder||"x","\n"===a.value.slice(-1)&&(a.value+=" ");const i=n["box-sizing"],l=_o(n,"padding-bottom")+_o(n,"padding-top"),s=_o(n,"border-bottom-width")+_o(n,"border-top-width"),u=a.scrollHeight;a.value="x";const d=a.scrollHeight;let f=u;o&&(f=Math.max(Number(o)*d,f)),r&&(f=Math.min(Number(r)*d,f)),f=Math.max(f,d);return{outerHeightStyle:f+("border-box"===i?l+s:0),overflow:Math.abs(f-u)<=1}}),[r,o,e.placeholder]),y=(e,t)=>{const{outerHeightStyle:n,overflow:r}=t;return f.current<20&&(n>0&&Math.abs((e.outerHeightStyle||0)-n)>1||e.overflow!==r)?(f.current+=1,{overflow:r,outerHeightStyle:n}):e},b=l.exports.useCallback((()=>{const e=g();Fo(e)||v((t=>y(t,e)))}),[g]);l.exports.useEffect((()=>{const e=Yt((()=>{f.current=0,c.current&&(()=>{const e=g();Fo(e)||h.exports.flushSync((()=>{v((t=>y(t,e)))}))})()})),t=tn(c.current);let n;return t.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(n=new ResizeObserver(e),n.observe(c.current)),()=>{e.clear(),t.removeEventListener("resize",e),n&&n.disconnect()}})),on((()=>{b()})),l.exports.useEffect((()=>{f.current=0}),[i]);return Kn.exports.jsxs(l.exports.Fragment,{children:[Kn.exports.jsx("textarea",Rt({value:i,onChange:e=>{f.current=0,u||b(),n&&n(e)},ref:d,rows:o,style:Rt({height:m.outerHeightStyle,overflow:m.overflow?"hidden":null},a)},s)),Kn.exports.jsx("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:p,tabIndex:-1,style:Rt({},Lo,a,{padding:0})})]})}));var Wo=Do;function Bo(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Uo=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Vo=Bo((function(e){return Uo.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));function Ho(){return Ho=Object.assign?Object.assign.bind():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},Ho.apply(this,arguments)}var qo=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),Ko={exports:{}};!function(e,t){!function(e){var t="-ms-",n="-moz-",r="-webkit-",o="comm",a="rule",i="decl",l="@page",s="@media",u="@import",c="@charset",d="@viewport",p="@supports",f="@document",h="@namespace",m="@keyframes",v="@font-face",g="@counter-style",y="@font-feature-values",b=Math.abs,x=String.fromCharCode,w=Object.assign;function k(e,t){return(((t<<2^P(e,0))<<2^P(e,1))<<2^P(e,2))<<2^P(e,3)}function S(e){return e.trim()}function E(e,t){return(e=t.exec(e))?e[0]:e}function C(e,t,n){return e.replace(t,n)}function O(e,t){return e.indexOf(t)}function P(e,t){return 0|e.charCodeAt(t)}function R(e,t,n){return e.slice(t,n)}function T(e){return e.length}function M(e){return e.length}function $(e,t){return t.push(e),e}function I(e,t){return e.map(t).join("")}function N(t,n,r,o,a,i,l){return{value:t,root:n,parent:r,type:o,props:a,children:i,line:e.line,column:e.column,length:l,return:""}}function A(e,t){return w(N("",null,null,"",null,null,0),e,{length:-e.length},t)}function j(){return e.character}function z(){return e.character=e.position>0?P(e.characters,--e.position):0,e.column--,10===e.character&&(e.column=1,e.line--),e.character}function _(){return e.character=e.position<e.length?P(e.characters,e.position++):0,e.column++,10===e.character&&(e.column=1,e.line++),e.character}function L(){return P(e.characters,e.position)}function F(){return e.position}function D(t,n){return R(e.characters,t,n)}function W(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function B(t){return e.line=e.column=1,e.length=T(e.characters=t),e.position=0,[]}function U(t){return e.characters="",t}function V(t){return S(D(e.position-1,G(91===t?t+2:40===t?t+1:t)))}function H(e){return U(K(B(e)))}function q(t){for(;(e.character=L())&&e.character<33;)_();return W(t)>2||W(e.character)>3?"":" "}function K(t){for(;_();)switch(W(e.character)){case 0:$(Y(e.position-1),t);break;case 2:$(V(e.character),t);break;default:$(x(e.character),t)}return t}function Q(t,n){for(;--n&&_()&&!(e.character<48||e.character>102||e.character>57&&e.character<65||e.character>70&&e.character<97););return D(t,F()+(n<6&&32==L()&&32==_()))}function G(t){for(;_();)switch(e.character){case t:return e.position;case 34:case 39:34!==t&&39!==t&&G(e.character);break;case 40:41===t&&G(t);break;case 92:_()}return e.position}function X(t,n){for(;_()&&t+e.character!==57&&(t+e.character!==84||47!==L()););return"/*"+D(n,e.position-1)+"*"+x(47===t?t:_())}function Y(t){for(;!W(L());)_();return D(t,e.position)}function J(e){return U(Z("",null,null,null,[""],e=B(e),0,[0],e))}function Z(e,t,n,r,o,a,i,l,s){for(var u=0,c=0,d=i,p=0,f=0,h=0,m=1,v=1,g=1,y=0,b="",w=o,k=a,S=r,E=b;v;)switch(h=y,y=_()){case 40:if(108!=h&&58==E.charCodeAt(d-1)){-1!=O(E+=C(V(y),"&","&\f"),"&\f")&&(g=-1);break}case 34:case 39:case 91:E+=V(y);break;case 9:case 10:case 13:case 32:E+=q(h);break;case 92:E+=Q(F()-1,7);continue;case 47:switch(L()){case 42:case 47:$(te(X(_(),F()),t,n),s);break;default:E+="/"}break;case 123*m:l[u++]=T(E)*g;case 125*m:case 59:case 0:switch(y){case 0:case 125:v=0;case 59+c:f>0&&T(E)-d&&$(f>32?ne(E+";",r,n,d-1):ne(C(E," ","")+";",r,n,d-2),s);break;case 59:E+=";";default:if($(S=ee(E,t,n,u,c,o,l,b,w=[],k=[],d),a),123===y)if(0===c)Z(E,t,S,S,w,a,d,l,k);else switch(p){case 100:case 109:case 115:Z(e,S,S,r&&$(ee(e,S,S,0,0,o,l,b,o,w=[],d),k),o,k,d,l,r?w:k);break;default:Z(E,S,S,S,[""],k,0,l,k)}}u=c=f=0,m=g=1,b=E="",d=i;break;case 58:d=1+T(E),f=h;default:if(m<1)if(123==y)--m;else if(125==y&&0==m++&&125==z())continue;switch(E+=x(y),y*m){case 38:g=c>0?1:(E+="\f",-1);break;case 44:l[u++]=(T(E)-1)*g,g=1;break;case 64:45===L()&&(E+=V(_())),p=L(),c=d=T(b=E+=Y(F())),y++;break;case 45:45===h&&2==T(E)&&(m=0)}}return a}function ee(e,t,n,r,o,i,l,s,u,c,d){for(var p=o-1,f=0===o?i:[""],h=M(f),m=0,v=0,g=0;m<r;++m)for(var y=0,x=R(e,p+1,p=b(v=l[m])),w=e;y<h;++y)(w=S(v>0?f[y]+" "+x:C(x,/&\f/g,f[y])))&&(u[g++]=w);return N(e,t,n,0===o?a:s,u,c,d)}function te(e,t,n){return N(e,t,n,o,x(j()),R(e,2,-2),0)}function ne(e,t,n,r){return N(e,t,n,i,R(e,0,r),R(e,r+1,-1),r)}function re(e,o){switch(k(e,o)){case 5103:return r+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return r+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return r+e+n+e+t+e+e;case 6828:case 4268:return r+e+t+e+e;case 6165:return r+e+t+"flex-"+e+e;case 5187:return r+e+C(e,/(\w+).+(:[^]+)/,r+"box-$1$2"+t+"flex-$1$2")+e;case 5443:return r+e+t+"flex-item-"+C(e,/flex-|-self/,"")+e;case 4675:return r+e+t+"flex-line-pack"+C(e,/align-content|flex-|-self/,"")+e;case 5548:return r+e+t+C(e,"shrink","negative")+e;case 5292:return r+e+t+C(e,"basis","preferred-size")+e;case 6060:return r+"box-"+C(e,"-grow","")+r+e+t+C(e,"grow","positive")+e;case 4554:return r+C(e,/([^-])(transform)/g,"$1"+r+"$2")+e;case 6187:return C(C(C(e,/(zoom-|grab)/,r+"$1"),/(image-set)/,r+"$1"),e,"")+e;case 5495:case 3959:return C(e,/(image-set\([^]*)/,r+"$1$`$1");case 4968:return C(C(e,/(.+:)(flex-)?(.*)/,r+"box-pack:$3"+t+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+r+e+e;case 4095:case 3583:case 4068:case 2532:return C(e,/(.+)-inline(.+)/,r+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(T(e)-1-o>6)switch(P(e,o+1)){case 109:if(45!==P(e,o+4))break;case 102:return C(e,/(.+:)(.+)-([^]+)/,"$1"+r+"$2-$3$1"+n+(108==P(e,o+3)?"$3":"$2-$3"))+e;case 115:return~O(e,"stretch")?re(C(e,"stretch","fill-available"),o)+e:e}break;case 4949:if(115!==P(e,o+1))break;case 6444:switch(P(e,T(e)-3-(~O(e,"!important")&&10))){case 107:return C(e,":",":"+r)+e;case 101:return C(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+r+(45===P(e,14)?"inline-":"")+"box$3$1"+r+"$2$3$1"+t+"$2box$3")+e}break;case 5936:switch(P(e,o+11)){case 114:return r+e+t+C(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return r+e+t+C(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return r+e+t+C(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return r+e+t+e+e}return e}function oe(e,t){for(var n="",r=M(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function ae(e,t,n,r){switch(e.type){case u:case i:return e.return=e.return||e.value;case o:return"";case m:return e.return=e.value+"{"+oe(e.children,r)+"}";case a:e.value=e.props.join(",")}return T(n=oe(e.children,r))?e.return=e.value+"{"+n+"}":""}function ie(e){var t=M(e);return function(n,r,o,a){for(var i="",l=0;l<t;l++)i+=e[l](n,r,o,a)||"";return i}}function le(e){return function(t){t.root||(t=t.return)&&e(t)}}function se(e,o,l,s){if(e.length>-1&&!e.return)switch(e.type){case i:e.return=re(e.value,e.length);break;case m:return oe([A(e,{value:C(e.value,"@","@"+r)})],s);case a:if(e.length)return I(e.props,(function(o){switch(E(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return oe([A(e,{props:[C(o,/:(read-\w+)/,":"+n+"$1")]})],s);case"::placeholder":return oe([A(e,{props:[C(o,/:(plac\w+)/,":"+r+"input-$1")]}),A(e,{props:[C(o,/:(plac\w+)/,":"+n+"$1")]}),A(e,{props:[C(o,/:(plac\w+)/,t+"input-$1")]})],s)}return""}))}}function ue(e){e.type===a&&(e.props=e.props.map((function(t){return I(H(t),(function(t,n,r){switch(P(t,0)){case 12:return R(t,1,T(t));case 0:case 40:case 43:case 62:case 126:return t;case 58:"global"===r[++n]&&(r[n]="",r[++n]="\f"+R(r[n],n=1,-1));case 32:return 1===n?"":t;default:switch(n){case 0:return e=t,M(r)>1?"":t;case n=M(r)-1:case 2:return 2===n?t+e+e:t+e;default:return t}}}))})))}e.line=1,e.column=1,e.length=0,e.position=0,e.character=0,e.characters="",e.CHARSET=c,e.COMMENT=o,e.COUNTER_STYLE=g,e.DECLARATION=i,e.DOCUMENT=f,e.FONT_FACE=v,e.FONT_FEATURE_VALUES=y,e.IMPORT=u,e.KEYFRAMES=m,e.MEDIA=s,e.MOZ=n,e.MS=t,e.NAMESPACE=h,e.PAGE=l,e.RULESET=a,e.SUPPORTS=p,e.VIEWPORT=d,e.WEBKIT=r,e.abs=b,e.alloc=B,e.append=$,e.assign=w,e.caret=F,e.char=j,e.charat=P,e.combine=I,e.comment=te,e.commenter=X,e.compile=J,e.copy=A,e.dealloc=U,e.declaration=ne,e.delimit=V,e.delimiter=G,e.escaping=Q,e.from=x,e.hash=k,e.identifier=Y,e.indexof=O,e.match=E,e.middleware=ie,e.namespace=ue,e.next=_,e.node=N,e.parse=Z,e.peek=L,e.prefix=re,e.prefixer=se,e.prev=z,e.replace=C,e.ruleset=ee,e.rulesheet=le,e.serialize=oe,e.sizeof=M,e.slice=D,e.stringify=ae,e.strlen=T,e.substr=R,e.token=W,e.tokenize=H,e.tokenizer=K,e.trim=S,e.whitespace=q,Object.defineProperty(e,"__esModule",{value:!0})}(t)}(0,Ko.exports);var Qo=function(e){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}},Go=function(e,t,n){for(var r=0,o=0;r=o,o=Ko.exports.peek(),38===r&&12===o&&(t[n]=1),!Ko.exports.token(o);)Ko.exports.next();return Ko.exports.slice(e,Ko.exports.position)},Xo=function(e,t){return Ko.exports.dealloc(function(e,t){var n=-1,r=44;do{switch(Ko.exports.token(r)){case 0:38===r&&12===Ko.exports.peek()&&(t[n]=1),e[n]+=Go(Ko.exports.position-1,t,n);break;case 2:e[n]+=Ko.exports.delimit(r);break;case 4:if(44===r){e[++n]=58===Ko.exports.peek()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Ko.exports.from(r)}}while(r=Ko.exports.next());return e}(Ko.exports.alloc(e),t))},Yo=new WeakMap,Jo=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Yo.get(n))&&!r){Yo.set(e,!0);for(var o=[],a=Xo(t,o),i=n.props,l=0,s=0;l<a.length;l++)for(var u=0;u<i.length;u++,s++)e.props[s]=o[l]?a[l].replace(/&\f/g,i[u]):i[u]+" "+a[l]}}},Zo=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},ea="undefined"!=typeof document,ta=ea?void 0:Qo((function(){return Bo((function(){var e={};return function(t){return e[t]}}))})),na=[Ko.exports.prefixer],ra=function(e){var t=e.key;if(ea&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r,o,a=e.stylisPlugins||na,i={},l=[];ea&&(r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)i[t[n]]=!0;l.push(e)})));var s=[Jo,Zo];if(ea){var u,c=[Ko.exports.stringify,Ko.exports.rulesheet((function(e){u.insert(e)}))],d=Ko.exports.middleware(s.concat(a,c));o=function(e,t,n,r){u=n,function(e){Ko.exports.serialize(Ko.exports.compile(e),d)}(e?e+"{"+t.styles+"}":t.styles),r&&(v.inserted[t.name]=!0)}}else{var p=[Ko.exports.stringify],f=Ko.exports.middleware(s.concat(a,p)),h=ta(a)(t),m=function(e,t){var n=t.name;return void 0===h[n]&&(h[n]=function(e){return Ko.exports.serialize(Ko.exports.compile(e),f)}(e?e+"{"+t.styles+"}":t.styles)),h[n]};o=function(e,t,n,r){var o=t.name,a=m(e,t);return void 0===v.compat?(r&&(v.inserted[o]=!0),a):r?void(v.inserted[o]=a):a}}var v={key:t,sheet:new qo({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:o};return v.sheet.hydrate(l),v},oa="undefined"!=typeof document;var aa=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===oa&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},ia=function(e,t,n){aa(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o="",a=t;do{var i=e.insert(t===a?"."+r:"",a,e.sheet,!0);oa||void 0===i||(o+=i),a=a.next}while(void 0!==a);if(!oa&&0!==o.length)return o}};var la={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},sa=/[A-Z]|^ms/g,ua=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ca=function(e){return 45===e.charCodeAt(1)},da=function(e){return null!=e&&"boolean"!=typeof e},pa=Bo((function(e){return ca(e)?e:e.replace(sa,"-$&").toLowerCase()})),fa=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(ua,(function(e,t,n){return ma={name:t,styles:n,next:ma},t}))}return 1===la[e]||ca(e)||"number"!=typeof t||0===t?t:t+"px"};function ha(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return ma={name:n.name,styles:n.styles,next:ma},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)ma={name:r.name,styles:r.styles,next:ma},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=ha(e,t,n[o])+";";else for(var a in n){var i=n[a];if("object"!=typeof i)null!=t&&void 0!==t[i]?r+=a+"{"+t[i]+"}":da(i)&&(r+=pa(a)+":"+fa(a,i)+";");else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var l=ha(e,t,i);switch(a){case"animation":case"animationName":r+=pa(a)+":"+l+";";break;default:r+=a+"{"+l+"}"}}else for(var s=0;s<i.length;s++)da(i[s])&&(r+=pa(a)+":"+fa(a,i[s])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=ma,a=n(e);return ma=o,ha(e,t,a)}}if(null==t)return n;var i=t[n];return void 0!==i?i:n}var ma,va,ga=/label:\s*([^\s;\n{]+)\s*(;|$)/g,ya=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";ma=void 0;var a=e[0];null==a||void 0===a.raw?(r=!1,o+=ha(n,t,a)):o+=a[0];for(var i=1;i<e.length;i++)o+=ha(n,t,e[i]),r&&(o+=a[i]);ga.lastIndex=0;for(var l,s="";null!==(l=ga.exec(o));)s+="-"+l[1];var u=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+s;return{name:u,styles:o,next:ma}},ba={exports:{}},xa={};!function(e){e.exports=function(){if(va)return xa;va=1,Object.defineProperty(xa,"__esModule",{value:!0});var e=l.exports;function t(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var n=t(e),r="undefined"!=typeof document,o=function(e){return e()},a=!!n.useInsertionEffect&&n.useInsertionEffect,i=r&&a||o,s=a||e.useLayoutEffect;return xa.useInsertionEffectAlwaysWithSyncFallback=i,xa.useInsertionEffectWithLayoutFallback=s,xa}()}(ba);var wa="undefined"!=typeof document,ka=l.exports.createContext("undefined"!=typeof HTMLElement?ra({key:"css"}):null),Sa=ka.Provider,Ea=function(e){return l.exports.forwardRef((function(t,n){var r=l.exports.useContext(ka);return e(t,r,n)}))};wa||(Ea=function(e){return function(t){var n=l.exports.useContext(ka);return null===n?(n=ra({key:"css"}),l.exports.createElement(ka.Provider,{value:n},e(t,n))):e(t,n)}});var Ca=l.exports.createContext({}),Oa=Ea((function(e,t){var n=e.styles,r=ya([n],void 0,l.exports.useContext(Ca));if(!wa){for(var o,a=r.name,i=r.styles,s=r.next;void 0!==s;)a+=" "+s.name,i+=s.styles,s=s.next;var u=!0===t.compat,c=t.insert("",{name:a,styles:i},t.sheet,u);return u?null:l.exports.createElement("style",((o={})["data-emotion"]=t.key+"-global "+a,o.dangerouslySetInnerHTML={__html:c},o.nonce=t.sheet.nonce,o))}var d=l.exports.useRef();return ba.exports.useInsertionEffectWithLayoutFallback((function(){var e=t.key+"-global",n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),o=!1,a=document.querySelector('style[data-emotion="'+e+" "+r.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==a&&(o=!0,a.setAttribute("data-emotion",e),n.hydrate([a])),d.current=[n,o],function(){n.flush()}}),[t]),ba.exports.useInsertionEffectWithLayoutFallback((function(){var e=d.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==r.next&&ia(t,r.next,!0),n.tags.length){var o=n.tags[n.tags.length-1].nextElementSibling;n.before=o,n.flush()}t.insert("",r,n,!1)}}),[t,r.name]),null}));function Pa(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return ya(t)}var Ra,Ta=function(){var e=Pa.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},Ma={exports:{}},$a={};!function(e){e.exports=function(){if(Ra)return $a;Ra=1,Object.defineProperty($a,"__esModule",{value:!0});var e=l.exports;function t(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var n=t(e),r="undefined"!=typeof document,o=function(e){return e()},a=!!n.useInsertionEffect&&n.useInsertionEffect,i=r&&a||o,s=a||e.useLayoutEffect;return $a.useInsertionEffectAlwaysWithSyncFallback=i,$a.useInsertionEffectWithLayoutFallback=s,$a}()}(Ma);var Ia=Vo,Na=function(e){return"theme"!==e},Aa=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?Ia:Na},ja=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},za="undefined"!=typeof document,_a=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;aa(t,n,r);var o=Ma.exports.useInsertionEffectAlwaysWithSyncFallback((function(){return ia(t,n,r)}));if(!za&&void 0!==o){for(var a,i=n.name,s=n.next;void 0!==s;)i+=" "+s.name,s=s.next;return l.exports.createElement("style",((a={})["data-emotion"]=t.key+" "+i,a.dangerouslySetInnerHTML={__html:o},a.nonce=t.sheet.nonce,a))}return null},La=function e(t,n){var r,o,a=t.__emotion_real===t,i=a&&t.__emotion_base||t;void 0!==n&&(r=n.label,o=n.target);var s=ja(t,n,a),u=s||Aa(i),c=!u("as");return function(){var d=arguments,p=a&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&p.push("label:"+r+";"),null==d[0]||void 0===d[0].raw)p.push.apply(p,d);else{p.push(d[0][0]);for(var f=d.length,h=1;h<f;h++)p.push(d[h],d[0][h])}var m=Ea((function(e,t,n){var r,a,d,f,h=c&&e.as||i,m="",v=[],g=e;if(null==e.theme){for(var y in g={},e)g[y]=e[y];g.theme=l.exports.useContext(Ca)}"string"==typeof e.className?(r=t.registered,a=v,d=e.className,f="",d.split(" ").forEach((function(e){void 0!==r[e]?a.push(r[e]+";"):f+=e+" "})),m=f):null!=e.className&&(m=e.className+" ");var b=ya(p.concat(v),t.registered,g);m+=t.key+"-"+b.name,void 0!==o&&(m+=" "+o);var x=c&&void 0===s?Aa(h):u,w={};for(var k in e)c&&"as"===k||x(k)&&(w[k]=e[k]);return w.className=m,w.ref=n,l.exports.createElement(l.exports.Fragment,null,l.exports.createElement(_a,{cache:t,serialized:b,isStringTag:"string"==typeof h}),l.exports.createElement(h,w))}));return m.displayName=void 0!==r?r:"Styled("+("string"==typeof i?i:i.displayName||i.name||"Component")+")",m.defaultProps=t.defaultProps,m.__emotion_real=m,m.__emotion_base=i,m.__emotion_styles=p,m.__emotion_forwardProp=s,Object.defineProperty(m,"toString",{value:function(){return"."+o}}),m.withComponent=function(t,r){return e(t,Ho({},n,r,{shouldForwardProp:ja(m,r,!0)})).apply(void 0,p)},m}},Fa=La.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){Fa[e]=Fa(e)}));var Da=Fa;const Wa=ra({key:"css",prepend:!0});function Ba(e){const{styles:t,defaultTheme:n={}}=e,r="function"==typeof t?e=>{return t(null==(r=e)||0===Object.keys(r).length?n:e);var r}:t;return Kn.exports.jsx(Oa,{styles:r})}
|
|
2
2
|
/** @license MUI v5.10.8
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|