var Zf=Object.defineProperty;var Jf=(e,t,n)=>t in e?Zf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var zt=(e,t,n)=>Jf(e,typeof t!="symbol"?t+"":t,n);/**
 * 2026 Paysera
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License (AFL 3.0)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/afl-3.0.php
 *
 * @author Paysera <plugins@paysera.com>
 * @copyright 2026 Paysera
 * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
 */function qf(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const l in r)if(l!=="default"&&!(l in e)){const u=Object.getOwnPropertyDescriptor(r,l);u&&Object.defineProperty(e,l,u.get?u:{enumerable:!0,get:()=>r[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var Zm=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function bf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Jm(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var l=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,l.get?l:{enumerable:!0,get:function(){return e[r]}})}),n}var va={exports:{}},M={};/**
 * @license React
 * react.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var gr=Symbol.for("react.element"),ed=Symbol.for("react.portal"),td=Symbol.for("react.fragment"),nd=Symbol.for("react.strict_mode"),rd=Symbol.for("react.profiler"),ld=Symbol.for("react.provider"),ud=Symbol.for("react.context"),id=Symbol.for("react.forward_ref"),od=Symbol.for("react.suspense"),sd=Symbol.for("react.memo"),ad=Symbol.for("react.lazy"),Ko=Symbol.iterator;function cd(e){return e===null||typeof e!="object"?null:(e=Ko&&e[Ko]||e["@@iterator"],typeof e=="function"?e:null)}var ga={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},wa=Object.assign,Sa={};function _n(e,t,n){this.props=e,this.context=t,this.refs=Sa,this.updater=n||ga}_n.prototype.isReactComponent={};_n.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};_n.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function _a(){}_a.prototype=_n.prototype;function Qi(e,t,n){this.props=e,this.context=t,this.refs=Sa,this.updater=n||ga}var Ki=Qi.prototype=new _a;Ki.constructor=Qi;wa(Ki,_n.prototype);Ki.isPureReactComponent=!0;var Xo=Array.isArray,ka=Object.prototype.hasOwnProperty,Xi={current:null},Ea={key:!0,ref:!0,__self:!0,__source:!0};function Ca(e,t,n){var r,l={},u=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(u=""+t.key),t)ka.call(t,r)&&!Ea.hasOwnProperty(r)&&(l[r]=t[r]);var o=arguments.length-2;if(o===1)l.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];l.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)l[r]===void 0&&(l[r]=o[r]);return{$$typeof:gr,type:e,key:u,ref:i,props:l,_owner:Xi.current}}function fd(e,t){return{$$typeof:gr,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Yi(e){return typeof e=="object"&&e!==null&&e.$$typeof===gr}function dd(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Yo=/\/+/g;function hu(e,t){return typeof e=="object"&&e!==null&&e.key!=null?dd(""+e.key):t.toString(36)}function el(e,t,n,r,l){var u=typeof e;(u==="undefined"||u==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(u){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case gr:case ed:i=!0}}if(i)return i=e,l=l(i),e=r===""?"."+hu(i,0):r,Xo(l)?(n="",e!=null&&(n=e.replace(Yo,"$&/")+"/"),el(l,t,n,"",function(c){return c})):l!=null&&(Yi(l)&&(l=fd(l,n+(!l.key||i&&i.key===l.key?"":(""+l.key).replace(Yo,"$&/")+"/")+e)),t.push(l)),1;if(i=0,r=r===""?".":r+":",Xo(e))for(var o=0;o<e.length;o++){u=e[o];var s=r+hu(u,o);i+=el(u,t,n,s,l)}else if(s=cd(e),typeof s=="function")for(e=s.call(e),o=0;!(u=e.next()).done;)u=u.value,s=r+hu(u,o++),i+=el(u,t,n,s,l);else if(u==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return i}function Lr(e,t,n){if(e==null)return e;var r=[],l=0;return el(e,r,"","",function(u){return t.call(n,u,l++)}),r}function pd(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var fe={current:null},tl={transition:null},hd={ReactCurrentDispatcher:fe,ReactCurrentBatchConfig:tl,ReactCurrentOwner:Xi};function Pa(){throw Error("act(...) is not supported in production builds of React.")}M.Children={map:Lr,forEach:function(e,t,n){Lr(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Lr(e,function(){t++}),t},toArray:function(e){return Lr(e,function(t){return t})||[]},only:function(e){if(!Yi(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};M.Component=_n;M.Fragment=td;M.Profiler=rd;M.PureComponent=Qi;M.StrictMode=nd;M.Suspense=od;M.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=hd;M.act=Pa;M.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=wa({},e.props),l=e.key,u=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(u=t.ref,i=Xi.current),t.key!==void 0&&(l=""+t.key),e.type&&e.type.defaultProps)var o=e.type.defaultProps;for(s in t)ka.call(t,s)&&!Ea.hasOwnProperty(s)&&(r[s]=t[s]===void 0&&o!==void 0?o[s]:t[s])}var s=arguments.length-2;if(s===1)r.children=n;else if(1<s){o=Array(s);for(var c=0;c<s;c++)o[c]=arguments[c+2];r.children=o}return{$$typeof:gr,type:e.type,key:l,ref:u,props:r,_owner:i}};M.createContext=function(e){return e={$$typeof:ud,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:ld,_context:e},e.Consumer=e};M.createElement=Ca;M.createFactory=function(e){var t=Ca.bind(null,e);return t.type=e,t};M.createRef=function(){return{current:null}};M.forwardRef=function(e){return{$$typeof:id,render:e}};M.isValidElement=Yi;M.lazy=function(e){return{$$typeof:ad,_payload:{_status:-1,_result:e},_init:pd}};M.memo=function(e,t){return{$$typeof:sd,type:e,compare:t===void 0?null:t}};M.startTransition=function(e){var t=tl.transition;tl.transition={};try{e()}finally{tl.transition=t}};M.unstable_act=Pa;M.useCallback=function(e,t){return fe.current.useCallback(e,t)};M.useContext=function(e){return fe.current.useContext(e)};M.useDebugValue=function(){};M.useDeferredValue=function(e){return fe.current.useDeferredValue(e)};M.useEffect=function(e,t){return fe.current.useEffect(e,t)};M.useId=function(){return fe.current.useId()};M.useImperativeHandle=function(e,t,n){return fe.current.useImperativeHandle(e,t,n)};M.useInsertionEffect=function(e,t){return fe.current.useInsertionEffect(e,t)};M.useLayoutEffect=function(e,t){return fe.current.useLayoutEffect(e,t)};M.useMemo=function(e,t){return fe.current.useMemo(e,t)};M.useReducer=function(e,t,n){return fe.current.useReducer(e,t,n)};M.useRef=function(e){return fe.current.useRef(e)};M.useState=function(e){return fe.current.useState(e)};M.useSyncExternalStore=function(e,t,n){return fe.current.useSyncExternalStore(e,t,n)};M.useTransition=function(){return fe.current.useTransition()};M.version="18.3.1";va.exports=M;var te=va.exports;const md=bf(te),qm=qf({__proto__:null,default:md},[te]);var xa={exports:{}},Ee={},Na={exports:{}},za={};/**
 * @license React
 * scheduler.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */(function(e){function t(z,T){var O=z.length;z.push(T);e:for(;0<O;){var B=O-1>>>1,Y=z[B];if(0<l(Y,T))z[B]=T,z[O]=Y,O=B;else break e}}function n(z){return z.length===0?null:z[0]}function r(z){if(z.length===0)return null;var T=z[0],O=z.pop();if(O!==T){z[0]=O;e:for(var B=0,Y=z.length,Or=Y>>>1;B<Or;){var xt=2*(B+1)-1,pu=z[xt],Nt=xt+1,Mr=z[Nt];if(0>l(pu,O))Nt<Y&&0>l(Mr,pu)?(z[B]=Mr,z[Nt]=O,B=Nt):(z[B]=pu,z[xt]=O,B=xt);else if(Nt<Y&&0>l(Mr,O))z[B]=Mr,z[Nt]=O,B=Nt;else break e}}return T}function l(z,T){var O=z.sortIndex-T.sortIndex;return O!==0?O:z.id-T.id}if(typeof performance=="object"&&typeof performance.now=="function"){var u=performance;e.unstable_now=function(){return u.now()}}else{var i=Date,o=i.now();e.unstable_now=function(){return i.now()-o}}var s=[],c=[],p=1,h=null,y=3,g=!1,m=!1,w=!1,C=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,a=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function d(z){for(var T=n(c);T!==null;){if(T.callback===null)r(c);else if(T.startTime<=z)r(c),T.sortIndex=T.expirationTime,t(s,T);else break;T=n(c)}}function v(z){if(w=!1,d(z),!m)if(n(s)!==null)m=!0,fu(S);else{var T=n(c);T!==null&&du(v,T.startTime-z)}}function S(z,T){m=!1,w&&(w=!1,f(P),P=-1),g=!0;var O=y;try{for(d(T),h=n(s);h!==null&&(!(h.expirationTime>T)||z&&!le());){var B=h.callback;if(typeof B=="function"){h.callback=null,y=h.priorityLevel;var Y=B(h.expirationTime<=T);T=e.unstable_now(),typeof Y=="function"?h.callback=Y:h===n(s)&&r(s),d(T)}else r(s);h=n(s)}if(h!==null)var Or=!0;else{var xt=n(c);xt!==null&&du(v,xt.startTime-T),Or=!1}return Or}finally{h=null,y=O,g=!1}}var _=!1,k=null,P=-1,N=5,R=-1;function le(){return!(e.unstable_now()-R<N)}function Pt(){if(k!==null){var z=e.unstable_now();R=z;var T=!0;try{T=k(!0,z)}finally{T?Cn():(_=!1,k=null)}}else _=!1}var Cn;if(typeof a=="function")Cn=function(){a(Pt)};else if(typeof MessageChannel<"u"){var Qo=new MessageChannel,Gf=Qo.port2;Qo.port1.onmessage=Pt,Cn=function(){Gf.postMessage(null)}}else Cn=function(){C(Pt,0)};function fu(z){k=z,_||(_=!0,Cn())}function du(z,T){P=C(function(){z(e.unstable_now())},T)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(z){z.callback=null},e.unstable_continueExecution=function(){m||g||(m=!0,fu(S))},e.unstable_forceFrameRate=function(z){0>z||125<z?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):N=0<z?Math.floor(1e3/z):5},e.unstable_getCurrentPriorityLevel=function(){return y},e.unstable_getFirstCallbackNode=function(){return n(s)},e.unstable_next=function(z){switch(y){case 1:case 2:case 3:var T=3;break;default:T=y}var O=y;y=T;try{return z()}finally{y=O}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(z,T){switch(z){case 1:case 2:case 3:case 4:case 5:break;default:z=3}var O=y;y=z;try{return T()}finally{y=O}},e.unstable_scheduleCallback=function(z,T,O){var B=e.unstable_now();switch(typeof O=="object"&&O!==null?(O=O.delay,O=typeof O=="number"&&0<O?B+O:B):O=B,z){case 1:var Y=-1;break;case 2:Y=250;break;case 5:Y=1073741823;break;case 4:Y=1e4;break;default:Y=5e3}return Y=O+Y,z={id:p++,callback:T,priorityLevel:z,startTime:O,expirationTime:Y,sortIndex:-1},O>B?(z.sortIndex=O,t(c,z),n(s)===null&&z===n(c)&&(w?(f(P),P=-1):w=!0,du(v,O-B))):(z.sortIndex=Y,t(s,z),m||g||(m=!0,fu(S))),z},e.unstable_shouldYield=le,e.unstable_wrapCallback=function(z){var T=y;return function(){var O=y;y=T;try{return z.apply(this,arguments)}finally{y=O}}}})(za);Na.exports=za;var yd=Na.exports;/**
 * @license React
 * react-dom.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var vd=te,ke=yd;function E(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Ra=new Set,Zn={};function Qt(e,t){pn(e,t),pn(e+"Capture",t)}function pn(e,t){for(Zn[e]=t,e=0;e<t.length;e++)Ra.add(t[e])}var be=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ku=Object.prototype.hasOwnProperty,gd=/^[: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]*$/,Go={},Zo={};function wd(e){return Ku.call(Zo,e)?!0:Ku.call(Go,e)?!1:gd.test(e)?Zo[e]=!0:(Go[e]=!0,!1)}function Sd(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function _d(e,t,n,r){if(t===null||typeof t>"u"||Sd(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function de(e,t,n,r,l,u,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=u,this.removeEmptyString=i}var re={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){re[e]=new de(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];re[t]=new de(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){re[e]=new de(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){re[e]=new de(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){re[e]=new de(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){re[e]=new de(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){re[e]=new de(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){re[e]=new de(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){re[e]=new de(e,5,!1,e.toLowerCase(),null,!1,!1)});var Gi=/[\-:]([a-z])/g;function Zi(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Gi,Zi);re[t]=new de(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(Gi,Zi);re[t]=new de(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(Gi,Zi);re[t]=new de(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){re[e]=new de(e,1,!1,e.toLowerCase(),null,!1,!1)});re.xlinkHref=new de("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){re[e]=new de(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ji(e,t,n,r){var l=re.hasOwnProperty(t)?re[t]:null;(l!==null?l.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(_d(t,n,l,r)&&(n=null),r||l===null?wd(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):l.mustUseProperty?e[l.propertyName]=n===null?l.type===3?!1:"":n:(t=l.attributeName,r=l.attributeNamespace,n===null?e.removeAttribute(t):(l=l.type,n=l===3||l===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var rt=vd.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Dr=Symbol.for("react.element"),Yt=Symbol.for("react.portal"),Gt=Symbol.for("react.fragment"),qi=Symbol.for("react.strict_mode"),Xu=Symbol.for("react.profiler"),Ta=Symbol.for("react.provider"),Oa=Symbol.for("react.context"),bi=Symbol.for("react.forward_ref"),Yu=Symbol.for("react.suspense"),Gu=Symbol.for("react.suspense_list"),eo=Symbol.for("react.memo"),ut=Symbol.for("react.lazy"),Ma=Symbol.for("react.offscreen"),Jo=Symbol.iterator;function Pn(e){return e===null||typeof e!="object"?null:(e=Jo&&e[Jo]||e["@@iterator"],typeof e=="function"?e:null)}var V=Object.assign,mu;function Ln(e){if(mu===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);mu=t&&t[1]||""}return`
`+mu+e}var yu=!1;function vu(e,t){if(!e||yu)return"";yu=!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()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&typeof c.stack=="string"){for(var l=c.stack.split(`
`),u=r.stack.split(`
`),i=l.length-1,o=u.length-1;1<=i&&0<=o&&l[i]!==u[o];)o--;for(;1<=i&&0<=o;i--,o--)if(l[i]!==u[o]){if(i!==1||o!==1)do if(i--,o--,0>o||l[i]!==u[o]){var s=`
`+l[i].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}while(1<=i&&0<=o);break}}}finally{yu=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Ln(e):""}function kd(e){switch(e.tag){case 5:return Ln(e.type);case 16:return Ln("Lazy");case 13:return Ln("Suspense");case 19:return Ln("SuspenseList");case 0:case 2:case 15:return e=vu(e.type,!1),e;case 11:return e=vu(e.type.render,!1),e;case 1:return e=vu(e.type,!0),e;default:return""}}function Zu(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Gt:return"Fragment";case Yt:return"Portal";case Xu:return"Profiler";case qi:return"StrictMode";case Yu:return"Suspense";case Gu:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Oa:return(e.displayName||"Context")+".Consumer";case Ta:return(e._context.displayName||"Context")+".Provider";case bi:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case eo:return t=e.displayName||null,t!==null?t:Zu(e.type)||"Memo";case ut:t=e._payload,e=e._init;try{return Zu(e(t))}catch{}}return null}function Ed(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Zu(t);case 8:return t===qi?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function wt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function La(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Cd(e){var t=La(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,u=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(i){r=""+i,u.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ir(e){e._valueTracker||(e._valueTracker=Cd(e))}function Da(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=La(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function hl(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Ju(e,t){var n=t.checked;return V({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function qo(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=wt(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Ia(e,t){t=t.checked,t!=null&&Ji(e,"checked",t,!1)}function qu(e,t){Ia(e,t);var n=wt(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?bu(e,t.type,n):t.hasOwnProperty("defaultValue")&&bu(e,t.type,wt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function bo(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function bu(e,t,n){(t!=="number"||hl(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Dn=Array.isArray;function on(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l<n.length;l++)t["$"+n[l]]=!0;for(n=0;n<e.length;n++)l=t.hasOwnProperty("$"+e[n].value),e[n].selected!==l&&(e[n].selected=l),l&&r&&(e[n].defaultSelected=!0)}else{for(n=""+wt(n),t=null,l=0;l<e.length;l++){if(e[l].value===n){e[l].selected=!0,r&&(e[l].defaultSelected=!0);return}t!==null||e[l].disabled||(t=e[l])}t!==null&&(t.selected=!0)}}function ei(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(E(91));return V({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function es(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(E(92));if(Dn(n)){if(1<n.length)throw Error(E(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:wt(n)}}function Fa(e,t){var n=wt(t.value),r=wt(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function ts(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function ja(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 ti(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?ja(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Fr,Aa=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,l){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,l)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Fr=Fr||document.createElement("div"),Fr.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Fr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Jn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var An={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Pd=["Webkit","ms","Moz","O"];Object.keys(An).forEach(function(e){Pd.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),An[t]=An[e]})});function Ua(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||An.hasOwnProperty(e)&&An[e]?(""+t).trim():t+"px"}function $a(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=Ua(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var xd=V({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 ni(e,t){if(t){if(xd[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(E(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(E(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(E(61))}if(t.style!=null&&typeof t.style!="object")throw Error(E(62))}}function ri(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var li=null;function to(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ui=null,sn=null,an=null;function ns(e){if(e=_r(e)){if(typeof ui!="function")throw Error(E(280));var t=e.stateNode;t&&(t=Jl(t),ui(e.stateNode,e.type,t))}}function Va(e){sn?an?an.push(e):an=[e]:sn=e}function Wa(){if(sn){var e=sn,t=an;if(an=sn=null,ns(e),t)for(e=0;e<t.length;e++)ns(t[e])}}function Ba(e,t){return e(t)}function Ha(){}var gu=!1;function Qa(e,t,n){if(gu)return e(t,n);gu=!0;try{return Ba(e,t,n)}finally{gu=!1,(sn!==null||an!==null)&&(Ha(),Wa())}}function qn(e,t){var n=e.stateNode;if(n===null)return null;var r=Jl(n);if(r===null)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)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(E(231,t,typeof n));return n}var ii=!1;if(be)try{var xn={};Object.defineProperty(xn,"passive",{get:function(){ii=!0}}),window.addEventListener("test",xn,xn),window.removeEventListener("test",xn,xn)}catch{ii=!1}function Nd(e,t,n,r,l,u,i,o,s){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(p){this.onError(p)}}var Un=!1,ml=null,yl=!1,oi=null,zd={onError:function(e){Un=!0,ml=e}};function Rd(e,t,n,r,l,u,i,o,s){Un=!1,ml=null,Nd.apply(zd,arguments)}function Td(e,t,n,r,l,u,i,o,s){if(Rd.apply(this,arguments),Un){if(Un){var c=ml;Un=!1,ml=null}else throw Error(E(198));yl||(yl=!0,oi=c)}}function Kt(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Ka(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function rs(e){if(Kt(e)!==e)throw Error(E(188))}function Od(e){var t=e.alternate;if(!t){if(t=Kt(e),t===null)throw Error(E(188));return t!==e?null:e}for(var n=e,r=t;;){var l=n.return;if(l===null)break;var u=l.alternate;if(u===null){if(r=l.return,r!==null){n=r;continue}break}if(l.child===u.child){for(u=l.child;u;){if(u===n)return rs(l),e;if(u===r)return rs(l),t;u=u.sibling}throw Error(E(188))}if(n.return!==r.return)n=l,r=u;else{for(var i=!1,o=l.child;o;){if(o===n){i=!0,n=l,r=u;break}if(o===r){i=!0,r=l,n=u;break}o=o.sibling}if(!i){for(o=u.child;o;){if(o===n){i=!0,n=u,r=l;break}if(o===r){i=!0,r=u,n=l;break}o=o.sibling}if(!i)throw Error(E(189))}}if(n.alternate!==r)throw Error(E(190))}if(n.tag!==3)throw Error(E(188));return n.stateNode.current===n?e:t}function Xa(e){return e=Od(e),e!==null?Ya(e):null}function Ya(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Ya(e);if(t!==null)return t;e=e.sibling}return null}var Ga=ke.unstable_scheduleCallback,ls=ke.unstable_cancelCallback,Md=ke.unstable_shouldYield,Ld=ke.unstable_requestPaint,H=ke.unstable_now,Dd=ke.unstable_getCurrentPriorityLevel,no=ke.unstable_ImmediatePriority,Za=ke.unstable_UserBlockingPriority,vl=ke.unstable_NormalPriority,Id=ke.unstable_LowPriority,Ja=ke.unstable_IdlePriority,Xl=null,Be=null;function Fd(e){if(Be&&typeof Be.onCommitFiberRoot=="function")try{Be.onCommitFiberRoot(Xl,e,void 0,(e.current.flags&128)===128)}catch{}}var Fe=Math.clz32?Math.clz32:Ud,jd=Math.log,Ad=Math.LN2;function Ud(e){return e>>>=0,e===0?32:31-(jd(e)/Ad|0)|0}var jr=64,Ar=4194304;function In(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function gl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,u=e.pingedLanes,i=n&268435455;if(i!==0){var o=i&~l;o!==0?r=In(o):(u&=i,u!==0&&(r=In(u)))}else i=n&~l,i!==0?r=In(i):u!==0&&(r=In(u));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,u=t&-t,l>=u||l===16&&(u&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Fe(t),l=1<<n,r|=e[n],t&=~l;return r}function $d(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Vd(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,l=e.expirationTimes,u=e.pendingLanes;0<u;){var i=31-Fe(u),o=1<<i,s=l[i];s===-1?(!(o&n)||o&r)&&(l[i]=$d(o,t)):s<=t&&(e.expiredLanes|=o),u&=~o}}function si(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function qa(){var e=jr;return jr<<=1,!(jr&4194240)&&(jr=64),e}function wu(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function wr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Fe(t),e[t]=n}function Wd(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var l=31-Fe(n),u=1<<l;t[l]=0,r[l]=-1,e[l]=-1,n&=~u}}function ro(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Fe(n),l=1<<r;l&t|e[r]&t&&(e[r]|=t),n&=~l}}var D=0;function ba(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var ec,lo,tc,nc,rc,ai=!1,Ur=[],ft=null,dt=null,pt=null,bn=new Map,er=new Map,ot=[],Bd="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 us(e,t){switch(e){case"focusin":case"focusout":ft=null;break;case"dragenter":case"dragleave":dt=null;break;case"mouseover":case"mouseout":pt=null;break;case"pointerover":case"pointerout":bn.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":er.delete(t.pointerId)}}function Nn(e,t,n,r,l,u){return e===null||e.nativeEvent!==u?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:u,targetContainers:[l]},t!==null&&(t=_r(t),t!==null&&lo(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e)}function Hd(e,t,n,r,l){switch(t){case"focusin":return ft=Nn(ft,e,t,n,r,l),!0;case"dragenter":return dt=Nn(dt,e,t,n,r,l),!0;case"mouseover":return pt=Nn(pt,e,t,n,r,l),!0;case"pointerover":var u=l.pointerId;return bn.set(u,Nn(bn.get(u)||null,e,t,n,r,l)),!0;case"gotpointercapture":return u=l.pointerId,er.set(u,Nn(er.get(u)||null,e,t,n,r,l)),!0}return!1}function lc(e){var t=Mt(e.target);if(t!==null){var n=Kt(t);if(n!==null){if(t=n.tag,t===13){if(t=Ka(n),t!==null){e.blockedOn=t,rc(e.priority,function(){tc(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function nl(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=ci(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);li=r,n.target.dispatchEvent(r),li=null}else return t=_r(n),t!==null&&lo(t),e.blockedOn=n,!1;t.shift()}return!0}function is(e,t,n){nl(e)&&n.delete(t)}function Qd(){ai=!1,ft!==null&&nl(ft)&&(ft=null),dt!==null&&nl(dt)&&(dt=null),pt!==null&&nl(pt)&&(pt=null),bn.forEach(is),er.forEach(is)}function zn(e,t){e.blockedOn===t&&(e.blockedOn=null,ai||(ai=!0,ke.unstable_scheduleCallback(ke.unstable_NormalPriority,Qd)))}function tr(e){function t(l){return zn(l,e)}if(0<Ur.length){zn(Ur[0],e);for(var n=1;n<Ur.length;n++){var r=Ur[n];r.blockedOn===e&&(r.blockedOn=null)}}for(ft!==null&&zn(ft,e),dt!==null&&zn(dt,e),pt!==null&&zn(pt,e),bn.forEach(t),er.forEach(t),n=0;n<ot.length;n++)r=ot[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<ot.length&&(n=ot[0],n.blockedOn===null);)lc(n),n.blockedOn===null&&ot.shift()}var cn=rt.ReactCurrentBatchConfig,wl=!0;function Kd(e,t,n,r){var l=D,u=cn.transition;cn.transition=null;try{D=1,uo(e,t,n,r)}finally{D=l,cn.transition=u}}function Xd(e,t,n,r){var l=D,u=cn.transition;cn.transition=null;try{D=4,uo(e,t,n,r)}finally{D=l,cn.transition=u}}function uo(e,t,n,r){if(wl){var l=ci(e,t,n,r);if(l===null)Ru(e,t,r,Sl,n),us(e,r);else if(Hd(l,e,t,n,r))r.stopPropagation();else if(us(e,r),t&4&&-1<Bd.indexOf(e)){for(;l!==null;){var u=_r(l);if(u!==null&&ec(u),u=ci(e,t,n,r),u===null&&Ru(e,t,r,Sl,n),u===l)break;l=u}l!==null&&r.stopPropagation()}else Ru(e,t,r,null,n)}}var Sl=null;function ci(e,t,n,r){if(Sl=null,e=to(r),e=Mt(e),e!==null)if(t=Kt(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Ka(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Sl=e,null}function uc(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Dd()){case no:return 1;case Za:return 4;case vl:case Id:return 16;case Ja:return 536870912;default:return 16}default:return 16}}var at=null,io=null,rl=null;function ic(){if(rl)return rl;var e,t=io,n=t.length,r,l="value"in at?at.value:at.textContent,u=l.length;for(e=0;e<n&&t[e]===l[e];e++);var i=n-e;for(r=1;r<=i&&t[n-r]===l[u-r];r++);return rl=l.slice(e,1<r?1-r:void 0)}function ll(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function $r(){return!0}function os(){return!1}function Ce(e){function t(n,r,l,u,i){this._reactName=n,this._targetInst=l,this.type=r,this.nativeEvent=u,this.target=i,this.currentTarget=null;for(var o in e)e.hasOwnProperty(o)&&(n=e[o],this[o]=n?n(u):u[o]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?$r:os,this.isPropagationStopped=os,this}return V(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=$r)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=$r)},persist:function(){},isPersistent:$r}),t}var kn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},oo=Ce(kn),Sr=V({},kn,{view:0,detail:0}),Yd=Ce(Sr),Su,_u,Rn,Yl=V({},Sr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:so,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Rn&&(Rn&&e.type==="mousemove"?(Su=e.screenX-Rn.screenX,_u=e.screenY-Rn.screenY):_u=Su=0,Rn=e),Su)},movementY:function(e){return"movementY"in e?e.movementY:_u}}),ss=Ce(Yl),Gd=V({},Yl,{dataTransfer:0}),Zd=Ce(Gd),Jd=V({},Sr,{relatedTarget:0}),ku=Ce(Jd),qd=V({},kn,{animationName:0,elapsedTime:0,pseudoElement:0}),bd=Ce(qd),ep=V({},kn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),tp=Ce(ep),np=V({},kn,{data:0}),as=Ce(np),rp={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},lp={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"},up={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ip(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=up[e])?!!t[e]:!1}function so(){return ip}var op=V({},Sr,{key:function(e){if(e.key){var t=rp[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=ll(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?lp[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:so,charCode:function(e){return e.type==="keypress"?ll(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ll(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),sp=Ce(op),ap=V({},Yl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),cs=Ce(ap),cp=V({},Sr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:so}),fp=Ce(cp),dp=V({},kn,{propertyName:0,elapsedTime:0,pseudoElement:0}),pp=Ce(dp),hp=V({},Yl,{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}),mp=Ce(hp),yp=[9,13,27,32],ao=be&&"CompositionEvent"in window,$n=null;be&&"documentMode"in document&&($n=document.documentMode);var vp=be&&"TextEvent"in window&&!$n,oc=be&&(!ao||$n&&8<$n&&11>=$n),fs=" ",ds=!1;function sc(e,t){switch(e){case"keyup":return yp.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ac(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Zt=!1;function gp(e,t){switch(e){case"compositionend":return ac(t);case"keypress":return t.which!==32?null:(ds=!0,fs);case"textInput":return e=t.data,e===fs&&ds?null:e;default:return null}}function wp(e,t){if(Zt)return e==="compositionend"||!ao&&sc(e,t)?(e=ic(),rl=io=at=null,Zt=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return oc&&t.locale!=="ko"?null:t.data;default:return null}}var Sp={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 ps(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Sp[e.type]:t==="textarea"}function cc(e,t,n,r){Va(r),t=_l(t,"onChange"),0<t.length&&(n=new oo("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Vn=null,nr=null;function _p(e){_c(e,0)}function Gl(e){var t=bt(e);if(Da(t))return e}function kp(e,t){if(e==="change")return t}var fc=!1;if(be){var Eu;if(be){var Cu="oninput"in document;if(!Cu){var hs=document.createElement("div");hs.setAttribute("oninput","return;"),Cu=typeof hs.oninput=="function"}Eu=Cu}else Eu=!1;fc=Eu&&(!document.documentMode||9<document.documentMode)}function ms(){Vn&&(Vn.detachEvent("onpropertychange",dc),nr=Vn=null)}function dc(e){if(e.propertyName==="value"&&Gl(nr)){var t=[];cc(t,nr,e,to(e)),Qa(_p,t)}}function Ep(e,t,n){e==="focusin"?(ms(),Vn=t,nr=n,Vn.attachEvent("onpropertychange",dc)):e==="focusout"&&ms()}function Cp(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Gl(nr)}function Pp(e,t){if(e==="click")return Gl(t)}function xp(e,t){if(e==="input"||e==="change")return Gl(t)}function Np(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ae=typeof Object.is=="function"?Object.is:Np;function rr(e,t){if(Ae(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var l=n[r];if(!Ku.call(t,l)||!Ae(e[l],t[l]))return!1}return!0}function ys(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function vs(e,t){var n=ys(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=ys(n)}}function pc(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?pc(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function hc(){for(var e=window,t=hl();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=hl(e.document)}return t}function co(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function zp(e){var t=hc(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&pc(n.ownerDocument.documentElement,n)){if(r!==null&&co(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=n.textContent.length,u=Math.min(r.start,l);r=r.end===void 0?u:Math.min(r.end,l),!e.extend&&u>r&&(l=r,r=u,u=l),l=vs(n,u);var i=vs(n,r);l&&i&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),u>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Rp=be&&"documentMode"in document&&11>=document.documentMode,Jt=null,fi=null,Wn=null,di=!1;function gs(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;di||Jt==null||Jt!==hl(r)||(r=Jt,"selectionStart"in r&&co(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Wn&&rr(Wn,r)||(Wn=r,r=_l(fi,"onSelect"),0<r.length&&(t=new oo("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Jt)))}function Vr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var qt={animationend:Vr("Animation","AnimationEnd"),animationiteration:Vr("Animation","AnimationIteration"),animationstart:Vr("Animation","AnimationStart"),transitionend:Vr("Transition","TransitionEnd")},Pu={},mc={};be&&(mc=document.createElement("div").style,"AnimationEvent"in window||(delete qt.animationend.animation,delete qt.animationiteration.animation,delete qt.animationstart.animation),"TransitionEvent"in window||delete qt.transitionend.transition);function Zl(e){if(Pu[e])return Pu[e];if(!qt[e])return e;var t=qt[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in mc)return Pu[e]=t[n];return e}var yc=Zl("animationend"),vc=Zl("animationiteration"),gc=Zl("animationstart"),wc=Zl("transitionend"),Sc=new Map,ws="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function kt(e,t){Sc.set(e,t),Qt(t,[e])}for(var xu=0;xu<ws.length;xu++){var Nu=ws[xu],Tp=Nu.toLowerCase(),Op=Nu[0].toUpperCase()+Nu.slice(1);kt(Tp,"on"+Op)}kt(yc,"onAnimationEnd");kt(vc,"onAnimationIteration");kt(gc,"onAnimationStart");kt("dblclick","onDoubleClick");kt("focusin","onFocus");kt("focusout","onBlur");kt(wc,"onTransitionEnd");pn("onMouseEnter",["mouseout","mouseover"]);pn("onMouseLeave",["mouseout","mouseover"]);pn("onPointerEnter",["pointerout","pointerover"]);pn("onPointerLeave",["pointerout","pointerover"]);Qt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Qt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Qt("onBeforeInput",["compositionend","keypress","textInput","paste"]);Qt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Qt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Qt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Fn="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Mp=new Set("cancel close invalid load scroll toggle".split(" ").concat(Fn));function Ss(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Td(r,t,void 0,e),e.currentTarget=null}function _c(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],l=r.event;r=r.listeners;e:{var u=void 0;if(t)for(var i=r.length-1;0<=i;i--){var o=r[i],s=o.instance,c=o.currentTarget;if(o=o.listener,s!==u&&l.isPropagationStopped())break e;Ss(l,o,c),u=s}else for(i=0;i<r.length;i++){if(o=r[i],s=o.instance,c=o.currentTarget,o=o.listener,s!==u&&l.isPropagationStopped())break e;Ss(l,o,c),u=s}}}if(yl)throw e=oi,yl=!1,oi=null,e}function F(e,t){var n=t[vi];n===void 0&&(n=t[vi]=new Set);var r=e+"__bubble";n.has(r)||(kc(t,e,2,!1),n.add(r))}function zu(e,t,n){var r=0;t&&(r|=4),kc(n,e,r,t)}var Wr="_reactListening"+Math.random().toString(36).slice(2);function lr(e){if(!e[Wr]){e[Wr]=!0,Ra.forEach(function(n){n!=="selectionchange"&&(Mp.has(n)||zu(n,!1,e),zu(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Wr]||(t[Wr]=!0,zu("selectionchange",!1,t))}}function kc(e,t,n,r){switch(uc(t)){case 1:var l=Kd;break;case 4:l=Xd;break;default:l=uo}n=l.bind(null,t,n,e),l=void 0,!ii||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(l=!0),r?l!==void 0?e.addEventListener(t,n,{capture:!0,passive:l}):e.addEventListener(t,n,!0):l!==void 0?e.addEventListener(t,n,{passive:l}):e.addEventListener(t,n,!1)}function Ru(e,t,n,r,l){var u=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var i=r.tag;if(i===3||i===4){var o=r.stateNode.containerInfo;if(o===l||o.nodeType===8&&o.parentNode===l)break;if(i===4)for(i=r.return;i!==null;){var s=i.tag;if((s===3||s===4)&&(s=i.stateNode.containerInfo,s===l||s.nodeType===8&&s.parentNode===l))return;i=i.return}for(;o!==null;){if(i=Mt(o),i===null)return;if(s=i.tag,s===5||s===6){r=u=i;continue e}o=o.parentNode}}r=r.return}Qa(function(){var c=u,p=to(n),h=[];e:{var y=Sc.get(e);if(y!==void 0){var g=oo,m=e;switch(e){case"keypress":if(ll(n)===0)break e;case"keydown":case"keyup":g=sp;break;case"focusin":m="focus",g=ku;break;case"focusout":m="blur",g=ku;break;case"beforeblur":case"afterblur":g=ku;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":g=ss;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":g=Zd;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":g=fp;break;case yc:case vc:case gc:g=bd;break;case wc:g=pp;break;case"scroll":g=Yd;break;case"wheel":g=mp;break;case"copy":case"cut":case"paste":g=tp;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":g=cs}var w=(t&4)!==0,C=!w&&e==="scroll",f=w?y!==null?y+"Capture":null:y;w=[];for(var a=c,d;a!==null;){d=a;var v=d.stateNode;if(d.tag===5&&v!==null&&(d=v,f!==null&&(v=qn(a,f),v!=null&&w.push(ur(a,v,d)))),C)break;a=a.return}0<w.length&&(y=new g(y,m,null,n,p),h.push({event:y,listeners:w}))}}if(!(t&7)){e:{if(y=e==="mouseover"||e==="pointerover",g=e==="mouseout"||e==="pointerout",y&&n!==li&&(m=n.relatedTarget||n.fromElement)&&(Mt(m)||m[et]))break e;if((g||y)&&(y=p.window===p?p:(y=p.ownerDocument)?y.defaultView||y.parentWindow:window,g?(m=n.relatedTarget||n.toElement,g=c,m=m?Mt(m):null,m!==null&&(C=Kt(m),m!==C||m.tag!==5&&m.tag!==6)&&(m=null)):(g=null,m=c),g!==m)){if(w=ss,v="onMouseLeave",f="onMouseEnter",a="mouse",(e==="pointerout"||e==="pointerover")&&(w=cs,v="onPointerLeave",f="onPointerEnter",a="pointer"),C=g==null?y:bt(g),d=m==null?y:bt(m),y=new w(v,a+"leave",g,n,p),y.target=C,y.relatedTarget=d,v=null,Mt(p)===c&&(w=new w(f,a+"enter",m,n,p),w.target=d,w.relatedTarget=C,v=w),C=v,g&&m)t:{for(w=g,f=m,a=0,d=w;d;d=Xt(d))a++;for(d=0,v=f;v;v=Xt(v))d++;for(;0<a-d;)w=Xt(w),a--;for(;0<d-a;)f=Xt(f),d--;for(;a--;){if(w===f||f!==null&&w===f.alternate)break t;w=Xt(w),f=Xt(f)}w=null}else w=null;g!==null&&_s(h,y,g,w,!1),m!==null&&C!==null&&_s(h,C,m,w,!0)}}e:{if(y=c?bt(c):window,g=y.nodeName&&y.nodeName.toLowerCase(),g==="select"||g==="input"&&y.type==="file")var S=kp;else if(ps(y))if(fc)S=xp;else{S=Cp;var _=Ep}else(g=y.nodeName)&&g.toLowerCase()==="input"&&(y.type==="checkbox"||y.type==="radio")&&(S=Pp);if(S&&(S=S(e,c))){cc(h,S,n,p);break e}_&&_(e,y,c),e==="focusout"&&(_=y._wrapperState)&&_.controlled&&y.type==="number"&&bu(y,"number",y.value)}switch(_=c?bt(c):window,e){case"focusin":(ps(_)||_.contentEditable==="true")&&(Jt=_,fi=c,Wn=null);break;case"focusout":Wn=fi=Jt=null;break;case"mousedown":di=!0;break;case"contextmenu":case"mouseup":case"dragend":di=!1,gs(h,n,p);break;case"selectionchange":if(Rp)break;case"keydown":case"keyup":gs(h,n,p)}var k;if(ao)e:{switch(e){case"compositionstart":var P="onCompositionStart";break e;case"compositionend":P="onCompositionEnd";break e;case"compositionupdate":P="onCompositionUpdate";break e}P=void 0}else Zt?sc(e,n)&&(P="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(P="onCompositionStart");P&&(oc&&n.locale!=="ko"&&(Zt||P!=="onCompositionStart"?P==="onCompositionEnd"&&Zt&&(k=ic()):(at=p,io="value"in at?at.value:at.textContent,Zt=!0)),_=_l(c,P),0<_.length&&(P=new as(P,e,null,n,p),h.push({event:P,listeners:_}),k?P.data=k:(k=ac(n),k!==null&&(P.data=k)))),(k=vp?gp(e,n):wp(e,n))&&(c=_l(c,"onBeforeInput"),0<c.length&&(p=new as("onBeforeInput","beforeinput",null,n,p),h.push({event:p,listeners:c}),p.data=k))}_c(h,t)})}function ur(e,t,n){return{instance:e,listener:t,currentTarget:n}}function _l(e,t){for(var n=t+"Capture",r=[];e!==null;){var l=e,u=l.stateNode;l.tag===5&&u!==null&&(l=u,u=qn(e,n),u!=null&&r.unshift(ur(e,u,l)),u=qn(e,t),u!=null&&r.push(ur(e,u,l))),e=e.return}return r}function Xt(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function _s(e,t,n,r,l){for(var u=t._reactName,i=[];n!==null&&n!==r;){var o=n,s=o.alternate,c=o.stateNode;if(s!==null&&s===r)break;o.tag===5&&c!==null&&(o=c,l?(s=qn(n,u),s!=null&&i.unshift(ur(n,s,o))):l||(s=qn(n,u),s!=null&&i.push(ur(n,s,o)))),n=n.return}i.length!==0&&e.push({event:t,listeners:i})}var Lp=/\r\n?/g,Dp=/\u0000|\uFFFD/g;function ks(e){return(typeof e=="string"?e:""+e).replace(Lp,`
`).replace(Dp,"")}function Br(e,t,n){if(t=ks(t),ks(e)!==t&&n)throw Error(E(425))}function kl(){}var pi=null,hi=null;function mi(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var yi=typeof setTimeout=="function"?setTimeout:void 0,Ip=typeof clearTimeout=="function"?clearTimeout:void 0,Es=typeof Promise=="function"?Promise:void 0,Fp=typeof queueMicrotask=="function"?queueMicrotask:typeof Es<"u"?function(e){return Es.resolve(null).then(e).catch(jp)}:yi;function jp(e){setTimeout(function(){throw e})}function Tu(e,t){var n=t,r=0;do{var l=n.nextSibling;if(e.removeChild(n),l&&l.nodeType===8)if(n=l.data,n==="/$"){if(r===0){e.removeChild(l),tr(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=l}while(n);tr(t)}function ht(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Cs(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var En=Math.random().toString(36).slice(2),We="__reactFiber$"+En,ir="__reactProps$"+En,et="__reactContainer$"+En,vi="__reactEvents$"+En,Ap="__reactListeners$"+En,Up="__reactHandles$"+En;function Mt(e){var t=e[We];if(t)return t;for(var n=e.parentNode;n;){if(t=n[et]||n[We]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Cs(e);e!==null;){if(n=e[We])return n;e=Cs(e)}return t}e=n,n=e.parentNode}return null}function _r(e){return e=e[We]||e[et],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function bt(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(E(33))}function Jl(e){return e[ir]||null}var gi=[],en=-1;function Et(e){return{current:e}}function j(e){0>en||(e.current=gi[en],gi[en]=null,en--)}function I(e,t){en++,gi[en]=e.current,e.current=t}var St={},se=Et(St),me=Et(!1),jt=St;function hn(e,t){var n=e.type.contextTypes;if(!n)return St;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},u;for(u in n)l[u]=t[u];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function ye(e){return e=e.childContextTypes,e!=null}function El(){j(me),j(se)}function Ps(e,t,n){if(se.current!==St)throw Error(E(168));I(se,t),I(me,n)}function Ec(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(E(108,Ed(e)||"Unknown",l));return V({},n,r)}function Cl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||St,jt=se.current,I(se,e),I(me,me.current),!0}function xs(e,t,n){var r=e.stateNode;if(!r)throw Error(E(169));n?(e=Ec(e,t,jt),r.__reactInternalMemoizedMergedChildContext=e,j(me),j(se),I(se,e)):j(me),I(me,n)}var Ke=null,ql=!1,Ou=!1;function Cc(e){Ke===null?Ke=[e]:Ke.push(e)}function $p(e){ql=!0,Cc(e)}function Ct(){if(!Ou&&Ke!==null){Ou=!0;var e=0,t=D;try{var n=Ke;for(D=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Ke=null,ql=!1}catch(l){throw Ke!==null&&(Ke=Ke.slice(e+1)),Ga(no,Ct),l}finally{D=t,Ou=!1}}return null}var tn=[],nn=0,Pl=null,xl=0,Pe=[],xe=0,At=null,Ge=1,Ze="";function Rt(e,t){tn[nn++]=xl,tn[nn++]=Pl,Pl=e,xl=t}function Pc(e,t,n){Pe[xe++]=Ge,Pe[xe++]=Ze,Pe[xe++]=At,At=e;var r=Ge;e=Ze;var l=32-Fe(r)-1;r&=~(1<<l),n+=1;var u=32-Fe(t)+l;if(30<u){var i=l-l%5;u=(r&(1<<i)-1).toString(32),r>>=i,l-=i,Ge=1<<32-Fe(t)+l|n<<l|r,Ze=u+e}else Ge=1<<u|n<<l|r,Ze=e}function fo(e){e.return!==null&&(Rt(e,1),Pc(e,1,0))}function po(e){for(;e===Pl;)Pl=tn[--nn],tn[nn]=null,xl=tn[--nn],tn[nn]=null;for(;e===At;)At=Pe[--xe],Pe[xe]=null,Ze=Pe[--xe],Pe[xe]=null,Ge=Pe[--xe],Pe[xe]=null}var _e=null,we=null,A=!1,Ie=null;function xc(e,t){var n=Ne(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Ns(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,_e=e,we=ht(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,_e=e,we=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=At!==null?{id:Ge,overflow:Ze}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Ne(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,_e=e,we=null,!0):!1;default:return!1}}function wi(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Si(e){if(A){var t=we;if(t){var n=t;if(!Ns(e,t)){if(wi(e))throw Error(E(418));t=ht(n.nextSibling);var r=_e;t&&Ns(e,t)?xc(r,n):(e.flags=e.flags&-4097|2,A=!1,_e=e)}}else{if(wi(e))throw Error(E(418));e.flags=e.flags&-4097|2,A=!1,_e=e}}}function zs(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;_e=e}function Hr(e){if(e!==_e)return!1;if(!A)return zs(e),A=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!mi(e.type,e.memoizedProps)),t&&(t=we)){if(wi(e))throw Nc(),Error(E(418));for(;t;)xc(e,t),t=ht(t.nextSibling)}if(zs(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(E(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){we=ht(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}we=null}}else we=_e?ht(e.stateNode.nextSibling):null;return!0}function Nc(){for(var e=we;e;)e=ht(e.nextSibling)}function mn(){we=_e=null,A=!1}function ho(e){Ie===null?Ie=[e]:Ie.push(e)}var Vp=rt.ReactCurrentBatchConfig;function Tn(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(E(309));var r=n.stateNode}if(!r)throw Error(E(147,e));var l=r,u=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===u?t.ref:(t=function(i){var o=l.refs;i===null?delete o[u]:o[u]=i},t._stringRef=u,t)}if(typeof e!="string")throw Error(E(284));if(!n._owner)throw Error(E(290,e))}return e}function Qr(e,t){throw e=Object.prototype.toString.call(t),Error(E(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Rs(e){var t=e._init;return t(e._payload)}function zc(e){function t(f,a){if(e){var d=f.deletions;d===null?(f.deletions=[a],f.flags|=16):d.push(a)}}function n(f,a){if(!e)return null;for(;a!==null;)t(f,a),a=a.sibling;return null}function r(f,a){for(f=new Map;a!==null;)a.key!==null?f.set(a.key,a):f.set(a.index,a),a=a.sibling;return f}function l(f,a){return f=gt(f,a),f.index=0,f.sibling=null,f}function u(f,a,d){return f.index=d,e?(d=f.alternate,d!==null?(d=d.index,d<a?(f.flags|=2,a):d):(f.flags|=2,a)):(f.flags|=1048576,a)}function i(f){return e&&f.alternate===null&&(f.flags|=2),f}function o(f,a,d,v){return a===null||a.tag!==6?(a=Au(d,f.mode,v),a.return=f,a):(a=l(a,d),a.return=f,a)}function s(f,a,d,v){var S=d.type;return S===Gt?p(f,a,d.props.children,v,d.key):a!==null&&(a.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===ut&&Rs(S)===a.type)?(v=l(a,d.props),v.ref=Tn(f,a,d),v.return=f,v):(v=fl(d.type,d.key,d.props,null,f.mode,v),v.ref=Tn(f,a,d),v.return=f,v)}function c(f,a,d,v){return a===null||a.tag!==4||a.stateNode.containerInfo!==d.containerInfo||a.stateNode.implementation!==d.implementation?(a=Uu(d,f.mode,v),a.return=f,a):(a=l(a,d.children||[]),a.return=f,a)}function p(f,a,d,v,S){return a===null||a.tag!==7?(a=Ft(d,f.mode,v,S),a.return=f,a):(a=l(a,d),a.return=f,a)}function h(f,a,d){if(typeof a=="string"&&a!==""||typeof a=="number")return a=Au(""+a,f.mode,d),a.return=f,a;if(typeof a=="object"&&a!==null){switch(a.$$typeof){case Dr:return d=fl(a.type,a.key,a.props,null,f.mode,d),d.ref=Tn(f,null,a),d.return=f,d;case Yt:return a=Uu(a,f.mode,d),a.return=f,a;case ut:var v=a._init;return h(f,v(a._payload),d)}if(Dn(a)||Pn(a))return a=Ft(a,f.mode,d,null),a.return=f,a;Qr(f,a)}return null}function y(f,a,d,v){var S=a!==null?a.key:null;if(typeof d=="string"&&d!==""||typeof d=="number")return S!==null?null:o(f,a,""+d,v);if(typeof d=="object"&&d!==null){switch(d.$$typeof){case Dr:return d.key===S?s(f,a,d,v):null;case Yt:return d.key===S?c(f,a,d,v):null;case ut:return S=d._init,y(f,a,S(d._payload),v)}if(Dn(d)||Pn(d))return S!==null?null:p(f,a,d,v,null);Qr(f,d)}return null}function g(f,a,d,v,S){if(typeof v=="string"&&v!==""||typeof v=="number")return f=f.get(d)||null,o(a,f,""+v,S);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case Dr:return f=f.get(v.key===null?d:v.key)||null,s(a,f,v,S);case Yt:return f=f.get(v.key===null?d:v.key)||null,c(a,f,v,S);case ut:var _=v._init;return g(f,a,d,_(v._payload),S)}if(Dn(v)||Pn(v))return f=f.get(d)||null,p(a,f,v,S,null);Qr(a,v)}return null}function m(f,a,d,v){for(var S=null,_=null,k=a,P=a=0,N=null;k!==null&&P<d.length;P++){k.index>P?(N=k,k=null):N=k.sibling;var R=y(f,k,d[P],v);if(R===null){k===null&&(k=N);break}e&&k&&R.alternate===null&&t(f,k),a=u(R,a,P),_===null?S=R:_.sibling=R,_=R,k=N}if(P===d.length)return n(f,k),A&&Rt(f,P),S;if(k===null){for(;P<d.length;P++)k=h(f,d[P],v),k!==null&&(a=u(k,a,P),_===null?S=k:_.sibling=k,_=k);return A&&Rt(f,P),S}for(k=r(f,k);P<d.length;P++)N=g(k,f,P,d[P],v),N!==null&&(e&&N.alternate!==null&&k.delete(N.key===null?P:N.key),a=u(N,a,P),_===null?S=N:_.sibling=N,_=N);return e&&k.forEach(function(le){return t(f,le)}),A&&Rt(f,P),S}function w(f,a,d,v){var S=Pn(d);if(typeof S!="function")throw Error(E(150));if(d=S.call(d),d==null)throw Error(E(151));for(var _=S=null,k=a,P=a=0,N=null,R=d.next();k!==null&&!R.done;P++,R=d.next()){k.index>P?(N=k,k=null):N=k.sibling;var le=y(f,k,R.value,v);if(le===null){k===null&&(k=N);break}e&&k&&le.alternate===null&&t(f,k),a=u(le,a,P),_===null?S=le:_.sibling=le,_=le,k=N}if(R.done)return n(f,k),A&&Rt(f,P),S;if(k===null){for(;!R.done;P++,R=d.next())R=h(f,R.value,v),R!==null&&(a=u(R,a,P),_===null?S=R:_.sibling=R,_=R);return A&&Rt(f,P),S}for(k=r(f,k);!R.done;P++,R=d.next())R=g(k,f,P,R.value,v),R!==null&&(e&&R.alternate!==null&&k.delete(R.key===null?P:R.key),a=u(R,a,P),_===null?S=R:_.sibling=R,_=R);return e&&k.forEach(function(Pt){return t(f,Pt)}),A&&Rt(f,P),S}function C(f,a,d,v){if(typeof d=="object"&&d!==null&&d.type===Gt&&d.key===null&&(d=d.props.children),typeof d=="object"&&d!==null){switch(d.$$typeof){case Dr:e:{for(var S=d.key,_=a;_!==null;){if(_.key===S){if(S=d.type,S===Gt){if(_.tag===7){n(f,_.sibling),a=l(_,d.props.children),a.return=f,f=a;break e}}else if(_.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===ut&&Rs(S)===_.type){n(f,_.sibling),a=l(_,d.props),a.ref=Tn(f,_,d),a.return=f,f=a;break e}n(f,_);break}else t(f,_);_=_.sibling}d.type===Gt?(a=Ft(d.props.children,f.mode,v,d.key),a.return=f,f=a):(v=fl(d.type,d.key,d.props,null,f.mode,v),v.ref=Tn(f,a,d),v.return=f,f=v)}return i(f);case Yt:e:{for(_=d.key;a!==null;){if(a.key===_)if(a.tag===4&&a.stateNode.containerInfo===d.containerInfo&&a.stateNode.implementation===d.implementation){n(f,a.sibling),a=l(a,d.children||[]),a.return=f,f=a;break e}else{n(f,a);break}else t(f,a);a=a.sibling}a=Uu(d,f.mode,v),a.return=f,f=a}return i(f);case ut:return _=d._init,C(f,a,_(d._payload),v)}if(Dn(d))return m(f,a,d,v);if(Pn(d))return w(f,a,d,v);Qr(f,d)}return typeof d=="string"&&d!==""||typeof d=="number"?(d=""+d,a!==null&&a.tag===6?(n(f,a.sibling),a=l(a,d),a.return=f,f=a):(n(f,a),a=Au(d,f.mode,v),a.return=f,f=a),i(f)):n(f,a)}return C}var yn=zc(!0),Rc=zc(!1),Nl=Et(null),zl=null,rn=null,mo=null;function yo(){mo=rn=zl=null}function vo(e){var t=Nl.current;j(Nl),e._currentValue=t}function _i(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function fn(e,t){zl=e,mo=rn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(he=!0),e.firstContext=null)}function Re(e){var t=e._currentValue;if(mo!==e)if(e={context:e,memoizedValue:t,next:null},rn===null){if(zl===null)throw Error(E(308));rn=e,zl.dependencies={lanes:0,firstContext:e}}else rn=rn.next=e;return t}var Lt=null;function go(e){Lt===null?Lt=[e]:Lt.push(e)}function Tc(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,go(t)):(n.next=l.next,l.next=n),t.interleaved=n,tt(e,r)}function tt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var it=!1;function wo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Oc(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 Je(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function mt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,L&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,tt(e,n)}return l=r.interleaved,l===null?(t.next=t,go(r)):(t.next=l.next,l.next=t),r.interleaved=t,tt(e,n)}function ul(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ro(e,n)}}function Ts(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,u=null;if(n=n.firstBaseUpdate,n!==null){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};u===null?l=u=i:u=u.next=i,n=n.next}while(n!==null);u===null?l=u=t:u=u.next=t}else l=u=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:u,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Rl(e,t,n,r){var l=e.updateQueue;it=!1;var u=l.firstBaseUpdate,i=l.lastBaseUpdate,o=l.shared.pending;if(o!==null){l.shared.pending=null;var s=o,c=s.next;s.next=null,i===null?u=c:i.next=c,i=s;var p=e.alternate;p!==null&&(p=p.updateQueue,o=p.lastBaseUpdate,o!==i&&(o===null?p.firstBaseUpdate=c:o.next=c,p.lastBaseUpdate=s))}if(u!==null){var h=l.baseState;i=0,p=c=s=null,o=u;do{var y=o.lane,g=o.eventTime;if((r&y)===y){p!==null&&(p=p.next={eventTime:g,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var m=e,w=o;switch(y=t,g=n,w.tag){case 1:if(m=w.payload,typeof m=="function"){h=m.call(g,h,y);break e}h=m;break e;case 3:m.flags=m.flags&-65537|128;case 0:if(m=w.payload,y=typeof m=="function"?m.call(g,h,y):m,y==null)break e;h=V({},h,y);break e;case 2:it=!0}}o.callback!==null&&o.lane!==0&&(e.flags|=64,y=l.effects,y===null?l.effects=[o]:y.push(o))}else g={eventTime:g,lane:y,tag:o.tag,payload:o.payload,callback:o.callback,next:null},p===null?(c=p=g,s=h):p=p.next=g,i|=y;if(o=o.next,o===null){if(o=l.shared.pending,o===null)break;y=o,o=y.next,y.next=null,l.lastBaseUpdate=y,l.shared.pending=null}}while(!0);if(p===null&&(s=h),l.baseState=s,l.firstBaseUpdate=c,l.lastBaseUpdate=p,t=l.shared.interleaved,t!==null){l=t;do i|=l.lane,l=l.next;while(l!==t)}else u===null&&(l.shared.lanes=0);$t|=i,e.lanes=i,e.memoizedState=h}}function Os(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],l=r.callback;if(l!==null){if(r.callback=null,r=n,typeof l!="function")throw Error(E(191,l));l.call(r)}}}var kr={},He=Et(kr),or=Et(kr),sr=Et(kr);function Dt(e){if(e===kr)throw Error(E(174));return e}function So(e,t){switch(I(sr,t),I(or,e),I(He,kr),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ti(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=ti(t,e)}j(He),I(He,t)}function vn(){j(He),j(or),j(sr)}function Mc(e){Dt(sr.current);var t=Dt(He.current),n=ti(t,e.type);t!==n&&(I(or,e),I(He,n))}function _o(e){or.current===e&&(j(He),j(or))}var U=Et(0);function Tl(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Mu=[];function ko(){for(var e=0;e<Mu.length;e++)Mu[e]._workInProgressVersionPrimary=null;Mu.length=0}var il=rt.ReactCurrentDispatcher,Lu=rt.ReactCurrentBatchConfig,Ut=0,$=null,K=null,G=null,Ol=!1,Bn=!1,ar=0,Wp=0;function ue(){throw Error(E(321))}function Eo(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Ae(e[n],t[n]))return!1;return!0}function Co(e,t,n,r,l,u){if(Ut=u,$=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,il.current=e===null||e.memoizedState===null?Kp:Xp,e=n(r,l),Bn){u=0;do{if(Bn=!1,ar=0,25<=u)throw Error(E(301));u+=1,G=K=null,t.updateQueue=null,il.current=Yp,e=n(r,l)}while(Bn)}if(il.current=Ml,t=K!==null&&K.next!==null,Ut=0,G=K=$=null,Ol=!1,t)throw Error(E(300));return e}function Po(){var e=ar!==0;return ar=0,e}function Ve(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return G===null?$.memoizedState=G=e:G=G.next=e,G}function Te(){if(K===null){var e=$.alternate;e=e!==null?e.memoizedState:null}else e=K.next;var t=G===null?$.memoizedState:G.next;if(t!==null)G=t,K=e;else{if(e===null)throw Error(E(310));K=e,e={memoizedState:K.memoizedState,baseState:K.baseState,baseQueue:K.baseQueue,queue:K.queue,next:null},G===null?$.memoizedState=G=e:G=G.next=e}return G}function cr(e,t){return typeof t=="function"?t(e):t}function Du(e){var t=Te(),n=t.queue;if(n===null)throw Error(E(311));n.lastRenderedReducer=e;var r=K,l=r.baseQueue,u=n.pending;if(u!==null){if(l!==null){var i=l.next;l.next=u.next,u.next=i}r.baseQueue=l=u,n.pending=null}if(l!==null){u=l.next,r=r.baseState;var o=i=null,s=null,c=u;do{var p=c.lane;if((Ut&p)===p)s!==null&&(s=s.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var h={lane:p,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};s===null?(o=s=h,i=r):s=s.next=h,$.lanes|=p,$t|=p}c=c.next}while(c!==null&&c!==u);s===null?i=r:s.next=o,Ae(r,t.memoizedState)||(he=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=s,n.lastRenderedState=r}if(e=n.interleaved,e!==null){l=e;do u=l.lane,$.lanes|=u,$t|=u,l=l.next;while(l!==e)}else l===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Iu(e){var t=Te(),n=t.queue;if(n===null)throw Error(E(311));n.lastRenderedReducer=e;var r=n.dispatch,l=n.pending,u=t.memoizedState;if(l!==null){n.pending=null;var i=l=l.next;do u=e(u,i.action),i=i.next;while(i!==l);Ae(u,t.memoizedState)||(he=!0),t.memoizedState=u,t.baseQueue===null&&(t.baseState=u),n.lastRenderedState=u}return[u,r]}function Lc(){}function Dc(e,t){var n=$,r=Te(),l=t(),u=!Ae(r.memoizedState,l);if(u&&(r.memoizedState=l,he=!0),r=r.queue,xo(jc.bind(null,n,r,e),[e]),r.getSnapshot!==t||u||G!==null&&G.memoizedState.tag&1){if(n.flags|=2048,fr(9,Fc.bind(null,n,r,l,t),void 0,null),Z===null)throw Error(E(349));Ut&30||Ic(n,t,l)}return l}function Ic(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=$.updateQueue,t===null?(t={lastEffect:null,stores:null},$.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Fc(e,t,n,r){t.value=n,t.getSnapshot=r,Ac(t)&&Uc(e)}function jc(e,t,n){return n(function(){Ac(t)&&Uc(e)})}function Ac(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Ae(e,n)}catch{return!0}}function Uc(e){var t=tt(e,1);t!==null&&je(t,e,1,-1)}function Ms(e){var t=Ve();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:cr,lastRenderedState:e},t.queue=e,e=e.dispatch=Qp.bind(null,$,e),[t.memoizedState,e]}function fr(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=$.updateQueue,t===null?(t={lastEffect:null,stores:null},$.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function $c(){return Te().memoizedState}function ol(e,t,n,r){var l=Ve();$.flags|=e,l.memoizedState=fr(1|t,n,void 0,r===void 0?null:r)}function bl(e,t,n,r){var l=Te();r=r===void 0?null:r;var u=void 0;if(K!==null){var i=K.memoizedState;if(u=i.destroy,r!==null&&Eo(r,i.deps)){l.memoizedState=fr(t,n,u,r);return}}$.flags|=e,l.memoizedState=fr(1|t,n,u,r)}function Ls(e,t){return ol(8390656,8,e,t)}function xo(e,t){return bl(2048,8,e,t)}function Vc(e,t){return bl(4,2,e,t)}function Wc(e,t){return bl(4,4,e,t)}function Bc(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Hc(e,t,n){return n=n!=null?n.concat([e]):null,bl(4,4,Bc.bind(null,t,e),n)}function No(){}function Qc(e,t){var n=Te();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Eo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Kc(e,t){var n=Te();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Eo(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Xc(e,t,n){return Ut&21?(Ae(n,t)||(n=qa(),$.lanes|=n,$t|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,he=!0),e.memoizedState=n)}function Bp(e,t){var n=D;D=n!==0&&4>n?n:4,e(!0);var r=Lu.transition;Lu.transition={};try{e(!1),t()}finally{D=n,Lu.transition=r}}function Yc(){return Te().memoizedState}function Hp(e,t,n){var r=vt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Gc(e))Zc(t,n);else if(n=Tc(e,t,n,r),n!==null){var l=ce();je(n,e,r,l),Jc(n,t,r)}}function Qp(e,t,n){var r=vt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Gc(e))Zc(t,l);else{var u=e.alternate;if(e.lanes===0&&(u===null||u.lanes===0)&&(u=t.lastRenderedReducer,u!==null))try{var i=t.lastRenderedState,o=u(i,n);if(l.hasEagerState=!0,l.eagerState=o,Ae(o,i)){var s=t.interleaved;s===null?(l.next=l,go(t)):(l.next=s.next,s.next=l),t.interleaved=l;return}}catch{}finally{}n=Tc(e,t,l,r),n!==null&&(l=ce(),je(n,e,r,l),Jc(n,t,r))}}function Gc(e){var t=e.alternate;return e===$||t!==null&&t===$}function Zc(e,t){Bn=Ol=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Jc(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ro(e,n)}}var Ml={readContext:Re,useCallback:ue,useContext:ue,useEffect:ue,useImperativeHandle:ue,useInsertionEffect:ue,useLayoutEffect:ue,useMemo:ue,useReducer:ue,useRef:ue,useState:ue,useDebugValue:ue,useDeferredValue:ue,useTransition:ue,useMutableSource:ue,useSyncExternalStore:ue,useId:ue,unstable_isNewReconciler:!1},Kp={readContext:Re,useCallback:function(e,t){return Ve().memoizedState=[e,t===void 0?null:t],e},useContext:Re,useEffect:Ls,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ol(4194308,4,Bc.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ol(4194308,4,e,t)},useInsertionEffect:function(e,t){return ol(4,2,e,t)},useMemo:function(e,t){var n=Ve();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ve();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Hp.bind(null,$,e),[r.memoizedState,e]},useRef:function(e){var t=Ve();return e={current:e},t.memoizedState=e},useState:Ms,useDebugValue:No,useDeferredValue:function(e){return Ve().memoizedState=e},useTransition:function(){var e=Ms(!1),t=e[0];return e=Bp.bind(null,e[1]),Ve().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=$,l=Ve();if(A){if(n===void 0)throw Error(E(407));n=n()}else{if(n=t(),Z===null)throw Error(E(349));Ut&30||Ic(r,t,n)}l.memoizedState=n;var u={value:n,getSnapshot:t};return l.queue=u,Ls(jc.bind(null,r,u,e),[e]),r.flags|=2048,fr(9,Fc.bind(null,r,u,n,t),void 0,null),n},useId:function(){var e=Ve(),t=Z.identifierPrefix;if(A){var n=Ze,r=Ge;n=(r&~(1<<32-Fe(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=ar++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=Wp++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Xp={readContext:Re,useCallback:Qc,useContext:Re,useEffect:xo,useImperativeHandle:Hc,useInsertionEffect:Vc,useLayoutEffect:Wc,useMemo:Kc,useReducer:Du,useRef:$c,useState:function(){return Du(cr)},useDebugValue:No,useDeferredValue:function(e){var t=Te();return Xc(t,K.memoizedState,e)},useTransition:function(){var e=Du(cr)[0],t=Te().memoizedState;return[e,t]},useMutableSource:Lc,useSyncExternalStore:Dc,useId:Yc,unstable_isNewReconciler:!1},Yp={readContext:Re,useCallback:Qc,useContext:Re,useEffect:xo,useImperativeHandle:Hc,useInsertionEffect:Vc,useLayoutEffect:Wc,useMemo:Kc,useReducer:Iu,useRef:$c,useState:function(){return Iu(cr)},useDebugValue:No,useDeferredValue:function(e){var t=Te();return K===null?t.memoizedState=e:Xc(t,K.memoizedState,e)},useTransition:function(){var e=Iu(cr)[0],t=Te().memoizedState;return[e,t]},useMutableSource:Lc,useSyncExternalStore:Dc,useId:Yc,unstable_isNewReconciler:!1};function Le(e,t){if(e&&e.defaultProps){t=V({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function ki(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:V({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var eu={isMounted:function(e){return(e=e._reactInternals)?Kt(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ce(),l=vt(e),u=Je(r,l);u.payload=t,n!=null&&(u.callback=n),t=mt(e,u,l),t!==null&&(je(t,e,l,r),ul(t,e,l))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ce(),l=vt(e),u=Je(r,l);u.tag=1,u.payload=t,n!=null&&(u.callback=n),t=mt(e,u,l),t!==null&&(je(t,e,l,r),ul(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ce(),r=vt(e),l=Je(n,r);l.tag=2,t!=null&&(l.callback=t),t=mt(e,l,r),t!==null&&(je(t,e,r,n),ul(t,e,r))}};function Ds(e,t,n,r,l,u,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,u,i):t.prototype&&t.prototype.isPureReactComponent?!rr(n,r)||!rr(l,u):!0}function qc(e,t,n){var r=!1,l=St,u=t.contextType;return typeof u=="object"&&u!==null?u=Re(u):(l=ye(t)?jt:se.current,r=t.contextTypes,u=(r=r!=null)?hn(e,l):St),t=new t(n,u),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=eu,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=u),t}function Is(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&eu.enqueueReplaceState(t,t.state,null)}function Ei(e,t,n,r){var l=e.stateNode;l.props=n,l.state=e.memoizedState,l.refs={},wo(e);var u=t.contextType;typeof u=="object"&&u!==null?l.context=Re(u):(u=ye(t)?jt:se.current,l.context=hn(e,u)),l.state=e.memoizedState,u=t.getDerivedStateFromProps,typeof u=="function"&&(ki(e,t,u,n),l.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof l.getSnapshotBeforeUpdate=="function"||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(t=l.state,typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount(),t!==l.state&&eu.enqueueReplaceState(l,l.state,null),Rl(e,n,l,r),l.state=e.memoizedState),typeof l.componentDidMount=="function"&&(e.flags|=4194308)}function gn(e,t){try{var n="",r=t;do n+=kd(r),r=r.return;while(r);var l=n}catch(u){l=`
Error generating stack: `+u.message+`
`+u.stack}return{value:e,source:t,stack:l,digest:null}}function Fu(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Ci(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Gp=typeof WeakMap=="function"?WeakMap:Map;function bc(e,t,n){n=Je(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Dl||(Dl=!0,Di=r),Ci(e,t)},n}function ef(e,t,n){n=Je(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var l=t.value;n.payload=function(){return r(l)},n.callback=function(){Ci(e,t)}}var u=e.stateNode;return u!==null&&typeof u.componentDidCatch=="function"&&(n.callback=function(){Ci(e,t),typeof r!="function"&&(yt===null?yt=new Set([this]):yt.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),n}function Fs(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Gp;var l=new Set;r.set(t,l)}else l=r.get(t),l===void 0&&(l=new Set,r.set(t,l));l.has(n)||(l.add(n),e=ah.bind(null,e,t,n),t.then(e,e))}function js(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function As(e,t,n,r,l){return e.mode&1?(e.flags|=65536,e.lanes=l,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Je(-1,1),t.tag=2,mt(n,t,1))),n.lanes|=1),e)}var Zp=rt.ReactCurrentOwner,he=!1;function ae(e,t,n,r){t.child=e===null?Rc(t,null,n,r):yn(t,e.child,n,r)}function Us(e,t,n,r,l){n=n.render;var u=t.ref;return fn(t,l),r=Co(e,t,n,r,u,l),n=Po(),e!==null&&!he?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,nt(e,t,l)):(A&&n&&fo(t),t.flags|=1,ae(e,t,r,l),t.child)}function $s(e,t,n,r,l){if(e===null){var u=n.type;return typeof u=="function"&&!Io(u)&&u.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=u,tf(e,t,u,r,l)):(e=fl(n.type,null,r,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(u=e.child,!(e.lanes&l)){var i=u.memoizedProps;if(n=n.compare,n=n!==null?n:rr,n(i,r)&&e.ref===t.ref)return nt(e,t,l)}return t.flags|=1,e=gt(u,r),e.ref=t.ref,e.return=t,t.child=e}function tf(e,t,n,r,l){if(e!==null){var u=e.memoizedProps;if(rr(u,r)&&e.ref===t.ref)if(he=!1,t.pendingProps=r=u,(e.lanes&l)!==0)e.flags&131072&&(he=!0);else return t.lanes=e.lanes,nt(e,t,l)}return Pi(e,t,n,r,l)}function nf(e,t,n){var r=t.pendingProps,l=r.children,u=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},I(un,ge),ge|=n;else{if(!(n&1073741824))return e=u!==null?u.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,I(un,ge),ge|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=u!==null?u.baseLanes:n,I(un,ge),ge|=r}else u!==null?(r=u.baseLanes|n,t.memoizedState=null):r=n,I(un,ge),ge|=r;return ae(e,t,l,n),t.child}function rf(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Pi(e,t,n,r,l){var u=ye(n)?jt:se.current;return u=hn(t,u),fn(t,l),n=Co(e,t,n,r,u,l),r=Po(),e!==null&&!he?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,nt(e,t,l)):(A&&r&&fo(t),t.flags|=1,ae(e,t,n,l),t.child)}function Vs(e,t,n,r,l){if(ye(n)){var u=!0;Cl(t)}else u=!1;if(fn(t,l),t.stateNode===null)sl(e,t),qc(t,n,r),Ei(t,n,r,l),r=!0;else if(e===null){var i=t.stateNode,o=t.memoizedProps;i.props=o;var s=i.context,c=n.contextType;typeof c=="object"&&c!==null?c=Re(c):(c=ye(n)?jt:se.current,c=hn(t,c));var p=n.getDerivedStateFromProps,h=typeof p=="function"||typeof i.getSnapshotBeforeUpdate=="function";h||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(o!==r||s!==c)&&Is(t,i,r,c),it=!1;var y=t.memoizedState;i.state=y,Rl(t,r,i,l),s=t.memoizedState,o!==r||y!==s||me.current||it?(typeof p=="function"&&(ki(t,n,p,r),s=t.memoizedState),(o=it||Ds(t,n,o,r,y,s,c))?(h||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),i.props=r,i.state=s,i.context=c,r=o):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Oc(e,t),o=t.memoizedProps,c=t.type===t.elementType?o:Le(t.type,o),i.props=c,h=t.pendingProps,y=i.context,s=n.contextType,typeof s=="object"&&s!==null?s=Re(s):(s=ye(n)?jt:se.current,s=hn(t,s));var g=n.getDerivedStateFromProps;(p=typeof g=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(o!==h||y!==s)&&Is(t,i,r,s),it=!1,y=t.memoizedState,i.state=y,Rl(t,r,i,l);var m=t.memoizedState;o!==h||y!==m||me.current||it?(typeof g=="function"&&(ki(t,n,g,r),m=t.memoizedState),(c=it||Ds(t,n,c,r,y,m,s)||!1)?(p||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(r,m,s),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(r,m,s)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||o===e.memoizedProps&&y===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&y===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=m),i.props=r,i.state=m,i.context=s,r=c):(typeof i.componentDidUpdate!="function"||o===e.memoizedProps&&y===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&y===e.memoizedState||(t.flags|=1024),r=!1)}return xi(e,t,n,r,u,l)}function xi(e,t,n,r,l,u){rf(e,t);var i=(t.flags&128)!==0;if(!r&&!i)return l&&xs(t,n,!1),nt(e,t,u);r=t.stateNode,Zp.current=t;var o=i&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&i?(t.child=yn(t,e.child,null,u),t.child=yn(t,null,o,u)):ae(e,t,o,u),t.memoizedState=r.state,l&&xs(t,n,!0),t.child}function lf(e){var t=e.stateNode;t.pendingContext?Ps(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Ps(e,t.context,!1),So(e,t.containerInfo)}function Ws(e,t,n,r,l){return mn(),ho(l),t.flags|=256,ae(e,t,n,r),t.child}var Ni={dehydrated:null,treeContext:null,retryLane:0};function zi(e){return{baseLanes:e,cachePool:null,transitions:null}}function uf(e,t,n){var r=t.pendingProps,l=U.current,u=!1,i=(t.flags&128)!==0,o;if((o=i)||(o=e!==null&&e.memoizedState===null?!1:(l&2)!==0),o?(u=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),I(U,l&1),e===null)return Si(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(i=r.children,e=r.fallback,u?(r=t.mode,u=t.child,i={mode:"hidden",children:i},!(r&1)&&u!==null?(u.childLanes=0,u.pendingProps=i):u=ru(i,r,0,null),e=Ft(e,r,n,null),u.return=t,e.return=t,u.sibling=e,t.child=u,t.child.memoizedState=zi(n),t.memoizedState=Ni,e):zo(t,i));if(l=e.memoizedState,l!==null&&(o=l.dehydrated,o!==null))return Jp(e,t,i,r,o,l,n);if(u){u=r.fallback,i=t.mode,l=e.child,o=l.sibling;var s={mode:"hidden",children:r.children};return!(i&1)&&t.child!==l?(r=t.child,r.childLanes=0,r.pendingProps=s,t.deletions=null):(r=gt(l,s),r.subtreeFlags=l.subtreeFlags&14680064),o!==null?u=gt(o,u):(u=Ft(u,i,n,null),u.flags|=2),u.return=t,r.return=t,r.sibling=u,t.child=r,r=u,u=t.child,i=e.child.memoizedState,i=i===null?zi(n):{baseLanes:i.baseLanes|n,cachePool:null,transitions:i.transitions},u.memoizedState=i,u.childLanes=e.childLanes&~n,t.memoizedState=Ni,r}return u=e.child,e=u.sibling,r=gt(u,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function zo(e,t){return t=ru({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Kr(e,t,n,r){return r!==null&&ho(r),yn(t,e.child,null,n),e=zo(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Jp(e,t,n,r,l,u,i){if(n)return t.flags&256?(t.flags&=-257,r=Fu(Error(E(422))),Kr(e,t,i,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(u=r.fallback,l=t.mode,r=ru({mode:"visible",children:r.children},l,0,null),u=Ft(u,l,i,null),u.flags|=2,r.return=t,u.return=t,r.sibling=u,t.child=r,t.mode&1&&yn(t,e.child,null,i),t.child.memoizedState=zi(i),t.memoizedState=Ni,u);if(!(t.mode&1))return Kr(e,t,i,null);if(l.data==="$!"){if(r=l.nextSibling&&l.nextSibling.dataset,r)var o=r.dgst;return r=o,u=Error(E(419)),r=Fu(u,r,void 0),Kr(e,t,i,r)}if(o=(i&e.childLanes)!==0,he||o){if(r=Z,r!==null){switch(i&-i){case 4:l=2;break;case 16:l=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:l=32;break;case 536870912:l=268435456;break;default:l=0}l=l&(r.suspendedLanes|i)?0:l,l!==0&&l!==u.retryLane&&(u.retryLane=l,tt(e,l),je(r,e,l,-1))}return Do(),r=Fu(Error(E(421))),Kr(e,t,i,r)}return l.data==="$?"?(t.flags|=128,t.child=e.child,t=ch.bind(null,e),l._reactRetry=t,null):(e=u.treeContext,we=ht(l.nextSibling),_e=t,A=!0,Ie=null,e!==null&&(Pe[xe++]=Ge,Pe[xe++]=Ze,Pe[xe++]=At,Ge=e.id,Ze=e.overflow,At=t),t=zo(t,r.children),t.flags|=4096,t)}function Bs(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),_i(e.return,t,n)}function ju(e,t,n,r,l){var u=e.memoizedState;u===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:l}:(u.isBackwards=t,u.rendering=null,u.renderingStartTime=0,u.last=r,u.tail=n,u.tailMode=l)}function of(e,t,n){var r=t.pendingProps,l=r.revealOrder,u=r.tail;if(ae(e,t,r.children,n),r=U.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Bs(e,n,t);else if(e.tag===19)Bs(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(I(U,r),!(t.mode&1))t.memoizedState=null;else switch(l){case"forwards":for(n=t.child,l=null;n!==null;)e=n.alternate,e!==null&&Tl(e)===null&&(l=n),n=n.sibling;n=l,n===null?(l=t.child,t.child=null):(l=n.sibling,n.sibling=null),ju(t,!1,l,n,u);break;case"backwards":for(n=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&Tl(e)===null){t.child=l;break}e=l.sibling,l.sibling=n,n=l,l=e}ju(t,!0,n,null,u);break;case"together":ju(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function sl(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function nt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),$t|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(E(153));if(t.child!==null){for(e=t.child,n=gt(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=gt(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function qp(e,t,n){switch(t.tag){case 3:lf(t),mn();break;case 5:Mc(t);break;case 1:ye(t.type)&&Cl(t);break;case 4:So(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,l=t.memoizedProps.value;I(Nl,r._currentValue),r._currentValue=l;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(I(U,U.current&1),t.flags|=128,null):n&t.child.childLanes?uf(e,t,n):(I(U,U.current&1),e=nt(e,t,n),e!==null?e.sibling:null);I(U,U.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return of(e,t,n);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),I(U,U.current),r)break;return null;case 22:case 23:return t.lanes=0,nf(e,t,n)}return nt(e,t,n)}var sf,Ri,af,cf;sf=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Ri=function(){};af=function(e,t,n,r){var l=e.memoizedProps;if(l!==r){e=t.stateNode,Dt(He.current);var u=null;switch(n){case"input":l=Ju(e,l),r=Ju(e,r),u=[];break;case"select":l=V({},l,{value:void 0}),r=V({},r,{value:void 0}),u=[];break;case"textarea":l=ei(e,l),r=ei(e,r),u=[];break;default:typeof l.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=kl)}ni(n,r);var i;n=null;for(c in l)if(!r.hasOwnProperty(c)&&l.hasOwnProperty(c)&&l[c]!=null)if(c==="style"){var o=l[c];for(i in o)o.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(Zn.hasOwnProperty(c)?u||(u=[]):(u=u||[]).push(c,null));for(c in r){var s=r[c];if(o=l!=null?l[c]:void 0,r.hasOwnProperty(c)&&s!==o&&(s!=null||o!=null))if(c==="style")if(o){for(i in o)!o.hasOwnProperty(i)||s&&s.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in s)s.hasOwnProperty(i)&&o[i]!==s[i]&&(n||(n={}),n[i]=s[i])}else n||(u||(u=[]),u.push(c,n)),n=s;else c==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,o=o?o.__html:void 0,s!=null&&o!==s&&(u=u||[]).push(c,s)):c==="children"?typeof s!="string"&&typeof s!="number"||(u=u||[]).push(c,""+s):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(Zn.hasOwnProperty(c)?(s!=null&&c==="onScroll"&&F("scroll",e),u||o===s||(u=[])):(u=u||[]).push(c,s))}n&&(u=u||[]).push("style",n);var c=u;(t.updateQueue=c)&&(t.flags|=4)}};cf=function(e,t,n,r){n!==r&&(t.flags|=4)};function On(e,t){if(!A)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ie(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags&14680064,r|=l.flags&14680064,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags,r|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function bp(e,t,n){var r=t.pendingProps;switch(po(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ie(t),null;case 1:return ye(t.type)&&El(),ie(t),null;case 3:return r=t.stateNode,vn(),j(me),j(se),ko(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Hr(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ie!==null&&(ji(Ie),Ie=null))),Ri(e,t),ie(t),null;case 5:_o(t);var l=Dt(sr.current);if(n=t.type,e!==null&&t.stateNode!=null)af(e,t,n,r,l),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(E(166));return ie(t),null}if(e=Dt(He.current),Hr(t)){r=t.stateNode,n=t.type;var u=t.memoizedProps;switch(r[We]=t,r[ir]=u,e=(t.mode&1)!==0,n){case"dialog":F("cancel",r),F("close",r);break;case"iframe":case"object":case"embed":F("load",r);break;case"video":case"audio":for(l=0;l<Fn.length;l++)F(Fn[l],r);break;case"source":F("error",r);break;case"img":case"image":case"link":F("error",r),F("load",r);break;case"details":F("toggle",r);break;case"input":qo(r,u),F("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!u.multiple},F("invalid",r);break;case"textarea":es(r,u),F("invalid",r)}ni(n,u),l=null;for(var i in u)if(u.hasOwnProperty(i)){var o=u[i];i==="children"?typeof o=="string"?r.textContent!==o&&(u.suppressHydrationWarning!==!0&&Br(r.textContent,o,e),l=["children",o]):typeof o=="number"&&r.textContent!==""+o&&(u.suppressHydrationWarning!==!0&&Br(r.textContent,o,e),l=["children",""+o]):Zn.hasOwnProperty(i)&&o!=null&&i==="onScroll"&&F("scroll",r)}switch(n){case"input":Ir(r),bo(r,u,!0);break;case"textarea":Ir(r),ts(r);break;case"select":case"option":break;default:typeof u.onClick=="function"&&(r.onclick=kl)}r=l,t.updateQueue=r,r!==null&&(t.flags|=4)}else{i=l.nodeType===9?l:l.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=ja(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=i.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[We]=t,e[ir]=r,sf(e,t,!1,!1),t.stateNode=e;e:{switch(i=ri(n,r),n){case"dialog":F("cancel",e),F("close",e),l=r;break;case"iframe":case"object":case"embed":F("load",e),l=r;break;case"video":case"audio":for(l=0;l<Fn.length;l++)F(Fn[l],e);l=r;break;case"source":F("error",e),l=r;break;case"img":case"image":case"link":F("error",e),F("load",e),l=r;break;case"details":F("toggle",e),l=r;break;case"input":qo(e,r),l=Ju(e,r),F("invalid",e);break;case"option":l=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},l=V({},r,{value:void 0}),F("invalid",e);break;case"textarea":es(e,r),l=ei(e,r),F("invalid",e);break;default:l=r}ni(n,l),o=l;for(u in o)if(o.hasOwnProperty(u)){var s=o[u];u==="style"?$a(e,s):u==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,s!=null&&Aa(e,s)):u==="children"?typeof s=="string"?(n!=="textarea"||s!=="")&&Jn(e,s):typeof s=="number"&&Jn(e,""+s):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Zn.hasOwnProperty(u)?s!=null&&u==="onScroll"&&F("scroll",e):s!=null&&Ji(e,u,s,i))}switch(n){case"input":Ir(e),bo(e,r,!1);break;case"textarea":Ir(e),ts(e);break;case"option":r.value!=null&&e.setAttribute("value",""+wt(r.value));break;case"select":e.multiple=!!r.multiple,u=r.value,u!=null?on(e,!!r.multiple,u,!1):r.defaultValue!=null&&on(e,!!r.multiple,r.defaultValue,!0);break;default:typeof l.onClick=="function"&&(e.onclick=kl)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return ie(t),null;case 6:if(e&&t.stateNode!=null)cf(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(E(166));if(n=Dt(sr.current),Dt(He.current),Hr(t)){if(r=t.stateNode,n=t.memoizedProps,r[We]=t,(u=r.nodeValue!==n)&&(e=_e,e!==null))switch(e.tag){case 3:Br(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Br(r.nodeValue,n,(e.mode&1)!==0)}u&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[We]=t,t.stateNode=r}return ie(t),null;case 13:if(j(U),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(A&&we!==null&&t.mode&1&&!(t.flags&128))Nc(),mn(),t.flags|=98560,u=!1;else if(u=Hr(t),r!==null&&r.dehydrated!==null){if(e===null){if(!u)throw Error(E(318));if(u=t.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(E(317));u[We]=t}else mn(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;ie(t),u=!1}else Ie!==null&&(ji(Ie),Ie=null),u=!0;if(!u)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||U.current&1?X===0&&(X=3):Do())),t.updateQueue!==null&&(t.flags|=4),ie(t),null);case 4:return vn(),Ri(e,t),e===null&&lr(t.stateNode.containerInfo),ie(t),null;case 10:return vo(t.type._context),ie(t),null;case 17:return ye(t.type)&&El(),ie(t),null;case 19:if(j(U),u=t.memoizedState,u===null)return ie(t),null;if(r=(t.flags&128)!==0,i=u.rendering,i===null)if(r)On(u,!1);else{if(X!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(i=Tl(e),i!==null){for(t.flags|=128,On(u,!1),r=i.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)u=n,e=r,u.flags&=14680066,i=u.alternate,i===null?(u.childLanes=0,u.lanes=e,u.child=null,u.subtreeFlags=0,u.memoizedProps=null,u.memoizedState=null,u.updateQueue=null,u.dependencies=null,u.stateNode=null):(u.childLanes=i.childLanes,u.lanes=i.lanes,u.child=i.child,u.subtreeFlags=0,u.deletions=null,u.memoizedProps=i.memoizedProps,u.memoizedState=i.memoizedState,u.updateQueue=i.updateQueue,u.type=i.type,e=i.dependencies,u.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return I(U,U.current&1|2),t.child}e=e.sibling}u.tail!==null&&H()>wn&&(t.flags|=128,r=!0,On(u,!1),t.lanes=4194304)}else{if(!r)if(e=Tl(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),On(u,!0),u.tail===null&&u.tailMode==="hidden"&&!i.alternate&&!A)return ie(t),null}else 2*H()-u.renderingStartTime>wn&&n!==1073741824&&(t.flags|=128,r=!0,On(u,!1),t.lanes=4194304);u.isBackwards?(i.sibling=t.child,t.child=i):(n=u.last,n!==null?n.sibling=i:t.child=i,u.last=i)}return u.tail!==null?(t=u.tail,u.rendering=t,u.tail=t.sibling,u.renderingStartTime=H(),t.sibling=null,n=U.current,I(U,r?n&1|2:n&1),t):(ie(t),null);case 22:case 23:return Lo(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ge&1073741824&&(ie(t),t.subtreeFlags&6&&(t.flags|=8192)):ie(t),null;case 24:return null;case 25:return null}throw Error(E(156,t.tag))}function eh(e,t){switch(po(t),t.tag){case 1:return ye(t.type)&&El(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return vn(),j(me),j(se),ko(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return _o(t),null;case 13:if(j(U),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(E(340));mn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return j(U),null;case 4:return vn(),null;case 10:return vo(t.type._context),null;case 22:case 23:return Lo(),null;case 24:return null;default:return null}}var Xr=!1,oe=!1,th=typeof WeakSet=="function"?WeakSet:Set,x=null;function ln(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){W(e,t,r)}else n.current=null}function Ti(e,t,n){try{n()}catch(r){W(e,t,r)}}var Hs=!1;function nh(e,t){if(pi=wl,e=hc(),co(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,u=r.focusNode;r=r.focusOffset;try{n.nodeType,u.nodeType}catch{n=null;break e}var i=0,o=-1,s=-1,c=0,p=0,h=e,y=null;t:for(;;){for(var g;h!==n||l!==0&&h.nodeType!==3||(o=i+l),h!==u||r!==0&&h.nodeType!==3||(s=i+r),h.nodeType===3&&(i+=h.nodeValue.length),(g=h.firstChild)!==null;)y=h,h=g;for(;;){if(h===e)break t;if(y===n&&++c===l&&(o=i),y===u&&++p===r&&(s=i),(g=h.nextSibling)!==null)break;h=y,y=h.parentNode}h=g}n=o===-1||s===-1?null:{start:o,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(hi={focusedElem:e,selectionRange:n},wl=!1,x=t;x!==null;)if(t=x,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,x=e;else for(;x!==null;){t=x;try{var m=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(m!==null){var w=m.memoizedProps,C=m.memoizedState,f=t.stateNode,a=f.getSnapshotBeforeUpdate(t.elementType===t.type?w:Le(t.type,w),C);f.__reactInternalSnapshotBeforeUpdate=a}break;case 3:var d=t.stateNode.containerInfo;d.nodeType===1?d.textContent="":d.nodeType===9&&d.documentElement&&d.removeChild(d.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(E(163))}}catch(v){W(t,t.return,v)}if(e=t.sibling,e!==null){e.return=t.return,x=e;break}x=t.return}return m=Hs,Hs=!1,m}function Hn(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var u=l.destroy;l.destroy=void 0,u!==void 0&&Ti(t,n,u)}l=l.next}while(l!==r)}}function tu(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Oi(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function ff(e){var t=e.alternate;t!==null&&(e.alternate=null,ff(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[We],delete t[ir],delete t[vi],delete t[Ap],delete t[Up])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function df(e){return e.tag===5||e.tag===3||e.tag===4}function Qs(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||df(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Mi(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=kl));else if(r!==4&&(e=e.child,e!==null))for(Mi(e,t,n),e=e.sibling;e!==null;)Mi(e,t,n),e=e.sibling}function Li(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Li(e,t,n),e=e.sibling;e!==null;)Li(e,t,n),e=e.sibling}var b=null,De=!1;function lt(e,t,n){for(n=n.child;n!==null;)pf(e,t,n),n=n.sibling}function pf(e,t,n){if(Be&&typeof Be.onCommitFiberUnmount=="function")try{Be.onCommitFiberUnmount(Xl,n)}catch{}switch(n.tag){case 5:oe||ln(n,t);case 6:var r=b,l=De;b=null,lt(e,t,n),b=r,De=l,b!==null&&(De?(e=b,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):b.removeChild(n.stateNode));break;case 18:b!==null&&(De?(e=b,n=n.stateNode,e.nodeType===8?Tu(e.parentNode,n):e.nodeType===1&&Tu(e,n),tr(e)):Tu(b,n.stateNode));break;case 4:r=b,l=De,b=n.stateNode.containerInfo,De=!0,lt(e,t,n),b=r,De=l;break;case 0:case 11:case 14:case 15:if(!oe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var u=l,i=u.destroy;u=u.tag,i!==void 0&&(u&2||u&4)&&Ti(n,t,i),l=l.next}while(l!==r)}lt(e,t,n);break;case 1:if(!oe&&(ln(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(o){W(n,t,o)}lt(e,t,n);break;case 21:lt(e,t,n);break;case 22:n.mode&1?(oe=(r=oe)||n.memoizedState!==null,lt(e,t,n),oe=r):lt(e,t,n);break;default:lt(e,t,n)}}function Ks(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new th),t.forEach(function(r){var l=fh.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function Me(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var l=n[r];try{var u=e,i=t,o=i;e:for(;o!==null;){switch(o.tag){case 5:b=o.stateNode,De=!1;break e;case 3:b=o.stateNode.containerInfo,De=!0;break e;case 4:b=o.stateNode.containerInfo,De=!0;break e}o=o.return}if(b===null)throw Error(E(160));pf(u,i,l),b=null,De=!1;var s=l.alternate;s!==null&&(s.return=null),l.return=null}catch(c){W(l,t,c)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)hf(t,e),t=t.sibling}function hf(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Me(t,e),$e(e),r&4){try{Hn(3,e,e.return),tu(3,e)}catch(w){W(e,e.return,w)}try{Hn(5,e,e.return)}catch(w){W(e,e.return,w)}}break;case 1:Me(t,e),$e(e),r&512&&n!==null&&ln(n,n.return);break;case 5:if(Me(t,e),$e(e),r&512&&n!==null&&ln(n,n.return),e.flags&32){var l=e.stateNode;try{Jn(l,"")}catch(w){W(e,e.return,w)}}if(r&4&&(l=e.stateNode,l!=null)){var u=e.memoizedProps,i=n!==null?n.memoizedProps:u,o=e.type,s=e.updateQueue;if(e.updateQueue=null,s!==null)try{o==="input"&&u.type==="radio"&&u.name!=null&&Ia(l,u),ri(o,i);var c=ri(o,u);for(i=0;i<s.length;i+=2){var p=s[i],h=s[i+1];p==="style"?$a(l,h):p==="dangerouslySetInnerHTML"?Aa(l,h):p==="children"?Jn(l,h):Ji(l,p,h,c)}switch(o){case"input":qu(l,u);break;case"textarea":Fa(l,u);break;case"select":var y=l._wrapperState.wasMultiple;l._wrapperState.wasMultiple=!!u.multiple;var g=u.value;g!=null?on(l,!!u.multiple,g,!1):y!==!!u.multiple&&(u.defaultValue!=null?on(l,!!u.multiple,u.defaultValue,!0):on(l,!!u.multiple,u.multiple?[]:"",!1))}l[ir]=u}catch(w){W(e,e.return,w)}}break;case 6:if(Me(t,e),$e(e),r&4){if(e.stateNode===null)throw Error(E(162));l=e.stateNode,u=e.memoizedProps;try{l.nodeValue=u}catch(w){W(e,e.return,w)}}break;case 3:if(Me(t,e),$e(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{tr(t.containerInfo)}catch(w){W(e,e.return,w)}break;case 4:Me(t,e),$e(e);break;case 13:Me(t,e),$e(e),l=e.child,l.flags&8192&&(u=l.memoizedState!==null,l.stateNode.isHidden=u,!u||l.alternate!==null&&l.alternate.memoizedState!==null||(Oo=H())),r&4&&Ks(e);break;case 22:if(p=n!==null&&n.memoizedState!==null,e.mode&1?(oe=(c=oe)||p,Me(t,e),oe=c):Me(t,e),$e(e),r&8192){if(c=e.memoizedState!==null,(e.stateNode.isHidden=c)&&!p&&e.mode&1)for(x=e,p=e.child;p!==null;){for(h=x=p;x!==null;){switch(y=x,g=y.child,y.tag){case 0:case 11:case 14:case 15:Hn(4,y,y.return);break;case 1:ln(y,y.return);var m=y.stateNode;if(typeof m.componentWillUnmount=="function"){r=y,n=y.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(w){W(r,n,w)}}break;case 5:ln(y,y.return);break;case 22:if(y.memoizedState!==null){Ys(h);continue}}g!==null?(g.return=y,x=g):Ys(h)}p=p.sibling}e:for(p=null,h=e;;){if(h.tag===5){if(p===null){p=h;try{l=h.stateNode,c?(u=l.style,typeof u.setProperty=="function"?u.setProperty("display","none","important"):u.display="none"):(o=h.stateNode,s=h.memoizedProps.style,i=s!=null&&s.hasOwnProperty("display")?s.display:null,o.style.display=Ua("display",i))}catch(w){W(e,e.return,w)}}}else if(h.tag===6){if(p===null)try{h.stateNode.nodeValue=c?"":h.memoizedProps}catch(w){W(e,e.return,w)}}else if((h.tag!==22&&h.tag!==23||h.memoizedState===null||h===e)&&h.child!==null){h.child.return=h,h=h.child;continue}if(h===e)break e;for(;h.sibling===null;){if(h.return===null||h.return===e)break e;p===h&&(p=null),h=h.return}p===h&&(p=null),h.sibling.return=h.return,h=h.sibling}}break;case 19:Me(t,e),$e(e),r&4&&Ks(e);break;case 21:break;default:Me(t,e),$e(e)}}function $e(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(df(n)){var r=n;break e}n=n.return}throw Error(E(160))}switch(r.tag){case 5:var l=r.stateNode;r.flags&32&&(Jn(l,""),r.flags&=-33);var u=Qs(e);Li(e,u,l);break;case 3:case 4:var i=r.stateNode.containerInfo,o=Qs(e);Mi(e,o,i);break;default:throw Error(E(161))}}catch(s){W(e,e.return,s)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function rh(e,t,n){x=e,mf(e)}function mf(e,t,n){for(var r=(e.mode&1)!==0;x!==null;){var l=x,u=l.child;if(l.tag===22&&r){var i=l.memoizedState!==null||Xr;if(!i){var o=l.alternate,s=o!==null&&o.memoizedState!==null||oe;o=Xr;var c=oe;if(Xr=i,(oe=s)&&!c)for(x=l;x!==null;)i=x,s=i.child,i.tag===22&&i.memoizedState!==null?Gs(l):s!==null?(s.return=i,x=s):Gs(l);for(;u!==null;)x=u,mf(u),u=u.sibling;x=l,Xr=o,oe=c}Xs(e)}else l.subtreeFlags&8772&&u!==null?(u.return=l,x=u):Xs(e)}}function Xs(e){for(;x!==null;){var t=x;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:oe||tu(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!oe)if(n===null)r.componentDidMount();else{var l=t.elementType===t.type?n.memoizedProps:Le(t.type,n.memoizedProps);r.componentDidUpdate(l,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var u=t.updateQueue;u!==null&&Os(t,u,r);break;case 3:var i=t.updateQueue;if(i!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Os(t,i,n)}break;case 5:var o=t.stateNode;if(n===null&&t.flags&4){n=o;var s=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":s.autoFocus&&n.focus();break;case"img":s.src&&(n.src=s.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var c=t.alternate;if(c!==null){var p=c.memoizedState;if(p!==null){var h=p.dehydrated;h!==null&&tr(h)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(E(163))}oe||t.flags&512&&Oi(t)}catch(y){W(t,t.return,y)}}if(t===e){x=null;break}if(n=t.sibling,n!==null){n.return=t.return,x=n;break}x=t.return}}function Ys(e){for(;x!==null;){var t=x;if(t===e){x=null;break}var n=t.sibling;if(n!==null){n.return=t.return,x=n;break}x=t.return}}function Gs(e){for(;x!==null;){var t=x;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{tu(4,t)}catch(s){W(t,n,s)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var l=t.return;try{r.componentDidMount()}catch(s){W(t,l,s)}}var u=t.return;try{Oi(t)}catch(s){W(t,u,s)}break;case 5:var i=t.return;try{Oi(t)}catch(s){W(t,i,s)}}}catch(s){W(t,t.return,s)}if(t===e){x=null;break}var o=t.sibling;if(o!==null){o.return=t.return,x=o;break}x=t.return}}var lh=Math.ceil,Ll=rt.ReactCurrentDispatcher,Ro=rt.ReactCurrentOwner,ze=rt.ReactCurrentBatchConfig,L=0,Z=null,Q=null,ne=0,ge=0,un=Et(0),X=0,dr=null,$t=0,nu=0,To=0,Qn=null,pe=null,Oo=0,wn=1/0,Qe=null,Dl=!1,Di=null,yt=null,Yr=!1,ct=null,Il=0,Kn=0,Ii=null,al=-1,cl=0;function ce(){return L&6?H():al!==-1?al:al=H()}function vt(e){return e.mode&1?L&2&&ne!==0?ne&-ne:Vp.transition!==null?(cl===0&&(cl=qa()),cl):(e=D,e!==0||(e=window.event,e=e===void 0?16:uc(e.type)),e):1}function je(e,t,n,r){if(50<Kn)throw Kn=0,Ii=null,Error(E(185));wr(e,n,r),(!(L&2)||e!==Z)&&(e===Z&&(!(L&2)&&(nu|=n),X===4&&st(e,ne)),ve(e,r),n===1&&L===0&&!(t.mode&1)&&(wn=H()+500,ql&&Ct()))}function ve(e,t){var n=e.callbackNode;Vd(e,t);var r=gl(e,e===Z?ne:0);if(r===0)n!==null&&ls(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&ls(n),t===1)e.tag===0?$p(Zs.bind(null,e)):Cc(Zs.bind(null,e)),Fp(function(){!(L&6)&&Ct()}),n=null;else{switch(ba(r)){case 1:n=no;break;case 4:n=Za;break;case 16:n=vl;break;case 536870912:n=Ja;break;default:n=vl}n=Ef(n,yf.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function yf(e,t){if(al=-1,cl=0,L&6)throw Error(E(327));var n=e.callbackNode;if(dn()&&e.callbackNode!==n)return null;var r=gl(e,e===Z?ne:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Fl(e,r);else{t=r;var l=L;L|=2;var u=gf();(Z!==e||ne!==t)&&(Qe=null,wn=H()+500,It(e,t));do try{oh();break}catch(o){vf(e,o)}while(!0);yo(),Ll.current=u,L=l,Q!==null?t=0:(Z=null,ne=0,t=X)}if(t!==0){if(t===2&&(l=si(e),l!==0&&(r=l,t=Fi(e,l))),t===1)throw n=dr,It(e,0),st(e,r),ve(e,H()),n;if(t===6)st(e,r);else{if(l=e.current.alternate,!(r&30)&&!uh(l)&&(t=Fl(e,r),t===2&&(u=si(e),u!==0&&(r=u,t=Fi(e,u))),t===1))throw n=dr,It(e,0),st(e,r),ve(e,H()),n;switch(e.finishedWork=l,e.finishedLanes=r,t){case 0:case 1:throw Error(E(345));case 2:Tt(e,pe,Qe);break;case 3:if(st(e,r),(r&130023424)===r&&(t=Oo+500-H(),10<t)){if(gl(e,0)!==0)break;if(l=e.suspendedLanes,(l&r)!==r){ce(),e.pingedLanes|=e.suspendedLanes&l;break}e.timeoutHandle=yi(Tt.bind(null,e,pe,Qe),t);break}Tt(e,pe,Qe);break;case 4:if(st(e,r),(r&4194240)===r)break;for(t=e.eventTimes,l=-1;0<r;){var i=31-Fe(r);u=1<<i,i=t[i],i>l&&(l=i),r&=~u}if(r=l,r=H()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*lh(r/1960))-r,10<r){e.timeoutHandle=yi(Tt.bind(null,e,pe,Qe),r);break}Tt(e,pe,Qe);break;case 5:Tt(e,pe,Qe);break;default:throw Error(E(329))}}}return ve(e,H()),e.callbackNode===n?yf.bind(null,e):null}function Fi(e,t){var n=Qn;return e.current.memoizedState.isDehydrated&&(It(e,t).flags|=256),e=Fl(e,t),e!==2&&(t=pe,pe=n,t!==null&&ji(t)),e}function ji(e){pe===null?pe=e:pe.push.apply(pe,e)}function uh(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var l=n[r],u=l.getSnapshot;l=l.value;try{if(!Ae(u(),l))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function st(e,t){for(t&=~To,t&=~nu,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Fe(t),r=1<<n;e[n]=-1,t&=~r}}function Zs(e){if(L&6)throw Error(E(327));dn();var t=gl(e,0);if(!(t&1))return ve(e,H()),null;var n=Fl(e,t);if(e.tag!==0&&n===2){var r=si(e);r!==0&&(t=r,n=Fi(e,r))}if(n===1)throw n=dr,It(e,0),st(e,t),ve(e,H()),n;if(n===6)throw Error(E(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Tt(e,pe,Qe),ve(e,H()),null}function Mo(e,t){var n=L;L|=1;try{return e(t)}finally{L=n,L===0&&(wn=H()+500,ql&&Ct())}}function Vt(e){ct!==null&&ct.tag===0&&!(L&6)&&dn();var t=L;L|=1;var n=ze.transition,r=D;try{if(ze.transition=null,D=1,e)return e()}finally{D=r,ze.transition=n,L=t,!(L&6)&&Ct()}}function Lo(){ge=un.current,j(un)}function It(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Ip(n)),Q!==null)for(n=Q.return;n!==null;){var r=n;switch(po(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&El();break;case 3:vn(),j(me),j(se),ko();break;case 5:_o(r);break;case 4:vn();break;case 13:j(U);break;case 19:j(U);break;case 10:vo(r.type._context);break;case 22:case 23:Lo()}n=n.return}if(Z=e,Q=e=gt(e.current,null),ne=ge=t,X=0,dr=null,To=nu=$t=0,pe=Qn=null,Lt!==null){for(t=0;t<Lt.length;t++)if(n=Lt[t],r=n.interleaved,r!==null){n.interleaved=null;var l=r.next,u=n.pending;if(u!==null){var i=u.next;u.next=l,r.next=i}n.pending=r}Lt=null}return e}function vf(e,t){do{var n=Q;try{if(yo(),il.current=Ml,Ol){for(var r=$.memoizedState;r!==null;){var l=r.queue;l!==null&&(l.pending=null),r=r.next}Ol=!1}if(Ut=0,G=K=$=null,Bn=!1,ar=0,Ro.current=null,n===null||n.return===null){X=1,dr=t,Q=null;break}e:{var u=e,i=n.return,o=n,s=t;if(t=ne,o.flags|=32768,s!==null&&typeof s=="object"&&typeof s.then=="function"){var c=s,p=o,h=p.tag;if(!(p.mode&1)&&(h===0||h===11||h===15)){var y=p.alternate;y?(p.updateQueue=y.updateQueue,p.memoizedState=y.memoizedState,p.lanes=y.lanes):(p.updateQueue=null,p.memoizedState=null)}var g=js(i);if(g!==null){g.flags&=-257,As(g,i,o,u,t),g.mode&1&&Fs(u,c,t),t=g,s=c;var m=t.updateQueue;if(m===null){var w=new Set;w.add(s),t.updateQueue=w}else m.add(s);break e}else{if(!(t&1)){Fs(u,c,t),Do();break e}s=Error(E(426))}}else if(A&&o.mode&1){var C=js(i);if(C!==null){!(C.flags&65536)&&(C.flags|=256),As(C,i,o,u,t),ho(gn(s,o));break e}}u=s=gn(s,o),X!==4&&(X=2),Qn===null?Qn=[u]:Qn.push(u),u=i;do{switch(u.tag){case 3:u.flags|=65536,t&=-t,u.lanes|=t;var f=bc(u,s,t);Ts(u,f);break e;case 1:o=s;var a=u.type,d=u.stateNode;if(!(u.flags&128)&&(typeof a.getDerivedStateFromError=="function"||d!==null&&typeof d.componentDidCatch=="function"&&(yt===null||!yt.has(d)))){u.flags|=65536,t&=-t,u.lanes|=t;var v=ef(u,o,t);Ts(u,v);break e}}u=u.return}while(u!==null)}Sf(n)}catch(S){t=S,Q===n&&n!==null&&(Q=n=n.return);continue}break}while(!0)}function gf(){var e=Ll.current;return Ll.current=Ml,e===null?Ml:e}function Do(){(X===0||X===3||X===2)&&(X=4),Z===null||!($t&268435455)&&!(nu&268435455)||st(Z,ne)}function Fl(e,t){var n=L;L|=2;var r=gf();(Z!==e||ne!==t)&&(Qe=null,It(e,t));do try{ih();break}catch(l){vf(e,l)}while(!0);if(yo(),L=n,Ll.current=r,Q!==null)throw Error(E(261));return Z=null,ne=0,X}function ih(){for(;Q!==null;)wf(Q)}function oh(){for(;Q!==null&&!Md();)wf(Q)}function wf(e){var t=kf(e.alternate,e,ge);e.memoizedProps=e.pendingProps,t===null?Sf(e):Q=t,Ro.current=null}function Sf(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=eh(n,t),n!==null){n.flags&=32767,Q=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{X=6,Q=null;return}}else if(n=bp(n,t,ge),n!==null){Q=n;return}if(t=t.sibling,t!==null){Q=t;return}Q=t=e}while(t!==null);X===0&&(X=5)}function Tt(e,t,n){var r=D,l=ze.transition;try{ze.transition=null,D=1,sh(e,t,n,r)}finally{ze.transition=l,D=r}return null}function sh(e,t,n,r){do dn();while(ct!==null);if(L&6)throw Error(E(327));n=e.finishedWork;var l=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(E(177));e.callbackNode=null,e.callbackPriority=0;var u=n.lanes|n.childLanes;if(Wd(e,u),e===Z&&(Q=Z=null,ne=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Yr||(Yr=!0,Ef(vl,function(){return dn(),null})),u=(n.flags&15990)!==0,n.subtreeFlags&15990||u){u=ze.transition,ze.transition=null;var i=D;D=1;var o=L;L|=4,Ro.current=null,nh(e,n),hf(n,e),zp(hi),wl=!!pi,hi=pi=null,e.current=n,rh(n),Ld(),L=o,D=i,ze.transition=u}else e.current=n;if(Yr&&(Yr=!1,ct=e,Il=l),u=e.pendingLanes,u===0&&(yt=null),Fd(n.stateNode),ve(e,H()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)l=t[n],r(l.value,{componentStack:l.stack,digest:l.digest});if(Dl)throw Dl=!1,e=Di,Di=null,e;return Il&1&&e.tag!==0&&dn(),u=e.pendingLanes,u&1?e===Ii?Kn++:(Kn=0,Ii=e):Kn=0,Ct(),null}function dn(){if(ct!==null){var e=ba(Il),t=ze.transition,n=D;try{if(ze.transition=null,D=16>e?16:e,ct===null)var r=!1;else{if(e=ct,ct=null,Il=0,L&6)throw Error(E(331));var l=L;for(L|=4,x=e.current;x!==null;){var u=x,i=u.child;if(x.flags&16){var o=u.deletions;if(o!==null){for(var s=0;s<o.length;s++){var c=o[s];for(x=c;x!==null;){var p=x;switch(p.tag){case 0:case 11:case 15:Hn(8,p,u)}var h=p.child;if(h!==null)h.return=p,x=h;else for(;x!==null;){p=x;var y=p.sibling,g=p.return;if(ff(p),p===c){x=null;break}if(y!==null){y.return=g,x=y;break}x=g}}}var m=u.alternate;if(m!==null){var w=m.child;if(w!==null){m.child=null;do{var C=w.sibling;w.sibling=null,w=C}while(w!==null)}}x=u}}if(u.subtreeFlags&2064&&i!==null)i.return=u,x=i;else e:for(;x!==null;){if(u=x,u.flags&2048)switch(u.tag){case 0:case 11:case 15:Hn(9,u,u.return)}var f=u.sibling;if(f!==null){f.return=u.return,x=f;break e}x=u.return}}var a=e.current;for(x=a;x!==null;){i=x;var d=i.child;if(i.subtreeFlags&2064&&d!==null)d.return=i,x=d;else e:for(i=a;x!==null;){if(o=x,o.flags&2048)try{switch(o.tag){case 0:case 11:case 15:tu(9,o)}}catch(S){W(o,o.return,S)}if(o===i){x=null;break e}var v=o.sibling;if(v!==null){v.return=o.return,x=v;break e}x=o.return}}if(L=l,Ct(),Be&&typeof Be.onPostCommitFiberRoot=="function")try{Be.onPostCommitFiberRoot(Xl,e)}catch{}r=!0}return r}finally{D=n,ze.transition=t}}return!1}function Js(e,t,n){t=gn(n,t),t=bc(e,t,1),e=mt(e,t,1),t=ce(),e!==null&&(wr(e,1,t),ve(e,t))}function W(e,t,n){if(e.tag===3)Js(e,e,n);else for(;t!==null;){if(t.tag===3){Js(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(yt===null||!yt.has(r))){e=gn(n,e),e=ef(t,e,1),t=mt(t,e,1),e=ce(),t!==null&&(wr(t,1,e),ve(t,e));break}}t=t.return}}function ah(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=ce(),e.pingedLanes|=e.suspendedLanes&n,Z===e&&(ne&n)===n&&(X===4||X===3&&(ne&130023424)===ne&&500>H()-Oo?It(e,0):To|=n),ve(e,t)}function _f(e,t){t===0&&(e.mode&1?(t=Ar,Ar<<=1,!(Ar&130023424)&&(Ar=4194304)):t=1);var n=ce();e=tt(e,t),e!==null&&(wr(e,t,n),ve(e,n))}function ch(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),_f(e,n)}function fh(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(E(314))}r!==null&&r.delete(t),_f(e,n)}var kf;kf=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||me.current)he=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return he=!1,qp(e,t,n);he=!!(e.flags&131072)}else he=!1,A&&t.flags&1048576&&Pc(t,xl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;sl(e,t),e=t.pendingProps;var l=hn(t,se.current);fn(t,n),l=Co(null,t,r,e,l,n);var u=Po();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ye(r)?(u=!0,Cl(t)):u=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,wo(t),l.updater=eu,t.stateNode=l,l._reactInternals=t,Ei(t,r,e,n),t=xi(null,t,r,!0,u,n)):(t.tag=0,A&&u&&fo(t),ae(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(sl(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=ph(r),e=Le(r,e),l){case 0:t=Pi(null,t,r,e,n);break e;case 1:t=Vs(null,t,r,e,n);break e;case 11:t=Us(null,t,r,e,n);break e;case 14:t=$s(null,t,r,Le(r.type,e),n);break e}throw Error(E(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Le(r,l),Pi(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Le(r,l),Vs(e,t,r,l,n);case 3:e:{if(lf(t),e===null)throw Error(E(387));r=t.pendingProps,u=t.memoizedState,l=u.element,Oc(e,t),Rl(t,r,null,n);var i=t.memoizedState;if(r=i.element,u.isDehydrated)if(u={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=u,t.memoizedState=u,t.flags&256){l=gn(Error(E(423)),t),t=Ws(e,t,r,n,l);break e}else if(r!==l){l=gn(Error(E(424)),t),t=Ws(e,t,r,n,l);break e}else for(we=ht(t.stateNode.containerInfo.firstChild),_e=t,A=!0,Ie=null,n=Rc(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(mn(),r===l){t=nt(e,t,n);break e}ae(e,t,r,n)}t=t.child}return t;case 5:return Mc(t),e===null&&Si(t),r=t.type,l=t.pendingProps,u=e!==null?e.memoizedProps:null,i=l.children,mi(r,l)?i=null:u!==null&&mi(r,u)&&(t.flags|=32),rf(e,t),ae(e,t,i,n),t.child;case 6:return e===null&&Si(t),null;case 13:return uf(e,t,n);case 4:return So(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=yn(t,null,r,n):ae(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Le(r,l),Us(e,t,r,l,n);case 7:return ae(e,t,t.pendingProps,n),t.child;case 8:return ae(e,t,t.pendingProps.children,n),t.child;case 12:return ae(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,u=t.memoizedProps,i=l.value,I(Nl,r._currentValue),r._currentValue=i,u!==null)if(Ae(u.value,i)){if(u.children===l.children&&!me.current){t=nt(e,t,n);break e}}else for(u=t.child,u!==null&&(u.return=t);u!==null;){var o=u.dependencies;if(o!==null){i=u.child;for(var s=o.firstContext;s!==null;){if(s.context===r){if(u.tag===1){s=Je(-1,n&-n),s.tag=2;var c=u.updateQueue;if(c!==null){c=c.shared;var p=c.pending;p===null?s.next=s:(s.next=p.next,p.next=s),c.pending=s}}u.lanes|=n,s=u.alternate,s!==null&&(s.lanes|=n),_i(u.return,n,t),o.lanes|=n;break}s=s.next}}else if(u.tag===10)i=u.type===t.type?null:u.child;else if(u.tag===18){if(i=u.return,i===null)throw Error(E(341));i.lanes|=n,o=i.alternate,o!==null&&(o.lanes|=n),_i(i,n,t),i=u.sibling}else i=u.child;if(i!==null)i.return=u;else for(i=u;i!==null;){if(i===t){i=null;break}if(u=i.sibling,u!==null){u.return=i.return,i=u;break}i=i.return}u=i}ae(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,fn(t,n),l=Re(l),r=r(l),t.flags|=1,ae(e,t,r,n),t.child;case 14:return r=t.type,l=Le(r,t.pendingProps),l=Le(r.type,l),$s(e,t,r,l,n);case 15:return tf(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Le(r,l),sl(e,t),t.tag=1,ye(r)?(e=!0,Cl(t)):e=!1,fn(t,n),qc(t,r,l),Ei(t,r,l,n),xi(null,t,r,!0,e,n);case 19:return of(e,t,n);case 22:return nf(e,t,n)}throw Error(E(156,t.tag))};function Ef(e,t){return Ga(e,t)}function dh(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ne(e,t,n,r){return new dh(e,t,n,r)}function Io(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ph(e){if(typeof e=="function")return Io(e)?1:0;if(e!=null){if(e=e.$$typeof,e===bi)return 11;if(e===eo)return 14}return 2}function gt(e,t){var n=e.alternate;return n===null?(n=Ne(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,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=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function fl(e,t,n,r,l,u){var i=2;if(r=e,typeof e=="function")Io(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Gt:return Ft(n.children,l,u,t);case qi:i=8,l|=8;break;case Xu:return e=Ne(12,n,t,l|2),e.elementType=Xu,e.lanes=u,e;case Yu:return e=Ne(13,n,t,l),e.elementType=Yu,e.lanes=u,e;case Gu:return e=Ne(19,n,t,l),e.elementType=Gu,e.lanes=u,e;case Ma:return ru(n,l,u,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Ta:i=10;break e;case Oa:i=9;break e;case bi:i=11;break e;case eo:i=14;break e;case ut:i=16,r=null;break e}throw Error(E(130,e==null?e:typeof e,""))}return t=Ne(i,n,t,l),t.elementType=e,t.type=r,t.lanes=u,t}function Ft(e,t,n,r){return e=Ne(7,e,r,t),e.lanes=n,e}function ru(e,t,n,r){return e=Ne(22,e,r,t),e.elementType=Ma,e.lanes=n,e.stateNode={isHidden:!1},e}function Au(e,t,n){return e=Ne(6,e,null,t),e.lanes=n,e}function Uu(e,t,n){return t=Ne(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function hh(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=wu(0),this.expirationTimes=wu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=wu(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Fo(e,t,n,r,l,u,i,o,s){return e=new hh(e,t,n,o,s),t===1?(t=1,u===!0&&(t|=8)):t=0,u=Ne(3,null,null,t),e.current=u,u.stateNode=e,u.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},wo(u),e}function mh(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Yt,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Cf(e){if(!e)return St;e=e._reactInternals;e:{if(Kt(e)!==e||e.tag!==1)throw Error(E(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(ye(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(E(171))}if(e.tag===1){var n=e.type;if(ye(n))return Ec(e,n,t)}return t}function Pf(e,t,n,r,l,u,i,o,s){return e=Fo(n,r,!0,e,l,u,i,o,s),e.context=Cf(null),n=e.current,r=ce(),l=vt(n),u=Je(r,l),u.callback=t??null,mt(n,u,l),e.current.lanes=l,wr(e,l,r),ve(e,r),e}function lu(e,t,n,r){var l=t.current,u=ce(),i=vt(l);return n=Cf(n),t.context===null?t.context=n:t.pendingContext=n,t=Je(u,i),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=mt(l,t,i),e!==null&&(je(e,l,i,u),ul(e,l,i)),i}function jl(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function qs(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function jo(e,t){qs(e,t),(e=e.alternate)&&qs(e,t)}function yh(){return null}var xf=typeof reportError=="function"?reportError:function(e){console.error(e)};function Ao(e){this._internalRoot=e}uu.prototype.render=Ao.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(E(409));lu(e,t,null,null)};uu.prototype.unmount=Ao.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Vt(function(){lu(null,e,null,null)}),t[et]=null}};function uu(e){this._internalRoot=e}uu.prototype.unstable_scheduleHydration=function(e){if(e){var t=nc();e={blockedOn:null,target:e,priority:t};for(var n=0;n<ot.length&&t!==0&&t<ot[n].priority;n++);ot.splice(n,0,e),n===0&&lc(e)}};function Uo(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function iu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function bs(){}function vh(e,t,n,r,l){if(l){if(typeof r=="function"){var u=r;r=function(){var c=jl(i);u.call(c)}}var i=Pf(t,r,e,0,null,!1,!1,"",bs);return e._reactRootContainer=i,e[et]=i.current,lr(e.nodeType===8?e.parentNode:e),Vt(),i}for(;l=e.lastChild;)e.removeChild(l);if(typeof r=="function"){var o=r;r=function(){var c=jl(s);o.call(c)}}var s=Fo(e,0,!1,null,null,!1,!1,"",bs);return e._reactRootContainer=s,e[et]=s.current,lr(e.nodeType===8?e.parentNode:e),Vt(function(){lu(t,s,n,r)}),s}function ou(e,t,n,r,l){var u=n._reactRootContainer;if(u){var i=u;if(typeof l=="function"){var o=l;l=function(){var s=jl(i);o.call(s)}}lu(t,i,e,l)}else i=vh(n,t,e,l,r);return jl(i)}ec=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=In(t.pendingLanes);n!==0&&(ro(t,n|1),ve(t,H()),!(L&6)&&(wn=H()+500,Ct()))}break;case 13:Vt(function(){var r=tt(e,1);if(r!==null){var l=ce();je(r,e,1,l)}}),jo(e,1)}};lo=function(e){if(e.tag===13){var t=tt(e,134217728);if(t!==null){var n=ce();je(t,e,134217728,n)}jo(e,134217728)}};tc=function(e){if(e.tag===13){var t=vt(e),n=tt(e,t);if(n!==null){var r=ce();je(n,e,t,r)}jo(e,t)}};nc=function(){return D};rc=function(e,t){var n=D;try{return D=e,t()}finally{D=n}};ui=function(e,t,n){switch(t){case"input":if(qu(e,n),t=n.name,n.type==="radio"&&t!=null){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 l=Jl(r);if(!l)throw Error(E(90));Da(r),qu(r,l)}}}break;case"textarea":Fa(e,n);break;case"select":t=n.value,t!=null&&on(e,!!n.multiple,t,!1)}};Ba=Mo;Ha=Vt;var gh={usingClientEntryPoint:!1,Events:[_r,bt,Jl,Va,Wa,Mo]},Mn={findFiberByHostInstance:Mt,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},wh={bundleType:Mn.bundleType,version:Mn.version,rendererPackageName:Mn.rendererPackageName,rendererConfig:Mn.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:rt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Xa(e),e===null?null:e.stateNode},findFiberByHostInstance:Mn.findFiberByHostInstance||yh,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Gr=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Gr.isDisabled&&Gr.supportsFiber)try{Xl=Gr.inject(wh),Be=Gr}catch{}}Ee.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=gh;Ee.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Uo(t))throw Error(E(200));return mh(e,t,null,n)};Ee.createRoot=function(e,t){if(!Uo(e))throw Error(E(299));var n=!1,r="",l=xf;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(l=t.onRecoverableError)),t=Fo(e,1,!1,null,null,n,!1,r,l),e[et]=t.current,lr(e.nodeType===8?e.parentNode:e),new Ao(t)};Ee.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(E(188)):(e=Object.keys(e).join(","),Error(E(268,e)));return e=Xa(t),e=e===null?null:e.stateNode,e};Ee.flushSync=function(e){return Vt(e)};Ee.hydrate=function(e,t,n){if(!iu(t))throw Error(E(200));return ou(null,e,t,!0,n)};Ee.hydrateRoot=function(e,t,n){if(!Uo(e))throw Error(E(405));var r=n!=null&&n.hydratedSources||null,l=!1,u="",i=xf;if(n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(u=n.identifierPrefix),n.onRecoverableError!==void 0&&(i=n.onRecoverableError)),t=Pf(t,null,e,1,n??null,l,!1,u,i),e[et]=t.current,lr(e),r)for(e=0;e<r.length;e++)n=r[e],l=n._getVersion,l=l(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,l]:t.mutableSourceEagerHydrationData.push(n,l);return new uu(t)};Ee.render=function(e,t,n){if(!iu(t))throw Error(E(200));return ou(null,e,t,!1,n)};Ee.unmountComponentAtNode=function(e){if(!iu(e))throw Error(E(40));return e._reactRootContainer?(Vt(function(){ou(null,null,e,!1,function(){e._reactRootContainer=null,e[et]=null})}),!0):!1};Ee.unstable_batchedUpdates=Mo;Ee.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!iu(n))throw Error(E(200));if(e==null||e._reactInternals===void 0)throw Error(E(38));return ou(e,t,n,!1,r)};Ee.version="18.3.1-next-f1338f8080-20240426";function Nf(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Nf)}catch(e){console.error(e)}}Nf(),xa.exports=Ee;var bm=xa.exports,zf={exports:{}},Rf={};/**
 * @license React
 * use-sync-external-store-with-selector.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Er=te;function Sh(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var _h=typeof Object.is=="function"?Object.is:Sh,kh=Er.useSyncExternalStore,Eh=Er.useRef,Ch=Er.useEffect,Ph=Er.useMemo,xh=Er.useDebugValue;Rf.useSyncExternalStoreWithSelector=function(e,t,n,r,l){var u=Eh(null);if(u.current===null){var i={hasValue:!1,value:null};u.current=i}else i=u.current;u=Ph(function(){function s(g){if(!c){if(c=!0,p=g,g=r(g),l!==void 0&&i.hasValue){var m=i.value;if(l(m,g))return h=m}return h=g}if(m=h,_h(p,g))return m;var w=r(g);return l!==void 0&&l(m,w)?(p=g,m):(p=g,h=w)}var c=!1,p,h,y=n===void 0?null:n;return[function(){return s(t())},y===null?void 0:function(){return s(y())}]},[t,n,r,l]);var o=kh(e,u[0],u[1]);return Ch(function(){i.hasValue=!0,i.value=o},[o]),xh(o),o};zf.exports=Rf;var Nh=zf.exports;function Tf(e){e()}function zh(){let e=null,t=null;return{clear(){e=null,t=null},notify(){Tf(()=>{let n=e;for(;n;)n.callback(),n=n.next})},get(){const n=[];let r=e;for(;r;)n.push(r),r=r.next;return n},subscribe(n){let r=!0;const l=t={callback:n,next:null,prev:t};return l.prev?l.prev.next=l:e=l,function(){!r||e===null||(r=!1,l.next?l.next.prev=l.prev:t=l.prev,l.prev?l.prev.next=l.next:e=l.next)}}}}var ea={notify(){},get:()=>[]};function Rh(e,t){let n,r=ea,l=0,u=!1;function i(w){p();const C=r.subscribe(w);let f=!1;return()=>{f||(f=!0,C(),h())}}function o(){r.notify()}function s(){m.onStateChange&&m.onStateChange()}function c(){return u}function p(){l++,n||(n=e.subscribe(s),r=zh())}function h(){l--,n&&l===0&&(n(),n=void 0,r.clear(),r=ea)}function y(){u||(u=!0,p())}function g(){u&&(u=!1,h())}const m={addNestedSub:i,notifyNestedSubs:o,handleChangeWrapper:s,isSubscribed:c,trySubscribe:y,tryUnsubscribe:g,getListeners:()=>r};return m}var Th=()=>typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Oh=Th(),Mh=()=>typeof navigator<"u"&&navigator.product==="ReactNative",Lh=Mh(),Dh=()=>Oh||Lh?te.useLayoutEffect:te.useEffect,Ih=Dh();function ta(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function ey(e,t){if(ta(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let l=0;l<n.length;l++)if(!Object.prototype.hasOwnProperty.call(t,n[l])||!ta(e[n[l]],t[n[l]]))return!1;return!0}var $u=Symbol.for("react-redux-context"),Vu=typeof globalThis<"u"?globalThis:{};function Fh(){if(!te.createContext)return{};const e=Vu[$u]??(Vu[$u]=new Map);let t=e.get(te.createContext);return t||(t=te.createContext(null),e.set(te.createContext,t)),t}var _t=Fh();function jh(e){const{children:t,context:n,serverState:r,store:l}=e,u=te.useMemo(()=>{const s=Rh(l);return{store:l,subscription:s,getServerState:r?()=>r:void 0}},[l,r]),i=te.useMemo(()=>l.getState(),[l]);Ih(()=>{const{subscription:s}=u;return s.onStateChange=s.notifyNestedSubs,s.trySubscribe(),i!==l.getState()&&s.notifyNestedSubs(),()=>{s.tryUnsubscribe(),s.onStateChange=void 0}},[u,i]);const o=n||_t;return te.createElement(o.Provider,{value:u},t)}var ty=jh;function $o(e=_t){return function(){return te.useContext(e)}}var Of=$o();function Mf(e=_t){const t=e===_t?Of:$o(e),n=()=>{const{store:r}=t();return r};return Object.assign(n,{withTypes:()=>n}),n}var Ah=Mf();function Uh(e=_t){const t=e===_t?Ah:Mf(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}var ny=Uh(),$h=(e,t)=>e===t;function Vh(e=_t){const t=e===_t?Of:$o(e),n=(r,l={})=>{const{equalityFn:u=$h}=typeof l=="function"?{equalityFn:l}:l,i=t(),{store:o,subscription:s,getServerState:c}=i;te.useRef(!0);const p=te.useCallback({[r.name](y){return r(y)}}[r.name],[r]),h=Nh.useSyncExternalStoreWithSelector(s.addNestedSub,o.getState,c||o.getState,p,u);return te.useDebugValue(h),h};return Object.assign(n,{withTypes:()=>n}),n}var ry=Vh(),ly=Tf;function q(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var Wh=typeof Symbol=="function"&&Symbol.observable||"@@observable",na=Wh,Wu=()=>Math.random().toString(36).substring(7).split("").join("."),Bh={INIT:`@@redux/INIT${Wu()}`,REPLACE:`@@redux/REPLACE${Wu()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Wu()}`},Al=Bh;function Vo(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function Lf(e,t,n){if(typeof e!="function")throw new Error(q(2));if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(q(0));if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(q(1));return n(Lf)(e,t)}let r=e,l=t,u=new Map,i=u,o=0,s=!1;function c(){i===u&&(i=new Map,u.forEach((C,f)=>{i.set(f,C)}))}function p(){if(s)throw new Error(q(3));return l}function h(C){if(typeof C!="function")throw new Error(q(4));if(s)throw new Error(q(5));let f=!0;c();const a=o++;return i.set(a,C),function(){if(f){if(s)throw new Error(q(6));f=!1,c(),i.delete(a),u=null}}}function y(C){if(!Vo(C))throw new Error(q(7));if(typeof C.type>"u")throw new Error(q(8));if(typeof C.type!="string")throw new Error(q(17));if(s)throw new Error(q(9));try{s=!0,l=r(l,C)}finally{s=!1}return(u=i).forEach(a=>{a()}),C}function g(C){if(typeof C!="function")throw new Error(q(10));r=C,y({type:Al.REPLACE})}function m(){const C=h;return{subscribe(f){if(typeof f!="object"||f===null)throw new Error(q(11));function a(){const v=f;v.next&&v.next(p())}return a(),{unsubscribe:C(a)}},[na](){return this}}}return y({type:Al.INIT}),{dispatch:y,subscribe:h,getState:p,replaceReducer:g,[na]:m}}function Hh(e){Object.keys(e).forEach(t=>{const n=e[t];if(typeof n(void 0,{type:Al.INIT})>"u")throw new Error(q(12));if(typeof n(void 0,{type:Al.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(q(13))})}function Qh(e){const t=Object.keys(e),n={};for(let u=0;u<t.length;u++){const i=t[u];typeof e[i]=="function"&&(n[i]=e[i])}const r=Object.keys(n);let l;try{Hh(n)}catch(u){l=u}return function(i={},o){if(l)throw l;let s=!1;const c={};for(let p=0;p<r.length;p++){const h=r[p],y=n[h],g=i[h],m=y(g,o);if(typeof m>"u")throw o&&o.type,new Error(q(14));c[h]=m,s=s||m!==g}return s=s||r.length!==Object.keys(i).length,s?c:i}}function Ul(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...r)=>t(n(...r)))}function Kh(...e){return t=>(n,r)=>{const l=t(n,r);let u=()=>{throw new Error(q(15))};const i={getState:l.getState,dispatch:(s,...c)=>u(s,...c)},o=e.map(s=>s(i));return u=Ul(...o)(l.dispatch),{...l,dispatch:u}}}function Xh(e){return Vo(e)&&"type"in e&&typeof e.type=="string"}var Wo=Symbol.for("immer-nothing"),Xn=Symbol.for("immer-draftable"),J=Symbol.for("immer-state");function ee(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var Se=Object,Wt=Se.getPrototypeOf,pr="constructor",Cr="prototype",Ai="configurable",$l="enumerable",dl="writable",hr="value",Ue=e=>!!e&&!!e[J];function Oe(e){var t;return e?Df(e)||xr(e)||!!e[Xn]||!!((t=e[pr])!=null&&t[Xn])||Nr(e)||zr(e):!1}var Yh=Se[Cr][pr].toString(),ra=new WeakMap;function Df(e){if(!e||!Sn(e))return!1;const t=Wt(e);if(t===null||t===Se[Cr])return!0;const n=Se.hasOwnProperty.call(t,pr)&&t[pr];if(n===Object)return!0;if(!Ot(n))return!1;let r=ra.get(n);return r===void 0&&(r=Function.toString.call(n),ra.set(n,r)),r===Yh}function uy(e){return Ue(e)||ee(15,e),e[J].base_}function Pr(e,t,n=!0){Bt(e)===0?(n?Reflect.ownKeys(e):Se.keys(e)).forEach(l=>{t(l,e[l],e)}):e.forEach((r,l)=>t(l,r,e))}function Bt(e){const t=e[J];return t?t.type_:xr(e)?1:Nr(e)?2:zr(e)?3:0}var Yn=(e,t,n=Bt(e))=>n===2?e.has(t):Se[Cr].hasOwnProperty.call(e,t),Xe=(e,t,n=Bt(e))=>n===2?e.get(t):e[t],Vl=(e,t,n,r=Bt(e))=>{r===2?e.set(t,n):r===3?e.add(n):e[t]=n};function Gh(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}var xr=Array.isArray,Nr=e=>e instanceof Map,zr=e=>e instanceof Set,Sn=e=>typeof e=="object",Ot=e=>typeof e=="function",Bu=e=>typeof e=="boolean";function Zh(e){const t=+e;return Number.isInteger(t)&&String(t)===e}var Jh=e=>Sn(e)?e==null?void 0:e[J]:null,Ye=e=>e.copy_||e.base_,Bo=e=>e.modified_?e.copy_:e.base_;function Ui(e,t){if(Nr(e))return new Map(e);if(zr(e))return new Set(e);if(xr(e))return Array[Cr].slice.call(e);const n=Df(e);if(t===!0||t==="class_only"&&!n){const r=Se.getOwnPropertyDescriptors(e);delete r[J];let l=Reflect.ownKeys(r);for(let u=0;u<l.length;u++){const i=l[u],o=r[i];o[dl]===!1&&(o[dl]=!0,o[Ai]=!0),(o.get||o.set)&&(r[i]={[Ai]:!0,[dl]:!0,[$l]:o[$l],[hr]:e[i]})}return Se.create(Wt(e),r)}else{const r=Wt(e);if(r!==null&&n)return{...e};const l=Se.create(r);return Se.assign(l,e)}}function Ho(e,t=!1){return su(e)||Ue(e)||!Oe(e)||(Bt(e)>1&&Se.defineProperties(e,{set:Zr,add:Zr,clear:Zr,delete:Zr}),Se.freeze(e),t&&Pr(e,(n,r)=>{Ho(r,!0)},!1)),e}function qh(){ee(2)}var Zr={[hr]:qh};function su(e){return e===null||!Sn(e)?!0:Se.isFrozen(e)}var Wl="MapSet",Bl="Patches",la="ArrayMethods",Hl={};function Ht(e){const t=Hl[e];return t||ee(0,e),t}var ua=e=>!!Hl[e];function bh(e,t){Hl[e]||(Hl[e]=t)}var mr,If=()=>mr,em=(e,t)=>({drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:ua(Wl)?Ht(Wl):void 0,arrayMethodsPlugin_:ua(la)?Ht(la):void 0});function ia(e,t){t&&(e.patchPlugin_=Ht(Bl),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function $i(e){Vi(e),e.drafts_.forEach(tm),e.drafts_=null}function Vi(e){e===mr&&(mr=e.parent_)}var oa=e=>mr=em(mr,e);function tm(e){const t=e[J];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function sa(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];if(e!==void 0&&e!==n){n[J].modified_&&($i(t),ee(4)),Oe(e)&&(e=aa(t,e));const{patchPlugin_:l}=t;l&&l.generateReplacementPatches_(n[J].base_,e,t)}else e=aa(t,n);return nm(t,e,!0),$i(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==Wo?e:void 0}function aa(e,t){if(su(t))return t;const n=t[J];if(!n)return Ql(t,e.handledSet_,e);if(!au(n,e))return t;if(!n.modified_)return n.base_;if(!n.finalized_){const{callbacks_:r}=n;if(r)for(;r.length>0;)r.pop()(e);Af(n,e)}return n.copy_}function nm(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Ho(t,n)}function Ff(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var au=(e,t)=>e.scope_===t,rm=[];function jf(e,t,n,r){const l=Ye(e),u=e.type_;if(r!==void 0&&Xe(l,r,u)===t){Vl(l,r,n,u);return}if(!e.draftLocations_){const o=e.draftLocations_=new Map;Pr(l,(s,c)=>{if(Ue(c)){const p=o.get(c)||[];p.push(s),o.set(c,p)}})}const i=e.draftLocations_.get(t)??rm;for(const o of i)Vl(l,o,n,u)}function lm(e,t,n){e.callbacks_.push(function(l){var o;const u=t;if(!u||!au(u,l))return;(o=l.mapSetPlugin_)==null||o.fixSetContents(u);const i=Bo(u);jf(e,u.draft_??u,i,n),Af(u,l)})}function Af(e,t){var r;if(e.modified_&&!e.finalized_&&(e.type_===3||e.type_===1&&e.allIndicesReassigned_||(((r=e.assigned_)==null?void 0:r.size)??0)>0)){const{patchPlugin_:l}=t;if(l){const u=l.getPath(e);u&&l.generatePatches_(e,u,t)}Ff(e)}}function um(e,t,n){const{scope_:r}=e;if(Ue(n)){const l=n[J];au(l,r)&&l.callbacks_.push(function(){pl(e);const i=Bo(l);jf(e,n,i,t)})}else Oe(n)&&e.callbacks_.push(function(){const u=Ye(e);e.type_===3?u.has(n)&&Ql(n,r.handledSet_,r):Xe(u,t,e.type_)===n&&r.drafts_.length>1&&(e.assigned_.get(t)??!1)===!0&&e.copy_&&Ql(Xe(e.copy_,t,e.type_),r.handledSet_,r)})}function Ql(e,t,n){return!n.immer_.autoFreeze_&&n.unfinalizedDrafts_<1||Ue(e)||t.has(e)||!Oe(e)||su(e)||(t.add(e),Pr(e,(r,l)=>{if(Ue(l)){const u=l[J];if(au(u,n)){const i=Bo(u);Vl(e,r,i,e.type_),Ff(u)}}else Oe(l)&&Ql(l,t,n)})),e}function im(e,t){const n=xr(e),r={type_:n?1:0,scope_:t?t.scope_:If(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0};let l=r,u=Kl;n&&(l=[r],u=yr);const{revoke:i,proxy:o}=Proxy.revocable(l,u);return r.draft_=o,r.revoke_=i,[o,r]}var Kl={get(e,t){if(t===J)return e;let n=e.scope_.arrayMethodsPlugin_;const r=e.type_===1&&typeof t=="string";if(r&&n!=null&&n.isArrayOperationMethod(t))return n.createMethodInterceptor(e,t);const l=Ye(e);if(!Yn(l,t,e.type_))return om(e,l,t);const u=l[t];if(e.finalized_||!Oe(u)||r&&e.operationMethod&&(n!=null&&n.isMutatingArrayMethod(e.operationMethod))&&Zh(t))return u;if(u===Hu(e.base_,t)){pl(e);const i=e.type_===1?+t:t,o=Bi(e.scope_,u,e,i);return e.copy_[i]=o}return u},has(e,t){return t in Ye(e)},ownKeys(e){return Reflect.ownKeys(Ye(e))},set(e,t,n){const r=Uf(Ye(e),t);if(r!=null&&r.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){const l=Hu(Ye(e),t),u=l==null?void 0:l[J];if(u&&u.base_===n)return e.copy_[t]=n,e.assigned_.set(t,!1),!0;if(Gh(n,l)&&(n!==void 0||Yn(e.base_,t,e.type_)))return!0;pl(e),Wi(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_.set(t,!0),um(e,t,n)),!0},deleteProperty(e,t){return pl(e),Hu(e.base_,t)!==void 0||t in e.base_?(e.assigned_.set(t,!1),Wi(e)):e.assigned_.delete(t),e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=Ye(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{[dl]:!0,[Ai]:e.type_!==1||t!=="length",[$l]:r[$l],[hr]:n[t]}},defineProperty(){ee(11)},getPrototypeOf(e){return Wt(e.base_)},setPrototypeOf(){ee(12)}},yr={};for(let e in Kl){let t=Kl[e];yr[e]=function(){const n=arguments;return n[0]=n[0][0],t.apply(this,n)}}yr.deleteProperty=function(e,t){return yr.set.call(this,e,t,void 0)};yr.set=function(e,t,n){return Kl.set.call(this,e[0],t,n,e[0])};function Hu(e,t){const n=e[J];return(n?Ye(n):e)[t]}function om(e,t,n){var l;const r=Uf(t,n);return r?hr in r?r[hr]:(l=r.get)==null?void 0:l.call(e.draft_):void 0}function Uf(e,t){if(!(t in e))return;let n=Wt(e);for(;n;){const r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Wt(n)}}function Wi(e){e.modified_||(e.modified_=!0,e.parent_&&Wi(e.parent_))}function pl(e){e.copy_||(e.assigned_=new Map,e.copy_=Ui(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var sm=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(t,n,r)=>{if(Ot(t)&&!Ot(n)){const u=n;n=t;const i=this;return function(s=u,...c){return i.produce(s,p=>n.call(this,p,...c))}}Ot(n)||ee(6),r!==void 0&&!Ot(r)&&ee(7);let l;if(Oe(t)){const u=oa(this),i=Bi(u,t,void 0);let o=!0;try{l=n(i),o=!1}finally{o?$i(u):Vi(u)}return ia(u,r),sa(l,u)}else if(!t||!Sn(t)){if(l=n(t),l===void 0&&(l=t),l===Wo&&(l=void 0),this.autoFreeze_&&Ho(l,!0),r){const u=[],i=[];Ht(Bl).generateReplacementPatches_(t,l,{patches_:u,inversePatches_:i}),r(u,i)}return l}else ee(1,t)},this.produceWithPatches=(t,n)=>{if(Ot(t))return(i,...o)=>this.produceWithPatches(i,s=>t(s,...o));let r,l;return[this.produce(t,n,(i,o)=>{r=i,l=o}),r,l]},Bu(e==null?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),Bu(e==null?void 0:e.useStrictShallowCopy)&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),Bu(e==null?void 0:e.useStrictIteration)&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){Oe(e)||ee(8),Ue(e)&&(e=am(e));const t=oa(this),n=Bi(t,e,void 0);return n[J].isManual_=!0,Vi(t),n}finishDraft(e,t){const n=e&&e[J];(!n||!n.isManual_)&&ee(9);const{scope_:r}=n;return ia(r,t),sa(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const l=t[n];if(l.path.length===0&&l.op==="replace"){e=l.value;break}}n>-1&&(t=t.slice(n+1));const r=Ht(Bl).applyPatches_;return Ue(e)?r(e,t):this.produce(e,l=>r(l,t))}};function Bi(e,t,n,r){const[l,u]=Nr(t)?Ht(Wl).proxyMap_(t,n):zr(t)?Ht(Wl).proxySet_(t,n):im(t,n);return((n==null?void 0:n.scope_)??If()).drafts_.push(l),u.callbacks_=(n==null?void 0:n.callbacks_)??[],u.key_=r,n&&r!==void 0?lm(n,u,r):u.callbacks_.push(function(s){var p;(p=s.mapSetPlugin_)==null||p.fixSetContents(u);const{patchPlugin_:c}=s;u.modified_&&c&&c.generatePatches_(u,[],s)}),l}function am(e){return Ue(e)||ee(10,e),$f(e)}function $f(e){if(!Oe(e)||su(e))return e;const t=e[J];let n,r=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=Ui(e,t.scope_.immer_.useStrictShallowCopy_),r=t.scope_.immer_.shouldUseStrictIteration()}else n=Ui(e,!0);return Pr(n,(l,u)=>{Vl(n,l,$f(u))},r),t&&(t.finalized_=!1),n}function iy(){function t(m,w=[]){if(m.key_!==void 0){const C=m.parent_.copy_??m.parent_.base_,f=Jh(Xe(C,m.key_)),a=Xe(C,m.key_);if(a===void 0||a!==m.draft_&&a!==m.base_&&a!==m.copy_||f!=null&&f.base_!==m.base_)return null;const d=m.parent_.type_===3;let v;if(d){const S=m.parent_;v=Array.from(S.drafts_.keys()).indexOf(m.key_)}else v=m.key_;if(!(d&&C.size>v||Yn(C,v)))return null;w.push(v)}if(m.parent_)return t(m.parent_,w);w.reverse();try{n(m.copy_,w)}catch{return null}return w}function n(m,w){let C=m;for(let f=0;f<w.length-1;f++){const a=w[f];if(C=Xe(C,a),!Sn(C)||C===null)throw new Error(`Cannot resolve path at '${w.join("/")}'`)}return C}const r="replace",l="add",u="remove";function i(m,w,C){if(m.scope_.processedForPatches_.has(m))return;m.scope_.processedForPatches_.add(m);const{patches_:f,inversePatches_:a}=C;switch(m.type_){case 0:case 2:return s(m,w,f,a);case 1:return o(m,w,f,a);case 3:return c(m,w,f,a)}}function o(m,w,C,f){let{base_:a,assigned_:d}=m,v=m.copy_;v.length<a.length&&([a,v]=[v,a],[C,f]=[f,C]);const S=m.allIndicesReassigned_===!0;for(let _=0;_<a.length;_++){const k=v[_],P=a[_];if((S||(d==null?void 0:d.get(_.toString())))&&k!==P){const R=k==null?void 0:k[J];if(R&&R.modified_)continue;const le=w.concat([_]);C.push({op:r,path:le,value:g(k)}),f.push({op:r,path:le,value:g(P)})}}for(let _=a.length;_<v.length;_++){const k=w.concat([_]);C.push({op:l,path:k,value:g(v[_])})}for(let _=v.length-1;a.length<=_;--_){const k=w.concat([_]);f.push({op:u,path:k})}}function s(m,w,C,f){const{base_:a,copy_:d,type_:v}=m;Pr(m.assigned_,(S,_)=>{const k=Xe(a,S,v),P=Xe(d,S,v),N=_?Yn(a,S)?r:l:u;if(k===P&&N===r)return;const R=w.concat(S);C.push(N===u?{op:N,path:R}:{op:N,path:R,value:g(P)}),f.push(N===l?{op:u,path:R}:N===u?{op:l,path:R,value:g(k)}:{op:r,path:R,value:g(k)})})}function c(m,w,C,f){let{base_:a,copy_:d}=m,v=0;a.forEach(S=>{if(!d.has(S)){const _=w.concat([v]);C.push({op:u,path:_,value:S}),f.unshift({op:l,path:_,value:S})}v++}),v=0,d.forEach(S=>{if(!a.has(S)){const _=w.concat([v]);C.push({op:l,path:_,value:S}),f.unshift({op:u,path:_,value:S})}v++})}function p(m,w,C){const{patches_:f,inversePatches_:a}=C;f.push({op:r,path:[],value:w===Wo?void 0:w}),a.push({op:r,path:[],value:m})}function h(m,w){return w.forEach(C=>{const{path:f,op:a}=C;let d=m;for(let k=0;k<f.length-1;k++){const P=Bt(d);let N=f[k];typeof N!="string"&&typeof N!="number"&&(N=""+N),(P===0||P===1)&&(N==="__proto__"||N===pr)&&ee(19),Ot(d)&&N===Cr&&ee(19),d=Xe(d,N),Sn(d)||ee(18,f.join("/"))}const v=Bt(d),S=y(C.value),_=f[f.length-1];switch(a){case r:switch(v){case 2:return d.set(_,S);case 3:ee(16);default:return d[_]=S}case l:switch(v){case 1:return _==="-"?d.push(S):d.splice(_,0,S);case 2:return d.set(_,S);case 3:return d.add(S);default:return d[_]=S}case u:switch(v){case 1:return d.splice(_,1);case 2:return d.delete(_);case 3:return d.delete(C.value);default:return delete d[_]}default:ee(17,a)}}),m}function y(m){if(!Oe(m))return m;if(xr(m))return m.map(y);if(Nr(m))return new Map(Array.from(m.entries()).map(([C,f])=>[C,y(f)]));if(zr(m))return new Set(Array.from(m).map(y));const w=Object.create(Wt(m));for(const C in m)w[C]=y(m[C]);return Yn(m,Xn)&&(w[Xn]=m[Xn]),w}function g(m){return Ue(m)?y(m):m}bh(Bl,{applyPatches_:h,generatePatches_:i,generateReplacementPatches_:p,getPath:t})}var vr=new sm,Vf=vr.produce,oy=vr.produceWithPatches.bind(vr),sy=vr.applyPatches.bind(vr);function cm(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!="function")throw new TypeError(t)}function fm(e,t="expected all items to be functions, instead received the following types: "){if(!e.every(n=>typeof n=="function")){const n=e.map(r=>typeof r=="function"?`function ${r.name||"unnamed"}()`:typeof r).join(", ");throw new TypeError(`${t}[${n}]`)}}var ca=e=>Array.isArray(e)?e:[e];function dm(e){const t=Array.isArray(e[0])?e[0]:e;return fm(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function pm(e,t){const n=[],{length:r}=e;for(let l=0;l<r;l++)n.push(e[l].apply(null,t));return n}var hm=class{constructor(e){this.value=e}deref(){return this.value}},mm=()=>typeof WeakRef>"u"?hm:WeakRef,Wf=mm(),ym=0,fa=1;function Jr(){return{s:ym,v:void 0,o:null,p:null}}function vm(e){return e instanceof Wf?e.deref():e}function Bf(e,t={}){let n=Jr();const{resultEqualityCheck:r}=t;let l,u=0;function i(){let o=n;const{length:s}=arguments;for(let h=0,y=s;h<y;h++){const g=arguments[h];if(typeof g=="function"||typeof g=="object"&&g!==null){let m=o.o;m===null&&(o.o=m=new WeakMap);const w=m.get(g);w===void 0?(o=Jr(),m.set(g,o)):o=w}else{let m=o.p;m===null&&(o.p=m=new Map);const w=m.get(g);w===void 0?(o=Jr(),m.set(g,o)):o=w}}const c=o;let p;if(o.s===fa)p=o.v;else if(p=e.apply(null,arguments),u++,r){const h=vm(l);h!=null&&r(h,p)&&(p=h,u!==0&&u--),l=typeof p=="object"&&p!==null||typeof p=="function"?new Wf(p):p}return c.s=fa,c.v=p,p}return i.clearCache=()=>{n=Jr(),i.resetResultsCount()},i.resultsCount=()=>u,i.resetResultsCount=()=>{u=0},i}function gm(e,...t){const n=typeof e=="function"?{memoize:e,memoizeOptions:t}:e,r=(...l)=>{let u=0,i=0,o,s={},c=l.pop();typeof c=="object"&&(s=c,c=l.pop()),cm(c,`createSelector expects an output function after the inputs, but received: [${typeof c}]`);const p={...n,...s},{memoize:h,memoizeOptions:y=[],argsMemoize:g=Bf,argsMemoizeOptions:m=[]}=p,w=ca(y),C=ca(m),f=dm(l),a=h(function(){return u++,c.apply(null,arguments)},...w),d=g(function(){i++;const S=pm(f,arguments);return o=a.apply(null,S),o},...C);return Object.assign(d,{resultFunc:c,memoizedResultFunc:a,dependencies:f,dependencyRecomputations:()=>i,resetDependencyRecomputations:()=>{i=0},lastResult:()=>o,recomputations:()=>u,resetRecomputations:()=>{u=0},memoize:h,argsMemoize:g})};return Object.assign(r,{withTypes:()=>r}),r}var ay=gm(Bf);function Hf(e){return({dispatch:n,getState:r})=>l=>u=>typeof u=="function"?u(n,r,e):l(u)}var wm=Hf(),Sm=Hf,_m=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Ul:Ul.apply(null,arguments)},km=e=>e&&typeof e.match=="function";function Gn(e,t){function n(...r){if(t){let l=t(...r);if(!l)throw new Error(qe(0));return{type:e,payload:l.payload,..."meta"in l&&{meta:l.meta},..."error"in l&&{error:l.error}}}return{type:e,payload:r[0]}}return n.toString=()=>`${e}`,n.type=e,n.match=r=>Xh(r)&&r.type===e,n}var Qf=class jn extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,jn.prototype)}static get[Symbol.species](){return jn}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new jn(...t[0].concat(this)):new jn(...t.concat(this))}};function da(e){return Oe(e)?Vf(e,()=>{}):e}function qr(e,t,n){return e.has(t)?e.get(t):e.set(t,n(t)).get(t)}function Em(e){return typeof e=="boolean"}var Cm=()=>function(t){const{thunk:n=!0,immutableCheck:r=!0,serializableCheck:l=!0,actionCreatorCheck:u=!0}=t??{};let i=new Qf;return n&&(Em(n)?i.push(wm):i.push(Sm(n.extraArgument))),i},Kf="RTK_autoBatch",cy=()=>e=>({payload:e,meta:{[Kf]:!0}}),pa=e=>t=>{setTimeout(t,e)},Pm=(e,t)=>n=>{let r=!1;const l=()=>{r||(r=!0,cancelAnimationFrame(u),clearTimeout(i),n())},u=e(l),i=setTimeout(l,t)},xm=(e={type:"raf"})=>t=>(...n)=>{const r=t(...n);let l=!0,u=!1,i=!1;const o=new Set,s=e.type==="tick"?queueMicrotask:e.type==="raf"?typeof window<"u"&&window.requestAnimationFrame?Pm(window.requestAnimationFrame,100):pa(10):e.type==="callback"?e.queueNotification:pa(e.timeout),c=()=>{i=!1,u&&(u=!1,o.forEach(p=>p()))};return Object.assign({},r,{subscribe(p){const h=()=>l&&p(),y=r.subscribe(h);return o.add(p),()=>{y(),o.delete(p)}},dispatch(p){var h;try{return l=!((h=p==null?void 0:p.meta)!=null&&h[Kf]),u=!l,u&&(i||(i=!0,s(c))),r.dispatch(p)}finally{l=!0}}})},Nm=e=>function(n){const{autoBatch:r=!0}=n??{};let l=new Qf(e);return r&&l.push(xm(typeof r=="object"?r:void 0)),l};function fy(e){const t=Cm(),{reducer:n=void 0,middleware:r,devTools:l=!0,preloadedState:u=void 0,enhancers:i=void 0}=e||{};let o;if(typeof n=="function")o=n;else if(Vo(n))o=Qh(n);else throw new Error(qe(1));let s;typeof r=="function"?s=r(t):s=t();let c=Ul;l&&(c=_m({trace:!1,...typeof l=="object"&&l}));const p=Kh(...s),h=Nm(p);let y=typeof i=="function"?i(h):h();const g=c(...y);return Lf(o,u,g)}function Xf(e){const t={},n=[];let r;const l={addCase(u,i){const o=typeof u=="string"?u:u.type;if(!o)throw new Error(qe(28));if(o in t)throw new Error(qe(29));return t[o]=i,l},addAsyncThunk(u,i){return i.pending&&(t[u.pending.type]=i.pending),i.rejected&&(t[u.rejected.type]=i.rejected),i.fulfilled&&(t[u.fulfilled.type]=i.fulfilled),i.settled&&n.push({matcher:u.settled,reducer:i.settled}),l},addMatcher(u,i){return n.push({matcher:u,reducer:i}),l},addDefaultCase(u){return r=u,l}};return e(l),[t,n,r]}function zm(e){return typeof e=="function"}function Rm(e,t){let[n,r,l]=Xf(t),u;if(zm(e))u=()=>da(e());else{const o=da(e);u=()=>o}function i(o=u(),s){let c=[n[s.type],...r.filter(({matcher:p})=>p(s)).map(({reducer:p})=>p)];return c.filter(p=>!!p).length===0&&(c=[l]),c.reduce((p,h)=>{if(h)if(Ue(p)){const g=h(p,s);return g===void 0?p:g}else{if(Oe(p))return Vf(p,y=>h(y,s));{const y=h(p,s);if(y===void 0){if(p===null)return p;throw Error("A case reducer on a non-draftable value must not return undefined")}return y}}return p},o)}return i.getInitialState=u,i}var Yf=(e,t)=>km(e)?e.match(t):e(t);function Rr(...e){return t=>e.some(n=>Yf(n,t))}function ha(...e){return t=>e.every(n=>Yf(n,t))}function cu(e,t){if(!e||!e.meta)return!1;const n=typeof e.meta.requestId=="string",r=t.indexOf(e.meta.requestStatus)>-1;return n&&r}function Tr(e){return typeof e[0]=="function"&&"pending"in e[0]&&"fulfilled"in e[0]&&"rejected"in e[0]}function Tm(...e){return e.length===0?t=>cu(t,["pending"]):Tr(e)?Rr(...e.map(t=>t.pending)):Tm()(e[0])}function Hi(...e){return e.length===0?t=>cu(t,["rejected"]):Tr(e)?Rr(...e.map(t=>t.rejected)):Hi()(e[0])}function Om(...e){const t=n=>n&&n.meta&&n.meta.rejectedWithValue;return e.length===0?ha(Hi(...e),t):Tr(e)?ha(Hi(...e),t):Om()(e[0])}function Mm(...e){return e.length===0?t=>cu(t,["fulfilled"]):Tr(e)?Rr(...e.map(t=>t.fulfilled)):Mm()(e[0])}function Lm(...e){return e.length===0?t=>cu(t,["pending","fulfilled","rejected"]):Tr(e)?Rr(...e.flatMap(t=>[t.pending,t.rejected,t.fulfilled])):Lm()(e[0])}var Dm="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Im=(e=21)=>{let t="",n=e;for(;n--;)t+=Dm[Math.random()*64|0];return t},Fm=["name","message","stack","code"],Qu=class{constructor(e,t){zt(this,"payload");zt(this,"meta");zt(this,"_type");this.payload=e,this.meta=t}},ma=class{constructor(e,t){zt(this,"payload");zt(this,"meta");zt(this,"_type");this.payload=e,this.meta=t}},jm=e=>{if(typeof e=="object"&&e!==null){const t={};for(const n of Fm)typeof e[n]=="string"&&(t[n]=e[n]);return t}return{message:String(e)}},ya="External signal was aborted",dy=(()=>{function e(t,n,r){const l=Gn(t+"/fulfilled",(s,c,p,h)=>({payload:s,meta:{...h||{},arg:p,requestId:c,requestStatus:"fulfilled"}})),u=Gn(t+"/pending",(s,c,p)=>({payload:void 0,meta:{...p||{},arg:c,requestId:s,requestStatus:"pending"}})),i=Gn(t+"/rejected",(s,c,p,h,y)=>({payload:h,error:(r&&r.serializeError||jm)(s||"Rejected"),meta:{...y||{},arg:p,requestId:c,rejectedWithValue:!!h,requestStatus:"rejected",aborted:(s==null?void 0:s.name)==="AbortError",condition:(s==null?void 0:s.name)==="ConditionError"}}));function o(s,{signal:c}={}){return(p,h,y)=>{const g=r!=null&&r.idGenerator?r.idGenerator(s):Im(),m=new AbortController;let w,C;function f(d){C=d,m.abort()}c&&(c.aborted?f(ya):c.addEventListener("abort",()=>f(ya),{once:!0}));const a=async function(){var S,_;let d;try{let k=(S=r==null?void 0:r.condition)==null?void 0:S.call(r,s,{getState:h,extra:y});if(Um(k)&&(k=await k),k===!1||m.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const P=new Promise((N,R)=>{w=()=>{R({name:"AbortError",message:C||"Aborted"})},m.signal.addEventListener("abort",w,{once:!0})});p(u(g,s,(_=r==null?void 0:r.getPendingMeta)==null?void 0:_.call(r,{requestId:g,arg:s},{getState:h,extra:y}))),d=await Promise.race([P,Promise.resolve(n(s,{dispatch:p,getState:h,extra:y,requestId:g,signal:m.signal,abort:f,rejectWithValue:(N,R)=>new Qu(N,R),fulfillWithValue:(N,R)=>new ma(N,R)})).then(N=>{if(N instanceof Qu)throw N;return N instanceof ma?l(N.payload,g,s,N.meta):l(N,g,s)})])}catch(k){d=k instanceof Qu?i(null,g,s,k.payload,k.meta):i(k,g,s)}finally{w&&m.signal.removeEventListener("abort",w)}return r&&!r.dispatchConditionRejection&&i.match(d)&&d.meta.condition||p(d),d}();return Object.assign(a,{abort:f,requestId:g,arg:s,unwrap(){return a.then(Am)}})}}return Object.assign(o,{pending:u,rejected:i,fulfilled:l,settled:Rr(i,l),typePrefix:t})}return e.withTypes=()=>e,e})();function Am(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Um(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var $m=Symbol.for("rtk-slice-createasyncthunk");function Vm(e,t){return`${e}/${t}`}function Wm({creators:e}={}){var n;const t=(n=e==null?void 0:e.asyncThunk)==null?void 0:n[$m];return function(l){const{name:u,reducerPath:i=u}=l;if(!u)throw new Error(qe(11));const o=(typeof l.reducers=="function"?l.reducers(Hm()):l.reducers)||{},s=Object.keys(o),c={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},p={addCase(v,S){const _=typeof v=="string"?v:v.type;if(!_)throw new Error(qe(12));if(_ in c.sliceCaseReducersByType)throw new Error(qe(13));return c.sliceCaseReducersByType[_]=S,p},addMatcher(v,S){return c.sliceMatchers.push({matcher:v,reducer:S}),p},exposeAction(v,S){return c.actionCreators[v]=S,p},exposeCaseReducer(v,S){return c.sliceCaseReducersByName[v]=S,p}};s.forEach(v=>{const S=o[v],_={reducerName:v,type:Vm(u,v),createNotation:typeof l.reducers=="function"};Km(S)?Ym(_,S,p,t):Qm(_,S,p)});function h(){const[v={},S=[],_=void 0]=typeof l.extraReducers=="function"?Xf(l.extraReducers):[l.extraReducers],k={...v,...c.sliceCaseReducersByType};return Rm(l.initialState,P=>{for(let N in k)P.addCase(N,k[N]);for(let N of c.sliceMatchers)P.addMatcher(N.matcher,N.reducer);for(let N of S)P.addMatcher(N.matcher,N.reducer);_&&P.addDefaultCase(_)})}const y=v=>v,g=new Map,m=new WeakMap;let w;function C(v,S){return w||(w=h()),w(v,S)}function f(){return w||(w=h()),w.getInitialState()}function a(v,S=!1){function _(P){let N=P[v];return typeof N>"u"&&S&&(N=qr(m,_,f)),N}function k(P=y){const N=qr(g,S,()=>new WeakMap);return qr(N,P,()=>{const R={};for(const[le,Pt]of Object.entries(l.selectors??{}))R[le]=Bm(Pt,P,()=>qr(m,P,f),S);return R})}return{reducerPath:v,getSelectors:k,get selectors(){return k(_)},selectSlice:_}}const d={name:u,reducer:C,actions:c.actionCreators,caseReducers:c.sliceCaseReducersByName,getInitialState:f,...a(i),injectInto(v,{reducerPath:S,..._}={}){const k=S??i;return v.inject({reducerPath:k,reducer:C},_),{...d,...a(k,!0)}}};return d}}function Bm(e,t,n,r){function l(u,...i){let o=t(u);return typeof o>"u"&&r&&(o=n()),e(o,...i)}return l.unwrapped=e,l}var py=Wm();function Hm(){function e(t,n){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...n}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...n){return t(...n)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,n){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:n}},asyncThunk:e}}function Qm({type:e,reducerName:t,createNotation:n},r,l){let u,i;if("reducer"in r){if(n&&!Xm(r))throw new Error(qe(17));u=r.reducer,i=r.prepare}else u=r;l.addCase(e,u).exposeCaseReducer(t,u).exposeAction(t,i?Gn(e,i):Gn(e))}function Km(e){return e._reducerDefinitionType==="asyncThunk"}function Xm(e){return e._reducerDefinitionType==="reducerWithPrepare"}function Ym({type:e,reducerName:t},n,r,l){if(!l)throw new Error(qe(18));const{payloadCreator:u,fulfilled:i,pending:o,rejected:s,settled:c,options:p}=n,h=l(e,u,p);r.exposeAction(t,h),i&&r.addCase(h.fulfilled,i),o&&r.addCase(h.pending,o),s&&r.addCase(h.rejected,s),c&&r.addMatcher(h.settled,c),r.exposeCaseReducer(t,{fulfilled:i||br,pending:o||br,rejected:s||br,settled:c||br})}function br(){}function qe(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}export{Oe as A,oy as B,Ue as C,am as D,Xh as E,Vf as F,Lm as G,uy as H,ly as I,Ah as J,ry as K,ny as L,ey as M,fy as N,ty as P,md as R,Kf as S,qm as a,bm as b,Kh as c,Lf as d,Jm as e,Zm as f,bf as g,qe as h,iy as i,ay as j,Gn as k,dy as l,py as m,Im as n,Rr as o,cy as p,Om as q,te as r,Mm as s,sy as t,Qh as u,Vo as v,Bf as w,ha as x,Hi as y,Tm as z};
