react-translator / assets /index-138f5db2.js
Xenova's picture
Xenova HF staff
Upload 4 files
97188ec
raw
history blame
149 kB
(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 i of l)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function t(l){const i={};return l.integrity&&(i.integrity=l.integrity),l.referrerPolicy&&(i.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?i.credentials="include":l.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(l){if(l.ep)return;l.ep=!0;const i=t(l);fetch(l.href,i)}})();function lc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Wu={exports:{}},el={},Qu={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 Yt=Symbol.for("react.element"),ic=Symbol.for("react.portal"),oc=Symbol.for("react.fragment"),uc=Symbol.for("react.strict_mode"),ac=Symbol.for("react.profiler"),sc=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"),Oo=Symbol.iterator;function hc(e){return e===null||typeof e!="object"?null:(e=Oo&&e[Oo]||e["@@iterator"],typeof e=="function"?e:null)}var Ku={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Gu=Object.assign,Yu={};function it(e,n,t){this.props=e,this.context=n,this.refs=Yu,this.updater=t||Ku}it.prototype.isReactComponent={};it.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")};it.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Xu(){}Xu.prototype=it.prototype;function Ai(e,n,t){this.props=e,this.context=n,this.refs=Yu,this.updater=t||Ku}var Ui=Ai.prototype=new Xu;Ui.constructor=Ai;Gu(Ui,it.prototype);Ui.isPureReactComponent=!0;var Do=Array.isArray,Zu=Object.prototype.hasOwnProperty,$i={current:null},Ju={key:!0,ref:!0,__self:!0,__source:!0};function qu(e,n,t){var r,l={},i=null,o=null;if(n!=null)for(r in n.ref!==void 0&&(o=n.ref),n.key!==void 0&&(i=""+n.key),n)Zu.call(n,r)&&!Ju.hasOwnProperty(r)&&(l[r]=n[r]);var u=arguments.length-2;if(u===1)l.children=t;else if(1<u){for(var a=Array(u),f=0;f<u;f++)a[f]=arguments[f+2];l.children=a}if(e&&e.defaultProps)for(r in u=e.defaultProps,u)l[r]===void 0&&(l[r]=u[r]);return{$$typeof:Yt,type:e,key:i,ref:o,props:l,_owner:$i.current}}function vc(e,n){return{$$typeof:Yt,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}function Bi(e){return typeof e=="object"&&e!==null&&e.$$typeof===Yt}function yc(e){var n={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(t){return n[t]})}var Io=/\/+/g;function wl(e,n){return typeof e=="object"&&e!==null&&e.key!=null?yc(""+e.key):n.toString(36)}function gr(e,n,t,r,l){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var o=!1;if(e===null)o=!0;else switch(i){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case Yt:case ic:o=!0}}if(o)return o=e,l=l(o),e=r===""?"."+wl(o,0):r,Do(l)?(t="",e!=null&&(t=e.replace(Io,"$&/")+"/"),gr(l,n,t,"",function(f){return f})):l!=null&&(Bi(l)&&(l=vc(l,t+(!l.key||o&&o.key===l.key?"":(""+l.key).replace(Io,"$&/")+"/")+e)),n.push(l)),1;if(o=0,r=r===""?".":r+":",Do(e))for(var u=0;u<e.length;u++){i=e[u];var a=r+wl(i,u);o+=gr(i,n,t,a,l)}else if(a=hc(e),typeof a=="function")for(e=a.call(e),u=0;!(i=e.next()).done;)i=i.value,a=r+wl(i,u++),o+=gr(i,n,t,a,l);else if(i==="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 o}function nr(e,n,t){if(e==null)return e;var r=[],l=0;return gr(e,r,"","",function(i){return n.call(t,i,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 ue={current:null},wr={transition:null},wc={ReactCurrentDispatcher:ue,ReactCurrentBatchConfig:wr,ReactCurrentOwner:$i};T.Children={map:nr,forEach:function(e,n,t){nr(e,function(){n.apply(this,arguments)},t)},count:function(e){var n=0;return nr(e,function(){n++}),n},toArray:function(e){return nr(e,function(n){return n})||[]},only:function(e){if(!Bi(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};T.Component=it;T.Fragment=oc;T.Profiler=ac;T.PureComponent=Ai;T.StrictMode=uc;T.Suspense=dc;T.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=wc;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,i=e.ref,o=e._owner;if(n!=null){if(n.ref!==void 0&&(i=n.ref,o=$i.current),n.key!==void 0&&(l=""+n.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(a in n)Zu.call(n,a)&&!Ju.hasOwnProperty(a)&&(r[a]=n[a]===void 0&&u!==void 0?u[a]:n[a])}var a=arguments.length-2;if(a===1)r.children=t;else if(1<a){u=Array(a);for(var f=0;f<a;f++)u[f]=arguments[f+2];r.children=u}return{$$typeof:Yt,type:e.type,key:l,ref:i,props:r,_owner:o}};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:sc,_context:e},e.Consumer=e};T.createElement=qu;T.createFactory=function(e){var n=qu.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=Bi;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=wr.transition;wr.transition={};try{e()}finally{wr.transition=n}};T.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")};T.useCallback=function(e,n){return ue.current.useCallback(e,n)};T.useContext=function(e){return ue.current.useContext(e)};T.useDebugValue=function(){};T.useDeferredValue=function(e){return ue.current.useDeferredValue(e)};T.useEffect=function(e,n){return ue.current.useEffect(e,n)};T.useId=function(){return ue.current.useId()};T.useImperativeHandle=function(e,n,t){return ue.current.useImperativeHandle(e,n,t)};T.useInsertionEffect=function(e,n){return ue.current.useInsertionEffect(e,n)};T.useLayoutEffect=function(e,n){return ue.current.useLayoutEffect(e,n)};T.useMemo=function(e,n){return ue.current.useMemo(e,n)};T.useReducer=function(e,n,t){return ue.current.useReducer(e,n,t)};T.useRef=function(e){return ue.current.useRef(e)};T.useState=function(e){return ue.current.useState(e)};T.useSyncExternalStore=function(e,n,t){return ue.current.useSyncExternalStore(e,n,t)};T.useTransition=function(){return ue.current.useTransition()};T.version="18.2.0";Qu.exports=T;var ke=Qu.exports;const kc=lc(ke);/**
* @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 Sc=ke,_c=Symbol.for("react.element"),Ec=Symbol.for("react.fragment"),Lc=Object.prototype.hasOwnProperty,Cc=Sc.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,xc={key:!0,ref:!0,__self:!0,__source:!0};function bu(e,n,t){var r,l={},i=null,o=null;t!==void 0&&(i=""+t),n.key!==void 0&&(i=""+n.key),n.ref!==void 0&&(o=n.ref);for(r in n)Lc.call(n,r)&&!xc.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:_c,type:e,key:i,ref:o,props:l,_owner:Cc.current}}el.Fragment=Ec;el.jsx=bu;el.jsxs=bu;Wu.exports=el;var F=Wu.exports,Ql={},ea={exports:{}},ge={},na={exports:{}},ta={};/**
* @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(E,N){var P=E.length;E.push(N);e:for(;0<P;){var W=P-1>>>1,X=E[W];if(0<l(X,N))E[W]=N,E[P]=X,P=W;else break e}}function t(E){return E.length===0?null:E[0]}function r(E){if(E.length===0)return null;var N=E[0],P=E.pop();if(P!==N){E[0]=P;e:for(var W=0,X=E.length,bt=X>>>1;W<bt;){var yn=2*(W+1)-1,gl=E[yn],gn=yn+1,er=E[gn];if(0>l(gl,P))gn<X&&0>l(er,gl)?(E[W]=er,E[gn]=P,W=gn):(E[W]=gl,E[yn]=P,W=yn);else if(gn<X&&0>l(er,P))E[W]=er,E[gn]=P,W=gn;else break e}}return N}function l(E,N){var P=E.sortIndex-N.sortIndex;return P!==0?P:E.id-N.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,u=o.now();e.unstable_now=function(){return o.now()-u}}var a=[],f=[],h=1,m=null,p=3,w=!1,g=!1,k=!1,z=typeof setTimeout=="function"?setTimeout:null,c=typeof clearTimeout=="function"?clearTimeout:null,s=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(E){for(var N=t(f);N!==null;){if(N.callback===null)r(f);else if(N.startTime<=E)r(f),N.sortIndex=N.expirationTime,n(a,N);else break;N=t(f)}}function v(E){if(k=!1,d(E),!g)if(t(a)!==null)g=!0,vl(_);else{var N=t(f);N!==null&&yl(v,N.startTime-E)}}function _(E,N){g=!1,k&&(k=!1,c(x),x=-1),w=!0;var P=p;try{for(d(N),m=t(a);m!==null&&(!(m.expirationTime>N)||E&&!Ne());){var W=m.callback;if(typeof W=="function"){m.callback=null,p=m.priorityLevel;var X=W(m.expirationTime<=N);N=e.unstable_now(),typeof X=="function"?m.callback=X:m===t(a)&&r(a),d(N)}else r(a);m=t(a)}if(m!==null)var bt=!0;else{var yn=t(f);yn!==null&&yl(v,yn.startTime-N),bt=!1}return bt}finally{m=null,p=P,w=!1}}var L=!1,C=null,x=-1,H=5,R=-1;function Ne(){return!(e.unstable_now()-R<H)}function at(){if(C!==null){var E=e.unstable_now();R=E;var N=!0;try{N=C(!0,E)}finally{N?st():(L=!1,C=null)}}else L=!1}var st;if(typeof s=="function")st=function(){s(at)};else if(typeof MessageChannel<"u"){var jo=new MessageChannel,rc=jo.port2;jo.port1.onmessage=at,st=function(){rc.postMessage(null)}}else st=function(){z(at,0)};function vl(E){C=E,L||(L=!0,st())}function yl(E,N){x=z(function(){E(e.unstable_now())},N)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(E){E.callback=null},e.unstable_continueExecution=function(){g||w||(g=!0,vl(_))},e.unstable_forceFrameRate=function(E){0>E||125<E?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):H=0<E?Math.floor(1e3/E):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return t(a)},e.unstable_next=function(E){switch(p){case 1:case 2:case 3:var N=3;break;default:N=p}var P=p;p=N;try{return E()}finally{p=P}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(E,N){switch(E){case 1:case 2:case 3:case 4:case 5:break;default:E=3}var P=p;p=E;try{return N()}finally{p=P}},e.unstable_scheduleCallback=function(E,N,P){var W=e.unstable_now();switch(typeof P=="object"&&P!==null?(P=P.delay,P=typeof P=="number"&&0<P?W+P:W):P=W,E){case 1:var X=-1;break;case 2:X=250;break;case 5:X=1073741823;break;case 4:X=1e4;break;default:X=5e3}return X=P+X,E={id:h++,callback:N,priorityLevel:E,startTime:P,expirationTime:X,sortIndex:-1},P>W?(E.sortIndex=P,n(f,E),t(a)===null&&E===t(f)&&(k?(c(x),x=-1):k=!0,yl(v,P-W))):(E.sortIndex=X,n(a,E),g||w||(g=!0,vl(_))),E},e.unstable_shouldYield=Ne,e.unstable_wrapCallback=function(E){var N=p;return function(){var P=p;p=N;try{return E.apply(this,arguments)}finally{p=P}}}})(ta);na.exports=ta;var Nc=na.exports;/**
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var ra=ke,ye=Nc;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 la=new Set,Rt={};function Rn(e,n){qn(e,n),qn(e+"Capture",n)}function qn(e,n){for(Rt[e]=n,e=0;e<n.length;e++)la.add(n[e])}var Qe=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Kl=Object.prototype.hasOwnProperty,Pc=/^[: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]*$/,Fo={},Ao={};function zc(e){return Kl.call(Ao,e)?!0:Kl.call(Fo,e)?!1:Pc.test(e)?Ao[e]=!0:(Fo[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 Rc(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,i,o){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=i,this.removeEmptyString=o}var ee={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ee[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];ee[n]=new ae(n,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ee[e]=new ae(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ee[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){ee[e]=new ae(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ee[e]=new ae(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ee[e]=new ae(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ee[e]=new ae(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ee[e]=new ae(e,5,!1,e.toLowerCase(),null,!1,!1)});var Vi=/[\-:]([a-z])/g;function Hi(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(Vi,Hi);ee[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(Vi,Hi);ee[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(Vi,Hi);ee[n]=new ae(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ee[e]=new ae(e,1,!1,e.toLowerCase(),null,!1,!1)});ee.xlinkHref=new ae("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ee[e]=new ae(e,1,!1,e.toLowerCase(),null,!0,!0)});function Wi(e,n,t,r){var l=ee.hasOwnProperty(n)?ee[n]:null;(l!==null?l.type!==0:r||!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(Rc(n,t,l,r)&&(t=null),r||l===null?zc(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 Xe=ra.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,tr=Symbol.for("react.element"),On=Symbol.for("react.portal"),Dn=Symbol.for("react.fragment"),Qi=Symbol.for("react.strict_mode"),Gl=Symbol.for("react.profiler"),ia=Symbol.for("react.provider"),oa=Symbol.for("react.context"),Ki=Symbol.for("react.forward_ref"),Yl=Symbol.for("react.suspense"),Xl=Symbol.for("react.suspense_list"),Gi=Symbol.for("react.memo"),Je=Symbol.for("react.lazy"),ua=Symbol.for("react.offscreen"),Uo=Symbol.iterator;function ct(e){return e===null||typeof e!="object"?null:(e=Uo&&e[Uo]||e["@@iterator"],typeof e=="function"?e:null)}var B=Object.assign,kl;function gt(e){if(kl===void 0)try{throw Error()}catch(t){var n=t.stack.trim().match(/\n( *(at )?)/);kl=n&&n[1]||""}return`
`+kl+e}var Sl=!1;function _l(e,n){if(!e||Sl)return"";Sl=!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(f){var r=f}Reflect.construct(e,[],n)}else{try{n.call()}catch(f){r=f}e.call(n.prototype)}else{try{throw Error()}catch(f){r=f}e()}}catch(f){if(f&&r&&typeof f.stack=="string"){for(var l=f.stack.split(`
`),i=r.stack.split(`
`),o=l.length-1,u=i.length-1;1<=o&&0<=u&&l[o]!==i[u];)u--;for(;1<=o&&0<=u;o--,u--)if(l[o]!==i[u]){if(o!==1||u!==1)do if(o--,u--,0>u||l[o]!==i[u]){var a=`
`+l[o].replace(" at new "," at ");return e.displayName&&a.includes("<anonymous>")&&(a=a.replace("<anonymous>",e.displayName)),a}while(1<=o&&0<=u);break}}}finally{Sl=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?gt(e):""}function Mc(e){switch(e.tag){case 5:return gt(e.type);case 16:return gt("Lazy");case 13:return gt("Suspense");case 19:return gt("SuspenseList");case 0:case 2:case 15:return e=_l(e.type,!1),e;case 11:return e=_l(e.type.render,!1),e;case 1:return e=_l(e.type,!0),e;default:return""}}function Zl(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 Dn:return"Fragment";case On:return"Portal";case Gl:return"Profiler";case Qi:return"StrictMode";case Yl:return"Suspense";case Xl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case oa:return(e.displayName||"Context")+".Consumer";case ia:return(e._context.displayName||"Context")+".Provider";case Ki:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Gi:return n=e.displayName||null,n!==null?n:Zl(e.type)||"Memo";case Je:n=e._payload,e=e._init;try{return Zl(e(n))}catch{}}return null}function jc(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 Zl(n);case 8:return n===Qi?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n}return null}function dn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function aa(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Oc(e){var n=aa(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,i=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return l.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,n,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function rr(e){e._valueTracker||(e._valueTracker=Oc(e))}function sa(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),r="";return e&&(r=aa(e)?e.checked?"true":"false":e.value),e=r,e!==t?(n.setValue(e),!0):!1}function Tr(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 Jl(e,n){var t=n.checked;return B({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t??e._wrapperState.initialChecked})}function $o(e,n){var t=n.defaultValue==null?"":n.defaultValue,r=n.checked!=null?n.checked:n.defaultChecked;t=dn(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 ca(e,n){n=n.checked,n!=null&&Wi(e,"checked",n,!1)}function ql(e,n){ca(e,n);var t=dn(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")?bl(e,n.type,t):n.hasOwnProperty("defaultValue")&&bl(e,n.type,dn(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function Bo(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 bl(e,n,t){(n!=="number"||Tr(e.ownerDocument)!==e)&&(t==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}var wt=Array.isArray;function Kn(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=""+dn(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 ei(e,n){if(n.dangerouslySetInnerHTML!=null)throw Error(y(91));return B({},n,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Vo(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(wt(t)){if(1<t.length)throw Error(y(93));t=t[0]}n=t}n==null&&(n=""),t=n}e._wrapperState={initialValue:dn(t)}}function fa(e,n){var t=dn(n.value),r=dn(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 Ho(e){var n=e.textContent;n===e._wrapperState.initialValue&&n!==""&&n!==null&&(e.value=n)}function da(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 ni(e,n){return e==null||e==="http://www.w3.org/1999/xhtml"?da(n):e==="http://www.w3.org/2000/svg"&&n==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var lr,pa=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(lr=lr||document.createElement("div"),lr.innerHTML="<svg>"+n.valueOf().toString()+"</svg>",n=lr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function Mt(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&t.nodeType===3){t.nodeValue=n;return}}e.textContent=n}var _t={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},Dc=["Webkit","ms","Moz","O"];Object.keys(_t).forEach(function(e){Dc.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),_t[n]=_t[e]})});function ma(e,n,t){return n==null||typeof n=="boolean"||n===""?"":t||typeof n!="number"||n===0||_t.hasOwnProperty(e)&&_t[e]?(""+n).trim():n+"px"}function ha(e,n){e=e.style;for(var t in n)if(n.hasOwnProperty(t)){var r=t.indexOf("--")===0,l=ma(t,n[t],r);t==="float"&&(t="cssFloat"),r?e.setProperty(t,l):e[t]=l}}var Ic=B({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 ti(e,n){if(n){if(Ic[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 ri(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 li=null;function Yi(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ii=null,Gn=null,Yn=null;function Wo(e){if(e=Jt(e)){if(typeof ii!="function")throw Error(y(280));var n=e.stateNode;n&&(n=il(n),ii(e.stateNode,e.type,n))}}function va(e){Gn?Yn?Yn.push(e):Yn=[e]:Gn=e}function ya(){if(Gn){var e=Gn,n=Yn;if(Yn=Gn=null,Wo(e),n)for(e=0;e<n.length;e++)Wo(n[e])}}function ga(e,n){return e(n)}function wa(){}var El=!1;function ka(e,n,t){if(El)return e(n,t);El=!0;try{return ga(e,n,t)}finally{El=!1,(Gn!==null||Yn!==null)&&(wa(),ya())}}function jt(e,n){var t=e.stateNode;if(t===null)return null;var r=il(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 oi=!1;if(Qe)try{var ft={};Object.defineProperty(ft,"passive",{get:function(){oi=!0}}),window.addEventListener("test",ft,ft),window.removeEventListener("test",ft,ft)}catch{oi=!1}function Fc(e,n,t,r,l,i,o,u,a){var f=Array.prototype.slice.call(arguments,3);try{n.apply(t,f)}catch(h){this.onError(h)}}var Et=!1,Rr=null,Mr=!1,ui=null,Ac={onError:function(e){Et=!0,Rr=e}};function Uc(e,n,t,r,l,i,o,u,a){Et=!1,Rr=null,Fc.apply(Ac,arguments)}function $c(e,n,t,r,l,i,o,u,a){if(Uc.apply(this,arguments),Et){if(Et){var f=Rr;Et=!1,Rr=null}else throw Error(y(198));Mr||(Mr=!0,ui=f)}}function Mn(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 Sa(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 Qo(e){if(Mn(e)!==e)throw Error(y(188))}function Bc(e){var n=e.alternate;if(!n){if(n=Mn(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 i=l.alternate;if(i===null){if(r=l.return,r!==null){t=r;continue}break}if(l.child===i.child){for(i=l.child;i;){if(i===t)return Qo(l),e;if(i===r)return Qo(l),n;i=i.sibling}throw Error(y(188))}if(t.return!==r.return)t=l,r=i;else{for(var o=!1,u=l.child;u;){if(u===t){o=!0,t=l,r=i;break}if(u===r){o=!0,r=l,t=i;break}u=u.sibling}if(!o){for(u=i.child;u;){if(u===t){o=!0,t=i,r=l;break}if(u===r){o=!0,r=i,t=l;break}u=u.sibling}if(!o)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 _a(e){return e=Bc(e),e!==null?Ea(e):null}function Ea(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var n=Ea(e);if(n!==null)return n;e=e.sibling}return null}var La=ye.unstable_scheduleCallback,Ko=ye.unstable_cancelCallback,Vc=ye.unstable_shouldYield,Hc=ye.unstable_requestPaint,Q=ye.unstable_now,Wc=ye.unstable_getCurrentPriorityLevel,Xi=ye.unstable_ImmediatePriority,Ca=ye.unstable_UserBlockingPriority,jr=ye.unstable_NormalPriority,Qc=ye.unstable_LowPriority,xa=ye.unstable_IdlePriority,nl=null,Ae=null;function Kc(e){if(Ae&&typeof Ae.onCommitFiberRoot=="function")try{Ae.onCommitFiberRoot(nl,e,void 0,(e.current.flags&128)===128)}catch{}}var Me=Math.clz32?Math.clz32:Xc,Gc=Math.log,Yc=Math.LN2;function Xc(e){return e>>>=0,e===0?32:31-(Gc(e)/Yc|0)|0}var ir=64,or=4194304;function kt(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 Or(e,n){var t=e.pendingLanes;if(t===0)return 0;var r=0,l=e.suspendedLanes,i=e.pingedLanes,o=t&268435455;if(o!==0){var u=o&~l;u!==0?r=kt(u):(i&=o,i!==0&&(r=kt(i)))}else o=t&~l,o!==0?r=kt(o):i!==0&&(r=kt(i));if(r===0)return 0;if(n!==0&&n!==r&&!(n&l)&&(l=r&-r,i=n&-n,l>=i||l===16&&(i&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-Me(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 Jc(e,n){for(var t=e.suspendedLanes,r=e.pingedLanes,l=e.expirationTimes,i=e.pendingLanes;0<i;){var o=31-Me(i),u=1<<o,a=l[o];a===-1?(!(u&t)||u&r)&&(l[o]=Zc(u,n)):a<=n&&(e.expiredLanes|=u),i&=~u}}function ai(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Na(){var e=ir;return ir<<=1,!(ir&4194240)&&(ir=64),e}function Ll(e){for(var n=[],t=0;31>t;t++)n.push(e);return n}function Xt(e,n,t){e.pendingLanes|=n,n!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,n=31-Me(n),e[n]=t}function qc(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-Me(t),i=1<<l;n[l]=0,r[l]=-1,e[l]=-1,t&=~i}}function Zi(e,n){var t=e.entangledLanes|=n;for(e=e.entanglements;t;){var r=31-Me(t),l=1<<r;l&n|e[r]&n&&(e[r]|=n),t&=~l}}var j=0;function Pa(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var za,Ji,Ta,Ra,Ma,si=!1,ur=[],rn=null,ln=null,on=null,Ot=new Map,Dt=new Map,be=[],bc="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 Go(e,n){switch(e){case"focusin":case"focusout":rn=null;break;case"dragenter":case"dragleave":ln=null;break;case"mouseover":case"mouseout":on=null;break;case"pointerover":case"pointerout":Ot.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":Dt.delete(n.pointerId)}}function dt(e,n,t,r,l,i){return e===null||e.nativeEvent!==i?(e={blockedOn:n,domEventName:t,eventSystemFlags:r,nativeEvent:i,targetContainers:[l]},n!==null&&(n=Jt(n),n!==null&&Ji(n)),e):(e.eventSystemFlags|=r,n=e.targetContainers,l!==null&&n.indexOf(l)===-1&&n.push(l),e)}function ef(e,n,t,r,l){switch(n){case"focusin":return rn=dt(rn,e,n,t,r,l),!0;case"dragenter":return ln=dt(ln,e,n,t,r,l),!0;case"mouseover":return on=dt(on,e,n,t,r,l),!0;case"pointerover":var i=l.pointerId;return Ot.set(i,dt(Ot.get(i)||null,e,n,t,r,l)),!0;case"gotpointercapture":return i=l.pointerId,Dt.set(i,dt(Dt.get(i)||null,e,n,t,r,l)),!0}return!1}function ja(e){var n=Sn(e.target);if(n!==null){var t=Mn(n);if(t!==null){if(n=t.tag,n===13){if(n=Sa(t),n!==null){e.blockedOn=n,Ma(e.priority,function(){Ta(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 kr(e){if(e.blockedOn!==null)return!1;for(var n=e.targetContainers;0<n.length;){var t=ci(e.domEventName,e.eventSystemFlags,n[0],e.nativeEvent);if(t===null){t=e.nativeEvent;var r=new t.constructor(t.type,t);li=r,t.target.dispatchEvent(r),li=null}else return n=Jt(t),n!==null&&Ji(n),e.blockedOn=t,!1;n.shift()}return!0}function Yo(e,n,t){kr(e)&&t.delete(n)}function nf(){si=!1,rn!==null&&kr(rn)&&(rn=null),ln!==null&&kr(ln)&&(ln=null),on!==null&&kr(on)&&(on=null),Ot.forEach(Yo),Dt.forEach(Yo)}function pt(e,n){e.blockedOn===n&&(e.blockedOn=null,si||(si=!0,ye.unstable_scheduleCallback(ye.unstable_NormalPriority,nf)))}function It(e){function n(l){return pt(l,e)}if(0<ur.length){pt(ur[0],e);for(var t=1;t<ur.length;t++){var r=ur[t];r.blockedOn===e&&(r.blockedOn=null)}}for(rn!==null&&pt(rn,e),ln!==null&&pt(ln,e),on!==null&&pt(on,e),Ot.forEach(n),Dt.forEach(n),t=0;t<be.length;t++)r=be[t],r.blockedOn===e&&(r.blockedOn=null);for(;0<be.length&&(t=be[0],t.blockedOn===null);)ja(t),t.blockedOn===null&&be.shift()}var Xn=Xe.ReactCurrentBatchConfig,Dr=!0;function tf(e,n,t,r){var l=j,i=Xn.transition;Xn.transition=null;try{j=1,qi(e,n,t,r)}finally{j=l,Xn.transition=i}}function rf(e,n,t,r){var l=j,i=Xn.transition;Xn.transition=null;try{j=4,qi(e,n,t,r)}finally{j=l,Xn.transition=i}}function qi(e,n,t,r){if(Dr){var l=ci(e,n,t,r);if(l===null)Ol(e,n,r,Ir,t),Go(e,r);else if(ef(l,e,n,t,r))r.stopPropagation();else if(Go(e,r),n&4&&-1<bc.indexOf(e)){for(;l!==null;){var i=Jt(l);if(i!==null&&za(i),i=ci(e,n,t,r),i===null&&Ol(e,n,r,Ir,t),i===l)break;l=i}l!==null&&r.stopPropagation()}else Ol(e,n,r,null,t)}}var Ir=null;function ci(e,n,t,r){if(Ir=null,e=Yi(r),e=Sn(e),e!==null)if(n=Mn(e),n===null)e=null;else if(t=n.tag,t===13){if(e=Sa(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 Ir=e,null}function Oa(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(Wc()){case Xi:return 1;case Ca:return 4;case jr:case Qc:return 16;case xa:return 536870912;default:return 16}default:return 16}}var nn=null,bi=null,Sr=null;function Da(){if(Sr)return Sr;var e,n=bi,t=n.length,r,l="value"in nn?nn.value:nn.textContent,i=l.length;for(e=0;e<t&&n[e]===l[e];e++);var o=t-e;for(r=1;r<=o&&n[t-r]===l[i-r];r++);return Sr=l.slice(e,1<r?1-r:void 0)}function _r(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 ar(){return!0}function Xo(){return!1}function we(e){function n(t,r,l,i,o){this._reactName=t,this._targetInst=l,this.type=r,this.nativeEvent=i,this.target=o,this.currentTarget=null;for(var u in e)e.hasOwnProperty(u)&&(t=e[u],this[u]=t?t(i):i[u]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?ar:Xo,this.isPropagationStopped=Xo,this}return B(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=ar)},stopPropagation:function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():typeof t.cancelBubble!="unknown"&&(t.cancelBubble=!0),this.isPropagationStopped=ar)},persist:function(){},isPersistent:ar}),n}var ot={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},eo=we(ot),Zt=B({},ot,{view:0,detail:0}),lf=we(Zt),Cl,xl,mt,tl=B({},Zt,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:no,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!==mt&&(mt&&e.type==="mousemove"?(Cl=e.screenX-mt.screenX,xl=e.screenY-mt.screenY):xl=Cl=0,mt=e),Cl)},movementY:function(e){return"movementY"in e?e.movementY:xl}}),Zo=we(tl),of=B({},tl,{dataTransfer:0}),uf=we(of),af=B({},Zt,{relatedTarget:0}),Nl=we(af),sf=B({},ot,{animationName:0,elapsedTime:0,pseudoElement:0}),cf=we(sf),ff=B({},ot,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),df=we(ff),pf=B({},ot,{data:0}),Jo=we(pf),mf={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},hf={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"},vf={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function yf(e){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(e):(e=vf[e])?!!n[e]:!1}function no(){return yf}var gf=B({},Zt,{key:function(e){if(e.key){var n=mf[e.key]||e.key;if(n!=="Unidentified")return n}return e.type==="keypress"?(e=_r(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?hf[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:no,charCode:function(e){return e.type==="keypress"?_r(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?_r(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),wf=we(gf),kf=B({},tl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),qo=we(kf),Sf=B({},Zt,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:no}),_f=we(Sf),Ef=B({},ot,{propertyName:0,elapsedTime:0,pseudoElement:0}),Lf=we(Ef),Cf=B({},tl,{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}),xf=we(Cf),Nf=[9,13,27,32],to=Qe&&"CompositionEvent"in window,Lt=null;Qe&&"documentMode"in document&&(Lt=document.documentMode);var Pf=Qe&&"TextEvent"in window&&!Lt,Ia=Qe&&(!to||Lt&&8<Lt&&11>=Lt),bo=String.fromCharCode(32),eu=!1;function Fa(e,n){switch(e){case"keyup":return Nf.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Aa(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var In=!1;function zf(e,n){switch(e){case"compositionend":return Aa(n);case"keypress":return n.which!==32?null:(eu=!0,bo);case"textInput":return e=n.data,e===bo&&eu?null:e;default:return null}}function Tf(e,n){if(In)return e==="compositionend"||!to&&Fa(e,n)?(e=Da(),Sr=bi=nn=null,In=!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 Ia&&n.locale!=="ko"?null:n.data;default:return null}}var Rf={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 nu(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n==="input"?!!Rf[e.type]:n==="textarea"}function Ua(e,n,t,r){va(r),n=Fr(n,"onChange"),0<n.length&&(t=new eo("onChange","change",null,t,r),e.push({event:t,listeners:n}))}var Ct=null,Ft=null;function Mf(e){Za(e,0)}function rl(e){var n=Un(e);if(sa(n))return e}function jf(e,n){if(e==="change")return n}var $a=!1;if(Qe){var Pl;if(Qe){var zl="oninput"in document;if(!zl){var tu=document.createElement("div");tu.setAttribute("oninput","return;"),zl=typeof tu.oninput=="function"}Pl=zl}else Pl=!1;$a=Pl&&(!document.documentMode||9<document.documentMode)}function ru(){Ct&&(Ct.detachEvent("onpropertychange",Ba),Ft=Ct=null)}function Ba(e){if(e.propertyName==="value"&&rl(Ft)){var n=[];Ua(n,Ft,e,Yi(e)),ka(Mf,n)}}function Of(e,n,t){e==="focusin"?(ru(),Ct=n,Ft=t,Ct.attachEvent("onpropertychange",Ba)):e==="focusout"&&ru()}function Df(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return rl(Ft)}function If(e,n){if(e==="click")return rl(n)}function Ff(e,n){if(e==="input"||e==="change")return rl(n)}function Af(e,n){return e===n&&(e!==0||1/e===1/n)||e!==e&&n!==n}var Oe=typeof Object.is=="function"?Object.is:Af;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(!Kl.call(n,l)||!Oe(e[l],n[l]))return!1}return!0}function lu(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function iu(e,n){var t=lu(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=lu(t)}}function Va(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?Va(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function Ha(){for(var e=window,n=Tr();n instanceof e.HTMLIFrameElement;){try{var t=typeof n.contentWindow.location.href=="string"}catch{t=!1}if(t)e=n.contentWindow;else break;n=Tr(e.document)}return n}function ro(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 Uf(e){var n=Ha(),t=e.focusedElem,r=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&Va(t.ownerDocument.documentElement,t)){if(r!==null&&ro(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,i=Math.min(r.start,l);r=r.end===void 0?i:Math.min(r.end,l),!e.extend&&i>r&&(l=r,r=i,i=l),l=iu(t,i);var o=iu(t,r);l&&o&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(n=n.createRange(),n.setStart(l.node,l.offset),e.removeAllRanges(),i>r?(e.addRange(n),e.extend(o.node,o.offset)):(n.setEnd(o.node,o.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 $f=Qe&&"documentMode"in document&&11>=document.documentMode,Fn=null,fi=null,xt=null,di=!1;function ou(e,n,t){var r=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;di||Fn==null||Fn!==Tr(r)||(r=Fn,"selectionStart"in r&&ro(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}),xt&&At(xt,r)||(xt=r,r=Fr(fi,"onSelect"),0<r.length&&(n=new eo("onSelect","select",null,n,t),e.push({event:n,listeners:r}),n.target=Fn)))}function sr(e,n){var t={};return t[e.toLowerCase()]=n.toLowerCase(),t["Webkit"+e]="webkit"+n,t["Moz"+e]="moz"+n,t}var An={animationend:sr("Animation","AnimationEnd"),animationiteration:sr("Animation","AnimationIteration"),animationstart:sr("Animation","AnimationStart"),transitionend:sr("Transition","TransitionEnd")},Tl={},Wa={};Qe&&(Wa=document.createElement("div").style,"AnimationEvent"in window||(delete An.animationend.animation,delete An.animationiteration.animation,delete An.animationstart.animation),"TransitionEvent"in window||delete An.transitionend.transition);function ll(e){if(Tl[e])return Tl[e];if(!An[e])return e;var n=An[e],t;for(t in n)if(n.hasOwnProperty(t)&&t in Wa)return Tl[e]=n[t];return e}var Qa=ll("animationend"),Ka=ll("animationiteration"),Ga=ll("animationstart"),Ya=ll("transitionend"),Xa=new Map,uu="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 mn(e,n){Xa.set(e,n),Rn(n,[e])}for(var Rl=0;Rl<uu.length;Rl++){var Ml=uu[Rl],Bf=Ml.toLowerCase(),Vf=Ml[0].toUpperCase()+Ml.slice(1);mn(Bf,"on"+Vf)}mn(Qa,"onAnimationEnd");mn(Ka,"onAnimationIteration");mn(Ga,"onAnimationStart");mn("dblclick","onDoubleClick");mn("focusin","onFocus");mn("focusout","onBlur");mn(Ya,"onTransitionEnd");qn("onMouseEnter",["mouseout","mouseover"]);qn("onMouseLeave",["mouseout","mouseover"]);qn("onPointerEnter",["pointerout","pointerover"]);qn("onPointerLeave",["pointerout","pointerover"]);Rn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Rn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Rn("onBeforeInput",["compositionend","keypress","textInput","paste"]);Rn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Rn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Rn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var St="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(" "),Hf=new Set("cancel close invalid load scroll toggle".split(" ").concat(St));function au(e,n,t){var r=e.type||"unknown-event";e.currentTarget=t,$c(r,n,void 0,e),e.currentTarget=null}function Za(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 i=void 0;if(n)for(var o=r.length-1;0<=o;o--){var u=r[o],a=u.instance,f=u.currentTarget;if(u=u.listener,a!==i&&l.isPropagationStopped())break e;au(l,u,f),i=a}else for(o=0;o<r.length;o++){if(u=r[o],a=u.instance,f=u.currentTarget,u=u.listener,a!==i&&l.isPropagationStopped())break e;au(l,u,f),i=a}}}if(Mr)throw e=ui,Mr=!1,ui=null,e}function D(e,n){var t=n[yi];t===void 0&&(t=n[yi]=new Set);var r=e+"__bubble";t.has(r)||(Ja(n,e,2,!1),t.add(r))}function jl(e,n,t){var r=0;n&&(r|=4),Ja(t,e,r,n)}var cr="_reactListening"+Math.random().toString(36).slice(2);function Ut(e){if(!e[cr]){e[cr]=!0,la.forEach(function(t){t!=="selectionchange"&&(Hf.has(t)||jl(t,!1,e),jl(t,!0,e))});var n=e.nodeType===9?e:e.ownerDocument;n===null||n[cr]||(n[cr]=!0,jl("selectionchange",!1,n))}}function Ja(e,n,t,r){switch(Oa(n)){case 1:var l=tf;break;case 4:l=rf;break;default:l=qi}t=l.bind(null,n,t,e),l=void 0,!oi||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 Ol(e,n,t,r,l){var i=r;if(!(n&1)&&!(n&2)&&r!==null)e:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var u=r.stateNode.containerInfo;if(u===l||u.nodeType===8&&u.parentNode===l)break;if(o===4)for(o=r.return;o!==null;){var a=o.tag;if((a===3||a===4)&&(a=o.stateNode.containerInfo,a===l||a.nodeType===8&&a.parentNode===l))return;o=o.return}for(;u!==null;){if(o=Sn(u),o===null)return;if(a=o.tag,a===5||a===6){r=i=o;continue e}u=u.parentNode}}r=r.return}ka(function(){var f=i,h=Yi(t),m=[];e:{var p=Xa.get(e);if(p!==void 0){var w=eo,g=e;switch(e){case"keypress":if(_r(t)===0)break e;case"keydown":case"keyup":w=wf;break;case"focusin":g="focus",w=Nl;break;case"focusout":g="blur",w=Nl;break;case"beforeblur":case"afterblur":w=Nl;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=Zo;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":w=uf;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":w=_f;break;case Qa:case Ka:case Ga:w=cf;break;case Ya:w=Lf;break;case"scroll":w=lf;break;case"wheel":w=xf;break;case"copy":case"cut":case"paste":w=df;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":w=qo}var k=(n&4)!==0,z=!k&&e==="scroll",c=k?p!==null?p+"Capture":null:p;k=[];for(var s=f,d;s!==null;){d=s;var v=d.stateNode;if(d.tag===5&&v!==null&&(d=v,c!==null&&(v=jt(s,c),v!=null&&k.push($t(s,v,d)))),z)break;s=s.return}0<k.length&&(p=new w(p,g,null,t,h),m.push({event:p,listeners:k}))}}if(!(n&7)){e:{if(p=e==="mouseover"||e==="pointerover",w=e==="mouseout"||e==="pointerout",p&&t!==li&&(g=t.relatedTarget||t.fromElement)&&(Sn(g)||g[Ke]))break e;if((w||p)&&(p=h.window===h?h:(p=h.ownerDocument)?p.defaultView||p.parentWindow:window,w?(g=t.relatedTarget||t.toElement,w=f,g=g?Sn(g):null,g!==null&&(z=Mn(g),g!==z||g.tag!==5&&g.tag!==6)&&(g=null)):(w=null,g=f),w!==g)){if(k=Zo,v="onMouseLeave",c="onMouseEnter",s="mouse",(e==="pointerout"||e==="pointerover")&&(k=qo,v="onPointerLeave",c="onPointerEnter",s="pointer"),z=w==null?p:Un(w),d=g==null?p:Un(g),p=new k(v,s+"leave",w,t,h),p.target=z,p.relatedTarget=d,v=null,Sn(h)===f&&(k=new k(c,s+"enter",g,t,h),k.target=d,k.relatedTarget=z,v=k),z=v,w&&g)n:{for(k=w,c=g,s=0,d=k;d;d=jn(d))s++;for(d=0,v=c;v;v=jn(v))d++;for(;0<s-d;)k=jn(k),s--;for(;0<d-s;)c=jn(c),d--;for(;s--;){if(k===c||c!==null&&k===c.alternate)break n;k=jn(k),c=jn(c)}k=null}else k=null;w!==null&&su(m,p,w,k,!1),g!==null&&z!==null&&su(m,z,g,k,!0)}}e:{if(p=f?Un(f):window,w=p.nodeName&&p.nodeName.toLowerCase(),w==="select"||w==="input"&&p.type==="file")var _=jf;else if(nu(p))if($a)_=Ff;else{_=Df;var L=Of}else(w=p.nodeName)&&w.toLowerCase()==="input"&&(p.type==="checkbox"||p.type==="radio")&&(_=If);if(_&&(_=_(e,f))){Ua(m,_,t,h);break e}L&&L(e,p,f),e==="focusout"&&(L=p._wrapperState)&&L.controlled&&p.type==="number"&&bl(p,"number",p.value)}switch(L=f?Un(f):window,e){case"focusin":(nu(L)||L.contentEditable==="true")&&(Fn=L,fi=f,xt=null);break;case"focusout":xt=fi=Fn=null;break;case"mousedown":di=!0;break;case"contextmenu":case"mouseup":case"dragend":di=!1,ou(m,t,h);break;case"selectionchange":if($f)break;case"keydown":case"keyup":ou(m,t,h)}var C;if(to)e:{switch(e){case"compositionstart":var x="onCompositionStart";break e;case"compositionend":x="onCompositionEnd";break e;case"compositionupdate":x="onCompositionUpdate";break e}x=void 0}else In?Fa(e,t)&&(x="onCompositionEnd"):e==="keydown"&&t.keyCode===229&&(x="onCompositionStart");x&&(Ia&&t.locale!=="ko"&&(In||x!=="onCompositionStart"?x==="onCompositionEnd"&&In&&(C=Da()):(nn=h,bi="value"in nn?nn.value:nn.textContent,In=!0)),L=Fr(f,x),0<L.length&&(x=new Jo(x,e,null,t,h),m.push({event:x,listeners:L}),C?x.data=C:(C=Aa(t),C!==null&&(x.data=C)))),(C=Pf?zf(e,t):Tf(e,t))&&(f=Fr(f,"onBeforeInput"),0<f.length&&(h=new Jo("onBeforeInput","beforeinput",null,t,h),m.push({event:h,listeners:f}),h.data=C))}Za(m,n)})}function $t(e,n,t){return{instance:e,listener:n,currentTarget:t}}function Fr(e,n){for(var t=n+"Capture",r=[];e!==null;){var l=e,i=l.stateNode;l.tag===5&&i!==null&&(l=i,i=jt(e,t),i!=null&&r.unshift($t(e,i,l)),i=jt(e,n),i!=null&&r.push($t(e,i,l))),e=e.return}return r}function jn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function su(e,n,t,r,l){for(var i=n._reactName,o=[];t!==null&&t!==r;){var u=t,a=u.alternate,f=u.stateNode;if(a!==null&&a===r)break;u.tag===5&&f!==null&&(u=f,l?(a=jt(t,i),a!=null&&o.unshift($t(t,a,u))):l||(a=jt(t,i),a!=null&&o.push($t(t,a,u)))),t=t.return}o.length!==0&&e.push({event:n,listeners:o})}var Wf=/\r\n?/g,Qf=/\u0000|\uFFFD/g;function cu(e){return(typeof e=="string"?e:""+e).replace(Wf,`
`).replace(Qf,"")}function fr(e,n,t){if(n=cu(n),cu(e)!==n&&t)throw Error(y(425))}function Ar(){}var pi=null,mi=null;function hi(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 vi=typeof setTimeout=="function"?setTimeout:void 0,Kf=typeof clearTimeout=="function"?clearTimeout:void 0,fu=typeof Promise=="function"?Promise:void 0,Gf=typeof queueMicrotask=="function"?queueMicrotask:typeof fu<"u"?function(e){return fu.resolve(null).then(e).catch(Yf)}:vi;function Yf(e){setTimeout(function(){throw e})}function Dl(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),It(n);return}r--}else t!=="$"&&t!=="$?"&&t!=="$!"||r++;t=l}while(t);It(n)}function un(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 du(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 ut=Math.random().toString(36).slice(2),Fe="__reactFiber$"+ut,Bt="__reactProps$"+ut,Ke="__reactContainer$"+ut,yi="__reactEvents$"+ut,Xf="__reactListeners$"+ut,Zf="__reactHandles$"+ut;function Sn(e){var n=e[Fe];if(n)return n;for(var t=e.parentNode;t;){if(n=t[Ke]||t[Fe]){if(t=n.alternate,n.child!==null||t!==null&&t.child!==null)for(e=du(e);e!==null;){if(t=e[Fe])return t;e=du(e)}return n}e=t,t=e.parentNode}return null}function Jt(e){return e=e[Fe]||e[Ke],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Un(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(y(33))}function il(e){return e[Bt]||null}var gi=[],$n=-1;function hn(e){return{current:e}}function I(e){0>$n||(e.current=gi[$n],gi[$n]=null,$n--)}function O(e,n){$n++,gi[$n]=e.current,e.current=n}var pn={},le=hn(pn),fe=hn(!1),xn=pn;function bn(e,n){var t=e.type.contextTypes;if(!t)return pn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===n)return r.__reactInternalMemoizedMaskedChildContext;var l={},i;for(i in t)l[i]=n[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=l),l}function de(e){return e=e.childContextTypes,e!=null}function Ur(){I(fe),I(le)}function pu(e,n,t){if(le.current!==pn)throw Error(y(168));O(le,n),O(fe,t)}function qa(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,jc(e)||"Unknown",l));return B({},t,r)}function $r(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||pn,xn=le.current,O(le,e),O(fe,fe.current),!0}function mu(e,n,t){var r=e.stateNode;if(!r)throw Error(y(169));t?(e=qa(e,n,xn),r.__reactInternalMemoizedMergedChildContext=e,I(fe),I(le),O(le,e)):I(fe),O(fe,t)}var Be=null,ol=!1,Il=!1;function ba(e){Be===null?Be=[e]:Be.push(e)}function Jf(e){ol=!0,ba(e)}function vn(){if(!Il&&Be!==null){Il=!0;var e=0,n=j;try{var t=Be;for(j=1;e<t.length;e++){var r=t[e];do r=r(!0);while(r!==null)}Be=null,ol=!1}catch(l){throw Be!==null&&(Be=Be.slice(e+1)),La(Xi,vn),l}finally{j=n,Il=!1}}return null}var Bn=[],Vn=0,Br=null,Vr=0,Se=[],_e=0,Nn=null,Ve=1,He="";function wn(e,n){Bn[Vn++]=Vr,Bn[Vn++]=Br,Br=e,Vr=n}function es(e,n,t){Se[_e++]=Ve,Se[_e++]=He,Se[_e++]=Nn,Nn=e;var r=Ve;e=He;var l=32-Me(r)-1;r&=~(1<<l),t+=1;var i=32-Me(n)+l;if(30<i){var o=l-l%5;i=(r&(1<<o)-1).toString(32),r>>=o,l-=o,Ve=1<<32-Me(n)+l|t<<l|r,He=i+e}else Ve=1<<i|t<<l|r,He=e}function lo(e){e.return!==null&&(wn(e,1),es(e,1,0))}function io(e){for(;e===Br;)Br=Bn[--Vn],Bn[Vn]=null,Vr=Bn[--Vn],Bn[Vn]=null;for(;e===Nn;)Nn=Se[--_e],Se[_e]=null,He=Se[--_e],Se[_e]=null,Ve=Se[--_e],Se[_e]=null}var ve=null,he=null,A=!1,Re=null;function ns(e,n){var t=Ee(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 hu(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,ve=e,he=un(n.firstChild),!0):!1;case 6:return n=e.pendingProps===""||n.nodeType!==3?null:n,n!==null?(e.stateNode=n,ve=e,he=null,!0):!1;case 13:return n=n.nodeType!==8?null:n,n!==null?(t=Nn!==null?{id:Ve,overflow:He}:null,e.memoizedState={dehydrated:n,treeContext:t,retryLane:1073741824},t=Ee(18,null,null,0),t.stateNode=n,t.return=e,e.child=t,ve=e,he=null,!0):!1;default:return!1}}function wi(e){return(e.mode&1)!==0&&(e.flags&128)===0}function ki(e){if(A){var n=he;if(n){var t=n;if(!hu(e,n)){if(wi(e))throw Error(y(418));n=un(t.nextSibling);var r=ve;n&&hu(e,n)?ns(r,t):(e.flags=e.flags&-4097|2,A=!1,ve=e)}}else{if(wi(e))throw Error(y(418));e.flags=e.flags&-4097|2,A=!1,ve=e}}}function vu(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;ve=e}function dr(e){if(e!==ve)return!1;if(!A)return vu(e),A=!0,!1;var n;if((n=e.tag!==3)&&!(n=e.tag!==5)&&(n=e.type,n=n!=="head"&&n!=="body"&&!hi(e.type,e.memoizedProps)),n&&(n=he)){if(wi(e))throw ts(),Error(y(418));for(;n;)ns(e,n),n=un(n.nextSibling)}if(vu(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){he=un(e.nextSibling);break e}n--}else t!=="$"&&t!=="$!"&&t!=="$?"||n++}e=e.nextSibling}he=null}}else he=ve?un(e.stateNode.nextSibling):null;return!0}function ts(){for(var e=he;e;)e=un(e.nextSibling)}function et(){he=ve=null,A=!1}function oo(e){Re===null?Re=[e]:Re.push(e)}var qf=Xe.ReactCurrentBatchConfig;function ze(e,n){if(e&&e.defaultProps){n=B({},n),e=e.defaultProps;for(var t in e)n[t]===void 0&&(n[t]=e[t]);return n}return n}var Hr=hn(null),Wr=null,Hn=null,uo=null;function ao(){uo=Hn=Wr=null}function so(e){var n=Hr.current;I(Hr),e._currentValue=n}function Si(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){Wr=e,uo=Hn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&n&&(ce=!0),e.firstContext=null)}function Ce(e){var n=e._currentValue;if(uo!==e)if(e={context:e,memoizedValue:n,next:null},Hn===null){if(Wr===null)throw Error(y(308));Hn=e,Wr.dependencies={lanes:0,firstContext:e}}else Hn=Hn.next=e;return n}var _n=null;function co(e){_n===null?_n=[e]:_n.push(e)}function rs(e,n,t,r){var l=n.interleaved;return l===null?(t.next=t,co(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 qe=!1;function fo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function ls(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 We(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,M&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,co(r)):(n.next=l.next,l.next=n),r.interleaved=n,Ge(e,t)}function Er(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,Zi(e,t)}}function yu(e,n){var t=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,t===r)){var l=null,i=null;if(t=t.firstBaseUpdate,t!==null){do{var o={eventTime:t.eventTime,lane:t.lane,tag:t.tag,payload:t.payload,callback:t.callback,next:null};i===null?l=i=o:i=i.next=o,t=t.next}while(t!==null);i===null?l=i=n:i=i.next=n}else l=i=n;t={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:i,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 Qr(e,n,t,r){var l=e.updateQueue;qe=!1;var i=l.firstBaseUpdate,o=l.lastBaseUpdate,u=l.shared.pending;if(u!==null){l.shared.pending=null;var a=u,f=a.next;a.next=null,o===null?i=f:o.next=f,o=a;var h=e.alternate;h!==null&&(h=h.updateQueue,u=h.lastBaseUpdate,u!==o&&(u===null?h.firstBaseUpdate=f:u.next=f,h.lastBaseUpdate=a))}if(i!==null){var m=l.baseState;o=0,h=f=a=null,u=i;do{var p=u.lane,w=u.eventTime;if((r&p)===p){h!==null&&(h=h.next={eventTime:w,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var g=e,k=u;switch(p=n,w=t,k.tag){case 1:if(g=k.payload,typeof g=="function"){m=g.call(w,m,p);break e}m=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=k.payload,p=typeof g=="function"?g.call(w,m,p):g,p==null)break e;m=B({},m,p);break e;case 2:qe=!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},h===null?(f=h=w,a=m):h=h.next=w,o|=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(1);if(h===null&&(a=m),l.baseState=a,l.firstBaseUpdate=f,l.lastBaseUpdate=h,n=l.shared.interleaved,n!==null){l=n;do o|=l.lane,l=l.next;while(l!==n)}else i===null&&(l.shared.lanes=0);zn|=o,e.lanes=o,e.memoizedState=m}}function gu(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 is=new ra.Component().refs;function _i(e,n,t,r){n=e.memoizedState,t=t(r,n),t=t==null?n:B({},n,t),e.memoizedState=t,e.lanes===0&&(e.updateQueue.baseState=t)}var ul={isMounted:function(e){return(e=e._reactInternals)?Mn(e)===e:!1},enqueueSetState:function(e,n,t){e=e._reactInternals;var r=oe(),l=cn(e),i=We(r,l);i.payload=n,t!=null&&(i.callback=t),n=an(e,i,l),n!==null&&(je(n,e,l,r),Er(n,e,l))},enqueueReplaceState:function(e,n,t){e=e._reactInternals;var r=oe(),l=cn(e),i=We(r,l);i.tag=1,i.payload=n,t!=null&&(i.callback=t),n=an(e,i,l),n!==null&&(je(n,e,l,r),Er(n,e,l))},enqueueForceUpdate:function(e,n){e=e._reactInternals;var t=oe(),r=cn(e),l=We(t,r);l.tag=2,n!=null&&(l.callback=n),n=an(e,l,r),n!==null&&(je(n,e,r,t),Er(n,e,r))}};function wu(e,n,t,r,l,i,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,o):n.prototype&&n.prototype.isPureReactComponent?!At(t,r)||!At(l,i):!0}function os(e,n,t){var r=!1,l=pn,i=n.contextType;return typeof i=="object"&&i!==null?i=Ce(i):(l=de(n)?xn:le.current,r=n.contextTypes,i=(r=r!=null)?bn(e,l):pn),n=new n(t,i),e.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=ul,e.stateNode=n,n._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=i),n}function ku(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&&ul.enqueueReplaceState(n,n.state,null)}function Ei(e,n,t,r){var l=e.stateNode;l.props=t,l.state=e.memoizedState,l.refs=is,fo(e);var i=n.contextType;typeof i=="object"&&i!==null?l.context=Ce(i):(i=de(n)?xn:le.current,l.context=bn(e,i)),l.state=e.memoizedState,i=n.getDerivedStateFromProps,typeof i=="function"&&(_i(e,n,i,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&&ul.enqueueReplaceState(l,l.state,null),Qr(e,t,l,r),l.state=e.memoizedState),typeof l.componentDidMount=="function"&&(e.flags|=4194308)}function ht(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,i=""+e;return n!==null&&n.ref!==null&&typeof n.ref=="function"&&n.ref._stringRef===i?n.ref:(n=function(o){var u=l.refs;u===is&&(u=l.refs={}),o===null?delete u[i]:u[i]=o},n._stringRef=i,n)}if(typeof e!="string")throw Error(y(284));if(!t._owner)throw Error(y(290,e))}return e}function pr(e,n){throw e=Object.prototype.toString.call(n),Error(y(31,e==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":e))}function Su(e){var n=e._init;return n(e._payload)}function us(e){function n(c,s){if(e){var d=c.deletions;d===null?(c.deletions=[s],c.flags|=16):d.push(s)}}function t(c,s){if(!e)return null;for(;s!==null;)n(c,s),s=s.sibling;return null}function r(c,s){for(c=new Map;s!==null;)s.key!==null?c.set(s.key,s):c.set(s.index,s),s=s.sibling;return c}function l(c,s){return c=fn(c,s),c.index=0,c.sibling=null,c}function i(c,s,d){return c.index=d,e?(d=c.alternate,d!==null?(d=d.index,d<s?(c.flags|=2,s):d):(c.flags|=2,s)):(c.flags|=1048576,s)}function o(c){return e&&c.alternate===null&&(c.flags|=2),c}function u(c,s,d,v){return s===null||s.tag!==6?(s=Hl(d,c.mode,v),s.return=c,s):(s=l(s,d),s.return=c,s)}function a(c,s,d,v){var _=d.type;return _===Dn?h(c,s,d.props.children,v,d.key):s!==null&&(s.elementType===_||typeof _=="object"&&_!==null&&_.$$typeof===Je&&Su(_)===s.type)?(v=l(s,d.props),v.ref=ht(c,s,d),v.return=c,v):(v=zr(d.type,d.key,d.props,null,c.mode,v),v.ref=ht(c,s,d),v.return=c,v)}function f(c,s,d,v){return s===null||s.tag!==4||s.stateNode.containerInfo!==d.containerInfo||s.stateNode.implementation!==d.implementation?(s=Wl(d,c.mode,v),s.return=c,s):(s=l(s,d.children||[]),s.return=c,s)}function h(c,s,d,v,_){return s===null||s.tag!==7?(s=Cn(d,c.mode,v,_),s.return=c,s):(s=l(s,d),s.return=c,s)}function m(c,s,d){if(typeof s=="string"&&s!==""||typeof s=="number")return s=Hl(""+s,c.mode,d),s.return=c,s;if(typeof s=="object"&&s!==null){switch(s.$$typeof){case tr:return d=zr(s.type,s.key,s.props,null,c.mode,d),d.ref=ht(c,null,s),d.return=c,d;case On:return s=Wl(s,c.mode,d),s.return=c,s;case Je:var v=s._init;return m(c,v(s._payload),d)}if(wt(s)||ct(s))return s=Cn(s,c.mode,d,null),s.return=c,s;pr(c,s)}return null}function p(c,s,d,v){var _=s!==null?s.key:null;if(typeof d=="string"&&d!==""||typeof d=="number")return _!==null?null:u(c,s,""+d,v);if(typeof d=="object"&&d!==null){switch(d.$$typeof){case tr:return d.key===_?a(c,s,d,v):null;case On:return d.key===_?f(c,s,d,v):null;case Je:return _=d._init,p(c,s,_(d._payload),v)}if(wt(d)||ct(d))return _!==null?null:h(c,s,d,v,null);pr(c,d)}return null}function w(c,s,d,v,_){if(typeof v=="string"&&v!==""||typeof v=="number")return c=c.get(d)||null,u(s,c,""+v,_);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case tr:return c=c.get(v.key===null?d:v.key)||null,a(s,c,v,_);case On:return c=c.get(v.key===null?d:v.key)||null,f(s,c,v,_);case Je:var L=v._init;return w(c,s,d,L(v._payload),_)}if(wt(v)||ct(v))return c=c.get(d)||null,h(s,c,v,_,null);pr(s,v)}return null}function g(c,s,d,v){for(var _=null,L=null,C=s,x=s=0,H=null;C!==null&&x<d.length;x++){C.index>x?(H=C,C=null):H=C.sibling;var R=p(c,C,d[x],v);if(R===null){C===null&&(C=H);break}e&&C&&R.alternate===null&&n(c,C),s=i(R,s,x),L===null?_=R:L.sibling=R,L=R,C=H}if(x===d.length)return t(c,C),A&&wn(c,x),_;if(C===null){for(;x<d.length;x++)C=m(c,d[x],v),C!==null&&(s=i(C,s,x),L===null?_=C:L.sibling=C,L=C);return A&&wn(c,x),_}for(C=r(c,C);x<d.length;x++)H=w(C,c,x,d[x],v),H!==null&&(e&&H.alternate!==null&&C.delete(H.key===null?x:H.key),s=i(H,s,x),L===null?_=H:L.sibling=H,L=H);return e&&C.forEach(function(Ne){return n(c,Ne)}),A&&wn(c,x),_}function k(c,s,d,v){var _=ct(d);if(typeof _!="function")throw Error(y(150));if(d=_.call(d),d==null)throw Error(y(151));for(var L=_=null,C=s,x=s=0,H=null,R=d.next();C!==null&&!R.done;x++,R=d.next()){C.index>x?(H=C,C=null):H=C.sibling;var Ne=p(c,C,R.value,v);if(Ne===null){C===null&&(C=H);break}e&&C&&Ne.alternate===null&&n(c,C),s=i(Ne,s,x),L===null?_=Ne:L.sibling=Ne,L=Ne,C=H}if(R.done)return t(c,C),A&&wn(c,x),_;if(C===null){for(;!R.done;x++,R=d.next())R=m(c,R.value,v),R!==null&&(s=i(R,s,x),L===null?_=R:L.sibling=R,L=R);return A&&wn(c,x),_}for(C=r(c,C);!R.done;x++,R=d.next())R=w(C,c,x,R.value,v),R!==null&&(e&&R.alternate!==null&&C.delete(R.key===null?x:R.key),s=i(R,s,x),L===null?_=R:L.sibling=R,L=R);return e&&C.forEach(function(at){return n(c,at)}),A&&wn(c,x),_}function z(c,s,d,v){if(typeof d=="object"&&d!==null&&d.type===Dn&&d.key===null&&(d=d.props.children),typeof d=="object"&&d!==null){switch(d.$$typeof){case tr:e:{for(var _=d.key,L=s;L!==null;){if(L.key===_){if(_=d.type,_===Dn){if(L.tag===7){t(c,L.sibling),s=l(L,d.props.children),s.return=c,c=s;break e}}else if(L.elementType===_||typeof _=="object"&&_!==null&&_.$$typeof===Je&&Su(_)===L.type){t(c,L.sibling),s=l(L,d.props),s.ref=ht(c,L,d),s.return=c,c=s;break e}t(c,L);break}else n(c,L);L=L.sibling}d.type===Dn?(s=Cn(d.props.children,c.mode,v,d.key),s.return=c,c=s):(v=zr(d.type,d.key,d.props,null,c.mode,v),v.ref=ht(c,s,d),v.return=c,c=v)}return o(c);case On:e:{for(L=d.key;s!==null;){if(s.key===L)if(s.tag===4&&s.stateNode.containerInfo===d.containerInfo&&s.stateNode.implementation===d.implementation){t(c,s.sibling),s=l(s,d.children||[]),s.return=c,c=s;break e}else{t(c,s);break}else n(c,s);s=s.sibling}s=Wl(d,c.mode,v),s.return=c,c=s}return o(c);case Je:return L=d._init,z(c,s,L(d._payload),v)}if(wt(d))return g(c,s,d,v);if(ct(d))return k(c,s,d,v);pr(c,d)}return typeof d=="string"&&d!==""||typeof d=="number"?(d=""+d,s!==null&&s.tag===6?(t(c,s.sibling),s=l(s,d),s.return=c,c=s):(t(c,s),s=Hl(d,c.mode,v),s.return=c,c=s),o(c)):t(c,s)}return z}var nt=us(!0),as=us(!1),qt={},Ue=hn(qt),Vt=hn(qt),Ht=hn(qt);function En(e){if(e===qt)throw Error(y(174));return e}function po(e,n){switch(O(Ht,n),O(Vt,e),O(Ue,qt),e=n.nodeType,e){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:ni(null,"");break;default:e=e===8?n.parentNode:n,n=e.namespaceURI||null,e=e.tagName,n=ni(n,e)}I(Ue),O(Ue,n)}function tt(){I(Ue),I(Vt),I(Ht)}function ss(e){En(Ht.current);var n=En(Ue.current),t=ni(n,e.type);n!==t&&(O(Vt,e),O(Ue,t))}function mo(e){Vt.current===e&&(I(Ue),I(Vt))}var U=hn(0);function Kr(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 Fl=[];function ho(){for(var e=0;e<Fl.length;e++)Fl[e]._workInProgressVersionPrimary=null;Fl.length=0}var Lr=Xe.ReactCurrentDispatcher,Al=Xe.ReactCurrentBatchConfig,Pn=0,$=null,G=null,Z=null,Gr=!1,Nt=!1,Wt=0,bf=0;function ne(){throw Error(y(321))}function vo(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 yo(e,n,t,r,l,i){if(Pn=i,$=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,Lr.current=e===null||e.memoizedState===null?rd:ld,e=t(r,l),Nt){i=0;do{if(Nt=!1,Wt=0,25<=i)throw Error(y(301));i+=1,Z=G=null,n.updateQueue=null,Lr.current=id,e=t(r,l)}while(Nt)}if(Lr.current=Yr,n=G!==null&&G.next!==null,Pn=0,Z=G=$=null,Gr=!1,n)throw Error(y(300));return e}function go(){var e=Wt!==0;return Wt=0,e}function Ie(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Z===null?$.memoizedState=Z=e:Z=Z.next=e,Z}function xe(){if(G===null){var e=$.alternate;e=e!==null?e.memoizedState:null}else e=G.next;var n=Z===null?$.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?$.memoizedState=Z=e:Z=Z.next=e}return Z}function Qt(e,n){return typeof n=="function"?n(e):n}function Ul(e){var n=xe(),t=n.queue;if(t===null)throw Error(y(311));t.lastRenderedReducer=e;var r=G,l=r.baseQueue,i=t.pending;if(i!==null){if(l!==null){var o=l.next;l.next=i.next,i.next=o}r.baseQueue=l=i,t.pending=null}if(l!==null){i=l.next,r=r.baseState;var u=o=null,a=null,f=i;do{var h=f.lane;if((Pn&h)===h)a!==null&&(a=a.next={lane:0,action:f.action,hasEagerState:f.hasEagerState,eagerState:f.eagerState,next:null}),r=f.hasEagerState?f.eagerState:e(r,f.action);else{var m={lane:h,action:f.action,hasEagerState:f.hasEagerState,eagerState:f.eagerState,next:null};a===null?(u=a=m,o=r):a=a.next=m,$.lanes|=h,zn|=h}f=f.next}while(f!==null&&f!==i);a===null?o=r:a.next=u,Oe(r,n.memoizedState)||(ce=!0),n.memoizedState=r,n.baseState=o,n.baseQueue=a,t.lastRenderedState=r}if(e=t.interleaved,e!==null){l=e;do i=l.lane,$.lanes|=i,zn|=i,l=l.next;while(l!==e)}else l===null&&(t.lanes=0);return[n.memoizedState,t.dispatch]}function $l(e){var n=xe(),t=n.queue;if(t===null)throw Error(y(311));t.lastRenderedReducer=e;var r=t.dispatch,l=t.pending,i=n.memoizedState;if(l!==null){t.pending=null;var o=l=l.next;do i=e(i,o.action),o=o.next;while(o!==l);Oe(i,n.memoizedState)||(ce=!0),n.memoizedState=i,n.baseQueue===null&&(n.baseState=i),t.lastRenderedState=i}return[i,r]}function cs(){}function fs(e,n){var t=$,r=xe(),l=n(),i=!Oe(r.memoizedState,l);if(i&&(r.memoizedState=l,ce=!0),r=r.queue,wo(ms.bind(null,t,r,e),[e]),r.getSnapshot!==n||i||Z!==null&&Z.memoizedState.tag&1){if(t.flags|=2048,Kt(9,ps.bind(null,t,r,l,n),void 0,null),J===null)throw Error(y(349));Pn&30||ds(t,n,l)}return l}function ds(e,n,t){e.flags|=16384,e={getSnapshot:n,value:t},n=$.updateQueue,n===null?(n={lastEffect:null,stores:null},$.updateQueue=n,n.stores=[e]):(t=n.stores,t===null?n.stores=[e]:t.push(e))}function ps(e,n,t,r){n.value=t,n.getSnapshot=r,hs(n)&&vs(e)}function ms(e,n,t){return t(function(){hs(n)&&vs(e)})}function hs(e){var n=e.getSnapshot;e=e.value;try{var t=n();return!Oe(e,t)}catch{return!0}}function vs(e){var n=Ge(e,1);n!==null&&je(n,e,1,-1)}function _u(e){var n=Ie();return typeof e=="function"&&(e=e()),n.memoizedState=n.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Qt,lastRenderedState:e},n.queue=e,e=e.dispatch=td.bind(null,$,e),[n.memoizedState,e]}function Kt(e,n,t,r){return e={tag:e,create:n,destroy:t,deps:r,next:null},n=$.updateQueue,n===null?(n={lastEffect:null,stores:null},$.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 ys(){return xe().memoizedState}function Cr(e,n,t,r){var l=Ie();$.flags|=e,l.memoizedState=Kt(1|n,t,void 0,r===void 0?null:r)}function al(e,n,t,r){var l=xe();r=r===void 0?null:r;var i=void 0;if(G!==null){var o=G.memoizedState;if(i=o.destroy,r!==null&&vo(r,o.deps)){l.memoizedState=Kt(n,t,i,r);return}}$.flags|=e,l.memoizedState=Kt(1|n,t,i,r)}function Eu(e,n){return Cr(8390656,8,e,n)}function wo(e,n){return al(2048,8,e,n)}function gs(e,n){return al(4,2,e,n)}function ws(e,n){return al(4,4,e,n)}function ks(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 Ss(e,n,t){return t=t!=null?t.concat([e]):null,al(4,4,ks.bind(null,n,e),t)}function ko(){}function _s(e,n){var t=xe();n=n===void 0?null:n;var r=t.memoizedState;return r!==null&&n!==null&&vo(n,r[1])?r[0]:(t.memoizedState=[e,n],e)}function Es(e,n){var t=xe();n=n===void 0?null:n;var r=t.memoizedState;return r!==null&&n!==null&&vo(n,r[1])?r[0]:(e=e(),t.memoizedState=[e,n],e)}function Ls(e,n,t){return Pn&21?(Oe(t,n)||(t=Na(),$.lanes|=t,zn|=t,e.baseState=!0),n):(e.baseState&&(e.baseState=!1,ce=!0),e.memoizedState=t)}function ed(e,n){var t=j;j=t!==0&&4>t?t:4,e(!0);var r=Al.transition;Al.transition={};try{e(!1),n()}finally{j=t,Al.transition=r}}function Cs(){return xe().memoizedState}function nd(e,n,t){var r=cn(e);if(t={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null},xs(e))Ns(n,t);else if(t=rs(e,n,t,r),t!==null){var l=oe();je(t,e,r,l),Ps(t,n,r)}}function td(e,n,t){var r=cn(e),l={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(xs(e))Ns(n,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=n.lastRenderedReducer,i!==null))try{var o=n.lastRenderedState,u=i(o,t);if(l.hasEagerState=!0,l.eagerState=u,Oe(u,o)){var a=n.interleaved;a===null?(l.next=l,co(n)):(l.next=a.next,a.next=l),n.interleaved=l;return}}catch{}finally{}t=rs(e,n,l,r),t!==null&&(l=oe(),je(t,e,r,l),Ps(t,n,r))}}function xs(e){var n=e.alternate;return e===$||n!==null&&n===$}function Ns(e,n){Nt=Gr=!0;var t=e.pending;t===null?n.next=n:(n.next=t.next,t.next=n),e.pending=n}function Ps(e,n,t){if(t&4194240){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,Zi(e,t)}}var Yr={readContext:Ce,useCallback:ne,useContext:ne,useEffect:ne,useImperativeHandle:ne,useInsertionEffect:ne,useLayoutEffect:ne,useMemo:ne,useReducer:ne,useRef:ne,useState:ne,useDebugValue:ne,useDeferredValue:ne,useTransition:ne,useMutableSource:ne,useSyncExternalStore:ne,useId:ne,unstable_isNewReconciler:!1},rd={readContext:Ce,useCallback:function(e,n){return Ie().memoizedState=[e,n===void 0?null:n],e},useContext:Ce,useEffect:Eu,useImperativeHandle:function(e,n,t){return t=t!=null?t.concat([e]):null,Cr(4194308,4,ks.bind(null,n,e),t)},useLayoutEffect:function(e,n){return Cr(4194308,4,e,n)},useInsertionEffect:function(e,n){return Cr(4,2,e,n)},useMemo:function(e,n){var t=Ie();return n=n===void 0?null:n,e=e(),t.memoizedState=[e,n],e},useReducer:function(e,n,t){var r=Ie();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=nd.bind(null,$,e),[r.memoizedState,e]},useRef:function(e){var n=Ie();return e={current:e},n.memoizedState=e},useState:_u,useDebugValue:ko,useDeferredValue:function(e){return Ie().memoizedState=e},useTransition:function(){var e=_u(!1),n=e[0];return e=ed.bind(null,e[1]),Ie().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,t){var r=$,l=Ie();if(A){if(t===void 0)throw Error(y(407));t=t()}else{if(t=n(),J===null)throw Error(y(349));Pn&30||ds(r,n,t)}l.memoizedState=t;var i={value:t,getSnapshot:n};return l.queue=i,Eu(ms.bind(null,r,i,e),[e]),r.flags|=2048,Kt(9,ps.bind(null,r,i,t,n),void 0,null),t},useId:function(){var e=Ie(),n=J.identifierPrefix;if(A){var t=He,r=Ve;t=(r&~(1<<32-Me(r)-1)).toString(32)+t,n=":"+n+"R"+t,t=Wt++,0<t&&(n+="H"+t.toString(32)),n+=":"}else t=bf++,n=":"+n+"r"+t.toString(32)+":";return e.memoizedState=n},unstable_isNewReconciler:!1},ld={readContext:Ce,useCallback:_s,useContext:Ce,useEffect:wo,useImperativeHandle:Ss,useInsertionEffect:gs,useLayoutEffect:ws,useMemo:Es,useReducer:Ul,useRef:ys,useState:function(){return Ul(Qt)},useDebugValue:ko,useDeferredValue:function(e){var n=xe();return Ls(n,G.memoizedState,e)},useTransition:function(){var e=Ul(Qt)[0],n=xe().memoizedState;return[e,n]},useMutableSource:cs,useSyncExternalStore:fs,useId:Cs,unstable_isNewReconciler:!1},id={readContext:Ce,useCallback:_s,useContext:Ce,useEffect:wo,useImperativeHandle:Ss,useInsertionEffect:gs,useLayoutEffect:ws,useMemo:Es,useReducer:$l,useRef:ys,useState:function(){return $l(Qt)},useDebugValue:ko,useDeferredValue:function(e){var n=xe();return G===null?n.memoizedState=e:Ls(n,G.memoizedState,e)},useTransition:function(){var e=$l(Qt)[0],n=xe().memoizedState;return[e,n]},useMutableSource:cs,useSyncExternalStore:fs,useId:Cs,unstable_isNewReconciler:!1};function rt(e,n){try{var t="",r=n;do t+=Mc(r),r=r.return;while(r);var l=t}catch(i){l=`
Error generating stack: `+i.message+`
`+i.stack}return{value:e,source:n,stack:l,digest:null}}function Bl(e,n,t){return{value:e,source:null,stack:t??null,digest:n??null}}function Li(e,n){try{console.error(n.value)}catch(t){setTimeout(function(){throw t})}}var od=typeof WeakMap=="function"?WeakMap:Map;function zs(e,n,t){t=We(-1,t),t.tag=3,t.payload={element:null};var r=n.value;return t.callback=function(){Zr||(Zr=!0,Oi=r),Li(e,n)},t}function Ts(e,n,t){t=We(-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(){Li(e,n)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(t.callback=function(){Li(e,n),typeof r!="function"&&(sn===null?sn=new Set([this]):sn.add(this));var o=n.stack;this.componentDidCatch(n.value,{componentStack:o!==null?o:""})}),t}function Lu(e,n,t){var r=e.pingCache;if(r===null){r=e.pingCache=new od;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 Cu(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 xu(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=We(-1,1),n.tag=2,an(t,n,1))),t.lanes|=1),e)}var ud=Xe.ReactCurrentOwner,ce=!1;function ie(e,n,t,r){n.child=e===null?as(n,null,t,r):nt(n,e.child,t,r)}function Nu(e,n,t,r,l){t=t.render;var i=n.ref;return Zn(n,l),r=yo(e,n,t,r,i,l),t=go(),e!==null&&!ce?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~l,Ye(e,n,l)):(A&&t&&lo(n),n.flags|=1,ie(e,n,r,l),n.child)}function Pu(e,n,t,r,l){if(e===null){var i=t.type;return typeof i=="function"&&!Po(i)&&i.defaultProps===void 0&&t.compare===null&&t.defaultProps===void 0?(n.tag=15,n.type=i,Rs(e,n,i,r,l)):(e=zr(t.type,null,r,n,n.mode,l),e.ref=n.ref,e.return=n,n.child=e)}if(i=e.child,!(e.lanes&l)){var o=i.memoizedProps;if(t=t.compare,t=t!==null?t:At,t(o,r)&&e.ref===n.ref)return Ye(e,n,l)}return n.flags|=1,e=fn(i,r),e.ref=n.ref,e.return=n,n.child=e}function Rs(e,n,t,r,l){if(e!==null){var i=e.memoizedProps;if(At(i,r)&&e.ref===n.ref)if(ce=!1,n.pendingProps=r=i,(e.lanes&l)!==0)e.flags&131072&&(ce=!0);else return n.lanes=e.lanes,Ye(e,n,l)}return Ci(e,n,t,r,l)}function Ms(e,n,t){var r=n.pendingProps,l=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(n.mode&1))n.memoizedState={baseLanes:0,cachePool:null,transitions:null},O(Qn,me),me|=t;else{if(!(t&1073741824))return e=i!==null?i.baseLanes|t:t,n.lanes=n.childLanes=1073741824,n.memoizedState={baseLanes:e,cachePool:null,transitions:null},n.updateQueue=null,O(Qn,me),me|=e,null;n.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:t,O(Qn,me),me|=r}else i!==null?(r=i.baseLanes|t,n.memoizedState=null):r=t,O(Qn,me),me|=r;return ie(e,n,l,t),n.child}function js(e,n){var t=n.ref;(e===null&&t!==null||e!==null&&e.ref!==t)&&(n.flags|=512,n.flags|=2097152)}function Ci(e,n,t,r,l){var i=de(t)?xn:le.current;return i=bn(n,i),Zn(n,l),t=yo(e,n,t,r,i,l),r=go(),e!==null&&!ce?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~l,Ye(e,n,l)):(A&&r&&lo(n),n.flags|=1,ie(e,n,t,l),n.child)}function zu(e,n,t,r,l){if(de(t)){var i=!0;$r(n)}else i=!1;if(Zn(n,l),n.stateNode===null)xr(e,n),os(n,t,r),Ei(n,t,r,l),r=!0;else if(e===null){var o=n.stateNode,u=n.memoizedProps;o.props=u;var a=o.context,f=t.contextType;typeof f=="object"&&f!==null?f=Ce(f):(f=de(t)?xn:le.current,f=bn(n,f));var h=t.getDerivedStateFromProps,m=typeof h=="function"||typeof o.getSnapshotBeforeUpdate=="function";m||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(u!==r||a!==f)&&ku(n,o,r,f),qe=!1;var p=n.memoizedState;o.state=p,Qr(n,r,o,l),a=n.memoizedState,u!==r||p!==a||fe.current||qe?(typeof h=="function"&&(_i(n,t,h,r),a=n.memoizedState),(u=qe||wu(n,t,u,r,p,a,f))?(m||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(n.flags|=4194308)):(typeof o.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=r,n.memoizedState=a),o.props=r,o.state=a,o.context=f,r=u):(typeof o.componentDidMount=="function"&&(n.flags|=4194308),r=!1)}else{o=n.stateNode,ls(e,n),u=n.memoizedProps,f=n.type===n.elementType?u:ze(n.type,u),o.props=f,m=n.pendingProps,p=o.context,a=t.contextType,typeof a=="object"&&a!==null?a=Ce(a):(a=de(t)?xn:le.current,a=bn(n,a));var w=t.getDerivedStateFromProps;(h=typeof w=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(u!==m||p!==a)&&ku(n,o,r,a),qe=!1,p=n.memoizedState,o.state=p,Qr(n,r,o,l);var g=n.memoizedState;u!==m||p!==g||fe.current||qe?(typeof w=="function"&&(_i(n,t,w,r),g=n.memoizedState),(f=qe||wu(n,t,f,r,p,g,a)||!1)?(h||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,g,a),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,g,a)),typeof o.componentDidUpdate=="function"&&(n.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof o.componentDidUpdate!="function"||u===e.memoizedProps&&p===e.memoizedState||(n.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&p===e.memoizedState||(n.flags|=1024),n.memoizedProps=r,n.memoizedState=g),o.props=r,o.state=g,o.context=a,r=f):(typeof o.componentDidUpdate!="function"||u===e.memoizedProps&&p===e.memoizedState||(n.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&p===e.memoizedState||(n.flags|=1024),r=!1)}return xi(e,n,t,r,i,l)}function xi(e,n,t,r,l,i){js(e,n);var o=(n.flags&128)!==0;if(!r&&!o)return l&&mu(n,t,!1),Ye(e,n,i);r=n.stateNode,ud.current=n;var u=o&&typeof t.getDerivedStateFromError!="function"?null:r.render();return n.flags|=1,e!==null&&o?(n.child=nt(n,e.child,null,i),n.child=nt(n,null,u,i)):ie(e,n,u,i),n.memoizedState=r.state,l&&mu(n,t,!0),n.child}function Os(e){var n=e.stateNode;n.pendingContext?pu(e,n.pendingContext,n.pendingContext!==n.context):n.context&&pu(e,n.context,!1),po(e,n.containerInfo)}function Tu(e,n,t,r,l){return et(),oo(l),n.flags|=256,ie(e,n,t,r),n.child}var Ni={dehydrated:null,treeContext:null,retryLane:0};function Pi(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ds(e,n,t){var r=n.pendingProps,l=U.current,i=!1,o=(n.flags&128)!==0,u;if((u=o)||(u=e!==null&&e.memoizedState===null?!1:(l&2)!==0),u?(i=!0,n.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),O(U,l&1),e===null)return ki(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):(o=r.children,e=r.fallback,i?(r=n.mode,i=n.child,o={mode:"hidden",children:o},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=o):i=fl(o,r,0,null),e=Cn(e,r,t,null),i.return=n,e.return=n,i.sibling=e,n.child=i,n.child.memoizedState=Pi(t),n.memoizedState=Ni,e):So(n,o));if(l=e.memoizedState,l!==null&&(u=l.dehydrated,u!==null))return ad(e,n,o,r,u,l,t);if(i){i=r.fallback,o=n.mode,l=e.child,u=l.sibling;var a={mode:"hidden",children:r.children};return!(o&1)&&n.child!==l?(r=n.child,r.childLanes=0,r.pendingProps=a,n.deletions=null):(r=fn(l,a),r.subtreeFlags=l.subtreeFlags&14680064),u!==null?i=fn(u,i):(i=Cn(i,o,t,null),i.flags|=2),i.return=n,r.return=n,r.sibling=i,n.child=r,r=i,i=n.child,o=e.child.memoizedState,o=o===null?Pi(t):{baseLanes:o.baseLanes|t,cachePool:null,transitions:o.transitions},i.memoizedState=o,i.childLanes=e.childLanes&~t,n.memoizedState=Ni,r}return i=e.child,e=i.sibling,r=fn(i,{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 So(e,n){return n=fl({mode:"visible",children:n},e.mode,0,null),n.return=e,e.child=n}function mr(e,n,t,r){return r!==null&&oo(r),nt(n,e.child,null,t),e=So(n,n.pendingProps.children),e.flags|=2,n.memoizedState=null,e}function ad(e,n,t,r,l,i,o){if(t)return n.flags&256?(n.flags&=-257,r=Bl(Error(y(422))),mr(e,n,o,r)):n.memoizedState!==null?(n.child=e.child,n.flags|=128,null):(i=r.fallback,l=n.mode,r=fl({mode:"visible",children:r.children},l,0,null),i=Cn(i,l,o,null),i.flags|=2,r.return=n,i.return=n,r.sibling=i,n.child=r,n.mode&1&&nt(n,e.child,null,o),n.child.memoizedState=Pi(o),n.memoizedState=Ni,i);if(!(n.mode&1))return mr(e,n,o,null);if(l.data==="$!"){if(r=l.nextSibling&&l.nextSibling.dataset,r)var u=r.dgst;return r=u,i=Error(y(419)),r=Bl(i,r,void 0),mr(e,n,o,r)}if(u=(o&e.childLanes)!==0,ce||u){if(r=J,r!==null){switch(o&-o){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|o)?0:l,l!==0&&l!==i.retryLane&&(i.retryLane=l,Ge(e,l),je(r,e,l,-1))}return No(),r=Bl(Error(y(421))),mr(e,n,o,r)}return l.data==="$?"?(n.flags|=128,n.child=e.child,n=Sd.bind(null,e),l._reactRetry=n,null):(e=i.treeContext,he=un(l.nextSibling),ve=n,A=!0,Re=null,e!==null&&(Se[_e++]=Ve,Se[_e++]=He,Se[_e++]=Nn,Ve=e.id,He=e.overflow,Nn=n),n=So(n,r.children),n.flags|=4096,n)}function Ru(e,n,t){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n),Si(e.return,n,t)}function Vl(e,n,t,r,l){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:r,tail:t,tailMode:l}:(i.isBackwards=n,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=t,i.tailMode=l)}function Is(e,n,t){var r=n.pendingProps,l=r.revealOrder,i=r.tail;if(ie(e,n,r.children,t),r=U.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&&Ru(e,t,n);else if(e.tag===19)Ru(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(U,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&&Kr(e)===null&&(l=t),t=t.sibling;t=l,t===null?(l=n.child,n.child=null):(l=t.sibling,t.sibling=null),Vl(n,!1,l,t,i);break;case"backwards":for(t=null,l=n.child,n.child=null;l!==null;){if(e=l.alternate,e!==null&&Kr(e)===null){n.child=l;break}e=l.sibling,l.sibling=t,t=l,l=e}Vl(n,!0,t,null,i);break;case"together":Vl(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function xr(e,n){!(n.mode&1)&&e!==null&&(e.alternate=null,n.alternate=null,n.flags|=2)}function Ye(e,n,t){if(e!==null&&(n.dependencies=e.dependencies),zn|=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=fn(e,e.pendingProps),n.child=t,t.return=n;e.sibling!==null;)e=e.sibling,t=t.sibling=fn(e,e.pendingProps),t.return=n;t.sibling=null}return n.child}function sd(e,n,t){switch(n.tag){case 3:Os(n),et();break;case 5:ss(n);break;case 1:de(n.type)&&$r(n);break;case 4:po(n,n.stateNode.containerInfo);break;case 10:var r=n.type._context,l=n.memoizedProps.value;O(Hr,r._currentValue),r._currentValue=l;break;case 13:if(r=n.memoizedState,r!==null)return r.dehydrated!==null?(O(U,U.current&1),n.flags|=128,null):t&n.child.childLanes?Ds(e,n,t):(O(U,U.current&1),e=Ye(e,n,t),e!==null?e.sibling:null);O(U,U.current&1);break;case 19:if(r=(t&n.childLanes)!==0,e.flags&128){if(r)return Is(e,n,t);n.flags|=128}if(l=n.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),O(U,U.current),r)break;return null;case 22:case 23:return n.lanes=0,Ms(e,n,t)}return Ye(e,n,t)}var Fs,zi,As,Us;Fs=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}};zi=function(){};As=function(e,n,t,r){var l=e.memoizedProps;if(l!==r){e=n.stateNode,En(Ue.current);var i=null;switch(t){case"input":l=Jl(e,l),r=Jl(e,r),i=[];break;case"select":l=B({},l,{value:void 0}),r=B({},r,{value:void 0}),i=[];break;case"textarea":l=ei(e,l),r=ei(e,r),i=[];break;default:typeof l.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Ar)}ti(t,r);var o;t=null;for(f in l)if(!r.hasOwnProperty(f)&&l.hasOwnProperty(f)&&l[f]!=null)if(f==="style"){var u=l[f];for(o in u)u.hasOwnProperty(o)&&(t||(t={}),t[o]="")}else f!=="dangerouslySetInnerHTML"&&f!=="children"&&f!=="suppressContentEditableWarning"&&f!=="suppressHydrationWarning"&&f!=="autoFocus"&&(Rt.hasOwnProperty(f)?i||(i=[]):(i=i||[]).push(f,null));for(f in r){var a=r[f];if(u=l!=null?l[f]:void 0,r.hasOwnProperty(f)&&a!==u&&(a!=null||u!=null))if(f==="style")if(u){for(o in u)!u.hasOwnProperty(o)||a&&a.hasOwnProperty(o)||(t||(t={}),t[o]="");for(o in a)a.hasOwnProperty(o)&&u[o]!==a[o]&&(t||(t={}),t[o]=a[o])}else t||(i||(i=[]),i.push(f,t)),t=a;else f==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,u=u?u.__html:void 0,a!=null&&u!==a&&(i=i||[]).push(f,a)):f==="children"?typeof a!="string"&&typeof a!="number"||(i=i||[]).push(f,""+a):f!=="suppressContentEditableWarning"&&f!=="suppressHydrationWarning"&&(Rt.hasOwnProperty(f)?(a!=null&&f==="onScroll"&&D("scroll",e),i||u===a||(i=[])):(i=i||[]).push(f,a))}t&&(i=i||[]).push("style",t);var f=i;(n.updateQueue=f)&&(n.flags|=4)}};Us=function(e,n,t,r){t!==r&&(n.flags|=4)};function vt(e,n){if(!A)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 te(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 cd(e,n,t){var r=n.pendingProps;switch(io(n),n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return te(n),null;case 1:return de(n.type)&&Ur(),te(n),null;case 3:return r=n.stateNode,tt(),I(fe),I(le),ho(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(dr(n)?n.flags|=4:e===null||e.memoizedState.isDehydrated&&!(n.flags&256)||(n.flags|=1024,Re!==null&&(Fi(Re),Re=null))),zi(e,n),te(n),null;case 5:mo(n);var l=En(Ht.current);if(t=n.type,e!==null&&n.stateNode!=null)As(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 te(n),null}if(e=En(Ue.current),dr(n)){r=n.stateNode,t=n.type;var i=n.memoizedProps;switch(r[Fe]=n,r[Bt]=i,e=(n.mode&1)!==0,t){case"dialog":D("cancel",r),D("close",r);break;case"iframe":case"object":case"embed":D("load",r);break;case"video":case"audio":for(l=0;l<St.length;l++)D(St[l],r);break;case"source":D("error",r);break;case"img":case"image":case"link":D("error",r),D("load",r);break;case"details":D("toggle",r);break;case"input":$o(r,i),D("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},D("invalid",r);break;case"textarea":Vo(r,i),D("invalid",r)}ti(t,i),l=null;for(var o in i)if(i.hasOwnProperty(o)){var u=i[o];o==="children"?typeof u=="string"?r.textContent!==u&&(i.suppressHydrationWarning!==!0&&fr(r.textContent,u,e),l=["children",u]):typeof u=="number"&&r.textContent!==""+u&&(i.suppressHydrationWarning!==!0&&fr(r.textContent,u,e),l=["children",""+u]):Rt.hasOwnProperty(o)&&u!=null&&o==="onScroll"&&D("scroll",r)}switch(t){case"input":rr(r),Bo(r,i,!0);break;case"textarea":rr(r),Ho(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=Ar)}r=l,n.updateQueue=r,r!==null&&(n.flags|=4)}else{o=l.nodeType===9?l:l.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=da(t)),e==="http://www.w3.org/1999/xhtml"?t==="script"?(e=o.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(t,{is:r.is}):(e=o.createElement(t),t==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,t),e[Fe]=n,e[Bt]=r,Fs(e,n,!1,!1),n.stateNode=e;e:{switch(o=ri(t,r),t){case"dialog":D("cancel",e),D("close",e),l=r;break;case"iframe":case"object":case"embed":D("load",e),l=r;break;case"video":case"audio":for(l=0;l<St.length;l++)D(St[l],e);l=r;break;case"source":D("error",e),l=r;break;case"img":case"image":case"link":D("error",e),D("load",e),l=r;break;case"details":D("toggle",e),l=r;break;case"input":$o(e,r),l=Jl(e,r),D("invalid",e);break;case"option":l=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},l=B({},r,{value:void 0}),D("invalid",e);break;case"textarea":Vo(e,r),l=ei(e,r),D("invalid",e);break;default:l=r}ti(t,l),u=l;for(i in u)if(u.hasOwnProperty(i)){var a=u[i];i==="style"?ha(e,a):i==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,a!=null&&pa(e,a)):i==="children"?typeof a=="string"?(t!=="textarea"||a!=="")&&Mt(e,a):typeof a=="number"&&Mt(e,""+a):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(Rt.hasOwnProperty(i)?a!=null&&i==="onScroll"&&D("scroll",e):a!=null&&Wi(e,i,a,o))}switch(t){case"input":rr(e),Bo(e,r,!1);break;case"textarea":rr(e),Ho(e);break;case"option":r.value!=null&&e.setAttribute("value",""+dn(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?Kn(e,!!r.multiple,i,!1):r.defaultValue!=null&&Kn(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 te(n),null;case 6:if(e&&n.stateNode!=null)Us(e,n,e.memoizedProps,r);else{if(typeof r!="string"&&n.stateNode===null)throw Error(y(166));if(t=En(Ht.current),En(Ue.current),dr(n)){if(r=n.stateNode,t=n.memoizedProps,r[Fe]=n,(i=r.nodeValue!==t)&&(e=ve,e!==null))switch(e.tag){case 3:fr(r.nodeValue,t,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&fr(r.nodeValue,t,(e.mode&1)!==0)}i&&(n.flags|=4)}else r=(t.nodeType===9?t:t.ownerDocument).createTextNode(r),r[Fe]=n,n.stateNode=r}return te(n),null;case 13:if(I(U),r=n.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(A&&he!==null&&n.mode&1&&!(n.flags&128))ts(),et(),n.flags|=98560,i=!1;else if(i=dr(n),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(y(318));if(i=n.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(y(317));i[Fe]=n}else et(),!(n.flags&128)&&(n.memoizedState=null),n.flags|=4;te(n),i=!1}else Re!==null&&(Fi(Re),Re=null),i=!0;if(!i)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||U.current&1?Y===0&&(Y=3):No())),n.updateQueue!==null&&(n.flags|=4),te(n),null);case 4:return tt(),zi(e,n),e===null&&Ut(n.stateNode.containerInfo),te(n),null;case 10:return so(n.type._context),te(n),null;case 17:return de(n.type)&&Ur(),te(n),null;case 19:if(I(U),i=n.memoizedState,i===null)return te(n),null;if(r=(n.flags&128)!==0,o=i.rendering,o===null)if(r)vt(i,!1);else{if(Y!==0||e!==null&&e.flags&128)for(e=n.child;e!==null;){if(o=Kr(e),o!==null){for(n.flags|=128,vt(i,!1),r=o.updateQueue,r!==null&&(n.updateQueue=r,n.flags|=4),n.subtreeFlags=0,r=t,t=n.child;t!==null;)i=t,e=r,i.flags&=14680066,o=i.alternate,o===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=o.childLanes,i.lanes=o.lanes,i.child=o.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=o.memoizedProps,i.memoizedState=o.memoizedState,i.updateQueue=o.updateQueue,i.type=o.type,e=o.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t=t.sibling;return O(U,U.current&1|2),n.child}e=e.sibling}i.tail!==null&&Q()>lt&&(n.flags|=128,r=!0,vt(i,!1),n.lanes=4194304)}else{if(!r)if(e=Kr(o),e!==null){if(n.flags|=128,r=!0,t=e.updateQueue,t!==null&&(n.updateQueue=t,n.flags|=4),vt(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!A)return te(n),null}else 2*Q()-i.renderingStartTime>lt&&t!==1073741824&&(n.flags|=128,r=!0,vt(i,!1),n.lanes=4194304);i.isBackwards?(o.sibling=n.child,n.child=o):(t=i.last,t!==null?t.sibling=o:n.child=o,i.last=o)}return i.tail!==null?(n=i.tail,i.rendering=n,i.tail=n.sibling,i.renderingStartTime=Q(),n.sibling=null,t=U.current,O(U,r?t&1|2:t&1),n):(te(n),null);case 22:case 23:return xo(),r=n.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(n.flags|=8192),r&&n.mode&1?me&1073741824&&(te(n),n.subtreeFlags&6&&(n.flags|=8192)):te(n),null;case 24:return null;case 25:return null}throw Error(y(156,n.tag))}function fd(e,n){switch(io(n),n.tag){case 1:return de(n.type)&&Ur(),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return tt(),I(fe),I(le),ho(),e=n.flags,e&65536&&!(e&128)?(n.flags=e&-65537|128,n):null;case 5:return mo(n),null;case 13:if(I(U),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(y(340));et()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return I(U),null;case 4:return tt(),null;case 10:return so(n.type._context),null;case 22:case 23:return xo(),null;case 24:return null;default:return null}}var hr=!1,re=!1,dd=typeof WeakSet=="function"?WeakSet:Set,S=null;function Wn(e,n){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){V(e,n,r)}else t.current=null}function Ti(e,n,t){try{t()}catch(r){V(e,n,r)}}var Mu=!1;function pd(e,n){if(pi=Dr,e=Ha(),ro(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,i=r.focusNode;r=r.focusOffset;try{t.nodeType,i.nodeType}catch{t=null;break e}var o=0,u=-1,a=-1,f=0,h=0,m=e,p=null;n:for(;;){for(var w;m!==t||l!==0&&m.nodeType!==3||(u=o+l),m!==i||r!==0&&m.nodeType!==3||(a=o+r),m.nodeType===3&&(o+=m.nodeValue.length),(w=m.firstChild)!==null;)p=m,m=w;for(;;){if(m===e)break n;if(p===t&&++f===l&&(u=o),p===i&&++h===r&&(a=o),(w=m.nextSibling)!==null)break;m=p,p=m.parentNode}m=w}t=u===-1||a===-1?null:{start:u,end:a}}else t=null}t=t||{start:0,end:0}}else t=null;for(mi={focusedElem:e,selectionRange:t},Dr=!1,S=n;S!==null;)if(n=S,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,S=e;else for(;S!==null;){n=S;try{var g=n.alternate;if(n.flags&1024)switch(n.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var k=g.memoizedProps,z=g.memoizedState,c=n.stateNode,s=c.getSnapshotBeforeUpdate(n.elementType===n.type?k:ze(n.type,k),z);c.__reactInternalSnapshotBeforeUpdate=s}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){V(n,n.return,v)}if(e=n.sibling,e!==null){e.return=n.return,S=e;break}S=n.return}return g=Mu,Mu=!1,g}function Pt(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 i=l.destroy;l.destroy=void 0,i!==void 0&&Ti(n,t,i)}l=l.next}while(l!==r)}}function sl(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 Ri(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 $s(e){var n=e.alternate;n!==null&&(e.alternate=null,$s(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&(delete n[Fe],delete n[Bt],delete n[yi],delete n[Xf],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 Bs(e){return e.tag===5||e.tag===3||e.tag===4}function ju(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Bs(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Mi(e,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(Mi(e,n,t),e=e.sibling;e!==null;)Mi(e,n,t),e=e.sibling}function ji(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(ji(e,n,t),e=e.sibling;e!==null;)ji(e,n,t),e=e.sibling}var q=null,Te=!1;function Ze(e,n,t){for(t=t.child;t!==null;)Vs(e,n,t),t=t.sibling}function Vs(e,n,t){if(Ae&&typeof Ae.onCommitFiberUnmount=="function")try{Ae.onCommitFiberUnmount(nl,t)}catch{}switch(t.tag){case 5:re||Wn(t,n);case 6:var r=q,l=Te;q=null,Ze(e,n,t),q=r,Te=l,q!==null&&(Te?(e=q,t=t.stateNode,e.nodeType===8?e.parentNode.removeChild(t):e.removeChild(t)):q.removeChild(t.stateNode));break;case 18:q!==null&&(Te?(e=q,t=t.stateNode,e.nodeType===8?Dl(e.parentNode,t):e.nodeType===1&&Dl(e,t),It(e)):Dl(q,t.stateNode));break;case 4:r=q,l=Te,q=t.stateNode.containerInfo,Te=!0,Ze(e,n,t),q=r,Te=l;break;case 0:case 11:case 14:case 15:if(!re&&(r=t.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var i=l,o=i.destroy;i=i.tag,o!==void 0&&(i&2||i&4)&&Ti(t,n,o),l=l.next}while(l!==r)}Ze(e,n,t);break;case 1:if(!re&&(Wn(t,n),r=t.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=t.memoizedProps,r.state=t.memoizedState,r.componentWillUnmount()}catch(u){V(t,n,u)}Ze(e,n,t);break;case 21:Ze(e,n,t);break;case 22:t.mode&1?(re=(r=re)||t.memoizedState!==null,Ze(e,n,t),re=r):Ze(e,n,t);break;default:Ze(e,n,t)}}function Ou(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var t=e.stateNode;t===null&&(t=e.stateNode=new dd),n.forEach(function(r){var l=_d.bind(null,e,r);t.has(r)||(t.add(r),r.then(l,l))})}}function Pe(e,n){var t=n.deletions;if(t!==null)for(var r=0;r<t.length;r++){var l=t[r];try{var i=e,o=n,u=o;e:for(;u!==null;){switch(u.tag){case 5:q=u.stateNode,Te=!1;break e;case 3:q=u.stateNode.containerInfo,Te=!0;break e;case 4:q=u.stateNode.containerInfo,Te=!0;break e}u=u.return}if(q===null)throw Error(y(160));Vs(i,o,l),q=null,Te=!1;var a=l.alternate;a!==null&&(a.return=null),l.return=null}catch(f){V(l,n,f)}}if(n.subtreeFlags&12854)for(n=n.child;n!==null;)Hs(n,e),n=n.sibling}function Hs(e,n){var t=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Pe(n,e),De(e),r&4){try{Pt(3,e,e.return),sl(3,e)}catch(k){V(e,e.return,k)}try{Pt(5,e,e.return)}catch(k){V(e,e.return,k)}}break;case 1:Pe(n,e),De(e),r&512&&t!==null&&Wn(t,t.return);break;case 5:if(Pe(n,e),De(e),r&512&&t!==null&&Wn(t,t.return),e.flags&32){var l=e.stateNode;try{Mt(l,"")}catch(k){V(e,e.return,k)}}if(r&4&&(l=e.stateNode,l!=null)){var i=e.memoizedProps,o=t!==null?t.memoizedProps:i,u=e.type,a=e.updateQueue;if(e.updateQueue=null,a!==null)try{u==="input"&&i.type==="radio"&&i.name!=null&&ca(l,i),ri(u,o);var f=ri(u,i);for(o=0;o<a.length;o+=2){var h=a[o],m=a[o+1];h==="style"?ha(l,m):h==="dangerouslySetInnerHTML"?pa(l,m):h==="children"?Mt(l,m):Wi(l,h,m,f)}switch(u){case"input":ql(l,i);break;case"textarea":fa(l,i);break;case"select":var p=l._wrapperState.wasMultiple;l._wrapperState.wasMultiple=!!i.multiple;var w=i.value;w!=null?Kn(l,!!i.multiple,w,!1):p!==!!i.multiple&&(i.defaultValue!=null?Kn(l,!!i.multiple,i.defaultValue,!0):Kn(l,!!i.multiple,i.multiple?[]:"",!1))}l[Bt]=i}catch(k){V(e,e.return,k)}}break;case 6:if(Pe(n,e),De(e),r&4){if(e.stateNode===null)throw Error(y(162));l=e.stateNode,i=e.memoizedProps;try{l.nodeValue=i}catch(k){V(e,e.return,k)}}break;case 3:if(Pe(n,e),De(e),r&4&&t!==null&&t.memoizedState.isDehydrated)try{It(n.containerInfo)}catch(k){V(e,e.return,k)}break;case 4:Pe(n,e),De(e);break;case 13:Pe(n,e),De(e),l=e.child,l.flags&8192&&(i=l.memoizedState!==null,l.stateNode.isHidden=i,!i||l.alternate!==null&&l.alternate.memoizedState!==null||(Lo=Q())),r&4&&Ou(e);break;case 22:if(h=t!==null&&t.memoizedState!==null,e.mode&1?(re=(f=re)||h,Pe(n,e),re=f):Pe(n,e),De(e),r&8192){if(f=e.memoizedState!==null,(e.stateNode.isHidden=f)&&!h&&e.mode&1)for(S=e,h=e.child;h!==null;){for(m=S=h;S!==null;){switch(p=S,w=p.child,p.tag){case 0:case 11:case 14:case 15:Pt(4,p,p.return);break;case 1:Wn(p,p.return);var g=p.stateNode;if(typeof g.componentWillUnmount=="function"){r=p,t=p.return;try{n=r,g.props=n.memoizedProps,g.state=n.memoizedState,g.componentWillUnmount()}catch(k){V(r,t,k)}}break;case 5:Wn(p,p.return);break;case 22:if(p.memoizedState!==null){Iu(m);continue}}w!==null?(w.return=p,S=w):Iu(m)}h=h.sibling}e:for(h=null,m=e;;){if(m.tag===5){if(h===null){h=m;try{l=m.stateNode,f?(i=l.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(u=m.stateNode,a=m.memoizedProps.style,o=a!=null&&a.hasOwnProperty("display")?a.display:null,u.style.display=ma("display",o))}catch(k){V(e,e.return,k)}}}else if(m.tag===6){if(h===null)try{m.stateNode.nodeValue=f?"":m.memoizedProps}catch(k){V(e,e.return,k)}}else if((m.tag!==22&&m.tag!==23||m.memoizedState===null||m===e)&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===e)break e;for(;m.sibling===null;){if(m.return===null||m.return===e)break e;h===m&&(h=null),m=m.return}h===m&&(h=null),m.sibling.return=m.return,m=m.sibling}}break;case 19:Pe(n,e),De(e),r&4&&Ou(e);break;case 21:break;default:Pe(n,e),De(e)}}function De(e){var n=e.flags;if(n&2){try{e:{for(var t=e.return;t!==null;){if(Bs(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&&(Mt(l,""),r.flags&=-33);var i=ju(e);ji(e,i,l);break;case 3:case 4:var o=r.stateNode.containerInfo,u=ju(e);Mi(e,u,o);break;default:throw Error(y(161))}}catch(a){V(e,e.return,a)}e.flags&=-3}n&4096&&(e.flags&=-4097)}function md(e,n,t){S=e,Ws(e)}function Ws(e,n,t){for(var r=(e.mode&1)!==0;S!==null;){var l=S,i=l.child;if(l.tag===22&&r){var o=l.memoizedState!==null||hr;if(!o){var u=l.alternate,a=u!==null&&u.memoizedState!==null||re;u=hr;var f=re;if(hr=o,(re=a)&&!f)for(S=l;S!==null;)o=S,a=o.child,o.tag===22&&o.memoizedState!==null?Fu(l):a!==null?(a.return=o,S=a):Fu(l);for(;i!==null;)S=i,Ws(i),i=i.sibling;S=l,hr=u,re=f}Du(e)}else l.subtreeFlags&8772&&i!==null?(i.return=l,S=i):Du(e)}}function Du(e){for(;S!==null;){var n=S;if(n.flags&8772){var t=n.alternate;try{if(n.flags&8772)switch(n.tag){case 0:case 11:case 15:re||sl(5,n);break;case 1:var r=n.stateNode;if(n.flags&4&&!re)if(t===null)r.componentDidMount();else{var l=n.elementType===n.type?t.memoizedProps:ze(n.type,t.memoizedProps);r.componentDidUpdate(l,t.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=n.updateQueue;i!==null&&gu(n,i,r);break;case 3:var o=n.updateQueue;if(o!==null){if(t=null,n.child!==null)switch(n.child.tag){case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}gu(n,o,t)}break;case 5:var u=n.stateNode;if(t===null&&n.flags&4){t=u;var a=n.memoizedProps;switch(n.type){case"button":case"input":case"select":case"textarea":a.autoFocus&&t.focus();break;case"img":a.src&&(t.src=a.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(n.memoizedState===null){var f=n.alternate;if(f!==null){var h=f.memoizedState;if(h!==null){var m=h.dehydrated;m!==null&&It(m)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(y(163))}re||n.flags&512&&Ri(n)}catch(p){V(n,n.return,p)}}if(n===e){S=null;break}if(t=n.sibling,t!==null){t.return=n.return,S=t;break}S=n.return}}function Iu(e){for(;S!==null;){var n=S;if(n===e){S=null;break}var t=n.sibling;if(t!==null){t.return=n.return,S=t;break}S=n.return}}function Fu(e){for(;S!==null;){var n=S;try{switch(n.tag){case 0:case 11:case 15:var t=n.return;try{sl(4,n)}catch(a){V(n,t,a)}break;case 1:var r=n.stateNode;if(typeof r.componentDidMount=="function"){var l=n.return;try{r.componentDidMount()}catch(a){V(n,l,a)}}var i=n.return;try{Ri(n)}catch(a){V(n,i,a)}break;case 5:var o=n.return;try{Ri(n)}catch(a){V(n,o,a)}}}catch(a){V(n,n.return,a)}if(n===e){S=null;break}var u=n.sibling;if(u!==null){u.return=n.return,S=u;break}S=n.return}}var hd=Math.ceil,Xr=Xe.ReactCurrentDispatcher,_o=Xe.ReactCurrentOwner,Le=Xe.ReactCurrentBatchConfig,M=0,J=null,K=null,b=0,me=0,Qn=hn(0),Y=0,Gt=null,zn=0,cl=0,Eo=0,zt=null,se=null,Lo=0,lt=1/0,$e=null,Zr=!1,Oi=null,sn=null,vr=!1,tn=null,Jr=0,Tt=0,Di=null,Nr=-1,Pr=0;function oe(){return M&6?Q():Nr!==-1?Nr:Nr=Q()}function cn(e){return e.mode&1?M&2&&b!==0?b&-b:qf.transition!==null?(Pr===0&&(Pr=Na()),Pr):(e=j,e!==0||(e=window.event,e=e===void 0?16:Oa(e.type)),e):1}function je(e,n,t,r){if(50<Tt)throw Tt=0,Di=null,Error(y(185));Xt(e,t,r),(!(M&2)||e!==J)&&(e===J&&(!(M&2)&&(cl|=t),Y===4&&en(e,b)),pe(e,r),t===1&&M===0&&!(n.mode&1)&&(lt=Q()+500,ol&&vn()))}function pe(e,n){var t=e.callbackNode;Jc(e,n);var r=Or(e,e===J?b:0);if(r===0)t!==null&&Ko(t),e.callbackNode=null,e.callbackPriority=0;else if(n=r&-r,e.callbackPriority!==n){if(t!=null&&Ko(t),n===1)e.tag===0?Jf(Au.bind(null,e)):ba(Au.bind(null,e)),Gf(function(){!(M&6)&&vn()}),t=null;else{switch(Pa(r)){case 1:t=Xi;break;case 4:t=Ca;break;case 16:t=jr;break;case 536870912:t=xa;break;default:t=jr}t=qs(t,Qs.bind(null,e))}e.callbackPriority=n,e.callbackNode=t}}function Qs(e,n){if(Nr=-1,Pr=0,M&6)throw Error(y(327));var t=e.callbackNode;if(Jn()&&e.callbackNode!==t)return null;var r=Or(e,e===J?b:0);if(r===0)return null;if(r&30||r&e.expiredLanes||n)n=qr(e,r);else{n=r;var l=M;M|=2;var i=Gs();(J!==e||b!==n)&&($e=null,lt=Q()+500,Ln(e,n));do try{gd();break}catch(u){Ks(e,u)}while(1);ao(),Xr.current=i,M=l,K!==null?n=0:(J=null,b=0,n=Y)}if(n!==0){if(n===2&&(l=ai(e),l!==0&&(r=l,n=Ii(e,l))),n===1)throw t=Gt,Ln(e,0),en(e,r),pe(e,Q()),t;if(n===6)en(e,r);else{if(l=e.current.alternate,!(r&30)&&!vd(l)&&(n=qr(e,r),n===2&&(i=ai(e),i!==0&&(r=i,n=Ii(e,i))),n===1))throw t=Gt,Ln(e,0),en(e,r),pe(e,Q()),t;switch(e.finishedWork=l,e.finishedLanes=r,n){case 0:case 1:throw Error(y(345));case 2:kn(e,se,$e);break;case 3:if(en(e,r),(r&130023424)===r&&(n=Lo+500-Q(),10<n)){if(Or(e,0)!==0)break;if(l=e.suspendedLanes,(l&r)!==r){oe(),e.pingedLanes|=e.suspendedLanes&l;break}e.timeoutHandle=vi(kn.bind(null,e,se,$e),n);break}kn(e,se,$e);break;case 4:if(en(e,r),(r&4194240)===r)break;for(n=e.eventTimes,l=-1;0<r;){var o=31-Me(r);i=1<<o,o=n[o],o>l&&(l=o),r&=~i}if(r=l,r=Q()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*hd(r/1960))-r,10<r){e.timeoutHandle=vi(kn.bind(null,e,se,$e),r);break}kn(e,se,$e);break;case 5:kn(e,se,$e);break;default:throw Error(y(329))}}}return pe(e,Q()),e.callbackNode===t?Qs.bind(null,e):null}function Ii(e,n){var t=zt;return e.current.memoizedState.isDehydrated&&(Ln(e,n).flags|=256),e=qr(e,n),e!==2&&(n=se,se=t,n!==null&&Fi(n)),e}function Fi(e){se===null?se=e:se.push.apply(se,e)}function vd(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],i=l.getSnapshot;l=l.value;try{if(!Oe(i(),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 en(e,n){for(n&=~Eo,n&=~cl,e.suspendedLanes|=n,e.pingedLanes&=~n,e=e.expirationTimes;0<n;){var t=31-Me(n),r=1<<t;e[t]=-1,n&=~r}}function Au(e){if(M&6)throw Error(y(327));Jn();var n=Or(e,0);if(!(n&1))return pe(e,Q()),null;var t=qr(e,n);if(e.tag!==0&&t===2){var r=ai(e);r!==0&&(n=r,t=Ii(e,r))}if(t===1)throw t=Gt,Ln(e,0),en(e,n),pe(e,Q()),t;if(t===6)throw Error(y(345));return e.finishedWork=e.current.alternate,e.finishedLanes=n,kn(e,se,$e),pe(e,Q()),null}function Co(e,n){var t=M;M|=1;try{return e(n)}finally{M=t,M===0&&(lt=Q()+500,ol&&vn())}}function Tn(e){tn!==null&&tn.tag===0&&!(M&6)&&Jn();var n=M;M|=1;var t=Le.transition,r=j;try{if(Le.transition=null,j=1,e)return e()}finally{j=r,Le.transition=t,M=n,!(M&6)&&vn()}}function xo(){me=Qn.current,I(Qn)}function Ln(e,n){e.finishedWork=null,e.finishedLanes=0;var t=e.timeoutHandle;if(t!==-1&&(e.timeoutHandle=-1,Kf(t)),K!==null)for(t=K.return;t!==null;){var r=t;switch(io(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Ur();break;case 3:tt(),I(fe),I(le),ho();break;case 5:mo(r);break;case 4:tt();break;case 13:I(U);break;case 19:I(U);break;case 10:so(r.type._context);break;case 22:case 23:xo()}t=t.return}if(J=e,K=e=fn(e.current,null),b=me=n,Y=0,Gt=null,Eo=cl=zn=0,se=zt=null,_n!==null){for(n=0;n<_n.length;n++)if(t=_n[n],r=t.interleaved,r!==null){t.interleaved=null;var l=r.next,i=t.pending;if(i!==null){var o=i.next;i.next=l,r.next=o}t.pending=r}_n=null}return e}function Ks(e,n){do{var t=K;try{if(ao(),Lr.current=Yr,Gr){for(var r=$.memoizedState;r!==null;){var l=r.queue;l!==null&&(l.pending=null),r=r.next}Gr=!1}if(Pn=0,Z=G=$=null,Nt=!1,Wt=0,_o.current=null,t===null||t.return===null){Y=1,Gt=n,K=null;break}e:{var i=e,o=t.return,u=t,a=n;if(n=b,u.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){var f=a,h=u,m=h.tag;if(!(h.mode&1)&&(m===0||m===11||m===15)){var p=h.alternate;p?(h.updateQueue=p.updateQueue,h.memoizedState=p.memoizedState,h.lanes=p.lanes):(h.updateQueue=null,h.memoizedState=null)}var w=Cu(o);if(w!==null){w.flags&=-257,xu(w,o,u,i,n),w.mode&1&&Lu(i,f,n),n=w,a=f;var g=n.updateQueue;if(g===null){var k=new Set;k.add(a),n.updateQueue=k}else g.add(a);break e}else{if(!(n&1)){Lu(i,f,n),No();break e}a=Error(y(426))}}else if(A&&u.mode&1){var z=Cu(o);if(z!==null){!(z.flags&65536)&&(z.flags|=256),xu(z,o,u,i,n),oo(rt(a,u));break e}}i=a=rt(a,u),Y!==4&&(Y=2),zt===null?zt=[i]:zt.push(i),i=o;do{switch(i.tag){case 3:i.flags|=65536,n&=-n,i.lanes|=n;var c=zs(i,a,n);yu(i,c);break e;case 1:u=a;var s=i.type,d=i.stateNode;if(!(i.flags&128)&&(typeof s.getDerivedStateFromError=="function"||d!==null&&typeof d.componentDidCatch=="function"&&(sn===null||!sn.has(d)))){i.flags|=65536,n&=-n,i.lanes|=n;var v=Ts(i,u,n);yu(i,v);break e}}i=i.return}while(i!==null)}Xs(t)}catch(_){n=_,K===t&&t!==null&&(K=t=t.return);continue}break}while(1)}function Gs(){var e=Xr.current;return Xr.current=Yr,e===null?Yr:e}function No(){(Y===0||Y===3||Y===2)&&(Y=4),J===null||!(zn&268435455)&&!(cl&268435455)||en(J,b)}function qr(e,n){var t=M;M|=2;var r=Gs();(J!==e||b!==n)&&($e=null,Ln(e,n));do try{yd();break}catch(l){Ks(e,l)}while(1);if(ao(),M=t,Xr.current=r,K!==null)throw Error(y(261));return J=null,b=0,Y}function yd(){for(;K!==null;)Ys(K)}function gd(){for(;K!==null&&!Vc();)Ys(K)}function Ys(e){var n=Js(e.alternate,e,me);e.memoizedProps=e.pendingProps,n===null?Xs(e):K=n,_o.current=null}function Xs(e){var n=e;do{var t=n.alternate;if(e=n.return,n.flags&32768){if(t=fd(t,n),t!==null){t.flags&=32767,K=t;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Y=6,K=null;return}}else if(t=cd(t,n,me),t!==null){K=t;return}if(n=n.sibling,n!==null){K=n;return}K=n=e}while(n!==null);Y===0&&(Y=5)}function kn(e,n,t){var r=j,l=Le.transition;try{Le.transition=null,j=1,wd(e,n,t,r)}finally{Le.transition=l,j=r}return null}function wd(e,n,t,r){do Jn();while(tn!==null);if(M&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 i=t.lanes|t.childLanes;if(qc(e,i),e===J&&(K=J=null,b=0),!(t.subtreeFlags&2064)&&!(t.flags&2064)||vr||(vr=!0,qs(jr,function(){return Jn(),null})),i=(t.flags&15990)!==0,t.subtreeFlags&15990||i){i=Le.transition,Le.transition=null;var o=j;j=1;var u=M;M|=4,_o.current=null,pd(e,t),Hs(t,e),Uf(mi),Dr=!!pi,mi=pi=null,e.current=t,md(t),Hc(),M=u,j=o,Le.transition=i}else e.current=t;if(vr&&(vr=!1,tn=e,Jr=l),i=e.pendingLanes,i===0&&(sn=null),Kc(t.stateNode),pe(e,Q()),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(Zr)throw Zr=!1,e=Oi,Oi=null,e;return Jr&1&&e.tag!==0&&Jn(),i=e.pendingLanes,i&1?e===Di?Tt++:(Tt=0,Di=e):Tt=0,vn(),null}function Jn(){if(tn!==null){var e=Pa(Jr),n=Le.transition,t=j;try{if(Le.transition=null,j=16>e?16:e,tn===null)var r=!1;else{if(e=tn,tn=null,Jr=0,M&6)throw Error(y(331));var l=M;for(M|=4,S=e.current;S!==null;){var i=S,o=i.child;if(S.flags&16){var u=i.deletions;if(u!==null){for(var a=0;a<u.length;a++){var f=u[a];for(S=f;S!==null;){var h=S;switch(h.tag){case 0:case 11:case 15:Pt(8,h,i)}var m=h.child;if(m!==null)m.return=h,S=m;else for(;S!==null;){h=S;var p=h.sibling,w=h.return;if($s(h),h===f){S=null;break}if(p!==null){p.return=w,S=p;break}S=w}}}var g=i.alternate;if(g!==null){var k=g.child;if(k!==null){g.child=null;do{var z=k.sibling;k.sibling=null,k=z}while(k!==null)}}S=i}}if(i.subtreeFlags&2064&&o!==null)o.return=i,S=o;else e:for(;S!==null;){if(i=S,i.flags&2048)switch(i.tag){case 0:case 11:case 15:Pt(9,i,i.return)}var c=i.sibling;if(c!==null){c.return=i.return,S=c;break e}S=i.return}}var s=e.current;for(S=s;S!==null;){o=S;var d=o.child;if(o.subtreeFlags&2064&&d!==null)d.return=o,S=d;else e:for(o=s;S!==null;){if(u=S,u.flags&2048)try{switch(u.tag){case 0:case 11:case 15:sl(9,u)}}catch(_){V(u,u.return,_)}if(u===o){S=null;break e}var v=u.sibling;if(v!==null){v.return=u.return,S=v;break e}S=u.return}}if(M=l,vn(),Ae&&typeof Ae.onPostCommitFiberRoot=="function")try{Ae.onPostCommitFiberRoot(nl,e)}catch{}r=!0}return r}finally{j=t,Le.transition=n}}return!1}function Uu(e,n,t){n=rt(t,n),n=zs(e,n,1),e=an(e,n,1),n=oe(),e!==null&&(Xt(e,1,n),pe(e,n))}function V(e,n,t){if(e.tag===3)Uu(e,e,t);else for(;n!==null;){if(n.tag===3){Uu(n,e,t);break}else if(n.tag===1){var r=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(sn===null||!sn.has(r))){e=rt(t,e),e=Ts(n,e,1),n=an(n,e,1),e=oe(),n!==null&&(Xt(n,1,e),pe(n,e));break}}n=n.return}}function kd(e,n,t){var r=e.pingCache;r!==null&&r.delete(n),n=oe(),e.pingedLanes|=e.suspendedLanes&t,J===e&&(b&t)===t&&(Y===4||Y===3&&(b&130023424)===b&&500>Q()-Lo?Ln(e,0):Eo|=t),pe(e,n)}function Zs(e,n){n===0&&(e.mode&1?(n=or,or<<=1,!(or&130023424)&&(or=4194304)):n=1);var t=oe();e=Ge(e,n),e!==null&&(Xt(e,n,t),pe(e,t))}function Sd(e){var n=e.memoizedState,t=0;n!==null&&(t=n.retryLane),Zs(e,t)}function _d(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),Zs(e,t)}var Js;Js=function(e,n,t){if(e!==null)if(e.memoizedProps!==n.pendingProps||fe.current)ce=!0;else{if(!(e.lanes&t)&&!(n.flags&128))return ce=!1,sd(e,n,t);ce=!!(e.flags&131072)}else ce=!1,A&&n.flags&1048576&&es(n,Vr,n.index);switch(n.lanes=0,n.tag){case 2:var r=n.type;xr(e,n),e=n.pendingProps;var l=bn(n,le.current);Zn(n,t),l=yo(null,n,r,e,l,t);var i=go();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,de(r)?(i=!0,$r(n)):i=!1,n.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,fo(n),l.updater=ul,n.stateNode=l,l._reactInternals=n,Ei(n,r,e,t),n=xi(null,n,r,!0,i,t)):(n.tag=0,A&&i&&lo(n),ie(null,n,l,t),n=n.child),n;case 16:r=n.elementType;e:{switch(xr(e,n),e=n.pendingProps,l=r._init,r=l(r._payload),n.type=r,l=n.tag=Ld(r),e=ze(r,e),l){case 0:n=Ci(null,n,r,e,t);break e;case 1:n=zu(null,n,r,e,t);break e;case 11:n=Nu(null,n,r,e,t);break e;case 14:n=Pu(null,n,r,ze(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:ze(r,l),Ci(e,n,r,l,t);case 1:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:ze(r,l),zu(e,n,r,l,t);case 3:e:{if(Os(n),e===null)throw Error(y(387));r=n.pendingProps,i=n.memoizedState,l=i.element,ls(e,n),Qr(n,r,null,t);var o=n.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},n.updateQueue.baseState=i,n.memoizedState=i,n.flags&256){l=rt(Error(y(423)),n),n=Tu(e,n,r,t,l);break e}else if(r!==l){l=rt(Error(y(424)),n),n=Tu(e,n,r,t,l);break e}else for(he=un(n.stateNode.containerInfo.firstChild),ve=n,A=!0,Re=null,t=as(n,null,r,t),n.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling;else{if(et(),r===l){n=Ye(e,n,t);break e}ie(e,n,r,t)}n=n.child}return n;case 5:return ss(n),e===null&&ki(n),r=n.type,l=n.pendingProps,i=e!==null?e.memoizedProps:null,o=l.children,hi(r,l)?o=null:i!==null&&hi(r,i)&&(n.flags|=32),js(e,n),ie(e,n,o,t),n.child;case 6:return e===null&&ki(n),null;case 13:return Ds(e,n,t);case 4:return po(n,n.stateNode.containerInfo),r=n.pendingProps,e===null?n.child=nt(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:ze(r,l),Nu(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,i=n.memoizedProps,o=l.value,O(Hr,r._currentValue),r._currentValue=o,i!==null)if(Oe(i.value,o)){if(i.children===l.children&&!fe.current){n=Ye(e,n,t);break e}}else for(i=n.child,i!==null&&(i.return=n);i!==null;){var u=i.dependencies;if(u!==null){o=i.child;for(var a=u.firstContext;a!==null;){if(a.context===r){if(i.tag===1){a=We(-1,t&-t),a.tag=2;var f=i.updateQueue;if(f!==null){f=f.shared;var h=f.pending;h===null?a.next=a:(a.next=h.next,h.next=a),f.pending=a}}i.lanes|=t,a=i.alternate,a!==null&&(a.lanes|=t),Si(i.return,t,n),u.lanes|=t;break}a=a.next}}else if(i.tag===10)o=i.type===n.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(y(341));o.lanes|=t,u=o.alternate,u!==null&&(u.lanes|=t),Si(o,t,n),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===n){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}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=Ce(l),r=r(l),n.flags|=1,ie(e,n,r,t),n.child;case 14:return r=n.type,l=ze(r,n.pendingProps),l=ze(r.type,l),Pu(e,n,r,l,t);case 15:return Rs(e,n,n.type,n.pendingProps,t);case 17:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:ze(r,l),xr(e,n),n.tag=1,de(r)?(e=!0,$r(n)):e=!1,Zn(n,t),os(n,r,l),Ei(n,r,l,t),xi(null,n,r,!0,e,t);case 19:return Is(e,n,t);case 22:return Ms(e,n,t)}throw Error(y(156,n.tag))};function qs(e,n){return La(e,n)}function Ed(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 Ee(e,n,t,r){return new Ed(e,n,t,r)}function Po(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Ld(e){if(typeof e=="function")return Po(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ki)return 11;if(e===Gi)return 14}return 2}function fn(e,n){var t=e.alternate;return t===null?(t=Ee(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 zr(e,n,t,r,l,i){var o=2;if(r=e,typeof e=="function")Po(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Dn:return Cn(t.children,l,i,n);case Qi:o=8,l|=8;break;case Gl:return e=Ee(12,t,n,l|2),e.elementType=Gl,e.lanes=i,e;case Yl:return e=Ee(13,t,n,l),e.elementType=Yl,e.lanes=i,e;case Xl:return e=Ee(19,t,n,l),e.elementType=Xl,e.lanes=i,e;case ua:return fl(t,l,i,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ia:o=10;break e;case oa:o=9;break e;case Ki:o=11;break e;case Gi:o=14;break e;case Je:o=16,r=null;break e}throw Error(y(130,e==null?e:typeof e,""))}return n=Ee(o,t,n,l),n.elementType=e,n.type=r,n.lanes=i,n}function Cn(e,n,t,r){return e=Ee(7,e,r,n),e.lanes=t,e}function fl(e,n,t,r){return e=Ee(22,e,r,n),e.elementType=ua,e.lanes=t,e.stateNode={isHidden:!1},e}function Hl(e,n,t){return e=Ee(6,e,null,n),e.lanes=t,e}function Wl(e,n,t){return n=Ee(4,e.children!==null?e.children:[],e.key,n),n.lanes=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function Cd(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=Ll(0),this.expirationTimes=Ll(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ll(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function zo(e,n,t,r,l,i,o,u,a){return e=new Cd(e,n,t,u,a),n===1?(n=1,i===!0&&(n|=8)):n=0,i=Ee(3,null,null,n),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},fo(i),e}function xd(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 bs(e){if(!e)return pn;e=e._reactInternals;e:{if(Mn(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(de(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(de(t))return qa(e,t,n)}return n}function ec(e,n,t,r,l,i,o,u,a){return e=zo(t,r,!0,e,l,i,o,u,a),e.context=bs(null),t=e.current,r=oe(),l=cn(t),i=We(r,l),i.callback=n??null,an(t,i,l),e.current.lanes=l,Xt(e,l,r),pe(e,r),e}function dl(e,n,t,r){var l=n.current,i=oe(),o=cn(l);return t=bs(t),n.context===null?n.context=t:n.pendingContext=t,n=We(i,o),n.payload={element:e},r=r===void 0?null:r,r!==null&&(n.callback=r),e=an(l,n,o),e!==null&&(je(e,l,o,i),Er(e,l,o)),o}function br(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 $u(e,n){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var t=e.retryLane;e.retryLane=t!==0&&t<n?t:n}}function To(e,n){$u(e,n),(e=e.alternate)&&$u(e,n)}function Nd(){return null}var nc=typeof reportError=="function"?reportError:function(e){console.error(e)};function Ro(e){this._internalRoot=e}pl.prototype.render=Ro.prototype.render=function(e){var n=this._internalRoot;if(n===null)throw Error(y(409));dl(e,n,null,null)};pl.prototype.unmount=Ro.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var n=e.containerInfo;Tn(function(){dl(null,e,null,null)}),n[Ke]=null}};function pl(e){this._internalRoot=e}pl.prototype.unstable_scheduleHydration=function(e){if(e){var n=Ra();e={blockedOn:null,target:e,priority:n};for(var t=0;t<be.length&&n!==0&&n<be[t].priority;t++);be.splice(t,0,e),t===0&&ja(e)}};function Mo(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function ml(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Bu(){}function Pd(e,n,t,r,l){if(l){if(typeof r=="function"){var i=r;r=function(){var f=br(o);i.call(f)}}var o=ec(n,r,e,0,null,!1,!1,"",Bu);return e._reactRootContainer=o,e[Ke]=o.current,Ut(e.nodeType===8?e.parentNode:e),Tn(),o}for(;l=e.lastChild;)e.removeChild(l);if(typeof r=="function"){var u=r;r=function(){var f=br(a);u.call(f)}}var a=zo(e,0,!1,null,null,!1,!1,"",Bu);return e._reactRootContainer=a,e[Ke]=a.current,Ut(e.nodeType===8?e.parentNode:e),Tn(function(){dl(n,a,t,r)}),a}function hl(e,n,t,r,l){var i=t._reactRootContainer;if(i){var o=i;if(typeof l=="function"){var u=l;l=function(){var a=br(o);u.call(a)}}dl(n,o,e,l)}else o=Pd(t,n,e,l,r);return br(o)}za=function(e){switch(e.tag){case 3:var n=e.stateNode;if(n.current.memoizedState.isDehydrated){var t=kt(n.pendingLanes);t!==0&&(Zi(n,t|1),pe(n,Q()),!(M&6)&&(lt=Q()+500,vn()))}break;case 13:Tn(function(){var r=Ge(e,1);if(r!==null){var l=oe();je(r,e,1,l)}}),To(e,1)}};Ji=function(e){if(e.tag===13){var n=Ge(e,134217728);if(n!==null){var t=oe();je(n,e,134217728,t)}To(e,134217728)}};Ta=function(e){if(e.tag===13){var n=cn(e),t=Ge(e,n);if(t!==null){var r=oe();je(t,e,n,r)}To(e,n)}};Ra=function(){return j};Ma=function(e,n){var t=j;try{return j=e,n()}finally{j=t}};ii=function(e,n,t){switch(n){case"input":if(ql(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=il(r);if(!l)throw Error(y(90));sa(r),ql(r,l)}}}break;case"textarea":fa(e,t);break;case"select":n=t.value,n!=null&&Kn(e,!!t.multiple,n,!1)}};ga=Co;wa=Tn;var zd={usingClientEntryPoint:!1,Events:[Jt,Un,il,va,ya,Co]},yt={findFiberByHostInstance:Sn,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},Td={bundleType:yt.bundleType,version:yt.version,rendererPackageName:yt.rendererPackageName,rendererConfig:yt.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Xe.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=_a(e),e===null?null:e.stateNode},findFiberByHostInstance:yt.findFiberByHostInstance||Nd,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var yr=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!yr.isDisabled&&yr.supportsFiber)try{nl=yr.inject(Td),Ae=yr}catch{}}ge.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=zd;ge.createPortal=function(e,n){var t=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Mo(n))throw Error(y(200));return xd(e,n,null,t)};ge.createRoot=function(e,n){if(!Mo(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=zo(e,1,!1,null,null,t,!1,r,l),e[Ke]=n.current,Ut(e.nodeType===8?e.parentNode:e),new Ro(n)};ge.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=_a(n),e=e===null?null:e.stateNode,e};ge.flushSync=function(e){return Tn(e)};ge.hydrate=function(e,n,t){if(!ml(n))throw Error(y(200));return hl(null,e,n,!0,t)};ge.hydrateRoot=function(e,n,t){if(!Mo(e))throw Error(y(405));var r=t!=null&&t.hydratedSources||null,l=!1,i="",o=nc;if(t!=null&&(t.unstable_strictMode===!0&&(l=!0),t.identifierPrefix!==void 0&&(i=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),n=ec(n,null,e,1,t??null,l,!1,i,o),e[Ke]=n.current,Ut(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 pl(n)};ge.render=function(e,n,t){if(!ml(n))throw Error(y(200));return hl(null,e,n,!1,t)};ge.unmountComponentAtNode=function(e){if(!ml(e))throw Error(y(40));return e._reactRootContainer?(Tn(function(){hl(null,null,e,!1,function(){e._reactRootContainer=null,e[Ke]=null})}),!0):!1};ge.unstable_batchedUpdates=Co;ge.unstable_renderSubtreeIntoContainer=function(e,n,t,r){if(!ml(t))throw Error(y(200));if(e==null||e._reactInternals===void 0)throw Error(y(38));return hl(e,n,t,!1,r)};ge.version="18.2.0-next-9e3b772b8-20220608";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(),ea.exports=ge;var Rd=ea.exports,Vu=Rd;Ql.createRoot=Vu.createRoot,Ql.hydrateRoot=Vu.hydrateRoot;const Md={"Acehnese (Arabic script)":"ace_Arab","Acehnese (Latin script)":"ace_Latn",Afrikaans:"afr_Latn",Akan:"aka_Latn",Amharic:"amh_Ethi",Armenian:"hye_Armn",Assamese:"asm_Beng",Asturian:"ast_Latn",Awadhi:"awa_Deva","Ayacucho Quechua":"quy_Latn",Balinese:"ban_Latn",Bambara:"bam_Latn","Banjar (Arabic script)":"bjn_Arab","Banjar (Latin script)":"bjn_Latn",Bashkir:"bak_Cyrl",Basque:"eus_Latn",Belarusian:"bel_Cyrl",Bemba:"bem_Latn",Bengali:"ben_Beng",Bhojpuri:"bho_Deva",Bosnian:"bos_Latn",Buginese:"bug_Latn",Bulgarian:"bul_Cyrl",Burmese:"mya_Mymr",Catalan:"cat_Latn",Cebuano:"ceb_Latn","Central Atlas Tamazight":"tzm_Tfng","Central Aymara":"ayr_Latn","Central Kanuri (Arabic script)":"knc_Arab","Central Kanuri (Latin script)":"knc_Latn","Central Kurdish":"ckb_Arab",Chhattisgarhi:"hne_Deva","Chinese (Simplified)":"zho_Hans","Chinese (Traditional)":"zho_Hant",Chokwe:"cjk_Latn","Crimean Tatar":"crh_Latn",Croatian:"hrv_Latn",Czech:"ces_Latn",Danish:"dan_Latn",Dari:"prs_Arab",Dutch:"nld_Latn",Dyula:"dyu_Latn",Dzongkha:"dzo_Tibt","Eastern Panjabi":"pan_Guru","Eastern Yiddish":"ydd_Hebr","Egyptian Arabic":"arz_Arab",English:"eng_Latn",Esperanto:"epo_Latn",Estonian:"est_Latn",Ewe:"ewe_Latn",Faroese:"fao_Latn",Fijian:"fij_Latn",Finnish:"fin_Latn",Fon:"fon_Latn",French:"fra_Latn",Friulian:"fur_Latn",Galician:"glg_Latn",Ganda:"lug_Latn",Georgian:"kat_Geor",German:"deu_Latn",Greek:"ell_Grek",Guarani:"grn_Latn",Gujarati:"guj_Gujr","Haitian Creole":"hat_Latn","Halh Mongolian":"khk_Cyrl",Hausa:"hau_Latn",Hebrew:"heb_Hebr",Hindi:"hin_Deva",Hungarian:"hun_Latn",Icelandic:"isl_Latn",Igbo:"ibo_Latn",Ilocano:"ilo_Latn",Indonesian:"ind_Latn",Irish:"gle_Latn",Italian:"ita_Latn",Japanese:"jpn_Jpan",Javanese:"jav_Latn",Jingpho:"kac_Latn",Kabiyè:"kbp_Latn",Kabuverdianu:"kea_Latn",Kabyle:"kab_Latn",Kamba:"kam_Latn",Kannada:"kan_Knda","Kashmiri (Arabic script)":"kas_Arab","Kashmiri (Devanagari script)":"kas_Deva",Kazakh:"kaz_Cyrl",Khmer:"khm_Khmr",Kikongo:"kon_Latn",Kikuyu:"kik_Latn",Kimbundu:"kmb_Latn",Kinyarwanda:"kin_Latn",Korean:"kor_Hang",Kyrgyz:"kir_Cyrl",Lao:"lao_Laoo",Latgalian:"ltg_Latn",Ligurian:"lij_Latn",Limburgish:"lim_Latn",Lingala:"lin_Latn",Lithuanian:"lit_Latn",Lombard:"lmo_Latn","Luba-Kasai":"lua_Latn",Luo:"luo_Latn",Luxembourgish:"ltz_Latn",Macedonian:"mkd_Cyrl",Magahi:"mag_Deva",Maithili:"mai_Deva",Malayalam:"mal_Mlym",Maltese:"mlt_Latn",Maori:"mri_Latn",Marathi:"mar_Deva","Meitei (Bengali script)":"mni_Beng","Mesopotamian Arabic":"acm_Arab","Minangkabau (Arabic script)":"min_Arab","Minangkabau (Latin script)":"min_Latn",Mizo:"lus_Latn","Modern Standard Arabic (Romanized)":"arb_Latn","Modern Standard Arabic":"arb_Arab","Moroccan Arabic":"ary_Arab",Mossi:"mos_Latn","Najdi Arabic":"ars_Arab",Nepali:"npi_Deva","Nigerian Fulfulde":"fuv_Latn","North Azerbaijani":"azj_Latn","North Levantine Arabic":"apc_Arab","Northern Kurdish":"kmr_Latn","Northern Sotho":"nso_Latn","Northern Uzbek":"uzn_Latn","Norwegian Bokmål":"nob_Latn","Norwegian Nynorsk":"nno_Latn",Nuer:"nus_Latn",Nyanja:"nya_Latn",Occitan:"oci_Latn",Odia:"ory_Orya",Pangasinan:"pag_Latn",Papiamento:"pap_Latn","Plateau Malagasy":"plt_Latn",Polish:"pol_Latn",Portuguese:"por_Latn",Romanian:"ron_Latn",Rundi:"run_Latn",Russian:"rus_Cyrl",Samoan:"smo_Latn",Sango:"sag_Latn",Sanskrit:"san_Deva",Santali:"sat_Olck",Sardinian:"srd_Latn","Scottish Gaelic":"gla_Latn",Serbian:"srp_Cyrl",Shan:"shn_Mymr",Shona:"sna_Latn",Sicilian:"scn_Latn",Silesian:"szl_Latn",Sindhi:"snd_Arab",Sinhala:"sin_Sinh",Slovak:"slk_Latn",Slovenian:"slv_Latn",Somali:"som_Latn","South Azerbaijani":"azb_Arab","South Levantine Arabic":"ajp_Arab","Southern Pashto":"pbt_Arab","Southern Sotho":"sot_Latn","Southwestern Dinka":"dik_Latn",Spanish:"spa_Latn","Standard Latvian":"lvs_Latn","Standard Malay":"zsm_Latn","Standard Tibetan":"bod_Tibt",Sundanese:"sun_Latn",Swahili:"swh_Latn",Swati:"ssw_Latn",Swedish:"swe_Latn",Tagalog:"tgl_Latn",Tajik:"tgk_Cyrl","Tamasheq (Latin script)":"taq_Latn","Tamasheq (Tifinagh script)":"taq_Tfng",Tamil:"tam_Taml",Tatar:"tat_Cyrl","Ta’izzi-Adeni Arabic":"acq_Arab",Telugu:"tel_Telu",Thai:"tha_Thai",Tigrinya:"tir_Ethi","Tok Pisin":"tpi_Latn","Tosk Albanian":"als_Latn",Tsonga:"tso_Latn",Tswana:"tsn_Latn",Tumbuka:"tum_Latn","Tunisian Arabic":"aeb_Arab",Turkish:"tur_Latn",Turkmen:"tuk_Latn",Twi:"twi_Latn",Ukrainian:"ukr_Cyrl",Umbundu:"umb_Latn",Urdu:"urd_Arab",Uyghur:"uig_Arab",Venetian:"vec_Latn",Vietnamese:"vie_Latn",Waray:"war_Latn",Welsh:"cym_Latn","West Central Oromo":"gaz_Latn","Western Persian":"pes_Arab",Wolof:"wol_Latn",Xhosa:"xho_Latn",Yoruba:"yor_Latn","Yue Chinese":"yue_Hant",Zulu:"zul_Latn"};function Hu({type:e,onChange:n,defaultLanguage:t}){return F.jsxs("div",{className:"language-selector",children:[F.jsxs("label",{children:[e,": "]}),F.jsx("select",{onChange:n,defaultValue:t,children:Object.entries(Md).map(([r,l])=>F.jsx("option",{value:l,children:r},r))})]})}function jd({text:e,percentage:n}){return n=n??0,F.jsx("div",{className:"progress-container",children:F.jsxs("div",{className:"progress-bar",style:{width:`${n}%`},children:[e," (",`${n.toFixed(2)}%`,")"]})})}function Od(){const[e,n]=ke.useState(null),[t,r]=ke.useState(!1),[l,i]=ke.useState([]),[o,u]=ke.useState("I love walking my dog."),[a,f]=ke.useState("eng_Latn"),[h,m]=ke.useState("fra_Latn"),[p,w]=ke.useState(""),g=ke.useRef(null);ke.useEffect(()=>{g.current||(g.current=new Worker(new URL("/assets/worker-22715bb5.js",self.location),{type:"module"}));const z=c=>{switch(c.data.status){case"initiate":n(!1),i(s=>[...s,c.data]);break;case"progress":i(s=>s.map(d=>d.file===c.data.file?{...d,progress:c.data.progress}:d));break;case"done":i(s=>s.filter(d=>d.file!==c.data.file));break;case"ready":n(!0);break;case"update":w(c.data.output);break;case"complete":r(!1);break}};return g.current.addEventListener("message",z),()=>g.current.removeEventListener("message",z)});const k=()=>{r(!0),g.current.postMessage({text:o,src_lang:a,tgt_lang:h})};return F.jsxs(F.Fragment,{children:[F.jsx("h1",{children:"Transformers.js"}),F.jsx("h2",{children:"ML-powered multilingual translation in React!"}),F.jsxs("div",{className:"container",children:[F.jsxs("div",{className:"language-container",children:[F.jsx(Hu,{type:"Source",defaultLanguage:"eng_Latn",onChange:z=>f(z.target.value)}),F.jsx(Hu,{type:"Target",defaultLanguage:"fra_Latn",onChange:z=>m(z.target.value)})]}),F.jsxs("div",{className:"textbox-container",children:[F.jsx("textarea",{value:o,rows:3,onChange:z=>u(z.target.value)}),F.jsx("textarea",{value:p,rows:3,readOnly:!0})]})]}),F.jsx("button",{disabled:t,onClick:k,children:"Translate"}),F.jsxs("div",{className:"progress-bars-container",children:[e===!1&&F.jsx("label",{children:"Loading models... (only run once)"}),l.map(z=>F.jsx("div",{children:F.jsx(jd,{text:z.file,percentage:z.progress})},z.file))]})]})}Ql.createRoot(document.getElementById("root")).render(F.jsx(kc.StrictMode,{children:F.jsx(Od,{})}));