Spaces:
Running
Running
(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 o of l)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(l){const o={};return l.integrity&&(o.integrity=l.integrity),l.referrerPolicy&&(o.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?o.credentials="include":l.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(l){if(l.ep)return;l.ep=!0;const o=n(l);fetch(l.href,o)}})();function ef(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ls={exports:{}},yl={},js={exports:{}},z={};/** | |
* @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 ur=Symbol.for("react.element"),tf=Symbol.for("react.portal"),nf=Symbol.for("react.fragment"),rf=Symbol.for("react.strict_mode"),lf=Symbol.for("react.profiler"),of=Symbol.for("react.provider"),uf=Symbol.for("react.context"),sf=Symbol.for("react.forward_ref"),af=Symbol.for("react.suspense"),cf=Symbol.for("react.memo"),ff=Symbol.for("react.lazy"),uu=Symbol.iterator;function df(e){return e===null||typeof e!="object"?null:(e=uu&&e[uu]||e["@@iterator"],typeof e=="function"?e:null)}var Ps={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Is=Object.assign,Ts={};function wn(e,t,n){this.props=e,this.context=t,this.refs=Ts,this.updater=n||Ps}wn.prototype.isReactComponent={};wn.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")};wn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Rs(){}Rs.prototype=wn.prototype;function si(e,t,n){this.props=e,this.context=t,this.refs=Ts,this.updater=n||Ps}var ai=si.prototype=new Rs;ai.constructor=si;Is(ai,wn.prototype);ai.isPureReactComponent=!0;var su=Array.isArray,zs=Object.prototype.hasOwnProperty,ci={current:null},Os={key:!0,ref:!0,__self:!0,__source:!0};function Us(e,t,n){var r,l={},o=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(o=""+t.key),t)zs.call(t,r)&&!Os.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:ur,type:e,key:o,ref:i,props:l,_owner:ci.current}}function pf(e,t){return{$$typeof:ur,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function fi(e){return typeof e=="object"&&e!==null&&e.$$typeof===ur}function hf(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var au=/\/+/g;function Ml(e,t){return typeof e=="object"&&e!==null&&e.key!=null?hf(""+e.key):t.toString(36)}function Or(e,t,n,r,l){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(o){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case ur:case tf:i=!0}}if(i)return i=e,l=l(i),e=r===""?"."+Ml(i,0):r,su(l)?(n="",e!=null&&(n=e.replace(au,"$&/")+"/"),Or(l,t,n,"",function(a){return a})):l!=null&&(fi(l)&&(l=pf(l,n+(!l.key||i&&i.key===l.key?"":(""+l.key).replace(au,"$&/")+"/")+e)),t.push(l)),1;if(i=0,r=r===""?".":r+":",su(e))for(var u=0;u<e.length;u++){o=e[u];var s=r+Ml(o,u);i+=Or(o,t,n,s,l)}else if(s=df(e),typeof s=="function")for(e=s.call(e),u=0;!(o=e.next()).done;)o=o.value,s=r+Ml(o,u++),i+=Or(o,t,n,s,l);else if(o==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return i}function pr(e,t,n){if(e==null)return e;var r=[],l=0;return Or(e,r,"","",function(o){return t.call(n,o,l++)}),r}function mf(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 de={current:null},Ur={transition:null},gf={ReactCurrentDispatcher:de,ReactCurrentBatchConfig:Ur,ReactCurrentOwner:ci};function Ds(){throw Error("act(...) is not supported in production builds of React.")}z.Children={map:pr,forEach:function(e,t,n){pr(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return pr(e,function(){t++}),t},toArray:function(e){return pr(e,function(t){return t})||[]},only:function(e){if(!fi(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};z.Component=wn;z.Fragment=nf;z.Profiler=lf;z.PureComponent=si;z.StrictMode=rf;z.Suspense=af;z.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=gf;z.act=Ds;z.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=Is({},e.props),l=e.key,o=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,i=ci.current),t.key!==void 0&&(l=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(s in t)zs.call(t,s)&&!Os.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:ur,type:e.type,key:l,ref:o,props:r,_owner:i}};z.createContext=function(e){return e={$$typeof:uf,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:of,_context:e},e.Consumer=e};z.createElement=Us;z.createFactory=function(e){var t=Us.bind(null,e);return t.type=e,t};z.createRef=function(){return{current:null}};z.forwardRef=function(e){return{$$typeof:sf,render:e}};z.isValidElement=fi;z.lazy=function(e){return{$$typeof:ff,_payload:{_status:-1,_result:e},_init:mf}};z.memo=function(e,t){return{$$typeof:cf,type:e,compare:t===void 0?null:t}};z.startTransition=function(e){var t=Ur.transition;Ur.transition={};try{e()}finally{Ur.transition=t}};z.unstable_act=Ds;z.useCallback=function(e,t){return de.current.useCallback(e,t)};z.useContext=function(e){return de.current.useContext(e)};z.useDebugValue=function(){};z.useDeferredValue=function(e){return de.current.useDeferredValue(e)};z.useEffect=function(e,t){return de.current.useEffect(e,t)};z.useId=function(){return de.current.useId()};z.useImperativeHandle=function(e,t,n){return de.current.useImperativeHandle(e,t,n)};z.useInsertionEffect=function(e,t){return de.current.useInsertionEffect(e,t)};z.useLayoutEffect=function(e,t){return de.current.useLayoutEffect(e,t)};z.useMemo=function(e,t){return de.current.useMemo(e,t)};z.useReducer=function(e,t,n){return de.current.useReducer(e,t,n)};z.useRef=function(e){return de.current.useRef(e)};z.useState=function(e){return de.current.useState(e)};z.useSyncExternalStore=function(e,t,n){return de.current.useSyncExternalStore(e,t,n)};z.useTransition=function(){return de.current.useTransition()};z.version="18.3.1";js.exports=z;var P=js.exports;const vf=ef(P);/** | |
* @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 yf=P,wf=Symbol.for("react.element"),Sf=Symbol.for("react.fragment"),_f=Object.prototype.hasOwnProperty,kf=yf.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Ef={key:!0,ref:!0,__self:!0,__source:!0};function Ms(e,t,n){var r,l={},o=null,i=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(i=t.ref);for(r in t)_f.call(t,r)&&!Ef.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:wf,type:e,key:o,ref:i,props:l,_owner:kf.current}}yl.Fragment=Sf;yl.jsx=Ms;yl.jsxs=Ms;Ls.exports=yl;var y=Ls.exports,$s={exports:{}},Ne={},As={exports:{}},Fs={};/** | |
* @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,R){var T=x.length;x.push(R);e:for(;0<T;){var W=T-1>>>1,M=x[W];if(0<l(M,R))x[W]=R,x[T]=M,T=W;else break e}}function n(x){return x.length===0?null:x[0]}function r(x){if(x.length===0)return null;var R=x[0],T=x.pop();if(T!==R){x[0]=T;e:for(var W=0,M=x.length,_e=M>>>1;W<_e;){var oe=2*(W+1)-1,He=x[oe],he=oe+1,Vt=x[he];if(0>l(He,T))he<M&&0>l(Vt,He)?(x[W]=Vt,x[he]=T,W=he):(x[W]=He,x[oe]=T,W=oe);else if(he<M&&0>l(Vt,T))x[W]=Vt,x[he]=T,W=he;else break e}}return R}function l(x,R){var T=x.sortIndex-R.sortIndex;return T!==0?T:x.id-R.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,u=i.now();e.unstable_now=function(){return i.now()-u}}var s=[],a=[],m=1,p=null,h=3,v=!1,g=!1,w=!1,N=typeof setTimeout=="function"?setTimeout:null,c=typeof clearTimeout=="function"?clearTimeout:null,f=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 R=n(a);R!==null;){if(R.callback===null)r(a);else if(R.startTime<=x)r(a),R.sortIndex=R.expirationTime,t(s,R);else break;R=n(a)}}function S(x){if(w=!1,d(x),!g)if(n(s)!==null)g=!0,Ge(k);else{var R=n(a);R!==null&&st(S,R.startTime-x)}}function k(x,R){g=!1,w&&(w=!1,c(I),I=-1),v=!0;var T=h;try{for(d(R),p=n(s);p!==null&&(!(p.expirationTime>R)||x&&!O());){var W=p.callback;if(typeof W=="function"){p.callback=null,h=p.priorityLevel;var M=W(p.expirationTime<=R);R=e.unstable_now(),typeof M=="function"?p.callback=M:p===n(s)&&r(s),d(R)}else r(s);p=n(s)}if(p!==null)var _e=!0;else{var oe=n(a);oe!==null&&st(S,oe.startTime-R),_e=!1}return _e}finally{p=null,h=T,v=!1}}var E=!1,C=null,I=-1,$=5,j=-1;function O(){return!(e.unstable_now()-j<$)}function Xe(){if(C!==null){var x=e.unstable_now();j=x;var R=!0;try{R=C(!0,x)}finally{R?Oe():(E=!1,C=null)}}else E=!1}var Oe;if(typeof f=="function")Oe=function(){f(Xe)};else if(typeof MessageChannel<"u"){var Se=new MessageChannel,We=Se.port2;Se.port1.onmessage=Xe,Oe=function(){We.postMessage(null)}}else Oe=function(){N(Xe,0)};function Ge(x){C=x,E||(E=!0,Oe())}function st(x,R){I=N(function(){x(e.unstable_now())},R)}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(){g||v||(g=!0,Ge(k))},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"):$=0<x?Math.floor(1e3/x):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(s)},e.unstable_next=function(x){switch(h){case 1:case 2:case 3:var R=3;break;default:R=h}var T=h;h=R;try{return x()}finally{h=T}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(x,R){switch(x){case 1:case 2:case 3:case 4:case 5:break;default:x=3}var T=h;h=x;try{return R()}finally{h=T}},e.unstable_scheduleCallback=function(x,R,T){var W=e.unstable_now();switch(typeof T=="object"&&T!==null?(T=T.delay,T=typeof T=="number"&&0<T?W+T:W):T=W,x){case 1:var M=-1;break;case 2:M=250;break;case 5:M=1073741823;break;case 4:M=1e4;break;default:M=5e3}return M=T+M,x={id:m++,callback:R,priorityLevel:x,startTime:T,expirationTime:M,sortIndex:-1},T>W?(x.sortIndex=T,t(a,x),n(s)===null&&x===n(a)&&(w?(c(I),I=-1):w=!0,st(S,T-W))):(x.sortIndex=M,t(s,x),g||v||(g=!0,Ge(k))),x},e.unstable_shouldYield=O,e.unstable_wrapCallback=function(x){var R=h;return function(){var T=h;h=R;try{return x.apply(this,arguments)}finally{h=T}}}})(Fs);As.exports=Fs;var xf=As.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 Cf=P,Ce=xf;function _(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 Bs=new Set,Vn={};function Wt(e,t){dn(e,t),dn(e+"Capture",t)}function dn(e,t){for(Vn[e]=t,e=0;e<t.length;e++)Bs.add(t[e])}var nt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),co=Object.prototype.hasOwnProperty,Nf=/^[: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]*$/,cu={},fu={};function Lf(e){return co.call(fu,e)?!0:co.call(cu,e)?!1:Nf.test(e)?fu[e]=!0:(cu[e]=!0,!1)}function jf(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 Pf(e,t,n,r){if(t===null||typeof t>"u"||jf(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 pe(e,t,n,r,l,o,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var le={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){le[e]=new pe(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];le[t]=new pe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){le[e]=new pe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){le[e]=new pe(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){le[e]=new pe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){le[e]=new pe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){le[e]=new pe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){le[e]=new pe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){le[e]=new pe(e,5,!1,e.toLowerCase(),null,!1,!1)});var di=/[\-:]([a-z])/g;function pi(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(di,pi);le[t]=new pe(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(di,pi);le[t]=new pe(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(di,pi);le[t]=new pe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){le[e]=new pe(e,1,!1,e.toLowerCase(),null,!1,!1)});le.xlinkHref=new pe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){le[e]=new pe(e,1,!1,e.toLowerCase(),null,!0,!0)});function hi(e,t,n,r){var l=le.hasOwnProperty(t)?le[t]:null;(l!==null?l.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Pf(t,n,l,r)&&(n=null),r||l===null?Lf(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 it=Cf.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,hr=Symbol.for("react.element"),Yt=Symbol.for("react.portal"),qt=Symbol.for("react.fragment"),mi=Symbol.for("react.strict_mode"),fo=Symbol.for("react.profiler"),Ws=Symbol.for("react.provider"),Hs=Symbol.for("react.context"),gi=Symbol.for("react.forward_ref"),po=Symbol.for("react.suspense"),ho=Symbol.for("react.suspense_list"),vi=Symbol.for("react.memo"),ct=Symbol.for("react.lazy"),Vs=Symbol.for("react.offscreen"),du=Symbol.iterator;function kn(e){return e===null||typeof e!="object"?null:(e=du&&e[du]||e["@@iterator"],typeof e=="function"?e:null)}var Y=Object.assign,$l;function Tn(e){if($l===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);$l=t&&t[1]||""}return` | |
`+$l+e}var Al=!1;function Fl(e,t){if(!e||Al)return"";Al=!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(` | |
`),o=r.stack.split(` | |
`),i=l.length-1,u=o.length-1;1<=i&&0<=u&&l[i]!==o[u];)u--;for(;1<=i&&0<=u;i--,u--)if(l[i]!==o[u]){if(i!==1||u!==1)do if(i--,u--,0>u||l[i]!==o[u]){var s=` | |
`+l[i].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}while(1<=i&&0<=u);break}}}finally{Al=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Tn(e):""}function If(e){switch(e.tag){case 5:return Tn(e.type);case 16:return Tn("Lazy");case 13:return Tn("Suspense");case 19:return Tn("SuspenseList");case 0:case 2:case 15:return e=Fl(e.type,!1),e;case 11:return e=Fl(e.type.render,!1),e;case 1:return e=Fl(e.type,!0),e;default:return""}}function mo(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 qt:return"Fragment";case Yt:return"Portal";case fo:return"Profiler";case mi:return"StrictMode";case po:return"Suspense";case ho:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Hs:return(e.displayName||"Context")+".Consumer";case Ws:return(e._context.displayName||"Context")+".Provider";case gi:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case vi:return t=e.displayName||null,t!==null?t:mo(e.type)||"Memo";case ct:t=e._payload,e=e._init;try{return mo(e(t))}catch{}}return null}function Tf(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 mo(t);case 8:return t===mi?"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 Ct(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Qs(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Rf(e){var t=Qs(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,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(i){r=""+i,o.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function mr(e){e._valueTracker||(e._valueTracker=Rf(e))}function Ys(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Qs(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function qr(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 go(e,t){var n=t.checked;return Y({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function pu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Ct(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 qs(e,t){t=t.checked,t!=null&&hi(e,"checked",t,!1)}function vo(e,t){qs(e,t);var n=Ct(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")?yo(e,t.type,n):t.hasOwnProperty("defaultValue")&&yo(e,t.type,Ct(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function hu(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 yo(e,t,n){(t!=="number"||qr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Rn=Array.isArray;function ln(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=""+Ct(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 wo(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(_(91));return Y({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function mu(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(_(92));if(Rn(n)){if(1<n.length)throw Error(_(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Ct(n)}}function Ks(e,t){var n=Ct(t.value),r=Ct(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 gu(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Xs(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 So(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Xs(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var gr,Gs=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(gr=gr||document.createElement("div"),gr.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=gr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Qn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Un={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},zf=["Webkit","ms","Moz","O"];Object.keys(Un).forEach(function(e){zf.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Un[t]=Un[e]})});function Zs(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Un.hasOwnProperty(e)&&Un[e]?(""+t).trim():t+"px"}function Js(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=Zs(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var Of=Y({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 _o(e,t){if(t){if(Of[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(_(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(_(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(_(61))}if(t.style!=null&&typeof t.style!="object")throw Error(_(62))}}function ko(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 Eo=null;function yi(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var xo=null,on=null,un=null;function vu(e){if(e=cr(e)){if(typeof xo!="function")throw Error(_(280));var t=e.stateNode;t&&(t=El(t),xo(e.stateNode,e.type,t))}}function bs(e){on?un?un.push(e):un=[e]:on=e}function ea(){if(on){var e=on,t=un;if(un=on=null,vu(e),t)for(e=0;e<t.length;e++)vu(t[e])}}function ta(e,t){return e(t)}function na(){}var Bl=!1;function ra(e,t,n){if(Bl)return e(t,n);Bl=!0;try{return ta(e,t,n)}finally{Bl=!1,(on!==null||un!==null)&&(na(),ea())}}function Yn(e,t){var n=e.stateNode;if(n===null)return null;var r=El(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(_(231,t,typeof n));return n}var Co=!1;if(nt)try{var En={};Object.defineProperty(En,"passive",{get:function(){Co=!0}}),window.addEventListener("test",En,En),window.removeEventListener("test",En,En)}catch{Co=!1}function Uf(e,t,n,r,l,o,i,u,s){var a=Array.prototype.slice.call(arguments,3);try{t.apply(n,a)}catch(m){this.onError(m)}}var Dn=!1,Kr=null,Xr=!1,No=null,Df={onError:function(e){Dn=!0,Kr=e}};function Mf(e,t,n,r,l,o,i,u,s){Dn=!1,Kr=null,Uf.apply(Df,arguments)}function $f(e,t,n,r,l,o,i,u,s){if(Mf.apply(this,arguments),Dn){if(Dn){var a=Kr;Dn=!1,Kr=null}else throw Error(_(198));Xr||(Xr=!0,No=a)}}function Ht(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 la(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 yu(e){if(Ht(e)!==e)throw Error(_(188))}function Af(e){var t=e.alternate;if(!t){if(t=Ht(e),t===null)throw Error(_(188));return t!==e?null:e}for(var n=e,r=t;;){var l=n.return;if(l===null)break;var o=l.alternate;if(o===null){if(r=l.return,r!==null){n=r;continue}break}if(l.child===o.child){for(o=l.child;o;){if(o===n)return yu(l),e;if(o===r)return yu(l),t;o=o.sibling}throw Error(_(188))}if(n.return!==r.return)n=l,r=o;else{for(var i=!1,u=l.child;u;){if(u===n){i=!0,n=l,r=o;break}if(u===r){i=!0,r=l,n=o;break}u=u.sibling}if(!i){for(u=o.child;u;){if(u===n){i=!0,n=o,r=l;break}if(u===r){i=!0,r=o,n=l;break}u=u.sibling}if(!i)throw Error(_(189))}}if(n.alternate!==r)throw Error(_(190))}if(n.tag!==3)throw Error(_(188));return n.stateNode.current===n?e:t}function oa(e){return e=Af(e),e!==null?ia(e):null}function ia(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=ia(e);if(t!==null)return t;e=e.sibling}return null}var ua=Ce.unstable_scheduleCallback,wu=Ce.unstable_cancelCallback,Ff=Ce.unstable_shouldYield,Bf=Ce.unstable_requestPaint,X=Ce.unstable_now,Wf=Ce.unstable_getCurrentPriorityLevel,wi=Ce.unstable_ImmediatePriority,sa=Ce.unstable_UserBlockingPriority,Gr=Ce.unstable_NormalPriority,Hf=Ce.unstable_LowPriority,aa=Ce.unstable_IdlePriority,wl=null,qe=null;function Vf(e){if(qe&&typeof qe.onCommitFiberRoot=="function")try{qe.onCommitFiberRoot(wl,e,void 0,(e.current.flags&128)===128)}catch{}}var Ae=Math.clz32?Math.clz32:qf,Qf=Math.log,Yf=Math.LN2;function qf(e){return e>>>=0,e===0?32:31-(Qf(e)/Yf|0)|0}var vr=64,yr=4194304;function zn(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 Zr(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,o=e.pingedLanes,i=n&268435455;if(i!==0){var u=i&~l;u!==0?r=zn(u):(o&=i,o!==0&&(r=zn(o)))}else i=n&~l,i!==0?r=zn(i):o!==0&&(r=zn(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,o=t&-t,l>=o||l===16&&(o&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-Ae(t),l=1<<n,r|=e[n],t&=~l;return r}function Kf(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 Xf(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,l=e.expirationTimes,o=e.pendingLanes;0<o;){var i=31-Ae(o),u=1<<i,s=l[i];s===-1?(!(u&n)||u&r)&&(l[i]=Kf(u,t)):s<=t&&(e.expiredLanes|=u),o&=~u}}function Lo(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function ca(){var e=vr;return vr<<=1,!(vr&4194240)&&(vr=64),e}function Wl(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function sr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ae(t),e[t]=n}function Gf(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-Ae(n),o=1<<l;t[l]=0,r[l]=-1,e[l]=-1,n&=~o}}function Si(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Ae(n),l=1<<r;l&t|e[r]&t&&(e[r]|=t),n&=~l}}var D=0;function fa(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var da,_i,pa,ha,ma,jo=!1,wr=[],vt=null,yt=null,wt=null,qn=new Map,Kn=new Map,pt=[],Zf="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 Su(e,t){switch(e){case"focusin":case"focusout":vt=null;break;case"dragenter":case"dragleave":yt=null;break;case"mouseover":case"mouseout":wt=null;break;case"pointerover":case"pointerout":qn.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Kn.delete(t.pointerId)}}function xn(e,t,n,r,l,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[l]},t!==null&&(t=cr(t),t!==null&&_i(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e)}function Jf(e,t,n,r,l){switch(t){case"focusin":return vt=xn(vt,e,t,n,r,l),!0;case"dragenter":return yt=xn(yt,e,t,n,r,l),!0;case"mouseover":return wt=xn(wt,e,t,n,r,l),!0;case"pointerover":var o=l.pointerId;return qn.set(o,xn(qn.get(o)||null,e,t,n,r,l)),!0;case"gotpointercapture":return o=l.pointerId,Kn.set(o,xn(Kn.get(o)||null,e,t,n,r,l)),!0}return!1}function ga(e){var t=Rt(e.target);if(t!==null){var n=Ht(t);if(n!==null){if(t=n.tag,t===13){if(t=la(n),t!==null){e.blockedOn=t,ma(e.priority,function(){pa(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 Dr(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Po(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Eo=r,n.target.dispatchEvent(r),Eo=null}else return t=cr(n),t!==null&&_i(t),e.blockedOn=n,!1;t.shift()}return!0}function _u(e,t,n){Dr(e)&&n.delete(t)}function bf(){jo=!1,vt!==null&&Dr(vt)&&(vt=null),yt!==null&&Dr(yt)&&(yt=null),wt!==null&&Dr(wt)&&(wt=null),qn.forEach(_u),Kn.forEach(_u)}function Cn(e,t){e.blockedOn===t&&(e.blockedOn=null,jo||(jo=!0,Ce.unstable_scheduleCallback(Ce.unstable_NormalPriority,bf)))}function Xn(e){function t(l){return Cn(l,e)}if(0<wr.length){Cn(wr[0],e);for(var n=1;n<wr.length;n++){var r=wr[n];r.blockedOn===e&&(r.blockedOn=null)}}for(vt!==null&&Cn(vt,e),yt!==null&&Cn(yt,e),wt!==null&&Cn(wt,e),qn.forEach(t),Kn.forEach(t),n=0;n<pt.length;n++)r=pt[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<pt.length&&(n=pt[0],n.blockedOn===null);)ga(n),n.blockedOn===null&&pt.shift()}var sn=it.ReactCurrentBatchConfig,Jr=!0;function ed(e,t,n,r){var l=D,o=sn.transition;sn.transition=null;try{D=1,ki(e,t,n,r)}finally{D=l,sn.transition=o}}function td(e,t,n,r){var l=D,o=sn.transition;sn.transition=null;try{D=4,ki(e,t,n,r)}finally{D=l,sn.transition=o}}function ki(e,t,n,r){if(Jr){var l=Po(e,t,n,r);if(l===null)Jl(e,t,r,br,n),Su(e,r);else if(Jf(l,e,t,n,r))r.stopPropagation();else if(Su(e,r),t&4&&-1<Zf.indexOf(e)){for(;l!==null;){var o=cr(l);if(o!==null&&da(o),o=Po(e,t,n,r),o===null&&Jl(e,t,r,br,n),o===l)break;l=o}l!==null&&r.stopPropagation()}else Jl(e,t,r,null,n)}}var br=null;function Po(e,t,n,r){if(br=null,e=yi(r),e=Rt(e),e!==null)if(t=Ht(e),t===null)e=null;else if(n=t.tag,n===13){if(e=la(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 br=e,null}function va(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(Wf()){case wi:return 1;case sa:return 4;case Gr:case Hf:return 16;case aa:return 536870912;default:return 16}default:return 16}}var mt=null,Ei=null,Mr=null;function ya(){if(Mr)return Mr;var e,t=Ei,n=t.length,r,l="value"in mt?mt.value:mt.textContent,o=l.length;for(e=0;e<n&&t[e]===l[e];e++);var i=n-e;for(r=1;r<=i&&t[n-r]===l[o-r];r++);return Mr=l.slice(e,1<r?1-r:void 0)}function $r(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 Sr(){return!0}function ku(){return!1}function Le(e){function t(n,r,l,o,i){this._reactName=n,this._targetInst=l,this.type=r,this.nativeEvent=o,this.target=i,this.currentTarget=null;for(var u in e)e.hasOwnProperty(u)&&(n=e[u],this[u]=n?n(o):o[u]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Sr:ku,this.isPropagationStopped=ku,this}return Y(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=Sr)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Sr)},persist:function(){},isPersistent:Sr}),t}var Sn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},xi=Le(Sn),ar=Y({},Sn,{view:0,detail:0}),nd=Le(ar),Hl,Vl,Nn,Sl=Y({},ar,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ci,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!==Nn&&(Nn&&e.type==="mousemove"?(Hl=e.screenX-Nn.screenX,Vl=e.screenY-Nn.screenY):Vl=Hl=0,Nn=e),Hl)},movementY:function(e){return"movementY"in e?e.movementY:Vl}}),Eu=Le(Sl),rd=Y({},Sl,{dataTransfer:0}),ld=Le(rd),od=Y({},ar,{relatedTarget:0}),Ql=Le(od),id=Y({},Sn,{animationName:0,elapsedTime:0,pseudoElement:0}),ud=Le(id),sd=Y({},Sn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),ad=Le(sd),cd=Y({},Sn,{data:0}),xu=Le(cd),fd={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},dd={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"},pd={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function hd(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=pd[e])?!!t[e]:!1}function Ci(){return hd}var md=Y({},ar,{key:function(e){if(e.key){var t=fd[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=$r(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?dd[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ci,charCode:function(e){return e.type==="keypress"?$r(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?$r(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),gd=Le(md),vd=Y({},Sl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Cu=Le(vd),yd=Y({},ar,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ci}),wd=Le(yd),Sd=Y({},Sn,{propertyName:0,elapsedTime:0,pseudoElement:0}),_d=Le(Sd),kd=Y({},Sl,{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}),Ed=Le(kd),xd=[9,13,27,32],Ni=nt&&"CompositionEvent"in window,Mn=null;nt&&"documentMode"in document&&(Mn=document.documentMode);var Cd=nt&&"TextEvent"in window&&!Mn,wa=nt&&(!Ni||Mn&&8<Mn&&11>=Mn),Nu=" ",Lu=!1;function Sa(e,t){switch(e){case"keyup":return xd.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function _a(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Kt=!1;function Nd(e,t){switch(e){case"compositionend":return _a(t);case"keypress":return t.which!==32?null:(Lu=!0,Nu);case"textInput":return e=t.data,e===Nu&&Lu?null:e;default:return null}}function Ld(e,t){if(Kt)return e==="compositionend"||!Ni&&Sa(e,t)?(e=ya(),Mr=Ei=mt=null,Kt=!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 wa&&t.locale!=="ko"?null:t.data;default:return null}}var jd={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 ju(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!jd[e.type]:t==="textarea"}function ka(e,t,n,r){bs(r),t=el(t,"onChange"),0<t.length&&(n=new xi("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var $n=null,Gn=null;function Pd(e){za(e,0)}function _l(e){var t=Zt(e);if(Ys(t))return e}function Id(e,t){if(e==="change")return t}var Ea=!1;if(nt){var Yl;if(nt){var ql="oninput"in document;if(!ql){var Pu=document.createElement("div");Pu.setAttribute("oninput","return;"),ql=typeof Pu.oninput=="function"}Yl=ql}else Yl=!1;Ea=Yl&&(!document.documentMode||9<document.documentMode)}function Iu(){$n&&($n.detachEvent("onpropertychange",xa),Gn=$n=null)}function xa(e){if(e.propertyName==="value"&&_l(Gn)){var t=[];ka(t,Gn,e,yi(e)),ra(Pd,t)}}function Td(e,t,n){e==="focusin"?(Iu(),$n=t,Gn=n,$n.attachEvent("onpropertychange",xa)):e==="focusout"&&Iu()}function Rd(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return _l(Gn)}function zd(e,t){if(e==="click")return _l(t)}function Od(e,t){if(e==="input"||e==="change")return _l(t)}function Ud(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Be=typeof Object.is=="function"?Object.is:Ud;function Zn(e,t){if(Be(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(!co.call(t,l)||!Be(e[l],t[l]))return!1}return!0}function Tu(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ru(e,t){var n=Tu(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=Tu(n)}}function Ca(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Ca(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Na(){for(var e=window,t=qr();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=qr(e.document)}return t}function Li(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 Dd(e){var t=Na(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Ca(n.ownerDocument.documentElement,n)){if(r!==null&&Li(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,o=Math.min(r.start,l);r=r.end===void 0?o:Math.min(r.end,l),!e.extend&&o>r&&(l=r,r=o,o=l),l=Ru(n,o);var i=Ru(n,r);l&&i&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Md=nt&&"documentMode"in document&&11>=document.documentMode,Xt=null,Io=null,An=null,To=!1;function zu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;To||Xt==null||Xt!==qr(r)||(r=Xt,"selectionStart"in r&&Li(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}),An&&Zn(An,r)||(An=r,r=el(Io,"onSelect"),0<r.length&&(t=new xi("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Xt)))}function _r(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Gt={animationend:_r("Animation","AnimationEnd"),animationiteration:_r("Animation","AnimationIteration"),animationstart:_r("Animation","AnimationStart"),transitionend:_r("Transition","TransitionEnd")},Kl={},La={};nt&&(La=document.createElement("div").style,"AnimationEvent"in window||(delete Gt.animationend.animation,delete Gt.animationiteration.animation,delete Gt.animationstart.animation),"TransitionEvent"in window||delete Gt.transitionend.transition);function kl(e){if(Kl[e])return Kl[e];if(!Gt[e])return e;var t=Gt[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in La)return Kl[e]=t[n];return e}var ja=kl("animationend"),Pa=kl("animationiteration"),Ia=kl("animationstart"),Ta=kl("transitionend"),Ra=new Map,Ou="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 Lt(e,t){Ra.set(e,t),Wt(t,[e])}for(var Xl=0;Xl<Ou.length;Xl++){var Gl=Ou[Xl],$d=Gl.toLowerCase(),Ad=Gl[0].toUpperCase()+Gl.slice(1);Lt($d,"on"+Ad)}Lt(ja,"onAnimationEnd");Lt(Pa,"onAnimationIteration");Lt(Ia,"onAnimationStart");Lt("dblclick","onDoubleClick");Lt("focusin","onFocus");Lt("focusout","onBlur");Lt(Ta,"onTransitionEnd");dn("onMouseEnter",["mouseout","mouseover"]);dn("onMouseLeave",["mouseout","mouseover"]);dn("onPointerEnter",["pointerout","pointerover"]);dn("onPointerLeave",["pointerout","pointerover"]);Wt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Wt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Wt("onBeforeInput",["compositionend","keypress","textInput","paste"]);Wt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Wt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Wt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var On="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(" "),Fd=new Set("cancel close invalid load scroll toggle".split(" ").concat(On));function Uu(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,$f(r,t,void 0,e),e.currentTarget=null}function za(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 o=void 0;if(t)for(var i=r.length-1;0<=i;i--){var u=r[i],s=u.instance,a=u.currentTarget;if(u=u.listener,s!==o&&l.isPropagationStopped())break e;Uu(l,u,a),o=s}else for(i=0;i<r.length;i++){if(u=r[i],s=u.instance,a=u.currentTarget,u=u.listener,s!==o&&l.isPropagationStopped())break e;Uu(l,u,a),o=s}}}if(Xr)throw e=No,Xr=!1,No=null,e}function F(e,t){var n=t[Do];n===void 0&&(n=t[Do]=new Set);var r=e+"__bubble";n.has(r)||(Oa(t,e,2,!1),n.add(r))}function Zl(e,t,n){var r=0;t&&(r|=4),Oa(n,e,r,t)}var kr="_reactListening"+Math.random().toString(36).slice(2);function Jn(e){if(!e[kr]){e[kr]=!0,Bs.forEach(function(n){n!=="selectionchange"&&(Fd.has(n)||Zl(n,!1,e),Zl(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[kr]||(t[kr]=!0,Zl("selectionchange",!1,t))}}function Oa(e,t,n,r){switch(va(t)){case 1:var l=ed;break;case 4:l=td;break;default:l=ki}n=l.bind(null,t,n,e),l=void 0,!Co||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 Jl(e,t,n,r,l){var o=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var i=r.tag;if(i===3||i===4){var u=r.stateNode.containerInfo;if(u===l||u.nodeType===8&&u.parentNode===l)break;if(i===4)for(i=r.return;i!==null;){var s=i.tag;if((s===3||s===4)&&(s=i.stateNode.containerInfo,s===l||s.nodeType===8&&s.parentNode===l))return;i=i.return}for(;u!==null;){if(i=Rt(u),i===null)return;if(s=i.tag,s===5||s===6){r=o=i;continue e}u=u.parentNode}}r=r.return}ra(function(){var a=o,m=yi(n),p=[];e:{var h=Ra.get(e);if(h!==void 0){var v=xi,g=e;switch(e){case"keypress":if($r(n)===0)break e;case"keydown":case"keyup":v=gd;break;case"focusin":g="focus",v=Ql;break;case"focusout":g="blur",v=Ql;break;case"beforeblur":case"afterblur":v=Ql;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=Eu;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":v=ld;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":v=wd;break;case ja:case Pa:case Ia:v=ud;break;case Ta:v=_d;break;case"scroll":v=nd;break;case"wheel":v=Ed;break;case"copy":case"cut":case"paste":v=ad;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":v=Cu}var w=(t&4)!==0,N=!w&&e==="scroll",c=w?h!==null?h+"Capture":null:h;w=[];for(var f=a,d;f!==null;){d=f;var S=d.stateNode;if(d.tag===5&&S!==null&&(d=S,c!==null&&(S=Yn(f,c),S!=null&&w.push(bn(f,S,d)))),N)break;f=f.return}0<w.length&&(h=new v(h,g,null,n,m),p.push({event:h,listeners:w}))}}if(!(t&7)){e:{if(h=e==="mouseover"||e==="pointerover",v=e==="mouseout"||e==="pointerout",h&&n!==Eo&&(g=n.relatedTarget||n.fromElement)&&(Rt(g)||g[rt]))break e;if((v||h)&&(h=m.window===m?m:(h=m.ownerDocument)?h.defaultView||h.parentWindow:window,v?(g=n.relatedTarget||n.toElement,v=a,g=g?Rt(g):null,g!==null&&(N=Ht(g),g!==N||g.tag!==5&&g.tag!==6)&&(g=null)):(v=null,g=a),v!==g)){if(w=Eu,S="onMouseLeave",c="onMouseEnter",f="mouse",(e==="pointerout"||e==="pointerover")&&(w=Cu,S="onPointerLeave",c="onPointerEnter",f="pointer"),N=v==null?h:Zt(v),d=g==null?h:Zt(g),h=new w(S,f+"leave",v,n,m),h.target=N,h.relatedTarget=d,S=null,Rt(m)===a&&(w=new w(c,f+"enter",g,n,m),w.target=d,w.relatedTarget=N,S=w),N=S,v&&g)t:{for(w=v,c=g,f=0,d=w;d;d=Qt(d))f++;for(d=0,S=c;S;S=Qt(S))d++;for(;0<f-d;)w=Qt(w),f--;for(;0<d-f;)c=Qt(c),d--;for(;f--;){if(w===c||c!==null&&w===c.alternate)break t;w=Qt(w),c=Qt(c)}w=null}else w=null;v!==null&&Du(p,h,v,w,!1),g!==null&&N!==null&&Du(p,N,g,w,!0)}}e:{if(h=a?Zt(a):window,v=h.nodeName&&h.nodeName.toLowerCase(),v==="select"||v==="input"&&h.type==="file")var k=Id;else if(ju(h))if(Ea)k=Od;else{k=Rd;var E=Td}else(v=h.nodeName)&&v.toLowerCase()==="input"&&(h.type==="checkbox"||h.type==="radio")&&(k=zd);if(k&&(k=k(e,a))){ka(p,k,n,m);break e}E&&E(e,h,a),e==="focusout"&&(E=h._wrapperState)&&E.controlled&&h.type==="number"&&yo(h,"number",h.value)}switch(E=a?Zt(a):window,e){case"focusin":(ju(E)||E.contentEditable==="true")&&(Xt=E,Io=a,An=null);break;case"focusout":An=Io=Xt=null;break;case"mousedown":To=!0;break;case"contextmenu":case"mouseup":case"dragend":To=!1,zu(p,n,m);break;case"selectionchange":if(Md)break;case"keydown":case"keyup":zu(p,n,m)}var C;if(Ni)e:{switch(e){case"compositionstart":var I="onCompositionStart";break e;case"compositionend":I="onCompositionEnd";break e;case"compositionupdate":I="onCompositionUpdate";break e}I=void 0}else Kt?Sa(e,n)&&(I="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(I="onCompositionStart");I&&(wa&&n.locale!=="ko"&&(Kt||I!=="onCompositionStart"?I==="onCompositionEnd"&&Kt&&(C=ya()):(mt=m,Ei="value"in mt?mt.value:mt.textContent,Kt=!0)),E=el(a,I),0<E.length&&(I=new xu(I,e,null,n,m),p.push({event:I,listeners:E}),C?I.data=C:(C=_a(n),C!==null&&(I.data=C)))),(C=Cd?Nd(e,n):Ld(e,n))&&(a=el(a,"onBeforeInput"),0<a.length&&(m=new xu("onBeforeInput","beforeinput",null,n,m),p.push({event:m,listeners:a}),m.data=C))}za(p,t)})}function bn(e,t,n){return{instance:e,listener:t,currentTarget:n}}function el(e,t){for(var n=t+"Capture",r=[];e!==null;){var l=e,o=l.stateNode;l.tag===5&&o!==null&&(l=o,o=Yn(e,n),o!=null&&r.unshift(bn(e,o,l)),o=Yn(e,t),o!=null&&r.push(bn(e,o,l))),e=e.return}return r}function Qt(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Du(e,t,n,r,l){for(var o=t._reactName,i=[];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=Yn(n,o),s!=null&&i.unshift(bn(n,s,u))):l||(s=Yn(n,o),s!=null&&i.push(bn(n,s,u)))),n=n.return}i.length!==0&&e.push({event:t,listeners:i})}var Bd=/\r\n?/g,Wd=/\u0000|\uFFFD/g;function Mu(e){return(typeof e=="string"?e:""+e).replace(Bd,` | |
`).replace(Wd,"")}function Er(e,t,n){if(t=Mu(t),Mu(e)!==t&&n)throw Error(_(425))}function tl(){}var Ro=null,zo=null;function Oo(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 Uo=typeof setTimeout=="function"?setTimeout:void 0,Hd=typeof clearTimeout=="function"?clearTimeout:void 0,$u=typeof Promise=="function"?Promise:void 0,Vd=typeof queueMicrotask=="function"?queueMicrotask:typeof $u<"u"?function(e){return $u.resolve(null).then(e).catch(Qd)}:Uo;function Qd(e){setTimeout(function(){throw e})}function bl(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),Xn(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=l}while(n);Xn(t)}function St(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 Au(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 _n=Math.random().toString(36).slice(2),Ye="__reactFiber$"+_n,er="__reactProps$"+_n,rt="__reactContainer$"+_n,Do="__reactEvents$"+_n,Yd="__reactListeners$"+_n,qd="__reactHandles$"+_n;function Rt(e){var t=e[Ye];if(t)return t;for(var n=e.parentNode;n;){if(t=n[rt]||n[Ye]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Au(e);e!==null;){if(n=e[Ye])return n;e=Au(e)}return t}e=n,n=e.parentNode}return null}function cr(e){return e=e[Ye]||e[rt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Zt(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(_(33))}function El(e){return e[er]||null}var Mo=[],Jt=-1;function jt(e){return{current:e}}function B(e){0>Jt||(e.current=Mo[Jt],Mo[Jt]=null,Jt--)}function A(e,t){Jt++,Mo[Jt]=e.current,e.current=t}var Nt={},ae=jt(Nt),ve=jt(!1),Mt=Nt;function pn(e,t){var n=e.type.contextTypes;if(!n)return Nt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},o;for(o in n)l[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function ye(e){return e=e.childContextTypes,e!=null}function nl(){B(ve),B(ae)}function Fu(e,t,n){if(ae.current!==Nt)throw Error(_(168));A(ae,t),A(ve,n)}function Ua(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(_(108,Tf(e)||"Unknown",l));return Y({},n,r)}function rl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Nt,Mt=ae.current,A(ae,e),A(ve,ve.current),!0}function Bu(e,t,n){var r=e.stateNode;if(!r)throw Error(_(169));n?(e=Ua(e,t,Mt),r.__reactInternalMemoizedMergedChildContext=e,B(ve),B(ae),A(ae,e)):B(ve),A(ve,n)}var Je=null,xl=!1,eo=!1;function Da(e){Je===null?Je=[e]:Je.push(e)}function Kd(e){xl=!0,Da(e)}function Pt(){if(!eo&&Je!==null){eo=!0;var e=0,t=D;try{var n=Je;for(D=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Je=null,xl=!1}catch(l){throw Je!==null&&(Je=Je.slice(e+1)),ua(wi,Pt),l}finally{D=t,eo=!1}}return null}var bt=[],en=0,ll=null,ol=0,je=[],Pe=0,$t=null,be=1,et="";function It(e,t){bt[en++]=ol,bt[en++]=ll,ll=e,ol=t}function Ma(e,t,n){je[Pe++]=be,je[Pe++]=et,je[Pe++]=$t,$t=e;var r=be;e=et;var l=32-Ae(r)-1;r&=~(1<<l),n+=1;var o=32-Ae(t)+l;if(30<o){var i=l-l%5;o=(r&(1<<i)-1).toString(32),r>>=i,l-=i,be=1<<32-Ae(t)+l|n<<l|r,et=o+e}else be=1<<o|n<<l|r,et=e}function ji(e){e.return!==null&&(It(e,1),Ma(e,1,0))}function Pi(e){for(;e===ll;)ll=bt[--en],bt[en]=null,ol=bt[--en],bt[en]=null;for(;e===$t;)$t=je[--Pe],je[Pe]=null,et=je[--Pe],je[Pe]=null,be=je[--Pe],je[Pe]=null}var xe=null,Ee=null,H=!1,$e=null;function $a(e,t){var n=Ie(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 Wu(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,xe=e,Ee=St(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,xe=e,Ee=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=$t!==null?{id:be,overflow:et}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Ie(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,xe=e,Ee=null,!0):!1;default:return!1}}function $o(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Ao(e){if(H){var t=Ee;if(t){var n=t;if(!Wu(e,t)){if($o(e))throw Error(_(418));t=St(n.nextSibling);var r=xe;t&&Wu(e,t)?$a(r,n):(e.flags=e.flags&-4097|2,H=!1,xe=e)}}else{if($o(e))throw Error(_(418));e.flags=e.flags&-4097|2,H=!1,xe=e}}}function Hu(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;xe=e}function xr(e){if(e!==xe)return!1;if(!H)return Hu(e),H=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Oo(e.type,e.memoizedProps)),t&&(t=Ee)){if($o(e))throw Aa(),Error(_(418));for(;t;)$a(e,t),t=St(t.nextSibling)}if(Hu(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(_(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Ee=St(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Ee=null}}else Ee=xe?St(e.stateNode.nextSibling):null;return!0}function Aa(){for(var e=Ee;e;)e=St(e.nextSibling)}function hn(){Ee=xe=null,H=!1}function Ii(e){$e===null?$e=[e]:$e.push(e)}var Xd=it.ReactCurrentBatchConfig;function Ln(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(_(309));var r=n.stateNode}if(!r)throw Error(_(147,e));var l=r,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(i){var u=l.refs;i===null?delete u[o]:u[o]=i},t._stringRef=o,t)}if(typeof e!="string")throw Error(_(284));if(!n._owner)throw Error(_(290,e))}return e}function Cr(e,t){throw e=Object.prototype.toString.call(t),Error(_(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Vu(e){var t=e._init;return t(e._payload)}function Fa(e){function t(c,f){if(e){var d=c.deletions;d===null?(c.deletions=[f],c.flags|=16):d.push(f)}}function n(c,f){if(!e)return null;for(;f!==null;)t(c,f),f=f.sibling;return null}function r(c,f){for(c=new Map;f!==null;)f.key!==null?c.set(f.key,f):c.set(f.index,f),f=f.sibling;return c}function l(c,f){return c=xt(c,f),c.index=0,c.sibling=null,c}function o(c,f,d){return c.index=d,e?(d=c.alternate,d!==null?(d=d.index,d<f?(c.flags|=2,f):d):(c.flags|=2,f)):(c.flags|=1048576,f)}function i(c){return e&&c.alternate===null&&(c.flags|=2),c}function u(c,f,d,S){return f===null||f.tag!==6?(f=uo(d,c.mode,S),f.return=c,f):(f=l(f,d),f.return=c,f)}function s(c,f,d,S){var k=d.type;return k===qt?m(c,f,d.props.children,S,d.key):f!==null&&(f.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===ct&&Vu(k)===f.type)?(S=l(f,d.props),S.ref=Ln(c,f,d),S.return=c,S):(S=Qr(d.type,d.key,d.props,null,c.mode,S),S.ref=Ln(c,f,d),S.return=c,S)}function a(c,f,d,S){return f===null||f.tag!==4||f.stateNode.containerInfo!==d.containerInfo||f.stateNode.implementation!==d.implementation?(f=so(d,c.mode,S),f.return=c,f):(f=l(f,d.children||[]),f.return=c,f)}function m(c,f,d,S,k){return f===null||f.tag!==7?(f=Dt(d,c.mode,S,k),f.return=c,f):(f=l(f,d),f.return=c,f)}function p(c,f,d){if(typeof f=="string"&&f!==""||typeof f=="number")return f=uo(""+f,c.mode,d),f.return=c,f;if(typeof f=="object"&&f!==null){switch(f.$$typeof){case hr:return d=Qr(f.type,f.key,f.props,null,c.mode,d),d.ref=Ln(c,null,f),d.return=c,d;case Yt:return f=so(f,c.mode,d),f.return=c,f;case ct:var S=f._init;return p(c,S(f._payload),d)}if(Rn(f)||kn(f))return f=Dt(f,c.mode,d,null),f.return=c,f;Cr(c,f)}return null}function h(c,f,d,S){var k=f!==null?f.key:null;if(typeof d=="string"&&d!==""||typeof d=="number")return k!==null?null:u(c,f,""+d,S);if(typeof d=="object"&&d!==null){switch(d.$$typeof){case hr:return d.key===k?s(c,f,d,S):null;case Yt:return d.key===k?a(c,f,d,S):null;case ct:return k=d._init,h(c,f,k(d._payload),S)}if(Rn(d)||kn(d))return k!==null?null:m(c,f,d,S,null);Cr(c,d)}return null}function v(c,f,d,S,k){if(typeof S=="string"&&S!==""||typeof S=="number")return c=c.get(d)||null,u(f,c,""+S,k);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case hr:return c=c.get(S.key===null?d:S.key)||null,s(f,c,S,k);case Yt:return c=c.get(S.key===null?d:S.key)||null,a(f,c,S,k);case ct:var E=S._init;return v(c,f,d,E(S._payload),k)}if(Rn(S)||kn(S))return c=c.get(d)||null,m(f,c,S,k,null);Cr(f,S)}return null}function g(c,f,d,S){for(var k=null,E=null,C=f,I=f=0,$=null;C!==null&&I<d.length;I++){C.index>I?($=C,C=null):$=C.sibling;var j=h(c,C,d[I],S);if(j===null){C===null&&(C=$);break}e&&C&&j.alternate===null&&t(c,C),f=o(j,f,I),E===null?k=j:E.sibling=j,E=j,C=$}if(I===d.length)return n(c,C),H&&It(c,I),k;if(C===null){for(;I<d.length;I++)C=p(c,d[I],S),C!==null&&(f=o(C,f,I),E===null?k=C:E.sibling=C,E=C);return H&&It(c,I),k}for(C=r(c,C);I<d.length;I++)$=v(C,c,I,d[I],S),$!==null&&(e&&$.alternate!==null&&C.delete($.key===null?I:$.key),f=o($,f,I),E===null?k=$:E.sibling=$,E=$);return e&&C.forEach(function(O){return t(c,O)}),H&&It(c,I),k}function w(c,f,d,S){var k=kn(d);if(typeof k!="function")throw Error(_(150));if(d=k.call(d),d==null)throw Error(_(151));for(var E=k=null,C=f,I=f=0,$=null,j=d.next();C!==null&&!j.done;I++,j=d.next()){C.index>I?($=C,C=null):$=C.sibling;var O=h(c,C,j.value,S);if(O===null){C===null&&(C=$);break}e&&C&&O.alternate===null&&t(c,C),f=o(O,f,I),E===null?k=O:E.sibling=O,E=O,C=$}if(j.done)return n(c,C),H&&It(c,I),k;if(C===null){for(;!j.done;I++,j=d.next())j=p(c,j.value,S),j!==null&&(f=o(j,f,I),E===null?k=j:E.sibling=j,E=j);return H&&It(c,I),k}for(C=r(c,C);!j.done;I++,j=d.next())j=v(C,c,I,j.value,S),j!==null&&(e&&j.alternate!==null&&C.delete(j.key===null?I:j.key),f=o(j,f,I),E===null?k=j:E.sibling=j,E=j);return e&&C.forEach(function(Xe){return t(c,Xe)}),H&&It(c,I),k}function N(c,f,d,S){if(typeof d=="object"&&d!==null&&d.type===qt&&d.key===null&&(d=d.props.children),typeof d=="object"&&d!==null){switch(d.$$typeof){case hr:e:{for(var k=d.key,E=f;E!==null;){if(E.key===k){if(k=d.type,k===qt){if(E.tag===7){n(c,E.sibling),f=l(E,d.props.children),f.return=c,c=f;break e}}else if(E.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===ct&&Vu(k)===E.type){n(c,E.sibling),f=l(E,d.props),f.ref=Ln(c,E,d),f.return=c,c=f;break e}n(c,E);break}else t(c,E);E=E.sibling}d.type===qt?(f=Dt(d.props.children,c.mode,S,d.key),f.return=c,c=f):(S=Qr(d.type,d.key,d.props,null,c.mode,S),S.ref=Ln(c,f,d),S.return=c,c=S)}return i(c);case Yt:e:{for(E=d.key;f!==null;){if(f.key===E)if(f.tag===4&&f.stateNode.containerInfo===d.containerInfo&&f.stateNode.implementation===d.implementation){n(c,f.sibling),f=l(f,d.children||[]),f.return=c,c=f;break e}else{n(c,f);break}else t(c,f);f=f.sibling}f=so(d,c.mode,S),f.return=c,c=f}return i(c);case ct:return E=d._init,N(c,f,E(d._payload),S)}if(Rn(d))return g(c,f,d,S);if(kn(d))return w(c,f,d,S);Cr(c,d)}return typeof d=="string"&&d!==""||typeof d=="number"?(d=""+d,f!==null&&f.tag===6?(n(c,f.sibling),f=l(f,d),f.return=c,c=f):(n(c,f),f=uo(d,c.mode,S),f.return=c,c=f),i(c)):n(c,f)}return N}var mn=Fa(!0),Ba=Fa(!1),il=jt(null),ul=null,tn=null,Ti=null;function Ri(){Ti=tn=ul=null}function zi(e){var t=il.current;B(il),e._currentValue=t}function Fo(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 an(e,t){ul=e,Ti=tn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(ge=!0),e.firstContext=null)}function Re(e){var t=e._currentValue;if(Ti!==e)if(e={context:e,memoizedValue:t,next:null},tn===null){if(ul===null)throw Error(_(308));tn=e,ul.dependencies={lanes:0,firstContext:e}}else tn=tn.next=e;return t}var zt=null;function Oi(e){zt===null?zt=[e]:zt.push(e)}function Wa(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,Oi(t)):(n.next=l.next,l.next=n),t.interleaved=n,lt(e,r)}function lt(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 ft=!1;function Ui(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ha(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 tt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function _t(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,U&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,lt(e,n)}return l=r.interleaved,l===null?(t.next=t,Oi(r)):(t.next=l.next,l.next=t),r.interleaved=t,lt(e,n)}function Ar(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,Si(e,n)}}function Qu(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?l=o=i:o=o.next=i,n=n.next}while(n!==null);o===null?l=o=t:o=o.next=t}else l=o=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:o,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 sl(e,t,n,r){var l=e.updateQueue;ft=!1;var o=l.firstBaseUpdate,i=l.lastBaseUpdate,u=l.shared.pending;if(u!==null){l.shared.pending=null;var s=u,a=s.next;s.next=null,i===null?o=a:i.next=a,i=s;var m=e.alternate;m!==null&&(m=m.updateQueue,u=m.lastBaseUpdate,u!==i&&(u===null?m.firstBaseUpdate=a:u.next=a,m.lastBaseUpdate=s))}if(o!==null){var p=l.baseState;i=0,m=a=s=null,u=o;do{var h=u.lane,v=u.eventTime;if((r&h)===h){m!==null&&(m=m.next={eventTime:v,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var g=e,w=u;switch(h=t,v=n,w.tag){case 1:if(g=w.payload,typeof g=="function"){p=g.call(v,p,h);break e}p=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=w.payload,h=typeof g=="function"?g.call(v,p,h):g,h==null)break e;p=Y({},p,h);break e;case 2:ft=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,h=l.effects,h===null?l.effects=[u]:h.push(u))}else v={eventTime:v,lane:h,tag:u.tag,payload:u.payload,callback:u.callback,next:null},m===null?(a=m=v,s=p):m=m.next=v,i|=h;if(u=u.next,u===null){if(u=l.shared.pending,u===null)break;h=u,u=h.next,h.next=null,l.lastBaseUpdate=h,l.shared.pending=null}}while(!0);if(m===null&&(s=p),l.baseState=s,l.firstBaseUpdate=a,l.lastBaseUpdate=m,t=l.shared.interleaved,t!==null){l=t;do i|=l.lane,l=l.next;while(l!==t)}else o===null&&(l.shared.lanes=0);Ft|=i,e.lanes=i,e.memoizedState=p}}function Yu(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(_(191,l));l.call(r)}}}var fr={},Ke=jt(fr),tr=jt(fr),nr=jt(fr);function Ot(e){if(e===fr)throw Error(_(174));return e}function Di(e,t){switch(A(nr,t),A(tr,e),A(Ke,fr),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:So(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=So(t,e)}B(Ke),A(Ke,t)}function gn(){B(Ke),B(tr),B(nr)}function Va(e){Ot(nr.current);var t=Ot(Ke.current),n=So(t,e.type);t!==n&&(A(tr,e),A(Ke,n))}function Mi(e){tr.current===e&&(B(Ke),B(tr))}var V=jt(0);function al(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 to=[];function $i(){for(var e=0;e<to.length;e++)to[e]._workInProgressVersionPrimary=null;to.length=0}var Fr=it.ReactCurrentDispatcher,no=it.ReactCurrentBatchConfig,At=0,Q=null,Z=null,b=null,cl=!1,Fn=!1,rr=0,Gd=0;function ie(){throw Error(_(321))}function Ai(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Be(e[n],t[n]))return!1;return!0}function Fi(e,t,n,r,l,o){if(At=o,Q=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Fr.current=e===null||e.memoizedState===null?ep:tp,e=n(r,l),Fn){o=0;do{if(Fn=!1,rr=0,25<=o)throw Error(_(301));o+=1,b=Z=null,t.updateQueue=null,Fr.current=np,e=n(r,l)}while(Fn)}if(Fr.current=fl,t=Z!==null&&Z.next!==null,At=0,b=Z=Q=null,cl=!1,t)throw Error(_(300));return e}function Bi(){var e=rr!==0;return rr=0,e}function Qe(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return b===null?Q.memoizedState=b=e:b=b.next=e,b}function ze(){if(Z===null){var e=Q.alternate;e=e!==null?e.memoizedState:null}else e=Z.next;var t=b===null?Q.memoizedState:b.next;if(t!==null)b=t,Z=e;else{if(e===null)throw Error(_(310));Z=e,e={memoizedState:Z.memoizedState,baseState:Z.baseState,baseQueue:Z.baseQueue,queue:Z.queue,next:null},b===null?Q.memoizedState=b=e:b=b.next=e}return b}function lr(e,t){return typeof t=="function"?t(e):t}function ro(e){var t=ze(),n=t.queue;if(n===null)throw Error(_(311));n.lastRenderedReducer=e;var r=Z,l=r.baseQueue,o=n.pending;if(o!==null){if(l!==null){var i=l.next;l.next=o.next,o.next=i}r.baseQueue=l=o,n.pending=null}if(l!==null){o=l.next,r=r.baseState;var u=i=null,s=null,a=o;do{var m=a.lane;if((At&m)===m)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 p={lane:m,action:a.action,hasEagerState:a.hasEagerState,eagerState:a.eagerState,next:null};s===null?(u=s=p,i=r):s=s.next=p,Q.lanes|=m,Ft|=m}a=a.next}while(a!==null&&a!==o);s===null?i=r:s.next=u,Be(r,t.memoizedState)||(ge=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=s,n.lastRenderedState=r}if(e=n.interleaved,e!==null){l=e;do o=l.lane,Q.lanes|=o,Ft|=o,l=l.next;while(l!==e)}else l===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function lo(e){var t=ze(),n=t.queue;if(n===null)throw Error(_(311));n.lastRenderedReducer=e;var r=n.dispatch,l=n.pending,o=t.memoizedState;if(l!==null){n.pending=null;var i=l=l.next;do o=e(o,i.action),i=i.next;while(i!==l);Be(o,t.memoizedState)||(ge=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Qa(){}function Ya(e,t){var n=Q,r=ze(),l=t(),o=!Be(r.memoizedState,l);if(o&&(r.memoizedState=l,ge=!0),r=r.queue,Wi(Xa.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||b!==null&&b.memoizedState.tag&1){if(n.flags|=2048,or(9,Ka.bind(null,n,r,l,t),void 0,null),ee===null)throw Error(_(349));At&30||qa(n,t,l)}return l}function qa(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Q.updateQueue,t===null?(t={lastEffect:null,stores:null},Q.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Ka(e,t,n,r){t.value=n,t.getSnapshot=r,Ga(t)&&Za(e)}function Xa(e,t,n){return n(function(){Ga(t)&&Za(e)})}function Ga(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Be(e,n)}catch{return!0}}function Za(e){var t=lt(e,1);t!==null&&Fe(t,e,1,-1)}function qu(e){var t=Qe();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:lr,lastRenderedState:e},t.queue=e,e=e.dispatch=bd.bind(null,Q,e),[t.memoizedState,e]}function or(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Q.updateQueue,t===null?(t={lastEffect:null,stores:null},Q.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 Ja(){return ze().memoizedState}function Br(e,t,n,r){var l=Qe();Q.flags|=e,l.memoizedState=or(1|t,n,void 0,r===void 0?null:r)}function Cl(e,t,n,r){var l=ze();r=r===void 0?null:r;var o=void 0;if(Z!==null){var i=Z.memoizedState;if(o=i.destroy,r!==null&&Ai(r,i.deps)){l.memoizedState=or(t,n,o,r);return}}Q.flags|=e,l.memoizedState=or(1|t,n,o,r)}function Ku(e,t){return Br(8390656,8,e,t)}function Wi(e,t){return Cl(2048,8,e,t)}function ba(e,t){return Cl(4,2,e,t)}function ec(e,t){return Cl(4,4,e,t)}function tc(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 nc(e,t,n){return n=n!=null?n.concat([e]):null,Cl(4,4,tc.bind(null,t,e),n)}function Hi(){}function rc(e,t){var n=ze();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Ai(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function lc(e,t){var n=ze();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Ai(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function oc(e,t,n){return At&21?(Be(n,t)||(n=ca(),Q.lanes|=n,Ft|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,ge=!0),e.memoizedState=n)}function Zd(e,t){var n=D;D=n!==0&&4>n?n:4,e(!0);var r=no.transition;no.transition={};try{e(!1),t()}finally{D=n,no.transition=r}}function ic(){return ze().memoizedState}function Jd(e,t,n){var r=Et(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},uc(e))sc(t,n);else if(n=Wa(e,t,n,r),n!==null){var l=fe();Fe(n,e,r,l),ac(n,t,r)}}function bd(e,t,n){var r=Et(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(uc(e))sc(t,l);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var i=t.lastRenderedState,u=o(i,n);if(l.hasEagerState=!0,l.eagerState=u,Be(u,i)){var s=t.interleaved;s===null?(l.next=l,Oi(t)):(l.next=s.next,s.next=l),t.interleaved=l;return}}catch{}finally{}n=Wa(e,t,l,r),n!==null&&(l=fe(),Fe(n,e,r,l),ac(n,t,r))}}function uc(e){var t=e.alternate;return e===Q||t!==null&&t===Q}function sc(e,t){Fn=cl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ac(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Si(e,n)}}var fl={readContext:Re,useCallback:ie,useContext:ie,useEffect:ie,useImperativeHandle:ie,useInsertionEffect:ie,useLayoutEffect:ie,useMemo:ie,useReducer:ie,useRef:ie,useState:ie,useDebugValue:ie,useDeferredValue:ie,useTransition:ie,useMutableSource:ie,useSyncExternalStore:ie,useId:ie,unstable_isNewReconciler:!1},ep={readContext:Re,useCallback:function(e,t){return Qe().memoizedState=[e,t===void 0?null:t],e},useContext:Re,useEffect:Ku,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Br(4194308,4,tc.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Br(4194308,4,e,t)},useInsertionEffect:function(e,t){return Br(4,2,e,t)},useMemo:function(e,t){var n=Qe();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Qe();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=Jd.bind(null,Q,e),[r.memoizedState,e]},useRef:function(e){var t=Qe();return e={current:e},t.memoizedState=e},useState:qu,useDebugValue:Hi,useDeferredValue:function(e){return Qe().memoizedState=e},useTransition:function(){var e=qu(!1),t=e[0];return e=Zd.bind(null,e[1]),Qe().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Q,l=Qe();if(H){if(n===void 0)throw Error(_(407));n=n()}else{if(n=t(),ee===null)throw Error(_(349));At&30||qa(r,t,n)}l.memoizedState=n;var o={value:n,getSnapshot:t};return l.queue=o,Ku(Xa.bind(null,r,o,e),[e]),r.flags|=2048,or(9,Ka.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Qe(),t=ee.identifierPrefix;if(H){var n=et,r=be;n=(r&~(1<<32-Ae(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=rr++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=Gd++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},tp={readContext:Re,useCallback:rc,useContext:Re,useEffect:Wi,useImperativeHandle:nc,useInsertionEffect:ba,useLayoutEffect:ec,useMemo:lc,useReducer:ro,useRef:Ja,useState:function(){return ro(lr)},useDebugValue:Hi,useDeferredValue:function(e){var t=ze();return oc(t,Z.memoizedState,e)},useTransition:function(){var e=ro(lr)[0],t=ze().memoizedState;return[e,t]},useMutableSource:Qa,useSyncExternalStore:Ya,useId:ic,unstable_isNewReconciler:!1},np={readContext:Re,useCallback:rc,useContext:Re,useEffect:Wi,useImperativeHandle:nc,useInsertionEffect:ba,useLayoutEffect:ec,useMemo:lc,useReducer:lo,useRef:Ja,useState:function(){return lo(lr)},useDebugValue:Hi,useDeferredValue:function(e){var t=ze();return Z===null?t.memoizedState=e:oc(t,Z.memoizedState,e)},useTransition:function(){var e=lo(lr)[0],t=ze().memoizedState;return[e,t]},useMutableSource:Qa,useSyncExternalStore:Ya,useId:ic,unstable_isNewReconciler:!1};function De(e,t){if(e&&e.defaultProps){t=Y({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Bo(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:Y({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Nl={isMounted:function(e){return(e=e._reactInternals)?Ht(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=fe(),l=Et(e),o=tt(r,l);o.payload=t,n!=null&&(o.callback=n),t=_t(e,o,l),t!==null&&(Fe(t,e,l,r),Ar(t,e,l))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=fe(),l=Et(e),o=tt(r,l);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=_t(e,o,l),t!==null&&(Fe(t,e,l,r),Ar(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=fe(),r=Et(e),l=tt(n,r);l.tag=2,t!=null&&(l.callback=t),t=_t(e,l,r),t!==null&&(Fe(t,e,r,n),Ar(t,e,r))}};function Xu(e,t,n,r,l,o,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,i):t.prototype&&t.prototype.isPureReactComponent?!Zn(n,r)||!Zn(l,o):!0}function cc(e,t,n){var r=!1,l=Nt,o=t.contextType;return typeof o=="object"&&o!==null?o=Re(o):(l=ye(t)?Mt:ae.current,r=t.contextTypes,o=(r=r!=null)?pn(e,l):Nt),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Nl,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=o),t}function Gu(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&&Nl.enqueueReplaceState(t,t.state,null)}function Wo(e,t,n,r){var l=e.stateNode;l.props=n,l.state=e.memoizedState,l.refs={},Ui(e);var o=t.contextType;typeof o=="object"&&o!==null?l.context=Re(o):(o=ye(t)?Mt:ae.current,l.context=pn(e,o)),l.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(Bo(e,t,o,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&&Nl.enqueueReplaceState(l,l.state,null),sl(e,n,l,r),l.state=e.memoizedState),typeof l.componentDidMount=="function"&&(e.flags|=4194308)}function vn(e,t){try{var n="",r=t;do n+=If(r),r=r.return;while(r);var l=n}catch(o){l=` | |
Error generating stack: `+o.message+` | |
`+o.stack}return{value:e,source:t,stack:l,digest:null}}function oo(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Ho(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var rp=typeof WeakMap=="function"?WeakMap:Map;function fc(e,t,n){n=tt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){pl||(pl=!0,bo=r),Ho(e,t)},n}function dc(e,t,n){n=tt(-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(){Ho(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){Ho(e,t),typeof r!="function"&&(kt===null?kt=new Set([this]):kt.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),n}function Zu(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new rp;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=vp.bind(null,e,t,n),t.then(e,e))}function Ju(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 bu(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=tt(-1,1),t.tag=2,_t(n,t,1))),n.lanes|=1),e)}var lp=it.ReactCurrentOwner,ge=!1;function ce(e,t,n,r){t.child=e===null?Ba(t,null,n,r):mn(t,e.child,n,r)}function es(e,t,n,r,l){n=n.render;var o=t.ref;return an(t,l),r=Fi(e,t,n,r,o,l),n=Bi(),e!==null&&!ge?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,ot(e,t,l)):(H&&n&&ji(t),t.flags|=1,ce(e,t,r,l),t.child)}function ts(e,t,n,r,l){if(e===null){var o=n.type;return typeof o=="function"&&!Zi(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,pc(e,t,o,r,l)):(e=Qr(n.type,null,r,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&l)){var i=o.memoizedProps;if(n=n.compare,n=n!==null?n:Zn,n(i,r)&&e.ref===t.ref)return ot(e,t,l)}return t.flags|=1,e=xt(o,r),e.ref=t.ref,e.return=t,t.child=e}function pc(e,t,n,r,l){if(e!==null){var o=e.memoizedProps;if(Zn(o,r)&&e.ref===t.ref)if(ge=!1,t.pendingProps=r=o,(e.lanes&l)!==0)e.flags&131072&&(ge=!0);else return t.lanes=e.lanes,ot(e,t,l)}return Vo(e,t,n,r,l)}function hc(e,t,n){var r=t.pendingProps,l=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},A(rn,ke),ke|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,A(rn,ke),ke|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,A(rn,ke),ke|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,A(rn,ke),ke|=r;return ce(e,t,l,n),t.child}function mc(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Vo(e,t,n,r,l){var o=ye(n)?Mt:ae.current;return o=pn(t,o),an(t,l),n=Fi(e,t,n,r,o,l),r=Bi(),e!==null&&!ge?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,ot(e,t,l)):(H&&r&&ji(t),t.flags|=1,ce(e,t,n,l),t.child)}function ns(e,t,n,r,l){if(ye(n)){var o=!0;rl(t)}else o=!1;if(an(t,l),t.stateNode===null)Wr(e,t),cc(t,n,r),Wo(t,n,r,l),r=!0;else if(e===null){var i=t.stateNode,u=t.memoizedProps;i.props=u;var s=i.context,a=n.contextType;typeof a=="object"&&a!==null?a=Re(a):(a=ye(n)?Mt:ae.current,a=pn(t,a));var m=n.getDerivedStateFromProps,p=typeof m=="function"||typeof i.getSnapshotBeforeUpdate=="function";p||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(u!==r||s!==a)&&Gu(t,i,r,a),ft=!1;var h=t.memoizedState;i.state=h,sl(t,r,i,l),s=t.memoizedState,u!==r||h!==s||ve.current||ft?(typeof m=="function"&&(Bo(t,n,m,r),s=t.memoizedState),(u=ft||Xu(t,n,u,r,h,s,a))?(p||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),i.props=r,i.state=s,i.context=a,r=u):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Ha(e,t),u=t.memoizedProps,a=t.type===t.elementType?u:De(t.type,u),i.props=a,p=t.pendingProps,h=i.context,s=n.contextType,typeof s=="object"&&s!==null?s=Re(s):(s=ye(n)?Mt:ae.current,s=pn(t,s));var v=n.getDerivedStateFromProps;(m=typeof v=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(u!==p||h!==s)&&Gu(t,i,r,s),ft=!1,h=t.memoizedState,i.state=h,sl(t,r,i,l);var g=t.memoizedState;u!==p||h!==g||ve.current||ft?(typeof v=="function"&&(Bo(t,n,v,r),g=t.memoizedState),(a=ft||Xu(t,n,a,r,h,g,s)||!1)?(m||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(r,g,s),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(r,g,s)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||u===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=g),i.props=r,i.state=g,i.context=s,r=a):(typeof i.componentDidUpdate!="function"||u===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return Qo(e,t,n,r,o,l)}function Qo(e,t,n,r,l,o){mc(e,t);var i=(t.flags&128)!==0;if(!r&&!i)return l&&Bu(t,n,!1),ot(e,t,o);r=t.stateNode,lp.current=t;var u=i&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&i?(t.child=mn(t,e.child,null,o),t.child=mn(t,null,u,o)):ce(e,t,u,o),t.memoizedState=r.state,l&&Bu(t,n,!0),t.child}function gc(e){var t=e.stateNode;t.pendingContext?Fu(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Fu(e,t.context,!1),Di(e,t.containerInfo)}function rs(e,t,n,r,l){return hn(),Ii(l),t.flags|=256,ce(e,t,n,r),t.child}var Yo={dehydrated:null,treeContext:null,retryLane:0};function qo(e){return{baseLanes:e,cachePool:null,transitions:null}}function vc(e,t,n){var r=t.pendingProps,l=V.current,o=!1,i=(t.flags&128)!==0,u;if((u=i)||(u=e!==null&&e.memoizedState===null?!1:(l&2)!==0),u?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),A(V,l&1),e===null)return Ao(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(i=r.children,e=r.fallback,o?(r=t.mode,o=t.child,i={mode:"hidden",children:i},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=i):o=Pl(i,r,0,null),e=Dt(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=qo(n),t.memoizedState=Yo,e):Vi(t,i));if(l=e.memoizedState,l!==null&&(u=l.dehydrated,u!==null))return op(e,t,i,r,u,l,n);if(o){o=r.fallback,i=t.mode,l=e.child,u=l.sibling;var s={mode:"hidden",children:r.children};return!(i&1)&&t.child!==l?(r=t.child,r.childLanes=0,r.pendingProps=s,t.deletions=null):(r=xt(l,s),r.subtreeFlags=l.subtreeFlags&14680064),u!==null?o=xt(u,o):(o=Dt(o,i,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,i=e.child.memoizedState,i=i===null?qo(n):{baseLanes:i.baseLanes|n,cachePool:null,transitions:i.transitions},o.memoizedState=i,o.childLanes=e.childLanes&~n,t.memoizedState=Yo,r}return o=e.child,e=o.sibling,r=xt(o,{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 Vi(e,t){return t=Pl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Nr(e,t,n,r){return r!==null&&Ii(r),mn(t,e.child,null,n),e=Vi(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function op(e,t,n,r,l,o,i){if(n)return t.flags&256?(t.flags&=-257,r=oo(Error(_(422))),Nr(e,t,i,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,l=t.mode,r=Pl({mode:"visible",children:r.children},l,0,null),o=Dt(o,l,i,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&mn(t,e.child,null,i),t.child.memoizedState=qo(i),t.memoizedState=Yo,o);if(!(t.mode&1))return Nr(e,t,i,null);if(l.data==="$!"){if(r=l.nextSibling&&l.nextSibling.dataset,r)var u=r.dgst;return r=u,o=Error(_(419)),r=oo(o,r,void 0),Nr(e,t,i,r)}if(u=(i&e.childLanes)!==0,ge||u){if(r=ee,r!==null){switch(i&-i){case 4:l=2;break;case 16:l=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:l=32;break;case 536870912:l=268435456;break;default:l=0}l=l&(r.suspendedLanes|i)?0:l,l!==0&&l!==o.retryLane&&(o.retryLane=l,lt(e,l),Fe(r,e,l,-1))}return Gi(),r=oo(Error(_(421))),Nr(e,t,i,r)}return l.data==="$?"?(t.flags|=128,t.child=e.child,t=yp.bind(null,e),l._reactRetry=t,null):(e=o.treeContext,Ee=St(l.nextSibling),xe=t,H=!0,$e=null,e!==null&&(je[Pe++]=be,je[Pe++]=et,je[Pe++]=$t,be=e.id,et=e.overflow,$t=t),t=Vi(t,r.children),t.flags|=4096,t)}function ls(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Fo(e.return,t,n)}function io(e,t,n,r,l){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:l}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=l)}function yc(e,t,n){var r=t.pendingProps,l=r.revealOrder,o=r.tail;if(ce(e,t,r.children,n),r=V.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&&ls(e,n,t);else if(e.tag===19)ls(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(A(V,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&&al(e)===null&&(l=n),n=n.sibling;n=l,n===null?(l=t.child,t.child=null):(l=n.sibling,n.sibling=null),io(t,!1,l,n,o);break;case"backwards":for(n=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&al(e)===null){t.child=l;break}e=l.sibling,l.sibling=n,n=l,l=e}io(t,!0,n,null,o);break;case"together":io(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Wr(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function ot(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Ft|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(_(153));if(t.child!==null){for(e=t.child,n=xt(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=xt(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function ip(e,t,n){switch(t.tag){case 3:gc(t),hn();break;case 5:Va(t);break;case 1:ye(t.type)&&rl(t);break;case 4:Di(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,l=t.memoizedProps.value;A(il,r._currentValue),r._currentValue=l;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(A(V,V.current&1),t.flags|=128,null):n&t.child.childLanes?vc(e,t,n):(A(V,V.current&1),e=ot(e,t,n),e!==null?e.sibling:null);A(V,V.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return yc(e,t,n);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),A(V,V.current),r)break;return null;case 22:case 23:return t.lanes=0,hc(e,t,n)}return ot(e,t,n)}var wc,Ko,Sc,_c;wc=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}};Ko=function(){};Sc=function(e,t,n,r){var l=e.memoizedProps;if(l!==r){e=t.stateNode,Ot(Ke.current);var o=null;switch(n){case"input":l=go(e,l),r=go(e,r),o=[];break;case"select":l=Y({},l,{value:void 0}),r=Y({},r,{value:void 0}),o=[];break;case"textarea":l=wo(e,l),r=wo(e,r),o=[];break;default:typeof l.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=tl)}_o(n,r);var i;n=null;for(a in l)if(!r.hasOwnProperty(a)&&l.hasOwnProperty(a)&&l[a]!=null)if(a==="style"){var u=l[a];for(i in u)u.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else a!=="dangerouslySetInnerHTML"&&a!=="children"&&a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&a!=="autoFocus"&&(Vn.hasOwnProperty(a)?o||(o=[]):(o=o||[]).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(i in u)!u.hasOwnProperty(i)||s&&s.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in s)s.hasOwnProperty(i)&&u[i]!==s[i]&&(n||(n={}),n[i]=s[i])}else n||(o||(o=[]),o.push(a,n)),n=s;else a==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,u=u?u.__html:void 0,s!=null&&u!==s&&(o=o||[]).push(a,s)):a==="children"?typeof s!="string"&&typeof s!="number"||(o=o||[]).push(a,""+s):a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&(Vn.hasOwnProperty(a)?(s!=null&&a==="onScroll"&&F("scroll",e),o||u===s||(o=[])):(o=o||[]).push(a,s))}n&&(o=o||[]).push("style",n);var a=o;(t.updateQueue=a)&&(t.flags|=4)}};_c=function(e,t,n,r){n!==r&&(t.flags|=4)};function jn(e,t){if(!H)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 ue(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 up(e,t,n){var r=t.pendingProps;switch(Pi(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ue(t),null;case 1:return ye(t.type)&&nl(),ue(t),null;case 3:return r=t.stateNode,gn(),B(ve),B(ae),$i(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(xr(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,$e!==null&&(ni($e),$e=null))),Ko(e,t),ue(t),null;case 5:Mi(t);var l=Ot(nr.current);if(n=t.type,e!==null&&t.stateNode!=null)Sc(e,t,n,r,l),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(_(166));return ue(t),null}if(e=Ot(Ke.current),xr(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[Ye]=t,r[er]=o,e=(t.mode&1)!==0,n){case"dialog":F("cancel",r),F("close",r);break;case"iframe":case"object":case"embed":F("load",r);break;case"video":case"audio":for(l=0;l<On.length;l++)F(On[l],r);break;case"source":F("error",r);break;case"img":case"image":case"link":F("error",r),F("load",r);break;case"details":F("toggle",r);break;case"input":pu(r,o),F("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},F("invalid",r);break;case"textarea":mu(r,o),F("invalid",r)}_o(n,o),l=null;for(var i in o)if(o.hasOwnProperty(i)){var u=o[i];i==="children"?typeof u=="string"?r.textContent!==u&&(o.suppressHydrationWarning!==!0&&Er(r.textContent,u,e),l=["children",u]):typeof u=="number"&&r.textContent!==""+u&&(o.suppressHydrationWarning!==!0&&Er(r.textContent,u,e),l=["children",""+u]):Vn.hasOwnProperty(i)&&u!=null&&i==="onScroll"&&F("scroll",r)}switch(n){case"input":mr(r),hu(r,o,!0);break;case"textarea":mr(r),gu(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=tl)}r=l,t.updateQueue=r,r!==null&&(t.flags|=4)}else{i=l.nodeType===9?l:l.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Xs(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=i.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[Ye]=t,e[er]=r,wc(e,t,!1,!1),t.stateNode=e;e:{switch(i=ko(n,r),n){case"dialog":F("cancel",e),F("close",e),l=r;break;case"iframe":case"object":case"embed":F("load",e),l=r;break;case"video":case"audio":for(l=0;l<On.length;l++)F(On[l],e);l=r;break;case"source":F("error",e),l=r;break;case"img":case"image":case"link":F("error",e),F("load",e),l=r;break;case"details":F("toggle",e),l=r;break;case"input":pu(e,r),l=go(e,r),F("invalid",e);break;case"option":l=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},l=Y({},r,{value:void 0}),F("invalid",e);break;case"textarea":mu(e,r),l=wo(e,r),F("invalid",e);break;default:l=r}_o(n,l),u=l;for(o in u)if(u.hasOwnProperty(o)){var s=u[o];o==="style"?Js(e,s):o==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,s!=null&&Gs(e,s)):o==="children"?typeof s=="string"?(n!=="textarea"||s!=="")&&Qn(e,s):typeof s=="number"&&Qn(e,""+s):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Vn.hasOwnProperty(o)?s!=null&&o==="onScroll"&&F("scroll",e):s!=null&&hi(e,o,s,i))}switch(n){case"input":mr(e),hu(e,r,!1);break;case"textarea":mr(e),gu(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Ct(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?ln(e,!!r.multiple,o,!1):r.defaultValue!=null&&ln(e,!!r.multiple,r.defaultValue,!0);break;default:typeof l.onClick=="function"&&(e.onclick=tl)}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 ue(t),null;case 6:if(e&&t.stateNode!=null)_c(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(_(166));if(n=Ot(nr.current),Ot(Ke.current),xr(t)){if(r=t.stateNode,n=t.memoizedProps,r[Ye]=t,(o=r.nodeValue!==n)&&(e=xe,e!==null))switch(e.tag){case 3:Er(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Er(r.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Ye]=t,t.stateNode=r}return ue(t),null;case 13:if(B(V),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(H&&Ee!==null&&t.mode&1&&!(t.flags&128))Aa(),hn(),t.flags|=98560,o=!1;else if(o=xr(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(_(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(_(317));o[Ye]=t}else hn(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;ue(t),o=!1}else $e!==null&&(ni($e),$e=null),o=!0;if(!o)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||V.current&1?J===0&&(J=3):Gi())),t.updateQueue!==null&&(t.flags|=4),ue(t),null);case 4:return gn(),Ko(e,t),e===null&&Jn(t.stateNode.containerInfo),ue(t),null;case 10:return zi(t.type._context),ue(t),null;case 17:return ye(t.type)&&nl(),ue(t),null;case 19:if(B(V),o=t.memoizedState,o===null)return ue(t),null;if(r=(t.flags&128)!==0,i=o.rendering,i===null)if(r)jn(o,!1);else{if(J!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(i=al(e),i!==null){for(t.flags|=128,jn(o,!1),r=i.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=14680066,i=o.alternate,i===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=i.childLanes,o.lanes=i.lanes,o.child=i.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=i.memoizedProps,o.memoizedState=i.memoizedState,o.updateQueue=i.updateQueue,o.type=i.type,e=i.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return A(V,V.current&1|2),t.child}e=e.sibling}o.tail!==null&&X()>yn&&(t.flags|=128,r=!0,jn(o,!1),t.lanes=4194304)}else{if(!r)if(e=al(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),jn(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!H)return ue(t),null}else 2*X()-o.renderingStartTime>yn&&n!==1073741824&&(t.flags|=128,r=!0,jn(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(n=o.last,n!==null?n.sibling=i:t.child=i,o.last=i)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=X(),t.sibling=null,n=V.current,A(V,r?n&1|2:n&1),t):(ue(t),null);case 22:case 23:return Xi(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ke&1073741824&&(ue(t),t.subtreeFlags&6&&(t.flags|=8192)):ue(t),null;case 24:return null;case 25:return null}throw Error(_(156,t.tag))}function sp(e,t){switch(Pi(t),t.tag){case 1:return ye(t.type)&&nl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return gn(),B(ve),B(ae),$i(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Mi(t),null;case 13:if(B(V),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(_(340));hn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return B(V),null;case 4:return gn(),null;case 10:return zi(t.type._context),null;case 22:case 23:return Xi(),null;case 24:return null;default:return null}}var Lr=!1,se=!1,ap=typeof WeakSet=="function"?WeakSet:Set,L=null;function nn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){q(e,t,r)}else n.current=null}function Xo(e,t,n){try{n()}catch(r){q(e,t,r)}}var os=!1;function cp(e,t){if(Ro=Jr,e=Na(),Li(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,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var i=0,u=-1,s=-1,a=0,m=0,p=e,h=null;t:for(;;){for(var v;p!==n||l!==0&&p.nodeType!==3||(u=i+l),p!==o||r!==0&&p.nodeType!==3||(s=i+r),p.nodeType===3&&(i+=p.nodeValue.length),(v=p.firstChild)!==null;)h=p,p=v;for(;;){if(p===e)break t;if(h===n&&++a===l&&(u=i),h===o&&++m===r&&(s=i),(v=p.nextSibling)!==null)break;p=h,h=p.parentNode}p=v}n=u===-1||s===-1?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(zo={focusedElem:e,selectionRange:n},Jr=!1,L=t;L!==null;)if(t=L,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,L=e;else for(;L!==null;){t=L;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var w=g.memoizedProps,N=g.memoizedState,c=t.stateNode,f=c.getSnapshotBeforeUpdate(t.elementType===t.type?w:De(t.type,w),N);c.__reactInternalSnapshotBeforeUpdate=f}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(_(163))}}catch(S){q(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,L=e;break}L=t.return}return g=os,os=!1,g}function Bn(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 o=l.destroy;l.destroy=void 0,o!==void 0&&Xo(t,n,o)}l=l.next}while(l!==r)}}function Ll(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 Go(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 kc(e){var t=e.alternate;t!==null&&(e.alternate=null,kc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ye],delete t[er],delete t[Do],delete t[Yd],delete t[qd])),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 Ec(e){return e.tag===5||e.tag===3||e.tag===4}function is(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Ec(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 Zo(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=tl));else if(r!==4&&(e=e.child,e!==null))for(Zo(e,t,n),e=e.sibling;e!==null;)Zo(e,t,n),e=e.sibling}function Jo(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(Jo(e,t,n),e=e.sibling;e!==null;)Jo(e,t,n),e=e.sibling}var ne=null,Me=!1;function at(e,t,n){for(n=n.child;n!==null;)xc(e,t,n),n=n.sibling}function xc(e,t,n){if(qe&&typeof qe.onCommitFiberUnmount=="function")try{qe.onCommitFiberUnmount(wl,n)}catch{}switch(n.tag){case 5:se||nn(n,t);case 6:var r=ne,l=Me;ne=null,at(e,t,n),ne=r,Me=l,ne!==null&&(Me?(e=ne,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ne.removeChild(n.stateNode));break;case 18:ne!==null&&(Me?(e=ne,n=n.stateNode,e.nodeType===8?bl(e.parentNode,n):e.nodeType===1&&bl(e,n),Xn(e)):bl(ne,n.stateNode));break;case 4:r=ne,l=Me,ne=n.stateNode.containerInfo,Me=!0,at(e,t,n),ne=r,Me=l;break;case 0:case 11:case 14:case 15:if(!se&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var o=l,i=o.destroy;o=o.tag,i!==void 0&&(o&2||o&4)&&Xo(n,t,i),l=l.next}while(l!==r)}at(e,t,n);break;case 1:if(!se&&(nn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){q(n,t,u)}at(e,t,n);break;case 21:at(e,t,n);break;case 22:n.mode&1?(se=(r=se)||n.memoizedState!==null,at(e,t,n),se=r):at(e,t,n);break;default:at(e,t,n)}}function us(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new ap),t.forEach(function(r){var l=wp.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function Ue(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var l=n[r];try{var o=e,i=t,u=i;e:for(;u!==null;){switch(u.tag){case 5:ne=u.stateNode,Me=!1;break e;case 3:ne=u.stateNode.containerInfo,Me=!0;break e;case 4:ne=u.stateNode.containerInfo,Me=!0;break e}u=u.return}if(ne===null)throw Error(_(160));xc(o,i,l),ne=null,Me=!1;var s=l.alternate;s!==null&&(s.return=null),l.return=null}catch(a){q(l,t,a)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Cc(t,e),t=t.sibling}function Cc(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Ue(t,e),Ve(e),r&4){try{Bn(3,e,e.return),Ll(3,e)}catch(w){q(e,e.return,w)}try{Bn(5,e,e.return)}catch(w){q(e,e.return,w)}}break;case 1:Ue(t,e),Ve(e),r&512&&n!==null&&nn(n,n.return);break;case 5:if(Ue(t,e),Ve(e),r&512&&n!==null&&nn(n,n.return),e.flags&32){var l=e.stateNode;try{Qn(l,"")}catch(w){q(e,e.return,w)}}if(r&4&&(l=e.stateNode,l!=null)){var o=e.memoizedProps,i=n!==null?n.memoizedProps:o,u=e.type,s=e.updateQueue;if(e.updateQueue=null,s!==null)try{u==="input"&&o.type==="radio"&&o.name!=null&&qs(l,o),ko(u,i);var a=ko(u,o);for(i=0;i<s.length;i+=2){var m=s[i],p=s[i+1];m==="style"?Js(l,p):m==="dangerouslySetInnerHTML"?Gs(l,p):m==="children"?Qn(l,p):hi(l,m,p,a)}switch(u){case"input":vo(l,o);break;case"textarea":Ks(l,o);break;case"select":var h=l._wrapperState.wasMultiple;l._wrapperState.wasMultiple=!!o.multiple;var v=o.value;v!=null?ln(l,!!o.multiple,v,!1):h!==!!o.multiple&&(o.defaultValue!=null?ln(l,!!o.multiple,o.defaultValue,!0):ln(l,!!o.multiple,o.multiple?[]:"",!1))}l[er]=o}catch(w){q(e,e.return,w)}}break;case 6:if(Ue(t,e),Ve(e),r&4){if(e.stateNode===null)throw Error(_(162));l=e.stateNode,o=e.memoizedProps;try{l.nodeValue=o}catch(w){q(e,e.return,w)}}break;case 3:if(Ue(t,e),Ve(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Xn(t.containerInfo)}catch(w){q(e,e.return,w)}break;case 4:Ue(t,e),Ve(e);break;case 13:Ue(t,e),Ve(e),l=e.child,l.flags&8192&&(o=l.memoizedState!==null,l.stateNode.isHidden=o,!o||l.alternate!==null&&l.alternate.memoizedState!==null||(qi=X())),r&4&&us(e);break;case 22:if(m=n!==null&&n.memoizedState!==null,e.mode&1?(se=(a=se)||m,Ue(t,e),se=a):Ue(t,e),Ve(e),r&8192){if(a=e.memoizedState!==null,(e.stateNode.isHidden=a)&&!m&&e.mode&1)for(L=e,m=e.child;m!==null;){for(p=L=m;L!==null;){switch(h=L,v=h.child,h.tag){case 0:case 11:case 14:case 15:Bn(4,h,h.return);break;case 1:nn(h,h.return);var g=h.stateNode;if(typeof g.componentWillUnmount=="function"){r=h,n=h.return;try{t=r,g.props=t.memoizedProps,g.state=t.memoizedState,g.componentWillUnmount()}catch(w){q(r,n,w)}}break;case 5:nn(h,h.return);break;case 22:if(h.memoizedState!==null){as(p);continue}}v!==null?(v.return=h,L=v):as(p)}m=m.sibling}e:for(m=null,p=e;;){if(p.tag===5){if(m===null){m=p;try{l=p.stateNode,a?(o=l.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(u=p.stateNode,s=p.memoizedProps.style,i=s!=null&&s.hasOwnProperty("display")?s.display:null,u.style.display=Zs("display",i))}catch(w){q(e,e.return,w)}}}else if(p.tag===6){if(m===null)try{p.stateNode.nodeValue=a?"":p.memoizedProps}catch(w){q(e,e.return,w)}}else if((p.tag!==22&&p.tag!==23||p.memoizedState===null||p===e)&&p.child!==null){p.child.return=p,p=p.child;continue}if(p===e)break e;for(;p.sibling===null;){if(p.return===null||p.return===e)break e;m===p&&(m=null),p=p.return}m===p&&(m=null),p.sibling.return=p.return,p=p.sibling}}break;case 19:Ue(t,e),Ve(e),r&4&&us(e);break;case 21:break;default:Ue(t,e),Ve(e)}}function Ve(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Ec(n)){var r=n;break e}n=n.return}throw Error(_(160))}switch(r.tag){case 5:var l=r.stateNode;r.flags&32&&(Qn(l,""),r.flags&=-33);var o=is(e);Jo(e,o,l);break;case 3:case 4:var i=r.stateNode.containerInfo,u=is(e);Zo(e,u,i);break;default:throw Error(_(161))}}catch(s){q(e,e.return,s)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function fp(e,t,n){L=e,Nc(e)}function Nc(e,t,n){for(var r=(e.mode&1)!==0;L!==null;){var l=L,o=l.child;if(l.tag===22&&r){var i=l.memoizedState!==null||Lr;if(!i){var u=l.alternate,s=u!==null&&u.memoizedState!==null||se;u=Lr;var a=se;if(Lr=i,(se=s)&&!a)for(L=l;L!==null;)i=L,s=i.child,i.tag===22&&i.memoizedState!==null?cs(l):s!==null?(s.return=i,L=s):cs(l);for(;o!==null;)L=o,Nc(o),o=o.sibling;L=l,Lr=u,se=a}ss(e)}else l.subtreeFlags&8772&&o!==null?(o.return=l,L=o):ss(e)}}function ss(e){for(;L!==null;){var t=L;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:se||Ll(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!se)if(n===null)r.componentDidMount();else{var l=t.elementType===t.type?n.memoizedProps:De(t.type,n.memoizedProps);r.componentDidUpdate(l,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&Yu(t,o,r);break;case 3:var i=t.updateQueue;if(i!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Yu(t,i,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 m=a.memoizedState;if(m!==null){var p=m.dehydrated;p!==null&&Xn(p)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(_(163))}se||t.flags&512&&Go(t)}catch(h){q(t,t.return,h)}}if(t===e){L=null;break}if(n=t.sibling,n!==null){n.return=t.return,L=n;break}L=t.return}}function as(e){for(;L!==null;){var t=L;if(t===e){L=null;break}var n=t.sibling;if(n!==null){n.return=t.return,L=n;break}L=t.return}}function cs(e){for(;L!==null;){var t=L;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Ll(4,t)}catch(s){q(t,n,s)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var l=t.return;try{r.componentDidMount()}catch(s){q(t,l,s)}}var o=t.return;try{Go(t)}catch(s){q(t,o,s)}break;case 5:var i=t.return;try{Go(t)}catch(s){q(t,i,s)}}}catch(s){q(t,t.return,s)}if(t===e){L=null;break}var u=t.sibling;if(u!==null){u.return=t.return,L=u;break}L=t.return}}var dp=Math.ceil,dl=it.ReactCurrentDispatcher,Qi=it.ReactCurrentOwner,Te=it.ReactCurrentBatchConfig,U=0,ee=null,G=null,re=0,ke=0,rn=jt(0),J=0,ir=null,Ft=0,jl=0,Yi=0,Wn=null,me=null,qi=0,yn=1/0,Ze=null,pl=!1,bo=null,kt=null,jr=!1,gt=null,hl=0,Hn=0,ei=null,Hr=-1,Vr=0;function fe(){return U&6?X():Hr!==-1?Hr:Hr=X()}function Et(e){return e.mode&1?U&2&&re!==0?re&-re:Xd.transition!==null?(Vr===0&&(Vr=ca()),Vr):(e=D,e!==0||(e=window.event,e=e===void 0?16:va(e.type)),e):1}function Fe(e,t,n,r){if(50<Hn)throw Hn=0,ei=null,Error(_(185));sr(e,n,r),(!(U&2)||e!==ee)&&(e===ee&&(!(U&2)&&(jl|=n),J===4&&ht(e,re)),we(e,r),n===1&&U===0&&!(t.mode&1)&&(yn=X()+500,xl&&Pt()))}function we(e,t){var n=e.callbackNode;Xf(e,t);var r=Zr(e,e===ee?re:0);if(r===0)n!==null&&wu(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&wu(n),t===1)e.tag===0?Kd(fs.bind(null,e)):Da(fs.bind(null,e)),Vd(function(){!(U&6)&&Pt()}),n=null;else{switch(fa(r)){case 1:n=wi;break;case 4:n=sa;break;case 16:n=Gr;break;case 536870912:n=aa;break;default:n=Gr}n=Oc(n,Lc.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Lc(e,t){if(Hr=-1,Vr=0,U&6)throw Error(_(327));var n=e.callbackNode;if(cn()&&e.callbackNode!==n)return null;var r=Zr(e,e===ee?re:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=ml(e,r);else{t=r;var l=U;U|=2;var o=Pc();(ee!==e||re!==t)&&(Ze=null,yn=X()+500,Ut(e,t));do try{mp();break}catch(u){jc(e,u)}while(!0);Ri(),dl.current=o,U=l,G!==null?t=0:(ee=null,re=0,t=J)}if(t!==0){if(t===2&&(l=Lo(e),l!==0&&(r=l,t=ti(e,l))),t===1)throw n=ir,Ut(e,0),ht(e,r),we(e,X()),n;if(t===6)ht(e,r);else{if(l=e.current.alternate,!(r&30)&&!pp(l)&&(t=ml(e,r),t===2&&(o=Lo(e),o!==0&&(r=o,t=ti(e,o))),t===1))throw n=ir,Ut(e,0),ht(e,r),we(e,X()),n;switch(e.finishedWork=l,e.finishedLanes=r,t){case 0:case 1:throw Error(_(345));case 2:Tt(e,me,Ze);break;case 3:if(ht(e,r),(r&130023424)===r&&(t=qi+500-X(),10<t)){if(Zr(e,0)!==0)break;if(l=e.suspendedLanes,(l&r)!==r){fe(),e.pingedLanes|=e.suspendedLanes&l;break}e.timeoutHandle=Uo(Tt.bind(null,e,me,Ze),t);break}Tt(e,me,Ze);break;case 4:if(ht(e,r),(r&4194240)===r)break;for(t=e.eventTimes,l=-1;0<r;){var i=31-Ae(r);o=1<<i,i=t[i],i>l&&(l=i),r&=~o}if(r=l,r=X()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*dp(r/1960))-r,10<r){e.timeoutHandle=Uo(Tt.bind(null,e,me,Ze),r);break}Tt(e,me,Ze);break;case 5:Tt(e,me,Ze);break;default:throw Error(_(329))}}}return we(e,X()),e.callbackNode===n?Lc.bind(null,e):null}function ti(e,t){var n=Wn;return e.current.memoizedState.isDehydrated&&(Ut(e,t).flags|=256),e=ml(e,t),e!==2&&(t=me,me=n,t!==null&&ni(t)),e}function ni(e){me===null?me=e:me.push.apply(me,e)}function pp(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],o=l.getSnapshot;l=l.value;try{if(!Be(o(),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 ht(e,t){for(t&=~Yi,t&=~jl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Ae(t),r=1<<n;e[n]=-1,t&=~r}}function fs(e){if(U&6)throw Error(_(327));cn();var t=Zr(e,0);if(!(t&1))return we(e,X()),null;var n=ml(e,t);if(e.tag!==0&&n===2){var r=Lo(e);r!==0&&(t=r,n=ti(e,r))}if(n===1)throw n=ir,Ut(e,0),ht(e,t),we(e,X()),n;if(n===6)throw Error(_(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Tt(e,me,Ze),we(e,X()),null}function Ki(e,t){var n=U;U|=1;try{return e(t)}finally{U=n,U===0&&(yn=X()+500,xl&&Pt())}}function Bt(e){gt!==null&>.tag===0&&!(U&6)&&cn();var t=U;U|=1;var n=Te.transition,r=D;try{if(Te.transition=null,D=1,e)return e()}finally{D=r,Te.transition=n,U=t,!(U&6)&&Pt()}}function Xi(){ke=rn.current,B(rn)}function Ut(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Hd(n)),G!==null)for(n=G.return;n!==null;){var r=n;switch(Pi(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&nl();break;case 3:gn(),B(ve),B(ae),$i();break;case 5:Mi(r);break;case 4:gn();break;case 13:B(V);break;case 19:B(V);break;case 10:zi(r.type._context);break;case 22:case 23:Xi()}n=n.return}if(ee=e,G=e=xt(e.current,null),re=ke=t,J=0,ir=null,Yi=jl=Ft=0,me=Wn=null,zt!==null){for(t=0;t<zt.length;t++)if(n=zt[t],r=n.interleaved,r!==null){n.interleaved=null;var l=r.next,o=n.pending;if(o!==null){var i=o.next;o.next=l,r.next=i}n.pending=r}zt=null}return e}function jc(e,t){do{var n=G;try{if(Ri(),Fr.current=fl,cl){for(var r=Q.memoizedState;r!==null;){var l=r.queue;l!==null&&(l.pending=null),r=r.next}cl=!1}if(At=0,b=Z=Q=null,Fn=!1,rr=0,Qi.current=null,n===null||n.return===null){J=1,ir=t,G=null;break}e:{var o=e,i=n.return,u=n,s=t;if(t=re,u.flags|=32768,s!==null&&typeof s=="object"&&typeof s.then=="function"){var a=s,m=u,p=m.tag;if(!(m.mode&1)&&(p===0||p===11||p===15)){var h=m.alternate;h?(m.updateQueue=h.updateQueue,m.memoizedState=h.memoizedState,m.lanes=h.lanes):(m.updateQueue=null,m.memoizedState=null)}var v=Ju(i);if(v!==null){v.flags&=-257,bu(v,i,u,o,t),v.mode&1&&Zu(o,a,t),t=v,s=a;var g=t.updateQueue;if(g===null){var w=new Set;w.add(s),t.updateQueue=w}else g.add(s);break e}else{if(!(t&1)){Zu(o,a,t),Gi();break e}s=Error(_(426))}}else if(H&&u.mode&1){var N=Ju(i);if(N!==null){!(N.flags&65536)&&(N.flags|=256),bu(N,i,u,o,t),Ii(vn(s,u));break e}}o=s=vn(s,u),J!==4&&(J=2),Wn===null?Wn=[o]:Wn.push(o),o=i;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var c=fc(o,s,t);Qu(o,c);break e;case 1:u=s;var f=o.type,d=o.stateNode;if(!(o.flags&128)&&(typeof f.getDerivedStateFromError=="function"||d!==null&&typeof d.componentDidCatch=="function"&&(kt===null||!kt.has(d)))){o.flags|=65536,t&=-t,o.lanes|=t;var S=dc(o,u,t);Qu(o,S);break e}}o=o.return}while(o!==null)}Tc(n)}catch(k){t=k,G===n&&n!==null&&(G=n=n.return);continue}break}while(!0)}function Pc(){var e=dl.current;return dl.current=fl,e===null?fl:e}function Gi(){(J===0||J===3||J===2)&&(J=4),ee===null||!(Ft&268435455)&&!(jl&268435455)||ht(ee,re)}function ml(e,t){var n=U;U|=2;var r=Pc();(ee!==e||re!==t)&&(Ze=null,Ut(e,t));do try{hp();break}catch(l){jc(e,l)}while(!0);if(Ri(),U=n,dl.current=r,G!==null)throw Error(_(261));return ee=null,re=0,J}function hp(){for(;G!==null;)Ic(G)}function mp(){for(;G!==null&&!Ff();)Ic(G)}function Ic(e){var t=zc(e.alternate,e,ke);e.memoizedProps=e.pendingProps,t===null?Tc(e):G=t,Qi.current=null}function Tc(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=sp(n,t),n!==null){n.flags&=32767,G=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{J=6,G=null;return}}else if(n=up(n,t,ke),n!==null){G=n;return}if(t=t.sibling,t!==null){G=t;return}G=t=e}while(t!==null);J===0&&(J=5)}function Tt(e,t,n){var r=D,l=Te.transition;try{Te.transition=null,D=1,gp(e,t,n,r)}finally{Te.transition=l,D=r}return null}function gp(e,t,n,r){do cn();while(gt!==null);if(U&6)throw Error(_(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(_(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(Gf(e,o),e===ee&&(G=ee=null,re=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||jr||(jr=!0,Oc(Gr,function(){return cn(),null})),o=(n.flags&15990)!==0,n.subtreeFlags&15990||o){o=Te.transition,Te.transition=null;var i=D;D=1;var u=U;U|=4,Qi.current=null,cp(e,n),Cc(n,e),Dd(zo),Jr=!!Ro,zo=Ro=null,e.current=n,fp(n),Bf(),U=u,D=i,Te.transition=o}else e.current=n;if(jr&&(jr=!1,gt=e,hl=l),o=e.pendingLanes,o===0&&(kt=null),Vf(n.stateNode),we(e,X()),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(pl)throw pl=!1,e=bo,bo=null,e;return hl&1&&e.tag!==0&&cn(),o=e.pendingLanes,o&1?e===ei?Hn++:(Hn=0,ei=e):Hn=0,Pt(),null}function cn(){if(gt!==null){var e=fa(hl),t=Te.transition,n=D;try{if(Te.transition=null,D=16>e?16:e,gt===null)var r=!1;else{if(e=gt,gt=null,hl=0,U&6)throw Error(_(331));var l=U;for(U|=4,L=e.current;L!==null;){var o=L,i=o.child;if(L.flags&16){var u=o.deletions;if(u!==null){for(var s=0;s<u.length;s++){var a=u[s];for(L=a;L!==null;){var m=L;switch(m.tag){case 0:case 11:case 15:Bn(8,m,o)}var p=m.child;if(p!==null)p.return=m,L=p;else for(;L!==null;){m=L;var h=m.sibling,v=m.return;if(kc(m),m===a){L=null;break}if(h!==null){h.return=v,L=h;break}L=v}}}var g=o.alternate;if(g!==null){var w=g.child;if(w!==null){g.child=null;do{var N=w.sibling;w.sibling=null,w=N}while(w!==null)}}L=o}}if(o.subtreeFlags&2064&&i!==null)i.return=o,L=i;else e:for(;L!==null;){if(o=L,o.flags&2048)switch(o.tag){case 0:case 11:case 15:Bn(9,o,o.return)}var c=o.sibling;if(c!==null){c.return=o.return,L=c;break e}L=o.return}}var f=e.current;for(L=f;L!==null;){i=L;var d=i.child;if(i.subtreeFlags&2064&&d!==null)d.return=i,L=d;else e:for(i=f;L!==null;){if(u=L,u.flags&2048)try{switch(u.tag){case 0:case 11:case 15:Ll(9,u)}}catch(k){q(u,u.return,k)}if(u===i){L=null;break e}var S=u.sibling;if(S!==null){S.return=u.return,L=S;break e}L=u.return}}if(U=l,Pt(),qe&&typeof qe.onPostCommitFiberRoot=="function")try{qe.onPostCommitFiberRoot(wl,e)}catch{}r=!0}return r}finally{D=n,Te.transition=t}}return!1}function ds(e,t,n){t=vn(n,t),t=fc(e,t,1),e=_t(e,t,1),t=fe(),e!==null&&(sr(e,1,t),we(e,t))}function q(e,t,n){if(e.tag===3)ds(e,e,n);else for(;t!==null;){if(t.tag===3){ds(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(kt===null||!kt.has(r))){e=vn(n,e),e=dc(t,e,1),t=_t(t,e,1),e=fe(),t!==null&&(sr(t,1,e),we(t,e));break}}t=t.return}}function vp(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=fe(),e.pingedLanes|=e.suspendedLanes&n,ee===e&&(re&n)===n&&(J===4||J===3&&(re&130023424)===re&&500>X()-qi?Ut(e,0):Yi|=n),we(e,t)}function Rc(e,t){t===0&&(e.mode&1?(t=yr,yr<<=1,!(yr&130023424)&&(yr=4194304)):t=1);var n=fe();e=lt(e,t),e!==null&&(sr(e,t,n),we(e,n))}function yp(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Rc(e,n)}function wp(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(_(314))}r!==null&&r.delete(t),Rc(e,n)}var zc;zc=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ve.current)ge=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return ge=!1,ip(e,t,n);ge=!!(e.flags&131072)}else ge=!1,H&&t.flags&1048576&&Ma(t,ol,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Wr(e,t),e=t.pendingProps;var l=pn(t,ae.current);an(t,n),l=Fi(null,t,r,e,l,n);var o=Bi();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ye(r)?(o=!0,rl(t)):o=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Ui(t),l.updater=Nl,t.stateNode=l,l._reactInternals=t,Wo(t,r,e,n),t=Qo(null,t,r,!0,o,n)):(t.tag=0,H&&o&&ji(t),ce(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Wr(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=_p(r),e=De(r,e),l){case 0:t=Vo(null,t,r,e,n);break e;case 1:t=ns(null,t,r,e,n);break e;case 11:t=es(null,t,r,e,n);break e;case 14:t=ts(null,t,r,De(r.type,e),n);break e}throw Error(_(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:De(r,l),Vo(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:De(r,l),ns(e,t,r,l,n);case 3:e:{if(gc(t),e===null)throw Error(_(387));r=t.pendingProps,o=t.memoizedState,l=o.element,Ha(e,t),sl(t,r,null,n);var i=t.memoizedState;if(r=i.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){l=vn(Error(_(423)),t),t=rs(e,t,r,n,l);break e}else if(r!==l){l=vn(Error(_(424)),t),t=rs(e,t,r,n,l);break e}else for(Ee=St(t.stateNode.containerInfo.firstChild),xe=t,H=!0,$e=null,n=Ba(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(hn(),r===l){t=ot(e,t,n);break e}ce(e,t,r,n)}t=t.child}return t;case 5:return Va(t),e===null&&Ao(t),r=t.type,l=t.pendingProps,o=e!==null?e.memoizedProps:null,i=l.children,Oo(r,l)?i=null:o!==null&&Oo(r,o)&&(t.flags|=32),mc(e,t),ce(e,t,i,n),t.child;case 6:return e===null&&Ao(t),null;case 13:return vc(e,t,n);case 4:return Di(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=mn(t,null,r,n):ce(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:De(r,l),es(e,t,r,l,n);case 7:return ce(e,t,t.pendingProps,n),t.child;case 8:return ce(e,t,t.pendingProps.children,n),t.child;case 12:return ce(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,o=t.memoizedProps,i=l.value,A(il,r._currentValue),r._currentValue=i,o!==null)if(Be(o.value,i)){if(o.children===l.children&&!ve.current){t=ot(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var u=o.dependencies;if(u!==null){i=o.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(o.tag===1){s=tt(-1,n&-n),s.tag=2;var a=o.updateQueue;if(a!==null){a=a.shared;var m=a.pending;m===null?s.next=s:(s.next=m.next,m.next=s),a.pending=s}}o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),Fo(o.return,n,t),u.lanes|=n;break}s=s.next}}else if(o.tag===10)i=o.type===t.type?null:o.child;else if(o.tag===18){if(i=o.return,i===null)throw Error(_(341));i.lanes|=n,u=i.alternate,u!==null&&(u.lanes|=n),Fo(i,n,t),i=o.sibling}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===t){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}ce(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,an(t,n),l=Re(l),r=r(l),t.flags|=1,ce(e,t,r,n),t.child;case 14:return r=t.type,l=De(r,t.pendingProps),l=De(r.type,l),ts(e,t,r,l,n);case 15:return pc(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:De(r,l),Wr(e,t),t.tag=1,ye(r)?(e=!0,rl(t)):e=!1,an(t,n),cc(t,r,l),Wo(t,r,l,n),Qo(null,t,r,!0,e,n);case 19:return yc(e,t,n);case 22:return hc(e,t,n)}throw Error(_(156,t.tag))};function Oc(e,t){return ua(e,t)}function Sp(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 Ie(e,t,n,r){return new Sp(e,t,n,r)}function Zi(e){return e=e.prototype,!(!e||!e.isReactComponent)}function _p(e){if(typeof e=="function")return Zi(e)?1:0;if(e!=null){if(e=e.$$typeof,e===gi)return 11;if(e===vi)return 14}return 2}function xt(e,t){var n=e.alternate;return n===null?(n=Ie(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 Qr(e,t,n,r,l,o){var i=2;if(r=e,typeof e=="function")Zi(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case qt:return Dt(n.children,l,o,t);case mi:i=8,l|=8;break;case fo:return e=Ie(12,n,t,l|2),e.elementType=fo,e.lanes=o,e;case po:return e=Ie(13,n,t,l),e.elementType=po,e.lanes=o,e;case ho:return e=Ie(19,n,t,l),e.elementType=ho,e.lanes=o,e;case Vs:return Pl(n,l,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Ws:i=10;break e;case Hs:i=9;break e;case gi:i=11;break e;case vi:i=14;break e;case ct:i=16,r=null;break e}throw Error(_(130,e==null?e:typeof e,""))}return t=Ie(i,n,t,l),t.elementType=e,t.type=r,t.lanes=o,t}function Dt(e,t,n,r){return e=Ie(7,e,r,t),e.lanes=n,e}function Pl(e,t,n,r){return e=Ie(22,e,r,t),e.elementType=Vs,e.lanes=n,e.stateNode={isHidden:!1},e}function uo(e,t,n){return e=Ie(6,e,null,t),e.lanes=n,e}function so(e,t,n){return t=Ie(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function kp(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=Wl(0),this.expirationTimes=Wl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Wl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Ji(e,t,n,r,l,o,i,u,s){return e=new kp(e,t,n,u,s),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Ie(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ui(o),e}function Ep(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Yt,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Uc(e){if(!e)return Nt;e=e._reactInternals;e:{if(Ht(e)!==e||e.tag!==1)throw Error(_(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(ye(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(_(171))}if(e.tag===1){var n=e.type;if(ye(n))return Ua(e,n,t)}return t}function Dc(e,t,n,r,l,o,i,u,s){return e=Ji(n,r,!0,e,l,o,i,u,s),e.context=Uc(null),n=e.current,r=fe(),l=Et(n),o=tt(r,l),o.callback=t??null,_t(n,o,l),e.current.lanes=l,sr(e,l,r),we(e,r),e}function Il(e,t,n,r){var l=t.current,o=fe(),i=Et(l);return n=Uc(n),t.context===null?t.context=n:t.pendingContext=n,t=tt(o,i),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=_t(l,t,i),e!==null&&(Fe(e,l,i,o),Ar(e,l,i)),i}function gl(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 ps(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function bi(e,t){ps(e,t),(e=e.alternate)&&ps(e,t)}function xp(){return null}var Mc=typeof reportError=="function"?reportError:function(e){console.error(e)};function eu(e){this._internalRoot=e}Tl.prototype.render=eu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(_(409));Il(e,t,null,null)};Tl.prototype.unmount=eu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Bt(function(){Il(null,e,null,null)}),t[rt]=null}};function Tl(e){this._internalRoot=e}Tl.prototype.unstable_scheduleHydration=function(e){if(e){var t=ha();e={blockedOn:null,target:e,priority:t};for(var n=0;n<pt.length&&t!==0&&t<pt[n].priority;n++);pt.splice(n,0,e),n===0&&ga(e)}};function tu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Rl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function hs(){}function Cp(e,t,n,r,l){if(l){if(typeof r=="function"){var o=r;r=function(){var a=gl(i);o.call(a)}}var i=Dc(t,r,e,0,null,!1,!1,"",hs);return e._reactRootContainer=i,e[rt]=i.current,Jn(e.nodeType===8?e.parentNode:e),Bt(),i}for(;l=e.lastChild;)e.removeChild(l);if(typeof r=="function"){var u=r;r=function(){var a=gl(s);u.call(a)}}var s=Ji(e,0,!1,null,null,!1,!1,"",hs);return e._reactRootContainer=s,e[rt]=s.current,Jn(e.nodeType===8?e.parentNode:e),Bt(function(){Il(t,s,n,r)}),s}function zl(e,t,n,r,l){var o=n._reactRootContainer;if(o){var i=o;if(typeof l=="function"){var u=l;l=function(){var s=gl(i);u.call(s)}}Il(t,i,e,l)}else i=Cp(n,t,e,l,r);return gl(i)}da=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=zn(t.pendingLanes);n!==0&&(Si(t,n|1),we(t,X()),!(U&6)&&(yn=X()+500,Pt()))}break;case 13:Bt(function(){var r=lt(e,1);if(r!==null){var l=fe();Fe(r,e,1,l)}}),bi(e,1)}};_i=function(e){if(e.tag===13){var t=lt(e,134217728);if(t!==null){var n=fe();Fe(t,e,134217728,n)}bi(e,134217728)}};pa=function(e){if(e.tag===13){var t=Et(e),n=lt(e,t);if(n!==null){var r=fe();Fe(n,e,t,r)}bi(e,t)}};ha=function(){return D};ma=function(e,t){var n=D;try{return D=e,t()}finally{D=n}};xo=function(e,t,n){switch(t){case"input":if(vo(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=El(r);if(!l)throw Error(_(90));Ys(r),vo(r,l)}}}break;case"textarea":Ks(e,n);break;case"select":t=n.value,t!=null&&ln(e,!!n.multiple,t,!1)}};ta=Ki;na=Bt;var Np={usingClientEntryPoint:!1,Events:[cr,Zt,El,bs,ea,Ki]},Pn={findFiberByHostInstance:Rt,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Lp={bundleType:Pn.bundleType,version:Pn.version,rendererPackageName:Pn.rendererPackageName,rendererConfig:Pn.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:it.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=oa(e),e===null?null:e.stateNode},findFiberByHostInstance:Pn.findFiberByHostInstance||xp,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 Pr=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Pr.isDisabled&&Pr.supportsFiber)try{wl=Pr.inject(Lp),qe=Pr}catch{}}Ne.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Np;Ne.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!tu(t))throw Error(_(200));return Ep(e,t,null,n)};Ne.createRoot=function(e,t){if(!tu(e))throw Error(_(299));var n=!1,r="",l=Mc;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(l=t.onRecoverableError)),t=Ji(e,1,!1,null,null,n,!1,r,l),e[rt]=t.current,Jn(e.nodeType===8?e.parentNode:e),new eu(t)};Ne.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(_(188)):(e=Object.keys(e).join(","),Error(_(268,e)));return e=oa(t),e=e===null?null:e.stateNode,e};Ne.flushSync=function(e){return Bt(e)};Ne.hydrate=function(e,t,n){if(!Rl(t))throw Error(_(200));return zl(null,e,t,!0,n)};Ne.hydrateRoot=function(e,t,n){if(!tu(e))throw Error(_(405));var r=n!=null&&n.hydratedSources||null,l=!1,o="",i=Mc;if(n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(i=n.onRecoverableError)),t=Dc(t,null,e,1,n??null,l,!1,o,i),e[rt]=t.current,Jn(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 Tl(t)};Ne.render=function(e,t,n){if(!Rl(t))throw Error(_(200));return zl(null,e,t,!1,n)};Ne.unmountComponentAtNode=function(e){if(!Rl(e))throw Error(_(40));return e._reactRootContainer?(Bt(function(){zl(null,null,e,!1,function(){e._reactRootContainer=null,e[rt]=null})}),!0):!1};Ne.unstable_batchedUpdates=Ki;Ne.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Rl(n))throw Error(_(200));if(e==null||e._reactInternals===void 0)throw Error(_(38));return zl(e,t,n,!1,r)};Ne.version="18.3.1-next-f1338f8080-20240426";function $c(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE($c)}catch(e){console.error(e)}}$c(),$s.exports=Ne;var Ac=$s.exports,Fc,ms=Ac;Fc=ms.createRoot,ms.hydrateRoot;var gs,vs,ys={exports:{}},In={},K=(vs||(vs=1,ys.exports=function(){if(gs)return In;gs=1;var e=vf,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,l=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function i(u,s,a){var m,p={},h=null,v=null;for(m in a!==void 0&&(h=""+a),s.key!==void 0&&(h=""+s.key),s.ref!==void 0&&(v=s.ref),s)r.call(s,m)&&!o.hasOwnProperty(m)&&(p[m]=s[m]);if(u&&u.defaultProps)for(m in s=u.defaultProps)p[m]===void 0&&(p[m]=s[m]);return{$$typeof:t,type:u,key:h,ref:v,props:p,_owner:l.current}}return In.Fragment=n,In.jsx=i,In.jsxs=i,In}()),ys.exports);function jp(e){return Object.fromEntries(e.map(t=>[t,li()]))}function ri(e,t,n){if(Array.isArray(e))return e;const r=new Array(t).fill(null).map(l=>jp(n));return e.then(l=>{l.length!==t&&console.warn(`Expected ${t} rows, got ${l.length}`);for(let o=0;o<l.length;o++){const i=l[o];for(const u of n)r[o][u].resolve(i[u])}}).catch(l=>{for(let o=0;o<t;o++)for(const i of n)r[o][i].reject(l)}),r}function Pp(e){e instanceof Promise||(e=Promise.resolve(e));const t=e.then(n=>(t.resolved=n,n)).catch(n=>{throw t.rejected=n,n});return t}function li(){let e,t;const n=Pp(new Promise((r,l)=>{e=r,t=l}));return n.resolve=e,n.reject=t,n}const Ip=10;function Tp({header:e,columnWidths:t,orderBy:n,setColumnWidth:r,setColumnWidths:l,setOrderBy:o,dataReady:i}){const[u,s]=P.useState(),a=P.useRef(e.map(()=>P.createRef()));function m(h){return h.current?h.current.offsetWidth-2*Ip:void 0}P.useEffect(()=>{if(i){const h=a.current.map(m);l(h)}},[i,e]),P.useEffect(()=>{function h(){u&&s(void 0)}function v({clientX:g}){u&&r(u.columnIndex,Math.max(1,g-u.clientX))}return u&&(window.addEventListener("mousemove",v),window.addEventListener("mouseup",h)),()=>{window.removeEventListener("mousemove",v),window.removeEventListener("mouseup",h)}},[e,u,l]);const p=P.useMemo(()=>t.map(oi),[t]);return K.jsx("thead",{children:K.jsxs("tr",{children:[K.jsx("th",{children:K.jsx("span",{})}),e.map((h,v)=>K.jsxs("th",{className:n===h?"orderby":void 0,onClick:g=>function(w,N){N.target.tagName!=="SPAN"&&(o==null||o(n===w?void 0:w))}(h,g),ref:a.current[v],style:p[v],title:h,children:[h,K.jsx("span",{onDoubleClick:()=>function(g){Ac.flushSync(()=>{r(g,void 0)});const w=m(a.current[g]);r(g,w)}(v),onMouseDown:g=>function(w,N){N.stopPropagation(),s({columnIndex:w,clientX:N.clientX-(t[w]||0)})}(v,g)})]},v))]})})}function oi(e){const t=e?`${e}px`:void 0;return{minWidth:t,maxWidth:t}}function Rp(e){const t={};return{...e,rows(n,r,l){var u;const o=t[u=l||""]||(t[u]=new Array(e.numRows));let i;for(let s=n;s<r;s++)if(o[s]){if(i!==void 0){const a=s,m=a-i,p=ri(e.rows(i,a,l),m,e.header);for(let h=0;h<a-i;h++)o[i+h]=p[h];i=void 0}}else i===void 0&&(i=s);if(i!==void 0){const s=r,a=s-i,m=ri(e.rows(i,s,l),a,e.header);for(let p=0;p<s-i;p++)o[i+p]=m[p]}return o.slice(n,r)}}}function zp(e,t){switch(t.type){case"SET_ROWS":return{...e,startIndex:t.start,rows:t.rows,dataReady:e.dataReady||t.hasCompleteRow};case"SET_COLUMN_WIDTH":{const n=[...e.columnWidths];return n[t.columnIndex]=t.columnWidth,{...e,columnWidths:n}}case"SET_COLUMN_WIDTHS":return{...e,columnWidths:t.columnWidths};case"SET_ORDER":return{...e,orderBy:t.orderBy};case"SET_PENDING":return{...e,pending:t.pending};case"DATA_CHANGED":return{...e,dataReady:!1};default:return e}}const Op={columnWidths:[],startIndex:0,rows:[],dataReady:!1,pending:!1};function Up({data:e,overscan:t=20,padding:n=20,onDoubleClickCell:r,onError:l=console.error}){const[o,i]=P.useReducer(zp,Op),{columnWidths:u,startIndex:s,rows:a,orderBy:m,dataReady:p,pending:h}=o,v=P.useRef(0),g=P.useRef(null),w=P.useRef(null),N=P.useRef(0),c=P.useRef(!1);if(!e)throw new Error("HighTable: data is required");const f=33*(e.numRows+1);function d(j,O){if(j.length>0&&j.length!==e.header.length)return`Row ${O+1} length ${j.length} does not match header length ${e.header.length}`}P.useEffect(()=>{async function j(){var st,x;const Xe=((st=g.current)==null?void 0:st.clientHeight)||100,Oe=((x=g.current)==null?void 0:x.scrollTop)||0;let Se=Math.floor(e.numRows*Oe/f),We=Math.ceil(e.numRows*(Oe+Xe)/f);if(Se=Math.max(0,Se-t),We=Math.min(e.numRows,We+t),isNaN(Se))throw new Error("invalid start row "+Se);if(isNaN(We))throw new Error("invalid end row "+We);const Ge=Math.max(0,Oe-33*n);try{const R=++N.current,T=ri(e.rows(Se,We,m),We-Se,e.header),W=function(M,_e){let oe=0,He=!1;return()=>{const he=Date.now();he-oe>_e?(oe=he,M()):He||(He=!0,setTimeout(()=>{oe=Date.now(),He=!1,M()},_e-(he-oe)))}}(()=>{const M=[];let _e=!1;for(const oe of T){const He={};let he=!0;for(const[Vt,iu]of Object.entries(oe))"resolved"in iu?He[Vt]=iu.resolved:he=!1;he&&(_e=!0),M.push(He)}v.current=Ge,i({type:"SET_ROWS",start:Se,rows:M,hasCompleteRow:_e})},10);W();for(const M of T)for(const[_e,oe]of Object.entries(M))oe.then(()=>{N.current===R&&W()}).catch(()=>{});for(const M of T)for(const _e of Object.values(M))await _e;c.current&&(c.current=!1,j())}catch(R){i({type:"SET_PENDING",pending:!1}),l(R)}}j();const O=g.current;return O==null||O.addEventListener("scroll",j),window.addEventListener("resize",j),()=>{O==null||O.removeEventListener("scroll",j),window.removeEventListener("resize",j)}},[e,m,t,n,f,l]);const S=P.useMemo(()=>u.map(oi),[u]);P.useEffect(()=>{var j;(j=w.current)==null||j.focus()},[]),P.useEffect(()=>{i({type:"DATA_CHANGED"})},[e]);const k=P.useCallback(j=>a[j].__index__??j+s+1,[a,s]),E=Array.from({length:Math.min(n,s)},()=>[]),C=Array.from({length:Math.min(n,e.numRows-s-a.length)},()=>[]),I=4*Math.ceil(Math.log10(e.numRows+1))+22,$=P.useMemo(()=>oi(I),[I]);if(e.header.length)return K.jsxs("div",{className:h?"table-container pending":"table-container",children:[K.jsx("div",{className:"table-scroll",ref:g,children:K.jsx("div",{style:{height:`${f}px`},children:K.jsxs("table",{"aria-colcount":e.header.length,"aria-rowcount":e.numRows,className:e.sortable?"table sortable":"table",ref:w,role:"grid",style:{top:`${v.current}px`},tabIndex:0,children:[K.jsx(Tp,{columnWidths:u,dataReady:p,header:e.header,orderBy:m,setColumnWidth:(j,O)=>i({type:"SET_COLUMN_WIDTH",columnIndex:j,columnWidth:O}),setColumnWidths:j=>i({type:"SET_COLUMN_WIDTHS",columnWidths:j}),setOrderBy:j=>e.sortable&&i({type:"SET_ORDER",orderBy:j})}),K.jsxs("tbody",{children:[E.map((j,O)=>K.jsx("tr",{children:K.jsx("td",{style:$,children:(s-E.length+O+1).toLocaleString()})},s-E.length+O)),a.map((j,O)=>K.jsxs("tr",{title:d(j,O),children:[K.jsx("td",{style:$,children:k(O).toLocaleString()}),e.header.map((Xe,Oe)=>{var Se;return function(We,Ge,st,x){let R,T=ii(We);return typeof T=="string"&&(T.length>400&&(T=`${T.slice(0,397)}…`),T.length>100&&(R=T)),K.jsx("td",{className:T===void 0?"pending":void 0,onDoubleClick:()=>r==null?void 0:r(Ge,x??st),style:S[Ge],title:R,children:T},Ge)}(j[Xe],Oe,s+O,(Se=j.__index__)==null?void 0:Se.resolved)})]},s+O)),C.map((j,O)=>K.jsx("tr",{children:K.jsx("td",{style:$,children:(s+a.length+O+1).toLocaleString()})},s+a.length+O))]})]})})}),K.jsx("div",{className:"table-corner",style:$,children:" "}),K.jsx("div",{className:"mock-row-label",style:$,children:" "})]})}function ii(e){return typeof e=="string"?e:typeof e=="number"?e.toLocaleString():Array.isArray(e)?`[${e.map(ii).join(", ")}]`:e==null?JSON.stringify(e):e instanceof Date?e.toISOString():typeof e=="object"?`{${Object.entries(e).map(([t,n])=>`${t}: ${ii(n)}`).join(", ")}}`:e.toString()}const ws=["BOOLEAN","INT32","INT64","INT96","FLOAT","DOUBLE","BYTE_ARRAY","FIXED_LEN_BYTE_ARRAY"],Ss=["PLAIN",void 0,"PLAIN_DICTIONARY","RLE","BIT_PACKED","DELTA_BINARY_PACKED","DELTA_LENGTH_BYTE_ARRAY","DELTA_BYTE_ARRAY","RLE_DICTIONARY","BYTE_STREAM_SPLIT"],Dp=["REQUIRED","OPTIONAL","REPEATED"],Mp=["UTF8","MAP","MAP_KEY_VALUE","LIST","ENUM","DECIMAL","DATE","TIME_MILLIS","TIME_MICROS","TIMESTAMP_MILLIS","TIMESTAMP_MICROS","UINT_8","UINT_16","UINT_32","UINT_64","INT_8","INT_16","INT_32","INT_64","JSON","BSON","INTERVAL"],$p=["UNCOMPRESSED","SNAPPY","GZIP","LZO","BROTLI","LZ4","ZSTD","LZ4_RAW"],Ap=["DATA_PAGE","INDEX_PAGE","DICTIONARY_PAGE","DATA_PAGE_V2"];function Fp(e){let t=0;for(const n of e)t=t<<8|n;return t}function Bp(e){if(!e)return;const t=e[1]<<8|e[0],n=t>>15?-1:1,r=t>>10&31,l=t&1023;return r===0?n*Math.pow(2,-14)*(l/1024):r===31?l?NaN:n*(1/0):n*Math.pow(2,r-15)*(1+l/1024)}function Bc(e,t,n){const r=e[t],l=[];let o=1;if(r.num_children)for(;l.length<r.num_children;){const i=e[t+o],u=Bc(e,t+o,[...n,i.name]);o+=u.count,l.push(u)}return{count:o,element:r,children:l,path:n}}function Wp(e,t){let n=Bc(e,0,[]);const r=[n];for(const l of t){const o=n.children.find(i=>i.element.name===l);if(!o)throw new Error(`parquet schema element not found: ${t}`);r.push(o),n=o}return r}const te={STOP:0,TRUE:1,FALSE:2,BYTE:3,I16:4,I32:5,I64:6,DOUBLE:7,BINARY:8,LIST:9,SET:10,MAP:11,STRUCT:12,UUID:13};function Hp(e){let t=0;const n={};for(;e.offset<e.view.byteLength;){const[r,l,o]=Hc(e,t);if(t=o,r===te.STOP)break;n[`field_${l}`]=Yr(e,r)}return n}function Yr(e,t){switch(t){case te.TRUE:return!0;case te.FALSE:return!1;case te.BYTE:return e.view.getInt8(e.offset++);case te.I16:case te.I32:return Qp(e);case te.I64:return Yp(e);case te.DOUBLE:{const n=e.view.getFloat64(e.offset,!0);return e.offset+=8,n}case te.BINARY:{const n=nu(e),r=new Uint8Array(e.view.buffer,e.view.byteOffset+e.offset,n);return e.offset+=n,r}case te.LIST:{const[n,r]=qp(e),l=n===te.TRUE||n===te.FALSE,o=new Array(r);for(let i=0;i<r;i++)o[i]=l?Yr(e,te.BYTE)===1:Yr(e,n);return o}case te.STRUCT:{const n={};let r=0;for(;;){let l,o;if([l,o,r]=Hc(e,r),l===te.STOP)break;n[`field_${o}`]=Yr(e,l)}return n}case te.UUID:{let n="";for(let r=0;r<16;r++)n+=e.view.getUint8(e.offset++).toString(16).padStart(2,"0");return n}default:throw new Error(`thrift unhandled type: ${t}`)}}function nu(e){let t=0,n=0;for(;;){const r=e.view.getUint8(e.offset++);if(t|=(r&127)<<n,!(r&128))return t;n+=7}}function Vp(e){let t=0n,n=0n;for(;;){const r=e.view.getUint8(e.offset++);if(t|=BigInt(r&127)<<n,!(r&128))return t;n+=7n}}function Qp(e){const t=nu(e);return t>>>1^-(t&1)}function Yp(e){const t=Vp(e);return t>>BigInt(1)^-(t&BigInt(1))}function Wc(e){return e&15}function Hc(e,t){const n=e.view.getUint8(e.offset++);if((n&15)===te.STOP)return[0,0,t];const r=n>>4;let l;if(r)l=t+r;else throw new Error("non-delta field id not supported");return[Wc(n),l,l]}function qp(e){const t=e.view.getUint8(e.offset++),n=t>>4,r=Wc(t);if(n===15){const l=nu(e);return[r,l]}return[r,n]}async function Vc(e,t=1<<19){if(!e)throw new Error("parquet file is required");if(!(e.byteLength>=0))throw new Error("parquet file byteLength is required");const n=Math.max(0,e.byteLength-t),r=await e.slice(n,e.byteLength),l=new DataView(r);if(l.getUint32(r.byteLength-4,!0)!==827474256)throw new Error("parquet file invalid (footer != PAR1)");const o=l.getUint32(r.byteLength-8,!0);if(o>e.byteLength-8)throw new Error(`parquet metadata length ${o} exceeds available buffer ${e.byteLength-8}`);if(o+8>t){const i=e.byteLength-o-8,u=await e.slice(i,n),s=new ArrayBuffer(o+8),a=new Uint8Array(s);return a.set(new Uint8Array(u)),a.set(new Uint8Array(r),n-i),_s(s)}else return _s(r)}function _s(e){var N;if(!e)throw new Error("parquet file is required");const t=new DataView(e);if(t.byteLength<8)throw new Error("parquet file is too short");if(t.getUint32(t.byteLength-4,!0)!==827474256)throw new Error("parquet file invalid (footer != PAR1)");const n=t.byteLength-8,r=t.getUint32(n,!0);if(r>t.byteLength-8)throw new Error(`parquet metadata length ${r} exceeds available buffer ${t.byteLength-8}`);const l=n-r,i=Hp({view:t,offset:l}),u=new TextDecoder;function s(c){return c&&u.decode(c)}const a=i.field_1,m=i.field_2.map(c=>({type:ws[c.field_1],type_length:c.field_2,repetition_type:Dp[c.field_3],name:s(c.field_4),num_children:c.field_5,converted_type:Mp[c.field_6],scale:c.field_7,precision:c.field_8,field_id:c.field_9,logical_type:Xp(c.field_10)})),p=m.filter(c=>c.type),h=i.field_3,v=i.field_4.map(c=>{var f;return{columns:c.field_1.map((d,S)=>{var k,E;return{file_path:s(d.field_1),file_offset:d.field_2,meta_data:d.field_3&&{type:ws[d.field_3.field_1],encodings:(k=d.field_3.field_2)==null?void 0:k.map(C=>Ss[C]),path_in_schema:d.field_3.field_3.map(s),codec:$p[d.field_3.field_4],num_values:d.field_3.field_5,total_uncompressed_size:d.field_3.field_6,total_compressed_size:d.field_3.field_7,key_value_metadata:d.field_3.field_8,data_page_offset:d.field_3.field_9,index_page_offset:d.field_3.field_10,dictionary_page_offset:d.field_3.field_11,statistics:Gp(d.field_3.field_12,p[S]),encoding_stats:(E=d.field_3.field_13)==null?void 0:E.map(C=>({page_type:Ap[C.field_1],encoding:Ss[C.field_2],count:C.field_3})),bloom_filter_offset:d.field_3.field_14,bloom_filter_length:d.field_3.field_15,size_statistics:d.field_3.field_16&&{unencoded_byte_array_data_bytes:d.field_3.field_16.field_1,repetition_level_histogram:d.field_3.field_16.field_2,definition_level_histogram:d.field_3.field_16.field_3}},offset_index_offset:d.field_4,offset_index_length:d.field_5,column_index_offset:d.field_6,column_index_length:d.field_7,crypto_metadata:d.field_7,encrypted_column_metadata:d.field_8}}),total_byte_size:c.field_2,num_rows:c.field_3,sorting_columns:(f=c.field_4)==null?void 0:f.map(d=>({column_idx:d.field_1,descending:d.field_2,nulls_first:d.field_3})),file_offset:c.field_5,total_compressed_size:c.field_6,ordinal:c.field_7}}),g=(N=i.field_5)==null?void 0:N.map(c=>({key:s(c.field_1),value:s(c.field_2)})),w=s(i.field_6);return{version:a,schema:m,num_rows:h,row_groups:v,key_value_metadata:g,created_by:w,metadata_length:r}}function Kp(e){return Wp(e.schema,[])[0]}function Xp(e){return e!=null&&e.field_1?{type:"STRING"}:e!=null&&e.field_2?{type:"MAP"}:e!=null&&e.field_3?{type:"LIST"}:e!=null&&e.field_4?{type:"ENUM"}:e!=null&&e.field_5?{type:"DECIMAL",scale:e.field_5.field_1,precision:e.field_5.field_2}:e!=null&&e.field_6?{type:"DATE"}:e!=null&&e.field_7?{type:"TIME",isAdjustedToUTC:e.field_7.field_1,unit:ks(e.field_7.field_2)}:e!=null&&e.field_8?{type:"TIMESTAMP",isAdjustedToUTC:e.field_8.field_1,unit:ks(e.field_8.field_2)}:e!=null&&e.field_10?{type:"INTEGER",bitWidth:e.field_10.field_1,isSigned:e.field_10.field_2}:e!=null&&e.field_11?{type:"NULL"}:e!=null&&e.field_12?{type:"JSON"}:e!=null&&e.field_13?{type:"BSON"}:e!=null&&e.field_14?{type:"UUID"}:e!=null&&e.field_15?{type:"FLOAT16"}:e}function ks(e){if(e.field_1)return"MILLIS";if(e.field_2)return"MICROS";if(e.field_3)return"NANOS";throw new Error("parquet time unit required")}function Gp(e,t){return e&&{max:Ir(e.field_1,t),min:Ir(e.field_2,t),null_count:e.field_3,distinct_count:e.field_4,max_value:Ir(e.field_5,t),min_value:Ir(e.field_6,t),is_max_value_exact:e.field_7,is_min_value_exact:e.field_8}}function Ir(e,t){const{type:n,converted_type:r,logical_type:l}=t;if(e===void 0)return e;if(n==="BOOLEAN")return e[0]===1;if(n==="BYTE_ARRAY")return new TextDecoder().decode(e);const o=new DataView(e.buffer,e.byteOffset,e.byteLength);return n==="FLOAT"&&o.byteLength===4?o.getFloat32(0,!0):n==="DOUBLE"&&o.byteLength===8?o.getFloat64(0,!0):n==="INT32"&&r==="DATE"?new Date(o.getInt32(0,!0)*864e5):n==="INT64"&&r==="TIMESTAMP_MICROS"?new Date(Number(o.getBigInt64(0,!0)/1000n)):n==="INT64"&&r==="TIMESTAMP_MILLIS"?new Date(Number(o.getBigInt64(0,!0))):n==="INT64"&&(l==null?void 0:l.type)==="TIMESTAMP"?new Date(Number(o.getBigInt64(0,!0))):n==="INT32"&&o.byteLength===4?o.getInt32(0,!0):n==="INT64"&&o.byteLength===8?o.getBigInt64(0,!0):r==="DECIMAL"?Fp(e)*Math.pow(10,-(t.scale||0)):(l==null?void 0:l.type)==="FLOAT16"?Bp(e):e}async function Zp(e){return await fetch(e,{method:"HEAD"}).then(t=>{if(!t.ok)throw new Error(`fetch head failed ${t.status}`);const n=t.headers.get("Content-Length");if(!n)throw new Error("missing content length");return parseInt(n)})}function Jp(e){return new Worker("/assets/parquetWorker-DvebN5Qi.js",{name:e==null?void 0:e.name})}function vl(...e){return e.filter(t=>t).join(" ")}async function Qc({url:e,byteLength:t,headers:n}){return t||(t=await Zp(e)),{byteLength:t,async slice(r,l){const o=new Headers(n),i=l===void 0?"":l-1;o.set("Range",`bytes=${r.toString()}-${i.toString()}`);const u=await fetch(e,{headers:o});if(!u.ok||!u.body)throw new Error(`fetch failed ${u.status.toString()}`);return u.arrayBuffer()}}}let Tr,bp=0;const Yc=new Map;function eh(){return Tr||(Tr=new Jp,Tr.onmessage=({data:e})=>{const t=Yc.get(e.queryId);if(!t)throw new Error(`Unexpected: no pending promise found for queryId: ${e.queryId.toString()}`);const{resolve:n,reject:r,onChunk:l}=t;"error"in e?r(e.error):"result"in e?n(e.result):"chunk"in e?l==null||l(e.chunk):r(new Error("Unexpected message from worker"))}),Tr}function th({metadata:e,from:t,rowStart:n,rowEnd:r,orderBy:l,onChunk:o}){return new Promise((i,u)=>{const s=bp++;Yc.set(s,{resolve:i,reject:u,onChunk:o});const a=eh(),m=o!==void 0;a.postMessage({queryId:s,metadata:e,from:t,rowStart:n,rowEnd:r,orderBy:l,chunks:m})})}function nh(e){return new Worker("/assets/sortParquetWorker-DtuRy9Q2.js",{name:e==null?void 0:e.name})}let Rr,rh=0;const qc=new Map;function lh(){return Rr||(Rr=new nh,Rr.onmessage=({data:e})=>{const t=qc.get(e.queryId);if(!t)throw new Error(`Unexpected: no pending promise found for queryId: ${e.queryId.toString()}`);const{resolve:n,reject:r}=t;"error"in e?r(e.error):"indices"in e?n(e.indices):r(new Error("Unexpected message from worker"))}),Rr}function oh({metadata:e,from:t,orderBy:n}){return new Promise((r,l)=>{const o=rh++;qc.set(o,{resolve:r,reject:l}),lh().postMessage({queryId:o,metadata:e,from:t,orderBy:n,sortIndex:!0})})}function Kc(e,t){const{children:n}=Kp(t),r=n.map(p=>p.element.name),l=new Map,o=new Array(Number(t.num_rows)),i=new Array(t.row_groups.length).fill(!1);let u=0;const s=t.row_groups.map(p=>u+=Number(p.num_rows));function a(p){if(!i[p]){const h=s[p-1]||0,v=s[p];for(let g=h;g<v;g++)o[g]=Object.fromEntries(r.map(w=>[w,li()]));th({from:e,metadata:t,rowStart:h,rowEnd:v}).then(g=>{var w;for(let N=h;N<v;N++)for(const[c,f]of Object.entries(g[N-h]))(w=o[N])==null||w[c].resolve(f)}).catch(g=>{console.error("Error fetching row group",g)}),i[p]=!0}}function m(p){let h=l.get(p);return h||(h=oh({from:e,metadata:t,orderBy:p}),l.set(p,h)),h}return{header:r,numRows:Number(t.num_rows),rows(p,h,v){if(v){const g=h-p,w=new Array(g).fill(null).map(()=>Object.fromEntries(r.map(N=>[N,li()])));return m(v).then(N=>{for(const c of N.slice(p,h)){const f=s.findIndex(d=>c<d);a(f)}for(let c=p;c<h;c++)for(const f of r){const d=o[N[c]];f in d&&d[f].then(k=>{var E;(E=w[c-p])==null||E[f].resolve(k)}).catch(k=>{console.error("Error resolving sorted row",k)})}}).catch(N=>{console.error("Error fetching sort index or resolving sorted rows",N)}),w}else{for(let g=0;g<i.length;g++){const w=s[g-1]||0;p<s[g]&&h>w&&a(g)}return o.slice(p,h)}},sortable:!0}}var ih=Object.defineProperty,uh=(e,t,n)=>t in e?ih(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,zr=(e,t,n)=>(uh(e,typeof t!="symbol"?t+"":t,n),n),Ol="https://huggingface.co";async function fn(e,t){var n,r;const l=new sh(e.url,e.status,(n=e.headers.get("X-Request-Id"))!=null?n:void 0);l.message=`Api error with status ${l.statusCode}`;const o=[`URL: ${l.url}`,l.requestId?`Request ID: ${l.requestId}`:void 0].filter(Boolean).join(". ");if((r=e.headers.get("Content-Type"))!=null&&r.startsWith("application/json")){const i=await e.json();l.message=i.error||i.message||l.message,l.data=i}else l.data={message:await e.text()};throw l.message+=`. ${o}`,l}var sh=class extends Error{constructor(e,t,n,r){super(r),zr(this,"statusCode"),zr(this,"url"),zr(this,"requestId"),zr(this,"data"),this.statusCode=t,this.requestId=n,this.url=e}};function Es(e){if(!e.startsWith("hf_"))throw new TypeError("Your access token must start with 'hf_'")}function Xc(e){var t;if(e.accessToken)return Es(e.accessToken),e.accessToken;if((t=e.credentials)!=null&&t.accessToken)return Es(e.credentials.accessToken),e.credentials.accessToken}function ah(e){if(typeof e!="string")return e;if(e.startsWith("model/")||e.startsWith("models/"))throw new TypeError("A repo designation for a model should not start with 'models/', directly specify the model namespace / name");if(e.startsWith("space/"))throw new TypeError("Spaces should start with 'spaces/', plural, not 'space/'");if(e.startsWith("dataset/"))throw new TypeError("Datasets should start with 'dataset/', plural, not 'dataset/'");const t=e.split("/").length-1;if(e.startsWith("spaces/")){if(t!==2)throw new TypeError("Space Id must include namespace and name of the space");return{type:"space",name:e.slice(7)}}if(e.startsWith("datasets/")){if(t>2)throw new TypeError("Too many slashes in repo designation: "+e);return{type:"dataset",name:e.slice(9)}}if(t>1)throw new TypeError("Too many slashes in repo designation: "+e);return{type:"model",name:e}}new Promise(e=>{});function ch(e){if(globalThis.Buffer)return globalThis.Buffer.from(e).toString("base64");{const t=[];return e.forEach(n=>{t.push(String.fromCharCode(n))}),globalThis.btoa(t.join(""))}}function fh(e,t){return Object.assign({},...t.map(n=>{if(e[n]!==void 0)return{[n]:e[n]}}))}function Gc(e){const t=/<(https?:[/][/][^>]+)>;\s+rel="([^"]+)"/g;return Object.fromEntries([...e.matchAll(t)].map(([,n,r])=>[r,n]))}var dh=["private","downloads","gated","likes","lastModified"];async function*ph(e){var t,n,r,l,o,i,u,s,a;const m=e&&Xc(e);let p=(t=e==null?void 0:e.limit)!=null?t:1/0;const h=new URLSearchParams([...Object.entries({limit:String(Math.min(p,500)),...(n=e==null?void 0:e.search)!=null&&n.owner?{author:e.search.owner}:void 0,...(r=e==null?void 0:e.search)!=null&&r.query?{search:e.search.query}:void 0}),...(i=(o=(l=e==null?void 0:e.search)==null?void 0:l.tags)==null?void 0:o.map(g=>["filter",g]))!=null?i:[],...dh.map(g=>["expand",g]),...(s=(u=e==null?void 0:e.additionalFields)==null?void 0:u.map(g=>["expand",g]))!=null?s:[]]).toString();let v=`${(e==null?void 0:e.hubUrl)||Ol}/api/datasets`+(h?"?"+h:"");for(;v;){const g=await((a=e==null?void 0:e.fetch)!=null?a:fetch)(v,{headers:{accept:"application/json",...e!=null&&e.credentials?{Authorization:`Bearer ${m}`}:void 0}});if(!g.ok)throw await fn(g);const w=await g.json();for(const c of w)if(yield{...(e==null?void 0:e.additionalFields)&&fh(c,e.additionalFields),id:c._id,name:c.id,private:c.private,downloads:c.downloads,likes:c.likes,gated:c.gated,updatedAt:new Date(c.lastModified)},p--,p<=0)return;const N=g.headers.get("Link");v=N?Gc(N).next:void 0}}async function*hh(e){var t;const n=Xc(e),r=ah(e.repo);let l=`${e.hubUrl||Ol}/api/${r.type}s/${r.name}/tree/${e.revision||"main"}${e.path?"/"+e.path:""}?recursive=${!!e.recursive}&expand=${!!e.expand}`;for(;l;){const o=await((t=e.fetch)!=null?t:fetch)(l,{headers:{accept:"application/json",...n?{Authorization:`Bearer ${n}`}:void 0}});if(!o.ok)throw await fn(o);const i=await o.json();for(const s of i)yield s;const u=o.headers.get("Link");l=u?Gc(u).next:void 0}}async function xs(e){var t,n;if(typeof window>"u")throw new Error("oauthHandleRedirect is only available in the browser");const r=new URLSearchParams(window.location.search),[l,o]=[r.get("error"),r.get("error_description")];if(l)throw new Error(`${l}: ${o}`);const i=r.get("code"),u=localStorage.getItem("huggingface.co:oauth:nonce");if(!i)throw new Error("Missing oauth code from query parameters in redirected URL");if(!u)throw new Error("Missing oauth nonce from localStorage");const s=localStorage.getItem("huggingface.co:oauth:code_verifier");if(!s)throw new Error("Missing oauth code_verifier from localStorage");const a=r.get("state");if(!a)throw new Error("Missing oauth state from query parameters in redirected URL");let m;try{m=JSON.parse(a)}catch{throw new Error("Invalid oauth state in redirected URL, unable to parse JSON: "+a)}if(m.nonce!==u)throw new Error("Invalid oauth state in redirected URL");const p=Ol,h=`${new URL(p).origin}/.well-known/openid-configuration`,v=await fetch(h,{headers:{Accept:"application/json"}});if(!v.ok)throw await fn(v);const g=await v.json(),w=await fetch(g.token_endpoint,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({grant_type:"authorization_code",code:i,redirect_uri:m.redirectUri,code_verifier:s}).toString()});if(localStorage.removeItem("huggingface.co:oauth:code_verifier"),localStorage.removeItem("huggingface.co:oauth:nonce"),!w.ok)throw await fn(w);const N=await w.json(),c=new Date(Date.now()+N.expires_in*1e3),f=await fetch(g.userinfo_endpoint,{headers:{Authorization:`Bearer ${N.access_token}`}});if(!f.ok)throw await fn(f);const d=await f.json();return{accessToken:N.access_token,accessTokenExpiresAt:c,userInfo:{id:d.sub,name:d.name,fullname:d.preferred_username,email:d.email,emailVerified:d.email_verified,avatarUrl:d.picture,websiteUrl:d.website,isPro:d.isPro,orgs:(n=(t=d.orgs)==null?void 0:t.map(S=>({id:S.sub,name:S.name,fullname:S.name,isEnterprise:S.isEnterprise,canPay:S.canPay,avatarUrl:S.picture,roleInOrg:S.roleInOrg})))!=null?n:[]},state:m.state,scope:N.scope}}async function mh(e){if(typeof window>"u")throw new Error("oauthHandleRedirect is only available in the browser");const t=new URLSearchParams(window.location.search);return t.has("error")?xs():t.has("code")?localStorage.getItem("huggingface.co:oauth:nonce")?xs():(console.warn("Missing oauth nonce from localStorage. This can happen when the user refreshes the page after logging in, without changing the URL."),!1):!1}async function gh(e){var t,n;if(typeof window>"u")throw new Error("oauthLogin is only available in the browser");const r=(e==null?void 0:e.hubUrl)||Ol,l=`${new URL(r).origin}/.well-known/openid-configuration`,o=await fetch(l,{headers:{Accept:"application/json"}});if(!o.ok)throw await fn(o);const i=await o.json(),u=globalThis.crypto.randomUUID(),s=globalThis.crypto.randomUUID()+globalThis.crypto.randomUUID();localStorage.setItem("huggingface.co:oauth:nonce",u),localStorage.setItem("huggingface.co:oauth:code_verifier",s);const a=(e==null?void 0:e.redirectUrl)||window.location.href,m=JSON.stringify({nonce:u,redirectUri:a,state:e==null?void 0:e.state}),p=(n=(t=window==null?void 0:window.huggingface)==null?void 0:t.variables)!=null?n:null,h=(e==null?void 0:e.clientId)||(p==null?void 0:p.OAUTH_CLIENT_ID);if(!h)throw p?new Error("Missing clientId, please add hf_oauth: true to the README.md's metadata in your static Space"):new Error("Missing clientId");const v=ch(new Uint8Array(await globalThis.crypto.subtle.digest("SHA-256",new TextEncoder().encode(s)))).replace(/[+]/g,"-").replace(/[/]/g,"_").replace(/=/g,"");return`${i.authorization_endpoint}?${new URLSearchParams({client_id:h,scope:(e==null?void 0:e.scopes)||(p==null?void 0:p.OAUTH_SCOPES)||"openid profile",response_type:"code",redirect_uri:a,state:m,code_challenge:v,code_challenge_method:"S256"}).toString()}`}async function vh(){let e=JSON.parse(localStorage.getItem("oauth")??"null");if(console.log("oauthResult A",e),e||(e=await mh()),console.log("oauthResult B",e),e&&localStorage.setItem("oauth",JSON.stringify(e)),e&&e.state)try{const t=JSON.parse(e.state);if(typeof t!="object"||t===null||!("redirect"in t))throw new Error("Invalid state");const n=t.redirect;if(typeof n!="string")throw new Error("Invalid redirect URL: not a string");const r=new URL(n);if(r.origin!==window.location.origin)throw new Error("Invalid redirect URL: different origin");localStorage.setItem("oauth",JSON.stringify({...e,state:null})),window.location.href=r.href}catch(t){console.error(t)}return console.log("oauthResult C",e),e}async function Zc(){const e={redirectUrl:new URL(window.location.href).origin+"/",state:JSON.stringify({redirect:window.location.href}),..."huggingface"in window?{}:{clientId:"921c40c6-531f-419e-9aa8-3d1cc2606e5e",scopes:"openid profile read-repos"}},t=await gh(e)+"&prompt=consent";console.log("login url",t),window.location.href=t}function yh(){localStorage.removeItem("oauth"),window.location.reload()}function Ul({children:e,className:t,progress:n,error:r,title:l}){const o=r==null?void 0:r.toString();return r&&console.error(r),P.useEffect(()=>{document.title=l?`${l} - hyperparam`:"hyperparam"},[l]),y.jsxs("main",{className:"main",children:[y.jsx(wh,{}),y.jsxs("div",{className:"content-container",children:[y.jsx("div",{className:vl("content",t),children:e}),y.jsxs("div",{className:vl("error-bar",r&&"show-error"),children:[o,o!=null&&o.includes("Invalid username or password")?y.jsx("a",{onClick:()=>{Zc().catch(()=>{})},children:"Log in to HF"}):null]})]}),n!==void 0&&n<1&&y.jsx("div",{className:"progress-bar",role:"progressbar",children:y.jsx("div",{style:{width:`${(100*n).toString()}%`}})})]})}function wh(){return y.jsx("nav",{className:"nav",children:y.jsx("a",{className:"brand",href:"https://hyperparam.app",target:"_blank",rel:"noreferrer",children:"hyperparam"})})}function dr({className:e}){return y.jsx("div",{className:vl("spinner",e)})}function ru(e){const t=new URL(window.location.href);t.search=e,window.parent.postMessage({queryString:e},"https://huggingface.co"),window.location.assign(t)}function Sh(e){const t=new URL(e);if(t.protocol!=="https:"&&t.protocol!=="http:")throw new Error("url must be a HTTP URL");if(t.host!=="huggingface.co"&&t.host!=="hf.co"||t.protocol!=="https:")return{kind:"non-hf",raw:e};if(/^(\/datasets(\/[?<namespace>^/]+)?)?(\/)?$/.exec(t.pathname))return{kind:"base",raw:e};const n=/^\/datasets\/(?<namespace>[^/]+)\/(?<repo>[^/]+)\/?$/.exec(t.pathname);if(n!=null&&n.groups)return{kind:"repo",raw:e,...n.groups};const r=/^\/datasets\/(?<namespace>[^/]+)\/(?<repo>[^/]+)\/(?<action>tree)\/(?<branch>(refs\/(convert|pr)\/)?[^/]+)(?<path>(\/[^/]+)*)\/?$/.exec(t.pathname);if(r!=null&&r.groups&&r.groups.branch!=="refs"){const o=r.groups.branch.replace(/\//g,"%2F");return{kind:"folder",raw:e,...r.groups,branch:o}}const l=/^\/datasets\/(?<namespace>[^/]+)\/(?<repo>[^/]+)\/(?<action>blob|resolve)\/(?<branch>(refs\/(convert|pr)\/)?[^/]+)(?<path>(\/[^/]+)+)$/.exec(t.pathname);if(l!=null&&l.groups&&l.groups.branch!=="refs"){const o=l.groups.branch.replace(/\//g,"%2F");return{kind:"file",raw:e,...l.groups,branch:o,resolveUrl:`${t.origin}/datasets/${l.groups.namespace}/${l.groups.repo}/resolve/${o}${l.groups.path}`}}throw new Error("Unsupported Hugging Face URL")}const dt="https://huggingface.co/datasets";function _h(e){if(e.kind==="non-hf")return[{url:e.raw,text:e.raw}];{if(e.kind==="base")return[{url:dt,text:dt}];const t=`${dt}/${e.namespace}/${e.repo}`,n=[{url:t,text:t}];if(e.kind==="repo")return n;n.push({url:`${dt}/${e.namespace}/${e.repo}/tree/${e.branch}`,text:`${e.action}/${e.branch}`});const r=e.path.split("/").filter(o=>o!==""),l=r.at(-1);if(!l)return n;for(let o=0;o<r.length-1;o++)n.push({url:`${dt}/${e.namespace}/${e.repo}/tree/${e.branch}/${r.slice(0,o+1).join("/")}`,text:r[o]});return n.push({url:`${dt}/${e.namespace}/${e.repo}/${e.action}/${e.branch}${e.path}`,text:l}),n}}function lu({url:e,children:t}){return y.jsx("a",{href:`/?url=${e}`,onClick:n=>{n.preventDefault(),n.stopPropagation(),ru(`?url=${e}`)},children:t})}function ou({url:e}){return y.jsxs("nav",{className:"top-header",children:[y.jsx("a",{href:"/",className:"home"}),y.jsx("div",{className:"path",children:_h(e).map(({url:t,text:n},r)=>y.jsx(lu,{url:t,children:n},r))})]})}function kh(e){const t={Authorization:`Bearer ${e.accessToken}`};return{oAuthResult:e,headers:t,fetch:async(n,r)=>(r===void 0&&(r={}),r.headers===void 0&&(r.headers={}),r.headers={...t,...r.headers},window.fetch(n,r))}}function ao(){return{headers:{},fetch:window.fetch.bind(window)}}const ut=P.createContext(void 0),Eh=({children:e})=>{const[t,n]=P.useState(void 0);return P.useEffect(()=>{console.log("fetching OAuth"),vh().then(r=>{if(console.log("fetched OAuth",r),!r){n(ao());return}if(r.accessTokenExpiresAt<new Date){console.error("Access token expired"),n(ao());return}n(kh(r))}).catch(r=>{console.error("Error fetching OAuth"),n(ao()),console.error(r)})},[]),y.jsx(ut.Provider,{value:t,children:e})};function xh({url:e,row:t,col:n}){const[r,l]=P.useState(0),[o,i]=P.useState(),[u,s]=P.useState(),[a,m]=P.useState(),p=P.useContext(ut),h=(e.kind==="file"?e.path:e.raw).split("/");if(h.length<1)throw new Error("Invalid URL path");const v=h.at(-1);return P.useEffect(()=>{if(!p)return;const{headers:g}=p;async function w(){try{s(.25);const N=e.kind==="file"?e.resolveUrl:e.raw,c=await Qc({url:N,headers:g}),f={url:N,byteLength:c.byteLength,headers:g};s(.5);const d=await Vc(c);s(.75);const S=Kc(f,d),k=await S.rows(t,t+1),E=S.header[n],C=ui(k[0][E]);i(C),m(void 0)}catch(N){m(N),i(void 0)}finally{l(2),s(void 0)}}r===0&&(l(1),w().catch(()=>{}))},[e,n,t,r,m,p]),y.jsxs(Ul,{progress:u,error:a,title:v,children:[y.jsx(ou,{url:e}),y.jsx("pre",{className:"viewer text",children:o})]})}function ui(e){return e==="string"||typeof e=="string"?e:typeof e=="number"?e.toLocaleString("en-US"):Array.isArray(e)?`[ | |
${e.map(t=>Ch(ui(t),2)).join(`, | |
`)} | |
]`:e==null?JSON.stringify(e):e instanceof Date?e.toISOString():typeof e=="object"?`{${Object.entries(e).filter(t=>t[1]!==void 0).map(([t,n])=>`${t}: ${ui(n)}`).join(", ")}}`:"{}"}function Ch(e,t){return e==null?void 0:e.split(` | |
`).map(n=>" ".repeat(t)+n).join(` | |
`)}function Nh(e){return(e==null?void 0:e.fileSize)!==void 0?Jc(e.fileSize):""}function Jc(e){const t=["b","kb","mb","gb","tb"];if(e===0)return"0 b";const n=Math.floor(Math.log2(e)/10);if(n===0)return e.toLocaleString("en-US")+" b";const r=e/Math.pow(1024,n);return(r<10?r.toFixed(1):Math.round(r)).toLocaleString("en-US")+" "+t[n]}function Lh(e){const t=e.get("content-length");return t?Number(t):void 0}const jh={png:"image/png",jpg:"image/jpeg",jpeg:"image/jpeg",gif:"image/gif",svg:"image/svg+xml",tiff:"image/tiff",webp:"image/webp"},Ph=[".png",".jpg",".jpeg",".gif",".svg",".tiff",".webp"];function Dl({content:e,headers:t,children:n}){return y.jsxs("div",{className:"viewer",children:[y.jsxs("div",{className:"view-header",children:[(e==null?void 0:e.fileSize)&&y.jsx("span",{title:e.fileSize.toLocaleString("en-US")+" bytes",children:Nh(e)}),t]}),n]})}function Ih({url:e,setError:t}){const[n,r]=P.useState(0),[l,o]=P.useState(),i=P.useContext(ut);return P.useEffect(()=>{if(!i)return;const{fetch:u}=i;async function s(){try{const a=await u(e),m=await a.arrayBuffer(),p=Th(m),h=`data:${Rh(e)};base64,${p}`,v=Lh(a.headers);o({dataUri:h,fileSize:v}),t(void 0)}catch(a){o(void 0),t(a)}finally{r(2)}}r(a=>a!==0?a:(s().catch(()=>{}),1))},[e,t,i]),y.jsxs(Dl,{content:l,children:[(l==null?void 0:l.dataUri)&&y.jsx("img",{alt:e,className:"image",src:l.dataUri}),n&&y.jsx(dr,{className:"center"})]})}function Th(e){let t="";const n=new Uint8Array(e);for(let r=0;r<n.byteLength;r++)t+=String.fromCharCode(n[r]);return btoa(t)}function Rh(e){const t=e.split(".").pop()??"";return jh[t]||"image/png"}function zh({text:e,className:t}){function n(r){const l=[],o=r.split(` | |
`);let i=!1,u=[],s=!1,a=[];for(let m=0;m<o.length;m++){const p=o[m];if(p.startsWith("```")){i?(l.push(y.jsx("pre",{children:u.join(` | |
`)},`code-${m.toLocaleString("en-US")}`)),i=!1,u=[]):i=!0;continue}if(i){u.push(p);continue}if(p.includes("**")){const v=p.split("**");l.push(y.jsx("p",{children:v.map((g,w)=>w%2?y.jsx("strong",{children:g},w):g)},m));continue}if(p.includes("*")){const v=p.split("*");l.push(y.jsx("p",{children:v.map((g,w)=>w%2?y.jsx("em",{children:g},w):g)},m));continue}if(p.startsWith("#")){const v=p.split(" ")[0].length,g=p.slice(v+1),w=`h${v.toLocaleString("en-US")}`;l.push(y.jsx(w,{children:g},m));continue}const h=/!\[(.*?)\]\((.*?)\)/.exec(p);if(h){const[,v,g]=h;l.push(y.jsx("img",{src:g,alt:v},m));continue}if(p.includes("[")&&p.includes("]")&&p.includes("(")&&p.includes(")")){const v=p.replace(/\[(.*?)\]\((.*?)\)/g,(g,w,N)=>`<a href="${N}" target="_blank" rel="noreferrer">${w}</a>`);l.push(y.jsx("p",{dangerouslySetInnerHTML:{__html:v}},m));continue}if(p.startsWith("-")||p.startsWith("*")||p.startsWith("+")){const v=p.slice(1).trim();a.push(y.jsx("li",{children:v},`list-item-${m.toLocaleString("en-US")}`)),s=!0;continue}s&&a.length>0&&(l.push(y.jsx("ul",{children:a},`list-${m.toLocaleString("en-US")}`)),a=[],s=!1),l.push(y.jsx("p",{children:p},m))}return i&&u.length>0&&l.push(y.jsx("pre",{children:u.join(` | |
`)},`code-${o.length.toLocaleString("en-US")}`)),s&&a.length>0&&l.push(y.jsx("ul",{children:a},`list-${o.length.toLocaleString("en-US")}`)),y.jsx("div",{className:t,children:l})}return n(e)}function Oh({url:e,setError:t}){const[n,r]=P.useState(0),[l,o]=P.useState(),i=P.useContext(ut);return P.useEffect(()=>{if(!i)return;const{fetch:u}=i;async function s(){try{const m=await(await u(e)).text();t(void 0),o(m)}catch(a){t(a),o(void 0)}finally{r(2)}}r(a=>a!==0?a:(s().catch(()=>{}),1))},[e,t,i]),y.jsxs(Dl,{content:{fileSize:l==null?void 0:l.length},children:[y.jsx(zh,{className:"markdown",text:l??""}),n===1&&y.jsx(dr,{className:"center"})]})}function Uh({url:e,resolveUrl:t,setProgress:n,setError:r}){const[l,o]=P.useState(0),[i,u]=P.useState(),s=P.useContext(ut);P.useEffect(()=>{if(!s)return;const{headers:p}=s;async function h(){try{n(.33);const v=await Qc({url:t,headers:p}),g={url:t,byteLength:v.byteLength,headers:p};n(.66);const w=await Vc(v);let N=Kc(g,w);N=Rp(N);const c=v.byteLength;u({dataframe:N,fileSize:c}),r(void 0)}catch(v){r(v),u(void 0)}finally{o(2),n(1)}}l===0&&(o(1),h().catch(()=>{}))},[l,e,t,r,n,s]);const a=(p,h)=>{ru(`?url=${e}&row=${h.toString()}&col=${p.toString()}`)},m=y.jsx(y.Fragment,{children:(i==null?void 0:i.dataframe)&&y.jsxs("span",{children:[i.dataframe.numRows.toLocaleString("en-US")," rows"]})});return y.jsxs(Dl,{content:i,headers:m,children:[(i==null?void 0:i.dataframe)&&y.jsx(Up,{data:i.dataframe,onDoubleClickCell:a,onError:r}),l&&y.jsx(dr,{className:"center"})]})}function Dh({url:e,setError:t}){const[n,r]=P.useState(0),[l,o]=P.useState(),i=P.useRef(null),u=P.useContext(ut);P.useEffect(()=>{if(!u)return;const{fetch:a}=u;async function m(){try{const h=await(await a(e)).text();t(void 0),o(h)}catch(p){t(p),o(void 0)}finally{r(2)}}r(p=>p!==0?p:(m().catch(()=>{}),1))},[e,t,u]);const s=y.jsx(y.Fragment,{children:y.jsxs("span",{children:[l?Mh(l):0," lines"]})});return y.jsxs(Dl,{content:{fileSize:l==null?void 0:l.length},headers:s,children:[y.jsx("code",{className:"text",ref:i,children:l}),n&&y.jsx(dr,{className:"center"})]})}function Mh(e){let t=0;for(const n of e)n===` | |
`&&t++;return t.toLocaleString("en-US")}function $h({url:e,resolveUrl:t,setError:n,setProgress:r}){const l=e.replace(/\?.*$/,"");return l.endsWith(".md")?y.jsx(Oh,{url:t,setError:n}):l.endsWith(".parquet")?y.jsx(Uh,{url:e,resolveUrl:t,setError:n,setProgress:r}):Ph.some(o=>l.endsWith(o))?y.jsx(Ih,{url:t,setError:n}):y.jsx(Dh,{url:t,setError:n,setProgress:r})}function Ah({url:e}){const[t,n]=P.useState(),[r,l]=P.useState(),o=e.kind==="file"?e.resolveUrl:e.raw,i=o.split("/");if(i.length<1)throw new Error("Invalid URL path");const u=i.at(-1);return y.jsxs(Ul,{progress:t,error:r,title:u,children:[y.jsx(ou,{url:e}),y.jsx($h,{url:e.raw,resolveUrl:o,setProgress:n,setError:l})]})}function Cs({url:e}){const[t,n]=P.useState(),[r,l]=P.useState(),o=P.useRef(null),i=P.useContext(ut);P.useEffect(()=>{if(!i)return;const{fetch:a}=i;async function m(){const p=hh({repo:`datasets/${e.namespace}/${e.repo}`,revision:e.branch,path:e.path.replace(/^\//,""),fetch:a}),h=[];for await(const v of p)h.push(v);n(h),l(void 0)}m().catch(p=>{n([]),l(p)})},[e,i]);const u=P.useCallback(a=>{const m=a.type==="directory"?"tree":"blob";return`${dt}/${e.namespace}/${e.repo}/${m}/${e.branch}/${a.path}`},[e]),s=P.useCallback(a=>a.path.split("/").at(-1),[]);return y.jsxs(Ul,{error:r,title:e.path,children:[y.jsx(ou,{url:e}),t&&t.length>0&&y.jsx("ul",{className:"file-list",ref:o,children:t.map((a,m)=>y.jsx("li",{children:y.jsxs(lu,{url:u(a),children:[y.jsx("span",{className:vl("file-name","file",a.type==="directory"&&"folder"),children:s(a)}),a.type==="file"&&y.jsx(y.Fragment,{children:y.jsx("span",{className:"file-size",title:a.size.toLocaleString("en-US")+" bytes",children:Jc(a.size)})})]})},m))}),(t==null?void 0:t.length)===0&&y.jsx("div",{className:"center",children:"No files"}),t===void 0&&y.jsx(dr,{className:"center"})]})}function Fh(){const[e,t]=P.useState(),[n,r]=P.useState([]),l=P.useContext(ut);P.useEffect(()=>{if(!l)return;const i=l.fetch;async function u(){const s=[];for await(const a of ph({search:{query:e},limit:10,fetch:i}))s.push(a);r(s)}u().catch(s=>{r([]),console.error(s)})},[e,l]);function o(i){t(i.target.value)}return y.jsxs(y.Fragment,{children:[y.jsx("input",{type:"search",onChange:o}),y.jsx("ul",{className:"ref-list",children:n.map(i=>y.jsx("li",{style:{fontSize:"0.9rem"},children:y.jsx(lu,{url:`${dt}/${i.name}`,children:i.name})},i.name))})]})}function Ns(){const e=P.useRef(null),t=P.useContext(ut);function n(r){r.preventDefault();const l=new FormData(r.currentTarget).get("url");ru(`?url=${l}`)}return y.jsxs("div",{id:"welcome",children:[y.jsx("h1",{children:"hyparquet"}),y.jsxs("sub",{children:["/haɪ pɑːrˈkeɪ/",y.jsx("img",{src:"audio.svg",alt:"play hyparquet pronunciation",height:"18",width:"18",onClick:()=>{var r;(r=e.current)==null||r.play().catch(()=>{})}})]}),y.jsx("audio",{ref:e,src:"hyparquet.mp3"}),y.jsx("h2",{children:"in-browser parquet file reader"}),y.jsxs("p",{children:[y.jsx("a",{href:"https://www.npmjs.com/package/hyparquet",children:y.jsx("img",{src:"https://img.shields.io/npm/v/hyparquet",alt:"npm hyparquet"})})," ",y.jsx("a",{href:"https://github.com/hyparam/hyparquet",children:y.jsx("img",{src:"https://img.shields.io/github/stars/hyparam/hyparquet?style=social",alt:"star hyparquet"})})]}),y.jsxs("p",{children:["Online demo of"," ",y.jsx("a",{href:"https://github.com/hyparam/hyparquet",children:"hyparquet"}),": a parser for apache parquet files. Uses"," ",y.jsx("a",{href:"https://github.com/hyparam/hightable",children:"hightable"})," for high performance windowed table viewing."]}),y.jsxs("section",{children:[y.jsx("h3",{children:"Select a dataset on Hugging Face"}),y.jsx("p",{children:"Search for a dataset:"}),y.jsx(Fh,{}),t!=null&&t.oAuthResult?y.jsxs("p",{children:["Logged in as ",t.oAuthResult.userInfo.name,". ",y.jsx("a",{onClick:()=>{yh()},children:"Log out"})]}):y.jsxs("p",{children:[y.jsx("a",{onClick:()=>{Zc().catch(()=>{})},children:"Log in"})," to see your datasets"]})]}),y.jsxs("section",{children:[y.jsx("h3",{children:"Parquet URL"}),y.jsx("p",{children:"You can also set a url to see your parquet data. 👀"}),y.jsxs("form",{onSubmit:n,style:{display:"flex",gap:"1rem"},children:[y.jsx("label",{htmlFor:"url",children:"URL"}),y.jsx("input",{name:"url",defaultValue:"https://huggingface.co/datasets/codeparrot/github-code/resolve/main/data/train-00000-of-01126.parquet",style:{width:"100%"},type:"url"}),y.jsx("button",{style:{fontSize:"1rem",padding:"0 0.5rem"},type:"submit",children:"Open"})]}),y.jsxs("p",{children:[y.jsx("p",{children:"Example files:"}),y.jsxs("ul",{className:"quick-links",children:[y.jsx("li",{children:y.jsx("a",{className:"aws",href:"?url=https://hyperparam-public.s3.amazonaws.com/wiki-en-00000-of-00041.parquet",children:"s3://wiki-en-00000-of-00041.parquet"})}),y.jsx("li",{children:y.jsx("a",{className:"azure",href:"?url=https://hyperparam.blob.core.windows.net/hyperparam/starcoderdata-js-00000-of-00065.parquet",children:"azure://starcoderdata-js-00000-of-00065.parquet"})}),y.jsx("li",{children:y.jsx("a",{className:"huggingface",href:"?url=https://huggingface.co/datasets/codeparrot/github-code/resolve/main/data/train-00000-of-01126.parquet?download=true",children:"huggingface://github-code-00000-of-01126.parquet"})}),y.jsx("li",{children:y.jsx("a",{className:"github",href:"?url=https://raw.githubusercontent.com/hyparam/hyparquet/master/test/files/rowgroups.parquet",children:"github://rowgroups.parquet"})})]})]})]})]})}function Bh(){const e=new URLSearchParams(location.search),t=e.get("url");if(Array.isArray(t))throw new Error("url must be a string");if(t===null)return y.jsx(Ns,{});try{const n=Sh(t);return n.kind==="base"?y.jsx(Ns,{}):n.kind==="repo"?y.jsx(Cs,{url:{...n,kind:"folder",path:"",branch:"main",action:"tree"}}):n.kind==="folder"?y.jsx(Cs,{url:n}):e.has("col")&&e.has("row")?y.jsx(xh,{url:n,row:Number(e.get("row")),col:Number(e.get("col"))}):y.jsx(Ah,{url:n})}catch(n){return y.jsx(Ul,{error:n,title:"Error",children:y.jsx("div",{className:"error",children:n.message})})}}function Wh(){return console.log("url",window.location.href),console.log("search",window.location.search),y.jsx(Eh,{children:y.jsx(Bh,{})})}const bc=document.getElementById("app");if(!bc)throw new Error("No root element");Fc(bc).render(y.jsx(P.StrictMode,{children:y.jsx(Wh,{})})); | |