odin-codespace/cv/assets/index-BM2FMEtQ.js
Smig 592ddc4c1f
Cv project (#17)
* feat: updated component

* feat: added components

* feat: fixed

* refactor(feat): added button, renamed variables

* feat: updated education info component

* feat: experience component added

* refactor: modular

* feat: new components, style, etc

* refactor: remove unneccessary divs

* feat(styling): yep

* feat(style): new font added for resume

* feat(styling): colors, btns, etc

* feat: basically done
2024-06-23 20:10:32 -04:00

40 lines
146 KiB
JavaScript

(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const o of l)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function t(l){const o={};return l.integrity&&(o.integrity=l.integrity),l.referrerPolicy&&(o.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?o.credentials="include":l.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(l){if(l.ep)return;l.ep=!0;const o=t(l);fetch(l.href,o)}})();function lc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Qu={exports:{}},tl={},Ku={exports:{}},T={};/**
* @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 Jt=Symbol.for("react.element"),oc=Symbol.for("react.portal"),ic=Symbol.for("react.fragment"),uc=Symbol.for("react.strict_mode"),sc=Symbol.for("react.profiler"),ac=Symbol.for("react.provider"),cc=Symbol.for("react.context"),fc=Symbol.for("react.forward_ref"),dc=Symbol.for("react.suspense"),pc=Symbol.for("react.memo"),mc=Symbol.for("react.lazy"),Fi=Symbol.iterator;function hc(e){return e===null||typeof e!="object"?null:(e=Fi&&e[Fi]||e["@@iterator"],typeof e=="function"?e:null)}var Yu={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Gu=Object.assign,Xu={};function ut(e,n,t){this.props=e,this.context=n,this.refs=Xu,this.updater=t||Yu}ut.prototype.isReactComponent={};ut.prototype.setState=function(e,n){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,n,"setState")};ut.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Ju(){}Ju.prototype=ut.prototype;function Vo(e,n,t){this.props=e,this.context=n,this.refs=Xu,this.updater=t||Yu}var Bo=Vo.prototype=new Ju;Bo.constructor=Vo;Gu(Bo,ut.prototype);Bo.isPureReactComponent=!0;var Mi=Array.isArray,Zu=Object.prototype.hasOwnProperty,Ho={current:null},qu={key:!0,ref:!0,__self:!0,__source:!0};function bu(e,n,t){var r,l={},o=null,i=null;if(n!=null)for(r in n.ref!==void 0&&(i=n.ref),n.key!==void 0&&(o=""+n.key),n)Zu.call(n,r)&&!qu.hasOwnProperty(r)&&(l[r]=n[r]);var u=arguments.length-2;if(u===1)l.children=t;else if(1<u){for(var s=Array(u),c=0;c<u;c++)s[c]=arguments[c+2];l.children=s}if(e&&e.defaultProps)for(r in u=e.defaultProps,u)l[r]===void 0&&(l[r]=u[r]);return{$$typeof:Jt,type:e,key:o,ref:i,props:l,_owner:Ho.current}}function vc(e,n){return{$$typeof:Jt,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}function Wo(e){return typeof e=="object"&&e!==null&&e.$$typeof===Jt}function yc(e){var n={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(t){return n[t]})}var Ui=/\/+/g;function kl(e,n){return typeof e=="object"&&e!==null&&e.key!=null?yc(""+e.key):n.toString(36)}function Sr(e,n,t,r,l){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(o){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case Jt:case oc:i=!0}}if(i)return i=e,l=l(i),e=r===""?"."+kl(i,0):r,Mi(l)?(t="",e!=null&&(t=e.replace(Ui,"$&/")+"/"),Sr(l,n,t,"",function(c){return c})):l!=null&&(Wo(l)&&(l=vc(l,t+(!l.key||i&&i.key===l.key?"":(""+l.key).replace(Ui,"$&/")+"/")+e)),n.push(l)),1;if(i=0,r=r===""?".":r+":",Mi(e))for(var u=0;u<e.length;u++){o=e[u];var s=r+kl(o,u);i+=Sr(o,n,t,s,l)}else if(s=hc(e),typeof s=="function")for(e=s.call(e),u=0;!(o=e.next()).done;)o=o.value,s=r+kl(o,u++),i+=Sr(o,n,t,s,l);else if(o==="object")throw n=String(e),Error("Objects are not valid as a React child (found: "+(n==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.");return i}function rr(e,n,t){if(e==null)return e;var r=[],l=0;return Sr(e,r,"","",function(o){return n.call(t,o,l++)}),r}function gc(e){if(e._status===-1){var n=e._result;n=n(),n.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=n)}if(e._status===1)return e._result.default;throw e._result}var se={current:null},kr={transition:null},wc={ReactCurrentDispatcher:se,ReactCurrentBatchConfig:kr,ReactCurrentOwner:Ho};function es(){throw Error("act(...) is not supported in production builds of React.")}T.Children={map:rr,forEach:function(e,n,t){rr(e,function(){n.apply(this,arguments)},t)},count:function(e){var n=0;return rr(e,function(){n++}),n},toArray:function(e){return rr(e,function(n){return n})||[]},only:function(e){if(!Wo(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};T.Component=ut;T.Fragment=ic;T.Profiler=sc;T.PureComponent=Vo;T.StrictMode=uc;T.Suspense=dc;T.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=wc;T.act=es;T.cloneElement=function(e,n,t){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=Gu({},e.props),l=e.key,o=e.ref,i=e._owner;if(n!=null){if(n.ref!==void 0&&(o=n.ref,i=Ho.current),n.key!==void 0&&(l=""+n.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(s in n)Zu.call(n,s)&&!qu.hasOwnProperty(s)&&(r[s]=n[s]===void 0&&u!==void 0?u[s]:n[s])}var s=arguments.length-2;if(s===1)r.children=t;else if(1<s){u=Array(s);for(var c=0;c<s;c++)u[c]=arguments[c+2];r.children=u}return{$$typeof:Jt,type:e.type,key:l,ref:o,props:r,_owner:i}};T.createContext=function(e){return e={$$typeof:cc,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:ac,_context:e},e.Consumer=e};T.createElement=bu;T.createFactory=function(e){var n=bu.bind(null,e);return n.type=e,n};T.createRef=function(){return{current:null}};T.forwardRef=function(e){return{$$typeof:fc,render:e}};T.isValidElement=Wo;T.lazy=function(e){return{$$typeof:mc,_payload:{_status:-1,_result:e},_init:gc}};T.memo=function(e,n){return{$$typeof:pc,type:e,compare:n===void 0?null:n}};T.startTransition=function(e){var n=kr.transition;kr.transition={};try{e()}finally{kr.transition=n}};T.unstable_act=es;T.useCallback=function(e,n){return se.current.useCallback(e,n)};T.useContext=function(e){return se.current.useContext(e)};T.useDebugValue=function(){};T.useDeferredValue=function(e){return se.current.useDeferredValue(e)};T.useEffect=function(e,n){return se.current.useEffect(e,n)};T.useId=function(){return se.current.useId()};T.useImperativeHandle=function(e,n,t){return se.current.useImperativeHandle(e,n,t)};T.useInsertionEffect=function(e,n){return se.current.useInsertionEffect(e,n)};T.useLayoutEffect=function(e,n){return se.current.useLayoutEffect(e,n)};T.useMemo=function(e,n){return se.current.useMemo(e,n)};T.useReducer=function(e,n,t){return se.current.useReducer(e,n,t)};T.useRef=function(e){return se.current.useRef(e)};T.useState=function(e){return se.current.useState(e)};T.useSyncExternalStore=function(e,n,t){return se.current.useSyncExternalStore(e,n,t)};T.useTransition=function(){return se.current.useTransition()};T.version="18.3.1";Ku.exports=T;var H=Ku.exports;const Sc=lc(H);/**
* @license React
* react-jsx-runtime.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 kc=H,Ec=Symbol.for("react.element"),xc=Symbol.for("react.fragment"),Cc=Object.prototype.hasOwnProperty,_c=kc.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Nc={key:!0,ref:!0,__self:!0,__source:!0};function ns(e,n,t){var r,l={},o=null,i=null;t!==void 0&&(o=""+t),n.key!==void 0&&(o=""+n.key),n.ref!==void 0&&(i=n.ref);for(r in n)Cc.call(n,r)&&!Nc.hasOwnProperty(r)&&(l[r]=n[r]);if(e&&e.defaultProps)for(r in n=e.defaultProps,n)l[r]===void 0&&(l[r]=n[r]);return{$$typeof:Ec,type:e,key:o,ref:i,props:l,_owner:_c.current}}tl.Fragment=xc;tl.jsx=ns;tl.jsxs=ns;Qu.exports=tl;var g=Qu.exports,Yl={},ts={exports:{}},we={},rs={exports:{}},ls={};/**
* @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 n(C,z){var L=C.length;C.push(z);e:for(;0<L;){var Q=L-1>>>1,J=C[Q];if(0<l(J,z))C[Q]=z,C[L]=J,L=Q;else break e}}function t(C){return C.length===0?null:C[0]}function r(C){if(C.length===0)return null;var z=C[0],L=C.pop();if(L!==z){C[0]=L;e:for(var Q=0,J=C.length,nr=J>>>1;Q<nr;){var gn=2*(Q+1)-1,Sl=C[gn],wn=gn+1,tr=C[wn];if(0>l(Sl,L))wn<J&&0>l(tr,Sl)?(C[Q]=tr,C[wn]=L,Q=wn):(C[Q]=Sl,C[gn]=L,Q=gn);else if(wn<J&&0>l(tr,L))C[Q]=tr,C[wn]=L,Q=wn;else break e}}return z}function l(C,z){var L=C.sortIndex-z.sortIndex;return L!==0?L:C.id-z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,u=i.now();e.unstable_now=function(){return i.now()-u}}var s=[],c=[],m=1,h=null,p=3,w=!1,S=!1,k=!1,j=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(C){for(var z=t(c);z!==null;){if(z.callback===null)r(c);else if(z.startTime<=C)r(c),z.sortIndex=z.expirationTime,n(s,z);else break;z=t(c)}}function v(C){if(k=!1,d(C),!S)if(t(s)!==null)S=!0,gl(x);else{var z=t(c);z!==null&&wl(v,z.startTime-C)}}function x(C,z){S=!1,k&&(k=!1,f(P),P=-1),w=!0;var L=p;try{for(d(z),h=t(s);h!==null&&(!(h.expirationTime>z)||C&&!Pe());){var Q=h.callback;if(typeof Q=="function"){h.callback=null,p=h.priorityLevel;var J=Q(h.expirationTime<=z);z=e.unstable_now(),typeof J=="function"?h.callback=J:h===t(s)&&r(s),d(z)}else r(s);h=t(s)}if(h!==null)var nr=!0;else{var gn=t(c);gn!==null&&wl(v,gn.startTime-z),nr=!1}return nr}finally{h=null,p=L,w=!1}}var _=!1,N=null,P=-1,W=5,I=-1;function Pe(){return!(e.unstable_now()-I<W)}function ct(){if(N!==null){var C=e.unstable_now();I=C;var z=!0;try{z=N(!0,C)}finally{z?ft():(_=!1,N=null)}}else _=!1}var ft;if(typeof a=="function")ft=function(){a(ct)};else if(typeof MessageChannel<"u"){var Oi=new MessageChannel,rc=Oi.port2;Oi.port1.onmessage=ct,ft=function(){rc.postMessage(null)}}else ft=function(){j(ct,0)};function gl(C){N=C,_||(_=!0,ft())}function wl(C,z){P=j(function(){C(e.unstable_now())},z)}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(C){C.callback=null},e.unstable_continueExecution=function(){S||w||(S=!0,gl(x))},e.unstable_forceFrameRate=function(C){0>C||125<C?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):W=0<C?Math.floor(1e3/C):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return t(s)},e.unstable_next=function(C){switch(p){case 1:case 2:case 3:var z=3;break;default:z=p}var L=p;p=z;try{return C()}finally{p=L}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(C,z){switch(C){case 1:case 2:case 3:case 4:case 5:break;default:C=3}var L=p;p=C;try{return z()}finally{p=L}},e.unstable_scheduleCallback=function(C,z,L){var Q=e.unstable_now();switch(typeof L=="object"&&L!==null?(L=L.delay,L=typeof L=="number"&&0<L?Q+L:Q):L=Q,C){case 1:var J=-1;break;case 2:J=250;break;case 5:J=1073741823;break;case 4:J=1e4;break;default:J=5e3}return J=L+J,C={id:m++,callback:z,priorityLevel:C,startTime:L,expirationTime:J,sortIndex:-1},L>Q?(C.sortIndex=L,n(c,C),t(s)===null&&C===t(c)&&(k?(f(P),P=-1):k=!0,wl(v,L-Q))):(C.sortIndex=J,n(s,C),S||w||(S=!0,gl(x))),C},e.unstable_shouldYield=Pe,e.unstable_wrapCallback=function(C){var z=p;return function(){var L=p;p=z;try{return C.apply(this,arguments)}finally{p=L}}}})(ls);rs.exports=ls;var Pc=rs.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 zc=H,ge=Pc;function y(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t<arguments.length;t++)n+="&args[]="+encodeURIComponent(arguments[t]);return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var os=new Set,Dt={};function In(e,n){bn(e,n),bn(e+"Capture",n)}function bn(e,n){for(Dt[e]=n,e=0;e<n.length;e++)os.add(n[e])}var Ke=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Gl=Object.prototype.hasOwnProperty,jc=/^[: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]*$/,$i={},Ai={};function Lc(e){return Gl.call(Ai,e)?!0:Gl.call($i,e)?!1:jc.test(e)?Ai[e]=!0:($i[e]=!0,!1)}function Tc(e,n,t,r){if(t!==null&&t.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return r?!1:t!==null?!t.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Ic(e,n,t,r){if(n===null||typeof n>"u"||Tc(e,n,t,r))return!0;if(r)return!1;if(t!==null)switch(t.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function ae(e,n,t,r,l,o,i){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=o,this.removeEmptyString=i}var ne={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ne[e]=new ae(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];ne[n]=new ae(n,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ne[e]=new ae(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ne[e]=new ae(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){ne[e]=new ae(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ne[e]=new ae(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ne[e]=new ae(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ne[e]=new ae(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ne[e]=new ae(e,5,!1,e.toLowerCase(),null,!1,!1)});var Qo=/[\-:]([a-z])/g;function Ko(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 n=e.replace(Qo,Ko);ne[n]=new ae(n,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(Qo,Ko);ne[n]=new ae(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(Qo,Ko);ne[n]=new ae(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ne[e]=new ae(e,1,!1,e.toLowerCase(),null,!1,!1)});ne.xlinkHref=new ae("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ne[e]=new ae(e,1,!1,e.toLowerCase(),null,!0,!0)});function Yo(e,n,t,r){var l=ne.hasOwnProperty(n)?ne[n]:null;(l!==null?l.type!==0:r||!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(Ic(n,t,l,r)&&(t=null),r||l===null?Lc(n)&&(t===null?e.removeAttribute(n):e.setAttribute(n,""+t)):l.mustUseProperty?e[l.propertyName]=t===null?l.type===3?!1:"":t:(n=l.attributeName,r=l.attributeNamespace,t===null?e.removeAttribute(n):(l=l.type,t=l===3||l===4&&t===!0?"":""+t,r?e.setAttributeNS(r,n,t):e.setAttribute(n,t))))}var Je=zc.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,lr=Symbol.for("react.element"),On=Symbol.for("react.portal"),Fn=Symbol.for("react.fragment"),Go=Symbol.for("react.strict_mode"),Xl=Symbol.for("react.profiler"),is=Symbol.for("react.provider"),us=Symbol.for("react.context"),Xo=Symbol.for("react.forward_ref"),Jl=Symbol.for("react.suspense"),Zl=Symbol.for("react.suspense_list"),Jo=Symbol.for("react.memo"),qe=Symbol.for("react.lazy"),ss=Symbol.for("react.offscreen"),Vi=Symbol.iterator;function dt(e){return e===null||typeof e!="object"?null:(e=Vi&&e[Vi]||e["@@iterator"],typeof e=="function"?e:null)}var V=Object.assign,El;function St(e){if(El===void 0)try{throw Error()}catch(t){var n=t.stack.trim().match(/\n( *(at )?)/);El=n&&n[1]||""}return`
`+El+e}var xl=!1;function Cl(e,n){if(!e||xl)return"";xl=!0;var t=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(n)if(n=function(){throw Error()},Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(n,[])}catch(c){var r=c}Reflect.construct(e,[],n)}else{try{n.call()}catch(c){r=c}e.call(n.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(`
`),o=r.stack.split(`
`),i=l.length-1,u=o.length-1;1<=i&&0<=u&&l[i]!==o[u];)u--;for(;1<=i&&0<=u;i--,u--)if(l[i]!==o[u]){if(i!==1||u!==1)do if(i--,u--,0>u||l[i]!==o[u]){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<=u);break}}}finally{xl=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?St(e):""}function Dc(e){switch(e.tag){case 5:return St(e.type);case 16:return St("Lazy");case 13:return St("Suspense");case 19:return St("SuspenseList");case 0:case 2:case 15:return e=Cl(e.type,!1),e;case 11:return e=Cl(e.type.render,!1),e;case 1:return e=Cl(e.type,!0),e;default:return""}}function ql(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 Fn:return"Fragment";case On:return"Portal";case Xl:return"Profiler";case Go:return"StrictMode";case Jl:return"Suspense";case Zl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case us:return(e.displayName||"Context")+".Consumer";case is:return(e._context.displayName||"Context")+".Provider";case Xo:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Jo:return n=e.displayName||null,n!==null?n:ql(e.type)||"Memo";case qe:n=e._payload,e=e._init;try{return ql(e(n))}catch{}}return null}function Rc(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=n.render,e=e.displayName||e.name||"",n.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ql(n);case 8:return n===Go?"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 n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n}return null}function pn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function as(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Oc(e){var n=as(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),r=""+e[n];if(!e.hasOwnProperty(n)&&typeof t<"u"&&typeof t.get=="function"&&typeof t.set=="function"){var l=t.get,o=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return l.call(this)},set:function(i){r=""+i,o.call(this,i)}}),Object.defineProperty(e,n,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function or(e){e._valueTracker||(e._valueTracker=Oc(e))}function cs(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),r="";return e&&(r=as(e)?e.checked?"true":"false":e.value),e=r,e!==t?(n.setValue(e),!0):!1}function Ir(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 bl(e,n){var t=n.checked;return V({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t??e._wrapperState.initialChecked})}function Bi(e,n){var t=n.defaultValue==null?"":n.defaultValue,r=n.checked!=null?n.checked:n.defaultChecked;t=pn(n.value!=null?n.value:t),e._wrapperState={initialChecked:r,initialValue:t,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function fs(e,n){n=n.checked,n!=null&&Yo(e,"checked",n,!1)}function eo(e,n){fs(e,n);var t=pn(n.value),r=n.type;if(t!=null)r==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+t):e.value!==""+t&&(e.value=""+t);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}n.hasOwnProperty("value")?no(e,n.type,t):n.hasOwnProperty("defaultValue")&&no(e,n.type,pn(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function Hi(e,n,t){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var r=n.type;if(!(r!=="submit"&&r!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+e._wrapperState.initialValue,t||n===e.value||(e.value=n),e.defaultValue=n}t=e.name,t!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,t!==""&&(e.name=t)}function no(e,n,t){(n!=="number"||Ir(e.ownerDocument)!==e)&&(t==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}var kt=Array.isArray;function Yn(e,n,t,r){if(e=e.options,n){n={};for(var l=0;l<t.length;l++)n["$"+t[l]]=!0;for(t=0;t<e.length;t++)l=n.hasOwnProperty("$"+e[t].value),e[t].selected!==l&&(e[t].selected=l),l&&r&&(e[t].defaultSelected=!0)}else{for(t=""+pn(t),n=null,l=0;l<e.length;l++){if(e[l].value===t){e[l].selected=!0,r&&(e[l].defaultSelected=!0);return}n!==null||e[l].disabled||(n=e[l])}n!==null&&(n.selected=!0)}}function to(e,n){if(n.dangerouslySetInnerHTML!=null)throw Error(y(91));return V({},n,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Wi(e,n){var t=n.value;if(t==null){if(t=n.children,n=n.defaultValue,t!=null){if(n!=null)throw Error(y(92));if(kt(t)){if(1<t.length)throw Error(y(93));t=t[0]}n=t}n==null&&(n=""),t=n}e._wrapperState={initialValue:pn(t)}}function ds(e,n){var t=pn(n.value),r=pn(n.defaultValue);t!=null&&(t=""+t,t!==e.value&&(e.value=t),n.defaultValue==null&&e.defaultValue!==t&&(e.defaultValue=t)),r!=null&&(e.defaultValue=""+r)}function Qi(e){var n=e.textContent;n===e._wrapperState.initialValue&&n!==""&&n!==null&&(e.value=n)}function ps(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 ro(e,n){return e==null||e==="http://www.w3.org/1999/xhtml"?ps(n):e==="http://www.w3.org/2000/svg"&&n==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var ir,ms=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(n,t,r,l){MSApp.execUnsafeLocalFunction(function(){return e(n,t,r,l)})}:e}(function(e,n){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=n;else{for(ir=ir||document.createElement("div"),ir.innerHTML="<svg>"+n.valueOf().toString()+"</svg>",n=ir.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function Rt(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&t.nodeType===3){t.nodeValue=n;return}}e.textContent=n}var Ct={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},Fc=["Webkit","ms","Moz","O"];Object.keys(Ct).forEach(function(e){Fc.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),Ct[n]=Ct[e]})});function hs(e,n,t){return n==null||typeof n=="boolean"||n===""?"":t||typeof n!="number"||n===0||Ct.hasOwnProperty(e)&&Ct[e]?(""+n).trim():n+"px"}function vs(e,n){e=e.style;for(var t in n)if(n.hasOwnProperty(t)){var r=t.indexOf("--")===0,l=hs(t,n[t],r);t==="float"&&(t="cssFloat"),r?e.setProperty(t,l):e[t]=l}}var Mc=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 lo(e,n){if(n){if(Mc[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(y(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(y(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(y(61))}if(n.style!=null&&typeof n.style!="object")throw Error(y(62))}}function oo(e,n){if(e.indexOf("-")===-1)return typeof n.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 io=null;function Zo(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var uo=null,Gn=null,Xn=null;function Ki(e){if(e=bt(e)){if(typeof uo!="function")throw Error(y(280));var n=e.stateNode;n&&(n=ul(n),uo(e.stateNode,e.type,n))}}function ys(e){Gn?Xn?Xn.push(e):Xn=[e]:Gn=e}function gs(){if(Gn){var e=Gn,n=Xn;if(Xn=Gn=null,Ki(e),n)for(e=0;e<n.length;e++)Ki(n[e])}}function ws(e,n){return e(n)}function Ss(){}var _l=!1;function ks(e,n,t){if(_l)return e(n,t);_l=!0;try{return ws(e,n,t)}finally{_l=!1,(Gn!==null||Xn!==null)&&(Ss(),gs())}}function Ot(e,n){var t=e.stateNode;if(t===null)return null;var r=ul(t);if(r===null)return null;t=r[n];e:switch(n){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(t&&typeof t!="function")throw Error(y(231,n,typeof t));return t}var so=!1;if(Ke)try{var pt={};Object.defineProperty(pt,"passive",{get:function(){so=!0}}),window.addEventListener("test",pt,pt),window.removeEventListener("test",pt,pt)}catch{so=!1}function Uc(e,n,t,r,l,o,i,u,s){var c=Array.prototype.slice.call(arguments,3);try{n.apply(t,c)}catch(m){this.onError(m)}}var _t=!1,Dr=null,Rr=!1,ao=null,$c={onError:function(e){_t=!0,Dr=e}};function Ac(e,n,t,r,l,o,i,u,s){_t=!1,Dr=null,Uc.apply($c,arguments)}function Vc(e,n,t,r,l,o,i,u,s){if(Ac.apply(this,arguments),_t){if(_t){var c=Dr;_t=!1,Dr=null}else throw Error(y(198));Rr||(Rr=!0,ao=c)}}function Dn(e){var n=e,t=e;if(e.alternate)for(;n.return;)n=n.return;else{e=n;do n=e,n.flags&4098&&(t=n.return),e=n.return;while(e)}return n.tag===3?t:null}function Es(e){if(e.tag===13){var n=e.memoizedState;if(n===null&&(e=e.alternate,e!==null&&(n=e.memoizedState)),n!==null)return n.dehydrated}return null}function Yi(e){if(Dn(e)!==e)throw Error(y(188))}function Bc(e){var n=e.alternate;if(!n){if(n=Dn(e),n===null)throw Error(y(188));return n!==e?null:e}for(var t=e,r=n;;){var l=t.return;if(l===null)break;var o=l.alternate;if(o===null){if(r=l.return,r!==null){t=r;continue}break}if(l.child===o.child){for(o=l.child;o;){if(o===t)return Yi(l),e;if(o===r)return Yi(l),n;o=o.sibling}throw Error(y(188))}if(t.return!==r.return)t=l,r=o;else{for(var i=!1,u=l.child;u;){if(u===t){i=!0,t=l,r=o;break}if(u===r){i=!0,r=l,t=o;break}u=u.sibling}if(!i){for(u=o.child;u;){if(u===t){i=!0,t=o,r=l;break}if(u===r){i=!0,r=o,t=l;break}u=u.sibling}if(!i)throw Error(y(189))}}if(t.alternate!==r)throw Error(y(190))}if(t.tag!==3)throw Error(y(188));return t.stateNode.current===t?e:n}function xs(e){return e=Bc(e),e!==null?Cs(e):null}function Cs(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var n=Cs(e);if(n!==null)return n;e=e.sibling}return null}var _s=ge.unstable_scheduleCallback,Gi=ge.unstable_cancelCallback,Hc=ge.unstable_shouldYield,Wc=ge.unstable_requestPaint,K=ge.unstable_now,Qc=ge.unstable_getCurrentPriorityLevel,qo=ge.unstable_ImmediatePriority,Ns=ge.unstable_UserBlockingPriority,Or=ge.unstable_NormalPriority,Kc=ge.unstable_LowPriority,Ps=ge.unstable_IdlePriority,rl=null,$e=null;function Yc(e){if($e&&typeof $e.onCommitFiberRoot=="function")try{$e.onCommitFiberRoot(rl,e,void 0,(e.current.flags&128)===128)}catch{}}var De=Math.clz32?Math.clz32:Jc,Gc=Math.log,Xc=Math.LN2;function Jc(e){return e>>>=0,e===0?32:31-(Gc(e)/Xc|0)|0}var ur=64,sr=4194304;function Et(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 Fr(e,n){var t=e.pendingLanes;if(t===0)return 0;var r=0,l=e.suspendedLanes,o=e.pingedLanes,i=t&268435455;if(i!==0){var u=i&~l;u!==0?r=Et(u):(o&=i,o!==0&&(r=Et(o)))}else i=t&~l,i!==0?r=Et(i):o!==0&&(r=Et(o));if(r===0)return 0;if(n!==0&&n!==r&&!(n&l)&&(l=r&-r,o=n&-n,l>=o||l===16&&(o&4194240)!==0))return n;if(r&4&&(r|=t&16),n=e.entangledLanes,n!==0)for(e=e.entanglements,n&=r;0<n;)t=31-De(n),l=1<<t,r|=e[t],n&=~l;return r}function Zc(e,n){switch(e){case 1:case 2:case 4:return n+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 n+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 qc(e,n){for(var t=e.suspendedLanes,r=e.pingedLanes,l=e.expirationTimes,o=e.pendingLanes;0<o;){var i=31-De(o),u=1<<i,s=l[i];s===-1?(!(u&t)||u&r)&&(l[i]=Zc(u,n)):s<=n&&(e.expiredLanes|=u),o&=~u}}function co(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function zs(){var e=ur;return ur<<=1,!(ur&4194240)&&(ur=64),e}function Nl(e){for(var n=[],t=0;31>t;t++)n.push(e);return n}function Zt(e,n,t){e.pendingLanes|=n,n!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,n=31-De(n),e[n]=t}function bc(e,n){var t=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<t;){var l=31-De(t),o=1<<l;n[l]=0,r[l]=-1,e[l]=-1,t&=~o}}function bo(e,n){var t=e.entangledLanes|=n;for(e=e.entanglements;t;){var r=31-De(t),l=1<<r;l&n|e[r]&n&&(e[r]|=n),t&=~l}}var R=0;function js(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Ls,ei,Ts,Is,Ds,fo=!1,ar=[],ln=null,on=null,un=null,Ft=new Map,Mt=new Map,en=[],ef="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 Xi(e,n){switch(e){case"focusin":case"focusout":ln=null;break;case"dragenter":case"dragleave":on=null;break;case"mouseover":case"mouseout":un=null;break;case"pointerover":case"pointerout":Ft.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":Mt.delete(n.pointerId)}}function mt(e,n,t,r,l,o){return e===null||e.nativeEvent!==o?(e={blockedOn:n,domEventName:t,eventSystemFlags:r,nativeEvent:o,targetContainers:[l]},n!==null&&(n=bt(n),n!==null&&ei(n)),e):(e.eventSystemFlags|=r,n=e.targetContainers,l!==null&&n.indexOf(l)===-1&&n.push(l),e)}function nf(e,n,t,r,l){switch(n){case"focusin":return ln=mt(ln,e,n,t,r,l),!0;case"dragenter":return on=mt(on,e,n,t,r,l),!0;case"mouseover":return un=mt(un,e,n,t,r,l),!0;case"pointerover":var o=l.pointerId;return Ft.set(o,mt(Ft.get(o)||null,e,n,t,r,l)),!0;case"gotpointercapture":return o=l.pointerId,Mt.set(o,mt(Mt.get(o)||null,e,n,t,r,l)),!0}return!1}function Rs(e){var n=En(e.target);if(n!==null){var t=Dn(n);if(t!==null){if(n=t.tag,n===13){if(n=Es(t),n!==null){e.blockedOn=n,Ds(e.priority,function(){Ts(t)});return}}else if(n===3&&t.stateNode.current.memoizedState.isDehydrated){e.blockedOn=t.tag===3?t.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Er(e){if(e.blockedOn!==null)return!1;for(var n=e.targetContainers;0<n.length;){var t=po(e.domEventName,e.eventSystemFlags,n[0],e.nativeEvent);if(t===null){t=e.nativeEvent;var r=new t.constructor(t.type,t);io=r,t.target.dispatchEvent(r),io=null}else return n=bt(t),n!==null&&ei(n),e.blockedOn=t,!1;n.shift()}return!0}function Ji(e,n,t){Er(e)&&t.delete(n)}function tf(){fo=!1,ln!==null&&Er(ln)&&(ln=null),on!==null&&Er(on)&&(on=null),un!==null&&Er(un)&&(un=null),Ft.forEach(Ji),Mt.forEach(Ji)}function ht(e,n){e.blockedOn===n&&(e.blockedOn=null,fo||(fo=!0,ge.unstable_scheduleCallback(ge.unstable_NormalPriority,tf)))}function Ut(e){function n(l){return ht(l,e)}if(0<ar.length){ht(ar[0],e);for(var t=1;t<ar.length;t++){var r=ar[t];r.blockedOn===e&&(r.blockedOn=null)}}for(ln!==null&&ht(ln,e),on!==null&&ht(on,e),un!==null&&ht(un,e),Ft.forEach(n),Mt.forEach(n),t=0;t<en.length;t++)r=en[t],r.blockedOn===e&&(r.blockedOn=null);for(;0<en.length&&(t=en[0],t.blockedOn===null);)Rs(t),t.blockedOn===null&&en.shift()}var Jn=Je.ReactCurrentBatchConfig,Mr=!0;function rf(e,n,t,r){var l=R,o=Jn.transition;Jn.transition=null;try{R=1,ni(e,n,t,r)}finally{R=l,Jn.transition=o}}function lf(e,n,t,r){var l=R,o=Jn.transition;Jn.transition=null;try{R=4,ni(e,n,t,r)}finally{R=l,Jn.transition=o}}function ni(e,n,t,r){if(Mr){var l=po(e,n,t,r);if(l===null)Fl(e,n,r,Ur,t),Xi(e,r);else if(nf(l,e,n,t,r))r.stopPropagation();else if(Xi(e,r),n&4&&-1<ef.indexOf(e)){for(;l!==null;){var o=bt(l);if(o!==null&&Ls(o),o=po(e,n,t,r),o===null&&Fl(e,n,r,Ur,t),o===l)break;l=o}l!==null&&r.stopPropagation()}else Fl(e,n,r,null,t)}}var Ur=null;function po(e,n,t,r){if(Ur=null,e=Zo(r),e=En(e),e!==null)if(n=Dn(e),n===null)e=null;else if(t=n.tag,t===13){if(e=Es(n),e!==null)return e;e=null}else if(t===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;e=null}else n!==e&&(e=null);return Ur=e,null}function Os(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(Qc()){case qo:return 1;case Ns:return 4;case Or:case Kc:return 16;case Ps:return 536870912;default:return 16}default:return 16}}var tn=null,ti=null,xr=null;function Fs(){if(xr)return xr;var e,n=ti,t=n.length,r,l="value"in tn?tn.value:tn.textContent,o=l.length;for(e=0;e<t&&n[e]===l[e];e++);var i=t-e;for(r=1;r<=i&&n[t-r]===l[o-r];r++);return xr=l.slice(e,1<r?1-r:void 0)}function Cr(e){var n=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&n===13&&(e=13)):e=n,e===10&&(e=13),32<=e||e===13?e:0}function cr(){return!0}function Zi(){return!1}function Se(e){function n(t,r,l,o,i){this._reactName=t,this._targetInst=l,this.type=r,this.nativeEvent=o,this.target=i,this.currentTarget=null;for(var u in e)e.hasOwnProperty(u)&&(t=e[u],this[u]=t?t(o):o[u]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?cr:Zi,this.isPropagationStopped=Zi,this}return V(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var t=this.nativeEvent;t&&(t.preventDefault?t.preventDefault():typeof t.returnValue!="unknown"&&(t.returnValue=!1),this.isDefaultPrevented=cr)},stopPropagation:function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():typeof t.cancelBubble!="unknown"&&(t.cancelBubble=!0),this.isPropagationStopped=cr)},persist:function(){},isPersistent:cr}),n}var st={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ri=Se(st),qt=V({},st,{view:0,detail:0}),of=Se(qt),Pl,zl,vt,ll=V({},qt,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:li,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!==vt&&(vt&&e.type==="mousemove"?(Pl=e.screenX-vt.screenX,zl=e.screenY-vt.screenY):zl=Pl=0,vt=e),Pl)},movementY:function(e){return"movementY"in e?e.movementY:zl}}),qi=Se(ll),uf=V({},ll,{dataTransfer:0}),sf=Se(uf),af=V({},qt,{relatedTarget:0}),jl=Se(af),cf=V({},st,{animationName:0,elapsedTime:0,pseudoElement:0}),ff=Se(cf),df=V({},st,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),pf=Se(df),mf=V({},st,{data:0}),bi=Se(mf),hf={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},vf={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"},yf={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function gf(e){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(e):(e=yf[e])?!!n[e]:!1}function li(){return gf}var wf=V({},qt,{key:function(e){if(e.key){var n=hf[e.key]||e.key;if(n!=="Unidentified")return n}return e.type==="keypress"?(e=Cr(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?vf[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:li,charCode:function(e){return e.type==="keypress"?Cr(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Cr(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Sf=Se(wf),kf=V({},ll,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),eu=Se(kf),Ef=V({},qt,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:li}),xf=Se(Ef),Cf=V({},st,{propertyName:0,elapsedTime:0,pseudoElement:0}),_f=Se(Cf),Nf=V({},ll,{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}),Pf=Se(Nf),zf=[9,13,27,32],oi=Ke&&"CompositionEvent"in window,Nt=null;Ke&&"documentMode"in document&&(Nt=document.documentMode);var jf=Ke&&"TextEvent"in window&&!Nt,Ms=Ke&&(!oi||Nt&&8<Nt&&11>=Nt),nu=" ",tu=!1;function Us(e,n){switch(e){case"keyup":return zf.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function $s(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Mn=!1;function Lf(e,n){switch(e){case"compositionend":return $s(n);case"keypress":return n.which!==32?null:(tu=!0,nu);case"textInput":return e=n.data,e===nu&&tu?null:e;default:return null}}function Tf(e,n){if(Mn)return e==="compositionend"||!oi&&Us(e,n)?(e=Fs(),xr=ti=tn=null,Mn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return Ms&&n.locale!=="ko"?null:n.data;default:return null}}var If={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 ru(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n==="input"?!!If[e.type]:n==="textarea"}function As(e,n,t,r){ys(r),n=$r(n,"onChange"),0<n.length&&(t=new ri("onChange","change",null,t,r),e.push({event:t,listeners:n}))}var Pt=null,$t=null;function Df(e){Zs(e,0)}function ol(e){var n=An(e);if(cs(n))return e}function Rf(e,n){if(e==="change")return n}var Vs=!1;if(Ke){var Ll;if(Ke){var Tl="oninput"in document;if(!Tl){var lu=document.createElement("div");lu.setAttribute("oninput","return;"),Tl=typeof lu.oninput=="function"}Ll=Tl}else Ll=!1;Vs=Ll&&(!document.documentMode||9<document.documentMode)}function ou(){Pt&&(Pt.detachEvent("onpropertychange",Bs),$t=Pt=null)}function Bs(e){if(e.propertyName==="value"&&ol($t)){var n=[];As(n,$t,e,Zo(e)),ks(Df,n)}}function Of(e,n,t){e==="focusin"?(ou(),Pt=n,$t=t,Pt.attachEvent("onpropertychange",Bs)):e==="focusout"&&ou()}function Ff(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return ol($t)}function Mf(e,n){if(e==="click")return ol(n)}function Uf(e,n){if(e==="input"||e==="change")return ol(n)}function $f(e,n){return e===n&&(e!==0||1/e===1/n)||e!==e&&n!==n}var Oe=typeof Object.is=="function"?Object.is:$f;function At(e,n){if(Oe(e,n))return!0;if(typeof e!="object"||e===null||typeof n!="object"||n===null)return!1;var t=Object.keys(e),r=Object.keys(n);if(t.length!==r.length)return!1;for(r=0;r<t.length;r++){var l=t[r];if(!Gl.call(n,l)||!Oe(e[l],n[l]))return!1}return!0}function iu(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function uu(e,n){var t=iu(e);e=0;for(var r;t;){if(t.nodeType===3){if(r=e+t.textContent.length,e<=n&&r>=n)return{node:t,offset:n-e};e=r}e:{for(;t;){if(t.nextSibling){t=t.nextSibling;break e}t=t.parentNode}t=void 0}t=iu(t)}}function Hs(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?Hs(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function Ws(){for(var e=window,n=Ir();n instanceof e.HTMLIFrameElement;){try{var t=typeof n.contentWindow.location.href=="string"}catch{t=!1}if(t)e=n.contentWindow;else break;n=Ir(e.document)}return n}function ii(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}function Af(e){var n=Ws(),t=e.focusedElem,r=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&Hs(t.ownerDocument.documentElement,t)){if(r!==null&&ii(t)){if(n=r.start,e=r.end,e===void 0&&(e=n),"selectionStart"in t)t.selectionStart=n,t.selectionEnd=Math.min(e,t.value.length);else if(e=(n=t.ownerDocument||document)&&n.defaultView||window,e.getSelection){e=e.getSelection();var l=t.textContent.length,o=Math.min(r.start,l);r=r.end===void 0?o:Math.min(r.end,l),!e.extend&&o>r&&(l=r,r=o,o=l),l=uu(t,o);var i=uu(t,r);l&&i&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(n=n.createRange(),n.setStart(l.node,l.offset),e.removeAllRanges(),o>r?(e.addRange(n),e.extend(i.node,i.offset)):(n.setEnd(i.node,i.offset),e.addRange(n)))}}for(n=[],e=t;e=e.parentNode;)e.nodeType===1&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof t.focus=="function"&&t.focus(),t=0;t<n.length;t++)e=n[t],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Vf=Ke&&"documentMode"in document&&11>=document.documentMode,Un=null,mo=null,zt=null,ho=!1;function su(e,n,t){var r=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;ho||Un==null||Un!==Ir(r)||(r=Un,"selectionStart"in r&&ii(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}),zt&&At(zt,r)||(zt=r,r=$r(mo,"onSelect"),0<r.length&&(n=new ri("onSelect","select",null,n,t),e.push({event:n,listeners:r}),n.target=Un)))}function fr(e,n){var t={};return t[e.toLowerCase()]=n.toLowerCase(),t["Webkit"+e]="webkit"+n,t["Moz"+e]="moz"+n,t}var $n={animationend:fr("Animation","AnimationEnd"),animationiteration:fr("Animation","AnimationIteration"),animationstart:fr("Animation","AnimationStart"),transitionend:fr("Transition","TransitionEnd")},Il={},Qs={};Ke&&(Qs=document.createElement("div").style,"AnimationEvent"in window||(delete $n.animationend.animation,delete $n.animationiteration.animation,delete $n.animationstart.animation),"TransitionEvent"in window||delete $n.transitionend.transition);function il(e){if(Il[e])return Il[e];if(!$n[e])return e;var n=$n[e],t;for(t in n)if(n.hasOwnProperty(t)&&t in Qs)return Il[e]=n[t];return e}var Ks=il("animationend"),Ys=il("animationiteration"),Gs=il("animationstart"),Xs=il("transitionend"),Js=new Map,au="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 hn(e,n){Js.set(e,n),In(n,[e])}for(var Dl=0;Dl<au.length;Dl++){var Rl=au[Dl],Bf=Rl.toLowerCase(),Hf=Rl[0].toUpperCase()+Rl.slice(1);hn(Bf,"on"+Hf)}hn(Ks,"onAnimationEnd");hn(Ys,"onAnimationIteration");hn(Gs,"onAnimationStart");hn("dblclick","onDoubleClick");hn("focusin","onFocus");hn("focusout","onBlur");hn(Xs,"onTransitionEnd");bn("onMouseEnter",["mouseout","mouseover"]);bn("onMouseLeave",["mouseout","mouseover"]);bn("onPointerEnter",["pointerout","pointerover"]);bn("onPointerLeave",["pointerout","pointerover"]);In("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));In("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));In("onBeforeInput",["compositionend","keypress","textInput","paste"]);In("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));In("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));In("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var xt="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(" "),Wf=new Set("cancel close invalid load scroll toggle".split(" ").concat(xt));function cu(e,n,t){var r=e.type||"unknown-event";e.currentTarget=t,Vc(r,n,void 0,e),e.currentTarget=null}function Zs(e,n){n=(n&4)!==0;for(var t=0;t<e.length;t++){var r=e[t],l=r.event;r=r.listeners;e:{var o=void 0;if(n)for(var i=r.length-1;0<=i;i--){var u=r[i],s=u.instance,c=u.currentTarget;if(u=u.listener,s!==o&&l.isPropagationStopped())break e;cu(l,u,c),o=s}else for(i=0;i<r.length;i++){if(u=r[i],s=u.instance,c=u.currentTarget,u=u.listener,s!==o&&l.isPropagationStopped())break e;cu(l,u,c),o=s}}}if(Rr)throw e=ao,Rr=!1,ao=null,e}function F(e,n){var t=n[So];t===void 0&&(t=n[So]=new Set);var r=e+"__bubble";t.has(r)||(qs(n,e,2,!1),t.add(r))}function Ol(e,n,t){var r=0;n&&(r|=4),qs(t,e,r,n)}var dr="_reactListening"+Math.random().toString(36).slice(2);function Vt(e){if(!e[dr]){e[dr]=!0,os.forEach(function(t){t!=="selectionchange"&&(Wf.has(t)||Ol(t,!1,e),Ol(t,!0,e))});var n=e.nodeType===9?e:e.ownerDocument;n===null||n[dr]||(n[dr]=!0,Ol("selectionchange",!1,n))}}function qs(e,n,t,r){switch(Os(n)){case 1:var l=rf;break;case 4:l=lf;break;default:l=ni}t=l.bind(null,n,t,e),l=void 0,!so||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(l=!0),r?l!==void 0?e.addEventListener(n,t,{capture:!0,passive:l}):e.addEventListener(n,t,!0):l!==void 0?e.addEventListener(n,t,{passive:l}):e.addEventListener(n,t,!1)}function Fl(e,n,t,r,l){var o=r;if(!(n&1)&&!(n&2)&&r!==null)e:for(;;){if(r===null)return;var i=r.tag;if(i===3||i===4){var u=r.stateNode.containerInfo;if(u===l||u.nodeType===8&&u.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(;u!==null;){if(i=En(u),i===null)return;if(s=i.tag,s===5||s===6){r=o=i;continue e}u=u.parentNode}}r=r.return}ks(function(){var c=o,m=Zo(t),h=[];e:{var p=Js.get(e);if(p!==void 0){var w=ri,S=e;switch(e){case"keypress":if(Cr(t)===0)break e;case"keydown":case"keyup":w=Sf;break;case"focusin":S="focus",w=jl;break;case"focusout":S="blur",w=jl;break;case"beforeblur":case"afterblur":w=jl;break;case"click":if(t.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":w=qi;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":w=sf;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":w=xf;break;case Ks:case Ys:case Gs:w=ff;break;case Xs:w=_f;break;case"scroll":w=of;break;case"wheel":w=Pf;break;case"copy":case"cut":case"paste":w=pf;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":w=eu}var k=(n&4)!==0,j=!k&&e==="scroll",f=k?p!==null?p+"Capture":null:p;k=[];for(var a=c,d;a!==null;){d=a;var v=d.stateNode;if(d.tag===5&&v!==null&&(d=v,f!==null&&(v=Ot(a,f),v!=null&&k.push(Bt(a,v,d)))),j)break;a=a.return}0<k.length&&(p=new w(p,S,null,t,m),h.push({event:p,listeners:k}))}}if(!(n&7)){e:{if(p=e==="mouseover"||e==="pointerover",w=e==="mouseout"||e==="pointerout",p&&t!==io&&(S=t.relatedTarget||t.fromElement)&&(En(S)||S[Ye]))break e;if((w||p)&&(p=m.window===m?m:(p=m.ownerDocument)?p.defaultView||p.parentWindow:window,w?(S=t.relatedTarget||t.toElement,w=c,S=S?En(S):null,S!==null&&(j=Dn(S),S!==j||S.tag!==5&&S.tag!==6)&&(S=null)):(w=null,S=c),w!==S)){if(k=qi,v="onMouseLeave",f="onMouseEnter",a="mouse",(e==="pointerout"||e==="pointerover")&&(k=eu,v="onPointerLeave",f="onPointerEnter",a="pointer"),j=w==null?p:An(w),d=S==null?p:An(S),p=new k(v,a+"leave",w,t,m),p.target=j,p.relatedTarget=d,v=null,En(m)===c&&(k=new k(f,a+"enter",S,t,m),k.target=d,k.relatedTarget=j,v=k),j=v,w&&S)n:{for(k=w,f=S,a=0,d=k;d;d=Rn(d))a++;for(d=0,v=f;v;v=Rn(v))d++;for(;0<a-d;)k=Rn(k),a--;for(;0<d-a;)f=Rn(f),d--;for(;a--;){if(k===f||f!==null&&k===f.alternate)break n;k=Rn(k),f=Rn(f)}k=null}else k=null;w!==null&&fu(h,p,w,k,!1),S!==null&&j!==null&&fu(h,j,S,k,!0)}}e:{if(p=c?An(c):window,w=p.nodeName&&p.nodeName.toLowerCase(),w==="select"||w==="input"&&p.type==="file")var x=Rf;else if(ru(p))if(Vs)x=Uf;else{x=Ff;var _=Of}else(w=p.nodeName)&&w.toLowerCase()==="input"&&(p.type==="checkbox"||p.type==="radio")&&(x=Mf);if(x&&(x=x(e,c))){As(h,x,t,m);break e}_&&_(e,p,c),e==="focusout"&&(_=p._wrapperState)&&_.controlled&&p.type==="number"&&no(p,"number",p.value)}switch(_=c?An(c):window,e){case"focusin":(ru(_)||_.contentEditable==="true")&&(Un=_,mo=c,zt=null);break;case"focusout":zt=mo=Un=null;break;case"mousedown":ho=!0;break;case"contextmenu":case"mouseup":case"dragend":ho=!1,su(h,t,m);break;case"selectionchange":if(Vf)break;case"keydown":case"keyup":su(h,t,m)}var N;if(oi)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 Mn?Us(e,t)&&(P="onCompositionEnd"):e==="keydown"&&t.keyCode===229&&(P="onCompositionStart");P&&(Ms&&t.locale!=="ko"&&(Mn||P!=="onCompositionStart"?P==="onCompositionEnd"&&Mn&&(N=Fs()):(tn=m,ti="value"in tn?tn.value:tn.textContent,Mn=!0)),_=$r(c,P),0<_.length&&(P=new bi(P,e,null,t,m),h.push({event:P,listeners:_}),N?P.data=N:(N=$s(t),N!==null&&(P.data=N)))),(N=jf?Lf(e,t):Tf(e,t))&&(c=$r(c,"onBeforeInput"),0<c.length&&(m=new bi("onBeforeInput","beforeinput",null,t,m),h.push({event:m,listeners:c}),m.data=N))}Zs(h,n)})}function Bt(e,n,t){return{instance:e,listener:n,currentTarget:t}}function $r(e,n){for(var t=n+"Capture",r=[];e!==null;){var l=e,o=l.stateNode;l.tag===5&&o!==null&&(l=o,o=Ot(e,t),o!=null&&r.unshift(Bt(e,o,l)),o=Ot(e,n),o!=null&&r.push(Bt(e,o,l))),e=e.return}return r}function Rn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function fu(e,n,t,r,l){for(var o=n._reactName,i=[];t!==null&&t!==r;){var u=t,s=u.alternate,c=u.stateNode;if(s!==null&&s===r)break;u.tag===5&&c!==null&&(u=c,l?(s=Ot(t,o),s!=null&&i.unshift(Bt(t,s,u))):l||(s=Ot(t,o),s!=null&&i.push(Bt(t,s,u)))),t=t.return}i.length!==0&&e.push({event:n,listeners:i})}var Qf=/\r\n?/g,Kf=/\u0000|\uFFFD/g;function du(e){return(typeof e=="string"?e:""+e).replace(Qf,`
`).replace(Kf,"")}function pr(e,n,t){if(n=du(n),du(e)!==n&&t)throw Error(y(425))}function Ar(){}var vo=null,yo=null;function go(e,n){return e==="textarea"||e==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var wo=typeof setTimeout=="function"?setTimeout:void 0,Yf=typeof clearTimeout=="function"?clearTimeout:void 0,pu=typeof Promise=="function"?Promise:void 0,Gf=typeof queueMicrotask=="function"?queueMicrotask:typeof pu<"u"?function(e){return pu.resolve(null).then(e).catch(Xf)}:wo;function Xf(e){setTimeout(function(){throw e})}function Ml(e,n){var t=n,r=0;do{var l=t.nextSibling;if(e.removeChild(t),l&&l.nodeType===8)if(t=l.data,t==="/$"){if(r===0){e.removeChild(l),Ut(n);return}r--}else t!=="$"&&t!=="$?"&&t!=="$!"||r++;t=l}while(t);Ut(n)}function sn(e){for(;e!=null;e=e.nextSibling){var n=e.nodeType;if(n===1||n===3)break;if(n===8){if(n=e.data,n==="$"||n==="$!"||n==="$?")break;if(n==="/$")return null}}return e}function mu(e){e=e.previousSibling;for(var n=0;e;){if(e.nodeType===8){var t=e.data;if(t==="$"||t==="$!"||t==="$?"){if(n===0)return e;n--}else t==="/$"&&n++}e=e.previousSibling}return null}var at=Math.random().toString(36).slice(2),Ue="__reactFiber$"+at,Ht="__reactProps$"+at,Ye="__reactContainer$"+at,So="__reactEvents$"+at,Jf="__reactListeners$"+at,Zf="__reactHandles$"+at;function En(e){var n=e[Ue];if(n)return n;for(var t=e.parentNode;t;){if(n=t[Ye]||t[Ue]){if(t=n.alternate,n.child!==null||t!==null&&t.child!==null)for(e=mu(e);e!==null;){if(t=e[Ue])return t;e=mu(e)}return n}e=t,t=e.parentNode}return null}function bt(e){return e=e[Ue]||e[Ye],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function An(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(y(33))}function ul(e){return e[Ht]||null}var ko=[],Vn=-1;function vn(e){return{current:e}}function M(e){0>Vn||(e.current=ko[Vn],ko[Vn]=null,Vn--)}function O(e,n){Vn++,ko[Vn]=e.current,e.current=n}var mn={},oe=vn(mn),de=vn(!1),Pn=mn;function et(e,n){var t=e.type.contextTypes;if(!t)return mn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===n)return r.__reactInternalMemoizedMaskedChildContext;var l={},o;for(o in t)l[o]=n[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=l),l}function pe(e){return e=e.childContextTypes,e!=null}function Vr(){M(de),M(oe)}function hu(e,n,t){if(oe.current!==mn)throw Error(y(168));O(oe,n),O(de,t)}function bs(e,n,t){var r=e.stateNode;if(n=n.childContextTypes,typeof r.getChildContext!="function")return t;r=r.getChildContext();for(var l in r)if(!(l in n))throw Error(y(108,Rc(e)||"Unknown",l));return V({},t,r)}function Br(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||mn,Pn=oe.current,O(oe,e),O(de,de.current),!0}function vu(e,n,t){var r=e.stateNode;if(!r)throw Error(y(169));t?(e=bs(e,n,Pn),r.__reactInternalMemoizedMergedChildContext=e,M(de),M(oe),O(oe,e)):M(de),O(de,t)}var Be=null,sl=!1,Ul=!1;function ea(e){Be===null?Be=[e]:Be.push(e)}function qf(e){sl=!0,ea(e)}function yn(){if(!Ul&&Be!==null){Ul=!0;var e=0,n=R;try{var t=Be;for(R=1;e<t.length;e++){var r=t[e];do r=r(!0);while(r!==null)}Be=null,sl=!1}catch(l){throw Be!==null&&(Be=Be.slice(e+1)),_s(qo,yn),l}finally{R=n,Ul=!1}}return null}var Bn=[],Hn=0,Hr=null,Wr=0,ke=[],Ee=0,zn=null,He=1,We="";function Sn(e,n){Bn[Hn++]=Wr,Bn[Hn++]=Hr,Hr=e,Wr=n}function na(e,n,t){ke[Ee++]=He,ke[Ee++]=We,ke[Ee++]=zn,zn=e;var r=He;e=We;var l=32-De(r)-1;r&=~(1<<l),t+=1;var o=32-De(n)+l;if(30<o){var i=l-l%5;o=(r&(1<<i)-1).toString(32),r>>=i,l-=i,He=1<<32-De(n)+l|t<<l|r,We=o+e}else He=1<<o|t<<l|r,We=e}function ui(e){e.return!==null&&(Sn(e,1),na(e,1,0))}function si(e){for(;e===Hr;)Hr=Bn[--Hn],Bn[Hn]=null,Wr=Bn[--Hn],Bn[Hn]=null;for(;e===zn;)zn=ke[--Ee],ke[Ee]=null,We=ke[--Ee],ke[Ee]=null,He=ke[--Ee],ke[Ee]=null}var ye=null,ve=null,U=!1,Te=null;function ta(e,n){var t=xe(5,null,null,0);t.elementType="DELETED",t.stateNode=n,t.return=e,n=e.deletions,n===null?(e.deletions=[t],e.flags|=16):n.push(t)}function yu(e,n){switch(e.tag){case 5:var t=e.type;return n=n.nodeType!==1||t.toLowerCase()!==n.nodeName.toLowerCase()?null:n,n!==null?(e.stateNode=n,ye=e,ve=sn(n.firstChild),!0):!1;case 6:return n=e.pendingProps===""||n.nodeType!==3?null:n,n!==null?(e.stateNode=n,ye=e,ve=null,!0):!1;case 13:return n=n.nodeType!==8?null:n,n!==null?(t=zn!==null?{id:He,overflow:We}:null,e.memoizedState={dehydrated:n,treeContext:t,retryLane:1073741824},t=xe(18,null,null,0),t.stateNode=n,t.return=e,e.child=t,ye=e,ve=null,!0):!1;default:return!1}}function Eo(e){return(e.mode&1)!==0&&(e.flags&128)===0}function xo(e){if(U){var n=ve;if(n){var t=n;if(!yu(e,n)){if(Eo(e))throw Error(y(418));n=sn(t.nextSibling);var r=ye;n&&yu(e,n)?ta(r,t):(e.flags=e.flags&-4097|2,U=!1,ye=e)}}else{if(Eo(e))throw Error(y(418));e.flags=e.flags&-4097|2,U=!1,ye=e}}}function gu(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;ye=e}function mr(e){if(e!==ye)return!1;if(!U)return gu(e),U=!0,!1;var n;if((n=e.tag!==3)&&!(n=e.tag!==5)&&(n=e.type,n=n!=="head"&&n!=="body"&&!go(e.type,e.memoizedProps)),n&&(n=ve)){if(Eo(e))throw ra(),Error(y(418));for(;n;)ta(e,n),n=sn(n.nextSibling)}if(gu(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(y(317));e:{for(e=e.nextSibling,n=0;e;){if(e.nodeType===8){var t=e.data;if(t==="/$"){if(n===0){ve=sn(e.nextSibling);break e}n--}else t!=="$"&&t!=="$!"&&t!=="$?"||n++}e=e.nextSibling}ve=null}}else ve=ye?sn(e.stateNode.nextSibling):null;return!0}function ra(){for(var e=ve;e;)e=sn(e.nextSibling)}function nt(){ve=ye=null,U=!1}function ai(e){Te===null?Te=[e]:Te.push(e)}var bf=Je.ReactCurrentBatchConfig;function yt(e,n,t){if(e=t.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(t._owner){if(t=t._owner,t){if(t.tag!==1)throw Error(y(309));var r=t.stateNode}if(!r)throw Error(y(147,e));var l=r,o=""+e;return n!==null&&n.ref!==null&&typeof n.ref=="function"&&n.ref._stringRef===o?n.ref:(n=function(i){var u=l.refs;i===null?delete u[o]:u[o]=i},n._stringRef=o,n)}if(typeof e!="string")throw Error(y(284));if(!t._owner)throw Error(y(290,e))}return e}function hr(e,n){throw e=Object.prototype.toString.call(n),Error(y(31,e==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":e))}function wu(e){var n=e._init;return n(e._payload)}function la(e){function n(f,a){if(e){var d=f.deletions;d===null?(f.deletions=[a],f.flags|=16):d.push(a)}}function t(f,a){if(!e)return null;for(;a!==null;)n(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=dn(f,a),f.index=0,f.sibling=null,f}function o(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 u(f,a,d,v){return a===null||a.tag!==6?(a=Ql(d,f.mode,v),a.return=f,a):(a=l(a,d),a.return=f,a)}function s(f,a,d,v){var x=d.type;return x===Fn?m(f,a,d.props.children,v,d.key):a!==null&&(a.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===qe&&wu(x)===a.type)?(v=l(a,d.props),v.ref=yt(f,a,d),v.return=f,v):(v=Tr(d.type,d.key,d.props,null,f.mode,v),v.ref=yt(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=Kl(d,f.mode,v),a.return=f,a):(a=l(a,d.children||[]),a.return=f,a)}function m(f,a,d,v,x){return a===null||a.tag!==7?(a=Nn(d,f.mode,v,x),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=Ql(""+a,f.mode,d),a.return=f,a;if(typeof a=="object"&&a!==null){switch(a.$$typeof){case lr:return d=Tr(a.type,a.key,a.props,null,f.mode,d),d.ref=yt(f,null,a),d.return=f,d;case On:return a=Kl(a,f.mode,d),a.return=f,a;case qe:var v=a._init;return h(f,v(a._payload),d)}if(kt(a)||dt(a))return a=Nn(a,f.mode,d,null),a.return=f,a;hr(f,a)}return null}function p(f,a,d,v){var x=a!==null?a.key:null;if(typeof d=="string"&&d!==""||typeof d=="number")return x!==null?null:u(f,a,""+d,v);if(typeof d=="object"&&d!==null){switch(d.$$typeof){case lr:return d.key===x?s(f,a,d,v):null;case On:return d.key===x?c(f,a,d,v):null;case qe:return x=d._init,p(f,a,x(d._payload),v)}if(kt(d)||dt(d))return x!==null?null:m(f,a,d,v,null);hr(f,d)}return null}function w(f,a,d,v,x){if(typeof v=="string"&&v!==""||typeof v=="number")return f=f.get(d)||null,u(a,f,""+v,x);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case lr:return f=f.get(v.key===null?d:v.key)||null,s(a,f,v,x);case On:return f=f.get(v.key===null?d:v.key)||null,c(a,f,v,x);case qe:var _=v._init;return w(f,a,d,_(v._payload),x)}if(kt(v)||dt(v))return f=f.get(d)||null,m(a,f,v,x,null);hr(a,v)}return null}function S(f,a,d,v){for(var x=null,_=null,N=a,P=a=0,W=null;N!==null&&P<d.length;P++){N.index>P?(W=N,N=null):W=N.sibling;var I=p(f,N,d[P],v);if(I===null){N===null&&(N=W);break}e&&N&&I.alternate===null&&n(f,N),a=o(I,a,P),_===null?x=I:_.sibling=I,_=I,N=W}if(P===d.length)return t(f,N),U&&Sn(f,P),x;if(N===null){for(;P<d.length;P++)N=h(f,d[P],v),N!==null&&(a=o(N,a,P),_===null?x=N:_.sibling=N,_=N);return U&&Sn(f,P),x}for(N=r(f,N);P<d.length;P++)W=w(N,f,P,d[P],v),W!==null&&(e&&W.alternate!==null&&N.delete(W.key===null?P:W.key),a=o(W,a,P),_===null?x=W:_.sibling=W,_=W);return e&&N.forEach(function(Pe){return n(f,Pe)}),U&&Sn(f,P),x}function k(f,a,d,v){var x=dt(d);if(typeof x!="function")throw Error(y(150));if(d=x.call(d),d==null)throw Error(y(151));for(var _=x=null,N=a,P=a=0,W=null,I=d.next();N!==null&&!I.done;P++,I=d.next()){N.index>P?(W=N,N=null):W=N.sibling;var Pe=p(f,N,I.value,v);if(Pe===null){N===null&&(N=W);break}e&&N&&Pe.alternate===null&&n(f,N),a=o(Pe,a,P),_===null?x=Pe:_.sibling=Pe,_=Pe,N=W}if(I.done)return t(f,N),U&&Sn(f,P),x;if(N===null){for(;!I.done;P++,I=d.next())I=h(f,I.value,v),I!==null&&(a=o(I,a,P),_===null?x=I:_.sibling=I,_=I);return U&&Sn(f,P),x}for(N=r(f,N);!I.done;P++,I=d.next())I=w(N,f,P,I.value,v),I!==null&&(e&&I.alternate!==null&&N.delete(I.key===null?P:I.key),a=o(I,a,P),_===null?x=I:_.sibling=I,_=I);return e&&N.forEach(function(ct){return n(f,ct)}),U&&Sn(f,P),x}function j(f,a,d,v){if(typeof d=="object"&&d!==null&&d.type===Fn&&d.key===null&&(d=d.props.children),typeof d=="object"&&d!==null){switch(d.$$typeof){case lr:e:{for(var x=d.key,_=a;_!==null;){if(_.key===x){if(x=d.type,x===Fn){if(_.tag===7){t(f,_.sibling),a=l(_,d.props.children),a.return=f,f=a;break e}}else if(_.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===qe&&wu(x)===_.type){t(f,_.sibling),a=l(_,d.props),a.ref=yt(f,_,d),a.return=f,f=a;break e}t(f,_);break}else n(f,_);_=_.sibling}d.type===Fn?(a=Nn(d.props.children,f.mode,v,d.key),a.return=f,f=a):(v=Tr(d.type,d.key,d.props,null,f.mode,v),v.ref=yt(f,a,d),v.return=f,f=v)}return i(f);case On:e:{for(_=d.key;a!==null;){if(a.key===_)if(a.tag===4&&a.stateNode.containerInfo===d.containerInfo&&a.stateNode.implementation===d.implementation){t(f,a.sibling),a=l(a,d.children||[]),a.return=f,f=a;break e}else{t(f,a);break}else n(f,a);a=a.sibling}a=Kl(d,f.mode,v),a.return=f,f=a}return i(f);case qe:return _=d._init,j(f,a,_(d._payload),v)}if(kt(d))return S(f,a,d,v);if(dt(d))return k(f,a,d,v);hr(f,d)}return typeof d=="string"&&d!==""||typeof d=="number"?(d=""+d,a!==null&&a.tag===6?(t(f,a.sibling),a=l(a,d),a.return=f,f=a):(t(f,a),a=Ql(d,f.mode,v),a.return=f,f=a),i(f)):t(f,a)}return j}var tt=la(!0),oa=la(!1),Qr=vn(null),Kr=null,Wn=null,ci=null;function fi(){ci=Wn=Kr=null}function di(e){var n=Qr.current;M(Qr),e._currentValue=n}function Co(e,n,t){for(;e!==null;){var r=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,r!==null&&(r.childLanes|=n)):r!==null&&(r.childLanes&n)!==n&&(r.childLanes|=n),e===t)break;e=e.return}}function Zn(e,n){Kr=e,ci=Wn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&n&&(fe=!0),e.firstContext=null)}function _e(e){var n=e._currentValue;if(ci!==e)if(e={context:e,memoizedValue:n,next:null},Wn===null){if(Kr===null)throw Error(y(308));Wn=e,Kr.dependencies={lanes:0,firstContext:e}}else Wn=Wn.next=e;return n}var xn=null;function pi(e){xn===null?xn=[e]:xn.push(e)}function ia(e,n,t,r){var l=n.interleaved;return l===null?(t.next=t,pi(n)):(t.next=l.next,l.next=t),n.interleaved=t,Ge(e,r)}function Ge(e,n){e.lanes|=n;var t=e.alternate;for(t!==null&&(t.lanes|=n),t=e,e=e.return;e!==null;)e.childLanes|=n,t=e.alternate,t!==null&&(t.childLanes|=n),t=e,e=e.return;return t.tag===3?t.stateNode:null}var be=!1;function mi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function ua(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Qe(e,n){return{eventTime:e,lane:n,tag:0,payload:null,callback:null,next:null}}function an(e,n,t){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,D&2){var l=r.pending;return l===null?n.next=n:(n.next=l.next,l.next=n),r.pending=n,Ge(e,t)}return l=r.interleaved,l===null?(n.next=n,pi(r)):(n.next=l.next,l.next=n),r.interleaved=n,Ge(e,t)}function _r(e,n,t){if(n=n.updateQueue,n!==null&&(n=n.shared,(t&4194240)!==0)){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,bo(e,t)}}function Su(e,n){var t=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,t===r)){var l=null,o=null;if(t=t.firstBaseUpdate,t!==null){do{var i={eventTime:t.eventTime,lane:t.lane,tag:t.tag,payload:t.payload,callback:t.callback,next:null};o===null?l=o=i:o=o.next=i,t=t.next}while(t!==null);o===null?l=o=n:o=o.next=n}else l=o=n;t={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=t;return}e=t.lastBaseUpdate,e===null?t.firstBaseUpdate=n:e.next=n,t.lastBaseUpdate=n}function Yr(e,n,t,r){var l=e.updateQueue;be=!1;var o=l.firstBaseUpdate,i=l.lastBaseUpdate,u=l.shared.pending;if(u!==null){l.shared.pending=null;var s=u,c=s.next;s.next=null,i===null?o=c:i.next=c,i=s;var m=e.alternate;m!==null&&(m=m.updateQueue,u=m.lastBaseUpdate,u!==i&&(u===null?m.firstBaseUpdate=c:u.next=c,m.lastBaseUpdate=s))}if(o!==null){var h=l.baseState;i=0,m=c=s=null,u=o;do{var p=u.lane,w=u.eventTime;if((r&p)===p){m!==null&&(m=m.next={eventTime:w,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var S=e,k=u;switch(p=n,w=t,k.tag){case 1:if(S=k.payload,typeof S=="function"){h=S.call(w,h,p);break e}h=S;break e;case 3:S.flags=S.flags&-65537|128;case 0:if(S=k.payload,p=typeof S=="function"?S.call(w,h,p):S,p==null)break e;h=V({},h,p);break e;case 2:be=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,p=l.effects,p===null?l.effects=[u]:p.push(u))}else w={eventTime:w,lane:p,tag:u.tag,payload:u.payload,callback:u.callback,next:null},m===null?(c=m=w,s=h):m=m.next=w,i|=p;if(u=u.next,u===null){if(u=l.shared.pending,u===null)break;p=u,u=p.next,p.next=null,l.lastBaseUpdate=p,l.shared.pending=null}}while(!0);if(m===null&&(s=h),l.baseState=s,l.firstBaseUpdate=c,l.lastBaseUpdate=m,n=l.shared.interleaved,n!==null){l=n;do i|=l.lane,l=l.next;while(l!==n)}else o===null&&(l.shared.lanes=0);Ln|=i,e.lanes=i,e.memoizedState=h}}function ku(e,n,t){if(e=n.effects,n.effects=null,e!==null)for(n=0;n<e.length;n++){var r=e[n],l=r.callback;if(l!==null){if(r.callback=null,r=t,typeof l!="function")throw Error(y(191,l));l.call(r)}}}var er={},Ae=vn(er),Wt=vn(er),Qt=vn(er);function Cn(e){if(e===er)throw Error(y(174));return e}function hi(e,n){switch(O(Qt,n),O(Wt,e),O(Ae,er),e=n.nodeType,e){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:ro(null,"");break;default:e=e===8?n.parentNode:n,n=e.namespaceURI||null,e=e.tagName,n=ro(n,e)}M(Ae),O(Ae,n)}function rt(){M(Ae),M(Wt),M(Qt)}function sa(e){Cn(Qt.current);var n=Cn(Ae.current),t=ro(n,e.type);n!==t&&(O(Wt,e),O(Ae,t))}function vi(e){Wt.current===e&&(M(Ae),M(Wt))}var $=vn(0);function Gr(e){for(var n=e;n!==null;){if(n.tag===13){var t=n.memoizedState;if(t!==null&&(t=t.dehydrated,t===null||t.data==="$?"||t.data==="$!"))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!==void 0){if(n.flags&128)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var $l=[];function yi(){for(var e=0;e<$l.length;e++)$l[e]._workInProgressVersionPrimary=null;$l.length=0}var Nr=Je.ReactCurrentDispatcher,Al=Je.ReactCurrentBatchConfig,jn=0,A=null,G=null,Z=null,Xr=!1,jt=!1,Kt=0,ed=0;function te(){throw Error(y(321))}function gi(e,n){if(n===null)return!1;for(var t=0;t<n.length&&t<e.length;t++)if(!Oe(e[t],n[t]))return!1;return!0}function wi(e,n,t,r,l,o){if(jn=o,A=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,Nr.current=e===null||e.memoizedState===null?ld:od,e=t(r,l),jt){o=0;do{if(jt=!1,Kt=0,25<=o)throw Error(y(301));o+=1,Z=G=null,n.updateQueue=null,Nr.current=id,e=t(r,l)}while(jt)}if(Nr.current=Jr,n=G!==null&&G.next!==null,jn=0,Z=G=A=null,Xr=!1,n)throw Error(y(300));return e}function Si(){var e=Kt!==0;return Kt=0,e}function Me(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Z===null?A.memoizedState=Z=e:Z=Z.next=e,Z}function Ne(){if(G===null){var e=A.alternate;e=e!==null?e.memoizedState:null}else e=G.next;var n=Z===null?A.memoizedState:Z.next;if(n!==null)Z=n,G=e;else{if(e===null)throw Error(y(310));G=e,e={memoizedState:G.memoizedState,baseState:G.baseState,baseQueue:G.baseQueue,queue:G.queue,next:null},Z===null?A.memoizedState=Z=e:Z=Z.next=e}return Z}function Yt(e,n){return typeof n=="function"?n(e):n}function Vl(e){var n=Ne(),t=n.queue;if(t===null)throw Error(y(311));t.lastRenderedReducer=e;var r=G,l=r.baseQueue,o=t.pending;if(o!==null){if(l!==null){var i=l.next;l.next=o.next,o.next=i}r.baseQueue=l=o,t.pending=null}if(l!==null){o=l.next,r=r.baseState;var u=i=null,s=null,c=o;do{var m=c.lane;if((jn&m)===m)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:m,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};s===null?(u=s=h,i=r):s=s.next=h,A.lanes|=m,Ln|=m}c=c.next}while(c!==null&&c!==o);s===null?i=r:s.next=u,Oe(r,n.memoizedState)||(fe=!0),n.memoizedState=r,n.baseState=i,n.baseQueue=s,t.lastRenderedState=r}if(e=t.interleaved,e!==null){l=e;do o=l.lane,A.lanes|=o,Ln|=o,l=l.next;while(l!==e)}else l===null&&(t.lanes=0);return[n.memoizedState,t.dispatch]}function Bl(e){var n=Ne(),t=n.queue;if(t===null)throw Error(y(311));t.lastRenderedReducer=e;var r=t.dispatch,l=t.pending,o=n.memoizedState;if(l!==null){t.pending=null;var i=l=l.next;do o=e(o,i.action),i=i.next;while(i!==l);Oe(o,n.memoizedState)||(fe=!0),n.memoizedState=o,n.baseQueue===null&&(n.baseState=o),t.lastRenderedState=o}return[o,r]}function aa(){}function ca(e,n){var t=A,r=Ne(),l=n(),o=!Oe(r.memoizedState,l);if(o&&(r.memoizedState=l,fe=!0),r=r.queue,ki(pa.bind(null,t,r,e),[e]),r.getSnapshot!==n||o||Z!==null&&Z.memoizedState.tag&1){if(t.flags|=2048,Gt(9,da.bind(null,t,r,l,n),void 0,null),q===null)throw Error(y(349));jn&30||fa(t,n,l)}return l}function fa(e,n,t){e.flags|=16384,e={getSnapshot:n,value:t},n=A.updateQueue,n===null?(n={lastEffect:null,stores:null},A.updateQueue=n,n.stores=[e]):(t=n.stores,t===null?n.stores=[e]:t.push(e))}function da(e,n,t,r){n.value=t,n.getSnapshot=r,ma(n)&&ha(e)}function pa(e,n,t){return t(function(){ma(n)&&ha(e)})}function ma(e){var n=e.getSnapshot;e=e.value;try{var t=n();return!Oe(e,t)}catch{return!0}}function ha(e){var n=Ge(e,1);n!==null&&Re(n,e,1,-1)}function Eu(e){var n=Me();return typeof e=="function"&&(e=e()),n.memoizedState=n.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Yt,lastRenderedState:e},n.queue=e,e=e.dispatch=rd.bind(null,A,e),[n.memoizedState,e]}function Gt(e,n,t,r){return e={tag:e,create:n,destroy:t,deps:r,next:null},n=A.updateQueue,n===null?(n={lastEffect:null,stores:null},A.updateQueue=n,n.lastEffect=e.next=e):(t=n.lastEffect,t===null?n.lastEffect=e.next=e:(r=t.next,t.next=e,e.next=r,n.lastEffect=e)),e}function va(){return Ne().memoizedState}function Pr(e,n,t,r){var l=Me();A.flags|=e,l.memoizedState=Gt(1|n,t,void 0,r===void 0?null:r)}function al(e,n,t,r){var l=Ne();r=r===void 0?null:r;var o=void 0;if(G!==null){var i=G.memoizedState;if(o=i.destroy,r!==null&&gi(r,i.deps)){l.memoizedState=Gt(n,t,o,r);return}}A.flags|=e,l.memoizedState=Gt(1|n,t,o,r)}function xu(e,n){return Pr(8390656,8,e,n)}function ki(e,n){return al(2048,8,e,n)}function ya(e,n){return al(4,2,e,n)}function ga(e,n){return al(4,4,e,n)}function wa(e,n){if(typeof n=="function")return e=e(),n(e),function(){n(null)};if(n!=null)return e=e(),n.current=e,function(){n.current=null}}function Sa(e,n,t){return t=t!=null?t.concat([e]):null,al(4,4,wa.bind(null,n,e),t)}function Ei(){}function ka(e,n){var t=Ne();n=n===void 0?null:n;var r=t.memoizedState;return r!==null&&n!==null&&gi(n,r[1])?r[0]:(t.memoizedState=[e,n],e)}function Ea(e,n){var t=Ne();n=n===void 0?null:n;var r=t.memoizedState;return r!==null&&n!==null&&gi(n,r[1])?r[0]:(e=e(),t.memoizedState=[e,n],e)}function xa(e,n,t){return jn&21?(Oe(t,n)||(t=zs(),A.lanes|=t,Ln|=t,e.baseState=!0),n):(e.baseState&&(e.baseState=!1,fe=!0),e.memoizedState=t)}function nd(e,n){var t=R;R=t!==0&&4>t?t:4,e(!0);var r=Al.transition;Al.transition={};try{e(!1),n()}finally{R=t,Al.transition=r}}function Ca(){return Ne().memoizedState}function td(e,n,t){var r=fn(e);if(t={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null},_a(e))Na(n,t);else if(t=ia(e,n,t,r),t!==null){var l=ue();Re(t,e,r,l),Pa(t,n,r)}}function rd(e,n,t){var r=fn(e),l={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(_a(e))Na(n,l);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=n.lastRenderedReducer,o!==null))try{var i=n.lastRenderedState,u=o(i,t);if(l.hasEagerState=!0,l.eagerState=u,Oe(u,i)){var s=n.interleaved;s===null?(l.next=l,pi(n)):(l.next=s.next,s.next=l),n.interleaved=l;return}}catch{}finally{}t=ia(e,n,l,r),t!==null&&(l=ue(),Re(t,e,r,l),Pa(t,n,r))}}function _a(e){var n=e.alternate;return e===A||n!==null&&n===A}function Na(e,n){jt=Xr=!0;var t=e.pending;t===null?n.next=n:(n.next=t.next,t.next=n),e.pending=n}function Pa(e,n,t){if(t&4194240){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,bo(e,t)}}var Jr={readContext:_e,useCallback:te,useContext:te,useEffect:te,useImperativeHandle:te,useInsertionEffect:te,useLayoutEffect:te,useMemo:te,useReducer:te,useRef:te,useState:te,useDebugValue:te,useDeferredValue:te,useTransition:te,useMutableSource:te,useSyncExternalStore:te,useId:te,unstable_isNewReconciler:!1},ld={readContext:_e,useCallback:function(e,n){return Me().memoizedState=[e,n===void 0?null:n],e},useContext:_e,useEffect:xu,useImperativeHandle:function(e,n,t){return t=t!=null?t.concat([e]):null,Pr(4194308,4,wa.bind(null,n,e),t)},useLayoutEffect:function(e,n){return Pr(4194308,4,e,n)},useInsertionEffect:function(e,n){return Pr(4,2,e,n)},useMemo:function(e,n){var t=Me();return n=n===void 0?null:n,e=e(),t.memoizedState=[e,n],e},useReducer:function(e,n,t){var r=Me();return n=t!==void 0?t(n):n,r.memoizedState=r.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},r.queue=e,e=e.dispatch=td.bind(null,A,e),[r.memoizedState,e]},useRef:function(e){var n=Me();return e={current:e},n.memoizedState=e},useState:Eu,useDebugValue:Ei,useDeferredValue:function(e){return Me().memoizedState=e},useTransition:function(){var e=Eu(!1),n=e[0];return e=nd.bind(null,e[1]),Me().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,t){var r=A,l=Me();if(U){if(t===void 0)throw Error(y(407));t=t()}else{if(t=n(),q===null)throw Error(y(349));jn&30||fa(r,n,t)}l.memoizedState=t;var o={value:t,getSnapshot:n};return l.queue=o,xu(pa.bind(null,r,o,e),[e]),r.flags|=2048,Gt(9,da.bind(null,r,o,t,n),void 0,null),t},useId:function(){var e=Me(),n=q.identifierPrefix;if(U){var t=We,r=He;t=(r&~(1<<32-De(r)-1)).toString(32)+t,n=":"+n+"R"+t,t=Kt++,0<t&&(n+="H"+t.toString(32)),n+=":"}else t=ed++,n=":"+n+"r"+t.toString(32)+":";return e.memoizedState=n},unstable_isNewReconciler:!1},od={readContext:_e,useCallback:ka,useContext:_e,useEffect:ki,useImperativeHandle:Sa,useInsertionEffect:ya,useLayoutEffect:ga,useMemo:Ea,useReducer:Vl,useRef:va,useState:function(){return Vl(Yt)},useDebugValue:Ei,useDeferredValue:function(e){var n=Ne();return xa(n,G.memoizedState,e)},useTransition:function(){var e=Vl(Yt)[0],n=Ne().memoizedState;return[e,n]},useMutableSource:aa,useSyncExternalStore:ca,useId:Ca,unstable_isNewReconciler:!1},id={readContext:_e,useCallback:ka,useContext:_e,useEffect:ki,useImperativeHandle:Sa,useInsertionEffect:ya,useLayoutEffect:ga,useMemo:Ea,useReducer:Bl,useRef:va,useState:function(){return Bl(Yt)},useDebugValue:Ei,useDeferredValue:function(e){var n=Ne();return G===null?n.memoizedState=e:xa(n,G.memoizedState,e)},useTransition:function(){var e=Bl(Yt)[0],n=Ne().memoizedState;return[e,n]},useMutableSource:aa,useSyncExternalStore:ca,useId:Ca,unstable_isNewReconciler:!1};function je(e,n){if(e&&e.defaultProps){n=V({},n),e=e.defaultProps;for(var t in e)n[t]===void 0&&(n[t]=e[t]);return n}return n}function _o(e,n,t,r){n=e.memoizedState,t=t(r,n),t=t==null?n:V({},n,t),e.memoizedState=t,e.lanes===0&&(e.updateQueue.baseState=t)}var cl={isMounted:function(e){return(e=e._reactInternals)?Dn(e)===e:!1},enqueueSetState:function(e,n,t){e=e._reactInternals;var r=ue(),l=fn(e),o=Qe(r,l);o.payload=n,t!=null&&(o.callback=t),n=an(e,o,l),n!==null&&(Re(n,e,l,r),_r(n,e,l))},enqueueReplaceState:function(e,n,t){e=e._reactInternals;var r=ue(),l=fn(e),o=Qe(r,l);o.tag=1,o.payload=n,t!=null&&(o.callback=t),n=an(e,o,l),n!==null&&(Re(n,e,l,r),_r(n,e,l))},enqueueForceUpdate:function(e,n){e=e._reactInternals;var t=ue(),r=fn(e),l=Qe(t,r);l.tag=2,n!=null&&(l.callback=n),n=an(e,l,r),n!==null&&(Re(n,e,r,t),_r(n,e,r))}};function Cu(e,n,t,r,l,o,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,i):n.prototype&&n.prototype.isPureReactComponent?!At(t,r)||!At(l,o):!0}function za(e,n,t){var r=!1,l=mn,o=n.contextType;return typeof o=="object"&&o!==null?o=_e(o):(l=pe(n)?Pn:oe.current,r=n.contextTypes,o=(r=r!=null)?et(e,l):mn),n=new n(t,o),e.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=cl,e.stateNode=n,n._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=o),n}function _u(e,n,t,r){e=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(t,r),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(t,r),n.state!==e&&cl.enqueueReplaceState(n,n.state,null)}function No(e,n,t,r){var l=e.stateNode;l.props=t,l.state=e.memoizedState,l.refs={},mi(e);var o=n.contextType;typeof o=="object"&&o!==null?l.context=_e(o):(o=pe(n)?Pn:oe.current,l.context=et(e,o)),l.state=e.memoizedState,o=n.getDerivedStateFromProps,typeof o=="function"&&(_o(e,n,o,t),l.state=e.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof l.getSnapshotBeforeUpdate=="function"||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(n=l.state,typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount(),n!==l.state&&cl.enqueueReplaceState(l,l.state,null),Yr(e,t,l,r),l.state=e.memoizedState),typeof l.componentDidMount=="function"&&(e.flags|=4194308)}function lt(e,n){try{var t="",r=n;do t+=Dc(r),r=r.return;while(r);var l=t}catch(o){l=`
Error generating stack: `+o.message+`
`+o.stack}return{value:e,source:n,stack:l,digest:null}}function Hl(e,n,t){return{value:e,source:null,stack:t??null,digest:n??null}}function Po(e,n){try{console.error(n.value)}catch(t){setTimeout(function(){throw t})}}var ud=typeof WeakMap=="function"?WeakMap:Map;function ja(e,n,t){t=Qe(-1,t),t.tag=3,t.payload={element:null};var r=n.value;return t.callback=function(){qr||(qr=!0,Mo=r),Po(e,n)},t}function La(e,n,t){t=Qe(-1,t),t.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var l=n.value;t.payload=function(){return r(l)},t.callback=function(){Po(e,n)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(t.callback=function(){Po(e,n),typeof r!="function"&&(cn===null?cn=new Set([this]):cn.add(this));var i=n.stack;this.componentDidCatch(n.value,{componentStack:i!==null?i:""})}),t}function Nu(e,n,t){var r=e.pingCache;if(r===null){r=e.pingCache=new ud;var l=new Set;r.set(n,l)}else l=r.get(n),l===void 0&&(l=new Set,r.set(n,l));l.has(t)||(l.add(t),e=kd.bind(null,e,n,t),n.then(e,e))}function Pu(e){do{var n;if((n=e.tag===13)&&(n=e.memoizedState,n=n!==null?n.dehydrated!==null:!0),n)return e;e=e.return}while(e!==null);return null}function zu(e,n,t,r,l){return e.mode&1?(e.flags|=65536,e.lanes=l,e):(e===n?e.flags|=65536:(e.flags|=128,t.flags|=131072,t.flags&=-52805,t.tag===1&&(t.alternate===null?t.tag=17:(n=Qe(-1,1),n.tag=2,an(t,n,1))),t.lanes|=1),e)}var sd=Je.ReactCurrentOwner,fe=!1;function ie(e,n,t,r){n.child=e===null?oa(n,null,t,r):tt(n,e.child,t,r)}function ju(e,n,t,r,l){t=t.render;var o=n.ref;return Zn(n,l),r=wi(e,n,t,r,o,l),t=Si(),e!==null&&!fe?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~l,Xe(e,n,l)):(U&&t&&ui(n),n.flags|=1,ie(e,n,r,l),n.child)}function Lu(e,n,t,r,l){if(e===null){var o=t.type;return typeof o=="function"&&!Li(o)&&o.defaultProps===void 0&&t.compare===null&&t.defaultProps===void 0?(n.tag=15,n.type=o,Ta(e,n,o,r,l)):(e=Tr(t.type,null,r,n,n.mode,l),e.ref=n.ref,e.return=n,n.child=e)}if(o=e.child,!(e.lanes&l)){var i=o.memoizedProps;if(t=t.compare,t=t!==null?t:At,t(i,r)&&e.ref===n.ref)return Xe(e,n,l)}return n.flags|=1,e=dn(o,r),e.ref=n.ref,e.return=n,n.child=e}function Ta(e,n,t,r,l){if(e!==null){var o=e.memoizedProps;if(At(o,r)&&e.ref===n.ref)if(fe=!1,n.pendingProps=r=o,(e.lanes&l)!==0)e.flags&131072&&(fe=!0);else return n.lanes=e.lanes,Xe(e,n,l)}return zo(e,n,t,r,l)}function Ia(e,n,t){var r=n.pendingProps,l=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(n.mode&1))n.memoizedState={baseLanes:0,cachePool:null,transitions:null},O(Kn,he),he|=t;else{if(!(t&1073741824))return e=o!==null?o.baseLanes|t:t,n.lanes=n.childLanes=1073741824,n.memoizedState={baseLanes:e,cachePool:null,transitions:null},n.updateQueue=null,O(Kn,he),he|=e,null;n.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:t,O(Kn,he),he|=r}else o!==null?(r=o.baseLanes|t,n.memoizedState=null):r=t,O(Kn,he),he|=r;return ie(e,n,l,t),n.child}function Da(e,n){var t=n.ref;(e===null&&t!==null||e!==null&&e.ref!==t)&&(n.flags|=512,n.flags|=2097152)}function zo(e,n,t,r,l){var o=pe(t)?Pn:oe.current;return o=et(n,o),Zn(n,l),t=wi(e,n,t,r,o,l),r=Si(),e!==null&&!fe?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~l,Xe(e,n,l)):(U&&r&&ui(n),n.flags|=1,ie(e,n,t,l),n.child)}function Tu(e,n,t,r,l){if(pe(t)){var o=!0;Br(n)}else o=!1;if(Zn(n,l),n.stateNode===null)zr(e,n),za(n,t,r),No(n,t,r,l),r=!0;else if(e===null){var i=n.stateNode,u=n.memoizedProps;i.props=u;var s=i.context,c=t.contextType;typeof c=="object"&&c!==null?c=_e(c):(c=pe(t)?Pn:oe.current,c=et(n,c));var m=t.getDerivedStateFromProps,h=typeof m=="function"||typeof i.getSnapshotBeforeUpdate=="function";h||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(u!==r||s!==c)&&_u(n,i,r,c),be=!1;var p=n.memoizedState;i.state=p,Yr(n,r,i,l),s=n.memoizedState,u!==r||p!==s||de.current||be?(typeof m=="function"&&(_o(n,t,m,r),s=n.memoizedState),(u=be||Cu(n,t,u,r,p,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"&&(n.flags|=4194308)):(typeof i.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=r,n.memoizedState=s),i.props=r,i.state=s,i.context=c,r=u):(typeof i.componentDidMount=="function"&&(n.flags|=4194308),r=!1)}else{i=n.stateNode,ua(e,n),u=n.memoizedProps,c=n.type===n.elementType?u:je(n.type,u),i.props=c,h=n.pendingProps,p=i.context,s=t.contextType,typeof s=="object"&&s!==null?s=_e(s):(s=pe(t)?Pn:oe.current,s=et(n,s));var w=t.getDerivedStateFromProps;(m=typeof w=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(u!==h||p!==s)&&_u(n,i,r,s),be=!1,p=n.memoizedState,i.state=p,Yr(n,r,i,l);var S=n.memoizedState;u!==h||p!==S||de.current||be?(typeof w=="function"&&(_o(n,t,w,r),S=n.memoizedState),(c=be||Cu(n,t,c,r,p,S,s)||!1)?(m||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(r,S,s),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(r,S,s)),typeof i.componentDidUpdate=="function"&&(n.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof i.componentDidUpdate!="function"||u===e.memoizedProps&&p===e.memoizedState||(n.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&p===e.memoizedState||(n.flags|=1024),n.memoizedProps=r,n.memoizedState=S),i.props=r,i.state=S,i.context=s,r=c):(typeof i.componentDidUpdate!="function"||u===e.memoizedProps&&p===e.memoizedState||(n.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&p===e.memoizedState||(n.flags|=1024),r=!1)}return jo(e,n,t,r,o,l)}function jo(e,n,t,r,l,o){Da(e,n);var i=(n.flags&128)!==0;if(!r&&!i)return l&&vu(n,t,!1),Xe(e,n,o);r=n.stateNode,sd.current=n;var u=i&&typeof t.getDerivedStateFromError!="function"?null:r.render();return n.flags|=1,e!==null&&i?(n.child=tt(n,e.child,null,o),n.child=tt(n,null,u,o)):ie(e,n,u,o),n.memoizedState=r.state,l&&vu(n,t,!0),n.child}function Ra(e){var n=e.stateNode;n.pendingContext?hu(e,n.pendingContext,n.pendingContext!==n.context):n.context&&hu(e,n.context,!1),hi(e,n.containerInfo)}function Iu(e,n,t,r,l){return nt(),ai(l),n.flags|=256,ie(e,n,t,r),n.child}var Lo={dehydrated:null,treeContext:null,retryLane:0};function To(e){return{baseLanes:e,cachePool:null,transitions:null}}function Oa(e,n,t){var r=n.pendingProps,l=$.current,o=!1,i=(n.flags&128)!==0,u;if((u=i)||(u=e!==null&&e.memoizedState===null?!1:(l&2)!==0),u?(o=!0,n.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),O($,l&1),e===null)return xo(n),e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(n.mode&1?e.data==="$!"?n.lanes=8:n.lanes=1073741824:n.lanes=1,null):(i=r.children,e=r.fallback,o?(r=n.mode,o=n.child,i={mode:"hidden",children:i},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=i):o=pl(i,r,0,null),e=Nn(e,r,t,null),o.return=n,e.return=n,o.sibling=e,n.child=o,n.child.memoizedState=To(t),n.memoizedState=Lo,e):xi(n,i));if(l=e.memoizedState,l!==null&&(u=l.dehydrated,u!==null))return ad(e,n,i,r,u,l,t);if(o){o=r.fallback,i=n.mode,l=e.child,u=l.sibling;var s={mode:"hidden",children:r.children};return!(i&1)&&n.child!==l?(r=n.child,r.childLanes=0,r.pendingProps=s,n.deletions=null):(r=dn(l,s),r.subtreeFlags=l.subtreeFlags&14680064),u!==null?o=dn(u,o):(o=Nn(o,i,t,null),o.flags|=2),o.return=n,r.return=n,r.sibling=o,n.child=r,r=o,o=n.child,i=e.child.memoizedState,i=i===null?To(t):{baseLanes:i.baseLanes|t,cachePool:null,transitions:i.transitions},o.memoizedState=i,o.childLanes=e.childLanes&~t,n.memoizedState=Lo,r}return o=e.child,e=o.sibling,r=dn(o,{mode:"visible",children:r.children}),!(n.mode&1)&&(r.lanes=t),r.return=n,r.sibling=null,e!==null&&(t=n.deletions,t===null?(n.deletions=[e],n.flags|=16):t.push(e)),n.child=r,n.memoizedState=null,r}function xi(e,n){return n=pl({mode:"visible",children:n},e.mode,0,null),n.return=e,e.child=n}function vr(e,n,t,r){return r!==null&&ai(r),tt(n,e.child,null,t),e=xi(n,n.pendingProps.children),e.flags|=2,n.memoizedState=null,e}function ad(e,n,t,r,l,o,i){if(t)return n.flags&256?(n.flags&=-257,r=Hl(Error(y(422))),vr(e,n,i,r)):n.memoizedState!==null?(n.child=e.child,n.flags|=128,null):(o=r.fallback,l=n.mode,r=pl({mode:"visible",children:r.children},l,0,null),o=Nn(o,l,i,null),o.flags|=2,r.return=n,o.return=n,r.sibling=o,n.child=r,n.mode&1&&tt(n,e.child,null,i),n.child.memoizedState=To(i),n.memoizedState=Lo,o);if(!(n.mode&1))return vr(e,n,i,null);if(l.data==="$!"){if(r=l.nextSibling&&l.nextSibling.dataset,r)var u=r.dgst;return r=u,o=Error(y(419)),r=Hl(o,r,void 0),vr(e,n,i,r)}if(u=(i&e.childLanes)!==0,fe||u){if(r=q,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!==o.retryLane&&(o.retryLane=l,Ge(e,l),Re(r,e,l,-1))}return ji(),r=Hl(Error(y(421))),vr(e,n,i,r)}return l.data==="$?"?(n.flags|=128,n.child=e.child,n=Ed.bind(null,e),l._reactRetry=n,null):(e=o.treeContext,ve=sn(l.nextSibling),ye=n,U=!0,Te=null,e!==null&&(ke[Ee++]=He,ke[Ee++]=We,ke[Ee++]=zn,He=e.id,We=e.overflow,zn=n),n=xi(n,r.children),n.flags|=4096,n)}function Du(e,n,t){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n),Co(e.return,n,t)}function Wl(e,n,t,r,l){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:r,tail:t,tailMode:l}:(o.isBackwards=n,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=t,o.tailMode=l)}function Fa(e,n,t){var r=n.pendingProps,l=r.revealOrder,o=r.tail;if(ie(e,n,r.children,t),r=$.current,r&2)r=r&1|2,n.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=n.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Du(e,t,n);else if(e.tag===19)Du(e,t,n);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;e.sibling===null;){if(e.return===null||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(O($,r),!(n.mode&1))n.memoizedState=null;else switch(l){case"forwards":for(t=n.child,l=null;t!==null;)e=t.alternate,e!==null&&Gr(e)===null&&(l=t),t=t.sibling;t=l,t===null?(l=n.child,n.child=null):(l=t.sibling,t.sibling=null),Wl(n,!1,l,t,o);break;case"backwards":for(t=null,l=n.child,n.child=null;l!==null;){if(e=l.alternate,e!==null&&Gr(e)===null){n.child=l;break}e=l.sibling,l.sibling=t,t=l,l=e}Wl(n,!0,t,null,o);break;case"together":Wl(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function zr(e,n){!(n.mode&1)&&e!==null&&(e.alternate=null,n.alternate=null,n.flags|=2)}function Xe(e,n,t){if(e!==null&&(n.dependencies=e.dependencies),Ln|=n.lanes,!(t&n.childLanes))return null;if(e!==null&&n.child!==e.child)throw Error(y(153));if(n.child!==null){for(e=n.child,t=dn(e,e.pendingProps),n.child=t,t.return=n;e.sibling!==null;)e=e.sibling,t=t.sibling=dn(e,e.pendingProps),t.return=n;t.sibling=null}return n.child}function cd(e,n,t){switch(n.tag){case 3:Ra(n),nt();break;case 5:sa(n);break;case 1:pe(n.type)&&Br(n);break;case 4:hi(n,n.stateNode.containerInfo);break;case 10:var r=n.type._context,l=n.memoizedProps.value;O(Qr,r._currentValue),r._currentValue=l;break;case 13:if(r=n.memoizedState,r!==null)return r.dehydrated!==null?(O($,$.current&1),n.flags|=128,null):t&n.child.childLanes?Oa(e,n,t):(O($,$.current&1),e=Xe(e,n,t),e!==null?e.sibling:null);O($,$.current&1);break;case 19:if(r=(t&n.childLanes)!==0,e.flags&128){if(r)return Fa(e,n,t);n.flags|=128}if(l=n.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),O($,$.current),r)break;return null;case 22:case 23:return n.lanes=0,Ia(e,n,t)}return Xe(e,n,t)}var Ma,Io,Ua,$a;Ma=function(e,n){for(var t=n.child;t!==null;){if(t.tag===5||t.tag===6)e.appendChild(t.stateNode);else if(t.tag!==4&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===n)break;for(;t.sibling===null;){if(t.return===null||t.return===n)return;t=t.return}t.sibling.return=t.return,t=t.sibling}};Io=function(){};Ua=function(e,n,t,r){var l=e.memoizedProps;if(l!==r){e=n.stateNode,Cn(Ae.current);var o=null;switch(t){case"input":l=bl(e,l),r=bl(e,r),o=[];break;case"select":l=V({},l,{value:void 0}),r=V({},r,{value:void 0}),o=[];break;case"textarea":l=to(e,l),r=to(e,r),o=[];break;default:typeof l.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Ar)}lo(t,r);var i;t=null;for(c in l)if(!r.hasOwnProperty(c)&&l.hasOwnProperty(c)&&l[c]!=null)if(c==="style"){var u=l[c];for(i in u)u.hasOwnProperty(i)&&(t||(t={}),t[i]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(Dt.hasOwnProperty(c)?o||(o=[]):(o=o||[]).push(c,null));for(c in r){var s=r[c];if(u=l!=null?l[c]:void 0,r.hasOwnProperty(c)&&s!==u&&(s!=null||u!=null))if(c==="style")if(u){for(i in u)!u.hasOwnProperty(i)||s&&s.hasOwnProperty(i)||(t||(t={}),t[i]="");for(i in s)s.hasOwnProperty(i)&&u[i]!==s[i]&&(t||(t={}),t[i]=s[i])}else t||(o||(o=[]),o.push(c,t)),t=s;else c==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,u=u?u.__html:void 0,s!=null&&u!==s&&(o=o||[]).push(c,s)):c==="children"?typeof s!="string"&&typeof s!="number"||(o=o||[]).push(c,""+s):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(Dt.hasOwnProperty(c)?(s!=null&&c==="onScroll"&&F("scroll",e),o||u===s||(o=[])):(o=o||[]).push(c,s))}t&&(o=o||[]).push("style",t);var c=o;(n.updateQueue=c)&&(n.flags|=4)}};$a=function(e,n,t,r){t!==r&&(n.flags|=4)};function gt(e,n){if(!U)switch(e.tailMode){case"hidden":n=e.tail;for(var t=null;n!==null;)n.alternate!==null&&(t=n),n=n.sibling;t===null?e.tail=null:t.sibling=null;break;case"collapsed":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?n||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function re(e){var n=e.alternate!==null&&e.alternate.child===e.child,t=0,r=0;if(n)for(var l=e.child;l!==null;)t|=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;)t|=l.lanes|l.childLanes,r|=l.subtreeFlags,r|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=r,e.childLanes=t,n}function fd(e,n,t){var r=n.pendingProps;switch(si(n),n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return re(n),null;case 1:return pe(n.type)&&Vr(),re(n),null;case 3:return r=n.stateNode,rt(),M(de),M(oe),yi(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(mr(n)?n.flags|=4:e===null||e.memoizedState.isDehydrated&&!(n.flags&256)||(n.flags|=1024,Te!==null&&(Ao(Te),Te=null))),Io(e,n),re(n),null;case 5:vi(n);var l=Cn(Qt.current);if(t=n.type,e!==null&&n.stateNode!=null)Ua(e,n,t,r,l),e.ref!==n.ref&&(n.flags|=512,n.flags|=2097152);else{if(!r){if(n.stateNode===null)throw Error(y(166));return re(n),null}if(e=Cn(Ae.current),mr(n)){r=n.stateNode,t=n.type;var o=n.memoizedProps;switch(r[Ue]=n,r[Ht]=o,e=(n.mode&1)!==0,t){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<xt.length;l++)F(xt[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":Bi(r,o),F("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},F("invalid",r);break;case"textarea":Wi(r,o),F("invalid",r)}lo(t,o),l=null;for(var i in o)if(o.hasOwnProperty(i)){var u=o[i];i==="children"?typeof u=="string"?r.textContent!==u&&(o.suppressHydrationWarning!==!0&&pr(r.textContent,u,e),l=["children",u]):typeof u=="number"&&r.textContent!==""+u&&(o.suppressHydrationWarning!==!0&&pr(r.textContent,u,e),l=["children",""+u]):Dt.hasOwnProperty(i)&&u!=null&&i==="onScroll"&&F("scroll",r)}switch(t){case"input":or(r),Hi(r,o,!0);break;case"textarea":or(r),Qi(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=Ar)}r=l,n.updateQueue=r,r!==null&&(n.flags|=4)}else{i=l.nodeType===9?l:l.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=ps(t)),e==="http://www.w3.org/1999/xhtml"?t==="script"?(e=i.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(t,{is:r.is}):(e=i.createElement(t),t==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,t),e[Ue]=n,e[Ht]=r,Ma(e,n,!1,!1),n.stateNode=e;e:{switch(i=oo(t,r),t){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<xt.length;l++)F(xt[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":Bi(e,r),l=bl(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":Wi(e,r),l=to(e,r),F("invalid",e);break;default:l=r}lo(t,l),u=l;for(o in u)if(u.hasOwnProperty(o)){var s=u[o];o==="style"?vs(e,s):o==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,s!=null&&ms(e,s)):o==="children"?typeof s=="string"?(t!=="textarea"||s!=="")&&Rt(e,s):typeof s=="number"&&Rt(e,""+s):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Dt.hasOwnProperty(o)?s!=null&&o==="onScroll"&&F("scroll",e):s!=null&&Yo(e,o,s,i))}switch(t){case"input":or(e),Hi(e,r,!1);break;case"textarea":or(e),Qi(e);break;case"option":r.value!=null&&e.setAttribute("value",""+pn(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?Yn(e,!!r.multiple,o,!1):r.defaultValue!=null&&Yn(e,!!r.multiple,r.defaultValue,!0);break;default:typeof l.onClick=="function"&&(e.onclick=Ar)}switch(t){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(n.flags|=4)}n.ref!==null&&(n.flags|=512,n.flags|=2097152)}return re(n),null;case 6:if(e&&n.stateNode!=null)$a(e,n,e.memoizedProps,r);else{if(typeof r!="string"&&n.stateNode===null)throw Error(y(166));if(t=Cn(Qt.current),Cn(Ae.current),mr(n)){if(r=n.stateNode,t=n.memoizedProps,r[Ue]=n,(o=r.nodeValue!==t)&&(e=ye,e!==null))switch(e.tag){case 3:pr(r.nodeValue,t,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&pr(r.nodeValue,t,(e.mode&1)!==0)}o&&(n.flags|=4)}else r=(t.nodeType===9?t:t.ownerDocument).createTextNode(r),r[Ue]=n,n.stateNode=r}return re(n),null;case 13:if(M($),r=n.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(U&&ve!==null&&n.mode&1&&!(n.flags&128))ra(),nt(),n.flags|=98560,o=!1;else if(o=mr(n),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(y(318));if(o=n.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(y(317));o[Ue]=n}else nt(),!(n.flags&128)&&(n.memoizedState=null),n.flags|=4;re(n),o=!1}else Te!==null&&(Ao(Te),Te=null),o=!0;if(!o)return n.flags&65536?n:null}return n.flags&128?(n.lanes=t,n):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(n.child.flags|=8192,n.mode&1&&(e===null||$.current&1?X===0&&(X=3):ji())),n.updateQueue!==null&&(n.flags|=4),re(n),null);case 4:return rt(),Io(e,n),e===null&&Vt(n.stateNode.containerInfo),re(n),null;case 10:return di(n.type._context),re(n),null;case 17:return pe(n.type)&&Vr(),re(n),null;case 19:if(M($),o=n.memoizedState,o===null)return re(n),null;if(r=(n.flags&128)!==0,i=o.rendering,i===null)if(r)gt(o,!1);else{if(X!==0||e!==null&&e.flags&128)for(e=n.child;e!==null;){if(i=Gr(e),i!==null){for(n.flags|=128,gt(o,!1),r=i.updateQueue,r!==null&&(n.updateQueue=r,n.flags|=4),n.subtreeFlags=0,r=t,t=n.child;t!==null;)o=t,e=r,o.flags&=14680066,i=o.alternate,i===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=i.childLanes,o.lanes=i.lanes,o.child=i.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=i.memoizedProps,o.memoizedState=i.memoizedState,o.updateQueue=i.updateQueue,o.type=i.type,e=i.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t=t.sibling;return O($,$.current&1|2),n.child}e=e.sibling}o.tail!==null&&K()>ot&&(n.flags|=128,r=!0,gt(o,!1),n.lanes=4194304)}else{if(!r)if(e=Gr(i),e!==null){if(n.flags|=128,r=!0,t=e.updateQueue,t!==null&&(n.updateQueue=t,n.flags|=4),gt(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!U)return re(n),null}else 2*K()-o.renderingStartTime>ot&&t!==1073741824&&(n.flags|=128,r=!0,gt(o,!1),n.lanes=4194304);o.isBackwards?(i.sibling=n.child,n.child=i):(t=o.last,t!==null?t.sibling=i:n.child=i,o.last=i)}return o.tail!==null?(n=o.tail,o.rendering=n,o.tail=n.sibling,o.renderingStartTime=K(),n.sibling=null,t=$.current,O($,r?t&1|2:t&1),n):(re(n),null);case 22:case 23:return zi(),r=n.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(n.flags|=8192),r&&n.mode&1?he&1073741824&&(re(n),n.subtreeFlags&6&&(n.flags|=8192)):re(n),null;case 24:return null;case 25:return null}throw Error(y(156,n.tag))}function dd(e,n){switch(si(n),n.tag){case 1:return pe(n.type)&&Vr(),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return rt(),M(de),M(oe),yi(),e=n.flags,e&65536&&!(e&128)?(n.flags=e&-65537|128,n):null;case 5:return vi(n),null;case 13:if(M($),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(y(340));nt()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return M($),null;case 4:return rt(),null;case 10:return di(n.type._context),null;case 22:case 23:return zi(),null;case 24:return null;default:return null}}var yr=!1,le=!1,pd=typeof WeakSet=="function"?WeakSet:Set,E=null;function Qn(e,n){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){B(e,n,r)}else t.current=null}function Do(e,n,t){try{t()}catch(r){B(e,n,r)}}var Ru=!1;function md(e,n){if(vo=Mr,e=Ws(),ii(e)){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{t=(t=e.ownerDocument)&&t.defaultView||window;var r=t.getSelection&&t.getSelection();if(r&&r.rangeCount!==0){t=r.anchorNode;var l=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{t.nodeType,o.nodeType}catch{t=null;break e}var i=0,u=-1,s=-1,c=0,m=0,h=e,p=null;n:for(;;){for(var w;h!==t||l!==0&&h.nodeType!==3||(u=i+l),h!==o||r!==0&&h.nodeType!==3||(s=i+r),h.nodeType===3&&(i+=h.nodeValue.length),(w=h.firstChild)!==null;)p=h,h=w;for(;;){if(h===e)break n;if(p===t&&++c===l&&(u=i),p===o&&++m===r&&(s=i),(w=h.nextSibling)!==null)break;h=p,p=h.parentNode}h=w}t=u===-1||s===-1?null:{start:u,end:s}}else t=null}t=t||{start:0,end:0}}else t=null;for(yo={focusedElem:e,selectionRange:t},Mr=!1,E=n;E!==null;)if(n=E,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,E=e;else for(;E!==null;){n=E;try{var S=n.alternate;if(n.flags&1024)switch(n.tag){case 0:case 11:case 15:break;case 1:if(S!==null){var k=S.memoizedProps,j=S.memoizedState,f=n.stateNode,a=f.getSnapshotBeforeUpdate(n.elementType===n.type?k:je(n.type,k),j);f.__reactInternalSnapshotBeforeUpdate=a}break;case 3:var d=n.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(y(163))}}catch(v){B(n,n.return,v)}if(e=n.sibling,e!==null){e.return=n.return,E=e;break}E=n.return}return S=Ru,Ru=!1,S}function Lt(e,n,t){var r=n.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var o=l.destroy;l.destroy=void 0,o!==void 0&&Do(n,t,o)}l=l.next}while(l!==r)}}function fl(e,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var t=n=n.next;do{if((t.tag&e)===e){var r=t.create;t.destroy=r()}t=t.next}while(t!==n)}}function Ro(e){var n=e.ref;if(n!==null){var t=e.stateNode;switch(e.tag){case 5:e=t;break;default:e=t}typeof n=="function"?n(e):n.current=e}}function Aa(e){var n=e.alternate;n!==null&&(e.alternate=null,Aa(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&(delete n[Ue],delete n[Ht],delete n[So],delete n[Jf],delete n[Zf])),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 Va(e){return e.tag===5||e.tag===3||e.tag===4}function Ou(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Va(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 Oo(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.nodeType===8?t.parentNode.insertBefore(e,n):t.insertBefore(e,n):(t.nodeType===8?(n=t.parentNode,n.insertBefore(e,t)):(n=t,n.appendChild(e)),t=t._reactRootContainer,t!=null||n.onclick!==null||(n.onclick=Ar));else if(r!==4&&(e=e.child,e!==null))for(Oo(e,n,t),e=e.sibling;e!==null;)Oo(e,n,t),e=e.sibling}function Fo(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.insertBefore(e,n):t.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Fo(e,n,t),e=e.sibling;e!==null;)Fo(e,n,t),e=e.sibling}var b=null,Le=!1;function Ze(e,n,t){for(t=t.child;t!==null;)Ba(e,n,t),t=t.sibling}function Ba(e,n,t){if($e&&typeof $e.onCommitFiberUnmount=="function")try{$e.onCommitFiberUnmount(rl,t)}catch{}switch(t.tag){case 5:le||Qn(t,n);case 6:var r=b,l=Le;b=null,Ze(e,n,t),b=r,Le=l,b!==null&&(Le?(e=b,t=t.stateNode,e.nodeType===8?e.parentNode.removeChild(t):e.removeChild(t)):b.removeChild(t.stateNode));break;case 18:b!==null&&(Le?(e=b,t=t.stateNode,e.nodeType===8?Ml(e.parentNode,t):e.nodeType===1&&Ml(e,t),Ut(e)):Ml(b,t.stateNode));break;case 4:r=b,l=Le,b=t.stateNode.containerInfo,Le=!0,Ze(e,n,t),b=r,Le=l;break;case 0:case 11:case 14:case 15:if(!le&&(r=t.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var o=l,i=o.destroy;o=o.tag,i!==void 0&&(o&2||o&4)&&Do(t,n,i),l=l.next}while(l!==r)}Ze(e,n,t);break;case 1:if(!le&&(Qn(t,n),r=t.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=t.memoizedProps,r.state=t.memoizedState,r.componentWillUnmount()}catch(u){B(t,n,u)}Ze(e,n,t);break;case 21:Ze(e,n,t);break;case 22:t.mode&1?(le=(r=le)||t.memoizedState!==null,Ze(e,n,t),le=r):Ze(e,n,t);break;default:Ze(e,n,t)}}function Fu(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var t=e.stateNode;t===null&&(t=e.stateNode=new pd),n.forEach(function(r){var l=xd.bind(null,e,r);t.has(r)||(t.add(r),r.then(l,l))})}}function ze(e,n){var t=n.deletions;if(t!==null)for(var r=0;r<t.length;r++){var l=t[r];try{var o=e,i=n,u=i;e:for(;u!==null;){switch(u.tag){case 5:b=u.stateNode,Le=!1;break e;case 3:b=u.stateNode.containerInfo,Le=!0;break e;case 4:b=u.stateNode.containerInfo,Le=!0;break e}u=u.return}if(b===null)throw Error(y(160));Ba(o,i,l),b=null,Le=!1;var s=l.alternate;s!==null&&(s.return=null),l.return=null}catch(c){B(l,n,c)}}if(n.subtreeFlags&12854)for(n=n.child;n!==null;)Ha(n,e),n=n.sibling}function Ha(e,n){var t=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ze(n,e),Fe(e),r&4){try{Lt(3,e,e.return),fl(3,e)}catch(k){B(e,e.return,k)}try{Lt(5,e,e.return)}catch(k){B(e,e.return,k)}}break;case 1:ze(n,e),Fe(e),r&512&&t!==null&&Qn(t,t.return);break;case 5:if(ze(n,e),Fe(e),r&512&&t!==null&&Qn(t,t.return),e.flags&32){var l=e.stateNode;try{Rt(l,"")}catch(k){B(e,e.return,k)}}if(r&4&&(l=e.stateNode,l!=null)){var o=e.memoizedProps,i=t!==null?t.memoizedProps:o,u=e.type,s=e.updateQueue;if(e.updateQueue=null,s!==null)try{u==="input"&&o.type==="radio"&&o.name!=null&&fs(l,o),oo(u,i);var c=oo(u,o);for(i=0;i<s.length;i+=2){var m=s[i],h=s[i+1];m==="style"?vs(l,h):m==="dangerouslySetInnerHTML"?ms(l,h):m==="children"?Rt(l,h):Yo(l,m,h,c)}switch(u){case"input":eo(l,o);break;case"textarea":ds(l,o);break;case"select":var p=l._wrapperState.wasMultiple;l._wrapperState.wasMultiple=!!o.multiple;var w=o.value;w!=null?Yn(l,!!o.multiple,w,!1):p!==!!o.multiple&&(o.defaultValue!=null?Yn(l,!!o.multiple,o.defaultValue,!0):Yn(l,!!o.multiple,o.multiple?[]:"",!1))}l[Ht]=o}catch(k){B(e,e.return,k)}}break;case 6:if(ze(n,e),Fe(e),r&4){if(e.stateNode===null)throw Error(y(162));l=e.stateNode,o=e.memoizedProps;try{l.nodeValue=o}catch(k){B(e,e.return,k)}}break;case 3:if(ze(n,e),Fe(e),r&4&&t!==null&&t.memoizedState.isDehydrated)try{Ut(n.containerInfo)}catch(k){B(e,e.return,k)}break;case 4:ze(n,e),Fe(e);break;case 13:ze(n,e),Fe(e),l=e.child,l.flags&8192&&(o=l.memoizedState!==null,l.stateNode.isHidden=o,!o||l.alternate!==null&&l.alternate.memoizedState!==null||(Ni=K())),r&4&&Fu(e);break;case 22:if(m=t!==null&&t.memoizedState!==null,e.mode&1?(le=(c=le)||m,ze(n,e),le=c):ze(n,e),Fe(e),r&8192){if(c=e.memoizedState!==null,(e.stateNode.isHidden=c)&&!m&&e.mode&1)for(E=e,m=e.child;m!==null;){for(h=E=m;E!==null;){switch(p=E,w=p.child,p.tag){case 0:case 11:case 14:case 15:Lt(4,p,p.return);break;case 1:Qn(p,p.return);var S=p.stateNode;if(typeof S.componentWillUnmount=="function"){r=p,t=p.return;try{n=r,S.props=n.memoizedProps,S.state=n.memoizedState,S.componentWillUnmount()}catch(k){B(r,t,k)}}break;case 5:Qn(p,p.return);break;case 22:if(p.memoizedState!==null){Uu(h);continue}}w!==null?(w.return=p,E=w):Uu(h)}m=m.sibling}e:for(m=null,h=e;;){if(h.tag===5){if(m===null){m=h;try{l=h.stateNode,c?(o=l.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(u=h.stateNode,s=h.memoizedProps.style,i=s!=null&&s.hasOwnProperty("display")?s.display:null,u.style.display=hs("display",i))}catch(k){B(e,e.return,k)}}}else if(h.tag===6){if(m===null)try{h.stateNode.nodeValue=c?"":h.memoizedProps}catch(k){B(e,e.return,k)}}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;m===h&&(m=null),h=h.return}m===h&&(m=null),h.sibling.return=h.return,h=h.sibling}}break;case 19:ze(n,e),Fe(e),r&4&&Fu(e);break;case 21:break;default:ze(n,e),Fe(e)}}function Fe(e){var n=e.flags;if(n&2){try{e:{for(var t=e.return;t!==null;){if(Va(t)){var r=t;break e}t=t.return}throw Error(y(160))}switch(r.tag){case 5:var l=r.stateNode;r.flags&32&&(Rt(l,""),r.flags&=-33);var o=Ou(e);Fo(e,o,l);break;case 3:case 4:var i=r.stateNode.containerInfo,u=Ou(e);Oo(e,u,i);break;default:throw Error(y(161))}}catch(s){B(e,e.return,s)}e.flags&=-3}n&4096&&(e.flags&=-4097)}function hd(e,n,t){E=e,Wa(e)}function Wa(e,n,t){for(var r=(e.mode&1)!==0;E!==null;){var l=E,o=l.child;if(l.tag===22&&r){var i=l.memoizedState!==null||yr;if(!i){var u=l.alternate,s=u!==null&&u.memoizedState!==null||le;u=yr;var c=le;if(yr=i,(le=s)&&!c)for(E=l;E!==null;)i=E,s=i.child,i.tag===22&&i.memoizedState!==null?$u(l):s!==null?(s.return=i,E=s):$u(l);for(;o!==null;)E=o,Wa(o),o=o.sibling;E=l,yr=u,le=c}Mu(e)}else l.subtreeFlags&8772&&o!==null?(o.return=l,E=o):Mu(e)}}function Mu(e){for(;E!==null;){var n=E;if(n.flags&8772){var t=n.alternate;try{if(n.flags&8772)switch(n.tag){case 0:case 11:case 15:le||fl(5,n);break;case 1:var r=n.stateNode;if(n.flags&4&&!le)if(t===null)r.componentDidMount();else{var l=n.elementType===n.type?t.memoizedProps:je(n.type,t.memoizedProps);r.componentDidUpdate(l,t.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=n.updateQueue;o!==null&&ku(n,o,r);break;case 3:var i=n.updateQueue;if(i!==null){if(t=null,n.child!==null)switch(n.child.tag){case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}ku(n,i,t)}break;case 5:var u=n.stateNode;if(t===null&&n.flags&4){t=u;var s=n.memoizedProps;switch(n.type){case"button":case"input":case"select":case"textarea":s.autoFocus&&t.focus();break;case"img":s.src&&(t.src=s.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(n.memoizedState===null){var c=n.alternate;if(c!==null){var m=c.memoizedState;if(m!==null){var h=m.dehydrated;h!==null&&Ut(h)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(y(163))}le||n.flags&512&&Ro(n)}catch(p){B(n,n.return,p)}}if(n===e){E=null;break}if(t=n.sibling,t!==null){t.return=n.return,E=t;break}E=n.return}}function Uu(e){for(;E!==null;){var n=E;if(n===e){E=null;break}var t=n.sibling;if(t!==null){t.return=n.return,E=t;break}E=n.return}}function $u(e){for(;E!==null;){var n=E;try{switch(n.tag){case 0:case 11:case 15:var t=n.return;try{fl(4,n)}catch(s){B(n,t,s)}break;case 1:var r=n.stateNode;if(typeof r.componentDidMount=="function"){var l=n.return;try{r.componentDidMount()}catch(s){B(n,l,s)}}var o=n.return;try{Ro(n)}catch(s){B(n,o,s)}break;case 5:var i=n.return;try{Ro(n)}catch(s){B(n,i,s)}}}catch(s){B(n,n.return,s)}if(n===e){E=null;break}var u=n.sibling;if(u!==null){u.return=n.return,E=u;break}E=n.return}}var vd=Math.ceil,Zr=Je.ReactCurrentDispatcher,Ci=Je.ReactCurrentOwner,Ce=Je.ReactCurrentBatchConfig,D=0,q=null,Y=null,ee=0,he=0,Kn=vn(0),X=0,Xt=null,Ln=0,dl=0,_i=0,Tt=null,ce=null,Ni=0,ot=1/0,Ve=null,qr=!1,Mo=null,cn=null,gr=!1,rn=null,br=0,It=0,Uo=null,jr=-1,Lr=0;function ue(){return D&6?K():jr!==-1?jr:jr=K()}function fn(e){return e.mode&1?D&2&&ee!==0?ee&-ee:bf.transition!==null?(Lr===0&&(Lr=zs()),Lr):(e=R,e!==0||(e=window.event,e=e===void 0?16:Os(e.type)),e):1}function Re(e,n,t,r){if(50<It)throw It=0,Uo=null,Error(y(185));Zt(e,t,r),(!(D&2)||e!==q)&&(e===q&&(!(D&2)&&(dl|=t),X===4&&nn(e,ee)),me(e,r),t===1&&D===0&&!(n.mode&1)&&(ot=K()+500,sl&&yn()))}function me(e,n){var t=e.callbackNode;qc(e,n);var r=Fr(e,e===q?ee:0);if(r===0)t!==null&&Gi(t),e.callbackNode=null,e.callbackPriority=0;else if(n=r&-r,e.callbackPriority!==n){if(t!=null&&Gi(t),n===1)e.tag===0?qf(Au.bind(null,e)):ea(Au.bind(null,e)),Gf(function(){!(D&6)&&yn()}),t=null;else{switch(js(r)){case 1:t=qo;break;case 4:t=Ns;break;case 16:t=Or;break;case 536870912:t=Ps;break;default:t=Or}t=qa(t,Qa.bind(null,e))}e.callbackPriority=n,e.callbackNode=t}}function Qa(e,n){if(jr=-1,Lr=0,D&6)throw Error(y(327));var t=e.callbackNode;if(qn()&&e.callbackNode!==t)return null;var r=Fr(e,e===q?ee:0);if(r===0)return null;if(r&30||r&e.expiredLanes||n)n=el(e,r);else{n=r;var l=D;D|=2;var o=Ya();(q!==e||ee!==n)&&(Ve=null,ot=K()+500,_n(e,n));do try{wd();break}catch(u){Ka(e,u)}while(!0);fi(),Zr.current=o,D=l,Y!==null?n=0:(q=null,ee=0,n=X)}if(n!==0){if(n===2&&(l=co(e),l!==0&&(r=l,n=$o(e,l))),n===1)throw t=Xt,_n(e,0),nn(e,r),me(e,K()),t;if(n===6)nn(e,r);else{if(l=e.current.alternate,!(r&30)&&!yd(l)&&(n=el(e,r),n===2&&(o=co(e),o!==0&&(r=o,n=$o(e,o))),n===1))throw t=Xt,_n(e,0),nn(e,r),me(e,K()),t;switch(e.finishedWork=l,e.finishedLanes=r,n){case 0:case 1:throw Error(y(345));case 2:kn(e,ce,Ve);break;case 3:if(nn(e,r),(r&130023424)===r&&(n=Ni+500-K(),10<n)){if(Fr(e,0)!==0)break;if(l=e.suspendedLanes,(l&r)!==r){ue(),e.pingedLanes|=e.suspendedLanes&l;break}e.timeoutHandle=wo(kn.bind(null,e,ce,Ve),n);break}kn(e,ce,Ve);break;case 4:if(nn(e,r),(r&4194240)===r)break;for(n=e.eventTimes,l=-1;0<r;){var i=31-De(r);o=1<<i,i=n[i],i>l&&(l=i),r&=~o}if(r=l,r=K()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*vd(r/1960))-r,10<r){e.timeoutHandle=wo(kn.bind(null,e,ce,Ve),r);break}kn(e,ce,Ve);break;case 5:kn(e,ce,Ve);break;default:throw Error(y(329))}}}return me(e,K()),e.callbackNode===t?Qa.bind(null,e):null}function $o(e,n){var t=Tt;return e.current.memoizedState.isDehydrated&&(_n(e,n).flags|=256),e=el(e,n),e!==2&&(n=ce,ce=t,n!==null&&Ao(n)),e}function Ao(e){ce===null?ce=e:ce.push.apply(ce,e)}function yd(e){for(var n=e;;){if(n.flags&16384){var t=n.updateQueue;if(t!==null&&(t=t.stores,t!==null))for(var r=0;r<t.length;r++){var l=t[r],o=l.getSnapshot;l=l.value;try{if(!Oe(o(),l))return!1}catch{return!1}}}if(t=n.child,n.subtreeFlags&16384&&t!==null)t.return=n,n=t;else{if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function nn(e,n){for(n&=~_i,n&=~dl,e.suspendedLanes|=n,e.pingedLanes&=~n,e=e.expirationTimes;0<n;){var t=31-De(n),r=1<<t;e[t]=-1,n&=~r}}function Au(e){if(D&6)throw Error(y(327));qn();var n=Fr(e,0);if(!(n&1))return me(e,K()),null;var t=el(e,n);if(e.tag!==0&&t===2){var r=co(e);r!==0&&(n=r,t=$o(e,r))}if(t===1)throw t=Xt,_n(e,0),nn(e,n),me(e,K()),t;if(t===6)throw Error(y(345));return e.finishedWork=e.current.alternate,e.finishedLanes=n,kn(e,ce,Ve),me(e,K()),null}function Pi(e,n){var t=D;D|=1;try{return e(n)}finally{D=t,D===0&&(ot=K()+500,sl&&yn())}}function Tn(e){rn!==null&&rn.tag===0&&!(D&6)&&qn();var n=D;D|=1;var t=Ce.transition,r=R;try{if(Ce.transition=null,R=1,e)return e()}finally{R=r,Ce.transition=t,D=n,!(D&6)&&yn()}}function zi(){he=Kn.current,M(Kn)}function _n(e,n){e.finishedWork=null,e.finishedLanes=0;var t=e.timeoutHandle;if(t!==-1&&(e.timeoutHandle=-1,Yf(t)),Y!==null)for(t=Y.return;t!==null;){var r=t;switch(si(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Vr();break;case 3:rt(),M(de),M(oe),yi();break;case 5:vi(r);break;case 4:rt();break;case 13:M($);break;case 19:M($);break;case 10:di(r.type._context);break;case 22:case 23:zi()}t=t.return}if(q=e,Y=e=dn(e.current,null),ee=he=n,X=0,Xt=null,_i=dl=Ln=0,ce=Tt=null,xn!==null){for(n=0;n<xn.length;n++)if(t=xn[n],r=t.interleaved,r!==null){t.interleaved=null;var l=r.next,o=t.pending;if(o!==null){var i=o.next;o.next=l,r.next=i}t.pending=r}xn=null}return e}function Ka(e,n){do{var t=Y;try{if(fi(),Nr.current=Jr,Xr){for(var r=A.memoizedState;r!==null;){var l=r.queue;l!==null&&(l.pending=null),r=r.next}Xr=!1}if(jn=0,Z=G=A=null,jt=!1,Kt=0,Ci.current=null,t===null||t.return===null){X=1,Xt=n,Y=null;break}e:{var o=e,i=t.return,u=t,s=n;if(n=ee,u.flags|=32768,s!==null&&typeof s=="object"&&typeof s.then=="function"){var c=s,m=u,h=m.tag;if(!(m.mode&1)&&(h===0||h===11||h===15)){var p=m.alternate;p?(m.updateQueue=p.updateQueue,m.memoizedState=p.memoizedState,m.lanes=p.lanes):(m.updateQueue=null,m.memoizedState=null)}var w=Pu(i);if(w!==null){w.flags&=-257,zu(w,i,u,o,n),w.mode&1&&Nu(o,c,n),n=w,s=c;var S=n.updateQueue;if(S===null){var k=new Set;k.add(s),n.updateQueue=k}else S.add(s);break e}else{if(!(n&1)){Nu(o,c,n),ji();break e}s=Error(y(426))}}else if(U&&u.mode&1){var j=Pu(i);if(j!==null){!(j.flags&65536)&&(j.flags|=256),zu(j,i,u,o,n),ai(lt(s,u));break e}}o=s=lt(s,u),X!==4&&(X=2),Tt===null?Tt=[o]:Tt.push(o),o=i;do{switch(o.tag){case 3:o.flags|=65536,n&=-n,o.lanes|=n;var f=ja(o,s,n);Su(o,f);break e;case 1:u=s;var a=o.type,d=o.stateNode;if(!(o.flags&128)&&(typeof a.getDerivedStateFromError=="function"||d!==null&&typeof d.componentDidCatch=="function"&&(cn===null||!cn.has(d)))){o.flags|=65536,n&=-n,o.lanes|=n;var v=La(o,u,n);Su(o,v);break e}}o=o.return}while(o!==null)}Xa(t)}catch(x){n=x,Y===t&&t!==null&&(Y=t=t.return);continue}break}while(!0)}function Ya(){var e=Zr.current;return Zr.current=Jr,e===null?Jr:e}function ji(){(X===0||X===3||X===2)&&(X=4),q===null||!(Ln&268435455)&&!(dl&268435455)||nn(q,ee)}function el(e,n){var t=D;D|=2;var r=Ya();(q!==e||ee!==n)&&(Ve=null,_n(e,n));do try{gd();break}catch(l){Ka(e,l)}while(!0);if(fi(),D=t,Zr.current=r,Y!==null)throw Error(y(261));return q=null,ee=0,X}function gd(){for(;Y!==null;)Ga(Y)}function wd(){for(;Y!==null&&!Hc();)Ga(Y)}function Ga(e){var n=Za(e.alternate,e,he);e.memoizedProps=e.pendingProps,n===null?Xa(e):Y=n,Ci.current=null}function Xa(e){var n=e;do{var t=n.alternate;if(e=n.return,n.flags&32768){if(t=dd(t,n),t!==null){t.flags&=32767,Y=t;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{X=6,Y=null;return}}else if(t=fd(t,n,he),t!==null){Y=t;return}if(n=n.sibling,n!==null){Y=n;return}Y=n=e}while(n!==null);X===0&&(X=5)}function kn(e,n,t){var r=R,l=Ce.transition;try{Ce.transition=null,R=1,Sd(e,n,t,r)}finally{Ce.transition=l,R=r}return null}function Sd(e,n,t,r){do qn();while(rn!==null);if(D&6)throw Error(y(327));t=e.finishedWork;var l=e.finishedLanes;if(t===null)return null;if(e.finishedWork=null,e.finishedLanes=0,t===e.current)throw Error(y(177));e.callbackNode=null,e.callbackPriority=0;var o=t.lanes|t.childLanes;if(bc(e,o),e===q&&(Y=q=null,ee=0),!(t.subtreeFlags&2064)&&!(t.flags&2064)||gr||(gr=!0,qa(Or,function(){return qn(),null})),o=(t.flags&15990)!==0,t.subtreeFlags&15990||o){o=Ce.transition,Ce.transition=null;var i=R;R=1;var u=D;D|=4,Ci.current=null,md(e,t),Ha(t,e),Af(yo),Mr=!!vo,yo=vo=null,e.current=t,hd(t),Wc(),D=u,R=i,Ce.transition=o}else e.current=t;if(gr&&(gr=!1,rn=e,br=l),o=e.pendingLanes,o===0&&(cn=null),Yc(t.stateNode),me(e,K()),n!==null)for(r=e.onRecoverableError,t=0;t<n.length;t++)l=n[t],r(l.value,{componentStack:l.stack,digest:l.digest});if(qr)throw qr=!1,e=Mo,Mo=null,e;return br&1&&e.tag!==0&&qn(),o=e.pendingLanes,o&1?e===Uo?It++:(It=0,Uo=e):It=0,yn(),null}function qn(){if(rn!==null){var e=js(br),n=Ce.transition,t=R;try{if(Ce.transition=null,R=16>e?16:e,rn===null)var r=!1;else{if(e=rn,rn=null,br=0,D&6)throw Error(y(331));var l=D;for(D|=4,E=e.current;E!==null;){var o=E,i=o.child;if(E.flags&16){var u=o.deletions;if(u!==null){for(var s=0;s<u.length;s++){var c=u[s];for(E=c;E!==null;){var m=E;switch(m.tag){case 0:case 11:case 15:Lt(8,m,o)}var h=m.child;if(h!==null)h.return=m,E=h;else for(;E!==null;){m=E;var p=m.sibling,w=m.return;if(Aa(m),m===c){E=null;break}if(p!==null){p.return=w,E=p;break}E=w}}}var S=o.alternate;if(S!==null){var k=S.child;if(k!==null){S.child=null;do{var j=k.sibling;k.sibling=null,k=j}while(k!==null)}}E=o}}if(o.subtreeFlags&2064&&i!==null)i.return=o,E=i;else e:for(;E!==null;){if(o=E,o.flags&2048)switch(o.tag){case 0:case 11:case 15:Lt(9,o,o.return)}var f=o.sibling;if(f!==null){f.return=o.return,E=f;break e}E=o.return}}var a=e.current;for(E=a;E!==null;){i=E;var d=i.child;if(i.subtreeFlags&2064&&d!==null)d.return=i,E=d;else e:for(i=a;E!==null;){if(u=E,u.flags&2048)try{switch(u.tag){case 0:case 11:case 15:fl(9,u)}}catch(x){B(u,u.return,x)}if(u===i){E=null;break e}var v=u.sibling;if(v!==null){v.return=u.return,E=v;break e}E=u.return}}if(D=l,yn(),$e&&typeof $e.onPostCommitFiberRoot=="function")try{$e.onPostCommitFiberRoot(rl,e)}catch{}r=!0}return r}finally{R=t,Ce.transition=n}}return!1}function Vu(e,n,t){n=lt(t,n),n=ja(e,n,1),e=an(e,n,1),n=ue(),e!==null&&(Zt(e,1,n),me(e,n))}function B(e,n,t){if(e.tag===3)Vu(e,e,t);else for(;n!==null;){if(n.tag===3){Vu(n,e,t);break}else if(n.tag===1){var r=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(cn===null||!cn.has(r))){e=lt(t,e),e=La(n,e,1),n=an(n,e,1),e=ue(),n!==null&&(Zt(n,1,e),me(n,e));break}}n=n.return}}function kd(e,n,t){var r=e.pingCache;r!==null&&r.delete(n),n=ue(),e.pingedLanes|=e.suspendedLanes&t,q===e&&(ee&t)===t&&(X===4||X===3&&(ee&130023424)===ee&&500>K()-Ni?_n(e,0):_i|=t),me(e,n)}function Ja(e,n){n===0&&(e.mode&1?(n=sr,sr<<=1,!(sr&130023424)&&(sr=4194304)):n=1);var t=ue();e=Ge(e,n),e!==null&&(Zt(e,n,t),me(e,t))}function Ed(e){var n=e.memoizedState,t=0;n!==null&&(t=n.retryLane),Ja(e,t)}function xd(e,n){var t=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(t=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(y(314))}r!==null&&r.delete(n),Ja(e,t)}var Za;Za=function(e,n,t){if(e!==null)if(e.memoizedProps!==n.pendingProps||de.current)fe=!0;else{if(!(e.lanes&t)&&!(n.flags&128))return fe=!1,cd(e,n,t);fe=!!(e.flags&131072)}else fe=!1,U&&n.flags&1048576&&na(n,Wr,n.index);switch(n.lanes=0,n.tag){case 2:var r=n.type;zr(e,n),e=n.pendingProps;var l=et(n,oe.current);Zn(n,t),l=wi(null,n,r,e,l,t);var o=Si();return n.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,pe(r)?(o=!0,Br(n)):o=!1,n.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,mi(n),l.updater=cl,n.stateNode=l,l._reactInternals=n,No(n,r,e,t),n=jo(null,n,r,!0,o,t)):(n.tag=0,U&&o&&ui(n),ie(null,n,l,t),n=n.child),n;case 16:r=n.elementType;e:{switch(zr(e,n),e=n.pendingProps,l=r._init,r=l(r._payload),n.type=r,l=n.tag=_d(r),e=je(r,e),l){case 0:n=zo(null,n,r,e,t);break e;case 1:n=Tu(null,n,r,e,t);break e;case 11:n=ju(null,n,r,e,t);break e;case 14:n=Lu(null,n,r,je(r.type,e),t);break e}throw Error(y(306,r,""))}return n;case 0:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:je(r,l),zo(e,n,r,l,t);case 1:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:je(r,l),Tu(e,n,r,l,t);case 3:e:{if(Ra(n),e===null)throw Error(y(387));r=n.pendingProps,o=n.memoizedState,l=o.element,ua(e,n),Yr(n,r,null,t);var i=n.memoizedState;if(r=i.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},n.updateQueue.baseState=o,n.memoizedState=o,n.flags&256){l=lt(Error(y(423)),n),n=Iu(e,n,r,t,l);break e}else if(r!==l){l=lt(Error(y(424)),n),n=Iu(e,n,r,t,l);break e}else for(ve=sn(n.stateNode.containerInfo.firstChild),ye=n,U=!0,Te=null,t=oa(n,null,r,t),n.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling;else{if(nt(),r===l){n=Xe(e,n,t);break e}ie(e,n,r,t)}n=n.child}return n;case 5:return sa(n),e===null&&xo(n),r=n.type,l=n.pendingProps,o=e!==null?e.memoizedProps:null,i=l.children,go(r,l)?i=null:o!==null&&go(r,o)&&(n.flags|=32),Da(e,n),ie(e,n,i,t),n.child;case 6:return e===null&&xo(n),null;case 13:return Oa(e,n,t);case 4:return hi(n,n.stateNode.containerInfo),r=n.pendingProps,e===null?n.child=tt(n,null,r,t):ie(e,n,r,t),n.child;case 11:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:je(r,l),ju(e,n,r,l,t);case 7:return ie(e,n,n.pendingProps,t),n.child;case 8:return ie(e,n,n.pendingProps.children,t),n.child;case 12:return ie(e,n,n.pendingProps.children,t),n.child;case 10:e:{if(r=n.type._context,l=n.pendingProps,o=n.memoizedProps,i=l.value,O(Qr,r._currentValue),r._currentValue=i,o!==null)if(Oe(o.value,i)){if(o.children===l.children&&!de.current){n=Xe(e,n,t);break e}}else for(o=n.child,o!==null&&(o.return=n);o!==null;){var u=o.dependencies;if(u!==null){i=o.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(o.tag===1){s=Qe(-1,t&-t),s.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var m=c.pending;m===null?s.next=s:(s.next=m.next,m.next=s),c.pending=s}}o.lanes|=t,s=o.alternate,s!==null&&(s.lanes|=t),Co(o.return,t,n),u.lanes|=t;break}s=s.next}}else if(o.tag===10)i=o.type===n.type?null:o.child;else if(o.tag===18){if(i=o.return,i===null)throw Error(y(341));i.lanes|=t,u=i.alternate,u!==null&&(u.lanes|=t),Co(i,t,n),i=o.sibling}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===n){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}ie(e,n,l.children,t),n=n.child}return n;case 9:return l=n.type,r=n.pendingProps.children,Zn(n,t),l=_e(l),r=r(l),n.flags|=1,ie(e,n,r,t),n.child;case 14:return r=n.type,l=je(r,n.pendingProps),l=je(r.type,l),Lu(e,n,r,l,t);case 15:return Ta(e,n,n.type,n.pendingProps,t);case 17:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:je(r,l),zr(e,n),n.tag=1,pe(r)?(e=!0,Br(n)):e=!1,Zn(n,t),za(n,r,l),No(n,r,l,t),jo(null,n,r,!0,e,t);case 19:return Fa(e,n,t);case 22:return Ia(e,n,t)}throw Error(y(156,n.tag))};function qa(e,n){return _s(e,n)}function Cd(e,n,t,r){this.tag=e,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,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 xe(e,n,t,r){return new Cd(e,n,t,r)}function Li(e){return e=e.prototype,!(!e||!e.isReactComponent)}function _d(e){if(typeof e=="function")return Li(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Xo)return 11;if(e===Jo)return 14}return 2}function dn(e,n){var t=e.alternate;return t===null?(t=xe(e.tag,n,e.key,e.mode),t.elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=n,t.type=e.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=e.flags&14680064,t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,n=e.dependencies,t.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t}function Tr(e,n,t,r,l,o){var i=2;if(r=e,typeof e=="function")Li(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Fn:return Nn(t.children,l,o,n);case Go:i=8,l|=8;break;case Xl:return e=xe(12,t,n,l|2),e.elementType=Xl,e.lanes=o,e;case Jl:return e=xe(13,t,n,l),e.elementType=Jl,e.lanes=o,e;case Zl:return e=xe(19,t,n,l),e.elementType=Zl,e.lanes=o,e;case ss:return pl(t,l,o,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case is:i=10;break e;case us:i=9;break e;case Xo:i=11;break e;case Jo:i=14;break e;case qe:i=16,r=null;break e}throw Error(y(130,e==null?e:typeof e,""))}return n=xe(i,t,n,l),n.elementType=e,n.type=r,n.lanes=o,n}function Nn(e,n,t,r){return e=xe(7,e,r,n),e.lanes=t,e}function pl(e,n,t,r){return e=xe(22,e,r,n),e.elementType=ss,e.lanes=t,e.stateNode={isHidden:!1},e}function Ql(e,n,t){return e=xe(6,e,null,n),e.lanes=t,e}function Kl(e,n,t){return n=xe(4,e.children!==null?e.children:[],e.key,n),n.lanes=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function Nd(e,n,t,r,l){this.tag=n,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=Nl(0),this.expirationTimes=Nl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Nl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Ti(e,n,t,r,l,o,i,u,s){return e=new Nd(e,n,t,u,s),n===1?(n=1,o===!0&&(n|=8)):n=0,o=xe(3,null,null,n),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},mi(o),e}function Pd(e,n,t){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:On,key:r==null?null:""+r,children:e,containerInfo:n,implementation:t}}function ba(e){if(!e)return mn;e=e._reactInternals;e:{if(Dn(e)!==e||e.tag!==1)throw Error(y(170));var n=e;do{switch(n.tag){case 3:n=n.stateNode.context;break e;case 1:if(pe(n.type)){n=n.stateNode.__reactInternalMemoizedMergedChildContext;break e}}n=n.return}while(n!==null);throw Error(y(171))}if(e.tag===1){var t=e.type;if(pe(t))return bs(e,t,n)}return n}function ec(e,n,t,r,l,o,i,u,s){return e=Ti(t,r,!0,e,l,o,i,u,s),e.context=ba(null),t=e.current,r=ue(),l=fn(t),o=Qe(r,l),o.callback=n??null,an(t,o,l),e.current.lanes=l,Zt(e,l,r),me(e,r),e}function ml(e,n,t,r){var l=n.current,o=ue(),i=fn(l);return t=ba(t),n.context===null?n.context=t:n.pendingContext=t,n=Qe(o,i),n.payload={element:e},r=r===void 0?null:r,r!==null&&(n.callback=r),e=an(l,n,i),e!==null&&(Re(e,l,i,o),_r(e,l,i)),i}function nl(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 Bu(e,n){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var t=e.retryLane;e.retryLane=t!==0&&t<n?t:n}}function Ii(e,n){Bu(e,n),(e=e.alternate)&&Bu(e,n)}function zd(){return null}var nc=typeof reportError=="function"?reportError:function(e){console.error(e)};function Di(e){this._internalRoot=e}hl.prototype.render=Di.prototype.render=function(e){var n=this._internalRoot;if(n===null)throw Error(y(409));ml(e,n,null,null)};hl.prototype.unmount=Di.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var n=e.containerInfo;Tn(function(){ml(null,e,null,null)}),n[Ye]=null}};function hl(e){this._internalRoot=e}hl.prototype.unstable_scheduleHydration=function(e){if(e){var n=Is();e={blockedOn:null,target:e,priority:n};for(var t=0;t<en.length&&n!==0&&n<en[t].priority;t++);en.splice(t,0,e),t===0&&Rs(e)}};function Ri(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function vl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Hu(){}function jd(e,n,t,r,l){if(l){if(typeof r=="function"){var o=r;r=function(){var c=nl(i);o.call(c)}}var i=ec(n,r,e,0,null,!1,!1,"",Hu);return e._reactRootContainer=i,e[Ye]=i.current,Vt(e.nodeType===8?e.parentNode:e),Tn(),i}for(;l=e.lastChild;)e.removeChild(l);if(typeof r=="function"){var u=r;r=function(){var c=nl(s);u.call(c)}}var s=Ti(e,0,!1,null,null,!1,!1,"",Hu);return e._reactRootContainer=s,e[Ye]=s.current,Vt(e.nodeType===8?e.parentNode:e),Tn(function(){ml(n,s,t,r)}),s}function yl(e,n,t,r,l){var o=t._reactRootContainer;if(o){var i=o;if(typeof l=="function"){var u=l;l=function(){var s=nl(i);u.call(s)}}ml(n,i,e,l)}else i=jd(t,n,e,l,r);return nl(i)}Ls=function(e){switch(e.tag){case 3:var n=e.stateNode;if(n.current.memoizedState.isDehydrated){var t=Et(n.pendingLanes);t!==0&&(bo(n,t|1),me(n,K()),!(D&6)&&(ot=K()+500,yn()))}break;case 13:Tn(function(){var r=Ge(e,1);if(r!==null){var l=ue();Re(r,e,1,l)}}),Ii(e,1)}};ei=function(e){if(e.tag===13){var n=Ge(e,134217728);if(n!==null){var t=ue();Re(n,e,134217728,t)}Ii(e,134217728)}};Ts=function(e){if(e.tag===13){var n=fn(e),t=Ge(e,n);if(t!==null){var r=ue();Re(t,e,n,r)}Ii(e,n)}};Is=function(){return R};Ds=function(e,n){var t=R;try{return R=e,n()}finally{R=t}};uo=function(e,n,t){switch(n){case"input":if(eo(e,t),n=t.name,t.type==="radio"&&n!=null){for(t=e;t.parentNode;)t=t.parentNode;for(t=t.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),n=0;n<t.length;n++){var r=t[n];if(r!==e&&r.form===e.form){var l=ul(r);if(!l)throw Error(y(90));cs(r),eo(r,l)}}}break;case"textarea":ds(e,t);break;case"select":n=t.value,n!=null&&Yn(e,!!t.multiple,n,!1)}};ws=Pi;Ss=Tn;var Ld={usingClientEntryPoint:!1,Events:[bt,An,ul,ys,gs,Pi]},wt={findFiberByHostInstance:En,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Td={bundleType:wt.bundleType,version:wt.version,rendererPackageName:wt.rendererPackageName,rendererConfig:wt.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Je.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=xs(e),e===null?null:e.stateNode},findFiberByHostInstance:wt.findFiberByHostInstance||zd,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 wr=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!wr.isDisabled&&wr.supportsFiber)try{rl=wr.inject(Td),$e=wr}catch{}}we.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Ld;we.createPortal=function(e,n){var t=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Ri(n))throw Error(y(200));return Pd(e,n,null,t)};we.createRoot=function(e,n){if(!Ri(e))throw Error(y(299));var t=!1,r="",l=nc;return n!=null&&(n.unstable_strictMode===!0&&(t=!0),n.identifierPrefix!==void 0&&(r=n.identifierPrefix),n.onRecoverableError!==void 0&&(l=n.onRecoverableError)),n=Ti(e,1,!1,null,null,t,!1,r,l),e[Ye]=n.current,Vt(e.nodeType===8?e.parentNode:e),new Di(n)};we.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var n=e._reactInternals;if(n===void 0)throw typeof e.render=="function"?Error(y(188)):(e=Object.keys(e).join(","),Error(y(268,e)));return e=xs(n),e=e===null?null:e.stateNode,e};we.flushSync=function(e){return Tn(e)};we.hydrate=function(e,n,t){if(!vl(n))throw Error(y(200));return yl(null,e,n,!0,t)};we.hydrateRoot=function(e,n,t){if(!Ri(e))throw Error(y(405));var r=t!=null&&t.hydratedSources||null,l=!1,o="",i=nc;if(t!=null&&(t.unstable_strictMode===!0&&(l=!0),t.identifierPrefix!==void 0&&(o=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),n=ec(n,null,e,1,t??null,l,!1,o,i),e[Ye]=n.current,Vt(e),r)for(e=0;e<r.length;e++)t=r[e],l=t._getVersion,l=l(t._source),n.mutableSourceEagerHydrationData==null?n.mutableSourceEagerHydrationData=[t,l]:n.mutableSourceEagerHydrationData.push(t,l);return new hl(n)};we.render=function(e,n,t){if(!vl(n))throw Error(y(200));return yl(null,e,n,!1,t)};we.unmountComponentAtNode=function(e){if(!vl(e))throw Error(y(40));return e._reactRootContainer?(Tn(function(){yl(null,null,e,!1,function(){e._reactRootContainer=null,e[Ye]=null})}),!0):!1};we.unstable_batchedUpdates=Pi;we.unstable_renderSubtreeIntoContainer=function(e,n,t,r){if(!vl(t))throw Error(y(200));if(e==null||e._reactInternals===void 0)throw Error(y(38));return yl(e,n,t,!1,r)};we.version="18.3.1-next-f1338f8080-20240426";function tc(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(tc)}catch(e){console.error(e)}}tc(),ts.exports=we;var Id=ts.exports,Wu=Id;Yl.createRoot=Wu.createRoot,Yl.hydrateRoot=Wu.hydrateRoot;function Ie(e){return g.jsxs("div",{className:"input",children:[e.label?g.jsx("label",{htmlFor:e.name,children:e.labelName}):null,g.jsx("input",{name:e.name,id:e.name,type:e.type,value:e.value,onChange:e.onChange,placeholder:e.placeholder})]})}function Dd(e){const[n,t]=H.useState(e.basicInfo.fullName),[r,l]=H.useState(e.basicInfo.location),[o,i]=H.useState(e.basicInfo.phone),[u,s]=H.useState(e.basicInfo.email),c={display:"flex",flexDirection:"column"};return g.jsx(g.Fragment,{children:g.jsx("div",{className:"general-info-form",children:g.jsx("form",{action:"",children:g.jsxs("div",{style:c,children:[g.jsx("h2",{className:"general-info-header",children:"Personal Details"}),g.jsx(Ie,{label:!0,name:"fullName",labelName:"Full name",value:n,placeholder:"",onChange:m=>{t(m.target.value),e.setBasicInfo({...e.basicInfo,fullName:m.target.value})}}),g.jsx(Ie,{label:!0,name:"location",labelName:"Location",placeholder:"",value:r,onChange:m=>{l(m.target.value),e.setBasicInfo({...e.basicInfo,location:m.target.value})}}),g.jsx(Ie,{label:!0,type:"email",name:"email",labelName:"Email",placeholder:"",value:u,onChange:m=>{s(m.target.value),e.setBasicInfo({...e.basicInfo,email:m.target.value})}}),g.jsx(Ie,{type:"text",label:!0,labelName:"Phone",placeholder:"",value:o,onChange:m=>{i(m.target.value),e.setBasicInfo({...e.basicInfo,phone:m.target.value})}})]})})})})}function Rd(e){const n=e.basicInfo;return g.jsx(g.Fragment,{children:n?g.jsxs("div",{className:"basic-info",children:[g.jsx("h1",{children:n.fullName}),g.jsxs("div",{className:"basic-info-details",children:[g.jsx("p",{children:n.location}),g.jsx("p",{children:n.email}),g.jsx("p",{children:n.phone})]})]}):null})}function Od(e){return g.jsxs("div",{className:"education-info",children:[g.jsx("h2",{children:"Education"}),g.jsx(Fd,{educationInfo:e.educationInfo,setEducationInfo:e.setEducationInfo,setEditEducation:e.setEditEducation})]})}function Fd(e){return g.jsx(g.Fragment,{children:e.educationInfo.map(n=>g.jsxs("div",{className:"education-item",children:[g.jsx("h2",{children:n.schoolName}),g.jsxs("p",{children:["Graduation: ",n.graduationDate+" ",n.fieldOfStudy]}),g.jsx("button",{onClick:()=>e.setEditEducation(n),children:"edit"}),g.jsx("button",{onClick:()=>Md(e.educationInfo,n.schoolName,e.setEducationInfo),children:"remove"})]},n.schoolName))})}function Md(e,n,t){const r=e.filter(l=>l.schoolName!==n);t(r)}function it(e){return g.jsx("button",{className:`${e.className} + btn`,onClick:e.onClick,children:e.text})}function Ud(e){return g.jsx(g.Fragment,{children:g.jsx($d,{isActive:e.educationItemActive,educationInfo:e.educationInfo,setEducationInfo:e.setEducationInfo,editSchool:e.editEducation})})}function $d({isActive:e,educationInfo:n,setEducationInfo:t,editSchool:r}){const[l,o]=H.useState(""),[i,u]=H.useState(""),[s,c]=H.useState("");H.useEffect(()=>{r?(o(r.graduationDate),u(r.schoolName),c(r.fieldOfStudy)):(o(""),u(""),c(""))},[r]);let m=r?n.findIndex(p=>p.id===r.id):null;const h={display:"flex",flexDirection:"column"};return g.jsx(g.Fragment,{children:e?g.jsxs("div",{className:"education-info-form",children:[g.jsx("h2",{className:"general-info-header",children:"Education History"}),g.jsxs("form",{action:"",style:h,onSubmit:p=>console.log(p.target),children:[g.jsx(Ie,{label:!0,labelName:"School",name:"School",type:"text",placeholder:"",value:i,onChange:p=>u(p.target.value)}),g.jsx(Ie,{label:!0,labelName:"Graduation date",name:"graduationDate",type:"text",placeholder:"",value:l,onChange:p=>o(p.target.value)}),g.jsx(Ie,{label:!0,labelName:"Degree/Field of study",name:"degree",type:"text",placeholder:"",value:s,onChange:p=>c(p.target.value)}),g.jsxs("div",{className:"btn-group",children:[g.jsx(it,{autoFocus:!0,type:"submit",className:"submit-btn",onClick:p=>{p.preventDefault(),console.log(i,l,s);const w=[...n];m!==-1&&m!==null?(w[m]={schoolName:i,graduationDate:l,fieldOfStudy:s},t(w)):t([...n,{schoolName:i,fieldOfStudy:s,graduationDate:l,id:crypto.randomUUID()}]),o(""),u(""),c("")},text:"Submit"}),g.jsx(it,{onClick:p=>{p.preventDefault(),o(""),u(""),c(""),m=null},text:"Clear"})]})]})]}):null})}function Ad(e){return g.jsx(g.Fragment,{children:g.jsx(Vd,{setJobs:e.setEmploymentHistory,jobs:e.employmentHistory,isActive:e.showJobForm})})}function Vd({isActive:e,jobs:n,setJobs:t}){const[r,l]=H.useState(""),[o,i]=H.useState(""),[u,s]=H.useState([]),[c,m]=H.useState(""),[h,p]=H.useState(""),w={display:"flex",flexDirection:"column"};function S(){l(""),i(""),s(""),p(""),m("")}function k(j,f){j.preventDefault();const a=crypto.randomUUID(),d={...f,id:a};t([...n,d]),S()}return g.jsx(g.Fragment,{children:e?g.jsxs("div",{className:"job-info-form",children:[g.jsx("h2",{className:"general-info-header",children:"Employment History"}),g.jsxs("form",{action:"",style:w,children:[g.jsx(Ie,{name:"employer",label:!0,labelName:"Employer",type:"text",placeholder:"",value:r,onChange:j=>l(j.target.value)}),g.jsx(Ie,{name:"jobTitle",label:!0,labelName:"Job title",type:"text",placeholder:"",value:o,onChange:j=>i(j.target.value)}),g.jsx(Ie,{name:"startDate",label:!0,labelName:"Start date",type:"text",placeholder:"",value:c,onChange:j=>m(j.target.value)}),g.jsx(Ie,{name:"endDate",label:!0,labelName:"End date",type:"text",placeholder:"",value:h,onChange:j=>p(j.target.value)}),g.jsxs("div",{className:"input",children:[g.jsx("label",{children:"Description"}),g.jsx("textarea",{name:"jobDescription",value:u,onChange:j=>s(j.target.value),rows:"5",maxLength:"400"})]}),g.jsxs("div",{className:"btn-group",children:[g.jsx(it,{onClick:j=>k(j,{employer:r,jobTitle:o,jobDescription:u,employmentStart:c,employmentEnd:h}),className:"submit-btn",text:"Submit"}),g.jsx(it,{onClick:j=>{j.preventDefault(),S()},className:"clear-btn",text:"Clear"})]})]})]}):null})}function Bd(e){return g.jsxs("div",{className:"job-info",children:[g.jsx("h2",{children:"Experience"}),g.jsx(Hd,{jobs:e.employmentHistory})]})}function Hd(e){return g.jsx(g.Fragment,{children:e.jobs.map(n=>g.jsxs("div",{className:"job",children:[g.jsxs("div",{className:"job-details",children:[g.jsx("h2",{className:"job-employer",children:n.employer}),g.jsxs("p",{className:"job-dates",children:[n.employmentStart," - ",n.employmentEnd]})]}),g.jsx("h3",{className:"job-title",children:n.jobTitle}),g.jsx("p",{children:n.jobDescription})]},n.id))})}function Wd(){const[e,n]=H.useState({fullName:"Marvin Gaye",phone:"301-240-5555",email:"mgaye@motown.com",location:"Detriot, MI"}),[t,r]=H.useState([]),[l,o]=H.useState(null),[i,u]=H.useState([]),[s,c]=H.useState(!1),[m,h]=H.useState(!1);return g.jsxs("div",{className:"container",children:[g.jsxs("div",{className:"form",children:[g.jsx(Dd,{setBasicInfo:n,basicInfo:e}),g.jsxs("div",{className:"btn-group",children:[g.jsx(it,{onClick:()=>{h(!m)},text:"Add Education",className:"normal-btn"}),g.jsx(it,{onClick:()=>c(!s),text:"Add Employment",className:"normal-btn"})]}),g.jsx(Ud,{educationInfo:t,setEducationInfo:r,setEditEducation:o,editEducation:l,educationItemActive:m}),g.jsx(Ad,{employmentHistory:i,setEmploymentHistory:u,showJobForm:s})]}),g.jsxs("div",{className:"resume",children:[g.jsx(Rd,{basicInfo:e}),g.jsx(Od,{educationInfo:t,setEditEducation:o,setEducationInfo:r}),g.jsx(Bd,{employmentHistory:i})]})]})}Yl.createRoot(document.getElementById("root")).render(g.jsx(Sc.StrictMode,{children:g.jsx(Wd,{})}));