49 lines
217 KiB
JavaScript
49 lines
217 KiB
JavaScript
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();function Pd(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Da={exports:{}},$i={},za={exports:{}},A={};/**
|
|
* @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 vr=Symbol.for("react.element"),Ld=Symbol.for("react.portal"),Ad=Symbol.for("react.fragment"),Dd=Symbol.for("react.strict_mode"),zd=Symbol.for("react.profiler"),Fd=Symbol.for("react.provider"),Bd=Symbol.for("react.context"),Ud=Symbol.for("react.forward_ref"),Id=Symbol.for("react.suspense"),Md=Symbol.for("react.memo"),jd=Symbol.for("react.lazy"),su=Symbol.iterator;function $d(e){return e===null||typeof e!="object"?null:(e=su&&e[su]||e["@@iterator"],typeof e=="function"?e:null)}var Fa={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Ba=Object.assign,Ua={};function kn(e,t,n){this.props=e,this.context=t,this.refs=Ua,this.updater=n||Fa}kn.prototype.isReactComponent={};kn.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")};kn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Ia(){}Ia.prototype=kn.prototype;function el(e,t,n){this.props=e,this.context=t,this.refs=Ua,this.updater=n||Fa}var tl=el.prototype=new Ia;tl.constructor=el;Ba(tl,kn.prototype);tl.isPureReactComponent=!0;var lu=Array.isArray,Ma=Object.prototype.hasOwnProperty,nl={current:null},ja={key:!0,ref:!0,__self:!0,__source:!0};function $a(e,t,n){var r,i={},o=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(o=""+t.key),t)Ma.call(t,r)&&!ja.hasOwnProperty(r)&&(i[r]=t[r]);var l=arguments.length-2;if(l===1)i.children=n;else if(1<l){for(var u=Array(l),a=0;a<l;a++)u[a]=arguments[a+2];i.children=u}if(e&&e.defaultProps)for(r in l=e.defaultProps,l)i[r]===void 0&&(i[r]=l[r]);return{$$typeof:vr,type:e,key:o,ref:s,props:i,_owner:nl.current}}function Vd(e,t){return{$$typeof:vr,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function rl(e){return typeof e=="object"&&e!==null&&e.$$typeof===vr}function Hd(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var uu=/\/+/g;function yo(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Hd(""+e.key):t.toString(36)}function Kr(e,t,n,r,i){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(o){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case vr:case Ld:s=!0}}if(s)return s=e,i=i(s),e=r===""?"."+yo(s,0):r,lu(i)?(n="",e!=null&&(n=e.replace(uu,"$&/")+"/"),Kr(i,t,n,"",function(a){return a})):i!=null&&(rl(i)&&(i=Vd(i,n+(!i.key||s&&s.key===i.key?"":(""+i.key).replace(uu,"$&/")+"/")+e)),t.push(i)),1;if(s=0,r=r===""?".":r+":",lu(e))for(var l=0;l<e.length;l++){o=e[l];var u=r+yo(o,l);s+=Kr(o,t,n,u,i)}else if(u=$d(e),typeof u=="function")for(e=u.call(e),l=0;!(o=e.next()).done;)o=o.value,u=r+yo(o,l++),s+=Kr(o,t,n,u,i);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 s}function Nr(e,t,n){if(e==null)return e;var r=[],i=0;return Kr(e,r,"","",function(o){return t.call(n,o,i++)}),r}function Wd(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 pe={current:null},Xr={transition:null},qd={ReactCurrentDispatcher:pe,ReactCurrentBatchConfig:Xr,ReactCurrentOwner:nl};function Va(){throw Error("act(...) is not supported in production builds of React.")}A.Children={map:Nr,forEach:function(e,t,n){Nr(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Nr(e,function(){t++}),t},toArray:function(e){return Nr(e,function(t){return t})||[]},only:function(e){if(!rl(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};A.Component=kn;A.Fragment=Ad;A.Profiler=zd;A.PureComponent=el;A.StrictMode=Dd;A.Suspense=Id;A.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=qd;A.act=Va;A.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=Ba({},e.props),i=e.key,o=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,s=nl.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(u in t)Ma.call(t,u)&&!ja.hasOwnProperty(u)&&(r[u]=t[u]===void 0&&l!==void 0?l[u]:t[u])}var u=arguments.length-2;if(u===1)r.children=n;else if(1<u){l=Array(u);for(var a=0;a<u;a++)l[a]=arguments[a+2];r.children=l}return{$$typeof:vr,type:e.type,key:i,ref:o,props:r,_owner:s}};A.createContext=function(e){return e={$$typeof:Bd,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Fd,_context:e},e.Consumer=e};A.createElement=$a;A.createFactory=function(e){var t=$a.bind(null,e);return t.type=e,t};A.createRef=function(){return{current:null}};A.forwardRef=function(e){return{$$typeof:Ud,render:e}};A.isValidElement=rl;A.lazy=function(e){return{$$typeof:jd,_payload:{_status:-1,_result:e},_init:Wd}};A.memo=function(e,t){return{$$typeof:Md,type:e,compare:t===void 0?null:t}};A.startTransition=function(e){var t=Xr.transition;Xr.transition={};try{e()}finally{Xr.transition=t}};A.unstable_act=Va;A.useCallback=function(e,t){return pe.current.useCallback(e,t)};A.useContext=function(e){return pe.current.useContext(e)};A.useDebugValue=function(){};A.useDeferredValue=function(e){return pe.current.useDeferredValue(e)};A.useEffect=function(e,t){return pe.current.useEffect(e,t)};A.useId=function(){return pe.current.useId()};A.useImperativeHandle=function(e,t,n){return pe.current.useImperativeHandle(e,t,n)};A.useInsertionEffect=function(e,t){return pe.current.useInsertionEffect(e,t)};A.useLayoutEffect=function(e,t){return pe.current.useLayoutEffect(e,t)};A.useMemo=function(e,t){return pe.current.useMemo(e,t)};A.useReducer=function(e,t,n){return pe.current.useReducer(e,t,n)};A.useRef=function(e){return pe.current.useRef(e)};A.useState=function(e){return pe.current.useState(e)};A.useSyncExternalStore=function(e,t,n){return pe.current.useSyncExternalStore(e,t,n)};A.useTransition=function(){return pe.current.useTransition()};A.version="18.3.1";za.exports=A;var be=za.exports;const Qd=Pd(be);/**
|
|
* @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 Kd=be,Xd=Symbol.for("react.element"),Yd=Symbol.for("react.fragment"),Jd=Object.prototype.hasOwnProperty,Gd=Kd.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Zd={key:!0,ref:!0,__self:!0,__source:!0};function Ha(e,t,n){var r,i={},o=null,s=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)Jd.call(t,r)&&!Zd.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:Xd,type:e,key:o,ref:s,props:i,_owner:Gd.current}}$i.Fragment=Yd;$i.jsx=Ha;$i.jsxs=Ha;Da.exports=$i;var G=Da.exports,Yo={},Wa={exports:{}},Ce={},qa={exports:{}},Qa={};/**
|
|
* @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(T,P){var L=T.length;T.push(P);e:for(;0<L;){var Q=L-1>>>1,ee=T[Q];if(0<i(ee,P))T[Q]=P,T[L]=ee,L=Q;else break e}}function n(T){return T.length===0?null:T[0]}function r(T){if(T.length===0)return null;var P=T[0],L=T.pop();if(L!==P){T[0]=L;e:for(var Q=0,ee=T.length,Rr=ee>>>1;Q<Rr;){var Pt=2*(Q+1)-1,mo=T[Pt],Lt=Pt+1,Tr=T[Lt];if(0>i(mo,L))Lt<ee&&0>i(Tr,mo)?(T[Q]=Tr,T[Lt]=L,Q=Lt):(T[Q]=mo,T[Pt]=L,Q=Pt);else if(Lt<ee&&0>i(Tr,L))T[Q]=Tr,T[Lt]=L,Q=Lt;else break e}}return P}function i(T,P){var L=T.sortIndex-P.sortIndex;return L!==0?L:T.id-P.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,l=s.now();e.unstable_now=function(){return s.now()-l}}var u=[],a=[],c=1,p=null,m=3,S=!1,g=!1,v=!1,k=typeof setTimeout=="function"?setTimeout:null,d=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 h(T){for(var P=n(a);P!==null;){if(P.callback===null)r(a);else if(P.startTime<=T)r(a),P.sortIndex=P.expirationTime,t(u,P);else break;P=n(a)}}function w(T){if(v=!1,h(T),!g)if(n(u)!==null)g=!0,po(_);else{var P=n(a);P!==null&&ho(w,P.startTime-T)}}function _(T,P){g=!1,v&&(v=!1,d(N),N=-1),S=!0;var L=m;try{for(h(P),p=n(u);p!==null&&(!(p.expirationTime>P)||T&&!ze());){var Q=p.callback;if(typeof Q=="function"){p.callback=null,m=p.priorityLevel;var ee=Q(p.expirationTime<=P);P=e.unstable_now(),typeof ee=="function"?p.callback=ee:p===n(u)&&r(u),h(P)}else r(u);p=n(u)}if(p!==null)var Rr=!0;else{var Pt=n(a);Pt!==null&&ho(w,Pt.startTime-P),Rr=!1}return Rr}finally{p=null,m=L,S=!1}}var x=!1,R=null,N=-1,j=5,D=-1;function ze(){return!(e.unstable_now()-D<j)}function Nn(){if(R!==null){var T=e.unstable_now();D=T;var P=!0;try{P=R(!0,T)}finally{P?On():(x=!1,R=null)}}else x=!1}var On;if(typeof f=="function")On=function(){f(Nn)};else if(typeof MessageChannel<"u"){var ou=new MessageChannel,Od=ou.port2;ou.port1.onmessage=Nn,On=function(){Od.postMessage(null)}}else On=function(){k(Nn,0)};function po(T){R=T,x||(x=!0,On())}function ho(T,P){N=k(function(){T(e.unstable_now())},P)}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(T){T.callback=null},e.unstable_continueExecution=function(){g||S||(g=!0,po(_))},e.unstable_forceFrameRate=function(T){0>T||125<T?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):j=0<T?Math.floor(1e3/T):5},e.unstable_getCurrentPriorityLevel=function(){return m},e.unstable_getFirstCallbackNode=function(){return n(u)},e.unstable_next=function(T){switch(m){case 1:case 2:case 3:var P=3;break;default:P=m}var L=m;m=P;try{return T()}finally{m=L}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(T,P){switch(T){case 1:case 2:case 3:case 4:case 5:break;default:T=3}var L=m;m=T;try{return P()}finally{m=L}},e.unstable_scheduleCallback=function(T,P,L){var Q=e.unstable_now();switch(typeof L=="object"&&L!==null?(L=L.delay,L=typeof L=="number"&&0<L?Q+L:Q):L=Q,T){case 1:var ee=-1;break;case 2:ee=250;break;case 5:ee=1073741823;break;case 4:ee=1e4;break;default:ee=5e3}return ee=L+ee,T={id:c++,callback:P,priorityLevel:T,startTime:L,expirationTime:ee,sortIndex:-1},L>Q?(T.sortIndex=L,t(a,T),n(u)===null&&T===n(a)&&(v?(d(N),N=-1):v=!0,ho(w,L-Q))):(T.sortIndex=ee,t(u,T),g||S||(g=!0,po(_))),T},e.unstable_shouldYield=ze,e.unstable_wrapCallback=function(T){var P=m;return function(){var L=m;m=P;try{return T.apply(this,arguments)}finally{m=L}}}})(Qa);qa.exports=Qa;var bd=qa.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 ep=be,xe=bd;function E(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Ka=new Set,er={};function Qt(e,t){mn(e,t),mn(e+"Capture",t)}function mn(e,t){for(er[e]=t,e=0;e<t.length;e++)Ka.add(t[e])}var it=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Jo=Object.prototype.hasOwnProperty,tp=/^[: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]*$/,au={},cu={};function np(e){return Jo.call(cu,e)?!0:Jo.call(au,e)?!1:tp.test(e)?cu[e]=!0:(au[e]=!0,!1)}function rp(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 ip(e,t,n,r){if(t===null||typeof t>"u"||rp(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 he(e,t,n,r,i,o,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=s}var oe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){oe[e]=new he(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];oe[t]=new he(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){oe[e]=new he(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){oe[e]=new he(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){oe[e]=new he(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){oe[e]=new he(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){oe[e]=new he(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){oe[e]=new he(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){oe[e]=new he(e,5,!1,e.toLowerCase(),null,!1,!1)});var il=/[\-:]([a-z])/g;function ol(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(il,ol);oe[t]=new he(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(il,ol);oe[t]=new he(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(il,ol);oe[t]=new he(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){oe[e]=new he(e,1,!1,e.toLowerCase(),null,!1,!1)});oe.xlinkHref=new he("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){oe[e]=new he(e,1,!1,e.toLowerCase(),null,!0,!0)});function sl(e,t,n,r){var i=oe.hasOwnProperty(t)?oe[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(ip(t,n,i,r)&&(n=null),r||i===null?np(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var ut=ep.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Or=Symbol.for("react.element"),Yt=Symbol.for("react.portal"),Jt=Symbol.for("react.fragment"),ll=Symbol.for("react.strict_mode"),Go=Symbol.for("react.profiler"),Xa=Symbol.for("react.provider"),Ya=Symbol.for("react.context"),ul=Symbol.for("react.forward_ref"),Zo=Symbol.for("react.suspense"),bo=Symbol.for("react.suspense_list"),al=Symbol.for("react.memo"),ct=Symbol.for("react.lazy"),Ja=Symbol.for("react.offscreen"),fu=Symbol.iterator;function Pn(e){return e===null||typeof e!="object"?null:(e=fu&&e[fu]||e["@@iterator"],typeof e=="function"?e:null)}var W=Object.assign,go;function jn(e){if(go===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);go=t&&t[1]||""}return`
|
|
`+go+e}var vo=!1;function wo(e,t){if(!e||vo)return"";vo=!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 i=a.stack.split(`
|
|
`),o=r.stack.split(`
|
|
`),s=i.length-1,l=o.length-1;1<=s&&0<=l&&i[s]!==o[l];)l--;for(;1<=s&&0<=l;s--,l--)if(i[s]!==o[l]){if(s!==1||l!==1)do if(s--,l--,0>l||i[s]!==o[l]){var u=`
|
|
`+i[s].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}while(1<=s&&0<=l);break}}}finally{vo=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?jn(e):""}function op(e){switch(e.tag){case 5:return jn(e.type);case 16:return jn("Lazy");case 13:return jn("Suspense");case 19:return jn("SuspenseList");case 0:case 2:case 15:return e=wo(e.type,!1),e;case 11:return e=wo(e.type.render,!1),e;case 1:return e=wo(e.type,!0),e;default:return""}}function es(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 Jt:return"Fragment";case Yt:return"Portal";case Go:return"Profiler";case ll:return"StrictMode";case Zo:return"Suspense";case bo:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ya:return(e.displayName||"Context")+".Consumer";case Xa:return(e._context.displayName||"Context")+".Provider";case ul:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case al:return t=e.displayName||null,t!==null?t:es(e.type)||"Memo";case ct:t=e._payload,e=e._init;try{return es(e(t))}catch{}}return null}function sp(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 es(t);case 8:return t===ll?"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 Ga(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function lp(e){var t=Ga(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 i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Pr(e){e._valueTracker||(e._valueTracker=lp(e))}function Za(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ga(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function hi(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 ts(e,t){var n=t.checked;return W({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function du(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 ba(e,t){t=t.checked,t!=null&&sl(e,"checked",t,!1)}function ns(e,t){ba(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")?rs(e,t.type,n):t.hasOwnProperty("defaultValue")&&rs(e,t.type,Ct(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function pu(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 rs(e,t,n){(t!=="number"||hi(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var $n=Array.isArray;function un(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Ct(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function is(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(E(91));return W({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function hu(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(E(92));if($n(n)){if(1<n.length)throw Error(E(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Ct(n)}}function ec(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 mu(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function tc(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 os(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?tc(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Lr,nc=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Lr=Lr||document.createElement("div"),Lr.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Lr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function tr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var qn={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},up=["Webkit","ms","Moz","O"];Object.keys(qn).forEach(function(e){up.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),qn[t]=qn[e]})});function rc(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||qn.hasOwnProperty(e)&&qn[e]?(""+t).trim():t+"px"}function ic(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=rc(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var ap=W({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 ss(e,t){if(t){if(ap[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(E(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(E(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(E(61))}if(t.style!=null&&typeof t.style!="object")throw Error(E(62))}}function ls(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 us=null;function cl(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var as=null,an=null,cn=null;function yu(e){if(e=Er(e)){if(typeof as!="function")throw Error(E(280));var t=e.stateNode;t&&(t=Qi(t),as(e.stateNode,e.type,t))}}function oc(e){an?cn?cn.push(e):cn=[e]:an=e}function sc(){if(an){var e=an,t=cn;if(cn=an=null,yu(e),t)for(e=0;e<t.length;e++)yu(t[e])}}function lc(e,t){return e(t)}function uc(){}var So=!1;function ac(e,t,n){if(So)return e(t,n);So=!0;try{return lc(e,t,n)}finally{So=!1,(an!==null||cn!==null)&&(uc(),sc())}}function nr(e,t){var n=e.stateNode;if(n===null)return null;var r=Qi(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(E(231,t,typeof n));return n}var cs=!1;if(it)try{var Ln={};Object.defineProperty(Ln,"passive",{get:function(){cs=!0}}),window.addEventListener("test",Ln,Ln),window.removeEventListener("test",Ln,Ln)}catch{cs=!1}function cp(e,t,n,r,i,o,s,l,u){var a=Array.prototype.slice.call(arguments,3);try{t.apply(n,a)}catch(c){this.onError(c)}}var Qn=!1,mi=null,yi=!1,fs=null,fp={onError:function(e){Qn=!0,mi=e}};function dp(e,t,n,r,i,o,s,l,u){Qn=!1,mi=null,cp.apply(fp,arguments)}function pp(e,t,n,r,i,o,s,l,u){if(dp.apply(this,arguments),Qn){if(Qn){var a=mi;Qn=!1,mi=null}else throw Error(E(198));yi||(yi=!0,fs=a)}}function Kt(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function cc(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 gu(e){if(Kt(e)!==e)throw Error(E(188))}function hp(e){var t=e.alternate;if(!t){if(t=Kt(e),t===null)throw Error(E(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var o=i.alternate;if(o===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return gu(i),e;if(o===r)return gu(i),t;o=o.sibling}throw Error(E(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,l=i.child;l;){if(l===n){s=!0,n=i,r=o;break}if(l===r){s=!0,r=i,n=o;break}l=l.sibling}if(!s){for(l=o.child;l;){if(l===n){s=!0,n=o,r=i;break}if(l===r){s=!0,r=o,n=i;break}l=l.sibling}if(!s)throw Error(E(189))}}if(n.alternate!==r)throw Error(E(190))}if(n.tag!==3)throw Error(E(188));return n.stateNode.current===n?e:t}function fc(e){return e=hp(e),e!==null?dc(e):null}function dc(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=dc(e);if(t!==null)return t;e=e.sibling}return null}var pc=xe.unstable_scheduleCallback,vu=xe.unstable_cancelCallback,mp=xe.unstable_shouldYield,yp=xe.unstable_requestPaint,K=xe.unstable_now,gp=xe.unstable_getCurrentPriorityLevel,fl=xe.unstable_ImmediatePriority,hc=xe.unstable_UserBlockingPriority,gi=xe.unstable_NormalPriority,vp=xe.unstable_LowPriority,mc=xe.unstable_IdlePriority,Vi=null,Ye=null;function wp(e){if(Ye&&typeof Ye.onCommitFiberRoot=="function")try{Ye.onCommitFiberRoot(Vi,e,void 0,(e.current.flags&128)===128)}catch{}}var je=Math.clz32?Math.clz32:kp,Sp=Math.log,Ep=Math.LN2;function kp(e){return e>>>=0,e===0?32:31-(Sp(e)/Ep|0)|0}var Ar=64,Dr=4194304;function Vn(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 vi(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,s=n&268435455;if(s!==0){var l=s&~i;l!==0?r=Vn(l):(o&=s,o!==0&&(r=Vn(o)))}else s=n&~i,s!==0?r=Vn(s):o!==0&&(r=Vn(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===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-je(t),i=1<<n,r|=e[n],t&=~i;return r}function _p(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 xp(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var s=31-je(o),l=1<<s,u=i[s];u===-1?(!(l&n)||l&r)&&(i[s]=_p(l,t)):u<=t&&(e.expiredLanes|=l),o&=~l}}function ds(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function yc(){var e=Ar;return Ar<<=1,!(Ar&4194240)&&(Ar=64),e}function Eo(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function wr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-je(t),e[t]=n}function Cp(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 i=31-je(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}function dl(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-je(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var B=0;function gc(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var vc,pl,wc,Sc,Ec,ps=!1,zr=[],yt=null,gt=null,vt=null,rr=new Map,ir=new Map,dt=[],Rp="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 wu(e,t){switch(e){case"focusin":case"focusout":yt=null;break;case"dragenter":case"dragleave":gt=null;break;case"mouseover":case"mouseout":vt=null;break;case"pointerover":case"pointerout":rr.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ir.delete(t.pointerId)}}function An(e,t,n,r,i,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},t!==null&&(t=Er(t),t!==null&&pl(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function Tp(e,t,n,r,i){switch(t){case"focusin":return yt=An(yt,e,t,n,r,i),!0;case"dragenter":return gt=An(gt,e,t,n,r,i),!0;case"mouseover":return vt=An(vt,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return rr.set(o,An(rr.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,ir.set(o,An(ir.get(o)||null,e,t,n,r,i)),!0}return!1}function kc(e){var t=zt(e.target);if(t!==null){var n=Kt(t);if(n!==null){if(t=n.tag,t===13){if(t=cc(n),t!==null){e.blockedOn=t,Ec(e.priority,function(){wc(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 Yr(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=hs(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);us=r,n.target.dispatchEvent(r),us=null}else return t=Er(n),t!==null&&pl(t),e.blockedOn=n,!1;t.shift()}return!0}function Su(e,t,n){Yr(e)&&n.delete(t)}function Np(){ps=!1,yt!==null&&Yr(yt)&&(yt=null),gt!==null&&Yr(gt)&&(gt=null),vt!==null&&Yr(vt)&&(vt=null),rr.forEach(Su),ir.forEach(Su)}function Dn(e,t){e.blockedOn===t&&(e.blockedOn=null,ps||(ps=!0,xe.unstable_scheduleCallback(xe.unstable_NormalPriority,Np)))}function or(e){function t(i){return Dn(i,e)}if(0<zr.length){Dn(zr[0],e);for(var n=1;n<zr.length;n++){var r=zr[n];r.blockedOn===e&&(r.blockedOn=null)}}for(yt!==null&&Dn(yt,e),gt!==null&&Dn(gt,e),vt!==null&&Dn(vt,e),rr.forEach(t),ir.forEach(t),n=0;n<dt.length;n++)r=dt[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<dt.length&&(n=dt[0],n.blockedOn===null);)kc(n),n.blockedOn===null&&dt.shift()}var fn=ut.ReactCurrentBatchConfig,wi=!0;function Op(e,t,n,r){var i=B,o=fn.transition;fn.transition=null;try{B=1,hl(e,t,n,r)}finally{B=i,fn.transition=o}}function Pp(e,t,n,r){var i=B,o=fn.transition;fn.transition=null;try{B=4,hl(e,t,n,r)}finally{B=i,fn.transition=o}}function hl(e,t,n,r){if(wi){var i=hs(e,t,n,r);if(i===null)Lo(e,t,r,Si,n),wu(e,r);else if(Tp(i,e,t,n,r))r.stopPropagation();else if(wu(e,r),t&4&&-1<Rp.indexOf(e)){for(;i!==null;){var o=Er(i);if(o!==null&&vc(o),o=hs(e,t,n,r),o===null&&Lo(e,t,r,Si,n),o===i)break;i=o}i!==null&&r.stopPropagation()}else Lo(e,t,r,null,n)}}var Si=null;function hs(e,t,n,r){if(Si=null,e=cl(r),e=zt(e),e!==null)if(t=Kt(e),t===null)e=null;else if(n=t.tag,n===13){if(e=cc(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 Si=e,null}function _c(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(gp()){case fl:return 1;case hc:return 4;case gi:case vp:return 16;case mc:return 536870912;default:return 16}default:return 16}}var ht=null,ml=null,Jr=null;function xc(){if(Jr)return Jr;var e,t=ml,n=t.length,r,i="value"in ht?ht.value:ht.textContent,o=i.length;for(e=0;e<n&&t[e]===i[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===i[o-r];r++);return Jr=i.slice(e,1<r?1-r:void 0)}function Gr(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 Fr(){return!0}function Eu(){return!1}function Re(e){function t(n,r,i,o,s){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=o,this.target=s,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(n=e[l],this[l]=n?n(o):o[l]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Fr:Eu,this.isPropagationStopped=Eu,this}return W(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=Fr)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Fr)},persist:function(){},isPersistent:Fr}),t}var _n={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},yl=Re(_n),Sr=W({},_n,{view:0,detail:0}),Lp=Re(Sr),ko,_o,zn,Hi=W({},Sr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:gl,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!==zn&&(zn&&e.type==="mousemove"?(ko=e.screenX-zn.screenX,_o=e.screenY-zn.screenY):_o=ko=0,zn=e),ko)},movementY:function(e){return"movementY"in e?e.movementY:_o}}),ku=Re(Hi),Ap=W({},Hi,{dataTransfer:0}),Dp=Re(Ap),zp=W({},Sr,{relatedTarget:0}),xo=Re(zp),Fp=W({},_n,{animationName:0,elapsedTime:0,pseudoElement:0}),Bp=Re(Fp),Up=W({},_n,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Ip=Re(Up),Mp=W({},_n,{data:0}),_u=Re(Mp),jp={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},$p={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"},Vp={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Hp(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Vp[e])?!!t[e]:!1}function gl(){return Hp}var Wp=W({},Sr,{key:function(e){if(e.key){var t=jp[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Gr(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?$p[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:gl,charCode:function(e){return e.type==="keypress"?Gr(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Gr(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),qp=Re(Wp),Qp=W({},Hi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),xu=Re(Qp),Kp=W({},Sr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:gl}),Xp=Re(Kp),Yp=W({},_n,{propertyName:0,elapsedTime:0,pseudoElement:0}),Jp=Re(Yp),Gp=W({},Hi,{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}),Zp=Re(Gp),bp=[9,13,27,32],vl=it&&"CompositionEvent"in window,Kn=null;it&&"documentMode"in document&&(Kn=document.documentMode);var eh=it&&"TextEvent"in window&&!Kn,Cc=it&&(!vl||Kn&&8<Kn&&11>=Kn),Cu=String.fromCharCode(32),Ru=!1;function Rc(e,t){switch(e){case"keyup":return bp.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Tc(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Gt=!1;function th(e,t){switch(e){case"compositionend":return Tc(t);case"keypress":return t.which!==32?null:(Ru=!0,Cu);case"textInput":return e=t.data,e===Cu&&Ru?null:e;default:return null}}function nh(e,t){if(Gt)return e==="compositionend"||!vl&&Rc(e,t)?(e=xc(),Jr=ml=ht=null,Gt=!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 Cc&&t.locale!=="ko"?null:t.data;default:return null}}var rh={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 Tu(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!rh[e.type]:t==="textarea"}function Nc(e,t,n,r){oc(r),t=Ei(t,"onChange"),0<t.length&&(n=new yl("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Xn=null,sr=null;function ih(e){Mc(e,0)}function Wi(e){var t=en(e);if(Za(t))return e}function oh(e,t){if(e==="change")return t}var Oc=!1;if(it){var Co;if(it){var Ro="oninput"in document;if(!Ro){var Nu=document.createElement("div");Nu.setAttribute("oninput","return;"),Ro=typeof Nu.oninput=="function"}Co=Ro}else Co=!1;Oc=Co&&(!document.documentMode||9<document.documentMode)}function Ou(){Xn&&(Xn.detachEvent("onpropertychange",Pc),sr=Xn=null)}function Pc(e){if(e.propertyName==="value"&&Wi(sr)){var t=[];Nc(t,sr,e,cl(e)),ac(ih,t)}}function sh(e,t,n){e==="focusin"?(Ou(),Xn=t,sr=n,Xn.attachEvent("onpropertychange",Pc)):e==="focusout"&&Ou()}function lh(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Wi(sr)}function uh(e,t){if(e==="click")return Wi(t)}function ah(e,t){if(e==="input"||e==="change")return Wi(t)}function ch(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var He=typeof Object.is=="function"?Object.is:ch;function lr(e,t){if(He(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 i=n[r];if(!Jo.call(t,i)||!He(e[i],t[i]))return!1}return!0}function Pu(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Lu(e,t){var n=Pu(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=Pu(n)}}function Lc(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Lc(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Ac(){for(var e=window,t=hi();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=hi(e.document)}return t}function wl(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 fh(e){var t=Ac(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Lc(n.ownerDocument.documentElement,n)){if(r!==null&&wl(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 i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=Lu(n,o);var s=Lu(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.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 dh=it&&"documentMode"in document&&11>=document.documentMode,Zt=null,ms=null,Yn=null,ys=!1;function Au(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ys||Zt==null||Zt!==hi(r)||(r=Zt,"selectionStart"in r&&wl(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}),Yn&&lr(Yn,r)||(Yn=r,r=Ei(ms,"onSelect"),0<r.length&&(t=new yl("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Zt)))}function Br(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var bt={animationend:Br("Animation","AnimationEnd"),animationiteration:Br("Animation","AnimationIteration"),animationstart:Br("Animation","AnimationStart"),transitionend:Br("Transition","TransitionEnd")},To={},Dc={};it&&(Dc=document.createElement("div").style,"AnimationEvent"in window||(delete bt.animationend.animation,delete bt.animationiteration.animation,delete bt.animationstart.animation),"TransitionEvent"in window||delete bt.transitionend.transition);function qi(e){if(To[e])return To[e];if(!bt[e])return e;var t=bt[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Dc)return To[e]=t[n];return e}var zc=qi("animationend"),Fc=qi("animationiteration"),Bc=qi("animationstart"),Uc=qi("transitionend"),Ic=new Map,Du="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 Tt(e,t){Ic.set(e,t),Qt(t,[e])}for(var No=0;No<Du.length;No++){var Oo=Du[No],ph=Oo.toLowerCase(),hh=Oo[0].toUpperCase()+Oo.slice(1);Tt(ph,"on"+hh)}Tt(zc,"onAnimationEnd");Tt(Fc,"onAnimationIteration");Tt(Bc,"onAnimationStart");Tt("dblclick","onDoubleClick");Tt("focusin","onFocus");Tt("focusout","onBlur");Tt(Uc,"onTransitionEnd");mn("onMouseEnter",["mouseout","mouseover"]);mn("onMouseLeave",["mouseout","mouseover"]);mn("onPointerEnter",["pointerout","pointerover"]);mn("onPointerLeave",["pointerout","pointerover"]);Qt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Qt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Qt("onBeforeInput",["compositionend","keypress","textInput","paste"]);Qt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Qt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Qt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Hn="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(" "),mh=new Set("cancel close invalid load scroll toggle".split(" ").concat(Hn));function zu(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,pp(r,t,void 0,e),e.currentTarget=null}function Mc(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var s=r.length-1;0<=s;s--){var l=r[s],u=l.instance,a=l.currentTarget;if(l=l.listener,u!==o&&i.isPropagationStopped())break e;zu(i,l,a),o=u}else for(s=0;s<r.length;s++){if(l=r[s],u=l.instance,a=l.currentTarget,l=l.listener,u!==o&&i.isPropagationStopped())break e;zu(i,l,a),o=u}}}if(yi)throw e=fs,yi=!1,fs=null,e}function I(e,t){var n=t[Es];n===void 0&&(n=t[Es]=new Set);var r=e+"__bubble";n.has(r)||(jc(t,e,2,!1),n.add(r))}function Po(e,t,n){var r=0;t&&(r|=4),jc(n,e,r,t)}var Ur="_reactListening"+Math.random().toString(36).slice(2);function ur(e){if(!e[Ur]){e[Ur]=!0,Ka.forEach(function(n){n!=="selectionchange"&&(mh.has(n)||Po(n,!1,e),Po(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Ur]||(t[Ur]=!0,Po("selectionchange",!1,t))}}function jc(e,t,n,r){switch(_c(t)){case 1:var i=Op;break;case 4:i=Pp;break;default:i=hl}n=i.bind(null,t,n,e),i=void 0,!cs||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Lo(e,t,n,r,i){var o=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var l=r.stateNode.containerInfo;if(l===i||l.nodeType===8&&l.parentNode===i)break;if(s===4)for(s=r.return;s!==null;){var u=s.tag;if((u===3||u===4)&&(u=s.stateNode.containerInfo,u===i||u.nodeType===8&&u.parentNode===i))return;s=s.return}for(;l!==null;){if(s=zt(l),s===null)return;if(u=s.tag,u===5||u===6){r=o=s;continue e}l=l.parentNode}}r=r.return}ac(function(){var a=o,c=cl(n),p=[];e:{var m=Ic.get(e);if(m!==void 0){var S=yl,g=e;switch(e){case"keypress":if(Gr(n)===0)break e;case"keydown":case"keyup":S=qp;break;case"focusin":g="focus",S=xo;break;case"focusout":g="blur",S=xo;break;case"beforeblur":case"afterblur":S=xo;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":S=ku;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":S=Dp;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":S=Xp;break;case zc:case Fc:case Bc:S=Bp;break;case Uc:S=Jp;break;case"scroll":S=Lp;break;case"wheel":S=Zp;break;case"copy":case"cut":case"paste":S=Ip;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":S=xu}var v=(t&4)!==0,k=!v&&e==="scroll",d=v?m!==null?m+"Capture":null:m;v=[];for(var f=a,h;f!==null;){h=f;var w=h.stateNode;if(h.tag===5&&w!==null&&(h=w,d!==null&&(w=nr(f,d),w!=null&&v.push(ar(f,w,h)))),k)break;f=f.return}0<v.length&&(m=new S(m,g,null,n,c),p.push({event:m,listeners:v}))}}if(!(t&7)){e:{if(m=e==="mouseover"||e==="pointerover",S=e==="mouseout"||e==="pointerout",m&&n!==us&&(g=n.relatedTarget||n.fromElement)&&(zt(g)||g[ot]))break e;if((S||m)&&(m=c.window===c?c:(m=c.ownerDocument)?m.defaultView||m.parentWindow:window,S?(g=n.relatedTarget||n.toElement,S=a,g=g?zt(g):null,g!==null&&(k=Kt(g),g!==k||g.tag!==5&&g.tag!==6)&&(g=null)):(S=null,g=a),S!==g)){if(v=ku,w="onMouseLeave",d="onMouseEnter",f="mouse",(e==="pointerout"||e==="pointerover")&&(v=xu,w="onPointerLeave",d="onPointerEnter",f="pointer"),k=S==null?m:en(S),h=g==null?m:en(g),m=new v(w,f+"leave",S,n,c),m.target=k,m.relatedTarget=h,w=null,zt(c)===a&&(v=new v(d,f+"enter",g,n,c),v.target=h,v.relatedTarget=k,w=v),k=w,S&&g)t:{for(v=S,d=g,f=0,h=v;h;h=Xt(h))f++;for(h=0,w=d;w;w=Xt(w))h++;for(;0<f-h;)v=Xt(v),f--;for(;0<h-f;)d=Xt(d),h--;for(;f--;){if(v===d||d!==null&&v===d.alternate)break t;v=Xt(v),d=Xt(d)}v=null}else v=null;S!==null&&Fu(p,m,S,v,!1),g!==null&&k!==null&&Fu(p,k,g,v,!0)}}e:{if(m=a?en(a):window,S=m.nodeName&&m.nodeName.toLowerCase(),S==="select"||S==="input"&&m.type==="file")var _=oh;else if(Tu(m))if(Oc)_=ah;else{_=lh;var x=sh}else(S=m.nodeName)&&S.toLowerCase()==="input"&&(m.type==="checkbox"||m.type==="radio")&&(_=uh);if(_&&(_=_(e,a))){Nc(p,_,n,c);break e}x&&x(e,m,a),e==="focusout"&&(x=m._wrapperState)&&x.controlled&&m.type==="number"&&rs(m,"number",m.value)}switch(x=a?en(a):window,e){case"focusin":(Tu(x)||x.contentEditable==="true")&&(Zt=x,ms=a,Yn=null);break;case"focusout":Yn=ms=Zt=null;break;case"mousedown":ys=!0;break;case"contextmenu":case"mouseup":case"dragend":ys=!1,Au(p,n,c);break;case"selectionchange":if(dh)break;case"keydown":case"keyup":Au(p,n,c)}var R;if(vl)e:{switch(e){case"compositionstart":var N="onCompositionStart";break e;case"compositionend":N="onCompositionEnd";break e;case"compositionupdate":N="onCompositionUpdate";break e}N=void 0}else Gt?Rc(e,n)&&(N="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(N="onCompositionStart");N&&(Cc&&n.locale!=="ko"&&(Gt||N!=="onCompositionStart"?N==="onCompositionEnd"&&Gt&&(R=xc()):(ht=c,ml="value"in ht?ht.value:ht.textContent,Gt=!0)),x=Ei(a,N),0<x.length&&(N=new _u(N,e,null,n,c),p.push({event:N,listeners:x}),R?N.data=R:(R=Tc(n),R!==null&&(N.data=R)))),(R=eh?th(e,n):nh(e,n))&&(a=Ei(a,"onBeforeInput"),0<a.length&&(c=new _u("onBeforeInput","beforeinput",null,n,c),p.push({event:c,listeners:a}),c.data=R))}Mc(p,t)})}function ar(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Ei(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,o=i.stateNode;i.tag===5&&o!==null&&(i=o,o=nr(e,n),o!=null&&r.unshift(ar(e,o,i)),o=nr(e,t),o!=null&&r.push(ar(e,o,i))),e=e.return}return r}function Xt(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Fu(e,t,n,r,i){for(var o=t._reactName,s=[];n!==null&&n!==r;){var l=n,u=l.alternate,a=l.stateNode;if(u!==null&&u===r)break;l.tag===5&&a!==null&&(l=a,i?(u=nr(n,o),u!=null&&s.unshift(ar(n,u,l))):i||(u=nr(n,o),u!=null&&s.push(ar(n,u,l)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var yh=/\r\n?/g,gh=/\u0000|\uFFFD/g;function Bu(e){return(typeof e=="string"?e:""+e).replace(yh,`
|
|
`).replace(gh,"")}function Ir(e,t,n){if(t=Bu(t),Bu(e)!==t&&n)throw Error(E(425))}function ki(){}var gs=null,vs=null;function ws(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 Ss=typeof setTimeout=="function"?setTimeout:void 0,vh=typeof clearTimeout=="function"?clearTimeout:void 0,Uu=typeof Promise=="function"?Promise:void 0,wh=typeof queueMicrotask=="function"?queueMicrotask:typeof Uu<"u"?function(e){return Uu.resolve(null).then(e).catch(Sh)}:Ss;function Sh(e){setTimeout(function(){throw e})}function Ao(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),or(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);or(t)}function wt(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 Iu(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 xn=Math.random().toString(36).slice(2),Xe="__reactFiber$"+xn,cr="__reactProps$"+xn,ot="__reactContainer$"+xn,Es="__reactEvents$"+xn,Eh="__reactListeners$"+xn,kh="__reactHandles$"+xn;function zt(e){var t=e[Xe];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ot]||n[Xe]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Iu(e);e!==null;){if(n=e[Xe])return n;e=Iu(e)}return t}e=n,n=e.parentNode}return null}function Er(e){return e=e[Xe]||e[ot],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function en(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(E(33))}function Qi(e){return e[cr]||null}var ks=[],tn=-1;function Nt(e){return{current:e}}function M(e){0>tn||(e.current=ks[tn],ks[tn]=null,tn--)}function U(e,t){tn++,ks[tn]=e.current,e.current=t}var Rt={},ce=Nt(Rt),ge=Nt(!1),jt=Rt;function yn(e,t){var n=e.type.contextTypes;if(!n)return Rt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function ve(e){return e=e.childContextTypes,e!=null}function _i(){M(ge),M(ce)}function Mu(e,t,n){if(ce.current!==Rt)throw Error(E(168));U(ce,t),U(ge,n)}function $c(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(E(108,sp(e)||"Unknown",i));return W({},n,r)}function xi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Rt,jt=ce.current,U(ce,e),U(ge,ge.current),!0}function ju(e,t,n){var r=e.stateNode;if(!r)throw Error(E(169));n?(e=$c(e,t,jt),r.__reactInternalMemoizedMergedChildContext=e,M(ge),M(ce),U(ce,e)):M(ge),U(ge,n)}var et=null,Ki=!1,Do=!1;function Vc(e){et===null?et=[e]:et.push(e)}function _h(e){Ki=!0,Vc(e)}function Ot(){if(!Do&&et!==null){Do=!0;var e=0,t=B;try{var n=et;for(B=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}et=null,Ki=!1}catch(i){throw et!==null&&(et=et.slice(e+1)),pc(fl,Ot),i}finally{B=t,Do=!1}}return null}var nn=[],rn=0,Ci=null,Ri=0,Te=[],Ne=0,$t=null,tt=1,nt="";function At(e,t){nn[rn++]=Ri,nn[rn++]=Ci,Ci=e,Ri=t}function Hc(e,t,n){Te[Ne++]=tt,Te[Ne++]=nt,Te[Ne++]=$t,$t=e;var r=tt;e=nt;var i=32-je(r)-1;r&=~(1<<i),n+=1;var o=32-je(t)+i;if(30<o){var s=i-i%5;o=(r&(1<<s)-1).toString(32),r>>=s,i-=s,tt=1<<32-je(t)+i|n<<i|r,nt=o+e}else tt=1<<o|n<<i|r,nt=e}function Sl(e){e.return!==null&&(At(e,1),Hc(e,1,0))}function El(e){for(;e===Ci;)Ci=nn[--rn],nn[rn]=null,Ri=nn[--rn],nn[rn]=null;for(;e===$t;)$t=Te[--Ne],Te[Ne]=null,nt=Te[--Ne],Te[Ne]=null,tt=Te[--Ne],Te[Ne]=null}var _e=null,ke=null,$=!1,Me=null;function Wc(e,t){var n=Pe(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 $u(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,_e=e,ke=wt(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,_e=e,ke=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=$t!==null?{id:tt,overflow:nt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Pe(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,_e=e,ke=null,!0):!1;default:return!1}}function _s(e){return(e.mode&1)!==0&&(e.flags&128)===0}function xs(e){if($){var t=ke;if(t){var n=t;if(!$u(e,t)){if(_s(e))throw Error(E(418));t=wt(n.nextSibling);var r=_e;t&&$u(e,t)?Wc(r,n):(e.flags=e.flags&-4097|2,$=!1,_e=e)}}else{if(_s(e))throw Error(E(418));e.flags=e.flags&-4097|2,$=!1,_e=e}}}function Vu(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;_e=e}function Mr(e){if(e!==_e)return!1;if(!$)return Vu(e),$=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!ws(e.type,e.memoizedProps)),t&&(t=ke)){if(_s(e))throw qc(),Error(E(418));for(;t;)Wc(e,t),t=wt(t.nextSibling)}if(Vu(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(E(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){ke=wt(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}ke=null}}else ke=_e?wt(e.stateNode.nextSibling):null;return!0}function qc(){for(var e=ke;e;)e=wt(e.nextSibling)}function gn(){ke=_e=null,$=!1}function kl(e){Me===null?Me=[e]:Me.push(e)}var xh=ut.ReactCurrentBatchConfig;function Fn(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(E(309));var r=n.stateNode}if(!r)throw Error(E(147,e));var i=r,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(s){var l=i.refs;s===null?delete l[o]:l[o]=s},t._stringRef=o,t)}if(typeof e!="string")throw Error(E(284));if(!n._owner)throw Error(E(290,e))}return e}function jr(e,t){throw e=Object.prototype.toString.call(t),Error(E(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Hu(e){var t=e._init;return t(e._payload)}function Qc(e){function t(d,f){if(e){var h=d.deletions;h===null?(d.deletions=[f],d.flags|=16):h.push(f)}}function n(d,f){if(!e)return null;for(;f!==null;)t(d,f),f=f.sibling;return null}function r(d,f){for(d=new Map;f!==null;)f.key!==null?d.set(f.key,f):d.set(f.index,f),f=f.sibling;return d}function i(d,f){return d=_t(d,f),d.index=0,d.sibling=null,d}function o(d,f,h){return d.index=h,e?(h=d.alternate,h!==null?(h=h.index,h<f?(d.flags|=2,f):h):(d.flags|=2,f)):(d.flags|=1048576,f)}function s(d){return e&&d.alternate===null&&(d.flags|=2),d}function l(d,f,h,w){return f===null||f.tag!==6?(f=jo(h,d.mode,w),f.return=d,f):(f=i(f,h),f.return=d,f)}function u(d,f,h,w){var _=h.type;return _===Jt?c(d,f,h.props.children,w,h.key):f!==null&&(f.elementType===_||typeof _=="object"&&_!==null&&_.$$typeof===ct&&Hu(_)===f.type)?(w=i(f,h.props),w.ref=Fn(d,f,h),w.return=d,w):(w=ii(h.type,h.key,h.props,null,d.mode,w),w.ref=Fn(d,f,h),w.return=d,w)}function a(d,f,h,w){return f===null||f.tag!==4||f.stateNode.containerInfo!==h.containerInfo||f.stateNode.implementation!==h.implementation?(f=$o(h,d.mode,w),f.return=d,f):(f=i(f,h.children||[]),f.return=d,f)}function c(d,f,h,w,_){return f===null||f.tag!==7?(f=Mt(h,d.mode,w,_),f.return=d,f):(f=i(f,h),f.return=d,f)}function p(d,f,h){if(typeof f=="string"&&f!==""||typeof f=="number")return f=jo(""+f,d.mode,h),f.return=d,f;if(typeof f=="object"&&f!==null){switch(f.$$typeof){case Or:return h=ii(f.type,f.key,f.props,null,d.mode,h),h.ref=Fn(d,null,f),h.return=d,h;case Yt:return f=$o(f,d.mode,h),f.return=d,f;case ct:var w=f._init;return p(d,w(f._payload),h)}if($n(f)||Pn(f))return f=Mt(f,d.mode,h,null),f.return=d,f;jr(d,f)}return null}function m(d,f,h,w){var _=f!==null?f.key:null;if(typeof h=="string"&&h!==""||typeof h=="number")return _!==null?null:l(d,f,""+h,w);if(typeof h=="object"&&h!==null){switch(h.$$typeof){case Or:return h.key===_?u(d,f,h,w):null;case Yt:return h.key===_?a(d,f,h,w):null;case ct:return _=h._init,m(d,f,_(h._payload),w)}if($n(h)||Pn(h))return _!==null?null:c(d,f,h,w,null);jr(d,h)}return null}function S(d,f,h,w,_){if(typeof w=="string"&&w!==""||typeof w=="number")return d=d.get(h)||null,l(f,d,""+w,_);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case Or:return d=d.get(w.key===null?h:w.key)||null,u(f,d,w,_);case Yt:return d=d.get(w.key===null?h:w.key)||null,a(f,d,w,_);case ct:var x=w._init;return S(d,f,h,x(w._payload),_)}if($n(w)||Pn(w))return d=d.get(h)||null,c(f,d,w,_,null);jr(f,w)}return null}function g(d,f,h,w){for(var _=null,x=null,R=f,N=f=0,j=null;R!==null&&N<h.length;N++){R.index>N?(j=R,R=null):j=R.sibling;var D=m(d,R,h[N],w);if(D===null){R===null&&(R=j);break}e&&R&&D.alternate===null&&t(d,R),f=o(D,f,N),x===null?_=D:x.sibling=D,x=D,R=j}if(N===h.length)return n(d,R),$&&At(d,N),_;if(R===null){for(;N<h.length;N++)R=p(d,h[N],w),R!==null&&(f=o(R,f,N),x===null?_=R:x.sibling=R,x=R);return $&&At(d,N),_}for(R=r(d,R);N<h.length;N++)j=S(R,d,N,h[N],w),j!==null&&(e&&j.alternate!==null&&R.delete(j.key===null?N:j.key),f=o(j,f,N),x===null?_=j:x.sibling=j,x=j);return e&&R.forEach(function(ze){return t(d,ze)}),$&&At(d,N),_}function v(d,f,h,w){var _=Pn(h);if(typeof _!="function")throw Error(E(150));if(h=_.call(h),h==null)throw Error(E(151));for(var x=_=null,R=f,N=f=0,j=null,D=h.next();R!==null&&!D.done;N++,D=h.next()){R.index>N?(j=R,R=null):j=R.sibling;var ze=m(d,R,D.value,w);if(ze===null){R===null&&(R=j);break}e&&R&&ze.alternate===null&&t(d,R),f=o(ze,f,N),x===null?_=ze:x.sibling=ze,x=ze,R=j}if(D.done)return n(d,R),$&&At(d,N),_;if(R===null){for(;!D.done;N++,D=h.next())D=p(d,D.value,w),D!==null&&(f=o(D,f,N),x===null?_=D:x.sibling=D,x=D);return $&&At(d,N),_}for(R=r(d,R);!D.done;N++,D=h.next())D=S(R,d,N,D.value,w),D!==null&&(e&&D.alternate!==null&&R.delete(D.key===null?N:D.key),f=o(D,f,N),x===null?_=D:x.sibling=D,x=D);return e&&R.forEach(function(Nn){return t(d,Nn)}),$&&At(d,N),_}function k(d,f,h,w){if(typeof h=="object"&&h!==null&&h.type===Jt&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case Or:e:{for(var _=h.key,x=f;x!==null;){if(x.key===_){if(_=h.type,_===Jt){if(x.tag===7){n(d,x.sibling),f=i(x,h.props.children),f.return=d,d=f;break e}}else if(x.elementType===_||typeof _=="object"&&_!==null&&_.$$typeof===ct&&Hu(_)===x.type){n(d,x.sibling),f=i(x,h.props),f.ref=Fn(d,x,h),f.return=d,d=f;break e}n(d,x);break}else t(d,x);x=x.sibling}h.type===Jt?(f=Mt(h.props.children,d.mode,w,h.key),f.return=d,d=f):(w=ii(h.type,h.key,h.props,null,d.mode,w),w.ref=Fn(d,f,h),w.return=d,d=w)}return s(d);case Yt:e:{for(x=h.key;f!==null;){if(f.key===x)if(f.tag===4&&f.stateNode.containerInfo===h.containerInfo&&f.stateNode.implementation===h.implementation){n(d,f.sibling),f=i(f,h.children||[]),f.return=d,d=f;break e}else{n(d,f);break}else t(d,f);f=f.sibling}f=$o(h,d.mode,w),f.return=d,d=f}return s(d);case ct:return x=h._init,k(d,f,x(h._payload),w)}if($n(h))return g(d,f,h,w);if(Pn(h))return v(d,f,h,w);jr(d,h)}return typeof h=="string"&&h!==""||typeof h=="number"?(h=""+h,f!==null&&f.tag===6?(n(d,f.sibling),f=i(f,h),f.return=d,d=f):(n(d,f),f=jo(h,d.mode,w),f.return=d,d=f),s(d)):n(d,f)}return k}var vn=Qc(!0),Kc=Qc(!1),Ti=Nt(null),Ni=null,on=null,_l=null;function xl(){_l=on=Ni=null}function Cl(e){var t=Ti.current;M(Ti),e._currentValue=t}function Cs(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 dn(e,t){Ni=e,_l=on=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(ye=!0),e.firstContext=null)}function Ae(e){var t=e._currentValue;if(_l!==e)if(e={context:e,memoizedValue:t,next:null},on===null){if(Ni===null)throw Error(E(308));on=e,Ni.dependencies={lanes:0,firstContext:e}}else on=on.next=e;return t}var Ft=null;function Rl(e){Ft===null?Ft=[e]:Ft.push(e)}function Xc(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Rl(t)):(n.next=i.next,i.next=n),t.interleaved=n,st(e,r)}function st(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 Tl(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Yc(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 rt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function St(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,F&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,st(e,n)}return i=r.interleaved,i===null?(t.next=t,Rl(r)):(t.next=i.next,i.next=t),r.interleaved=t,st(e,n)}function Zr(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,dl(e,n)}}function Wu(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=s:o=o.next=s,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,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 Oi(e,t,n,r){var i=e.updateQueue;ft=!1;var o=i.firstBaseUpdate,s=i.lastBaseUpdate,l=i.shared.pending;if(l!==null){i.shared.pending=null;var u=l,a=u.next;u.next=null,s===null?o=a:s.next=a,s=u;var c=e.alternate;c!==null&&(c=c.updateQueue,l=c.lastBaseUpdate,l!==s&&(l===null?c.firstBaseUpdate=a:l.next=a,c.lastBaseUpdate=u))}if(o!==null){var p=i.baseState;s=0,c=a=u=null,l=o;do{var m=l.lane,S=l.eventTime;if((r&m)===m){c!==null&&(c=c.next={eventTime:S,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var g=e,v=l;switch(m=t,S=n,v.tag){case 1:if(g=v.payload,typeof g=="function"){p=g.call(S,p,m);break e}p=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=v.payload,m=typeof g=="function"?g.call(S,p,m):g,m==null)break e;p=W({},p,m);break e;case 2:ft=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,m=i.effects,m===null?i.effects=[l]:m.push(l))}else S={eventTime:S,lane:m,tag:l.tag,payload:l.payload,callback:l.callback,next:null},c===null?(a=c=S,u=p):c=c.next=S,s|=m;if(l=l.next,l===null){if(l=i.shared.pending,l===null)break;m=l,l=m.next,m.next=null,i.lastBaseUpdate=m,i.shared.pending=null}}while(1);if(c===null&&(u=p),i.baseState=u,i.firstBaseUpdate=a,i.lastBaseUpdate=c,t=i.shared.interleaved,t!==null){i=t;do s|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);Ht|=s,e.lanes=s,e.memoizedState=p}}function qu(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(E(191,i));i.call(r)}}}var kr={},Je=Nt(kr),fr=Nt(kr),dr=Nt(kr);function Bt(e){if(e===kr)throw Error(E(174));return e}function Nl(e,t){switch(U(dr,t),U(fr,e),U(Je,kr),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:os(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=os(t,e)}M(Je),U(Je,t)}function wn(){M(Je),M(fr),M(dr)}function Jc(e){Bt(dr.current);var t=Bt(Je.current),n=os(t,e.type);t!==n&&(U(fr,e),U(Je,n))}function Ol(e){fr.current===e&&(M(Je),M(fr))}var V=Nt(0);function Pi(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 zo=[];function Pl(){for(var e=0;e<zo.length;e++)zo[e]._workInProgressVersionPrimary=null;zo.length=0}var br=ut.ReactCurrentDispatcher,Fo=ut.ReactCurrentBatchConfig,Vt=0,H=null,Z=null,te=null,Li=!1,Jn=!1,pr=0,Ch=0;function se(){throw Error(E(321))}function Ll(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!He(e[n],t[n]))return!1;return!0}function Al(e,t,n,r,i,o){if(Vt=o,H=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,br.current=e===null||e.memoizedState===null?Oh:Ph,e=n(r,i),Jn){o=0;do{if(Jn=!1,pr=0,25<=o)throw Error(E(301));o+=1,te=Z=null,t.updateQueue=null,br.current=Lh,e=n(r,i)}while(Jn)}if(br.current=Ai,t=Z!==null&&Z.next!==null,Vt=0,te=Z=H=null,Li=!1,t)throw Error(E(300));return e}function Dl(){var e=pr!==0;return pr=0,e}function Ke(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return te===null?H.memoizedState=te=e:te=te.next=e,te}function De(){if(Z===null){var e=H.alternate;e=e!==null?e.memoizedState:null}else e=Z.next;var t=te===null?H.memoizedState:te.next;if(t!==null)te=t,Z=e;else{if(e===null)throw Error(E(310));Z=e,e={memoizedState:Z.memoizedState,baseState:Z.baseState,baseQueue:Z.baseQueue,queue:Z.queue,next:null},te===null?H.memoizedState=te=e:te=te.next=e}return te}function hr(e,t){return typeof t=="function"?t(e):t}function Bo(e){var t=De(),n=t.queue;if(n===null)throw Error(E(311));n.lastRenderedReducer=e;var r=Z,i=r.baseQueue,o=n.pending;if(o!==null){if(i!==null){var s=i.next;i.next=o.next,o.next=s}r.baseQueue=i=o,n.pending=null}if(i!==null){o=i.next,r=r.baseState;var l=s=null,u=null,a=o;do{var c=a.lane;if((Vt&c)===c)u!==null&&(u=u.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:c,action:a.action,hasEagerState:a.hasEagerState,eagerState:a.eagerState,next:null};u===null?(l=u=p,s=r):u=u.next=p,H.lanes|=c,Ht|=c}a=a.next}while(a!==null&&a!==o);u===null?s=r:u.next=l,He(r,t.memoizedState)||(ye=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=u,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do o=i.lane,H.lanes|=o,Ht|=o,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Uo(e){var t=De(),n=t.queue;if(n===null)throw Error(E(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(i!==null){n.pending=null;var s=i=i.next;do o=e(o,s.action),s=s.next;while(s!==i);He(o,t.memoizedState)||(ye=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Gc(){}function Zc(e,t){var n=H,r=De(),i=t(),o=!He(r.memoizedState,i);if(o&&(r.memoizedState=i,ye=!0),r=r.queue,zl(tf.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||te!==null&&te.memoizedState.tag&1){if(n.flags|=2048,mr(9,ef.bind(null,n,r,i,t),void 0,null),ne===null)throw Error(E(349));Vt&30||bc(n,t,i)}return i}function bc(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=H.updateQueue,t===null?(t={lastEffect:null,stores:null},H.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function ef(e,t,n,r){t.value=n,t.getSnapshot=r,nf(t)&&rf(e)}function tf(e,t,n){return n(function(){nf(t)&&rf(e)})}function nf(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!He(e,n)}catch{return!0}}function rf(e){var t=st(e,1);t!==null&&$e(t,e,1,-1)}function Qu(e){var t=Ke();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:hr,lastRenderedState:e},t.queue=e,e=e.dispatch=Nh.bind(null,H,e),[t.memoizedState,e]}function mr(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=H.updateQueue,t===null?(t={lastEffect:null,stores:null},H.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 of(){return De().memoizedState}function ei(e,t,n,r){var i=Ke();H.flags|=e,i.memoizedState=mr(1|t,n,void 0,r===void 0?null:r)}function Xi(e,t,n,r){var i=De();r=r===void 0?null:r;var o=void 0;if(Z!==null){var s=Z.memoizedState;if(o=s.destroy,r!==null&&Ll(r,s.deps)){i.memoizedState=mr(t,n,o,r);return}}H.flags|=e,i.memoizedState=mr(1|t,n,o,r)}function Ku(e,t){return ei(8390656,8,e,t)}function zl(e,t){return Xi(2048,8,e,t)}function sf(e,t){return Xi(4,2,e,t)}function lf(e,t){return Xi(4,4,e,t)}function uf(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 af(e,t,n){return n=n!=null?n.concat([e]):null,Xi(4,4,uf.bind(null,t,e),n)}function Fl(){}function cf(e,t){var n=De();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Ll(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function ff(e,t){var n=De();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Ll(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function df(e,t,n){return Vt&21?(He(n,t)||(n=yc(),H.lanes|=n,Ht|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,ye=!0),e.memoizedState=n)}function Rh(e,t){var n=B;B=n!==0&&4>n?n:4,e(!0);var r=Fo.transition;Fo.transition={};try{e(!1),t()}finally{B=n,Fo.transition=r}}function pf(){return De().memoizedState}function Th(e,t,n){var r=kt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},hf(e))mf(t,n);else if(n=Xc(e,t,n,r),n!==null){var i=de();$e(n,e,r,i),yf(n,t,r)}}function Nh(e,t,n){var r=kt(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(hf(e))mf(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var s=t.lastRenderedState,l=o(s,n);if(i.hasEagerState=!0,i.eagerState=l,He(l,s)){var u=t.interleaved;u===null?(i.next=i,Rl(t)):(i.next=u.next,u.next=i),t.interleaved=i;return}}catch{}finally{}n=Xc(e,t,i,r),n!==null&&(i=de(),$e(n,e,r,i),yf(n,t,r))}}function hf(e){var t=e.alternate;return e===H||t!==null&&t===H}function mf(e,t){Jn=Li=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function yf(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,dl(e,n)}}var Ai={readContext:Ae,useCallback:se,useContext:se,useEffect:se,useImperativeHandle:se,useInsertionEffect:se,useLayoutEffect:se,useMemo:se,useReducer:se,useRef:se,useState:se,useDebugValue:se,useDeferredValue:se,useTransition:se,useMutableSource:se,useSyncExternalStore:se,useId:se,unstable_isNewReconciler:!1},Oh={readContext:Ae,useCallback:function(e,t){return Ke().memoizedState=[e,t===void 0?null:t],e},useContext:Ae,useEffect:Ku,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ei(4194308,4,uf.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ei(4194308,4,e,t)},useInsertionEffect:function(e,t){return ei(4,2,e,t)},useMemo:function(e,t){var n=Ke();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ke();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=Th.bind(null,H,e),[r.memoizedState,e]},useRef:function(e){var t=Ke();return e={current:e},t.memoizedState=e},useState:Qu,useDebugValue:Fl,useDeferredValue:function(e){return Ke().memoizedState=e},useTransition:function(){var e=Qu(!1),t=e[0];return e=Rh.bind(null,e[1]),Ke().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=H,i=Ke();if($){if(n===void 0)throw Error(E(407));n=n()}else{if(n=t(),ne===null)throw Error(E(349));Vt&30||bc(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,Ku(tf.bind(null,r,o,e),[e]),r.flags|=2048,mr(9,ef.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Ke(),t=ne.identifierPrefix;if($){var n=nt,r=tt;n=(r&~(1<<32-je(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=pr++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=Ch++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Ph={readContext:Ae,useCallback:cf,useContext:Ae,useEffect:zl,useImperativeHandle:af,useInsertionEffect:sf,useLayoutEffect:lf,useMemo:ff,useReducer:Bo,useRef:of,useState:function(){return Bo(hr)},useDebugValue:Fl,useDeferredValue:function(e){var t=De();return df(t,Z.memoizedState,e)},useTransition:function(){var e=Bo(hr)[0],t=De().memoizedState;return[e,t]},useMutableSource:Gc,useSyncExternalStore:Zc,useId:pf,unstable_isNewReconciler:!1},Lh={readContext:Ae,useCallback:cf,useContext:Ae,useEffect:zl,useImperativeHandle:af,useInsertionEffect:sf,useLayoutEffect:lf,useMemo:ff,useReducer:Uo,useRef:of,useState:function(){return Uo(hr)},useDebugValue:Fl,useDeferredValue:function(e){var t=De();return Z===null?t.memoizedState=e:df(t,Z.memoizedState,e)},useTransition:function(){var e=Uo(hr)[0],t=De().memoizedState;return[e,t]},useMutableSource:Gc,useSyncExternalStore:Zc,useId:pf,unstable_isNewReconciler:!1};function Be(e,t){if(e&&e.defaultProps){t=W({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Rs(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:W({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Yi={isMounted:function(e){return(e=e._reactInternals)?Kt(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=de(),i=kt(e),o=rt(r,i);o.payload=t,n!=null&&(o.callback=n),t=St(e,o,i),t!==null&&($e(t,e,i,r),Zr(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=de(),i=kt(e),o=rt(r,i);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=St(e,o,i),t!==null&&($e(t,e,i,r),Zr(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=de(),r=kt(e),i=rt(n,r);i.tag=2,t!=null&&(i.callback=t),t=St(e,i,r),t!==null&&($e(t,e,r,n),Zr(t,e,r))}};function Xu(e,t,n,r,i,o,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,s):t.prototype&&t.prototype.isPureReactComponent?!lr(n,r)||!lr(i,o):!0}function gf(e,t,n){var r=!1,i=Rt,o=t.contextType;return typeof o=="object"&&o!==null?o=Ae(o):(i=ve(t)?jt:ce.current,r=t.contextTypes,o=(r=r!=null)?yn(e,i):Rt),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Yi,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function Yu(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&&Yi.enqueueReplaceState(t,t.state,null)}function Ts(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},Tl(e);var o=t.contextType;typeof o=="object"&&o!==null?i.context=Ae(o):(o=ve(t)?jt:ce.current,i.context=yn(e,o)),i.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(Rs(e,t,o,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&Yi.enqueueReplaceState(i,i.state,null),Oi(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function Sn(e,t){try{var n="",r=t;do n+=op(r),r=r.return;while(r);var i=n}catch(o){i=`
|
|
Error generating stack: `+o.message+`
|
|
`+o.stack}return{value:e,source:t,stack:i,digest:null}}function Io(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Ns(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Ah=typeof WeakMap=="function"?WeakMap:Map;function vf(e,t,n){n=rt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){zi||(zi=!0,Is=r),Ns(e,t)},n}function wf(e,t,n){n=rt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Ns(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){Ns(e,t),typeof r!="function"&&(Et===null?Et=new Set([this]):Et.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function Ju(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Ah;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Qh.bind(null,e,t,n),t.then(e,e))}function Gu(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 Zu(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,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=rt(-1,1),t.tag=2,St(n,t,1))),n.lanes|=1),e)}var Dh=ut.ReactCurrentOwner,ye=!1;function fe(e,t,n,r){t.child=e===null?Kc(t,null,n,r):vn(t,e.child,n,r)}function bu(e,t,n,r,i){n=n.render;var o=t.ref;return dn(t,i),r=Al(e,t,n,r,o,i),n=Dl(),e!==null&&!ye?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,lt(e,t,i)):($&&n&&Sl(t),t.flags|=1,fe(e,t,r,i),t.child)}function ea(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!Hl(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,Sf(e,t,o,r,i)):(e=ii(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&i)){var s=o.memoizedProps;if(n=n.compare,n=n!==null?n:lr,n(s,r)&&e.ref===t.ref)return lt(e,t,i)}return t.flags|=1,e=_t(o,r),e.ref=t.ref,e.return=t,t.child=e}function Sf(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(lr(o,r)&&e.ref===t.ref)if(ye=!1,t.pendingProps=r=o,(e.lanes&i)!==0)e.flags&131072&&(ye=!0);else return t.lanes=e.lanes,lt(e,t,i)}return Os(e,t,n,r,i)}function Ef(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},U(ln,Ee),Ee|=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,U(ln,Ee),Ee|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,U(ln,Ee),Ee|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,U(ln,Ee),Ee|=r;return fe(e,t,i,n),t.child}function kf(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Os(e,t,n,r,i){var o=ve(n)?jt:ce.current;return o=yn(t,o),dn(t,i),n=Al(e,t,n,r,o,i),r=Dl(),e!==null&&!ye?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,lt(e,t,i)):($&&r&&Sl(t),t.flags|=1,fe(e,t,n,i),t.child)}function ta(e,t,n,r,i){if(ve(n)){var o=!0;xi(t)}else o=!1;if(dn(t,i),t.stateNode===null)ti(e,t),gf(t,n,r),Ts(t,n,r,i),r=!0;else if(e===null){var s=t.stateNode,l=t.memoizedProps;s.props=l;var u=s.context,a=n.contextType;typeof a=="object"&&a!==null?a=Ae(a):(a=ve(n)?jt:ce.current,a=yn(t,a));var c=n.getDerivedStateFromProps,p=typeof c=="function"||typeof s.getSnapshotBeforeUpdate=="function";p||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==r||u!==a)&&Yu(t,s,r,a),ft=!1;var m=t.memoizedState;s.state=m,Oi(t,r,s,i),u=t.memoizedState,l!==r||m!==u||ge.current||ft?(typeof c=="function"&&(Rs(t,n,c,r),u=t.memoizedState),(l=ft||Xu(t,n,l,r,m,u,a))?(p||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),s.props=r,s.state=u,s.context=a,r=l):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,Yc(e,t),l=t.memoizedProps,a=t.type===t.elementType?l:Be(t.type,l),s.props=a,p=t.pendingProps,m=s.context,u=n.contextType,typeof u=="object"&&u!==null?u=Ae(u):(u=ve(n)?jt:ce.current,u=yn(t,u));var S=n.getDerivedStateFromProps;(c=typeof S=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==p||m!==u)&&Yu(t,s,r,u),ft=!1,m=t.memoizedState,s.state=m,Oi(t,r,s,i);var g=t.memoizedState;l!==p||m!==g||ge.current||ft?(typeof S=="function"&&(Rs(t,n,S,r),g=t.memoizedState),(a=ft||Xu(t,n,a,r,m,g,u)||!1)?(c||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,g,u),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,g,u)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||l===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=g),s.props=r,s.state=g,s.context=u,r=a):(typeof s.componentDidUpdate!="function"||l===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),r=!1)}return Ps(e,t,n,r,o,i)}function Ps(e,t,n,r,i,o){kf(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return i&&ju(t,n,!1),lt(e,t,o);r=t.stateNode,Dh.current=t;var l=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=vn(t,e.child,null,o),t.child=vn(t,null,l,o)):fe(e,t,l,o),t.memoizedState=r.state,i&&ju(t,n,!0),t.child}function _f(e){var t=e.stateNode;t.pendingContext?Mu(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Mu(e,t.context,!1),Nl(e,t.containerInfo)}function na(e,t,n,r,i){return gn(),kl(i),t.flags|=256,fe(e,t,n,r),t.child}var Ls={dehydrated:null,treeContext:null,retryLane:0};function As(e){return{baseLanes:e,cachePool:null,transitions:null}}function xf(e,t,n){var r=t.pendingProps,i=V.current,o=!1,s=(t.flags&128)!==0,l;if((l=s)||(l=e!==null&&e.memoizedState===null?!1:(i&2)!==0),l?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),U(V,i&1),e===null)return xs(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):(s=r.children,e=r.fallback,o?(r=t.mode,o=t.child,s={mode:"hidden",children:s},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=s):o=Zi(s,r,0,null),e=Mt(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=As(n),t.memoizedState=Ls,e):Bl(t,s));if(i=e.memoizedState,i!==null&&(l=i.dehydrated,l!==null))return zh(e,t,s,r,l,i,n);if(o){o=r.fallback,s=t.mode,i=e.child,l=i.sibling;var u={mode:"hidden",children:r.children};return!(s&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=u,t.deletions=null):(r=_t(i,u),r.subtreeFlags=i.subtreeFlags&14680064),l!==null?o=_t(l,o):(o=Mt(o,s,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,s=e.child.memoizedState,s=s===null?As(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},o.memoizedState=s,o.childLanes=e.childLanes&~n,t.memoizedState=Ls,r}return o=e.child,e=o.sibling,r=_t(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 Bl(e,t){return t=Zi({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function $r(e,t,n,r){return r!==null&&kl(r),vn(t,e.child,null,n),e=Bl(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function zh(e,t,n,r,i,o,s){if(n)return t.flags&256?(t.flags&=-257,r=Io(Error(E(422))),$r(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=Zi({mode:"visible",children:r.children},i,0,null),o=Mt(o,i,s,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&vn(t,e.child,null,s),t.child.memoizedState=As(s),t.memoizedState=Ls,o);if(!(t.mode&1))return $r(e,t,s,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var l=r.dgst;return r=l,o=Error(E(419)),r=Io(o,r,void 0),$r(e,t,s,r)}if(l=(s&e.childLanes)!==0,ye||l){if(r=ne,r!==null){switch(s&-s){case 4:i=2;break;case 16:i=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:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|s)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,st(e,i),$e(r,e,i,-1))}return Vl(),r=Io(Error(E(421))),$r(e,t,s,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=Kh.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,ke=wt(i.nextSibling),_e=t,$=!0,Me=null,e!==null&&(Te[Ne++]=tt,Te[Ne++]=nt,Te[Ne++]=$t,tt=e.id,nt=e.overflow,$t=t),t=Bl(t,r.children),t.flags|=4096,t)}function ra(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Cs(e.return,t,n)}function Mo(e,t,n,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function Cf(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(fe(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&&ra(e,n,t);else if(e.tag===19)ra(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(U(V,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&Pi(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Mo(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Pi(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Mo(t,!0,n,null,o);break;case"together":Mo(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ti(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function lt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Ht|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(E(153));if(t.child!==null){for(e=t.child,n=_t(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=_t(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Fh(e,t,n){switch(t.tag){case 3:_f(t),gn();break;case 5:Jc(t);break;case 1:ve(t.type)&&xi(t);break;case 4:Nl(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;U(Ti,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(U(V,V.current&1),t.flags|=128,null):n&t.child.childLanes?xf(e,t,n):(U(V,V.current&1),e=lt(e,t,n),e!==null?e.sibling:null);U(V,V.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Cf(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),U(V,V.current),r)break;return null;case 22:case 23:return t.lanes=0,Ef(e,t,n)}return lt(e,t,n)}var Rf,Ds,Tf,Nf;Rf=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}};Ds=function(){};Tf=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Bt(Je.current);var o=null;switch(n){case"input":i=ts(e,i),r=ts(e,r),o=[];break;case"select":i=W({},i,{value:void 0}),r=W({},r,{value:void 0}),o=[];break;case"textarea":i=is(e,i),r=is(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=ki)}ss(n,r);var s;n=null;for(a in i)if(!r.hasOwnProperty(a)&&i.hasOwnProperty(a)&&i[a]!=null)if(a==="style"){var l=i[a];for(s in l)l.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else a!=="dangerouslySetInnerHTML"&&a!=="children"&&a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&a!=="autoFocus"&&(er.hasOwnProperty(a)?o||(o=[]):(o=o||[]).push(a,null));for(a in r){var u=r[a];if(l=i!=null?i[a]:void 0,r.hasOwnProperty(a)&&u!==l&&(u!=null||l!=null))if(a==="style")if(l){for(s in l)!l.hasOwnProperty(s)||u&&u.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in u)u.hasOwnProperty(s)&&l[s]!==u[s]&&(n||(n={}),n[s]=u[s])}else n||(o||(o=[]),o.push(a,n)),n=u;else a==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,l=l?l.__html:void 0,u!=null&&l!==u&&(o=o||[]).push(a,u)):a==="children"?typeof u!="string"&&typeof u!="number"||(o=o||[]).push(a,""+u):a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&(er.hasOwnProperty(a)?(u!=null&&a==="onScroll"&&I("scroll",e),o||l===u||(o=[])):(o=o||[]).push(a,u))}n&&(o=o||[]).push("style",n);var a=o;(t.updateQueue=a)&&(t.flags|=4)}};Nf=function(e,t,n,r){n!==r&&(t.flags|=4)};function Bn(e,t){if(!$)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 le(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Bh(e,t,n){var r=t.pendingProps;switch(El(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return le(t),null;case 1:return ve(t.type)&&_i(),le(t),null;case 3:return r=t.stateNode,wn(),M(ge),M(ce),Pl(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Mr(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Me!==null&&($s(Me),Me=null))),Ds(e,t),le(t),null;case 5:Ol(t);var i=Bt(dr.current);if(n=t.type,e!==null&&t.stateNode!=null)Tf(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(E(166));return le(t),null}if(e=Bt(Je.current),Mr(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[Xe]=t,r[cr]=o,e=(t.mode&1)!==0,n){case"dialog":I("cancel",r),I("close",r);break;case"iframe":case"object":case"embed":I("load",r);break;case"video":case"audio":for(i=0;i<Hn.length;i++)I(Hn[i],r);break;case"source":I("error",r);break;case"img":case"image":case"link":I("error",r),I("load",r);break;case"details":I("toggle",r);break;case"input":du(r,o),I("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},I("invalid",r);break;case"textarea":hu(r,o),I("invalid",r)}ss(n,o),i=null;for(var s in o)if(o.hasOwnProperty(s)){var l=o[s];s==="children"?typeof l=="string"?r.textContent!==l&&(o.suppressHydrationWarning!==!0&&Ir(r.textContent,l,e),i=["children",l]):typeof l=="number"&&r.textContent!==""+l&&(o.suppressHydrationWarning!==!0&&Ir(r.textContent,l,e),i=["children",""+l]):er.hasOwnProperty(s)&&l!=null&&s==="onScroll"&&I("scroll",r)}switch(n){case"input":Pr(r),pu(r,o,!0);break;case"textarea":Pr(r),mu(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=ki)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=tc(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[Xe]=t,e[cr]=r,Rf(e,t,!1,!1),t.stateNode=e;e:{switch(s=ls(n,r),n){case"dialog":I("cancel",e),I("close",e),i=r;break;case"iframe":case"object":case"embed":I("load",e),i=r;break;case"video":case"audio":for(i=0;i<Hn.length;i++)I(Hn[i],e);i=r;break;case"source":I("error",e),i=r;break;case"img":case"image":case"link":I("error",e),I("load",e),i=r;break;case"details":I("toggle",e),i=r;break;case"input":du(e,r),i=ts(e,r),I("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=W({},r,{value:void 0}),I("invalid",e);break;case"textarea":hu(e,r),i=is(e,r),I("invalid",e);break;default:i=r}ss(n,i),l=i;for(o in l)if(l.hasOwnProperty(o)){var u=l[o];o==="style"?ic(e,u):o==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,u!=null&&nc(e,u)):o==="children"?typeof u=="string"?(n!=="textarea"||u!=="")&&tr(e,u):typeof u=="number"&&tr(e,""+u):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(er.hasOwnProperty(o)?u!=null&&o==="onScroll"&&I("scroll",e):u!=null&&sl(e,o,u,s))}switch(n){case"input":Pr(e),pu(e,r,!1);break;case"textarea":Pr(e),mu(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?un(e,!!r.multiple,o,!1):r.defaultValue!=null&&un(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=ki)}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 le(t),null;case 6:if(e&&t.stateNode!=null)Nf(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(E(166));if(n=Bt(dr.current),Bt(Je.current),Mr(t)){if(r=t.stateNode,n=t.memoizedProps,r[Xe]=t,(o=r.nodeValue!==n)&&(e=_e,e!==null))switch(e.tag){case 3:Ir(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Ir(r.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Xe]=t,t.stateNode=r}return le(t),null;case 13:if(M(V),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if($&&ke!==null&&t.mode&1&&!(t.flags&128))qc(),gn(),t.flags|=98560,o=!1;else if(o=Mr(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(E(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(E(317));o[Xe]=t}else gn(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;le(t),o=!1}else Me!==null&&($s(Me),Me=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?b===0&&(b=3):Vl())),t.updateQueue!==null&&(t.flags|=4),le(t),null);case 4:return wn(),Ds(e,t),e===null&&ur(t.stateNode.containerInfo),le(t),null;case 10:return Cl(t.type._context),le(t),null;case 17:return ve(t.type)&&_i(),le(t),null;case 19:if(M(V),o=t.memoizedState,o===null)return le(t),null;if(r=(t.flags&128)!==0,s=o.rendering,s===null)if(r)Bn(o,!1);else{if(b!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=Pi(e),s!==null){for(t.flags|=128,Bn(o,!1),r=s.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,s=o.alternate,s===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=s.childLanes,o.lanes=s.lanes,o.child=s.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=s.memoizedProps,o.memoizedState=s.memoizedState,o.updateQueue=s.updateQueue,o.type=s.type,e=s.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return U(V,V.current&1|2),t.child}e=e.sibling}o.tail!==null&&K()>En&&(t.flags|=128,r=!0,Bn(o,!1),t.lanes=4194304)}else{if(!r)if(e=Pi(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Bn(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!$)return le(t),null}else 2*K()-o.renderingStartTime>En&&n!==1073741824&&(t.flags|=128,r=!0,Bn(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(n=o.last,n!==null?n.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=K(),t.sibling=null,n=V.current,U(V,r?n&1|2:n&1),t):(le(t),null);case 22:case 23:return $l(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ee&1073741824&&(le(t),t.subtreeFlags&6&&(t.flags|=8192)):le(t),null;case 24:return null;case 25:return null}throw Error(E(156,t.tag))}function Uh(e,t){switch(El(t),t.tag){case 1:return ve(t.type)&&_i(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return wn(),M(ge),M(ce),Pl(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Ol(t),null;case 13:if(M(V),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(E(340));gn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return M(V),null;case 4:return wn(),null;case 10:return Cl(t.type._context),null;case 22:case 23:return $l(),null;case 24:return null;default:return null}}var Vr=!1,ue=!1,Ih=typeof WeakSet=="function"?WeakSet:Set,C=null;function sn(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 zs(e,t,n){try{n()}catch(r){q(e,t,r)}}var ia=!1;function Mh(e,t){if(gs=wi,e=Ac(),wl(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 i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,l=-1,u=-1,a=0,c=0,p=e,m=null;t:for(;;){for(var S;p!==n||i!==0&&p.nodeType!==3||(l=s+i),p!==o||r!==0&&p.nodeType!==3||(u=s+r),p.nodeType===3&&(s+=p.nodeValue.length),(S=p.firstChild)!==null;)m=p,p=S;for(;;){if(p===e)break t;if(m===n&&++a===i&&(l=s),m===o&&++c===r&&(u=s),(S=p.nextSibling)!==null)break;p=m,m=p.parentNode}p=S}n=l===-1||u===-1?null:{start:l,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(vs={focusedElem:e,selectionRange:n},wi=!1,C=t;C!==null;)if(t=C,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,C=e;else for(;C!==null;){t=C;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 v=g.memoizedProps,k=g.memoizedState,d=t.stateNode,f=d.getSnapshotBeforeUpdate(t.elementType===t.type?v:Be(t.type,v),k);d.__reactInternalSnapshotBeforeUpdate=f}break;case 3:var h=t.stateNode.containerInfo;h.nodeType===1?h.textContent="":h.nodeType===9&&h.documentElement&&h.removeChild(h.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(E(163))}}catch(w){q(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,C=e;break}C=t.return}return g=ia,ia=!1,g}function Gn(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&zs(t,n,o)}i=i.next}while(i!==r)}}function Ji(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 Fs(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 Of(e){var t=e.alternate;t!==null&&(e.alternate=null,Of(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Xe],delete t[cr],delete t[Es],delete t[Eh],delete t[kh])),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 Pf(e){return e.tag===5||e.tag===3||e.tag===4}function oa(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Pf(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 Bs(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=ki));else if(r!==4&&(e=e.child,e!==null))for(Bs(e,t,n),e=e.sibling;e!==null;)Bs(e,t,n),e=e.sibling}function Us(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(Us(e,t,n),e=e.sibling;e!==null;)Us(e,t,n),e=e.sibling}var re=null,Ue=!1;function at(e,t,n){for(n=n.child;n!==null;)Lf(e,t,n),n=n.sibling}function Lf(e,t,n){if(Ye&&typeof Ye.onCommitFiberUnmount=="function")try{Ye.onCommitFiberUnmount(Vi,n)}catch{}switch(n.tag){case 5:ue||sn(n,t);case 6:var r=re,i=Ue;re=null,at(e,t,n),re=r,Ue=i,re!==null&&(Ue?(e=re,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):re.removeChild(n.stateNode));break;case 18:re!==null&&(Ue?(e=re,n=n.stateNode,e.nodeType===8?Ao(e.parentNode,n):e.nodeType===1&&Ao(e,n),or(e)):Ao(re,n.stateNode));break;case 4:r=re,i=Ue,re=n.stateNode.containerInfo,Ue=!0,at(e,t,n),re=r,Ue=i;break;case 0:case 11:case 14:case 15:if(!ue&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&zs(n,t,s),i=i.next}while(i!==r)}at(e,t,n);break;case 1:if(!ue&&(sn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){q(n,t,l)}at(e,t,n);break;case 21:at(e,t,n);break;case 22:n.mode&1?(ue=(r=ue)||n.memoizedState!==null,at(e,t,n),ue=r):at(e,t,n);break;default:at(e,t,n)}}function sa(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Ih),t.forEach(function(r){var i=Xh.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Fe(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var o=e,s=t,l=s;e:for(;l!==null;){switch(l.tag){case 5:re=l.stateNode,Ue=!1;break e;case 3:re=l.stateNode.containerInfo,Ue=!0;break e;case 4:re=l.stateNode.containerInfo,Ue=!0;break e}l=l.return}if(re===null)throw Error(E(160));Lf(o,s,i),re=null,Ue=!1;var u=i.alternate;u!==null&&(u.return=null),i.return=null}catch(a){q(i,t,a)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Af(t,e),t=t.sibling}function Af(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Fe(t,e),qe(e),r&4){try{Gn(3,e,e.return),Ji(3,e)}catch(v){q(e,e.return,v)}try{Gn(5,e,e.return)}catch(v){q(e,e.return,v)}}break;case 1:Fe(t,e),qe(e),r&512&&n!==null&&sn(n,n.return);break;case 5:if(Fe(t,e),qe(e),r&512&&n!==null&&sn(n,n.return),e.flags&32){var i=e.stateNode;try{tr(i,"")}catch(v){q(e,e.return,v)}}if(r&4&&(i=e.stateNode,i!=null)){var o=e.memoizedProps,s=n!==null?n.memoizedProps:o,l=e.type,u=e.updateQueue;if(e.updateQueue=null,u!==null)try{l==="input"&&o.type==="radio"&&o.name!=null&&ba(i,o),ls(l,s);var a=ls(l,o);for(s=0;s<u.length;s+=2){var c=u[s],p=u[s+1];c==="style"?ic(i,p):c==="dangerouslySetInnerHTML"?nc(i,p):c==="children"?tr(i,p):sl(i,c,p,a)}switch(l){case"input":ns(i,o);break;case"textarea":ec(i,o);break;case"select":var m=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var S=o.value;S!=null?un(i,!!o.multiple,S,!1):m!==!!o.multiple&&(o.defaultValue!=null?un(i,!!o.multiple,o.defaultValue,!0):un(i,!!o.multiple,o.multiple?[]:"",!1))}i[cr]=o}catch(v){q(e,e.return,v)}}break;case 6:if(Fe(t,e),qe(e),r&4){if(e.stateNode===null)throw Error(E(162));i=e.stateNode,o=e.memoizedProps;try{i.nodeValue=o}catch(v){q(e,e.return,v)}}break;case 3:if(Fe(t,e),qe(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{or(t.containerInfo)}catch(v){q(e,e.return,v)}break;case 4:Fe(t,e),qe(e);break;case 13:Fe(t,e),qe(e),i=e.child,i.flags&8192&&(o=i.memoizedState!==null,i.stateNode.isHidden=o,!o||i.alternate!==null&&i.alternate.memoizedState!==null||(Ml=K())),r&4&&sa(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(ue=(a=ue)||c,Fe(t,e),ue=a):Fe(t,e),qe(e),r&8192){if(a=e.memoizedState!==null,(e.stateNode.isHidden=a)&&!c&&e.mode&1)for(C=e,c=e.child;c!==null;){for(p=C=c;C!==null;){switch(m=C,S=m.child,m.tag){case 0:case 11:case 14:case 15:Gn(4,m,m.return);break;case 1:sn(m,m.return);var g=m.stateNode;if(typeof g.componentWillUnmount=="function"){r=m,n=m.return;try{t=r,g.props=t.memoizedProps,g.state=t.memoizedState,g.componentWillUnmount()}catch(v){q(r,n,v)}}break;case 5:sn(m,m.return);break;case 22:if(m.memoizedState!==null){ua(p);continue}}S!==null?(S.return=m,C=S):ua(p)}c=c.sibling}e:for(c=null,p=e;;){if(p.tag===5){if(c===null){c=p;try{i=p.stateNode,a?(o=i.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(l=p.stateNode,u=p.memoizedProps.style,s=u!=null&&u.hasOwnProperty("display")?u.display:null,l.style.display=rc("display",s))}catch(v){q(e,e.return,v)}}}else if(p.tag===6){if(c===null)try{p.stateNode.nodeValue=a?"":p.memoizedProps}catch(v){q(e,e.return,v)}}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;c===p&&(c=null),p=p.return}c===p&&(c=null),p.sibling.return=p.return,p=p.sibling}}break;case 19:Fe(t,e),qe(e),r&4&&sa(e);break;case 21:break;default:Fe(t,e),qe(e)}}function qe(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Pf(n)){var r=n;break e}n=n.return}throw Error(E(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(tr(i,""),r.flags&=-33);var o=oa(e);Us(e,o,i);break;case 3:case 4:var s=r.stateNode.containerInfo,l=oa(e);Bs(e,l,s);break;default:throw Error(E(161))}}catch(u){q(e,e.return,u)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function jh(e,t,n){C=e,Df(e)}function Df(e,t,n){for(var r=(e.mode&1)!==0;C!==null;){var i=C,o=i.child;if(i.tag===22&&r){var s=i.memoizedState!==null||Vr;if(!s){var l=i.alternate,u=l!==null&&l.memoizedState!==null||ue;l=Vr;var a=ue;if(Vr=s,(ue=u)&&!a)for(C=i;C!==null;)s=C,u=s.child,s.tag===22&&s.memoizedState!==null?aa(i):u!==null?(u.return=s,C=u):aa(i);for(;o!==null;)C=o,Df(o),o=o.sibling;C=i,Vr=l,ue=a}la(e)}else i.subtreeFlags&8772&&o!==null?(o.return=i,C=o):la(e)}}function la(e){for(;C!==null;){var t=C;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:ue||Ji(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!ue)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:Be(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&qu(t,o,r);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}qu(t,s,n)}break;case 5:var l=t.stateNode;if(n===null&&t.flags&4){n=l;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.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 c=a.memoizedState;if(c!==null){var p=c.dehydrated;p!==null&&or(p)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(E(163))}ue||t.flags&512&&Fs(t)}catch(m){q(t,t.return,m)}}if(t===e){C=null;break}if(n=t.sibling,n!==null){n.return=t.return,C=n;break}C=t.return}}function ua(e){for(;C!==null;){var t=C;if(t===e){C=null;break}var n=t.sibling;if(n!==null){n.return=t.return,C=n;break}C=t.return}}function aa(e){for(;C!==null;){var t=C;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Ji(4,t)}catch(u){q(t,n,u)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(u){q(t,i,u)}}var o=t.return;try{Fs(t)}catch(u){q(t,o,u)}break;case 5:var s=t.return;try{Fs(t)}catch(u){q(t,s,u)}}}catch(u){q(t,t.return,u)}if(t===e){C=null;break}var l=t.sibling;if(l!==null){l.return=t.return,C=l;break}C=t.return}}var $h=Math.ceil,Di=ut.ReactCurrentDispatcher,Ul=ut.ReactCurrentOwner,Le=ut.ReactCurrentBatchConfig,F=0,ne=null,X=null,ie=0,Ee=0,ln=Nt(0),b=0,yr=null,Ht=0,Gi=0,Il=0,Zn=null,me=null,Ml=0,En=1/0,Ze=null,zi=!1,Is=null,Et=null,Hr=!1,mt=null,Fi=0,bn=0,Ms=null,ni=-1,ri=0;function de(){return F&6?K():ni!==-1?ni:ni=K()}function kt(e){return e.mode&1?F&2&&ie!==0?ie&-ie:xh.transition!==null?(ri===0&&(ri=yc()),ri):(e=B,e!==0||(e=window.event,e=e===void 0?16:_c(e.type)),e):1}function $e(e,t,n,r){if(50<bn)throw bn=0,Ms=null,Error(E(185));wr(e,n,r),(!(F&2)||e!==ne)&&(e===ne&&(!(F&2)&&(Gi|=n),b===4&&pt(e,ie)),we(e,r),n===1&&F===0&&!(t.mode&1)&&(En=K()+500,Ki&&Ot()))}function we(e,t){var n=e.callbackNode;xp(e,t);var r=vi(e,e===ne?ie:0);if(r===0)n!==null&&vu(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&vu(n),t===1)e.tag===0?_h(ca.bind(null,e)):Vc(ca.bind(null,e)),wh(function(){!(F&6)&&Ot()}),n=null;else{switch(gc(r)){case 1:n=fl;break;case 4:n=hc;break;case 16:n=gi;break;case 536870912:n=mc;break;default:n=gi}n=$f(n,zf.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function zf(e,t){if(ni=-1,ri=0,F&6)throw Error(E(327));var n=e.callbackNode;if(pn()&&e.callbackNode!==n)return null;var r=vi(e,e===ne?ie:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Bi(e,r);else{t=r;var i=F;F|=2;var o=Bf();(ne!==e||ie!==t)&&(Ze=null,En=K()+500,It(e,t));do try{Wh();break}catch(l){Ff(e,l)}while(1);xl(),Di.current=o,F=i,X!==null?t=0:(ne=null,ie=0,t=b)}if(t!==0){if(t===2&&(i=ds(e),i!==0&&(r=i,t=js(e,i))),t===1)throw n=yr,It(e,0),pt(e,r),we(e,K()),n;if(t===6)pt(e,r);else{if(i=e.current.alternate,!(r&30)&&!Vh(i)&&(t=Bi(e,r),t===2&&(o=ds(e),o!==0&&(r=o,t=js(e,o))),t===1))throw n=yr,It(e,0),pt(e,r),we(e,K()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(E(345));case 2:Dt(e,me,Ze);break;case 3:if(pt(e,r),(r&130023424)===r&&(t=Ml+500-K(),10<t)){if(vi(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){de(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=Ss(Dt.bind(null,e,me,Ze),t);break}Dt(e,me,Ze);break;case 4:if(pt(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var s=31-je(r);o=1<<s,s=t[s],s>i&&(i=s),r&=~o}if(r=i,r=K()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*$h(r/1960))-r,10<r){e.timeoutHandle=Ss(Dt.bind(null,e,me,Ze),r);break}Dt(e,me,Ze);break;case 5:Dt(e,me,Ze);break;default:throw Error(E(329))}}}return we(e,K()),e.callbackNode===n?zf.bind(null,e):null}function js(e,t){var n=Zn;return e.current.memoizedState.isDehydrated&&(It(e,t).flags|=256),e=Bi(e,t),e!==2&&(t=me,me=n,t!==null&&$s(t)),e}function $s(e){me===null?me=e:me.push.apply(me,e)}function Vh(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 i=n[r],o=i.getSnapshot;i=i.value;try{if(!He(o(),i))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 pt(e,t){for(t&=~Il,t&=~Gi,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-je(t),r=1<<n;e[n]=-1,t&=~r}}function ca(e){if(F&6)throw Error(E(327));pn();var t=vi(e,0);if(!(t&1))return we(e,K()),null;var n=Bi(e,t);if(e.tag!==0&&n===2){var r=ds(e);r!==0&&(t=r,n=js(e,r))}if(n===1)throw n=yr,It(e,0),pt(e,t),we(e,K()),n;if(n===6)throw Error(E(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Dt(e,me,Ze),we(e,K()),null}function jl(e,t){var n=F;F|=1;try{return e(t)}finally{F=n,F===0&&(En=K()+500,Ki&&Ot())}}function Wt(e){mt!==null&&mt.tag===0&&!(F&6)&&pn();var t=F;F|=1;var n=Le.transition,r=B;try{if(Le.transition=null,B=1,e)return e()}finally{B=r,Le.transition=n,F=t,!(F&6)&&Ot()}}function $l(){Ee=ln.current,M(ln)}function It(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,vh(n)),X!==null)for(n=X.return;n!==null;){var r=n;switch(El(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&_i();break;case 3:wn(),M(ge),M(ce),Pl();break;case 5:Ol(r);break;case 4:wn();break;case 13:M(V);break;case 19:M(V);break;case 10:Cl(r.type._context);break;case 22:case 23:$l()}n=n.return}if(ne=e,X=e=_t(e.current,null),ie=Ee=t,b=0,yr=null,Il=Gi=Ht=0,me=Zn=null,Ft!==null){for(t=0;t<Ft.length;t++)if(n=Ft[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,o=n.pending;if(o!==null){var s=o.next;o.next=i,r.next=s}n.pending=r}Ft=null}return e}function Ff(e,t){do{var n=X;try{if(xl(),br.current=Ai,Li){for(var r=H.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}Li=!1}if(Vt=0,te=Z=H=null,Jn=!1,pr=0,Ul.current=null,n===null||n.return===null){b=1,yr=t,X=null;break}e:{var o=e,s=n.return,l=n,u=t;if(t=ie,l.flags|=32768,u!==null&&typeof u=="object"&&typeof u.then=="function"){var a=u,c=l,p=c.tag;if(!(c.mode&1)&&(p===0||p===11||p===15)){var m=c.alternate;m?(c.updateQueue=m.updateQueue,c.memoizedState=m.memoizedState,c.lanes=m.lanes):(c.updateQueue=null,c.memoizedState=null)}var S=Gu(s);if(S!==null){S.flags&=-257,Zu(S,s,l,o,t),S.mode&1&&Ju(o,a,t),t=S,u=a;var g=t.updateQueue;if(g===null){var v=new Set;v.add(u),t.updateQueue=v}else g.add(u);break e}else{if(!(t&1)){Ju(o,a,t),Vl();break e}u=Error(E(426))}}else if($&&l.mode&1){var k=Gu(s);if(k!==null){!(k.flags&65536)&&(k.flags|=256),Zu(k,s,l,o,t),kl(Sn(u,l));break e}}o=u=Sn(u,l),b!==4&&(b=2),Zn===null?Zn=[o]:Zn.push(o),o=s;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var d=vf(o,u,t);Wu(o,d);break e;case 1:l=u;var f=o.type,h=o.stateNode;if(!(o.flags&128)&&(typeof f.getDerivedStateFromError=="function"||h!==null&&typeof h.componentDidCatch=="function"&&(Et===null||!Et.has(h)))){o.flags|=65536,t&=-t,o.lanes|=t;var w=wf(o,l,t);Wu(o,w);break e}}o=o.return}while(o!==null)}If(n)}catch(_){t=_,X===n&&n!==null&&(X=n=n.return);continue}break}while(1)}function Bf(){var e=Di.current;return Di.current=Ai,e===null?Ai:e}function Vl(){(b===0||b===3||b===2)&&(b=4),ne===null||!(Ht&268435455)&&!(Gi&268435455)||pt(ne,ie)}function Bi(e,t){var n=F;F|=2;var r=Bf();(ne!==e||ie!==t)&&(Ze=null,It(e,t));do try{Hh();break}catch(i){Ff(e,i)}while(1);if(xl(),F=n,Di.current=r,X!==null)throw Error(E(261));return ne=null,ie=0,b}function Hh(){for(;X!==null;)Uf(X)}function Wh(){for(;X!==null&&!mp();)Uf(X)}function Uf(e){var t=jf(e.alternate,e,Ee);e.memoizedProps=e.pendingProps,t===null?If(e):X=t,Ul.current=null}function If(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=Uh(n,t),n!==null){n.flags&=32767,X=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{b=6,X=null;return}}else if(n=Bh(n,t,Ee),n!==null){X=n;return}if(t=t.sibling,t!==null){X=t;return}X=t=e}while(t!==null);b===0&&(b=5)}function Dt(e,t,n){var r=B,i=Le.transition;try{Le.transition=null,B=1,qh(e,t,n,r)}finally{Le.transition=i,B=r}return null}function qh(e,t,n,r){do pn();while(mt!==null);if(F&6)throw Error(E(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(E(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(Cp(e,o),e===ne&&(X=ne=null,ie=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Hr||(Hr=!0,$f(gi,function(){return pn(),null})),o=(n.flags&15990)!==0,n.subtreeFlags&15990||o){o=Le.transition,Le.transition=null;var s=B;B=1;var l=F;F|=4,Ul.current=null,Mh(e,n),Af(n,e),fh(vs),wi=!!gs,vs=gs=null,e.current=n,jh(n),yp(),F=l,B=s,Le.transition=o}else e.current=n;if(Hr&&(Hr=!1,mt=e,Fi=i),o=e.pendingLanes,o===0&&(Et=null),wp(n.stateNode),we(e,K()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(zi)throw zi=!1,e=Is,Is=null,e;return Fi&1&&e.tag!==0&&pn(),o=e.pendingLanes,o&1?e===Ms?bn++:(bn=0,Ms=e):bn=0,Ot(),null}function pn(){if(mt!==null){var e=gc(Fi),t=Le.transition,n=B;try{if(Le.transition=null,B=16>e?16:e,mt===null)var r=!1;else{if(e=mt,mt=null,Fi=0,F&6)throw Error(E(331));var i=F;for(F|=4,C=e.current;C!==null;){var o=C,s=o.child;if(C.flags&16){var l=o.deletions;if(l!==null){for(var u=0;u<l.length;u++){var a=l[u];for(C=a;C!==null;){var c=C;switch(c.tag){case 0:case 11:case 15:Gn(8,c,o)}var p=c.child;if(p!==null)p.return=c,C=p;else for(;C!==null;){c=C;var m=c.sibling,S=c.return;if(Of(c),c===a){C=null;break}if(m!==null){m.return=S,C=m;break}C=S}}}var g=o.alternate;if(g!==null){var v=g.child;if(v!==null){g.child=null;do{var k=v.sibling;v.sibling=null,v=k}while(v!==null)}}C=o}}if(o.subtreeFlags&2064&&s!==null)s.return=o,C=s;else e:for(;C!==null;){if(o=C,o.flags&2048)switch(o.tag){case 0:case 11:case 15:Gn(9,o,o.return)}var d=o.sibling;if(d!==null){d.return=o.return,C=d;break e}C=o.return}}var f=e.current;for(C=f;C!==null;){s=C;var h=s.child;if(s.subtreeFlags&2064&&h!==null)h.return=s,C=h;else e:for(s=f;C!==null;){if(l=C,l.flags&2048)try{switch(l.tag){case 0:case 11:case 15:Ji(9,l)}}catch(_){q(l,l.return,_)}if(l===s){C=null;break e}var w=l.sibling;if(w!==null){w.return=l.return,C=w;break e}C=l.return}}if(F=i,Ot(),Ye&&typeof Ye.onPostCommitFiberRoot=="function")try{Ye.onPostCommitFiberRoot(Vi,e)}catch{}r=!0}return r}finally{B=n,Le.transition=t}}return!1}function fa(e,t,n){t=Sn(n,t),t=vf(e,t,1),e=St(e,t,1),t=de(),e!==null&&(wr(e,1,t),we(e,t))}function q(e,t,n){if(e.tag===3)fa(e,e,n);else for(;t!==null;){if(t.tag===3){fa(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Et===null||!Et.has(r))){e=Sn(n,e),e=wf(t,e,1),t=St(t,e,1),e=de(),t!==null&&(wr(t,1,e),we(t,e));break}}t=t.return}}function Qh(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=de(),e.pingedLanes|=e.suspendedLanes&n,ne===e&&(ie&n)===n&&(b===4||b===3&&(ie&130023424)===ie&&500>K()-Ml?It(e,0):Il|=n),we(e,t)}function Mf(e,t){t===0&&(e.mode&1?(t=Dr,Dr<<=1,!(Dr&130023424)&&(Dr=4194304)):t=1);var n=de();e=st(e,t),e!==null&&(wr(e,t,n),we(e,n))}function Kh(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Mf(e,n)}function Xh(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(E(314))}r!==null&&r.delete(t),Mf(e,n)}var jf;jf=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ge.current)ye=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return ye=!1,Fh(e,t,n);ye=!!(e.flags&131072)}else ye=!1,$&&t.flags&1048576&&Hc(t,Ri,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ti(e,t),e=t.pendingProps;var i=yn(t,ce.current);dn(t,n),i=Al(null,t,r,e,i,n);var o=Dl();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ve(r)?(o=!0,xi(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Tl(t),i.updater=Yi,t.stateNode=i,i._reactInternals=t,Ts(t,r,e,n),t=Ps(null,t,r,!0,o,n)):(t.tag=0,$&&o&&Sl(t),fe(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ti(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=Jh(r),e=Be(r,e),i){case 0:t=Os(null,t,r,e,n);break e;case 1:t=ta(null,t,r,e,n);break e;case 11:t=bu(null,t,r,e,n);break e;case 14:t=ea(null,t,r,Be(r.type,e),n);break e}throw Error(E(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Be(r,i),Os(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Be(r,i),ta(e,t,r,i,n);case 3:e:{if(_f(t),e===null)throw Error(E(387));r=t.pendingProps,o=t.memoizedState,i=o.element,Yc(e,t),Oi(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=Sn(Error(E(423)),t),t=na(e,t,r,n,i);break e}else if(r!==i){i=Sn(Error(E(424)),t),t=na(e,t,r,n,i);break e}else for(ke=wt(t.stateNode.containerInfo.firstChild),_e=t,$=!0,Me=null,n=Kc(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(gn(),r===i){t=lt(e,t,n);break e}fe(e,t,r,n)}t=t.child}return t;case 5:return Jc(t),e===null&&xs(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,ws(r,i)?s=null:o!==null&&ws(r,o)&&(t.flags|=32),kf(e,t),fe(e,t,s,n),t.child;case 6:return e===null&&xs(t),null;case 13:return xf(e,t,n);case 4:return Nl(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=vn(t,null,r,n):fe(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Be(r,i),bu(e,t,r,i,n);case 7:return fe(e,t,t.pendingProps,n),t.child;case 8:return fe(e,t,t.pendingProps.children,n),t.child;case 12:return fe(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,U(Ti,r._currentValue),r._currentValue=s,o!==null)if(He(o.value,s)){if(o.children===i.children&&!ge.current){t=lt(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var l=o.dependencies;if(l!==null){s=o.child;for(var u=l.firstContext;u!==null;){if(u.context===r){if(o.tag===1){u=rt(-1,n&-n),u.tag=2;var a=o.updateQueue;if(a!==null){a=a.shared;var c=a.pending;c===null?u.next=u:(u.next=c.next,c.next=u),a.pending=u}}o.lanes|=n,u=o.alternate,u!==null&&(u.lanes|=n),Cs(o.return,n,t),l.lanes|=n;break}u=u.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(E(341));s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),Cs(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}fe(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,dn(t,n),i=Ae(i),r=r(i),t.flags|=1,fe(e,t,r,n),t.child;case 14:return r=t.type,i=Be(r,t.pendingProps),i=Be(r.type,i),ea(e,t,r,i,n);case 15:return Sf(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Be(r,i),ti(e,t),t.tag=1,ve(r)?(e=!0,xi(t)):e=!1,dn(t,n),gf(t,r,i),Ts(t,r,i,n),Ps(null,t,r,!0,e,n);case 19:return Cf(e,t,n);case 22:return Ef(e,t,n)}throw Error(E(156,t.tag))};function $f(e,t){return pc(e,t)}function Yh(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 Pe(e,t,n,r){return new Yh(e,t,n,r)}function Hl(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Jh(e){if(typeof e=="function")return Hl(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ul)return 11;if(e===al)return 14}return 2}function _t(e,t){var n=e.alternate;return n===null?(n=Pe(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 ii(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")Hl(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Jt:return Mt(n.children,i,o,t);case ll:s=8,i|=8;break;case Go:return e=Pe(12,n,t,i|2),e.elementType=Go,e.lanes=o,e;case Zo:return e=Pe(13,n,t,i),e.elementType=Zo,e.lanes=o,e;case bo:return e=Pe(19,n,t,i),e.elementType=bo,e.lanes=o,e;case Ja:return Zi(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Xa:s=10;break e;case Ya:s=9;break e;case ul:s=11;break e;case al:s=14;break e;case ct:s=16,r=null;break e}throw Error(E(130,e==null?e:typeof e,""))}return t=Pe(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Mt(e,t,n,r){return e=Pe(7,e,r,t),e.lanes=n,e}function Zi(e,t,n,r){return e=Pe(22,e,r,t),e.elementType=Ja,e.lanes=n,e.stateNode={isHidden:!1},e}function jo(e,t,n){return e=Pe(6,e,null,t),e.lanes=n,e}function $o(e,t,n){return t=Pe(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Gh(e,t,n,r,i){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=Eo(0),this.expirationTimes=Eo(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Eo(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Wl(e,t,n,r,i,o,s,l,u){return e=new Gh(e,t,n,l,u),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Pe(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Tl(o),e}function Zh(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 Vf(e){if(!e)return Rt;e=e._reactInternals;e:{if(Kt(e)!==e||e.tag!==1)throw Error(E(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(ve(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(E(171))}if(e.tag===1){var n=e.type;if(ve(n))return $c(e,n,t)}return t}function Hf(e,t,n,r,i,o,s,l,u){return e=Wl(n,r,!0,e,i,o,s,l,u),e.context=Vf(null),n=e.current,r=de(),i=kt(n),o=rt(r,i),o.callback=t??null,St(n,o,i),e.current.lanes=i,wr(e,i,r),we(e,r),e}function bi(e,t,n,r){var i=t.current,o=de(),s=kt(i);return n=Vf(n),t.context===null?t.context=n:t.pendingContext=n,t=rt(o,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=St(i,t,s),e!==null&&($e(e,i,s,o),Zr(e,i,s)),s}function Ui(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 da(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function ql(e,t){da(e,t),(e=e.alternate)&&da(e,t)}function bh(){return null}var Wf=typeof reportError=="function"?reportError:function(e){console.error(e)};function Ql(e){this._internalRoot=e}eo.prototype.render=Ql.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(E(409));bi(e,t,null,null)};eo.prototype.unmount=Ql.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Wt(function(){bi(null,e,null,null)}),t[ot]=null}};function eo(e){this._internalRoot=e}eo.prototype.unstable_scheduleHydration=function(e){if(e){var t=Sc();e={blockedOn:null,target:e,priority:t};for(var n=0;n<dt.length&&t!==0&&t<dt[n].priority;n++);dt.splice(n,0,e),n===0&&kc(e)}};function Kl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function to(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function pa(){}function em(e,t,n,r,i){if(i){if(typeof r=="function"){var o=r;r=function(){var a=Ui(s);o.call(a)}}var s=Hf(t,r,e,0,null,!1,!1,"",pa);return e._reactRootContainer=s,e[ot]=s.current,ur(e.nodeType===8?e.parentNode:e),Wt(),s}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var l=r;r=function(){var a=Ui(u);l.call(a)}}var u=Wl(e,0,!1,null,null,!1,!1,"",pa);return e._reactRootContainer=u,e[ot]=u.current,ur(e.nodeType===8?e.parentNode:e),Wt(function(){bi(t,u,n,r)}),u}function no(e,t,n,r,i){var o=n._reactRootContainer;if(o){var s=o;if(typeof i=="function"){var l=i;i=function(){var u=Ui(s);l.call(u)}}bi(t,s,e,i)}else s=em(n,t,e,i,r);return Ui(s)}vc=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Vn(t.pendingLanes);n!==0&&(dl(t,n|1),we(t,K()),!(F&6)&&(En=K()+500,Ot()))}break;case 13:Wt(function(){var r=st(e,1);if(r!==null){var i=de();$e(r,e,1,i)}}),ql(e,1)}};pl=function(e){if(e.tag===13){var t=st(e,134217728);if(t!==null){var n=de();$e(t,e,134217728,n)}ql(e,134217728)}};wc=function(e){if(e.tag===13){var t=kt(e),n=st(e,t);if(n!==null){var r=de();$e(n,e,t,r)}ql(e,t)}};Sc=function(){return B};Ec=function(e,t){var n=B;try{return B=e,t()}finally{B=n}};as=function(e,t,n){switch(t){case"input":if(ns(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 i=Qi(r);if(!i)throw Error(E(90));Za(r),ns(r,i)}}}break;case"textarea":ec(e,n);break;case"select":t=n.value,t!=null&&un(e,!!n.multiple,t,!1)}};lc=jl;uc=Wt;var tm={usingClientEntryPoint:!1,Events:[Er,en,Qi,oc,sc,jl]},Un={findFiberByHostInstance:zt,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},nm={bundleType:Un.bundleType,version:Un.version,rendererPackageName:Un.rendererPackageName,rendererConfig:Un.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:ut.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=fc(e),e===null?null:e.stateNode},findFiberByHostInstance:Un.findFiberByHostInstance||bh,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Wr=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Wr.isDisabled&&Wr.supportsFiber)try{Vi=Wr.inject(nm),Ye=Wr}catch{}}Ce.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tm;Ce.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Kl(t))throw Error(E(200));return Zh(e,t,null,n)};Ce.createRoot=function(e,t){if(!Kl(e))throw Error(E(299));var n=!1,r="",i=Wf;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=Wl(e,1,!1,null,null,n,!1,r,i),e[ot]=t.current,ur(e.nodeType===8?e.parentNode:e),new Ql(t)};Ce.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(E(188)):(e=Object.keys(e).join(","),Error(E(268,e)));return e=fc(t),e=e===null?null:e.stateNode,e};Ce.flushSync=function(e){return Wt(e)};Ce.hydrate=function(e,t,n){if(!to(t))throw Error(E(200));return no(null,e,t,!0,n)};Ce.hydrateRoot=function(e,t,n){if(!Kl(e))throw Error(E(405));var r=n!=null&&n.hydratedSources||null,i=!1,o="",s=Wf;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=Hf(t,null,e,1,n??null,i,!1,o,s),e[ot]=t.current,ur(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new eo(t)};Ce.render=function(e,t,n){if(!to(t))throw Error(E(200));return no(null,e,t,!1,n)};Ce.unmountComponentAtNode=function(e){if(!to(e))throw Error(E(40));return e._reactRootContainer?(Wt(function(){no(null,null,e,!1,function(){e._reactRootContainer=null,e[ot]=null})}),!0):!1};Ce.unstable_batchedUpdates=jl;Ce.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!to(n))throw Error(E(200));if(e==null||e._reactInternals===void 0)throw Error(E(38));return no(e,t,n,!1,r)};Ce.version="18.3.1-next-f1338f8080-20240426";function qf(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(qf)}catch(e){console.error(e)}}qf(),Wa.exports=Ce;var rm=Wa.exports,ha=rm;Yo.createRoot=ha.createRoot,Yo.hydrateRoot=ha.hydrateRoot;function Qf(e,t){return function(){return e.apply(t,arguments)}}const{toString:im}=Object.prototype,{getPrototypeOf:Xl}=Object,{iterator:ro,toStringTag:Kf}=Symbol,io=(e=>t=>{const n=im.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),We=e=>(e=e.toLowerCase(),t=>io(t)===e),oo=e=>t=>typeof t===e,{isArray:Cn}=Array,gr=oo("undefined");function _r(e){return e!==null&&!gr(e)&&e.constructor!==null&&!gr(e.constructor)&&Se(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Xf=We("ArrayBuffer");function om(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Xf(e.buffer),t}const sm=oo("string"),Se=oo("function"),Yf=oo("number"),xr=e=>e!==null&&typeof e=="object",lm=e=>e===!0||e===!1,oi=e=>{if(io(e)!=="object")return!1;const t=Xl(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Kf in e)&&!(ro in e)},um=e=>{if(!xr(e)||_r(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},am=We("Date"),cm=We("File"),fm=We("Blob"),dm=We("FileList"),pm=e=>xr(e)&&Se(e.pipe),hm=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Se(e.append)&&((t=io(e))==="formdata"||t==="object"&&Se(e.toString)&&e.toString()==="[object FormData]"))},mm=We("URLSearchParams"),[ym,gm,vm,wm]=["ReadableStream","Request","Response","Headers"].map(We),Sm=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Cr(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),Cn(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{if(_r(e))return;const o=n?Object.getOwnPropertyNames(e):Object.keys(e),s=o.length;let l;for(r=0;r<s;r++)l=o[r],t.call(null,e[l],l,e)}}function Jf(e,t){if(_r(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r=n.length,i;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}const Ut=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Gf=e=>!gr(e)&&e!==Ut;function Vs(){const{caseless:e}=Gf(this)&&this||{},t={},n=(r,i)=>{const o=e&&Jf(t,i)||i;oi(t[o])&&oi(r)?t[o]=Vs(t[o],r):oi(r)?t[o]=Vs({},r):Cn(r)?t[o]=r.slice():t[o]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&Cr(arguments[r],n);return t}const Em=(e,t,n,{allOwnKeys:r}={})=>(Cr(t,(i,o)=>{n&&Se(i)?e[o]=Qf(i,n):e[o]=i},{allOwnKeys:r}),e),km=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),_m=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},xm=(e,t,n,r)=>{let i,o,s;const l={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)s=i[o],(!r||r(s,e,t))&&!l[s]&&(t[s]=e[s],l[s]=!0);e=n!==!1&&Xl(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Cm=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},Rm=e=>{if(!e)return null;if(Cn(e))return e;let t=e.length;if(!Yf(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Tm=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Xl(Uint8Array)),Nm=(e,t)=>{const r=(e&&e[ro]).call(e);let i;for(;(i=r.next())&&!i.done;){const o=i.value;t.call(e,o[0],o[1])}},Om=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Pm=We("HTMLFormElement"),Lm=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),ma=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Am=We("RegExp"),Zf=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Cr(n,(i,o)=>{let s;(s=t(i,o,e))!==!1&&(r[o]=s||i)}),Object.defineProperties(e,r)},Dm=e=>{Zf(e,(t,n)=>{if(Se(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Se(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},zm=(e,t)=>{const n={},r=i=>{i.forEach(o=>{n[o]=!0})};return Cn(e)?r(e):r(String(e).split(t)),n},Fm=()=>{},Bm=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function Um(e){return!!(e&&Se(e.append)&&e[Kf]==="FormData"&&e[ro])}const Im=e=>{const t=new Array(10),n=(r,i)=>{if(xr(r)){if(t.indexOf(r)>=0)return;if(_r(r))return r;if(!("toJSON"in r)){t[i]=r;const o=Cn(r)?[]:{};return Cr(r,(s,l)=>{const u=n(s,i+1);!gr(u)&&(o[l]=u)}),t[i]=void 0,o}}return r};return n(e,0)},Mm=We("AsyncFunction"),jm=e=>e&&(xr(e)||Se(e))&&Se(e.then)&&Se(e.catch),bf=((e,t)=>e?setImmediate:t?((n,r)=>(Ut.addEventListener("message",({source:i,data:o})=>{i===Ut&&o===n&&r.length&&r.shift()()},!1),i=>{r.push(i),Ut.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Se(Ut.postMessage)),$m=typeof queueMicrotask<"u"?queueMicrotask.bind(Ut):typeof process<"u"&&process.nextTick||bf,Vm=e=>e!=null&&Se(e[ro]),y={isArray:Cn,isArrayBuffer:Xf,isBuffer:_r,isFormData:hm,isArrayBufferView:om,isString:sm,isNumber:Yf,isBoolean:lm,isObject:xr,isPlainObject:oi,isEmptyObject:um,isReadableStream:ym,isRequest:gm,isResponse:vm,isHeaders:wm,isUndefined:gr,isDate:am,isFile:cm,isBlob:fm,isRegExp:Am,isFunction:Se,isStream:pm,isURLSearchParams:mm,isTypedArray:Tm,isFileList:dm,forEach:Cr,merge:Vs,extend:Em,trim:Sm,stripBOM:km,inherits:_m,toFlatObject:xm,kindOf:io,kindOfTest:We,endsWith:Cm,toArray:Rm,forEachEntry:Nm,matchAll:Om,isHTMLForm:Pm,hasOwnProperty:ma,hasOwnProp:ma,reduceDescriptors:Zf,freezeMethods:Dm,toObjectSet:zm,toCamelCase:Lm,noop:Fm,toFiniteNumber:Bm,findKey:Jf,global:Ut,isContextDefined:Gf,isSpecCompliantForm:Um,toJSONObject:Im,isAsyncFn:Mm,isThenable:jm,setImmediate:bf,asap:$m,isIterable:Vm};function O(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}y.inherits(O,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:y.toJSONObject(this.config),code:this.code,status:this.status}}});const ed=O.prototype,td={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{td[e]={value:e}});Object.defineProperties(O,td);Object.defineProperty(ed,"isAxiosError",{value:!0});O.from=(e,t,n,r,i,o)=>{const s=Object.create(ed);return y.toFlatObject(e,s,function(u){return u!==Error.prototype},l=>l!=="isAxiosError"),O.call(s,e.message,t,n,r,i),s.cause=e,s.name=e.name,o&&Object.assign(s,o),s};const Hm=null;function Hs(e){return y.isPlainObject(e)||y.isArray(e)}function nd(e){return y.endsWith(e,"[]")?e.slice(0,-2):e}function ya(e,t,n){return e?e.concat(t).map(function(i,o){return i=nd(i),!n&&o?"["+i+"]":i}).join(n?".":""):t}function Wm(e){return y.isArray(e)&&!e.some(Hs)}const qm=y.toFlatObject(y,{},null,function(t){return/^is[A-Z]/.test(t)});function so(e,t,n){if(!y.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=y.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(v,k){return!y.isUndefined(k[v])});const r=n.metaTokens,i=n.visitor||c,o=n.dots,s=n.indexes,u=(n.Blob||typeof Blob<"u"&&Blob)&&y.isSpecCompliantForm(t);if(!y.isFunction(i))throw new TypeError("visitor must be a function");function a(g){if(g===null)return"";if(y.isDate(g))return g.toISOString();if(y.isBoolean(g))return g.toString();if(!u&&y.isBlob(g))throw new O("Blob is not supported. Use a Buffer instead.");return y.isArrayBuffer(g)||y.isTypedArray(g)?u&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function c(g,v,k){let d=g;if(g&&!k&&typeof g=="object"){if(y.endsWith(v,"{}"))v=r?v:v.slice(0,-2),g=JSON.stringify(g);else if(y.isArray(g)&&Wm(g)||(y.isFileList(g)||y.endsWith(v,"[]"))&&(d=y.toArray(g)))return v=nd(v),d.forEach(function(h,w){!(y.isUndefined(h)||h===null)&&t.append(s===!0?ya([v],w,o):s===null?v:v+"[]",a(h))}),!1}return Hs(g)?!0:(t.append(ya(k,v,o),a(g)),!1)}const p=[],m=Object.assign(qm,{defaultVisitor:c,convertValue:a,isVisitable:Hs});function S(g,v){if(!y.isUndefined(g)){if(p.indexOf(g)!==-1)throw Error("Circular reference detected in "+v.join("."));p.push(g),y.forEach(g,function(d,f){(!(y.isUndefined(d)||d===null)&&i.call(t,d,y.isString(f)?f.trim():f,v,m))===!0&&S(d,v?v.concat(f):[f])}),p.pop()}}if(!y.isObject(e))throw new TypeError("data must be an object");return S(e),t}function ga(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Yl(e,t){this._pairs=[],e&&so(e,this,t)}const rd=Yl.prototype;rd.append=function(t,n){this._pairs.push([t,n])};rd.toString=function(t){const n=t?function(r){return t.call(this,r,ga)}:ga;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function Qm(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function id(e,t,n){if(!t)return e;const r=n&&n.encode||Qm;y.isFunction(n)&&(n={serialize:n});const i=n&&n.serialize;let o;if(i?o=i(t,n):o=y.isURLSearchParams(t)?t.toString():new Yl(t,n).toString(r),o){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Km{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){y.forEach(this.handlers,function(r){r!==null&&t(r)})}}const va=Km,od={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Xm=typeof URLSearchParams<"u"?URLSearchParams:Yl,Ym=typeof FormData<"u"?FormData:null,Jm=typeof Blob<"u"?Blob:null,Gm={isBrowser:!0,classes:{URLSearchParams:Xm,FormData:Ym,Blob:Jm},protocols:["http","https","file","blob","url","data"]},Jl=typeof window<"u"&&typeof document<"u",Ws=typeof navigator=="object"&&navigator||void 0,Zm=Jl&&(!Ws||["ReactNative","NativeScript","NS"].indexOf(Ws.product)<0),bm=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),ey=Jl&&window.location.href||"http://localhost",ty=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Jl,hasStandardBrowserEnv:Zm,hasStandardBrowserWebWorkerEnv:bm,navigator:Ws,origin:ey},Symbol.toStringTag,{value:"Module"})),ae={...ty,...Gm};function ny(e,t){return so(e,new ae.classes.URLSearchParams,{visitor:function(n,r,i,o){return ae.isNode&&y.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)},...t})}function ry(e){return y.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function iy(e){const t={},n=Object.keys(e);let r;const i=n.length;let o;for(r=0;r<i;r++)o=n[r],t[o]=e[o];return t}function sd(e){function t(n,r,i,o){let s=n[o++];if(s==="__proto__")return!0;const l=Number.isFinite(+s),u=o>=n.length;return s=!s&&y.isArray(i)?i.length:s,u?(y.hasOwnProp(i,s)?i[s]=[i[s],r]:i[s]=r,!l):((!i[s]||!y.isObject(i[s]))&&(i[s]=[]),t(n,r,i[s],o)&&y.isArray(i[s])&&(i[s]=iy(i[s])),!l)}if(y.isFormData(e)&&y.isFunction(e.entries)){const n={};return y.forEachEntry(e,(r,i)=>{t(ry(r),i,n,0)}),n}return null}function oy(e,t,n){if(y.isString(e))try{return(t||JSON.parse)(e),y.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Gl={transitional:od,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,o=y.isObject(t);if(o&&y.isHTMLForm(t)&&(t=new FormData(t)),y.isFormData(t))return i?JSON.stringify(sd(t)):t;if(y.isArrayBuffer(t)||y.isBuffer(t)||y.isStream(t)||y.isFile(t)||y.isBlob(t)||y.isReadableStream(t))return t;if(y.isArrayBufferView(t))return t.buffer;if(y.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return ny(t,this.formSerializer).toString();if((l=y.isFileList(t))||r.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return so(l?{"files[]":t}:t,u&&new u,this.formSerializer)}}return o||i?(n.setContentType("application/json",!1),oy(t)):t}],transformResponse:[function(t){const n=this.transitional||Gl.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(y.isResponse(t)||y.isReadableStream(t))return t;if(t&&y.isString(t)&&(r&&!this.responseType||i)){const s=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(l){if(s)throw l.name==="SyntaxError"?O.from(l,O.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ae.classes.FormData,Blob:ae.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};y.forEach(["delete","get","head","post","put","patch"],e=>{Gl.headers[e]={}});const Zl=Gl,sy=y.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),ly=e=>{const t={};let n,r,i;return e&&e.split(`
|
|
`).forEach(function(s){i=s.indexOf(":"),n=s.substring(0,i).trim().toLowerCase(),r=s.substring(i+1).trim(),!(!n||t[n]&&sy[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},wa=Symbol("internals");function In(e){return e&&String(e).trim().toLowerCase()}function si(e){return e===!1||e==null?e:y.isArray(e)?e.map(si):String(e)}function uy(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const ay=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Vo(e,t,n,r,i){if(y.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!y.isString(t)){if(y.isString(r))return t.indexOf(r)!==-1;if(y.isRegExp(r))return r.test(t)}}function cy(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function fy(e,t){const n=y.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,o,s){return this[r].call(this,t,i,o,s)},configurable:!0})})}class lo{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function o(l,u,a){const c=In(u);if(!c)throw new Error("header name must be a non-empty string");const p=y.findKey(i,c);(!p||i[p]===void 0||a===!0||a===void 0&&i[p]!==!1)&&(i[p||u]=si(l))}const s=(l,u)=>y.forEach(l,(a,c)=>o(a,c,u));if(y.isPlainObject(t)||t instanceof this.constructor)s(t,n);else if(y.isString(t)&&(t=t.trim())&&!ay(t))s(ly(t),n);else if(y.isObject(t)&&y.isIterable(t)){let l={},u,a;for(const c of t){if(!y.isArray(c))throw TypeError("Object iterator must return a key-value pair");l[a=c[0]]=(u=l[a])?y.isArray(u)?[...u,c[1]]:[u,c[1]]:c[1]}s(l,n)}else t!=null&&o(n,t,r);return this}get(t,n){if(t=In(t),t){const r=y.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return uy(i);if(y.isFunction(n))return n.call(this,i,r);if(y.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=In(t),t){const r=y.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Vo(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function o(s){if(s=In(s),s){const l=y.findKey(r,s);l&&(!n||Vo(r,r[l],l,n))&&(delete r[l],i=!0)}}return y.isArray(t)?t.forEach(o):o(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const o=n[r];(!t||Vo(this,this[o],o,t,!0))&&(delete this[o],i=!0)}return i}normalize(t){const n=this,r={};return y.forEach(this,(i,o)=>{const s=y.findKey(r,o);if(s){n[s]=si(i),delete n[o];return}const l=t?cy(o):String(o).trim();l!==o&&delete n[o],n[l]=si(i),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return y.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&y.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
|
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[wa]=this[wa]={accessors:{}}).accessors,i=this.prototype;function o(s){const l=In(s);r[l]||(fy(i,s),r[l]=!0)}return y.isArray(t)?t.forEach(o):o(t),this}}lo.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);y.reduceDescriptors(lo.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});y.freezeMethods(lo);const Ve=lo;function Ho(e,t){const n=this||Zl,r=t||n,i=Ve.from(r.headers);let o=r.data;return y.forEach(e,function(l){o=l.call(n,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function ld(e){return!!(e&&e.__CANCEL__)}function Rn(e,t,n){O.call(this,e??"canceled",O.ERR_CANCELED,t,n),this.name="CanceledError"}y.inherits(Rn,O,{__CANCEL__:!0});function ud(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new O("Request failed with status code "+n.status,[O.ERR_BAD_REQUEST,O.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function dy(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function py(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,o=0,s;return t=t!==void 0?t:1e3,function(u){const a=Date.now(),c=r[o];s||(s=a),n[i]=u,r[i]=a;let p=o,m=0;for(;p!==i;)m+=n[p++],p=p%e;if(i=(i+1)%e,i===o&&(o=(o+1)%e),a-s<t)return;const S=c&&a-c;return S?Math.round(m*1e3/S):void 0}}function hy(e,t){let n=0,r=1e3/t,i,o;const s=(a,c=Date.now())=>{n=c,i=null,o&&(clearTimeout(o),o=null),e(...a)};return[(...a)=>{const c=Date.now(),p=c-n;p>=r?s(a,c):(i=a,o||(o=setTimeout(()=>{o=null,s(i)},r-p)))},()=>i&&s(i)]}const Ii=(e,t,n=3)=>{let r=0;const i=py(50,250);return hy(o=>{const s=o.loaded,l=o.lengthComputable?o.total:void 0,u=s-r,a=i(u),c=s<=l;r=s;const p={loaded:s,total:l,progress:l?s/l:void 0,bytes:u,rate:a||void 0,estimated:a&&l&&c?(l-s)/a:void 0,event:o,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(p)},n)},Sa=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Ea=e=>(...t)=>y.asap(()=>e(...t)),my=ae.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,ae.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(ae.origin),ae.navigator&&/(msie|trident)/i.test(ae.navigator.userAgent)):()=>!0,yy=ae.hasStandardBrowserEnv?{write(e,t,n,r,i,o){const s=[e+"="+encodeURIComponent(t)];y.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),y.isString(r)&&s.push("path="+r),y.isString(i)&&s.push("domain="+i),o===!0&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function gy(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function vy(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function ad(e,t,n){let r=!gy(t);return e&&(r||n==!1)?vy(e,t):t}const ka=e=>e instanceof Ve?{...e}:e;function qt(e,t){t=t||{};const n={};function r(a,c,p,m){return y.isPlainObject(a)&&y.isPlainObject(c)?y.merge.call({caseless:m},a,c):y.isPlainObject(c)?y.merge({},c):y.isArray(c)?c.slice():c}function i(a,c,p,m){if(y.isUndefined(c)){if(!y.isUndefined(a))return r(void 0,a,p,m)}else return r(a,c,p,m)}function o(a,c){if(!y.isUndefined(c))return r(void 0,c)}function s(a,c){if(y.isUndefined(c)){if(!y.isUndefined(a))return r(void 0,a)}else return r(void 0,c)}function l(a,c,p){if(p in t)return r(a,c);if(p in e)return r(void 0,a)}const u={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l,headers:(a,c,p)=>i(ka(a),ka(c),p,!0)};return y.forEach(Object.keys({...e,...t}),function(c){const p=u[c]||i,m=p(e[c],t[c],c);y.isUndefined(m)&&p!==l||(n[c]=m)}),n}const cd=e=>{const t=qt({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:o,headers:s,auth:l}=t;t.headers=s=Ve.from(s),t.url=id(ad(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let u;if(y.isFormData(n)){if(ae.hasStandardBrowserEnv||ae.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if((u=s.getContentType())!==!1){const[a,...c]=u?u.split(";").map(p=>p.trim()).filter(Boolean):[];s.setContentType([a||"multipart/form-data",...c].join("; "))}}if(ae.hasStandardBrowserEnv&&(r&&y.isFunction(r)&&(r=r(t)),r||r!==!1&&my(t.url))){const a=i&&o&&yy.read(o);a&&s.set(i,a)}return t},wy=typeof XMLHttpRequest<"u",Sy=wy&&function(e){return new Promise(function(n,r){const i=cd(e);let o=i.data;const s=Ve.from(i.headers).normalize();let{responseType:l,onUploadProgress:u,onDownloadProgress:a}=i,c,p,m,S,g;function v(){S&&S(),g&&g(),i.cancelToken&&i.cancelToken.unsubscribe(c),i.signal&&i.signal.removeEventListener("abort",c)}let k=new XMLHttpRequest;k.open(i.method.toUpperCase(),i.url,!0),k.timeout=i.timeout;function d(){if(!k)return;const h=Ve.from("getAllResponseHeaders"in k&&k.getAllResponseHeaders()),_={data:!l||l==="text"||l==="json"?k.responseText:k.response,status:k.status,statusText:k.statusText,headers:h,config:e,request:k};ud(function(R){n(R),v()},function(R){r(R),v()},_),k=null}"onloadend"in k?k.onloadend=d:k.onreadystatechange=function(){!k||k.readyState!==4||k.status===0&&!(k.responseURL&&k.responseURL.indexOf("file:")===0)||setTimeout(d)},k.onabort=function(){k&&(r(new O("Request aborted",O.ECONNABORTED,e,k)),k=null)},k.onerror=function(){r(new O("Network Error",O.ERR_NETWORK,e,k)),k=null},k.ontimeout=function(){let w=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const _=i.transitional||od;i.timeoutErrorMessage&&(w=i.timeoutErrorMessage),r(new O(w,_.clarifyTimeoutError?O.ETIMEDOUT:O.ECONNABORTED,e,k)),k=null},o===void 0&&s.setContentType(null),"setRequestHeader"in k&&y.forEach(s.toJSON(),function(w,_){k.setRequestHeader(_,w)}),y.isUndefined(i.withCredentials)||(k.withCredentials=!!i.withCredentials),l&&l!=="json"&&(k.responseType=i.responseType),a&&([m,g]=Ii(a,!0),k.addEventListener("progress",m)),u&&k.upload&&([p,S]=Ii(u),k.upload.addEventListener("progress",p),k.upload.addEventListener("loadend",S)),(i.cancelToken||i.signal)&&(c=h=>{k&&(r(!h||h.type?new Rn(null,e,k):h),k.abort(),k=null)},i.cancelToken&&i.cancelToken.subscribe(c),i.signal&&(i.signal.aborted?c():i.signal.addEventListener("abort",c)));const f=dy(i.url);if(f&&ae.protocols.indexOf(f)===-1){r(new O("Unsupported protocol "+f+":",O.ERR_BAD_REQUEST,e));return}k.send(o||null)})},Ey=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,i;const o=function(a){if(!i){i=!0,l();const c=a instanceof Error?a:this.reason;r.abort(c instanceof O?c:new Rn(c instanceof Error?c.message:c))}};let s=t&&setTimeout(()=>{s=null,o(new O(`timeout ${t} of ms exceeded`,O.ETIMEDOUT))},t);const l=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(a=>{a.unsubscribe?a.unsubscribe(o):a.removeEventListener("abort",o)}),e=null)};e.forEach(a=>a.addEventListener("abort",o));const{signal:u}=r;return u.unsubscribe=()=>y.asap(l),u}},ky=Ey,_y=function*(e,t){let n=e.byteLength;if(!t||n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},xy=async function*(e,t){for await(const n of Cy(e))yield*_y(n,t)},Cy=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},_a=(e,t,n,r)=>{const i=xy(e,t);let o=0,s,l=u=>{s||(s=!0,r&&r(u))};return new ReadableStream({async pull(u){try{const{done:a,value:c}=await i.next();if(a){l(),u.close();return}let p=c.byteLength;if(n){let m=o+=p;n(m)}u.enqueue(new Uint8Array(c))}catch(a){throw l(a),a}},cancel(u){return l(u),i.return()}},{highWaterMark:2})},uo=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",fd=uo&&typeof ReadableStream=="function",Ry=uo&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),dd=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Ty=fd&&dd(()=>{let e=!1;const t=new Request(ae.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),xa=64*1024,qs=fd&&dd(()=>y.isReadableStream(new Response("").body)),Mi={stream:qs&&(e=>e.body)};uo&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Mi[t]&&(Mi[t]=y.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new O(`Response type '${t}' is not supported`,O.ERR_NOT_SUPPORT,r)})})})(new Response);const Ny=async e=>{if(e==null)return 0;if(y.isBlob(e))return e.size;if(y.isSpecCompliantForm(e))return(await new Request(ae.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(y.isArrayBufferView(e)||y.isArrayBuffer(e))return e.byteLength;if(y.isURLSearchParams(e)&&(e=e+""),y.isString(e))return(await Ry(e)).byteLength},Oy=async(e,t)=>{const n=y.toFiniteNumber(e.getContentLength());return n??Ny(t)},Py=uo&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:o,timeout:s,onDownloadProgress:l,onUploadProgress:u,responseType:a,headers:c,withCredentials:p="same-origin",fetchOptions:m}=cd(e);a=a?(a+"").toLowerCase():"text";let S=ky([i,o&&o.toAbortSignal()],s),g;const v=S&&S.unsubscribe&&(()=>{S.unsubscribe()});let k;try{if(u&&Ty&&n!=="get"&&n!=="head"&&(k=await Oy(c,r))!==0){let _=new Request(t,{method:"POST",body:r,duplex:"half"}),x;if(y.isFormData(r)&&(x=_.headers.get("content-type"))&&c.setContentType(x),_.body){const[R,N]=Sa(k,Ii(Ea(u)));r=_a(_.body,xa,R,N)}}y.isString(p)||(p=p?"include":"omit");const d="credentials"in Request.prototype;g=new Request(t,{...m,signal:S,method:n.toUpperCase(),headers:c.normalize().toJSON(),body:r,duplex:"half",credentials:d?p:void 0});let f=await fetch(g,m);const h=qs&&(a==="stream"||a==="response");if(qs&&(l||h&&v)){const _={};["status","statusText","headers"].forEach(j=>{_[j]=f[j]});const x=y.toFiniteNumber(f.headers.get("content-length")),[R,N]=l&&Sa(x,Ii(Ea(l),!0))||[];f=new Response(_a(f.body,xa,R,()=>{N&&N(),v&&v()}),_)}a=a||"text";let w=await Mi[y.findKey(Mi,a)||"text"](f,e);return!h&&v&&v(),await new Promise((_,x)=>{ud(_,x,{data:w,headers:Ve.from(f.headers),status:f.status,statusText:f.statusText,config:e,request:g})})}catch(d){throw v&&v(),d&&d.name==="TypeError"&&/Load failed|fetch/i.test(d.message)?Object.assign(new O("Network Error",O.ERR_NETWORK,e,g),{cause:d.cause||d}):O.from(d,d&&d.code,e,g)}}),Qs={http:Hm,xhr:Sy,fetch:Py};y.forEach(Qs,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Ca=e=>`- ${e}`,Ly=e=>y.isFunction(e)||e===null||e===!1,pd={getAdapter:e=>{e=y.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let o=0;o<t;o++){n=e[o];let s;if(r=n,!Ly(n)&&(r=Qs[(s=String(n)).toLowerCase()],r===void 0))throw new O(`Unknown adapter '${s}'`);if(r)break;i[s||"#"+o]=r}if(!r){const o=Object.entries(i).map(([l,u])=>`adapter ${l} `+(u===!1?"is not supported by the environment":"is not available in the build"));let s=t?o.length>1?`since :
|
|
`+o.map(Ca).join(`
|
|
`):" "+Ca(o[0]):"as no adapter specified";throw new O("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r},adapters:Qs};function Wo(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Rn(null,e)}function Ra(e){return Wo(e),e.headers=Ve.from(e.headers),e.data=Ho.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),pd.getAdapter(e.adapter||Zl.adapter)(e).then(function(r){return Wo(e),r.data=Ho.call(e,e.transformResponse,r),r.headers=Ve.from(r.headers),r},function(r){return ld(r)||(Wo(e),r&&r.response&&(r.response.data=Ho.call(e,e.transformResponse,r.response),r.response.headers=Ve.from(r.response.headers))),Promise.reject(r)})}const hd="1.11.0",ao={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ao[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Ta={};ao.transitional=function(t,n,r){function i(o,s){return"[Axios v"+hd+"] Transitional option '"+o+"'"+s+(r?". "+r:"")}return(o,s,l)=>{if(t===!1)throw new O(i(s," has been removed"+(n?" in "+n:"")),O.ERR_DEPRECATED);return n&&!Ta[s]&&(Ta[s]=!0,console.warn(i(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,s,l):!0}};ao.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function Ay(e,t,n){if(typeof e!="object")throw new O("options must be an object",O.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const o=r[i],s=t[o];if(s){const l=e[o],u=l===void 0||s(l,o,e);if(u!==!0)throw new O("option "+o+" must be "+u,O.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new O("Unknown option "+o,O.ERR_BAD_OPTION)}}const li={assertOptions:Ay,validators:ao},Qe=li.validators;class ji{constructor(t){this.defaults=t||{},this.interceptors={request:new va,response:new va}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i={};Error.captureStackTrace?Error.captureStackTrace(i):i=new Error;const o=i.stack?i.stack.replace(/^.+\n/,""):"";try{r.stack?o&&!String(r.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
|
`+o):r.stack=o}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=qt(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:o}=n;r!==void 0&&li.assertOptions(r,{silentJSONParsing:Qe.transitional(Qe.boolean),forcedJSONParsing:Qe.transitional(Qe.boolean),clarifyTimeoutError:Qe.transitional(Qe.boolean)},!1),i!=null&&(y.isFunction(i)?n.paramsSerializer={serialize:i}:li.assertOptions(i,{encode:Qe.function,serialize:Qe.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),li.assertOptions(n,{baseUrl:Qe.spelling("baseURL"),withXsrfToken:Qe.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=o&&y.merge(o.common,o[n.method]);o&&y.forEach(["delete","get","head","post","put","patch","common"],g=>{delete o[g]}),n.headers=Ve.concat(s,o);const l=[];let u=!0;this.interceptors.request.forEach(function(v){typeof v.runWhen=="function"&&v.runWhen(n)===!1||(u=u&&v.synchronous,l.unshift(v.fulfilled,v.rejected))});const a=[];this.interceptors.response.forEach(function(v){a.push(v.fulfilled,v.rejected)});let c,p=0,m;if(!u){const g=[Ra.bind(this),void 0];for(g.unshift(...l),g.push(...a),m=g.length,c=Promise.resolve(n);p<m;)c=c.then(g[p++],g[p++]);return c}m=l.length;let S=n;for(p=0;p<m;){const g=l[p++],v=l[p++];try{S=g(S)}catch(k){v.call(this,k);break}}try{c=Ra.call(this,S)}catch(g){return Promise.reject(g)}for(p=0,m=a.length;p<m;)c=c.then(a[p++],a[p++]);return c}getUri(t){t=qt(this.defaults,t);const n=ad(t.baseURL,t.url,t.allowAbsoluteUrls);return id(n,t.params,t.paramsSerializer)}}y.forEach(["delete","get","head","options"],function(t){ji.prototype[t]=function(n,r){return this.request(qt(r||{},{method:t,url:n,data:(r||{}).data}))}});y.forEach(["post","put","patch"],function(t){function n(r){return function(o,s,l){return this.request(qt(l||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:s}))}}ji.prototype[t]=n(),ji.prototype[t+"Form"]=n(!0)});const ui=ji;class bl{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(i=>{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](i);r._listeners=null}),this.promise.then=i=>{let o;const s=new Promise(l=>{r.subscribe(l),o=l}).then(i);return s.cancel=function(){r.unsubscribe(o)},s},t(function(o,s,l){r.reason||(r.reason=new Rn(o,s,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new bl(function(i){t=i}),cancel:t}}}const Dy=bl;function zy(e){return function(n){return e.apply(null,n)}}function Fy(e){return y.isObject(e)&&e.isAxiosError===!0}const Ks={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Ks).forEach(([e,t])=>{Ks[t]=e});const By=Ks;function md(e){const t=new ui(e),n=Qf(ui.prototype.request,t);return y.extend(n,ui.prototype,t,{allOwnKeys:!0}),y.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return md(qt(e,i))},n}const J=md(Zl);J.Axios=ui;J.CanceledError=Rn;J.CancelToken=Dy;J.isCancel=ld;J.VERSION=hd;J.toFormData=so;J.AxiosError=O;J.Cancel=J.CanceledError;J.all=function(t){return Promise.all(t)};J.spread=zy;J.isAxiosError=Fy;J.mergeConfig=qt;J.AxiosHeaders=Ve;J.formToJSON=e=>sd(y.isHTMLForm(e)?new FormData(e):e);J.getAdapter=pd.getAdapter;J.HttpStatusCode=By;J.default=J;const qo=J,Ge=Object.create(null);Ge.open="0";Ge.close="1";Ge.ping="2";Ge.pong="3";Ge.message="4";Ge.upgrade="5";Ge.noop="6";const ai=Object.create(null);Object.keys(Ge).forEach(e=>{ai[Ge[e]]=e});const Xs={type:"error",data:"parser error"},yd=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",gd=typeof ArrayBuffer=="function",vd=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,eu=({type:e,data:t},n,r)=>yd&&t instanceof Blob?n?r(t):Na(t,r):gd&&(t instanceof ArrayBuffer||vd(t))?n?r(t):Na(new Blob([t]),r):r(Ge[e]+(t||"")),Na=(e,t)=>{const n=new FileReader;return n.onload=function(){const r=n.result.split(",")[1];t("b"+(r||""))},n.readAsDataURL(e)};function Oa(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}let Qo;function Uy(e,t){if(yd&&e.data instanceof Blob)return e.data.arrayBuffer().then(Oa).then(t);if(gd&&(e.data instanceof ArrayBuffer||vd(e.data)))return t(Oa(e.data));eu(e,!1,n=>{Qo||(Qo=new TextEncoder),t(Qo.encode(n))})}const Pa="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Wn=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let e=0;e<Pa.length;e++)Wn[Pa.charCodeAt(e)]=e;const Iy=e=>{let t=e.length*.75,n=e.length,r,i=0,o,s,l,u;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);const a=new ArrayBuffer(t),c=new Uint8Array(a);for(r=0;r<n;r+=4)o=Wn[e.charCodeAt(r)],s=Wn[e.charCodeAt(r+1)],l=Wn[e.charCodeAt(r+2)],u=Wn[e.charCodeAt(r+3)],c[i++]=o<<2|s>>4,c[i++]=(s&15)<<4|l>>2,c[i++]=(l&3)<<6|u&63;return a},My=typeof ArrayBuffer=="function",tu=(e,t)=>{if(typeof e!="string")return{type:"message",data:wd(e,t)};const n=e.charAt(0);return n==="b"?{type:"message",data:jy(e.substring(1),t)}:ai[n]?e.length>1?{type:ai[n],data:e.substring(1)}:{type:ai[n]}:Xs},jy=(e,t)=>{if(My){const n=Iy(e);return wd(n,t)}else return{base64:!0,data:e}},wd=(e,t)=>{switch(t){case"blob":return e instanceof Blob?e:new Blob([e]);case"arraybuffer":default:return e instanceof ArrayBuffer?e:e.buffer}},Sd=String.fromCharCode(30),$y=(e,t)=>{const n=e.length,r=new Array(n);let i=0;e.forEach((o,s)=>{eu(o,!1,l=>{r[s]=l,++i===n&&t(r.join(Sd))})})},Vy=(e,t)=>{const n=e.split(Sd),r=[];for(let i=0;i<n.length;i++){const o=tu(n[i],t);if(r.push(o),o.type==="error")break}return r};function Hy(){return new TransformStream({transform(e,t){Uy(e,n=>{const r=n.length;let i;if(r<126)i=new Uint8Array(1),new DataView(i.buffer).setUint8(0,r);else if(r<65536){i=new Uint8Array(3);const o=new DataView(i.buffer);o.setUint8(0,126),o.setUint16(1,r)}else{i=new Uint8Array(9);const o=new DataView(i.buffer);o.setUint8(0,127),o.setBigUint64(1,BigInt(r))}e.data&&typeof e.data!="string"&&(i[0]|=128),t.enqueue(i),t.enqueue(n)})}})}let Ko;function qr(e){return e.reduce((t,n)=>t+n.length,0)}function Qr(e,t){if(e[0].length===t)return e.shift();const n=new Uint8Array(t);let r=0;for(let i=0;i<t;i++)n[i]=e[0][r++],r===e[0].length&&(e.shift(),r=0);return e.length&&r<e[0].length&&(e[0]=e[0].slice(r)),n}function Wy(e,t){Ko||(Ko=new TextDecoder);const n=[];let r=0,i=-1,o=!1;return new TransformStream({transform(s,l){for(n.push(s);;){if(r===0){if(qr(n)<1)break;const u=Qr(n,1);o=(u[0]&128)===128,i=u[0]&127,i<126?r=3:i===126?r=1:r=2}else if(r===1){if(qr(n)<2)break;const u=Qr(n,2);i=new DataView(u.buffer,u.byteOffset,u.length).getUint16(0),r=3}else if(r===2){if(qr(n)<8)break;const u=Qr(n,8),a=new DataView(u.buffer,u.byteOffset,u.length),c=a.getUint32(0);if(c>Math.pow(2,53-32)-1){l.enqueue(Xs);break}i=c*Math.pow(2,32)+a.getUint32(4),r=3}else{if(qr(n)<i)break;const u=Qr(n,i);l.enqueue(tu(o?u:Ko.decode(u),t)),r=0}if(i===0||i>e){l.enqueue(Xs);break}}}})}const Ed=4;function Y(e){if(e)return qy(e)}function qy(e){for(var t in Y.prototype)e[t]=Y.prototype[t];return e}Y.prototype.on=Y.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this};Y.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this};Y.prototype.off=Y.prototype.removeListener=Y.prototype.removeAllListeners=Y.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var n=this._callbacks["$"+e];if(!n)return this;if(arguments.length==1)return delete this._callbacks["$"+e],this;for(var r,i=0;i<n.length;i++)if(r=n[i],r===t||r.fn===t){n.splice(i,1);break}return n.length===0&&delete this._callbacks["$"+e],this};Y.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),n=this._callbacks["$"+e],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(n){n=n.slice(0);for(var r=0,i=n.length;r<i;++r)n[r].apply(this,t)}return this};Y.prototype.emitReserved=Y.prototype.emit;Y.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]};Y.prototype.hasListeners=function(e){return!!this.listeners(e).length};const co=(()=>typeof Promise=="function"&&typeof Promise.resolve=="function"?t=>Promise.resolve().then(t):(t,n)=>n(t,0))(),Oe=(()=>typeof self<"u"?self:typeof window<"u"?window:Function("return this")())(),Qy="arraybuffer";function kd(e,...t){return t.reduce((n,r)=>(e.hasOwnProperty(r)&&(n[r]=e[r]),n),{})}const Ky=Oe.setTimeout,Xy=Oe.clearTimeout;function fo(e,t){t.useNativeTimers?(e.setTimeoutFn=Ky.bind(Oe),e.clearTimeoutFn=Xy.bind(Oe)):(e.setTimeoutFn=Oe.setTimeout.bind(Oe),e.clearTimeoutFn=Oe.clearTimeout.bind(Oe))}const Yy=1.33;function Jy(e){return typeof e=="string"?Gy(e):Math.ceil((e.byteLength||e.size)*Yy)}function Gy(e){let t=0,n=0;for(let r=0,i=e.length;r<i;r++)t=e.charCodeAt(r),t<128?n+=1:t<2048?n+=2:t<55296||t>=57344?n+=3:(r++,n+=4);return n}function _d(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function Zy(e){let t="";for(let n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t}function by(e){let t={},n=e.split("&");for(let r=0,i=n.length;r<i;r++){let o=n[r].split("=");t[decodeURIComponent(o[0])]=decodeURIComponent(o[1])}return t}class eg extends Error{constructor(t,n,r){super(t),this.description=n,this.context=r,this.type="TransportError"}}class nu extends Y{constructor(t){super(),this.writable=!1,fo(this,t),this.opts=t,this.query=t.query,this.socket=t.socket,this.supportsBinary=!t.forceBase64}onError(t,n,r){return super.emitReserved("error",new eg(t,n,r)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(t){this.readyState==="open"&&this.write(t)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(t){const n=tu(t,this.socket.binaryType);this.onPacket(n)}onPacket(t){super.emitReserved("packet",t)}onClose(t){this.readyState="closed",super.emitReserved("close",t)}pause(t){}createUri(t,n={}){return t+"://"+this._hostname()+this._port()+this.opts.path+this._query(n)}_hostname(){const t=this.opts.hostname;return t.indexOf(":")===-1?t:"["+t+"]"}_port(){return this.opts.port&&(this.opts.secure&&+(this.opts.port!==443)||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(t){const n=Zy(t);return n.length?"?"+n:""}}class tg extends nu{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(t){this.readyState="pausing";const n=()=>{this.readyState="paused",t()};if(this._polling||!this.writable){let r=0;this._polling&&(r++,this.once("pollComplete",function(){--r||n()})),this.writable||(r++,this.once("drain",function(){--r||n()}))}else n()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(t){const n=r=>{if(this.readyState==="opening"&&r.type==="open"&&this.onOpen(),r.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(r)};Vy(t,this.socket.binaryType).forEach(n),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){const t=()=>{this.write([{type:"close"}])};this.readyState==="open"?t():this.once("open",t)}write(t){this.writable=!1,$y(t,n=>{this.doWrite(n,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const t=this.opts.secure?"https":"http",n=this.query||{};return this.opts.timestampRequests!==!1&&(n[this.opts.timestampParam]=_d()),!this.supportsBinary&&!n.sid&&(n.b64=1),this.createUri(t,n)}}let xd=!1;try{xd=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const ng=xd;function rg(){}class ig extends tg{constructor(t){if(super(t),typeof location<"u"){const n=location.protocol==="https:";let r=location.port;r||(r=n?"443":"80"),this.xd=typeof location<"u"&&t.hostname!==location.hostname||r!==t.port}}doWrite(t,n){const r=this.request({method:"POST",data:t});r.on("success",n),r.on("error",(i,o)=>{this.onError("xhr post error",i,o)})}doPoll(){const t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(n,r)=>{this.onError("xhr poll error",n,r)}),this.pollXhr=t}}let hn=class ci extends Y{constructor(t,n,r){super(),this.createRequest=t,fo(this,r),this._opts=r,this._method=r.method||"GET",this._uri=n,this._data=r.data!==void 0?r.data:null,this._create()}_create(){var t;const n=kd(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");n.xdomain=!!this._opts.xd;const r=this._xhr=this.createRequest(n);try{r.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){r.setDisableHeaderCheck&&r.setDisableHeaderCheck(!0);for(let i in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(i)&&r.setRequestHeader(i,this._opts.extraHeaders[i])}}catch{}if(this._method==="POST")try{r.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{r.setRequestHeader("Accept","*/*")}catch{}(t=this._opts.cookieJar)===null||t===void 0||t.addCookies(r),"withCredentials"in r&&(r.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(r.timeout=this._opts.requestTimeout),r.onreadystatechange=()=>{var i;r.readyState===3&&((i=this._opts.cookieJar)===null||i===void 0||i.parseCookies(r.getResponseHeader("set-cookie"))),r.readyState===4&&(r.status===200||r.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof r.status=="number"?r.status:0)},0))},r.send(this._data)}catch(i){this.setTimeoutFn(()=>{this._onError(i)},0);return}typeof document<"u"&&(this._index=ci.requestsCount++,ci.requests[this._index]=this)}_onError(t){this.emitReserved("error",t,this._xhr),this._cleanup(!0)}_cleanup(t){if(!(typeof this._xhr>"u"||this._xhr===null)){if(this._xhr.onreadystatechange=rg,t)try{this._xhr.abort()}catch{}typeof document<"u"&&delete ci.requests[this._index],this._xhr=null}}_onLoad(){const t=this._xhr.responseText;t!==null&&(this.emitReserved("data",t),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}};hn.requestsCount=0;hn.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",La);else if(typeof addEventListener=="function"){const e="onpagehide"in Oe?"pagehide":"unload";addEventListener(e,La,!1)}}function La(){for(let e in hn.requests)hn.requests.hasOwnProperty(e)&&hn.requests[e].abort()}const og=function(){const e=Cd({xdomain:!1});return e&&e.responseType!==null}();class sg extends ig{constructor(t){super(t);const n=t&&t.forceBase64;this.supportsBinary=og&&!n}request(t={}){return Object.assign(t,{xd:this.xd},this.opts),new hn(Cd,this.uri(),t)}}function Cd(e){const t=e.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!t||ng))return new XMLHttpRequest}catch{}if(!t)try{return new Oe[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}const Rd=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class lg extends nu{get name(){return"websocket"}doOpen(){const t=this.uri(),n=this.opts.protocols,r=Rd?{}:kd(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(r.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(t,n,r)}catch(i){return this.emitReserved("error",i)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=t=>this.onClose({description:"websocket connection closed",context:t}),this.ws.onmessage=t=>this.onData(t.data),this.ws.onerror=t=>this.onError("websocket error",t)}write(t){this.writable=!1;for(let n=0;n<t.length;n++){const r=t[n],i=n===t.length-1;eu(r,this.supportsBinary,o=>{try{this.doWrite(r,o)}catch{}i&&co(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){const t=this.opts.secure?"wss":"ws",n=this.query||{};return this.opts.timestampRequests&&(n[this.opts.timestampParam]=_d()),this.supportsBinary||(n.b64=1),this.createUri(t,n)}}const Xo=Oe.WebSocket||Oe.MozWebSocket;class ug extends lg{createSocket(t,n,r){return Rd?new Xo(t,n,r):n?new Xo(t,n):new Xo(t)}doWrite(t,n){this.ws.send(n)}}class ag extends nu{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(t){return this.emitReserved("error",t)}this._transport.closed.then(()=>{this.onClose()}).catch(t=>{this.onError("webtransport error",t)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(t=>{const n=Wy(Number.MAX_SAFE_INTEGER,this.socket.binaryType),r=t.readable.pipeThrough(n).getReader(),i=Hy();i.readable.pipeTo(t.writable),this._writer=i.writable.getWriter();const o=()=>{r.read().then(({done:l,value:u})=>{l||(this.onPacket(u),o())}).catch(l=>{})};o();const s={type:"open"};this.query.sid&&(s.data=`{"sid":"${this.query.sid}"}`),this._writer.write(s).then(()=>this.onOpen())})})}write(t){this.writable=!1;for(let n=0;n<t.length;n++){const r=t[n],i=n===t.length-1;this._writer.write(r).then(()=>{i&&co(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var t;(t=this._transport)===null||t===void 0||t.close()}}const cg={websocket:ug,webtransport:ag,polling:sg},fg=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,dg=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function Ys(e){if(e.length>8e3)throw"URI too long";const t=e,n=e.indexOf("["),r=e.indexOf("]");n!=-1&&r!=-1&&(e=e.substring(0,n)+e.substring(n,r).replace(/:/g,";")+e.substring(r,e.length));let i=fg.exec(e||""),o={},s=14;for(;s--;)o[dg[s]]=i[s]||"";return n!=-1&&r!=-1&&(o.source=t,o.host=o.host.substring(1,o.host.length-1).replace(/;/g,":"),o.authority=o.authority.replace("[","").replace("]","").replace(/;/g,":"),o.ipv6uri=!0),o.pathNames=pg(o,o.path),o.queryKey=hg(o,o.query),o}function pg(e,t){const n=/\/{2,9}/g,r=t.replace(n,"/").split("/");return(t.slice(0,1)=="/"||t.length===0)&&r.splice(0,1),t.slice(-1)=="/"&&r.splice(r.length-1,1),r}function hg(e,t){const n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(r,i,o){i&&(n[i]=o)}),n}const Js=typeof addEventListener=="function"&&typeof removeEventListener=="function",fi=[];Js&&addEventListener("offline",()=>{fi.forEach(e=>e())},!1);class xt extends Y{constructor(t,n){if(super(),this.binaryType=Qy,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,t&&typeof t=="object"&&(n=t,t=null),t){const r=Ys(t);n.hostname=r.host,n.secure=r.protocol==="https"||r.protocol==="wss",n.port=r.port,r.query&&(n.query=r.query)}else n.host&&(n.hostname=Ys(n.host).host);fo(this,n),this.secure=n.secure!=null?n.secure:typeof location<"u"&&location.protocol==="https:",n.hostname&&!n.port&&(n.port=this.secure?"443":"80"),this.hostname=n.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=n.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},n.transports.forEach(r=>{const i=r.prototype.name;this.transports.push(i),this._transportsByName[i]=r}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},n),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=by(this.opts.query)),Js&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},fi.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(t){const n=Object.assign({},this.opts.query);n.EIO=Ed,n.transport=t,this.id&&(n.sid=this.id);const r=Object.assign({},this.opts,{query:n,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[t]);return new this._transportsByName[t](r)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}const t=this.opts.rememberUpgrade&&xt.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";const n=this.createTransport(t);n.open(),this.setTransport(n)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",n=>this._onClose("transport close",n))}onOpen(){this.readyState="open",xt.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(t){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",t),this.emitReserved("heartbeat"),t.type){case"open":this.onHandshake(JSON.parse(t.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":const n=new Error("server error");n.code=t.data,this._onError(n);break;case"message":this.emitReserved("data",t.data),this.emitReserved("message",t.data);break}}onHandshake(t){this.emitReserved("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this._pingInterval=t.pingInterval,this._pingTimeout=t.pingTimeout,this._maxPayload=t.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const t=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+t,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},t),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const t=this._getWritablePackets();this.transport.send(t),this._prevBufferLen=t.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let n=1;for(let r=0;r<this.writeBuffer.length;r++){const i=this.writeBuffer[r].data;if(i&&(n+=Jy(i)),r>0&&n>this._maxPayload)return this.writeBuffer.slice(0,r);n+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const t=Date.now()>this._pingTimeoutTime;return t&&(this._pingTimeoutTime=0,co(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),t}write(t,n,r){return this._sendPacket("message",t,n,r),this}send(t,n,r){return this._sendPacket("message",t,n,r),this}_sendPacket(t,n,r,i){if(typeof n=="function"&&(i=n,n=void 0),typeof r=="function"&&(i=r,r=null),this.readyState==="closing"||this.readyState==="closed")return;r=r||{},r.compress=r.compress!==!1;const o={type:t,data:n,options:r};this.emitReserved("packetCreate",o),this.writeBuffer.push(o),i&&this.once("flush",i),this.flush()}close(){const t=()=>{this._onClose("forced close"),this.transport.close()},n=()=>{this.off("upgrade",n),this.off("upgradeError",n),t()},r=()=>{this.once("upgrade",n),this.once("upgradeError",n)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?r():t()}):this.upgrading?r():t()),this}_onError(t){if(xt.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",t),this._onClose("transport error",t)}_onClose(t,n){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing"){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),Js&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const r=fi.indexOf(this._offlineEventListener);r!==-1&&fi.splice(r,1)}this.readyState="closed",this.id=null,this.emitReserved("close",t,n),this.writeBuffer=[],this._prevBufferLen=0}}}xt.protocol=Ed;class mg extends xt{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let t=0;t<this._upgrades.length;t++)this._probe(this._upgrades[t])}_probe(t){let n=this.createTransport(t),r=!1;xt.priorWebsocketSuccess=!1;const i=()=>{r||(n.send([{type:"ping",data:"probe"}]),n.once("packet",p=>{if(!r)if(p.type==="pong"&&p.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;xt.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{r||this.readyState!=="closed"&&(c(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const m=new Error("probe error");m.transport=n.name,this.emitReserved("upgradeError",m)}}))};function o(){r||(r=!0,c(),n.close(),n=null)}const s=p=>{const m=new Error("probe error: "+p);m.transport=n.name,o(),this.emitReserved("upgradeError",m)};function l(){s("transport closed")}function u(){s("socket closed")}function a(p){n&&p.name!==n.name&&o()}const c=()=>{n.removeListener("open",i),n.removeListener("error",s),n.removeListener("close",l),this.off("close",u),this.off("upgrading",a)};n.once("open",i),n.once("error",s),n.once("close",l),this.once("close",u),this.once("upgrading",a),this._upgrades.indexOf("webtransport")!==-1&&t!=="webtransport"?this.setTimeoutFn(()=>{r||n.open()},200):n.open()}onHandshake(t){this._upgrades=this._filterUpgrades(t.upgrades),super.onHandshake(t)}_filterUpgrades(t){const n=[];for(let r=0;r<t.length;r++)~this.transports.indexOf(t[r])&&n.push(t[r]);return n}}let yg=class extends mg{constructor(t,n={}){const r=typeof t=="object"?t:n;(!r.transports||r.transports&&typeof r.transports[0]=="string")&&(r.transports=(r.transports||["polling","websocket","webtransport"]).map(i=>cg[i]).filter(i=>!!i)),super(t,r)}};function gg(e,t="",n){let r=e;n=n||typeof location<"u"&&location,e==null&&(e=n.protocol+"//"+n.host),typeof e=="string"&&(e.charAt(0)==="/"&&(e.charAt(1)==="/"?e=n.protocol+e:e=n.host+e),/^(https?|wss?):\/\//.test(e)||(typeof n<"u"?e=n.protocol+"//"+e:e="https://"+e),r=Ys(e)),r.port||(/^(http|ws)$/.test(r.protocol)?r.port="80":/^(http|ws)s$/.test(r.protocol)&&(r.port="443")),r.path=r.path||"/";const o=r.host.indexOf(":")!==-1?"["+r.host+"]":r.host;return r.id=r.protocol+"://"+o+":"+r.port+t,r.href=r.protocol+"://"+o+(n&&n.port===r.port?"":":"+r.port),r}const vg=typeof ArrayBuffer=="function",wg=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,Td=Object.prototype.toString,Sg=typeof Blob=="function"||typeof Blob<"u"&&Td.call(Blob)==="[object BlobConstructor]",Eg=typeof File=="function"||typeof File<"u"&&Td.call(File)==="[object FileConstructor]";function ru(e){return vg&&(e instanceof ArrayBuffer||wg(e))||Sg&&e instanceof Blob||Eg&&e instanceof File}function di(e,t){if(!e||typeof e!="object")return!1;if(Array.isArray(e)){for(let n=0,r=e.length;n<r;n++)if(di(e[n]))return!0;return!1}if(ru(e))return!0;if(e.toJSON&&typeof e.toJSON=="function"&&arguments.length===1)return di(e.toJSON(),!0);for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&di(e[n]))return!0;return!1}function kg(e){const t=[],n=e.data,r=e;return r.data=Gs(n,t),r.attachments=t.length,{packet:r,buffers:t}}function Gs(e,t){if(!e)return e;if(ru(e)){const n={_placeholder:!0,num:t.length};return t.push(e),n}else if(Array.isArray(e)){const n=new Array(e.length);for(let r=0;r<e.length;r++)n[r]=Gs(e[r],t);return n}else if(typeof e=="object"&&!(e instanceof Date)){const n={};for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=Gs(e[r],t));return n}return e}function _g(e,t){return e.data=Zs(e.data,t),delete e.attachments,e}function Zs(e,t){if(!e)return e;if(e&&e._placeholder===!0){if(typeof e.num=="number"&&e.num>=0&&e.num<t.length)return t[e.num];throw new Error("illegal attachments")}else if(Array.isArray(e))for(let n=0;n<e.length;n++)e[n]=Zs(e[n],t);else if(typeof e=="object")for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(e[n]=Zs(e[n],t));return e}const xg=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],Cg=5;var z;(function(e){e[e.CONNECT=0]="CONNECT",e[e.DISCONNECT=1]="DISCONNECT",e[e.EVENT=2]="EVENT",e[e.ACK=3]="ACK",e[e.CONNECT_ERROR=4]="CONNECT_ERROR",e[e.BINARY_EVENT=5]="BINARY_EVENT",e[e.BINARY_ACK=6]="BINARY_ACK"})(z||(z={}));class Rg{constructor(t){this.replacer=t}encode(t){return(t.type===z.EVENT||t.type===z.ACK)&&di(t)?this.encodeAsBinary({type:t.type===z.EVENT?z.BINARY_EVENT:z.BINARY_ACK,nsp:t.nsp,data:t.data,id:t.id}):[this.encodeAsString(t)]}encodeAsString(t){let n=""+t.type;return(t.type===z.BINARY_EVENT||t.type===z.BINARY_ACK)&&(n+=t.attachments+"-"),t.nsp&&t.nsp!=="/"&&(n+=t.nsp+","),t.id!=null&&(n+=t.id),t.data!=null&&(n+=JSON.stringify(t.data,this.replacer)),n}encodeAsBinary(t){const n=kg(t),r=this.encodeAsString(n.packet),i=n.buffers;return i.unshift(r),i}}function Aa(e){return Object.prototype.toString.call(e)==="[object Object]"}class iu extends Y{constructor(t){super(),this.reviver=t}add(t){let n;if(typeof t=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");n=this.decodeString(t);const r=n.type===z.BINARY_EVENT;r||n.type===z.BINARY_ACK?(n.type=r?z.EVENT:z.ACK,this.reconstructor=new Tg(n),n.attachments===0&&super.emitReserved("decoded",n)):super.emitReserved("decoded",n)}else if(ru(t)||t.base64)if(this.reconstructor)n=this.reconstructor.takeBinaryData(t),n&&(this.reconstructor=null,super.emitReserved("decoded",n));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+t)}decodeString(t){let n=0;const r={type:Number(t.charAt(0))};if(z[r.type]===void 0)throw new Error("unknown packet type "+r.type);if(r.type===z.BINARY_EVENT||r.type===z.BINARY_ACK){const o=n+1;for(;t.charAt(++n)!=="-"&&n!=t.length;);const s=t.substring(o,n);if(s!=Number(s)||t.charAt(n)!=="-")throw new Error("Illegal attachments");r.attachments=Number(s)}if(t.charAt(n+1)==="/"){const o=n+1;for(;++n&&!(t.charAt(n)===","||n===t.length););r.nsp=t.substring(o,n)}else r.nsp="/";const i=t.charAt(n+1);if(i!==""&&Number(i)==i){const o=n+1;for(;++n;){const s=t.charAt(n);if(s==null||Number(s)!=s){--n;break}if(n===t.length)break}r.id=Number(t.substring(o,n+1))}if(t.charAt(++n)){const o=this.tryParse(t.substr(n));if(iu.isPayloadValid(r.type,o))r.data=o;else throw new Error("invalid payload")}return r}tryParse(t){try{return JSON.parse(t,this.reviver)}catch{return!1}}static isPayloadValid(t,n){switch(t){case z.CONNECT:return Aa(n);case z.DISCONNECT:return n===void 0;case z.CONNECT_ERROR:return typeof n=="string"||Aa(n);case z.EVENT:case z.BINARY_EVENT:return Array.isArray(n)&&(typeof n[0]=="number"||typeof n[0]=="string"&&xg.indexOf(n[0])===-1);case z.ACK:case z.BINARY_ACK:return Array.isArray(n)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class Tg{constructor(t){this.packet=t,this.buffers=[],this.reconPack=t}takeBinaryData(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){const n=_g(this.reconPack,this.buffers);return this.finishedReconstruction(),n}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const Ng=Object.freeze(Object.defineProperty({__proto__:null,Decoder:iu,Encoder:Rg,get PacketType(){return z},protocol:Cg},Symbol.toStringTag,{value:"Module"}));function Ie(e,t,n){return e.on(t,n),function(){e.off(t,n)}}const Og=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class Nd extends Y{constructor(t,n,r){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=t,this.nsp=n,r&&r.auth&&(this.auth=r.auth),this._opts=Object.assign({},r),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const t=this.io;this.subs=[Ie(t,"open",this.onopen.bind(this)),Ie(t,"packet",this.onpacket.bind(this)),Ie(t,"error",this.onerror.bind(this)),Ie(t,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...t){return t.unshift("message"),this.emit.apply(this,t),this}emit(t,...n){var r,i,o;if(Og.hasOwnProperty(t))throw new Error('"'+t.toString()+'" is a reserved event name');if(n.unshift(t),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(n),this;const s={type:z.EVENT,data:n};if(s.options={},s.options.compress=this.flags.compress!==!1,typeof n[n.length-1]=="function"){const c=this.ids++,p=n.pop();this._registerAckCallback(c,p),s.id=c}const l=(i=(r=this.io.engine)===null||r===void 0?void 0:r.transport)===null||i===void 0?void 0:i.writable,u=this.connected&&!(!((o=this.io.engine)===null||o===void 0)&&o._hasPingExpired());return this.flags.volatile&&!l||(u?(this.notifyOutgoingListeners(s),this.packet(s)):this.sendBuffer.push(s)),this.flags={},this}_registerAckCallback(t,n){var r;const i=(r=this.flags.timeout)!==null&&r!==void 0?r:this._opts.ackTimeout;if(i===void 0){this.acks[t]=n;return}const o=this.io.setTimeoutFn(()=>{delete this.acks[t];for(let l=0;l<this.sendBuffer.length;l++)this.sendBuffer[l].id===t&&this.sendBuffer.splice(l,1);n.call(this,new Error("operation has timed out"))},i),s=(...l)=>{this.io.clearTimeoutFn(o),n.apply(this,l)};s.withError=!0,this.acks[t]=s}emitWithAck(t,...n){return new Promise((r,i)=>{const o=(s,l)=>s?i(s):r(l);o.withError=!0,n.push(o),this.emit(t,...n)})}_addToQueue(t){let n;typeof t[t.length-1]=="function"&&(n=t.pop());const r={id:this._queueSeq++,tryCount:0,pending:!1,args:t,flags:Object.assign({fromQueue:!0},this.flags)};t.push((i,...o)=>r!==this._queue[0]?void 0:(i!==null?r.tryCount>this._opts.retries&&(this._queue.shift(),n&&n(i)):(this._queue.shift(),n&&n(null,...o)),r.pending=!1,this._drainQueue())),this._queue.push(r),this._drainQueue()}_drainQueue(t=!1){if(!this.connected||this._queue.length===0)return;const n=this._queue[0];n.pending&&!t||(n.pending=!0,n.tryCount++,this.flags=n.flags,this.emit.apply(this,n.args))}packet(t){t.nsp=this.nsp,this.io._packet(t)}onopen(){typeof this.auth=="function"?this.auth(t=>{this._sendConnectPacket(t)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(t){this.packet({type:z.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},t):t})}onerror(t){this.connected||this.emitReserved("connect_error",t)}onclose(t,n){this.connected=!1,delete this.id,this.emitReserved("disconnect",t,n),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(t=>{if(!this.sendBuffer.some(r=>String(r.id)===t)){const r=this.acks[t];delete this.acks[t],r.withError&&r.call(this,new Error("socket has been disconnected"))}})}onpacket(t){if(t.nsp===this.nsp)switch(t.type){case z.CONNECT:t.data&&t.data.sid?this.onconnect(t.data.sid,t.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case z.EVENT:case z.BINARY_EVENT:this.onevent(t);break;case z.ACK:case z.BINARY_ACK:this.onack(t);break;case z.DISCONNECT:this.ondisconnect();break;case z.CONNECT_ERROR:this.destroy();const r=new Error(t.data.message);r.data=t.data.data,this.emitReserved("connect_error",r);break}}onevent(t){const n=t.data||[];t.id!=null&&n.push(this.ack(t.id)),this.connected?this.emitEvent(n):this.receiveBuffer.push(Object.freeze(n))}emitEvent(t){if(this._anyListeners&&this._anyListeners.length){const n=this._anyListeners.slice();for(const r of n)r.apply(this,t)}super.emit.apply(this,t),this._pid&&t.length&&typeof t[t.length-1]=="string"&&(this._lastOffset=t[t.length-1])}ack(t){const n=this;let r=!1;return function(...i){r||(r=!0,n.packet({type:z.ACK,id:t,data:i}))}}onack(t){const n=this.acks[t.id];typeof n=="function"&&(delete this.acks[t.id],n.withError&&t.data.unshift(null),n.apply(this,t.data))}onconnect(t,n){this.id=t,this.recovered=n&&this._pid===n,this._pid=n,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(t=>this.emitEvent(t)),this.receiveBuffer=[],this.sendBuffer.forEach(t=>{this.notifyOutgoingListeners(t),this.packet(t)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(t=>t()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:z.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(t),this}prependAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(t),this}offAny(t){if(!this._anyListeners)return this;if(t){const n=this._anyListeners;for(let r=0;r<n.length;r++)if(t===n[r])return n.splice(r,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(t),this}prependAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(t),this}offAnyOutgoing(t){if(!this._anyOutgoingListeners)return this;if(t){const n=this._anyOutgoingListeners;for(let r=0;r<n.length;r++)if(t===n[r])return n.splice(r,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(t){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const n=this._anyOutgoingListeners.slice();for(const r of n)r.apply(this,t.data)}}}function Tn(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}Tn.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=Math.floor(t*10)&1?e+n:e-n}return Math.min(e,this.max)|0};Tn.prototype.reset=function(){this.attempts=0};Tn.prototype.setMin=function(e){this.ms=e};Tn.prototype.setMax=function(e){this.max=e};Tn.prototype.setJitter=function(e){this.jitter=e};class bs extends Y{constructor(t,n){var r;super(),this.nsps={},this.subs=[],t&&typeof t=="object"&&(n=t,t=void 0),n=n||{},n.path=n.path||"/socket.io",this.opts=n,fo(this,n),this.reconnection(n.reconnection!==!1),this.reconnectionAttempts(n.reconnectionAttempts||1/0),this.reconnectionDelay(n.reconnectionDelay||1e3),this.reconnectionDelayMax(n.reconnectionDelayMax||5e3),this.randomizationFactor((r=n.randomizationFactor)!==null&&r!==void 0?r:.5),this.backoff=new Tn({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(n.timeout==null?2e4:n.timeout),this._readyState="closed",this.uri=t;const i=n.parser||Ng;this.encoder=new i.Encoder,this.decoder=new i.Decoder,this._autoConnect=n.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,t||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(t){return t===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}reconnectionDelay(t){var n;return t===void 0?this._reconnectionDelay:(this._reconnectionDelay=t,(n=this.backoff)===null||n===void 0||n.setMin(t),this)}randomizationFactor(t){var n;return t===void 0?this._randomizationFactor:(this._randomizationFactor=t,(n=this.backoff)===null||n===void 0||n.setJitter(t),this)}reconnectionDelayMax(t){var n;return t===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,(n=this.backoff)===null||n===void 0||n.setMax(t),this)}timeout(t){return arguments.length?(this._timeout=t,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(t){if(~this._readyState.indexOf("open"))return this;this.engine=new yg(this.uri,this.opts);const n=this.engine,r=this;this._readyState="opening",this.skipReconnect=!1;const i=Ie(n,"open",function(){r.onopen(),t&&t()}),o=l=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",l),t?t(l):this.maybeReconnectOnOpen()},s=Ie(n,"error",o);if(this._timeout!==!1){const l=this._timeout,u=this.setTimeoutFn(()=>{i(),o(new Error("timeout")),n.close()},l);this.opts.autoUnref&&u.unref(),this.subs.push(()=>{this.clearTimeoutFn(u)})}return this.subs.push(i),this.subs.push(s),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const t=this.engine;this.subs.push(Ie(t,"ping",this.onping.bind(this)),Ie(t,"data",this.ondata.bind(this)),Ie(t,"error",this.onerror.bind(this)),Ie(t,"close",this.onclose.bind(this)),Ie(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){try{this.decoder.add(t)}catch(n){this.onclose("parse error",n)}}ondecoded(t){co(()=>{this.emitReserved("packet",t)},this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,n){let r=this.nsps[t];return r?this._autoConnect&&!r.active&&r.connect():(r=new Nd(this,t,n),this.nsps[t]=r),r}_destroy(t){const n=Object.keys(this.nsps);for(const r of n)if(this.nsps[r].active)return;this._close()}_packet(t){const n=this.encoder.encode(t);for(let r=0;r<n.length;r++)this.engine.write(n[r],t.options)}cleanup(){this.subs.forEach(t=>t()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(t,n){var r;this.cleanup(),(r=this.engine)===null||r===void 0||r.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",t,n),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const n=this.backoff.duration();this._reconnecting=!0;const r=this.setTimeoutFn(()=>{t.skipReconnect||(this.emitReserved("reconnect_attempt",t.backoff.attempts),!t.skipReconnect&&t.open(i=>{i?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",i)):t.onreconnect()}))},n);this.opts.autoUnref&&r.unref(),this.subs.push(()=>{this.clearTimeoutFn(r)})}}onreconnect(){const t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}const Mn={};function pi(e,t){typeof e=="object"&&(t=e,e=void 0),t=t||{};const n=gg(e,t.path||"/socket.io"),r=n.source,i=n.id,o=n.path,s=Mn[i]&&o in Mn[i].nsps,l=t.forceNew||t["force new connection"]||t.multiplex===!1||s;let u;return l?u=new bs(r,t):(Mn[i]||(Mn[i]=new bs(r,t)),u=Mn[i]),n.query&&!t.query&&(t.query=n.queryKey),u.socket(n.path,t)}Object.assign(pi,{Manager:bs,Socket:Nd,io:pi,connect:pi});function Pg(){const[e,t]=be.useState([]),[n,r]=be.useState(!0),[i,o]=be.useState(""),[s,l]=be.useState({});be.useEffect(()=>{const c=pi("/");return console.log("Socket connected"),c.on("redeployStatus",async({stackId:p,status:m})=>{if(l(S=>({...S,[p]:m})),!m)try{const g=(await qo.get("/api/stacks")).data.sort((v,k)=>v.Name.localeCompare(k.Name));t(g)}catch(S){console.error("Fehler beim Aktualisieren des Status nach Redeploy:",S)}}),()=>c.disconnect()},[]);const u=async()=>{try{const p=(await qo.get("/api/stacks")).data.sort((m,S)=>m.Name.localeCompare(S.Name));t(p)}catch(c){console.error("❌ Fehler beim Abrufen der Stacks:",c),o("Fehler beim Laden der Stacks")}finally{r(!1)}};be.useEffect(()=>{u()},[]);const a=async c=>{l(p=>({...p,[c]:!0}));try{await qo.put(`/api/stacks/${c}/redeploy`)}catch(p){console.error("❌ Fehler beim Redeploy:",p),l(m=>({...m,[c]:!1}))}};return n?G.jsx("p",{className:"text-gray-400",children:"Lade Stacks..."}):i?G.jsx("p",{className:"text-red-400",children:i}):G.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 p-6",children:[e.map(c=>{const p=s[c.Id]||!1,m=c.updateStatus==="✅";return G.jsxs("div",{className:`flex justify-between items-center p-5 rounded-xl shadow-lg transition
|
|
${p?"bg-gray-700 cursor-not-allowed":"bg-gray-800 hover:bg-gray-700"}`,children:[G.jsxs("div",{className:"flex items-center space-x-4",children:[G.jsx("div",{className:`w-12 h-12 flex items-center justify-center rounded-full
|
|
${c.updateStatus==="✅"?"bg-green-500":c.updateStatus==="⚠️"?"bg-yellow-500":"bg-red-500"}`}),G.jsxs("div",{children:[G.jsx("p",{className:"text-lg font-semibold text-white",children:c.Name}),G.jsxs("p",{className:"text-sm text-gray-400",children:["ID: ",c.Id]})]})]}),!m&&G.jsx("button",{onClick:()=>a(c.Id),disabled:p,className:`px-5 py-2 rounded-lg font-medium transition
|
|
${p?"bg-orange-500 cursor-not-allowed":"bg-blue-500 hover:bg-blue-600"}`,children:p?"Redeploying":"Redeploy"})]},c.Id)}),e.length===0&&G.jsx("p",{className:"text-gray-400",children:"Keine Stacks gefunden."})]})}function Lg(){return G.jsxs("div",{className:"min-h-screen bg-gray-900 text-white",children:[G.jsxs("header",{className:"p-6 bg-gray-800 shadow-md",children:[G.jsx("h1",{className:"text-2xl font-bold text-white",children:"StackPulse"}),G.jsx("p",{className:"text-gray-400 mt-1",children:"Verwalte deine Docker Stacks"})]}),G.jsx("main",{className:"p-6",children:G.jsx(Pg,{})})]})}Yo.createRoot(document.getElementById("root")).render(G.jsx(Qd.StrictMode,{children:G.jsx(Lg,{})}));
|