@tolgee/web 5.0.0-rc.704ada9.0 → 5.0.0
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.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.cjs.js +1 -1
- package/dist/tolgee-web.cjs.min.js +1 -1
- package/dist/tolgee-web.esm.min.mjs +1 -1
- package/dist/tolgee-web.esm.mjs +1 -1
- package/dist/tolgee-web.main.cjs.js +1 -1
- package/dist/tolgee-web.main.cjs.min.js +1 -1
- package/dist/tolgee-web.main.esm.js +1 -1
- package/dist/tolgee-web.main.esm.min.js +1 -1
- package/dist/tolgee-web.main.umd.js +1 -1
- package/dist/tolgee-web.main.umd.min.js +1 -1
- package/dist/tolgee-web.umd.js +1 -1
- package/dist/tolgee-web.umd.min.js +1 -1
- package/package.json +3 -3
- package/src/ui/KeyDialog/dialogContext/useGallery.ts +1 -1
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
* This source code is licensed under the MIT license found in the
|
|
25
25
|
* LICENSE file in the root directory of this source tree.
|
|
26
26
|
*/
|
|
27
|
-
var ce=g.exports,de=le,pe=se.exports;function fe(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!ce)throw Error(fe(227));var he=new Set,me={};function ge(e,t){ve(e,t),ve(e+"Capture",t)}function ve(e,t){for(me[e]=t,e=0;e<t.length;e++)he.add(t[e])}var ye=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),be=/^[: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]*$/,xe=Object.prototype.hasOwnProperty,we={},ke={};function Se(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 Ee={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){Ee[e]=new Se(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];Ee[t]=new Se(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){Ee[e]=new Se(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){Ee[e]=new Se(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){Ee[e]=new Se(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){Ee[e]=new Se(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){Ee[e]=new Se(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){Ee[e]=new Se(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){Ee[e]=new Se(e,5,!1,e.toLowerCase(),null,!1,!1)}));var Ce=/[\-:]([a-z])/g;function Oe(e){return e[1].toUpperCase()}function Pe(e,t,n,r){var o=Ee.hasOwnProperty(t)?Ee[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!!xe.call(ke,e)||!xe.call(we,e)&&(be.test(e)?ke[e]=!0:(we[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(Ce,Oe);Ee[t]=new Se(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(Ce,Oe);Ee[t]=new Se(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(Ce,Oe);Ee[t]=new Se(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){Ee[e]=new Se(e,1,!1,e.toLowerCase(),null,!1,!1)})),Ee.xlinkHref=new Se("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){Ee[e]=new Se(e,1,!1,e.toLowerCase(),null,!0,!0)}));var Re=ce.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Te=60103,Me=60106,Ae=60107,Le=60108,Ie=60114,je=60109,Ne=60110,$e=60112,_e=60113,Fe=60120,ze=60115,De=60116,Be=60121,We=60128,Ue=60129,Ve=60130,qe=60131;if("function"==typeof Symbol&&Symbol.for){var He=Symbol.for;Te=He("react.element"),Me=He("react.portal"),Ae=He("react.fragment"),Le=He("react.strict_mode"),Ie=He("react.profiler"),je=He("react.provider"),Ne=He("react.context"),$e=He("react.forward_ref"),_e=He("react.suspense"),Fe=He("react.suspense_list"),ze=He("react.memo"),De=He("react.lazy"),Be=He("react.block"),He("react.scope"),We=He("react.opaque.id"),Ue=He("react.debug_trace_mode"),Ve=He("react.offscreen"),qe=He("react.legacy_hidden")}var Ke,Ge="function"==typeof Symbol&&Symbol.iterator;function Qe(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Ge&&e[Ge]||e["@@iterator"])?e:null}function Ye(e){if(void 0===Ke)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Ke=t&&t[1]||""}return"\n"+Ke+e}var Xe=!1;function Ze(e,t){if(!e||Xe)return"";Xe=!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(e){if(e&&r&&"string"==typeof e.stack){for(var o=e.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])return"\n"+o[i].replace(" at new "," at ")}while(1<=i&&0<=l);break}}}finally{Xe=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Ye(e):""}function Je(e){switch(e.tag){case 5:return Ye(e.type);case 16:return Ye("Lazy");case 13:return Ye("Suspense");case 19:return Ye("SuspenseList");case 0:case 2:case 15:return e=Ze(e.type,!1);case 11:return e=Ze(e.type.render,!1);case 22:return e=Ze(e.type._render,!1);case 1:return e=Ze(e.type,!0);default:return""}}function et(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 Ae:return"Fragment";case Me:return"Portal";case Ie:return"Profiler";case Le:return"StrictMode";case _e:return"Suspense";case Fe:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case Ne:return(e.displayName||"Context")+".Consumer";case je:return(e._context.displayName||"Context")+".Provider";case $e:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case ze:return et(e.type);case Be:return et(e._render);case De:t=e._payload,e=e._init;try{return et(e(t))}catch(e){}}return null}function tt(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function nt(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function rt(e){e._valueTracker||(e._valueTracker=function(e){var t=nt(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 ot(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=nt(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function at(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 it(e,t){var n=t.checked;return de({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function lt(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=tt(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 st(e,t){null!=(t=t.checked)&&Pe(e,"checked",t,!1)}function ut(e,t){st(e,t);var n=tt(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")?dt(e,t.type,n):t.hasOwnProperty("defaultValue")&&dt(e,t.type,tt(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function ct(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 dt(e,t,n){"number"===t&&at(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function pt(e,t){return e=de({children:void 0},t),(t=function(e){var t="";return ce.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function ft(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=""+tt(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 ht(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(fe(91));return de({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function mt(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(fe(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(fe(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:tt(n)}}function gt(e,t){var n=tt(t.value),r=tt(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 vt(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var yt="http://www.w3.org/1999/xhtml",bt="http://www.w3.org/2000/svg";function xt(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 wt(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?xt(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var kt,St=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction((function(){return e(t,n)}))}:e}((function(e,t){if(e.namespaceURI!==bt||"innerHTML"in e)e.innerHTML=t;else{for((kt=kt||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=kt.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function Et(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 Ct={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ot=["Webkit","ms","Moz","O"];function Pt(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Ct.hasOwnProperty(e)&&Ct[e]?(""+t).trim():t+"px"}function Rt(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=Pt(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(Ct).forEach((function(e){Ot.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ct[t]=Ct[e]}))}));var Tt=de({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 Mt(e,t){if(t){if(Tt[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(fe(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(fe(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(fe(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(fe(62))}}function At(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Lt(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var It=null,jt=null,Nt=null;function $t(e){if(e=ca(e)){if("function"!=typeof It)throw Error(fe(280));var t=e.stateNode;t&&(t=pa(t),It(e.stateNode,e.type,t))}}function _t(e){jt?Nt?Nt.push(e):Nt=[e]:jt=e}function Ft(){if(jt){var e=jt,t=Nt;if(Nt=jt=null,$t(e),t)for(e=0;e<t.length;e++)$t(t[e])}}function zt(e,t){return e(t)}function Dt(e,t,n,r,o){return e(t,n,r,o)}function Bt(){}var Wt=zt,Ut=!1,Vt=!1;function qt(){null===jt&&null===Nt||(Bt(),Ft())}function Ht(e,t){var n=e.stateNode;if(null===n)return null;var r=pa(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(fe(231,t,typeof n));return n}var Kt=!1;if(ye)try{var Gt={};Object.defineProperty(Gt,"passive",{get:function(){Kt=!0}}),window.addEventListener("test",Gt,Gt),window.removeEventListener("test",Gt,Gt)}catch(EL){Kt=!1}function Qt(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 Yt=!1,Xt=null,Zt=!1,Jt=null,en={onError:function(e){Yt=!0,Xt=e}};function tn(e,t,n,r,o,a,i,l,s){Yt=!1,Xt=null,Qt.apply(en,arguments)}function nn(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function rn(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 on(e){if(nn(e)!==e)throw Error(fe(188))}function an(e){if(e=function(e){var t=e.alternate;if(!t){if(null===(t=nn(e)))throw Error(fe(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return on(o),e;if(a===r)return on(o),t;a=a.sibling}throw Error(fe(188))}if(n.return!==r.return)n=o,r=a;else{for(var i=!1,l=o.child;l;){if(l===n){i=!0,n=o,r=a;break}if(l===r){i=!0,r=o,n=a;break}l=l.sibling}if(!i){for(l=a.child;l;){if(l===n){i=!0,n=a,r=o;break}if(l===r){i=!0,r=a,n=o;break}l=l.sibling}if(!i)throw Error(fe(189))}}if(n.alternate!==r)throw Error(fe(190))}if(3!==n.tag)throw Error(fe(188));return n.stateNode.current===n?e:t}(e),!e)return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function ln(e,t){for(var n=e.alternate;null!==t;){if(t===e||t===n)return!0;t=t.return}return!1}var sn,un,cn,dn,pn=!1,fn=[],hn=null,mn=null,gn=null,vn=new Map,yn=new Map,bn=[],xn="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 wn(e,t,n,r,o){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:o,targetContainers:[r]}}function kn(e,t){switch(e){case"focusin":case"focusout":hn=null;break;case"dragenter":case"dragleave":mn=null;break;case"mouseover":case"mouseout":gn=null;break;case"pointerover":case"pointerout":vn.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":yn.delete(t.pointerId)}}function Sn(e,t,n,r,o,a){return null===e||e.nativeEvent!==a?(e=wn(t,n,r,o,a),null!==t&&(null!==(t=ca(t))&&un(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function En(e){var t=ua(e.target);if(null!==t){var n=nn(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=rn(n)))return e.blockedOn=t,void dn(e.lanePriority,(function(){pe.unstable_runWithPriority(e.priority,(function(){cn(n)}))}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Cn(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=ir(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=ca(n))&&un(t),e.blockedOn=n,!1;t.shift()}return!0}function On(e,t,n){Cn(e)&&n.delete(t)}function Pn(){for(pn=!1;0<fn.length;){var e=fn[0];if(null!==e.blockedOn){null!==(e=ca(e.blockedOn))&&sn(e);break}for(var t=e.targetContainers;0<t.length;){var n=ir(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&fn.shift()}null!==hn&&Cn(hn)&&(hn=null),null!==mn&&Cn(mn)&&(mn=null),null!==gn&&Cn(gn)&&(gn=null),vn.forEach(On),yn.forEach(On)}function Rn(e,t){e.blockedOn===t&&(e.blockedOn=null,pn||(pn=!0,pe.unstable_scheduleCallback(pe.unstable_NormalPriority,Pn)))}function Tn(e){function t(t){return Rn(t,e)}if(0<fn.length){Rn(fn[0],e);for(var n=1;n<fn.length;n++){var r=fn[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==hn&&Rn(hn,e),null!==mn&&Rn(mn,e),null!==gn&&Rn(gn,e),vn.forEach(t),yn.forEach(t),n=0;n<bn.length;n++)(r=bn[n]).blockedOn===e&&(r.blockedOn=null);for(;0<bn.length&&null===(n=bn[0]).blockedOn;)En(n),null===n.blockedOn&&bn.shift()}function Mn(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var An={animationend:Mn("Animation","AnimationEnd"),animationiteration:Mn("Animation","AnimationIteration"),animationstart:Mn("Animation","AnimationStart"),transitionend:Mn("Transition","TransitionEnd")},Ln={},In={};function jn(e){if(Ln[e])return Ln[e];if(!An[e])return e;var t,n=An[e];for(t in n)if(n.hasOwnProperty(t)&&t in In)return Ln[e]=n[t];return e}ye&&(In=document.createElement("div").style,"AnimationEvent"in window||(delete An.animationend.animation,delete An.animationiteration.animation,delete An.animationstart.animation),"TransitionEvent"in window||delete An.transitionend.transition);var Nn=jn("animationend"),$n=jn("animationiteration"),_n=jn("animationstart"),Fn=jn("transitionend"),zn=new Map,Dn=new Map,Bn=["abort","abort",Nn,"animationEnd",$n,"animationIteration",_n,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Fn,"transitionEnd","waiting","waiting"];function Wn(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],o=e[n+1];o="on"+(o[0].toUpperCase()+o.slice(1)),Dn.set(r,t),zn.set(r,o),ge(o,[r])}}(0,pe.unstable_now)();var Un=8;function Vn(e){if(0!=(1&e))return Un=15,1;if(0!=(2&e))return Un=14,2;if(0!=(4&e))return Un=13,4;var t=24&e;return 0!==t?(Un=12,t):0!=(32&e)?(Un=11,32):0!==(t=192&e)?(Un=10,t):0!=(256&e)?(Un=9,256):0!==(t=3584&e)?(Un=8,t):0!=(4096&e)?(Un=7,4096):0!==(t=4186112&e)?(Un=6,t):0!==(t=62914560&e)?(Un=5,t):67108864&e?(Un=4,67108864):0!=(134217728&e)?(Un=3,134217728):0!==(t=805306368&e)?(Un=2,t):0!=(1073741824&e)?(Un=1,1073741824):(Un=8,e)}function qn(e,t){var n=e.pendingLanes;if(0===n)return Un=0;var r=0,o=0,a=e.expiredLanes,i=e.suspendedLanes,l=e.pingedLanes;if(0!==a)r=a,o=Un=15;else if(0!==(a=134217727&n)){var s=a&~i;0!==s?(r=Vn(s),o=Un):0!==(l&=a)&&(r=Vn(l),o=Un)}else 0!==(a=n&~i)?(r=Vn(a),o=Un):0!==l&&(r=Vn(l),o=Un);if(0===r)return 0;if(r=n&((0>(r=31-Xn(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&0==(t&i)){if(Vn(t),o<=Un)return t;Un=o}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-Xn(t)),r|=e[n],t&=~o;return r}function Hn(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Kn(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=Gn(24&~t))?Kn(10,t):e;case 10:return 0===(e=Gn(192&~t))?Kn(8,t):e;case 8:return 0===(e=Gn(3584&~t))&&(0===(e=Gn(4186112&~t))&&(e=512)),e;case 2:return 0===(t=Gn(805306368&~t))&&(t=268435456),t}throw Error(fe(358,e))}function Gn(e){return e&-e}function Qn(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Yn(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-Xn(t)]=n}var Xn=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Zn(e)/Jn|0)|0},Zn=Math.log,Jn=Math.LN2;var er=pe.unstable_UserBlockingPriority,tr=pe.unstable_runWithPriority,nr=!0;function rr(e,t,n,r){Ut||Bt();var o=ar,a=Ut;Ut=!0;try{Dt(o,e,t,n,r)}finally{(Ut=a)||qt()}}function or(e,t,n,r){tr(er,ar.bind(null,e,t,n,r))}function ar(e,t,n,r){var o;if(nr)if((o=0==(4&t))&&0<fn.length&&-1<xn.indexOf(e))e=wn(null,e,t,n,r),fn.push(e);else{var a=ir(e,t,n,r);if(null===a)o&&kn(e,r);else{if(o){if(-1<xn.indexOf(e))return e=wn(a,e,t,n,r),void fn.push(e);if(function(e,t,n,r,o){switch(t){case"focusin":return hn=Sn(hn,e,t,n,r,o),!0;case"dragenter":return mn=Sn(mn,e,t,n,r,o),!0;case"mouseover":return gn=Sn(gn,e,t,n,r,o),!0;case"pointerover":var a=o.pointerId;return vn.set(a,Sn(vn.get(a)||null,e,t,n,r,o)),!0;case"gotpointercapture":return a=o.pointerId,yn.set(a,Sn(yn.get(a)||null,e,t,n,r,o)),!0}return!1}(a,e,t,n,r))return;kn(e,r)}Wo(e,t,r,null,n)}}}function ir(e,t,n,r){var o=Lt(r);if(null!==(o=ua(o))){var a=nn(o);if(null===a)o=null;else{var i=a.tag;if(13===i){if(null!==(o=rn(a)))return o;o=null}else if(3===i){if(a.stateNode.hydrate)return 3===a.tag?a.stateNode.containerInfo:null;o=null}else a!==o&&(o=null)}}return Wo(e,t,r,o,n),null}var lr=null,sr=null,ur=null;function cr(){if(ur)return ur;var e,t,n=sr,r=n.length,o="value"in lr?lr.value:lr.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 ur=o.slice(e,1<t?1-t:void 0)}function dr(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 pr(){return!0}function fr(){return!1}function hr(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)?pr:fr,this.isPropagationStopped=fr,this}return de(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=pr)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=pr)},persist:function(){},isPersistent:pr}),t}var mr,gr,vr,yr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},br=hr(yr),xr=de({},yr,{view:0,detail:0}),wr=hr(xr),kr=de({},xr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:jr,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!==vr&&(vr&&"mousemove"===e.type?(mr=e.screenX-vr.screenX,gr=e.screenY-vr.screenY):gr=mr=0,vr=e),mr)},movementY:function(e){return"movementY"in e?e.movementY:gr}}),Sr=hr(kr),Er=hr(de({},kr,{dataTransfer:0})),Cr=hr(de({},xr,{relatedTarget:0})),Or=hr(de({},yr,{animationName:0,elapsedTime:0,pseudoElement:0})),Pr=de({},yr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Rr=hr(Pr),Tr=hr(de({},yr,{data:0})),Mr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ar={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"},Lr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ir(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Lr[e])&&!!t[e]}function jr(){return Ir}var Nr=de({},xr,{key:function(e){if(e.key){var t=Mr[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=dr(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Ar[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:jr,charCode:function(e){return"keypress"===e.type?dr(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?dr(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),$r=hr(Nr),_r=hr(de({},kr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Fr=hr(de({},xr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:jr})),zr=hr(de({},yr,{propertyName:0,elapsedTime:0,pseudoElement:0})),Dr=de({},kr,{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}),Br=hr(Dr),Wr=[9,13,27,32],Ur=ye&&"CompositionEvent"in window,Vr=null;ye&&"documentMode"in document&&(Vr=document.documentMode);var qr=ye&&"TextEvent"in window&&!Vr,Hr=ye&&(!Ur||Vr&&8<Vr&&11>=Vr),Kr=String.fromCharCode(32),Gr=!1;function Qr(e,t){switch(e){case"keyup":return-1!==Wr.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Yr(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Xr=!1;var Zr={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 Jr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Zr[e.type]:"textarea"===t}function eo(e,t,n,r){_t(r),0<(t=Vo(t,"onChange")).length&&(n=new br("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var to=null,no=null;function ro(e){$o(e,0)}function oo(e){if(ot(da(e)))return e}function ao(e,t){if("change"===e)return t}var io=!1;if(ye){var lo;if(ye){var so="oninput"in document;if(!so){var uo=document.createElement("div");uo.setAttribute("oninput","return;"),so="function"==typeof uo.oninput}lo=so}else lo=!1;io=lo&&(!document.documentMode||9<document.documentMode)}function co(){to&&(to.detachEvent("onpropertychange",po),no=to=null)}function po(e){if("value"===e.propertyName&&oo(no)){var t=[];if(eo(t,no,e,Lt(e)),e=ro,Ut)e(t);else{Ut=!0;try{zt(e,t)}finally{Ut=!1,qt()}}}}function fo(e,t,n){"focusin"===e?(co(),no=n,(to=t).attachEvent("onpropertychange",po)):"focusout"===e&&co()}function ho(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return oo(no)}function mo(e,t){if("click"===e)return oo(t)}function go(e,t){if("input"===e||"change"===e)return oo(t)}var vo="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},yo=Object.prototype.hasOwnProperty;function bo(e,t){if(vo(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!yo.call(t,n[r])||!vo(e[n[r]],t[n[r]]))return!1;return!0}function xo(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function wo(e,t){var n,r=xo(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=xo(r)}}function ko(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?ko(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function So(){for(var e=window,t=at();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=at((e=t.contentWindow).document)}return t}function Eo(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var Co=ye&&"documentMode"in document&&11>=document.documentMode,Oo=null,Po=null,Ro=null,To=!1;function Mo(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;To||null==Oo||Oo!==at(r)||("selectionStart"in(r=Oo)&&Eo(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},Ro&&bo(Ro,r)||(Ro=r,0<(r=Vo(Po,"onSelect")).length&&(t=new br("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Oo)))}Wn("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Wn("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Wn(Bn,2);for(var Ao="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Lo=0;Lo<Ao.length;Lo++)Dn.set(Ao[Lo],0);ve("onMouseEnter",["mouseout","mouseover"]),ve("onMouseLeave",["mouseout","mouseover"]),ve("onPointerEnter",["pointerout","pointerover"]),ve("onPointerLeave",["pointerout","pointerover"]),ge("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ge("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ge("onBeforeInput",["compositionend","keypress","textInput","paste"]),ge("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ge("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ge("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Io="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),jo=new Set("cancel close invalid load scroll toggle".split(" ").concat(Io));function No(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,i,l,s){if(tn.apply(this,arguments),Yt){if(!Yt)throw Error(fe(198));var u=Xt;Yt=!1,Xt=null,Zt||(Zt=!0,Jt=u)}}(r,t,void 0,e),e.currentTarget=null}function $o(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;No(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;No(o,l,u),a=s}}}if(Zt)throw e=Jt,Zt=!1,Jt=null,e}function _o(e,t){var n=fa(t),r=e+"__bubble";n.has(r)||(Bo(t,e,2,!1),n.add(r))}var Fo="_reactListening"+Math.random().toString(36).slice(2);function zo(e){e[Fo]||(e[Fo]=!0,he.forEach((function(t){jo.has(t)||Do(t,!1,e,null),Do(t,!0,e,null)})))}function Do(e,t,n,r){var o=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,a=n;if("selectionchange"===e&&9!==n.nodeType&&(a=n.ownerDocument),null!==r&&!t&&jo.has(e)){if("scroll"!==e)return;o|=2,a=r}var i=fa(a),l=e+"__"+(t?"capture":"bubble");i.has(l)||(t&&(o|=4),Bo(a,e,o,t),i.add(l))}function Bo(e,t,n,r){var o=Dn.get(t);switch(void 0===o?2:o){case 0:o=rr;break;case 1:o=or;break;default:o=ar}n=o.bind(null,t,n,e),o=void 0,!Kt||"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 Wo(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=ua(l)))return;if(5===(s=i.tag)||6===s){r=a=i;continue e}l=l.parentNode}}r=r.return}!function(e,t,n){if(Vt)return e(t,n);Vt=!0;try{Wt(e,t,n)}finally{Vt=!1,qt()}}((function(){var r=a,o=Lt(n),i=[];e:{var l=zn.get(e);if(void 0!==l){var s=br,u=e;switch(e){case"keypress":if(0===dr(n))break e;case"keydown":case"keyup":s=$r;break;case"focusin":u="focus",s=Cr;break;case"focusout":u="blur",s=Cr;break;case"beforeblur":case"afterblur":s=Cr;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=Sr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=Er;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=Fr;break;case Nn:case $n:case _n:s=Or;break;case Fn:s=zr;break;case"scroll":s=wr;break;case"wheel":s=Br;break;case"copy":case"cut":case"paste":s=Rr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=_r}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=Ht(h,p))&&c.push(Uo(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)||0!=(16&t)||!(u=n.relatedTarget||n.fromElement)||!ua(u)&&!u[la])&&(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)?ua(u):null)&&(u!==(d=nn(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(s=null,u=r),s!==u)){if(c=Sr,m="onMouseLeave",p="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=_r,m="onPointerLeave",p="onPointerEnter",h="pointer"),d=null==s?l:da(s),f=null==u?l:da(u),(l=new c(m,h+"leave",s,n,o)).target=d,l.relatedTarget=f,m=null,ua(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=qo(f))h++;for(f=0,m=p;m;m=qo(m))f++;for(;0<h-f;)c=qo(c),h--;for(;0<f-h;)p=qo(p),f--;for(;h--;){if(c===p||null!==p&&c===p.alternate)break e;c=qo(c),p=qo(p)}c=null}else c=null;null!==s&&Ho(i,l,s,c,!1),null!==u&&null!==d&&Ho(i,d,u,c,!0)}if("select"===(s=(l=r?da(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var g=ao;else if(Jr(l))if(io)g=go;else{g=ho;var v=fo}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(g=mo);switch(g&&(g=g(e,r))?eo(i,g,n,o):(v&&v(e,l,r),"focusout"===e&&(v=l._wrapperState)&&v.controlled&&"number"===l.type&&dt(l,"number",l.value)),v=r?da(r):window,e){case"focusin":(Jr(v)||"true"===v.contentEditable)&&(Oo=v,Po=r,Ro=null);break;case"focusout":Ro=Po=Oo=null;break;case"mousedown":To=!0;break;case"contextmenu":case"mouseup":case"dragend":To=!1,Mo(i,n,o);break;case"selectionchange":if(Co)break;case"keydown":case"keyup":Mo(i,n,o)}var y;if(Ur)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 Xr?Qr(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Hr&&"ko"!==n.locale&&(Xr||"onCompositionStart"!==b?"onCompositionEnd"===b&&Xr&&(y=cr()):(sr="value"in(lr=o)?lr.value:lr.textContent,Xr=!0)),0<(v=Vo(r,b)).length&&(b=new Tr(b,e,null,n,o),i.push({event:b,listeners:v}),y?b.data=y:null!==(y=Yr(n))&&(b.data=y))),(y=qr?function(e,t){switch(e){case"compositionend":return Yr(t);case"keypress":return 32!==t.which?null:(Gr=!0,Kr);case"textInput":return(e=t.data)===Kr&&Gr?null:e;default:return null}}(e,n):function(e,t){if(Xr)return"compositionend"===e||!Ur&&Qr(e,t)?(e=cr(),ur=sr=lr=null,Xr=!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 Hr&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Vo(r,"onBeforeInput")).length&&(o=new Tr("onBeforeInput","beforeinput",null,n,o),i.push({event:o,listeners:r}),o.data=y))}$o(i,t)}))}function Uo(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Vo(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=Ht(e,n))&&r.unshift(Uo(e,a,o)),null!=(a=Ht(e,t))&&r.push(Uo(e,a,o))),e=e.return}return r}function qo(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Ho(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=Ht(n,a))&&i.unshift(Uo(n,s,l)):o||null!=(s=Ht(n,a))&&i.push(Uo(n,s,l))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}function Ko(){}var Go=null,Qo=null;function Yo(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Xo(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Zo="function"==typeof setTimeout?setTimeout:void 0,Jo="function"==typeof clearTimeout?clearTimeout:void 0;function ea(e){1===e.nodeType?e.textContent="":9===e.nodeType&&(null!=(e=e.body)&&(e.textContent=""))}function ta(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function na(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 ra=0;var oa=Math.random().toString(36).slice(2),aa="__reactFiber$"+oa,ia="__reactProps$"+oa,la="__reactContainer$"+oa,sa="__reactEvents$"+oa;function ua(e){var t=e[aa];if(t)return t;for(var n=e.parentNode;n;){if(t=n[la]||n[aa]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=na(e);null!==e;){if(n=e[aa])return n;e=na(e)}return t}n=(e=n).parentNode}return null}function ca(e){return!(e=e[aa]||e[la])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function da(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(fe(33))}function pa(e){return e[ia]||null}function fa(e){var t=e[sa];return void 0===t&&(t=e[sa]=new Set),t}var ha=[],ma=-1;function ga(e){return{current:e}}function va(e){0>ma||(e.current=ha[ma],ha[ma]=null,ma--)}function ya(e,t){ma++,ha[ma]=e.current,e.current=t}var ba={},xa=ga(ba),wa=ga(!1),ka=ba;function Sa(e,t){var n=e.type.contextTypes;if(!n)return ba;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 Ea(e){return null!=(e=e.childContextTypes)}function Ca(){va(wa),va(xa)}function Oa(e,t,n){if(xa.current!==ba)throw Error(fe(168));ya(xa,t),ya(wa,n)}function Pa(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in e))throw Error(fe(108,et(t)||"Unknown",o));return de({},n,r)}function Ra(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ba,ka=xa.current,ya(xa,e),ya(wa,wa.current),!0}function Ta(e,t,n){var r=e.stateNode;if(!r)throw Error(fe(169));n?(e=Pa(e,t,ka),r.__reactInternalMemoizedMergedChildContext=e,va(wa),va(xa),ya(xa,e)):va(wa),ya(wa,n)}var Ma=null,Aa=null,La=pe.unstable_runWithPriority,Ia=pe.unstable_scheduleCallback,ja=pe.unstable_cancelCallback,Na=pe.unstable_shouldYield,$a=pe.unstable_requestPaint,_a=pe.unstable_now,Fa=pe.unstable_getCurrentPriorityLevel,za=pe.unstable_ImmediatePriority,Da=pe.unstable_UserBlockingPriority,Ba=pe.unstable_NormalPriority,Wa=pe.unstable_LowPriority,Ua=pe.unstable_IdlePriority,Va={},qa=void 0!==$a?$a:function(){},Ha=null,Ka=null,Ga=!1,Qa=_a(),Ya=1e4>Qa?_a:function(){return _a()-Qa};function Xa(){switch(Fa()){case za:return 99;case Da:return 98;case Ba:return 97;case Wa:return 96;case Ua:return 95;default:throw Error(fe(332))}}function Za(e){switch(e){case 99:return za;case 98:return Da;case 97:return Ba;case 96:return Wa;case 95:return Ua;default:throw Error(fe(332))}}function Ja(e,t){return e=Za(e),La(e,t)}function ei(e,t,n){return e=Za(e),Ia(e,t,n)}function ti(){if(null!==Ka){var e=Ka;Ka=null,ja(e)}ni()}function ni(){if(!Ga&&null!==Ha){Ga=!0;var e=0;try{var t=Ha;Ja(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Ha=null}catch(t){throw null!==Ha&&(Ha=Ha.slice(e+1)),Ia(za,ti),t}finally{Ga=!1}}}var ri=Re.ReactCurrentBatchConfig;function oi(e,t){if(e&&e.defaultProps){for(var n in t=de({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var ai=ga(null),ii=null,li=null,si=null;function ui(){si=li=ii=null}function ci(e){var t=ai.current;va(ai),e.type._context._currentValue=t}function di(e,t){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)===t){if(null===n||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,null!==n&&(n.childLanes|=t);e=e.return}}function pi(e,t){ii=e,si=li=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(Ul=!0),e.firstContext=null)}function fi(e,t){if(si!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(si=e,t=1073741823),t={context:e,observedBits:t,next:null},null===li){if(null===ii)throw Error(fe(308));li=t,ii.dependencies={lanes:0,firstContext:t,responders:null}}else li=li.next=t;return e._currentValue}var hi=!1;function mi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function gi(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 vi(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function yi(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function bi(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 xi(e,t,n,r){var o=e.updateQueue;hi=!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;if(null!==c){var d=(c=c.updateQueue).lastBaseUpdate;d!==i&&(null===d?c.firstBaseUpdate=u:d.next=u,c.lastBaseUpdate=s)}}if(null!==a){for(d=o.baseState,i=0,c=u=s=null;;){l=a.lane;var p=a.eventTime;if((r&l)===l){null!==c&&(c=c.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var f=e,h=a;switch(l=t,p=n,h.tag){case 1:if("function"==typeof(f=h.payload)){d=f.call(p,d,l);break e}d=f;break e;case 3:f.flags=-4097&f.flags|64;case 0:if(null==(l="function"==typeof(f=h.payload)?f.call(p,d,l):f))break e;d=de({},d,l);break e;case 2:hi=!0}}null!==a.callback&&(e.flags|=32,null===(l=o.effects)?o.effects=[a]:l.push(a))}else p={eventTime:p,lane:l,tag:a.tag,payload:a.payload,callback:a.callback,next:null},null===c?(u=c=p,s=d):c=c.next=p,i|=l;if(null===(a=a.next)){if(null===(l=o.shared.pending))break;a=l.next,l.next=null,o.lastBaseUpdate=l,o.shared.pending=null}}null===c&&(s=d),o.baseState=s,o.firstBaseUpdate=u,o.lastBaseUpdate=c,Ks|=i,e.lanes=i,e.memoizedState=d}}function wi(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(fe(191,o));o.call(r)}}}var ki=(new ce.Component).refs;function Si(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:de({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Ei={isMounted:function(e){return!!(e=e._reactInternals)&&nn(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=yu(),o=bu(e),a=vi(r,o);a.payload=t,null!=n&&(a.callback=n),yi(e,a),xu(e,o,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=yu(),o=bu(e),a=vi(r,o);a.tag=1,a.payload=t,null!=n&&(a.callback=n),yi(e,a),xu(e,o,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=yu(),r=bu(e),o=vi(n,r);o.tag=2,null!=t&&(o.callback=t),yi(e,o),xu(e,r,n)}};function Ci(e,t,n,r,o,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,i):!t.prototype||!t.prototype.isPureReactComponent||(!bo(n,r)||!bo(o,a))}function Oi(e,t,n){var r=!1,o=ba,a=t.contextType;return"object"==typeof a&&null!==a?a=fi(a):(o=Ea(t)?ka:xa.current,a=(r=null!=(r=t.contextTypes))?Sa(e,o):ba),t=new t(n,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Ei,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function Pi(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Ei.enqueueReplaceState(t,t.state,null)}function Ri(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=ki,mi(e);var a=t.contextType;"object"==typeof a&&null!==a?o.context=fi(a):(a=Ea(t)?ka:xa.current,o.context=Sa(e,a)),xi(e,n,o,r),o.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&(Si(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&&Ei.enqueueReplaceState(o,o.state,null),xi(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4)}var Ti=Array.isArray;function Mi(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(fe(309));var r=n.stateNode}if(!r)throw Error(fe(147,e));var o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:(t=function(e){var t=r.refs;t===ki&&(t=r.refs={}),null===e?delete t[o]:t[o]=e},t._stringRef=o,t)}if("string"!=typeof e)throw Error(fe(284));if(!n._owner)throw Error(fe(290,e))}return e}function Ai(e,t){if("textarea"!==e.type)throw Error(fe(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function Li(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.flags=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Zu(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags=2,n):r:(t.flags=2,n):n}function i(t){return e&&null===t.alternate&&(t.flags=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=nc(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function s(e,t,n,r){return null!==t&&t.elementType===n.type?((r=o(t,n.props)).ref=Mi(e,t,n),r.return=e,r):((r=Ju(n.type,n.key,n.props,null,e.mode,r)).ref=Mi(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=rc(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function c(e,t,n,r,a){return null===t||7!==t.tag?((t=ec(n,e.mode,r,a)).return=e,t):((t=o(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=nc(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case Te:return(n=Ju(t.type,t.key,t.props,null,e.mode,n)).ref=Mi(e,null,t),n.return=e,n;case Me:return(t=rc(t,e.mode,n)).return=e,t}if(Ti(t)||Qe(t))return(t=ec(t,e.mode,n,null)).return=e,t;Ai(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case Te:return n.key===o?n.type===Ae?c(e,t,n.props.children,r,o):s(e,t,n,r):null;case Me:return n.key===o?u(e,t,n,r):null}if(Ti(n)||Qe(n))return null!==o?null:c(e,t,n,r,null);Ai(e,n)}return null}function f(e,t,n,r,o){if("string"==typeof r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case Te:return e=e.get(null===r.key?n:r.key)||null,r.type===Ae?c(t,e,r.props.children,o,r.key):s(t,e,r,o);case Me:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(Ti(r)||Qe(r))return c(t,e=e.get(n)||null,r,o,null);Ai(t,r)}return null}function h(o,i,l,s){for(var u=null,c=null,h=i,m=i=0,g=null;null!==h&&m<l.length;m++){h.index>m?(g=h,h=null):g=h.sibling;var v=p(o,h,l[m],s);if(null===v){null===h&&(h=g);break}e&&h&&null===v.alternate&&t(o,h),i=a(v,i,m),null===c?u=v:c.sibling=v,c=v,h=g}if(m===l.length)return n(o,h),u;if(null===h){for(;m<l.length;m++)null!==(h=d(o,l[m],s))&&(i=a(h,i,m),null===c?u=h:c.sibling=h,c=h);return u}for(h=r(o,h);m<l.length;m++)null!==(g=f(h,o,m,l[m],s))&&(e&&null!==g.alternate&&h.delete(null===g.key?m:g.key),i=a(g,i,m),null===c?u=g:c.sibling=g,c=g);return e&&h.forEach((function(e){return t(o,e)})),u}function m(o,i,l,s){var u=Qe(l);if("function"!=typeof u)throw Error(fe(150));if(null==(l=u.call(l)))throw Error(fe(151));for(var c=u=null,h=i,m=i=0,g=null,v=l.next();null!==h&&!v.done;m++,v=l.next()){h.index>m?(g=h,h=null):g=h.sibling;var y=p(o,h,v.value,s);if(null===y){null===h&&(h=g);break}e&&h&&null===y.alternate&&t(o,h),i=a(y,i,m),null===c?u=y:c.sibling=y,c=y,h=g}if(v.done)return n(o,h),u;if(null===h){for(;!v.done;m++,v=l.next())null!==(v=d(o,v.value,s))&&(i=a(v,i,m),null===c?u=v:c.sibling=v,c=v);return u}for(h=r(o,h);!v.done;m++,v=l.next())null!==(v=f(h,o,m,v.value,s))&&(e&&null!==v.alternate&&h.delete(null===v.key?m:v.key),i=a(v,i,m),null===c?u=v:c.sibling=v,c=v);return e&&h.forEach((function(e){return t(o,e)})),u}return function(e,r,a,l){var s="object"==typeof a&&null!==a&&a.type===Ae&&null===a.key;s&&(a=a.props.children);var u="object"==typeof a&&null!==a;if(u)switch(a.$$typeof){case Te:e:{for(u=a.key,s=r;null!==s;){if(s.key===u){if(7===s.tag){if(a.type===Ae){n(e,s.sibling),(r=o(s,a.props.children)).return=e,e=r;break e}}else if(s.elementType===a.type){n(e,s.sibling),(r=o(s,a.props)).ref=Mi(e,s,a),r.return=e,e=r;break e}n(e,s);break}t(e,s),s=s.sibling}a.type===Ae?((r=ec(a.props.children,e.mode,l,a.key)).return=e,e=r):((l=Ju(a.type,a.key,a.props,null,e.mode,l)).ref=Mi(e,r,a),l.return=e,e=l)}return i(e);case Me:e:{for(s=a.key;null!==r;){if(r.key===s){if(4===r.tag&&r.stateNode.containerInfo===a.containerInfo&&r.stateNode.implementation===a.implementation){n(e,r.sibling),(r=o(r,a.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=rc(a,e.mode,l)).return=e,e=r}return i(e)}if("string"==typeof a||"number"==typeof a)return a=""+a,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,a)).return=e,e=r):(n(e,r),(r=nc(a,e.mode,l)).return=e,e=r),i(e);if(Ti(a))return h(e,r,a,l);if(Qe(a))return m(e,r,a,l);if(u&&Ai(e,a),void 0===a&&!s)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(fe(152,et(e.type)||"Component"))}return n(e,r)}}var Ii=Li(!0),ji=Li(!1),Ni={},$i=ga(Ni),_i=ga(Ni),Fi=ga(Ni);function zi(e){if(e===Ni)throw Error(fe(174));return e}function Di(e,t){switch(ya(Fi,t),ya(_i,e),ya($i,Ni),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:wt(null,"");break;default:t=wt(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}va($i),ya($i,t)}function Bi(){va($i),va(_i),va(Fi)}function Wi(e){zi(Fi.current);var t=zi($i.current),n=wt(t,e.type);t!==n&&(ya(_i,e),ya($i,n))}function Ui(e){_i.current===e&&(va($i),va(_i))}var Vi=ga(0);function qi(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.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 Hi=null,Ki=null,Gi=!1;function Qi(e,t){var n=Yu(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Yi(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function Xi(e){if(Gi){var t=Ki;if(t){var n=t;if(!Yi(e,t)){if(!(t=ta(n.nextSibling))||!Yi(e,t))return e.flags=-1025&e.flags|2,Gi=!1,void(Hi=e);Qi(Hi,n)}Hi=e,Ki=ta(t.firstChild)}else e.flags=-1025&e.flags|2,Gi=!1,Hi=e}}function Zi(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Hi=e}function Ji(e){if(e!==Hi)return!1;if(!Gi)return Zi(e),Gi=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Xo(t,e.memoizedProps))for(t=Ki;t;)Qi(e,t),t=ta(t.nextSibling);if(Zi(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(fe(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Ki=ta(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Ki=null}}else Ki=Hi?ta(e.stateNode.nextSibling):null;return!0}function el(){Ki=Hi=null,Gi=!1}var tl=[];function nl(){for(var e=0;e<tl.length;e++)tl[e]._workInProgressVersionPrimary=null;tl.length=0}var rl=Re.ReactCurrentDispatcher,ol=Re.ReactCurrentBatchConfig,al=0,il=null,ll=null,sl=null,ul=!1,cl=!1;function dl(){throw Error(fe(321))}function pl(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!vo(e[n],t[n]))return!1;return!0}function fl(e,t,n,r,o,a){if(al=a,il=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,rl.current=null===e||null===e.memoizedState?zl:Dl,e=n(r,o),cl){a=0;do{if(cl=!1,!(25>a))throw Error(fe(301));a+=1,sl=ll=null,t.updateQueue=null,rl.current=Bl,e=n(r,o)}while(cl)}if(rl.current=Fl,t=null!==ll&&null!==ll.next,al=0,sl=ll=il=null,ul=!1,t)throw Error(fe(300));return e}function hl(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===sl?il.memoizedState=sl=e:sl=sl.next=e,sl}function ml(){if(null===ll){var e=il.alternate;e=null!==e?e.memoizedState:null}else e=ll.next;var t=null===sl?il.memoizedState:sl.next;if(null!==t)sl=t,ll=e;else{if(null===e)throw Error(fe(310));e={memoizedState:(ll=e).memoizedState,baseState:ll.baseState,baseQueue:ll.baseQueue,queue:ll.queue,next:null},null===sl?il.memoizedState=sl=e:sl=sl.next=e}return sl}function gl(e,t){return"function"==typeof t?t(e):t}function vl(e){var t=ml(),n=t.queue;if(null===n)throw Error(fe(311));n.lastRenderedReducer=e;var r=ll,o=r.baseQueue,a=n.pending;if(null!==a){if(null!==o){var i=o.next;o.next=a.next,a.next=i}r.baseQueue=o=a,n.pending=null}if(null!==o){o=o.next,r=r.baseState;var l=i=a=null,s=o;do{var u=s.lane;if((al&u)===u)null!==l&&(l=l.next={lane:0,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null}),r=s.eagerReducer===e?s.eagerState:e(r,s.action);else{var c={lane:u,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null};null===l?(i=l=c,a=r):l=l.next=c,il.lanes|=u,Ks|=u}s=s.next}while(null!==s&&s!==o);null===l?a=r:l.next=i,vo(r,t.memoizedState)||(Ul=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function yl(e){var t=ml(),n=t.queue;if(null===n)throw Error(fe(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var i=o=o.next;do{a=e(a,i.action),i=i.next}while(i!==o);vo(a,t.memoizedState)||(Ul=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function bl(e,t,n){var r=t._getVersion;r=r(t._source);var o=t._workInProgressVersionPrimary;if(null!==o?e=o===r:(e=e.mutableReadLanes,(e=(al&e)===e)&&(t._workInProgressVersionPrimary=r,tl.push(t))),e)return n(t._source);throw tl.push(t),Error(fe(350))}function xl(e,t,n,r){var o=zs;if(null===o)throw Error(fe(349));var a=t._getVersion,i=a(t._source),l=rl.current,s=l.useState((function(){return bl(o,t,n)})),u=s[1],c=s[0];s=sl;var d=e.memoizedState,p=d.refs,f=p.getSnapshot,h=d.source;d=d.subscribe;var m=il;return e.memoizedState={refs:p,source:t,subscribe:r},l.useEffect((function(){p.getSnapshot=n,p.setSnapshot=u;var e=a(t._source);if(!vo(i,e)){e=n(t._source),vo(c,e)||(u(e),e=bu(m),o.mutableReadLanes|=e&o.pendingLanes),e=o.mutableReadLanes,o.entangledLanes|=e;for(var r=o.entanglements,l=e;0<l;){var s=31-Xn(l),d=1<<s;r[s]|=e,l&=~d}}}),[n,t,r]),l.useEffect((function(){return r(t._source,(function(){var e=p.getSnapshot,n=p.setSnapshot;try{n(e(t._source));var r=bu(m);o.mutableReadLanes|=r&o.pendingLanes}catch(e){n((function(){throw e}))}}))}),[t,r]),vo(f,n)&&vo(h,t)&&vo(d,r)||((e={pending:null,dispatch:null,lastRenderedReducer:gl,lastRenderedState:c}).dispatch=u=_l.bind(null,il,e),s.queue=e,s.baseQueue=null,c=bl(o,t,n),s.memoizedState=s.baseState=c),c}function wl(e,t,n){return xl(ml(),e,t,n)}function kl(e){var t=hl();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:gl,lastRenderedState:e}).dispatch=_l.bind(null,il,e),[t.memoizedState,e]}function Sl(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=il.updateQueue)?(t={lastEffect:null},il.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 El(e){return e={current:e},hl().memoizedState=e}function Cl(){return ml().memoizedState}function Ol(e,t,n,r){var o=hl();il.flags|=e,o.memoizedState=Sl(1|t,n,void 0,void 0===r?null:r)}function Pl(e,t,n,r){var o=ml();r=void 0===r?null:r;var a=void 0;if(null!==ll){var i=ll.memoizedState;if(a=i.destroy,null!==r&&pl(r,i.deps))return void Sl(t,n,a,r)}il.flags|=e,o.memoizedState=Sl(1|t,n,a,r)}function Rl(e,t){return Ol(516,4,e,t)}function Tl(e,t){return Pl(516,4,e,t)}function Ml(e,t){return Pl(4,2,e,t)}function Al(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 Ll(e,t,n){return n=null!=n?n.concat([e]):null,Pl(4,2,Al.bind(null,t,e),n)}function Il(){}function jl(e,t){var n=ml();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&pl(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Nl(e,t){var n=ml();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&pl(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function $l(e,t){var n=Xa();Ja(98>n?98:n,(function(){e(!0)})),Ja(97<n?97:n,(function(){var n=ol.transition;ol.transition=1;try{e(!1),t()}finally{ol.transition=n}}))}function _l(e,t,n){var r=yu(),o=bu(e),a={lane:o,action:n,eagerReducer:null,eagerState:null,next:null},i=t.pending;if(null===i?a.next=a:(a.next=i.next,i.next=a),t.pending=a,i=e.alternate,e===il||null!==i&&i===il)cl=ul=!0;else{if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var l=t.lastRenderedState,s=i(l,n);if(a.eagerReducer=i,a.eagerState=s,vo(s,l))return}catch(e){}xu(e,o,r)}}var Fl={readContext:fi,useCallback:dl,useContext:dl,useEffect:dl,useImperativeHandle:dl,useLayoutEffect:dl,useMemo:dl,useReducer:dl,useRef:dl,useState:dl,useDebugValue:dl,useDeferredValue:dl,useTransition:dl,useMutableSource:dl,useOpaqueIdentifier:dl,unstable_isNewReconciler:!1},zl={readContext:fi,useCallback:function(e,t){return hl().memoizedState=[e,void 0===t?null:t],e},useContext:fi,useEffect:Rl,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Ol(4,2,Al.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ol(4,2,e,t)},useMemo:function(e,t){var n=hl();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=hl();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=_l.bind(null,il,e),[r.memoizedState,e]},useRef:El,useState:kl,useDebugValue:Il,useDeferredValue:function(e){var t=kl(e),n=t[0],r=t[1];return Rl((function(){var t=ol.transition;ol.transition=1;try{r(e)}finally{ol.transition=t}}),[e]),n},useTransition:function(){var e=kl(!1),t=e[0];return El(e=$l.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=hl();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},xl(r,e,t,n)},useOpaqueIdentifier:function(){if(Gi){var e=!1,t=function(e){return{$$typeof:We,toString:e,valueOf:e}}((function(){throw e||(e=!0,n("r:"+(ra++).toString(36))),Error(fe(355))})),n=kl(t)[1];return 0==(2&il.mode)&&(il.flags|=516,Sl(5,(function(){n("r:"+(ra++).toString(36))}),void 0,null)),t}return kl(t="r:"+(ra++).toString(36)),t},unstable_isNewReconciler:!1},Dl={readContext:fi,useCallback:jl,useContext:fi,useEffect:Tl,useImperativeHandle:Ll,useLayoutEffect:Ml,useMemo:Nl,useReducer:vl,useRef:Cl,useState:function(){return vl(gl)},useDebugValue:Il,useDeferredValue:function(e){var t=vl(gl),n=t[0],r=t[1];return Tl((function(){var t=ol.transition;ol.transition=1;try{r(e)}finally{ol.transition=t}}),[e]),n},useTransition:function(){var e=vl(gl)[0];return[Cl().current,e]},useMutableSource:wl,useOpaqueIdentifier:function(){return vl(gl)[0]},unstable_isNewReconciler:!1},Bl={readContext:fi,useCallback:jl,useContext:fi,useEffect:Tl,useImperativeHandle:Ll,useLayoutEffect:Ml,useMemo:Nl,useReducer:yl,useRef:Cl,useState:function(){return yl(gl)},useDebugValue:Il,useDeferredValue:function(e){var t=yl(gl),n=t[0],r=t[1];return Tl((function(){var t=ol.transition;ol.transition=1;try{r(e)}finally{ol.transition=t}}),[e]),n},useTransition:function(){var e=yl(gl)[0];return[Cl().current,e]},useMutableSource:wl,useOpaqueIdentifier:function(){return yl(gl)[0]},unstable_isNewReconciler:!1},Wl=Re.ReactCurrentOwner,Ul=!1;function Vl(e,t,n,r){t.child=null===e?ji(t,null,n,r):Ii(t,e.child,n,r)}function ql(e,t,n,r,o){n=n.render;var a=t.ref;return pi(t,o),r=fl(e,t,n,r,a,o),null===e||Ul?(t.flags|=1,Vl(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,ds(e,t,o))}function Hl(e,t,n,r,o,a){if(null===e){var i=n.type;return"function"!=typeof i||Xu(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Ju(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Kl(e,t,i,r,o,a))}return i=e.child,0==(o&a)&&(o=i.memoizedProps,(n=null!==(n=n.compare)?n:bo)(o,r)&&e.ref===t.ref)?ds(e,t,a):(t.flags|=1,(e=Zu(i,r)).ref=t.ref,e.return=t,t.child=e)}function Kl(e,t,n,r,o,a){if(null!==e&&bo(e.memoizedProps,r)&&e.ref===t.ref){if(Ul=!1,0==(a&o))return t.lanes=e.lanes,ds(e,t,a);0!=(16384&e.flags)&&(Ul=!0)}return Yl(e,t,n,r,a)}function Gl(e,t,n){var r=t.pendingProps,o=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(0==(4&t.mode))t.memoizedState={baseLanes:0},Ru(t,n);else{if(0==(1073741824&n))return e=null!==a?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},Ru(t,e),null;t.memoizedState={baseLanes:0},Ru(t,null!==a?a.baseLanes:n)}else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,Ru(t,r);return Vl(e,t,o,n),t.child}function Ql(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function Yl(e,t,n,r,o){var a=Ea(n)?ka:xa.current;return a=Sa(t,a),pi(t,o),n=fl(e,t,n,r,a,o),null===e||Ul?(t.flags|=1,Vl(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,ds(e,t,o))}function Xl(e,t,n,r,o){if(Ea(n)){var a=!0;Ra(t)}else a=!1;if(pi(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),Oi(t,n,r),Ri(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=fi(u):u=Sa(t,u=Ea(n)?ka:xa.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)&&Pi(t,i,r,u),hi=!1;var p=t.memoizedState;i.state=p,xi(t,r,i,o),s=t.memoizedState,l!==r||p!==s||wa.current||hi?("function"==typeof c&&(Si(t,n,c,r),s=t.memoizedState),(l=hi||Ci(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|=4)):("function"==typeof i.componentDidMount&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=s),i.props=r,i.state=s,i.context=u,r=l):("function"==typeof i.componentDidMount&&(t.flags|=4),r=!1)}else{i=t.stateNode,gi(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:oi(t.type,l),i.props=u,d=t.pendingProps,p=i.context,"object"==typeof(s=n.contextType)&&null!==s?s=fi(s):s=Sa(t,s=Ea(n)?ka:xa.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)&&Pi(t,i,r,s),hi=!1,p=t.memoizedState,i.state=p,xi(t,r,i,o);var h=t.memoizedState;l!==d||p!==h||wa.current||hi?("function"==typeof f&&(Si(t,n,f,r),h=t.memoizedState),(u=hi||Ci(t,n,u,r,p,h,s))?(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|=256)):("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|=256),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|=256),r=!1)}return Zl(e,t,n,r,a,o)}function Zl(e,t,n,r,o,a){Ql(e,t);var i=0!=(64&t.flags);if(!r&&!i)return o&&Ta(t,n,!1),ds(e,t,a);r=t.stateNode,Wl.current=t;var l=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=Ii(t,e.child,null,a),t.child=Ii(t,null,l,a)):Vl(e,t,l,a),t.memoizedState=r.state,o&&Ta(t,n,!0),t.child}function Jl(e){var t=e.stateNode;t.pendingContext?Oa(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Oa(0,t.context,!1),Di(e,t.containerInfo)}var es,ts,ns,rs={dehydrated:null,retryLane:0};function os(e,t,n){var r,o=t.pendingProps,a=Vi.current,i=!1;return(r=0!=(64&t.flags))||(r=(null===e||null!==e.memoizedState)&&0!=(2&a)),r?(i=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(a|=1),ya(Vi,1&a),null===e?(void 0!==o.fallback&&Xi(t),e=o.children,a=o.fallback,i?(e=as(t,e,a,n),t.child.memoizedState={baseLanes:n},t.memoizedState=rs,e):"number"==typeof o.unstable_expectedLoadTime?(e=as(t,e,a,n),t.child.memoizedState={baseLanes:n},t.memoizedState=rs,t.lanes=33554432,e):((n=tc({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):(e.memoizedState,i?(o=ls(e,t,o.children,o.fallback,n),i=t.child,a=e.child.memoizedState,i.memoizedState=null===a?{baseLanes:n}:{baseLanes:a.baseLanes|n},i.childLanes=e.childLanes&~n,t.memoizedState=rs,o):(n=is(e,t,o.children,n),t.memoizedState=null,n))}function as(e,t,n,r){var o=e.mode,a=e.child;return t={mode:"hidden",children:t},0==(2&o)&&null!==a?(a.childLanes=0,a.pendingProps=t):a=tc(t,o,0,null),n=ec(n,o,r,null),a.return=e,n.return=e,a.sibling=n,e.child=a,n}function is(e,t,n,r){var o=e.child;return e=o.sibling,n=Zu(o,{mode:"visible",children:n}),0==(2&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}function ls(e,t,n,r,o){var a=t.mode,i=e.child;e=i.sibling;var l={mode:"hidden",children:n};return 0==(2&a)&&t.child!==i?((n=t.child).childLanes=0,n.pendingProps=l,null!==(i=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=i,i.nextEffect=null):t.firstEffect=t.lastEffect=null):n=Zu(i,l),null!==e?r=Zu(e,r):(r=ec(r,a,o,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}function ss(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),di(e.return,t)}function us(e,t,n,r,o,a){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o,lastEffect:a}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o,i.lastEffect=a)}function cs(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;if(Vl(e,t,r.children,n),0!=(2&(r=Vi.current)))r=1&r|2,t.flags|=64;else{if(null!==e&&0!=(64&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&ss(e,n);else if(19===e.tag)ss(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ya(Vi,r),0==(2&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===qi(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),us(t,!1,o,n,a,t.lastEffect);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===qi(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}us(t,!0,n,null,a,t.lastEffect);break;case"together":us(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function ds(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Ks|=t.lanes,0!=(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(fe(153));if(null!==t.child){for(n=Zu(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Zu(e,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function ps(e,t){if(!Gi)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 fs(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return Ea(t.type)&&Ca(),null;case 3:return Bi(),va(wa),va(xa),nl(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Ji(t)?t.flags|=4:r.hydrate||(t.flags|=256)),null;case 5:Ui(t);var o=zi(Fi.current);if(n=t.type,null!==e&&null!=t.stateNode)ts(e,t,n,r),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(fe(166));return null}if(e=zi($i.current),Ji(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[aa]=t,r[ia]=a,n){case"dialog":_o("cancel",r),_o("close",r);break;case"iframe":case"object":case"embed":_o("load",r);break;case"video":case"audio":for(e=0;e<Io.length;e++)_o(Io[e],r);break;case"source":_o("error",r);break;case"img":case"image":case"link":_o("error",r),_o("load",r);break;case"details":_o("toggle",r);break;case"input":lt(r,a),_o("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},_o("invalid",r);break;case"textarea":mt(r,a),_o("invalid",r)}for(var i in Mt(n,a),e=null,a)a.hasOwnProperty(i)&&(o=a[i],"children"===i?"string"==typeof o?r.textContent!==o&&(e=["children",o]):"number"==typeof o&&r.textContent!==""+o&&(e=["children",""+o]):me.hasOwnProperty(i)&&null!=o&&"onScroll"===i&&_o("scroll",r));switch(n){case"input":rt(r),ct(r,a,!0);break;case"textarea":rt(r),vt(r);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(r.onclick=Ko)}r=e,t.updateQueue=r,null!==r&&(t.flags|=4)}else{switch(i=9===o.nodeType?o:o.ownerDocument,e===yt&&(e=xt(n)),e===yt?"script"===n?((e=i.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),"select"===n&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[aa]=t,e[ia]=r,es(e,t),t.stateNode=e,i=At(n,r),n){case"dialog":_o("cancel",e),_o("close",e),o=r;break;case"iframe":case"object":case"embed":_o("load",e),o=r;break;case"video":case"audio":for(o=0;o<Io.length;o++)_o(Io[o],e);o=r;break;case"source":_o("error",e),o=r;break;case"img":case"image":case"link":_o("error",e),_o("load",e),o=r;break;case"details":_o("toggle",e),o=r;break;case"input":lt(e,r),o=it(e,r),_o("invalid",e);break;case"option":o=pt(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=de({},r,{value:void 0}),_o("invalid",e);break;case"textarea":mt(e,r),o=ht(e,r),_o("invalid",e);break;default:o=r}Mt(n,o);var l=o;for(a in l)if(l.hasOwnProperty(a)){var s=l[a];"style"===a?Rt(e,s):"dangerouslySetInnerHTML"===a?null!=(s=s?s.__html:void 0)&&St(e,s):"children"===a?"string"==typeof s?("textarea"!==n||""!==s)&&Et(e,s):"number"==typeof s&&Et(e,""+s):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(me.hasOwnProperty(a)?null!=s&&"onScroll"===a&&_o("scroll",e):null!=s&&Pe(e,a,s,i))}switch(n){case"input":rt(e),ct(e,r,!1);break;case"textarea":rt(e),vt(e);break;case"option":null!=r.value&&e.setAttribute("value",""+tt(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?ft(e,!!r.multiple,a,!1):null!=r.defaultValue&&ft(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Ko)}Yo(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)ns(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(fe(166));n=zi(Fi.current),zi($i.current),Ji(t)?(r=t.stateNode,n=t.memoizedProps,r[aa]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[aa]=t,t.stateNode=r)}return null;case 13:return va(Vi),r=t.memoizedState,0!=(64&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&Ji(t):n=null!==e.memoizedState,r&&!n&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Vi.current)?0===Vs&&(Vs=3):(0!==Vs&&3!==Vs||(Vs=4),null===zs||0==(134217727&Ks)&&0==(134217727&Gs)||Eu(zs,Bs))),(r||n)&&(t.flags|=4),null);case 4:return Bi(),null===e&&zo(t.stateNode.containerInfo),null;case 10:return ci(t),null;case 19:if(va(Vi),null===(r=t.memoizedState))return null;if(a=0!=(64&t.flags),null===(i=r.rendering))if(a)ps(r,!1);else{if(0!==Vs||null!==e&&0!=(64&e.flags))for(e=t.child;null!==e;){if(null!==(i=qi(e))){for(t.flags|=64,ps(r,!1),null!==(a=i.updateQueue)&&(t.updateQueue=a,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=2,a.nextEffect=null,a.firstEffect=null,a.lastEffect=null,null===(i=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=i.childLanes,a.lanes=i.lanes,a.child=i.child,a.memoizedProps=i.memoizedProps,a.memoizedState=i.memoizedState,a.updateQueue=i.updateQueue,a.type=i.type,e=i.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ya(Vi,1&Vi.current|2),t.child}e=e.sibling}null!==r.tail&&Ya()>Zs&&(t.flags|=64,a=!0,ps(r,!1),t.lanes=33554432)}else{if(!a)if(null!==(e=qi(i))){if(t.flags|=64,a=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),ps(r,!0),null===r.tail&&"hidden"===r.tailMode&&!i.alternate&&!Gi)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Ya()-r.renderingStartTime>Zs&&1073741824!==n&&(t.flags|=64,a=!0,ps(r,!1),t.lanes=33554432);r.isBackwards?(i.sibling=t.child,t.child=i):(null!==(n=r.last)?n.sibling=i:t.child=i,r.last=i)}return null!==r.tail?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Ya(),n.sibling=null,t=Vi.current,ya(Vi,a?1&t|2:1&t),n):null;case 23:case 24:return Tu(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(fe(156,t.tag))}function hs(e){switch(e.tag){case 1:Ea(e.type)&&Ca();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Bi(),va(wa),va(xa),nl(),0!=(64&(t=e.flags)))throw Error(fe(285));return e.flags=-4097&t|64,e;case 5:return Ui(e),null;case 13:return va(Vi),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return va(Vi),null;case 4:return Bi(),null;case 10:return ci(e),null;case 23:case 24:return Tu(),null;default:return null}}function ms(e,t){try{var n="",r=t;do{n+=Je(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}}function gs(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}es=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}},ts=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,zi($i.current);var a,i=null;switch(n){case"input":o=it(e,o),r=it(e,r),i=[];break;case"option":o=pt(e,o),r=pt(e,r),i=[];break;case"select":o=de({},o,{value:void 0}),r=de({},r,{value:void 0}),i=[];break;case"textarea":o=ht(e,o),r=ht(e,r),i=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Ko)}for(u in Mt(n,r),n=null,o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&null!=o[u])if("style"===u){var l=o[u];for(a in l)l.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(me.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var s=r[u];if(l=null!=o?o[u]:void 0,r.hasOwnProperty(u)&&s!==l&&(null!=s||null!=l))if("style"===u)if(l){for(a in l)!l.hasOwnProperty(a)||s&&s.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in s)s.hasOwnProperty(a)&&l[a]!==s[a]&&(n||(n={}),n[a]=s[a])}else n||(i||(i=[]),i.push(u,n)),n=s;else"dangerouslySetInnerHTML"===u?(s=s?s.__html:void 0,l=l?l.__html:void 0,null!=s&&l!==s&&(i=i||[]).push(u,s)):"children"===u?"string"!=typeof s&&"number"!=typeof s||(i=i||[]).push(u,""+s):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(me.hasOwnProperty(u)?(null!=s&&"onScroll"===u&&_o("scroll",e),i||l===s||(i=[])):"object"==typeof s&&null!==s&&s.$$typeof===We?s.toString():(i=i||[]).push(u,s))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}},ns=function(e,t,n,r){n!==r&&(t.flags|=4)};var vs="function"==typeof WeakMap?WeakMap:Map;function ys(e,t,n){(n=vi(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){nu||(nu=!0,ru=r),gs(0,t)},n}function bs(e,t,n){(n=vi(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return gs(0,t),r(o)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===ou?ou=new Set([this]):ou.add(this),gs(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var xs="function"==typeof WeakSet?WeakSet:Set;function ws(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Hu(e,t)}else t.current=null}function ks(e,t){switch(t.tag){case 0:case 11:case 15:case 22:case 5:case 6:case 4:case 17:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:oi(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&ea(t.stateNode.containerInfo))}throw Error(fe(163))}function Ss(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3==(3&e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var o=e;r=o.next,0!=(4&(o=o.tag))&&0!=(1&o)&&(Uu(n,e),Wu(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:oi(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&wi(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:case 1:e=n.child.stateNode}wi(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&Yo(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:case 23:case 24:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&Tn(n)))))}throw Error(fe(163))}function Es(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)"function"==typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var o=n.memoizedProps.style;o=null!=o&&o.hasOwnProperty("display")?o.display:null,r.style.display=Pt("display",o)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function Cs(e,t){if(Aa&&"function"==typeof Aa.onCommitFiberUnmount)try{Aa.onCommitFiberUnmount(Ma,t)}catch(e){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,o=r.destroy;if(r=r.tag,void 0!==o)if(0!=(4&r))Uu(t,n);else{r=t;try{o()}catch(e){Hu(r,e)}}n=n.next}while(n!==e)}break;case 1:if(ws(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){Hu(t,e)}break;case 5:ws(t);break;case 4:As(e,t)}}function Os(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function Ps(e){return 5===e.tag||3===e.tag||4===e.tag}function Rs(e){e:{for(var t=e.return;null!==t;){if(Ps(t))break e;t=t.return}throw Error(fe(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(fe(161))}16&n.flags&&(Et(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||Ps(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?Ts(e,n,t):Ms(e,n,t)}function Ts(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,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=Ko));else if(4!==r&&null!==(e=e.child))for(Ts(e,t,n),e=e.sibling;null!==e;)Ts(e,t,n),e=e.sibling}function Ms(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(Ms(e,t,n),e=e.sibling;null!==e;)Ms(e,t,n),e=e.sibling}function As(e,t){for(var n,r,o=t,a=!1;;){if(!a){a=o.return;e:for(;;){if(null===a)throw Error(fe(160));switch(n=a.stateNode,a.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}a=a.return}a=!0}if(5===o.tag||6===o.tag){e:for(var i=e,l=o,s=l;;)if(Cs(i,s),null!==s.child&&4!==s.tag)s.child.return=s,s=s.child;else{if(s===l)break e;for(;null===s.sibling;){if(null===s.return||s.return===l)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}r?(i=n,l=o.stateNode,8===i.nodeType?i.parentNode.removeChild(l):i.removeChild(l)):n.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){n=o.stateNode.containerInfo,r=!0,o.child.return=o,o=o.child;continue}}else if(Cs(e,o),null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;4===(o=o.return).tag&&(a=!1)}o.sibling.return=o.return,o=o.sibling}}function Ls(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{3==(3&r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==n)}return;case 1:case 12:case 17:return;case 5:if(null!=(n=t.stateNode)){r=t.memoizedProps;var o=null!==e?e.memoizedProps:r;e=t.type;var a=t.updateQueue;if(t.updateQueue=null,null!==a){for(n[ia]=r,"input"===e&&"radio"===r.type&&null!=r.name&&st(n,r),At(e,o),t=At(e,r),o=0;o<a.length;o+=2){var i=a[o],l=a[o+1];"style"===i?Rt(n,l):"dangerouslySetInnerHTML"===i?St(n,l):"children"===i?Et(n,l):Pe(n,i,l,t)}switch(e){case"input":ut(n,r);break;case"textarea":gt(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(a=r.value)?ft(n,!!r.multiple,a,!1):e!==!!r.multiple&&(null!=r.defaultValue?ft(n,!!r.multiple,r.defaultValue,!0):ft(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(fe(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,Tn(n.containerInfo)));case 13:return null!==t.memoizedState&&(Xs=Ya(),Es(t.child,!0)),void Is(t);case 19:return void Is(t);case 23:case 24:return void Es(t,null!==t.memoizedState)}throw Error(fe(163))}function Is(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new xs),t.forEach((function(t){var r=Gu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function js(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&(null!==(t=t.memoizedState)&&null===t.dehydrated)}var Ns=Math.ceil,$s=Re.ReactCurrentDispatcher,_s=Re.ReactCurrentOwner,Fs=0,zs=null,Ds=null,Bs=0,Ws=0,Us=ga(0),Vs=0,qs=null,Hs=0,Ks=0,Gs=0,Qs=0,Ys=null,Xs=0,Zs=1/0;function Js(){Zs=Ya()+500}var eu,tu=null,nu=!1,ru=null,ou=null,au=!1,iu=null,lu=90,su=[],uu=[],cu=null,du=0,pu=null,fu=-1,hu=0,mu=0,gu=null,vu=!1;function yu(){return 0!=(48&Fs)?Ya():-1!==fu?fu:fu=Ya()}function bu(e){if(0==(2&(e=e.mode)))return 1;if(0==(4&e))return 99===Xa()?1:2;if(0===hu&&(hu=Hs),0!==ri.transition){0!==mu&&(mu=null!==Ys?Ys.pendingLanes:0),e=hu;var t=4186112&~mu;return 0===(t&=-t)&&(0===(t=(e=4186112&~e)&-e)&&(t=8192)),t}return e=Xa(),0!=(4&Fs)&&98===e?e=Kn(12,hu):e=Kn(e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),hu),e}function xu(e,t,n){if(50<du)throw du=0,pu=null,Error(fe(185));if(null===(e=wu(e,t)))return null;Yn(e,t,n),e===zs&&(Gs|=t,4===Vs&&Eu(e,Bs));var r=Xa();1===t?0!=(8&Fs)&&0==(48&Fs)?Cu(e):(ku(e,n),0===Fs&&(Js(),ti())):(0==(4&Fs)||98!==r&&99!==r||(null===cu?cu=new Set([e]):cu.add(e)),ku(e,n)),Ys=e}function wu(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}function ku(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,o=e.pingedLanes,a=e.expirationTimes,i=e.pendingLanes;0<i;){var l=31-Xn(i),s=1<<l,u=a[l];if(-1===u){if(0==(s&r)||0!=(s&o)){u=t,Vn(s);var c=Un;a[l]=10<=c?u+250:6<=c?u+5e3:-1}}else u<=t&&(e.expiredLanes|=s);i&=~s}if(r=qn(e,e===zs?Bs:0),t=Un,0===r)null!==n&&(n!==Va&&ja(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==Va&&ja(n)}15===t?(n=Cu.bind(null,e),null===Ha?(Ha=[n],Ka=Ia(za,ni)):Ha.push(n),n=Va):14===t?n=ei(99,Cu.bind(null,e)):(n=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(fe(358,e))}}(t),n=ei(n,Su.bind(null,e))),e.callbackPriority=t,e.callbackNode=n}}function Su(e){if(fu=-1,mu=hu=0,0!=(48&Fs))throw Error(fe(327));var t=e.callbackNode;if(Bu()&&e.callbackNode!==t)return null;var n=qn(e,e===zs?Bs:0);if(0===n)return null;var r=n,o=Fs;Fs|=16;var a=Lu();for(zs===e&&Bs===r||(Js(),Mu(e,r));;)try{Nu();break}catch(t){Au(e,t)}if(ui(),$s.current=a,Fs=o,null!==Ds?r=0:(zs=null,Bs=0,r=Vs),0!=(Hs&Gs))Mu(e,0);else if(0!==r){if(2===r&&(Fs|=64,e.hydrate&&(e.hydrate=!1,ea(e.containerInfo)),0!==(n=Hn(e))&&(r=Iu(e,n))),1===r)throw t=qs,Mu(e,0),Eu(e,n),ku(e,Ya()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(fe(345));case 2:case 5:Fu(e);break;case 3:if(Eu(e,n),(62914560&n)===n&&10<(r=Xs+500-Ya())){if(0!==qn(e,0))break;if(((o=e.suspendedLanes)&n)!==n){yu(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Zo(Fu.bind(null,e),r);break}Fu(e);break;case 4:if(Eu(e,n),(4186112&n)===n)break;for(r=e.eventTimes,o=-1;0<n;){var i=31-Xn(n);a=1<<i,(i=r[i])>o&&(o=i),n&=~a}if(n=o,10<(n=(120>(n=Ya()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Ns(n/1960))-n)){e.timeoutHandle=Zo(Fu.bind(null,e),n);break}Fu(e);break;default:throw Error(fe(329))}}return ku(e,Ya()),e.callbackNode===t?Su.bind(null,e):null}function Eu(e,t){for(t&=~Qs,t&=~Gs,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Xn(t),r=1<<n;e[n]=-1,t&=~r}}function Cu(e){if(0!=(48&Fs))throw Error(fe(327));if(Bu(),e===zs&&0!=(e.expiredLanes&Bs)){var t=Bs,n=Iu(e,t);0!=(Hs&Gs)&&(n=Iu(e,t=qn(e,t)))}else n=Iu(e,t=qn(e,0));if(0!==e.tag&&2===n&&(Fs|=64,e.hydrate&&(e.hydrate=!1,ea(e.containerInfo)),0!==(t=Hn(e))&&(n=Iu(e,t))),1===n)throw n=qs,Mu(e,0),Eu(e,t),ku(e,Ya()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,Fu(e),ku(e,Ya()),null}function Ou(e,t){var n=Fs;Fs|=1;try{return e(t)}finally{0===(Fs=n)&&(Js(),ti())}}function Pu(e,t){var n=Fs;Fs&=-2,Fs|=8;try{return e(t)}finally{0===(Fs=n)&&(Js(),ti())}}function Ru(e,t){ya(Us,Ws),Ws|=t,Hs|=t}function Tu(){Ws=Us.current,va(Us)}function Mu(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Jo(n)),null!==Ds)for(n=Ds.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&Ca();break;case 3:Bi(),va(wa),va(xa),nl();break;case 5:Ui(r);break;case 4:Bi();break;case 13:case 19:va(Vi);break;case 10:ci(r);break;case 23:case 24:Tu()}n=n.return}zs=e,Ds=Zu(e.current,null),Bs=Ws=Hs=t,Vs=0,qs=null,Qs=Gs=Ks=0}function Au(e,t){for(;;){var n=Ds;try{if(ui(),rl.current=Fl,ul){for(var r=il.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}ul=!1}if(al=0,sl=ll=il=null,cl=!1,_s.current=null,null===n||null===n.return){Vs=1,qs=t,Ds=null;break}e:{var a=e,i=n.return,l=n,s=t;if(t=Bs,l.flags|=2048,l.firstEffect=l.lastEffect=null,null!==s&&"object"==typeof s&&"function"==typeof s.then){var u=s;if(0==(2&l.mode)){var c=l.alternate;c?(l.updateQueue=c.updateQueue,l.memoizedState=c.memoizedState,l.lanes=c.lanes):(l.updateQueue=null,l.memoizedState=null)}var d=0!=(1&Vi.current),p=i;do{var f;if(f=13===p.tag){var h=p.memoizedState;if(null!==h)f=null!==h.dehydrated;else{var m=p.memoizedProps;f=void 0!==m.fallback&&(!0!==m.unstable_avoidThisFallback||!d)}}if(f){var g=p.updateQueue;if(null===g){var v=new Set;v.add(u),p.updateQueue=v}else g.add(u);if(0==(2&p.mode)){if(p.flags|=64,l.flags|=16384,l.flags&=-2981,1===l.tag)if(null===l.alternate)l.tag=17;else{var y=vi(-1,1);y.tag=2,yi(l,y)}l.lanes|=1;break e}s=void 0,l=t;var b=a.pingCache;if(null===b?(b=a.pingCache=new vs,s=new Set,b.set(u,s)):void 0===(s=b.get(u))&&(s=new Set,b.set(u,s)),!s.has(l)){s.add(l);var x=Ku.bind(null,a,u,l);u.then(x,x)}p.flags|=4096,p.lanes=t;break e}p=p.return}while(null!==p);s=Error((et(l.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Vs&&(Vs=2),s=ms(s,l),p=i;do{switch(p.tag){case 3:a=s,p.flags|=4096,t&=-t,p.lanes|=t,bi(p,ys(0,a,t));break e;case 1:a=s;var w=p.type,k=p.stateNode;if(0==(64&p.flags)&&("function"==typeof w.getDerivedStateFromError||null!==k&&"function"==typeof k.componentDidCatch&&(null===ou||!ou.has(k)))){p.flags|=4096,t&=-t,p.lanes|=t,bi(p,bs(p,a,t));break e}}p=p.return}while(null!==p)}_u(n)}catch(e){t=e,Ds===n&&null!==n&&(Ds=n=n.return);continue}break}}function Lu(){var e=$s.current;return $s.current=Fl,null===e?Fl:e}function Iu(e,t){var n=Fs;Fs|=16;var r=Lu();for(zs===e&&Bs===t||Mu(e,t);;)try{ju();break}catch(t){Au(e,t)}if(ui(),Fs=n,$s.current=r,null!==Ds)throw Error(fe(261));return zs=null,Bs=0,Vs}function ju(){for(;null!==Ds;)$u(Ds)}function Nu(){for(;null!==Ds&&!Na();)$u(Ds)}function $u(e){var t=eu(e.alternate,e,Ws);e.memoizedProps=e.pendingProps,null===t?_u(e):Ds=t,_s.current=null}function _u(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(2048&t.flags)){if(null!==(n=fs(n,t,Ws)))return void(Ds=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!=(1073741824&Ws)||0==(4&n.mode)){for(var r=0,o=n.child;null!==o;)r|=o.lanes|o.childLanes,o=o.sibling;n.childLanes=r}null!==e&&0==(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(null!==(n=hs(t)))return n.flags&=2047,void(Ds=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(Ds=t);Ds=t=e}while(null!==t);0===Vs&&(Vs=5)}function Fu(e){var t=Xa();return Ja(99,zu.bind(null,e,t)),null}function zu(e,t){do{Bu()}while(null!==iu);if(0!=(48&Fs))throw Error(fe(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(fe(177));e.callbackNode=null;var r=n.lanes|n.childLanes,o=r,a=e.pendingLanes&~o;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=o,e.mutableReadLanes&=o,e.entangledLanes&=o,o=e.entanglements;for(var i=e.eventTimes,l=e.expirationTimes;0<a;){var s=31-Xn(a),u=1<<s;o[s]=0,i[s]=-1,l[s]=-1,a&=~u}if(null!==cu&&0==(24&r)&&cu.has(e)&&cu.delete(e),e===zs&&(Ds=zs=null,Bs=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(o=Fs,Fs|=32,_s.current=null,Go=nr,Eo(i=So())){if("selectionStart"in i)l={start:i.selectionStart,end:i.selectionEnd};else e:if(l=(l=i.ownerDocument)&&l.defaultView||window,(u=l.getSelection&&l.getSelection())&&0!==u.rangeCount){l=u.anchorNode,a=u.anchorOffset,s=u.focusNode,u=u.focusOffset;try{l.nodeType,s.nodeType}catch(e){l=null;break e}var c=0,d=-1,p=-1,f=0,h=0,m=i,g=null;t:for(;;){for(var v;m!==l||0!==a&&3!==m.nodeType||(d=c+a),m!==s||0!==u&&3!==m.nodeType||(p=c+u),3===m.nodeType&&(c+=m.nodeValue.length),null!==(v=m.firstChild);)g=m,m=v;for(;;){if(m===i)break t;if(g===l&&++f===a&&(d=c),g===s&&++h===u&&(p=c),null!==(v=m.nextSibling))break;g=(m=g).parentNode}m=v}l=-1===d||-1===p?null:{start:d,end:p}}else l=null;l=l||{start:0,end:0}}else l=null;Qo={focusedElem:i,selectionRange:l},nr=!1,gu=null,vu=!1,tu=r;do{try{Du()}catch(e){if(null===tu)throw Error(fe(330));Hu(tu,e),tu=tu.nextEffect}}while(null!==tu);gu=null,tu=r;do{try{for(i=e;null!==tu;){var y=tu.flags;if(16&y&&Et(tu.stateNode,""),128&y){var b=tu.alternate;if(null!==b){var x=b.ref;null!==x&&("function"==typeof x?x(null):x.current=null)}}switch(1038&y){case 2:Rs(tu),tu.flags&=-3;break;case 6:Rs(tu),tu.flags&=-3,Ls(tu.alternate,tu);break;case 1024:tu.flags&=-1025;break;case 1028:tu.flags&=-1025,Ls(tu.alternate,tu);break;case 4:Ls(tu.alternate,tu);break;case 8:As(i,l=tu);var w=l.alternate;Os(l),null!==w&&Os(w)}tu=tu.nextEffect}}catch(e){if(null===tu)throw Error(fe(330));Hu(tu,e),tu=tu.nextEffect}}while(null!==tu);if(x=Qo,b=So(),y=x.focusedElem,i=x.selectionRange,b!==y&&y&&y.ownerDocument&&ko(y.ownerDocument.documentElement,y)){null!==i&&Eo(y)&&(b=i.start,void 0===(x=i.end)&&(x=b),"selectionStart"in y?(y.selectionStart=b,y.selectionEnd=Math.min(x,y.value.length)):(x=(b=y.ownerDocument||document)&&b.defaultView||window).getSelection&&(x=x.getSelection(),l=y.textContent.length,w=Math.min(i.start,l),i=void 0===i.end?w:Math.min(i.end,l),!x.extend&&w>i&&(l=i,i=w,w=l),l=wo(y,w),a=wo(y,i),l&&a&&(1!==x.rangeCount||x.anchorNode!==l.node||x.anchorOffset!==l.offset||x.focusNode!==a.node||x.focusOffset!==a.offset)&&((b=b.createRange()).setStart(l.node,l.offset),x.removeAllRanges(),w>i?(x.addRange(b),x.extend(a.node,a.offset)):(b.setEnd(a.node,a.offset),x.addRange(b))))),b=[];for(x=y;x=x.parentNode;)1===x.nodeType&&b.push({element:x,left:x.scrollLeft,top:x.scrollTop});for("function"==typeof y.focus&&y.focus(),y=0;y<b.length;y++)(x=b[y]).element.scrollLeft=x.left,x.element.scrollTop=x.top}nr=!!Go,Qo=Go=null,e.current=n,tu=r;do{try{for(y=e;null!==tu;){var k=tu.flags;if(36&k&&Ss(y,tu.alternate,tu),128&k){b=void 0;var S=tu.ref;if(null!==S){var E=tu.stateNode;tu.tag,b=E,"function"==typeof S?S(b):S.current=b}}tu=tu.nextEffect}}catch(e){if(null===tu)throw Error(fe(330));Hu(tu,e),tu=tu.nextEffect}}while(null!==tu);tu=null,qa(),Fs=o}else e.current=n;if(au)au=!1,iu=e,lu=t;else for(tu=r;null!==tu;)t=tu.nextEffect,tu.nextEffect=null,8&tu.flags&&((k=tu).sibling=null,k.stateNode=null),tu=t;if(0===(r=e.pendingLanes)&&(ou=null),1===r?e===pu?du++:(du=0,pu=e):du=0,n=n.stateNode,Aa&&"function"==typeof Aa.onCommitFiberRoot)try{Aa.onCommitFiberRoot(Ma,n,void 0,64==(64&n.current.flags))}catch(e){}if(ku(e,Ya()),nu)throw nu=!1,e=ru,ru=null,e;return 0!=(8&Fs)||ti(),null}function Du(){for(;null!==tu;){var e=tu.alternate;vu||null===gu||(0!=(8&tu.flags)?ln(tu,gu)&&(vu=!0):13===tu.tag&&js(e,tu)&&ln(tu,gu)&&(vu=!0));var t=tu.flags;0!=(256&t)&&ks(e,tu),0==(512&t)||au||(au=!0,ei(97,(function(){return Bu(),null}))),tu=tu.nextEffect}}function Bu(){if(90!==lu){var e=97<lu?97:lu;return lu=90,Ja(e,Vu)}return!1}function Wu(e,t){su.push(t,e),au||(au=!0,ei(97,(function(){return Bu(),null})))}function Uu(e,t){uu.push(t,e),au||(au=!0,ei(97,(function(){return Bu(),null})))}function Vu(){if(null===iu)return!1;var e=iu;if(iu=null,0!=(48&Fs))throw Error(fe(331));var t=Fs;Fs|=32;var n=uu;uu=[];for(var r=0;r<n.length;r+=2){var o=n[r],a=n[r+1],i=o.destroy;if(o.destroy=void 0,"function"==typeof i)try{i()}catch(e){if(null===a)throw Error(fe(330));Hu(a,e)}}for(n=su,su=[],r=0;r<n.length;r+=2){o=n[r],a=n[r+1];try{var l=o.create;o.destroy=l()}catch(e){if(null===a)throw Error(fe(330));Hu(a,e)}}for(l=e.current.firstEffect;null!==l;)e=l.nextEffect,l.nextEffect=null,8&l.flags&&(l.sibling=null,l.stateNode=null),l=e;return Fs=t,ti(),!0}function qu(e,t,n){yi(e,t=ys(0,t=ms(n,t),1)),t=yu(),null!==(e=wu(e,1))&&(Yn(e,1,t),ku(e,t))}function Hu(e,t){if(3===e.tag)qu(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){qu(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===ou||!ou.has(r))){var o=bs(n,e=ms(t,e),1);if(yi(n,o),o=yu(),null!==(n=wu(n,1)))Yn(n,1,o),ku(n,o);else if("function"==typeof r.componentDidCatch&&(null===ou||!ou.has(r)))try{r.componentDidCatch(t,e)}catch(e){}break}}n=n.return}}function Ku(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=yu(),e.pingedLanes|=e.suspendedLanes&n,zs===e&&(Bs&n)===n&&(4===Vs||3===Vs&&(62914560&Bs)===Bs&&500>Ya()-Xs?Mu(e,0):Qs|=n),ku(e,t)}function Gu(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(0==(2&(t=e.mode))?t=1:0==(4&t)?t=99===Xa()?1:2:(0===hu&&(hu=Hs),0===(t=Gn(62914560&~hu))&&(t=4194304))),n=yu(),null!==(e=wu(e,t))&&(Yn(e,t,n),ku(e,n))}function Qu(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.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Yu(e,t,n,r){return new Qu(e,t,n,r)}function Xu(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Zu(e,t){var n=e.alternate;return null===n?((n=Yu(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.nextEffect=null,n.firstEffect=null,n.lastEffect=null),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,n,r,o,a){var i=2;if(r=e,"function"==typeof e)Xu(e)&&(i=1);else if("string"==typeof e)i=5;else e:switch(e){case Ae:return ec(n.children,o,a,t);case Ue:i=8,o|=16;break;case Le:i=8,o|=1;break;case Ie:return(e=Yu(12,n,t,8|o)).elementType=Ie,e.type=Ie,e.lanes=a,e;case _e:return(e=Yu(13,n,t,o)).type=_e,e.elementType=_e,e.lanes=a,e;case Fe:return(e=Yu(19,n,t,o)).elementType=Fe,e.lanes=a,e;case Ve:return tc(n,o,a,t);case qe:return(e=Yu(24,n,t,o)).elementType=qe,e.lanes=a,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case je:i=10;break e;case Ne:i=9;break e;case $e:i=11;break e;case ze:i=14;break e;case De:i=16,r=null;break e;case Be:i=22;break e}throw Error(fe(130,null==e?e:typeof e,""))}return(t=Yu(i,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function ec(e,t,n,r){return(e=Yu(7,e,r,t)).lanes=n,e}function tc(e,t,n,r){return(e=Yu(23,e,r,t)).elementType=Ve,e.lanes=n,e}function nc(e,t,n){return(e=Yu(6,e,null,t)).lanes=n,e}function rc(e,t,n){return(t=Yu(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function oc(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Qn(0),this.expirationTimes=Qn(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Qn(0),this.mutableSourceEagerHydrationData=null}function ac(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Me,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function ic(e,t,n,r){var o=t.current,a=yu(),i=bu(o);e:if(n){t:{if(nn(n=n._reactInternals)!==n||1!==n.tag)throw Error(fe(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(Ea(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(fe(171))}if(1===n.tag){var s=n.type;if(Ea(s)){n=Pa(n,s,l);break e}}n=l}else n=ba;return null===t.context?t.context=n:t.pendingContext=n,(t=vi(a,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),yi(o,t),xu(o,i,a),i}function lc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function sc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function uc(e,t){sc(e,t),(e=e.alternate)&&sc(e,t)}function cc(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new oc(e,t,null!=n&&!0===n.hydrate),t=Yu(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,mi(t),e[la]=n.current,zo(8===e.nodeType?e.parentNode:e),r)for(e=0;e<r.length;e++){var o=(t=r[e])._getVersion;o=o(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,o]:n.mutableSourceEagerHydrationData.push(t,o)}this._internalRoot=n}function dc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function pc(e,t,n,r,o){var a=n._reactRootContainer;if(a){var i=a._internalRoot;if("function"==typeof o){var l=o;o=function(){var e=lc(i);l.call(e)}}ic(t,i,e,o)}else{if(a=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new cc(e,0,t?{hydrate:!0}:void 0)}(n,r),i=a._internalRoot,"function"==typeof o){var s=o;o=function(){var e=lc(i);s.call(e)}}Pu((function(){ic(t,i,e,o)}))}return lc(i)}function fc(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!dc(t))throw Error(fe(200));return ac(e,t,null,n)}eu=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||wa.current)Ul=!0;else{if(0==(n&r)){switch(Ul=!1,t.tag){case 3:Jl(t),el();break;case 5:Wi(t);break;case 1:Ea(t.type)&&Ra(t);break;case 4:Di(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var o=t.type._context;ya(ai,o._currentValue),o._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!=(n&t.child.childLanes)?os(e,t,n):(ya(Vi,1&Vi.current),null!==(t=ds(e,t,n))?t.sibling:null);ya(Vi,1&Vi.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(64&e.flags)){if(r)return cs(e,t,n);t.flags|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),ya(Vi,Vi.current),r)break;return null;case 23:case 24:return t.lanes=0,Gl(e,t,n)}return ds(e,t,n)}Ul=0!=(16384&e.flags)}else Ul=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=Sa(t,xa.current),pi(t,n),o=fl(null,t,r,e,o,n),t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ea(r)){var a=!0;Ra(t)}else a=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,mi(t);var i=r.getDerivedStateFromProps;"function"==typeof i&&Si(t,r,i,e),o.updater=Ei,t.stateNode=o,o._reactInternals=t,Ri(t,r,e,n),t=Zl(null,t,r,!0,a,n)}else t.tag=0,Vl(null,t,o,n),t=t.child;return t;case 16:o=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=(a=o._init)(o._payload),t.type=o,a=t.tag=function(e){if("function"==typeof e)return Xu(e)?1:0;if(null!=e){if((e=e.$$typeof)===$e)return 11;if(e===ze)return 14}return 2}(o),e=oi(o,e),a){case 0:t=Yl(null,t,o,e,n);break e;case 1:t=Xl(null,t,o,e,n);break e;case 11:t=ql(null,t,o,e,n);break e;case 14:t=Hl(null,t,o,oi(o.type,e),r,n);break e}throw Error(fe(306,o,""))}return t;case 0:return r=t.type,o=t.pendingProps,Yl(e,t,r,o=t.elementType===r?o:oi(r,o),n);case 1:return r=t.type,o=t.pendingProps,Xl(e,t,r,o=t.elementType===r?o:oi(r,o),n);case 3:if(Jl(t),r=t.updateQueue,null===e||null===r)throw Error(fe(282));if(r=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,gi(e,t),xi(t,r,null,n),(r=t.memoizedState.element)===o)el(),t=ds(e,t,n);else{if((a=(o=t.stateNode).hydrate)&&(Ki=ta(t.stateNode.containerInfo.firstChild),Hi=t,a=Gi=!0),a){if(null!=(e=o.mutableSourceEagerHydrationData))for(o=0;o<e.length;o+=2)(a=e[o])._workInProgressVersionPrimary=e[o+1],tl.push(a);for(n=ji(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else Vl(e,t,r,n),el();t=t.child}return t;case 5:return Wi(t),null===e&&Xi(t),r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,i=o.children,Xo(r,o)?i=null:null!==a&&Xo(r,a)&&(t.flags|=16),Ql(e,t),Vl(e,t,i,n),t.child;case 6:return null===e&&Xi(t),null;case 13:return os(e,t,n);case 4:return Di(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Ii(t,null,r,n):Vl(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,ql(e,t,r,o=t.elementType===r?o:oi(r,o),n);case 7:return Vl(e,t,t.pendingProps,n),t.child;case 8:case 12:return Vl(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=o.value;var l=t.type._context;if(ya(ai,l._currentValue),l._currentValue=a,null!==i)if(l=i.value,0===(a=vo(l,a)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(l,a):1073741823))){if(i.children===o.children&&!wa.current){t=ds(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var s=l.dependencies;if(null!==s){i=l.child;for(var u=s.firstContext;null!==u;){if(u.context===r&&0!=(u.observedBits&a)){1===l.tag&&((u=vi(-1,n&-n)).tag=2,yi(l,u)),l.lanes|=n,null!==(u=l.alternate)&&(u.lanes|=n),di(l.return,n),s.lanes|=n;break}u=u.next}}else i=10===l.tag&&l.type===t.type?null:l.child;if(null!==i)i.return=l;else for(i=l;null!==i;){if(i===t){i=null;break}if(null!==(l=i.sibling)){l.return=i.return,i=l;break}i=i.return}l=i}Vl(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(a=t.pendingProps).children,pi(t,n),r=r(o=fi(o,a.unstable_observedBits)),t.flags|=1,Vl(e,t,r,n),t.child;case 14:return a=oi(o=t.type,t.pendingProps),Hl(e,t,o,a=oi(o.type,a),r,n);case 15:return Kl(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:oi(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,Ea(r)?(e=!0,Ra(t)):e=!1,pi(t,n),Oi(t,r,o),Ri(t,r,o,n),Zl(null,t,r,!0,e,n);case 19:return cs(e,t,n);case 23:case 24:return Gl(e,t,n)}throw Error(fe(156,t.tag))},cc.prototype.render=function(e){ic(e,this._internalRoot,null,null)},cc.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;ic(null,e,null,(function(){t[la]=null}))},sn=function(e){13===e.tag&&(xu(e,4,yu()),uc(e,4))},un=function(e){13===e.tag&&(xu(e,67108864,yu()),uc(e,67108864))},cn=function(e){if(13===e.tag){var t=yu(),n=bu(e);xu(e,n,t),uc(e,n)}},dn=function(e,t){return t()},It=function(e,t,n){switch(t){case"input":if(ut(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=pa(r);if(!o)throw Error(fe(90));ot(r),ut(r,o)}}}break;case"textarea":gt(e,n);break;case"select":null!=(t=n.value)&&ft(e,!!n.multiple,t,!1)}},zt=Ou,Dt=function(e,t,n,r,o){var a=Fs;Fs|=4;try{return Ja(98,e.bind(null,t,n,r,o))}finally{0===(Fs=a)&&(Js(),ti())}},Bt=function(){0==(49&Fs)&&(function(){if(null!==cu){var e=cu;cu=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,ku(e,Ya())}))}ti()}(),Bu())},Wt=function(e,t){var n=Fs;Fs|=2;try{return e(t)}finally{0===(Fs=n)&&(Js(),ti())}};var hc={Events:[ca,da,pa,_t,Ft,Bu,{current:!1}]},mc={findFiberByHostInstance:ua,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},gc={bundleType:mc.bundleType,version:mc.version,rendererPackageName:mc.rendererPackageName,rendererConfig:mc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Re.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=an(e))?null:e.stateNode},findFiberByHostInstance:mc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var vc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!vc.isDisabled&&vc.supportsFiber)try{Ma=vc.inject(gc),Aa=vc}catch(EL){}}ne.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=hc,ne.createPortal=fc,ne.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(fe(188));throw Error(fe(268,Object.keys(e)))}return e=null===(e=an(t))?null:e.stateNode},ne.flushSync=function(e,t){var n=Fs;if(0!=(48&n))return e(t);Fs|=1;try{if(e)return Ja(99,e.bind(null,t))}finally{Fs=n,ti()}},ne.hydrate=function(e,t,n){if(!dc(t))throw Error(fe(200));return pc(null,e,t,!0,n)},ne.render=function(e,t,n){if(!dc(t))throw Error(fe(200));return pc(null,e,t,!1,n)},ne.unmountComponentAtNode=function(e){if(!dc(e))throw Error(fe(40));return!!e._reactRootContainer&&(Pu((function(){pc(null,null,e,!1,(function(){e._reactRootContainer=null,e[la]=null}))})),!0)},ne.unstable_batchedUpdates=Ou,ne.unstable_createPortal=function(e,t){return fc(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},ne.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!dc(n))throw Error(fe(200));if(null==e||void 0===e._reactInternals)throw Error(fe(38));return pc(e,t,n,!1,r)},ne.version="17.0.2",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=ne}(te);var yc=h(te.exports),bc="__tolgee_dev_tools",xc=2147483e3,wc="__tolgee_preferredLanguages",kc="data-tolgee-key-only",Sc="data-tolgee-restricted",Ec="_tolgee",Cc=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._popup=null,t}return a(t,e),Object.defineProperty(t.prototype,"document",{get:function(){return this.props.document||document},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"devTools",{get:function(){var e;return(null===(e=this.document.getElementById(bc))||void 0===e?void 0:e.shadowRoot)||this.document.body},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this._popup=this.document.createElement("div"),this.devTools.appendChild(this._popup),this._render()},t.prototype.componentDidUpdate=function(){this._render()},t.prototype.componentWillUnmount=function(){this._popup&&(te.exports.unmountComponentAtNode(this._popup),this.devTools.removeChild(this._popup))},t.prototype._render=function(){te.exports.render(g.exports.createElement(g.exports.Fragment,null,this.props.children),this._popup)},t.prototype.render=function(){return null},t}(g.exports.PureComponent),Oc=function(e){return new Promise((function(t){return setTimeout(t,e)}))};const Pc=Symbol(),Rc=Symbol(),Tc="undefined"==typeof window||/ServerSideRendering/.test(window.navigator&&window.navigator.userAgent)?g.exports.useEffect:g.exports.useLayoutEffect,Mc=se.exports.unstable_runWithPriority?e=>se.exports.unstable_runWithPriority(se.exports.unstable_NormalPriority,e):e=>e();var Ac=function(e,t,n){var r;if(!(null==t?void 0:t.length))return!0;var o=null===(r=null==n?void 0:n.find((function(t){return t.tag===e})))||void 0===r?void 0:r.id;return void 0===o||t.includes(o)};function Lc(e,t){return Lc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Lc(e,t)}function Ic(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Lc(e,t)}var jc=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 Nc(){return Nc=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},Nc.apply(this,arguments)}var $c="undefined"==typeof window;function _c(){}function Fc(e){return"number"==typeof e&&e>=0&&e!==1/0}function zc(e){return Array.isArray(e)?e:[e]}function Dc(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Bc(e,t,n){return Zc(e)?"function"==typeof t?Nc({},n,{queryKey:e,queryFn:t}):Nc({},t,{queryKey:e}):e}function Wc(e,t,n){return Zc(e)?[Nc({},t,{queryKey:e}),n]:[e||{},t]}function Uc(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(Zc(l))if(r){if(t.queryHash!==qc(l,t.options))return!1}else if(!Kc(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 Vc(e,t){var n=e.exact,r=e.fetching,o=e.predicate,a=e.mutationKey;if(Zc(a)){if(!t.options.mutationKey)return!1;if(n){if(Hc(t.options.mutationKey)!==Hc(a))return!1}else if(!Kc(t.options.mutationKey,a))return!1}return("boolean"!=typeof r||"loading"===t.state.status===r)&&!(o&&!o(t))}function qc(e,t){return((null==t?void 0:t.queryKeyHashFn)||Hc)(e)}function Hc(e){var t,n=zc(e);return t=n,JSON.stringify(t,(function(e,t){return Yc(t)?Object.keys(t).sort().reduce((function(e,n){return e[n]=t[n],e}),{}):t}))}function Kc(e,t){return Gc(zc(e),zc(t))}function Gc(e,t){return e===t||typeof e==typeof t&&(!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&!Object.keys(t).some((function(n){return!Gc(e[n],t[n])})))}function Qc(e,t){if(e===t)return e;var n=Array.isArray(e)&&Array.isArray(t);if(n||Yc(e)&&Yc(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]=Qc(e[u],t[u]),i[u]===e[u]&&l++}return r===a&&l===r?e:i}return t}function Yc(e){if(!Xc(e))return!1;var t=e.constructor;if(void 0===t)return!0;var n=t.prototype;return!!Xc(n)&&!!n.hasOwnProperty("isPrototypeOf")}function Xc(e){return"[object Object]"===Object.prototype.toString.call(e)}function Zc(e){return"string"==typeof e||Array.isArray(e)}function Jc(e){Promise.resolve().then(e).catch((function(e){return setTimeout((function(){throw e}))}))}function ed(){if("function"==typeof AbortController)return new AbortController}var td=new(function(e){function t(){var t;return(t=e.call(this)||this).setup=function(e){var t;if(!$c&&(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}Ic(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}(jc)),nd=new(function(e){function t(){var t;return(t=e.call(this)||this).setup=function(e){var t;if(!$c&&(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}Ic(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}(jc));function rd(e){return Math.min(1e3*Math.pow(2,e),3e4)}function od(e){return"function"==typeof(null==e?void 0:e.cancel)}var ad=function(e){this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent};function id(e){return e instanceof ad}var ld=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 ad(e)),null==a.abort||a.abort(),od(o)))try{o.cancel()}catch(e){}},a.isTransportCancelable=od(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:rd,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(!td.isFocused()||!nd.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)}}))}}()},sd=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):Jc((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&&Jc((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}(),ud=new sd,cd=console;function dd(){return cd}var pd=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=Nc({},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(),Fc(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=Qc(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(_c).catch(_c):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||!Dc(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=zc(this.queryKey),u=ed(),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 ld({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){id(e)&&e.silent||a.dispatch({type:"error",error:e}),id(e)||(null==a.cache.config.onError||a.cache.config.onError(e,a),dd().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),ud.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 Nc({},e,{fetchFailureCount:e.fetchFailureCount+1});case"pause":return Nc({},e,{isPaused:!0});case"continue":return Nc({},e,{isPaused:!1});case"fetch":return Nc({},e,{fetchFailureCount:0,fetchMeta:null!=(n=t.meta)?n:null,isFetching:!0,isPaused:!1},!e.dataUpdatedAt&&{error:null,status:"loading"});case"success":return Nc({},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 id(o)&&o.revert&&this.revertState?Nc({},this.revertState):Nc({},e,{error:o,errorUpdateCount:e.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:e.fetchFailureCount+1,isFetching:!1,isPaused:!1,status:"error"});case"invalidate":return Nc({},e,{isInvalidated:!0});case"setState":return Nc({},e,t.state);default:return e}},e}(),fd=function(e){function t(t){var n;return(n=e.call(this)||this).config=t||{},n.queries=[],n.queriesMap={},n}Ic(t,e);var n=t.prototype;return n.build=function(e,t,n){var r,o=t.queryKey,a=null!=(r=t.queryHash)?r:qc(o,t),i=this.get(a);return i||(i=new pd({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;ud.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=Wc(e,t)[0];return void 0===n.exact&&(n.exact=!0),this.queries.find((function(e){return Uc(n,e)}))},n.findAll=function(e,t){var n=Wc(e,t)[0];return Object.keys(n).length>0?this.queries.filter((function(e){return Uc(n,e)})):this.queries},n.notify=function(e){var t=this;ud.batch((function(){t.listeners.forEach((function(t){t(e)}))}))},n.onFocus=function(){var e=this;ud.batch((function(){e.queries.forEach((function(e){e.onFocus()}))}))},n.onOnline=function(){var e=this;ud.batch((function(){e.queries.forEach((function(e){e.onOnline()}))}))},t}(jc),hd=function(){function e(e){this.options=Nc({},e.defaultOptions,e.options),this.mutationId=e.mutationId,this.mutationCache=e.mutationCache,this.observers=[],this.state=e.state||md(),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(_c).catch(_c)):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),dd().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 ld({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 Nc({},e,{failureCount:e.failureCount+1});case"pause":return Nc({},e,{isPaused:!0});case"continue":return Nc({},e,{isPaused:!1});case"loading":return Nc({},e,{context:t.context,data:void 0,error:null,isPaused:!1,status:"loading",variables:t.variables});case"success":return Nc({},e,{data:t.data,error:null,status:"success",isPaused:!1});case"error":return Nc({},e,{data:void 0,error:t.error,failureCount:e.failureCount+1,isPaused:!1,status:"error"});case"setState":return Nc({},e,t.state);default:return e}}(this.state,e),ud.batch((function(){t.observers.forEach((function(t){t.onMutationUpdate(e)})),t.mutationCache.notify(t)}))},e}();function md(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0}}var gd=function(e){function t(t){var n;return(n=e.call(this)||this).config=t||{},n.mutations=[],n.mutationId=0,n}Ic(t,e);var n=t.prototype;return n.build=function(e,t,n){var r=new hd({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;ud.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 Vc(e,t)}))},n.findAll=function(e){return this.mutations.filter((function(t){return Vc(e,t)}))},n.notify=function(e){var t=this;ud.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 ud.batch((function(){return e.reduce((function(e,t){return e.then((function(){return t.continue().catch(_c)}))}),Promise.resolve())}))},t}(jc);function vd(e,t){return null==e.getNextPageParam?void 0:e.getNextPageParam(t[t.length-1],t)}var yd=function(){function e(e){void 0===e&&(e={}),this.queryCache=e.queryCache||new fd,this.mutationCache=e.mutationCache||new gd,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}var t=e.prototype;return t.mount=function(){var e=this;this.unsubscribeFocus=td.subscribe((function(){td.isFocused()&&nd.isOnline()&&(e.mutationCache.onFocus(),e.queryCache.onFocus())})),this.unsubscribeOnline=nd.subscribe((function(){td.isFocused()&&nd.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=Wc(e,t)[0];return n.fetching=!0,this.queryCache.findAll(n).length},t.isMutating=function(e){return this.mutationCache.findAll(Nc({},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=Bc(e),o=this.defaultQueryOptions(r);return this.queryCache.build(this,o).setData(t,n)},t.setQueriesData=function(e,t,n){var r=this;return ud.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=Wc(e,t)[0],r=this.queryCache;ud.batch((function(){r.findAll(n).forEach((function(e){r.remove(e)}))}))},t.resetQueries=function(e,t,n){var r=this,o=Wc(e,t,n),a=o[0],i=o[1],l=this.queryCache,s=Nc({},a,{active:!0});return ud.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=Wc(e,t,n),a=o[0],i=o[1],l=void 0===i?{}:i;void 0===l.revert&&(l.revert=!0);var s=ud.batch((function(){return r.queryCache.findAll(a).map((function(e){return e.cancel(l)}))}));return Promise.all(s).then(_c).catch(_c)},t.invalidateQueries=function(e,t,n){var r,o,a,i=this,l=Wc(e,t,n),s=l[0],u=l[1],c=Nc({},s,{active:null==(r=null!=(o=s.refetchActive)?o:s.active)||r,inactive:null!=(a=s.refetchInactive)&&a});return ud.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=Wc(e,t,n),a=o[0],i=o[1],l=ud.batch((function(){return r.queryCache.findAll(a).map((function(e){return e.fetch(void 0,Nc({},i,{meta:{refetchPage:null==a?void 0:a.refetchPage}}))}))})),s=Promise.all(l).then(_c);return(null==i?void 0:i.throwOnError)||(s=s.catch(_c)),s},t.fetchQuery=function(e,t,n){var r=Bc(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(_c).catch(_c)},t.fetchInfiniteQuery=function(e,t,n){var r=Bc(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)||[],g=(null==(i=e.state.data)?void 0:i.pageParams)||[],v=ed(),y=null==v?void 0:v.signal,b=g,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 od(i)&&(l.cancel=i.cancel),l};if(m.length)if(f){var E=void 0!==p,C=E?p:vd(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,g[0]):Promise.resolve(k([],g[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?g[n]:vd(e.options,r);return S(r,t,o)}return Promise.resolve(k(r,g[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==v||v.abort(),od(l)&&l.cancel()},R}}},this.fetchQuery(r)},t.prefetchInfiniteQuery=function(e,t,n){return this.fetchInfiniteQuery(e,t,n).then(_c).catch(_c)},t.cancelMutations=function(){var e=this,t=ud.batch((function(){return e.mutationCache.getAll().map((function(e){return e.cancel()}))}));return Promise.all(t).then(_c).catch(_c)},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 Hc(e)===Hc(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 Kc(e,t.queryKey)})))?void 0:t.defaultOptions:void 0},t.setMutationDefaults=function(e,t){var n=this.mutationDefaults.find((function(t){return Hc(e)===Hc(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 Kc(e,t.mutationKey)})))?void 0:t.defaultOptions:void 0},t.defaultQueryOptions=function(e){if(null==e?void 0:e._defaulted)return e;var t=Nc({},this.defaultOptions.queries,this.getQueryDefaults(null==e?void 0:e.queryKey),e,{_defaulted:!0});return!t.queryHash&&t.queryKey&&(t.queryHash=qc(t.queryKey,t)),t},t.defaultQueryObserverOptions=function(e){return this.defaultQueryOptions(e)},t.defaultMutationOptions=function(e){return(null==e?void 0:e._defaulted)?e:Nc({},this.defaultOptions.mutations,this.getMutationDefaults(null==e?void 0:e.mutationKey),e,{_defaulted:!0})},t.clear=function(){this.queryCache.clear(),this.mutationCache.clear()},e}(),bd=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}Ic(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),xd(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())},n.onUnsubscribe=function(){this.listeners.length||this.destroy()},n.shouldFetchOnReconnect=function(){return wd(this.currentQuery,this.options,this.options.refetchOnReconnect)},n.shouldFetchOnWindowFocus=function(){return wd(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&&kd(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(Nc({},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(_c)),t},n.updateStaleTimeout=function(){var e=this;if(this.clearStaleTimeout(),!$c&&!this.currentResult.isStale&&Fc(this.options.staleTime)){var t=Dc(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,!$c&&!1!==this.options.enabled&&Fc(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval((function(){(t.options.refetchIntervalInBackground||td.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,g=d.status,v=!1,y=!1;if(t.optimisticResults){var b=this.hasListeners(),x=!b&&xd(e,t),w=b&&kd(e,r,t,o);(x||w)&&(m=!0,p||(g="loading"))}if(t.keepPreviousData&&!d.dataUpdateCount&&(null==c?void 0:c.isSuccess)&&"error"!==g)n=c.data,p=c.dataUpdatedAt,g=c.status,v=!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=Qc(null==a?void 0:a.data,n)),this.selectResult=n,this.selectError=null}catch(e){dd().error(e),this.selectError=e}else n=d.data;if(void 0!==t.placeholderData&&void 0===n&&("loading"===g||"idle"===g)){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=Qc(null==a?void 0:a.data,k)),this.selectError=null}catch(e){dd().error(e),this.selectError=e}void 0!==k&&(g="success",n=k,y=!0)}return this.selectError&&(f=this.selectError,n=this.selectResult,h=Date.now(),g="error"),{status:g,isLoading:"loading"===g,isSuccess:"success"===g,isError:"error"===g,isIdle:"idle"===g,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"!==g,isLoadingError:"error"===g&&0===d.dataUpdatedAt,isPlaceholderData:y,isPreviousData:v,isRefetchError:"error"===g&&0!==d.dataUpdatedAt,isStale:Sd(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(Nc({},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||id(e.error)||(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()},n.notify=function(e){var t=this;ud.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}(jc);function xd(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&&wd(e,t,t.refetchOnMount)}function wd(e,t,n){if(!1!==t.enabled){var r="function"==typeof n?n(e):n;return"always"===r||!1!==r&&Sd(e,t)}return!1}function kd(e,t,n,r){return!1!==n.enabled&&(e!==t||!1===r.enabled)&&(!n.suspense||"error"!==e.state.status)&&Sd(e,n)}function Sd(e,t){return e.isStaleByTime(t.staleTime)}var Ed=function(e){function t(t,n){var r;return(r=e.call(this)||this).client=t,r.setOptions(n),r.bindMethods(),r.updateResult(),r}Ic(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,Nc({},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=Nc({},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;ud.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}(jc),Cd=yc.unstable_batchedUpdates;ud.setBatchNotifyFunction(Cd);var Od=console;cd=Od;var Pd=J.createContext(void 0),Rd=J.createContext(!1);function Td(e){return e&&"undefined"!=typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=Pd),window.ReactQueryClientContext):Pd}var Md=function(){var e=J.useContext(Td(J.useContext(Rd)));if(!e)throw new Error("No QueryClient set, use QueryClientProvider to set one");return e},Ad=function(e){var t=e.client,n=e.contextSharing,r=void 0!==n&&n,o=e.children;J.useEffect((function(){return t.mount(),function(){t.unmount()}}),[t]);var a=Td(r);return J.createElement(Rd.Provider,{value:r},J.createElement(a.Provider,{value:t},o))};var Ld,Id=J.createContext((Ld=!1,{clearReset:function(){Ld=!1},reset:function(){Ld=!0},isReset:function(){return Ld}}));function jd(e,t,n){return"function"==typeof t?t.apply(void 0,n):"boolean"==typeof t?t:!!e}function Nd(e,t,n){var r=J.useRef(!1),o=J.useState(0)[1],a=function(e,t,n){return Zc(e)?"function"==typeof t?Nc({},n,{mutationKey:e,mutationFn:t}):Nc({},t,{mutationKey:e}):"function"==typeof e?Nc({},t,{mutationFn:e}):Nc({},e)}(e,t,n),i=Md(),l=J.useRef();l.current?l.current.setOptions(a):l.current=new Ed(i,a);var s=l.current.getCurrentResult();J.useEffect((function(){r.current=!0;var e=l.current.subscribe(ud.batchCalls((function(){r.current&&o((function(e){return e+1}))})));return function(){r.current=!1,e()}}),[]);var u=J.useCallback((function(e,t){l.current.mutate(e,t).catch(_c)}),[]);if(s.error&&jd(void 0,l.current.options.useErrorBoundary,[s.error]))throw s.error;return Nc({},s,{mutate:u,mutateAsync:s.mutate})}function $d(e,t){var n=J.useRef(!1),r=J.useState(0)[1],o=Md(),a=J.useContext(Id),i=o.defaultQueryObserverOptions(e);i.optimisticResults=!0,i.onError&&(i.onError=ud.batchCalls(i.onError)),i.onSuccess&&(i.onSuccess=ud.batchCalls(i.onSuccess)),i.onSettled&&(i.onSettled=ud.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=J.useState((function(){return new t(o,i)}))[0],s=l.getOptimisticResult(i);if(J.useEffect((function(){n.current=!0,a.clearReset();var e=l.subscribe(ud.batchCalls((function(){n.current&&r((function(e){return e+1}))})));return l.updateResult(),function(){n.current=!1,e()}}),[a,l]),J.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&&jd(i.suspense,i.useErrorBoundary,[s.error,l.getCurrentQuery()]))throw s.error;return"tracked"===i.notifyOnChangeProps&&(s=l.trackResult(s,i)),s}function _d(e){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567".indexOf(e);if(-1===t)throw new Error("Invalid character found: "+e);return t}function Fd(e){for(var t=(e=e.toUpperCase()).length,n=0,r=0,o=0,a=new Uint8Array(5*t/8|0),i=0;i<t;i++)r=r<<5|_d(e[i]),(n+=5)>=8&&(a[o++]=r>>>n-8&255,n-=8);return function(e){for(var t=new Uint8Array(e),n=t.length,r="",o=Math.pow(2,16)-1,a=0;a<n;a+=o)a+o>n&&(o=n-a),r+=String.fromCharCode.apply(null,t.subarray(a,a+o));return r}(a.buffer)}function zd(e){if(e)try{var t=d(e.split("_"),2),n=t[0],r=t[1];if("tgpak"===n){var o=d(Fd(r).split("_"),1)[0];return Number(o)}}catch(e){console.warn("Tolgee: Api key can't be parsed")}}function Dd(e){if(e){var t=d(e.split("_"),1)[0];return"tgpak"===t?"tgpak":"tgpat"===t?"tgpat":"legacy"}}function Bd(e){return s(this,void 0,void 0,(function(){var t;return u(this,(function(n){switch(n.label){case 0:return[4,e.text()];case 1:t=n.sent();try{return[2,JSON.parse(t)]}catch(e){return[2,t]}return[2]}}))}))}var Wd=function(e){return e?Object.entries(e).reduce((function(e,t){var n,r=d(t,2),o=r[0],a=r[1];return Array.isArray(a)||"object"!=typeof a?i(i({},e),((n={})[o]=a,n)):i(i({},e),Wd(a))}),{}):{}};function Ud(e,t,n){return s(this,void 0,void 0,(function(){var r=this;return u(this,(function(o){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=i(i({},n.headers),{"X-API-Key":t.apiKey}),[2,fetch(t.apiUrl+e,n).then((function(e){return s(r,void 0,void 0,(function(){var t,n;return u(this,(function(r){switch(r.label){case 0:return e.ok?[3,2]:[4,Bd(e)];case 1:throw t=r.sent(),n="".concat(e.status,": ").concat((null==t?void 0:t.message)||"Error status code from server"),new Error(n);case 2:return[4,Bd(e)];case 3:return[2,r.sent()]}}))}))})).catch((function(e){throw e.message||"Failed to fetch"}))]}))}))}function Vd(e,t,n,r){var o,a;return s(this,void 0,void 0,(function(){var i,l,s,c,p,f,h,m,g,v;return u(this,(function(u){var y;return i=(null==n?void 0:n.path)||{},l=e,void 0!==(s=zd(r.apiKey)||r.projectId)&&(i.projectId=s,l=function(e){return e.replace("/projects/","/projects/{projectId}/")}(l)),i&&Object.entries(i).forEach((function(e){var t=d(e,2),n=t[0],r=t[1];l=l.replace("{".concat(n,"}"),r)})),c=null===(o=null==n?void 0:n.content)||void 0===o?void 0:o["multipart/form-data"],p=void 0,c&&(p=new FormData,Object.entries(c).forEach((function(e){var t=d(e,2),n=t[0],r=t[1];if(Array.isArray(r)){var o=void 0;return"[object File]"===Object.prototype.toString.call(r)&&(o=r.name),void r.forEach((function(e){return null==p?void 0:p.append(n,e,o)}))}null==p||p.append(n,r)}))),f=JSON.stringify(null===(a=null==n?void 0:n.content)||void 0===a?void 0:a["application/json"]),h=null==n?void 0:n.query,m="",g=Wd(h),y=g,v=Object.keys(y).filter((function(e){return!!y[e]})).map((function(e){return Array.isArray(y[e])?y[e].map((function(t){return encodeURIComponent(e)+"="+encodeURIComponent(t)})).join("&"):encodeURIComponent(e)+"="+encodeURIComponent(y[e])})).join("&"),v&&(m="?"+v),[2,Ud(l+m,r,{method:t,body:p||f,headers:f?{"Content-Type":"application/json"}:void 0})]}))}))}var qd=new yd({defaultOptions:{queries:{refetchOnWindowFocus:!1,refetchOnReconnect:!1,retry:!1}}}),Hd=J.createContext({}),Kd=function(e){var t=e.children,n=e.apiUrl,r=e.apiKey,o=e.projectId;return J.createElement(Hd.Provider,{value:{apiUrl:n,apiKey:r,projectId:o}},J.createElement(Ad,{client:qd},t))},Gd=function(e){var t=e.url,n=e.method,r=e.options,o=l(e,["url","method","options"]),a=g.exports.useContext(Hd);return $d(Bc([t,null==o?void 0:o.path,null==o?void 0:o.query],(function(){return Vd(t,n,o,a)}),r),bd)},Qd=function(e){var t=Md(),n=e.url,r=e.method,o=e.options,a=e.invalidatePrefix,l=g.exports.useContext(Hd),s=Nd((function(e){return Vd(n,r,e,l)}),o),u=function(e){return i(i({},e),{onSuccess:function(){for(var n,r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];void 0!==a&&Yd(t,a),null===(n=null==e?void 0:e.onSuccess)||void 0===n||n.call.apply(n,p([e],d(r),!1))}})},c=g.exports.useCallback((function(e,t){return s.mutate(e,u(t))}),[s.mutate]),f=g.exports.useCallback((function(e,t){return s.mutateAsync(e,u(t))}),[s.mutateAsync]);return i(i({},s),{mutate:c,mutateAsync:f})},Yd=function(e,t){return e.invalidateQueries(function(e){return{predicate:function(t){var n;return null===(n=t.queryKey[0])||void 0===n?void 0:n.startsWith(e)}}}(t))},Xd=function(e){for(var t=[],n=0;n<e.length;n++)"file"===e[n].kind&&t.push(e[n].getAsFile());return t};function Zd(e,t){return Boolean(null==t?void 0:t.includes(e))}function Jd(){try{return JSON.parse(localStorage.getItem(wc)||"")}catch(e){return[]}}function ep(e){localStorage.setItem(wc,JSON.stringify(e))}var tp=function(e,t,n,r){var o=n.map((function(n){var o=d(n,2),a=o[0],i=o[1];return r({language:a,namespace:t},e,i)}));return{revert:function(){return o.forEach((function(e){return e.revert()}))}}};function np(e){var t=this,n=e.message,r=e.recievingMessage,o=e.data,a=e.attempts,i=void 0===a?1:a,l=!1,c=function(){return new Promise((function(e,t){var a=function(e,t){var n=function(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:function(){window.removeEventListener("message",n)}}}(r,(function(t){clearTimeout(i),l(),e(t)}));window.postMessage({type:n,data:o},window.origin);var i=setTimeout((function(){l(),t()}),300);function l(){a.unsubscribe()}}))};return{cancel:function(){return l=!0},promise:s(t,void 0,void 0,(function(){var e;return u(this,(function(t){switch(t.label){case 0:e=0,t.label=1;case 1:if(!(e<i))return[3,6];if(l)return[2,new Promise((function(){}))];t.label=2;case 2:return t.trys.push([2,4,,5]),[4,c()];case 3:return[2,t.sent()];case 4:return t.sent(),[3,5];case 5:return e++,[3,1];case 6:if(!l)throw"Didn't recieve ".concat(r.join(" or ")," in time.");return[2,new Promise((function(){}))]}}))}))}}var rp,op,ap,ip,lp=function(e){var t=d(g.exports.useState(void 0),2),n=t[0],r=t[1],o=d(g.exports.useState(!1),2),a=o[0],l=o[1],c=d(g.exports.useState([]),2),f=c[0],h=c[1],m=d(g.exports.useState(null),2),v=m[0],y=m[1];g.exports.useEffect((function(){(function(){return s(this,void 0,void 0,(function(){return u(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,np({message:"TOLGEE_PING",recievingMessage:["TOLGEE_PONG"],attempts:2}).promise];case 1:return e.sent(),[2,!0];case 2:return e.sent(),[2,!1];case 3:return[2]}}))}))})().then((function(e){return r(e)}))}),[]);var b=Qd({url:"/v2/image-upload/{ids}",method:"delete"}),x=Qd({url:"/v2/image-upload",method:"post",options:{onSuccess:function(e){h((function(t){return p(p([],d(t),!1),[i(i({},e),{justUploaded:!0})],!1)}))}}}),w=function(e){return x.mutate({content:{"multipart/form-data":{image:e}}})};return{error:b.error||x.error,screenshotsUploading:x.isLoading,takingScreenshot:a,screenshots:f,setScreenshots:h,screenshotDetail:v,setScreenshotDetail:y,handleUploadImages:function(e){return s(this,void 0,void 0,(function(){return u(this,(function(t){switch(t.label){case 0:return[4,Promise.all(e.map((function(e){return w(e)})))];case 1:return t.sent(),[2]}}))}))},handleTakeScreenshot:function(t,n,r){return s(this,void 0,void 0,(function(){var o,a,i,s,c;return u(this,(function(u){switch(u.label){case 0:return l(!0),o=e.highlight(t,n).unhighlight,a=tp(t,n,Object.entries(r),e.changeTranslation).revert,[4,Oc(200)];case 1:u.sent(),u.label=2;case 2:return u.trys.push([2,4,5,6]),[4,np({message:"TOLGEE_TAKE_SCREENSHOT",recievingMessage:["TOLGEE_SCREENSHOT_TAKEN"]}).promise];case 3:return i=u.sent(),[3,6];case 4:return s=u.sent(),console.error(s),[2];case 5:return a(),o(),l(!1),[7];case 6:return[4,fetch(i).then((function(e){return e.blob()}))];case 7:return c=u.sent(),w(c),[2]}}))}))},handleRemoveScreenshot:function(e){var t=f.find((function(t){return t.id===e}));(null==t?void 0:t.justUploaded)&&b.mutate({path:{ids:[t.id]}}),h(f.filter((function(t){return t.id!==e})))},deleteImages:function(e){b.mutate({path:{ids:e}})},canTakeScreenshots:n}},sp=(rp=d((op=function(e){var t,n,r,o,a,c,f,h,m,v,y,b,x,w=d(g.exports.useState(!1),2),k=w[0],S=w[1],E=d(g.exports.useState({}),2),C=E[0],O=E[1],P=d(g.exports.useState(!1),2),R=P[0],T=P[1],M=d(g.exports.useState(e.ns[0]),2),A=M[0],L=M[1],I=d(g.exports.useState([]),2),j=I[0],N=I[1],$="tgpat"===Dd(e.uiProps.apiKey),_=lp(e.uiProps),F=_.screenshots,z=_.setScreenshots,D=_.screenshotDetail,B=_.setScreenshotDetail,W=_.screenshotsUploading,U=_.takingScreenshot,V=_.handleRemoveScreenshot,q=_.handleUploadImages,H=_.deleteImages,K=_.canTakeScreenshots,G=_.error,Q=l(_,["screenshots","setScreenshots","screenshotDetail","setScreenshotDetail","screenshotsUploading","takingScreenshot","handleRemoveScreenshot","handleUploadImages","deleteImages","canTakeScreenshots","error"]),Y=Gd({url:"/v2/api-keys/current",method:"get",options:{enabled:!$}}),X=Gd({url:"/v2/projects/languages",method:"get",options:{onSuccess:function(e){var t,n,r,o,a=(r=(null===(n=null===(t=e._embedded)||void 0===t?void 0:t.languages)||void 0===n?void 0:n.map((function(e){return e.tag})))||[],o=Jd().filter((function(e){return r.includes(e)})),0===o.length&&(o=r),o.slice(0,5));ne(a),ep(a)}}}),Z=Qd({url:"/v2/projects/keys/create",method:"post"}),J=g.exports.useMemo((function(){var e,t,n,r;return n=null===(t=null===(e=X.data)||void 0===e?void 0:e._embedded)||void 0===t?void 0:t.languages,r=null==n?void 0:n.find((function(e){return e.base})),r?p([r],d((n||[]).filter((function(e){return e!==r}))),!1):n}),[X.data]),ee=d(g.exports.useState(Jd()),2),te=ee[0],ne=ee[1],re=Gd({url:"/v2/projects/translations",method:"get",query:{filterKeyName:[e.keyName],filterNamespace:e.ns,languages:te},options:{keepPreviousData:!0,onSuccess:function(e){var t,n,r,o,a={},l=null===(n=null===(t=e._embedded)||void 0===t?void 0:t.keys)||void 0===n?void 0:n[0];Object.entries((null==l?void 0:l.translations)||{}).forEach((function(e){var t=d(e,2),n=t[0],r=t[1];a[n]=r.text||""})),O(a),N((null===(r=null==l?void 0:l.keyTags)||void 0===r?void 0:r.map((function(e){return e.name})))||[]),z((null===(o=null==l?void 0:l.screenshots)||void 0===o?void 0:o.map((function(e){return i(i({},e),{justUploaded:!1})})))||[])}}}),oe=g.exports.useMemo((function(){var t,n,r=null===(n=null===(t=re.data)||void 0===t?void 0:t._embedded)||void 0===n?void 0:n.keys;return(null==r?void 0:r.length)?[r[0].keyNamespace||""]:e.ns}),[re.data]),ae=Qd({url:"/v2/projects/keys/{id}/complex-update",method:"put"}),ie=null===(r=null===(n=null===(t=re.data)||void 0===t?void 0:t._embedded)||void 0===n?void 0:n.keys)||void 0===r?void 0:r[0],le=void 0!==(null===(o=Y.data)||void 0===o?void 0:o.projectId)?"".concat(e.uiProps.apiUrl,"/projects/").concat(null===(a=Y.data)||void 0===a?void 0:a.projectId,"/translations/single?key=").concat(e.keyName).concat(void 0!==A?"&ns=".concat(A):""):void 0,se=d(g.exports.useState(void 0),2),ue=se[0],ce=se[1],de=d(g.exports.useState(!1),2),pe=de[0],fe=de[1],he=null===(c=Y.data)||void 0===c?void 0:c.permittedLanguageIds;function me(){if(D)B(null);else{e.onClose(),fe(!1);var t=ge();t.length&&H(t),z([])}}g.exports.useEffect((function(){var e=function(e){"Escape"===e.key&&me()};if(!pe)return window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}}),[pe]);var ge=function(){return F.filter((function(e){return e.justUploaded})).map((function(e){return e.id}))},ve=function(){var e;return(null===(e=null==ie?void 0:ie.screenshots)||void 0===e?void 0:e.map((function(e){return e.id})).filter((function(e){return!F.find((function(t){return t.id===e}))})))||[]};g.exports.useEffect((function(){var t;if(e.defaultValue&&J&&te&&C){var n=J.find((function(e){return e.base}));if(n&&te.includes(n.tag)&&!R){var r=void 0!==(null==ie?void 0:ie.translations[n.tag]);C[n.tag]||r||O(i(i({},C),((t={})[n.tag]=e.defaultValue,t)))}}}),[J,C,te,e.defaultValue]);var ye,be,xe=null==J?void 0:J.find((function(e){return e.base})),we=X.isFetching||re.isLoading&&!re.data||Y.isFetching,ke=ae.isLoading||Z.isLoading,Se=X.error||re.error||Y.error||Z.error||ae.error||G,Ee=null===(f=Y.data)||void 0===f?void 0:f.scopes,Ce=!$&&(we||((null===(v=null===(m=null===(h=re.data)||void 0===h?void 0:h._embedded)||void 0===m?void 0:m.keys)||void 0===v?void 0:v.length)?!Zd("translations.edit",Ee):!Zd("keys.edit",Ee))),Oe=!Ce&&Zd("keys.edit",Ee),Pe=Boolean(null===(x=null===(b=null===(y=re.data)||void 0===y?void 0:y._embedded)||void 0===b?void 0:b.keys)||void 0===x?void 0:x.length),Re={input:e.keyName,open:e.open,ns:oe,selectedNs:A,loading:we,saving:ke,success:k,error:Se,availableLanguages:J,selectedLanguages:(ye=te,be=null==xe?void 0:xe.tag,be&&ye.includes(be)?p([be],d(ye.filter((function(e){return e!==be}))),!1):ye),formDisabled:Ce,translations:ie,translationsForm:C,container:ue,useBrowserWindow:pe,canTakeScreenshots:K,takingScreenshot:U,screenshotsUploading:W,screenshots:F,screenshotDetail:D,linkToPlatform:le,keyExists:Pe,scopes:Ee,permittedLanguageIds:he,tags:j,canEditTags:Oe},Te={onInputChange:function(e,t){var n;S(!1),T(!0),O(i(i({},C),((n={})[e]=t,n)))},handleUploadImages:q,handleTakeScreenshot:function(){Q.handleTakeScreenshot(e.keyName,A,C)},handleRemoveScreenshot:V,onSave:function(){return s(this,void 0,void 0,(function(){var t,n;return u(this,(function(r){switch(r.label){case 0:return r.trys.push([0,9,10,11]),t={},Object.entries(C).forEach((function(e){var n=d(e,2),r=n[0],o=n[1];Ac(r,he,J)&&(t[r]=o)})),void 0!==ie?[3,2]:[4,Z.mutateAsync({content:{"application/json":{name:e.keyName,namespace:A||void 0,translations:t,screenshotUploadedImageIds:F.map((function(e){return e.id})),tags:j}}})];case 1:return r.sent(),[3,4];case 2:return[4,ae.mutateAsync({content:{"application/json":{name:e.keyName,namespace:A||void 0,translations:t,screenshotIdsToDelete:ve(),screenshotUploadedImageIds:ge(),tags:j}},path:{id:ie.keyId}})];case 3:r.sent(),r.label=4;case 4:return tp(e.keyName,A,Object.entries(t),e.uiProps.changeTranslation),re.refetch(),S(!0),pe?[4,Oc(2e3)]:[3,6];case 5:return r.sent(),S(!1),[3,8];case 6:return[4,Oc(400)];case 7:r.sent(),e.onClose(),r.label=8;case 8:return[3,11];case 9:return n=r.sent(),console.error(n),[3,11];case 10:return S(!1),[7];case 11:return[2]}}))}))},onClose:me,onSelectedLanguagesChange:function(e){e.length&&(ne(e),ep(e))},setContainer:ce,setUseBrowserWindow:fe,setScreenshotDetail:B,setSelectedNs:L,setTags:N};return[Re,Te]},ap=function(e){const t=g.exports.createContext({[Pc]:{v:{current:e},n:{current:-1},l:new Set,u:e=>e()}});var n;return t[Rc]=t.Provider,t.Provider=(n=t.Provider,({value:e,children:t})=>{const r=g.exports.useRef(e),o=g.exports.useRef(0),[a,i]=g.exports.useState(null);a&&(a(e),i(null));const l=g.exports.useRef();if(!l.current){const e=new Set,t=(t,n)=>{te.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()}))};l.current={[Pc]:{v:r,n:o,l:e,u:t}}}return Tc((()=>{r.current=e,o.current+=1,Mc((()=>{l.current[Pc].l.forEach((t=>{t({n:o.current,v:e})}))}))}),[e]),g.exports.createElement(n,{value:l.current},t)}),delete t.Consumer,t}(null),ip=J.createContext(null),[function(e){var t=e.children,n=l(e,["children"]),r=d(op(n),2),o=r[0],a=r[1],i=g.exports.useRef(a);i.current=a;var s=g.exports.useMemo((function(){var e={};return Object.keys(i.current).map((function(t){e[t]=function(){for(var e,n,r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return null===(n=(e=i.current)[t])||void 0===n?void 0:n.call.apply(n,p([e],d(r),!1))}})),e}),[i]);return J.createElement(ap.Provider,{value:o},J.createElement(ip.Provider,{value:s},t))},function(){return J.useContext(ip)},function(e){return function(e,t){const n=g.exports.useContext(e)[Pc],{v:{current:r},n:{current:o},l:a}=n,i=t(r),[l,s]=g.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(l[1],i)||s(),Tc((()=>(a.add(s),()=>{a.delete(s)})),[a]),l[1]}(ap,e)}]),3),rp[0]),up=rp[1],cp=rp[2];function dp(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 pp(){return pp=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},pp.apply(this,arguments)}var fp={exports:{}};function hp(){}function mp(){}mp.resetWarningCache=hp;function gp(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=gp(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function vp(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=gp(e))&&(r&&(r+=" "),r+=t);return r}function yp(){return yp=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},yp.apply(this,arguments)}function bp(e){return"string"==typeof e}function xp(e,t={},n){return bp(e)?t:yp({},t,{ownerState:yp({},t.ownerState,n)})}function wp(e,t){return"function"==typeof e?e(t):e}function kp(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 Sp(e,t){return()=>null}function Ep(){return Ep=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},Ep.apply(this,arguments)}function Cp(e){return null!==e&&"object"==typeof e&&e.constructor===Object}function Op(e,t,n={clone:!0}){const r=n.clone?Ep({},e):e;return Cp(e)&&Cp(t)&&Object.keys(t).forEach((o=>{"__proto__"!==o&&(Cp(t[o])&&o in e&&Cp(e[o])?r[o]=Op(e[o],t[o],n):r[o]=t[o])})),r}fp.exports=function(){function e(e,t,n,r,o,a){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==a){var i=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 i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:mp,resetWarningCache:hp};return n.PropTypes=n,n}();const Pp=(fp.exports.element,()=>null);Pp.isRequired=(fp.exports.element.isRequired,()=>null);var Rp=(fp.exports.elementType,()=>null);function Tp(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 Mp,Ap={exports:{}},Lp={},Ip=Symbol.for("react.element"),jp=Symbol.for("react.portal"),Np=Symbol.for("react.fragment"),$p=Symbol.for("react.strict_mode"),_p=Symbol.for("react.profiler"),Fp=Symbol.for("react.provider"),zp=Symbol.for("react.context"),Dp=Symbol.for("react.server_context"),Bp=Symbol.for("react.forward_ref"),Wp=Symbol.for("react.suspense"),Up=Symbol.for("react.suspense_list"),Vp=Symbol.for("react.memo"),qp=Symbol.for("react.lazy"),Hp=Symbol.for("react.offscreen");function Kp(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Ip:switch(e=e.type){case Np:case _p:case $p:case Wp:case Up:return e;default:switch(e=e&&e.$$typeof){case Dp:case zp:case Bp:case qp:case Vp:case Fp:return e;default:return t}}case jp:return t}}}Mp=Symbol.for("react.module.reference"),Lp.ContextConsumer=zp,Lp.ContextProvider=Fp,Lp.Element=Ip,Lp.ForwardRef=Bp,Lp.Fragment=Np,Lp.Lazy=qp,Lp.Memo=Vp,Lp.Portal=jp,Lp.Profiler=_p,Lp.StrictMode=$p,Lp.Suspense=Wp,Lp.SuspenseList=Up,Lp.isAsyncMode=function(){return!1},Lp.isConcurrentMode=function(){return!1},Lp.isContextConsumer=function(e){return Kp(e)===zp},Lp.isContextProvider=function(e){return Kp(e)===Fp},Lp.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Ip},Lp.isForwardRef=function(e){return Kp(e)===Bp},Lp.isFragment=function(e){return Kp(e)===Np},Lp.isLazy=function(e){return Kp(e)===qp},Lp.isMemo=function(e){return Kp(e)===Vp},Lp.isPortal=function(e){return Kp(e)===jp},Lp.isProfiler=function(e){return Kp(e)===_p},Lp.isStrictMode=function(e){return Kp(e)===$p},Lp.isSuspense=function(e){return Kp(e)===Wp},Lp.isSuspenseList=function(e){return Kp(e)===Up},Lp.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Np||e===_p||e===$p||e===Wp||e===Up||e===Hp||"object"==typeof e&&null!==e&&(e.$$typeof===qp||e.$$typeof===Vp||e.$$typeof===Fp||e.$$typeof===zp||e.$$typeof===Bp||e.$$typeof===Mp||void 0!==e.getModuleId)},Lp.typeOf=Kp,function(e){e.exports=Lp}(Ap);const Gp=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function Qp(e,t=""){return e.displayName||e.name||function(e){const t=`${e}`.match(Gp);return t&&t[1]||""}(e)||t}function Yp(e,t,n){const r=Qp(t);return e.displayName||(""!==r?`${n}(${r})`:n)}var Xp="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();const Zp=fp.exports.oneOfType([fp.exports.func,fp.exports.object]);function Jp(e){if("string"!=typeof e)throw new Error(Tp(7));return e.charAt(0).toUpperCase()+e.slice(1)}function ef(...e){return e.reduce(((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)}),(()=>{}))}function tf(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout((()=>{e.apply(this,r)}),t)}return r.clear=()=>{clearTimeout(n)},r}function nf(e,t){return()=>null}function rf(e,t){return g.exports.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}function of(e){return e&&e.ownerDocument||document}function af(e){return of(e).defaultView||window}function lf(e,t){return()=>null}function sf(e,t){"function"==typeof e?e(t):e&&(e.current=t)}const uf="undefined"!=typeof window?g.exports.useLayoutEffect:g.exports.useEffect;let cf=0;const df=ee.useId;function pf(e){if(void 0!==df){const t=df();return null!=e?e:t}return function(e){const[t,n]=g.exports.useState(e),r=e||t;return g.exports.useEffect((()=>{null==t&&(cf+=1,n(`mui-${cf}`))}),[t]),r}(e)}function ff(e,t,n,r,o){return null}function hf({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=g.exports.useRef(void 0!==e),[a,i]=g.exports.useState(t);return[o?e:a,g.exports.useCallback((e=>{o||i(e)}),[])]}function mf(e){const t=g.exports.useRef(e);return uf((()=>{t.current=e})),g.exports.useCallback(((...e)=>(0,t.current)(...e)),[])}function gf(e,t){return g.exports.useMemo((()=>null==e&&null==t?null:n=>{sf(e,n),sf(t,n)}),[e,t])}let vf,yf=!0,bf=!1;const xf={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 wf(e){e.metaKey||e.altKey||e.ctrlKey||(yf=!0)}function kf(){yf=!1}function Sf(){"hidden"===this.visibilityState&&bf&&(yf=!0)}function Ef(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return yf||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!xf[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function Cf(){const e=g.exports.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",wf,!0),t.addEventListener("mousedown",kf,!0),t.addEventListener("pointerdown",kf,!0),t.addEventListener("touchstart",kf,!0),t.addEventListener("visibilitychange",Sf,!0))}),[]),t=g.exports.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!Ef(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(bf=!0,window.clearTimeout(vf),vf=window.setTimeout((()=>{bf=!1}),100),t.current=!1,!0)},ref:e}}function Of(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}let Pf;function Rf(){if(Pf)return Pf;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),Pf="reverse",e.scrollLeft>0?Pf="default":(e.scrollLeft=1,0===e.scrollLeft&&(Pf="negative")),document.body.removeChild(e),Pf}function Tf(){return null}Tf.isRequired=Tf;var Mf=Tf;function Af(e,t){const n=Ep({},t);return Object.keys(e).forEach((t=>{void 0===n[t]&&(n[t]=e[t])})),n}function Lf(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 If=e=>e,jf=(()=>{let e=If;return{configure(t){e=t},generate:t=>e(t),reset(){e=If}}})(),Nf={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function $f(e,t,n="Mui"){const r=Nf[t];return r?`${n}-${r}`:`${jf.generate(e)}-${t}`}function _f(e,t,n="Mui"){const r={};return t.forEach((t=>{r[t]=$f(e,t,n)})),r}var Ff=Object.freeze({__proto__:null,chainPropTypes:Sp,deepmerge:Op,isPlainObject:Cp,elementAcceptingRef:Pp,elementTypeAcceptingRef:Rp,exactProp:function(e){return e},formatMuiErrorMessage:Tp,getDisplayName:function(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return Qp(e,"Component");if("object"==typeof e)switch(e.$$typeof){case Ap.exports.ForwardRef:return Yp(e,e.render,"ForwardRef");case Ap.exports.Memo:return Yp(e,e.type,"memo");default:return}}},HTMLElementType:function(e,t,n,r,o){return null},ponyfillGlobal:Xp,refType:Zp,unstable_capitalize:Jp,unstable_createChainedFunction:ef,unstable_debounce:tf,unstable_deprecatedPropType:nf,unstable_isMuiElement:rf,unstable_ownerDocument:of,unstable_ownerWindow:af,unstable_requirePropFactory:lf,unstable_setRef:sf,unstable_useEnhancedEffect:uf,unstable_useId:pf,unstable_unsupportedProp:ff,unstable_useControlled:hf,unstable_useEventCallback:mf,unstable_useForkRef:gf,unstable_useIsFocusVisible:Cf,unstable_getScrollbarSize:Of,unstable_detectScrollType:Rf,unstable_getNormalizedScrollLeft:function(e,t){const n=e.scrollLeft;if("rtl"!==t)return n;switch(Rf()){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n;default:return n}},usePreviousProps:e=>{const t=g.exports.useRef({});return g.exports.useEffect((()=>{t.current=e})),t.current},visuallyHidden:{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:-1,overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"},integerPropType:Mf,internal_resolveProps:Af,unstable_composeClasses:Lf,unstable_generateUtilityClass:$f,unstable_generateUtilityClasses:_f,unstable_ClassNameGenerator:jf});function zf(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 Df(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:a}=e;if(!t){const e=vp(null==o?void 0:o.className,null==r?void 0:r.className,a,null==n?void 0:n.className),t=yp({},null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),i=yp({},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}(yp({},o,r)),l=zf(r),s=zf(o),u=t(i),c=vp(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=yp({},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=yp({},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 Bf=["elementType","externalSlotProps","ownerState"];function Wf(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o}=e,a=kp(e,Bf),i=wp(r,o),{props:l,internalRef:s}=Df(yp({},a,{externalSlotProps:i}));return xp(n,yp({},l,{ref:gf(s,gf(null==i?void 0:i.ref,null==(t=e.additionalProps)?void 0:t.ref))}),o)}function Uf(e){return void 0!==e.normalize?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e}function Vf(e,t){for(let n=0;n<e.length;n+=1)if(t(e[n]))return n;return-1}const qf=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=Uf(u));const c=u?e.filter((e=>{let r=(a||s)(e);return n&&(r=r.toLowerCase()),t&&(r=Uf(r)),"start"===o?0===r.indexOf(u):r.indexOf(u)>-1})):e;return"number"==typeof r?c.slice(0,r):c}}();function Hf(e){const{autoComplete:t=!1,autoHighlight:n=!1,autoSelect:r=!1,blurOnSelect:o=!1,clearOnBlur:a=!e.freeSolo,clearOnEscape:i=!1,componentName:l="useAutocomplete",defaultValue:s=(e.multiple?[]:null),disableClearable:u=!1,disableCloseOnSelect:c=!1,disabled:d,disabledItemsFocusable:p=!1,disableListWrap:f=!1,filterOptions:h=qf,filterSelectedOptions:m=!1,freeSolo:v=!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:A,open:L,openOnFocus:I=!1,options:j,readOnly:N=!1,selectOnFocus:$=!e.freeSolo,value:_}=e,F=pf(k);let z=b;z=e=>{const t=b(e);return"string"!=typeof t?String(t):t};const D=g.exports.useRef(!1),B=g.exports.useRef(!0),W=g.exports.useRef(null),U=g.exports.useRef(null),[V,q]=g.exports.useState(null),[H,K]=g.exports.useState(-1),G=n?0:-1,Q=g.exports.useRef(G),[Y,X]=hf({controlled:_,default:s,name:l}),[Z,J]=hf({controlled:E,default:"",name:l,state:"inputValue"}),[ee,te]=g.exports.useState(!1),ne=g.exports.useCallback(((e,t)=>{if(!(O?Y.length<t.length:null!==t)&&!a)return;let n;if(O)n="";else if(null==t)n="";else{const e=z(t);n="string"==typeof e?e:""}Z!==n&&(J(n),M&&M(e,n,"reset"))}),[z,Z,O,M,J,a,Y]),re=g.exports.useRef();g.exports.useEffect((()=>{const e=Y!==re.current;re.current=Y,ee&&!e||v&&!e||ne(null,Y)}),[Y,ne,ee,re,v]);const[oe,ae]=hf({controlled:L,default:!1,name:l,state:"open"}),[ie,le]=g.exports.useState(!0),se=!O&&null!=Y&&Z===z(Y),ue=oe&&!N,ce=ue?h(j.filter((e=>!m||!(O?Y:[Y]).some((t=>null!==t&&C(e,t))))),{inputValue:se&&ie?"":Z,getOptionLabel:z}):[],de=oe&&ce.length>0&&!N,pe=mf((e=>{-1===e?W.current.focus():V.querySelector(`[data-tag-index="${e}"]`).focus()}));g.exports.useEffect((()=>{O&&H>Y.length-1&&(K(-1),pe(-1))}),[Y,O,H,pe]);const fe=mf((({event:e,index:t,reason:n="auto"})=>{if(Q.current=t,-1===t?W.current.removeAttribute("aria-activedescendant"):W.current.setAttribute("aria-activedescendant",`${F}-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=mf((({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=!p&&(!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 G;if("start"===n)return 0;if("end"===n)return e;const t=Q.current+n;return t<0?-1===t&&S?-1:f&&-1!==Q.current||Math.abs(n)>1?0:e:t>e?t===e+1&&S?-1:f||Math.abs(n)>1?e:0:t})(),r);if(fe({index:a,reason:o,event:e}),t&&"reset"!==n)if(-1===a)W.current.value=Z;else{const e=z(ce[a]);W.current.value=e;0===e.toLowerCase().indexOf(Z.toLowerCase())&&Z.length>0&&W.current.setSelectionRange(Z.length,e.length)}})),me=g.exports.useCallback((()=>{if(!ue)return;const e=O?Y[0]:Y;if(0!==ce.length&&null!=e){if(U.current)if(null==e)Q.current>=ce.length-1?fe({index:ce.length-1}):fe({index:Q.current});else{const t=ce[Q.current];if(O&&t&&-1!==Vf(Y,(e=>C(t,e))))return;const n=Vf(ce,(t=>C(t,e)));-1===n?he({diff:"reset"}):fe({index:n})}}else he({diff:"reset"})}),[ce.length,!O&&Y,m,he,fe,ue,Z,O]),ge=mf((e=>{sf(U,e),e&&me()}));g.exports.useEffect((()=>{me()}),[me]);const ve=e=>{oe||(ae(!0),le(!0),A&&A(e))},ye=(e,t)=>{oe&&(ae(!1),R&&R(e,t))},be=(e,t,n,r)=>{if(O){if(Y.length===t.length&&Y.every(((e,n)=>e===t[n])))return}else if(Y===t)return;P&&P(e,t,n,r),X(t)},xe=g.exports.useRef(!1),we=(e,t,n="selectOption",r="options")=>{let a=n,i=t;if(O){i=Array.isArray(Y)?Y.slice():[];const e=Vf(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}),c||e&&(e.ctrlKey||e.metaKey)||ye(e,a),(!0===o||"touch"===o&&xe.current||"mouse"===o&&!xe.current)&&W.current.blur()};const ke=(e,t)=>{if(!O)return;""===Z&&ye(e,"toggleInput");let n=H;-1===H?""===Z&&"previous"===t&&(n=Y.length-1):(n+="next"===t?1:-1,n<0&&(n=0),n===Y.length&&(n=-1)),n=function(e,t){if(-1===e)return-1;let n=e;for(;;){if("next"===t&&n===Y.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,J(""),M&&M(e,"","clear"),be(e,O?[]:null,"clear")},Ee=e=>n=>{if(e.onKeyDown&&e.onKeyDown(n),!n.defaultMuiPrevented&&(-1!==H&&-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:-5,direction:"previous",reason:"keyboard",event:n}),ve(n);break;case"PageDown":n.preventDefault(),he({diff:5,direction:"next",reason:"keyboard",event:n}),ve(n);break;case"ArrowDown":n.preventDefault(),he({diff:1,direction:"next",reason:"keyboard",event:n}),ve(n);break;case"ArrowUp":n.preventDefault(),he({diff:-1,direction:"previous",reason:"keyboard",event:n}),ve(n);break;case"ArrowLeft":ke(n,"previous");break;case"ArrowRight":ke(n,"next");break;case"Enter":if(-1!==Q.current&&ue){const e=ce[Q.current],r=!!y&&y(e);if(n.preventDefault(),r)return;we(n,e,"selectOption"),t&&W.current.setSelectionRange(W.current.value.length,W.current.value.length)}else v&&""!==Z&&!1===se&&(O&&n.preventDefault(),we(n,Z,"createOption","freeSolo"));break;case"Escape":ue?(n.preventDefault(),n.stopPropagation(),ye(n,"escape")):i&&(""!==Z||O&&Y.length>0)&&(n.preventDefault(),n.stopPropagation(),Se(n));break;case"Backspace":if(O&&!N&&""===Z&&Y.length>0){const e=-1===H?Y.length-1:H,t=Y.slice();t.splice(e,1),be(n,t,"removeOption",{option:Y[e]})}}},Ce=e=>{te(!0),I&&!D.current&&ve(e)},Oe=e=>{null!==U.current&&U.current.parentElement.contains(document.activeElement)?W.current.focus():(te(!1),B.current=!0,D.current=!1,r&&-1!==Q.current&&ue?we(e,ce[Q.current],"blur"):r&&v&&""!==Z?we(e,Z,"blur","freeSolo"):a&&ne(e,Y),ye(e,"blur"))},Pe=e=>{const t=e.target.value;Z!==t&&(J(t),le(!1),M&&M(e,t,"input")),""===t?u||O||be(e,null,"clear"):ve(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},Ae=e=>t=>{const n=Y.slice();n.splice(e,1),be(t,n,"removeOption",{option:Y[e]})},Le=e=>{oe?ye(e,"toggleInput"):ve(e)},Ie=e=>{e.target.getAttribute("id")!==F&&e.preventDefault()},je=()=>{W.current.focus(),$&&B.current&&W.current.selectionEnd-W.current.selectionStart==0&&W.current.select(),B.current=!1},Ne=e=>{""!==Z&&oe||Le(e)};let $e=v&&Z.length>0;$e=$e||(O?Y.length>0:null!==Y);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}),[])),d&&ee&&Oe(),{getRootProps:(e={})=>yp({"aria-owns":de?`${F}-listbox`:null},e,{onKeyDown:Ee(e),onMouseDown:Ie,onClick:je}),getInputLabelProps:()=>({id:`${F}-label`,htmlFor:F}),getInputProps:()=>({id:F,value:Z,onBlur:Oe,onFocus:Ce,onChange:Pe,onMouseDown:Ne,"aria-activedescendant":ue?"":null,"aria-autocomplete":t?"both":"list","aria-controls":de?`${F}-listbox`:void 0,"aria-expanded":de,autoComplete:"off",ref:W,autoCapitalize:"none",spellCheck:"false",role:"combobox"}),getClearProps:()=>({tabIndex:-1,onClick:Se}),getPopupIndicatorProps:()=>({tabIndex:-1,onClick:Le}),getTagProps:({index:e})=>yp({key:e,"data-tag-index":e,tabIndex:-1},!N&&{onDelete:Ae(e)}),getListboxProps:()=>({role:"listbox",id:`${F}-listbox`,"aria-labelledby":`${F}-label`,ref:ge,onMouseDown:e=>{e.preventDefault()}}),getOptionProps:({index:e,option:t})=>{const n=(O?Y:[Y]).some((e=>null!=e&&C(t,e))),r=!!y&&y(t);return{key:z(t),tabIndex:-1,role:"option",id:`${F}-option-${e}`,onMouseOver:Re,onClick:Me,onTouchStart:Te,"data-option-index":e,"aria-disabled":r,"aria-selected":n}},id:F,inputValue:Z,value:Y,dirty:$e,popupOpen:ue,focused:ee||-1!==H,anchorEl:V,setAnchorEl:q,focusedTag:H,groupedOptions:_e}}var Kf={exports:{}},Gf={},Qf=g.exports,Yf=60103;if(Gf.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var Xf=Symbol.for;Yf=Xf("react.element"),Gf.Fragment=Xf("react.fragment")}var Zf=Qf.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Jf=Object.prototype.hasOwnProperty,eh={key:!0,ref:!0,__self:!0,__source:!0};function th(e,t,n){var r,o={},a=null,i=null;for(r in void 0!==n&&(a=""+n),void 0!==t.key&&(a=""+t.key),void 0!==t.ref&&(i=t.ref),t)Jf.call(t,r)&&!eh.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:Yf,type:e,key:a,ref:i,props:o,_owner:Zf.current}}Gf.jsx=th,Gf.jsxs=th,function(e){e.exports=Gf}(Kf);const nh=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function rh(e){const t=[],n=[];return Array.from(e.querySelectorAll(nh)).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 oh(){return!0}function ah(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:a=rh,isEnabled:i=oh,open:l}=e,s=g.exports.useRef(),u=g.exports.useRef(null),c=g.exports.useRef(null),d=g.exports.useRef(null),p=g.exports.useRef(null),f=g.exports.useRef(!1),h=g.exports.useRef(null),m=gf(t.ref,h),v=g.exports.useRef(null);g.exports.useEffect((()=>{l&&h.current&&(f.current=!n)}),[n,l]),g.exports.useEffect((()=>{if(!l||!h.current)return;const e=of(h.current);return h.current.contains(e.activeElement)||(h.current.hasAttribute("tabIndex")||h.current.setAttribute("tabIndex",-1),f.current&&h.current.focus()),()=>{o||(d.current&&d.current.focus&&(s.current=!0,d.current.focus()),d.current=null)}}),[l]),g.exports.useEffect((()=>{if(!l||!h.current)return;const e=of(h.current),t=t=>{const{current:n}=h;if(null!==n)if(e.hasFocus()&&!r&&i()&&!s.current){if(!n.contains(e.activeElement)){if(t&&p.current!==t.target||e.activeElement!==p.current)p.current=null;else if(null!==p.current)return;if(!f.current)return;let r=[];if(e.activeElement!==u.current&&e.activeElement!==c.current||(r=a(h.current)),r.length>0){var o,l;const e=Boolean((null==(o=v.current)?void 0:o.shiftKey)&&"Tab"===(null==(l=v.current)?void 0:l.key)),t=r[0],n=r[r.length-1];e?n.focus():t.focus()}else n.focus()}}else s.current=!1},n=t=>{v.current=t,!r&&i()&&"Tab"===t.key&&e.activeElement===h.current&&t.shiftKey&&(s.current=!0,c.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,l,a]);const y=e=>{null===d.current&&(d.current=e.relatedTarget),f.current=!0};return Kf.exports.jsxs(g.exports.Fragment,{children:[Kf.exports.jsx("div",{tabIndex:l?0:-1,onFocus:y,ref:u,"data-testid":"sentinelStart"}),g.exports.cloneElement(t,{ref:m,onFocus:e=>{null===d.current&&(d.current=e.relatedTarget),f.current=!0,p.current=e.target;const n=t.props.onFocus;n&&n(e)}}),Kf.exports.jsx("div",{tabIndex:l?0:-1,onFocus:y,ref:c,"data-testid":"sentinelEnd"})]})}var ih="top",lh="bottom",sh="right",uh="left",ch="auto",dh=[ih,lh,sh,uh],ph="start",fh="end",hh="viewport",mh="popper",gh=dh.reduce((function(e,t){return e.concat([t+"-"+ph,t+"-"+fh])}),[]),vh=[].concat(dh,[ch]).reduce((function(e,t){return e.concat([t,t+"-"+ph,t+"-"+fh])}),[]),yh=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function bh(e){return e?(e.nodeName||"").toLowerCase():null}function xh(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function wh(e){return e instanceof xh(e).Element||e instanceof Element}function kh(e){return e instanceof xh(e).HTMLElement||e instanceof HTMLElement}function Sh(e){return"undefined"!=typeof ShadowRoot&&(e instanceof xh(e).ShadowRoot||e instanceof ShadowRoot)}var Eh={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];kh(o)&&bh(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}),{});kh(r)&&bh(r)&&(Object.assign(r.style,a),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};function Ch(e){return e.split("-")[0]}var Oh=Math.max,Ph=Math.min,Rh=Math.round;function Th(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function Mh(){return!/^((?!chrome|android).)*safari/i.test(Th())}function Ah(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,a=1;t&&kh(e)&&(o=e.offsetWidth>0&&Rh(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Rh(r.height)/e.offsetHeight||1);var i=(wh(e)?xh(e):window).visualViewport,l=!Mh()&&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 Lh(e){var t=Ah(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 Ih(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Sh(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function jh(e){return xh(e).getComputedStyle(e)}function Nh(e){return["table","td","th"].indexOf(bh(e))>=0}function $h(e){return((wh(e)?e.ownerDocument:e.document)||window.document).documentElement}function _h(e){return"html"===bh(e)?e:e.assignedSlot||e.parentNode||(Sh(e)?e.host:null)||$h(e)}function Fh(e){return kh(e)&&"fixed"!==jh(e).position?e.offsetParent:null}function zh(e){for(var t=xh(e),n=Fh(e);n&&Nh(n)&&"static"===jh(n).position;)n=Fh(n);return n&&("html"===bh(n)||"body"===bh(n)&&"static"===jh(n).position)?t:n||function(e){var t=/firefox/i.test(Th());if(/Trident/i.test(Th())&&kh(e)&&"fixed"===jh(e).position)return null;var n=_h(e);for(Sh(n)&&(n=n.host);kh(n)&&["html","body"].indexOf(bh(n))<0;){var r=jh(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 Dh(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Bh(e,t,n){return Oh(e,Ph(t,n))}function Wh(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Uh(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var Vh={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=Ch(n.placement),s=Dh(l),u=[uh,sh].indexOf(l)>=0?"height":"width";if(a&&i){var c=function(e,t){return Wh("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Uh(e,dh))}(o.padding,n),d=Lh(a),p="y"===s?ih:uh,f="y"===s?lh:sh,h=n.rects.reference[u]+n.rects.reference[s]-i[s]-n.rects.popper[u],m=i[s]-n.rects.reference[s],g=zh(a),v=g?"y"===s?g.clientHeight||0:g.clientWidth||0:0,y=h/2-m/2,b=c[p],x=v-d[u]-c[f],w=v/2-d[u]/2+y,k=Bh(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)))&&Ih(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function qh(e){return e.split("-")[1]}var Hh={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Kh(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,g="function"==typeof c?c({x:f,y:m}):{x:f,y:m};f=g.x,m=g.y;var v=i.hasOwnProperty("x"),y=i.hasOwnProperty("y"),b=uh,x=ih,w=window;if(u){var k=zh(n),S="clientHeight",E="clientWidth";if(k===xh(n)&&"static"!==jh(k=$h(n)).position&&"absolute"===l&&(S="scrollHeight",E="scrollWidth"),o===ih||(o===uh||o===sh)&&a===fh)x=lh,m-=(d&&k===w&&w.visualViewport?w.visualViewport.height:k[S])-r.height,m*=s?1:-1;if(o===uh||(o===ih||o===lh)&&a===fh)b=sh,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&&Hh),P=!0===c?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:Rh(t*r)/r||0,y:Rh(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]=v?"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]=v?f+"px":"",t.transform="",t))}var Gh={passive:!0};var Qh={left:"right",right:"left",bottom:"top",top:"bottom"};function Yh(e){return e.replace(/left|right|bottom|top/g,(function(e){return Qh[e]}))}var Xh={start:"end",end:"start"};function Zh(e){return e.replace(/start|end/g,(function(e){return Xh[e]}))}function Jh(e){var t=xh(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function em(e){return Ah($h(e)).left+Jh(e).scrollLeft}function tm(e){var t=jh(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function nm(e){return["html","body","#document"].indexOf(bh(e))>=0?e.ownerDocument.body:kh(e)&&tm(e)?e:nm(_h(e))}function rm(e,t){var n;void 0===t&&(t=[]);var r=nm(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=xh(r),i=o?[a].concat(a.visualViewport||[],tm(r)?r:[]):r,l=t.concat(i);return o?l:l.concat(rm(_h(i)))}function om(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function am(e,t,n){return t===hh?om(function(e,t){var n=xh(e),r=$h(e),o=n.visualViewport,a=r.clientWidth,i=r.clientHeight,l=0,s=0;if(o){a=o.width,i=o.height;var u=Mh();(u||!u&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:a,height:i,x:l+em(e),y:s}}(e,n)):wh(t)?function(e,t){var n=Ah(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):om(function(e){var t,n=$h(e),r=Jh(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=Oh(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=Oh(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+em(e),s=-r.scrollTop;return"rtl"===jh(o||n).direction&&(l+=Oh(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:l,y:s}}($h(e)))}function im(e,t,n,r){var o="clippingParents"===t?function(e){var t=rm(_h(e)),n=["absolute","fixed"].indexOf(jh(e).position)>=0&&kh(e)?zh(e):e;return wh(n)?t.filter((function(e){return wh(e)&&Ih(e,n)&&"body"!==bh(e)})):[]}(e):[].concat(t),a=[].concat(o,[n]),i=a[0],l=a.reduce((function(t,n){var o=am(e,n,r);return t.top=Oh(o.top,t.top),t.right=Ph(o.right,t.right),t.bottom=Ph(o.bottom,t.bottom),t.left=Oh(o.left,t.left),t}),am(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 lm(e){var t,n=e.reference,r=e.element,o=e.placement,a=o?Ch(o):null,i=o?qh(o):null,l=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(a){case ih:t={x:l,y:n.y-r.height};break;case lh:t={x:l,y:n.y+n.height};break;case sh:t={x:n.x+n.width,y:s};break;case uh:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var u=a?Dh(a):null;if(null!=u){var c="y"===u?"height":"width";switch(i){case ph:t[u]=t[u]-(n[c]/2-r[c]/2);break;case fh:t[u]=t[u]+(n[c]/2-r[c]/2)}}return t}function sm(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?"clippingParents":l,u=n.rootBoundary,c=void 0===u?hh:u,d=n.elementContext,p=void 0===d?mh:d,f=n.altBoundary,h=void 0!==f&&f,m=n.padding,g=void 0===m?0:m,v=Wh("number"!=typeof g?g:Uh(g,dh)),y=p===mh?"reference":mh,b=e.rects.popper,x=e.elements[h?y:p],w=im(wh(x)?x:x.contextElement||$h(e.elements.popper),s,c,i),k=Ah(e.elements.reference),S=lm({reference:k,element:b,strategy:"absolute",placement:o}),E=om(Object.assign({},b,S)),C=p===mh?E:k,O={top:w.top-C.top+v.top,bottom:C.bottom-w.bottom+v.bottom,left:w.left-C.left+v.left,right:C.right-w.right+v.right},P=e.modifiersData.offset;if(p===mh&&P){var R=P[o];Object.keys(O).forEach((function(e){var t=[sh,lh].indexOf(e)>=0?1:-1,n=[ih,lh].indexOf(e)>=0?"y":"x";O[e]+=R[n]*t}))}return O}function um(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?vh:s,c=qh(r),d=c?l?gh:gh.filter((function(e){return qh(e)===c})):dh,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]=sm(e,{placement:n,boundary:o,rootBoundary:a,padding:i})[Ch(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}var cm={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,g=t.options.placement,v=Ch(g),y=s||(v===g||!h?[Yh(g)]:function(e){if(Ch(e)===ch)return[];var t=Yh(e);return[Zh(e),t,Zh(t)]}(g)),b=[g].concat(y).reduce((function(e,n){return e.concat(Ch(n)===ch?um(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=Ch(O),R=qh(O)===ph,T=[ih,lh].indexOf(P)>=0,M=T?"width":"height",A=sm(t,{placement:O,boundary:c,rootBoundary:d,altBoundary:p,padding:u}),L=T?R?sh:uh:R?lh:ih;x[M]>w[M]&&(L=Yh(L));var I=Yh(L),j=[];if(a&&j.push(A[P]<=0),l&&j.push(A[L]<=0,A[I]<=0),j.every((function(e){return e}))){E=O,S=!1;break}k.set(O,j)}if(S)for(var N=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"},$=h?3:1;$>0;$--){if("break"===N($))break}t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function dm(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 pm(e){return[ih,sh,lh,uh].some((function(t){return e[t]>=0}))}var fm={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=vh.reduce((function(e,n){return e[n]=function(e,t,n){var r=Ch(e),o=[uh,ih].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,[uh,sh].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 hm={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,g=sm(t,{boundary:s,rootBoundary:u,padding:d,altBoundary:c}),v=Ch(t.placement),y=qh(t.placement),b=!y,x=Dh(v),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?ih:uh,A="y"===x?lh:sh,L="y"===x?"height":"width",I=k[x],j=I+g[M],N=I-g[A],$=f?-E[L]/2:0,_=y===ph?S[L]:E[L],F=y===ph?-E[L]:-S[L],z=t.elements.arrow,D=f&&z?Lh(z):{width:0,height:0},B=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},W=B[M],U=B[A],V=Bh(0,S[L],D[L]),q=b?S[L]/2-$-V-W-O.mainAxis:_-V-W-O.mainAxis,H=b?-S[L]/2+$+V+U+O.mainAxis:F+V+U+O.mainAxis,K=t.elements.arrow&&zh(t.elements.arrow),G=K?"y"===x?K.clientTop||0:K.clientLeft||0:0,Q=null!=(T=null==P?void 0:P[x])?T:0,Y=I+H-Q,X=Bh(f?Ph(j,I+q-Q-G):j,I,f?Oh(N,Y):N);k[x]=X,R[x]=X-I}if(l){var Z,J="x"===x?ih:uh,ee="x"===x?lh:sh,te=k[w],ne="y"===w?"height":"width",re=te+g[J],oe=te-g[ee],ae=-1!==[ih,uh].indexOf(v),ie=null!=(Z=null==P?void 0:P[w])?Z: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=Bh(e,t,n);return r>n?n:r}(le,te,se):Bh(f?le:re,te,f?se:oe);k[w]=ue,R[w]=ue-te}t.modifiersData[r]=R}},requiresIfExists:["offset"]};function mm(e,t,n){void 0===n&&(n=!1);var r,o,a=kh(t),i=kh(t)&&function(e){var t=e.getBoundingClientRect(),n=Rh(t.width)/e.offsetWidth||1,r=Rh(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),l=$h(t),s=Ah(e,i,n),u={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(a||!a&&!n)&&(("body"!==bh(t)||tm(l))&&(u=(r=t)!==xh(r)&&kh(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:Jh(r)),kh(t)?((c=Ah(t,!0)).x+=t.clientLeft,c.y+=t.clientTop):l&&(c.x=em(l))),{x:s.left+u.scrollLeft-c.x,y:s.top+u.scrollTop-c.y,width:s.width,height:s.height}}function gm(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 vm={placement:"bottom",modifiers:[],strategy:"absolute"};function ym(){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 bm(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,a=void 0===o?vm:o;return function(e,t,n){void 0===n&&(n=a);var o,i,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},vm,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:wh(e)?rm(e):e.contextElement?rm(e.contextElement):[],popper:rm(t)};var i,u,p=function(e){var t=gm(e);return yh.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(ym(t,n)){l.rects={reference:mm(t,zh(n),"fixed"===l.options.strategy),popper:Lh(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(!ym(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 xm=bm({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=xh(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach((function(e){e.addEventListener("scroll",n.update,Gh)})),l&&s.addEventListener("resize",n.update,Gh),function(){a&&u.forEach((function(e){e.removeEventListener("scroll",n.update,Gh)})),l&&s.removeEventListener("resize",n.update,Gh)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=lm({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:Ch(t.placement),variation:qh(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,Kh(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,Kh(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:{}},Eh,fm,cm,hm,Vh,{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=sm(t,{elementContext:"reference"}),l=sm(t,{altBoundary:!0}),s=dm(i,r),u=dm(l,o,a),c=pm(s),d=pm(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 wm=g.exports.forwardRef((function(e,t){const{children:n,container:r,disablePortal:o=!1}=e,[a,i]=g.exports.useState(null),l=gf(g.exports.isValidElement(n)?n.ref:null,t);return uf((()=>{o||i(function(e){return"function"==typeof e?e():e}(r)||document.body)}),[r,o]),uf((()=>{if(a&&!o)return sf(t,a),()=>{sf(t,null)}}),[t,a,o]),o?g.exports.isValidElement(n)?g.exports.cloneElement(n,{ref:l}):n:Kf.exports.jsx(g.exports.Fragment,{children:a?te.exports.createPortal(n,a):a})}));function km(e){return $f("MuiPopperUnstyled",e)}_f("MuiPopperUnstyled",["root"]);const Sm=["anchorEl","children","component","components","componentsProps","direction","disablePortal","modifiers","open","ownerState","placement","popperOptions","popperRef","TransitionProps"],Em=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition"];function Cm(e){return"function"==typeof e?e():e}const Om={},Pm=g.exports.forwardRef((function(e,t){var n;const{anchorEl:r,children:o,component:a,components:i={},componentsProps:l={},direction:s,disablePortal:u,modifiers:c,open:d,ownerState:p,placement:f,popperOptions:h,popperRef:m,TransitionProps:v}=e,y=kp(e,Sm),b=g.exports.useRef(null),x=gf(b,t),w=g.exports.useRef(null),k=gf(w,m),S=g.exports.useRef(k);uf((()=>{S.current=k}),[k]),g.exports.useImperativeHandle(m,(()=>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}}(f,s),[C,O]=g.exports.useState(E);g.exports.useEffect((()=>{w.current&&w.current.forceUpdate()})),uf((()=>{if(!r||!d)return;Cm(r);let e=[{name:"preventOverflow",options:{altBoundary:u}},{name:"flip",options:{altBoundary:u}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{O(e.placement)}}];null!=c&&(e=e.concat(c)),h&&null!=h.modifiers&&(e=e.concat(h.modifiers));const t=xm(Cm(r),b.current,yp({placement:E},h,{modifiers:e}));return S.current(t),()=>{t.destroy(),S.current(null)}}),[r,u,c,d,h,E]);const P={placement:C};null!==v&&(P.TransitionProps=v);const R=Lf({root:["root"]},km,{}),T=null!=(n=null!=a?a:i.Root)?n:"div",M=Wf({elementType:T,externalSlotProps:l.root,externalForwardedProps:y,additionalProps:{role:"tooltip",ref:x},ownerState:yp({},e,p),className:R.root});return Kf.exports.jsx(T,yp({},M,{children:"function"==typeof o?o(P):o}))})),Rm=g.exports.forwardRef((function(e,t){const{anchorEl:n,children:r,container:o,direction:a="ltr",disablePortal:i=!1,keepMounted:l=!1,modifiers:s,open:u,placement:c="bottom",popperOptions:d=Om,popperRef:p,style:f,transition:h=!1}=e,m=kp(e,Em),[v,y]=g.exports.useState(!0);if(!l&&!u&&(!h||v))return null;const b=o||(n?of(Cm(n)).body:void 0);return Kf.exports.jsx(wm,{disablePortal:i,container:b,children:Kf.exports.jsx(Pm,yp({anchorEl:n,direction:a,disablePortal:i,modifiers:s,ref:t,open:h?!v:u,placement:c,popperOptions:d,popperRef:p},m,{style:yp({position:"fixed",top:0,left:0,display:u||!l||h&&!v?null:"none"},f),TransitionProps:h?{in:u,onEnter:()=>{y(!1)},onExited:()=>{y(!0)}}:null,children:r}))})}));var Tm=Rm;function Mm(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Am(e){return parseInt(af(e).getComputedStyle(e).paddingRight,10)||0}function Lm(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&&Mm(e,o)}))}function Im(e,t){let n=-1;return e.some(((e,r)=>!!t(e)&&(n=r,!0))),n}function jm(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=of(e);return t.body===e?af(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=Of(of(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${Am(r)+e}px`;const t=of(r).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${Am(t)+e}px`}))}let e;if(r.parentNode instanceof DocumentFragment)e=of(r).body;else{const t=r.parentElement,n=af(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 Nm(e){return $f("MuiModal",e)}_f("MuiModal",["root","hidden"]);const $m=["children","classes","closeAfterTransition","component","components","componentsProps","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","onTransitionEnter","onTransitionExited"];const _m=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&&Mm(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);Lm(t,e.mount,e.modalRef,r,!0);const o=Im(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=Im(this.containers,(t=>-1!==t.modals.indexOf(e))),r=this.containers[n];r.restore||(r.restore=jm(r,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(-1===n)return n;const r=Im(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&&Mm(e.modalRef,t),Lm(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&&Mm(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};var Fm=g.exports.forwardRef((function(e,t){var n;const{children:r,classes:o,closeAfterTransition:a=!1,component:i="div",components:l={},componentsProps:s={},container:u,disableAutoFocus:c=!1,disableEnforceFocus:d=!1,disableEscapeKeyDown:p=!1,disablePortal:f=!1,disableRestoreFocus:h=!1,disableScrollLock:m=!1,hideBackdrop:v=!1,keepMounted:y=!1,manager:b=_m,onBackdropClick:x,onClose:w,onKeyDown:k,open:S,onTransitionEnter:E,onTransitionExited:C}=e,O=kp(e,$m),[P,R]=g.exports.useState(!0),T=g.exports.useRef({}),M=g.exports.useRef(null),A=g.exports.useRef(null),L=gf(A,t),I=function(e){return!!e.children&&e.children.props.hasOwnProperty("in")}(e),j=null==(n=e["aria-hidden"])||n,N=()=>(T.current.modalRef=A.current,T.current.mountNode=M.current,T.current),$=()=>{b.mount(N(),{disableScrollLock:m}),A.current.scrollTop=0},_=mf((()=>{const e=function(e){return"function"==typeof e?e():e}(u)||of(M.current).body;b.add(N(),e),A.current&&$()})),F=g.exports.useCallback((()=>b.isTopModal(N())),[b]),z=mf((e=>{M.current=e,e&&(S&&F()?$():Mm(A.current,j))})),D=g.exports.useCallback((()=>{b.remove(N(),j)}),[b,j]);g.exports.useEffect((()=>()=>{D()}),[D]),g.exports.useEffect((()=>{S?_():I&&a||D()}),[S,D,I,a,_]);const B=yp({},e,{classes:o,closeAfterTransition:a,disableAutoFocus:c,disableEnforceFocus:d,disableEscapeKeyDown:p,disablePortal:f,disableRestoreFocus:h,disableScrollLock:m,exited:P,hideBackdrop:v,keepMounted:y}),W=(e=>{const{open:t,exited:n,classes:r}=e;return Lf({root:["root",!t&&n&&"hidden"]},Nm,r)})(B),U=()=>{R(!1),E&&E()},V=()=>{R(!0),C&&C(),a&&D()},q={};void 0===r.props.tabIndex&&(q.tabIndex="-1"),I&&(q.onEnter=ef(U,r.props.onEnter),q.onExited=ef(V,r.props.onExited));const H=l.Root||i,K=Wf({elementType:H,externalSlotProps:s.root,externalForwardedProps:O,additionalProps:{ref:L,role:"presentation",onKeyDown:e=>{k&&k(e),"Escape"===e.key&&F()&&(p||(e.stopPropagation(),w&&w(e,"escapeKeyDown")))}},className:W.root,ownerState:B}),G=l.Backdrop,Q=Wf({elementType:G,externalSlotProps:s.backdrop,additionalProps:{"aria-hidden":!0,onClick:e=>{e.target===e.currentTarget&&(x&&x(e),w&&w(e,"backdropClick"))},open:S},ownerState:B});return y||S||I&&!P?Kf.exports.jsx(wm,{ref:z,container:u,disablePortal:f,children:Kf.exports.jsxs(H,yp({},K,{children:[!v&&G?Kf.exports.jsx(G,yp({},Q)):null,Kf.exports.jsx(ah,{disableEnforceFocus:d,disableAutoFocus:c,disableRestoreFocus:h,isEnabled:F,open:S,children:g.exports.cloneElement(r,q)})]}))}):null}));const zm=["onChange","maxRows","minRows","style","value"];function Dm(e,t){return parseInt(e[t],10)||0}const Bm={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function Wm(e){return null==e||0===Object.keys(e).length}const Um=g.exports.forwardRef((function(e,t){const{onChange:n,maxRows:r,minRows:o=1,style:a,value:i}=e,l=kp(e,zm),{current:s}=g.exports.useRef(null!=i),u=g.exports.useRef(null),c=gf(t,u),d=g.exports.useRef(null),p=g.exports.useRef(0),[f,h]=g.exports.useState({}),m=g.exports.useCallback((()=>{const t=u.current,n=af(t).getComputedStyle(t);if("0px"===n.width)return{};const a=d.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=Dm(n,"padding-bottom")+Dm(n,"padding-top"),s=Dm(n,"border-bottom-width")+Dm(n,"border-top-width"),c=a.scrollHeight;a.value="x";const p=a.scrollHeight;let f=c;o&&(f=Math.max(Number(o)*p,f)),r&&(f=Math.min(Number(r)*p,f)),f=Math.max(f,p);return{outerHeightStyle:f+("border-box"===i?l+s:0),overflow:Math.abs(f-c)<=1}}),[r,o,e.placeholder]),v=(e,t)=>{const{outerHeightStyle:n,overflow:r}=t;return p.current<20&&(n>0&&Math.abs((e.outerHeightStyle||0)-n)>1||e.overflow!==r)?(p.current+=1,{overflow:r,outerHeightStyle:n}):e},y=g.exports.useCallback((()=>{const e=m();Wm(e)||h((t=>v(t,e)))}),[m]);g.exports.useEffect((()=>{const e=tf((()=>{p.current=0,u.current&&(()=>{const e=m();Wm(e)||te.exports.flushSync((()=>{h((t=>v(t,e)))}))})()})),t=af(u.current);let n;return t.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(n=new ResizeObserver(e),n.observe(u.current)),()=>{e.clear(),t.removeEventListener("resize",e),n&&n.disconnect()}})),uf((()=>{y()})),g.exports.useEffect((()=>{p.current=0}),[i]);return Kf.exports.jsxs(g.exports.Fragment,{children:[Kf.exports.jsx("textarea",yp({value:i,onChange:e=>{p.current=0,s||y(),n&&n(e)},ref:c,rows:o,style:yp({height:f.outerHeightStyle,overflow:f.overflow?"hidden":null},a)},l)),Kf.exports.jsx("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:d,tabIndex:-1,style:yp({},Bm,a,{padding:0})})]})}));var Vm=Um;function qm(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}!function(e){function t(){return e.exports=t=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},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}({exports:{}});var Hm=/^((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)-.*))$/,Km=qm((function(e){return Hm.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));function Gm(){return Gm=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},Gm.apply(this,arguments)}var Qm=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}(),Ym={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",g="@font-face",v="@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 A(e,t){return t.push(e),e}function L(e,t){return e.map(t).join("")}function I(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 j(e,t){return w(I("",null,null,"",null,null,0),e,{length:-e.length},t)}function N(){return e.character}function $(){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 F(){return P(e.characters,e.position)}function z(){return e.position}function D(t,n){return R(e.characters,t,n)}function B(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 W(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,Q(91===t?t+2:40===t?t+1:t)))}function q(e){return U(K(W(e)))}function H(t){for(;(e.character=F())&&e.character<33;)_();return B(t)>2||B(e.character)>3?"":" "}function K(t){for(;_();)switch(B(e.character)){case 0:A(X(e.position-1),t);break;case 2:A(V(e.character),t);break;default:A(x(e.character),t)}return t}function G(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,z()+(n<6&&32==F()&&32==_()))}function Q(t){for(;_();)switch(e.character){case t:return e.position;case 34:case 39:34!==t&&39!==t&&Q(e.character);break;case 40:41===t&&Q(t);break;case 92:_()}return e.position}function Y(t,n){for(;_()&&t+e.character!==57&&(t+e.character!==84||47!==F()););return"/*"+D(n,e.position-1)+"*"+x(47===t?t:_())}function X(t){for(;!B(F());)_();return D(t,e.position)}function Z(e){return U(J("",null,null,null,[""],e=W(e),0,[0],e))}function J(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,g=1,v=1,y=0,b="",w=o,k=a,S=r,E=b;g;)switch(h=y,y=_()){case 40:if(108!=h&&58==E.charCodeAt(d-1)){-1!=O(E+=C(V(y),"&","&\f"),"&\f")&&(v=-1);break}case 34:case 39:case 91:E+=V(y);break;case 9:case 10:case 13:case 32:E+=H(h);break;case 92:E+=G(z()-1,7);continue;case 47:switch(F()){case 42:case 47:A(te(Y(_(),z()),t,n),s);break;default:E+="/"}break;case 123*m:l[u++]=T(E)*v;case 125*m:case 59:case 0:switch(y){case 0:case 125:g=0;case 59+c:f>0&&T(E)-d&&A(f>32?ne(E+";",r,n,d-1):ne(C(E," ","")+";",r,n,d-2),s);break;case 59:E+=";";default:if(A(S=ee(E,t,n,u,c,o,l,b,w=[],k=[],d),a),123===y)if(0===c)J(E,t,S,S,w,a,d,l,k);else switch(p){case 100:case 109:case 115:J(e,S,S,r&&A(ee(e,S,S,0,0,o,l,b,o,w=[],d),k),o,k,d,l,r?w:k);break;default:J(E,S,S,S,[""],k,0,l,k)}}u=c=f=0,m=v=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==$())continue;switch(E+=x(y),y*m){case 38:v=c>0?1:(E+="\f",-1);break;case 44:l[u++]=(T(E)-1)*v,v=1;break;case 64:45===F()&&(E+=V(_())),p=F(),c=d=T(b=E+=X(z())),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,g=0,v=0;m<r;++m)for(var y=0,x=R(e,p+1,p=b(g=l[m])),w=e;y<h;++y)(w=S(g>0?f[y]+" "+x:C(x,/&\f/g,f[y])))&&(u[v++]=w);return I(e,t,n,0===o?a:s,u,c,d)}function te(e,t,n){return I(e,t,n,o,x(N()),R(e,2,-2),0)}function ne(e,t,n,r){return I(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([j(e,{value:C(e.value,"@","@"+r)})],s);case a:if(e.length)return L(e.props,(function(o){switch(E(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return oe([j(e,{props:[C(o,/:(read-\w+)/,":"+n+"$1")]})],s);case"::placeholder":return oe([j(e,{props:[C(o,/:(plac\w+)/,":"+r+"input-$1")]}),j(e,{props:[C(o,/:(plac\w+)/,":"+n+"$1")]}),j(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 L(q(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=v,e.DECLARATION=i,e.DOCUMENT=f,e.FONT_FACE=g,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=W,e.append=A,e.assign=w,e.caret=z,e.char=N,e.charat=P,e.combine=L,e.comment=te,e.commenter=Y,e.compile=Z,e.copy=j,e.dealloc=U,e.declaration=ne,e.delimit=V,e.delimiter=Q,e.escaping=G,e.from=x,e.hash=k,e.identifier=X,e.indexof=O,e.match=E,e.middleware=ie,e.namespace=ue,e.next=_,e.node=I,e.parse=J,e.peek=F,e.prefix=re,e.prefixer=se,e.prev=$,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=B,e.tokenize=q,e.tokenizer=K,e.trim=S,e.whitespace=H,Object.defineProperty(e,"__esModule",{value:!0})}(t)}(0,Ym.exports);var Xm=function(e,t,n){for(var r=0,o=0;r=o,o=Ym.exports.peek(),38===r&&12===o&&(t[n]=1),!Ym.exports.token(o);)Ym.exports.next();return Ym.exports.slice(e,Ym.exports.position)},Zm=function(e,t){return Ym.exports.dealloc(function(e,t){var n=-1,r=44;do{switch(Ym.exports.token(r)){case 0:38===r&&12===Ym.exports.peek()&&(t[n]=1),e[n]+=Xm(Ym.exports.position-1,t,n);break;case 2:e[n]+=Ym.exports.delimit(r);break;case 4:if(44===r){e[++n]=58===Ym.exports.peek()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Ym.exports.from(r)}}while(r=Ym.exports.next());return e}(Ym.exports.alloc(e),t))},Jm=new WeakMap,eg=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)||Jm.get(n))&&!r){Jm.set(e,!0);for(var o=[],a=Zm(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]}}},tg=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},ng="undefined"!=typeof document,rg=ng?void 0: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}}((function(){return qm((function(){var e={};return function(t){return e[t]}}))})),og=[Ym.exports.prefixer],ag=function(e){var t=e.key;if(ng&&"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||og,i={},l=[];ng&&(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=[eg,tg];if(ng){var u,c=[Ym.exports.stringify,Ym.exports.rulesheet((function(e){u.insert(e)}))],d=Ym.exports.middleware(s.concat(a,c));o=function(e,t,n,r){u=n,function(e){Ym.exports.serialize(Ym.exports.compile(e),d)}(e?e+"{"+t.styles+"}":t.styles),r&&(g.inserted[t.name]=!0)}}else{var p=[Ym.exports.stringify],f=Ym.exports.middleware(s.concat(a,p)),h=rg(a)(t),m=function(e,t){var n=t.name;return void 0===h[n]&&(h[n]=function(e){return Ym.exports.serialize(Ym.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===g.compat?(r&&(g.inserted[o]=!0),a):r?void(g.inserted[o]=a):a}}var g={key:t,sheet:new Qm({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 g.sheet.hydrate(l),g},ig={exports:{}},lg={},sg="function"==typeof Symbol&&Symbol.for,ug=sg?Symbol.for("react.element"):60103,cg=sg?Symbol.for("react.portal"):60106,dg=sg?Symbol.for("react.fragment"):60107,pg=sg?Symbol.for("react.strict_mode"):60108,fg=sg?Symbol.for("react.profiler"):60114,hg=sg?Symbol.for("react.provider"):60109,mg=sg?Symbol.for("react.context"):60110,gg=sg?Symbol.for("react.async_mode"):60111,vg=sg?Symbol.for("react.concurrent_mode"):60111,yg=sg?Symbol.for("react.forward_ref"):60112,bg=sg?Symbol.for("react.suspense"):60113,xg=sg?Symbol.for("react.suspense_list"):60120,wg=sg?Symbol.for("react.memo"):60115,kg=sg?Symbol.for("react.lazy"):60116,Sg=sg?Symbol.for("react.block"):60121,Eg=sg?Symbol.for("react.fundamental"):60117,Cg=sg?Symbol.for("react.responder"):60118,Og=sg?Symbol.for("react.scope"):60119;function Pg(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case ug:switch(e=e.type){case gg:case vg:case dg:case fg:case pg:case bg:return e;default:switch(e=e&&e.$$typeof){case mg:case yg:case kg:case wg:case hg:return e;default:return t}}case cg:return t}}}function Rg(e){return Pg(e)===vg}lg.AsyncMode=gg,lg.ConcurrentMode=vg,lg.ContextConsumer=mg,lg.ContextProvider=hg,lg.Element=ug,lg.ForwardRef=yg,lg.Fragment=dg,lg.Lazy=kg,lg.Memo=wg,lg.Portal=cg,lg.Profiler=fg,lg.StrictMode=pg,lg.Suspense=bg,lg.isAsyncMode=function(e){return Rg(e)||Pg(e)===gg},lg.isConcurrentMode=Rg,lg.isContextConsumer=function(e){return Pg(e)===mg},lg.isContextProvider=function(e){return Pg(e)===hg},lg.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===ug},lg.isForwardRef=function(e){return Pg(e)===yg},lg.isFragment=function(e){return Pg(e)===dg},lg.isLazy=function(e){return Pg(e)===kg},lg.isMemo=function(e){return Pg(e)===wg},lg.isPortal=function(e){return Pg(e)===cg},lg.isProfiler=function(e){return Pg(e)===fg},lg.isStrictMode=function(e){return Pg(e)===pg},lg.isSuspense=function(e){return Pg(e)===bg},lg.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===dg||e===vg||e===fg||e===pg||e===bg||e===xg||"object"==typeof e&&null!==e&&(e.$$typeof===kg||e.$$typeof===wg||e.$$typeof===hg||e.$$typeof===mg||e.$$typeof===yg||e.$$typeof===Eg||e.$$typeof===Cg||e.$$typeof===Og||e.$$typeof===Sg)},lg.typeOf=Pg,function(e){e.exports=lg}(ig);var Tg=ig.exports,Mg={};Mg[Tg.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Mg[Tg.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0};var Ag="undefined"!=typeof document;function Lg(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var Ig=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===Ag&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},jg=function(e,t,n){Ig(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);Ag||void 0===i||(o+=i),a=a.next}while(void 0!==a);if(!Ag&&0!==o.length)return o}};var Ng={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},$g=/[A-Z]|^ms/g,_g=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Fg=function(e){return 45===e.charCodeAt(1)},zg=function(e){return null!=e&&"boolean"!=typeof e},Dg=qm((function(e){return Fg(e)?e:e.replace($g,"-$&").toLowerCase()})),Bg=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(_g,(function(e,t,n){return Ug={name:t,styles:n,next:Ug},t}))}return 1===Ng[e]||Fg(e)||"number"!=typeof t||0===t?t:t+"px"};function Wg(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 Ug={name:n.name,styles:n.styles,next:Ug},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)Ug={name:r.name,styles:r.styles,next:Ug},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+=Wg(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]+"}":zg(i)&&(r+=Dg(a)+":"+Bg(a,i)+";");else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var l=Wg(e,t,i);switch(a){case"animation":case"animationName":r+=Dg(a)+":"+l+";";break;default:r+=a+"{"+l+"}"}}else for(var s=0;s<i.length;s++)zg(i[s])&&(r+=Dg(a)+":"+Bg(a,i[s])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=Ug,a=n(e);return Ug=o,Wg(e,t,a)}}if(null==t)return n;var i=t[n];return void 0!==i?i:n}var Ug,Vg=/label:\s*([^\s;\n{]+)\s*(;|$)/g,qg=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="";Ug=void 0;var a=e[0];null==a||void 0===a.raw?(r=!1,o+=Wg(n,t,a)):o+=a[0];for(var i=1;i<e.length;i++)o+=Wg(n,t,e[i]),r&&(o+=a[i]);Vg.lastIndex=0;for(var l,s="";null!==(l=Vg.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:Ug}},Hg={exports:{}},Kg={};Object.defineProperty(Kg,"__esModule",{value:!0});var Gg=g.exports;function Qg(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 Yg=Qg(Gg),Xg="undefined"!=typeof document,Zg=function(e){return e()},Jg=!!Yg.useInsertionEffect&&Yg.useInsertionEffect,ev=Xg&&Jg||Zg,tv=Jg||Gg.useLayoutEffect;Kg.useInsertionEffectAlwaysWithSyncFallback=ev,Kg.useInsertionEffectWithLayoutFallback=tv,function(e){e.exports=Kg}(Hg);var nv="undefined"!=typeof document,rv=g.exports.createContext("undefined"!=typeof HTMLElement?ag({key:"css"}):null),ov=rv.Provider,av=function(e){return g.exports.forwardRef((function(t,n){var r=g.exports.useContext(rv);return e(t,r,n)}))};nv||(av=function(e){return function(t){var n=g.exports.useContext(rv);return null===n?(n=ag({key:"css"}),g.exports.createElement(rv.Provider,{value:n},e(t,n))):e(t,n)}});var iv=g.exports.createContext({});!function(e){function t(){return e.exports=t=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},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}({exports:{}});var lv=av((function(e,t){var n=e.styles,r=qg([n],void 0,g.exports.useContext(iv));if(!nv){for(var o,a=r.name,i=r.styles,l=r.next;void 0!==l;)a+=" "+l.name,i+=l.styles,l=l.next;var s=!0===t.compat,u=t.insert("",{name:a,styles:i},t.sheet,s);return s?null:g.exports.createElement("style",((o={})["data-emotion"]=t.key+"-global "+a,o.dangerouslySetInnerHTML={__html:u},o.nonce=t.sheet.nonce,o))}var c=g.exports.useRef();return Hg.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])),c.current=[n,o],function(){n.flush()}}),[t]),Hg.exports.useInsertionEffectWithLayoutFallback((function(){var e=c.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==r.next&&jg(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 sv(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return qg(t)}var uv=function(){var e=sv.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_"}}},cv={exports:{}},dv={};Object.defineProperty(dv,"__esModule",{value:!0});var pv=g.exports;function fv(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 hv=fv(pv),mv="undefined"!=typeof document,gv=function(e){return e()},vv=!!hv.useInsertionEffect&&hv.useInsertionEffect,yv=mv&&vv||gv,bv=vv||pv.useLayoutEffect;dv.useInsertionEffectAlwaysWithSyncFallback=yv,dv.useInsertionEffectWithLayoutFallback=bv,function(e){e.exports=dv}(cv);var xv=Km,wv=function(e){return"theme"!==e},kv=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?xv:wv},Sv=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},Ev="undefined"!=typeof document,Cv=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;Ig(t,n,r);var o=cv.exports.useInsertionEffectAlwaysWithSyncFallback((function(){return jg(t,n,r)}));if(!Ev&&void 0!==o){for(var a,i=n.name,l=n.next;void 0!==l;)i+=" "+l.name,l=l.next;return g.exports.createElement("style",((a={})["data-emotion"]=t.key+" "+i,a.dangerouslySetInnerHTML={__html:o},a.nonce=t.sheet.nonce,a))}return null},Ov=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 l=Sv(t,n,a),s=l||kv(i),u=!s("as");return function(){var c=arguments,d=a&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&d.push("label:"+r+";"),null==c[0]||void 0===c[0].raw)d.push.apply(d,c);else{d.push(c[0][0]);for(var p=c.length,f=1;f<p;f++)d.push(c[f],c[0][f])}var h=av((function(e,t,n){var r=u&&e.as||i,a="",c=[],p=e;if(null==e.theme){for(var f in p={},e)p[f]=e[f];p.theme=g.exports.useContext(iv)}"string"==typeof e.className?a=Lg(t.registered,c,e.className):null!=e.className&&(a=e.className+" ");var h=qg(d.concat(c),t.registered,p);a+=t.key+"-"+h.name,void 0!==o&&(a+=" "+o);var m=u&&void 0===l?kv(r):s,v={};for(var y in e)u&&"as"===y||m(y)&&(v[y]=e[y]);return v.className=a,v.ref=n,g.exports.createElement(g.exports.Fragment,null,g.exports.createElement(Cv,{cache:t,serialized:h,isStringTag:"string"==typeof r}),g.exports.createElement(r,v))}));return h.displayName=void 0!==r?r:"Styled("+("string"==typeof i?i:i.displayName||i.name||"Component")+")",h.defaultProps=t.defaultProps,h.__emotion_real=h,h.__emotion_base=i,h.__emotion_styles=d,h.__emotion_forwardProp=l,Object.defineProperty(h,"toString",{value:function(){return"."+o}}),h.withComponent=function(t,r){return e(t,Gm({},n,r,{shouldForwardProp:Sv(h,r,!0)})).apply(void 0,d)},h}}.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){Ov[e]=Ov(e)}));var Pv=Ov;const Rv=ag({key:"css",prepend:!0});function Tv(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 Kf.exports.jsx(lv,{styles:r})}
|
|
27
|
+
var ce=g.exports,de=le,pe=se.exports;function fe(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!ce)throw Error(fe(227));var he=new Set,me={};function ge(e,t){ve(e,t),ve(e+"Capture",t)}function ve(e,t){for(me[e]=t,e=0;e<t.length;e++)he.add(t[e])}var ye=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),be=/^[: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]*$/,xe=Object.prototype.hasOwnProperty,we={},ke={};function Se(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 Ee={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){Ee[e]=new Se(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];Ee[t]=new Se(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){Ee[e]=new Se(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){Ee[e]=new Se(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){Ee[e]=new Se(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){Ee[e]=new Se(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){Ee[e]=new Se(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){Ee[e]=new Se(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){Ee[e]=new Se(e,5,!1,e.toLowerCase(),null,!1,!1)}));var Ce=/[\-:]([a-z])/g;function Oe(e){return e[1].toUpperCase()}function Pe(e,t,n,r){var o=Ee.hasOwnProperty(t)?Ee[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!!xe.call(ke,e)||!xe.call(we,e)&&(be.test(e)?ke[e]=!0:(we[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(Ce,Oe);Ee[t]=new Se(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(Ce,Oe);Ee[t]=new Se(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(Ce,Oe);Ee[t]=new Se(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){Ee[e]=new Se(e,1,!1,e.toLowerCase(),null,!1,!1)})),Ee.xlinkHref=new Se("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){Ee[e]=new Se(e,1,!1,e.toLowerCase(),null,!0,!0)}));var Re=ce.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Te=60103,Me=60106,Ae=60107,Le=60108,Ie=60114,je=60109,Ne=60110,$e=60112,_e=60113,Fe=60120,ze=60115,De=60116,Be=60121,We=60128,Ue=60129,Ve=60130,qe=60131;if("function"==typeof Symbol&&Symbol.for){var He=Symbol.for;Te=He("react.element"),Me=He("react.portal"),Ae=He("react.fragment"),Le=He("react.strict_mode"),Ie=He("react.profiler"),je=He("react.provider"),Ne=He("react.context"),$e=He("react.forward_ref"),_e=He("react.suspense"),Fe=He("react.suspense_list"),ze=He("react.memo"),De=He("react.lazy"),Be=He("react.block"),He("react.scope"),We=He("react.opaque.id"),Ue=He("react.debug_trace_mode"),Ve=He("react.offscreen"),qe=He("react.legacy_hidden")}var Ke,Ge="function"==typeof Symbol&&Symbol.iterator;function Qe(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Ge&&e[Ge]||e["@@iterator"])?e:null}function Ye(e){if(void 0===Ke)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Ke=t&&t[1]||""}return"\n"+Ke+e}var Xe=!1;function Ze(e,t){if(!e||Xe)return"";Xe=!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(e){if(e&&r&&"string"==typeof e.stack){for(var o=e.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])return"\n"+o[i].replace(" at new "," at ")}while(1<=i&&0<=l);break}}}finally{Xe=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Ye(e):""}function Je(e){switch(e.tag){case 5:return Ye(e.type);case 16:return Ye("Lazy");case 13:return Ye("Suspense");case 19:return Ye("SuspenseList");case 0:case 2:case 15:return e=Ze(e.type,!1);case 11:return e=Ze(e.type.render,!1);case 22:return e=Ze(e.type._render,!1);case 1:return e=Ze(e.type,!0);default:return""}}function et(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 Ae:return"Fragment";case Me:return"Portal";case Ie:return"Profiler";case Le:return"StrictMode";case _e:return"Suspense";case Fe:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case Ne:return(e.displayName||"Context")+".Consumer";case je:return(e._context.displayName||"Context")+".Provider";case $e:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case ze:return et(e.type);case Be:return et(e._render);case De:t=e._payload,e=e._init;try{return et(e(t))}catch(e){}}return null}function tt(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function nt(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function rt(e){e._valueTracker||(e._valueTracker=function(e){var t=nt(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 ot(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=nt(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function at(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 it(e,t){var n=t.checked;return de({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function lt(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=tt(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 st(e,t){null!=(t=t.checked)&&Pe(e,"checked",t,!1)}function ut(e,t){st(e,t);var n=tt(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")?dt(e,t.type,n):t.hasOwnProperty("defaultValue")&&dt(e,t.type,tt(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function ct(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 dt(e,t,n){"number"===t&&at(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function pt(e,t){return e=de({children:void 0},t),(t=function(e){var t="";return ce.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function ft(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=""+tt(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 ht(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(fe(91));return de({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function mt(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(fe(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(fe(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:tt(n)}}function gt(e,t){var n=tt(t.value),r=tt(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 vt(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var yt="http://www.w3.org/1999/xhtml",bt="http://www.w3.org/2000/svg";function xt(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 wt(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?xt(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var kt,St=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction((function(){return e(t,n)}))}:e}((function(e,t){if(e.namespaceURI!==bt||"innerHTML"in e)e.innerHTML=t;else{for((kt=kt||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=kt.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function Et(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 Ct={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ot=["Webkit","ms","Moz","O"];function Pt(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Ct.hasOwnProperty(e)&&Ct[e]?(""+t).trim():t+"px"}function Rt(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=Pt(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(Ct).forEach((function(e){Ot.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ct[t]=Ct[e]}))}));var Tt=de({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 Mt(e,t){if(t){if(Tt[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(fe(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(fe(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(fe(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(fe(62))}}function At(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Lt(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var It=null,jt=null,Nt=null;function $t(e){if(e=ca(e)){if("function"!=typeof It)throw Error(fe(280));var t=e.stateNode;t&&(t=pa(t),It(e.stateNode,e.type,t))}}function _t(e){jt?Nt?Nt.push(e):Nt=[e]:jt=e}function Ft(){if(jt){var e=jt,t=Nt;if(Nt=jt=null,$t(e),t)for(e=0;e<t.length;e++)$t(t[e])}}function zt(e,t){return e(t)}function Dt(e,t,n,r,o){return e(t,n,r,o)}function Bt(){}var Wt=zt,Ut=!1,Vt=!1;function qt(){null===jt&&null===Nt||(Bt(),Ft())}function Ht(e,t){var n=e.stateNode;if(null===n)return null;var r=pa(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(fe(231,t,typeof n));return n}var Kt=!1;if(ye)try{var Gt={};Object.defineProperty(Gt,"passive",{get:function(){Kt=!0}}),window.addEventListener("test",Gt,Gt),window.removeEventListener("test",Gt,Gt)}catch(EL){Kt=!1}function Qt(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 Yt=!1,Xt=null,Zt=!1,Jt=null,en={onError:function(e){Yt=!0,Xt=e}};function tn(e,t,n,r,o,a,i,l,s){Yt=!1,Xt=null,Qt.apply(en,arguments)}function nn(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function rn(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 on(e){if(nn(e)!==e)throw Error(fe(188))}function an(e){if(e=function(e){var t=e.alternate;if(!t){if(null===(t=nn(e)))throw Error(fe(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return on(o),e;if(a===r)return on(o),t;a=a.sibling}throw Error(fe(188))}if(n.return!==r.return)n=o,r=a;else{for(var i=!1,l=o.child;l;){if(l===n){i=!0,n=o,r=a;break}if(l===r){i=!0,r=o,n=a;break}l=l.sibling}if(!i){for(l=a.child;l;){if(l===n){i=!0,n=a,r=o;break}if(l===r){i=!0,r=a,n=o;break}l=l.sibling}if(!i)throw Error(fe(189))}}if(n.alternate!==r)throw Error(fe(190))}if(3!==n.tag)throw Error(fe(188));return n.stateNode.current===n?e:t}(e),!e)return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function ln(e,t){for(var n=e.alternate;null!==t;){if(t===e||t===n)return!0;t=t.return}return!1}var sn,un,cn,dn,pn=!1,fn=[],hn=null,mn=null,gn=null,vn=new Map,yn=new Map,bn=[],xn="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 wn(e,t,n,r,o){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:o,targetContainers:[r]}}function kn(e,t){switch(e){case"focusin":case"focusout":hn=null;break;case"dragenter":case"dragleave":mn=null;break;case"mouseover":case"mouseout":gn=null;break;case"pointerover":case"pointerout":vn.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":yn.delete(t.pointerId)}}function Sn(e,t,n,r,o,a){return null===e||e.nativeEvent!==a?(e=wn(t,n,r,o,a),null!==t&&(null!==(t=ca(t))&&un(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function En(e){var t=ua(e.target);if(null!==t){var n=nn(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=rn(n)))return e.blockedOn=t,void dn(e.lanePriority,(function(){pe.unstable_runWithPriority(e.priority,(function(){cn(n)}))}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Cn(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=ir(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=ca(n))&&un(t),e.blockedOn=n,!1;t.shift()}return!0}function On(e,t,n){Cn(e)&&n.delete(t)}function Pn(){for(pn=!1;0<fn.length;){var e=fn[0];if(null!==e.blockedOn){null!==(e=ca(e.blockedOn))&&sn(e);break}for(var t=e.targetContainers;0<t.length;){var n=ir(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&fn.shift()}null!==hn&&Cn(hn)&&(hn=null),null!==mn&&Cn(mn)&&(mn=null),null!==gn&&Cn(gn)&&(gn=null),vn.forEach(On),yn.forEach(On)}function Rn(e,t){e.blockedOn===t&&(e.blockedOn=null,pn||(pn=!0,pe.unstable_scheduleCallback(pe.unstable_NormalPriority,Pn)))}function Tn(e){function t(t){return Rn(t,e)}if(0<fn.length){Rn(fn[0],e);for(var n=1;n<fn.length;n++){var r=fn[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==hn&&Rn(hn,e),null!==mn&&Rn(mn,e),null!==gn&&Rn(gn,e),vn.forEach(t),yn.forEach(t),n=0;n<bn.length;n++)(r=bn[n]).blockedOn===e&&(r.blockedOn=null);for(;0<bn.length&&null===(n=bn[0]).blockedOn;)En(n),null===n.blockedOn&&bn.shift()}function Mn(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var An={animationend:Mn("Animation","AnimationEnd"),animationiteration:Mn("Animation","AnimationIteration"),animationstart:Mn("Animation","AnimationStart"),transitionend:Mn("Transition","TransitionEnd")},Ln={},In={};function jn(e){if(Ln[e])return Ln[e];if(!An[e])return e;var t,n=An[e];for(t in n)if(n.hasOwnProperty(t)&&t in In)return Ln[e]=n[t];return e}ye&&(In=document.createElement("div").style,"AnimationEvent"in window||(delete An.animationend.animation,delete An.animationiteration.animation,delete An.animationstart.animation),"TransitionEvent"in window||delete An.transitionend.transition);var Nn=jn("animationend"),$n=jn("animationiteration"),_n=jn("animationstart"),Fn=jn("transitionend"),zn=new Map,Dn=new Map,Bn=["abort","abort",Nn,"animationEnd",$n,"animationIteration",_n,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Fn,"transitionEnd","waiting","waiting"];function Wn(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],o=e[n+1];o="on"+(o[0].toUpperCase()+o.slice(1)),Dn.set(r,t),zn.set(r,o),ge(o,[r])}}(0,pe.unstable_now)();var Un=8;function Vn(e){if(0!=(1&e))return Un=15,1;if(0!=(2&e))return Un=14,2;if(0!=(4&e))return Un=13,4;var t=24&e;return 0!==t?(Un=12,t):0!=(32&e)?(Un=11,32):0!==(t=192&e)?(Un=10,t):0!=(256&e)?(Un=9,256):0!==(t=3584&e)?(Un=8,t):0!=(4096&e)?(Un=7,4096):0!==(t=4186112&e)?(Un=6,t):0!==(t=62914560&e)?(Un=5,t):67108864&e?(Un=4,67108864):0!=(134217728&e)?(Un=3,134217728):0!==(t=805306368&e)?(Un=2,t):0!=(1073741824&e)?(Un=1,1073741824):(Un=8,e)}function qn(e,t){var n=e.pendingLanes;if(0===n)return Un=0;var r=0,o=0,a=e.expiredLanes,i=e.suspendedLanes,l=e.pingedLanes;if(0!==a)r=a,o=Un=15;else if(0!==(a=134217727&n)){var s=a&~i;0!==s?(r=Vn(s),o=Un):0!==(l&=a)&&(r=Vn(l),o=Un)}else 0!==(a=n&~i)?(r=Vn(a),o=Un):0!==l&&(r=Vn(l),o=Un);if(0===r)return 0;if(r=n&((0>(r=31-Xn(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&0==(t&i)){if(Vn(t),o<=Un)return t;Un=o}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-Xn(t)),r|=e[n],t&=~o;return r}function Hn(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Kn(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=Gn(24&~t))?Kn(10,t):e;case 10:return 0===(e=Gn(192&~t))?Kn(8,t):e;case 8:return 0===(e=Gn(3584&~t))&&(0===(e=Gn(4186112&~t))&&(e=512)),e;case 2:return 0===(t=Gn(805306368&~t))&&(t=268435456),t}throw Error(fe(358,e))}function Gn(e){return e&-e}function Qn(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Yn(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-Xn(t)]=n}var Xn=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Zn(e)/Jn|0)|0},Zn=Math.log,Jn=Math.LN2;var er=pe.unstable_UserBlockingPriority,tr=pe.unstable_runWithPriority,nr=!0;function rr(e,t,n,r){Ut||Bt();var o=ar,a=Ut;Ut=!0;try{Dt(o,e,t,n,r)}finally{(Ut=a)||qt()}}function or(e,t,n,r){tr(er,ar.bind(null,e,t,n,r))}function ar(e,t,n,r){var o;if(nr)if((o=0==(4&t))&&0<fn.length&&-1<xn.indexOf(e))e=wn(null,e,t,n,r),fn.push(e);else{var a=ir(e,t,n,r);if(null===a)o&&kn(e,r);else{if(o){if(-1<xn.indexOf(e))return e=wn(a,e,t,n,r),void fn.push(e);if(function(e,t,n,r,o){switch(t){case"focusin":return hn=Sn(hn,e,t,n,r,o),!0;case"dragenter":return mn=Sn(mn,e,t,n,r,o),!0;case"mouseover":return gn=Sn(gn,e,t,n,r,o),!0;case"pointerover":var a=o.pointerId;return vn.set(a,Sn(vn.get(a)||null,e,t,n,r,o)),!0;case"gotpointercapture":return a=o.pointerId,yn.set(a,Sn(yn.get(a)||null,e,t,n,r,o)),!0}return!1}(a,e,t,n,r))return;kn(e,r)}Wo(e,t,r,null,n)}}}function ir(e,t,n,r){var o=Lt(r);if(null!==(o=ua(o))){var a=nn(o);if(null===a)o=null;else{var i=a.tag;if(13===i){if(null!==(o=rn(a)))return o;o=null}else if(3===i){if(a.stateNode.hydrate)return 3===a.tag?a.stateNode.containerInfo:null;o=null}else a!==o&&(o=null)}}return Wo(e,t,r,o,n),null}var lr=null,sr=null,ur=null;function cr(){if(ur)return ur;var e,t,n=sr,r=n.length,o="value"in lr?lr.value:lr.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 ur=o.slice(e,1<t?1-t:void 0)}function dr(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 pr(){return!0}function fr(){return!1}function hr(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)?pr:fr,this.isPropagationStopped=fr,this}return de(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=pr)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=pr)},persist:function(){},isPersistent:pr}),t}var mr,gr,vr,yr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},br=hr(yr),xr=de({},yr,{view:0,detail:0}),wr=hr(xr),kr=de({},xr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:jr,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!==vr&&(vr&&"mousemove"===e.type?(mr=e.screenX-vr.screenX,gr=e.screenY-vr.screenY):gr=mr=0,vr=e),mr)},movementY:function(e){return"movementY"in e?e.movementY:gr}}),Sr=hr(kr),Er=hr(de({},kr,{dataTransfer:0})),Cr=hr(de({},xr,{relatedTarget:0})),Or=hr(de({},yr,{animationName:0,elapsedTime:0,pseudoElement:0})),Pr=de({},yr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Rr=hr(Pr),Tr=hr(de({},yr,{data:0})),Mr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ar={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"},Lr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ir(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Lr[e])&&!!t[e]}function jr(){return Ir}var Nr=de({},xr,{key:function(e){if(e.key){var t=Mr[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=dr(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Ar[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:jr,charCode:function(e){return"keypress"===e.type?dr(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?dr(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),$r=hr(Nr),_r=hr(de({},kr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Fr=hr(de({},xr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:jr})),zr=hr(de({},yr,{propertyName:0,elapsedTime:0,pseudoElement:0})),Dr=de({},kr,{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}),Br=hr(Dr),Wr=[9,13,27,32],Ur=ye&&"CompositionEvent"in window,Vr=null;ye&&"documentMode"in document&&(Vr=document.documentMode);var qr=ye&&"TextEvent"in window&&!Vr,Hr=ye&&(!Ur||Vr&&8<Vr&&11>=Vr),Kr=String.fromCharCode(32),Gr=!1;function Qr(e,t){switch(e){case"keyup":return-1!==Wr.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Yr(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Xr=!1;var Zr={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 Jr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Zr[e.type]:"textarea"===t}function eo(e,t,n,r){_t(r),0<(t=Vo(t,"onChange")).length&&(n=new br("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var to=null,no=null;function ro(e){$o(e,0)}function oo(e){if(ot(da(e)))return e}function ao(e,t){if("change"===e)return t}var io=!1;if(ye){var lo;if(ye){var so="oninput"in document;if(!so){var uo=document.createElement("div");uo.setAttribute("oninput","return;"),so="function"==typeof uo.oninput}lo=so}else lo=!1;io=lo&&(!document.documentMode||9<document.documentMode)}function co(){to&&(to.detachEvent("onpropertychange",po),no=to=null)}function po(e){if("value"===e.propertyName&&oo(no)){var t=[];if(eo(t,no,e,Lt(e)),e=ro,Ut)e(t);else{Ut=!0;try{zt(e,t)}finally{Ut=!1,qt()}}}}function fo(e,t,n){"focusin"===e?(co(),no=n,(to=t).attachEvent("onpropertychange",po)):"focusout"===e&&co()}function ho(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return oo(no)}function mo(e,t){if("click"===e)return oo(t)}function go(e,t){if("input"===e||"change"===e)return oo(t)}var vo="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},yo=Object.prototype.hasOwnProperty;function bo(e,t){if(vo(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!yo.call(t,n[r])||!vo(e[n[r]],t[n[r]]))return!1;return!0}function xo(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function wo(e,t){var n,r=xo(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=xo(r)}}function ko(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?ko(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function So(){for(var e=window,t=at();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=at((e=t.contentWindow).document)}return t}function Eo(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var Co=ye&&"documentMode"in document&&11>=document.documentMode,Oo=null,Po=null,Ro=null,To=!1;function Mo(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;To||null==Oo||Oo!==at(r)||("selectionStart"in(r=Oo)&&Eo(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},Ro&&bo(Ro,r)||(Ro=r,0<(r=Vo(Po,"onSelect")).length&&(t=new br("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Oo)))}Wn("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Wn("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Wn(Bn,2);for(var Ao="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Lo=0;Lo<Ao.length;Lo++)Dn.set(Ao[Lo],0);ve("onMouseEnter",["mouseout","mouseover"]),ve("onMouseLeave",["mouseout","mouseover"]),ve("onPointerEnter",["pointerout","pointerover"]),ve("onPointerLeave",["pointerout","pointerover"]),ge("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ge("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ge("onBeforeInput",["compositionend","keypress","textInput","paste"]),ge("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ge("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ge("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Io="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),jo=new Set("cancel close invalid load scroll toggle".split(" ").concat(Io));function No(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,i,l,s){if(tn.apply(this,arguments),Yt){if(!Yt)throw Error(fe(198));var u=Xt;Yt=!1,Xt=null,Zt||(Zt=!0,Jt=u)}}(r,t,void 0,e),e.currentTarget=null}function $o(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;No(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;No(o,l,u),a=s}}}if(Zt)throw e=Jt,Zt=!1,Jt=null,e}function _o(e,t){var n=fa(t),r=e+"__bubble";n.has(r)||(Bo(t,e,2,!1),n.add(r))}var Fo="_reactListening"+Math.random().toString(36).slice(2);function zo(e){e[Fo]||(e[Fo]=!0,he.forEach((function(t){jo.has(t)||Do(t,!1,e,null),Do(t,!0,e,null)})))}function Do(e,t,n,r){var o=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,a=n;if("selectionchange"===e&&9!==n.nodeType&&(a=n.ownerDocument),null!==r&&!t&&jo.has(e)){if("scroll"!==e)return;o|=2,a=r}var i=fa(a),l=e+"__"+(t?"capture":"bubble");i.has(l)||(t&&(o|=4),Bo(a,e,o,t),i.add(l))}function Bo(e,t,n,r){var o=Dn.get(t);switch(void 0===o?2:o){case 0:o=rr;break;case 1:o=or;break;default:o=ar}n=o.bind(null,t,n,e),o=void 0,!Kt||"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 Wo(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=ua(l)))return;if(5===(s=i.tag)||6===s){r=a=i;continue e}l=l.parentNode}}r=r.return}!function(e,t,n){if(Vt)return e(t,n);Vt=!0;try{Wt(e,t,n)}finally{Vt=!1,qt()}}((function(){var r=a,o=Lt(n),i=[];e:{var l=zn.get(e);if(void 0!==l){var s=br,u=e;switch(e){case"keypress":if(0===dr(n))break e;case"keydown":case"keyup":s=$r;break;case"focusin":u="focus",s=Cr;break;case"focusout":u="blur",s=Cr;break;case"beforeblur":case"afterblur":s=Cr;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=Sr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=Er;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=Fr;break;case Nn:case $n:case _n:s=Or;break;case Fn:s=zr;break;case"scroll":s=wr;break;case"wheel":s=Br;break;case"copy":case"cut":case"paste":s=Rr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=_r}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=Ht(h,p))&&c.push(Uo(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)||0!=(16&t)||!(u=n.relatedTarget||n.fromElement)||!ua(u)&&!u[la])&&(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)?ua(u):null)&&(u!==(d=nn(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(s=null,u=r),s!==u)){if(c=Sr,m="onMouseLeave",p="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=_r,m="onPointerLeave",p="onPointerEnter",h="pointer"),d=null==s?l:da(s),f=null==u?l:da(u),(l=new c(m,h+"leave",s,n,o)).target=d,l.relatedTarget=f,m=null,ua(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=qo(f))h++;for(f=0,m=p;m;m=qo(m))f++;for(;0<h-f;)c=qo(c),h--;for(;0<f-h;)p=qo(p),f--;for(;h--;){if(c===p||null!==p&&c===p.alternate)break e;c=qo(c),p=qo(p)}c=null}else c=null;null!==s&&Ho(i,l,s,c,!1),null!==u&&null!==d&&Ho(i,d,u,c,!0)}if("select"===(s=(l=r?da(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var g=ao;else if(Jr(l))if(io)g=go;else{g=ho;var v=fo}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(g=mo);switch(g&&(g=g(e,r))?eo(i,g,n,o):(v&&v(e,l,r),"focusout"===e&&(v=l._wrapperState)&&v.controlled&&"number"===l.type&&dt(l,"number",l.value)),v=r?da(r):window,e){case"focusin":(Jr(v)||"true"===v.contentEditable)&&(Oo=v,Po=r,Ro=null);break;case"focusout":Ro=Po=Oo=null;break;case"mousedown":To=!0;break;case"contextmenu":case"mouseup":case"dragend":To=!1,Mo(i,n,o);break;case"selectionchange":if(Co)break;case"keydown":case"keyup":Mo(i,n,o)}var y;if(Ur)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 Xr?Qr(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Hr&&"ko"!==n.locale&&(Xr||"onCompositionStart"!==b?"onCompositionEnd"===b&&Xr&&(y=cr()):(sr="value"in(lr=o)?lr.value:lr.textContent,Xr=!0)),0<(v=Vo(r,b)).length&&(b=new Tr(b,e,null,n,o),i.push({event:b,listeners:v}),y?b.data=y:null!==(y=Yr(n))&&(b.data=y))),(y=qr?function(e,t){switch(e){case"compositionend":return Yr(t);case"keypress":return 32!==t.which?null:(Gr=!0,Kr);case"textInput":return(e=t.data)===Kr&&Gr?null:e;default:return null}}(e,n):function(e,t){if(Xr)return"compositionend"===e||!Ur&&Qr(e,t)?(e=cr(),ur=sr=lr=null,Xr=!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 Hr&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Vo(r,"onBeforeInput")).length&&(o=new Tr("onBeforeInput","beforeinput",null,n,o),i.push({event:o,listeners:r}),o.data=y))}$o(i,t)}))}function Uo(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Vo(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=Ht(e,n))&&r.unshift(Uo(e,a,o)),null!=(a=Ht(e,t))&&r.push(Uo(e,a,o))),e=e.return}return r}function qo(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Ho(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=Ht(n,a))&&i.unshift(Uo(n,s,l)):o||null!=(s=Ht(n,a))&&i.push(Uo(n,s,l))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}function Ko(){}var Go=null,Qo=null;function Yo(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Xo(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Zo="function"==typeof setTimeout?setTimeout:void 0,Jo="function"==typeof clearTimeout?clearTimeout:void 0;function ea(e){1===e.nodeType?e.textContent="":9===e.nodeType&&(null!=(e=e.body)&&(e.textContent=""))}function ta(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function na(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 ra=0;var oa=Math.random().toString(36).slice(2),aa="__reactFiber$"+oa,ia="__reactProps$"+oa,la="__reactContainer$"+oa,sa="__reactEvents$"+oa;function ua(e){var t=e[aa];if(t)return t;for(var n=e.parentNode;n;){if(t=n[la]||n[aa]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=na(e);null!==e;){if(n=e[aa])return n;e=na(e)}return t}n=(e=n).parentNode}return null}function ca(e){return!(e=e[aa]||e[la])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function da(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(fe(33))}function pa(e){return e[ia]||null}function fa(e){var t=e[sa];return void 0===t&&(t=e[sa]=new Set),t}var ha=[],ma=-1;function ga(e){return{current:e}}function va(e){0>ma||(e.current=ha[ma],ha[ma]=null,ma--)}function ya(e,t){ma++,ha[ma]=e.current,e.current=t}var ba={},xa=ga(ba),wa=ga(!1),ka=ba;function Sa(e,t){var n=e.type.contextTypes;if(!n)return ba;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 Ea(e){return null!=(e=e.childContextTypes)}function Ca(){va(wa),va(xa)}function Oa(e,t,n){if(xa.current!==ba)throw Error(fe(168));ya(xa,t),ya(wa,n)}function Pa(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in e))throw Error(fe(108,et(t)||"Unknown",o));return de({},n,r)}function Ra(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ba,ka=xa.current,ya(xa,e),ya(wa,wa.current),!0}function Ta(e,t,n){var r=e.stateNode;if(!r)throw Error(fe(169));n?(e=Pa(e,t,ka),r.__reactInternalMemoizedMergedChildContext=e,va(wa),va(xa),ya(xa,e)):va(wa),ya(wa,n)}var Ma=null,Aa=null,La=pe.unstable_runWithPriority,Ia=pe.unstable_scheduleCallback,ja=pe.unstable_cancelCallback,Na=pe.unstable_shouldYield,$a=pe.unstable_requestPaint,_a=pe.unstable_now,Fa=pe.unstable_getCurrentPriorityLevel,za=pe.unstable_ImmediatePriority,Da=pe.unstable_UserBlockingPriority,Ba=pe.unstable_NormalPriority,Wa=pe.unstable_LowPriority,Ua=pe.unstable_IdlePriority,Va={},qa=void 0!==$a?$a:function(){},Ha=null,Ka=null,Ga=!1,Qa=_a(),Ya=1e4>Qa?_a:function(){return _a()-Qa};function Xa(){switch(Fa()){case za:return 99;case Da:return 98;case Ba:return 97;case Wa:return 96;case Ua:return 95;default:throw Error(fe(332))}}function Za(e){switch(e){case 99:return za;case 98:return Da;case 97:return Ba;case 96:return Wa;case 95:return Ua;default:throw Error(fe(332))}}function Ja(e,t){return e=Za(e),La(e,t)}function ei(e,t,n){return e=Za(e),Ia(e,t,n)}function ti(){if(null!==Ka){var e=Ka;Ka=null,ja(e)}ni()}function ni(){if(!Ga&&null!==Ha){Ga=!0;var e=0;try{var t=Ha;Ja(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Ha=null}catch(t){throw null!==Ha&&(Ha=Ha.slice(e+1)),Ia(za,ti),t}finally{Ga=!1}}}var ri=Re.ReactCurrentBatchConfig;function oi(e,t){if(e&&e.defaultProps){for(var n in t=de({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var ai=ga(null),ii=null,li=null,si=null;function ui(){si=li=ii=null}function ci(e){var t=ai.current;va(ai),e.type._context._currentValue=t}function di(e,t){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)===t){if(null===n||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,null!==n&&(n.childLanes|=t);e=e.return}}function pi(e,t){ii=e,si=li=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(Ul=!0),e.firstContext=null)}function fi(e,t){if(si!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(si=e,t=1073741823),t={context:e,observedBits:t,next:null},null===li){if(null===ii)throw Error(fe(308));li=t,ii.dependencies={lanes:0,firstContext:t,responders:null}}else li=li.next=t;return e._currentValue}var hi=!1;function mi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function gi(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 vi(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function yi(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function bi(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 xi(e,t,n,r){var o=e.updateQueue;hi=!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;if(null!==c){var d=(c=c.updateQueue).lastBaseUpdate;d!==i&&(null===d?c.firstBaseUpdate=u:d.next=u,c.lastBaseUpdate=s)}}if(null!==a){for(d=o.baseState,i=0,c=u=s=null;;){l=a.lane;var p=a.eventTime;if((r&l)===l){null!==c&&(c=c.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var f=e,h=a;switch(l=t,p=n,h.tag){case 1:if("function"==typeof(f=h.payload)){d=f.call(p,d,l);break e}d=f;break e;case 3:f.flags=-4097&f.flags|64;case 0:if(null==(l="function"==typeof(f=h.payload)?f.call(p,d,l):f))break e;d=de({},d,l);break e;case 2:hi=!0}}null!==a.callback&&(e.flags|=32,null===(l=o.effects)?o.effects=[a]:l.push(a))}else p={eventTime:p,lane:l,tag:a.tag,payload:a.payload,callback:a.callback,next:null},null===c?(u=c=p,s=d):c=c.next=p,i|=l;if(null===(a=a.next)){if(null===(l=o.shared.pending))break;a=l.next,l.next=null,o.lastBaseUpdate=l,o.shared.pending=null}}null===c&&(s=d),o.baseState=s,o.firstBaseUpdate=u,o.lastBaseUpdate=c,Ks|=i,e.lanes=i,e.memoizedState=d}}function wi(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(fe(191,o));o.call(r)}}}var ki=(new ce.Component).refs;function Si(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:de({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Ei={isMounted:function(e){return!!(e=e._reactInternals)&&nn(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=yu(),o=bu(e),a=vi(r,o);a.payload=t,null!=n&&(a.callback=n),yi(e,a),xu(e,o,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=yu(),o=bu(e),a=vi(r,o);a.tag=1,a.payload=t,null!=n&&(a.callback=n),yi(e,a),xu(e,o,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=yu(),r=bu(e),o=vi(n,r);o.tag=2,null!=t&&(o.callback=t),yi(e,o),xu(e,r,n)}};function Ci(e,t,n,r,o,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,i):!t.prototype||!t.prototype.isPureReactComponent||(!bo(n,r)||!bo(o,a))}function Oi(e,t,n){var r=!1,o=ba,a=t.contextType;return"object"==typeof a&&null!==a?a=fi(a):(o=Ea(t)?ka:xa.current,a=(r=null!=(r=t.contextTypes))?Sa(e,o):ba),t=new t(n,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Ei,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function Pi(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Ei.enqueueReplaceState(t,t.state,null)}function Ri(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=ki,mi(e);var a=t.contextType;"object"==typeof a&&null!==a?o.context=fi(a):(a=Ea(t)?ka:xa.current,o.context=Sa(e,a)),xi(e,n,o,r),o.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&(Si(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&&Ei.enqueueReplaceState(o,o.state,null),xi(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4)}var Ti=Array.isArray;function Mi(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(fe(309));var r=n.stateNode}if(!r)throw Error(fe(147,e));var o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:(t=function(e){var t=r.refs;t===ki&&(t=r.refs={}),null===e?delete t[o]:t[o]=e},t._stringRef=o,t)}if("string"!=typeof e)throw Error(fe(284));if(!n._owner)throw Error(fe(290,e))}return e}function Ai(e,t){if("textarea"!==e.type)throw Error(fe(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function Li(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.flags=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Zu(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags=2,n):r:(t.flags=2,n):n}function i(t){return e&&null===t.alternate&&(t.flags=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=nc(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function s(e,t,n,r){return null!==t&&t.elementType===n.type?((r=o(t,n.props)).ref=Mi(e,t,n),r.return=e,r):((r=Ju(n.type,n.key,n.props,null,e.mode,r)).ref=Mi(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=rc(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function c(e,t,n,r,a){return null===t||7!==t.tag?((t=ec(n,e.mode,r,a)).return=e,t):((t=o(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=nc(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case Te:return(n=Ju(t.type,t.key,t.props,null,e.mode,n)).ref=Mi(e,null,t),n.return=e,n;case Me:return(t=rc(t,e.mode,n)).return=e,t}if(Ti(t)||Qe(t))return(t=ec(t,e.mode,n,null)).return=e,t;Ai(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case Te:return n.key===o?n.type===Ae?c(e,t,n.props.children,r,o):s(e,t,n,r):null;case Me:return n.key===o?u(e,t,n,r):null}if(Ti(n)||Qe(n))return null!==o?null:c(e,t,n,r,null);Ai(e,n)}return null}function f(e,t,n,r,o){if("string"==typeof r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case Te:return e=e.get(null===r.key?n:r.key)||null,r.type===Ae?c(t,e,r.props.children,o,r.key):s(t,e,r,o);case Me:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(Ti(r)||Qe(r))return c(t,e=e.get(n)||null,r,o,null);Ai(t,r)}return null}function h(o,i,l,s){for(var u=null,c=null,h=i,m=i=0,g=null;null!==h&&m<l.length;m++){h.index>m?(g=h,h=null):g=h.sibling;var v=p(o,h,l[m],s);if(null===v){null===h&&(h=g);break}e&&h&&null===v.alternate&&t(o,h),i=a(v,i,m),null===c?u=v:c.sibling=v,c=v,h=g}if(m===l.length)return n(o,h),u;if(null===h){for(;m<l.length;m++)null!==(h=d(o,l[m],s))&&(i=a(h,i,m),null===c?u=h:c.sibling=h,c=h);return u}for(h=r(o,h);m<l.length;m++)null!==(g=f(h,o,m,l[m],s))&&(e&&null!==g.alternate&&h.delete(null===g.key?m:g.key),i=a(g,i,m),null===c?u=g:c.sibling=g,c=g);return e&&h.forEach((function(e){return t(o,e)})),u}function m(o,i,l,s){var u=Qe(l);if("function"!=typeof u)throw Error(fe(150));if(null==(l=u.call(l)))throw Error(fe(151));for(var c=u=null,h=i,m=i=0,g=null,v=l.next();null!==h&&!v.done;m++,v=l.next()){h.index>m?(g=h,h=null):g=h.sibling;var y=p(o,h,v.value,s);if(null===y){null===h&&(h=g);break}e&&h&&null===y.alternate&&t(o,h),i=a(y,i,m),null===c?u=y:c.sibling=y,c=y,h=g}if(v.done)return n(o,h),u;if(null===h){for(;!v.done;m++,v=l.next())null!==(v=d(o,v.value,s))&&(i=a(v,i,m),null===c?u=v:c.sibling=v,c=v);return u}for(h=r(o,h);!v.done;m++,v=l.next())null!==(v=f(h,o,m,v.value,s))&&(e&&null!==v.alternate&&h.delete(null===v.key?m:v.key),i=a(v,i,m),null===c?u=v:c.sibling=v,c=v);return e&&h.forEach((function(e){return t(o,e)})),u}return function(e,r,a,l){var s="object"==typeof a&&null!==a&&a.type===Ae&&null===a.key;s&&(a=a.props.children);var u="object"==typeof a&&null!==a;if(u)switch(a.$$typeof){case Te:e:{for(u=a.key,s=r;null!==s;){if(s.key===u){if(7===s.tag){if(a.type===Ae){n(e,s.sibling),(r=o(s,a.props.children)).return=e,e=r;break e}}else if(s.elementType===a.type){n(e,s.sibling),(r=o(s,a.props)).ref=Mi(e,s,a),r.return=e,e=r;break e}n(e,s);break}t(e,s),s=s.sibling}a.type===Ae?((r=ec(a.props.children,e.mode,l,a.key)).return=e,e=r):((l=Ju(a.type,a.key,a.props,null,e.mode,l)).ref=Mi(e,r,a),l.return=e,e=l)}return i(e);case Me:e:{for(s=a.key;null!==r;){if(r.key===s){if(4===r.tag&&r.stateNode.containerInfo===a.containerInfo&&r.stateNode.implementation===a.implementation){n(e,r.sibling),(r=o(r,a.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=rc(a,e.mode,l)).return=e,e=r}return i(e)}if("string"==typeof a||"number"==typeof a)return a=""+a,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,a)).return=e,e=r):(n(e,r),(r=nc(a,e.mode,l)).return=e,e=r),i(e);if(Ti(a))return h(e,r,a,l);if(Qe(a))return m(e,r,a,l);if(u&&Ai(e,a),void 0===a&&!s)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(fe(152,et(e.type)||"Component"))}return n(e,r)}}var Ii=Li(!0),ji=Li(!1),Ni={},$i=ga(Ni),_i=ga(Ni),Fi=ga(Ni);function zi(e){if(e===Ni)throw Error(fe(174));return e}function Di(e,t){switch(ya(Fi,t),ya(_i,e),ya($i,Ni),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:wt(null,"");break;default:t=wt(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}va($i),ya($i,t)}function Bi(){va($i),va(_i),va(Fi)}function Wi(e){zi(Fi.current);var t=zi($i.current),n=wt(t,e.type);t!==n&&(ya(_i,e),ya($i,n))}function Ui(e){_i.current===e&&(va($i),va(_i))}var Vi=ga(0);function qi(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.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 Hi=null,Ki=null,Gi=!1;function Qi(e,t){var n=Yu(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Yi(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function Xi(e){if(Gi){var t=Ki;if(t){var n=t;if(!Yi(e,t)){if(!(t=ta(n.nextSibling))||!Yi(e,t))return e.flags=-1025&e.flags|2,Gi=!1,void(Hi=e);Qi(Hi,n)}Hi=e,Ki=ta(t.firstChild)}else e.flags=-1025&e.flags|2,Gi=!1,Hi=e}}function Zi(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Hi=e}function Ji(e){if(e!==Hi)return!1;if(!Gi)return Zi(e),Gi=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Xo(t,e.memoizedProps))for(t=Ki;t;)Qi(e,t),t=ta(t.nextSibling);if(Zi(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(fe(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Ki=ta(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Ki=null}}else Ki=Hi?ta(e.stateNode.nextSibling):null;return!0}function el(){Ki=Hi=null,Gi=!1}var tl=[];function nl(){for(var e=0;e<tl.length;e++)tl[e]._workInProgressVersionPrimary=null;tl.length=0}var rl=Re.ReactCurrentDispatcher,ol=Re.ReactCurrentBatchConfig,al=0,il=null,ll=null,sl=null,ul=!1,cl=!1;function dl(){throw Error(fe(321))}function pl(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!vo(e[n],t[n]))return!1;return!0}function fl(e,t,n,r,o,a){if(al=a,il=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,rl.current=null===e||null===e.memoizedState?zl:Dl,e=n(r,o),cl){a=0;do{if(cl=!1,!(25>a))throw Error(fe(301));a+=1,sl=ll=null,t.updateQueue=null,rl.current=Bl,e=n(r,o)}while(cl)}if(rl.current=Fl,t=null!==ll&&null!==ll.next,al=0,sl=ll=il=null,ul=!1,t)throw Error(fe(300));return e}function hl(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===sl?il.memoizedState=sl=e:sl=sl.next=e,sl}function ml(){if(null===ll){var e=il.alternate;e=null!==e?e.memoizedState:null}else e=ll.next;var t=null===sl?il.memoizedState:sl.next;if(null!==t)sl=t,ll=e;else{if(null===e)throw Error(fe(310));e={memoizedState:(ll=e).memoizedState,baseState:ll.baseState,baseQueue:ll.baseQueue,queue:ll.queue,next:null},null===sl?il.memoizedState=sl=e:sl=sl.next=e}return sl}function gl(e,t){return"function"==typeof t?t(e):t}function vl(e){var t=ml(),n=t.queue;if(null===n)throw Error(fe(311));n.lastRenderedReducer=e;var r=ll,o=r.baseQueue,a=n.pending;if(null!==a){if(null!==o){var i=o.next;o.next=a.next,a.next=i}r.baseQueue=o=a,n.pending=null}if(null!==o){o=o.next,r=r.baseState;var l=i=a=null,s=o;do{var u=s.lane;if((al&u)===u)null!==l&&(l=l.next={lane:0,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null}),r=s.eagerReducer===e?s.eagerState:e(r,s.action);else{var c={lane:u,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null};null===l?(i=l=c,a=r):l=l.next=c,il.lanes|=u,Ks|=u}s=s.next}while(null!==s&&s!==o);null===l?a=r:l.next=i,vo(r,t.memoizedState)||(Ul=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function yl(e){var t=ml(),n=t.queue;if(null===n)throw Error(fe(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var i=o=o.next;do{a=e(a,i.action),i=i.next}while(i!==o);vo(a,t.memoizedState)||(Ul=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function bl(e,t,n){var r=t._getVersion;r=r(t._source);var o=t._workInProgressVersionPrimary;if(null!==o?e=o===r:(e=e.mutableReadLanes,(e=(al&e)===e)&&(t._workInProgressVersionPrimary=r,tl.push(t))),e)return n(t._source);throw tl.push(t),Error(fe(350))}function xl(e,t,n,r){var o=zs;if(null===o)throw Error(fe(349));var a=t._getVersion,i=a(t._source),l=rl.current,s=l.useState((function(){return bl(o,t,n)})),u=s[1],c=s[0];s=sl;var d=e.memoizedState,p=d.refs,f=p.getSnapshot,h=d.source;d=d.subscribe;var m=il;return e.memoizedState={refs:p,source:t,subscribe:r},l.useEffect((function(){p.getSnapshot=n,p.setSnapshot=u;var e=a(t._source);if(!vo(i,e)){e=n(t._source),vo(c,e)||(u(e),e=bu(m),o.mutableReadLanes|=e&o.pendingLanes),e=o.mutableReadLanes,o.entangledLanes|=e;for(var r=o.entanglements,l=e;0<l;){var s=31-Xn(l),d=1<<s;r[s]|=e,l&=~d}}}),[n,t,r]),l.useEffect((function(){return r(t._source,(function(){var e=p.getSnapshot,n=p.setSnapshot;try{n(e(t._source));var r=bu(m);o.mutableReadLanes|=r&o.pendingLanes}catch(e){n((function(){throw e}))}}))}),[t,r]),vo(f,n)&&vo(h,t)&&vo(d,r)||((e={pending:null,dispatch:null,lastRenderedReducer:gl,lastRenderedState:c}).dispatch=u=_l.bind(null,il,e),s.queue=e,s.baseQueue=null,c=bl(o,t,n),s.memoizedState=s.baseState=c),c}function wl(e,t,n){return xl(ml(),e,t,n)}function kl(e){var t=hl();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:gl,lastRenderedState:e}).dispatch=_l.bind(null,il,e),[t.memoizedState,e]}function Sl(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=il.updateQueue)?(t={lastEffect:null},il.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 El(e){return e={current:e},hl().memoizedState=e}function Cl(){return ml().memoizedState}function Ol(e,t,n,r){var o=hl();il.flags|=e,o.memoizedState=Sl(1|t,n,void 0,void 0===r?null:r)}function Pl(e,t,n,r){var o=ml();r=void 0===r?null:r;var a=void 0;if(null!==ll){var i=ll.memoizedState;if(a=i.destroy,null!==r&&pl(r,i.deps))return void Sl(t,n,a,r)}il.flags|=e,o.memoizedState=Sl(1|t,n,a,r)}function Rl(e,t){return Ol(516,4,e,t)}function Tl(e,t){return Pl(516,4,e,t)}function Ml(e,t){return Pl(4,2,e,t)}function Al(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 Ll(e,t,n){return n=null!=n?n.concat([e]):null,Pl(4,2,Al.bind(null,t,e),n)}function Il(){}function jl(e,t){var n=ml();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&pl(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Nl(e,t){var n=ml();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&pl(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function $l(e,t){var n=Xa();Ja(98>n?98:n,(function(){e(!0)})),Ja(97<n?97:n,(function(){var n=ol.transition;ol.transition=1;try{e(!1),t()}finally{ol.transition=n}}))}function _l(e,t,n){var r=yu(),o=bu(e),a={lane:o,action:n,eagerReducer:null,eagerState:null,next:null},i=t.pending;if(null===i?a.next=a:(a.next=i.next,i.next=a),t.pending=a,i=e.alternate,e===il||null!==i&&i===il)cl=ul=!0;else{if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var l=t.lastRenderedState,s=i(l,n);if(a.eagerReducer=i,a.eagerState=s,vo(s,l))return}catch(e){}xu(e,o,r)}}var Fl={readContext:fi,useCallback:dl,useContext:dl,useEffect:dl,useImperativeHandle:dl,useLayoutEffect:dl,useMemo:dl,useReducer:dl,useRef:dl,useState:dl,useDebugValue:dl,useDeferredValue:dl,useTransition:dl,useMutableSource:dl,useOpaqueIdentifier:dl,unstable_isNewReconciler:!1},zl={readContext:fi,useCallback:function(e,t){return hl().memoizedState=[e,void 0===t?null:t],e},useContext:fi,useEffect:Rl,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Ol(4,2,Al.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ol(4,2,e,t)},useMemo:function(e,t){var n=hl();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=hl();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=_l.bind(null,il,e),[r.memoizedState,e]},useRef:El,useState:kl,useDebugValue:Il,useDeferredValue:function(e){var t=kl(e),n=t[0],r=t[1];return Rl((function(){var t=ol.transition;ol.transition=1;try{r(e)}finally{ol.transition=t}}),[e]),n},useTransition:function(){var e=kl(!1),t=e[0];return El(e=$l.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=hl();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},xl(r,e,t,n)},useOpaqueIdentifier:function(){if(Gi){var e=!1,t=function(e){return{$$typeof:We,toString:e,valueOf:e}}((function(){throw e||(e=!0,n("r:"+(ra++).toString(36))),Error(fe(355))})),n=kl(t)[1];return 0==(2&il.mode)&&(il.flags|=516,Sl(5,(function(){n("r:"+(ra++).toString(36))}),void 0,null)),t}return kl(t="r:"+(ra++).toString(36)),t},unstable_isNewReconciler:!1},Dl={readContext:fi,useCallback:jl,useContext:fi,useEffect:Tl,useImperativeHandle:Ll,useLayoutEffect:Ml,useMemo:Nl,useReducer:vl,useRef:Cl,useState:function(){return vl(gl)},useDebugValue:Il,useDeferredValue:function(e){var t=vl(gl),n=t[0],r=t[1];return Tl((function(){var t=ol.transition;ol.transition=1;try{r(e)}finally{ol.transition=t}}),[e]),n},useTransition:function(){var e=vl(gl)[0];return[Cl().current,e]},useMutableSource:wl,useOpaqueIdentifier:function(){return vl(gl)[0]},unstable_isNewReconciler:!1},Bl={readContext:fi,useCallback:jl,useContext:fi,useEffect:Tl,useImperativeHandle:Ll,useLayoutEffect:Ml,useMemo:Nl,useReducer:yl,useRef:Cl,useState:function(){return yl(gl)},useDebugValue:Il,useDeferredValue:function(e){var t=yl(gl),n=t[0],r=t[1];return Tl((function(){var t=ol.transition;ol.transition=1;try{r(e)}finally{ol.transition=t}}),[e]),n},useTransition:function(){var e=yl(gl)[0];return[Cl().current,e]},useMutableSource:wl,useOpaqueIdentifier:function(){return yl(gl)[0]},unstable_isNewReconciler:!1},Wl=Re.ReactCurrentOwner,Ul=!1;function Vl(e,t,n,r){t.child=null===e?ji(t,null,n,r):Ii(t,e.child,n,r)}function ql(e,t,n,r,o){n=n.render;var a=t.ref;return pi(t,o),r=fl(e,t,n,r,a,o),null===e||Ul?(t.flags|=1,Vl(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,ds(e,t,o))}function Hl(e,t,n,r,o,a){if(null===e){var i=n.type;return"function"!=typeof i||Xu(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Ju(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Kl(e,t,i,r,o,a))}return i=e.child,0==(o&a)&&(o=i.memoizedProps,(n=null!==(n=n.compare)?n:bo)(o,r)&&e.ref===t.ref)?ds(e,t,a):(t.flags|=1,(e=Zu(i,r)).ref=t.ref,e.return=t,t.child=e)}function Kl(e,t,n,r,o,a){if(null!==e&&bo(e.memoizedProps,r)&&e.ref===t.ref){if(Ul=!1,0==(a&o))return t.lanes=e.lanes,ds(e,t,a);0!=(16384&e.flags)&&(Ul=!0)}return Yl(e,t,n,r,a)}function Gl(e,t,n){var r=t.pendingProps,o=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(0==(4&t.mode))t.memoizedState={baseLanes:0},Ru(t,n);else{if(0==(1073741824&n))return e=null!==a?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},Ru(t,e),null;t.memoizedState={baseLanes:0},Ru(t,null!==a?a.baseLanes:n)}else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,Ru(t,r);return Vl(e,t,o,n),t.child}function Ql(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function Yl(e,t,n,r,o){var a=Ea(n)?ka:xa.current;return a=Sa(t,a),pi(t,o),n=fl(e,t,n,r,a,o),null===e||Ul?(t.flags|=1,Vl(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,ds(e,t,o))}function Xl(e,t,n,r,o){if(Ea(n)){var a=!0;Ra(t)}else a=!1;if(pi(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),Oi(t,n,r),Ri(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=fi(u):u=Sa(t,u=Ea(n)?ka:xa.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)&&Pi(t,i,r,u),hi=!1;var p=t.memoizedState;i.state=p,xi(t,r,i,o),s=t.memoizedState,l!==r||p!==s||wa.current||hi?("function"==typeof c&&(Si(t,n,c,r),s=t.memoizedState),(l=hi||Ci(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|=4)):("function"==typeof i.componentDidMount&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=s),i.props=r,i.state=s,i.context=u,r=l):("function"==typeof i.componentDidMount&&(t.flags|=4),r=!1)}else{i=t.stateNode,gi(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:oi(t.type,l),i.props=u,d=t.pendingProps,p=i.context,"object"==typeof(s=n.contextType)&&null!==s?s=fi(s):s=Sa(t,s=Ea(n)?ka:xa.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)&&Pi(t,i,r,s),hi=!1,p=t.memoizedState,i.state=p,xi(t,r,i,o);var h=t.memoizedState;l!==d||p!==h||wa.current||hi?("function"==typeof f&&(Si(t,n,f,r),h=t.memoizedState),(u=hi||Ci(t,n,u,r,p,h,s))?(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|=256)):("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|=256),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|=256),r=!1)}return Zl(e,t,n,r,a,o)}function Zl(e,t,n,r,o,a){Ql(e,t);var i=0!=(64&t.flags);if(!r&&!i)return o&&Ta(t,n,!1),ds(e,t,a);r=t.stateNode,Wl.current=t;var l=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=Ii(t,e.child,null,a),t.child=Ii(t,null,l,a)):Vl(e,t,l,a),t.memoizedState=r.state,o&&Ta(t,n,!0),t.child}function Jl(e){var t=e.stateNode;t.pendingContext?Oa(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Oa(0,t.context,!1),Di(e,t.containerInfo)}var es,ts,ns,rs={dehydrated:null,retryLane:0};function os(e,t,n){var r,o=t.pendingProps,a=Vi.current,i=!1;return(r=0!=(64&t.flags))||(r=(null===e||null!==e.memoizedState)&&0!=(2&a)),r?(i=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(a|=1),ya(Vi,1&a),null===e?(void 0!==o.fallback&&Xi(t),e=o.children,a=o.fallback,i?(e=as(t,e,a,n),t.child.memoizedState={baseLanes:n},t.memoizedState=rs,e):"number"==typeof o.unstable_expectedLoadTime?(e=as(t,e,a,n),t.child.memoizedState={baseLanes:n},t.memoizedState=rs,t.lanes=33554432,e):((n=tc({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):(e.memoizedState,i?(o=ls(e,t,o.children,o.fallback,n),i=t.child,a=e.child.memoizedState,i.memoizedState=null===a?{baseLanes:n}:{baseLanes:a.baseLanes|n},i.childLanes=e.childLanes&~n,t.memoizedState=rs,o):(n=is(e,t,o.children,n),t.memoizedState=null,n))}function as(e,t,n,r){var o=e.mode,a=e.child;return t={mode:"hidden",children:t},0==(2&o)&&null!==a?(a.childLanes=0,a.pendingProps=t):a=tc(t,o,0,null),n=ec(n,o,r,null),a.return=e,n.return=e,a.sibling=n,e.child=a,n}function is(e,t,n,r){var o=e.child;return e=o.sibling,n=Zu(o,{mode:"visible",children:n}),0==(2&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}function ls(e,t,n,r,o){var a=t.mode,i=e.child;e=i.sibling;var l={mode:"hidden",children:n};return 0==(2&a)&&t.child!==i?((n=t.child).childLanes=0,n.pendingProps=l,null!==(i=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=i,i.nextEffect=null):t.firstEffect=t.lastEffect=null):n=Zu(i,l),null!==e?r=Zu(e,r):(r=ec(r,a,o,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}function ss(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),di(e.return,t)}function us(e,t,n,r,o,a){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o,lastEffect:a}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o,i.lastEffect=a)}function cs(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;if(Vl(e,t,r.children,n),0!=(2&(r=Vi.current)))r=1&r|2,t.flags|=64;else{if(null!==e&&0!=(64&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&ss(e,n);else if(19===e.tag)ss(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ya(Vi,r),0==(2&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===qi(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),us(t,!1,o,n,a,t.lastEffect);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===qi(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}us(t,!0,n,null,a,t.lastEffect);break;case"together":us(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function ds(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Ks|=t.lanes,0!=(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(fe(153));if(null!==t.child){for(n=Zu(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Zu(e,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function ps(e,t){if(!Gi)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 fs(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return Ea(t.type)&&Ca(),null;case 3:return Bi(),va(wa),va(xa),nl(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Ji(t)?t.flags|=4:r.hydrate||(t.flags|=256)),null;case 5:Ui(t);var o=zi(Fi.current);if(n=t.type,null!==e&&null!=t.stateNode)ts(e,t,n,r),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(fe(166));return null}if(e=zi($i.current),Ji(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[aa]=t,r[ia]=a,n){case"dialog":_o("cancel",r),_o("close",r);break;case"iframe":case"object":case"embed":_o("load",r);break;case"video":case"audio":for(e=0;e<Io.length;e++)_o(Io[e],r);break;case"source":_o("error",r);break;case"img":case"image":case"link":_o("error",r),_o("load",r);break;case"details":_o("toggle",r);break;case"input":lt(r,a),_o("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},_o("invalid",r);break;case"textarea":mt(r,a),_o("invalid",r)}for(var i in Mt(n,a),e=null,a)a.hasOwnProperty(i)&&(o=a[i],"children"===i?"string"==typeof o?r.textContent!==o&&(e=["children",o]):"number"==typeof o&&r.textContent!==""+o&&(e=["children",""+o]):me.hasOwnProperty(i)&&null!=o&&"onScroll"===i&&_o("scroll",r));switch(n){case"input":rt(r),ct(r,a,!0);break;case"textarea":rt(r),vt(r);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(r.onclick=Ko)}r=e,t.updateQueue=r,null!==r&&(t.flags|=4)}else{switch(i=9===o.nodeType?o:o.ownerDocument,e===yt&&(e=xt(n)),e===yt?"script"===n?((e=i.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),"select"===n&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[aa]=t,e[ia]=r,es(e,t),t.stateNode=e,i=At(n,r),n){case"dialog":_o("cancel",e),_o("close",e),o=r;break;case"iframe":case"object":case"embed":_o("load",e),o=r;break;case"video":case"audio":for(o=0;o<Io.length;o++)_o(Io[o],e);o=r;break;case"source":_o("error",e),o=r;break;case"img":case"image":case"link":_o("error",e),_o("load",e),o=r;break;case"details":_o("toggle",e),o=r;break;case"input":lt(e,r),o=it(e,r),_o("invalid",e);break;case"option":o=pt(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=de({},r,{value:void 0}),_o("invalid",e);break;case"textarea":mt(e,r),o=ht(e,r),_o("invalid",e);break;default:o=r}Mt(n,o);var l=o;for(a in l)if(l.hasOwnProperty(a)){var s=l[a];"style"===a?Rt(e,s):"dangerouslySetInnerHTML"===a?null!=(s=s?s.__html:void 0)&&St(e,s):"children"===a?"string"==typeof s?("textarea"!==n||""!==s)&&Et(e,s):"number"==typeof s&&Et(e,""+s):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(me.hasOwnProperty(a)?null!=s&&"onScroll"===a&&_o("scroll",e):null!=s&&Pe(e,a,s,i))}switch(n){case"input":rt(e),ct(e,r,!1);break;case"textarea":rt(e),vt(e);break;case"option":null!=r.value&&e.setAttribute("value",""+tt(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?ft(e,!!r.multiple,a,!1):null!=r.defaultValue&&ft(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Ko)}Yo(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)ns(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(fe(166));n=zi(Fi.current),zi($i.current),Ji(t)?(r=t.stateNode,n=t.memoizedProps,r[aa]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[aa]=t,t.stateNode=r)}return null;case 13:return va(Vi),r=t.memoizedState,0!=(64&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&Ji(t):n=null!==e.memoizedState,r&&!n&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Vi.current)?0===Vs&&(Vs=3):(0!==Vs&&3!==Vs||(Vs=4),null===zs||0==(134217727&Ks)&&0==(134217727&Gs)||Eu(zs,Bs))),(r||n)&&(t.flags|=4),null);case 4:return Bi(),null===e&&zo(t.stateNode.containerInfo),null;case 10:return ci(t),null;case 19:if(va(Vi),null===(r=t.memoizedState))return null;if(a=0!=(64&t.flags),null===(i=r.rendering))if(a)ps(r,!1);else{if(0!==Vs||null!==e&&0!=(64&e.flags))for(e=t.child;null!==e;){if(null!==(i=qi(e))){for(t.flags|=64,ps(r,!1),null!==(a=i.updateQueue)&&(t.updateQueue=a,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=2,a.nextEffect=null,a.firstEffect=null,a.lastEffect=null,null===(i=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=i.childLanes,a.lanes=i.lanes,a.child=i.child,a.memoizedProps=i.memoizedProps,a.memoizedState=i.memoizedState,a.updateQueue=i.updateQueue,a.type=i.type,e=i.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ya(Vi,1&Vi.current|2),t.child}e=e.sibling}null!==r.tail&&Ya()>Zs&&(t.flags|=64,a=!0,ps(r,!1),t.lanes=33554432)}else{if(!a)if(null!==(e=qi(i))){if(t.flags|=64,a=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),ps(r,!0),null===r.tail&&"hidden"===r.tailMode&&!i.alternate&&!Gi)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Ya()-r.renderingStartTime>Zs&&1073741824!==n&&(t.flags|=64,a=!0,ps(r,!1),t.lanes=33554432);r.isBackwards?(i.sibling=t.child,t.child=i):(null!==(n=r.last)?n.sibling=i:t.child=i,r.last=i)}return null!==r.tail?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Ya(),n.sibling=null,t=Vi.current,ya(Vi,a?1&t|2:1&t),n):null;case 23:case 24:return Tu(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(fe(156,t.tag))}function hs(e){switch(e.tag){case 1:Ea(e.type)&&Ca();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Bi(),va(wa),va(xa),nl(),0!=(64&(t=e.flags)))throw Error(fe(285));return e.flags=-4097&t|64,e;case 5:return Ui(e),null;case 13:return va(Vi),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return va(Vi),null;case 4:return Bi(),null;case 10:return ci(e),null;case 23:case 24:return Tu(),null;default:return null}}function ms(e,t){try{var n="",r=t;do{n+=Je(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}}function gs(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}es=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}},ts=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,zi($i.current);var a,i=null;switch(n){case"input":o=it(e,o),r=it(e,r),i=[];break;case"option":o=pt(e,o),r=pt(e,r),i=[];break;case"select":o=de({},o,{value:void 0}),r=de({},r,{value:void 0}),i=[];break;case"textarea":o=ht(e,o),r=ht(e,r),i=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Ko)}for(u in Mt(n,r),n=null,o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&null!=o[u])if("style"===u){var l=o[u];for(a in l)l.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(me.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var s=r[u];if(l=null!=o?o[u]:void 0,r.hasOwnProperty(u)&&s!==l&&(null!=s||null!=l))if("style"===u)if(l){for(a in l)!l.hasOwnProperty(a)||s&&s.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in s)s.hasOwnProperty(a)&&l[a]!==s[a]&&(n||(n={}),n[a]=s[a])}else n||(i||(i=[]),i.push(u,n)),n=s;else"dangerouslySetInnerHTML"===u?(s=s?s.__html:void 0,l=l?l.__html:void 0,null!=s&&l!==s&&(i=i||[]).push(u,s)):"children"===u?"string"!=typeof s&&"number"!=typeof s||(i=i||[]).push(u,""+s):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(me.hasOwnProperty(u)?(null!=s&&"onScroll"===u&&_o("scroll",e),i||l===s||(i=[])):"object"==typeof s&&null!==s&&s.$$typeof===We?s.toString():(i=i||[]).push(u,s))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}},ns=function(e,t,n,r){n!==r&&(t.flags|=4)};var vs="function"==typeof WeakMap?WeakMap:Map;function ys(e,t,n){(n=vi(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){nu||(nu=!0,ru=r),gs(0,t)},n}function bs(e,t,n){(n=vi(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return gs(0,t),r(o)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===ou?ou=new Set([this]):ou.add(this),gs(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var xs="function"==typeof WeakSet?WeakSet:Set;function ws(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Hu(e,t)}else t.current=null}function ks(e,t){switch(t.tag){case 0:case 11:case 15:case 22:case 5:case 6:case 4:case 17:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:oi(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&ea(t.stateNode.containerInfo))}throw Error(fe(163))}function Ss(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3==(3&e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var o=e;r=o.next,0!=(4&(o=o.tag))&&0!=(1&o)&&(Uu(n,e),Wu(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:oi(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&wi(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:case 1:e=n.child.stateNode}wi(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&Yo(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:case 23:case 24:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&Tn(n)))))}throw Error(fe(163))}function Es(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)"function"==typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var o=n.memoizedProps.style;o=null!=o&&o.hasOwnProperty("display")?o.display:null,r.style.display=Pt("display",o)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function Cs(e,t){if(Aa&&"function"==typeof Aa.onCommitFiberUnmount)try{Aa.onCommitFiberUnmount(Ma,t)}catch(e){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,o=r.destroy;if(r=r.tag,void 0!==o)if(0!=(4&r))Uu(t,n);else{r=t;try{o()}catch(e){Hu(r,e)}}n=n.next}while(n!==e)}break;case 1:if(ws(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){Hu(t,e)}break;case 5:ws(t);break;case 4:As(e,t)}}function Os(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function Ps(e){return 5===e.tag||3===e.tag||4===e.tag}function Rs(e){e:{for(var t=e.return;null!==t;){if(Ps(t))break e;t=t.return}throw Error(fe(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(fe(161))}16&n.flags&&(Et(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||Ps(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?Ts(e,n,t):Ms(e,n,t)}function Ts(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,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=Ko));else if(4!==r&&null!==(e=e.child))for(Ts(e,t,n),e=e.sibling;null!==e;)Ts(e,t,n),e=e.sibling}function Ms(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(Ms(e,t,n),e=e.sibling;null!==e;)Ms(e,t,n),e=e.sibling}function As(e,t){for(var n,r,o=t,a=!1;;){if(!a){a=o.return;e:for(;;){if(null===a)throw Error(fe(160));switch(n=a.stateNode,a.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}a=a.return}a=!0}if(5===o.tag||6===o.tag){e:for(var i=e,l=o,s=l;;)if(Cs(i,s),null!==s.child&&4!==s.tag)s.child.return=s,s=s.child;else{if(s===l)break e;for(;null===s.sibling;){if(null===s.return||s.return===l)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}r?(i=n,l=o.stateNode,8===i.nodeType?i.parentNode.removeChild(l):i.removeChild(l)):n.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){n=o.stateNode.containerInfo,r=!0,o.child.return=o,o=o.child;continue}}else if(Cs(e,o),null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;4===(o=o.return).tag&&(a=!1)}o.sibling.return=o.return,o=o.sibling}}function Ls(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{3==(3&r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==n)}return;case 1:case 12:case 17:return;case 5:if(null!=(n=t.stateNode)){r=t.memoizedProps;var o=null!==e?e.memoizedProps:r;e=t.type;var a=t.updateQueue;if(t.updateQueue=null,null!==a){for(n[ia]=r,"input"===e&&"radio"===r.type&&null!=r.name&&st(n,r),At(e,o),t=At(e,r),o=0;o<a.length;o+=2){var i=a[o],l=a[o+1];"style"===i?Rt(n,l):"dangerouslySetInnerHTML"===i?St(n,l):"children"===i?Et(n,l):Pe(n,i,l,t)}switch(e){case"input":ut(n,r);break;case"textarea":gt(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(a=r.value)?ft(n,!!r.multiple,a,!1):e!==!!r.multiple&&(null!=r.defaultValue?ft(n,!!r.multiple,r.defaultValue,!0):ft(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(fe(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,Tn(n.containerInfo)));case 13:return null!==t.memoizedState&&(Xs=Ya(),Es(t.child,!0)),void Is(t);case 19:return void Is(t);case 23:case 24:return void Es(t,null!==t.memoizedState)}throw Error(fe(163))}function Is(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new xs),t.forEach((function(t){var r=Gu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function js(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&(null!==(t=t.memoizedState)&&null===t.dehydrated)}var Ns=Math.ceil,$s=Re.ReactCurrentDispatcher,_s=Re.ReactCurrentOwner,Fs=0,zs=null,Ds=null,Bs=0,Ws=0,Us=ga(0),Vs=0,qs=null,Hs=0,Ks=0,Gs=0,Qs=0,Ys=null,Xs=0,Zs=1/0;function Js(){Zs=Ya()+500}var eu,tu=null,nu=!1,ru=null,ou=null,au=!1,iu=null,lu=90,su=[],uu=[],cu=null,du=0,pu=null,fu=-1,hu=0,mu=0,gu=null,vu=!1;function yu(){return 0!=(48&Fs)?Ya():-1!==fu?fu:fu=Ya()}function bu(e){if(0==(2&(e=e.mode)))return 1;if(0==(4&e))return 99===Xa()?1:2;if(0===hu&&(hu=Hs),0!==ri.transition){0!==mu&&(mu=null!==Ys?Ys.pendingLanes:0),e=hu;var t=4186112&~mu;return 0===(t&=-t)&&(0===(t=(e=4186112&~e)&-e)&&(t=8192)),t}return e=Xa(),0!=(4&Fs)&&98===e?e=Kn(12,hu):e=Kn(e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),hu),e}function xu(e,t,n){if(50<du)throw du=0,pu=null,Error(fe(185));if(null===(e=wu(e,t)))return null;Yn(e,t,n),e===zs&&(Gs|=t,4===Vs&&Eu(e,Bs));var r=Xa();1===t?0!=(8&Fs)&&0==(48&Fs)?Cu(e):(ku(e,n),0===Fs&&(Js(),ti())):(0==(4&Fs)||98!==r&&99!==r||(null===cu?cu=new Set([e]):cu.add(e)),ku(e,n)),Ys=e}function wu(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}function ku(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,o=e.pingedLanes,a=e.expirationTimes,i=e.pendingLanes;0<i;){var l=31-Xn(i),s=1<<l,u=a[l];if(-1===u){if(0==(s&r)||0!=(s&o)){u=t,Vn(s);var c=Un;a[l]=10<=c?u+250:6<=c?u+5e3:-1}}else u<=t&&(e.expiredLanes|=s);i&=~s}if(r=qn(e,e===zs?Bs:0),t=Un,0===r)null!==n&&(n!==Va&&ja(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==Va&&ja(n)}15===t?(n=Cu.bind(null,e),null===Ha?(Ha=[n],Ka=Ia(za,ni)):Ha.push(n),n=Va):14===t?n=ei(99,Cu.bind(null,e)):(n=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(fe(358,e))}}(t),n=ei(n,Su.bind(null,e))),e.callbackPriority=t,e.callbackNode=n}}function Su(e){if(fu=-1,mu=hu=0,0!=(48&Fs))throw Error(fe(327));var t=e.callbackNode;if(Bu()&&e.callbackNode!==t)return null;var n=qn(e,e===zs?Bs:0);if(0===n)return null;var r=n,o=Fs;Fs|=16;var a=Lu();for(zs===e&&Bs===r||(Js(),Mu(e,r));;)try{Nu();break}catch(t){Au(e,t)}if(ui(),$s.current=a,Fs=o,null!==Ds?r=0:(zs=null,Bs=0,r=Vs),0!=(Hs&Gs))Mu(e,0);else if(0!==r){if(2===r&&(Fs|=64,e.hydrate&&(e.hydrate=!1,ea(e.containerInfo)),0!==(n=Hn(e))&&(r=Iu(e,n))),1===r)throw t=qs,Mu(e,0),Eu(e,n),ku(e,Ya()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(fe(345));case 2:case 5:Fu(e);break;case 3:if(Eu(e,n),(62914560&n)===n&&10<(r=Xs+500-Ya())){if(0!==qn(e,0))break;if(((o=e.suspendedLanes)&n)!==n){yu(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Zo(Fu.bind(null,e),r);break}Fu(e);break;case 4:if(Eu(e,n),(4186112&n)===n)break;for(r=e.eventTimes,o=-1;0<n;){var i=31-Xn(n);a=1<<i,(i=r[i])>o&&(o=i),n&=~a}if(n=o,10<(n=(120>(n=Ya()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Ns(n/1960))-n)){e.timeoutHandle=Zo(Fu.bind(null,e),n);break}Fu(e);break;default:throw Error(fe(329))}}return ku(e,Ya()),e.callbackNode===t?Su.bind(null,e):null}function Eu(e,t){for(t&=~Qs,t&=~Gs,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Xn(t),r=1<<n;e[n]=-1,t&=~r}}function Cu(e){if(0!=(48&Fs))throw Error(fe(327));if(Bu(),e===zs&&0!=(e.expiredLanes&Bs)){var t=Bs,n=Iu(e,t);0!=(Hs&Gs)&&(n=Iu(e,t=qn(e,t)))}else n=Iu(e,t=qn(e,0));if(0!==e.tag&&2===n&&(Fs|=64,e.hydrate&&(e.hydrate=!1,ea(e.containerInfo)),0!==(t=Hn(e))&&(n=Iu(e,t))),1===n)throw n=qs,Mu(e,0),Eu(e,t),ku(e,Ya()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,Fu(e),ku(e,Ya()),null}function Ou(e,t){var n=Fs;Fs|=1;try{return e(t)}finally{0===(Fs=n)&&(Js(),ti())}}function Pu(e,t){var n=Fs;Fs&=-2,Fs|=8;try{return e(t)}finally{0===(Fs=n)&&(Js(),ti())}}function Ru(e,t){ya(Us,Ws),Ws|=t,Hs|=t}function Tu(){Ws=Us.current,va(Us)}function Mu(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Jo(n)),null!==Ds)for(n=Ds.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&Ca();break;case 3:Bi(),va(wa),va(xa),nl();break;case 5:Ui(r);break;case 4:Bi();break;case 13:case 19:va(Vi);break;case 10:ci(r);break;case 23:case 24:Tu()}n=n.return}zs=e,Ds=Zu(e.current,null),Bs=Ws=Hs=t,Vs=0,qs=null,Qs=Gs=Ks=0}function Au(e,t){for(;;){var n=Ds;try{if(ui(),rl.current=Fl,ul){for(var r=il.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}ul=!1}if(al=0,sl=ll=il=null,cl=!1,_s.current=null,null===n||null===n.return){Vs=1,qs=t,Ds=null;break}e:{var a=e,i=n.return,l=n,s=t;if(t=Bs,l.flags|=2048,l.firstEffect=l.lastEffect=null,null!==s&&"object"==typeof s&&"function"==typeof s.then){var u=s;if(0==(2&l.mode)){var c=l.alternate;c?(l.updateQueue=c.updateQueue,l.memoizedState=c.memoizedState,l.lanes=c.lanes):(l.updateQueue=null,l.memoizedState=null)}var d=0!=(1&Vi.current),p=i;do{var f;if(f=13===p.tag){var h=p.memoizedState;if(null!==h)f=null!==h.dehydrated;else{var m=p.memoizedProps;f=void 0!==m.fallback&&(!0!==m.unstable_avoidThisFallback||!d)}}if(f){var g=p.updateQueue;if(null===g){var v=new Set;v.add(u),p.updateQueue=v}else g.add(u);if(0==(2&p.mode)){if(p.flags|=64,l.flags|=16384,l.flags&=-2981,1===l.tag)if(null===l.alternate)l.tag=17;else{var y=vi(-1,1);y.tag=2,yi(l,y)}l.lanes|=1;break e}s=void 0,l=t;var b=a.pingCache;if(null===b?(b=a.pingCache=new vs,s=new Set,b.set(u,s)):void 0===(s=b.get(u))&&(s=new Set,b.set(u,s)),!s.has(l)){s.add(l);var x=Ku.bind(null,a,u,l);u.then(x,x)}p.flags|=4096,p.lanes=t;break e}p=p.return}while(null!==p);s=Error((et(l.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Vs&&(Vs=2),s=ms(s,l),p=i;do{switch(p.tag){case 3:a=s,p.flags|=4096,t&=-t,p.lanes|=t,bi(p,ys(0,a,t));break e;case 1:a=s;var w=p.type,k=p.stateNode;if(0==(64&p.flags)&&("function"==typeof w.getDerivedStateFromError||null!==k&&"function"==typeof k.componentDidCatch&&(null===ou||!ou.has(k)))){p.flags|=4096,t&=-t,p.lanes|=t,bi(p,bs(p,a,t));break e}}p=p.return}while(null!==p)}_u(n)}catch(e){t=e,Ds===n&&null!==n&&(Ds=n=n.return);continue}break}}function Lu(){var e=$s.current;return $s.current=Fl,null===e?Fl:e}function Iu(e,t){var n=Fs;Fs|=16;var r=Lu();for(zs===e&&Bs===t||Mu(e,t);;)try{ju();break}catch(t){Au(e,t)}if(ui(),Fs=n,$s.current=r,null!==Ds)throw Error(fe(261));return zs=null,Bs=0,Vs}function ju(){for(;null!==Ds;)$u(Ds)}function Nu(){for(;null!==Ds&&!Na();)$u(Ds)}function $u(e){var t=eu(e.alternate,e,Ws);e.memoizedProps=e.pendingProps,null===t?_u(e):Ds=t,_s.current=null}function _u(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(2048&t.flags)){if(null!==(n=fs(n,t,Ws)))return void(Ds=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!=(1073741824&Ws)||0==(4&n.mode)){for(var r=0,o=n.child;null!==o;)r|=o.lanes|o.childLanes,o=o.sibling;n.childLanes=r}null!==e&&0==(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(null!==(n=hs(t)))return n.flags&=2047,void(Ds=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(Ds=t);Ds=t=e}while(null!==t);0===Vs&&(Vs=5)}function Fu(e){var t=Xa();return Ja(99,zu.bind(null,e,t)),null}function zu(e,t){do{Bu()}while(null!==iu);if(0!=(48&Fs))throw Error(fe(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(fe(177));e.callbackNode=null;var r=n.lanes|n.childLanes,o=r,a=e.pendingLanes&~o;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=o,e.mutableReadLanes&=o,e.entangledLanes&=o,o=e.entanglements;for(var i=e.eventTimes,l=e.expirationTimes;0<a;){var s=31-Xn(a),u=1<<s;o[s]=0,i[s]=-1,l[s]=-1,a&=~u}if(null!==cu&&0==(24&r)&&cu.has(e)&&cu.delete(e),e===zs&&(Ds=zs=null,Bs=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(o=Fs,Fs|=32,_s.current=null,Go=nr,Eo(i=So())){if("selectionStart"in i)l={start:i.selectionStart,end:i.selectionEnd};else e:if(l=(l=i.ownerDocument)&&l.defaultView||window,(u=l.getSelection&&l.getSelection())&&0!==u.rangeCount){l=u.anchorNode,a=u.anchorOffset,s=u.focusNode,u=u.focusOffset;try{l.nodeType,s.nodeType}catch(e){l=null;break e}var c=0,d=-1,p=-1,f=0,h=0,m=i,g=null;t:for(;;){for(var v;m!==l||0!==a&&3!==m.nodeType||(d=c+a),m!==s||0!==u&&3!==m.nodeType||(p=c+u),3===m.nodeType&&(c+=m.nodeValue.length),null!==(v=m.firstChild);)g=m,m=v;for(;;){if(m===i)break t;if(g===l&&++f===a&&(d=c),g===s&&++h===u&&(p=c),null!==(v=m.nextSibling))break;g=(m=g).parentNode}m=v}l=-1===d||-1===p?null:{start:d,end:p}}else l=null;l=l||{start:0,end:0}}else l=null;Qo={focusedElem:i,selectionRange:l},nr=!1,gu=null,vu=!1,tu=r;do{try{Du()}catch(e){if(null===tu)throw Error(fe(330));Hu(tu,e),tu=tu.nextEffect}}while(null!==tu);gu=null,tu=r;do{try{for(i=e;null!==tu;){var y=tu.flags;if(16&y&&Et(tu.stateNode,""),128&y){var b=tu.alternate;if(null!==b){var x=b.ref;null!==x&&("function"==typeof x?x(null):x.current=null)}}switch(1038&y){case 2:Rs(tu),tu.flags&=-3;break;case 6:Rs(tu),tu.flags&=-3,Ls(tu.alternate,tu);break;case 1024:tu.flags&=-1025;break;case 1028:tu.flags&=-1025,Ls(tu.alternate,tu);break;case 4:Ls(tu.alternate,tu);break;case 8:As(i,l=tu);var w=l.alternate;Os(l),null!==w&&Os(w)}tu=tu.nextEffect}}catch(e){if(null===tu)throw Error(fe(330));Hu(tu,e),tu=tu.nextEffect}}while(null!==tu);if(x=Qo,b=So(),y=x.focusedElem,i=x.selectionRange,b!==y&&y&&y.ownerDocument&&ko(y.ownerDocument.documentElement,y)){null!==i&&Eo(y)&&(b=i.start,void 0===(x=i.end)&&(x=b),"selectionStart"in y?(y.selectionStart=b,y.selectionEnd=Math.min(x,y.value.length)):(x=(b=y.ownerDocument||document)&&b.defaultView||window).getSelection&&(x=x.getSelection(),l=y.textContent.length,w=Math.min(i.start,l),i=void 0===i.end?w:Math.min(i.end,l),!x.extend&&w>i&&(l=i,i=w,w=l),l=wo(y,w),a=wo(y,i),l&&a&&(1!==x.rangeCount||x.anchorNode!==l.node||x.anchorOffset!==l.offset||x.focusNode!==a.node||x.focusOffset!==a.offset)&&((b=b.createRange()).setStart(l.node,l.offset),x.removeAllRanges(),w>i?(x.addRange(b),x.extend(a.node,a.offset)):(b.setEnd(a.node,a.offset),x.addRange(b))))),b=[];for(x=y;x=x.parentNode;)1===x.nodeType&&b.push({element:x,left:x.scrollLeft,top:x.scrollTop});for("function"==typeof y.focus&&y.focus(),y=0;y<b.length;y++)(x=b[y]).element.scrollLeft=x.left,x.element.scrollTop=x.top}nr=!!Go,Qo=Go=null,e.current=n,tu=r;do{try{for(y=e;null!==tu;){var k=tu.flags;if(36&k&&Ss(y,tu.alternate,tu),128&k){b=void 0;var S=tu.ref;if(null!==S){var E=tu.stateNode;tu.tag,b=E,"function"==typeof S?S(b):S.current=b}}tu=tu.nextEffect}}catch(e){if(null===tu)throw Error(fe(330));Hu(tu,e),tu=tu.nextEffect}}while(null!==tu);tu=null,qa(),Fs=o}else e.current=n;if(au)au=!1,iu=e,lu=t;else for(tu=r;null!==tu;)t=tu.nextEffect,tu.nextEffect=null,8&tu.flags&&((k=tu).sibling=null,k.stateNode=null),tu=t;if(0===(r=e.pendingLanes)&&(ou=null),1===r?e===pu?du++:(du=0,pu=e):du=0,n=n.stateNode,Aa&&"function"==typeof Aa.onCommitFiberRoot)try{Aa.onCommitFiberRoot(Ma,n,void 0,64==(64&n.current.flags))}catch(e){}if(ku(e,Ya()),nu)throw nu=!1,e=ru,ru=null,e;return 0!=(8&Fs)||ti(),null}function Du(){for(;null!==tu;){var e=tu.alternate;vu||null===gu||(0!=(8&tu.flags)?ln(tu,gu)&&(vu=!0):13===tu.tag&&js(e,tu)&&ln(tu,gu)&&(vu=!0));var t=tu.flags;0!=(256&t)&&ks(e,tu),0==(512&t)||au||(au=!0,ei(97,(function(){return Bu(),null}))),tu=tu.nextEffect}}function Bu(){if(90!==lu){var e=97<lu?97:lu;return lu=90,Ja(e,Vu)}return!1}function Wu(e,t){su.push(t,e),au||(au=!0,ei(97,(function(){return Bu(),null})))}function Uu(e,t){uu.push(t,e),au||(au=!0,ei(97,(function(){return Bu(),null})))}function Vu(){if(null===iu)return!1;var e=iu;if(iu=null,0!=(48&Fs))throw Error(fe(331));var t=Fs;Fs|=32;var n=uu;uu=[];for(var r=0;r<n.length;r+=2){var o=n[r],a=n[r+1],i=o.destroy;if(o.destroy=void 0,"function"==typeof i)try{i()}catch(e){if(null===a)throw Error(fe(330));Hu(a,e)}}for(n=su,su=[],r=0;r<n.length;r+=2){o=n[r],a=n[r+1];try{var l=o.create;o.destroy=l()}catch(e){if(null===a)throw Error(fe(330));Hu(a,e)}}for(l=e.current.firstEffect;null!==l;)e=l.nextEffect,l.nextEffect=null,8&l.flags&&(l.sibling=null,l.stateNode=null),l=e;return Fs=t,ti(),!0}function qu(e,t,n){yi(e,t=ys(0,t=ms(n,t),1)),t=yu(),null!==(e=wu(e,1))&&(Yn(e,1,t),ku(e,t))}function Hu(e,t){if(3===e.tag)qu(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){qu(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===ou||!ou.has(r))){var o=bs(n,e=ms(t,e),1);if(yi(n,o),o=yu(),null!==(n=wu(n,1)))Yn(n,1,o),ku(n,o);else if("function"==typeof r.componentDidCatch&&(null===ou||!ou.has(r)))try{r.componentDidCatch(t,e)}catch(e){}break}}n=n.return}}function Ku(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=yu(),e.pingedLanes|=e.suspendedLanes&n,zs===e&&(Bs&n)===n&&(4===Vs||3===Vs&&(62914560&Bs)===Bs&&500>Ya()-Xs?Mu(e,0):Qs|=n),ku(e,t)}function Gu(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(0==(2&(t=e.mode))?t=1:0==(4&t)?t=99===Xa()?1:2:(0===hu&&(hu=Hs),0===(t=Gn(62914560&~hu))&&(t=4194304))),n=yu(),null!==(e=wu(e,t))&&(Yn(e,t,n),ku(e,n))}function Qu(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.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Yu(e,t,n,r){return new Qu(e,t,n,r)}function Xu(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Zu(e,t){var n=e.alternate;return null===n?((n=Yu(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.nextEffect=null,n.firstEffect=null,n.lastEffect=null),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,n,r,o,a){var i=2;if(r=e,"function"==typeof e)Xu(e)&&(i=1);else if("string"==typeof e)i=5;else e:switch(e){case Ae:return ec(n.children,o,a,t);case Ue:i=8,o|=16;break;case Le:i=8,o|=1;break;case Ie:return(e=Yu(12,n,t,8|o)).elementType=Ie,e.type=Ie,e.lanes=a,e;case _e:return(e=Yu(13,n,t,o)).type=_e,e.elementType=_e,e.lanes=a,e;case Fe:return(e=Yu(19,n,t,o)).elementType=Fe,e.lanes=a,e;case Ve:return tc(n,o,a,t);case qe:return(e=Yu(24,n,t,o)).elementType=qe,e.lanes=a,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case je:i=10;break e;case Ne:i=9;break e;case $e:i=11;break e;case ze:i=14;break e;case De:i=16,r=null;break e;case Be:i=22;break e}throw Error(fe(130,null==e?e:typeof e,""))}return(t=Yu(i,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function ec(e,t,n,r){return(e=Yu(7,e,r,t)).lanes=n,e}function tc(e,t,n,r){return(e=Yu(23,e,r,t)).elementType=Ve,e.lanes=n,e}function nc(e,t,n){return(e=Yu(6,e,null,t)).lanes=n,e}function rc(e,t,n){return(t=Yu(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function oc(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Qn(0),this.expirationTimes=Qn(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Qn(0),this.mutableSourceEagerHydrationData=null}function ac(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Me,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function ic(e,t,n,r){var o=t.current,a=yu(),i=bu(o);e:if(n){t:{if(nn(n=n._reactInternals)!==n||1!==n.tag)throw Error(fe(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(Ea(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(fe(171))}if(1===n.tag){var s=n.type;if(Ea(s)){n=Pa(n,s,l);break e}}n=l}else n=ba;return null===t.context?t.context=n:t.pendingContext=n,(t=vi(a,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),yi(o,t),xu(o,i,a),i}function lc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function sc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function uc(e,t){sc(e,t),(e=e.alternate)&&sc(e,t)}function cc(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new oc(e,t,null!=n&&!0===n.hydrate),t=Yu(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,mi(t),e[la]=n.current,zo(8===e.nodeType?e.parentNode:e),r)for(e=0;e<r.length;e++){var o=(t=r[e])._getVersion;o=o(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,o]:n.mutableSourceEagerHydrationData.push(t,o)}this._internalRoot=n}function dc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function pc(e,t,n,r,o){var a=n._reactRootContainer;if(a){var i=a._internalRoot;if("function"==typeof o){var l=o;o=function(){var e=lc(i);l.call(e)}}ic(t,i,e,o)}else{if(a=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new cc(e,0,t?{hydrate:!0}:void 0)}(n,r),i=a._internalRoot,"function"==typeof o){var s=o;o=function(){var e=lc(i);s.call(e)}}Pu((function(){ic(t,i,e,o)}))}return lc(i)}function fc(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!dc(t))throw Error(fe(200));return ac(e,t,null,n)}eu=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||wa.current)Ul=!0;else{if(0==(n&r)){switch(Ul=!1,t.tag){case 3:Jl(t),el();break;case 5:Wi(t);break;case 1:Ea(t.type)&&Ra(t);break;case 4:Di(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var o=t.type._context;ya(ai,o._currentValue),o._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!=(n&t.child.childLanes)?os(e,t,n):(ya(Vi,1&Vi.current),null!==(t=ds(e,t,n))?t.sibling:null);ya(Vi,1&Vi.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(64&e.flags)){if(r)return cs(e,t,n);t.flags|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),ya(Vi,Vi.current),r)break;return null;case 23:case 24:return t.lanes=0,Gl(e,t,n)}return ds(e,t,n)}Ul=0!=(16384&e.flags)}else Ul=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=Sa(t,xa.current),pi(t,n),o=fl(null,t,r,e,o,n),t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ea(r)){var a=!0;Ra(t)}else a=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,mi(t);var i=r.getDerivedStateFromProps;"function"==typeof i&&Si(t,r,i,e),o.updater=Ei,t.stateNode=o,o._reactInternals=t,Ri(t,r,e,n),t=Zl(null,t,r,!0,a,n)}else t.tag=0,Vl(null,t,o,n),t=t.child;return t;case 16:o=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=(a=o._init)(o._payload),t.type=o,a=t.tag=function(e){if("function"==typeof e)return Xu(e)?1:0;if(null!=e){if((e=e.$$typeof)===$e)return 11;if(e===ze)return 14}return 2}(o),e=oi(o,e),a){case 0:t=Yl(null,t,o,e,n);break e;case 1:t=Xl(null,t,o,e,n);break e;case 11:t=ql(null,t,o,e,n);break e;case 14:t=Hl(null,t,o,oi(o.type,e),r,n);break e}throw Error(fe(306,o,""))}return t;case 0:return r=t.type,o=t.pendingProps,Yl(e,t,r,o=t.elementType===r?o:oi(r,o),n);case 1:return r=t.type,o=t.pendingProps,Xl(e,t,r,o=t.elementType===r?o:oi(r,o),n);case 3:if(Jl(t),r=t.updateQueue,null===e||null===r)throw Error(fe(282));if(r=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,gi(e,t),xi(t,r,null,n),(r=t.memoizedState.element)===o)el(),t=ds(e,t,n);else{if((a=(o=t.stateNode).hydrate)&&(Ki=ta(t.stateNode.containerInfo.firstChild),Hi=t,a=Gi=!0),a){if(null!=(e=o.mutableSourceEagerHydrationData))for(o=0;o<e.length;o+=2)(a=e[o])._workInProgressVersionPrimary=e[o+1],tl.push(a);for(n=ji(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else Vl(e,t,r,n),el();t=t.child}return t;case 5:return Wi(t),null===e&&Xi(t),r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,i=o.children,Xo(r,o)?i=null:null!==a&&Xo(r,a)&&(t.flags|=16),Ql(e,t),Vl(e,t,i,n),t.child;case 6:return null===e&&Xi(t),null;case 13:return os(e,t,n);case 4:return Di(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Ii(t,null,r,n):Vl(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,ql(e,t,r,o=t.elementType===r?o:oi(r,o),n);case 7:return Vl(e,t,t.pendingProps,n),t.child;case 8:case 12:return Vl(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=o.value;var l=t.type._context;if(ya(ai,l._currentValue),l._currentValue=a,null!==i)if(l=i.value,0===(a=vo(l,a)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(l,a):1073741823))){if(i.children===o.children&&!wa.current){t=ds(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var s=l.dependencies;if(null!==s){i=l.child;for(var u=s.firstContext;null!==u;){if(u.context===r&&0!=(u.observedBits&a)){1===l.tag&&((u=vi(-1,n&-n)).tag=2,yi(l,u)),l.lanes|=n,null!==(u=l.alternate)&&(u.lanes|=n),di(l.return,n),s.lanes|=n;break}u=u.next}}else i=10===l.tag&&l.type===t.type?null:l.child;if(null!==i)i.return=l;else for(i=l;null!==i;){if(i===t){i=null;break}if(null!==(l=i.sibling)){l.return=i.return,i=l;break}i=i.return}l=i}Vl(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(a=t.pendingProps).children,pi(t,n),r=r(o=fi(o,a.unstable_observedBits)),t.flags|=1,Vl(e,t,r,n),t.child;case 14:return a=oi(o=t.type,t.pendingProps),Hl(e,t,o,a=oi(o.type,a),r,n);case 15:return Kl(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:oi(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,Ea(r)?(e=!0,Ra(t)):e=!1,pi(t,n),Oi(t,r,o),Ri(t,r,o,n),Zl(null,t,r,!0,e,n);case 19:return cs(e,t,n);case 23:case 24:return Gl(e,t,n)}throw Error(fe(156,t.tag))},cc.prototype.render=function(e){ic(e,this._internalRoot,null,null)},cc.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;ic(null,e,null,(function(){t[la]=null}))},sn=function(e){13===e.tag&&(xu(e,4,yu()),uc(e,4))},un=function(e){13===e.tag&&(xu(e,67108864,yu()),uc(e,67108864))},cn=function(e){if(13===e.tag){var t=yu(),n=bu(e);xu(e,n,t),uc(e,n)}},dn=function(e,t){return t()},It=function(e,t,n){switch(t){case"input":if(ut(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=pa(r);if(!o)throw Error(fe(90));ot(r),ut(r,o)}}}break;case"textarea":gt(e,n);break;case"select":null!=(t=n.value)&&ft(e,!!n.multiple,t,!1)}},zt=Ou,Dt=function(e,t,n,r,o){var a=Fs;Fs|=4;try{return Ja(98,e.bind(null,t,n,r,o))}finally{0===(Fs=a)&&(Js(),ti())}},Bt=function(){0==(49&Fs)&&(function(){if(null!==cu){var e=cu;cu=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,ku(e,Ya())}))}ti()}(),Bu())},Wt=function(e,t){var n=Fs;Fs|=2;try{return e(t)}finally{0===(Fs=n)&&(Js(),ti())}};var hc={Events:[ca,da,pa,_t,Ft,Bu,{current:!1}]},mc={findFiberByHostInstance:ua,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},gc={bundleType:mc.bundleType,version:mc.version,rendererPackageName:mc.rendererPackageName,rendererConfig:mc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Re.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=an(e))?null:e.stateNode},findFiberByHostInstance:mc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var vc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!vc.isDisabled&&vc.supportsFiber)try{Ma=vc.inject(gc),Aa=vc}catch(EL){}}ne.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=hc,ne.createPortal=fc,ne.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(fe(188));throw Error(fe(268,Object.keys(e)))}return e=null===(e=an(t))?null:e.stateNode},ne.flushSync=function(e,t){var n=Fs;if(0!=(48&n))return e(t);Fs|=1;try{if(e)return Ja(99,e.bind(null,t))}finally{Fs=n,ti()}},ne.hydrate=function(e,t,n){if(!dc(t))throw Error(fe(200));return pc(null,e,t,!0,n)},ne.render=function(e,t,n){if(!dc(t))throw Error(fe(200));return pc(null,e,t,!1,n)},ne.unmountComponentAtNode=function(e){if(!dc(e))throw Error(fe(40));return!!e._reactRootContainer&&(Pu((function(){pc(null,null,e,!1,(function(){e._reactRootContainer=null,e[la]=null}))})),!0)},ne.unstable_batchedUpdates=Ou,ne.unstable_createPortal=function(e,t){return fc(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},ne.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!dc(n))throw Error(fe(200));if(null==e||void 0===e._reactInternals)throw Error(fe(38));return pc(e,t,n,!1,r)},ne.version="17.0.2",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=ne}(te);var yc=h(te.exports),bc="__tolgee_dev_tools",xc=2147483e3,wc="__tolgee_preferredLanguages",kc="data-tolgee-key-only",Sc="data-tolgee-restricted",Ec="_tolgee",Cc=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._popup=null,t}return a(t,e),Object.defineProperty(t.prototype,"document",{get:function(){return this.props.document||document},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"devTools",{get:function(){var e;return(null===(e=this.document.getElementById(bc))||void 0===e?void 0:e.shadowRoot)||this.document.body},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this._popup=this.document.createElement("div"),this.devTools.appendChild(this._popup),this._render()},t.prototype.componentDidUpdate=function(){this._render()},t.prototype.componentWillUnmount=function(){this._popup&&(te.exports.unmountComponentAtNode(this._popup),this.devTools.removeChild(this._popup))},t.prototype._render=function(){te.exports.render(g.exports.createElement(g.exports.Fragment,null,this.props.children),this._popup)},t.prototype.render=function(){return null},t}(g.exports.PureComponent),Oc=function(e){return new Promise((function(t){return setTimeout(t,e)}))};const Pc=Symbol(),Rc=Symbol(),Tc="undefined"==typeof window||/ServerSideRendering/.test(window.navigator&&window.navigator.userAgent)?g.exports.useEffect:g.exports.useLayoutEffect,Mc=se.exports.unstable_runWithPriority?e=>se.exports.unstable_runWithPriority(se.exports.unstable_NormalPriority,e):e=>e();var Ac=function(e,t,n){var r;if(!(null==t?void 0:t.length))return!0;var o=null===(r=null==n?void 0:n.find((function(t){return t.tag===e})))||void 0===r?void 0:r.id;return void 0===o||t.includes(o)};function Lc(e,t){return Lc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Lc(e,t)}function Ic(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Lc(e,t)}var jc=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 Nc(){return Nc=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},Nc.apply(this,arguments)}var $c="undefined"==typeof window;function _c(){}function Fc(e){return"number"==typeof e&&e>=0&&e!==1/0}function zc(e){return Array.isArray(e)?e:[e]}function Dc(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Bc(e,t,n){return Zc(e)?"function"==typeof t?Nc({},n,{queryKey:e,queryFn:t}):Nc({},t,{queryKey:e}):e}function Wc(e,t,n){return Zc(e)?[Nc({},t,{queryKey:e}),n]:[e||{},t]}function Uc(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(Zc(l))if(r){if(t.queryHash!==qc(l,t.options))return!1}else if(!Kc(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 Vc(e,t){var n=e.exact,r=e.fetching,o=e.predicate,a=e.mutationKey;if(Zc(a)){if(!t.options.mutationKey)return!1;if(n){if(Hc(t.options.mutationKey)!==Hc(a))return!1}else if(!Kc(t.options.mutationKey,a))return!1}return("boolean"!=typeof r||"loading"===t.state.status===r)&&!(o&&!o(t))}function qc(e,t){return((null==t?void 0:t.queryKeyHashFn)||Hc)(e)}function Hc(e){var t,n=zc(e);return t=n,JSON.stringify(t,(function(e,t){return Yc(t)?Object.keys(t).sort().reduce((function(e,n){return e[n]=t[n],e}),{}):t}))}function Kc(e,t){return Gc(zc(e),zc(t))}function Gc(e,t){return e===t||typeof e==typeof t&&(!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&!Object.keys(t).some((function(n){return!Gc(e[n],t[n])})))}function Qc(e,t){if(e===t)return e;var n=Array.isArray(e)&&Array.isArray(t);if(n||Yc(e)&&Yc(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]=Qc(e[u],t[u]),i[u]===e[u]&&l++}return r===a&&l===r?e:i}return t}function Yc(e){if(!Xc(e))return!1;var t=e.constructor;if(void 0===t)return!0;var n=t.prototype;return!!Xc(n)&&!!n.hasOwnProperty("isPrototypeOf")}function Xc(e){return"[object Object]"===Object.prototype.toString.call(e)}function Zc(e){return"string"==typeof e||Array.isArray(e)}function Jc(e){Promise.resolve().then(e).catch((function(e){return setTimeout((function(){throw e}))}))}function ed(){if("function"==typeof AbortController)return new AbortController}var td=new(function(e){function t(){var t;return(t=e.call(this)||this).setup=function(e){var t;if(!$c&&(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}Ic(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}(jc)),nd=new(function(e){function t(){var t;return(t=e.call(this)||this).setup=function(e){var t;if(!$c&&(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}Ic(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}(jc));function rd(e){return Math.min(1e3*Math.pow(2,e),3e4)}function od(e){return"function"==typeof(null==e?void 0:e.cancel)}var ad=function(e){this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent};function id(e){return e instanceof ad}var ld=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 ad(e)),null==a.abort||a.abort(),od(o)))try{o.cancel()}catch(e){}},a.isTransportCancelable=od(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:rd,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(!td.isFocused()||!nd.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)}}))}}()},sd=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):Jc((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&&Jc((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}(),ud=new sd,cd=console;function dd(){return cd}var pd=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=Nc({},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(),Fc(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=Qc(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(_c).catch(_c):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||!Dc(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=zc(this.queryKey),u=ed(),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 ld({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){id(e)&&e.silent||a.dispatch({type:"error",error:e}),id(e)||(null==a.cache.config.onError||a.cache.config.onError(e,a),dd().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),ud.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 Nc({},e,{fetchFailureCount:e.fetchFailureCount+1});case"pause":return Nc({},e,{isPaused:!0});case"continue":return Nc({},e,{isPaused:!1});case"fetch":return Nc({},e,{fetchFailureCount:0,fetchMeta:null!=(n=t.meta)?n:null,isFetching:!0,isPaused:!1},!e.dataUpdatedAt&&{error:null,status:"loading"});case"success":return Nc({},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 id(o)&&o.revert&&this.revertState?Nc({},this.revertState):Nc({},e,{error:o,errorUpdateCount:e.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:e.fetchFailureCount+1,isFetching:!1,isPaused:!1,status:"error"});case"invalidate":return Nc({},e,{isInvalidated:!0});case"setState":return Nc({},e,t.state);default:return e}},e}(),fd=function(e){function t(t){var n;return(n=e.call(this)||this).config=t||{},n.queries=[],n.queriesMap={},n}Ic(t,e);var n=t.prototype;return n.build=function(e,t,n){var r,o=t.queryKey,a=null!=(r=t.queryHash)?r:qc(o,t),i=this.get(a);return i||(i=new pd({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;ud.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=Wc(e,t)[0];return void 0===n.exact&&(n.exact=!0),this.queries.find((function(e){return Uc(n,e)}))},n.findAll=function(e,t){var n=Wc(e,t)[0];return Object.keys(n).length>0?this.queries.filter((function(e){return Uc(n,e)})):this.queries},n.notify=function(e){var t=this;ud.batch((function(){t.listeners.forEach((function(t){t(e)}))}))},n.onFocus=function(){var e=this;ud.batch((function(){e.queries.forEach((function(e){e.onFocus()}))}))},n.onOnline=function(){var e=this;ud.batch((function(){e.queries.forEach((function(e){e.onOnline()}))}))},t}(jc),hd=function(){function e(e){this.options=Nc({},e.defaultOptions,e.options),this.mutationId=e.mutationId,this.mutationCache=e.mutationCache,this.observers=[],this.state=e.state||md(),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(_c).catch(_c)):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),dd().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 ld({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 Nc({},e,{failureCount:e.failureCount+1});case"pause":return Nc({},e,{isPaused:!0});case"continue":return Nc({},e,{isPaused:!1});case"loading":return Nc({},e,{context:t.context,data:void 0,error:null,isPaused:!1,status:"loading",variables:t.variables});case"success":return Nc({},e,{data:t.data,error:null,status:"success",isPaused:!1});case"error":return Nc({},e,{data:void 0,error:t.error,failureCount:e.failureCount+1,isPaused:!1,status:"error"});case"setState":return Nc({},e,t.state);default:return e}}(this.state,e),ud.batch((function(){t.observers.forEach((function(t){t.onMutationUpdate(e)})),t.mutationCache.notify(t)}))},e}();function md(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0}}var gd=function(e){function t(t){var n;return(n=e.call(this)||this).config=t||{},n.mutations=[],n.mutationId=0,n}Ic(t,e);var n=t.prototype;return n.build=function(e,t,n){var r=new hd({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;ud.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 Vc(e,t)}))},n.findAll=function(e){return this.mutations.filter((function(t){return Vc(e,t)}))},n.notify=function(e){var t=this;ud.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 ud.batch((function(){return e.reduce((function(e,t){return e.then((function(){return t.continue().catch(_c)}))}),Promise.resolve())}))},t}(jc);function vd(e,t){return null==e.getNextPageParam?void 0:e.getNextPageParam(t[t.length-1],t)}var yd=function(){function e(e){void 0===e&&(e={}),this.queryCache=e.queryCache||new fd,this.mutationCache=e.mutationCache||new gd,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}var t=e.prototype;return t.mount=function(){var e=this;this.unsubscribeFocus=td.subscribe((function(){td.isFocused()&&nd.isOnline()&&(e.mutationCache.onFocus(),e.queryCache.onFocus())})),this.unsubscribeOnline=nd.subscribe((function(){td.isFocused()&&nd.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=Wc(e,t)[0];return n.fetching=!0,this.queryCache.findAll(n).length},t.isMutating=function(e){return this.mutationCache.findAll(Nc({},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=Bc(e),o=this.defaultQueryOptions(r);return this.queryCache.build(this,o).setData(t,n)},t.setQueriesData=function(e,t,n){var r=this;return ud.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=Wc(e,t)[0],r=this.queryCache;ud.batch((function(){r.findAll(n).forEach((function(e){r.remove(e)}))}))},t.resetQueries=function(e,t,n){var r=this,o=Wc(e,t,n),a=o[0],i=o[1],l=this.queryCache,s=Nc({},a,{active:!0});return ud.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=Wc(e,t,n),a=o[0],i=o[1],l=void 0===i?{}:i;void 0===l.revert&&(l.revert=!0);var s=ud.batch((function(){return r.queryCache.findAll(a).map((function(e){return e.cancel(l)}))}));return Promise.all(s).then(_c).catch(_c)},t.invalidateQueries=function(e,t,n){var r,o,a,i=this,l=Wc(e,t,n),s=l[0],u=l[1],c=Nc({},s,{active:null==(r=null!=(o=s.refetchActive)?o:s.active)||r,inactive:null!=(a=s.refetchInactive)&&a});return ud.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=Wc(e,t,n),a=o[0],i=o[1],l=ud.batch((function(){return r.queryCache.findAll(a).map((function(e){return e.fetch(void 0,Nc({},i,{meta:{refetchPage:null==a?void 0:a.refetchPage}}))}))})),s=Promise.all(l).then(_c);return(null==i?void 0:i.throwOnError)||(s=s.catch(_c)),s},t.fetchQuery=function(e,t,n){var r=Bc(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(_c).catch(_c)},t.fetchInfiniteQuery=function(e,t,n){var r=Bc(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)||[],g=(null==(i=e.state.data)?void 0:i.pageParams)||[],v=ed(),y=null==v?void 0:v.signal,b=g,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 od(i)&&(l.cancel=i.cancel),l};if(m.length)if(f){var E=void 0!==p,C=E?p:vd(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,g[0]):Promise.resolve(k([],g[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?g[n]:vd(e.options,r);return S(r,t,o)}return Promise.resolve(k(r,g[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==v||v.abort(),od(l)&&l.cancel()},R}}},this.fetchQuery(r)},t.prefetchInfiniteQuery=function(e,t,n){return this.fetchInfiniteQuery(e,t,n).then(_c).catch(_c)},t.cancelMutations=function(){var e=this,t=ud.batch((function(){return e.mutationCache.getAll().map((function(e){return e.cancel()}))}));return Promise.all(t).then(_c).catch(_c)},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 Hc(e)===Hc(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 Kc(e,t.queryKey)})))?void 0:t.defaultOptions:void 0},t.setMutationDefaults=function(e,t){var n=this.mutationDefaults.find((function(t){return Hc(e)===Hc(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 Kc(e,t.mutationKey)})))?void 0:t.defaultOptions:void 0},t.defaultQueryOptions=function(e){if(null==e?void 0:e._defaulted)return e;var t=Nc({},this.defaultOptions.queries,this.getQueryDefaults(null==e?void 0:e.queryKey),e,{_defaulted:!0});return!t.queryHash&&t.queryKey&&(t.queryHash=qc(t.queryKey,t)),t},t.defaultQueryObserverOptions=function(e){return this.defaultQueryOptions(e)},t.defaultMutationOptions=function(e){return(null==e?void 0:e._defaulted)?e:Nc({},this.defaultOptions.mutations,this.getMutationDefaults(null==e?void 0:e.mutationKey),e,{_defaulted:!0})},t.clear=function(){this.queryCache.clear(),this.mutationCache.clear()},e}(),bd=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}Ic(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),xd(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())},n.onUnsubscribe=function(){this.listeners.length||this.destroy()},n.shouldFetchOnReconnect=function(){return wd(this.currentQuery,this.options,this.options.refetchOnReconnect)},n.shouldFetchOnWindowFocus=function(){return wd(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&&kd(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(Nc({},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(_c)),t},n.updateStaleTimeout=function(){var e=this;if(this.clearStaleTimeout(),!$c&&!this.currentResult.isStale&&Fc(this.options.staleTime)){var t=Dc(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,!$c&&!1!==this.options.enabled&&Fc(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval((function(){(t.options.refetchIntervalInBackground||td.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,g=d.status,v=!1,y=!1;if(t.optimisticResults){var b=this.hasListeners(),x=!b&&xd(e,t),w=b&&kd(e,r,t,o);(x||w)&&(m=!0,p||(g="loading"))}if(t.keepPreviousData&&!d.dataUpdateCount&&(null==c?void 0:c.isSuccess)&&"error"!==g)n=c.data,p=c.dataUpdatedAt,g=c.status,v=!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=Qc(null==a?void 0:a.data,n)),this.selectResult=n,this.selectError=null}catch(e){dd().error(e),this.selectError=e}else n=d.data;if(void 0!==t.placeholderData&&void 0===n&&("loading"===g||"idle"===g)){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=Qc(null==a?void 0:a.data,k)),this.selectError=null}catch(e){dd().error(e),this.selectError=e}void 0!==k&&(g="success",n=k,y=!0)}return this.selectError&&(f=this.selectError,n=this.selectResult,h=Date.now(),g="error"),{status:g,isLoading:"loading"===g,isSuccess:"success"===g,isError:"error"===g,isIdle:"idle"===g,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"!==g,isLoadingError:"error"===g&&0===d.dataUpdatedAt,isPlaceholderData:y,isPreviousData:v,isRefetchError:"error"===g&&0!==d.dataUpdatedAt,isStale:Sd(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(Nc({},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||id(e.error)||(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()},n.notify=function(e){var t=this;ud.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}(jc);function xd(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&&wd(e,t,t.refetchOnMount)}function wd(e,t,n){if(!1!==t.enabled){var r="function"==typeof n?n(e):n;return"always"===r||!1!==r&&Sd(e,t)}return!1}function kd(e,t,n,r){return!1!==n.enabled&&(e!==t||!1===r.enabled)&&(!n.suspense||"error"!==e.state.status)&&Sd(e,n)}function Sd(e,t){return e.isStaleByTime(t.staleTime)}var Ed=function(e){function t(t,n){var r;return(r=e.call(this)||this).client=t,r.setOptions(n),r.bindMethods(),r.updateResult(),r}Ic(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,Nc({},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=Nc({},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;ud.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}(jc),Cd=yc.unstable_batchedUpdates;ud.setBatchNotifyFunction(Cd);var Od=console;cd=Od;var Pd=J.createContext(void 0),Rd=J.createContext(!1);function Td(e){return e&&"undefined"!=typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=Pd),window.ReactQueryClientContext):Pd}var Md=function(){var e=J.useContext(Td(J.useContext(Rd)));if(!e)throw new Error("No QueryClient set, use QueryClientProvider to set one");return e},Ad=function(e){var t=e.client,n=e.contextSharing,r=void 0!==n&&n,o=e.children;J.useEffect((function(){return t.mount(),function(){t.unmount()}}),[t]);var a=Td(r);return J.createElement(Rd.Provider,{value:r},J.createElement(a.Provider,{value:t},o))};var Ld,Id=J.createContext((Ld=!1,{clearReset:function(){Ld=!1},reset:function(){Ld=!0},isReset:function(){return Ld}}));function jd(e,t,n){return"function"==typeof t?t.apply(void 0,n):"boolean"==typeof t?t:!!e}function Nd(e,t,n){var r=J.useRef(!1),o=J.useState(0)[1],a=function(e,t,n){return Zc(e)?"function"==typeof t?Nc({},n,{mutationKey:e,mutationFn:t}):Nc({},t,{mutationKey:e}):"function"==typeof e?Nc({},t,{mutationFn:e}):Nc({},e)}(e,t,n),i=Md(),l=J.useRef();l.current?l.current.setOptions(a):l.current=new Ed(i,a);var s=l.current.getCurrentResult();J.useEffect((function(){r.current=!0;var e=l.current.subscribe(ud.batchCalls((function(){r.current&&o((function(e){return e+1}))})));return function(){r.current=!1,e()}}),[]);var u=J.useCallback((function(e,t){l.current.mutate(e,t).catch(_c)}),[]);if(s.error&&jd(void 0,l.current.options.useErrorBoundary,[s.error]))throw s.error;return Nc({},s,{mutate:u,mutateAsync:s.mutate})}function $d(e,t){var n=J.useRef(!1),r=J.useState(0)[1],o=Md(),a=J.useContext(Id),i=o.defaultQueryObserverOptions(e);i.optimisticResults=!0,i.onError&&(i.onError=ud.batchCalls(i.onError)),i.onSuccess&&(i.onSuccess=ud.batchCalls(i.onSuccess)),i.onSettled&&(i.onSettled=ud.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=J.useState((function(){return new t(o,i)}))[0],s=l.getOptimisticResult(i);if(J.useEffect((function(){n.current=!0,a.clearReset();var e=l.subscribe(ud.batchCalls((function(){n.current&&r((function(e){return e+1}))})));return l.updateResult(),function(){n.current=!1,e()}}),[a,l]),J.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&&jd(i.suspense,i.useErrorBoundary,[s.error,l.getCurrentQuery()]))throw s.error;return"tracked"===i.notifyOnChangeProps&&(s=l.trackResult(s,i)),s}function _d(e){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567".indexOf(e);if(-1===t)throw new Error("Invalid character found: "+e);return t}function Fd(e){for(var t=(e=e.toUpperCase()).length,n=0,r=0,o=0,a=new Uint8Array(5*t/8|0),i=0;i<t;i++)r=r<<5|_d(e[i]),(n+=5)>=8&&(a[o++]=r>>>n-8&255,n-=8);return function(e){for(var t=new Uint8Array(e),n=t.length,r="",o=Math.pow(2,16)-1,a=0;a<n;a+=o)a+o>n&&(o=n-a),r+=String.fromCharCode.apply(null,t.subarray(a,a+o));return r}(a.buffer)}function zd(e){if(e)try{var t=d(e.split("_"),2),n=t[0],r=t[1];if("tgpak"===n){var o=d(Fd(r).split("_"),1)[0];return Number(o)}}catch(e){console.warn("Tolgee: Api key can't be parsed")}}function Dd(e){if(e){var t=d(e.split("_"),1)[0];return"tgpak"===t?"tgpak":"tgpat"===t?"tgpat":"legacy"}}function Bd(e){return s(this,void 0,void 0,(function(){var t;return u(this,(function(n){switch(n.label){case 0:return[4,e.text()];case 1:t=n.sent();try{return[2,JSON.parse(t)]}catch(e){return[2,t]}return[2]}}))}))}var Wd=function(e){return e?Object.entries(e).reduce((function(e,t){var n,r=d(t,2),o=r[0],a=r[1];return Array.isArray(a)||"object"!=typeof a?i(i({},e),((n={})[o]=a,n)):i(i({},e),Wd(a))}),{}):{}};function Ud(e,t,n){return s(this,void 0,void 0,(function(){var r=this;return u(this,(function(o){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=i(i({},n.headers),{"X-API-Key":t.apiKey}),[2,fetch(t.apiUrl+e,n).then((function(e){return s(r,void 0,void 0,(function(){var t,n;return u(this,(function(r){switch(r.label){case 0:return e.ok?[3,2]:[4,Bd(e)];case 1:throw t=r.sent(),n="".concat(e.status,": ").concat((null==t?void 0:t.message)||"Error status code from server"),new Error(n);case 2:return[4,Bd(e)];case 3:return[2,r.sent()]}}))}))})).catch((function(e){throw e.message||"Failed to fetch"}))]}))}))}function Vd(e,t,n,r){var o,a;return s(this,void 0,void 0,(function(){var i,l,s,c,p,f,h,m,g,v;return u(this,(function(u){var y;return i=(null==n?void 0:n.path)||{},l=e,void 0!==(s=zd(r.apiKey)||r.projectId)&&(i.projectId=s,l=function(e){return e.replace("/projects/","/projects/{projectId}/")}(l)),i&&Object.entries(i).forEach((function(e){var t=d(e,2),n=t[0],r=t[1];l=l.replace("{".concat(n,"}"),r)})),c=null===(o=null==n?void 0:n.content)||void 0===o?void 0:o["multipart/form-data"],p=void 0,c&&(p=new FormData,Object.entries(c).forEach((function(e){var t=d(e,2),n=t[0],r=t[1];if(Array.isArray(r)){var o=void 0;return"[object File]"===Object.prototype.toString.call(r)&&(o=r.name),void r.forEach((function(e){return null==p?void 0:p.append(n,e,o)}))}null==p||p.append(n,r)}))),f=JSON.stringify(null===(a=null==n?void 0:n.content)||void 0===a?void 0:a["application/json"]),h=null==n?void 0:n.query,m="",g=Wd(h),y=g,v=Object.keys(y).filter((function(e){return!!y[e]})).map((function(e){return Array.isArray(y[e])?y[e].map((function(t){return encodeURIComponent(e)+"="+encodeURIComponent(t)})).join("&"):encodeURIComponent(e)+"="+encodeURIComponent(y[e])})).join("&"),v&&(m="?"+v),[2,Ud(l+m,r,{method:t,body:p||f,headers:f?{"Content-Type":"application/json"}:void 0})]}))}))}var qd=new yd({defaultOptions:{queries:{refetchOnWindowFocus:!1,refetchOnReconnect:!1,retry:!1}}}),Hd=J.createContext({}),Kd=function(e){var t=e.children,n=e.apiUrl,r=e.apiKey,o=e.projectId;return J.createElement(Hd.Provider,{value:{apiUrl:n,apiKey:r,projectId:o}},J.createElement(Ad,{client:qd},t))},Gd=function(e){var t=e.url,n=e.method,r=e.options,o=l(e,["url","method","options"]),a=g.exports.useContext(Hd);return $d(Bc([t,null==o?void 0:o.path,null==o?void 0:o.query],(function(){return Vd(t,n,o,a)}),r),bd)},Qd=function(e){var t=Md(),n=e.url,r=e.method,o=e.options,a=e.invalidatePrefix,l=g.exports.useContext(Hd),s=Nd((function(e){return Vd(n,r,e,l)}),o),u=function(e){return i(i({},e),{onSuccess:function(){for(var n,r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];void 0!==a&&Yd(t,a),null===(n=null==e?void 0:e.onSuccess)||void 0===n||n.call.apply(n,p([e],d(r),!1))}})},c=g.exports.useCallback((function(e,t){return s.mutate(e,u(t))}),[s.mutate]),f=g.exports.useCallback((function(e,t){return s.mutateAsync(e,u(t))}),[s.mutateAsync]);return i(i({},s),{mutate:c,mutateAsync:f})},Yd=function(e,t){return e.invalidateQueries(function(e){return{predicate:function(t){var n;return null===(n=t.queryKey[0])||void 0===n?void 0:n.startsWith(e)}}}(t))},Xd=function(e){for(var t=[],n=0;n<e.length;n++)"file"===e[n].kind&&t.push(e[n].getAsFile());return t};function Zd(e,t){return Boolean(null==t?void 0:t.includes(e))}function Jd(){try{return JSON.parse(localStorage.getItem(wc)||"")}catch(e){return[]}}function ep(e){localStorage.setItem(wc,JSON.stringify(e))}var tp=function(e,t,n,r){var o=n.map((function(n){var o=d(n,2),a=o[0],i=o[1];return r({language:a,namespace:t},e,i)}));return{revert:function(){return o.forEach((function(e){return e.revert()}))}}};function np(e){var t=this,n=e.message,r=e.recievingMessage,o=e.data,a=e.attempts,i=void 0===a?1:a,l=!1,c=function(){return new Promise((function(e,t){var a=function(e,t){var n=function(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:function(){window.removeEventListener("message",n)}}}(r,(function(t){clearTimeout(i),l(),e(t)}));window.postMessage({type:n,data:o},window.origin);var i=setTimeout((function(){l(),t()}),300);function l(){a.unsubscribe()}}))};return{cancel:function(){return l=!0},promise:s(t,void 0,void 0,(function(){var e;return u(this,(function(t){switch(t.label){case 0:e=0,t.label=1;case 1:if(!(e<i))return[3,6];if(l)return[2,new Promise((function(){}))];t.label=2;case 2:return t.trys.push([2,4,,5]),[4,c()];case 3:return[2,t.sent()];case 4:return t.sent(),[3,5];case 5:return e++,[3,1];case 6:if(!l)throw"Didn't recieve ".concat(r.join(" or ")," in time.");return[2,new Promise((function(){}))]}}))}))}}var rp,op,ap,ip,lp=function(e){var t=d(g.exports.useState(void 0),2),n=t[0],r=t[1],o=d(g.exports.useState(!1),2),a=o[0],l=o[1],c=d(g.exports.useState([]),2),f=c[0],h=c[1],m=d(g.exports.useState(null),2),v=m[0],y=m[1];g.exports.useEffect((function(){(function(){return s(this,void 0,void 0,(function(){return u(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,np({message:"TOLGEE_PING",recievingMessage:["TOLGEE_PONG"],attempts:2}).promise];case 1:return e.sent(),[2,!0];case 2:return e.sent(),[2,!1];case 3:return[2]}}))}))})().then((function(e){return r(e)}))}),[]);var b=Qd({url:"/v2/image-upload/{ids}",method:"delete"}),x=Qd({url:"/v2/image-upload",method:"post",options:{onSuccess:function(e){h((function(t){return p(p([],d(t),!1),[i(i({},e),{justUploaded:!0})],!1)}))}}}),w=function(e){return x.mutate({content:{"multipart/form-data":{image:e}}})};return{error:b.error||x.error,screenshotsUploading:x.isLoading,takingScreenshot:a,screenshots:f,setScreenshots:h,screenshotDetail:v,setScreenshotDetail:y,handleUploadImages:function(e){return s(this,void 0,void 0,(function(){return u(this,(function(t){switch(t.label){case 0:return[4,Promise.all(e.map((function(e){return w(e)})))];case 1:return t.sent(),[2]}}))}))},handleTakeScreenshot:function(t,n,r){return s(this,void 0,void 0,(function(){var o,a,i,s,c;return u(this,(function(u){switch(u.label){case 0:return l(!0),o=e.highlight(t,n).unhighlight,a=tp(t,n,Object.entries(r),e.changeTranslation).revert,[4,Oc(100)];case 1:u.sent(),u.label=2;case 2:return u.trys.push([2,4,5,6]),[4,np({message:"TOLGEE_TAKE_SCREENSHOT",recievingMessage:["TOLGEE_SCREENSHOT_TAKEN"]}).promise];case 3:return i=u.sent(),[3,6];case 4:return s=u.sent(),console.error(s),[2];case 5:return a(),o(),l(!1),[7];case 6:return[4,fetch(i).then((function(e){return e.blob()}))];case 7:return c=u.sent(),w(c),[2]}}))}))},handleRemoveScreenshot:function(e){var t=f.find((function(t){return t.id===e}));(null==t?void 0:t.justUploaded)&&b.mutate({path:{ids:[t.id]}}),h(f.filter((function(t){return t.id!==e})))},deleteImages:function(e){b.mutate({path:{ids:e}})},canTakeScreenshots:n}},sp=(rp=d((op=function(e){var t,n,r,o,a,c,f,h,m,v,y,b,x,w=d(g.exports.useState(!1),2),k=w[0],S=w[1],E=d(g.exports.useState({}),2),C=E[0],O=E[1],P=d(g.exports.useState(!1),2),R=P[0],T=P[1],M=d(g.exports.useState(e.ns[0]),2),A=M[0],L=M[1],I=d(g.exports.useState([]),2),j=I[0],N=I[1],$="tgpat"===Dd(e.uiProps.apiKey),_=lp(e.uiProps),F=_.screenshots,z=_.setScreenshots,D=_.screenshotDetail,B=_.setScreenshotDetail,W=_.screenshotsUploading,U=_.takingScreenshot,V=_.handleRemoveScreenshot,q=_.handleUploadImages,H=_.deleteImages,K=_.canTakeScreenshots,G=_.error,Q=l(_,["screenshots","setScreenshots","screenshotDetail","setScreenshotDetail","screenshotsUploading","takingScreenshot","handleRemoveScreenshot","handleUploadImages","deleteImages","canTakeScreenshots","error"]),Y=Gd({url:"/v2/api-keys/current",method:"get",options:{enabled:!$}}),X=Gd({url:"/v2/projects/languages",method:"get",options:{onSuccess:function(e){var t,n,r,o,a=(r=(null===(n=null===(t=e._embedded)||void 0===t?void 0:t.languages)||void 0===n?void 0:n.map((function(e){return e.tag})))||[],o=Jd().filter((function(e){return r.includes(e)})),0===o.length&&(o=r),o.slice(0,5));ne(a),ep(a)}}}),Z=Qd({url:"/v2/projects/keys/create",method:"post"}),J=g.exports.useMemo((function(){var e,t,n,r;return n=null===(t=null===(e=X.data)||void 0===e?void 0:e._embedded)||void 0===t?void 0:t.languages,r=null==n?void 0:n.find((function(e){return e.base})),r?p([r],d((n||[]).filter((function(e){return e!==r}))),!1):n}),[X.data]),ee=d(g.exports.useState(Jd()),2),te=ee[0],ne=ee[1],re=Gd({url:"/v2/projects/translations",method:"get",query:{filterKeyName:[e.keyName],filterNamespace:e.ns,languages:te},options:{keepPreviousData:!0,onSuccess:function(e){var t,n,r,o,a={},l=null===(n=null===(t=e._embedded)||void 0===t?void 0:t.keys)||void 0===n?void 0:n[0];Object.entries((null==l?void 0:l.translations)||{}).forEach((function(e){var t=d(e,2),n=t[0],r=t[1];a[n]=r.text||""})),O(a),N((null===(r=null==l?void 0:l.keyTags)||void 0===r?void 0:r.map((function(e){return e.name})))||[]),z((null===(o=null==l?void 0:l.screenshots)||void 0===o?void 0:o.map((function(e){return i(i({},e),{justUploaded:!1})})))||[])}}}),oe=g.exports.useMemo((function(){var t,n,r=null===(n=null===(t=re.data)||void 0===t?void 0:t._embedded)||void 0===n?void 0:n.keys;return(null==r?void 0:r.length)?[r[0].keyNamespace||""]:e.ns}),[re.data]),ae=Qd({url:"/v2/projects/keys/{id}/complex-update",method:"put"}),ie=null===(r=null===(n=null===(t=re.data)||void 0===t?void 0:t._embedded)||void 0===n?void 0:n.keys)||void 0===r?void 0:r[0],le=void 0!==(null===(o=Y.data)||void 0===o?void 0:o.projectId)?"".concat(e.uiProps.apiUrl,"/projects/").concat(null===(a=Y.data)||void 0===a?void 0:a.projectId,"/translations/single?key=").concat(e.keyName).concat(void 0!==A?"&ns=".concat(A):""):void 0,se=d(g.exports.useState(void 0),2),ue=se[0],ce=se[1],de=d(g.exports.useState(!1),2),pe=de[0],fe=de[1],he=null===(c=Y.data)||void 0===c?void 0:c.permittedLanguageIds;function me(){if(D)B(null);else{e.onClose(),fe(!1);var t=ge();t.length&&H(t),z([])}}g.exports.useEffect((function(){var e=function(e){"Escape"===e.key&&me()};if(!pe)return window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}}),[pe]);var ge=function(){return F.filter((function(e){return e.justUploaded})).map((function(e){return e.id}))},ve=function(){var e;return(null===(e=null==ie?void 0:ie.screenshots)||void 0===e?void 0:e.map((function(e){return e.id})).filter((function(e){return!F.find((function(t){return t.id===e}))})))||[]};g.exports.useEffect((function(){var t;if(e.defaultValue&&J&&te&&C){var n=J.find((function(e){return e.base}));if(n&&te.includes(n.tag)&&!R){var r=void 0!==(null==ie?void 0:ie.translations[n.tag]);C[n.tag]||r||O(i(i({},C),((t={})[n.tag]=e.defaultValue,t)))}}}),[J,C,te,e.defaultValue]);var ye,be,xe=null==J?void 0:J.find((function(e){return e.base})),we=X.isFetching||re.isLoading&&!re.data||Y.isFetching,ke=ae.isLoading||Z.isLoading,Se=X.error||re.error||Y.error||Z.error||ae.error||G,Ee=null===(f=Y.data)||void 0===f?void 0:f.scopes,Ce=!$&&(we||((null===(v=null===(m=null===(h=re.data)||void 0===h?void 0:h._embedded)||void 0===m?void 0:m.keys)||void 0===v?void 0:v.length)?!Zd("translations.edit",Ee):!Zd("keys.edit",Ee))),Oe=!Ce&&Zd("keys.edit",Ee),Pe=Boolean(null===(x=null===(b=null===(y=re.data)||void 0===y?void 0:y._embedded)||void 0===b?void 0:b.keys)||void 0===x?void 0:x.length),Re={input:e.keyName,open:e.open,ns:oe,selectedNs:A,loading:we,saving:ke,success:k,error:Se,availableLanguages:J,selectedLanguages:(ye=te,be=null==xe?void 0:xe.tag,be&&ye.includes(be)?p([be],d(ye.filter((function(e){return e!==be}))),!1):ye),formDisabled:Ce,translations:ie,translationsForm:C,container:ue,useBrowserWindow:pe,canTakeScreenshots:K,takingScreenshot:U,screenshotsUploading:W,screenshots:F,screenshotDetail:D,linkToPlatform:le,keyExists:Pe,scopes:Ee,permittedLanguageIds:he,tags:j,canEditTags:Oe},Te={onInputChange:function(e,t){var n;S(!1),T(!0),O(i(i({},C),((n={})[e]=t,n)))},handleUploadImages:q,handleTakeScreenshot:function(){Q.handleTakeScreenshot(e.keyName,A,C)},handleRemoveScreenshot:V,onSave:function(){return s(this,void 0,void 0,(function(){var t,n;return u(this,(function(r){switch(r.label){case 0:return r.trys.push([0,9,10,11]),t={},Object.entries(C).forEach((function(e){var n=d(e,2),r=n[0],o=n[1];Ac(r,he,J)&&(t[r]=o)})),void 0!==ie?[3,2]:[4,Z.mutateAsync({content:{"application/json":{name:e.keyName,namespace:A||void 0,translations:t,screenshotUploadedImageIds:F.map((function(e){return e.id})),tags:j}}})];case 1:return r.sent(),[3,4];case 2:return[4,ae.mutateAsync({content:{"application/json":{name:e.keyName,namespace:A||void 0,translations:t,screenshotIdsToDelete:ve(),screenshotUploadedImageIds:ge(),tags:j}},path:{id:ie.keyId}})];case 3:r.sent(),r.label=4;case 4:return tp(e.keyName,A,Object.entries(t),e.uiProps.changeTranslation),re.refetch(),S(!0),pe?[4,Oc(2e3)]:[3,6];case 5:return r.sent(),S(!1),[3,8];case 6:return[4,Oc(400)];case 7:r.sent(),e.onClose(),r.label=8;case 8:return[3,11];case 9:return n=r.sent(),console.error(n),[3,11];case 10:return S(!1),[7];case 11:return[2]}}))}))},onClose:me,onSelectedLanguagesChange:function(e){e.length&&(ne(e),ep(e))},setContainer:ce,setUseBrowserWindow:fe,setScreenshotDetail:B,setSelectedNs:L,setTags:N};return[Re,Te]},ap=function(e){const t=g.exports.createContext({[Pc]:{v:{current:e},n:{current:-1},l:new Set,u:e=>e()}});var n;return t[Rc]=t.Provider,t.Provider=(n=t.Provider,({value:e,children:t})=>{const r=g.exports.useRef(e),o=g.exports.useRef(0),[a,i]=g.exports.useState(null);a&&(a(e),i(null));const l=g.exports.useRef();if(!l.current){const e=new Set,t=(t,n)=>{te.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()}))};l.current={[Pc]:{v:r,n:o,l:e,u:t}}}return Tc((()=>{r.current=e,o.current+=1,Mc((()=>{l.current[Pc].l.forEach((t=>{t({n:o.current,v:e})}))}))}),[e]),g.exports.createElement(n,{value:l.current},t)}),delete t.Consumer,t}(null),ip=J.createContext(null),[function(e){var t=e.children,n=l(e,["children"]),r=d(op(n),2),o=r[0],a=r[1],i=g.exports.useRef(a);i.current=a;var s=g.exports.useMemo((function(){var e={};return Object.keys(i.current).map((function(t){e[t]=function(){for(var e,n,r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return null===(n=(e=i.current)[t])||void 0===n?void 0:n.call.apply(n,p([e],d(r),!1))}})),e}),[i]);return J.createElement(ap.Provider,{value:o},J.createElement(ip.Provider,{value:s},t))},function(){return J.useContext(ip)},function(e){return function(e,t){const n=g.exports.useContext(e)[Pc],{v:{current:r},n:{current:o},l:a}=n,i=t(r),[l,s]=g.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(l[1],i)||s(),Tc((()=>(a.add(s),()=>{a.delete(s)})),[a]),l[1]}(ap,e)}]),3),rp[0]),up=rp[1],cp=rp[2];function dp(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 pp(){return pp=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},pp.apply(this,arguments)}var fp={exports:{}};function hp(){}function mp(){}mp.resetWarningCache=hp;function gp(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=gp(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function vp(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=gp(e))&&(r&&(r+=" "),r+=t);return r}function yp(){return yp=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},yp.apply(this,arguments)}function bp(e){return"string"==typeof e}function xp(e,t={},n){return bp(e)?t:yp({},t,{ownerState:yp({},t.ownerState,n)})}function wp(e,t){return"function"==typeof e?e(t):e}function kp(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 Sp(e,t){return()=>null}function Ep(){return Ep=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},Ep.apply(this,arguments)}function Cp(e){return null!==e&&"object"==typeof e&&e.constructor===Object}function Op(e,t,n={clone:!0}){const r=n.clone?Ep({},e):e;return Cp(e)&&Cp(t)&&Object.keys(t).forEach((o=>{"__proto__"!==o&&(Cp(t[o])&&o in e&&Cp(e[o])?r[o]=Op(e[o],t[o],n):r[o]=t[o])})),r}fp.exports=function(){function e(e,t,n,r,o,a){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==a){var i=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 i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:mp,resetWarningCache:hp};return n.PropTypes=n,n}();const Pp=(fp.exports.element,()=>null);Pp.isRequired=(fp.exports.element.isRequired,()=>null);var Rp=(fp.exports.elementType,()=>null);function Tp(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 Mp,Ap={exports:{}},Lp={},Ip=Symbol.for("react.element"),jp=Symbol.for("react.portal"),Np=Symbol.for("react.fragment"),$p=Symbol.for("react.strict_mode"),_p=Symbol.for("react.profiler"),Fp=Symbol.for("react.provider"),zp=Symbol.for("react.context"),Dp=Symbol.for("react.server_context"),Bp=Symbol.for("react.forward_ref"),Wp=Symbol.for("react.suspense"),Up=Symbol.for("react.suspense_list"),Vp=Symbol.for("react.memo"),qp=Symbol.for("react.lazy"),Hp=Symbol.for("react.offscreen");function Kp(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Ip:switch(e=e.type){case Np:case _p:case $p:case Wp:case Up:return e;default:switch(e=e&&e.$$typeof){case Dp:case zp:case Bp:case qp:case Vp:case Fp:return e;default:return t}}case jp:return t}}}Mp=Symbol.for("react.module.reference"),Lp.ContextConsumer=zp,Lp.ContextProvider=Fp,Lp.Element=Ip,Lp.ForwardRef=Bp,Lp.Fragment=Np,Lp.Lazy=qp,Lp.Memo=Vp,Lp.Portal=jp,Lp.Profiler=_p,Lp.StrictMode=$p,Lp.Suspense=Wp,Lp.SuspenseList=Up,Lp.isAsyncMode=function(){return!1},Lp.isConcurrentMode=function(){return!1},Lp.isContextConsumer=function(e){return Kp(e)===zp},Lp.isContextProvider=function(e){return Kp(e)===Fp},Lp.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Ip},Lp.isForwardRef=function(e){return Kp(e)===Bp},Lp.isFragment=function(e){return Kp(e)===Np},Lp.isLazy=function(e){return Kp(e)===qp},Lp.isMemo=function(e){return Kp(e)===Vp},Lp.isPortal=function(e){return Kp(e)===jp},Lp.isProfiler=function(e){return Kp(e)===_p},Lp.isStrictMode=function(e){return Kp(e)===$p},Lp.isSuspense=function(e){return Kp(e)===Wp},Lp.isSuspenseList=function(e){return Kp(e)===Up},Lp.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Np||e===_p||e===$p||e===Wp||e===Up||e===Hp||"object"==typeof e&&null!==e&&(e.$$typeof===qp||e.$$typeof===Vp||e.$$typeof===Fp||e.$$typeof===zp||e.$$typeof===Bp||e.$$typeof===Mp||void 0!==e.getModuleId)},Lp.typeOf=Kp,function(e){e.exports=Lp}(Ap);const Gp=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function Qp(e,t=""){return e.displayName||e.name||function(e){const t=`${e}`.match(Gp);return t&&t[1]||""}(e)||t}function Yp(e,t,n){const r=Qp(t);return e.displayName||(""!==r?`${n}(${r})`:n)}var Xp="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();const Zp=fp.exports.oneOfType([fp.exports.func,fp.exports.object]);function Jp(e){if("string"!=typeof e)throw new Error(Tp(7));return e.charAt(0).toUpperCase()+e.slice(1)}function ef(...e){return e.reduce(((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)}),(()=>{}))}function tf(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout((()=>{e.apply(this,r)}),t)}return r.clear=()=>{clearTimeout(n)},r}function nf(e,t){return()=>null}function rf(e,t){return g.exports.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}function of(e){return e&&e.ownerDocument||document}function af(e){return of(e).defaultView||window}function lf(e,t){return()=>null}function sf(e,t){"function"==typeof e?e(t):e&&(e.current=t)}const uf="undefined"!=typeof window?g.exports.useLayoutEffect:g.exports.useEffect;let cf=0;const df=ee.useId;function pf(e){if(void 0!==df){const t=df();return null!=e?e:t}return function(e){const[t,n]=g.exports.useState(e),r=e||t;return g.exports.useEffect((()=>{null==t&&(cf+=1,n(`mui-${cf}`))}),[t]),r}(e)}function ff(e,t,n,r,o){return null}function hf({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=g.exports.useRef(void 0!==e),[a,i]=g.exports.useState(t);return[o?e:a,g.exports.useCallback((e=>{o||i(e)}),[])]}function mf(e){const t=g.exports.useRef(e);return uf((()=>{t.current=e})),g.exports.useCallback(((...e)=>(0,t.current)(...e)),[])}function gf(e,t){return g.exports.useMemo((()=>null==e&&null==t?null:n=>{sf(e,n),sf(t,n)}),[e,t])}let vf,yf=!0,bf=!1;const xf={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 wf(e){e.metaKey||e.altKey||e.ctrlKey||(yf=!0)}function kf(){yf=!1}function Sf(){"hidden"===this.visibilityState&&bf&&(yf=!0)}function Ef(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return yf||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!xf[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function Cf(){const e=g.exports.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",wf,!0),t.addEventListener("mousedown",kf,!0),t.addEventListener("pointerdown",kf,!0),t.addEventListener("touchstart",kf,!0),t.addEventListener("visibilitychange",Sf,!0))}),[]),t=g.exports.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!Ef(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(bf=!0,window.clearTimeout(vf),vf=window.setTimeout((()=>{bf=!1}),100),t.current=!1,!0)},ref:e}}function Of(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}let Pf;function Rf(){if(Pf)return Pf;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),Pf="reverse",e.scrollLeft>0?Pf="default":(e.scrollLeft=1,0===e.scrollLeft&&(Pf="negative")),document.body.removeChild(e),Pf}function Tf(){return null}Tf.isRequired=Tf;var Mf=Tf;function Af(e,t){const n=Ep({},t);return Object.keys(e).forEach((t=>{void 0===n[t]&&(n[t]=e[t])})),n}function Lf(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 If=e=>e,jf=(()=>{let e=If;return{configure(t){e=t},generate:t=>e(t),reset(){e=If}}})(),Nf={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function $f(e,t,n="Mui"){const r=Nf[t];return r?`${n}-${r}`:`${jf.generate(e)}-${t}`}function _f(e,t,n="Mui"){const r={};return t.forEach((t=>{r[t]=$f(e,t,n)})),r}var Ff=Object.freeze({__proto__:null,chainPropTypes:Sp,deepmerge:Op,isPlainObject:Cp,elementAcceptingRef:Pp,elementTypeAcceptingRef:Rp,exactProp:function(e){return e},formatMuiErrorMessage:Tp,getDisplayName:function(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return Qp(e,"Component");if("object"==typeof e)switch(e.$$typeof){case Ap.exports.ForwardRef:return Yp(e,e.render,"ForwardRef");case Ap.exports.Memo:return Yp(e,e.type,"memo");default:return}}},HTMLElementType:function(e,t,n,r,o){return null},ponyfillGlobal:Xp,refType:Zp,unstable_capitalize:Jp,unstable_createChainedFunction:ef,unstable_debounce:tf,unstable_deprecatedPropType:nf,unstable_isMuiElement:rf,unstable_ownerDocument:of,unstable_ownerWindow:af,unstable_requirePropFactory:lf,unstable_setRef:sf,unstable_useEnhancedEffect:uf,unstable_useId:pf,unstable_unsupportedProp:ff,unstable_useControlled:hf,unstable_useEventCallback:mf,unstable_useForkRef:gf,unstable_useIsFocusVisible:Cf,unstable_getScrollbarSize:Of,unstable_detectScrollType:Rf,unstable_getNormalizedScrollLeft:function(e,t){const n=e.scrollLeft;if("rtl"!==t)return n;switch(Rf()){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n;default:return n}},usePreviousProps:e=>{const t=g.exports.useRef({});return g.exports.useEffect((()=>{t.current=e})),t.current},visuallyHidden:{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:-1,overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"},integerPropType:Mf,internal_resolveProps:Af,unstable_composeClasses:Lf,unstable_generateUtilityClass:$f,unstable_generateUtilityClasses:_f,unstable_ClassNameGenerator:jf});function zf(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 Df(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:a}=e;if(!t){const e=vp(null==o?void 0:o.className,null==r?void 0:r.className,a,null==n?void 0:n.className),t=yp({},null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),i=yp({},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}(yp({},o,r)),l=zf(r),s=zf(o),u=t(i),c=vp(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=yp({},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=yp({},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 Bf=["elementType","externalSlotProps","ownerState"];function Wf(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o}=e,a=kp(e,Bf),i=wp(r,o),{props:l,internalRef:s}=Df(yp({},a,{externalSlotProps:i}));return xp(n,yp({},l,{ref:gf(s,gf(null==i?void 0:i.ref,null==(t=e.additionalProps)?void 0:t.ref))}),o)}function Uf(e){return void 0!==e.normalize?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e}function Vf(e,t){for(let n=0;n<e.length;n+=1)if(t(e[n]))return n;return-1}const qf=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=Uf(u));const c=u?e.filter((e=>{let r=(a||s)(e);return n&&(r=r.toLowerCase()),t&&(r=Uf(r)),"start"===o?0===r.indexOf(u):r.indexOf(u)>-1})):e;return"number"==typeof r?c.slice(0,r):c}}();function Hf(e){const{autoComplete:t=!1,autoHighlight:n=!1,autoSelect:r=!1,blurOnSelect:o=!1,clearOnBlur:a=!e.freeSolo,clearOnEscape:i=!1,componentName:l="useAutocomplete",defaultValue:s=(e.multiple?[]:null),disableClearable:u=!1,disableCloseOnSelect:c=!1,disabled:d,disabledItemsFocusable:p=!1,disableListWrap:f=!1,filterOptions:h=qf,filterSelectedOptions:m=!1,freeSolo:v=!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:A,open:L,openOnFocus:I=!1,options:j,readOnly:N=!1,selectOnFocus:$=!e.freeSolo,value:_}=e,F=pf(k);let z=b;z=e=>{const t=b(e);return"string"!=typeof t?String(t):t};const D=g.exports.useRef(!1),B=g.exports.useRef(!0),W=g.exports.useRef(null),U=g.exports.useRef(null),[V,q]=g.exports.useState(null),[H,K]=g.exports.useState(-1),G=n?0:-1,Q=g.exports.useRef(G),[Y,X]=hf({controlled:_,default:s,name:l}),[Z,J]=hf({controlled:E,default:"",name:l,state:"inputValue"}),[ee,te]=g.exports.useState(!1),ne=g.exports.useCallback(((e,t)=>{if(!(O?Y.length<t.length:null!==t)&&!a)return;let n;if(O)n="";else if(null==t)n="";else{const e=z(t);n="string"==typeof e?e:""}Z!==n&&(J(n),M&&M(e,n,"reset"))}),[z,Z,O,M,J,a,Y]),re=g.exports.useRef();g.exports.useEffect((()=>{const e=Y!==re.current;re.current=Y,ee&&!e||v&&!e||ne(null,Y)}),[Y,ne,ee,re,v]);const[oe,ae]=hf({controlled:L,default:!1,name:l,state:"open"}),[ie,le]=g.exports.useState(!0),se=!O&&null!=Y&&Z===z(Y),ue=oe&&!N,ce=ue?h(j.filter((e=>!m||!(O?Y:[Y]).some((t=>null!==t&&C(e,t))))),{inputValue:se&&ie?"":Z,getOptionLabel:z}):[],de=oe&&ce.length>0&&!N,pe=mf((e=>{-1===e?W.current.focus():V.querySelector(`[data-tag-index="${e}"]`).focus()}));g.exports.useEffect((()=>{O&&H>Y.length-1&&(K(-1),pe(-1))}),[Y,O,H,pe]);const fe=mf((({event:e,index:t,reason:n="auto"})=>{if(Q.current=t,-1===t?W.current.removeAttribute("aria-activedescendant"):W.current.setAttribute("aria-activedescendant",`${F}-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=mf((({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=!p&&(!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 G;if("start"===n)return 0;if("end"===n)return e;const t=Q.current+n;return t<0?-1===t&&S?-1:f&&-1!==Q.current||Math.abs(n)>1?0:e:t>e?t===e+1&&S?-1:f||Math.abs(n)>1?e:0:t})(),r);if(fe({index:a,reason:o,event:e}),t&&"reset"!==n)if(-1===a)W.current.value=Z;else{const e=z(ce[a]);W.current.value=e;0===e.toLowerCase().indexOf(Z.toLowerCase())&&Z.length>0&&W.current.setSelectionRange(Z.length,e.length)}})),me=g.exports.useCallback((()=>{if(!ue)return;const e=O?Y[0]:Y;if(0!==ce.length&&null!=e){if(U.current)if(null==e)Q.current>=ce.length-1?fe({index:ce.length-1}):fe({index:Q.current});else{const t=ce[Q.current];if(O&&t&&-1!==Vf(Y,(e=>C(t,e))))return;const n=Vf(ce,(t=>C(t,e)));-1===n?he({diff:"reset"}):fe({index:n})}}else he({diff:"reset"})}),[ce.length,!O&&Y,m,he,fe,ue,Z,O]),ge=mf((e=>{sf(U,e),e&&me()}));g.exports.useEffect((()=>{me()}),[me]);const ve=e=>{oe||(ae(!0),le(!0),A&&A(e))},ye=(e,t)=>{oe&&(ae(!1),R&&R(e,t))},be=(e,t,n,r)=>{if(O){if(Y.length===t.length&&Y.every(((e,n)=>e===t[n])))return}else if(Y===t)return;P&&P(e,t,n,r),X(t)},xe=g.exports.useRef(!1),we=(e,t,n="selectOption",r="options")=>{let a=n,i=t;if(O){i=Array.isArray(Y)?Y.slice():[];const e=Vf(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}),c||e&&(e.ctrlKey||e.metaKey)||ye(e,a),(!0===o||"touch"===o&&xe.current||"mouse"===o&&!xe.current)&&W.current.blur()};const ke=(e,t)=>{if(!O)return;""===Z&&ye(e,"toggleInput");let n=H;-1===H?""===Z&&"previous"===t&&(n=Y.length-1):(n+="next"===t?1:-1,n<0&&(n=0),n===Y.length&&(n=-1)),n=function(e,t){if(-1===e)return-1;let n=e;for(;;){if("next"===t&&n===Y.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,J(""),M&&M(e,"","clear"),be(e,O?[]:null,"clear")},Ee=e=>n=>{if(e.onKeyDown&&e.onKeyDown(n),!n.defaultMuiPrevented&&(-1!==H&&-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:-5,direction:"previous",reason:"keyboard",event:n}),ve(n);break;case"PageDown":n.preventDefault(),he({diff:5,direction:"next",reason:"keyboard",event:n}),ve(n);break;case"ArrowDown":n.preventDefault(),he({diff:1,direction:"next",reason:"keyboard",event:n}),ve(n);break;case"ArrowUp":n.preventDefault(),he({diff:-1,direction:"previous",reason:"keyboard",event:n}),ve(n);break;case"ArrowLeft":ke(n,"previous");break;case"ArrowRight":ke(n,"next");break;case"Enter":if(-1!==Q.current&&ue){const e=ce[Q.current],r=!!y&&y(e);if(n.preventDefault(),r)return;we(n,e,"selectOption"),t&&W.current.setSelectionRange(W.current.value.length,W.current.value.length)}else v&&""!==Z&&!1===se&&(O&&n.preventDefault(),we(n,Z,"createOption","freeSolo"));break;case"Escape":ue?(n.preventDefault(),n.stopPropagation(),ye(n,"escape")):i&&(""!==Z||O&&Y.length>0)&&(n.preventDefault(),n.stopPropagation(),Se(n));break;case"Backspace":if(O&&!N&&""===Z&&Y.length>0){const e=-1===H?Y.length-1:H,t=Y.slice();t.splice(e,1),be(n,t,"removeOption",{option:Y[e]})}}},Ce=e=>{te(!0),I&&!D.current&&ve(e)},Oe=e=>{null!==U.current&&U.current.parentElement.contains(document.activeElement)?W.current.focus():(te(!1),B.current=!0,D.current=!1,r&&-1!==Q.current&&ue?we(e,ce[Q.current],"blur"):r&&v&&""!==Z?we(e,Z,"blur","freeSolo"):a&&ne(e,Y),ye(e,"blur"))},Pe=e=>{const t=e.target.value;Z!==t&&(J(t),le(!1),M&&M(e,t,"input")),""===t?u||O||be(e,null,"clear"):ve(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},Ae=e=>t=>{const n=Y.slice();n.splice(e,1),be(t,n,"removeOption",{option:Y[e]})},Le=e=>{oe?ye(e,"toggleInput"):ve(e)},Ie=e=>{e.target.getAttribute("id")!==F&&e.preventDefault()},je=()=>{W.current.focus(),$&&B.current&&W.current.selectionEnd-W.current.selectionStart==0&&W.current.select(),B.current=!1},Ne=e=>{""!==Z&&oe||Le(e)};let $e=v&&Z.length>0;$e=$e||(O?Y.length>0:null!==Y);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}),[])),d&&ee&&Oe(),{getRootProps:(e={})=>yp({"aria-owns":de?`${F}-listbox`:null},e,{onKeyDown:Ee(e),onMouseDown:Ie,onClick:je}),getInputLabelProps:()=>({id:`${F}-label`,htmlFor:F}),getInputProps:()=>({id:F,value:Z,onBlur:Oe,onFocus:Ce,onChange:Pe,onMouseDown:Ne,"aria-activedescendant":ue?"":null,"aria-autocomplete":t?"both":"list","aria-controls":de?`${F}-listbox`:void 0,"aria-expanded":de,autoComplete:"off",ref:W,autoCapitalize:"none",spellCheck:"false",role:"combobox"}),getClearProps:()=>({tabIndex:-1,onClick:Se}),getPopupIndicatorProps:()=>({tabIndex:-1,onClick:Le}),getTagProps:({index:e})=>yp({key:e,"data-tag-index":e,tabIndex:-1},!N&&{onDelete:Ae(e)}),getListboxProps:()=>({role:"listbox",id:`${F}-listbox`,"aria-labelledby":`${F}-label`,ref:ge,onMouseDown:e=>{e.preventDefault()}}),getOptionProps:({index:e,option:t})=>{const n=(O?Y:[Y]).some((e=>null!=e&&C(t,e))),r=!!y&&y(t);return{key:z(t),tabIndex:-1,role:"option",id:`${F}-option-${e}`,onMouseOver:Re,onClick:Me,onTouchStart:Te,"data-option-index":e,"aria-disabled":r,"aria-selected":n}},id:F,inputValue:Z,value:Y,dirty:$e,popupOpen:ue,focused:ee||-1!==H,anchorEl:V,setAnchorEl:q,focusedTag:H,groupedOptions:_e}}var Kf={exports:{}},Gf={},Qf=g.exports,Yf=60103;if(Gf.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var Xf=Symbol.for;Yf=Xf("react.element"),Gf.Fragment=Xf("react.fragment")}var Zf=Qf.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Jf=Object.prototype.hasOwnProperty,eh={key:!0,ref:!0,__self:!0,__source:!0};function th(e,t,n){var r,o={},a=null,i=null;for(r in void 0!==n&&(a=""+n),void 0!==t.key&&(a=""+t.key),void 0!==t.ref&&(i=t.ref),t)Jf.call(t,r)&&!eh.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:Yf,type:e,key:a,ref:i,props:o,_owner:Zf.current}}Gf.jsx=th,Gf.jsxs=th,function(e){e.exports=Gf}(Kf);const nh=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function rh(e){const t=[],n=[];return Array.from(e.querySelectorAll(nh)).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 oh(){return!0}function ah(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:a=rh,isEnabled:i=oh,open:l}=e,s=g.exports.useRef(),u=g.exports.useRef(null),c=g.exports.useRef(null),d=g.exports.useRef(null),p=g.exports.useRef(null),f=g.exports.useRef(!1),h=g.exports.useRef(null),m=gf(t.ref,h),v=g.exports.useRef(null);g.exports.useEffect((()=>{l&&h.current&&(f.current=!n)}),[n,l]),g.exports.useEffect((()=>{if(!l||!h.current)return;const e=of(h.current);return h.current.contains(e.activeElement)||(h.current.hasAttribute("tabIndex")||h.current.setAttribute("tabIndex",-1),f.current&&h.current.focus()),()=>{o||(d.current&&d.current.focus&&(s.current=!0,d.current.focus()),d.current=null)}}),[l]),g.exports.useEffect((()=>{if(!l||!h.current)return;const e=of(h.current),t=t=>{const{current:n}=h;if(null!==n)if(e.hasFocus()&&!r&&i()&&!s.current){if(!n.contains(e.activeElement)){if(t&&p.current!==t.target||e.activeElement!==p.current)p.current=null;else if(null!==p.current)return;if(!f.current)return;let r=[];if(e.activeElement!==u.current&&e.activeElement!==c.current||(r=a(h.current)),r.length>0){var o,l;const e=Boolean((null==(o=v.current)?void 0:o.shiftKey)&&"Tab"===(null==(l=v.current)?void 0:l.key)),t=r[0],n=r[r.length-1];e?n.focus():t.focus()}else n.focus()}}else s.current=!1},n=t=>{v.current=t,!r&&i()&&"Tab"===t.key&&e.activeElement===h.current&&t.shiftKey&&(s.current=!0,c.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,l,a]);const y=e=>{null===d.current&&(d.current=e.relatedTarget),f.current=!0};return Kf.exports.jsxs(g.exports.Fragment,{children:[Kf.exports.jsx("div",{tabIndex:l?0:-1,onFocus:y,ref:u,"data-testid":"sentinelStart"}),g.exports.cloneElement(t,{ref:m,onFocus:e=>{null===d.current&&(d.current=e.relatedTarget),f.current=!0,p.current=e.target;const n=t.props.onFocus;n&&n(e)}}),Kf.exports.jsx("div",{tabIndex:l?0:-1,onFocus:y,ref:c,"data-testid":"sentinelEnd"})]})}var ih="top",lh="bottom",sh="right",uh="left",ch="auto",dh=[ih,lh,sh,uh],ph="start",fh="end",hh="viewport",mh="popper",gh=dh.reduce((function(e,t){return e.concat([t+"-"+ph,t+"-"+fh])}),[]),vh=[].concat(dh,[ch]).reduce((function(e,t){return e.concat([t,t+"-"+ph,t+"-"+fh])}),[]),yh=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function bh(e){return e?(e.nodeName||"").toLowerCase():null}function xh(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function wh(e){return e instanceof xh(e).Element||e instanceof Element}function kh(e){return e instanceof xh(e).HTMLElement||e instanceof HTMLElement}function Sh(e){return"undefined"!=typeof ShadowRoot&&(e instanceof xh(e).ShadowRoot||e instanceof ShadowRoot)}var Eh={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];kh(o)&&bh(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}),{});kh(r)&&bh(r)&&(Object.assign(r.style,a),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};function Ch(e){return e.split("-")[0]}var Oh=Math.max,Ph=Math.min,Rh=Math.round;function Th(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function Mh(){return!/^((?!chrome|android).)*safari/i.test(Th())}function Ah(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,a=1;t&&kh(e)&&(o=e.offsetWidth>0&&Rh(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Rh(r.height)/e.offsetHeight||1);var i=(wh(e)?xh(e):window).visualViewport,l=!Mh()&&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 Lh(e){var t=Ah(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 Ih(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Sh(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function jh(e){return xh(e).getComputedStyle(e)}function Nh(e){return["table","td","th"].indexOf(bh(e))>=0}function $h(e){return((wh(e)?e.ownerDocument:e.document)||window.document).documentElement}function _h(e){return"html"===bh(e)?e:e.assignedSlot||e.parentNode||(Sh(e)?e.host:null)||$h(e)}function Fh(e){return kh(e)&&"fixed"!==jh(e).position?e.offsetParent:null}function zh(e){for(var t=xh(e),n=Fh(e);n&&Nh(n)&&"static"===jh(n).position;)n=Fh(n);return n&&("html"===bh(n)||"body"===bh(n)&&"static"===jh(n).position)?t:n||function(e){var t=/firefox/i.test(Th());if(/Trident/i.test(Th())&&kh(e)&&"fixed"===jh(e).position)return null;var n=_h(e);for(Sh(n)&&(n=n.host);kh(n)&&["html","body"].indexOf(bh(n))<0;){var r=jh(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 Dh(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Bh(e,t,n){return Oh(e,Ph(t,n))}function Wh(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Uh(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var Vh={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=Ch(n.placement),s=Dh(l),u=[uh,sh].indexOf(l)>=0?"height":"width";if(a&&i){var c=function(e,t){return Wh("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Uh(e,dh))}(o.padding,n),d=Lh(a),p="y"===s?ih:uh,f="y"===s?lh:sh,h=n.rects.reference[u]+n.rects.reference[s]-i[s]-n.rects.popper[u],m=i[s]-n.rects.reference[s],g=zh(a),v=g?"y"===s?g.clientHeight||0:g.clientWidth||0:0,y=h/2-m/2,b=c[p],x=v-d[u]-c[f],w=v/2-d[u]/2+y,k=Bh(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)))&&Ih(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function qh(e){return e.split("-")[1]}var Hh={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Kh(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,g="function"==typeof c?c({x:f,y:m}):{x:f,y:m};f=g.x,m=g.y;var v=i.hasOwnProperty("x"),y=i.hasOwnProperty("y"),b=uh,x=ih,w=window;if(u){var k=zh(n),S="clientHeight",E="clientWidth";if(k===xh(n)&&"static"!==jh(k=$h(n)).position&&"absolute"===l&&(S="scrollHeight",E="scrollWidth"),o===ih||(o===uh||o===sh)&&a===fh)x=lh,m-=(d&&k===w&&w.visualViewport?w.visualViewport.height:k[S])-r.height,m*=s?1:-1;if(o===uh||(o===ih||o===lh)&&a===fh)b=sh,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&&Hh),P=!0===c?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:Rh(t*r)/r||0,y:Rh(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]=v?"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]=v?f+"px":"",t.transform="",t))}var Gh={passive:!0};var Qh={left:"right",right:"left",bottom:"top",top:"bottom"};function Yh(e){return e.replace(/left|right|bottom|top/g,(function(e){return Qh[e]}))}var Xh={start:"end",end:"start"};function Zh(e){return e.replace(/start|end/g,(function(e){return Xh[e]}))}function Jh(e){var t=xh(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function em(e){return Ah($h(e)).left+Jh(e).scrollLeft}function tm(e){var t=jh(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function nm(e){return["html","body","#document"].indexOf(bh(e))>=0?e.ownerDocument.body:kh(e)&&tm(e)?e:nm(_h(e))}function rm(e,t){var n;void 0===t&&(t=[]);var r=nm(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=xh(r),i=o?[a].concat(a.visualViewport||[],tm(r)?r:[]):r,l=t.concat(i);return o?l:l.concat(rm(_h(i)))}function om(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function am(e,t,n){return t===hh?om(function(e,t){var n=xh(e),r=$h(e),o=n.visualViewport,a=r.clientWidth,i=r.clientHeight,l=0,s=0;if(o){a=o.width,i=o.height;var u=Mh();(u||!u&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:a,height:i,x:l+em(e),y:s}}(e,n)):wh(t)?function(e,t){var n=Ah(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):om(function(e){var t,n=$h(e),r=Jh(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=Oh(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=Oh(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+em(e),s=-r.scrollTop;return"rtl"===jh(o||n).direction&&(l+=Oh(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:l,y:s}}($h(e)))}function im(e,t,n,r){var o="clippingParents"===t?function(e){var t=rm(_h(e)),n=["absolute","fixed"].indexOf(jh(e).position)>=0&&kh(e)?zh(e):e;return wh(n)?t.filter((function(e){return wh(e)&&Ih(e,n)&&"body"!==bh(e)})):[]}(e):[].concat(t),a=[].concat(o,[n]),i=a[0],l=a.reduce((function(t,n){var o=am(e,n,r);return t.top=Oh(o.top,t.top),t.right=Ph(o.right,t.right),t.bottom=Ph(o.bottom,t.bottom),t.left=Oh(o.left,t.left),t}),am(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 lm(e){var t,n=e.reference,r=e.element,o=e.placement,a=o?Ch(o):null,i=o?qh(o):null,l=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(a){case ih:t={x:l,y:n.y-r.height};break;case lh:t={x:l,y:n.y+n.height};break;case sh:t={x:n.x+n.width,y:s};break;case uh:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var u=a?Dh(a):null;if(null!=u){var c="y"===u?"height":"width";switch(i){case ph:t[u]=t[u]-(n[c]/2-r[c]/2);break;case fh:t[u]=t[u]+(n[c]/2-r[c]/2)}}return t}function sm(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?"clippingParents":l,u=n.rootBoundary,c=void 0===u?hh:u,d=n.elementContext,p=void 0===d?mh:d,f=n.altBoundary,h=void 0!==f&&f,m=n.padding,g=void 0===m?0:m,v=Wh("number"!=typeof g?g:Uh(g,dh)),y=p===mh?"reference":mh,b=e.rects.popper,x=e.elements[h?y:p],w=im(wh(x)?x:x.contextElement||$h(e.elements.popper),s,c,i),k=Ah(e.elements.reference),S=lm({reference:k,element:b,strategy:"absolute",placement:o}),E=om(Object.assign({},b,S)),C=p===mh?E:k,O={top:w.top-C.top+v.top,bottom:C.bottom-w.bottom+v.bottom,left:w.left-C.left+v.left,right:C.right-w.right+v.right},P=e.modifiersData.offset;if(p===mh&&P){var R=P[o];Object.keys(O).forEach((function(e){var t=[sh,lh].indexOf(e)>=0?1:-1,n=[ih,lh].indexOf(e)>=0?"y":"x";O[e]+=R[n]*t}))}return O}function um(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?vh:s,c=qh(r),d=c?l?gh:gh.filter((function(e){return qh(e)===c})):dh,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]=sm(e,{placement:n,boundary:o,rootBoundary:a,padding:i})[Ch(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}var cm={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,g=t.options.placement,v=Ch(g),y=s||(v===g||!h?[Yh(g)]:function(e){if(Ch(e)===ch)return[];var t=Yh(e);return[Zh(e),t,Zh(t)]}(g)),b=[g].concat(y).reduce((function(e,n){return e.concat(Ch(n)===ch?um(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=Ch(O),R=qh(O)===ph,T=[ih,lh].indexOf(P)>=0,M=T?"width":"height",A=sm(t,{placement:O,boundary:c,rootBoundary:d,altBoundary:p,padding:u}),L=T?R?sh:uh:R?lh:ih;x[M]>w[M]&&(L=Yh(L));var I=Yh(L),j=[];if(a&&j.push(A[P]<=0),l&&j.push(A[L]<=0,A[I]<=0),j.every((function(e){return e}))){E=O,S=!1;break}k.set(O,j)}if(S)for(var N=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"},$=h?3:1;$>0;$--){if("break"===N($))break}t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function dm(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 pm(e){return[ih,sh,lh,uh].some((function(t){return e[t]>=0}))}var fm={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=vh.reduce((function(e,n){return e[n]=function(e,t,n){var r=Ch(e),o=[uh,ih].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,[uh,sh].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 hm={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,g=sm(t,{boundary:s,rootBoundary:u,padding:d,altBoundary:c}),v=Ch(t.placement),y=qh(t.placement),b=!y,x=Dh(v),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?ih:uh,A="y"===x?lh:sh,L="y"===x?"height":"width",I=k[x],j=I+g[M],N=I-g[A],$=f?-E[L]/2:0,_=y===ph?S[L]:E[L],F=y===ph?-E[L]:-S[L],z=t.elements.arrow,D=f&&z?Lh(z):{width:0,height:0},B=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},W=B[M],U=B[A],V=Bh(0,S[L],D[L]),q=b?S[L]/2-$-V-W-O.mainAxis:_-V-W-O.mainAxis,H=b?-S[L]/2+$+V+U+O.mainAxis:F+V+U+O.mainAxis,K=t.elements.arrow&&zh(t.elements.arrow),G=K?"y"===x?K.clientTop||0:K.clientLeft||0:0,Q=null!=(T=null==P?void 0:P[x])?T:0,Y=I+H-Q,X=Bh(f?Ph(j,I+q-Q-G):j,I,f?Oh(N,Y):N);k[x]=X,R[x]=X-I}if(l){var Z,J="x"===x?ih:uh,ee="x"===x?lh:sh,te=k[w],ne="y"===w?"height":"width",re=te+g[J],oe=te-g[ee],ae=-1!==[ih,uh].indexOf(v),ie=null!=(Z=null==P?void 0:P[w])?Z: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=Bh(e,t,n);return r>n?n:r}(le,te,se):Bh(f?le:re,te,f?se:oe);k[w]=ue,R[w]=ue-te}t.modifiersData[r]=R}},requiresIfExists:["offset"]};function mm(e,t,n){void 0===n&&(n=!1);var r,o,a=kh(t),i=kh(t)&&function(e){var t=e.getBoundingClientRect(),n=Rh(t.width)/e.offsetWidth||1,r=Rh(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),l=$h(t),s=Ah(e,i,n),u={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(a||!a&&!n)&&(("body"!==bh(t)||tm(l))&&(u=(r=t)!==xh(r)&&kh(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:Jh(r)),kh(t)?((c=Ah(t,!0)).x+=t.clientLeft,c.y+=t.clientTop):l&&(c.x=em(l))),{x:s.left+u.scrollLeft-c.x,y:s.top+u.scrollTop-c.y,width:s.width,height:s.height}}function gm(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 vm={placement:"bottom",modifiers:[],strategy:"absolute"};function ym(){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 bm(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,a=void 0===o?vm:o;return function(e,t,n){void 0===n&&(n=a);var o,i,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},vm,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:wh(e)?rm(e):e.contextElement?rm(e.contextElement):[],popper:rm(t)};var i,u,p=function(e){var t=gm(e);return yh.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(ym(t,n)){l.rects={reference:mm(t,zh(n),"fixed"===l.options.strategy),popper:Lh(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(!ym(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 xm=bm({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=xh(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach((function(e){e.addEventListener("scroll",n.update,Gh)})),l&&s.addEventListener("resize",n.update,Gh),function(){a&&u.forEach((function(e){e.removeEventListener("scroll",n.update,Gh)})),l&&s.removeEventListener("resize",n.update,Gh)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=lm({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:Ch(t.placement),variation:qh(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,Kh(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,Kh(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:{}},Eh,fm,cm,hm,Vh,{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=sm(t,{elementContext:"reference"}),l=sm(t,{altBoundary:!0}),s=dm(i,r),u=dm(l,o,a),c=pm(s),d=pm(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 wm=g.exports.forwardRef((function(e,t){const{children:n,container:r,disablePortal:o=!1}=e,[a,i]=g.exports.useState(null),l=gf(g.exports.isValidElement(n)?n.ref:null,t);return uf((()=>{o||i(function(e){return"function"==typeof e?e():e}(r)||document.body)}),[r,o]),uf((()=>{if(a&&!o)return sf(t,a),()=>{sf(t,null)}}),[t,a,o]),o?g.exports.isValidElement(n)?g.exports.cloneElement(n,{ref:l}):n:Kf.exports.jsx(g.exports.Fragment,{children:a?te.exports.createPortal(n,a):a})}));function km(e){return $f("MuiPopperUnstyled",e)}_f("MuiPopperUnstyled",["root"]);const Sm=["anchorEl","children","component","components","componentsProps","direction","disablePortal","modifiers","open","ownerState","placement","popperOptions","popperRef","TransitionProps"],Em=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition"];function Cm(e){return"function"==typeof e?e():e}const Om={},Pm=g.exports.forwardRef((function(e,t){var n;const{anchorEl:r,children:o,component:a,components:i={},componentsProps:l={},direction:s,disablePortal:u,modifiers:c,open:d,ownerState:p,placement:f,popperOptions:h,popperRef:m,TransitionProps:v}=e,y=kp(e,Sm),b=g.exports.useRef(null),x=gf(b,t),w=g.exports.useRef(null),k=gf(w,m),S=g.exports.useRef(k);uf((()=>{S.current=k}),[k]),g.exports.useImperativeHandle(m,(()=>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}}(f,s),[C,O]=g.exports.useState(E);g.exports.useEffect((()=>{w.current&&w.current.forceUpdate()})),uf((()=>{if(!r||!d)return;Cm(r);let e=[{name:"preventOverflow",options:{altBoundary:u}},{name:"flip",options:{altBoundary:u}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{O(e.placement)}}];null!=c&&(e=e.concat(c)),h&&null!=h.modifiers&&(e=e.concat(h.modifiers));const t=xm(Cm(r),b.current,yp({placement:E},h,{modifiers:e}));return S.current(t),()=>{t.destroy(),S.current(null)}}),[r,u,c,d,h,E]);const P={placement:C};null!==v&&(P.TransitionProps=v);const R=Lf({root:["root"]},km,{}),T=null!=(n=null!=a?a:i.Root)?n:"div",M=Wf({elementType:T,externalSlotProps:l.root,externalForwardedProps:y,additionalProps:{role:"tooltip",ref:x},ownerState:yp({},e,p),className:R.root});return Kf.exports.jsx(T,yp({},M,{children:"function"==typeof o?o(P):o}))})),Rm=g.exports.forwardRef((function(e,t){const{anchorEl:n,children:r,container:o,direction:a="ltr",disablePortal:i=!1,keepMounted:l=!1,modifiers:s,open:u,placement:c="bottom",popperOptions:d=Om,popperRef:p,style:f,transition:h=!1}=e,m=kp(e,Em),[v,y]=g.exports.useState(!0);if(!l&&!u&&(!h||v))return null;const b=o||(n?of(Cm(n)).body:void 0);return Kf.exports.jsx(wm,{disablePortal:i,container:b,children:Kf.exports.jsx(Pm,yp({anchorEl:n,direction:a,disablePortal:i,modifiers:s,ref:t,open:h?!v:u,placement:c,popperOptions:d,popperRef:p},m,{style:yp({position:"fixed",top:0,left:0,display:u||!l||h&&!v?null:"none"},f),TransitionProps:h?{in:u,onEnter:()=>{y(!1)},onExited:()=>{y(!0)}}:null,children:r}))})}));var Tm=Rm;function Mm(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Am(e){return parseInt(af(e).getComputedStyle(e).paddingRight,10)||0}function Lm(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&&Mm(e,o)}))}function Im(e,t){let n=-1;return e.some(((e,r)=>!!t(e)&&(n=r,!0))),n}function jm(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=of(e);return t.body===e?af(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=Of(of(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${Am(r)+e}px`;const t=of(r).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${Am(t)+e}px`}))}let e;if(r.parentNode instanceof DocumentFragment)e=of(r).body;else{const t=r.parentElement,n=af(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 Nm(e){return $f("MuiModal",e)}_f("MuiModal",["root","hidden"]);const $m=["children","classes","closeAfterTransition","component","components","componentsProps","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","onTransitionEnter","onTransitionExited"];const _m=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&&Mm(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);Lm(t,e.mount,e.modalRef,r,!0);const o=Im(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=Im(this.containers,(t=>-1!==t.modals.indexOf(e))),r=this.containers[n];r.restore||(r.restore=jm(r,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(-1===n)return n;const r=Im(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&&Mm(e.modalRef,t),Lm(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&&Mm(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};var Fm=g.exports.forwardRef((function(e,t){var n;const{children:r,classes:o,closeAfterTransition:a=!1,component:i="div",components:l={},componentsProps:s={},container:u,disableAutoFocus:c=!1,disableEnforceFocus:d=!1,disableEscapeKeyDown:p=!1,disablePortal:f=!1,disableRestoreFocus:h=!1,disableScrollLock:m=!1,hideBackdrop:v=!1,keepMounted:y=!1,manager:b=_m,onBackdropClick:x,onClose:w,onKeyDown:k,open:S,onTransitionEnter:E,onTransitionExited:C}=e,O=kp(e,$m),[P,R]=g.exports.useState(!0),T=g.exports.useRef({}),M=g.exports.useRef(null),A=g.exports.useRef(null),L=gf(A,t),I=function(e){return!!e.children&&e.children.props.hasOwnProperty("in")}(e),j=null==(n=e["aria-hidden"])||n,N=()=>(T.current.modalRef=A.current,T.current.mountNode=M.current,T.current),$=()=>{b.mount(N(),{disableScrollLock:m}),A.current.scrollTop=0},_=mf((()=>{const e=function(e){return"function"==typeof e?e():e}(u)||of(M.current).body;b.add(N(),e),A.current&&$()})),F=g.exports.useCallback((()=>b.isTopModal(N())),[b]),z=mf((e=>{M.current=e,e&&(S&&F()?$():Mm(A.current,j))})),D=g.exports.useCallback((()=>{b.remove(N(),j)}),[b,j]);g.exports.useEffect((()=>()=>{D()}),[D]),g.exports.useEffect((()=>{S?_():I&&a||D()}),[S,D,I,a,_]);const B=yp({},e,{classes:o,closeAfterTransition:a,disableAutoFocus:c,disableEnforceFocus:d,disableEscapeKeyDown:p,disablePortal:f,disableRestoreFocus:h,disableScrollLock:m,exited:P,hideBackdrop:v,keepMounted:y}),W=(e=>{const{open:t,exited:n,classes:r}=e;return Lf({root:["root",!t&&n&&"hidden"]},Nm,r)})(B),U=()=>{R(!1),E&&E()},V=()=>{R(!0),C&&C(),a&&D()},q={};void 0===r.props.tabIndex&&(q.tabIndex="-1"),I&&(q.onEnter=ef(U,r.props.onEnter),q.onExited=ef(V,r.props.onExited));const H=l.Root||i,K=Wf({elementType:H,externalSlotProps:s.root,externalForwardedProps:O,additionalProps:{ref:L,role:"presentation",onKeyDown:e=>{k&&k(e),"Escape"===e.key&&F()&&(p||(e.stopPropagation(),w&&w(e,"escapeKeyDown")))}},className:W.root,ownerState:B}),G=l.Backdrop,Q=Wf({elementType:G,externalSlotProps:s.backdrop,additionalProps:{"aria-hidden":!0,onClick:e=>{e.target===e.currentTarget&&(x&&x(e),w&&w(e,"backdropClick"))},open:S},ownerState:B});return y||S||I&&!P?Kf.exports.jsx(wm,{ref:z,container:u,disablePortal:f,children:Kf.exports.jsxs(H,yp({},K,{children:[!v&&G?Kf.exports.jsx(G,yp({},Q)):null,Kf.exports.jsx(ah,{disableEnforceFocus:d,disableAutoFocus:c,disableRestoreFocus:h,isEnabled:F,open:S,children:g.exports.cloneElement(r,q)})]}))}):null}));const zm=["onChange","maxRows","minRows","style","value"];function Dm(e,t){return parseInt(e[t],10)||0}const Bm={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function Wm(e){return null==e||0===Object.keys(e).length}const Um=g.exports.forwardRef((function(e,t){const{onChange:n,maxRows:r,minRows:o=1,style:a,value:i}=e,l=kp(e,zm),{current:s}=g.exports.useRef(null!=i),u=g.exports.useRef(null),c=gf(t,u),d=g.exports.useRef(null),p=g.exports.useRef(0),[f,h]=g.exports.useState({}),m=g.exports.useCallback((()=>{const t=u.current,n=af(t).getComputedStyle(t);if("0px"===n.width)return{};const a=d.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=Dm(n,"padding-bottom")+Dm(n,"padding-top"),s=Dm(n,"border-bottom-width")+Dm(n,"border-top-width"),c=a.scrollHeight;a.value="x";const p=a.scrollHeight;let f=c;o&&(f=Math.max(Number(o)*p,f)),r&&(f=Math.min(Number(r)*p,f)),f=Math.max(f,p);return{outerHeightStyle:f+("border-box"===i?l+s:0),overflow:Math.abs(f-c)<=1}}),[r,o,e.placeholder]),v=(e,t)=>{const{outerHeightStyle:n,overflow:r}=t;return p.current<20&&(n>0&&Math.abs((e.outerHeightStyle||0)-n)>1||e.overflow!==r)?(p.current+=1,{overflow:r,outerHeightStyle:n}):e},y=g.exports.useCallback((()=>{const e=m();Wm(e)||h((t=>v(t,e)))}),[m]);g.exports.useEffect((()=>{const e=tf((()=>{p.current=0,u.current&&(()=>{const e=m();Wm(e)||te.exports.flushSync((()=>{h((t=>v(t,e)))}))})()})),t=af(u.current);let n;return t.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(n=new ResizeObserver(e),n.observe(u.current)),()=>{e.clear(),t.removeEventListener("resize",e),n&&n.disconnect()}})),uf((()=>{y()})),g.exports.useEffect((()=>{p.current=0}),[i]);return Kf.exports.jsxs(g.exports.Fragment,{children:[Kf.exports.jsx("textarea",yp({value:i,onChange:e=>{p.current=0,s||y(),n&&n(e)},ref:c,rows:o,style:yp({height:f.outerHeightStyle,overflow:f.overflow?"hidden":null},a)},l)),Kf.exports.jsx("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:d,tabIndex:-1,style:yp({},Bm,a,{padding:0})})]})}));var Vm=Um;function qm(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}!function(e){function t(){return e.exports=t=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},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}({exports:{}});var Hm=/^((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)-.*))$/,Km=qm((function(e){return Hm.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));function Gm(){return Gm=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},Gm.apply(this,arguments)}var Qm=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}(),Ym={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",g="@font-face",v="@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 A(e,t){return t.push(e),e}function L(e,t){return e.map(t).join("")}function I(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 j(e,t){return w(I("",null,null,"",null,null,0),e,{length:-e.length},t)}function N(){return e.character}function $(){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 F(){return P(e.characters,e.position)}function z(){return e.position}function D(t,n){return R(e.characters,t,n)}function B(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 W(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,Q(91===t?t+2:40===t?t+1:t)))}function q(e){return U(K(W(e)))}function H(t){for(;(e.character=F())&&e.character<33;)_();return B(t)>2||B(e.character)>3?"":" "}function K(t){for(;_();)switch(B(e.character)){case 0:A(X(e.position-1),t);break;case 2:A(V(e.character),t);break;default:A(x(e.character),t)}return t}function G(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,z()+(n<6&&32==F()&&32==_()))}function Q(t){for(;_();)switch(e.character){case t:return e.position;case 34:case 39:34!==t&&39!==t&&Q(e.character);break;case 40:41===t&&Q(t);break;case 92:_()}return e.position}function Y(t,n){for(;_()&&t+e.character!==57&&(t+e.character!==84||47!==F()););return"/*"+D(n,e.position-1)+"*"+x(47===t?t:_())}function X(t){for(;!B(F());)_();return D(t,e.position)}function Z(e){return U(J("",null,null,null,[""],e=W(e),0,[0],e))}function J(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,g=1,v=1,y=0,b="",w=o,k=a,S=r,E=b;g;)switch(h=y,y=_()){case 40:if(108!=h&&58==E.charCodeAt(d-1)){-1!=O(E+=C(V(y),"&","&\f"),"&\f")&&(v=-1);break}case 34:case 39:case 91:E+=V(y);break;case 9:case 10:case 13:case 32:E+=H(h);break;case 92:E+=G(z()-1,7);continue;case 47:switch(F()){case 42:case 47:A(te(Y(_(),z()),t,n),s);break;default:E+="/"}break;case 123*m:l[u++]=T(E)*v;case 125*m:case 59:case 0:switch(y){case 0:case 125:g=0;case 59+c:f>0&&T(E)-d&&A(f>32?ne(E+";",r,n,d-1):ne(C(E," ","")+";",r,n,d-2),s);break;case 59:E+=";";default:if(A(S=ee(E,t,n,u,c,o,l,b,w=[],k=[],d),a),123===y)if(0===c)J(E,t,S,S,w,a,d,l,k);else switch(p){case 100:case 109:case 115:J(e,S,S,r&&A(ee(e,S,S,0,0,o,l,b,o,w=[],d),k),o,k,d,l,r?w:k);break;default:J(E,S,S,S,[""],k,0,l,k)}}u=c=f=0,m=v=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==$())continue;switch(E+=x(y),y*m){case 38:v=c>0?1:(E+="\f",-1);break;case 44:l[u++]=(T(E)-1)*v,v=1;break;case 64:45===F()&&(E+=V(_())),p=F(),c=d=T(b=E+=X(z())),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,g=0,v=0;m<r;++m)for(var y=0,x=R(e,p+1,p=b(g=l[m])),w=e;y<h;++y)(w=S(g>0?f[y]+" "+x:C(x,/&\f/g,f[y])))&&(u[v++]=w);return I(e,t,n,0===o?a:s,u,c,d)}function te(e,t,n){return I(e,t,n,o,x(N()),R(e,2,-2),0)}function ne(e,t,n,r){return I(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([j(e,{value:C(e.value,"@","@"+r)})],s);case a:if(e.length)return L(e.props,(function(o){switch(E(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return oe([j(e,{props:[C(o,/:(read-\w+)/,":"+n+"$1")]})],s);case"::placeholder":return oe([j(e,{props:[C(o,/:(plac\w+)/,":"+r+"input-$1")]}),j(e,{props:[C(o,/:(plac\w+)/,":"+n+"$1")]}),j(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 L(q(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=v,e.DECLARATION=i,e.DOCUMENT=f,e.FONT_FACE=g,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=W,e.append=A,e.assign=w,e.caret=z,e.char=N,e.charat=P,e.combine=L,e.comment=te,e.commenter=Y,e.compile=Z,e.copy=j,e.dealloc=U,e.declaration=ne,e.delimit=V,e.delimiter=Q,e.escaping=G,e.from=x,e.hash=k,e.identifier=X,e.indexof=O,e.match=E,e.middleware=ie,e.namespace=ue,e.next=_,e.node=I,e.parse=J,e.peek=F,e.prefix=re,e.prefixer=se,e.prev=$,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=B,e.tokenize=q,e.tokenizer=K,e.trim=S,e.whitespace=H,Object.defineProperty(e,"__esModule",{value:!0})}(t)}(0,Ym.exports);var Xm=function(e,t,n){for(var r=0,o=0;r=o,o=Ym.exports.peek(),38===r&&12===o&&(t[n]=1),!Ym.exports.token(o);)Ym.exports.next();return Ym.exports.slice(e,Ym.exports.position)},Zm=function(e,t){return Ym.exports.dealloc(function(e,t){var n=-1,r=44;do{switch(Ym.exports.token(r)){case 0:38===r&&12===Ym.exports.peek()&&(t[n]=1),e[n]+=Xm(Ym.exports.position-1,t,n);break;case 2:e[n]+=Ym.exports.delimit(r);break;case 4:if(44===r){e[++n]=58===Ym.exports.peek()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Ym.exports.from(r)}}while(r=Ym.exports.next());return e}(Ym.exports.alloc(e),t))},Jm=new WeakMap,eg=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)||Jm.get(n))&&!r){Jm.set(e,!0);for(var o=[],a=Zm(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]}}},tg=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},ng="undefined"!=typeof document,rg=ng?void 0: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}}((function(){return qm((function(){var e={};return function(t){return e[t]}}))})),og=[Ym.exports.prefixer],ag=function(e){var t=e.key;if(ng&&"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||og,i={},l=[];ng&&(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=[eg,tg];if(ng){var u,c=[Ym.exports.stringify,Ym.exports.rulesheet((function(e){u.insert(e)}))],d=Ym.exports.middleware(s.concat(a,c));o=function(e,t,n,r){u=n,function(e){Ym.exports.serialize(Ym.exports.compile(e),d)}(e?e+"{"+t.styles+"}":t.styles),r&&(g.inserted[t.name]=!0)}}else{var p=[Ym.exports.stringify],f=Ym.exports.middleware(s.concat(a,p)),h=rg(a)(t),m=function(e,t){var n=t.name;return void 0===h[n]&&(h[n]=function(e){return Ym.exports.serialize(Ym.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===g.compat?(r&&(g.inserted[o]=!0),a):r?void(g.inserted[o]=a):a}}var g={key:t,sheet:new Qm({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 g.sheet.hydrate(l),g},ig={exports:{}},lg={},sg="function"==typeof Symbol&&Symbol.for,ug=sg?Symbol.for("react.element"):60103,cg=sg?Symbol.for("react.portal"):60106,dg=sg?Symbol.for("react.fragment"):60107,pg=sg?Symbol.for("react.strict_mode"):60108,fg=sg?Symbol.for("react.profiler"):60114,hg=sg?Symbol.for("react.provider"):60109,mg=sg?Symbol.for("react.context"):60110,gg=sg?Symbol.for("react.async_mode"):60111,vg=sg?Symbol.for("react.concurrent_mode"):60111,yg=sg?Symbol.for("react.forward_ref"):60112,bg=sg?Symbol.for("react.suspense"):60113,xg=sg?Symbol.for("react.suspense_list"):60120,wg=sg?Symbol.for("react.memo"):60115,kg=sg?Symbol.for("react.lazy"):60116,Sg=sg?Symbol.for("react.block"):60121,Eg=sg?Symbol.for("react.fundamental"):60117,Cg=sg?Symbol.for("react.responder"):60118,Og=sg?Symbol.for("react.scope"):60119;function Pg(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case ug:switch(e=e.type){case gg:case vg:case dg:case fg:case pg:case bg:return e;default:switch(e=e&&e.$$typeof){case mg:case yg:case kg:case wg:case hg:return e;default:return t}}case cg:return t}}}function Rg(e){return Pg(e)===vg}lg.AsyncMode=gg,lg.ConcurrentMode=vg,lg.ContextConsumer=mg,lg.ContextProvider=hg,lg.Element=ug,lg.ForwardRef=yg,lg.Fragment=dg,lg.Lazy=kg,lg.Memo=wg,lg.Portal=cg,lg.Profiler=fg,lg.StrictMode=pg,lg.Suspense=bg,lg.isAsyncMode=function(e){return Rg(e)||Pg(e)===gg},lg.isConcurrentMode=Rg,lg.isContextConsumer=function(e){return Pg(e)===mg},lg.isContextProvider=function(e){return Pg(e)===hg},lg.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===ug},lg.isForwardRef=function(e){return Pg(e)===yg},lg.isFragment=function(e){return Pg(e)===dg},lg.isLazy=function(e){return Pg(e)===kg},lg.isMemo=function(e){return Pg(e)===wg},lg.isPortal=function(e){return Pg(e)===cg},lg.isProfiler=function(e){return Pg(e)===fg},lg.isStrictMode=function(e){return Pg(e)===pg},lg.isSuspense=function(e){return Pg(e)===bg},lg.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===dg||e===vg||e===fg||e===pg||e===bg||e===xg||"object"==typeof e&&null!==e&&(e.$$typeof===kg||e.$$typeof===wg||e.$$typeof===hg||e.$$typeof===mg||e.$$typeof===yg||e.$$typeof===Eg||e.$$typeof===Cg||e.$$typeof===Og||e.$$typeof===Sg)},lg.typeOf=Pg,function(e){e.exports=lg}(ig);var Tg=ig.exports,Mg={};Mg[Tg.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Mg[Tg.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0};var Ag="undefined"!=typeof document;function Lg(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var Ig=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===Ag&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},jg=function(e,t,n){Ig(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);Ag||void 0===i||(o+=i),a=a.next}while(void 0!==a);if(!Ag&&0!==o.length)return o}};var Ng={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},$g=/[A-Z]|^ms/g,_g=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Fg=function(e){return 45===e.charCodeAt(1)},zg=function(e){return null!=e&&"boolean"!=typeof e},Dg=qm((function(e){return Fg(e)?e:e.replace($g,"-$&").toLowerCase()})),Bg=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(_g,(function(e,t,n){return Ug={name:t,styles:n,next:Ug},t}))}return 1===Ng[e]||Fg(e)||"number"!=typeof t||0===t?t:t+"px"};function Wg(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 Ug={name:n.name,styles:n.styles,next:Ug},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)Ug={name:r.name,styles:r.styles,next:Ug},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+=Wg(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]+"}":zg(i)&&(r+=Dg(a)+":"+Bg(a,i)+";");else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var l=Wg(e,t,i);switch(a){case"animation":case"animationName":r+=Dg(a)+":"+l+";";break;default:r+=a+"{"+l+"}"}}else for(var s=0;s<i.length;s++)zg(i[s])&&(r+=Dg(a)+":"+Bg(a,i[s])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=Ug,a=n(e);return Ug=o,Wg(e,t,a)}}if(null==t)return n;var i=t[n];return void 0!==i?i:n}var Ug,Vg=/label:\s*([^\s;\n{]+)\s*(;|$)/g,qg=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="";Ug=void 0;var a=e[0];null==a||void 0===a.raw?(r=!1,o+=Wg(n,t,a)):o+=a[0];for(var i=1;i<e.length;i++)o+=Wg(n,t,e[i]),r&&(o+=a[i]);Vg.lastIndex=0;for(var l,s="";null!==(l=Vg.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:Ug}},Hg={exports:{}},Kg={};Object.defineProperty(Kg,"__esModule",{value:!0});var Gg=g.exports;function Qg(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 Yg=Qg(Gg),Xg="undefined"!=typeof document,Zg=function(e){return e()},Jg=!!Yg.useInsertionEffect&&Yg.useInsertionEffect,ev=Xg&&Jg||Zg,tv=Jg||Gg.useLayoutEffect;Kg.useInsertionEffectAlwaysWithSyncFallback=ev,Kg.useInsertionEffectWithLayoutFallback=tv,function(e){e.exports=Kg}(Hg);var nv="undefined"!=typeof document,rv=g.exports.createContext("undefined"!=typeof HTMLElement?ag({key:"css"}):null),ov=rv.Provider,av=function(e){return g.exports.forwardRef((function(t,n){var r=g.exports.useContext(rv);return e(t,r,n)}))};nv||(av=function(e){return function(t){var n=g.exports.useContext(rv);return null===n?(n=ag({key:"css"}),g.exports.createElement(rv.Provider,{value:n},e(t,n))):e(t,n)}});var iv=g.exports.createContext({});!function(e){function t(){return e.exports=t=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},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}({exports:{}});var lv=av((function(e,t){var n=e.styles,r=qg([n],void 0,g.exports.useContext(iv));if(!nv){for(var o,a=r.name,i=r.styles,l=r.next;void 0!==l;)a+=" "+l.name,i+=l.styles,l=l.next;var s=!0===t.compat,u=t.insert("",{name:a,styles:i},t.sheet,s);return s?null:g.exports.createElement("style",((o={})["data-emotion"]=t.key+"-global "+a,o.dangerouslySetInnerHTML={__html:u},o.nonce=t.sheet.nonce,o))}var c=g.exports.useRef();return Hg.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])),c.current=[n,o],function(){n.flush()}}),[t]),Hg.exports.useInsertionEffectWithLayoutFallback((function(){var e=c.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==r.next&&jg(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 sv(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return qg(t)}var uv=function(){var e=sv.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_"}}},cv={exports:{}},dv={};Object.defineProperty(dv,"__esModule",{value:!0});var pv=g.exports;function fv(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 hv=fv(pv),mv="undefined"!=typeof document,gv=function(e){return e()},vv=!!hv.useInsertionEffect&&hv.useInsertionEffect,yv=mv&&vv||gv,bv=vv||pv.useLayoutEffect;dv.useInsertionEffectAlwaysWithSyncFallback=yv,dv.useInsertionEffectWithLayoutFallback=bv,function(e){e.exports=dv}(cv);var xv=Km,wv=function(e){return"theme"!==e},kv=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?xv:wv},Sv=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},Ev="undefined"!=typeof document,Cv=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;Ig(t,n,r);var o=cv.exports.useInsertionEffectAlwaysWithSyncFallback((function(){return jg(t,n,r)}));if(!Ev&&void 0!==o){for(var a,i=n.name,l=n.next;void 0!==l;)i+=" "+l.name,l=l.next;return g.exports.createElement("style",((a={})["data-emotion"]=t.key+" "+i,a.dangerouslySetInnerHTML={__html:o},a.nonce=t.sheet.nonce,a))}return null},Ov=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 l=Sv(t,n,a),s=l||kv(i),u=!s("as");return function(){var c=arguments,d=a&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&d.push("label:"+r+";"),null==c[0]||void 0===c[0].raw)d.push.apply(d,c);else{d.push(c[0][0]);for(var p=c.length,f=1;f<p;f++)d.push(c[f],c[0][f])}var h=av((function(e,t,n){var r=u&&e.as||i,a="",c=[],p=e;if(null==e.theme){for(var f in p={},e)p[f]=e[f];p.theme=g.exports.useContext(iv)}"string"==typeof e.className?a=Lg(t.registered,c,e.className):null!=e.className&&(a=e.className+" ");var h=qg(d.concat(c),t.registered,p);a+=t.key+"-"+h.name,void 0!==o&&(a+=" "+o);var m=u&&void 0===l?kv(r):s,v={};for(var y in e)u&&"as"===y||m(y)&&(v[y]=e[y]);return v.className=a,v.ref=n,g.exports.createElement(g.exports.Fragment,null,g.exports.createElement(Cv,{cache:t,serialized:h,isStringTag:"string"==typeof r}),g.exports.createElement(r,v))}));return h.displayName=void 0!==r?r:"Styled("+("string"==typeof i?i:i.displayName||i.name||"Component")+")",h.defaultProps=t.defaultProps,h.__emotion_real=h,h.__emotion_base=i,h.__emotion_styles=d,h.__emotion_forwardProp=l,Object.defineProperty(h,"toString",{value:function(){return"."+o}}),h.withComponent=function(t,r){return e(t,Gm({},n,r,{shouldForwardProp:Sv(h,r,!0)})).apply(void 0,d)},h}}.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){Ov[e]=Ov(e)}));var Pv=Ov;const Rv=ag({key:"css",prepend:!0});function Tv(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 Kf.exports.jsx(lv,{styles:r})}
|
|
28
28
|
/** @license MUI v5.10.8
|
|
29
29
|
*
|
|
30
30
|
* This source code is licensed under the MIT license found in the
|