projax 3.3.29 → 3.3.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,62 @@
1
+ (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 l of o.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).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 qa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Td(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var eu={exports:{}},Ii={},tu={exports:{}},F={};/**
2
+ * @license React
3
+ * react.production.min.js
4
+ *
5
+ * Copyright (c) Facebook, Inc. and its affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */var Er=Symbol.for("react.element"),Md=Symbol.for("react.portal"),Ld=Symbol.for("react.fragment"),Od=Symbol.for("react.strict_mode"),Id=Symbol.for("react.profiler"),Ad=Symbol.for("react.provider"),Fd=Symbol.for("react.context"),Wd=Symbol.for("react.forward_ref"),Ud=Symbol.for("react.suspense"),Hd=Symbol.for("react.memo"),Bd=Symbol.for("react.lazy"),Is=Symbol.iterator;function $d(e){return e===null||typeof e!="object"?null:(e=Is&&e[Is]||e["@@iterator"],typeof e=="function"?e:null)}var nu={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ru=Object.assign,iu={};function In(e,t,n){this.props=e,this.context=t,this.refs=iu,this.updater=n||nu}In.prototype.isReactComponent={};In.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")};In.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function ou(){}ou.prototype=In.prototype;function _l(e,t,n){this.props=e,this.context=t,this.refs=iu,this.updater=n||nu}var jl=_l.prototype=new ou;jl.constructor=_l;ru(jl,In.prototype);jl.isPureReactComponent=!0;var As=Array.isArray,lu=Object.prototype.hasOwnProperty,Rl={current:null},su={key:!0,ref:!0,__self:!0,__source:!0};function au(e,t,n){var r,i={},o=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(o=""+t.key),t)lu.call(t,r)&&!su.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(s===1)i.children=n;else if(1<s){for(var a=Array(s),u=0;u<s;u++)a[u]=arguments[u+2];i.children=a}if(e&&e.defaultProps)for(r in s=e.defaultProps,s)i[r]===void 0&&(i[r]=s[r]);return{$$typeof:Er,type:e,key:o,ref:l,props:i,_owner:Rl.current}}function Vd(e,t){return{$$typeof:Er,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Dl(e){return typeof e=="object"&&e!==null&&e.$$typeof===Er}function Xd(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Fs=/\/+/g;function ro(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Xd(""+e.key):t.toString(36)}function ei(e,t,n,r,i){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var l=!1;if(e===null)l=!0;else switch(o){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case Er:case Md:l=!0}}if(l)return l=e,i=i(l),e=r===""?"."+ro(l,0):r,As(i)?(n="",e!=null&&(n=e.replace(Fs,"$&/")+"/"),ei(i,t,n,"",function(u){return u})):i!=null&&(Dl(i)&&(i=Vd(i,n+(!i.key||l&&l.key===i.key?"":(""+i.key).replace(Fs,"$&/")+"/")+e)),t.push(i)),1;if(l=0,r=r===""?".":r+":",As(e))for(var s=0;s<e.length;s++){o=e[s];var a=r+ro(o,s);l+=ei(o,t,n,a,i)}else if(a=$d(e),typeof a=="function")for(e=a.call(e),s=0;!(o=e.next()).done;)o=o.value,a=r+ro(o,s++),l+=ei(o,t,n,a,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 l}function Tr(e,t,n){if(e==null)return e;var r=[],i=0;return ei(e,r,"","",function(o){return t.call(n,o,i++)}),r}function Qd(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 ze={current:null},ti={transition:null},Yd={ReactCurrentDispatcher:ze,ReactCurrentBatchConfig:ti,ReactCurrentOwner:Rl};function uu(){throw Error("act(...) is not supported in production builds of React.")}F.Children={map:Tr,forEach:function(e,t,n){Tr(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Tr(e,function(){t++}),t},toArray:function(e){return Tr(e,function(t){return t})||[]},only:function(e){if(!Dl(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};F.Component=In;F.Fragment=Ld;F.Profiler=Id;F.PureComponent=_l;F.StrictMode=Od;F.Suspense=Ud;F.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Yd;F.act=uu;F.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=ru({},e.props),i=e.key,o=e.ref,l=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,l=Rl.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(a in t)lu.call(t,a)&&!su.hasOwnProperty(a)&&(r[a]=t[a]===void 0&&s!==void 0?s[a]:t[a])}var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){s=Array(a);for(var u=0;u<a;u++)s[u]=arguments[u+2];r.children=s}return{$$typeof:Er,type:e.type,key:i,ref:o,props:r,_owner:l}};F.createContext=function(e){return e={$$typeof:Fd,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Ad,_context:e},e.Consumer=e};F.createElement=au;F.createFactory=function(e){var t=au.bind(null,e);return t.type=e,t};F.createRef=function(){return{current:null}};F.forwardRef=function(e){return{$$typeof:Wd,render:e}};F.isValidElement=Dl;F.lazy=function(e){return{$$typeof:Bd,_payload:{_status:-1,_result:e},_init:Qd}};F.memo=function(e,t){return{$$typeof:Hd,type:e,compare:t===void 0?null:t}};F.startTransition=function(e){var t=ti.transition;ti.transition={};try{e()}finally{ti.transition=t}};F.unstable_act=uu;F.useCallback=function(e,t){return ze.current.useCallback(e,t)};F.useContext=function(e){return ze.current.useContext(e)};F.useDebugValue=function(){};F.useDeferredValue=function(e){return ze.current.useDeferredValue(e)};F.useEffect=function(e,t){return ze.current.useEffect(e,t)};F.useId=function(){return ze.current.useId()};F.useImperativeHandle=function(e,t,n){return ze.current.useImperativeHandle(e,t,n)};F.useInsertionEffect=function(e,t){return ze.current.useInsertionEffect(e,t)};F.useLayoutEffect=function(e,t){return ze.current.useLayoutEffect(e,t)};F.useMemo=function(e,t){return ze.current.useMemo(e,t)};F.useReducer=function(e,t,n){return ze.current.useReducer(e,t,n)};F.useRef=function(e){return ze.current.useRef(e)};F.useState=function(e){return ze.current.useState(e)};F.useSyncExternalStore=function(e,t,n){return ze.current.useSyncExternalStore(e,t,n)};F.useTransition=function(){return ze.current.useTransition()};F.version="18.3.1";tu.exports=F;var R=tu.exports;const Tl=qa(R);/**
10
+ * @license React
11
+ * react-jsx-runtime.production.min.js
12
+ *
13
+ * Copyright (c) Facebook, Inc. and its affiliates.
14
+ *
15
+ * This source code is licensed under the MIT license found in the
16
+ * LICENSE file in the root directory of this source tree.
17
+ */var Kd=R,Gd=Symbol.for("react.element"),Zd=Symbol.for("react.fragment"),Jd=Object.prototype.hasOwnProperty,bd=Kd.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,qd={key:!0,ref:!0,__self:!0,__source:!0};function cu(e,t,n){var r,i={},o=null,l=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(l=t.ref);for(r in t)Jd.call(t,r)&&!qd.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:Gd,type:e,key:o,ref:l,props:i,_owner:bd.current}}Ii.Fragment=Zd;Ii.jsx=cu;Ii.jsxs=cu;eu.exports=Ii;var f=eu.exports,Lo={},du={exports:{}},Be={},fu={exports:{}},pu={};/**
18
+ * @license React
19
+ * scheduler.production.min.js
20
+ *
21
+ * Copyright (c) Facebook, Inc. and its affiliates.
22
+ *
23
+ * This source code is licensed under the MIT license found in the
24
+ * LICENSE file in the root directory of this source tree.
25
+ */(function(e){function t(j,z){var k=j.length;j.push(z);e:for(;0<k;){var L=k-1>>>1,I=j[L];if(0<i(I,z))j[L]=z,j[k]=I,k=L;else break e}}function n(j){return j.length===0?null:j[0]}function r(j){if(j.length===0)return null;var z=j[0],k=j.pop();if(k!==z){j[0]=k;e:for(var L=0,I=j.length,te=I>>>1;L<te;){var ne=2*(L+1)-1,je=j[ne],fe=ne+1,sn=j[fe];if(0>i(je,k))fe<I&&0>i(sn,je)?(j[L]=sn,j[fe]=k,L=fe):(j[L]=je,j[ne]=k,L=ne);else if(fe<I&&0>i(sn,k))j[L]=sn,j[fe]=k,L=fe;else break e}}return z}function i(j,z){var k=j.sortIndex-z.sortIndex;return k!==0?k:j.id-z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var l=Date,s=l.now();e.unstable_now=function(){return l.now()-s}}var a=[],u=[],g=1,h=null,m=3,w=!1,x=!1,y=!1,D=typeof setTimeout=="function"?setTimeout:null,p=typeof clearTimeout=="function"?clearTimeout:null,c=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function d(j){for(var z=n(u);z!==null;){if(z.callback===null)r(u);else if(z.startTime<=j)r(u),z.sortIndex=z.expirationTime,t(a,z);else break;z=n(u)}}function v(j){if(y=!1,d(j),!x)if(n(a)!==null)x=!0,X(S);else{var z=n(u);z!==null&&de(v,z.startTime-j)}}function S(j,z){x=!1,y&&(y=!1,p(_),_=-1),w=!0;var k=m;try{for(d(z),h=n(a);h!==null&&(!(h.expirationTime>z)||j&&!W());){var L=h.callback;if(typeof L=="function"){h.callback=null,m=h.priorityLevel;var I=L(h.expirationTime<=z);z=e.unstable_now(),typeof I=="function"?h.callback=I:h===n(a)&&r(a),d(z)}else r(a);h=n(a)}if(h!==null)var te=!0;else{var ne=n(u);ne!==null&&de(v,ne.startTime-z),te=!1}return te}finally{h=null,m=k,w=!1}}var P=!1,N=null,_=-1,O=5,M=-1;function W(){return!(e.unstable_now()-M<O)}function U(){if(N!==null){var j=e.unstable_now();M=j;var z=!0;try{z=N(!0,j)}finally{z?V():(P=!1,N=null)}}else P=!1}var V;if(typeof c=="function")V=function(){c(U)};else if(typeof MessageChannel<"u"){var ge=new MessageChannel,ve=ge.port2;ge.port1.onmessage=U,V=function(){ve.postMessage(null)}}else V=function(){D(U,0)};function X(j){N=j,P||(P=!0,V())}function de(j,z){_=D(function(){j(e.unstable_now())},z)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(j){j.callback=null},e.unstable_continueExecution=function(){x||w||(x=!0,X(S))},e.unstable_forceFrameRate=function(j){0>j||125<j?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):O=0<j?Math.floor(1e3/j):5},e.unstable_getCurrentPriorityLevel=function(){return m},e.unstable_getFirstCallbackNode=function(){return n(a)},e.unstable_next=function(j){switch(m){case 1:case 2:case 3:var z=3;break;default:z=m}var k=m;m=z;try{return j()}finally{m=k}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(j,z){switch(j){case 1:case 2:case 3:case 4:case 5:break;default:j=3}var k=m;m=j;try{return z()}finally{m=k}},e.unstable_scheduleCallback=function(j,z,k){var L=e.unstable_now();switch(typeof k=="object"&&k!==null?(k=k.delay,k=typeof k=="number"&&0<k?L+k:L):k=L,j){case 1:var I=-1;break;case 2:I=250;break;case 5:I=1073741823;break;case 4:I=1e4;break;default:I=5e3}return I=k+I,j={id:g++,callback:z,priorityLevel:j,startTime:k,expirationTime:I,sortIndex:-1},k>L?(j.sortIndex=k,t(u,j),n(a)===null&&j===n(u)&&(y?(p(_),_=-1):y=!0,de(v,k-L))):(j.sortIndex=I,t(a,j),x||w||(x=!0,X(S))),j},e.unstable_shouldYield=W,e.unstable_wrapCallback=function(j){var z=m;return function(){var k=m;m=z;try{return j.apply(this,arguments)}finally{m=k}}}})(pu);fu.exports=pu;var ef=fu.exports;/**
26
+ * @license React
27
+ * react-dom.production.min.js
28
+ *
29
+ * Copyright (c) Facebook, Inc. and its affiliates.
30
+ *
31
+ * This source code is licensed under the MIT license found in the
32
+ * LICENSE file in the root directory of this source tree.
33
+ */var tf=R,He=ef;function C(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 hu=new Set,sr={};function rn(e,t){jn(e,t),jn(e+"Capture",t)}function jn(e,t){for(sr[e]=t,e=0;e<t.length;e++)hu.add(t[e])}var vt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Oo=Object.prototype.hasOwnProperty,nf=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Ws={},Us={};function rf(e){return Oo.call(Us,e)?!0:Oo.call(Ws,e)?!1:nf.test(e)?Us[e]=!0:(Ws[e]=!0,!1)}function of(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 lf(e,t,n,r){if(t===null||typeof t>"u"||of(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 _e(e,t,n,r,i,o,l){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=l}var me={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){me[e]=new _e(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];me[t]=new _e(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){me[e]=new _e(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){me[e]=new _e(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){me[e]=new _e(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){me[e]=new _e(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){me[e]=new _e(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){me[e]=new _e(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){me[e]=new _e(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ml=/[\-:]([a-z])/g;function Ll(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(Ml,Ll);me[t]=new _e(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(Ml,Ll);me[t]=new _e(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(Ml,Ll);me[t]=new _e(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){me[e]=new _e(e,1,!1,e.toLowerCase(),null,!1,!1)});me.xlinkHref=new _e("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){me[e]=new _e(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ol(e,t,n,r){var i=me.hasOwnProperty(t)?me[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(lf(t,n,i,r)&&(n=null),r||i===null?rf(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 xt=tf.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Mr=Symbol.for("react.element"),cn=Symbol.for("react.portal"),dn=Symbol.for("react.fragment"),Il=Symbol.for("react.strict_mode"),Io=Symbol.for("react.profiler"),mu=Symbol.for("react.provider"),gu=Symbol.for("react.context"),Al=Symbol.for("react.forward_ref"),Ao=Symbol.for("react.suspense"),Fo=Symbol.for("react.suspense_list"),Fl=Symbol.for("react.memo"),Ct=Symbol.for("react.lazy"),vu=Symbol.for("react.offscreen"),Hs=Symbol.iterator;function Wn(e){return e===null||typeof e!="object"?null:(e=Hs&&e[Hs]||e["@@iterator"],typeof e=="function"?e:null)}var b=Object.assign,io;function Kn(e){if(io===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);io=t&&t[1]||""}return`
34
+ `+io+e}var oo=!1;function lo(e,t){if(!e||oo)return"";oo=!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(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var i=u.stack.split(`
35
+ `),o=r.stack.split(`
36
+ `),l=i.length-1,s=o.length-1;1<=l&&0<=s&&i[l]!==o[s];)s--;for(;1<=l&&0<=s;l--,s--)if(i[l]!==o[s]){if(l!==1||s!==1)do if(l--,s--,0>s||i[l]!==o[s]){var a=`
37
+ `+i[l].replace(" at new "," at ");return e.displayName&&a.includes("<anonymous>")&&(a=a.replace("<anonymous>",e.displayName)),a}while(1<=l&&0<=s);break}}}finally{oo=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Kn(e):""}function sf(e){switch(e.tag){case 5:return Kn(e.type);case 16:return Kn("Lazy");case 13:return Kn("Suspense");case 19:return Kn("SuspenseList");case 0:case 2:case 15:return e=lo(e.type,!1),e;case 11:return e=lo(e.type.render,!1),e;case 1:return e=lo(e.type,!0),e;default:return""}}function Wo(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case dn:return"Fragment";case cn:return"Portal";case Io:return"Profiler";case Il:return"StrictMode";case Ao:return"Suspense";case Fo:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case gu:return(e.displayName||"Context")+".Consumer";case mu:return(e._context.displayName||"Context")+".Provider";case Al:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Fl:return t=e.displayName||null,t!==null?t:Wo(e.type)||"Memo";case Ct:t=e._payload,e=e._init;try{return Wo(e(t))}catch{}}return null}function af(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 Wo(t);case 8:return t===Il?"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 Ut(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function yu(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function uf(e){var t=yu(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(l){r=""+l,o.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Lr(e){e._valueTracker||(e._valueTracker=uf(e))}function wu(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=yu(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function fi(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 Uo(e,t){var n=t.checked;return b({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Bs(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Ut(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 Su(e,t){t=t.checked,t!=null&&Ol(e,"checked",t,!1)}function Ho(e,t){Su(e,t);var n=Ut(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")?Bo(e,t.type,n):t.hasOwnProperty("defaultValue")&&Bo(e,t.type,Ut(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function $s(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 Bo(e,t,n){(t!=="number"||fi(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Gn=Array.isArray;function Nn(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=""+Ut(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 $o(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(C(91));return b({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Vs(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(C(92));if(Gn(n)){if(1<n.length)throw Error(C(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Ut(n)}}function xu(e,t){var n=Ut(t.value),r=Ut(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 Xs(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function ku(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 Vo(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?ku(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Or,Nu=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(Or=Or||document.createElement("div"),Or.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Or.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ar(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var bn={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},cf=["Webkit","ms","Moz","O"];Object.keys(bn).forEach(function(e){cf.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),bn[t]=bn[e]})});function Eu(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||bn.hasOwnProperty(e)&&bn[e]?(""+t).trim():t+"px"}function Pu(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Eu(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var df=b({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Xo(e,t){if(t){if(df[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(C(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(C(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(C(61))}if(t.style!=null&&typeof t.style!="object")throw Error(C(62))}}function Qo(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 Yo=null;function Wl(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ko=null,En=null,Pn=null;function Qs(e){if(e=zr(e)){if(typeof Ko!="function")throw Error(C(280));var t=e.stateNode;t&&(t=Hi(t),Ko(e.stateNode,e.type,t))}}function Cu(e){En?Pn?Pn.push(e):Pn=[e]:En=e}function zu(){if(En){var e=En,t=Pn;if(Pn=En=null,Qs(e),t)for(e=0;e<t.length;e++)Qs(t[e])}}function _u(e,t){return e(t)}function ju(){}var so=!1;function Ru(e,t,n){if(so)return e(t,n);so=!0;try{return _u(e,t,n)}finally{so=!1,(En!==null||Pn!==null)&&(ju(),zu())}}function ur(e,t){var n=e.stateNode;if(n===null)return null;var r=Hi(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(C(231,t,typeof n));return n}var Go=!1;if(vt)try{var Un={};Object.defineProperty(Un,"passive",{get:function(){Go=!0}}),window.addEventListener("test",Un,Un),window.removeEventListener("test",Un,Un)}catch{Go=!1}function ff(e,t,n,r,i,o,l,s,a){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(g){this.onError(g)}}var qn=!1,pi=null,hi=!1,Zo=null,pf={onError:function(e){qn=!0,pi=e}};function hf(e,t,n,r,i,o,l,s,a){qn=!1,pi=null,ff.apply(pf,arguments)}function mf(e,t,n,r,i,o,l,s,a){if(hf.apply(this,arguments),qn){if(qn){var u=pi;qn=!1,pi=null}else throw Error(C(198));hi||(hi=!0,Zo=u)}}function on(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 Du(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 Ys(e){if(on(e)!==e)throw Error(C(188))}function gf(e){var t=e.alternate;if(!t){if(t=on(e),t===null)throw Error(C(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 Ys(i),e;if(o===r)return Ys(i),t;o=o.sibling}throw Error(C(188))}if(n.return!==r.return)n=i,r=o;else{for(var l=!1,s=i.child;s;){if(s===n){l=!0,n=i,r=o;break}if(s===r){l=!0,r=i,n=o;break}s=s.sibling}if(!l){for(s=o.child;s;){if(s===n){l=!0,n=o,r=i;break}if(s===r){l=!0,r=o,n=i;break}s=s.sibling}if(!l)throw Error(C(189))}}if(n.alternate!==r)throw Error(C(190))}if(n.tag!==3)throw Error(C(188));return n.stateNode.current===n?e:t}function Tu(e){return e=gf(e),e!==null?Mu(e):null}function Mu(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Mu(e);if(t!==null)return t;e=e.sibling}return null}var Lu=He.unstable_scheduleCallback,Ks=He.unstable_cancelCallback,vf=He.unstable_shouldYield,yf=He.unstable_requestPaint,re=He.unstable_now,wf=He.unstable_getCurrentPriorityLevel,Ul=He.unstable_ImmediatePriority,Ou=He.unstable_UserBlockingPriority,mi=He.unstable_NormalPriority,Sf=He.unstable_LowPriority,Iu=He.unstable_IdlePriority,Ai=null,at=null;function xf(e){if(at&&typeof at.onCommitFiberRoot=="function")try{at.onCommitFiberRoot(Ai,e,void 0,(e.current.flags&128)===128)}catch{}}var tt=Math.clz32?Math.clz32:Ef,kf=Math.log,Nf=Math.LN2;function Ef(e){return e>>>=0,e===0?32:31-(kf(e)/Nf|0)|0}var Ir=64,Ar=4194304;function Zn(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function gi(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,l=n&268435455;if(l!==0){var s=l&~i;s!==0?r=Zn(s):(o&=l,o!==0&&(r=Zn(o)))}else l=n&~i,l!==0?r=Zn(l):o!==0&&(r=Zn(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-tt(t),i=1<<n,r|=e[n],t&=~i;return r}function Pf(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Cf(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var l=31-tt(o),s=1<<l,a=i[l];a===-1?(!(s&n)||s&r)&&(i[l]=Pf(s,t)):a<=t&&(e.expiredLanes|=s),o&=~s}}function Jo(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Au(){var e=Ir;return Ir<<=1,!(Ir&4194240)&&(Ir=64),e}function ao(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Pr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-tt(t),e[t]=n}function zf(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-tt(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}function Hl(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-tt(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var B=0;function Fu(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Wu,Bl,Uu,Hu,Bu,bo=!1,Fr=[],Tt=null,Mt=null,Lt=null,cr=new Map,dr=new Map,_t=[],_f="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 Gs(e,t){switch(e){case"focusin":case"focusout":Tt=null;break;case"dragenter":case"dragleave":Mt=null;break;case"mouseover":case"mouseout":Lt=null;break;case"pointerover":case"pointerout":cr.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":dr.delete(t.pointerId)}}function Hn(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=zr(t),t!==null&&Bl(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function jf(e,t,n,r,i){switch(t){case"focusin":return Tt=Hn(Tt,e,t,n,r,i),!0;case"dragenter":return Mt=Hn(Mt,e,t,n,r,i),!0;case"mouseover":return Lt=Hn(Lt,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return cr.set(o,Hn(cr.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,dr.set(o,Hn(dr.get(o)||null,e,t,n,r,i)),!0}return!1}function $u(e){var t=Yt(e.target);if(t!==null){var n=on(t);if(n!==null){if(t=n.tag,t===13){if(t=Du(n),t!==null){e.blockedOn=t,Bu(e.priority,function(){Uu(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 ni(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=qo(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Yo=r,n.target.dispatchEvent(r),Yo=null}else return t=zr(n),t!==null&&Bl(t),e.blockedOn=n,!1;t.shift()}return!0}function Zs(e,t,n){ni(e)&&n.delete(t)}function Rf(){bo=!1,Tt!==null&&ni(Tt)&&(Tt=null),Mt!==null&&ni(Mt)&&(Mt=null),Lt!==null&&ni(Lt)&&(Lt=null),cr.forEach(Zs),dr.forEach(Zs)}function Bn(e,t){e.blockedOn===t&&(e.blockedOn=null,bo||(bo=!0,He.unstable_scheduleCallback(He.unstable_NormalPriority,Rf)))}function fr(e){function t(i){return Bn(i,e)}if(0<Fr.length){Bn(Fr[0],e);for(var n=1;n<Fr.length;n++){var r=Fr[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Tt!==null&&Bn(Tt,e),Mt!==null&&Bn(Mt,e),Lt!==null&&Bn(Lt,e),cr.forEach(t),dr.forEach(t),n=0;n<_t.length;n++)r=_t[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<_t.length&&(n=_t[0],n.blockedOn===null);)$u(n),n.blockedOn===null&&_t.shift()}var Cn=xt.ReactCurrentBatchConfig,vi=!0;function Df(e,t,n,r){var i=B,o=Cn.transition;Cn.transition=null;try{B=1,$l(e,t,n,r)}finally{B=i,Cn.transition=o}}function Tf(e,t,n,r){var i=B,o=Cn.transition;Cn.transition=null;try{B=4,$l(e,t,n,r)}finally{B=i,Cn.transition=o}}function $l(e,t,n,r){if(vi){var i=qo(e,t,n,r);if(i===null)wo(e,t,r,yi,n),Gs(e,r);else if(jf(i,e,t,n,r))r.stopPropagation();else if(Gs(e,r),t&4&&-1<_f.indexOf(e)){for(;i!==null;){var o=zr(i);if(o!==null&&Wu(o),o=qo(e,t,n,r),o===null&&wo(e,t,r,yi,n),o===i)break;i=o}i!==null&&r.stopPropagation()}else wo(e,t,r,null,n)}}var yi=null;function qo(e,t,n,r){if(yi=null,e=Wl(r),e=Yt(e),e!==null)if(t=on(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Du(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 yi=e,null}function Vu(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(wf()){case Ul:return 1;case Ou:return 4;case mi:case Sf:return 16;case Iu:return 536870912;default:return 16}default:return 16}}var Rt=null,Vl=null,ri=null;function Xu(){if(ri)return ri;var e,t=Vl,n=t.length,r,i="value"in Rt?Rt.value:Rt.textContent,o=i.length;for(e=0;e<n&&t[e]===i[e];e++);var l=n-e;for(r=1;r<=l&&t[n-r]===i[o-r];r++);return ri=i.slice(e,1<r?1-r:void 0)}function ii(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 Wr(){return!0}function Js(){return!1}function $e(e){function t(n,r,i,o,l){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=o,this.target=l,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(n=e[s],this[s]=n?n(o):o[s]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Wr:Js,this.isPropagationStopped=Js,this}return b(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=Wr)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Wr)},persist:function(){},isPersistent:Wr}),t}var An={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Xl=$e(An),Cr=b({},An,{view:0,detail:0}),Mf=$e(Cr),uo,co,$n,Fi=b({},Cr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ql,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!==$n&&($n&&e.type==="mousemove"?(uo=e.screenX-$n.screenX,co=e.screenY-$n.screenY):co=uo=0,$n=e),uo)},movementY:function(e){return"movementY"in e?e.movementY:co}}),bs=$e(Fi),Lf=b({},Fi,{dataTransfer:0}),Of=$e(Lf),If=b({},Cr,{relatedTarget:0}),fo=$e(If),Af=b({},An,{animationName:0,elapsedTime:0,pseudoElement:0}),Ff=$e(Af),Wf=b({},An,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Uf=$e(Wf),Hf=b({},An,{data:0}),qs=$e(Hf),Bf={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},$f={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Vf={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Xf(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Vf[e])?!!t[e]:!1}function Ql(){return Xf}var Qf=b({},Cr,{key:function(e){if(e.key){var t=Bf[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=ii(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?$f[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ql,charCode:function(e){return e.type==="keypress"?ii(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ii(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Yf=$e(Qf),Kf=b({},Fi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ea=$e(Kf),Gf=b({},Cr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ql}),Zf=$e(Gf),Jf=b({},An,{propertyName:0,elapsedTime:0,pseudoElement:0}),bf=$e(Jf),qf=b({},Fi,{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}),ep=$e(qf),tp=[9,13,27,32],Yl=vt&&"CompositionEvent"in window,er=null;vt&&"documentMode"in document&&(er=document.documentMode);var np=vt&&"TextEvent"in window&&!er,Qu=vt&&(!Yl||er&&8<er&&11>=er),ta=" ",na=!1;function Yu(e,t){switch(e){case"keyup":return tp.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ku(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var fn=!1;function rp(e,t){switch(e){case"compositionend":return Ku(t);case"keypress":return t.which!==32?null:(na=!0,ta);case"textInput":return e=t.data,e===ta&&na?null:e;default:return null}}function ip(e,t){if(fn)return e==="compositionend"||!Yl&&Yu(e,t)?(e=Xu(),ri=Vl=Rt=null,fn=!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 Qu&&t.locale!=="ko"?null:t.data;default:return null}}var op={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 ra(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!op[e.type]:t==="textarea"}function Gu(e,t,n,r){Cu(r),t=wi(t,"onChange"),0<t.length&&(n=new Xl("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var tr=null,pr=null;function lp(e){lc(e,0)}function Wi(e){var t=mn(e);if(wu(t))return e}function sp(e,t){if(e==="change")return t}var Zu=!1;if(vt){var po;if(vt){var ho="oninput"in document;if(!ho){var ia=document.createElement("div");ia.setAttribute("oninput","return;"),ho=typeof ia.oninput=="function"}po=ho}else po=!1;Zu=po&&(!document.documentMode||9<document.documentMode)}function oa(){tr&&(tr.detachEvent("onpropertychange",Ju),pr=tr=null)}function Ju(e){if(e.propertyName==="value"&&Wi(pr)){var t=[];Gu(t,pr,e,Wl(e)),Ru(lp,t)}}function ap(e,t,n){e==="focusin"?(oa(),tr=t,pr=n,tr.attachEvent("onpropertychange",Ju)):e==="focusout"&&oa()}function up(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Wi(pr)}function cp(e,t){if(e==="click")return Wi(t)}function dp(e,t){if(e==="input"||e==="change")return Wi(t)}function fp(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var rt=typeof Object.is=="function"?Object.is:fp;function hr(e,t){if(rt(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(!Oo.call(t,i)||!rt(e[i],t[i]))return!1}return!0}function la(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function sa(e,t){var n=la(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=la(n)}}function bu(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?bu(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function qu(){for(var e=window,t=fi();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=fi(e.document)}return t}function Kl(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 pp(e){var t=qu(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&bu(n.ownerDocument.documentElement,n)){if(r!==null&&Kl(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=sa(n,o);var l=sa(n,r);i&&l&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.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 hp=vt&&"documentMode"in document&&11>=document.documentMode,pn=null,el=null,nr=null,tl=!1;function aa(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;tl||pn==null||pn!==fi(r)||(r=pn,"selectionStart"in r&&Kl(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}),nr&&hr(nr,r)||(nr=r,r=wi(el,"onSelect"),0<r.length&&(t=new Xl("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=pn)))}function Ur(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var hn={animationend:Ur("Animation","AnimationEnd"),animationiteration:Ur("Animation","AnimationIteration"),animationstart:Ur("Animation","AnimationStart"),transitionend:Ur("Transition","TransitionEnd")},mo={},ec={};vt&&(ec=document.createElement("div").style,"AnimationEvent"in window||(delete hn.animationend.animation,delete hn.animationiteration.animation,delete hn.animationstart.animation),"TransitionEvent"in window||delete hn.transitionend.transition);function Ui(e){if(mo[e])return mo[e];if(!hn[e])return e;var t=hn[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in ec)return mo[e]=t[n];return e}var tc=Ui("animationend"),nc=Ui("animationiteration"),rc=Ui("animationstart"),ic=Ui("transitionend"),oc=new Map,ua="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 Bt(e,t){oc.set(e,t),rn(t,[e])}for(var go=0;go<ua.length;go++){var vo=ua[go],mp=vo.toLowerCase(),gp=vo[0].toUpperCase()+vo.slice(1);Bt(mp,"on"+gp)}Bt(tc,"onAnimationEnd");Bt(nc,"onAnimationIteration");Bt(rc,"onAnimationStart");Bt("dblclick","onDoubleClick");Bt("focusin","onFocus");Bt("focusout","onBlur");Bt(ic,"onTransitionEnd");jn("onMouseEnter",["mouseout","mouseover"]);jn("onMouseLeave",["mouseout","mouseover"]);jn("onPointerEnter",["pointerout","pointerover"]);jn("onPointerLeave",["pointerout","pointerover"]);rn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));rn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));rn("onBeforeInput",["compositionend","keypress","textInput","paste"]);rn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));rn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));rn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Jn="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(" "),vp=new Set("cancel close invalid load scroll toggle".split(" ").concat(Jn));function ca(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,mf(r,t,void 0,e),e.currentTarget=null}function lc(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 l=r.length-1;0<=l;l--){var s=r[l],a=s.instance,u=s.currentTarget;if(s=s.listener,a!==o&&i.isPropagationStopped())break e;ca(i,s,u),o=a}else for(l=0;l<r.length;l++){if(s=r[l],a=s.instance,u=s.currentTarget,s=s.listener,a!==o&&i.isPropagationStopped())break e;ca(i,s,u),o=a}}}if(hi)throw e=Zo,hi=!1,Zo=null,e}function Y(e,t){var n=t[ll];n===void 0&&(n=t[ll]=new Set);var r=e+"__bubble";n.has(r)||(sc(t,e,2,!1),n.add(r))}function yo(e,t,n){var r=0;t&&(r|=4),sc(n,e,r,t)}var Hr="_reactListening"+Math.random().toString(36).slice(2);function mr(e){if(!e[Hr]){e[Hr]=!0,hu.forEach(function(n){n!=="selectionchange"&&(vp.has(n)||yo(n,!1,e),yo(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Hr]||(t[Hr]=!0,yo("selectionchange",!1,t))}}function sc(e,t,n,r){switch(Vu(t)){case 1:var i=Df;break;case 4:i=Tf;break;default:i=$l}n=i.bind(null,t,n,e),i=void 0,!Go||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 wo(e,t,n,r,i){var o=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var l=r.tag;if(l===3||l===4){var s=r.stateNode.containerInfo;if(s===i||s.nodeType===8&&s.parentNode===i)break;if(l===4)for(l=r.return;l!==null;){var a=l.tag;if((a===3||a===4)&&(a=l.stateNode.containerInfo,a===i||a.nodeType===8&&a.parentNode===i))return;l=l.return}for(;s!==null;){if(l=Yt(s),l===null)return;if(a=l.tag,a===5||a===6){r=o=l;continue e}s=s.parentNode}}r=r.return}Ru(function(){var u=o,g=Wl(n),h=[];e:{var m=oc.get(e);if(m!==void 0){var w=Xl,x=e;switch(e){case"keypress":if(ii(n)===0)break e;case"keydown":case"keyup":w=Yf;break;case"focusin":x="focus",w=fo;break;case"focusout":x="blur",w=fo;break;case"beforeblur":case"afterblur":w=fo;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":w=bs;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":w=Of;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":w=Zf;break;case tc:case nc:case rc:w=Ff;break;case ic:w=bf;break;case"scroll":w=Mf;break;case"wheel":w=ep;break;case"copy":case"cut":case"paste":w=Uf;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":w=ea}var y=(t&4)!==0,D=!y&&e==="scroll",p=y?m!==null?m+"Capture":null:m;y=[];for(var c=u,d;c!==null;){d=c;var v=d.stateNode;if(d.tag===5&&v!==null&&(d=v,p!==null&&(v=ur(c,p),v!=null&&y.push(gr(c,v,d)))),D)break;c=c.return}0<y.length&&(m=new w(m,x,null,n,g),h.push({event:m,listeners:y}))}}if(!(t&7)){e:{if(m=e==="mouseover"||e==="pointerover",w=e==="mouseout"||e==="pointerout",m&&n!==Yo&&(x=n.relatedTarget||n.fromElement)&&(Yt(x)||x[yt]))break e;if((w||m)&&(m=g.window===g?g:(m=g.ownerDocument)?m.defaultView||m.parentWindow:window,w?(x=n.relatedTarget||n.toElement,w=u,x=x?Yt(x):null,x!==null&&(D=on(x),x!==D||x.tag!==5&&x.tag!==6)&&(x=null)):(w=null,x=u),w!==x)){if(y=bs,v="onMouseLeave",p="onMouseEnter",c="mouse",(e==="pointerout"||e==="pointerover")&&(y=ea,v="onPointerLeave",p="onPointerEnter",c="pointer"),D=w==null?m:mn(w),d=x==null?m:mn(x),m=new y(v,c+"leave",w,n,g),m.target=D,m.relatedTarget=d,v=null,Yt(g)===u&&(y=new y(p,c+"enter",x,n,g),y.target=d,y.relatedTarget=D,v=y),D=v,w&&x)t:{for(y=w,p=x,c=0,d=y;d;d=an(d))c++;for(d=0,v=p;v;v=an(v))d++;for(;0<c-d;)y=an(y),c--;for(;0<d-c;)p=an(p),d--;for(;c--;){if(y===p||p!==null&&y===p.alternate)break t;y=an(y),p=an(p)}y=null}else y=null;w!==null&&da(h,m,w,y,!1),x!==null&&D!==null&&da(h,D,x,y,!0)}}e:{if(m=u?mn(u):window,w=m.nodeName&&m.nodeName.toLowerCase(),w==="select"||w==="input"&&m.type==="file")var S=sp;else if(ra(m))if(Zu)S=dp;else{S=up;var P=ap}else(w=m.nodeName)&&w.toLowerCase()==="input"&&(m.type==="checkbox"||m.type==="radio")&&(S=cp);if(S&&(S=S(e,u))){Gu(h,S,n,g);break e}P&&P(e,m,u),e==="focusout"&&(P=m._wrapperState)&&P.controlled&&m.type==="number"&&Bo(m,"number",m.value)}switch(P=u?mn(u):window,e){case"focusin":(ra(P)||P.contentEditable==="true")&&(pn=P,el=u,nr=null);break;case"focusout":nr=el=pn=null;break;case"mousedown":tl=!0;break;case"contextmenu":case"mouseup":case"dragend":tl=!1,aa(h,n,g);break;case"selectionchange":if(hp)break;case"keydown":case"keyup":aa(h,n,g)}var N;if(Yl)e:{switch(e){case"compositionstart":var _="onCompositionStart";break e;case"compositionend":_="onCompositionEnd";break e;case"compositionupdate":_="onCompositionUpdate";break e}_=void 0}else fn?Yu(e,n)&&(_="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(_="onCompositionStart");_&&(Qu&&n.locale!=="ko"&&(fn||_!=="onCompositionStart"?_==="onCompositionEnd"&&fn&&(N=Xu()):(Rt=g,Vl="value"in Rt?Rt.value:Rt.textContent,fn=!0)),P=wi(u,_),0<P.length&&(_=new qs(_,e,null,n,g),h.push({event:_,listeners:P}),N?_.data=N:(N=Ku(n),N!==null&&(_.data=N)))),(N=np?rp(e,n):ip(e,n))&&(u=wi(u,"onBeforeInput"),0<u.length&&(g=new qs("onBeforeInput","beforeinput",null,n,g),h.push({event:g,listeners:u}),g.data=N))}lc(h,t)})}function gr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function wi(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,o=i.stateNode;i.tag===5&&o!==null&&(i=o,o=ur(e,n),o!=null&&r.unshift(gr(e,o,i)),o=ur(e,t),o!=null&&r.push(gr(e,o,i))),e=e.return}return r}function an(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function da(e,t,n,r,i){for(var o=t._reactName,l=[];n!==null&&n!==r;){var s=n,a=s.alternate,u=s.stateNode;if(a!==null&&a===r)break;s.tag===5&&u!==null&&(s=u,i?(a=ur(n,o),a!=null&&l.unshift(gr(n,a,s))):i||(a=ur(n,o),a!=null&&l.push(gr(n,a,s)))),n=n.return}l.length!==0&&e.push({event:t,listeners:l})}var yp=/\r\n?/g,wp=/\u0000|\uFFFD/g;function fa(e){return(typeof e=="string"?e:""+e).replace(yp,`
38
+ `).replace(wp,"")}function Br(e,t,n){if(t=fa(t),fa(e)!==t&&n)throw Error(C(425))}function Si(){}var nl=null,rl=null;function il(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 ol=typeof setTimeout=="function"?setTimeout:void 0,Sp=typeof clearTimeout=="function"?clearTimeout:void 0,pa=typeof Promise=="function"?Promise:void 0,xp=typeof queueMicrotask=="function"?queueMicrotask:typeof pa<"u"?function(e){return pa.resolve(null).then(e).catch(kp)}:ol;function kp(e){setTimeout(function(){throw e})}function So(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),fr(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);fr(t)}function Ot(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 ha(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 Fn=Math.random().toString(36).slice(2),st="__reactFiber$"+Fn,vr="__reactProps$"+Fn,yt="__reactContainer$"+Fn,ll="__reactEvents$"+Fn,Np="__reactListeners$"+Fn,Ep="__reactHandles$"+Fn;function Yt(e){var t=e[st];if(t)return t;for(var n=e.parentNode;n;){if(t=n[yt]||n[st]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=ha(e);e!==null;){if(n=e[st])return n;e=ha(e)}return t}e=n,n=e.parentNode}return null}function zr(e){return e=e[st]||e[yt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function mn(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(C(33))}function Hi(e){return e[vr]||null}var sl=[],gn=-1;function $t(e){return{current:e}}function K(e){0>gn||(e.current=sl[gn],sl[gn]=null,gn--)}function Q(e,t){gn++,sl[gn]=e.current,e.current=t}var Ht={},Ne=$t(Ht),Me=$t(!1),bt=Ht;function Rn(e,t){var n=e.type.contextTypes;if(!n)return Ht;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 Le(e){return e=e.childContextTypes,e!=null}function xi(){K(Me),K(Ne)}function ma(e,t,n){if(Ne.current!==Ht)throw Error(C(168));Q(Ne,t),Q(Me,n)}function ac(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(C(108,af(e)||"Unknown",i));return b({},n,r)}function ki(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ht,bt=Ne.current,Q(Ne,e),Q(Me,Me.current),!0}function ga(e,t,n){var r=e.stateNode;if(!r)throw Error(C(169));n?(e=ac(e,t,bt),r.__reactInternalMemoizedMergedChildContext=e,K(Me),K(Ne),Q(Ne,e)):K(Me),Q(Me,n)}var pt=null,Bi=!1,xo=!1;function uc(e){pt===null?pt=[e]:pt.push(e)}function Pp(e){Bi=!0,uc(e)}function Vt(){if(!xo&&pt!==null){xo=!0;var e=0,t=B;try{var n=pt;for(B=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}pt=null,Bi=!1}catch(i){throw pt!==null&&(pt=pt.slice(e+1)),Lu(Ul,Vt),i}finally{B=t,xo=!1}}return null}var vn=[],yn=0,Ni=null,Ei=0,Ve=[],Xe=0,qt=null,ht=1,mt="";function Xt(e,t){vn[yn++]=Ei,vn[yn++]=Ni,Ni=e,Ei=t}function cc(e,t,n){Ve[Xe++]=ht,Ve[Xe++]=mt,Ve[Xe++]=qt,qt=e;var r=ht;e=mt;var i=32-tt(r)-1;r&=~(1<<i),n+=1;var o=32-tt(t)+i;if(30<o){var l=i-i%5;o=(r&(1<<l)-1).toString(32),r>>=l,i-=l,ht=1<<32-tt(t)+i|n<<i|r,mt=o+e}else ht=1<<o|n<<i|r,mt=e}function Gl(e){e.return!==null&&(Xt(e,1),cc(e,1,0))}function Zl(e){for(;e===Ni;)Ni=vn[--yn],vn[yn]=null,Ei=vn[--yn],vn[yn]=null;for(;e===qt;)qt=Ve[--Xe],Ve[Xe]=null,mt=Ve[--Xe],Ve[Xe]=null,ht=Ve[--Xe],Ve[Xe]=null}var We=null,Fe=null,G=!1,et=null;function dc(e,t){var n=Qe(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 va(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,We=e,Fe=Ot(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,We=e,Fe=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=qt!==null?{id:ht,overflow:mt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Qe(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,We=e,Fe=null,!0):!1;default:return!1}}function al(e){return(e.mode&1)!==0&&(e.flags&128)===0}function ul(e){if(G){var t=Fe;if(t){var n=t;if(!va(e,t)){if(al(e))throw Error(C(418));t=Ot(n.nextSibling);var r=We;t&&va(e,t)?dc(r,n):(e.flags=e.flags&-4097|2,G=!1,We=e)}}else{if(al(e))throw Error(C(418));e.flags=e.flags&-4097|2,G=!1,We=e}}}function ya(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;We=e}function $r(e){if(e!==We)return!1;if(!G)return ya(e),G=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!il(e.type,e.memoizedProps)),t&&(t=Fe)){if(al(e))throw fc(),Error(C(418));for(;t;)dc(e,t),t=Ot(t.nextSibling)}if(ya(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(C(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Fe=Ot(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Fe=null}}else Fe=We?Ot(e.stateNode.nextSibling):null;return!0}function fc(){for(var e=Fe;e;)e=Ot(e.nextSibling)}function Dn(){Fe=We=null,G=!1}function Jl(e){et===null?et=[e]:et.push(e)}var Cp=xt.ReactCurrentBatchConfig;function Vn(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(C(309));var r=n.stateNode}if(!r)throw Error(C(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(l){var s=i.refs;l===null?delete s[o]:s[o]=l},t._stringRef=o,t)}if(typeof e!="string")throw Error(C(284));if(!n._owner)throw Error(C(290,e))}return e}function Vr(e,t){throw e=Object.prototype.toString.call(t),Error(C(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function wa(e){var t=e._init;return t(e._payload)}function pc(e){function t(p,c){if(e){var d=p.deletions;d===null?(p.deletions=[c],p.flags|=16):d.push(c)}}function n(p,c){if(!e)return null;for(;c!==null;)t(p,c),c=c.sibling;return null}function r(p,c){for(p=new Map;c!==null;)c.key!==null?p.set(c.key,c):p.set(c.index,c),c=c.sibling;return p}function i(p,c){return p=Wt(p,c),p.index=0,p.sibling=null,p}function o(p,c,d){return p.index=d,e?(d=p.alternate,d!==null?(d=d.index,d<c?(p.flags|=2,c):d):(p.flags|=2,c)):(p.flags|=1048576,c)}function l(p){return e&&p.alternate===null&&(p.flags|=2),p}function s(p,c,d,v){return c===null||c.tag!==6?(c=_o(d,p.mode,v),c.return=p,c):(c=i(c,d),c.return=p,c)}function a(p,c,d,v){var S=d.type;return S===dn?g(p,c,d.props.children,v,d.key):c!==null&&(c.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===Ct&&wa(S)===c.type)?(v=i(c,d.props),v.ref=Vn(p,c,d),v.return=p,v):(v=di(d.type,d.key,d.props,null,p.mode,v),v.ref=Vn(p,c,d),v.return=p,v)}function u(p,c,d,v){return c===null||c.tag!==4||c.stateNode.containerInfo!==d.containerInfo||c.stateNode.implementation!==d.implementation?(c=jo(d,p.mode,v),c.return=p,c):(c=i(c,d.children||[]),c.return=p,c)}function g(p,c,d,v,S){return c===null||c.tag!==7?(c=Jt(d,p.mode,v,S),c.return=p,c):(c=i(c,d),c.return=p,c)}function h(p,c,d){if(typeof c=="string"&&c!==""||typeof c=="number")return c=_o(""+c,p.mode,d),c.return=p,c;if(typeof c=="object"&&c!==null){switch(c.$$typeof){case Mr:return d=di(c.type,c.key,c.props,null,p.mode,d),d.ref=Vn(p,null,c),d.return=p,d;case cn:return c=jo(c,p.mode,d),c.return=p,c;case Ct:var v=c._init;return h(p,v(c._payload),d)}if(Gn(c)||Wn(c))return c=Jt(c,p.mode,d,null),c.return=p,c;Vr(p,c)}return null}function m(p,c,d,v){var S=c!==null?c.key:null;if(typeof d=="string"&&d!==""||typeof d=="number")return S!==null?null:s(p,c,""+d,v);if(typeof d=="object"&&d!==null){switch(d.$$typeof){case Mr:return d.key===S?a(p,c,d,v):null;case cn:return d.key===S?u(p,c,d,v):null;case Ct:return S=d._init,m(p,c,S(d._payload),v)}if(Gn(d)||Wn(d))return S!==null?null:g(p,c,d,v,null);Vr(p,d)}return null}function w(p,c,d,v,S){if(typeof v=="string"&&v!==""||typeof v=="number")return p=p.get(d)||null,s(c,p,""+v,S);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case Mr:return p=p.get(v.key===null?d:v.key)||null,a(c,p,v,S);case cn:return p=p.get(v.key===null?d:v.key)||null,u(c,p,v,S);case Ct:var P=v._init;return w(p,c,d,P(v._payload),S)}if(Gn(v)||Wn(v))return p=p.get(d)||null,g(c,p,v,S,null);Vr(c,v)}return null}function x(p,c,d,v){for(var S=null,P=null,N=c,_=c=0,O=null;N!==null&&_<d.length;_++){N.index>_?(O=N,N=null):O=N.sibling;var M=m(p,N,d[_],v);if(M===null){N===null&&(N=O);break}e&&N&&M.alternate===null&&t(p,N),c=o(M,c,_),P===null?S=M:P.sibling=M,P=M,N=O}if(_===d.length)return n(p,N),G&&Xt(p,_),S;if(N===null){for(;_<d.length;_++)N=h(p,d[_],v),N!==null&&(c=o(N,c,_),P===null?S=N:P.sibling=N,P=N);return G&&Xt(p,_),S}for(N=r(p,N);_<d.length;_++)O=w(N,p,_,d[_],v),O!==null&&(e&&O.alternate!==null&&N.delete(O.key===null?_:O.key),c=o(O,c,_),P===null?S=O:P.sibling=O,P=O);return e&&N.forEach(function(W){return t(p,W)}),G&&Xt(p,_),S}function y(p,c,d,v){var S=Wn(d);if(typeof S!="function")throw Error(C(150));if(d=S.call(d),d==null)throw Error(C(151));for(var P=S=null,N=c,_=c=0,O=null,M=d.next();N!==null&&!M.done;_++,M=d.next()){N.index>_?(O=N,N=null):O=N.sibling;var W=m(p,N,M.value,v);if(W===null){N===null&&(N=O);break}e&&N&&W.alternate===null&&t(p,N),c=o(W,c,_),P===null?S=W:P.sibling=W,P=W,N=O}if(M.done)return n(p,N),G&&Xt(p,_),S;if(N===null){for(;!M.done;_++,M=d.next())M=h(p,M.value,v),M!==null&&(c=o(M,c,_),P===null?S=M:P.sibling=M,P=M);return G&&Xt(p,_),S}for(N=r(p,N);!M.done;_++,M=d.next())M=w(N,p,_,M.value,v),M!==null&&(e&&M.alternate!==null&&N.delete(M.key===null?_:M.key),c=o(M,c,_),P===null?S=M:P.sibling=M,P=M);return e&&N.forEach(function(U){return t(p,U)}),G&&Xt(p,_),S}function D(p,c,d,v){if(typeof d=="object"&&d!==null&&d.type===dn&&d.key===null&&(d=d.props.children),typeof d=="object"&&d!==null){switch(d.$$typeof){case Mr:e:{for(var S=d.key,P=c;P!==null;){if(P.key===S){if(S=d.type,S===dn){if(P.tag===7){n(p,P.sibling),c=i(P,d.props.children),c.return=p,p=c;break e}}else if(P.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===Ct&&wa(S)===P.type){n(p,P.sibling),c=i(P,d.props),c.ref=Vn(p,P,d),c.return=p,p=c;break e}n(p,P);break}else t(p,P);P=P.sibling}d.type===dn?(c=Jt(d.props.children,p.mode,v,d.key),c.return=p,p=c):(v=di(d.type,d.key,d.props,null,p.mode,v),v.ref=Vn(p,c,d),v.return=p,p=v)}return l(p);case cn:e:{for(P=d.key;c!==null;){if(c.key===P)if(c.tag===4&&c.stateNode.containerInfo===d.containerInfo&&c.stateNode.implementation===d.implementation){n(p,c.sibling),c=i(c,d.children||[]),c.return=p,p=c;break e}else{n(p,c);break}else t(p,c);c=c.sibling}c=jo(d,p.mode,v),c.return=p,p=c}return l(p);case Ct:return P=d._init,D(p,c,P(d._payload),v)}if(Gn(d))return x(p,c,d,v);if(Wn(d))return y(p,c,d,v);Vr(p,d)}return typeof d=="string"&&d!==""||typeof d=="number"?(d=""+d,c!==null&&c.tag===6?(n(p,c.sibling),c=i(c,d),c.return=p,p=c):(n(p,c),c=_o(d,p.mode,v),c.return=p,p=c),l(p)):n(p,c)}return D}var Tn=pc(!0),hc=pc(!1),Pi=$t(null),Ci=null,wn=null,bl=null;function ql(){bl=wn=Ci=null}function es(e){var t=Pi.current;K(Pi),e._currentValue=t}function cl(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 zn(e,t){Ci=e,bl=wn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Te=!0),e.firstContext=null)}function Ke(e){var t=e._currentValue;if(bl!==e)if(e={context:e,memoizedValue:t,next:null},wn===null){if(Ci===null)throw Error(C(308));wn=e,Ci.dependencies={lanes:0,firstContext:e}}else wn=wn.next=e;return t}var Kt=null;function ts(e){Kt===null?Kt=[e]:Kt.push(e)}function mc(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,ts(t)):(n.next=i.next,i.next=n),t.interleaved=n,wt(e,r)}function wt(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 zt=!1;function ns(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function gc(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 gt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function It(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,H&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,wt(e,n)}return i=r.interleaved,i===null?(t.next=t,ts(r)):(t.next=i.next,i.next=t),r.interleaved=t,wt(e,n)}function oi(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,Hl(e,n)}}function Sa(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 l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=l:o=o.next=l,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 zi(e,t,n,r){var i=e.updateQueue;zt=!1;var o=i.firstBaseUpdate,l=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var a=s,u=a.next;a.next=null,l===null?o=u:l.next=u,l=a;var g=e.alternate;g!==null&&(g=g.updateQueue,s=g.lastBaseUpdate,s!==l&&(s===null?g.firstBaseUpdate=u:s.next=u,g.lastBaseUpdate=a))}if(o!==null){var h=i.baseState;l=0,g=u=a=null,s=o;do{var m=s.lane,w=s.eventTime;if((r&m)===m){g!==null&&(g=g.next={eventTime:w,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var x=e,y=s;switch(m=t,w=n,y.tag){case 1:if(x=y.payload,typeof x=="function"){h=x.call(w,h,m);break e}h=x;break e;case 3:x.flags=x.flags&-65537|128;case 0:if(x=y.payload,m=typeof x=="function"?x.call(w,h,m):x,m==null)break e;h=b({},h,m);break e;case 2:zt=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,m=i.effects,m===null?i.effects=[s]:m.push(s))}else w={eventTime:w,lane:m,tag:s.tag,payload:s.payload,callback:s.callback,next:null},g===null?(u=g=w,a=h):g=g.next=w,l|=m;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;m=s,s=m.next,m.next=null,i.lastBaseUpdate=m,i.shared.pending=null}}while(!0);if(g===null&&(a=h),i.baseState=a,i.firstBaseUpdate=u,i.lastBaseUpdate=g,t=i.shared.interleaved,t!==null){i=t;do l|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);tn|=l,e.lanes=l,e.memoizedState=h}}function xa(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(C(191,i));i.call(r)}}}var _r={},ut=$t(_r),yr=$t(_r),wr=$t(_r);function Gt(e){if(e===_r)throw Error(C(174));return e}function rs(e,t){switch(Q(wr,t),Q(yr,e),Q(ut,_r),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Vo(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Vo(t,e)}K(ut),Q(ut,t)}function Mn(){K(ut),K(yr),K(wr)}function vc(e){Gt(wr.current);var t=Gt(ut.current),n=Vo(t,e.type);t!==n&&(Q(yr,e),Q(ut,n))}function is(e){yr.current===e&&(K(ut),K(yr))}var Z=$t(0);function _i(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 ko=[];function os(){for(var e=0;e<ko.length;e++)ko[e]._workInProgressVersionPrimary=null;ko.length=0}var li=xt.ReactCurrentDispatcher,No=xt.ReactCurrentBatchConfig,en=0,J=null,se=null,ue=null,ji=!1,rr=!1,Sr=0,zp=0;function we(){throw Error(C(321))}function ls(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!rt(e[n],t[n]))return!1;return!0}function ss(e,t,n,r,i,o){if(en=o,J=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,li.current=e===null||e.memoizedState===null?Dp:Tp,e=n(r,i),rr){o=0;do{if(rr=!1,Sr=0,25<=o)throw Error(C(301));o+=1,ue=se=null,t.updateQueue=null,li.current=Mp,e=n(r,i)}while(rr)}if(li.current=Ri,t=se!==null&&se.next!==null,en=0,ue=se=J=null,ji=!1,t)throw Error(C(300));return e}function as(){var e=Sr!==0;return Sr=0,e}function ot(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ue===null?J.memoizedState=ue=e:ue=ue.next=e,ue}function Ge(){if(se===null){var e=J.alternate;e=e!==null?e.memoizedState:null}else e=se.next;var t=ue===null?J.memoizedState:ue.next;if(t!==null)ue=t,se=e;else{if(e===null)throw Error(C(310));se=e,e={memoizedState:se.memoizedState,baseState:se.baseState,baseQueue:se.baseQueue,queue:se.queue,next:null},ue===null?J.memoizedState=ue=e:ue=ue.next=e}return ue}function xr(e,t){return typeof t=="function"?t(e):t}function Eo(e){var t=Ge(),n=t.queue;if(n===null)throw Error(C(311));n.lastRenderedReducer=e;var r=se,i=r.baseQueue,o=n.pending;if(o!==null){if(i!==null){var l=i.next;i.next=o.next,o.next=l}r.baseQueue=i=o,n.pending=null}if(i!==null){o=i.next,r=r.baseState;var s=l=null,a=null,u=o;do{var g=u.lane;if((en&g)===g)a!==null&&(a=a.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var h={lane:g,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};a===null?(s=a=h,l=r):a=a.next=h,J.lanes|=g,tn|=g}u=u.next}while(u!==null&&u!==o);a===null?l=r:a.next=s,rt(r,t.memoizedState)||(Te=!0),t.memoizedState=r,t.baseState=l,t.baseQueue=a,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do o=i.lane,J.lanes|=o,tn|=o,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Po(e){var t=Ge(),n=t.queue;if(n===null)throw Error(C(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(i!==null){n.pending=null;var l=i=i.next;do o=e(o,l.action),l=l.next;while(l!==i);rt(o,t.memoizedState)||(Te=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function yc(){}function wc(e,t){var n=J,r=Ge(),i=t(),o=!rt(r.memoizedState,i);if(o&&(r.memoizedState=i,Te=!0),r=r.queue,us(kc.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||ue!==null&&ue.memoizedState.tag&1){if(n.flags|=2048,kr(9,xc.bind(null,n,r,i,t),void 0,null),ce===null)throw Error(C(349));en&30||Sc(n,t,i)}return i}function Sc(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=J.updateQueue,t===null?(t={lastEffect:null,stores:null},J.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function xc(e,t,n,r){t.value=n,t.getSnapshot=r,Nc(t)&&Ec(e)}function kc(e,t,n){return n(function(){Nc(t)&&Ec(e)})}function Nc(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!rt(e,n)}catch{return!0}}function Ec(e){var t=wt(e,1);t!==null&&nt(t,e,1,-1)}function ka(e){var t=ot();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:xr,lastRenderedState:e},t.queue=e,e=e.dispatch=Rp.bind(null,J,e),[t.memoizedState,e]}function kr(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=J.updateQueue,t===null?(t={lastEffect:null,stores:null},J.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 Pc(){return Ge().memoizedState}function si(e,t,n,r){var i=ot();J.flags|=e,i.memoizedState=kr(1|t,n,void 0,r===void 0?null:r)}function $i(e,t,n,r){var i=Ge();r=r===void 0?null:r;var o=void 0;if(se!==null){var l=se.memoizedState;if(o=l.destroy,r!==null&&ls(r,l.deps)){i.memoizedState=kr(t,n,o,r);return}}J.flags|=e,i.memoizedState=kr(1|t,n,o,r)}function Na(e,t){return si(8390656,8,e,t)}function us(e,t){return $i(2048,8,e,t)}function Cc(e,t){return $i(4,2,e,t)}function zc(e,t){return $i(4,4,e,t)}function _c(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 jc(e,t,n){return n=n!=null?n.concat([e]):null,$i(4,4,_c.bind(null,t,e),n)}function cs(){}function Rc(e,t){var n=Ge();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&ls(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Dc(e,t){var n=Ge();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&ls(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Tc(e,t,n){return en&21?(rt(n,t)||(n=Au(),J.lanes|=n,tn|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Te=!0),e.memoizedState=n)}function _p(e,t){var n=B;B=n!==0&&4>n?n:4,e(!0);var r=No.transition;No.transition={};try{e(!1),t()}finally{B=n,No.transition=r}}function Mc(){return Ge().memoizedState}function jp(e,t,n){var r=Ft(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Lc(e))Oc(t,n);else if(n=mc(e,t,n,r),n!==null){var i=Ce();nt(n,e,r,i),Ic(n,t,r)}}function Rp(e,t,n){var r=Ft(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Lc(e))Oc(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var l=t.lastRenderedState,s=o(l,n);if(i.hasEagerState=!0,i.eagerState=s,rt(s,l)){var a=t.interleaved;a===null?(i.next=i,ts(t)):(i.next=a.next,a.next=i),t.interleaved=i;return}}catch{}finally{}n=mc(e,t,i,r),n!==null&&(i=Ce(),nt(n,e,r,i),Ic(n,t,r))}}function Lc(e){var t=e.alternate;return e===J||t!==null&&t===J}function Oc(e,t){rr=ji=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ic(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Hl(e,n)}}var Ri={readContext:Ke,useCallback:we,useContext:we,useEffect:we,useImperativeHandle:we,useInsertionEffect:we,useLayoutEffect:we,useMemo:we,useReducer:we,useRef:we,useState:we,useDebugValue:we,useDeferredValue:we,useTransition:we,useMutableSource:we,useSyncExternalStore:we,useId:we,unstable_isNewReconciler:!1},Dp={readContext:Ke,useCallback:function(e,t){return ot().memoizedState=[e,t===void 0?null:t],e},useContext:Ke,useEffect:Na,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,si(4194308,4,_c.bind(null,t,e),n)},useLayoutEffect:function(e,t){return si(4194308,4,e,t)},useInsertionEffect:function(e,t){return si(4,2,e,t)},useMemo:function(e,t){var n=ot();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ot();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=jp.bind(null,J,e),[r.memoizedState,e]},useRef:function(e){var t=ot();return e={current:e},t.memoizedState=e},useState:ka,useDebugValue:cs,useDeferredValue:function(e){return ot().memoizedState=e},useTransition:function(){var e=ka(!1),t=e[0];return e=_p.bind(null,e[1]),ot().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=J,i=ot();if(G){if(n===void 0)throw Error(C(407));n=n()}else{if(n=t(),ce===null)throw Error(C(349));en&30||Sc(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,Na(kc.bind(null,r,o,e),[e]),r.flags|=2048,kr(9,xc.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=ot(),t=ce.identifierPrefix;if(G){var n=mt,r=ht;n=(r&~(1<<32-tt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Sr++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=zp++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Tp={readContext:Ke,useCallback:Rc,useContext:Ke,useEffect:us,useImperativeHandle:jc,useInsertionEffect:Cc,useLayoutEffect:zc,useMemo:Dc,useReducer:Eo,useRef:Pc,useState:function(){return Eo(xr)},useDebugValue:cs,useDeferredValue:function(e){var t=Ge();return Tc(t,se.memoizedState,e)},useTransition:function(){var e=Eo(xr)[0],t=Ge().memoizedState;return[e,t]},useMutableSource:yc,useSyncExternalStore:wc,useId:Mc,unstable_isNewReconciler:!1},Mp={readContext:Ke,useCallback:Rc,useContext:Ke,useEffect:us,useImperativeHandle:jc,useInsertionEffect:Cc,useLayoutEffect:zc,useMemo:Dc,useReducer:Po,useRef:Pc,useState:function(){return Po(xr)},useDebugValue:cs,useDeferredValue:function(e){var t=Ge();return se===null?t.memoizedState=e:Tc(t,se.memoizedState,e)},useTransition:function(){var e=Po(xr)[0],t=Ge().memoizedState;return[e,t]},useMutableSource:yc,useSyncExternalStore:wc,useId:Mc,unstable_isNewReconciler:!1};function be(e,t){if(e&&e.defaultProps){t=b({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function dl(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:b({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Vi={isMounted:function(e){return(e=e._reactInternals)?on(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Ce(),i=Ft(e),o=gt(r,i);o.payload=t,n!=null&&(o.callback=n),t=It(e,o,i),t!==null&&(nt(t,e,i,r),oi(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Ce(),i=Ft(e),o=gt(r,i);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=It(e,o,i),t!==null&&(nt(t,e,i,r),oi(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Ce(),r=Ft(e),i=gt(n,r);i.tag=2,t!=null&&(i.callback=t),t=It(e,i,r),t!==null&&(nt(t,e,r,n),oi(t,e,r))}};function Ea(e,t,n,r,i,o,l){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,l):t.prototype&&t.prototype.isPureReactComponent?!hr(n,r)||!hr(i,o):!0}function Ac(e,t,n){var r=!1,i=Ht,o=t.contextType;return typeof o=="object"&&o!==null?o=Ke(o):(i=Le(t)?bt:Ne.current,r=t.contextTypes,o=(r=r!=null)?Rn(e,i):Ht),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Vi,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function Pa(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&&Vi.enqueueReplaceState(t,t.state,null)}function fl(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},ns(e);var o=t.contextType;typeof o=="object"&&o!==null?i.context=Ke(o):(o=Le(t)?bt:Ne.current,i.context=Rn(e,o)),i.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(dl(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&&Vi.enqueueReplaceState(i,i.state,null),zi(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function Ln(e,t){try{var n="",r=t;do n+=sf(r),r=r.return;while(r);var i=n}catch(o){i=`
39
+ Error generating stack: `+o.message+`
40
+ `+o.stack}return{value:e,source:t,stack:i,digest:null}}function Co(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function pl(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Lp=typeof WeakMap=="function"?WeakMap:Map;function Fc(e,t,n){n=gt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ti||(Ti=!0,Nl=r),pl(e,t)},n}function Wc(e,t,n){n=gt(-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(){pl(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){pl(e,t),typeof r!="function"&&(At===null?At=new Set([this]):At.add(this));var l=t.stack;this.componentDidCatch(t.value,{componentStack:l!==null?l:""})}),n}function Ca(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Lp;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=Kp.bind(null,e,t,n),t.then(e,e))}function za(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 _a(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=gt(-1,1),t.tag=2,It(n,t,1))),n.lanes|=1),e)}var Op=xt.ReactCurrentOwner,Te=!1;function Pe(e,t,n,r){t.child=e===null?hc(t,null,n,r):Tn(t,e.child,n,r)}function ja(e,t,n,r,i){n=n.render;var o=t.ref;return zn(t,i),r=ss(e,t,n,r,o,i),n=as(),e!==null&&!Te?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,St(e,t,i)):(G&&n&&Gl(t),t.flags|=1,Pe(e,t,r,i),t.child)}function Ra(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!ys(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,Uc(e,t,o,r,i)):(e=di(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 l=o.memoizedProps;if(n=n.compare,n=n!==null?n:hr,n(l,r)&&e.ref===t.ref)return St(e,t,i)}return t.flags|=1,e=Wt(o,r),e.ref=t.ref,e.return=t,t.child=e}function Uc(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(hr(o,r)&&e.ref===t.ref)if(Te=!1,t.pendingProps=r=o,(e.lanes&i)!==0)e.flags&131072&&(Te=!0);else return t.lanes=e.lanes,St(e,t,i)}return hl(e,t,n,r,i)}function Hc(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},Q(xn,Ae),Ae|=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,Q(xn,Ae),Ae|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,Q(xn,Ae),Ae|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,Q(xn,Ae),Ae|=r;return Pe(e,t,i,n),t.child}function Bc(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function hl(e,t,n,r,i){var o=Le(n)?bt:Ne.current;return o=Rn(t,o),zn(t,i),n=ss(e,t,n,r,o,i),r=as(),e!==null&&!Te?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,St(e,t,i)):(G&&r&&Gl(t),t.flags|=1,Pe(e,t,n,i),t.child)}function Da(e,t,n,r,i){if(Le(n)){var o=!0;ki(t)}else o=!1;if(zn(t,i),t.stateNode===null)ai(e,t),Ac(t,n,r),fl(t,n,r,i),r=!0;else if(e===null){var l=t.stateNode,s=t.memoizedProps;l.props=s;var a=l.context,u=n.contextType;typeof u=="object"&&u!==null?u=Ke(u):(u=Le(n)?bt:Ne.current,u=Rn(t,u));var g=n.getDerivedStateFromProps,h=typeof g=="function"||typeof l.getSnapshotBeforeUpdate=="function";h||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(s!==r||a!==u)&&Pa(t,l,r,u),zt=!1;var m=t.memoizedState;l.state=m,zi(t,r,l,i),a=t.memoizedState,s!==r||m!==a||Me.current||zt?(typeof g=="function"&&(dl(t,n,g,r),a=t.memoizedState),(s=zt||Ea(t,n,s,r,m,a,u))?(h||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount()),typeof l.componentDidMount=="function"&&(t.flags|=4194308)):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=a),l.props=r,l.state=a,l.context=u,r=s):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{l=t.stateNode,gc(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:be(t.type,s),l.props=u,h=t.pendingProps,m=l.context,a=n.contextType,typeof a=="object"&&a!==null?a=Ke(a):(a=Le(n)?bt:Ne.current,a=Rn(t,a));var w=n.getDerivedStateFromProps;(g=typeof w=="function"||typeof l.getSnapshotBeforeUpdate=="function")||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(s!==h||m!==a)&&Pa(t,l,r,a),zt=!1,m=t.memoizedState,l.state=m,zi(t,r,l,i);var x=t.memoizedState;s!==h||m!==x||Me.current||zt?(typeof w=="function"&&(dl(t,n,w,r),x=t.memoizedState),(u=zt||Ea(t,n,u,r,m,x,a)||!1)?(g||typeof l.UNSAFE_componentWillUpdate!="function"&&typeof l.componentWillUpdate!="function"||(typeof l.componentWillUpdate=="function"&&l.componentWillUpdate(r,x,a),typeof l.UNSAFE_componentWillUpdate=="function"&&l.UNSAFE_componentWillUpdate(r,x,a)),typeof l.componentDidUpdate=="function"&&(t.flags|=4),typeof l.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof l.componentDidUpdate!="function"||s===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=x),l.props=r,l.state=x,l.context=a,r=u):(typeof l.componentDidUpdate!="function"||s===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),r=!1)}return ml(e,t,n,r,o,i)}function ml(e,t,n,r,i,o){Bc(e,t);var l=(t.flags&128)!==0;if(!r&&!l)return i&&ga(t,n,!1),St(e,t,o);r=t.stateNode,Op.current=t;var s=l&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&l?(t.child=Tn(t,e.child,null,o),t.child=Tn(t,null,s,o)):Pe(e,t,s,o),t.memoizedState=r.state,i&&ga(t,n,!0),t.child}function $c(e){var t=e.stateNode;t.pendingContext?ma(e,t.pendingContext,t.pendingContext!==t.context):t.context&&ma(e,t.context,!1),rs(e,t.containerInfo)}function Ta(e,t,n,r,i){return Dn(),Jl(i),t.flags|=256,Pe(e,t,n,r),t.child}var gl={dehydrated:null,treeContext:null,retryLane:0};function vl(e){return{baseLanes:e,cachePool:null,transitions:null}}function Vc(e,t,n){var r=t.pendingProps,i=Z.current,o=!1,l=(t.flags&128)!==0,s;if((s=l)||(s=e!==null&&e.memoizedState===null?!1:(i&2)!==0),s?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),Q(Z,i&1),e===null)return ul(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):(l=r.children,e=r.fallback,o?(r=t.mode,o=t.child,l={mode:"hidden",children:l},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=l):o=Yi(l,r,0,null),e=Jt(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=vl(n),t.memoizedState=gl,e):ds(t,l));if(i=e.memoizedState,i!==null&&(s=i.dehydrated,s!==null))return Ip(e,t,l,r,s,i,n);if(o){o=r.fallback,l=t.mode,i=e.child,s=i.sibling;var a={mode:"hidden",children:r.children};return!(l&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=a,t.deletions=null):(r=Wt(i,a),r.subtreeFlags=i.subtreeFlags&14680064),s!==null?o=Wt(s,o):(o=Jt(o,l,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,l=e.child.memoizedState,l=l===null?vl(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},o.memoizedState=l,o.childLanes=e.childLanes&~n,t.memoizedState=gl,r}return o=e.child,e=o.sibling,r=Wt(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 ds(e,t){return t=Yi({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Xr(e,t,n,r){return r!==null&&Jl(r),Tn(t,e.child,null,n),e=ds(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Ip(e,t,n,r,i,o,l){if(n)return t.flags&256?(t.flags&=-257,r=Co(Error(C(422))),Xr(e,t,l,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=Yi({mode:"visible",children:r.children},i,0,null),o=Jt(o,i,l,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&Tn(t,e.child,null,l),t.child.memoizedState=vl(l),t.memoizedState=gl,o);if(!(t.mode&1))return Xr(e,t,l,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var s=r.dgst;return r=s,o=Error(C(419)),r=Co(o,r,void 0),Xr(e,t,l,r)}if(s=(l&e.childLanes)!==0,Te||s){if(r=ce,r!==null){switch(l&-l){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|l)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,wt(e,i),nt(r,e,i,-1))}return vs(),r=Co(Error(C(421))),Xr(e,t,l,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=Gp.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,Fe=Ot(i.nextSibling),We=t,G=!0,et=null,e!==null&&(Ve[Xe++]=ht,Ve[Xe++]=mt,Ve[Xe++]=qt,ht=e.id,mt=e.overflow,qt=t),t=ds(t,r.children),t.flags|=4096,t)}function Ma(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),cl(e.return,t,n)}function zo(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 Xc(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Pe(e,t,r.children,n),r=Z.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&&Ma(e,n,t);else if(e.tag===19)Ma(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(Q(Z,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&&_i(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),zo(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&&_i(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}zo(t,!0,n,null,o);break;case"together":zo(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ai(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function St(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),tn|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(C(153));if(t.child!==null){for(e=t.child,n=Wt(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Wt(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Ap(e,t,n){switch(t.tag){case 3:$c(t),Dn();break;case 5:vc(t);break;case 1:Le(t.type)&&ki(t);break;case 4:rs(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;Q(Pi,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(Q(Z,Z.current&1),t.flags|=128,null):n&t.child.childLanes?Vc(e,t,n):(Q(Z,Z.current&1),e=St(e,t,n),e!==null?e.sibling:null);Q(Z,Z.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Xc(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Q(Z,Z.current),r)break;return null;case 22:case 23:return t.lanes=0,Hc(e,t,n)}return St(e,t,n)}var Qc,yl,Yc,Kc;Qc=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}};yl=function(){};Yc=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Gt(ut.current);var o=null;switch(n){case"input":i=Uo(e,i),r=Uo(e,r),o=[];break;case"select":i=b({},i,{value:void 0}),r=b({},r,{value:void 0}),o=[];break;case"textarea":i=$o(e,i),r=$o(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Si)}Xo(n,r);var l;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var s=i[u];for(l in s)s.hasOwnProperty(l)&&(n||(n={}),n[l]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(sr.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in r){var a=r[u];if(s=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&a!==s&&(a!=null||s!=null))if(u==="style")if(s){for(l in s)!s.hasOwnProperty(l)||a&&a.hasOwnProperty(l)||(n||(n={}),n[l]="");for(l in a)a.hasOwnProperty(l)&&s[l]!==a[l]&&(n||(n={}),n[l]=a[l])}else n||(o||(o=[]),o.push(u,n)),n=a;else u==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,s=s?s.__html:void 0,a!=null&&s!==a&&(o=o||[]).push(u,a)):u==="children"?typeof a!="string"&&typeof a!="number"||(o=o||[]).push(u,""+a):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(sr.hasOwnProperty(u)?(a!=null&&u==="onScroll"&&Y("scroll",e),o||s===a||(o=[])):(o=o||[]).push(u,a))}n&&(o=o||[]).push("style",n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}};Kc=function(e,t,n,r){n!==r&&(t.flags|=4)};function Xn(e,t){if(!G)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 Se(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 Fp(e,t,n){var r=t.pendingProps;switch(Zl(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Se(t),null;case 1:return Le(t.type)&&xi(),Se(t),null;case 3:return r=t.stateNode,Mn(),K(Me),K(Ne),os(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&($r(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,et!==null&&(Cl(et),et=null))),yl(e,t),Se(t),null;case 5:is(t);var i=Gt(wr.current);if(n=t.type,e!==null&&t.stateNode!=null)Yc(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(C(166));return Se(t),null}if(e=Gt(ut.current),$r(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[st]=t,r[vr]=o,e=(t.mode&1)!==0,n){case"dialog":Y("cancel",r),Y("close",r);break;case"iframe":case"object":case"embed":Y("load",r);break;case"video":case"audio":for(i=0;i<Jn.length;i++)Y(Jn[i],r);break;case"source":Y("error",r);break;case"img":case"image":case"link":Y("error",r),Y("load",r);break;case"details":Y("toggle",r);break;case"input":Bs(r,o),Y("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},Y("invalid",r);break;case"textarea":Vs(r,o),Y("invalid",r)}Xo(n,o),i=null;for(var l in o)if(o.hasOwnProperty(l)){var s=o[l];l==="children"?typeof s=="string"?r.textContent!==s&&(o.suppressHydrationWarning!==!0&&Br(r.textContent,s,e),i=["children",s]):typeof s=="number"&&r.textContent!==""+s&&(o.suppressHydrationWarning!==!0&&Br(r.textContent,s,e),i=["children",""+s]):sr.hasOwnProperty(l)&&s!=null&&l==="onScroll"&&Y("scroll",r)}switch(n){case"input":Lr(r),$s(r,o,!0);break;case"textarea":Lr(r),Xs(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=Si)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{l=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=ku(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=l.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[st]=t,e[vr]=r,Qc(e,t,!1,!1),t.stateNode=e;e:{switch(l=Qo(n,r),n){case"dialog":Y("cancel",e),Y("close",e),i=r;break;case"iframe":case"object":case"embed":Y("load",e),i=r;break;case"video":case"audio":for(i=0;i<Jn.length;i++)Y(Jn[i],e);i=r;break;case"source":Y("error",e),i=r;break;case"img":case"image":case"link":Y("error",e),Y("load",e),i=r;break;case"details":Y("toggle",e),i=r;break;case"input":Bs(e,r),i=Uo(e,r),Y("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=b({},r,{value:void 0}),Y("invalid",e);break;case"textarea":Vs(e,r),i=$o(e,r),Y("invalid",e);break;default:i=r}Xo(n,i),s=i;for(o in s)if(s.hasOwnProperty(o)){var a=s[o];o==="style"?Pu(e,a):o==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,a!=null&&Nu(e,a)):o==="children"?typeof a=="string"?(n!=="textarea"||a!=="")&&ar(e,a):typeof a=="number"&&ar(e,""+a):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(sr.hasOwnProperty(o)?a!=null&&o==="onScroll"&&Y("scroll",e):a!=null&&Ol(e,o,a,l))}switch(n){case"input":Lr(e),$s(e,r,!1);break;case"textarea":Lr(e),Xs(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Ut(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?Nn(e,!!r.multiple,o,!1):r.defaultValue!=null&&Nn(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=Si)}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 Se(t),null;case 6:if(e&&t.stateNode!=null)Kc(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(C(166));if(n=Gt(wr.current),Gt(ut.current),$r(t)){if(r=t.stateNode,n=t.memoizedProps,r[st]=t,(o=r.nodeValue!==n)&&(e=We,e!==null))switch(e.tag){case 3:Br(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Br(r.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[st]=t,t.stateNode=r}return Se(t),null;case 13:if(K(Z),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(G&&Fe!==null&&t.mode&1&&!(t.flags&128))fc(),Dn(),t.flags|=98560,o=!1;else if(o=$r(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(C(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(C(317));o[st]=t}else Dn(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Se(t),o=!1}else et!==null&&(Cl(et),et=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||Z.current&1?ae===0&&(ae=3):vs())),t.updateQueue!==null&&(t.flags|=4),Se(t),null);case 4:return Mn(),yl(e,t),e===null&&mr(t.stateNode.containerInfo),Se(t),null;case 10:return es(t.type._context),Se(t),null;case 17:return Le(t.type)&&xi(),Se(t),null;case 19:if(K(Z),o=t.memoizedState,o===null)return Se(t),null;if(r=(t.flags&128)!==0,l=o.rendering,l===null)if(r)Xn(o,!1);else{if(ae!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(l=_i(e),l!==null){for(t.flags|=128,Xn(o,!1),r=l.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,l=o.alternate,l===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=l.childLanes,o.lanes=l.lanes,o.child=l.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=l.memoizedProps,o.memoizedState=l.memoizedState,o.updateQueue=l.updateQueue,o.type=l.type,e=l.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Q(Z,Z.current&1|2),t.child}e=e.sibling}o.tail!==null&&re()>On&&(t.flags|=128,r=!0,Xn(o,!1),t.lanes=4194304)}else{if(!r)if(e=_i(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Xn(o,!0),o.tail===null&&o.tailMode==="hidden"&&!l.alternate&&!G)return Se(t),null}else 2*re()-o.renderingStartTime>On&&n!==1073741824&&(t.flags|=128,r=!0,Xn(o,!1),t.lanes=4194304);o.isBackwards?(l.sibling=t.child,t.child=l):(n=o.last,n!==null?n.sibling=l:t.child=l,o.last=l)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=re(),t.sibling=null,n=Z.current,Q(Z,r?n&1|2:n&1),t):(Se(t),null);case 22:case 23:return gs(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ae&1073741824&&(Se(t),t.subtreeFlags&6&&(t.flags|=8192)):Se(t),null;case 24:return null;case 25:return null}throw Error(C(156,t.tag))}function Wp(e,t){switch(Zl(t),t.tag){case 1:return Le(t.type)&&xi(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Mn(),K(Me),K(Ne),os(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return is(t),null;case 13:if(K(Z),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(C(340));Dn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return K(Z),null;case 4:return Mn(),null;case 10:return es(t.type._context),null;case 22:case 23:return gs(),null;case 24:return null;default:return null}}var Qr=!1,ke=!1,Up=typeof WeakSet=="function"?WeakSet:Set,T=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 wl(e,t,n){try{n()}catch(r){q(e,t,r)}}var La=!1;function Hp(e,t){if(nl=vi,e=qu(),Kl(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 l=0,s=-1,a=-1,u=0,g=0,h=e,m=null;t:for(;;){for(var w;h!==n||i!==0&&h.nodeType!==3||(s=l+i),h!==o||r!==0&&h.nodeType!==3||(a=l+r),h.nodeType===3&&(l+=h.nodeValue.length),(w=h.firstChild)!==null;)m=h,h=w;for(;;){if(h===e)break t;if(m===n&&++u===i&&(s=l),m===o&&++g===r&&(a=l),(w=h.nextSibling)!==null)break;h=m,m=h.parentNode}h=w}n=s===-1||a===-1?null:{start:s,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(rl={focusedElem:e,selectionRange:n},vi=!1,T=t;T!==null;)if(t=T,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,T=e;else for(;T!==null;){t=T;try{var x=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(x!==null){var y=x.memoizedProps,D=x.memoizedState,p=t.stateNode,c=p.getSnapshotBeforeUpdate(t.elementType===t.type?y:be(t.type,y),D);p.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var d=t.stateNode.containerInfo;d.nodeType===1?d.textContent="":d.nodeType===9&&d.documentElement&&d.removeChild(d.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(C(163))}}catch(v){q(t,t.return,v)}if(e=t.sibling,e!==null){e.return=t.return,T=e;break}T=t.return}return x=La,La=!1,x}function ir(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&&wl(t,n,o)}i=i.next}while(i!==r)}}function Xi(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 Sl(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 Gc(e){var t=e.alternate;t!==null&&(e.alternate=null,Gc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[st],delete t[vr],delete t[ll],delete t[Np],delete t[Ep])),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 Zc(e){return e.tag===5||e.tag===3||e.tag===4}function Oa(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Zc(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 xl(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=Si));else if(r!==4&&(e=e.child,e!==null))for(xl(e,t,n),e=e.sibling;e!==null;)xl(e,t,n),e=e.sibling}function kl(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(kl(e,t,n),e=e.sibling;e!==null;)kl(e,t,n),e=e.sibling}var pe=null,qe=!1;function Nt(e,t,n){for(n=n.child;n!==null;)Jc(e,t,n),n=n.sibling}function Jc(e,t,n){if(at&&typeof at.onCommitFiberUnmount=="function")try{at.onCommitFiberUnmount(Ai,n)}catch{}switch(n.tag){case 5:ke||Sn(n,t);case 6:var r=pe,i=qe;pe=null,Nt(e,t,n),pe=r,qe=i,pe!==null&&(qe?(e=pe,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):pe.removeChild(n.stateNode));break;case 18:pe!==null&&(qe?(e=pe,n=n.stateNode,e.nodeType===8?So(e.parentNode,n):e.nodeType===1&&So(e,n),fr(e)):So(pe,n.stateNode));break;case 4:r=pe,i=qe,pe=n.stateNode.containerInfo,qe=!0,Nt(e,t,n),pe=r,qe=i;break;case 0:case 11:case 14:case 15:if(!ke&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,l=o.destroy;o=o.tag,l!==void 0&&(o&2||o&4)&&wl(n,t,l),i=i.next}while(i!==r)}Nt(e,t,n);break;case 1:if(!ke&&(Sn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){q(n,t,s)}Nt(e,t,n);break;case 21:Nt(e,t,n);break;case 22:n.mode&1?(ke=(r=ke)||n.memoizedState!==null,Nt(e,t,n),ke=r):Nt(e,t,n);break;default:Nt(e,t,n)}}function Ia(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Up),t.forEach(function(r){var i=Zp.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Ze(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,l=t,s=l;e:for(;s!==null;){switch(s.tag){case 5:pe=s.stateNode,qe=!1;break e;case 3:pe=s.stateNode.containerInfo,qe=!0;break e;case 4:pe=s.stateNode.containerInfo,qe=!0;break e}s=s.return}if(pe===null)throw Error(C(160));Jc(o,l,i),pe=null,qe=!1;var a=i.alternate;a!==null&&(a.return=null),i.return=null}catch(u){q(i,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)bc(t,e),t=t.sibling}function bc(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Ze(t,e),it(e),r&4){try{ir(3,e,e.return),Xi(3,e)}catch(y){q(e,e.return,y)}try{ir(5,e,e.return)}catch(y){q(e,e.return,y)}}break;case 1:Ze(t,e),it(e),r&512&&n!==null&&Sn(n,n.return);break;case 5:if(Ze(t,e),it(e),r&512&&n!==null&&Sn(n,n.return),e.flags&32){var i=e.stateNode;try{ar(i,"")}catch(y){q(e,e.return,y)}}if(r&4&&(i=e.stateNode,i!=null)){var o=e.memoizedProps,l=n!==null?n.memoizedProps:o,s=e.type,a=e.updateQueue;if(e.updateQueue=null,a!==null)try{s==="input"&&o.type==="radio"&&o.name!=null&&Su(i,o),Qo(s,l);var u=Qo(s,o);for(l=0;l<a.length;l+=2){var g=a[l],h=a[l+1];g==="style"?Pu(i,h):g==="dangerouslySetInnerHTML"?Nu(i,h):g==="children"?ar(i,h):Ol(i,g,h,u)}switch(s){case"input":Ho(i,o);break;case"textarea":xu(i,o);break;case"select":var m=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var w=o.value;w!=null?Nn(i,!!o.multiple,w,!1):m!==!!o.multiple&&(o.defaultValue!=null?Nn(i,!!o.multiple,o.defaultValue,!0):Nn(i,!!o.multiple,o.multiple?[]:"",!1))}i[vr]=o}catch(y){q(e,e.return,y)}}break;case 6:if(Ze(t,e),it(e),r&4){if(e.stateNode===null)throw Error(C(162));i=e.stateNode,o=e.memoizedProps;try{i.nodeValue=o}catch(y){q(e,e.return,y)}}break;case 3:if(Ze(t,e),it(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{fr(t.containerInfo)}catch(y){q(e,e.return,y)}break;case 4:Ze(t,e),it(e);break;case 13:Ze(t,e),it(e),i=e.child,i.flags&8192&&(o=i.memoizedState!==null,i.stateNode.isHidden=o,!o||i.alternate!==null&&i.alternate.memoizedState!==null||(hs=re())),r&4&&Ia(e);break;case 22:if(g=n!==null&&n.memoizedState!==null,e.mode&1?(ke=(u=ke)||g,Ze(t,e),ke=u):Ze(t,e),it(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!g&&e.mode&1)for(T=e,g=e.child;g!==null;){for(h=T=g;T!==null;){switch(m=T,w=m.child,m.tag){case 0:case 11:case 14:case 15:ir(4,m,m.return);break;case 1:Sn(m,m.return);var x=m.stateNode;if(typeof x.componentWillUnmount=="function"){r=m,n=m.return;try{t=r,x.props=t.memoizedProps,x.state=t.memoizedState,x.componentWillUnmount()}catch(y){q(r,n,y)}}break;case 5:Sn(m,m.return);break;case 22:if(m.memoizedState!==null){Fa(h);continue}}w!==null?(w.return=m,T=w):Fa(h)}g=g.sibling}e:for(g=null,h=e;;){if(h.tag===5){if(g===null){g=h;try{i=h.stateNode,u?(o=i.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(s=h.stateNode,a=h.memoizedProps.style,l=a!=null&&a.hasOwnProperty("display")?a.display:null,s.style.display=Eu("display",l))}catch(y){q(e,e.return,y)}}}else if(h.tag===6){if(g===null)try{h.stateNode.nodeValue=u?"":h.memoizedProps}catch(y){q(e,e.return,y)}}else if((h.tag!==22&&h.tag!==23||h.memoizedState===null||h===e)&&h.child!==null){h.child.return=h,h=h.child;continue}if(h===e)break e;for(;h.sibling===null;){if(h.return===null||h.return===e)break e;g===h&&(g=null),h=h.return}g===h&&(g=null),h.sibling.return=h.return,h=h.sibling}}break;case 19:Ze(t,e),it(e),r&4&&Ia(e);break;case 21:break;default:Ze(t,e),it(e)}}function it(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Zc(n)){var r=n;break e}n=n.return}throw Error(C(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(ar(i,""),r.flags&=-33);var o=Oa(e);kl(e,o,i);break;case 3:case 4:var l=r.stateNode.containerInfo,s=Oa(e);xl(e,s,l);break;default:throw Error(C(161))}}catch(a){q(e,e.return,a)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Bp(e,t,n){T=e,qc(e)}function qc(e,t,n){for(var r=(e.mode&1)!==0;T!==null;){var i=T,o=i.child;if(i.tag===22&&r){var l=i.memoizedState!==null||Qr;if(!l){var s=i.alternate,a=s!==null&&s.memoizedState!==null||ke;s=Qr;var u=ke;if(Qr=l,(ke=a)&&!u)for(T=i;T!==null;)l=T,a=l.child,l.tag===22&&l.memoizedState!==null?Wa(i):a!==null?(a.return=l,T=a):Wa(i);for(;o!==null;)T=o,qc(o),o=o.sibling;T=i,Qr=s,ke=u}Aa(e)}else i.subtreeFlags&8772&&o!==null?(o.return=i,T=o):Aa(e)}}function Aa(e){for(;T!==null;){var t=T;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:ke||Xi(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!ke)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&&xa(t,o,r);break;case 3:var l=t.updateQueue;if(l!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}xa(t,l,n)}break;case 5:var s=t.stateNode;if(n===null&&t.flags&4){n=s;var a=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":a.autoFocus&&n.focus();break;case"img":a.src&&(n.src=a.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var g=u.memoizedState;if(g!==null){var h=g.dehydrated;h!==null&&fr(h)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(C(163))}ke||t.flags&512&&Sl(t)}catch(m){q(t,t.return,m)}}if(t===e){T=null;break}if(n=t.sibling,n!==null){n.return=t.return,T=n;break}T=t.return}}function Fa(e){for(;T!==null;){var t=T;if(t===e){T=null;break}var n=t.sibling;if(n!==null){n.return=t.return,T=n;break}T=t.return}}function Wa(e){for(;T!==null;){var t=T;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Xi(4,t)}catch(a){q(t,n,a)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(a){q(t,i,a)}}var o=t.return;try{Sl(t)}catch(a){q(t,o,a)}break;case 5:var l=t.return;try{Sl(t)}catch(a){q(t,l,a)}}}catch(a){q(t,t.return,a)}if(t===e){T=null;break}var s=t.sibling;if(s!==null){s.return=t.return,T=s;break}T=t.return}}var $p=Math.ceil,Di=xt.ReactCurrentDispatcher,fs=xt.ReactCurrentOwner,Ye=xt.ReactCurrentBatchConfig,H=0,ce=null,oe=null,he=0,Ae=0,xn=$t(0),ae=0,Nr=null,tn=0,Qi=0,ps=0,or=null,De=null,hs=0,On=1/0,ft=null,Ti=!1,Nl=null,At=null,Yr=!1,Dt=null,Mi=0,lr=0,El=null,ui=-1,ci=0;function Ce(){return H&6?re():ui!==-1?ui:ui=re()}function Ft(e){return e.mode&1?H&2&&he!==0?he&-he:Cp.transition!==null?(ci===0&&(ci=Au()),ci):(e=B,e!==0||(e=window.event,e=e===void 0?16:Vu(e.type)),e):1}function nt(e,t,n,r){if(50<lr)throw lr=0,El=null,Error(C(185));Pr(e,n,r),(!(H&2)||e!==ce)&&(e===ce&&(!(H&2)&&(Qi|=n),ae===4&&jt(e,he)),Oe(e,r),n===1&&H===0&&!(t.mode&1)&&(On=re()+500,Bi&&Vt()))}function Oe(e,t){var n=e.callbackNode;Cf(e,t);var r=gi(e,e===ce?he:0);if(r===0)n!==null&&Ks(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Ks(n),t===1)e.tag===0?Pp(Ua.bind(null,e)):uc(Ua.bind(null,e)),xp(function(){!(H&6)&&Vt()}),n=null;else{switch(Fu(r)){case 1:n=Ul;break;case 4:n=Ou;break;case 16:n=mi;break;case 536870912:n=Iu;break;default:n=mi}n=sd(n,ed.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function ed(e,t){if(ui=-1,ci=0,H&6)throw Error(C(327));var n=e.callbackNode;if(_n()&&e.callbackNode!==n)return null;var r=gi(e,e===ce?he:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Li(e,r);else{t=r;var i=H;H|=2;var o=nd();(ce!==e||he!==t)&&(ft=null,On=re()+500,Zt(e,t));do try{Qp();break}catch(s){td(e,s)}while(!0);ql(),Di.current=o,H=i,oe!==null?t=0:(ce=null,he=0,t=ae)}if(t!==0){if(t===2&&(i=Jo(e),i!==0&&(r=i,t=Pl(e,i))),t===1)throw n=Nr,Zt(e,0),jt(e,r),Oe(e,re()),n;if(t===6)jt(e,r);else{if(i=e.current.alternate,!(r&30)&&!Vp(i)&&(t=Li(e,r),t===2&&(o=Jo(e),o!==0&&(r=o,t=Pl(e,o))),t===1))throw n=Nr,Zt(e,0),jt(e,r),Oe(e,re()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(C(345));case 2:Qt(e,De,ft);break;case 3:if(jt(e,r),(r&130023424)===r&&(t=hs+500-re(),10<t)){if(gi(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){Ce(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=ol(Qt.bind(null,e,De,ft),t);break}Qt(e,De,ft);break;case 4:if(jt(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var l=31-tt(r);o=1<<l,l=t[l],l>i&&(i=l),r&=~o}if(r=i,r=re()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*$p(r/1960))-r,10<r){e.timeoutHandle=ol(Qt.bind(null,e,De,ft),r);break}Qt(e,De,ft);break;case 5:Qt(e,De,ft);break;default:throw Error(C(329))}}}return Oe(e,re()),e.callbackNode===n?ed.bind(null,e):null}function Pl(e,t){var n=or;return e.current.memoizedState.isDehydrated&&(Zt(e,t).flags|=256),e=Li(e,t),e!==2&&(t=De,De=n,t!==null&&Cl(t)),e}function Cl(e){De===null?De=e:De.push.apply(De,e)}function Vp(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(!rt(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 jt(e,t){for(t&=~ps,t&=~Qi,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-tt(t),r=1<<n;e[n]=-1,t&=~r}}function Ua(e){if(H&6)throw Error(C(327));_n();var t=gi(e,0);if(!(t&1))return Oe(e,re()),null;var n=Li(e,t);if(e.tag!==0&&n===2){var r=Jo(e);r!==0&&(t=r,n=Pl(e,r))}if(n===1)throw n=Nr,Zt(e,0),jt(e,t),Oe(e,re()),n;if(n===6)throw Error(C(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Qt(e,De,ft),Oe(e,re()),null}function ms(e,t){var n=H;H|=1;try{return e(t)}finally{H=n,H===0&&(On=re()+500,Bi&&Vt())}}function nn(e){Dt!==null&&Dt.tag===0&&!(H&6)&&_n();var t=H;H|=1;var n=Ye.transition,r=B;try{if(Ye.transition=null,B=1,e)return e()}finally{B=r,Ye.transition=n,H=t,!(H&6)&&Vt()}}function gs(){Ae=xn.current,K(xn)}function Zt(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Sp(n)),oe!==null)for(n=oe.return;n!==null;){var r=n;switch(Zl(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&xi();break;case 3:Mn(),K(Me),K(Ne),os();break;case 5:is(r);break;case 4:Mn();break;case 13:K(Z);break;case 19:K(Z);break;case 10:es(r.type._context);break;case 22:case 23:gs()}n=n.return}if(ce=e,oe=e=Wt(e.current,null),he=Ae=t,ae=0,Nr=null,ps=Qi=tn=0,De=or=null,Kt!==null){for(t=0;t<Kt.length;t++)if(n=Kt[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,o=n.pending;if(o!==null){var l=o.next;o.next=i,r.next=l}n.pending=r}Kt=null}return e}function td(e,t){do{var n=oe;try{if(ql(),li.current=Ri,ji){for(var r=J.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}ji=!1}if(en=0,ue=se=J=null,rr=!1,Sr=0,fs.current=null,n===null||n.return===null){ae=1,Nr=t,oe=null;break}e:{var o=e,l=n.return,s=n,a=t;if(t=he,s.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){var u=a,g=s,h=g.tag;if(!(g.mode&1)&&(h===0||h===11||h===15)){var m=g.alternate;m?(g.updateQueue=m.updateQueue,g.memoizedState=m.memoizedState,g.lanes=m.lanes):(g.updateQueue=null,g.memoizedState=null)}var w=za(l);if(w!==null){w.flags&=-257,_a(w,l,s,o,t),w.mode&1&&Ca(o,u,t),t=w,a=u;var x=t.updateQueue;if(x===null){var y=new Set;y.add(a),t.updateQueue=y}else x.add(a);break e}else{if(!(t&1)){Ca(o,u,t),vs();break e}a=Error(C(426))}}else if(G&&s.mode&1){var D=za(l);if(D!==null){!(D.flags&65536)&&(D.flags|=256),_a(D,l,s,o,t),Jl(Ln(a,s));break e}}o=a=Ln(a,s),ae!==4&&(ae=2),or===null?or=[o]:or.push(o),o=l;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var p=Fc(o,a,t);Sa(o,p);break e;case 1:s=a;var c=o.type,d=o.stateNode;if(!(o.flags&128)&&(typeof c.getDerivedStateFromError=="function"||d!==null&&typeof d.componentDidCatch=="function"&&(At===null||!At.has(d)))){o.flags|=65536,t&=-t,o.lanes|=t;var v=Wc(o,s,t);Sa(o,v);break e}}o=o.return}while(o!==null)}id(n)}catch(S){t=S,oe===n&&n!==null&&(oe=n=n.return);continue}break}while(!0)}function nd(){var e=Di.current;return Di.current=Ri,e===null?Ri:e}function vs(){(ae===0||ae===3||ae===2)&&(ae=4),ce===null||!(tn&268435455)&&!(Qi&268435455)||jt(ce,he)}function Li(e,t){var n=H;H|=2;var r=nd();(ce!==e||he!==t)&&(ft=null,Zt(e,t));do try{Xp();break}catch(i){td(e,i)}while(!0);if(ql(),H=n,Di.current=r,oe!==null)throw Error(C(261));return ce=null,he=0,ae}function Xp(){for(;oe!==null;)rd(oe)}function Qp(){for(;oe!==null&&!vf();)rd(oe)}function rd(e){var t=ld(e.alternate,e,Ae);e.memoizedProps=e.pendingProps,t===null?id(e):oe=t,fs.current=null}function id(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=Wp(n,t),n!==null){n.flags&=32767,oe=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{ae=6,oe=null;return}}else if(n=Fp(n,t,Ae),n!==null){oe=n;return}if(t=t.sibling,t!==null){oe=t;return}oe=t=e}while(t!==null);ae===0&&(ae=5)}function Qt(e,t,n){var r=B,i=Ye.transition;try{Ye.transition=null,B=1,Yp(e,t,n,r)}finally{Ye.transition=i,B=r}return null}function Yp(e,t,n,r){do _n();while(Dt!==null);if(H&6)throw Error(C(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(C(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(zf(e,o),e===ce&&(oe=ce=null,he=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Yr||(Yr=!0,sd(mi,function(){return _n(),null})),o=(n.flags&15990)!==0,n.subtreeFlags&15990||o){o=Ye.transition,Ye.transition=null;var l=B;B=1;var s=H;H|=4,fs.current=null,Hp(e,n),bc(n,e),pp(rl),vi=!!nl,rl=nl=null,e.current=n,Bp(n),yf(),H=s,B=l,Ye.transition=o}else e.current=n;if(Yr&&(Yr=!1,Dt=e,Mi=i),o=e.pendingLanes,o===0&&(At=null),xf(n.stateNode),Oe(e,re()),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(Ti)throw Ti=!1,e=Nl,Nl=null,e;return Mi&1&&e.tag!==0&&_n(),o=e.pendingLanes,o&1?e===El?lr++:(lr=0,El=e):lr=0,Vt(),null}function _n(){if(Dt!==null){var e=Fu(Mi),t=Ye.transition,n=B;try{if(Ye.transition=null,B=16>e?16:e,Dt===null)var r=!1;else{if(e=Dt,Dt=null,Mi=0,H&6)throw Error(C(331));var i=H;for(H|=4,T=e.current;T!==null;){var o=T,l=o.child;if(T.flags&16){var s=o.deletions;if(s!==null){for(var a=0;a<s.length;a++){var u=s[a];for(T=u;T!==null;){var g=T;switch(g.tag){case 0:case 11:case 15:ir(8,g,o)}var h=g.child;if(h!==null)h.return=g,T=h;else for(;T!==null;){g=T;var m=g.sibling,w=g.return;if(Gc(g),g===u){T=null;break}if(m!==null){m.return=w,T=m;break}T=w}}}var x=o.alternate;if(x!==null){var y=x.child;if(y!==null){x.child=null;do{var D=y.sibling;y.sibling=null,y=D}while(y!==null)}}T=o}}if(o.subtreeFlags&2064&&l!==null)l.return=o,T=l;else e:for(;T!==null;){if(o=T,o.flags&2048)switch(o.tag){case 0:case 11:case 15:ir(9,o,o.return)}var p=o.sibling;if(p!==null){p.return=o.return,T=p;break e}T=o.return}}var c=e.current;for(T=c;T!==null;){l=T;var d=l.child;if(l.subtreeFlags&2064&&d!==null)d.return=l,T=d;else e:for(l=c;T!==null;){if(s=T,s.flags&2048)try{switch(s.tag){case 0:case 11:case 15:Xi(9,s)}}catch(S){q(s,s.return,S)}if(s===l){T=null;break e}var v=s.sibling;if(v!==null){v.return=s.return,T=v;break e}T=s.return}}if(H=i,Vt(),at&&typeof at.onPostCommitFiberRoot=="function")try{at.onPostCommitFiberRoot(Ai,e)}catch{}r=!0}return r}finally{B=n,Ye.transition=t}}return!1}function Ha(e,t,n){t=Ln(n,t),t=Fc(e,t,1),e=It(e,t,1),t=Ce(),e!==null&&(Pr(e,1,t),Oe(e,t))}function q(e,t,n){if(e.tag===3)Ha(e,e,n);else for(;t!==null;){if(t.tag===3){Ha(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(At===null||!At.has(r))){e=Ln(n,e),e=Wc(t,e,1),t=It(t,e,1),e=Ce(),t!==null&&(Pr(t,1,e),Oe(t,e));break}}t=t.return}}function Kp(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Ce(),e.pingedLanes|=e.suspendedLanes&n,ce===e&&(he&n)===n&&(ae===4||ae===3&&(he&130023424)===he&&500>re()-hs?Zt(e,0):ps|=n),Oe(e,t)}function od(e,t){t===0&&(e.mode&1?(t=Ar,Ar<<=1,!(Ar&130023424)&&(Ar=4194304)):t=1);var n=Ce();e=wt(e,t),e!==null&&(Pr(e,t,n),Oe(e,n))}function Gp(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),od(e,n)}function Zp(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(C(314))}r!==null&&r.delete(t),od(e,n)}var ld;ld=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Me.current)Te=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Te=!1,Ap(e,t,n);Te=!!(e.flags&131072)}else Te=!1,G&&t.flags&1048576&&cc(t,Ei,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ai(e,t),e=t.pendingProps;var i=Rn(t,Ne.current);zn(t,n),i=ss(null,t,r,e,i,n);var o=as();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,Le(r)?(o=!0,ki(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,ns(t),i.updater=Vi,t.stateNode=i,i._reactInternals=t,fl(t,r,e,n),t=ml(null,t,r,!0,o,n)):(t.tag=0,G&&o&&Gl(t),Pe(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ai(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=bp(r),e=be(r,e),i){case 0:t=hl(null,t,r,e,n);break e;case 1:t=Da(null,t,r,e,n);break e;case 11:t=ja(null,t,r,e,n);break e;case 14:t=Ra(null,t,r,be(r.type,e),n);break e}throw Error(C(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:be(r,i),hl(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:be(r,i),Da(e,t,r,i,n);case 3:e:{if($c(t),e===null)throw Error(C(387));r=t.pendingProps,o=t.memoizedState,i=o.element,gc(e,t),zi(t,r,null,n);var l=t.memoizedState;if(r=l.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=Ln(Error(C(423)),t),t=Ta(e,t,r,n,i);break e}else if(r!==i){i=Ln(Error(C(424)),t),t=Ta(e,t,r,n,i);break e}else for(Fe=Ot(t.stateNode.containerInfo.firstChild),We=t,G=!0,et=null,n=hc(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Dn(),r===i){t=St(e,t,n);break e}Pe(e,t,r,n)}t=t.child}return t;case 5:return vc(t),e===null&&ul(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,l=i.children,il(r,i)?l=null:o!==null&&il(r,o)&&(t.flags|=32),Bc(e,t),Pe(e,t,l,n),t.child;case 6:return e===null&&ul(t),null;case 13:return Vc(e,t,n);case 4:return rs(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Tn(t,null,r,n):Pe(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:be(r,i),ja(e,t,r,i,n);case 7:return Pe(e,t,t.pendingProps,n),t.child;case 8:return Pe(e,t,t.pendingProps.children,n),t.child;case 12:return Pe(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,l=i.value,Q(Pi,r._currentValue),r._currentValue=l,o!==null)if(rt(o.value,l)){if(o.children===i.children&&!Me.current){t=St(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var s=o.dependencies;if(s!==null){l=o.child;for(var a=s.firstContext;a!==null;){if(a.context===r){if(o.tag===1){a=gt(-1,n&-n),a.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var g=u.pending;g===null?a.next=a:(a.next=g.next,g.next=a),u.pending=a}}o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),cl(o.return,n,t),s.lanes|=n;break}a=a.next}}else if(o.tag===10)l=o.type===t.type?null:o.child;else if(o.tag===18){if(l=o.return,l===null)throw Error(C(341));l.lanes|=n,s=l.alternate,s!==null&&(s.lanes|=n),cl(l,n,t),l=o.sibling}else l=o.child;if(l!==null)l.return=o;else for(l=o;l!==null;){if(l===t){l=null;break}if(o=l.sibling,o!==null){o.return=l.return,l=o;break}l=l.return}o=l}Pe(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,zn(t,n),i=Ke(i),r=r(i),t.flags|=1,Pe(e,t,r,n),t.child;case 14:return r=t.type,i=be(r,t.pendingProps),i=be(r.type,i),Ra(e,t,r,i,n);case 15:return Uc(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:be(r,i),ai(e,t),t.tag=1,Le(r)?(e=!0,ki(t)):e=!1,zn(t,n),Ac(t,r,i),fl(t,r,i,n),ml(null,t,r,!0,e,n);case 19:return Xc(e,t,n);case 22:return Hc(e,t,n)}throw Error(C(156,t.tag))};function sd(e,t){return Lu(e,t)}function Jp(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 Qe(e,t,n,r){return new Jp(e,t,n,r)}function ys(e){return e=e.prototype,!(!e||!e.isReactComponent)}function bp(e){if(typeof e=="function")return ys(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Al)return 11;if(e===Fl)return 14}return 2}function Wt(e,t){var n=e.alternate;return n===null?(n=Qe(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 di(e,t,n,r,i,o){var l=2;if(r=e,typeof e=="function")ys(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case dn:return Jt(n.children,i,o,t);case Il:l=8,i|=8;break;case Io:return e=Qe(12,n,t,i|2),e.elementType=Io,e.lanes=o,e;case Ao:return e=Qe(13,n,t,i),e.elementType=Ao,e.lanes=o,e;case Fo:return e=Qe(19,n,t,i),e.elementType=Fo,e.lanes=o,e;case vu:return Yi(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case mu:l=10;break e;case gu:l=9;break e;case Al:l=11;break e;case Fl:l=14;break e;case Ct:l=16,r=null;break e}throw Error(C(130,e==null?e:typeof e,""))}return t=Qe(l,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Jt(e,t,n,r){return e=Qe(7,e,r,t),e.lanes=n,e}function Yi(e,t,n,r){return e=Qe(22,e,r,t),e.elementType=vu,e.lanes=n,e.stateNode={isHidden:!1},e}function _o(e,t,n){return e=Qe(6,e,null,t),e.lanes=n,e}function jo(e,t,n){return t=Qe(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function qp(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=ao(0),this.expirationTimes=ao(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ao(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function ws(e,t,n,r,i,o,l,s,a){return e=new qp(e,t,n,s,a),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Qe(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},ns(o),e}function eh(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:cn,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function ad(e){if(!e)return Ht;e=e._reactInternals;e:{if(on(e)!==e||e.tag!==1)throw Error(C(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Le(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(C(171))}if(e.tag===1){var n=e.type;if(Le(n))return ac(e,n,t)}return t}function ud(e,t,n,r,i,o,l,s,a){return e=ws(n,r,!0,e,i,o,l,s,a),e.context=ad(null),n=e.current,r=Ce(),i=Ft(n),o=gt(r,i),o.callback=t??null,It(n,o,i),e.current.lanes=i,Pr(e,i,r),Oe(e,r),e}function Ki(e,t,n,r){var i=t.current,o=Ce(),l=Ft(i);return n=ad(n),t.context===null?t.context=n:t.pendingContext=n,t=gt(o,l),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=It(i,t,l),e!==null&&(nt(e,i,l,o),oi(e,i,l)),l}function Oi(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 Ba(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Ss(e,t){Ba(e,t),(e=e.alternate)&&Ba(e,t)}function th(){return null}var cd=typeof reportError=="function"?reportError:function(e){console.error(e)};function xs(e){this._internalRoot=e}Gi.prototype.render=xs.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(C(409));Ki(e,t,null,null)};Gi.prototype.unmount=xs.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;nn(function(){Ki(null,e,null,null)}),t[yt]=null}};function Gi(e){this._internalRoot=e}Gi.prototype.unstable_scheduleHydration=function(e){if(e){var t=Hu();e={blockedOn:null,target:e,priority:t};for(var n=0;n<_t.length&&t!==0&&t<_t[n].priority;n++);_t.splice(n,0,e),n===0&&$u(e)}};function ks(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Zi(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function $a(){}function nh(e,t,n,r,i){if(i){if(typeof r=="function"){var o=r;r=function(){var u=Oi(l);o.call(u)}}var l=ud(t,r,e,0,null,!1,!1,"",$a);return e._reactRootContainer=l,e[yt]=l.current,mr(e.nodeType===8?e.parentNode:e),nn(),l}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var s=r;r=function(){var u=Oi(a);s.call(u)}}var a=ws(e,0,!1,null,null,!1,!1,"",$a);return e._reactRootContainer=a,e[yt]=a.current,mr(e.nodeType===8?e.parentNode:e),nn(function(){Ki(t,a,n,r)}),a}function Ji(e,t,n,r,i){var o=n._reactRootContainer;if(o){var l=o;if(typeof i=="function"){var s=i;i=function(){var a=Oi(l);s.call(a)}}Ki(t,l,e,i)}else l=nh(n,t,e,i,r);return Oi(l)}Wu=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Zn(t.pendingLanes);n!==0&&(Hl(t,n|1),Oe(t,re()),!(H&6)&&(On=re()+500,Vt()))}break;case 13:nn(function(){var r=wt(e,1);if(r!==null){var i=Ce();nt(r,e,1,i)}}),Ss(e,1)}};Bl=function(e){if(e.tag===13){var t=wt(e,134217728);if(t!==null){var n=Ce();nt(t,e,134217728,n)}Ss(e,134217728)}};Uu=function(e){if(e.tag===13){var t=Ft(e),n=wt(e,t);if(n!==null){var r=Ce();nt(n,e,t,r)}Ss(e,t)}};Hu=function(){return B};Bu=function(e,t){var n=B;try{return B=e,t()}finally{B=n}};Ko=function(e,t,n){switch(t){case"input":if(Ho(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=Hi(r);if(!i)throw Error(C(90));wu(r),Ho(r,i)}}}break;case"textarea":xu(e,n);break;case"select":t=n.value,t!=null&&Nn(e,!!n.multiple,t,!1)}};_u=ms;ju=nn;var rh={usingClientEntryPoint:!1,Events:[zr,mn,Hi,Cu,zu,ms]},Qn={findFiberByHostInstance:Yt,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},ih={bundleType:Qn.bundleType,version:Qn.version,rendererPackageName:Qn.rendererPackageName,rendererConfig:Qn.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:xt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Tu(e),e===null?null:e.stateNode},findFiberByHostInstance:Qn.findFiberByHostInstance||th,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 Kr=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Kr.isDisabled&&Kr.supportsFiber)try{Ai=Kr.inject(ih),at=Kr}catch{}}Be.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=rh;Be.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!ks(t))throw Error(C(200));return eh(e,t,null,n)};Be.createRoot=function(e,t){if(!ks(e))throw Error(C(299));var n=!1,r="",i=cd;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=ws(e,1,!1,null,null,n,!1,r,i),e[yt]=t.current,mr(e.nodeType===8?e.parentNode:e),new xs(t)};Be.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(C(188)):(e=Object.keys(e).join(","),Error(C(268,e)));return e=Tu(t),e=e===null?null:e.stateNode,e};Be.flushSync=function(e){return nn(e)};Be.hydrate=function(e,t,n){if(!Zi(t))throw Error(C(200));return Ji(null,e,t,!0,n)};Be.hydrateRoot=function(e,t,n){if(!ks(e))throw Error(C(405));var r=n!=null&&n.hydratedSources||null,i=!1,o="",l=cd;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(l=n.onRecoverableError)),t=ud(t,null,e,1,n??null,i,!1,o,l),e[yt]=t.current,mr(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 Gi(t)};Be.render=function(e,t,n){if(!Zi(t))throw Error(C(200));return Ji(null,e,t,!1,n)};Be.unmountComponentAtNode=function(e){if(!Zi(e))throw Error(C(40));return e._reactRootContainer?(nn(function(){Ji(null,null,e,!1,function(){e._reactRootContainer=null,e[yt]=null})}),!0):!1};Be.unstable_batchedUpdates=ms;Be.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Zi(n))throw Error(C(200));if(e==null||e._reactInternals===void 0)throw Error(C(38));return Ji(e,t,n,!1,r)};Be.version="18.3.1-next-f1338f8080-20240426";function dd(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(dd)}catch(e){console.error(e)}}dd(),du.exports=Be;var jr=du.exports,Va=jr;Lo.createRoot=Va.createRoot,Lo.hydrateRoot=Va.hydrateRoot;var bi={exports:{}},fd={},pd={exports:{}},oh="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",lh=oh,sh=lh;function hd(){}function md(){}md.resetWarningCache=hd;var ah=function(){function e(r,i,o,l,s,a){if(a!==sh){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:md,resetWarningCache:hd};return n.PropTypes=n,n};pd.exports=ah();var gd=pd.exports;function vd(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=vd(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function Xa(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=vd(e))&&(r&&(r+=" "),r+=t);return r}const uh=Object.freeze(Object.defineProperty({__proto__:null,clsx:Xa,default:Xa},Symbol.toStringTag,{value:"Module"})),ch=Td(uh);var ee={},ct={};Object.defineProperty(ct,"__esModule",{value:!0});ct.dontSetMe=mh;ct.findInArray=dh;ct.int=hh;ct.isFunction=fh;ct.isNum=ph;function dh(e,t){for(let n=0,r=e.length;n<r;n++)if(t.apply(t,[e[n],n,e]))return e[n]}function fh(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Function]"}function ph(e){return typeof e=="number"&&!isNaN(e)}function hh(e){return parseInt(e,10)}function mh(e,t,n){if(e[t])return new Error("Invalid prop ".concat(t," passed to ").concat(n," - do not set this, set it on the child."))}var ln={};Object.defineProperty(ln,"__esModule",{value:!0});ln.browserPrefixToKey=wd;ln.browserPrefixToStyle=gh;ln.default=void 0;ln.getPrefix=yd;const Ro=["Moz","Webkit","O","ms"];function yd(){var e;let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"transform";if(typeof window>"u")return"";const n=(e=window.document)===null||e===void 0||(e=e.documentElement)===null||e===void 0?void 0:e.style;if(!n||t in n)return"";for(let r=0;r<Ro.length;r++)if(wd(t,Ro[r])in n)return Ro[r];return""}function wd(e,t){return t?"".concat(t).concat(vh(e)):e}function gh(e,t){return t?"-".concat(t.toLowerCase(),"-").concat(e):e}function vh(e){let t="",n=!0;for(let r=0;r<e.length;r++)n?(t+=e[r].toUpperCase(),n=!1):e[r]==="-"?n=!0:t+=e[r];return t}ln.default=yd();Object.defineProperty(ee,"__esModule",{value:!0});ee.addClassName=kd;ee.addEvent=Sh;ee.addUserSelectStyles=Dh;ee.createCSSTransform=zh;ee.createSVGTransform=_h;ee.getTouch=jh;ee.getTouchIdentifier=Rh;ee.getTranslation=Ns;ee.innerHeight=Eh;ee.innerWidth=Ph;ee.matchesSelector=xd;ee.matchesSelectorAndParentsTo=wh;ee.offsetXYFromParent=Ch;ee.outerHeight=kh;ee.outerWidth=Nh;ee.removeClassName=Nd;ee.removeEvent=xh;ee.removeUserSelectStyles=Th;var Ue=ct,Qa=yh(ln);function Sd(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(Sd=function(r){return r?n:t})(e)}function yh(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=Sd(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!=="default"&&Object.prototype.hasOwnProperty.call(e,o)){var l=i?Object.getOwnPropertyDescriptor(e,o):null;l&&(l.get||l.set)?Object.defineProperty(r,o,l):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}let Gr="";function xd(e,t){return Gr||(Gr=(0,Ue.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],function(n){return(0,Ue.isFunction)(e[n])})),(0,Ue.isFunction)(e[Gr])?e[Gr](t):!1}function wh(e,t,n){let r=e;do{if(xd(r,t))return!0;if(r===n)return!1;r=r.parentNode}while(r);return!1}function Sh(e,t,n,r){if(!e)return;const i={capture:!0,...r};e.addEventListener?e.addEventListener(t,n,i):e.attachEvent?e.attachEvent("on"+t,n):e["on"+t]=n}function xh(e,t,n,r){if(!e)return;const i={capture:!0,...r};e.removeEventListener?e.removeEventListener(t,n,i):e.detachEvent?e.detachEvent("on"+t,n):e["on"+t]=null}function kh(e){let t=e.clientHeight;const n=e.ownerDocument.defaultView.getComputedStyle(e);return t+=(0,Ue.int)(n.borderTopWidth),t+=(0,Ue.int)(n.borderBottomWidth),t}function Nh(e){let t=e.clientWidth;const n=e.ownerDocument.defaultView.getComputedStyle(e);return t+=(0,Ue.int)(n.borderLeftWidth),t+=(0,Ue.int)(n.borderRightWidth),t}function Eh(e){let t=e.clientHeight;const n=e.ownerDocument.defaultView.getComputedStyle(e);return t-=(0,Ue.int)(n.paddingTop),t-=(0,Ue.int)(n.paddingBottom),t}function Ph(e){let t=e.clientWidth;const n=e.ownerDocument.defaultView.getComputedStyle(e);return t-=(0,Ue.int)(n.paddingLeft),t-=(0,Ue.int)(n.paddingRight),t}function Ch(e,t,n){const i=t===t.ownerDocument.body?{left:0,top:0}:t.getBoundingClientRect(),o=(e.clientX+t.scrollLeft-i.left)/n,l=(e.clientY+t.scrollTop-i.top)/n;return{x:o,y:l}}function zh(e,t){const n=Ns(e,t,"px");return{[(0,Qa.browserPrefixToKey)("transform",Qa.default)]:n}}function _h(e,t){return Ns(e,t,"")}function Ns(e,t,n){let{x:r,y:i}=e,o="translate(".concat(r).concat(n,",").concat(i).concat(n,")");if(t){const l="".concat(typeof t.x=="string"?t.x:t.x+n),s="".concat(typeof t.y=="string"?t.y:t.y+n);o="translate(".concat(l,", ").concat(s,")")+o}return o}function jh(e,t){return e.targetTouches&&(0,Ue.findInArray)(e.targetTouches,n=>t===n.identifier)||e.changedTouches&&(0,Ue.findInArray)(e.changedTouches,n=>t===n.identifier)}function Rh(e){if(e.targetTouches&&e.targetTouches[0])return e.targetTouches[0].identifier;if(e.changedTouches&&e.changedTouches[0])return e.changedTouches[0].identifier}function Dh(e){if(!e)return;let t=e.getElementById("react-draggable-style-el");t||(t=e.createElement("style"),t.type="text/css",t.id="react-draggable-style-el",t.innerHTML=`.react-draggable-transparent-selection *::-moz-selection {all: inherit;}
41
+ `,t.innerHTML+=`.react-draggable-transparent-selection *::selection {all: inherit;}
42
+ `,e.getElementsByTagName("head")[0].appendChild(t)),e.body&&kd(e.body,"react-draggable-transparent-selection")}function Th(e){if(e)try{if(e.body&&Nd(e.body,"react-draggable-transparent-selection"),e.selection)e.selection.empty();else{const t=(e.defaultView||window).getSelection();t&&t.type!=="Caret"&&t.removeAllRanges()}}catch{}}function kd(e,t){e.classList?e.classList.add(t):e.className.match(new RegExp("(?:^|\\s)".concat(t,"(?!\\S)")))||(e.className+=" ".concat(t))}function Nd(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(?:^|\\s)".concat(t,"(?!\\S)"),"g"),"")}var dt={};Object.defineProperty(dt,"__esModule",{value:!0});dt.canDragX=Oh;dt.canDragY=Ih;dt.createCoreData=Fh;dt.createDraggableData=Wh;dt.getBoundPosition=Mh;dt.getControlPosition=Ah;dt.snapToGrid=Lh;var Ie=ct,kn=ee;function Mh(e,t,n){if(!e.props.bounds)return[t,n];let{bounds:r}=e.props;r=typeof r=="string"?r:Uh(r);const i=Es(e);if(typeof r=="string"){const{ownerDocument:o}=i,l=o.defaultView;let s;if(r==="parent"?s=i.parentNode:s=o.querySelector(r),!(s instanceof l.HTMLElement))throw new Error('Bounds selector "'+r+'" could not find an element.');const a=s,u=l.getComputedStyle(i),g=l.getComputedStyle(a);r={left:-i.offsetLeft+(0,Ie.int)(g.paddingLeft)+(0,Ie.int)(u.marginLeft),top:-i.offsetTop+(0,Ie.int)(g.paddingTop)+(0,Ie.int)(u.marginTop),right:(0,kn.innerWidth)(a)-(0,kn.outerWidth)(i)-i.offsetLeft+(0,Ie.int)(g.paddingRight)-(0,Ie.int)(u.marginRight),bottom:(0,kn.innerHeight)(a)-(0,kn.outerHeight)(i)-i.offsetTop+(0,Ie.int)(g.paddingBottom)-(0,Ie.int)(u.marginBottom)}}return(0,Ie.isNum)(r.right)&&(t=Math.min(t,r.right)),(0,Ie.isNum)(r.bottom)&&(n=Math.min(n,r.bottom)),(0,Ie.isNum)(r.left)&&(t=Math.max(t,r.left)),(0,Ie.isNum)(r.top)&&(n=Math.max(n,r.top)),[t,n]}function Lh(e,t,n){const r=Math.round(t/e[0])*e[0],i=Math.round(n/e[1])*e[1];return[r,i]}function Oh(e){return e.props.axis==="both"||e.props.axis==="x"}function Ih(e){return e.props.axis==="both"||e.props.axis==="y"}function Ah(e,t,n){const r=typeof t=="number"?(0,kn.getTouch)(e,t):null;if(typeof t=="number"&&!r)return null;const i=Es(n),o=n.props.offsetParent||i.offsetParent||i.ownerDocument.body;return(0,kn.offsetXYFromParent)(r||e,o,n.props.scale)}function Fh(e,t,n){const r=!(0,Ie.isNum)(e.lastX),i=Es(e);return r?{node:i,deltaX:0,deltaY:0,lastX:t,lastY:n,x:t,y:n}:{node:i,deltaX:t-e.lastX,deltaY:n-e.lastY,lastX:e.lastX,lastY:e.lastY,x:t,y:n}}function Wh(e,t){const n=e.props.scale;return{node:t.node,x:e.state.x+t.deltaX/n,y:e.state.y+t.deltaY/n,deltaX:t.deltaX/n,deltaY:t.deltaY/n,lastX:e.state.x,lastY:e.state.y}}function Uh(e){return{left:e.left,top:e.top,right:e.right,bottom:e.bottom}}function Es(e){const t=e.findDOMNode();if(!t)throw new Error("<DraggableCore>: Unmounted during event!");return t}var qi={},eo={};Object.defineProperty(eo,"__esModule",{value:!0});eo.default=Hh;function Hh(){}Object.defineProperty(qi,"__esModule",{value:!0});qi.default=void 0;var Do=$h(R),Re=Ps(gd),Bh=Ps(jr),xe=ee,Et=dt,To=ct,Yn=Ps(eo);function Ps(e){return e&&e.__esModule?e:{default:e}}function Ed(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(Ed=function(r){return r?n:t})(e)}function $h(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=Ed(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!=="default"&&Object.prototype.hasOwnProperty.call(e,o)){var l=i?Object.getOwnPropertyDescriptor(e,o):null;l&&(l.get||l.set)?Object.defineProperty(r,o,l):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}function Ee(e,t,n){return t=Vh(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vh(e){var t=Xh(e,"string");return typeof t=="symbol"?t:String(t)}function Xh(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}const Je={touch:{start:"touchstart",move:"touchmove",stop:"touchend"},mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"}};let Pt=Je.mouse,to=class extends Do.Component{constructor(){super(...arguments),Ee(this,"dragging",!1),Ee(this,"lastX",NaN),Ee(this,"lastY",NaN),Ee(this,"touchIdentifier",null),Ee(this,"mounted",!1),Ee(this,"handleDragStart",t=>{if(this.props.onMouseDown(t),!this.props.allowAnyClick&&typeof t.button=="number"&&t.button!==0)return!1;const n=this.findDOMNode();if(!n||!n.ownerDocument||!n.ownerDocument.body)throw new Error("<DraggableCore> not mounted on DragStart!");const{ownerDocument:r}=n;if(this.props.disabled||!(t.target instanceof r.defaultView.Node)||this.props.handle&&!(0,xe.matchesSelectorAndParentsTo)(t.target,this.props.handle,n)||this.props.cancel&&(0,xe.matchesSelectorAndParentsTo)(t.target,this.props.cancel,n))return;t.type==="touchstart"&&t.preventDefault();const i=(0,xe.getTouchIdentifier)(t);this.touchIdentifier=i;const o=(0,Et.getControlPosition)(t,i,this);if(o==null)return;const{x:l,y:s}=o,a=(0,Et.createCoreData)(this,l,s);(0,Yn.default)("DraggableCore: handleDragStart: %j",a),(0,Yn.default)("calling",this.props.onStart),!(this.props.onStart(t,a)===!1||this.mounted===!1)&&(this.props.enableUserSelectHack&&(0,xe.addUserSelectStyles)(r),this.dragging=!0,this.lastX=l,this.lastY=s,(0,xe.addEvent)(r,Pt.move,this.handleDrag),(0,xe.addEvent)(r,Pt.stop,this.handleDragStop))}),Ee(this,"handleDrag",t=>{const n=(0,Et.getControlPosition)(t,this.touchIdentifier,this);if(n==null)return;let{x:r,y:i}=n;if(Array.isArray(this.props.grid)){let s=r-this.lastX,a=i-this.lastY;if([s,a]=(0,Et.snapToGrid)(this.props.grid,s,a),!s&&!a)return;r=this.lastX+s,i=this.lastY+a}const o=(0,Et.createCoreData)(this,r,i);if((0,Yn.default)("DraggableCore: handleDrag: %j",o),this.props.onDrag(t,o)===!1||this.mounted===!1){try{this.handleDragStop(new MouseEvent("mouseup"))}catch{const a=document.createEvent("MouseEvents");a.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),this.handleDragStop(a)}return}this.lastX=r,this.lastY=i}),Ee(this,"handleDragStop",t=>{if(!this.dragging)return;const n=(0,Et.getControlPosition)(t,this.touchIdentifier,this);if(n==null)return;let{x:r,y:i}=n;if(Array.isArray(this.props.grid)){let a=r-this.lastX||0,u=i-this.lastY||0;[a,u]=(0,Et.snapToGrid)(this.props.grid,a,u),r=this.lastX+a,i=this.lastY+u}const o=(0,Et.createCoreData)(this,r,i);if(this.props.onStop(t,o)===!1||this.mounted===!1)return!1;const s=this.findDOMNode();s&&this.props.enableUserSelectHack&&(0,xe.removeUserSelectStyles)(s.ownerDocument),(0,Yn.default)("DraggableCore: handleDragStop: %j",o),this.dragging=!1,this.lastX=NaN,this.lastY=NaN,s&&((0,Yn.default)("DraggableCore: Removing handlers"),(0,xe.removeEvent)(s.ownerDocument,Pt.move,this.handleDrag),(0,xe.removeEvent)(s.ownerDocument,Pt.stop,this.handleDragStop))}),Ee(this,"onMouseDown",t=>(Pt=Je.mouse,this.handleDragStart(t))),Ee(this,"onMouseUp",t=>(Pt=Je.mouse,this.handleDragStop(t))),Ee(this,"onTouchStart",t=>(Pt=Je.touch,this.handleDragStart(t))),Ee(this,"onTouchEnd",t=>(Pt=Je.touch,this.handleDragStop(t)))}componentDidMount(){this.mounted=!0;const t=this.findDOMNode();t&&(0,xe.addEvent)(t,Je.touch.start,this.onTouchStart,{passive:!1})}componentWillUnmount(){this.mounted=!1;const t=this.findDOMNode();if(t){const{ownerDocument:n}=t;(0,xe.removeEvent)(n,Je.mouse.move,this.handleDrag),(0,xe.removeEvent)(n,Je.touch.move,this.handleDrag),(0,xe.removeEvent)(n,Je.mouse.stop,this.handleDragStop),(0,xe.removeEvent)(n,Je.touch.stop,this.handleDragStop),(0,xe.removeEvent)(t,Je.touch.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,xe.removeUserSelectStyles)(n)}}findDOMNode(){var t,n;return(t=this.props)!==null&&t!==void 0&&t.nodeRef?(n=this.props)===null||n===void 0||(n=n.nodeRef)===null||n===void 0?void 0:n.current:Bh.default.findDOMNode(this)}render(){return Do.cloneElement(Do.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}};qi.default=to;Ee(to,"displayName","DraggableCore");Ee(to,"propTypes",{allowAnyClick:Re.default.bool,children:Re.default.node.isRequired,disabled:Re.default.bool,enableUserSelectHack:Re.default.bool,offsetParent:function(e,t){if(e[t]&&e[t].nodeType!==1)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:Re.default.arrayOf(Re.default.number),handle:Re.default.string,cancel:Re.default.string,nodeRef:Re.default.object,onStart:Re.default.func,onDrag:Re.default.func,onStop:Re.default.func,onMouseDown:Re.default.func,scale:Re.default.number,className:To.dontSetMe,style:To.dontSetMe,transform:To.dontSetMe});Ee(to,"defaultProps",{allowAnyClick:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1});(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"DraggableCore",{enumerable:!0,get:function(){return a.default}}),e.default=void 0;var t=m(R),n=g(gd),r=g(jr),i=g(ch),o=ee,l=dt,s=ct,a=g(qi),u=g(eo);function g(c){return c&&c.__esModule?c:{default:c}}function h(c){if(typeof WeakMap!="function")return null;var d=new WeakMap,v=new WeakMap;return(h=function(S){return S?v:d})(c)}function m(c,d){if(c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var v=h(d);if(v&&v.has(c))return v.get(c);var S={},P=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var N in c)if(N!=="default"&&Object.prototype.hasOwnProperty.call(c,N)){var _=P?Object.getOwnPropertyDescriptor(c,N):null;_&&(_.get||_.set)?Object.defineProperty(S,N,_):S[N]=c[N]}return S.default=c,v&&v.set(c,S),S}function w(){return w=Object.assign?Object.assign.bind():function(c){for(var d=1;d<arguments.length;d++){var v=arguments[d];for(var S in v)Object.prototype.hasOwnProperty.call(v,S)&&(c[S]=v[S])}return c},w.apply(this,arguments)}function x(c,d,v){return d=y(d),d in c?Object.defineProperty(c,d,{value:v,enumerable:!0,configurable:!0,writable:!0}):c[d]=v,c}function y(c){var d=D(c,"string");return typeof d=="symbol"?d:String(d)}function D(c,d){if(typeof c!="object"||c===null)return c;var v=c[Symbol.toPrimitive];if(v!==void 0){var S=v.call(c,d);if(typeof S!="object")return S;throw new TypeError("@@toPrimitive must return a primitive value.")}return(d==="string"?String:Number)(c)}class p extends t.Component{static getDerivedStateFromProps(d,v){let{position:S}=d,{prevPropsPosition:P}=v;return S&&(!P||S.x!==P.x||S.y!==P.y)?((0,u.default)("Draggable: getDerivedStateFromProps %j",{position:S,prevPropsPosition:P}),{x:S.x,y:S.y,prevPropsPosition:{...S}}):null}constructor(d){super(d),x(this,"onDragStart",(v,S)=>{if((0,u.default)("Draggable: onDragStart: %j",S),this.props.onStart(v,(0,l.createDraggableData)(this,S))===!1)return!1;this.setState({dragging:!0,dragged:!0})}),x(this,"onDrag",(v,S)=>{if(!this.state.dragging)return!1;(0,u.default)("Draggable: onDrag: %j",S);const P=(0,l.createDraggableData)(this,S),N={x:P.x,y:P.y,slackX:0,slackY:0};if(this.props.bounds){const{x:O,y:M}=N;N.x+=this.state.slackX,N.y+=this.state.slackY;const[W,U]=(0,l.getBoundPosition)(this,N.x,N.y);N.x=W,N.y=U,N.slackX=this.state.slackX+(O-N.x),N.slackY=this.state.slackY+(M-N.y),P.x=N.x,P.y=N.y,P.deltaX=N.x-this.state.x,P.deltaY=N.y-this.state.y}if(this.props.onDrag(v,P)===!1)return!1;this.setState(N)}),x(this,"onDragStop",(v,S)=>{if(!this.state.dragging||this.props.onStop(v,(0,l.createDraggableData)(this,S))===!1)return!1;(0,u.default)("Draggable: onDragStop: %j",S);const N={dragging:!1,slackX:0,slackY:0};if(!!this.props.position){const{x:O,y:M}=this.props.position;N.x=O,N.y=M}this.setState(N)}),this.state={dragging:!1,dragged:!1,x:d.position?d.position.x:d.defaultPosition.x,y:d.position?d.position.y:d.defaultPosition.y,prevPropsPosition:{...d.position},slackX:0,slackY:0,isElementSVG:!1},d.position&&!(d.onDrag||d.onStop)&&console.warn("A `position` was applied to this <Draggable>, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.")}componentDidMount(){typeof window.SVGElement<"u"&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}componentWillUnmount(){this.setState({dragging:!1})}findDOMNode(){var d,v;return(d=(v=this.props)===null||v===void 0||(v=v.nodeRef)===null||v===void 0?void 0:v.current)!==null&&d!==void 0?d:r.default.findDOMNode(this)}render(){const{axis:d,bounds:v,children:S,defaultPosition:P,defaultClassName:N,defaultClassNameDragging:_,defaultClassNameDragged:O,position:M,positionOffset:W,scale:U,...V}=this.props;let ge={},ve=null;const de=!!!M||this.state.dragging,j=M||P,z={x:(0,l.canDragX)(this)&&de?this.state.x:j.x,y:(0,l.canDragY)(this)&&de?this.state.y:j.y};this.state.isElementSVG?ve=(0,o.createSVGTransform)(z,W):ge=(0,o.createCSSTransform)(z,W);const k=(0,i.default)(S.props.className||"",N,{[_]:this.state.dragging,[O]:this.state.dragged});return t.createElement(a.default,w({},V,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),t.cloneElement(t.Children.only(S),{className:k,style:{...S.props.style,...ge},transform:ve}))}}e.default=p,x(p,"displayName","Draggable"),x(p,"propTypes",{...a.default.propTypes,axis:n.default.oneOf(["both","x","y","none"]),bounds:n.default.oneOfType([n.default.shape({left:n.default.number,right:n.default.number,top:n.default.number,bottom:n.default.number}),n.default.string,n.default.oneOf([!1])]),defaultClassName:n.default.string,defaultClassNameDragging:n.default.string,defaultClassNameDragged:n.default.string,defaultPosition:n.default.shape({x:n.default.number,y:n.default.number}),positionOffset:n.default.shape({x:n.default.oneOfType([n.default.number,n.default.string]),y:n.default.oneOfType([n.default.number,n.default.string])}),position:n.default.shape({x:n.default.number,y:n.default.number}),className:s.dontSetMe,style:s.dontSetMe,transform:s.dontSetMe}),x(p,"defaultProps",{...a.default.defaultProps,axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1})})(fd);const{default:Pd,DraggableCore:Qh}=fd;bi.exports=Pd;bi.exports.default=Pd;bi.exports.DraggableCore=Qh;var Yh=bi.exports;const Kh=qa(Yh);var ie=function(){return ie=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},ie.apply(this,arguments)},Ya={width:"100%",height:"10px",top:"0px",left:"0px",cursor:"row-resize"},Ka={width:"10px",height:"100%",top:"0px",left:"0px",cursor:"col-resize"},Zr={width:"20px",height:"20px",position:"absolute",zIndex:1},Gh={top:ie(ie({},Ya),{top:"-5px"}),right:ie(ie({},Ka),{left:void 0,right:"-5px"}),bottom:ie(ie({},Ya),{top:void 0,bottom:"-5px"}),left:ie(ie({},Ka),{left:"-5px"}),topRight:ie(ie({},Zr),{right:"-10px",top:"-10px",cursor:"ne-resize"}),bottomRight:ie(ie({},Zr),{right:"-10px",bottom:"-10px",cursor:"se-resize"}),bottomLeft:ie(ie({},Zr),{left:"-10px",bottom:"-10px",cursor:"sw-resize"}),topLeft:ie(ie({},Zr),{left:"-10px",top:"-10px",cursor:"nw-resize"})},Zh=R.memo(function(e){var t=e.onResizeStart,n=e.direction,r=e.children,i=e.replaceStyles,o=e.className,l=R.useCallback(function(u){t(u,n)},[t,n]),s=R.useCallback(function(u){t(u,n)},[t,n]),a=R.useMemo(function(){return ie(ie({position:"absolute",userSelect:"none"},Gh[n]),i??{})},[i,n]);return f.jsx("div",{className:o||void 0,style:a,onMouseDown:l,onTouchStart:s,children:r})}),Jh=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),lt=function(){return lt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},lt.apply(this,arguments)},bh={width:"auto",height:"auto"},Jr=function(e,t,n){return Math.max(Math.min(e,n),t)},Ga=function(e,t,n){var r=Math.round(e/t);return r*t+n*(r-1)},un=function(e,t){return new RegExp(e,"i").test(t)},br=function(e){return!!(e.touches&&e.touches.length)},qh=function(e){return!!((e.clientX||e.clientX===0)&&(e.clientY||e.clientY===0))},Za=function(e,t,n){n===void 0&&(n=0);var r=t.reduce(function(o,l,s){return Math.abs(l-e)<Math.abs(t[o]-e)?s:o},0),i=Math.abs(t[r]-e);return n===0||i<n?t[r]:e},Mo=function(e){return e=e.toString(),e==="auto"||e.endsWith("px")||e.endsWith("%")||e.endsWith("vh")||e.endsWith("vw")||e.endsWith("vmax")||e.endsWith("vmin")?e:"".concat(e,"px")},qr=function(e,t,n,r){if(e&&typeof e=="string"){if(e.endsWith("px"))return Number(e.replace("px",""));if(e.endsWith("%")){var i=Number(e.replace("%",""))/100;return t*i}if(e.endsWith("vw")){var i=Number(e.replace("vw",""))/100;return n*i}if(e.endsWith("vh")){var i=Number(e.replace("vh",""))/100;return r*i}}return e},em=function(e,t,n,r,i,o,l){return r=qr(r,e.width,t,n),i=qr(i,e.height,t,n),o=qr(o,e.width,t,n),l=qr(l,e.height,t,n),{maxWidth:typeof r>"u"?void 0:Number(r),maxHeight:typeof i>"u"?void 0:Number(i),minWidth:typeof o>"u"?void 0:Number(o),minHeight:typeof l>"u"?void 0:Number(l)}},tm=function(e){return Array.isArray(e)?e:[e,e]},nm=["as","ref","style","className","grid","gridGap","snap","bounds","boundsByDirection","size","defaultSize","minWidth","minHeight","maxWidth","maxHeight","lockAspectRatio","lockAspectRatioExtraWidth","lockAspectRatioExtraHeight","enable","handleStyles","handleClasses","handleWrapperStyle","handleWrapperClass","children","onResizeStart","onResize","onResizeStop","handleComponent","scale","resizeRatio","snapGap"],Ja="__resizable_base__",rm=function(e){Jh(t,e);function t(n){var r,i,o,l,s=e.call(this,n)||this;return s.ratio=1,s.resizable=null,s.parentLeft=0,s.parentTop=0,s.resizableLeft=0,s.resizableRight=0,s.resizableTop=0,s.resizableBottom=0,s.targetLeft=0,s.targetTop=0,s.delta={width:0,height:0},s.appendBase=function(){if(!s.resizable||!s.window)return null;var a=s.parentNode;if(!a)return null;var u=s.window.document.createElement("div");return u.style.width="100%",u.style.height="100%",u.style.position="absolute",u.style.transform="scale(0, 0)",u.style.left="0",u.style.flex="0 0 100%",u.classList?u.classList.add(Ja):u.className+=Ja,a.appendChild(u),u},s.removeBase=function(a){var u=s.parentNode;u&&u.removeChild(a)},s.state={isResizing:!1,width:(i=(r=s.propsSize)===null||r===void 0?void 0:r.width)!==null&&i!==void 0?i:"auto",height:(l=(o=s.propsSize)===null||o===void 0?void 0:o.height)!==null&&l!==void 0?l:"auto",direction:"right",original:{x:0,y:0,width:0,height:0},backgroundStyle:{height:"100%",width:"100%",backgroundColor:"rgba(0,0,0,0)",cursor:"auto",opacity:0,position:"fixed",zIndex:9999,top:"0",left:"0",bottom:"0",right:"0"},flexBasis:void 0},s.onResizeStart=s.onResizeStart.bind(s),s.onMouseMove=s.onMouseMove.bind(s),s.onMouseUp=s.onMouseUp.bind(s),s}return Object.defineProperty(t.prototype,"parentNode",{get:function(){return this.resizable?this.resizable.parentNode:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"window",{get:function(){return!this.resizable||!this.resizable.ownerDocument?null:this.resizable.ownerDocument.defaultView},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"propsSize",{get:function(){return this.props.size||this.props.defaultSize||bh},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"size",{get:function(){var n=0,r=0;if(this.resizable&&this.window){var i=this.resizable.offsetWidth,o=this.resizable.offsetHeight,l=this.resizable.style.position;l!=="relative"&&(this.resizable.style.position="relative"),n=this.resizable.style.width!=="auto"?this.resizable.offsetWidth:i,r=this.resizable.style.height!=="auto"?this.resizable.offsetHeight:o,this.resizable.style.position=l}return{width:n,height:r}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sizeStyle",{get:function(){var n=this,r=this.props.size,i=function(s){var a;if(typeof n.state[s]>"u"||n.state[s]==="auto")return"auto";if(n.propsSize&&n.propsSize[s]&&(!((a=n.propsSize[s])===null||a===void 0)&&a.toString().endsWith("%"))){if(n.state[s].toString().endsWith("%"))return n.state[s].toString();var u=n.getParentSize(),g=Number(n.state[s].toString().replace("px","")),h=g/u[s]*100;return"".concat(h,"%")}return Mo(n.state[s])},o=r&&typeof r.width<"u"&&!this.state.isResizing?Mo(r.width):i("width"),l=r&&typeof r.height<"u"&&!this.state.isResizing?Mo(r.height):i("height");return{width:o,height:l}},enumerable:!1,configurable:!0}),t.prototype.getParentSize=function(){if(!this.parentNode)return this.window?{width:this.window.innerWidth,height:this.window.innerHeight}:{width:0,height:0};var n=this.appendBase();if(!n)return{width:0,height:0};var r=!1,i=this.parentNode.style.flexWrap;i!=="wrap"&&(r=!0,this.parentNode.style.flexWrap="wrap"),n.style.position="relative",n.style.minWidth="100%",n.style.minHeight="100%";var o={width:n.offsetWidth,height:n.offsetHeight};return r&&(this.parentNode.style.flexWrap=i),this.removeBase(n),o},t.prototype.bindEvents=function(){this.window&&(this.window.addEventListener("mouseup",this.onMouseUp),this.window.addEventListener("mousemove",this.onMouseMove),this.window.addEventListener("mouseleave",this.onMouseUp),this.window.addEventListener("touchmove",this.onMouseMove,{capture:!0,passive:!1}),this.window.addEventListener("touchend",this.onMouseUp))},t.prototype.unbindEvents=function(){this.window&&(this.window.removeEventListener("mouseup",this.onMouseUp),this.window.removeEventListener("mousemove",this.onMouseMove),this.window.removeEventListener("mouseleave",this.onMouseUp),this.window.removeEventListener("touchmove",this.onMouseMove,!0),this.window.removeEventListener("touchend",this.onMouseUp))},t.prototype.componentDidMount=function(){if(!(!this.resizable||!this.window)){var n=this.window.getComputedStyle(this.resizable);this.setState({width:this.state.width||this.size.width,height:this.state.height||this.size.height,flexBasis:n.flexBasis!=="auto"?n.flexBasis:void 0})}},t.prototype.componentWillUnmount=function(){this.window&&this.unbindEvents()},t.prototype.createSizeForCssProperty=function(n,r){var i=this.propsSize&&this.propsSize[r];return this.state[r]==="auto"&&this.state.original[r]===n&&(typeof i>"u"||i==="auto")?"auto":n},t.prototype.calculateNewMaxFromBoundary=function(n,r){var i=this.props.boundsByDirection,o=this.state.direction,l=i&&un("left",o),s=i&&un("top",o),a,u;if(this.props.bounds==="parent"){var g=this.parentNode;g&&(a=l?this.resizableRight-this.parentLeft:g.offsetWidth+(this.parentLeft-this.resizableLeft),u=s?this.resizableBottom-this.parentTop:g.offsetHeight+(this.parentTop-this.resizableTop))}else this.props.bounds==="window"?this.window&&(a=l?this.resizableRight:this.window.innerWidth-this.resizableLeft,u=s?this.resizableBottom:this.window.innerHeight-this.resizableTop):this.props.bounds&&(a=l?this.resizableRight-this.targetLeft:this.props.bounds.offsetWidth+(this.targetLeft-this.resizableLeft),u=s?this.resizableBottom-this.targetTop:this.props.bounds.offsetHeight+(this.targetTop-this.resizableTop));return a&&Number.isFinite(a)&&(n=n&&n<a?n:a),u&&Number.isFinite(u)&&(r=r&&r<u?r:u),{maxWidth:n,maxHeight:r}},t.prototype.calculateNewSizeFromDirection=function(n,r){var i=this.props.scale||1,o=tm(this.props.resizeRatio||1),l=o[0],s=o[1],a=this.state,u=a.direction,g=a.original,h=this.props,m=h.lockAspectRatio,w=h.lockAspectRatioExtraHeight,x=h.lockAspectRatioExtraWidth,y=g.width,D=g.height,p=w||0,c=x||0;return un("right",u)&&(y=g.width+(n-g.x)*l/i,m&&(D=(y-c)/this.ratio+p)),un("left",u)&&(y=g.width-(n-g.x)*l/i,m&&(D=(y-c)/this.ratio+p)),un("bottom",u)&&(D=g.height+(r-g.y)*s/i,m&&(y=(D-p)*this.ratio+c)),un("top",u)&&(D=g.height-(r-g.y)*s/i,m&&(y=(D-p)*this.ratio+c)),{newWidth:y,newHeight:D}},t.prototype.calculateNewSizeFromAspectRatio=function(n,r,i,o){var l=this.props,s=l.lockAspectRatio,a=l.lockAspectRatioExtraHeight,u=l.lockAspectRatioExtraWidth,g=typeof o.width>"u"?10:o.width,h=typeof i.width>"u"||i.width<0?n:i.width,m=typeof o.height>"u"?10:o.height,w=typeof i.height>"u"||i.height<0?r:i.height,x=a||0,y=u||0;if(s){var D=(m-x)*this.ratio+y,p=(w-x)*this.ratio+y,c=(g-y)/this.ratio+x,d=(h-y)/this.ratio+x,v=Math.max(g,D),S=Math.min(h,p),P=Math.max(m,c),N=Math.min(w,d);n=Jr(n,v,S),r=Jr(r,P,N)}else n=Jr(n,g,h),r=Jr(r,m,w);return{newWidth:n,newHeight:r}},t.prototype.setBoundingClientRect=function(){var n=1/(this.props.scale||1);if(this.props.bounds==="parent"){var r=this.parentNode;if(r){var i=r.getBoundingClientRect();this.parentLeft=i.left*n,this.parentTop=i.top*n}}if(this.props.bounds&&typeof this.props.bounds!="string"){var o=this.props.bounds.getBoundingClientRect();this.targetLeft=o.left*n,this.targetTop=o.top*n}if(this.resizable){var l=this.resizable.getBoundingClientRect(),s=l.left,a=l.top,u=l.right,g=l.bottom;this.resizableLeft=s*n,this.resizableRight=u*n,this.resizableTop=a*n,this.resizableBottom=g*n}},t.prototype.onResizeStart=function(n,r){if(!(!this.resizable||!this.window)){var i=0,o=0;if(n.nativeEvent&&qh(n.nativeEvent)?(i=n.nativeEvent.clientX,o=n.nativeEvent.clientY):n.nativeEvent&&br(n.nativeEvent)&&(i=n.nativeEvent.touches[0].clientX,o=n.nativeEvent.touches[0].clientY),this.props.onResizeStart&&this.resizable){var l=this.props.onResizeStart(n,r,this.resizable);if(l===!1)return}this.props.size&&(typeof this.props.size.height<"u"&&this.props.size.height!==this.state.height&&this.setState({height:this.props.size.height}),typeof this.props.size.width<"u"&&this.props.size.width!==this.state.width&&this.setState({width:this.props.size.width})),this.ratio=typeof this.props.lockAspectRatio=="number"?this.props.lockAspectRatio:this.size.width/this.size.height;var s,a=this.window.getComputedStyle(this.resizable);if(a.flexBasis!=="auto"){var u=this.parentNode;if(u){var g=this.window.getComputedStyle(u).flexDirection;this.flexDir=g.startsWith("row")?"row":"column",s=a.flexBasis}}this.setBoundingClientRect(),this.bindEvents();var h={original:{x:i,y:o,width:this.size.width,height:this.size.height},isResizing:!0,backgroundStyle:lt(lt({},this.state.backgroundStyle),{cursor:this.window.getComputedStyle(n.target).cursor||"auto"}),direction:r,flexBasis:s};this.setState(h)}},t.prototype.onMouseMove=function(n){var r=this;if(!(!this.state.isResizing||!this.resizable||!this.window)){if(this.window.TouchEvent&&br(n))try{n.preventDefault(),n.stopPropagation()}catch{}var i=this.props,o=i.maxWidth,l=i.maxHeight,s=i.minWidth,a=i.minHeight,u=br(n)?n.touches[0].clientX:n.clientX,g=br(n)?n.touches[0].clientY:n.clientY,h=this.state,m=h.direction,w=h.original,x=h.width,y=h.height,D=this.getParentSize(),p=em(D,this.window.innerWidth,this.window.innerHeight,o,l,s,a);o=p.maxWidth,l=p.maxHeight,s=p.minWidth,a=p.minHeight;var c=this.calculateNewSizeFromDirection(u,g),d=c.newHeight,v=c.newWidth,S=this.calculateNewMaxFromBoundary(o,l);this.props.snap&&this.props.snap.x&&(v=Za(v,this.props.snap.x,this.props.snapGap)),this.props.snap&&this.props.snap.y&&(d=Za(d,this.props.snap.y,this.props.snapGap));var P=this.calculateNewSizeFromAspectRatio(v,d,{width:S.maxWidth,height:S.maxHeight},{width:s,height:a});if(v=P.newWidth,d=P.newHeight,this.props.grid){var N=Ga(v,this.props.grid[0],this.props.gridGap?this.props.gridGap[0]:0),_=Ga(d,this.props.grid[1],this.props.gridGap?this.props.gridGap[1]:0),O=this.props.snapGap||0,M=O===0||Math.abs(N-v)<=O?N:v,W=O===0||Math.abs(_-d)<=O?_:d;v=M,d=W}var U={width:v-w.width,height:d-w.height};if(this.delta=U,x&&typeof x=="string"){if(x.endsWith("%")){var V=v/D.width*100;v="".concat(V,"%")}else if(x.endsWith("vw")){var ge=v/this.window.innerWidth*100;v="".concat(ge,"vw")}else if(x.endsWith("vh")){var ve=v/this.window.innerHeight*100;v="".concat(ve,"vh")}}if(y&&typeof y=="string"){if(y.endsWith("%")){var V=d/D.height*100;d="".concat(V,"%")}else if(y.endsWith("vw")){var ge=d/this.window.innerWidth*100;d="".concat(ge,"vw")}else if(y.endsWith("vh")){var ve=d/this.window.innerHeight*100;d="".concat(ve,"vh")}}var X={width:this.createSizeForCssProperty(v,"width"),height:this.createSizeForCssProperty(d,"height")};this.flexDir==="row"?X.flexBasis=X.width:this.flexDir==="column"&&(X.flexBasis=X.height);var de=this.state.width!==X.width,j=this.state.height!==X.height,z=this.state.flexBasis!==X.flexBasis,k=de||j||z;k&&jr.flushSync(function(){r.setState(X)}),this.props.onResize&&k&&this.props.onResize(n,m,this.resizable,U)}},t.prototype.onMouseUp=function(n){var r,i,o=this.state,l=o.isResizing,s=o.direction;o.original,!(!l||!this.resizable)&&(this.props.onResizeStop&&this.props.onResizeStop(n,s,this.resizable,this.delta),this.props.size&&this.setState({width:(r=this.props.size.width)!==null&&r!==void 0?r:"auto",height:(i=this.props.size.height)!==null&&i!==void 0?i:"auto"}),this.unbindEvents(),this.setState({isResizing:!1,backgroundStyle:lt(lt({},this.state.backgroundStyle),{cursor:"auto"})}))},t.prototype.updateSize=function(n){var r,i;this.setState({width:(r=n.width)!==null&&r!==void 0?r:"auto",height:(i=n.height)!==null&&i!==void 0?i:"auto"})},t.prototype.renderResizer=function(){var n=this,r=this.props,i=r.enable,o=r.handleStyles,l=r.handleClasses,s=r.handleWrapperStyle,a=r.handleWrapperClass,u=r.handleComponent;if(!i)return null;var g=Object.keys(i).map(function(h){return i[h]!==!1?f.jsx(Zh,{direction:h,onResizeStart:n.onResizeStart,replaceStyles:o&&o[h],className:l&&l[h],children:u&&u[h]?u[h]:null},h):null});return f.jsx("div",{className:a,style:s,children:g})},t.prototype.render=function(){var n=this,r=Object.keys(this.props).reduce(function(l,s){return nm.indexOf(s)!==-1||(l[s]=n.props[s]),l},{}),i=lt(lt(lt({position:"relative",userSelect:this.state.isResizing?"none":"auto"},this.props.style),this.sizeStyle),{maxWidth:this.props.maxWidth,maxHeight:this.props.maxHeight,minWidth:this.props.minWidth,minHeight:this.props.minHeight,boxSizing:"border-box",flexShrink:0});this.state.flexBasis&&(i.flexBasis=this.state.flexBasis);var o=this.props.as||"div";return f.jsxs(o,lt({style:i,className:this.props.className},r,{ref:function(l){l&&(n.resizable=l)},children:[this.state.isResizing&&f.jsx("div",{style:this.state.backgroundStyle}),this.props.children,this.renderResizer()]}))},t.defaultProps={as:"div",onResizeStart:function(){},onResize:function(){},onResizeStop:function(){},enable:{top:!0,right:!0,bottom:!0,left:!0,topRight:!0,bottomRight:!0,bottomLeft:!0,topLeft:!0},style:{},grid:[1,1],gridGap:[0,0],lockAspectRatio:!1,lockAspectRatioExtraWidth:0,lockAspectRatioExtraHeight:0,scale:1,resizeRatio:1,snapGap:0},t}(R.PureComponent);/*! *****************************************************************************
43
+ Copyright (c) Microsoft Corporation. All rights reserved.
44
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
45
+ this file except in compliance with the License. You may obtain a copy of the
46
+ License at http://www.apache.org/licenses/LICENSE-2.0
47
+
48
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
49
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
50
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
51
+ MERCHANTABLITY OR NON-INFRINGEMENT.
52
+
53
+ See the Apache Version 2.0 License for specific language governing permissions
54
+ and limitations under the License.
55
+ ***************************************************************************** */var zl=function(e,t){return zl=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)r.hasOwnProperty(i)&&(n[i]=r[i])},zl(e,t)};function im(e,t){zl(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var le=function(){return le=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},le.apply(this,arguments)};function om(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}var lm={width:"auto",height:"auto",display:"inline-block",position:"absolute",top:0,left:0},sm=function(e){return{bottom:e,bottomLeft:e,bottomRight:e,left:e,right:e,top:e,topLeft:e,topRight:e}},ba=function(e){im(t,e);function t(n){var r=e.call(this,n)||this;return r.resizingPosition={x:0,y:0},r.offsetFromParent={left:0,top:0},r.resizableElement={current:null},r.originalPosition={x:0,y:0},r.state={resizing:!1,bounds:{top:0,right:0,bottom:0,left:0},maxWidth:n.maxWidth,maxHeight:n.maxHeight},r.onResizeStart=r.onResizeStart.bind(r),r.onResize=r.onResize.bind(r),r.onResizeStop=r.onResizeStop.bind(r),r.onDragStart=r.onDragStart.bind(r),r.onDrag=r.onDrag.bind(r),r.onDragStop=r.onDragStop.bind(r),r.getMaxSizesFromProps=r.getMaxSizesFromProps.bind(r),r}return t.prototype.componentDidMount=function(){this.updateOffsetFromParent();var n=this.offsetFromParent,r=n.left,i=n.top,o=this.getDraggablePosition(),l=o.x,s=o.y;this.draggable.setState({x:l-r,y:s-i}),this.forceUpdate()},t.prototype.getDraggablePosition=function(){var n=this.draggable.state,r=n.x,i=n.y;return{x:r,y:i}},t.prototype.getParent=function(){return this.resizable&&this.resizable.parentNode},t.prototype.getParentSize=function(){return this.resizable.getParentSize()},t.prototype.getMaxSizesFromProps=function(){var n=typeof this.props.maxWidth>"u"?Number.MAX_SAFE_INTEGER:this.props.maxWidth,r=typeof this.props.maxHeight>"u"?Number.MAX_SAFE_INTEGER:this.props.maxHeight;return{maxWidth:n,maxHeight:r}},t.prototype.getSelfElement=function(){return this.resizable&&this.resizable.resizable},t.prototype.getOffsetHeight=function(n){var r=this.props.scale;switch(this.props.bounds){case"window":return window.innerHeight/r;case"body":return document.body.offsetHeight/r;default:return n.offsetHeight}},t.prototype.getOffsetWidth=function(n){var r=this.props.scale;switch(this.props.bounds){case"window":return window.innerWidth/r;case"body":return document.body.offsetWidth/r;default:return n.offsetWidth}},t.prototype.onDragStart=function(n,r){this.props.onDragStart&&this.props.onDragStart(n,r);var i=this.getDraggablePosition();if(this.originalPosition=i,!!this.props.bounds){var o=this.getParent(),l=this.props.scale,s;if(this.props.bounds==="parent")s=o;else if(this.props.bounds==="body"){var a=o.getBoundingClientRect(),u=a.left,g=a.top,h=document.body.getBoundingClientRect(),m=-(u-o.offsetLeft*l-h.left)/l,w=-(g-o.offsetTop*l-h.top)/l,x=(document.body.offsetWidth-this.resizable.size.width*l)/l+m,y=(document.body.offsetHeight-this.resizable.size.height*l)/l+w;return this.setState({bounds:{top:w,right:x,bottom:y,left:m}})}else if(this.props.bounds==="window"){if(!this.resizable)return;var D=o.getBoundingClientRect(),p=D.left,c=D.top,d=-(p-o.offsetLeft*l)/l,v=-(c-o.offsetTop*l)/l,x=(window.innerWidth-this.resizable.size.width*l)/l+d,y=(window.innerHeight-this.resizable.size.height*l)/l+v;return this.setState({bounds:{top:v,right:x,bottom:y,left:d}})}else typeof this.props.bounds=="string"?s=document.querySelector(this.props.bounds):this.props.bounds instanceof HTMLElement&&(s=this.props.bounds);if(!(!(s instanceof HTMLElement)||!(o instanceof HTMLElement))){var S=s.getBoundingClientRect(),P=S.left,N=S.top,_=o.getBoundingClientRect(),O=_.left,M=_.top,W=(P-O)/l,U=N-M;if(this.resizable){this.updateOffsetFromParent();var V=this.offsetFromParent;this.setState({bounds:{top:U-V.top,right:W+(s.offsetWidth-this.resizable.size.width)-V.left/l,bottom:U+(s.offsetHeight-this.resizable.size.height)-V.top,left:W-V.left/l}})}}}},t.prototype.onDrag=function(n,r){if(this.props.onDrag){var i=this.offsetFromParent,o=i.left,l=i.top;if(!this.props.dragAxis||this.props.dragAxis==="both")return this.props.onDrag(n,le(le({},r),{x:r.x+o,y:r.y+l}));if(this.props.dragAxis==="x")return this.props.onDrag(n,le(le({},r),{x:r.x+o,y:this.originalPosition.y+l,deltaY:0}));if(this.props.dragAxis==="y")return this.props.onDrag(n,le(le({},r),{x:this.originalPosition.x+o,y:r.y+l,deltaX:0}))}},t.prototype.onDragStop=function(n,r){if(this.props.onDragStop){var i=this.offsetFromParent,o=i.left,l=i.top;if(!this.props.dragAxis||this.props.dragAxis==="both")return this.props.onDragStop(n,le(le({},r),{x:r.x+o,y:r.y+l}));if(this.props.dragAxis==="x")return this.props.onDragStop(n,le(le({},r),{x:r.x+o,y:this.originalPosition.y+l,deltaY:0}));if(this.props.dragAxis==="y")return this.props.onDragStop(n,le(le({},r),{x:this.originalPosition.x+o,y:r.y+l,deltaX:0}))}},t.prototype.onResizeStart=function(n,r,i){n.stopPropagation(),this.setState({resizing:!0});var o=this.props.scale,l=this.offsetFromParent,s=this.getDraggablePosition();if(this.resizingPosition={x:s.x+l.left,y:s.y+l.top},this.originalPosition=s,this.props.bounds){var a=this.getParent(),u=void 0;this.props.bounds==="parent"?u=a:this.props.bounds==="body"?u=document.body:this.props.bounds==="window"?u=window:typeof this.props.bounds=="string"?u=document.querySelector(this.props.bounds):this.props.bounds instanceof HTMLElement&&(u=this.props.bounds);var g=this.getSelfElement();if(g instanceof Element&&(u instanceof HTMLElement||u===window)&&a instanceof HTMLElement){var h=this.getMaxSizesFromProps(),m=h.maxWidth,w=h.maxHeight,x=this.getParentSize();if(m&&typeof m=="string")if(m.endsWith("%")){var y=Number(m.replace("%",""))/100;m=x.width*y}else m.endsWith("px")&&(m=Number(m.replace("px","")));if(w&&typeof w=="string")if(w.endsWith("%")){var y=Number(w.replace("%",""))/100;w=x.height*y}else w.endsWith("px")&&(w=Number(w.replace("px","")));var D=g.getBoundingClientRect(),p=D.left,c=D.top,d=this.props.bounds==="window"?{left:0,top:0}:u.getBoundingClientRect(),v=d.left,S=d.top,P=this.getOffsetWidth(u),N=this.getOffsetHeight(u),_=r.toLowerCase().endsWith("left"),O=r.toLowerCase().endsWith("right"),M=r.startsWith("top"),W=r.startsWith("bottom");if((_||M)&&this.resizable){var U=(p-v)/o+this.resizable.size.width;this.setState({maxWidth:U>Number(m)?m:U})}if(O||this.props.lockAspectRatio&&!_&&!M){var U=P+(v-p)/o;this.setState({maxWidth:U>Number(m)?m:U})}if((M||_)&&this.resizable){var U=(c-S)/o+this.resizable.size.height;this.setState({maxHeight:U>Number(w)?w:U})}if(W||this.props.lockAspectRatio&&!M&&!_){var U=N+(S-c)/o;this.setState({maxHeight:U>Number(w)?w:U})}}}else this.setState({maxWidth:this.props.maxWidth,maxHeight:this.props.maxHeight});this.props.onResizeStart&&this.props.onResizeStart(n,r,i)},t.prototype.onResize=function(n,r,i,o){var l=this,s={x:this.originalPosition.x,y:this.originalPosition.y},a=-o.width,u=-o.height,g=["top","left","topLeft","bottomLeft","topRight"];g.includes(r)&&(r==="bottomLeft"?s.x+=a:(r==="topRight"||(s.x+=a),s.y+=u));var h=this.draggable.state;(s.x!==h.x||s.y!==h.y)&&jr.flushSync(function(){l.draggable.setState(s)}),this.updateOffsetFromParent();var m=this.offsetFromParent,w=this.getDraggablePosition().x+m.left,x=this.getDraggablePosition().y+m.top;this.resizingPosition={x:w,y:x},this.props.onResize&&this.props.onResize(n,r,i,o,{x:w,y:x})},t.prototype.onResizeStop=function(n,r,i,o){this.setState({resizing:!1});var l=this.getMaxSizesFromProps(),s=l.maxWidth,a=l.maxHeight;this.setState({maxWidth:s,maxHeight:a}),this.props.onResizeStop&&this.props.onResizeStop(n,r,i,o,this.resizingPosition)},t.prototype.updateSize=function(n){this.resizable&&this.resizable.updateSize({width:n.width,height:n.height})},t.prototype.updatePosition=function(n){this.draggable.setState(n)},t.prototype.updateOffsetFromParent=function(){var n=this.props.scale,r=this.getParent(),i=this.getSelfElement();if(!r||i===null)return{top:0,left:0};var o=r.getBoundingClientRect(),l=o.left,s=o.top,a=i.getBoundingClientRect(),u=this.getDraggablePosition(),g=r.scrollLeft,h=r.scrollTop;this.offsetFromParent={left:a.left-l+g-u.x*n,top:a.top-s+h-u.y*n}},t.prototype.render=function(){var n=this,r=this.props,i=r.disableDragging,o=r.style,l=r.dragHandleClassName,s=r.position,a=r.onMouseDown,u=r.onMouseUp,g=r.dragAxis,h=r.dragGrid,m=r.bounds,w=r.enableUserSelectHack,x=r.cancel,y=r.children;r.onResizeStart,r.onResize,r.onResizeStop,r.onDragStart,r.onDrag,r.onDragStop;var D=r.resizeHandleStyles,p=r.resizeHandleClasses,c=r.resizeHandleComponent,d=r.enableResizing,v=r.resizeGrid,S=r.resizeHandleWrapperClass,P=r.resizeHandleWrapperStyle,N=r.scale,_=r.allowAnyClick,O=r.dragPositionOffset,M=om(r,["disableDragging","style","dragHandleClassName","position","onMouseDown","onMouseUp","dragAxis","dragGrid","bounds","enableUserSelectHack","cancel","children","onResizeStart","onResize","onResizeStop","onDragStart","onDrag","onDragStop","resizeHandleStyles","resizeHandleClasses","resizeHandleComponent","enableResizing","resizeGrid","resizeHandleWrapperClass","resizeHandleWrapperStyle","scale","allowAnyClick","dragPositionOffset"]),W=this.props.default?le({},this.props.default):void 0;delete M.default;var U=i||l?{cursor:"auto"}:{cursor:"move"},V=le(le(le({},lm),U),o),ge=this.offsetFromParent,ve=ge.left,X=ge.top,de;s&&(de={x:s.x-ve,y:s.y-X});var j=this.state.resizing?void 0:de,z=this.state.resizing?"both":g;return R.createElement(Kh,{ref:function(k){k&&(n.draggable=k)},handle:l?".".concat(l):void 0,defaultPosition:W,onMouseDown:a,onMouseUp:u,onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop,axis:z,disabled:i,grid:h,bounds:m?this.state.bounds:void 0,position:j,enableUserSelectHack:w,cancel:x,scale:N,allowAnyClick:_,nodeRef:this.resizableElement,positionOffset:O},R.createElement(rm,le({},M,{ref:function(k){k&&(n.resizable=k,n.resizableElement.current=k.resizable)},defaultSize:W,size:this.props.size,enable:typeof d=="boolean"?sm(d):d,onResizeStart:this.onResizeStart,onResize:this.onResize,onResizeStop:this.onResizeStop,style:V,minWidth:this.props.minWidth,minHeight:this.props.minHeight,maxWidth:this.state.resizing?this.state.maxWidth:this.props.maxWidth,maxHeight:this.state.resizing?this.state.maxHeight:this.props.maxHeight,grid:v,handleWrapperClass:S,handleWrapperStyle:P,lockAspectRatio:this.props.lockAspectRatio,lockAspectRatioExtraWidth:this.props.lockAspectRatioExtraWidth,lockAspectRatioExtraHeight:this.props.lockAspectRatioExtraHeight,handleStyles:D,handleClasses:p,handleComponent:c,scale:this.props.scale}),y))},t.defaultProps={maxWidth:Number.MAX_SAFE_INTEGER,maxHeight:Number.MAX_SAFE_INTEGER,scale:1,onResizeStart:function(){},onResize:function(){},onResizeStop:function(){},onDragStart:function(){},onDrag:function(){},onDragStop:function(){}},t}(R.PureComponent);function am(e){const t=e.split("/").filter(Boolean);if(t.length===0)return e;const n=t[t.length-1];return n==="src"&&t.length>1?t[t.length-2]:n}const um=({projects:e,selectedProject:t,onSelectProject:n,loading:r,runningProcesses:i=[],keyboardFocusedIndex:o=-1,onKeyboardFocusChange:l})=>{if(r)return f.jsx("div",{className:"project-list-loading",children:f.jsx("p",{children:"Loading projects..."})});if(e.length===0)return f.jsxs("div",{className:"project-list-empty",children:[f.jsx("p",{children:"No projects yet"}),f.jsx("p",{className:"hint",children:"Add a project to get started"})]});const s=Tl.useRef(null);return f.jsx("div",{ref:s,className:"project-list",role:"listbox","aria-label":"Projects",tabIndex:0,onFocus:a=>{o<0&&e.length>0&&l&&l(0)},onBlur:a=>{var u;l&&!((u=s.current)!=null&&u.contains(a.relatedTarget))&&l(-1)},children:e.map((a,u)=>{const g=(t==null?void 0:t.id)===a.id,h=o===u,m=i.filter(y=>y.projectPath===a.path),w=m.length>0,x=Array.from(new Set(m.map(y=>y.port).filter(y=>y!=null))).sort((y,D)=>y-D);return f.jsxs("div",{className:`project-item ${g?"selected":""} ${w?"running":""} ${h?"keyboard-focused":""}`,onClick:()=>n(a),role:"option","aria-selected":g,tabIndex:u===0?0:-1,onFocus:y=>{y.currentTarget.scrollIntoView({block:"nearest",behavior:"smooth"}),l&&l(u)},ref:y=>{h&&y&&l&&y.scrollIntoView({block:"nearest",behavior:"smooth"})},children:[f.jsx("div",{className:"project-item-header",children:f.jsxs("h3",{className:"project-name",children:[w&&f.jsx("span",{className:"running-indicator-dot",children:"●"}),a.name]})}),f.jsx("p",{className:"project-path",children:a.description||am(a.path)}),a.tags&&a.tags.length>0&&f.jsx("div",{className:"project-tags",children:a.tags.map(y=>f.jsx("span",{className:"project-tag",children:y},y))}),w&&f.jsxs("div",{className:"project-meta",children:[f.jsxs("span",{className:"running-count",children:[m.length," running"]}),x.length>0&&f.jsx("div",{className:"running-ports",children:x.map(y=>f.jsxs("span",{className:"port-badge",children:[":",y]},y))})]})]},a.id)})})},cm=({urls:e,onOpenUrl:t})=>e.length===0?null:f.jsxs("div",{className:"project-urls-section",children:[f.jsx("div",{className:"section-header",children:f.jsxs("h3",{children:["Detected URLs (",e.length,")"]})}),f.jsx("div",{className:"urls-list",children:e.map((n,r)=>f.jsxs("div",{className:"url-item",children:[f.jsx("a",{href:n,target:"_blank",rel:"noopener noreferrer",className:"url-text",onClick:i=>{i.preventDefault(),window.electronAPI.openExternal(n)},children:n}),f.jsx("button",{onClick:()=>t(n),className:"btn btn-secondary btn-small",title:"Open in configured browser",children:"Open"})]},r))})]}),dm=({project:e,onProjectUpdate:t,onRemoveProject:n,onOpenTerminal:r})=>{var Ts;const[i,o]=R.useState(!1),[l,s]=R.useState(e.name),[a,u]=R.useState(!1),[g,h]=R.useState(e.description||""),[m,w]=R.useState(null),[x,y]=R.useState(!1),[D,p]=R.useState([]),[c,d]=R.useState(!1),[v,S]=R.useState(new Set),[P,N]=R.useState([]),[_,O]=R.useState(!1),[M,W]=R.useState(!1),[U,V]=R.useState(""),[ge,ve]=R.useState([]),[X,de]=R.useState(e.tags||[]),[j,z]=R.useState(null),[k,L]=R.useState(null),[I,te]=R.useState(!1);R.useEffect(()=>{s(e.name),h(e.description||""),de(e.tags||[]),fe(),sn(),Rr(),ne(),je(),Cs();const E=setInterval(()=>{Rr(),Cs()},5e3);return()=>clearInterval(E)},[e]);const ne=async()=>{try{const E=await fetch("http://localhost:3001/api/projects/tags");if(!E.ok){console.error("Failed to load tags:",E.status),ve([]);return}const A=await E.json();ve(Array.isArray(A)?A:[])}catch(E){console.error("Error loading tags:",E),ve([])}},je=async()=>{try{const E=await window.electronAPI.getSettings();z(E.editor)}catch(E){console.error("Error loading editor settings:",E)}},fe=async()=>{try{y(!0);const E=await window.electronAPI.getProjectScripts(e.path);w(E)}catch(E){console.error("Error loading scripts:",E),w(null)}finally{y(!1)}},sn=async()=>{try{d(!0);const E=await window.electronAPI.getProjectPorts(e.id);p(E)}catch(E){console.error("Error loading ports:",E),p([])}finally{d(!1)}},Cs=async()=>{try{te(!0);const E=await window.electronAPI.getLatestTestResult(e.id);L(E)}catch{L(null)}finally{te(!1)}},zs=async()=>{if(!l.trim()||l===e.name){o(!1),s(e.name);return}try{const E=await window.electronAPI.renameProject(e.id,l.trim());o(!1),t&&t(E)}catch(E){console.error("Error renaming project:",E),alert("Failed to rename project"),s(e.name)}},_s=async()=>{const E=g.trim()||null;if(E===(e.description||"")){u(!1),h(e.description||"");return}try{const A=await window.electronAPI.updateProject(e.id,{description:E});u(!1),t&&t(A)}catch(A){console.error("Error updating description:",A),alert("Failed to update description"),h(e.description||"")}},js=async()=>{const E=U.trim();if(!E||X.includes(E)){V("");return}const A=[...X,E];try{const $=await window.electronAPI.updateProject(e.id,{tags:A});de(A),V(""),t&&t($),await ne(),je()}catch($){console.error("Error adding tag:",$),alert("Failed to add tag")}},Cd=async E=>{const A=X.filter($=>$!==E);try{const $=await window.electronAPI.updateProject(e.id,{tags:A});de(A),t&&t($),await ne(),je()}catch($){console.error("Error removing tag:",$),alert("Failed to remove tag")}},Rs=ge.filter(E=>!X.includes(E)&&E.toLowerCase().includes(U.toLowerCase())),Rr=async()=>{try{O(!0);const A=(await window.electronAPI.getRunningProcesses()).filter(kt=>kt.projectPath===e.path);N(A);const $=new Set(A.map(kt=>kt.scriptName));S($)}catch(E){console.error("Error loading running processes:",E)}finally{O(!1)}},zd=async(E,A=!0)=>{try{S($=>new Set($).add(E)),await window.electronAPI.runScript(e.path,E,[],A),A&&setTimeout(()=>{Rr()},1e3)}catch($){console.error("Error running script:",$),alert(`Failed to run script: ${$ instanceof Error?$.message:String($)}`)}finally{S($=>{const kt=new Set($);return kt.delete(E),kt})}},_d=async E=>{try{await window.electronAPI.stopScript(E)?await Rr():alert("Failed to stop script")}catch(A){console.error("Error stopping script:",A),alert(`Failed to stop script: ${A instanceof Error?A.message:String(A)}`)}},jd=async E=>{try{await window.electronAPI.openUrl(E)}catch(A){console.error("Error opening URL:",A),alert(`Failed to open URL: ${A instanceof Error?A.message:String(A)}`)}},Ds=R.useMemo(()=>{const E=new Set;for(const A of P)if(A.detectedUrls&&Array.isArray(A.detectedUrls))for(const $ of A.detectedUrls)E.add($);for(const A of D){const $=`http://localhost:${A.port}`;E.add($)}return Array.from(E).sort()},[P,D]);return e.last_scanned&&new Date(e.last_scanned*1e3).toLocaleString(),f.jsxs("div",{className:"project-details",children:[f.jsxs("div",{className:"project-details-header",children:[f.jsxs("div",{children:[i?f.jsx("div",{className:"project-name-edit",children:f.jsx("input",{type:"text",value:l,onChange:E=>s(E.target.value),onBlur:zs,onKeyDown:E=>{E.key==="Enter"?zs():E.key==="Escape"&&(o(!1),s(e.name))},className:"project-name-input",autoFocus:!0})}):f.jsx("h2",{onClick:()=>o(!0),className:"project-name-editable",title:"Click to rename",children:e.name}),a?f.jsx("div",{className:"project-description-edit",children:f.jsx("textarea",{value:g,onChange:E=>h(E.target.value),onBlur:_s,onKeyDown:E=>{E.key==="Enter"&&(E.metaKey||E.ctrlKey)?_s():E.key==="Escape"&&(u(!1),h(e.description||""))},className:"project-description-input",placeholder:"Add a description...",autoFocus:!0,rows:2})}):f.jsxs("div",{children:[f.jsx("p",{className:"project-description",onClick:()=>u(!0),title:"Click to edit description",children:e.description||"Click to add a description..."}),f.jsx("p",{className:"project-path",children:e.path})]})]}),f.jsxs("div",{className:"header-actions-group",children:[f.jsx("button",{onClick:async()=>{try{await window.electronAPI.openInEditor(e.path)}catch(E){console.error("Error opening in editor:",E),alert(`Failed to open in editor: ${E instanceof Error?E.message:String(E)}`)}},className:"btn btn-secondary",title:"Open in editor",children:"Editor"}),f.jsx("button",{onClick:async()=>{try{await window.electronAPI.openInFiles(e.path)}catch(E){console.error("Error opening directory:",E),alert(`Failed to open directory: ${E instanceof Error?E.message:String(E)}`)}},className:"btn btn-secondary",title:"Open in file manager",children:"Files"})]})]}),f.jsxs("div",{className:"project-stats",children:[f.jsxs("div",{className:"stat-card",children:[f.jsx("div",{className:"stat-value",children:D.length}),f.jsx("div",{className:"stat-label",children:"Ports"})]}),f.jsxs("div",{className:"stat-card",children:[f.jsx("div",{className:"stat-value",children:((Ts=m==null?void 0:m.scripts)==null?void 0:Ts.length)||0}),f.jsx("div",{className:"stat-label",children:"Scripts"})]})]}),k&&f.jsxs("div",{className:"test-results-section",children:[f.jsxs("div",{className:"section-header",children:[f.jsx("h3",{children:"Latest Test Results"}),f.jsx("span",{className:"test-timestamp",children:new Date(k.timestamp*1e3).toLocaleString()})]}),f.jsxs("div",{className:"test-results-content",children:[f.jsxs("div",{className:"test-stats-grid",children:[f.jsxs("div",{className:"test-stat passed",children:[f.jsx("div",{className:"test-stat-icon",children:"✓"}),f.jsxs("div",{className:"test-stat-info",children:[f.jsx("div",{className:"test-stat-value",children:k.passed}),f.jsx("div",{className:"test-stat-label",children:"Passed"})]})]}),f.jsxs("div",{className:"test-stat failed",children:[f.jsx("div",{className:"test-stat-icon",children:"✗"}),f.jsxs("div",{className:"test-stat-info",children:[f.jsx("div",{className:"test-stat-value",children:k.failed}),f.jsx("div",{className:"test-stat-label",children:"Failed"})]})]}),k.skipped>0&&f.jsxs("div",{className:"test-stat skipped",children:[f.jsx("div",{className:"test-stat-icon",children:"⊘"}),f.jsxs("div",{className:"test-stat-info",children:[f.jsx("div",{className:"test-stat-value",children:k.skipped}),f.jsx("div",{className:"test-stat-label",children:"Skipped"})]})]}),f.jsxs("div",{className:"test-stat total",children:[f.jsx("div",{className:"test-stat-icon",children:"∑"}),f.jsxs("div",{className:"test-stat-info",children:[f.jsx("div",{className:"test-stat-value",children:k.total}),f.jsx("div",{className:"test-stat-label",children:"Total"})]})]})]}),f.jsxs("div",{className:"test-meta",children:[k.framework&&f.jsx("span",{className:"test-framework-badge",children:k.framework}),k.duration&&f.jsxs("span",{className:"test-duration",children:["⏱ ",(k.duration/1e3).toFixed(2),"s"]}),k.coverage&&f.jsxs("span",{className:"test-coverage",children:["📊 ",k.coverage.toFixed(1),"% coverage"]}),f.jsxs("span",{className:"test-script-name",children:["Script: ",k.script_name]})]})]})]}),f.jsxs("div",{className:"tags-section",children:[f.jsx("div",{className:"section-header",children:f.jsx("h3",{children:"Tags"})}),f.jsx("div",{className:"tags-content",children:f.jsxs("div",{className:"tags-list",children:[X.map(E=>f.jsxs("span",{className:"tag-item",children:[E,f.jsx("button",{onClick:()=>Cd(E),className:"tag-remove",title:"Remove tag",children:"×"})]},E)),M?f.jsxs("div",{className:"tag-input-wrapper",children:[f.jsx("input",{type:"text",value:U,onChange:E=>V(E.target.value),onKeyDown:E=>{E.key==="Enter"?js():E.key==="Escape"&&(W(!1),V(""))},onBlur:()=>{js(),W(!1)},className:"tag-input",placeholder:"Add tag...",autoFocus:!0}),Rs.length>0&&U&&f.jsx("div",{className:"tag-suggestions",children:Rs.slice(0,5).map(E=>f.jsx("div",{className:"tag-suggestion",onMouseDown:A=>{A.preventDefault(),V(E)},children:E},E))})]}):f.jsx("button",{onClick:()=>W(!0),className:"tag-add-btn",title:"Add tag",children:"+ Add Tag"})]})})]}),Ds.length>0&&f.jsx(cm,{urls:Ds,onOpenUrl:jd}),m&&f.jsxs("div",{className:"scripts-section",children:[f.jsxs("div",{className:"section-header",children:[f.jsxs("h3",{children:["Available Scripts (",m.scripts.length,")"]}),f.jsx("span",{className:"project-type-badge",children:m.type})]}),x?f.jsx("div",{className:"loading-state",children:"Loading scripts..."}):m.scripts.length===0?f.jsx("div",{className:"no-scripts",children:"No scripts found in this project."}):f.jsx("div",{className:"scripts-list",children:m.scripts.map(E=>{const A=P.filter(ye=>ye.scriptName===E.name),$=A.length>0,kt=D.filter(ye=>ye.script_name===E.name).map(ye=>ye.port),Rd=Array.from(new Set(kt)).sort((ye,Dr)=>ye-Dr);return f.jsxs("div",{className:`script-item ${$?"running":""}`,children:[f.jsxs("div",{className:"script-info",children:[f.jsxs("div",{className:"script-header",children:[f.jsx("span",{className:"script-name",children:E.name}),f.jsx("span",{className:"script-command",children:E.command}),f.jsx("span",{className:"script-runner",children:E.runner})]}),$&&f.jsx("div",{className:"script-process-info",children:A.map(ye=>{const Dr=Math.floor((Date.now()-ye.startedAt)/1e3),Ms=Math.floor(Dr/60),Ls=Dr%60,Dd=Ms>0?`${Ms}m ${Ls}s`:`${Ls}s`,Os=ye.detectedPorts&&ye.detectedPorts.length>0?ye.detectedPorts:Rd;return f.jsxs("div",{className:"process-badge",children:[f.jsx("span",{className:"process-indicator",children:"●"}),f.jsxs("span",{className:"process-pid",children:["PID: ",ye.pid]}),f.jsx("span",{className:"process-uptime",children:Dd}),Os.length>0&&f.jsxs("span",{className:"process-port",children:[":",Os.join(", ")]}),f.jsx("button",{onClick:no=>{no.stopPropagation(),r&&r(ye.pid,E.name,e.name)},className:"btn btn-secondary btn-tiny",title:"View terminal output",children:f.jsx("span",{className:"terminal-icon",children:"⌘"})}),f.jsx("button",{onClick:no=>{no.stopPropagation(),_d(ye.pid)},className:"btn btn-danger btn-tiny",title:"Stop process",children:"Stop"})]},ye.pid)})})]}),f.jsx("div",{className:"script-actions",children:!$&&f.jsx("button",{onClick:()=>zd(E.name,!0),className:"btn btn-secondary btn-small",title:"Run in background",children:"Run"})})]},E.name)})})]}),f.jsxs("div",{className:"jenkins-placeholder",children:[f.jsx("h3",{children:"Jenkins Integration"}),f.jsx("p",{className:"placeholder-text",children:"Jenkins integration will be available in a future update. This section will display Jenkins job statuses and build information for your projects."})]}),n&&f.jsxs("div",{className:"danger-zone",children:[f.jsx("h3",{children:"Danger Zone"}),f.jsx("p",{className:"danger-zone-text",children:"Once you delete a project, there is no going back. Please be certain."}),f.jsx("button",{onClick:async()=>{confirm(`Are you sure you want to remove "${e.name}"?
56
+
57
+ This will delete the project from PROJAX (not from your filesystem).
58
+
59
+ This action cannot be undone.`)&&await n(e.id)},className:"btn btn-danger",title:"Remove project",children:"Delete Project"})]})]})},fm=({onAdd:e,onClose:t})=>{const[n,r]=R.useState(""),[i,o]=R.useState(!1),l=async()=>{try{const a=await window.electronAPI.selectDirectory();a&&r(a)}catch(a){console.error("Error selecting directory:",a)}},s=async a=>{if(a.preventDefault(),!n.trim()){alert("Please select a project directory");return}try{o(!0),await e(n)}catch{}finally{o(!1)}};return f.jsx("div",{className:"modal-overlay",onClick:t,children:f.jsxs("div",{className:"modal-content",onClick:a=>a.stopPropagation(),children:[f.jsxs("div",{className:"modal-header",children:[f.jsx("h2",{children:"Add Project"}),f.jsx("button",{className:"modal-close",onClick:t,children:"×"})]}),f.jsxs("form",{onSubmit:s,children:[f.jsxs("div",{className:"form-group",children:[f.jsx("label",{htmlFor:"project-path",children:"Project Directory"}),f.jsxs("div",{className:"path-input-group",children:[f.jsx("input",{id:"project-path",type:"text",value:n,onChange:a=>r(a.target.value),placeholder:"Select or enter project directory path",disabled:i}),f.jsx("button",{type:"button",onClick:l,disabled:i,className:"btn btn-secondary",children:"Browse"})]})]}),f.jsxs("div",{className:"modal-actions",children:[f.jsx("button",{type:"button",onClick:t,disabled:i,className:"btn btn-secondary",children:"Cancel"}),f.jsx("button",{type:"submit",disabled:i||!n.trim(),className:"btn btn-primary",children:i?"Adding...":"Add Project"})]})]})]})})},pm=({onSearchChange:e,onSortChange:t,searchInputRef:n})=>{const[r,i]=R.useState(""),[o,l]=R.useState("all"),[s,a]=R.useState("name-asc"),[u,g]=R.useState(!1),h=R.useRef(null),m=R.useRef(null),w=n||m,x=p=>{const c=p.target.value;i(c),e(c,"all")},y=p=>{a(p),g(!1),t&&t(p)};R.useEffect(()=>{const p=c=>{h.current&&!h.current.contains(c.target)&&g(!1)};if(u)return document.addEventListener("mousedown",p),()=>document.removeEventListener("mousedown",p)},[u]);const D=[{value:"name-asc",label:"Name (A-Z)"},{value:"name-desc",label:"Name (Z-A)"},{value:"recent",label:"Recently Scanned"},{value:"oldest",label:"Oldest First"},{value:"running",label:"Running First"}];return f.jsx("div",{className:"project-search",children:f.jsxs("div",{className:"search-input-group",ref:h,children:[f.jsxs("div",{className:"search-input-wrapper",children:[f.jsx("input",{ref:w,type:"text",placeholder:"Search projects... (⌘/)",value:r,onChange:x,className:"search-input"}),f.jsx("button",{className:"sort-icon-btn",onClick:()=>g(!u),title:"Sort options",tabIndex:0,children:f.jsx("svg",{width:"14",height:"14",viewBox:"0 0 16 16",fill:"none",children:f.jsx("path",{d:"M3 4h10M3 8h7M3 12h4",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})})]}),u&&f.jsx("div",{className:"sort-menu",children:D.map(p=>f.jsxs("div",{className:`sort-menu-item ${s===p.value?"active":""}`,onClick:()=>y(p.value),children:[p.label,s===p.value&&f.jsx("span",{className:"checkmark",children:"✓"})]},p.value))})]})})},hm=({onClose:e})=>{const[t,n]=R.useState({editor:{type:"vscode"},browser:{type:"chrome"}}),[r,i]=R.useState(!0),[o,l]=R.useState(!1);R.useEffect(()=>{s()},[]);const s=async()=>{try{i(!0);const h=await window.electronAPI.getSettings();n(h)}catch(h){console.error("Error loading settings:",h)}finally{i(!1)}},a=async()=>{try{l(!0),await window.electronAPI.saveSettings(t),e()}catch(h){console.error("Error saving settings:",h),alert(`Failed to save settings: ${h instanceof Error?h.message:String(h)}`)}finally{l(!1)}},u=h=>{n({...t,editor:{type:h,customPath:h==="custom"?t.editor.customPath:void 0}})},g=h=>{n({...t,browser:{type:h,customPath:h==="custom"?t.browser.customPath:void 0}})};return r?f.jsx("div",{className:"settings-overlay",children:f.jsx("div",{className:"settings-modal",children:f.jsx("div",{className:"loading-state",children:"Loading settings..."})})}):f.jsx("div",{className:"settings-overlay",onClick:e,children:f.jsxs("div",{className:"settings-modal",onClick:h=>h.stopPropagation(),children:[f.jsxs("div",{className:"settings-header",children:[f.jsx("h2",{children:"Settings"}),f.jsx("button",{onClick:e,className:"settings-close-btn",title:"Close",children:"×"})]}),f.jsxs("div",{className:"settings-content",children:[f.jsxs("div",{className:"settings-section",children:[f.jsx("h3",{children:"Editor"}),f.jsxs("div",{className:"settings-field",children:[f.jsx("label",{children:"Editor Type"}),f.jsxs("select",{value:t.editor.type,onChange:h=>u(h.target.value),className:"settings-select",children:[f.jsx("option",{value:"vscode",children:"VS Code"}),f.jsx("option",{value:"cursor",children:"Cursor"}),f.jsx("option",{value:"windsurf",children:"Windsurf"}),f.jsx("option",{value:"zed",children:"Zed"}),f.jsx("option",{value:"custom",children:"Custom"})]})]}),t.editor.type==="custom"&&f.jsxs("div",{className:"settings-field",children:[f.jsx("label",{children:"Custom Editor Path"}),f.jsx("input",{type:"text",value:t.editor.customPath||"",onChange:h=>n({...t,editor:{...t.editor,customPath:h.target.value}}),placeholder:"/path/to/editor",className:"settings-input"})]})]}),f.jsxs("div",{className:"settings-section",children:[f.jsx("h3",{children:"Browser"}),f.jsxs("div",{className:"settings-field",children:[f.jsx("label",{children:"Browser Type"}),f.jsxs("select",{value:t.browser.type,onChange:h=>g(h.target.value),className:"settings-select",children:[f.jsx("option",{value:"chrome",children:"Chrome"}),f.jsx("option",{value:"firefox",children:"Firefox"}),f.jsx("option",{value:"safari",children:"Safari"}),f.jsx("option",{value:"edge",children:"Edge"}),f.jsx("option",{value:"custom",children:"Custom"})]})]}),t.browser.type==="custom"&&f.jsxs("div",{className:"settings-field",children:[f.jsx("label",{children:"Custom Browser Path"}),f.jsx("input",{type:"text",value:t.browser.customPath||"",onChange:h=>n({...t,browser:{...t.browser,customPath:h.target.value}}),placeholder:"/path/to/browser",className:"settings-input"})]})]})]}),f.jsxs("div",{className:"settings-footer",children:[f.jsx("button",{onClick:e,className:"btn btn-secondary",children:"Cancel"}),f.jsx("button",{onClick:a,disabled:o,className:"btn btn-primary",children:o?"Saving...":"Save"})]})]})})},mm=({children:e})=>f.jsxs("div",{className:"app-header",children:[f.jsx("h1",{className:"app-logo",children:"PROJAX"}),e]}),gm=({apiPort:e})=>{const[t,n]=R.useState(!1),[r,i]=R.useState(e||null),[o,l]=R.useState("...");return R.useEffect(()=>{(async()=>{try{const h=await window.electronAPI.getAppVersion();l(h)}catch(h){console.error("Failed to get app version:",h),l("3.3.24")}})();const a=async()=>{if(r)u(r);else try{const h=[38124,38125,38126,38127,38128];for(const m of h)try{if((await fetch(`http://localhost:${m}/health`)).ok){i(m),u(m);return}}catch{}}catch(h){console.error("Failed to detect API port:",h)}},u=async h=>{try{const m=await fetch(`http://localhost:${h}/health`);n(m.ok)}catch{n(!1)}};a();const g=setInterval(()=>{r&&u(r)},5e3);return()=>clearInterval(g)},[r]),f.jsx("div",{className:"status-bar",children:f.jsxs("div",{className:"status-bar-content",children:[f.jsxs("div",{className:"status-version",children:["v",o]}),f.jsxs("div",{className:"status-right",children:[f.jsxs("div",{className:"status-indicator",children:[f.jsx("span",{className:`status-dot ${t?"connected":"disconnected"}`}),f.jsx("span",{className:"status-text",children:t?"API Connected":"API Disconnected"})]}),r&&f.jsxs("div",{className:"api-port",children:["Port: ",r]})]})]})})},vm=({pid:e,scriptName:t,projectName:n,onClose:r})=>{const[i,o]=R.useState([]),[l,s]=R.useState(!1),a=R.useRef(null),[u,g]=R.useState(!0);R.useEffect(()=>{(async()=>{try{await window.electronAPI.watchProcessOutput(e),s(!0)}catch(p){console.error("Failed to start watching process:",p),o(c=>[...c,`Error: Failed to connect to process ${e}`])}})();const y=(p,c)=>{c.pid===e&&o(d=>[...d,c.data])},D=(p,c)=>{c.pid===e&&(o(d=>[...d,`
60
+ [Process exited with code ${c.code}]`]),s(!1))};return window.electronAPI.onProcessOutput(y),window.electronAPI.onProcessExit(D),()=>{window.electronAPI.unwatchProcessOutput(e),window.electronAPI.removeProcessOutputListener(y),window.electronAPI.removeProcessExitListener(D)}},[e]),R.useEffect(()=>{u&&a.current&&(a.current.scrollTop=a.current.scrollHeight)},[i,u]);const h=()=>{if(a.current){const{scrollTop:x,scrollHeight:y,clientHeight:D}=a.current,p=y-x-D<50;g(p)}},m=()=>{o([])},w=()=>{a.current&&(a.current.scrollTop=a.current.scrollHeight,g(!0))};return f.jsxs("div",{className:"terminal-sidebar",children:[f.jsxs("div",{className:"terminal-header",children:[f.jsxs("div",{className:"terminal-title-row",children:[f.jsxs("div",{className:"terminal-title-content",children:[f.jsx("span",{className:`terminal-status-indicator ${l?"running":"stopped"}`,children:l?"●":"○"}),f.jsxs("div",{className:"terminal-info",children:[f.jsx("span",{className:"terminal-script",children:t}),f.jsx("span",{className:"terminal-project",children:n})]})]}),f.jsxs("div",{className:"terminal-meta",children:[f.jsx("span",{className:`terminal-status-badge ${l?"running":"stopped"}`,children:l?"Running":"Stopped"}),f.jsxs("span",{className:"terminal-pid",children:["PID: ",e]})]})]}),f.jsxs("div",{className:"terminal-toolbar",children:[f.jsx("button",{onClick:m,className:"btn btn-secondary btn-tiny",title:"Clear output",children:"Clear"}),!u&&f.jsx("button",{onClick:w,className:"btn btn-secondary btn-tiny",title:"Scroll to bottom",children:"↓ Bottom"}),f.jsx("button",{onClick:r,className:"btn btn-danger btn-tiny",title:"Close terminal",children:"Close"})]})]}),f.jsx("div",{ref:a,className:"terminal-output",onScroll:h,children:i.length===0?f.jsxs("div",{className:"terminal-empty",children:[f.jsx("div",{className:"terminal-empty-icon",children:"⌘"}),f.jsx("div",{className:"terminal-empty-text",children:"Waiting for output..."}),f.jsxs("div",{className:"terminal-empty-hint",children:["Process PID ",e]})]}):i.map((x,y)=>f.jsx("div",{className:"terminal-line",children:x},y))})]})};function ym(){const[e,t]=R.useState([]),[n,r]=R.useState(null),[i,o]=R.useState(!0),[l,s]=R.useState(!1),[a,u]=R.useState(""),[g,h]=R.useState("all"),[m,w]=R.useState("name-asc"),[x,y]=R.useState(!1),[D,p]=R.useState([]),[c,d]=R.useState(-1),v=Tl.useRef(null),[S,P]=R.useState(280),[N,_]=R.useState(550),[O,M]=R.useState(null);R.useEffect(()=>{W(),U();const z=setInterval(()=>{U()},5e3);return()=>clearInterval(z)},[]);const W=async()=>{try{o(!0);const z=await window.electronAPI.getProjects();t(z),z.length===0&&console.log('No projects found. Use "Add Project" to add one.')}catch(z){console.error("Error loading projects:",z),alert(`Error loading projects: ${z instanceof Error?z.message:String(z)}
61
+
62
+ Check the console for more details.`)}finally{o(!1)}},U=async()=>{try{const z=await window.electronAPI.getRunningProcesses();p(z)}catch(z){console.error("Error loading running processes:",z)}},V=async z=>{try{const k=await window.electronAPI.addProject(z);await W(),s(!1),await window.electronAPI.scanProject(k.id),await W()}catch(k){console.error("Error adding project:",k),alert(k instanceof Error?k.message:"Failed to add project")}},ge=async z=>{if(confirm("Are you sure you want to remove this project?"))try{await window.electronAPI.removeProject(z),(n==null?void 0:n.id)===z&&r(null),await W()}catch(k){console.error("Error removing project:",k),alert("Failed to remove project")}},ve=(z,k)=>{u(z),h(k)},X=R.useMemo(()=>{let z=e;if(a.trim()){const L=a.toLowerCase().trim();z=e.filter(I=>{switch(g){case"name":return I.name.toLowerCase().includes(L);case"path":return I.path.toLowerCase().includes(L);case"ports":return!1;case"running":return L==="running"||L==="not running";case"all":default:return I.name.toLowerCase().includes(L)||I.path.toLowerCase().includes(L)||I.tags&&I.tags.some(te=>te.toLowerCase().includes(L))}})}const k=[...z];switch(m){case"name-asc":k.sort((L,I)=>L.name.localeCompare(I.name));break;case"name-desc":k.sort((L,I)=>I.name.localeCompare(L.name));break;case"recent":k.sort((L,I)=>(I.last_scanned||0)-(L.last_scanned||0));break;case"oldest":k.sort((L,I)=>L.created_at-I.created_at);break;case"running":k.sort((L,I)=>{const te=D.filter(je=>je.projectPath===L.path).length;return D.filter(je=>je.projectPath===I.path).length-te});break}return k},[e,a,g,m,D]);R.useEffect(()=>{const z=k=>{var je;if((k.metaKey||k.ctrlKey)&&k.key===","){k.preventDefault(),y(!0);return}if((k.metaKey||k.ctrlKey)&&k.key==="/"){k.preventDefault(),(je=v.current)==null||je.focus();return}const L=k.target;if(L.tagName==="INPUT"||L.tagName==="TEXTAREA")return;const I=document.querySelector(".project-list"),te=I&&(I===L||I.contains(L)||L.closest(".project-item")!==null);if(!te&&(k.key==="ArrowDown"||k.key==="ArrowUp"))return;const ne=X;if(k.key==="ArrowDown"&&te){k.preventDefault();const fe=c<ne.length-1?c+1:ne.length>0?0:-1;fe>=0&&(d(fe),r(ne[fe]))}else if(k.key==="ArrowUp"&&te){k.preventDefault();const fe=c>0?c-1:ne.length>0?ne.length-1:-1;fe>=0&&(d(fe),r(ne[fe]))}else k.key==="Enter"&&c>=0&&c<ne.length&&te?(k.preventDefault(),r(ne[c])):k.key==="Escape"&&te&&d(-1)};return window.addEventListener("keydown",z),()=>window.removeEventListener("keydown",z)},[c,X]),R.useEffect(()=>{d(-1)},[X.length,a]);const de=(z,k,L)=>{M({pid:z,scriptName:k,projectName:L})},j=()=>{M(null)};return f.jsxs("div",{className:"app",children:[f.jsx(mm,{children:f.jsxs("div",{className:"header-actions",children:[f.jsx("button",{type:"button",onClick:()=>y(!0),className:"btn-link",title:"Settings",children:"Settings"}),f.jsx("button",{type:"button",onClick:()=>s(!0),className:"btn-link btn-link-primary",children:"+ Add Project"})]})}),f.jsxs("div",{className:"app-content",children:[f.jsx(ba,{size:{width:S,height:"100%"},minWidth:200,maxWidth:600,disableDragging:!0,enableResizing:{right:!0},onResizeStop:(z,k,L,I)=>{const te=S+I.width;P(Math.max(200,Math.min(600,te)))},style:{position:"relative",display:"flex",flexDirection:"column"},resizeHandleStyles:{right:{width:"4px",right:"-2px",cursor:"col-resize",backgroundColor:"transparent"}},children:f.jsxs("aside",{className:"sidebar",style:{width:"100%",height:"100%"},children:[f.jsx(pm,{onSearchChange:ve,onSortChange:w,searchInputRef:v}),f.jsx(um,{projects:X,selectedProject:n,onSelectProject:r,loading:i,runningProcesses:D,keyboardFocusedIndex:c,onKeyboardFocusChange:d})]})}),f.jsx("main",{className:"main-content",children:n?f.jsx(dm,{project:n,onProjectUpdate:z=>{r(z),W()},onRemoveProject:ge,onOpenTerminal:de}):f.jsxs("div",{className:"empty-state",children:[f.jsx("h2",{children:"Select a project to view details"}),f.jsx("p",{children:"Choose a project from the sidebar to see its test files and information."})]})}),O&&f.jsx("div",{style:{width:`${N}px`,position:"relative",flexShrink:0},children:f.jsx(ba,{size:{width:N,height:"100%"},position:{x:0,y:0},minWidth:350,maxWidth:800,disableDragging:!0,enableResizing:{left:!0},onResizeStop:(z,k,L,I)=>{const te=N-I.width;_(Math.max(350,Math.min(800,te)))},style:{position:"static",display:"flex",flexDirection:"column",height:"100%"},resizeHandleStyles:{left:{width:"4px",left:"-2px",cursor:"col-resize",backgroundColor:"transparent"}},children:f.jsx(vm,{pid:O.pid,scriptName:O.scriptName,projectName:O.projectName,onClose:j})})})]}),l&&f.jsx(fm,{onAdd:V,onClose:()=>s(!1)}),x&&f.jsx(hm,{onClose:()=>y(!1)}),f.jsx(gm,{})]})}Lo.createRoot(document.getElementById("root")).render(f.jsx(Tl.StrictMode,{children:f.jsx(ym,{})}));
@@ -5,7 +5,7 @@
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; font-src 'self' data:; connect-src 'self' http://localhost:* ws://localhost:*;" />
7
7
  <title>projax</title>
8
- <script type="module" crossorigin src="./assets/index-CYph0WPA.js"></script>
8
+ <script type="module" crossorigin src="./assets/index-ByBOaxqv.js"></script>
9
9
  <link rel="stylesheet" crossorigin href="./assets/index-CQTleudf.css">
10
10
  </head>
11
11
  <body>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "projax",
3
- "version": "3.3.29",
3
+ "version": "3.3.30",
4
4
  "description": "Cross-platform project management dashboard for tracking local development projects. Features CLI, Terminal UI, Desktop app, REST API, and built-in tools for test detection, port management, and script execution.",
5
5
  "main": "dist/index.js",
6
6
  "bin": {