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