import{i as Eb,j as pr,o as Sb,s as xb,aq as Tb}from"./api-BVncLJHj.js";function _b(n,i){for(var r=0;r<i.length;r++){const c=i[r];if(typeof c!="string"&&!Array.isArray(c)){for(const o in c)if(o!=="default"&&!(o in n)){const f=Object.getOwnPropertyDescriptor(c,o);f&&Object.defineProperty(n,o,f.get?f:{enumerable:!0,get:()=>c[o]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))c(o);new MutationObserver(o=>{for(const f of o)if(f.type==="childList")for(const v of f.addedNodes)v.tagName==="LINK"&&v.rel==="modulepreload"&&c(v)}).observe(document,{childList:!0,subtree:!0});function r(o){const f={};return o.integrity&&(f.integrity=o.integrity),o.referrerPolicy&&(f.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?f.credentials="include":o.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function c(o){if(o.ep)return;o.ep=!0;const f=r(o);fetch(o.href,f)}})();try{Eb()}catch(n){console.error("[wxt] Failed to initialize plugins",n)}var Ys={exports:{}},Ou={};/**
 * @license React
 * react-jsx-runtime.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var $v;function Ab(){if($v)return Ou;$v=1;var n=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function r(c,o,f){var v=null;if(f!==void 0&&(v=""+f),o.key!==void 0&&(v=""+o.key),"key"in o){f={};for(var h in o)h!=="key"&&(f[h]=o[h])}else f=o;return o=f.ref,{$$typeof:n,type:c,key:v,ref:o!==void 0?o:null,props:f}}return Ou.Fragment=i,Ou.jsx=r,Ou.jsxs=r,Ou}var zv;function Cb(){return zv||(zv=1,Ys.exports=Ab()),Ys.exports}var A=Cb();const J3=pr(A);var Gs={exports:{}},Ee={};/**
 * @license React
 * react.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Uv;function Mb(){if(Uv)return Ee;Uv=1;var n=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),v=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),b=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),M=Symbol.iterator;function D(x){return x===null||typeof x!="object"?null:(x=M&&x[M]||x["@@iterator"],typeof x=="function"?x:null)}var q={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},K=Object.assign,w={};function H(x,Y,ne){this.props=x,this.context=Y,this.refs=w,this.updater=ne||q}H.prototype.isReactComponent={},H.prototype.setState=function(x,Y){if(typeof x!="object"&&typeof x!="function"&&x!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,x,Y,"setState")},H.prototype.forceUpdate=function(x){this.updater.enqueueForceUpdate(this,x,"forceUpdate")};function W(){}W.prototype=H.prototype;function G(x,Y,ne){this.props=x,this.context=Y,this.refs=w,this.updater=ne||q}var X=G.prototype=new W;X.constructor=G,K(X,H.prototype),X.isPureReactComponent=!0;var J=Array.isArray,Q={H:null,A:null,T:null,S:null,V:null},ve=Object.prototype.hasOwnProperty;function ue(x,Y,ne,te,de,Me){return ne=Me.ref,{$$typeof:n,type:x,key:Y,ref:ne!==void 0?ne:null,props:Me}}function Ae(x,Y){return ue(x.type,Y,void 0,void 0,void 0,x.props)}function Re(x){return typeof x=="object"&&x!==null&&x.$$typeof===n}function Ce(x){var Y={"=":"=0",":":"=2"};return"$"+x.replace(/[=:]/g,function(ne){return Y[ne]})}var j=/\/+/g;function F(x,Y){return typeof x=="object"&&x!==null&&x.key!=null?Ce(""+x.key):Y.toString(36)}function oe(){}function k(x){switch(x.status){case"fulfilled":return x.value;case"rejected":throw x.reason;default:switch(typeof x.status=="string"?x.then(oe,oe):(x.status="pending",x.then(function(Y){x.status==="pending"&&(x.status="fulfilled",x.value=Y)},function(Y){x.status==="pending"&&(x.status="rejected",x.reason=Y)})),x.status){case"fulfilled":return x.value;case"rejected":throw x.reason}}throw x}function fe(x,Y,ne,te,de){var Me=typeof x;(Me==="undefined"||Me==="boolean")&&(x=null);var be=!1;if(x===null)be=!0;else switch(Me){case"bigint":case"string":case"number":be=!0;break;case"object":switch(x.$$typeof){case n:case i:be=!0;break;case p:return be=x._init,fe(be(x._payload),Y,ne,te,de)}}if(be)return de=de(x),be=te===""?"."+F(x,0):te,J(de)?(ne="",be!=null&&(ne=be.replace(j,"$&/")+"/"),fe(de,Y,ne,"",function(zt){return zt})):de!=null&&(Re(de)&&(de=Ae(de,ne+(de.key==null||x&&x.key===de.key?"":(""+de.key).replace(j,"$&/")+"/")+be)),Y.push(de)),1;be=0;var rt=te===""?".":te+":";if(J(x))for(var He=0;He<x.length;He++)te=x[He],Me=rt+F(te,He),be+=fe(te,Y,ne,Me,de);else if(He=D(x),typeof He=="function")for(x=He.call(x),He=0;!(te=x.next()).done;)te=te.value,Me=rt+F(te,He++),be+=fe(te,Y,ne,Me,de);else if(Me==="object"){if(typeof x.then=="function")return fe(k(x),Y,ne,te,de);throw Y=String(x),Error("Objects are not valid as a React child (found: "+(Y==="[object Object]"?"object with keys {"+Object.keys(x).join(", ")+"}":Y)+"). If you meant to render a collection of children, use an array instead.")}return be}function _(x,Y,ne){if(x==null)return x;var te=[],de=0;return fe(x,te,"","",function(Me){return Y.call(ne,Me,de++)}),te}function Z(x){if(x._status===-1){var Y=x._result;Y=Y(),Y.then(function(ne){(x._status===0||x._status===-1)&&(x._status=1,x._result=ne)},function(ne){(x._status===0||x._status===-1)&&(x._status=2,x._result=ne)}),x._status===-1&&(x._status=0,x._result=Y)}if(x._status===1)return x._result.default;throw x._result}var ae=typeof reportError=="function"?reportError:function(x){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Y=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof x=="object"&&x!==null&&typeof x.message=="string"?String(x.message):String(x),error:x});if(!window.dispatchEvent(Y))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",x);return}console.error(x)};function ge(){}return Ee.Children={map:_,forEach:function(x,Y,ne){_(x,function(){Y.apply(this,arguments)},ne)},count:function(x){var Y=0;return _(x,function(){Y++}),Y},toArray:function(x){return _(x,function(Y){return Y})||[]},only:function(x){if(!Re(x))throw Error("React.Children.only expected to receive a single React element child.");return x}},Ee.Component=H,Ee.Fragment=r,Ee.Profiler=o,Ee.PureComponent=G,Ee.StrictMode=c,Ee.Suspense=b,Ee.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Q,Ee.__COMPILER_RUNTIME={__proto__:null,c:function(x){return Q.H.useMemoCache(x)}},Ee.cache=function(x){return function(){return x.apply(null,arguments)}},Ee.cloneElement=function(x,Y,ne){if(x==null)throw Error("The argument must be a React element, but you passed "+x+".");var te=K({},x.props),de=x.key,Me=void 0;if(Y!=null)for(be in Y.ref!==void 0&&(Me=void 0),Y.key!==void 0&&(de=""+Y.key),Y)!ve.call(Y,be)||be==="key"||be==="__self"||be==="__source"||be==="ref"&&Y.ref===void 0||(te[be]=Y[be]);var be=arguments.length-2;if(be===1)te.children=ne;else if(1<be){for(var rt=Array(be),He=0;He<be;He++)rt[He]=arguments[He+2];te.children=rt}return ue(x.type,de,void 0,void 0,Me,te)},Ee.createContext=function(x){return x={$$typeof:v,_currentValue:x,_currentValue2:x,_threadCount:0,Provider:null,Consumer:null},x.Provider=x,x.Consumer={$$typeof:f,_context:x},x},Ee.createElement=function(x,Y,ne){var te,de={},Me=null;if(Y!=null)for(te in Y.key!==void 0&&(Me=""+Y.key),Y)ve.call(Y,te)&&te!=="key"&&te!=="__self"&&te!=="__source"&&(de[te]=Y[te]);var be=arguments.length-2;if(be===1)de.children=ne;else if(1<be){for(var rt=Array(be),He=0;He<be;He++)rt[He]=arguments[He+2];de.children=rt}if(x&&x.defaultProps)for(te in be=x.defaultProps,be)de[te]===void 0&&(de[te]=be[te]);return ue(x,Me,void 0,void 0,null,de)},Ee.createRef=function(){return{current:null}},Ee.forwardRef=function(x){return{$$typeof:h,render:x}},Ee.isValidElement=Re,Ee.lazy=function(x){return{$$typeof:p,_payload:{_status:-1,_result:x},_init:Z}},Ee.memo=function(x,Y){return{$$typeof:m,type:x,compare:Y===void 0?null:Y}},Ee.startTransition=function(x){var Y=Q.T,ne={};Q.T=ne;try{var te=x(),de=Q.S;de!==null&&de(ne,te),typeof te=="object"&&te!==null&&typeof te.then=="function"&&te.then(ge,ae)}catch(Me){ae(Me)}finally{Q.T=Y}},Ee.unstable_useCacheRefresh=function(){return Q.H.useCacheRefresh()},Ee.use=function(x){return Q.H.use(x)},Ee.useActionState=function(x,Y,ne){return Q.H.useActionState(x,Y,ne)},Ee.useCallback=function(x,Y){return Q.H.useCallback(x,Y)},Ee.useContext=function(x){return Q.H.useContext(x)},Ee.useDebugValue=function(){},Ee.useDeferredValue=function(x,Y){return Q.H.useDeferredValue(x,Y)},Ee.useEffect=function(x,Y,ne){var te=Q.H;if(typeof ne=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return te.useEffect(x,Y)},Ee.useId=function(){return Q.H.useId()},Ee.useImperativeHandle=function(x,Y,ne){return Q.H.useImperativeHandle(x,Y,ne)},Ee.useInsertionEffect=function(x,Y){return Q.H.useInsertionEffect(x,Y)},Ee.useLayoutEffect=function(x,Y){return Q.H.useLayoutEffect(x,Y)},Ee.useMemo=function(x,Y){return Q.H.useMemo(x,Y)},Ee.useOptimistic=function(x,Y){return Q.H.useOptimistic(x,Y)},Ee.useReducer=function(x,Y,ne){return Q.H.useReducer(x,Y,ne)},Ee.useRef=function(x){return Q.H.useRef(x)},Ee.useState=function(x){return Q.H.useState(x)},Ee.useSyncExternalStore=function(x,Y,ne){return Q.H.useSyncExternalStore(x,Y,ne)},Ee.useTransition=function(){return Q.H.useTransition()},Ee.version="19.1.2",Ee}var Vv;function So(){return Vv||(Vv=1,Gs.exports=Mb()),Gs.exports}var g=So();const re=pr(g),$1=_b({__proto__:null,default:re},[g]);var Zs={exports:{}},Du={},Xs={exports:{}},ks={};/**
 * @license React
 * scheduler.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Lv;function Ob(){return Lv||(Lv=1,(function(n){function i(_,Z){var ae=_.length;_.push(Z);e:for(;0<ae;){var ge=ae-1>>>1,x=_[ge];if(0<o(x,Z))_[ge]=Z,_[ae]=x,ae=ge;else break e}}function r(_){return _.length===0?null:_[0]}function c(_){if(_.length===0)return null;var Z=_[0],ae=_.pop();if(ae!==Z){_[0]=ae;e:for(var ge=0,x=_.length,Y=x>>>1;ge<Y;){var ne=2*(ge+1)-1,te=_[ne],de=ne+1,Me=_[de];if(0>o(te,ae))de<x&&0>o(Me,te)?(_[ge]=Me,_[de]=ae,ge=de):(_[ge]=te,_[ne]=ae,ge=ne);else if(de<x&&0>o(Me,ae))_[ge]=Me,_[de]=ae,ge=de;else break e}}return Z}function o(_,Z){var ae=_.sortIndex-Z.sortIndex;return ae!==0?ae:_.id-Z.id}if(n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var f=performance;n.unstable_now=function(){return f.now()}}else{var v=Date,h=v.now();n.unstable_now=function(){return v.now()-h}}var b=[],m=[],p=1,M=null,D=3,q=!1,K=!1,w=!1,H=!1,W=typeof setTimeout=="function"?setTimeout:null,G=typeof clearTimeout=="function"?clearTimeout:null,X=typeof setImmediate<"u"?setImmediate:null;function J(_){for(var Z=r(m);Z!==null;){if(Z.callback===null)c(m);else if(Z.startTime<=_)c(m),Z.sortIndex=Z.expirationTime,i(b,Z);else break;Z=r(m)}}function Q(_){if(w=!1,J(_),!K)if(r(b)!==null)K=!0,ve||(ve=!0,F());else{var Z=r(m);Z!==null&&fe(Q,Z.startTime-_)}}var ve=!1,ue=-1,Ae=5,Re=-1;function Ce(){return H?!0:!(n.unstable_now()-Re<Ae)}function j(){if(H=!1,ve){var _=n.unstable_now();Re=_;var Z=!0;try{e:{K=!1,w&&(w=!1,G(ue),ue=-1),q=!0;var ae=D;try{t:{for(J(_),M=r(b);M!==null&&!(M.expirationTime>_&&Ce());){var ge=M.callback;if(typeof ge=="function"){M.callback=null,D=M.priorityLevel;var x=ge(M.expirationTime<=_);if(_=n.unstable_now(),typeof x=="function"){M.callback=x,J(_),Z=!0;break t}M===r(b)&&c(b),J(_)}else c(b);M=r(b)}if(M!==null)Z=!0;else{var Y=r(m);Y!==null&&fe(Q,Y.startTime-_),Z=!1}}break e}finally{M=null,D=ae,q=!1}Z=void 0}}finally{Z?F():ve=!1}}}var F;if(typeof X=="function")F=function(){X(j)};else if(typeof MessageChannel<"u"){var oe=new MessageChannel,k=oe.port2;oe.port1.onmessage=j,F=function(){k.postMessage(null)}}else F=function(){W(j,0)};function fe(_,Z){ue=W(function(){_(n.unstable_now())},Z)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(_){_.callback=null},n.unstable_forceFrameRate=function(_){0>_||125<_?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Ae=0<_?Math.floor(1e3/_):5},n.unstable_getCurrentPriorityLevel=function(){return D},n.unstable_next=function(_){switch(D){case 1:case 2:case 3:var Z=3;break;default:Z=D}var ae=D;D=Z;try{return _()}finally{D=ae}},n.unstable_requestPaint=function(){H=!0},n.unstable_runWithPriority=function(_,Z){switch(_){case 1:case 2:case 3:case 4:case 5:break;default:_=3}var ae=D;D=_;try{return Z()}finally{D=ae}},n.unstable_scheduleCallback=function(_,Z,ae){var ge=n.unstable_now();switch(typeof ae=="object"&&ae!==null?(ae=ae.delay,ae=typeof ae=="number"&&0<ae?ge+ae:ge):ae=ge,_){case 1:var x=-1;break;case 2:x=250;break;case 5:x=1073741823;break;case 4:x=1e4;break;default:x=5e3}return x=ae+x,_={id:p++,callback:Z,priorityLevel:_,startTime:ae,expirationTime:x,sortIndex:-1},ae>ge?(_.sortIndex=ae,i(m,_),r(b)===null&&_===r(m)&&(w?(G(ue),ue=-1):w=!0,fe(Q,ae-ge))):(_.sortIndex=x,i(b,_),K||q||(K=!0,ve||(ve=!0,F()))),_},n.unstable_shouldYield=Ce,n.unstable_wrapCallback=function(_){var Z=D;return function(){var ae=D;D=Z;try{return _.apply(this,arguments)}finally{D=ae}}}})(ks)),ks}var jv;function Db(){return jv||(jv=1,Xs.exports=Ob()),Xs.exports}var Qs={exports:{}},vt={};/**
 * @license React
 * react-dom.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Hv;function Rb(){if(Hv)return vt;Hv=1;var n=So();function i(b){var m="https://react.dev/errors/"+b;if(1<arguments.length){m+="?args[]="+encodeURIComponent(arguments[1]);for(var p=2;p<arguments.length;p++)m+="&args[]="+encodeURIComponent(arguments[p])}return"Minified React error #"+b+"; visit "+m+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(){}var c={d:{f:r,r:function(){throw Error(i(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},o=Symbol.for("react.portal");function f(b,m,p){var M=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:M==null?null:""+M,children:b,containerInfo:m,implementation:p}}var v=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function h(b,m){if(b==="font")return"";if(typeof m=="string")return m==="use-credentials"?m:""}return vt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=c,vt.createPortal=function(b,m){var p=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!m||m.nodeType!==1&&m.nodeType!==9&&m.nodeType!==11)throw Error(i(299));return f(b,m,null,p)},vt.flushSync=function(b){var m=v.T,p=c.p;try{if(v.T=null,c.p=2,b)return b()}finally{v.T=m,c.p=p,c.d.f()}},vt.preconnect=function(b,m){typeof b=="string"&&(m?(m=m.crossOrigin,m=typeof m=="string"?m==="use-credentials"?m:"":void 0):m=null,c.d.C(b,m))},vt.prefetchDNS=function(b){typeof b=="string"&&c.d.D(b)},vt.preinit=function(b,m){if(typeof b=="string"&&m&&typeof m.as=="string"){var p=m.as,M=h(p,m.crossOrigin),D=typeof m.integrity=="string"?m.integrity:void 0,q=typeof m.fetchPriority=="string"?m.fetchPriority:void 0;p==="style"?c.d.S(b,typeof m.precedence=="string"?m.precedence:void 0,{crossOrigin:M,integrity:D,fetchPriority:q}):p==="script"&&c.d.X(b,{crossOrigin:M,integrity:D,fetchPriority:q,nonce:typeof m.nonce=="string"?m.nonce:void 0})}},vt.preinitModule=function(b,m){if(typeof b=="string")if(typeof m=="object"&&m!==null){if(m.as==null||m.as==="script"){var p=h(m.as,m.crossOrigin);c.d.M(b,{crossOrigin:p,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0})}}else m==null&&c.d.M(b)},vt.preload=function(b,m){if(typeof b=="string"&&typeof m=="object"&&m!==null&&typeof m.as=="string"){var p=m.as,M=h(p,m.crossOrigin);c.d.L(b,p,{crossOrigin:M,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0,type:typeof m.type=="string"?m.type:void 0,fetchPriority:typeof m.fetchPriority=="string"?m.fetchPriority:void 0,referrerPolicy:typeof m.referrerPolicy=="string"?m.referrerPolicy:void 0,imageSrcSet:typeof m.imageSrcSet=="string"?m.imageSrcSet:void 0,imageSizes:typeof m.imageSizes=="string"?m.imageSizes:void 0,media:typeof m.media=="string"?m.media:void 0})}},vt.preloadModule=function(b,m){if(typeof b=="string")if(m){var p=h(m.as,m.crossOrigin);c.d.m(b,{as:typeof m.as=="string"&&m.as!=="script"?m.as:void 0,crossOrigin:p,integrity:typeof m.integrity=="string"?m.integrity:void 0})}else c.d.m(b)},vt.requestFormReset=function(b){c.d.r(b)},vt.unstable_batchedUpdates=function(b,m){return b(m)},vt.useFormState=function(b,m,p){return v.H.useFormState(b,m,p)},vt.useFormStatus=function(){return v.H.useHostTransitionStatus()},vt.version="19.1.2",vt}var Bv;function z1(){if(Bv)return Qs.exports;Bv=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(i){console.error(i)}}return n(),Qs.exports=Rb(),Qs.exports}/**
 * @license React
 * react-dom-client.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var qv;function wb(){if(qv)return Du;qv=1;var n=Db(),i=So(),r=z1();function c(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)t+="&args[]="+encodeURIComponent(arguments[l])}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."}function o(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function f(e){var t=e,l=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(l=t.return),e=t.return;while(e)}return t.tag===3?l:null}function v(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 h(e){if(f(e)!==e)throw Error(c(188))}function b(e){var t=e.alternate;if(!t){if(t=f(e),t===null)throw Error(c(188));return t!==e?null:e}for(var l=e,a=t;;){var u=l.return;if(u===null)break;var s=u.alternate;if(s===null){if(a=u.return,a!==null){l=a;continue}break}if(u.child===s.child){for(s=u.child;s;){if(s===l)return h(u),e;if(s===a)return h(u),t;s=s.sibling}throw Error(c(188))}if(l.return!==a.return)l=u,a=s;else{for(var d=!1,y=u.child;y;){if(y===l){d=!0,l=u,a=s;break}if(y===a){d=!0,a=u,l=s;break}y=y.sibling}if(!d){for(y=s.child;y;){if(y===l){d=!0,l=s,a=u;break}if(y===a){d=!0,a=s,l=u;break}y=y.sibling}if(!d)throw Error(c(189))}}if(l.alternate!==a)throw Error(c(190))}if(l.tag!==3)throw Error(c(188));return l.stateNode.current===l?e:t}function m(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=m(e),t!==null)return t;e=e.sibling}return null}var p=Object.assign,M=Symbol.for("react.element"),D=Symbol.for("react.transitional.element"),q=Symbol.for("react.portal"),K=Symbol.for("react.fragment"),w=Symbol.for("react.strict_mode"),H=Symbol.for("react.profiler"),W=Symbol.for("react.provider"),G=Symbol.for("react.consumer"),X=Symbol.for("react.context"),J=Symbol.for("react.forward_ref"),Q=Symbol.for("react.suspense"),ve=Symbol.for("react.suspense_list"),ue=Symbol.for("react.memo"),Ae=Symbol.for("react.lazy"),Re=Symbol.for("react.activity"),Ce=Symbol.for("react.memo_cache_sentinel"),j=Symbol.iterator;function F(e){return e===null||typeof e!="object"?null:(e=j&&e[j]||e["@@iterator"],typeof e=="function"?e:null)}var oe=Symbol.for("react.client.reference");function k(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===oe?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case K:return"Fragment";case H:return"Profiler";case w:return"StrictMode";case Q:return"Suspense";case ve:return"SuspenseList";case Re:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case q:return"Portal";case X:return(e.displayName||"Context")+".Provider";case G:return(e._context.displayName||"Context")+".Consumer";case J:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ue:return t=e.displayName||null,t!==null?t:k(e.type)||"Memo";case Ae:t=e._payload,e=e._init;try{return k(e(t))}catch{}}return null}var fe=Array.isArray,_=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Z=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ae={pending:!1,data:null,method:null,action:null},ge=[],x=-1;function Y(e){return{current:e}}function ne(e){0>x||(e.current=ge[x],ge[x]=null,x--)}function te(e,t){x++,ge[x]=e.current,e.current=t}var de=Y(null),Me=Y(null),be=Y(null),rt=Y(null);function He(e,t){switch(te(be,t),te(Me,e),te(de,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?rv(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=rv(t),e=cv(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}ne(de),te(de,e)}function zt(){ne(de),ne(Me),ne(be)}function aa(e){e.memoizedState!==null&&te(rt,e);var t=de.current,l=cv(t,e.type);t!==l&&(te(Me,e),te(de,l))}function Da(e){Me.current===e&&(ne(de),ne(Me)),rt.current===e&&(ne(rt),Tu._currentValue=ae)}var Ra=Object.prototype.hasOwnProperty,wn=n.unstable_scheduleCallback,wa=n.unstable_cancelCallback,Gu=n.unstable_shouldYield,Dr=n.unstable_requestPaint,Ut=n.unstable_now,Yo=n.unstable_getCurrentPriorityLevel,Nn=n.unstable_ImmediatePriority,S=n.unstable_UserBlockingPriority,N=n.unstable_NormalPriority,U=n.unstable_LowPriority,le=n.unstable_IdlePriority,I=n.log,P=n.unstable_setDisableYieldValue,ce=null,pe=null;function Oe(e){if(typeof I=="function"&&P(e),pe&&typeof pe.setStrictMode=="function")try{pe.setStrictMode(ce,e)}catch{}}var qe=Math.clz32?Math.clz32:Rr,Na=Math.log,tl=Math.LN2;function Rr(e){return e>>>=0,e===0?32:31-(Na(e)/tl|0)|0}var Ml=256,Ol=4194304;function sl(e){var t=e&42;if(t!==0)return t;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:return 64;case 128:return 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&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function na(e,t,l){var a=e.pendingLanes;if(a===0)return 0;var u=0,s=e.suspendedLanes,d=e.pingedLanes;e=e.warmLanes;var y=a&134217727;return y!==0?(a=y&~s,a!==0?u=sl(a):(d&=y,d!==0?u=sl(d):l||(l=y&~e,l!==0&&(u=sl(l))))):(y=a&~s,y!==0?u=sl(y):d!==0?u=sl(d):l||(l=a&~e,l!==0&&(u=sl(l)))),u===0?0:t!==0&&t!==u&&(t&s)===0&&(s=u&-u,l=t&-t,s>=l||s===32&&(l&4194048)!==0)?t:u}function ua(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Zu(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32: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:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Go(){var e=Ml;return Ml<<=1,(Ml&4194048)===0&&(Ml=256),e}function Zo(){var e=Ol;return Ol<<=1,(Ol&62914560)===0&&(Ol=4194304),e}function wr(e){for(var t=[],l=0;31>l;l++)t.push(e);return t}function $n(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function cy(e,t,l,a,u,s){var d=e.pendingLanes;e.pendingLanes=l,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=l,e.entangledLanes&=l,e.errorRecoveryDisabledLanes&=l,e.shellSuspendCounter=0;var y=e.entanglements,E=e.expirationTimes,R=e.hiddenUpdates;for(l=d&~l;0<l;){var V=31-qe(l),B=1<<V;y[V]=0,E[V]=-1;var $=R[V];if($!==null)for(R[V]=null,V=0;V<$.length;V++){var z=$[V];z!==null&&(z.lane&=-536870913)}l&=~B}a!==0&&Xo(e,a,0),s!==0&&u===0&&e.tag!==0&&(e.suspendedLanes|=s&~(d&~t))}function Xo(e,t,l){e.pendingLanes|=t,e.suspendedLanes&=~t;var a=31-qe(t);e.entangledLanes|=t,e.entanglements[a]=e.entanglements[a]|1073741824|l&4194090}function ko(e,t){var l=e.entangledLanes|=t;for(e=e.entanglements;l;){var a=31-qe(l),u=1<<a;u&t|e[a]&t&&(e[a]|=t),l&=~u}}function Nr(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function $r(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Qo(){var e=Z.p;return e!==0?e:(e=window.event,e===void 0?32:Mv(e.type))}function sy(e,t){var l=Z.p;try{return Z.p=e,t()}finally{Z.p=l}}var Dl=Math.random().toString(36).slice(2),ft="__reactFiber$"+Dl,gt="__reactProps$"+Dl,$a="__reactContainer$"+Dl,zr="__reactEvents$"+Dl,oy="__reactListeners$"+Dl,fy="__reactHandles$"+Dl,Ko="__reactResources$"+Dl,zn="__reactMarker$"+Dl;function Ur(e){delete e[ft],delete e[gt],delete e[zr],delete e[oy],delete e[fy]}function za(e){var t=e[ft];if(t)return t;for(var l=e.parentNode;l;){if(t=l[$a]||l[ft]){if(l=t.alternate,t.child!==null||l!==null&&l.child!==null)for(e=dv(e);e!==null;){if(l=e[ft])return l;e=dv(e)}return t}e=l,l=e.parentNode}return null}function Ua(e){if(e=e[ft]||e[$a]){var t=e.tag;if(t===5||t===6||t===13||t===26||t===27||t===3)return e}return null}function Un(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(c(33))}function Va(e){var t=e[Ko];return t||(t=e[Ko]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function at(e){e[zn]=!0}var Fo=new Set,Po={};function ia(e,t){La(e,t),La(e+"Capture",t)}function La(e,t){for(Po[e]=t,e=0;e<t.length;e++)Fo.add(t[e])}var dy=RegExp("^[: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]*$"),Jo={},Wo={};function vy(e){return Ra.call(Wo,e)?!0:Ra.call(Jo,e)?!1:dy.test(e)?Wo[e]=!0:(Jo[e]=!0,!1)}function Xu(e,t,l){if(vy(t))if(l===null)e.removeAttribute(t);else{switch(typeof l){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var a=t.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+l)}}function ku(e,t,l){if(l===null)e.removeAttribute(t);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+l)}}function ol(e,t,l,a){if(a===null)e.removeAttribute(l);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(l);return}e.setAttributeNS(t,l,""+a)}}var Vr,Io;function ja(e){if(Vr===void 0)try{throw Error()}catch(l){var t=l.stack.trim().match(/\n( *(at )?)/);Vr=t&&t[1]||"",Io=-1<l.stack.indexOf(`
    at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
`+Vr+e+Io}var Lr=!1;function jr(e,t){if(!e||Lr)return"";Lr=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(t){var B=function(){throw Error()};if(Object.defineProperty(B.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(B,[])}catch(z){var $=z}Reflect.construct(e,[],B)}else{try{B.call()}catch(z){$=z}e.call(B.prototype)}}else{try{throw Error()}catch(z){$=z}(B=e())&&typeof B.catch=="function"&&B.catch(function(){})}}catch(z){if(z&&$&&typeof z.stack=="string")return[z.stack,$.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var u=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");u&&u.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var s=a.DetermineComponentFrameRoot(),d=s[0],y=s[1];if(d&&y){var E=d.split(`
`),R=y.split(`
`);for(u=a=0;a<E.length&&!E[a].includes("DetermineComponentFrameRoot");)a++;for(;u<R.length&&!R[u].includes("DetermineComponentFrameRoot");)u++;if(a===E.length||u===R.length)for(a=E.length-1,u=R.length-1;1<=a&&0<=u&&E[a]!==R[u];)u--;for(;1<=a&&0<=u;a--,u--)if(E[a]!==R[u]){if(a!==1||u!==1)do if(a--,u--,0>u||E[a]!==R[u]){var V=`
`+E[a].replace(" at new "," at ");return e.displayName&&V.includes("<anonymous>")&&(V=V.replace("<anonymous>",e.displayName)),V}while(1<=a&&0<=u);break}}}finally{Lr=!1,Error.prepareStackTrace=l}return(l=e?e.displayName||e.name:"")?ja(l):""}function hy(e){switch(e.tag){case 26:case 27:case 5:return ja(e.type);case 16:return ja("Lazy");case 13:return ja("Suspense");case 19:return ja("SuspenseList");case 0:case 15:return jr(e.type,!1);case 11:return jr(e.type.render,!1);case 1:return jr(e.type,!0);case 31:return ja("Activity");default:return""}}function ef(e){try{var t="";do t+=hy(e),e=e.return;while(e);return t}catch(l){return`
Error generating stack: `+l.message+`
`+l.stack}}function Vt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function tf(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function yy(e){var t=tf(e)?"checked":"value",l=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),a=""+e[t];if(!e.hasOwnProperty(t)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var u=l.get,s=l.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return u.call(this)},set:function(d){a=""+d,s.call(this,d)}}),Object.defineProperty(e,t,{enumerable:l.enumerable}),{getValue:function(){return a},setValue:function(d){a=""+d},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Qu(e){e._valueTracker||(e._valueTracker=yy(e))}function lf(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var l=t.getValue(),a="";return e&&(a=tf(e)?e.checked?"true":"false":e.value),e=a,e!==l?(t.setValue(e),!0):!1}function Ku(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}}var my=/[\n"\\]/g;function Lt(e){return e.replace(my,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Hr(e,t,l,a,u,s,d,y){e.name="",d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?e.type=d:e.removeAttribute("type"),t!=null?d==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Vt(t)):e.value!==""+Vt(t)&&(e.value=""+Vt(t)):d!=="submit"&&d!=="reset"||e.removeAttribute("value"),t!=null?Br(e,d,Vt(t)):l!=null?Br(e,d,Vt(l)):a!=null&&e.removeAttribute("value"),u==null&&s!=null&&(e.defaultChecked=!!s),u!=null&&(e.checked=u&&typeof u!="function"&&typeof u!="symbol"),y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"?e.name=""+Vt(y):e.removeAttribute("name")}function af(e,t,l,a,u,s,d,y){if(s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"&&(e.type=s),t!=null||l!=null){if(!(s!=="submit"&&s!=="reset"||t!=null))return;l=l!=null?""+Vt(l):"",t=t!=null?""+Vt(t):l,y||t===e.value||(e.value=t),e.defaultValue=t}a=a??u,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=y?e.checked:!!a,e.defaultChecked=!!a,d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(e.name=d)}function Br(e,t,l){t==="number"&&Ku(e.ownerDocument)===e||e.defaultValue===""+l||(e.defaultValue=""+l)}function Ha(e,t,l,a){if(e=e.options,t){t={};for(var u=0;u<l.length;u++)t["$"+l[u]]=!0;for(l=0;l<e.length;l++)u=t.hasOwnProperty("$"+e[l].value),e[l].selected!==u&&(e[l].selected=u),u&&a&&(e[l].defaultSelected=!0)}else{for(l=""+Vt(l),t=null,u=0;u<e.length;u++){if(e[u].value===l){e[u].selected=!0,a&&(e[u].defaultSelected=!0);return}t!==null||e[u].disabled||(t=e[u])}t!==null&&(t.selected=!0)}}function nf(e,t,l){if(t!=null&&(t=""+Vt(t),t!==e.value&&(e.value=t),l==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=l!=null?""+Vt(l):""}function uf(e,t,l,a){if(t==null){if(a!=null){if(l!=null)throw Error(c(92));if(fe(a)){if(1<a.length)throw Error(c(93));a=a[0]}l=a}l==null&&(l=""),t=l}l=Vt(t),e.defaultValue=l,a=e.textContent,a===l&&a!==""&&a!==null&&(e.value=a)}function Ba(e,t){if(t){var l=e.firstChild;if(l&&l===e.lastChild&&l.nodeType===3){l.nodeValue=t;return}}e.textContent=t}var by=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function rf(e,t,l){var a=t.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?a?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":a?e.setProperty(t,l):typeof l!="number"||l===0||by.has(t)?t==="float"?e.cssFloat=l:e[t]=(""+l).trim():e[t]=l+"px"}function cf(e,t,l){if(t!=null&&typeof t!="object")throw Error(c(62));if(e=e.style,l!=null){for(var a in l)!l.hasOwnProperty(a)||t!=null&&t.hasOwnProperty(a)||(a.indexOf("--")===0?e.setProperty(a,""):a==="float"?e.cssFloat="":e[a]="");for(var u in t)a=t[u],t.hasOwnProperty(u)&&l[u]!==a&&rf(e,u,a)}else for(var s in t)t.hasOwnProperty(s)&&rf(e,s,t[s])}function qr(e){if(e.indexOf("-")===-1)return!1;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 gy=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),py=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Fu(e){return py.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var Yr=null;function Gr(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var qa=null,Ya=null;function sf(e){var t=Ua(e);if(t&&(e=t.stateNode)){var l=e[gt]||null;e:switch(e=t.stateNode,t.type){case"input":if(Hr(e,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),t=l.name,l.type==="radio"&&t!=null){for(l=e;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+Lt(""+t)+'"][type="radio"]'),t=0;t<l.length;t++){var a=l[t];if(a!==e&&a.form===e.form){var u=a[gt]||null;if(!u)throw Error(c(90));Hr(a,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name)}}for(t=0;t<l.length;t++)a=l[t],a.form===e.form&&lf(a)}break e;case"textarea":nf(e,l.value,l.defaultValue);break e;case"select":t=l.value,t!=null&&Ha(e,!!l.multiple,t,!1)}}}var Zr=!1;function of(e,t,l){if(Zr)return e(t,l);Zr=!0;try{var a=e(t);return a}finally{if(Zr=!1,(qa!==null||Ya!==null)&&(zi(),qa&&(t=qa,e=Ya,Ya=qa=null,sf(t),e)))for(t=0;t<e.length;t++)sf(e[t])}}function Vn(e,t){var l=e.stateNode;if(l===null)return null;var a=l[gt]||null;if(a===null)return null;l=a[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":(a=!a.disabled)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(l&&typeof l!="function")throw Error(c(231,t,typeof l));return l}var fl=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Xr=!1;if(fl)try{var Ln={};Object.defineProperty(Ln,"passive",{get:function(){Xr=!0}}),window.addEventListener("test",Ln,Ln),window.removeEventListener("test",Ln,Ln)}catch{Xr=!1}var Rl=null,kr=null,Pu=null;function ff(){if(Pu)return Pu;var e,t=kr,l=t.length,a,u="value"in Rl?Rl.value:Rl.textContent,s=u.length;for(e=0;e<l&&t[e]===u[e];e++);var d=l-e;for(a=1;a<=d&&t[l-a]===u[s-a];a++);return Pu=u.slice(e,1<a?1-a:void 0)}function Ju(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 Wu(){return!0}function df(){return!1}function pt(e){function t(l,a,u,s,d){this._reactName=l,this._targetInst=u,this.type=a,this.nativeEvent=s,this.target=d,this.currentTarget=null;for(var y in e)e.hasOwnProperty(y)&&(l=e[y],this[y]=l?l(s):s[y]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?Wu:df,this.isPropagationStopped=df,this}return p(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=Wu)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=Wu)},persist:function(){},isPersistent:Wu}),t}var ra={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Iu=pt(ra),jn=p({},ra,{view:0,detail:0}),Ey=pt(jn),Qr,Kr,Hn,ei=p({},jn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Pr,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!==Hn&&(Hn&&e.type==="mousemove"?(Qr=e.screenX-Hn.screenX,Kr=e.screenY-Hn.screenY):Kr=Qr=0,Hn=e),Qr)},movementY:function(e){return"movementY"in e?e.movementY:Kr}}),vf=pt(ei),Sy=p({},ei,{dataTransfer:0}),xy=pt(Sy),Ty=p({},jn,{relatedTarget:0}),Fr=pt(Ty),_y=p({},ra,{animationName:0,elapsedTime:0,pseudoElement:0}),Ay=pt(_y),Cy=p({},ra,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),My=pt(Cy),Oy=p({},ra,{data:0}),hf=pt(Oy),Dy={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ry={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"},wy={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ny(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=wy[e])?!!t[e]:!1}function Pr(){return Ny}var $y=p({},jn,{key:function(e){if(e.key){var t=Dy[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Ju(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Ry[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Pr,charCode:function(e){return e.type==="keypress"?Ju(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ju(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),zy=pt($y),Uy=p({},ei,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),yf=pt(Uy),Vy=p({},jn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Pr}),Ly=pt(Vy),jy=p({},ra,{propertyName:0,elapsedTime:0,pseudoElement:0}),Hy=pt(jy),By=p({},ei,{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}),qy=pt(By),Yy=p({},ra,{newState:0,oldState:0}),Gy=pt(Yy),Zy=[9,13,27,32],Jr=fl&&"CompositionEvent"in window,Bn=null;fl&&"documentMode"in document&&(Bn=document.documentMode);var Xy=fl&&"TextEvent"in window&&!Bn,mf=fl&&(!Jr||Bn&&8<Bn&&11>=Bn),bf=" ",gf=!1;function pf(e,t){switch(e){case"keyup":return Zy.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ef(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ga=!1;function ky(e,t){switch(e){case"compositionend":return Ef(t);case"keypress":return t.which!==32?null:(gf=!0,bf);case"textInput":return e=t.data,e===bf&&gf?null:e;default:return null}}function Qy(e,t){if(Ga)return e==="compositionend"||!Jr&&pf(e,t)?(e=ff(),Pu=kr=Rl=null,Ga=!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 mf&&t.locale!=="ko"?null:t.data;default:return null}}var Ky={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 Sf(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Ky[e.type]:t==="textarea"}function xf(e,t,l,a){qa?Ya?Ya.push(a):Ya=[a]:qa=a,t=Bi(t,"onChange"),0<t.length&&(l=new Iu("onChange","change",null,l,a),e.push({event:l,listeners:t}))}var qn=null,Yn=null;function Fy(e){lv(e,0)}function ti(e){var t=Un(e);if(lf(t))return e}function Tf(e,t){if(e==="change")return t}var _f=!1;if(fl){var Wr;if(fl){var Ir="oninput"in document;if(!Ir){var Af=document.createElement("div");Af.setAttribute("oninput","return;"),Ir=typeof Af.oninput=="function"}Wr=Ir}else Wr=!1;_f=Wr&&(!document.documentMode||9<document.documentMode)}function Cf(){qn&&(qn.detachEvent("onpropertychange",Mf),Yn=qn=null)}function Mf(e){if(e.propertyName==="value"&&ti(Yn)){var t=[];xf(t,Yn,e,Gr(e)),of(Fy,t)}}function Py(e,t,l){e==="focusin"?(Cf(),qn=t,Yn=l,qn.attachEvent("onpropertychange",Mf)):e==="focusout"&&Cf()}function Jy(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return ti(Yn)}function Wy(e,t){if(e==="click")return ti(t)}function Iy(e,t){if(e==="input"||e==="change")return ti(t)}function em(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var At=typeof Object.is=="function"?Object.is:em;function Gn(e,t){if(At(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var l=Object.keys(e),a=Object.keys(t);if(l.length!==a.length)return!1;for(a=0;a<l.length;a++){var u=l[a];if(!Ra.call(t,u)||!At(e[u],t[u]))return!1}return!0}function Of(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Df(e,t){var l=Of(e);e=0;for(var a;l;){if(l.nodeType===3){if(a=e+l.textContent.length,e<=t&&a>=t)return{node:l,offset:t-e};e=a}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=Of(l)}}function Rf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Rf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function wf(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Ku(e.document);t instanceof e.HTMLIFrameElement;){try{var l=typeof t.contentWindow.location.href=="string"}catch{l=!1}if(l)e=t.contentWindow;else break;t=Ku(e.document)}return t}function ec(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")}var tm=fl&&"documentMode"in document&&11>=document.documentMode,Za=null,tc=null,Zn=null,lc=!1;function Nf(e,t,l){var a=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;lc||Za==null||Za!==Ku(a)||(a=Za,"selectionStart"in a&&ec(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),Zn&&Gn(Zn,a)||(Zn=a,a=Bi(tc,"onSelect"),0<a.length&&(t=new Iu("onSelect","select",null,t,l),e.push({event:t,listeners:a}),t.target=Za)))}function ca(e,t){var l={};return l[e.toLowerCase()]=t.toLowerCase(),l["Webkit"+e]="webkit"+t,l["Moz"+e]="moz"+t,l}var Xa={animationend:ca("Animation","AnimationEnd"),animationiteration:ca("Animation","AnimationIteration"),animationstart:ca("Animation","AnimationStart"),transitionrun:ca("Transition","TransitionRun"),transitionstart:ca("Transition","TransitionStart"),transitioncancel:ca("Transition","TransitionCancel"),transitionend:ca("Transition","TransitionEnd")},ac={},$f={};fl&&($f=document.createElement("div").style,"AnimationEvent"in window||(delete Xa.animationend.animation,delete Xa.animationiteration.animation,delete Xa.animationstart.animation),"TransitionEvent"in window||delete Xa.transitionend.transition);function sa(e){if(ac[e])return ac[e];if(!Xa[e])return e;var t=Xa[e],l;for(l in t)if(t.hasOwnProperty(l)&&l in $f)return ac[e]=t[l];return e}var zf=sa("animationend"),Uf=sa("animationiteration"),Vf=sa("animationstart"),lm=sa("transitionrun"),am=sa("transitionstart"),nm=sa("transitioncancel"),Lf=sa("transitionend"),jf=new Map,nc="abort auxClick beforeToggle 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(" ");nc.push("scrollEnd");function Kt(e,t){jf.set(e,t),ia(t,[e])}var Hf=new WeakMap;function jt(e,t){if(typeof e=="object"&&e!==null){var l=Hf.get(e);return l!==void 0?l:(t={value:e,source:t,stack:ef(t)},Hf.set(e,t),t)}return{value:e,source:t,stack:ef(t)}}var Ht=[],ka=0,uc=0;function li(){for(var e=ka,t=uc=ka=0;t<e;){var l=Ht[t];Ht[t++]=null;var a=Ht[t];Ht[t++]=null;var u=Ht[t];Ht[t++]=null;var s=Ht[t];if(Ht[t++]=null,a!==null&&u!==null){var d=a.pending;d===null?u.next=u:(u.next=d.next,d.next=u),a.pending=u}s!==0&&Bf(l,u,s)}}function ai(e,t,l,a){Ht[ka++]=e,Ht[ka++]=t,Ht[ka++]=l,Ht[ka++]=a,uc|=a,e.lanes|=a,e=e.alternate,e!==null&&(e.lanes|=a)}function ic(e,t,l,a){return ai(e,t,l,a),ni(e)}function Qa(e,t){return ai(e,null,null,t),ni(e)}function Bf(e,t,l){e.lanes|=l;var a=e.alternate;a!==null&&(a.lanes|=l);for(var u=!1,s=e.return;s!==null;)s.childLanes|=l,a=s.alternate,a!==null&&(a.childLanes|=l),s.tag===22&&(e=s.stateNode,e===null||e._visibility&1||(u=!0)),e=s,s=s.return;return e.tag===3?(s=e.stateNode,u&&t!==null&&(u=31-qe(l),e=s.hiddenUpdates,a=e[u],a===null?e[u]=[t]:a.push(t),t.lane=l|536870912),s):null}function ni(e){if(50<yu)throw yu=0,ds=null,Error(c(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Ka={};function um(e,t,l,a){this.tag=e,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ct(e,t,l,a){return new um(e,t,l,a)}function rc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function dl(e,t){var l=e.alternate;return l===null?(l=Ct(e.tag,t,e.key,e.mode),l.elementType=e.elementType,l.type=e.type,l.stateNode=e.stateNode,l.alternate=e,e.alternate=l):(l.pendingProps=t,l.type=e.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=e.flags&65011712,l.childLanes=e.childLanes,l.lanes=e.lanes,l.child=e.child,l.memoizedProps=e.memoizedProps,l.memoizedState=e.memoizedState,l.updateQueue=e.updateQueue,t=e.dependencies,l.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},l.sibling=e.sibling,l.index=e.index,l.ref=e.ref,l.refCleanup=e.refCleanup,l}function qf(e,t){e.flags&=65011714;var l=e.alternate;return l===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=l.childLanes,e.lanes=l.lanes,e.child=l.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=l.memoizedProps,e.memoizedState=l.memoizedState,e.updateQueue=l.updateQueue,e.type=l.type,t=l.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function ui(e,t,l,a,u,s){var d=0;if(a=e,typeof e=="function")rc(e)&&(d=1);else if(typeof e=="string")d=rb(e,l,de.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case Re:return e=Ct(31,l,t,u),e.elementType=Re,e.lanes=s,e;case K:return oa(l.children,u,s,t);case w:d=8,u|=24;break;case H:return e=Ct(12,l,t,u|2),e.elementType=H,e.lanes=s,e;case Q:return e=Ct(13,l,t,u),e.elementType=Q,e.lanes=s,e;case ve:return e=Ct(19,l,t,u),e.elementType=ve,e.lanes=s,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case W:case X:d=10;break e;case G:d=9;break e;case J:d=11;break e;case ue:d=14;break e;case Ae:d=16,a=null;break e}d=29,l=Error(c(130,e===null?"null":typeof e,"")),a=null}return t=Ct(d,l,t,u),t.elementType=e,t.type=a,t.lanes=s,t}function oa(e,t,l,a){return e=Ct(7,e,a,t),e.lanes=l,e}function cc(e,t,l){return e=Ct(6,e,null,t),e.lanes=l,e}function sc(e,t,l){return t=Ct(4,e.children!==null?e.children:[],e.key,t),t.lanes=l,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Fa=[],Pa=0,ii=null,ri=0,Bt=[],qt=0,fa=null,vl=1,hl="";function da(e,t){Fa[Pa++]=ri,Fa[Pa++]=ii,ii=e,ri=t}function Yf(e,t,l){Bt[qt++]=vl,Bt[qt++]=hl,Bt[qt++]=fa,fa=e;var a=vl;e=hl;var u=32-qe(a)-1;a&=~(1<<u),l+=1;var s=32-qe(t)+u;if(30<s){var d=u-u%5;s=(a&(1<<d)-1).toString(32),a>>=d,u-=d,vl=1<<32-qe(t)+u|l<<u|a,hl=s+e}else vl=1<<s|l<<u|a,hl=e}function oc(e){e.return!==null&&(da(e,1),Yf(e,1,0))}function fc(e){for(;e===ii;)ii=Fa[--Pa],Fa[Pa]=null,ri=Fa[--Pa],Fa[Pa]=null;for(;e===fa;)fa=Bt[--qt],Bt[qt]=null,hl=Bt[--qt],Bt[qt]=null,vl=Bt[--qt],Bt[qt]=null}var ht=null,Xe=null,Ne=!1,va=null,ll=!1,dc=Error(c(519));function ha(e){var t=Error(c(418,""));throw Qn(jt(t,e)),dc}function Gf(e){var t=e.stateNode,l=e.type,a=e.memoizedProps;switch(t[ft]=e,t[gt]=a,l){case"dialog":_e("cancel",t),_e("close",t);break;case"iframe":case"object":case"embed":_e("load",t);break;case"video":case"audio":for(l=0;l<bu.length;l++)_e(bu[l],t);break;case"source":_e("error",t);break;case"img":case"image":case"link":_e("error",t),_e("load",t);break;case"details":_e("toggle",t);break;case"input":_e("invalid",t),af(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0),Qu(t);break;case"select":_e("invalid",t);break;case"textarea":_e("invalid",t),uf(t,a.value,a.defaultValue,a.children),Qu(t)}l=a.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||t.textContent===""+l||a.suppressHydrationWarning===!0||iv(t.textContent,l)?(a.popover!=null&&(_e("beforetoggle",t),_e("toggle",t)),a.onScroll!=null&&_e("scroll",t),a.onScrollEnd!=null&&_e("scrollend",t),a.onClick!=null&&(t.onclick=qi),t=!0):t=!1,t||ha(e)}function Zf(e){for(ht=e.return;ht;)switch(ht.tag){case 5:case 13:ll=!1;return;case 27:case 3:ll=!0;return;default:ht=ht.return}}function Xn(e){if(e!==ht)return!1;if(!Ne)return Zf(e),Ne=!0,!1;var t=e.tag,l;if((l=t!==3&&t!==27)&&((l=t===5)&&(l=e.type,l=!(l!=="form"&&l!=="button")||Os(e.type,e.memoizedProps)),l=!l),l&&Xe&&ha(e),Zf(e),t===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)if(l=e.data,l==="/$"){if(t===0){Xe=Pt(e.nextSibling);break e}t--}else l!=="$"&&l!=="$!"&&l!=="$?"||t++;e=e.nextSibling}Xe=null}}else t===27?(t=Xe,kl(e.type)?(e=Ns,Ns=null,Xe=e):Xe=t):Xe=ht?Pt(e.stateNode.nextSibling):null;return!0}function kn(){Xe=ht=null,Ne=!1}function Xf(){var e=va;return e!==null&&(xt===null?xt=e:xt.push.apply(xt,e),va=null),e}function Qn(e){va===null?va=[e]:va.push(e)}var vc=Y(null),ya=null,yl=null;function wl(e,t,l){te(vc,t._currentValue),t._currentValue=l}function ml(e){e._currentValue=vc.current,ne(vc)}function hc(e,t,l){for(;e!==null;){var a=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,a!==null&&(a.childLanes|=t)):a!==null&&(a.childLanes&t)!==t&&(a.childLanes|=t),e===l)break;e=e.return}}function yc(e,t,l,a){var u=e.child;for(u!==null&&(u.return=e);u!==null;){var s=u.dependencies;if(s!==null){var d=u.child;s=s.firstContext;e:for(;s!==null;){var y=s;s=u;for(var E=0;E<t.length;E++)if(y.context===t[E]){s.lanes|=l,y=s.alternate,y!==null&&(y.lanes|=l),hc(s.return,l,e),a||(d=null);break e}s=y.next}}else if(u.tag===18){if(d=u.return,d===null)throw Error(c(341));d.lanes|=l,s=d.alternate,s!==null&&(s.lanes|=l),hc(d,l,e),d=null}else d=u.child;if(d!==null)d.return=u;else for(d=u;d!==null;){if(d===e){d=null;break}if(u=d.sibling,u!==null){u.return=d.return,d=u;break}d=d.return}u=d}}function Kn(e,t,l,a){e=null;for(var u=t,s=!1;u!==null;){if(!s){if((u.flags&524288)!==0)s=!0;else if((u.flags&262144)!==0)break}if(u.tag===10){var d=u.alternate;if(d===null)throw Error(c(387));if(d=d.memoizedProps,d!==null){var y=u.type;At(u.pendingProps.value,d.value)||(e!==null?e.push(y):e=[y])}}else if(u===rt.current){if(d=u.alternate,d===null)throw Error(c(387));d.memoizedState.memoizedState!==u.memoizedState.memoizedState&&(e!==null?e.push(Tu):e=[Tu])}u=u.return}e!==null&&yc(t,e,l,a),t.flags|=262144}function ci(e){for(e=e.firstContext;e!==null;){if(!At(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function ma(e){ya=e,yl=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function dt(e){return kf(ya,e)}function si(e,t){return ya===null&&ma(e),kf(e,t)}function kf(e,t){var l=t._currentValue;if(t={context:t,memoizedValue:l,next:null},yl===null){if(e===null)throw Error(c(308));yl=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else yl=yl.next=t;return l}var im=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(l,a){e.push(a)}};this.abort=function(){t.aborted=!0,e.forEach(function(l){return l()})}},rm=n.unstable_scheduleCallback,cm=n.unstable_NormalPriority,et={$$typeof:X,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function mc(){return{controller:new im,data:new Map,refCount:0}}function Fn(e){e.refCount--,e.refCount===0&&rm(cm,function(){e.controller.abort()})}var Pn=null,bc=0,Ja=0,Wa=null;function sm(e,t){if(Pn===null){var l=Pn=[];bc=0,Ja=ps(),Wa={status:"pending",value:void 0,then:function(a){l.push(a)}}}return bc++,t.then(Qf,Qf),t}function Qf(){if(--bc===0&&Pn!==null){Wa!==null&&(Wa.status="fulfilled");var e=Pn;Pn=null,Ja=0,Wa=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function om(e,t){var l=[],a={status:"pending",value:null,reason:null,then:function(u){l.push(u)}};return e.then(function(){a.status="fulfilled",a.value=t;for(var u=0;u<l.length;u++)(0,l[u])(t)},function(u){for(a.status="rejected",a.reason=u,u=0;u<l.length;u++)(0,l[u])(void 0)}),a}var Kf=_.S;_.S=function(e,t){typeof t=="object"&&t!==null&&typeof t.then=="function"&&sm(e,t),Kf!==null&&Kf(e,t)};var ba=Y(null);function gc(){var e=ba.current;return e!==null?e:Ye.pooledCache}function oi(e,t){t===null?te(ba,ba.current):te(ba,t.pool)}function Ff(){var e=gc();return e===null?null:{parent:et._currentValue,pool:e}}var Jn=Error(c(460)),Pf=Error(c(474)),fi=Error(c(542)),pc={then:function(){}};function Jf(e){return e=e.status,e==="fulfilled"||e==="rejected"}function di(){}function Wf(e,t,l){switch(l=e[l],l===void 0?e.push(t):l!==t&&(t.then(di,di),t=l),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,ed(e),e;default:if(typeof t.status=="string")t.then(di,di);else{if(e=Ye,e!==null&&100<e.shellSuspendCounter)throw Error(c(482));e=t,e.status="pending",e.then(function(a){if(t.status==="pending"){var u=t;u.status="fulfilled",u.value=a}},function(a){if(t.status==="pending"){var u=t;u.status="rejected",u.reason=a}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,ed(e),e}throw Wn=t,Jn}}var Wn=null;function If(){if(Wn===null)throw Error(c(459));var e=Wn;return Wn=null,e}function ed(e){if(e===Jn||e===fi)throw Error(c(483))}var Nl=!1;function Ec(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Sc(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function $l(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function zl(e,t,l){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,($e&2)!==0){var u=a.pending;return u===null?t.next=t:(t.next=u.next,u.next=t),a.pending=t,t=ni(e),Bf(e,null,l),t}return ai(e,a,t,l),ni(e)}function In(e,t,l){if(t=t.updateQueue,t!==null&&(t=t.shared,(l&4194048)!==0)){var a=t.lanes;a&=e.pendingLanes,l|=a,t.lanes=l,ko(e,l)}}function xc(e,t){var l=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,l===a)){var u=null,s=null;if(l=l.firstBaseUpdate,l!==null){do{var d={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};s===null?u=s=d:s=s.next=d,l=l.next}while(l!==null);s===null?u=s=t:s=s.next=t}else u=s=t;l={baseState:a.baseState,firstBaseUpdate:u,lastBaseUpdate:s,shared:a.shared,callbacks:a.callbacks},e.updateQueue=l;return}e=l.lastBaseUpdate,e===null?l.firstBaseUpdate=t:e.next=t,l.lastBaseUpdate=t}var Tc=!1;function eu(){if(Tc){var e=Wa;if(e!==null)throw e}}function tu(e,t,l,a){Tc=!1;var u=e.updateQueue;Nl=!1;var s=u.firstBaseUpdate,d=u.lastBaseUpdate,y=u.shared.pending;if(y!==null){u.shared.pending=null;var E=y,R=E.next;E.next=null,d===null?s=R:d.next=R,d=E;var V=e.alternate;V!==null&&(V=V.updateQueue,y=V.lastBaseUpdate,y!==d&&(y===null?V.firstBaseUpdate=R:y.next=R,V.lastBaseUpdate=E))}if(s!==null){var B=u.baseState;d=0,V=R=E=null,y=s;do{var $=y.lane&-536870913,z=$!==y.lane;if(z?(De&$)===$:(a&$)===$){$!==0&&$===Ja&&(Tc=!0),V!==null&&(V=V.next={lane:0,tag:y.tag,payload:y.payload,callback:null,next:null});e:{var me=e,he=y;$=t;var je=l;switch(he.tag){case 1:if(me=he.payload,typeof me=="function"){B=me.call(je,B,$);break e}B=me;break e;case 3:me.flags=me.flags&-65537|128;case 0:if(me=he.payload,$=typeof me=="function"?me.call(je,B,$):me,$==null)break e;B=p({},B,$);break e;case 2:Nl=!0}}$=y.callback,$!==null&&(e.flags|=64,z&&(e.flags|=8192),z=u.callbacks,z===null?u.callbacks=[$]:z.push($))}else z={lane:$,tag:y.tag,payload:y.payload,callback:y.callback,next:null},V===null?(R=V=z,E=B):V=V.next=z,d|=$;if(y=y.next,y===null){if(y=u.shared.pending,y===null)break;z=y,y=z.next,z.next=null,u.lastBaseUpdate=z,u.shared.pending=null}}while(!0);V===null&&(E=B),u.baseState=E,u.firstBaseUpdate=R,u.lastBaseUpdate=V,s===null&&(u.shared.lanes=0),Yl|=d,e.lanes=d,e.memoizedState=B}}function td(e,t){if(typeof e!="function")throw Error(c(191,e));e.call(t)}function ld(e,t){var l=e.callbacks;if(l!==null)for(e.callbacks=null,e=0;e<l.length;e++)td(l[e],t)}var Ia=Y(null),vi=Y(0);function ad(e,t){e=Tl,te(vi,e),te(Ia,t),Tl=e|t.baseLanes}function _c(){te(vi,Tl),te(Ia,Ia.current)}function Ac(){Tl=vi.current,ne(Ia),ne(vi)}var Ul=0,Se=null,Ve=null,Pe=null,hi=!1,en=!1,ga=!1,yi=0,lu=0,tn=null,fm=0;function Ke(){throw Error(c(321))}function Cc(e,t){if(t===null)return!1;for(var l=0;l<t.length&&l<e.length;l++)if(!At(e[l],t[l]))return!1;return!0}function Mc(e,t,l,a,u,s){return Ul=s,Se=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,_.H=e===null||e.memoizedState===null?Bd:qd,ga=!1,s=l(a,u),ga=!1,en&&(s=ud(t,l,a,u)),nd(e),s}function nd(e){_.H=Si;var t=Ve!==null&&Ve.next!==null;if(Ul=0,Pe=Ve=Se=null,hi=!1,lu=0,tn=null,t)throw Error(c(300));e===null||nt||(e=e.dependencies,e!==null&&ci(e)&&(nt=!0))}function ud(e,t,l,a){Se=e;var u=0;do{if(en&&(tn=null),lu=0,en=!1,25<=u)throw Error(c(301));if(u+=1,Pe=Ve=null,e.updateQueue!=null){var s=e.updateQueue;s.lastEffect=null,s.events=null,s.stores=null,s.memoCache!=null&&(s.memoCache.index=0)}_.H=gm,s=t(l,a)}while(en);return s}function dm(){var e=_.H,t=e.useState()[0];return t=typeof t.then=="function"?au(t):t,e=e.useState()[0],(Ve!==null?Ve.memoizedState:null)!==e&&(Se.flags|=1024),t}function Oc(){var e=yi!==0;return yi=0,e}function Dc(e,t,l){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l}function Rc(e){if(hi){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}hi=!1}Ul=0,Pe=Ve=Se=null,en=!1,lu=yi=0,tn=null}function Et(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Pe===null?Se.memoizedState=Pe=e:Pe=Pe.next=e,Pe}function Je(){if(Ve===null){var e=Se.alternate;e=e!==null?e.memoizedState:null}else e=Ve.next;var t=Pe===null?Se.memoizedState:Pe.next;if(t!==null)Pe=t,Ve=e;else{if(e===null)throw Se.alternate===null?Error(c(467)):Error(c(310));Ve=e,e={memoizedState:Ve.memoizedState,baseState:Ve.baseState,baseQueue:Ve.baseQueue,queue:Ve.queue,next:null},Pe===null?Se.memoizedState=Pe=e:Pe=Pe.next=e}return Pe}function wc(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function au(e){var t=lu;return lu+=1,tn===null&&(tn=[]),e=Wf(tn,e,t),t=Se,(Pe===null?t.memoizedState:Pe.next)===null&&(t=t.alternate,_.H=t===null||t.memoizedState===null?Bd:qd),e}function mi(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return au(e);if(e.$$typeof===X)return dt(e)}throw Error(c(438,String(e)))}function Nc(e){var t=null,l=Se.updateQueue;if(l!==null&&(t=l.memoCache),t==null){var a=Se.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(t={data:a.data.map(function(u){return u.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),l===null&&(l=wc(),Se.updateQueue=l),l.memoCache=t,l=t.data[t.index],l===void 0)for(l=t.data[t.index]=Array(e),a=0;a<e;a++)l[a]=Ce;return t.index++,l}function bl(e,t){return typeof t=="function"?t(e):t}function bi(e){var t=Je();return $c(t,Ve,e)}function $c(e,t,l){var a=e.queue;if(a===null)throw Error(c(311));a.lastRenderedReducer=l;var u=e.baseQueue,s=a.pending;if(s!==null){if(u!==null){var d=u.next;u.next=s.next,s.next=d}t.baseQueue=u=s,a.pending=null}if(s=e.baseState,u===null)e.memoizedState=s;else{t=u.next;var y=d=null,E=null,R=t,V=!1;do{var B=R.lane&-536870913;if(B!==R.lane?(De&B)===B:(Ul&B)===B){var $=R.revertLane;if($===0)E!==null&&(E=E.next={lane:0,revertLane:0,action:R.action,hasEagerState:R.hasEagerState,eagerState:R.eagerState,next:null}),B===Ja&&(V=!0);else if((Ul&$)===$){R=R.next,$===Ja&&(V=!0);continue}else B={lane:0,revertLane:R.revertLane,action:R.action,hasEagerState:R.hasEagerState,eagerState:R.eagerState,next:null},E===null?(y=E=B,d=s):E=E.next=B,Se.lanes|=$,Yl|=$;B=R.action,ga&&l(s,B),s=R.hasEagerState?R.eagerState:l(s,B)}else $={lane:B,revertLane:R.revertLane,action:R.action,hasEagerState:R.hasEagerState,eagerState:R.eagerState,next:null},E===null?(y=E=$,d=s):E=E.next=$,Se.lanes|=B,Yl|=B;R=R.next}while(R!==null&&R!==t);if(E===null?d=s:E.next=y,!At(s,e.memoizedState)&&(nt=!0,V&&(l=Wa,l!==null)))throw l;e.memoizedState=s,e.baseState=d,e.baseQueue=E,a.lastRenderedState=s}return u===null&&(a.lanes=0),[e.memoizedState,a.dispatch]}function zc(e){var t=Je(),l=t.queue;if(l===null)throw Error(c(311));l.lastRenderedReducer=e;var a=l.dispatch,u=l.pending,s=t.memoizedState;if(u!==null){l.pending=null;var d=u=u.next;do s=e(s,d.action),d=d.next;while(d!==u);At(s,t.memoizedState)||(nt=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),l.lastRenderedState=s}return[s,a]}function id(e,t,l){var a=Se,u=Je(),s=Ne;if(s){if(l===void 0)throw Error(c(407));l=l()}else l=t();var d=!At((Ve||u).memoizedState,l);d&&(u.memoizedState=l,nt=!0),u=u.queue;var y=sd.bind(null,a,u,e);if(nu(2048,8,y,[e]),u.getSnapshot!==t||d||Pe!==null&&Pe.memoizedState.tag&1){if(a.flags|=2048,ln(9,gi(),cd.bind(null,a,u,l,t),null),Ye===null)throw Error(c(349));s||(Ul&124)!==0||rd(a,t,l)}return l}function rd(e,t,l){e.flags|=16384,e={getSnapshot:t,value:l},t=Se.updateQueue,t===null?(t=wc(),Se.updateQueue=t,t.stores=[e]):(l=t.stores,l===null?t.stores=[e]:l.push(e))}function cd(e,t,l,a){t.value=l,t.getSnapshot=a,od(t)&&fd(e)}function sd(e,t,l){return l(function(){od(t)&&fd(e)})}function od(e){var t=e.getSnapshot;e=e.value;try{var l=t();return!At(e,l)}catch{return!0}}function fd(e){var t=Qa(e,2);t!==null&&wt(t,e,2)}function Uc(e){var t=Et();if(typeof e=="function"){var l=e;if(e=l(),ga){Oe(!0);try{l()}finally{Oe(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:bl,lastRenderedState:e},t}function dd(e,t,l,a){return e.baseState=l,$c(e,Ve,typeof a=="function"?a:bl)}function vm(e,t,l,a,u){if(Ei(e))throw Error(c(485));if(e=t.action,e!==null){var s={payload:u,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(d){s.listeners.push(d)}};_.T!==null?l(!0):s.isTransition=!1,a(s),l=t.pending,l===null?(s.next=t.pending=s,vd(t,s)):(s.next=l.next,t.pending=l.next=s)}}function vd(e,t){var l=t.action,a=t.payload,u=e.state;if(t.isTransition){var s=_.T,d={};_.T=d;try{var y=l(u,a),E=_.S;E!==null&&E(d,y),hd(e,t,y)}catch(R){Vc(e,t,R)}finally{_.T=s}}else try{s=l(u,a),hd(e,t,s)}catch(R){Vc(e,t,R)}}function hd(e,t,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(a){yd(e,t,a)},function(a){return Vc(e,t,a)}):yd(e,t,l)}function yd(e,t,l){t.status="fulfilled",t.value=l,md(t),e.state=l,t=e.pending,t!==null&&(l=t.next,l===t?e.pending=null:(l=l.next,t.next=l,vd(e,l)))}function Vc(e,t,l){var a=e.pending;if(e.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=l,md(t),t=t.next;while(t!==a)}e.action=null}function md(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function bd(e,t){return t}function gd(e,t){if(Ne){var l=Ye.formState;if(l!==null){e:{var a=Se;if(Ne){if(Xe){t:{for(var u=Xe,s=ll;u.nodeType!==8;){if(!s){u=null;break t}if(u=Pt(u.nextSibling),u===null){u=null;break t}}s=u.data,u=s==="F!"||s==="F"?u:null}if(u){Xe=Pt(u.nextSibling),a=u.data==="F!";break e}}ha(a)}a=!1}a&&(t=l[0])}}return l=Et(),l.memoizedState=l.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:bd,lastRenderedState:t},l.queue=a,l=Ld.bind(null,Se,a),a.dispatch=l,a=Uc(!1),s=qc.bind(null,Se,!1,a.queue),a=Et(),u={state:t,dispatch:null,action:e,pending:null},a.queue=u,l=vm.bind(null,Se,u,s,l),u.dispatch=l,a.memoizedState=e,[t,l,!1]}function pd(e){var t=Je();return Ed(t,Ve,e)}function Ed(e,t,l){if(t=$c(e,t,bd)[0],e=bi(bl)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=au(t)}catch(d){throw d===Jn?fi:d}else a=t;t=Je();var u=t.queue,s=u.dispatch;return l!==t.memoizedState&&(Se.flags|=2048,ln(9,gi(),hm.bind(null,u,l),null)),[a,s,e]}function hm(e,t){e.action=t}function Sd(e){var t=Je(),l=Ve;if(l!==null)return Ed(t,l,e);Je(),t=t.memoizedState,l=Je();var a=l.queue.dispatch;return l.memoizedState=e,[t,a,!1]}function ln(e,t,l,a){return e={tag:e,create:l,deps:a,inst:t,next:null},t=Se.updateQueue,t===null&&(t=wc(),Se.updateQueue=t),l=t.lastEffect,l===null?t.lastEffect=e.next=e:(a=l.next,l.next=e,e.next=a,t.lastEffect=e),e}function gi(){return{destroy:void 0,resource:void 0}}function xd(){return Je().memoizedState}function pi(e,t,l,a){var u=Et();a=a===void 0?null:a,Se.flags|=e,u.memoizedState=ln(1|t,gi(),l,a)}function nu(e,t,l,a){var u=Je();a=a===void 0?null:a;var s=u.memoizedState.inst;Ve!==null&&a!==null&&Cc(a,Ve.memoizedState.deps)?u.memoizedState=ln(t,s,l,a):(Se.flags|=e,u.memoizedState=ln(1|t,s,l,a))}function Td(e,t){pi(8390656,8,e,t)}function _d(e,t){nu(2048,8,e,t)}function Ad(e,t){return nu(4,2,e,t)}function Cd(e,t){return nu(4,4,e,t)}function Md(e,t){if(typeof t=="function"){e=e();var l=t(e);return function(){typeof l=="function"?l():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Od(e,t,l){l=l!=null?l.concat([e]):null,nu(4,4,Md.bind(null,t,e),l)}function Lc(){}function Dd(e,t){var l=Je();t=t===void 0?null:t;var a=l.memoizedState;return t!==null&&Cc(t,a[1])?a[0]:(l.memoizedState=[e,t],e)}function Rd(e,t){var l=Je();t=t===void 0?null:t;var a=l.memoizedState;if(t!==null&&Cc(t,a[1]))return a[0];if(a=e(),ga){Oe(!0);try{e()}finally{Oe(!1)}}return l.memoizedState=[a,t],a}function jc(e,t,l){return l===void 0||(Ul&1073741824)!==0?e.memoizedState=t:(e.memoizedState=l,e=$0(),Se.lanes|=e,Yl|=e,l)}function wd(e,t,l,a){return At(l,t)?l:Ia.current!==null?(e=jc(e,l,a),At(e,t)||(nt=!0),e):(Ul&42)===0?(nt=!0,e.memoizedState=l):(e=$0(),Se.lanes|=e,Yl|=e,t)}function Nd(e,t,l,a,u){var s=Z.p;Z.p=s!==0&&8>s?s:8;var d=_.T,y={};_.T=y,qc(e,!1,t,l);try{var E=u(),R=_.S;if(R!==null&&R(y,E),E!==null&&typeof E=="object"&&typeof E.then=="function"){var V=om(E,a);uu(e,t,V,Rt(e))}else uu(e,t,a,Rt(e))}catch(B){uu(e,t,{then:function(){},status:"rejected",reason:B},Rt())}finally{Z.p=s,_.T=d}}function ym(){}function Hc(e,t,l,a){if(e.tag!==5)throw Error(c(476));var u=$d(e).queue;Nd(e,u,t,ae,l===null?ym:function(){return zd(e),l(a)})}function $d(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ae,baseState:ae,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:bl,lastRenderedState:ae},next:null};var l={};return t.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:bl,lastRenderedState:l},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function zd(e){var t=$d(e).next.queue;uu(e,t,{},Rt())}function Bc(){return dt(Tu)}function Ud(){return Je().memoizedState}function Vd(){return Je().memoizedState}function mm(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var l=Rt();e=$l(l);var a=zl(t,e,l);a!==null&&(wt(a,t,l),In(a,t,l)),t={cache:mc()},e.payload=t;return}t=t.return}}function bm(e,t,l){var a=Rt();l={lane:a,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null},Ei(e)?jd(t,l):(l=ic(e,t,l,a),l!==null&&(wt(l,e,a),Hd(l,t,a)))}function Ld(e,t,l){var a=Rt();uu(e,t,l,a)}function uu(e,t,l,a){var u={lane:a,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null};if(Ei(e))jd(t,u);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var d=t.lastRenderedState,y=s(d,l);if(u.hasEagerState=!0,u.eagerState=y,At(y,d))return ai(e,t,u,0),Ye===null&&li(),!1}catch{}finally{}if(l=ic(e,t,u,a),l!==null)return wt(l,e,a),Hd(l,t,a),!0}return!1}function qc(e,t,l,a){if(a={lane:2,revertLane:ps(),action:a,hasEagerState:!1,eagerState:null,next:null},Ei(e)){if(t)throw Error(c(479))}else t=ic(e,l,a,2),t!==null&&wt(t,e,2)}function Ei(e){var t=e.alternate;return e===Se||t!==null&&t===Se}function jd(e,t){en=hi=!0;var l=e.pending;l===null?t.next=t:(t.next=l.next,l.next=t),e.pending=t}function Hd(e,t,l){if((l&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,l|=a,t.lanes=l,ko(e,l)}}var Si={readContext:dt,use:mi,useCallback:Ke,useContext:Ke,useEffect:Ke,useImperativeHandle:Ke,useLayoutEffect:Ke,useInsertionEffect:Ke,useMemo:Ke,useReducer:Ke,useRef:Ke,useState:Ke,useDebugValue:Ke,useDeferredValue:Ke,useTransition:Ke,useSyncExternalStore:Ke,useId:Ke,useHostTransitionStatus:Ke,useFormState:Ke,useActionState:Ke,useOptimistic:Ke,useMemoCache:Ke,useCacheRefresh:Ke},Bd={readContext:dt,use:mi,useCallback:function(e,t){return Et().memoizedState=[e,t===void 0?null:t],e},useContext:dt,useEffect:Td,useImperativeHandle:function(e,t,l){l=l!=null?l.concat([e]):null,pi(4194308,4,Md.bind(null,t,e),l)},useLayoutEffect:function(e,t){return pi(4194308,4,e,t)},useInsertionEffect:function(e,t){pi(4,2,e,t)},useMemo:function(e,t){var l=Et();t=t===void 0?null:t;var a=e();if(ga){Oe(!0);try{e()}finally{Oe(!1)}}return l.memoizedState=[a,t],a},useReducer:function(e,t,l){var a=Et();if(l!==void 0){var u=l(t);if(ga){Oe(!0);try{l(t)}finally{Oe(!1)}}}else u=t;return a.memoizedState=a.baseState=u,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:u},a.queue=e,e=e.dispatch=bm.bind(null,Se,e),[a.memoizedState,e]},useRef:function(e){var t=Et();return e={current:e},t.memoizedState=e},useState:function(e){e=Uc(e);var t=e.queue,l=Ld.bind(null,Se,t);return t.dispatch=l,[e.memoizedState,l]},useDebugValue:Lc,useDeferredValue:function(e,t){var l=Et();return jc(l,e,t)},useTransition:function(){var e=Uc(!1);return e=Nd.bind(null,Se,e.queue,!0,!1),Et().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,l){var a=Se,u=Et();if(Ne){if(l===void 0)throw Error(c(407));l=l()}else{if(l=t(),Ye===null)throw Error(c(349));(De&124)!==0||rd(a,t,l)}u.memoizedState=l;var s={value:l,getSnapshot:t};return u.queue=s,Td(sd.bind(null,a,s,e),[e]),a.flags|=2048,ln(9,gi(),cd.bind(null,a,s,l,t),null),l},useId:function(){var e=Et(),t=Ye.identifierPrefix;if(Ne){var l=hl,a=vl;l=(a&~(1<<32-qe(a)-1)).toString(32)+l,t="«"+t+"R"+l,l=yi++,0<l&&(t+="H"+l.toString(32)),t+="»"}else l=fm++,t="«"+t+"r"+l.toString(32)+"»";return e.memoizedState=t},useHostTransitionStatus:Bc,useFormState:gd,useActionState:gd,useOptimistic:function(e){var t=Et();t.memoizedState=t.baseState=e;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=l,t=qc.bind(null,Se,!0,l),l.dispatch=t,[e,t]},useMemoCache:Nc,useCacheRefresh:function(){return Et().memoizedState=mm.bind(null,Se)}},qd={readContext:dt,use:mi,useCallback:Dd,useContext:dt,useEffect:_d,useImperativeHandle:Od,useInsertionEffect:Ad,useLayoutEffect:Cd,useMemo:Rd,useReducer:bi,useRef:xd,useState:function(){return bi(bl)},useDebugValue:Lc,useDeferredValue:function(e,t){var l=Je();return wd(l,Ve.memoizedState,e,t)},useTransition:function(){var e=bi(bl)[0],t=Je().memoizedState;return[typeof e=="boolean"?e:au(e),t]},useSyncExternalStore:id,useId:Ud,useHostTransitionStatus:Bc,useFormState:pd,useActionState:pd,useOptimistic:function(e,t){var l=Je();return dd(l,Ve,e,t)},useMemoCache:Nc,useCacheRefresh:Vd},gm={readContext:dt,use:mi,useCallback:Dd,useContext:dt,useEffect:_d,useImperativeHandle:Od,useInsertionEffect:Ad,useLayoutEffect:Cd,useMemo:Rd,useReducer:zc,useRef:xd,useState:function(){return zc(bl)},useDebugValue:Lc,useDeferredValue:function(e,t){var l=Je();return Ve===null?jc(l,e,t):wd(l,Ve.memoizedState,e,t)},useTransition:function(){var e=zc(bl)[0],t=Je().memoizedState;return[typeof e=="boolean"?e:au(e),t]},useSyncExternalStore:id,useId:Ud,useHostTransitionStatus:Bc,useFormState:Sd,useActionState:Sd,useOptimistic:function(e,t){var l=Je();return Ve!==null?dd(l,Ve,e,t):(l.baseState=e,[e,l.queue.dispatch])},useMemoCache:Nc,useCacheRefresh:Vd},an=null,iu=0;function xi(e){var t=iu;return iu+=1,an===null&&(an=[]),Wf(an,e,t)}function ru(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Ti(e,t){throw t.$$typeof===M?Error(c(525)):(e=Object.prototype.toString.call(t),Error(c(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function Yd(e){var t=e._init;return t(e._payload)}function Gd(e){function t(C,T){if(e){var O=C.deletions;O===null?(C.deletions=[T],C.flags|=16):O.push(T)}}function l(C,T){if(!e)return null;for(;T!==null;)t(C,T),T=T.sibling;return null}function a(C){for(var T=new Map;C!==null;)C.key!==null?T.set(C.key,C):T.set(C.index,C),C=C.sibling;return T}function u(C,T){return C=dl(C,T),C.index=0,C.sibling=null,C}function s(C,T,O){return C.index=O,e?(O=C.alternate,O!==null?(O=O.index,O<T?(C.flags|=67108866,T):O):(C.flags|=67108866,T)):(C.flags|=1048576,T)}function d(C){return e&&C.alternate===null&&(C.flags|=67108866),C}function y(C,T,O,L){return T===null||T.tag!==6?(T=cc(O,C.mode,L),T.return=C,T):(T=u(T,O),T.return=C,T)}function E(C,T,O,L){var ie=O.type;return ie===K?V(C,T,O.props.children,L,O.key):T!==null&&(T.elementType===ie||typeof ie=="object"&&ie!==null&&ie.$$typeof===Ae&&Yd(ie)===T.type)?(T=u(T,O.props),ru(T,O),T.return=C,T):(T=ui(O.type,O.key,O.props,null,C.mode,L),ru(T,O),T.return=C,T)}function R(C,T,O,L){return T===null||T.tag!==4||T.stateNode.containerInfo!==O.containerInfo||T.stateNode.implementation!==O.implementation?(T=sc(O,C.mode,L),T.return=C,T):(T=u(T,O.children||[]),T.return=C,T)}function V(C,T,O,L,ie){return T===null||T.tag!==7?(T=oa(O,C.mode,L,ie),T.return=C,T):(T=u(T,O),T.return=C,T)}function B(C,T,O){if(typeof T=="string"&&T!==""||typeof T=="number"||typeof T=="bigint")return T=cc(""+T,C.mode,O),T.return=C,T;if(typeof T=="object"&&T!==null){switch(T.$$typeof){case D:return O=ui(T.type,T.key,T.props,null,C.mode,O),ru(O,T),O.return=C,O;case q:return T=sc(T,C.mode,O),T.return=C,T;case Ae:var L=T._init;return T=L(T._payload),B(C,T,O)}if(fe(T)||F(T))return T=oa(T,C.mode,O,null),T.return=C,T;if(typeof T.then=="function")return B(C,xi(T),O);if(T.$$typeof===X)return B(C,si(C,T),O);Ti(C,T)}return null}function $(C,T,O,L){var ie=T!==null?T.key:null;if(typeof O=="string"&&O!==""||typeof O=="number"||typeof O=="bigint")return ie!==null?null:y(C,T,""+O,L);if(typeof O=="object"&&O!==null){switch(O.$$typeof){case D:return O.key===ie?E(C,T,O,L):null;case q:return O.key===ie?R(C,T,O,L):null;case Ae:return ie=O._init,O=ie(O._payload),$(C,T,O,L)}if(fe(O)||F(O))return ie!==null?null:V(C,T,O,L,null);if(typeof O.then=="function")return $(C,T,xi(O),L);if(O.$$typeof===X)return $(C,T,si(C,O),L);Ti(C,O)}return null}function z(C,T,O,L,ie){if(typeof L=="string"&&L!==""||typeof L=="number"||typeof L=="bigint")return C=C.get(O)||null,y(T,C,""+L,ie);if(typeof L=="object"&&L!==null){switch(L.$$typeof){case D:return C=C.get(L.key===null?O:L.key)||null,E(T,C,L,ie);case q:return C=C.get(L.key===null?O:L.key)||null,R(T,C,L,ie);case Ae:var xe=L._init;return L=xe(L._payload),z(C,T,O,L,ie)}if(fe(L)||F(L))return C=C.get(O)||null,V(T,C,L,ie,null);if(typeof L.then=="function")return z(C,T,O,xi(L),ie);if(L.$$typeof===X)return z(C,T,O,si(T,L),ie);Ti(T,L)}return null}function me(C,T,O,L){for(var ie=null,xe=null,se=T,ye=T=0,it=null;se!==null&&ye<O.length;ye++){se.index>ye?(it=se,se=null):it=se.sibling;var we=$(C,se,O[ye],L);if(we===null){se===null&&(se=it);break}e&&se&&we.alternate===null&&t(C,se),T=s(we,T,ye),xe===null?ie=we:xe.sibling=we,xe=we,se=it}if(ye===O.length)return l(C,se),Ne&&da(C,ye),ie;if(se===null){for(;ye<O.length;ye++)se=B(C,O[ye],L),se!==null&&(T=s(se,T,ye),xe===null?ie=se:xe.sibling=se,xe=se);return Ne&&da(C,ye),ie}for(se=a(se);ye<O.length;ye++)it=z(se,C,ye,O[ye],L),it!==null&&(e&&it.alternate!==null&&se.delete(it.key===null?ye:it.key),T=s(it,T,ye),xe===null?ie=it:xe.sibling=it,xe=it);return e&&se.forEach(function(Jl){return t(C,Jl)}),Ne&&da(C,ye),ie}function he(C,T,O,L){if(O==null)throw Error(c(151));for(var ie=null,xe=null,se=T,ye=T=0,it=null,we=O.next();se!==null&&!we.done;ye++,we=O.next()){se.index>ye?(it=se,se=null):it=se.sibling;var Jl=$(C,se,we.value,L);if(Jl===null){se===null&&(se=it);break}e&&se&&Jl.alternate===null&&t(C,se),T=s(Jl,T,ye),xe===null?ie=Jl:xe.sibling=Jl,xe=Jl,se=it}if(we.done)return l(C,se),Ne&&da(C,ye),ie;if(se===null){for(;!we.done;ye++,we=O.next())we=B(C,we.value,L),we!==null&&(T=s(we,T,ye),xe===null?ie=we:xe.sibling=we,xe=we);return Ne&&da(C,ye),ie}for(se=a(se);!we.done;ye++,we=O.next())we=z(se,C,ye,we.value,L),we!==null&&(e&&we.alternate!==null&&se.delete(we.key===null?ye:we.key),T=s(we,T,ye),xe===null?ie=we:xe.sibling=we,xe=we);return e&&se.forEach(function(pb){return t(C,pb)}),Ne&&da(C,ye),ie}function je(C,T,O,L){if(typeof O=="object"&&O!==null&&O.type===K&&O.key===null&&(O=O.props.children),typeof O=="object"&&O!==null){switch(O.$$typeof){case D:e:{for(var ie=O.key;T!==null;){if(T.key===ie){if(ie=O.type,ie===K){if(T.tag===7){l(C,T.sibling),L=u(T,O.props.children),L.return=C,C=L;break e}}else if(T.elementType===ie||typeof ie=="object"&&ie!==null&&ie.$$typeof===Ae&&Yd(ie)===T.type){l(C,T.sibling),L=u(T,O.props),ru(L,O),L.return=C,C=L;break e}l(C,T);break}else t(C,T);T=T.sibling}O.type===K?(L=oa(O.props.children,C.mode,L,O.key),L.return=C,C=L):(L=ui(O.type,O.key,O.props,null,C.mode,L),ru(L,O),L.return=C,C=L)}return d(C);case q:e:{for(ie=O.key;T!==null;){if(T.key===ie)if(T.tag===4&&T.stateNode.containerInfo===O.containerInfo&&T.stateNode.implementation===O.implementation){l(C,T.sibling),L=u(T,O.children||[]),L.return=C,C=L;break e}else{l(C,T);break}else t(C,T);T=T.sibling}L=sc(O,C.mode,L),L.return=C,C=L}return d(C);case Ae:return ie=O._init,O=ie(O._payload),je(C,T,O,L)}if(fe(O))return me(C,T,O,L);if(F(O)){if(ie=F(O),typeof ie!="function")throw Error(c(150));return O=ie.call(O),he(C,T,O,L)}if(typeof O.then=="function")return je(C,T,xi(O),L);if(O.$$typeof===X)return je(C,T,si(C,O),L);Ti(C,O)}return typeof O=="string"&&O!==""||typeof O=="number"||typeof O=="bigint"?(O=""+O,T!==null&&T.tag===6?(l(C,T.sibling),L=u(T,O),L.return=C,C=L):(l(C,T),L=cc(O,C.mode,L),L.return=C,C=L),d(C)):l(C,T)}return function(C,T,O,L){try{iu=0;var ie=je(C,T,O,L);return an=null,ie}catch(se){if(se===Jn||se===fi)throw se;var xe=Ct(29,se,null,C.mode);return xe.lanes=L,xe.return=C,xe}finally{}}}var nn=Gd(!0),Zd=Gd(!1),Yt=Y(null),al=null;function Vl(e){var t=e.alternate;te(tt,tt.current&1),te(Yt,e),al===null&&(t===null||Ia.current!==null||t.memoizedState!==null)&&(al=e)}function Xd(e){if(e.tag===22){if(te(tt,tt.current),te(Yt,e),al===null){var t=e.alternate;t!==null&&t.memoizedState!==null&&(al=e)}}else Ll()}function Ll(){te(tt,tt.current),te(Yt,Yt.current)}function gl(e){ne(Yt),al===e&&(al=null),ne(tt)}var tt=Y(0);function _i(e){for(var t=e;t!==null;){if(t.tag===13){var l=t.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||l.data==="$?"||ws(l)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)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}function Yc(e,t,l,a){t=e.memoizedState,l=l(a,t),l=l==null?t:p({},t,l),e.memoizedState=l,e.lanes===0&&(e.updateQueue.baseState=l)}var Gc={enqueueSetState:function(e,t,l){e=e._reactInternals;var a=Rt(),u=$l(a);u.payload=t,l!=null&&(u.callback=l),t=zl(e,u,a),t!==null&&(wt(t,e,a),In(t,e,a))},enqueueReplaceState:function(e,t,l){e=e._reactInternals;var a=Rt(),u=$l(a);u.tag=1,u.payload=t,l!=null&&(u.callback=l),t=zl(e,u,a),t!==null&&(wt(t,e,a),In(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var l=Rt(),a=$l(l);a.tag=2,t!=null&&(a.callback=t),t=zl(e,a,l),t!==null&&(wt(t,e,l),In(t,e,l))}};function kd(e,t,l,a,u,s,d){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,s,d):t.prototype&&t.prototype.isPureReactComponent?!Gn(l,a)||!Gn(u,s):!0}function Qd(e,t,l,a){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(l,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(l,a),t.state!==e&&Gc.enqueueReplaceState(t,t.state,null)}function pa(e,t){var l=t;if("ref"in t){l={};for(var a in t)a!=="ref"&&(l[a]=t[a])}if(e=e.defaultProps){l===t&&(l=p({},l));for(var u in e)l[u]===void 0&&(l[u]=e[u])}return l}var Ai=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)};function Kd(e){Ai(e)}function Fd(e){console.error(e)}function Pd(e){Ai(e)}function Ci(e,t){try{var l=e.onUncaughtError;l(t.value,{componentStack:t.stack})}catch(a){setTimeout(function(){throw a})}}function Jd(e,t,l){try{var a=e.onCaughtError;a(l.value,{componentStack:l.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(u){setTimeout(function(){throw u})}}function Zc(e,t,l){return l=$l(l),l.tag=3,l.payload={element:null},l.callback=function(){Ci(e,t)},l}function Wd(e){return e=$l(e),e.tag=3,e}function Id(e,t,l,a){var u=l.type.getDerivedStateFromError;if(typeof u=="function"){var s=a.value;e.payload=function(){return u(s)},e.callback=function(){Jd(t,l,a)}}var d=l.stateNode;d!==null&&typeof d.componentDidCatch=="function"&&(e.callback=function(){Jd(t,l,a),typeof u!="function"&&(Gl===null?Gl=new Set([this]):Gl.add(this));var y=a.stack;this.componentDidCatch(a.value,{componentStack:y!==null?y:""})})}function pm(e,t,l,a,u){if(l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=l.alternate,t!==null&&Kn(t,l,u,!0),l=Yt.current,l!==null){switch(l.tag){case 13:return al===null?hs():l.alternate===null&&ke===0&&(ke=3),l.flags&=-257,l.flags|=65536,l.lanes=u,a===pc?l.flags|=16384:(t=l.updateQueue,t===null?l.updateQueue=new Set([a]):t.add(a),ms(e,a,u)),!1;case 22:return l.flags|=65536,a===pc?l.flags|=16384:(t=l.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([a])},l.updateQueue=t):(l=t.retryQueue,l===null?t.retryQueue=new Set([a]):l.add(a)),ms(e,a,u)),!1}throw Error(c(435,l.tag))}return ms(e,a,u),hs(),!1}if(Ne)return t=Yt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=u,a!==dc&&(e=Error(c(422),{cause:a}),Qn(jt(e,l)))):(a!==dc&&(t=Error(c(423),{cause:a}),Qn(jt(t,l))),e=e.current.alternate,e.flags|=65536,u&=-u,e.lanes|=u,a=jt(a,l),u=Zc(e.stateNode,a,u),xc(e,u),ke!==4&&(ke=2)),!1;var s=Error(c(520),{cause:a});if(s=jt(s,l),hu===null?hu=[s]:hu.push(s),ke!==4&&(ke=2),t===null)return!0;a=jt(a,l),l=t;do{switch(l.tag){case 3:return l.flags|=65536,e=u&-u,l.lanes|=e,e=Zc(l.stateNode,a,e),xc(l,e),!1;case 1:if(t=l.type,s=l.stateNode,(l.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||s!==null&&typeof s.componentDidCatch=="function"&&(Gl===null||!Gl.has(s))))return l.flags|=65536,u&=-u,l.lanes|=u,u=Wd(u),Id(u,e,l,a),xc(l,u),!1}l=l.return}while(l!==null);return!1}var e0=Error(c(461)),nt=!1;function ct(e,t,l,a){t.child=e===null?Zd(t,null,l,a):nn(t,e.child,l,a)}function t0(e,t,l,a,u){l=l.render;var s=t.ref;if("ref"in a){var d={};for(var y in a)y!=="ref"&&(d[y]=a[y])}else d=a;return ma(t),a=Mc(e,t,l,d,s,u),y=Oc(),e!==null&&!nt?(Dc(e,t,u),pl(e,t,u)):(Ne&&y&&oc(t),t.flags|=1,ct(e,t,a,u),t.child)}function l0(e,t,l,a,u){if(e===null){var s=l.type;return typeof s=="function"&&!rc(s)&&s.defaultProps===void 0&&l.compare===null?(t.tag=15,t.type=s,a0(e,t,s,a,u)):(e=ui(l.type,null,a,t,t.mode,u),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!Wc(e,u)){var d=s.memoizedProps;if(l=l.compare,l=l!==null?l:Gn,l(d,a)&&e.ref===t.ref)return pl(e,t,u)}return t.flags|=1,e=dl(s,a),e.ref=t.ref,e.return=t,t.child=e}function a0(e,t,l,a,u){if(e!==null){var s=e.memoizedProps;if(Gn(s,a)&&e.ref===t.ref)if(nt=!1,t.pendingProps=a=s,Wc(e,u))(e.flags&131072)!==0&&(nt=!0);else return t.lanes=e.lanes,pl(e,t,u)}return Xc(e,t,l,a,u)}function n0(e,t,l){var a=t.pendingProps,u=a.children,s=e!==null?e.memoizedState:null;if(a.mode==="hidden"){if((t.flags&128)!==0){if(a=s!==null?s.baseLanes|l:l,e!==null){for(u=t.child=e.child,s=0;u!==null;)s=s|u.lanes|u.childLanes,u=u.sibling;t.childLanes=s&~a}else t.childLanes=0,t.child=null;return u0(e,t,a,l)}if((l&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&oi(t,s!==null?s.cachePool:null),s!==null?ad(t,s):_c(),Xd(t);else return t.lanes=t.childLanes=536870912,u0(e,t,s!==null?s.baseLanes|l:l,l)}else s!==null?(oi(t,s.cachePool),ad(t,s),Ll(),t.memoizedState=null):(e!==null&&oi(t,null),_c(),Ll());return ct(e,t,u,l),t.child}function u0(e,t,l,a){var u=gc();return u=u===null?null:{parent:et._currentValue,pool:u},t.memoizedState={baseLanes:l,cachePool:u},e!==null&&oi(t,null),_c(),Xd(t),e!==null&&Kn(e,t,a,!0),null}function Mi(e,t){var l=t.ref;if(l===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(c(284));(e===null||e.ref!==l)&&(t.flags|=4194816)}}function Xc(e,t,l,a,u){return ma(t),l=Mc(e,t,l,a,void 0,u),a=Oc(),e!==null&&!nt?(Dc(e,t,u),pl(e,t,u)):(Ne&&a&&oc(t),t.flags|=1,ct(e,t,l,u),t.child)}function i0(e,t,l,a,u,s){return ma(t),t.updateQueue=null,l=ud(t,a,l,u),nd(e),a=Oc(),e!==null&&!nt?(Dc(e,t,s),pl(e,t,s)):(Ne&&a&&oc(t),t.flags|=1,ct(e,t,l,s),t.child)}function r0(e,t,l,a,u){if(ma(t),t.stateNode===null){var s=Ka,d=l.contextType;typeof d=="object"&&d!==null&&(s=dt(d)),s=new l(a,s),t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,s.updater=Gc,t.stateNode=s,s._reactInternals=t,s=t.stateNode,s.props=a,s.state=t.memoizedState,s.refs={},Ec(t),d=l.contextType,s.context=typeof d=="object"&&d!==null?dt(d):Ka,s.state=t.memoizedState,d=l.getDerivedStateFromProps,typeof d=="function"&&(Yc(t,l,d,a),s.state=t.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof s.getSnapshotBeforeUpdate=="function"||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(d=s.state,typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount(),d!==s.state&&Gc.enqueueReplaceState(s,s.state,null),tu(t,a,s,u),eu(),s.state=t.memoizedState),typeof s.componentDidMount=="function"&&(t.flags|=4194308),a=!0}else if(e===null){s=t.stateNode;var y=t.memoizedProps,E=pa(l,y);s.props=E;var R=s.context,V=l.contextType;d=Ka,typeof V=="object"&&V!==null&&(d=dt(V));var B=l.getDerivedStateFromProps;V=typeof B=="function"||typeof s.getSnapshotBeforeUpdate=="function",y=t.pendingProps!==y,V||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(y||R!==d)&&Qd(t,s,a,d),Nl=!1;var $=t.memoizedState;s.state=$,tu(t,a,s,u),eu(),R=t.memoizedState,y||$!==R||Nl?(typeof B=="function"&&(Yc(t,l,B,a),R=t.memoizedState),(E=Nl||kd(t,l,E,a,$,R,d))?(V||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=a,t.memoizedState=R),s.props=a,s.state=R,s.context=d,a=E):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{s=t.stateNode,Sc(e,t),d=t.memoizedProps,V=pa(l,d),s.props=V,B=t.pendingProps,$=s.context,R=l.contextType,E=Ka,typeof R=="object"&&R!==null&&(E=dt(R)),y=l.getDerivedStateFromProps,(R=typeof y=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(d!==B||$!==E)&&Qd(t,s,a,E),Nl=!1,$=t.memoizedState,s.state=$,tu(t,a,s,u),eu();var z=t.memoizedState;d!==B||$!==z||Nl||e!==null&&e.dependencies!==null&&ci(e.dependencies)?(typeof y=="function"&&(Yc(t,l,y,a),z=t.memoizedState),(V=Nl||kd(t,l,V,a,$,z,E)||e!==null&&e.dependencies!==null&&ci(e.dependencies))?(R||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(a,z,E),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(a,z,E)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||d===e.memoizedProps&&$===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||d===e.memoizedProps&&$===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=z),s.props=a,s.state=z,s.context=E,a=V):(typeof s.componentDidUpdate!="function"||d===e.memoizedProps&&$===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||d===e.memoizedProps&&$===e.memoizedState||(t.flags|=1024),a=!1)}return s=a,Mi(e,t),a=(t.flags&128)!==0,s||a?(s=t.stateNode,l=a&&typeof l.getDerivedStateFromError!="function"?null:s.render(),t.flags|=1,e!==null&&a?(t.child=nn(t,e.child,null,u),t.child=nn(t,null,l,u)):ct(e,t,l,u),t.memoizedState=s.state,e=t.child):e=pl(e,t,u),e}function c0(e,t,l,a){return kn(),t.flags|=256,ct(e,t,l,a),t.child}var kc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Qc(e){return{baseLanes:e,cachePool:Ff()}}function Kc(e,t,l){return e=e!==null?e.childLanes&~l:0,t&&(e|=Gt),e}function s0(e,t,l){var a=t.pendingProps,u=!1,s=(t.flags&128)!==0,d;if((d=s)||(d=e!==null&&e.memoizedState===null?!1:(tt.current&2)!==0),d&&(u=!0,t.flags&=-129),d=(t.flags&32)!==0,t.flags&=-33,e===null){if(Ne){if(u?Vl(t):Ll(),Ne){var y=Xe,E;if(E=y){e:{for(E=y,y=ll;E.nodeType!==8;){if(!y){y=null;break e}if(E=Pt(E.nextSibling),E===null){y=null;break e}}y=E}y!==null?(t.memoizedState={dehydrated:y,treeContext:fa!==null?{id:vl,overflow:hl}:null,retryLane:536870912,hydrationErrors:null},E=Ct(18,null,null,0),E.stateNode=y,E.return=t,t.child=E,ht=t,Xe=null,E=!0):E=!1}E||ha(t)}if(y=t.memoizedState,y!==null&&(y=y.dehydrated,y!==null))return ws(y)?t.lanes=32:t.lanes=536870912,null;gl(t)}return y=a.children,a=a.fallback,u?(Ll(),u=t.mode,y=Oi({mode:"hidden",children:y},u),a=oa(a,u,l,null),y.return=t,a.return=t,y.sibling=a,t.child=y,u=t.child,u.memoizedState=Qc(l),u.childLanes=Kc(e,d,l),t.memoizedState=kc,a):(Vl(t),Fc(t,y))}if(E=e.memoizedState,E!==null&&(y=E.dehydrated,y!==null)){if(s)t.flags&256?(Vl(t),t.flags&=-257,t=Pc(e,t,l)):t.memoizedState!==null?(Ll(),t.child=e.child,t.flags|=128,t=null):(Ll(),u=a.fallback,y=t.mode,a=Oi({mode:"visible",children:a.children},y),u=oa(u,y,l,null),u.flags|=2,a.return=t,u.return=t,a.sibling=u,t.child=a,nn(t,e.child,null,l),a=t.child,a.memoizedState=Qc(l),a.childLanes=Kc(e,d,l),t.memoizedState=kc,t=u);else if(Vl(t),ws(y)){if(d=y.nextSibling&&y.nextSibling.dataset,d)var R=d.dgst;d=R,a=Error(c(419)),a.stack="",a.digest=d,Qn({value:a,source:null,stack:null}),t=Pc(e,t,l)}else if(nt||Kn(e,t,l,!1),d=(l&e.childLanes)!==0,nt||d){if(d=Ye,d!==null&&(a=l&-l,a=(a&42)!==0?1:Nr(a),a=(a&(d.suspendedLanes|l))!==0?0:a,a!==0&&a!==E.retryLane))throw E.retryLane=a,Qa(e,a),wt(d,e,a),e0;y.data==="$?"||hs(),t=Pc(e,t,l)}else y.data==="$?"?(t.flags|=192,t.child=e.child,t=null):(e=E.treeContext,Xe=Pt(y.nextSibling),ht=t,Ne=!0,va=null,ll=!1,e!==null&&(Bt[qt++]=vl,Bt[qt++]=hl,Bt[qt++]=fa,vl=e.id,hl=e.overflow,fa=t),t=Fc(t,a.children),t.flags|=4096);return t}return u?(Ll(),u=a.fallback,y=t.mode,E=e.child,R=E.sibling,a=dl(E,{mode:"hidden",children:a.children}),a.subtreeFlags=E.subtreeFlags&65011712,R!==null?u=dl(R,u):(u=oa(u,y,l,null),u.flags|=2),u.return=t,a.return=t,a.sibling=u,t.child=a,a=u,u=t.child,y=e.child.memoizedState,y===null?y=Qc(l):(E=y.cachePool,E!==null?(R=et._currentValue,E=E.parent!==R?{parent:R,pool:R}:E):E=Ff(),y={baseLanes:y.baseLanes|l,cachePool:E}),u.memoizedState=y,u.childLanes=Kc(e,d,l),t.memoizedState=kc,a):(Vl(t),l=e.child,e=l.sibling,l=dl(l,{mode:"visible",children:a.children}),l.return=t,l.sibling=null,e!==null&&(d=t.deletions,d===null?(t.deletions=[e],t.flags|=16):d.push(e)),t.child=l,t.memoizedState=null,l)}function Fc(e,t){return t=Oi({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Oi(e,t){return e=Ct(22,e,null,t),e.lanes=0,e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function Pc(e,t,l){return nn(t,e.child,null,l),e=Fc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function o0(e,t,l){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),hc(e.return,t,l)}function Jc(e,t,l,a,u){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:l,tailMode:u}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=a,s.tail=l,s.tailMode=u)}function f0(e,t,l){var a=t.pendingProps,u=a.revealOrder,s=a.tail;if(ct(e,t,a.children,l),a=tt.current,(a&2)!==0)a=a&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&o0(e,l,t);else if(e.tag===19)o0(e,l,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}a&=1}switch(te(tt,a),u){case"forwards":for(l=t.child,u=null;l!==null;)e=l.alternate,e!==null&&_i(e)===null&&(u=l),l=l.sibling;l=u,l===null?(u=t.child,t.child=null):(u=l.sibling,l.sibling=null),Jc(t,!1,u,l,s);break;case"backwards":for(l=null,u=t.child,t.child=null;u!==null;){if(e=u.alternate,e!==null&&_i(e)===null){t.child=u;break}e=u.sibling,u.sibling=l,l=u,u=e}Jc(t,!0,l,null,s);break;case"together":Jc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function pl(e,t,l){if(e!==null&&(t.dependencies=e.dependencies),Yl|=t.lanes,(l&t.childLanes)===0)if(e!==null){if(Kn(e,t,l,!1),(l&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(c(153));if(t.child!==null){for(e=t.child,l=dl(e,e.pendingProps),t.child=l,l.return=t;e.sibling!==null;)e=e.sibling,l=l.sibling=dl(e,e.pendingProps),l.return=t;l.sibling=null}return t.child}function Wc(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&ci(e)))}function Em(e,t,l){switch(t.tag){case 3:He(t,t.stateNode.containerInfo),wl(t,et,e.memoizedState.cache),kn();break;case 27:case 5:aa(t);break;case 4:He(t,t.stateNode.containerInfo);break;case 10:wl(t,t.type,t.memoizedProps.value);break;case 13:var a=t.memoizedState;if(a!==null)return a.dehydrated!==null?(Vl(t),t.flags|=128,null):(l&t.child.childLanes)!==0?s0(e,t,l):(Vl(t),e=pl(e,t,l),e!==null?e.sibling:null);Vl(t);break;case 19:var u=(e.flags&128)!==0;if(a=(l&t.childLanes)!==0,a||(Kn(e,t,l,!1),a=(l&t.childLanes)!==0),u){if(a)return f0(e,t,l);t.flags|=128}if(u=t.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),te(tt,tt.current),a)break;return null;case 22:case 23:return t.lanes=0,n0(e,t,l);case 24:wl(t,et,e.memoizedState.cache)}return pl(e,t,l)}function d0(e,t,l){if(e!==null)if(e.memoizedProps!==t.pendingProps)nt=!0;else{if(!Wc(e,l)&&(t.flags&128)===0)return nt=!1,Em(e,t,l);nt=(e.flags&131072)!==0}else nt=!1,Ne&&(t.flags&1048576)!==0&&Yf(t,ri,t.index);switch(t.lanes=0,t.tag){case 16:e:{e=t.pendingProps;var a=t.elementType,u=a._init;if(a=u(a._payload),t.type=a,typeof a=="function")rc(a)?(e=pa(a,e),t.tag=1,t=r0(null,t,a,e,l)):(t.tag=0,t=Xc(null,t,a,e,l));else{if(a!=null){if(u=a.$$typeof,u===J){t.tag=11,t=t0(null,t,a,e,l);break e}else if(u===ue){t.tag=14,t=l0(null,t,a,e,l);break e}}throw t=k(a)||a,Error(c(306,t,""))}}return t;case 0:return Xc(e,t,t.type,t.pendingProps,l);case 1:return a=t.type,u=pa(a,t.pendingProps),r0(e,t,a,u,l);case 3:e:{if(He(t,t.stateNode.containerInfo),e===null)throw Error(c(387));a=t.pendingProps;var s=t.memoizedState;u=s.element,Sc(e,t),tu(t,a,null,l);var d=t.memoizedState;if(a=d.cache,wl(t,et,a),a!==s.cache&&yc(t,[et],l,!0),eu(),a=d.element,s.isDehydrated)if(s={element:a,isDehydrated:!1,cache:d.cache},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){t=c0(e,t,a,l);break e}else if(a!==u){u=jt(Error(c(424)),t),Qn(u),t=c0(e,t,a,l);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Xe=Pt(e.firstChild),ht=t,Ne=!0,va=null,ll=!0,l=Zd(t,null,a,l),t.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling}else{if(kn(),a===u){t=pl(e,t,l);break e}ct(e,t,a,l)}t=t.child}return t;case 26:return Mi(e,t),e===null?(l=mv(t.type,null,t.pendingProps,null))?t.memoizedState=l:Ne||(l=t.type,e=t.pendingProps,a=Yi(be.current).createElement(l),a[ft]=t,a[gt]=e,ot(a,l,e),at(a),t.stateNode=a):t.memoizedState=mv(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return aa(t),e===null&&Ne&&(a=t.stateNode=vv(t.type,t.pendingProps,be.current),ht=t,ll=!0,u=Xe,kl(t.type)?(Ns=u,Xe=Pt(a.firstChild)):Xe=u),ct(e,t,t.pendingProps.children,l),Mi(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Ne&&((u=a=Xe)&&(a=Km(a,t.type,t.pendingProps,ll),a!==null?(t.stateNode=a,ht=t,Xe=Pt(a.firstChild),ll=!1,u=!0):u=!1),u||ha(t)),aa(t),u=t.type,s=t.pendingProps,d=e!==null?e.memoizedProps:null,a=s.children,Os(u,s)?a=null:d!==null&&Os(u,d)&&(t.flags|=32),t.memoizedState!==null&&(u=Mc(e,t,dm,null,null,l),Tu._currentValue=u),Mi(e,t),ct(e,t,a,l),t.child;case 6:return e===null&&Ne&&((e=l=Xe)&&(l=Fm(l,t.pendingProps,ll),l!==null?(t.stateNode=l,ht=t,Xe=null,e=!0):e=!1),e||ha(t)),null;case 13:return s0(e,t,l);case 4:return He(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=nn(t,null,a,l):ct(e,t,a,l),t.child;case 11:return t0(e,t,t.type,t.pendingProps,l);case 7:return ct(e,t,t.pendingProps,l),t.child;case 8:return ct(e,t,t.pendingProps.children,l),t.child;case 12:return ct(e,t,t.pendingProps.children,l),t.child;case 10:return a=t.pendingProps,wl(t,t.type,a.value),ct(e,t,a.children,l),t.child;case 9:return u=t.type._context,a=t.pendingProps.children,ma(t),u=dt(u),a=a(u),t.flags|=1,ct(e,t,a,l),t.child;case 14:return l0(e,t,t.type,t.pendingProps,l);case 15:return a0(e,t,t.type,t.pendingProps,l);case 19:return f0(e,t,l);case 31:return a=t.pendingProps,l=t.mode,a={mode:a.mode,children:a.children},e===null?(l=Oi(a,l),l.ref=t.ref,t.child=l,l.return=t,t=l):(l=dl(e.child,a),l.ref=t.ref,t.child=l,l.return=t,t=l),t;case 22:return n0(e,t,l);case 24:return ma(t),a=dt(et),e===null?(u=gc(),u===null&&(u=Ye,s=mc(),u.pooledCache=s,s.refCount++,s!==null&&(u.pooledCacheLanes|=l),u=s),t.memoizedState={parent:a,cache:u},Ec(t),wl(t,et,u)):((e.lanes&l)!==0&&(Sc(e,t),tu(t,null,null,l),eu()),u=e.memoizedState,s=t.memoizedState,u.parent!==a?(u={parent:a,cache:a},t.memoizedState=u,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=u),wl(t,et,a)):(a=s.cache,wl(t,et,a),a!==u.cache&&yc(t,[et],l,!0))),ct(e,t,t.pendingProps.children,l),t.child;case 29:throw t.pendingProps}throw Error(c(156,t.tag))}function El(e){e.flags|=4}function v0(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Sv(t)){if(t=Yt.current,t!==null&&((De&4194048)===De?al!==null:(De&62914560)!==De&&(De&536870912)===0||t!==al))throw Wn=pc,Pf;e.flags|=8192}}function Di(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Zo():536870912,e.lanes|=t,sn|=t)}function cu(e,t){if(!Ne)switch(e.tailMode){case"hidden":t=e.tail;for(var l=null;t!==null;)t.alternate!==null&&(l=t),t=t.sibling;l===null?e.tail=null:l.sibling=null;break;case"collapsed":l=e.tail;for(var a=null;l!==null;)l.alternate!==null&&(a=l),l=l.sibling;a===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null}}function Ze(e){var t=e.alternate!==null&&e.alternate.child===e.child,l=0,a=0;if(t)for(var u=e.child;u!==null;)l|=u.lanes|u.childLanes,a|=u.subtreeFlags&65011712,a|=u.flags&65011712,u.return=e,u=u.sibling;else for(u=e.child;u!==null;)l|=u.lanes|u.childLanes,a|=u.subtreeFlags,a|=u.flags,u.return=e,u=u.sibling;return e.subtreeFlags|=a,e.childLanes=l,t}function Sm(e,t,l){var a=t.pendingProps;switch(fc(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ze(t),null;case 1:return Ze(t),null;case 3:return l=t.stateNode,a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),ml(et),zt(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(e===null||e.child===null)&&(Xn(t)?El(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Xf())),Ze(t),null;case 26:return l=t.memoizedState,e===null?(El(t),l!==null?(Ze(t),v0(t,l)):(Ze(t),t.flags&=-16777217)):l?l!==e.memoizedState?(El(t),Ze(t),v0(t,l)):(Ze(t),t.flags&=-16777217):(e.memoizedProps!==a&&El(t),Ze(t),t.flags&=-16777217),null;case 27:Da(t),l=be.current;var u=t.type;if(e!==null&&t.stateNode!=null)e.memoizedProps!==a&&El(t);else{if(!a){if(t.stateNode===null)throw Error(c(166));return Ze(t),null}e=de.current,Xn(t)?Gf(t):(e=vv(u,a,l),t.stateNode=e,El(t))}return Ze(t),null;case 5:if(Da(t),l=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&El(t);else{if(!a){if(t.stateNode===null)throw Error(c(166));return Ze(t),null}if(e=de.current,Xn(t))Gf(t);else{switch(u=Yi(be.current),e){case 1:e=u.createElementNS("http://www.w3.org/2000/svg",l);break;case 2:e=u.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;default:switch(l){case"svg":e=u.createElementNS("http://www.w3.org/2000/svg",l);break;case"math":e=u.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;case"script":e=u.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof a.is=="string"?u.createElement("select",{is:a.is}):u.createElement("select"),a.multiple?e.multiple=!0:a.size&&(e.size=a.size);break;default:e=typeof a.is=="string"?u.createElement(l,{is:a.is}):u.createElement(l)}}e[ft]=t,e[gt]=a;e:for(u=t.child;u!==null;){if(u.tag===5||u.tag===6)e.appendChild(u.stateNode);else if(u.tag!==4&&u.tag!==27&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===t)break e;for(;u.sibling===null;){if(u.return===null||u.return===t)break e;u=u.return}u.sibling.return=u.return,u=u.sibling}t.stateNode=e;e:switch(ot(e,l,a),l){case"button":case"input":case"select":case"textarea":e=!!a.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&El(t)}}return Ze(t),t.flags&=-16777217,null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&El(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(c(166));if(e=be.current,Xn(t)){if(e=t.stateNode,l=t.memoizedProps,a=null,u=ht,u!==null)switch(u.tag){case 27:case 5:a=u.memoizedProps}e[ft]=t,e=!!(e.nodeValue===l||a!==null&&a.suppressHydrationWarning===!0||iv(e.nodeValue,l)),e||ha(t)}else e=Yi(e).createTextNode(a),e[ft]=t,t.stateNode=e}return Ze(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(u=Xn(t),a!==null&&a.dehydrated!==null){if(e===null){if(!u)throw Error(c(318));if(u=t.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(c(317));u[ft]=t}else kn(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ze(t),u=!1}else u=Xf(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=u),u=!0;if(!u)return t.flags&256?(gl(t),t):(gl(t),null)}if(gl(t),(t.flags&128)!==0)return t.lanes=l,t;if(l=a!==null,e=e!==null&&e.memoizedState!==null,l){a=t.child,u=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(u=a.alternate.memoizedState.cachePool.pool);var s=null;a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(s=a.memoizedState.cachePool.pool),s!==u&&(a.flags|=2048)}return l!==e&&l&&(t.child.flags|=8192),Di(t,t.updateQueue),Ze(t),null;case 4:return zt(),e===null&&Ts(t.stateNode.containerInfo),Ze(t),null;case 10:return ml(t.type),Ze(t),null;case 19:if(ne(tt),u=t.memoizedState,u===null)return Ze(t),null;if(a=(t.flags&128)!==0,s=u.rendering,s===null)if(a)cu(u,!1);else{if(ke!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(s=_i(e),s!==null){for(t.flags|=128,cu(u,!1),e=s.updateQueue,t.updateQueue=e,Di(t,e),t.subtreeFlags=0,e=l,l=t.child;l!==null;)qf(l,e),l=l.sibling;return te(tt,tt.current&1|2),t.child}e=e.sibling}u.tail!==null&&Ut()>Ni&&(t.flags|=128,a=!0,cu(u,!1),t.lanes=4194304)}else{if(!a)if(e=_i(s),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,Di(t,e),cu(u,!0),u.tail===null&&u.tailMode==="hidden"&&!s.alternate&&!Ne)return Ze(t),null}else 2*Ut()-u.renderingStartTime>Ni&&l!==536870912&&(t.flags|=128,a=!0,cu(u,!1),t.lanes=4194304);u.isBackwards?(s.sibling=t.child,t.child=s):(e=u.last,e!==null?e.sibling=s:t.child=s,u.last=s)}return u.tail!==null?(t=u.tail,u.rendering=t,u.tail=t.sibling,u.renderingStartTime=Ut(),t.sibling=null,e=tt.current,te(tt,a?e&1|2:e&1),t):(Ze(t),null);case 22:case 23:return gl(t),Ac(),a=t.memoizedState!==null,e!==null?e.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(l&536870912)!==0&&(t.flags&128)===0&&(Ze(t),t.subtreeFlags&6&&(t.flags|=8192)):Ze(t),l=t.updateQueue,l!==null&&Di(t,l.retryQueue),l=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==l&&(t.flags|=2048),e!==null&&ne(ba),null;case 24:return l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),ml(et),Ze(t),null;case 25:return null;case 30:return null}throw Error(c(156,t.tag))}function xm(e,t){switch(fc(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ml(et),zt(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Da(t),null;case 13:if(gl(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(c(340));kn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ne(tt),null;case 4:return zt(),null;case 10:return ml(t.type),null;case 22:case 23:return gl(t),Ac(),e!==null&&ne(ba),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return ml(et),null;case 25:return null;default:return null}}function h0(e,t){switch(fc(t),t.tag){case 3:ml(et),zt();break;case 26:case 27:case 5:Da(t);break;case 4:zt();break;case 13:gl(t);break;case 19:ne(tt);break;case 10:ml(t.type);break;case 22:case 23:gl(t),Ac(),e!==null&&ne(ba);break;case 24:ml(et)}}function su(e,t){try{var l=t.updateQueue,a=l!==null?l.lastEffect:null;if(a!==null){var u=a.next;l=u;do{if((l.tag&e)===e){a=void 0;var s=l.create,d=l.inst;a=s(),d.destroy=a}l=l.next}while(l!==u)}}catch(y){Be(t,t.return,y)}}function jl(e,t,l){try{var a=t.updateQueue,u=a!==null?a.lastEffect:null;if(u!==null){var s=u.next;a=s;do{if((a.tag&e)===e){var d=a.inst,y=d.destroy;if(y!==void 0){d.destroy=void 0,u=t;var E=l,R=y;try{R()}catch(V){Be(u,E,V)}}}a=a.next}while(a!==s)}}catch(V){Be(t,t.return,V)}}function y0(e){var t=e.updateQueue;if(t!==null){var l=e.stateNode;try{ld(t,l)}catch(a){Be(e,e.return,a)}}}function m0(e,t,l){l.props=pa(e.type,e.memoizedProps),l.state=e.memoizedState;try{l.componentWillUnmount()}catch(a){Be(e,t,a)}}function ou(e,t){try{var l=e.ref;if(l!==null){switch(e.tag){case 26:case 27:case 5:var a=e.stateNode;break;case 30:a=e.stateNode;break;default:a=e.stateNode}typeof l=="function"?e.refCleanup=l(a):l.current=a}}catch(u){Be(e,t,u)}}function nl(e,t){var l=e.ref,a=e.refCleanup;if(l!==null)if(typeof a=="function")try{a()}catch(u){Be(e,t,u)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(u){Be(e,t,u)}else l.current=null}function b0(e){var t=e.type,l=e.memoizedProps,a=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":l.autoFocus&&a.focus();break e;case"img":l.src?a.src=l.src:l.srcSet&&(a.srcset=l.srcSet)}}catch(u){Be(e,e.return,u)}}function Ic(e,t,l){try{var a=e.stateNode;Gm(a,e.type,l,t),a[gt]=t}catch(u){Be(e,e.return,u)}}function g0(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&kl(e.type)||e.tag===4}function es(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||g0(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.tag===27&&kl(e.type)||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 ts(e,t,l){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(e,t):(t=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,t.appendChild(e),l=l._reactRootContainer,l!=null||t.onclick!==null||(t.onclick=qi));else if(a!==4&&(a===27&&kl(e.type)&&(l=e.stateNode,t=null),e=e.child,e!==null))for(ts(e,t,l),e=e.sibling;e!==null;)ts(e,t,l),e=e.sibling}function Ri(e,t,l){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?l.insertBefore(e,t):l.appendChild(e);else if(a!==4&&(a===27&&kl(e.type)&&(l=e.stateNode),e=e.child,e!==null))for(Ri(e,t,l),e=e.sibling;e!==null;)Ri(e,t,l),e=e.sibling}function p0(e){var t=e.stateNode,l=e.memoizedProps;try{for(var a=e.type,u=t.attributes;u.length;)t.removeAttributeNode(u[0]);ot(t,a,l),t[ft]=e,t[gt]=l}catch(s){Be(e,e.return,s)}}var Sl=!1,Fe=!1,ls=!1,E0=typeof WeakSet=="function"?WeakSet:Set,ut=null;function Tm(e,t){if(e=e.containerInfo,Cs=Ki,e=wf(e),ec(e)){if("selectionStart"in e)var l={start:e.selectionStart,end:e.selectionEnd};else e:{l=(l=e.ownerDocument)&&l.defaultView||window;var a=l.getSelection&&l.getSelection();if(a&&a.rangeCount!==0){l=a.anchorNode;var u=a.anchorOffset,s=a.focusNode;a=a.focusOffset;try{l.nodeType,s.nodeType}catch{l=null;break e}var d=0,y=-1,E=-1,R=0,V=0,B=e,$=null;t:for(;;){for(var z;B!==l||u!==0&&B.nodeType!==3||(y=d+u),B!==s||a!==0&&B.nodeType!==3||(E=d+a),B.nodeType===3&&(d+=B.nodeValue.length),(z=B.firstChild)!==null;)$=B,B=z;for(;;){if(B===e)break t;if($===l&&++R===u&&(y=d),$===s&&++V===a&&(E=d),(z=B.nextSibling)!==null)break;B=$,$=B.parentNode}B=z}l=y===-1||E===-1?null:{start:y,end:E}}else l=null}l=l||{start:0,end:0}}else l=null;for(Ms={focusedElem:e,selectionRange:l},Ki=!1,ut=t;ut!==null;)if(t=ut,e=t.child,(t.subtreeFlags&1024)!==0&&e!==null)e.return=t,ut=e;else for(;ut!==null;){switch(t=ut,s=t.alternate,e=t.flags,t.tag){case 0:break;case 11:case 15:break;case 1:if((e&1024)!==0&&s!==null){e=void 0,l=t,u=s.memoizedProps,s=s.memoizedState,a=l.stateNode;try{var me=pa(l.type,u,l.elementType===l.type);e=a.getSnapshotBeforeUpdate(me,s),a.__reactInternalSnapshotBeforeUpdate=e}catch(he){Be(l,l.return,he)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,l=e.nodeType,l===9)Rs(e);else if(l===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Rs(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(c(163))}if(e=t.sibling,e!==null){e.return=t.return,ut=e;break}ut=t.return}}function S0(e,t,l){var a=l.flags;switch(l.tag){case 0:case 11:case 15:Hl(e,l),a&4&&su(5,l);break;case 1:if(Hl(e,l),a&4)if(e=l.stateNode,t===null)try{e.componentDidMount()}catch(d){Be(l,l.return,d)}else{var u=pa(l.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(u,t,e.__reactInternalSnapshotBeforeUpdate)}catch(d){Be(l,l.return,d)}}a&64&&y0(l),a&512&&ou(l,l.return);break;case 3:if(Hl(e,l),a&64&&(e=l.updateQueue,e!==null)){if(t=null,l.child!==null)switch(l.child.tag){case 27:case 5:t=l.child.stateNode;break;case 1:t=l.child.stateNode}try{ld(e,t)}catch(d){Be(l,l.return,d)}}break;case 27:t===null&&a&4&&p0(l);case 26:case 5:Hl(e,l),t===null&&a&4&&b0(l),a&512&&ou(l,l.return);break;case 12:Hl(e,l);break;case 13:Hl(e,l),a&4&&_0(e,l),a&64&&(e=l.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(l=Nm.bind(null,l),Pm(e,l))));break;case 22:if(a=l.memoizedState!==null||Sl,!a){t=t!==null&&t.memoizedState!==null||Fe,u=Sl;var s=Fe;Sl=a,(Fe=t)&&!s?Bl(e,l,(l.subtreeFlags&8772)!==0):Hl(e,l),Sl=u,Fe=s}break;case 30:break;default:Hl(e,l)}}function x0(e){var t=e.alternate;t!==null&&(e.alternate=null,x0(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Ur(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Ge=null,St=!1;function xl(e,t,l){for(l=l.child;l!==null;)T0(e,t,l),l=l.sibling}function T0(e,t,l){if(pe&&typeof pe.onCommitFiberUnmount=="function")try{pe.onCommitFiberUnmount(ce,l)}catch{}switch(l.tag){case 26:Fe||nl(l,t),xl(e,t,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:Fe||nl(l,t);var a=Ge,u=St;kl(l.type)&&(Ge=l.stateNode,St=!1),xl(e,t,l),pu(l.stateNode),Ge=a,St=u;break;case 5:Fe||nl(l,t);case 6:if(a=Ge,u=St,Ge=null,xl(e,t,l),Ge=a,St=u,Ge!==null)if(St)try{(Ge.nodeType===9?Ge.body:Ge.nodeName==="HTML"?Ge.ownerDocument.body:Ge).removeChild(l.stateNode)}catch(s){Be(l,t,s)}else try{Ge.removeChild(l.stateNode)}catch(s){Be(l,t,s)}break;case 18:Ge!==null&&(St?(e=Ge,fv(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,l.stateNode),Mu(e)):fv(Ge,l.stateNode));break;case 4:a=Ge,u=St,Ge=l.stateNode.containerInfo,St=!0,xl(e,t,l),Ge=a,St=u;break;case 0:case 11:case 14:case 15:Fe||jl(2,l,t),Fe||jl(4,l,t),xl(e,t,l);break;case 1:Fe||(nl(l,t),a=l.stateNode,typeof a.componentWillUnmount=="function"&&m0(l,t,a)),xl(e,t,l);break;case 21:xl(e,t,l);break;case 22:Fe=(a=Fe)||l.memoizedState!==null,xl(e,t,l),Fe=a;break;default:xl(e,t,l)}}function _0(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Mu(e)}catch(l){Be(t,t.return,l)}}function _m(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new E0),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new E0),t;default:throw Error(c(435,e.tag))}}function as(e,t){var l=_m(e);t.forEach(function(a){var u=$m.bind(null,e,a);l.has(a)||(l.add(a),a.then(u,u))})}function Mt(e,t){var l=t.deletions;if(l!==null)for(var a=0;a<l.length;a++){var u=l[a],s=e,d=t,y=d;e:for(;y!==null;){switch(y.tag){case 27:if(kl(y.type)){Ge=y.stateNode,St=!1;break e}break;case 5:Ge=y.stateNode,St=!1;break e;case 3:case 4:Ge=y.stateNode.containerInfo,St=!0;break e}y=y.return}if(Ge===null)throw Error(c(160));T0(s,d,u),Ge=null,St=!1,s=u.alternate,s!==null&&(s.return=null),u.return=null}if(t.subtreeFlags&13878)for(t=t.child;t!==null;)A0(t,e),t=t.sibling}var Ft=null;function A0(e,t){var l=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Mt(t,e),Ot(e),a&4&&(jl(3,e,e.return),su(3,e),jl(5,e,e.return));break;case 1:Mt(t,e),Ot(e),a&512&&(Fe||l===null||nl(l,l.return)),a&64&&Sl&&(e=e.updateQueue,e!==null&&(a=e.callbacks,a!==null&&(l=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=l===null?a:l.concat(a))));break;case 26:var u=Ft;if(Mt(t,e),Ot(e),a&512&&(Fe||l===null||nl(l,l.return)),a&4){var s=l!==null?l.memoizedState:null;if(a=e.memoizedState,l===null)if(a===null)if(e.stateNode===null){e:{a=e.type,l=e.memoizedProps,u=u.ownerDocument||u;t:switch(a){case"title":s=u.getElementsByTagName("title")[0],(!s||s[zn]||s[ft]||s.namespaceURI==="http://www.w3.org/2000/svg"||s.hasAttribute("itemprop"))&&(s=u.createElement(a),u.head.insertBefore(s,u.querySelector("head > title"))),ot(s,a,l),s[ft]=e,at(s),a=s;break e;case"link":var d=pv("link","href",u).get(a+(l.href||""));if(d){for(var y=0;y<d.length;y++)if(s=d[y],s.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&s.getAttribute("rel")===(l.rel==null?null:l.rel)&&s.getAttribute("title")===(l.title==null?null:l.title)&&s.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){d.splice(y,1);break t}}s=u.createElement(a),ot(s,a,l),u.head.appendChild(s);break;case"meta":if(d=pv("meta","content",u).get(a+(l.content||""))){for(y=0;y<d.length;y++)if(s=d[y],s.getAttribute("content")===(l.content==null?null:""+l.content)&&s.getAttribute("name")===(l.name==null?null:l.name)&&s.getAttribute("property")===(l.property==null?null:l.property)&&s.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&s.getAttribute("charset")===(l.charSet==null?null:l.charSet)){d.splice(y,1);break t}}s=u.createElement(a),ot(s,a,l),u.head.appendChild(s);break;default:throw Error(c(468,a))}s[ft]=e,at(s),a=s}e.stateNode=a}else Ev(u,e.type,e.stateNode);else e.stateNode=gv(u,a,e.memoizedProps);else s!==a?(s===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):s.count--,a===null?Ev(u,e.type,e.stateNode):gv(u,a,e.memoizedProps)):a===null&&e.stateNode!==null&&Ic(e,e.memoizedProps,l.memoizedProps)}break;case 27:Mt(t,e),Ot(e),a&512&&(Fe||l===null||nl(l,l.return)),l!==null&&a&4&&Ic(e,e.memoizedProps,l.memoizedProps);break;case 5:if(Mt(t,e),Ot(e),a&512&&(Fe||l===null||nl(l,l.return)),e.flags&32){u=e.stateNode;try{Ba(u,"")}catch(z){Be(e,e.return,z)}}a&4&&e.stateNode!=null&&(u=e.memoizedProps,Ic(e,u,l!==null?l.memoizedProps:u)),a&1024&&(ls=!0);break;case 6:if(Mt(t,e),Ot(e),a&4){if(e.stateNode===null)throw Error(c(162));a=e.memoizedProps,l=e.stateNode;try{l.nodeValue=a}catch(z){Be(e,e.return,z)}}break;case 3:if(Xi=null,u=Ft,Ft=Gi(t.containerInfo),Mt(t,e),Ft=u,Ot(e),a&4&&l!==null&&l.memoizedState.isDehydrated)try{Mu(t.containerInfo)}catch(z){Be(e,e.return,z)}ls&&(ls=!1,C0(e));break;case 4:a=Ft,Ft=Gi(e.stateNode.containerInfo),Mt(t,e),Ot(e),Ft=a;break;case 12:Mt(t,e),Ot(e);break;case 13:Mt(t,e),Ot(e),e.child.flags&8192&&e.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(ss=Ut()),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,as(e,a)));break;case 22:u=e.memoizedState!==null;var E=l!==null&&l.memoizedState!==null,R=Sl,V=Fe;if(Sl=R||u,Fe=V||E,Mt(t,e),Fe=V,Sl=R,Ot(e),a&8192)e:for(t=e.stateNode,t._visibility=u?t._visibility&-2:t._visibility|1,u&&(l===null||E||Sl||Fe||Ea(e)),l=null,t=e;;){if(t.tag===5||t.tag===26){if(l===null){E=l=t;try{if(s=E.stateNode,u)d=s.style,typeof d.setProperty=="function"?d.setProperty("display","none","important"):d.display="none";else{y=E.stateNode;var B=E.memoizedProps.style,$=B!=null&&B.hasOwnProperty("display")?B.display:null;y.style.display=$==null||typeof $=="boolean"?"":(""+$).trim()}}catch(z){Be(E,E.return,z)}}}else if(t.tag===6){if(l===null){E=t;try{E.stateNode.nodeValue=u?"":E.memoizedProps}catch(z){Be(E,E.return,z)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;l===t&&(l=null),t=t.return}l===t&&(l=null),t.sibling.return=t.return,t=t.sibling}a&4&&(a=e.updateQueue,a!==null&&(l=a.retryQueue,l!==null&&(a.retryQueue=null,as(e,l))));break;case 19:Mt(t,e),Ot(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,as(e,a)));break;case 30:break;case 21:break;default:Mt(t,e),Ot(e)}}function Ot(e){var t=e.flags;if(t&2){try{for(var l,a=e.return;a!==null;){if(g0(a)){l=a;break}a=a.return}if(l==null)throw Error(c(160));switch(l.tag){case 27:var u=l.stateNode,s=es(e);Ri(e,s,u);break;case 5:var d=l.stateNode;l.flags&32&&(Ba(d,""),l.flags&=-33);var y=es(e);Ri(e,y,d);break;case 3:case 4:var E=l.stateNode.containerInfo,R=es(e);ts(e,R,E);break;default:throw Error(c(161))}}catch(V){Be(e,e.return,V)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function C0(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;C0(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Hl(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)S0(e,t.alternate,t),t=t.sibling}function Ea(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:jl(4,t,t.return),Ea(t);break;case 1:nl(t,t.return);var l=t.stateNode;typeof l.componentWillUnmount=="function"&&m0(t,t.return,l),Ea(t);break;case 27:pu(t.stateNode);case 26:case 5:nl(t,t.return),Ea(t);break;case 22:t.memoizedState===null&&Ea(t);break;case 30:Ea(t);break;default:Ea(t)}e=e.sibling}}function Bl(e,t,l){for(l=l&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var a=t.alternate,u=e,s=t,d=s.flags;switch(s.tag){case 0:case 11:case 15:Bl(u,s,l),su(4,s);break;case 1:if(Bl(u,s,l),a=s,u=a.stateNode,typeof u.componentDidMount=="function")try{u.componentDidMount()}catch(R){Be(a,a.return,R)}if(a=s,u=a.updateQueue,u!==null){var y=a.stateNode;try{var E=u.shared.hiddenCallbacks;if(E!==null)for(u.shared.hiddenCallbacks=null,u=0;u<E.length;u++)td(E[u],y)}catch(R){Be(a,a.return,R)}}l&&d&64&&y0(s),ou(s,s.return);break;case 27:p0(s);case 26:case 5:Bl(u,s,l),l&&a===null&&d&4&&b0(s),ou(s,s.return);break;case 12:Bl(u,s,l);break;case 13:Bl(u,s,l),l&&d&4&&_0(u,s);break;case 22:s.memoizedState===null&&Bl(u,s,l),ou(s,s.return);break;case 30:break;default:Bl(u,s,l)}t=t.sibling}}function ns(e,t){var l=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==l&&(e!=null&&e.refCount++,l!=null&&Fn(l))}function us(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Fn(e))}function ul(e,t,l,a){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)M0(e,t,l,a),t=t.sibling}function M0(e,t,l,a){var u=t.flags;switch(t.tag){case 0:case 11:case 15:ul(e,t,l,a),u&2048&&su(9,t);break;case 1:ul(e,t,l,a);break;case 3:ul(e,t,l,a),u&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Fn(e)));break;case 12:if(u&2048){ul(e,t,l,a),e=t.stateNode;try{var s=t.memoizedProps,d=s.id,y=s.onPostCommit;typeof y=="function"&&y(d,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(E){Be(t,t.return,E)}}else ul(e,t,l,a);break;case 13:ul(e,t,l,a);break;case 23:break;case 22:s=t.stateNode,d=t.alternate,t.memoizedState!==null?s._visibility&2?ul(e,t,l,a):fu(e,t):s._visibility&2?ul(e,t,l,a):(s._visibility|=2,un(e,t,l,a,(t.subtreeFlags&10256)!==0)),u&2048&&ns(d,t);break;case 24:ul(e,t,l,a),u&2048&&us(t.alternate,t);break;default:ul(e,t,l,a)}}function un(e,t,l,a,u){for(u=u&&(t.subtreeFlags&10256)!==0,t=t.child;t!==null;){var s=e,d=t,y=l,E=a,R=d.flags;switch(d.tag){case 0:case 11:case 15:un(s,d,y,E,u),su(8,d);break;case 23:break;case 22:var V=d.stateNode;d.memoizedState!==null?V._visibility&2?un(s,d,y,E,u):fu(s,d):(V._visibility|=2,un(s,d,y,E,u)),u&&R&2048&&ns(d.alternate,d);break;case 24:un(s,d,y,E,u),u&&R&2048&&us(d.alternate,d);break;default:un(s,d,y,E,u)}t=t.sibling}}function fu(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var l=e,a=t,u=a.flags;switch(a.tag){case 22:fu(l,a),u&2048&&ns(a.alternate,a);break;case 24:fu(l,a),u&2048&&us(a.alternate,a);break;default:fu(l,a)}t=t.sibling}}var du=8192;function rn(e){if(e.subtreeFlags&du)for(e=e.child;e!==null;)O0(e),e=e.sibling}function O0(e){switch(e.tag){case 26:rn(e),e.flags&du&&e.memoizedState!==null&&sb(Ft,e.memoizedState,e.memoizedProps);break;case 5:rn(e);break;case 3:case 4:var t=Ft;Ft=Gi(e.stateNode.containerInfo),rn(e),Ft=t;break;case 22:e.memoizedState===null&&(t=e.alternate,t!==null&&t.memoizedState!==null?(t=du,du=16777216,rn(e),du=t):rn(e));break;default:rn(e)}}function D0(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function vu(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var l=0;l<t.length;l++){var a=t[l];ut=a,w0(a,e)}D0(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)R0(e),e=e.sibling}function R0(e){switch(e.tag){case 0:case 11:case 15:vu(e),e.flags&2048&&jl(9,e,e.return);break;case 3:vu(e);break;case 12:vu(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,wi(e)):vu(e);break;default:vu(e)}}function wi(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var l=0;l<t.length;l++){var a=t[l];ut=a,w0(a,e)}D0(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:jl(8,t,t.return),wi(t);break;case 22:l=t.stateNode,l._visibility&2&&(l._visibility&=-3,wi(t));break;default:wi(t)}e=e.sibling}}function w0(e,t){for(;ut!==null;){var l=ut;switch(l.tag){case 0:case 11:case 15:jl(8,l,t);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var a=l.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:Fn(l.memoizedState.cache)}if(a=l.child,a!==null)a.return=l,ut=a;else e:for(l=e;ut!==null;){a=ut;var u=a.sibling,s=a.return;if(x0(a),a===l){ut=null;break e}if(u!==null){u.return=s,ut=u;break e}ut=s}}}var Am={getCacheForType:function(e){var t=dt(et),l=t.data.get(e);return l===void 0&&(l=e(),t.data.set(e,l)),l}},Cm=typeof WeakMap=="function"?WeakMap:Map,$e=0,Ye=null,Te=null,De=0,ze=0,Dt=null,ql=!1,cn=!1,is=!1,Tl=0,ke=0,Yl=0,Sa=0,rs=0,Gt=0,sn=0,hu=null,xt=null,cs=!1,ss=0,Ni=1/0,$i=null,Gl=null,st=0,Zl=null,on=null,fn=0,os=0,fs=null,N0=null,yu=0,ds=null;function Rt(){if(($e&2)!==0&&De!==0)return De&-De;if(_.T!==null){var e=Ja;return e!==0?e:ps()}return Qo()}function $0(){Gt===0&&(Gt=(De&536870912)===0||Ne?Go():536870912);var e=Yt.current;return e!==null&&(e.flags|=32),Gt}function wt(e,t,l){(e===Ye&&(ze===2||ze===9)||e.cancelPendingCommit!==null)&&(dn(e,0),Xl(e,De,Gt,!1)),$n(e,l),(($e&2)===0||e!==Ye)&&(e===Ye&&(($e&2)===0&&(Sa|=l),ke===4&&Xl(e,De,Gt,!1)),il(e))}function z0(e,t,l){if(($e&6)!==0)throw Error(c(327));var a=!l&&(t&124)===0&&(t&e.expiredLanes)===0||ua(e,t),u=a?Dm(e,t):ys(e,t,!0),s=a;do{if(u===0){cn&&!a&&Xl(e,t,0,!1);break}else{if(l=e.current.alternate,s&&!Mm(l)){u=ys(e,t,!1),s=!1;continue}if(u===2){if(s=t,e.errorRecoveryDisabledLanes&s)var d=0;else d=e.pendingLanes&-536870913,d=d!==0?d:d&536870912?536870912:0;if(d!==0){t=d;e:{var y=e;u=hu;var E=y.current.memoizedState.isDehydrated;if(E&&(dn(y,d).flags|=256),d=ys(y,d,!1),d!==2){if(is&&!E){y.errorRecoveryDisabledLanes|=s,Sa|=s,u=4;break e}s=xt,xt=u,s!==null&&(xt===null?xt=s:xt.push.apply(xt,s))}u=d}if(s=!1,u!==2)continue}}if(u===1){dn(e,0),Xl(e,t,0,!0);break}e:{switch(a=e,s=u,s){case 0:case 1:throw Error(c(345));case 4:if((t&4194048)!==t)break;case 6:Xl(a,t,Gt,!ql);break e;case 2:xt=null;break;case 3:case 5:break;default:throw Error(c(329))}if((t&62914560)===t&&(u=ss+300-Ut(),10<u)){if(Xl(a,t,Gt,!ql),na(a,0,!0)!==0)break e;a.timeoutHandle=sv(U0.bind(null,a,l,xt,$i,cs,t,Gt,Sa,sn,ql,s,2,-0,0),u);break e}U0(a,l,xt,$i,cs,t,Gt,Sa,sn,ql,s,0,-0,0)}}break}while(!0);il(e)}function U0(e,t,l,a,u,s,d,y,E,R,V,B,$,z){if(e.timeoutHandle=-1,B=t.subtreeFlags,(B&8192||(B&16785408)===16785408)&&(xu={stylesheets:null,count:0,unsuspend:cb},O0(t),B=ob(),B!==null)){e.cancelPendingCommit=B(Y0.bind(null,e,t,s,l,a,u,d,y,E,V,1,$,z)),Xl(e,s,d,!R);return}Y0(e,t,s,l,a,u,d,y,E)}function Mm(e){for(var t=e;;){var l=t.tag;if((l===0||l===11||l===15)&&t.flags&16384&&(l=t.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var a=0;a<l.length;a++){var u=l[a],s=u.getSnapshot;u=u.value;try{if(!At(s(),u))return!1}catch{return!1}}if(l=t.child,t.subtreeFlags&16384&&l!==null)l.return=t,t=l;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 Xl(e,t,l,a){t&=~rs,t&=~Sa,e.suspendedLanes|=t,e.pingedLanes&=~t,a&&(e.warmLanes|=t),a=e.expirationTimes;for(var u=t;0<u;){var s=31-qe(u),d=1<<s;a[s]=-1,u&=~d}l!==0&&Xo(e,l,t)}function zi(){return($e&6)===0?(mu(0),!1):!0}function vs(){if(Te!==null){if(ze===0)var e=Te.return;else e=Te,yl=ya=null,Rc(e),an=null,iu=0,e=Te;for(;e!==null;)h0(e.alternate,e),e=e.return;Te=null}}function dn(e,t){var l=e.timeoutHandle;l!==-1&&(e.timeoutHandle=-1,Xm(l)),l=e.cancelPendingCommit,l!==null&&(e.cancelPendingCommit=null,l()),vs(),Ye=e,Te=l=dl(e.current,null),De=t,ze=0,Dt=null,ql=!1,cn=ua(e,t),is=!1,sn=Gt=rs=Sa=Yl=ke=0,xt=hu=null,cs=!1,(t&8)!==0&&(t|=t&32);var a=e.entangledLanes;if(a!==0)for(e=e.entanglements,a&=t;0<a;){var u=31-qe(a),s=1<<u;t|=e[u],a&=~s}return Tl=t,li(),l}function V0(e,t){Se=null,_.H=Si,t===Jn||t===fi?(t=If(),ze=3):t===Pf?(t=If(),ze=4):ze=t===e0?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Dt=t,Te===null&&(ke=1,Ci(e,jt(t,e.current)))}function L0(){var e=_.H;return _.H=Si,e===null?Si:e}function j0(){var e=_.A;return _.A=Am,e}function hs(){ke=4,ql||(De&4194048)!==De&&Yt.current!==null||(cn=!0),(Yl&134217727)===0&&(Sa&134217727)===0||Ye===null||Xl(Ye,De,Gt,!1)}function ys(e,t,l){var a=$e;$e|=2;var u=L0(),s=j0();(Ye!==e||De!==t)&&($i=null,dn(e,t)),t=!1;var d=ke;e:do try{if(ze!==0&&Te!==null){var y=Te,E=Dt;switch(ze){case 8:vs(),d=6;break e;case 3:case 2:case 9:case 6:Yt.current===null&&(t=!0);var R=ze;if(ze=0,Dt=null,vn(e,y,E,R),l&&cn){d=0;break e}break;default:R=ze,ze=0,Dt=null,vn(e,y,E,R)}}Om(),d=ke;break}catch(V){V0(e,V)}while(!0);return t&&e.shellSuspendCounter++,yl=ya=null,$e=a,_.H=u,_.A=s,Te===null&&(Ye=null,De=0,li()),d}function Om(){for(;Te!==null;)H0(Te)}function Dm(e,t){var l=$e;$e|=2;var a=L0(),u=j0();Ye!==e||De!==t?($i=null,Ni=Ut()+500,dn(e,t)):cn=ua(e,t);e:do try{if(ze!==0&&Te!==null){t=Te;var s=Dt;t:switch(ze){case 1:ze=0,Dt=null,vn(e,t,s,1);break;case 2:case 9:if(Jf(s)){ze=0,Dt=null,B0(t);break}t=function(){ze!==2&&ze!==9||Ye!==e||(ze=7),il(e)},s.then(t,t);break e;case 3:ze=7;break e;case 4:ze=5;break e;case 7:Jf(s)?(ze=0,Dt=null,B0(t)):(ze=0,Dt=null,vn(e,t,s,7));break;case 5:var d=null;switch(Te.tag){case 26:d=Te.memoizedState;case 5:case 27:var y=Te;if(!d||Sv(d)){ze=0,Dt=null;var E=y.sibling;if(E!==null)Te=E;else{var R=y.return;R!==null?(Te=R,Ui(R)):Te=null}break t}}ze=0,Dt=null,vn(e,t,s,5);break;case 6:ze=0,Dt=null,vn(e,t,s,6);break;case 8:vs(),ke=6;break e;default:throw Error(c(462))}}Rm();break}catch(V){V0(e,V)}while(!0);return yl=ya=null,_.H=a,_.A=u,$e=l,Te!==null?0:(Ye=null,De=0,li(),ke)}function Rm(){for(;Te!==null&&!Gu();)H0(Te)}function H0(e){var t=d0(e.alternate,e,Tl);e.memoizedProps=e.pendingProps,t===null?Ui(e):Te=t}function B0(e){var t=e,l=t.alternate;switch(t.tag){case 15:case 0:t=i0(l,t,t.pendingProps,t.type,void 0,De);break;case 11:t=i0(l,t,t.pendingProps,t.type.render,t.ref,De);break;case 5:Rc(t);default:h0(l,t),t=Te=qf(t,Tl),t=d0(l,t,Tl)}e.memoizedProps=e.pendingProps,t===null?Ui(e):Te=t}function vn(e,t,l,a){yl=ya=null,Rc(t),an=null,iu=0;var u=t.return;try{if(pm(e,u,t,l,De)){ke=1,Ci(e,jt(l,e.current)),Te=null;return}}catch(s){if(u!==null)throw Te=u,s;ke=1,Ci(e,jt(l,e.current)),Te=null;return}t.flags&32768?(Ne||a===1?e=!0:cn||(De&536870912)!==0?e=!1:(ql=e=!0,(a===2||a===9||a===3||a===6)&&(a=Yt.current,a!==null&&a.tag===13&&(a.flags|=16384))),q0(t,e)):Ui(t)}function Ui(e){var t=e;do{if((t.flags&32768)!==0){q0(t,ql);return}e=t.return;var l=Sm(t.alternate,t,Tl);if(l!==null){Te=l;return}if(t=t.sibling,t!==null){Te=t;return}Te=t=e}while(t!==null);ke===0&&(ke=5)}function q0(e,t){do{var l=xm(e.alternate,e);if(l!==null){l.flags&=32767,Te=l;return}if(l=e.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!t&&(e=e.sibling,e!==null)){Te=e;return}Te=e=l}while(e!==null);ke=6,Te=null}function Y0(e,t,l,a,u,s,d,y,E){e.cancelPendingCommit=null;do Vi();while(st!==0);if(($e&6)!==0)throw Error(c(327));if(t!==null){if(t===e.current)throw Error(c(177));if(s=t.lanes|t.childLanes,s|=uc,cy(e,l,s,d,y,E),e===Ye&&(Te=Ye=null,De=0),on=t,Zl=e,fn=l,os=s,fs=u,N0=a,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,zm(N,function(){return Q0(),null})):(e.callbackNode=null,e.callbackPriority=0),a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=_.T,_.T=null,u=Z.p,Z.p=2,d=$e,$e|=4;try{Tm(e,t,l)}finally{$e=d,Z.p=u,_.T=a}}st=1,G0(),Z0(),X0()}}function G0(){if(st===1){st=0;var e=Zl,t=on,l=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||l){l=_.T,_.T=null;var a=Z.p;Z.p=2;var u=$e;$e|=4;try{A0(t,e);var s=Ms,d=wf(e.containerInfo),y=s.focusedElem,E=s.selectionRange;if(d!==y&&y&&y.ownerDocument&&Rf(y.ownerDocument.documentElement,y)){if(E!==null&&ec(y)){var R=E.start,V=E.end;if(V===void 0&&(V=R),"selectionStart"in y)y.selectionStart=R,y.selectionEnd=Math.min(V,y.value.length);else{var B=y.ownerDocument||document,$=B&&B.defaultView||window;if($.getSelection){var z=$.getSelection(),me=y.textContent.length,he=Math.min(E.start,me),je=E.end===void 0?he:Math.min(E.end,me);!z.extend&&he>je&&(d=je,je=he,he=d);var C=Df(y,he),T=Df(y,je);if(C&&T&&(z.rangeCount!==1||z.anchorNode!==C.node||z.anchorOffset!==C.offset||z.focusNode!==T.node||z.focusOffset!==T.offset)){var O=B.createRange();O.setStart(C.node,C.offset),z.removeAllRanges(),he>je?(z.addRange(O),z.extend(T.node,T.offset)):(O.setEnd(T.node,T.offset),z.addRange(O))}}}}for(B=[],z=y;z=z.parentNode;)z.nodeType===1&&B.push({element:z,left:z.scrollLeft,top:z.scrollTop});for(typeof y.focus=="function"&&y.focus(),y=0;y<B.length;y++){var L=B[y];L.element.scrollLeft=L.left,L.element.scrollTop=L.top}}Ki=!!Cs,Ms=Cs=null}finally{$e=u,Z.p=a,_.T=l}}e.current=t,st=2}}function Z0(){if(st===2){st=0;var e=Zl,t=on,l=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||l){l=_.T,_.T=null;var a=Z.p;Z.p=2;var u=$e;$e|=4;try{S0(e,t.alternate,t)}finally{$e=u,Z.p=a,_.T=l}}st=3}}function X0(){if(st===4||st===3){st=0,Dr();var e=Zl,t=on,l=fn,a=N0;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?st=5:(st=0,on=Zl=null,k0(e,e.pendingLanes));var u=e.pendingLanes;if(u===0&&(Gl=null),$r(l),t=t.stateNode,pe&&typeof pe.onCommitFiberRoot=="function")try{pe.onCommitFiberRoot(ce,t,void 0,(t.current.flags&128)===128)}catch{}if(a!==null){t=_.T,u=Z.p,Z.p=2,_.T=null;try{for(var s=e.onRecoverableError,d=0;d<a.length;d++){var y=a[d];s(y.value,{componentStack:y.stack})}}finally{_.T=t,Z.p=u}}(fn&3)!==0&&Vi(),il(e),u=e.pendingLanes,(l&4194090)!==0&&(u&42)!==0?e===ds?yu++:(yu=0,ds=e):yu=0,mu(0)}}function k0(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Fn(t)))}function Vi(e){return G0(),Z0(),X0(),Q0()}function Q0(){if(st!==5)return!1;var e=Zl,t=os;os=0;var l=$r(fn),a=_.T,u=Z.p;try{Z.p=32>l?32:l,_.T=null,l=fs,fs=null;var s=Zl,d=fn;if(st=0,on=Zl=null,fn=0,($e&6)!==0)throw Error(c(331));var y=$e;if($e|=4,R0(s.current),M0(s,s.current,d,l),$e=y,mu(0,!1),pe&&typeof pe.onPostCommitFiberRoot=="function")try{pe.onPostCommitFiberRoot(ce,s)}catch{}return!0}finally{Z.p=u,_.T=a,k0(e,t)}}function K0(e,t,l){t=jt(l,t),t=Zc(e.stateNode,t,2),e=zl(e,t,2),e!==null&&($n(e,2),il(e))}function Be(e,t,l){if(e.tag===3)K0(e,e,l);else for(;t!==null;){if(t.tag===3){K0(t,e,l);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Gl===null||!Gl.has(a))){e=jt(l,e),l=Wd(2),a=zl(t,l,2),a!==null&&(Id(l,a,t,e),$n(a,2),il(a));break}}t=t.return}}function ms(e,t,l){var a=e.pingCache;if(a===null){a=e.pingCache=new Cm;var u=new Set;a.set(t,u)}else u=a.get(t),u===void 0&&(u=new Set,a.set(t,u));u.has(l)||(is=!0,u.add(l),e=wm.bind(null,e,t,l),t.then(e,e))}function wm(e,t,l){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&l,e.warmLanes&=~l,Ye===e&&(De&l)===l&&(ke===4||ke===3&&(De&62914560)===De&&300>Ut()-ss?($e&2)===0&&dn(e,0):rs|=l,sn===De&&(sn=0)),il(e)}function F0(e,t){t===0&&(t=Zo()),e=Qa(e,t),e!==null&&($n(e,t),il(e))}function Nm(e){var t=e.memoizedState,l=0;t!==null&&(l=t.retryLane),F0(e,l)}function $m(e,t){var l=0;switch(e.tag){case 13:var a=e.stateNode,u=e.memoizedState;u!==null&&(l=u.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error(c(314))}a!==null&&a.delete(t),F0(e,l)}function zm(e,t){return wn(e,t)}var Li=null,hn=null,bs=!1,ji=!1,gs=!1,xa=0;function il(e){e!==hn&&e.next===null&&(hn===null?Li=hn=e:hn=hn.next=e),ji=!0,bs||(bs=!0,Vm())}function mu(e,t){if(!gs&&ji){gs=!0;do for(var l=!1,a=Li;a!==null;){if(e!==0){var u=a.pendingLanes;if(u===0)var s=0;else{var d=a.suspendedLanes,y=a.pingedLanes;s=(1<<31-qe(42|e)+1)-1,s&=u&~(d&~y),s=s&201326741?s&201326741|1:s?s|2:0}s!==0&&(l=!0,I0(a,s))}else s=De,s=na(a,a===Ye?s:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(s&3)===0||ua(a,s)||(l=!0,I0(a,s));a=a.next}while(l);gs=!1}}function Um(){P0()}function P0(){ji=bs=!1;var e=0;xa!==0&&(Zm()&&(e=xa),xa=0);for(var t=Ut(),l=null,a=Li;a!==null;){var u=a.next,s=J0(a,t);s===0?(a.next=null,l===null?Li=u:l.next=u,u===null&&(hn=l)):(l=a,(e!==0||(s&3)!==0)&&(ji=!0)),a=u}mu(e)}function J0(e,t){for(var l=e.suspendedLanes,a=e.pingedLanes,u=e.expirationTimes,s=e.pendingLanes&-62914561;0<s;){var d=31-qe(s),y=1<<d,E=u[d];E===-1?((y&l)===0||(y&a)!==0)&&(u[d]=Zu(y,t)):E<=t&&(e.expiredLanes|=y),s&=~y}if(t=Ye,l=De,l=na(e,e===t?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a=e.callbackNode,l===0||e===t&&(ze===2||ze===9)||e.cancelPendingCommit!==null)return a!==null&&a!==null&&wa(a),e.callbackNode=null,e.callbackPriority=0;if((l&3)===0||ua(e,l)){if(t=l&-l,t===e.callbackPriority)return t;switch(a!==null&&wa(a),$r(l)){case 2:case 8:l=S;break;case 32:l=N;break;case 268435456:l=le;break;default:l=N}return a=W0.bind(null,e),l=wn(l,a),e.callbackPriority=t,e.callbackNode=l,t}return a!==null&&a!==null&&wa(a),e.callbackPriority=2,e.callbackNode=null,2}function W0(e,t){if(st!==0&&st!==5)return e.callbackNode=null,e.callbackPriority=0,null;var l=e.callbackNode;if(Vi()&&e.callbackNode!==l)return null;var a=De;return a=na(e,e===Ye?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a===0?null:(z0(e,a,t),J0(e,Ut()),e.callbackNode!=null&&e.callbackNode===l?W0.bind(null,e):null)}function I0(e,t){if(Vi())return null;z0(e,t,!0)}function Vm(){km(function(){($e&6)!==0?wn(Nn,Um):P0()})}function ps(){return xa===0&&(xa=Go()),xa}function ev(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Fu(""+e)}function tv(e,t){var l=t.ownerDocument.createElement("input");return l.name=t.name,l.value=t.value,e.id&&l.setAttribute("form",e.id),t.parentNode.insertBefore(l,t),e=new FormData(e),l.parentNode.removeChild(l),e}function Lm(e,t,l,a,u){if(t==="submit"&&l&&l.stateNode===u){var s=ev((u[gt]||null).action),d=a.submitter;d&&(t=(t=d[gt]||null)?ev(t.formAction):d.getAttribute("formAction"),t!==null&&(s=t,d=null));var y=new Iu("action","action",null,a,u);e.push({event:y,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(xa!==0){var E=d?tv(u,d):new FormData(u);Hc(l,{pending:!0,data:E,method:u.method,action:s},null,E)}}else typeof s=="function"&&(y.preventDefault(),E=d?tv(u,d):new FormData(u),Hc(l,{pending:!0,data:E,method:u.method,action:s},s,E))},currentTarget:u}]})}}for(var Es=0;Es<nc.length;Es++){var Ss=nc[Es],jm=Ss.toLowerCase(),Hm=Ss[0].toUpperCase()+Ss.slice(1);Kt(jm,"on"+Hm)}Kt(zf,"onAnimationEnd"),Kt(Uf,"onAnimationIteration"),Kt(Vf,"onAnimationStart"),Kt("dblclick","onDoubleClick"),Kt("focusin","onFocus"),Kt("focusout","onBlur"),Kt(lm,"onTransitionRun"),Kt(am,"onTransitionStart"),Kt(nm,"onTransitionCancel"),Kt(Lf,"onTransitionEnd"),La("onMouseEnter",["mouseout","mouseover"]),La("onMouseLeave",["mouseout","mouseover"]),La("onPointerEnter",["pointerout","pointerover"]),La("onPointerLeave",["pointerout","pointerover"]),ia("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ia("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ia("onBeforeInput",["compositionend","keypress","textInput","paste"]),ia("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ia("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ia("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var bu="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(" "),Bm=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(bu));function lv(e,t){t=(t&4)!==0;for(var l=0;l<e.length;l++){var a=e[l],u=a.event;a=a.listeners;e:{var s=void 0;if(t)for(var d=a.length-1;0<=d;d--){var y=a[d],E=y.instance,R=y.currentTarget;if(y=y.listener,E!==s&&u.isPropagationStopped())break e;s=y,u.currentTarget=R;try{s(u)}catch(V){Ai(V)}u.currentTarget=null,s=E}else for(d=0;d<a.length;d++){if(y=a[d],E=y.instance,R=y.currentTarget,y=y.listener,E!==s&&u.isPropagationStopped())break e;s=y,u.currentTarget=R;try{s(u)}catch(V){Ai(V)}u.currentTarget=null,s=E}}}}function _e(e,t){var l=t[zr];l===void 0&&(l=t[zr]=new Set);var a=e+"__bubble";l.has(a)||(av(t,e,2,!1),l.add(a))}function xs(e,t,l){var a=0;t&&(a|=4),av(l,e,a,t)}var Hi="_reactListening"+Math.random().toString(36).slice(2);function Ts(e){if(!e[Hi]){e[Hi]=!0,Fo.forEach(function(l){l!=="selectionchange"&&(Bm.has(l)||xs(l,!1,e),xs(l,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Hi]||(t[Hi]=!0,xs("selectionchange",!1,t))}}function av(e,t,l,a){switch(Mv(t)){case 2:var u=vb;break;case 8:u=hb;break;default:u=Ls}l=u.bind(null,t,l,e),u=void 0,!Xr||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(u=!0),a?u!==void 0?e.addEventListener(t,l,{capture:!0,passive:u}):e.addEventListener(t,l,!0):u!==void 0?e.addEventListener(t,l,{passive:u}):e.addEventListener(t,l,!1)}function _s(e,t,l,a,u){var s=a;if((t&1)===0&&(t&2)===0&&a!==null)e:for(;;){if(a===null)return;var d=a.tag;if(d===3||d===4){var y=a.stateNode.containerInfo;if(y===u)break;if(d===4)for(d=a.return;d!==null;){var E=d.tag;if((E===3||E===4)&&d.stateNode.containerInfo===u)return;d=d.return}for(;y!==null;){if(d=za(y),d===null)return;if(E=d.tag,E===5||E===6||E===26||E===27){a=s=d;continue e}y=y.parentNode}}a=a.return}of(function(){var R=s,V=Gr(l),B=[];e:{var $=jf.get(e);if($!==void 0){var z=Iu,me=e;switch(e){case"keypress":if(Ju(l)===0)break e;case"keydown":case"keyup":z=zy;break;case"focusin":me="focus",z=Fr;break;case"focusout":me="blur",z=Fr;break;case"beforeblur":case"afterblur":z=Fr;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":z=vf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":z=xy;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":z=Ly;break;case zf:case Uf:case Vf:z=Ay;break;case Lf:z=Hy;break;case"scroll":case"scrollend":z=Ey;break;case"wheel":z=qy;break;case"copy":case"cut":case"paste":z=My;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":z=yf;break;case"toggle":case"beforetoggle":z=Gy}var he=(t&4)!==0,je=!he&&(e==="scroll"||e==="scrollend"),C=he?$!==null?$+"Capture":null:$;he=[];for(var T=R,O;T!==null;){var L=T;if(O=L.stateNode,L=L.tag,L!==5&&L!==26&&L!==27||O===null||C===null||(L=Vn(T,C),L!=null&&he.push(gu(T,L,O))),je)break;T=T.return}0<he.length&&($=new z($,me,null,l,V),B.push({event:$,listeners:he}))}}if((t&7)===0){e:{if($=e==="mouseover"||e==="pointerover",z=e==="mouseout"||e==="pointerout",$&&l!==Yr&&(me=l.relatedTarget||l.fromElement)&&(za(me)||me[$a]))break e;if((z||$)&&($=V.window===V?V:($=V.ownerDocument)?$.defaultView||$.parentWindow:window,z?(me=l.relatedTarget||l.toElement,z=R,me=me?za(me):null,me!==null&&(je=f(me),he=me.tag,me!==je||he!==5&&he!==27&&he!==6)&&(me=null)):(z=null,me=R),z!==me)){if(he=vf,L="onMouseLeave",C="onMouseEnter",T="mouse",(e==="pointerout"||e==="pointerover")&&(he=yf,L="onPointerLeave",C="onPointerEnter",T="pointer"),je=z==null?$:Un(z),O=me==null?$:Un(me),$=new he(L,T+"leave",z,l,V),$.target=je,$.relatedTarget=O,L=null,za(V)===R&&(he=new he(C,T+"enter",me,l,V),he.target=O,he.relatedTarget=je,L=he),je=L,z&&me)t:{for(he=z,C=me,T=0,O=he;O;O=yn(O))T++;for(O=0,L=C;L;L=yn(L))O++;for(;0<T-O;)he=yn(he),T--;for(;0<O-T;)C=yn(C),O--;for(;T--;){if(he===C||C!==null&&he===C.alternate)break t;he=yn(he),C=yn(C)}he=null}else he=null;z!==null&&nv(B,$,z,he,!1),me!==null&&je!==null&&nv(B,je,me,he,!0)}}e:{if($=R?Un(R):window,z=$.nodeName&&$.nodeName.toLowerCase(),z==="select"||z==="input"&&$.type==="file")var ie=Tf;else if(Sf($))if(_f)ie=Iy;else{ie=Jy;var xe=Py}else z=$.nodeName,!z||z.toLowerCase()!=="input"||$.type!=="checkbox"&&$.type!=="radio"?R&&qr(R.elementType)&&(ie=Tf):ie=Wy;if(ie&&(ie=ie(e,R))){xf(B,ie,l,V);break e}xe&&xe(e,$,R),e==="focusout"&&R&&$.type==="number"&&R.memoizedProps.value!=null&&Br($,"number",$.value)}switch(xe=R?Un(R):window,e){case"focusin":(Sf(xe)||xe.contentEditable==="true")&&(Za=xe,tc=R,Zn=null);break;case"focusout":Zn=tc=Za=null;break;case"mousedown":lc=!0;break;case"contextmenu":case"mouseup":case"dragend":lc=!1,Nf(B,l,V);break;case"selectionchange":if(tm)break;case"keydown":case"keyup":Nf(B,l,V)}var se;if(Jr)e:{switch(e){case"compositionstart":var ye="onCompositionStart";break e;case"compositionend":ye="onCompositionEnd";break e;case"compositionupdate":ye="onCompositionUpdate";break e}ye=void 0}else Ga?pf(e,l)&&(ye="onCompositionEnd"):e==="keydown"&&l.keyCode===229&&(ye="onCompositionStart");ye&&(mf&&l.locale!=="ko"&&(Ga||ye!=="onCompositionStart"?ye==="onCompositionEnd"&&Ga&&(se=ff()):(Rl=V,kr="value"in Rl?Rl.value:Rl.textContent,Ga=!0)),xe=Bi(R,ye),0<xe.length&&(ye=new hf(ye,e,null,l,V),B.push({event:ye,listeners:xe}),se?ye.data=se:(se=Ef(l),se!==null&&(ye.data=se)))),(se=Xy?ky(e,l):Qy(e,l))&&(ye=Bi(R,"onBeforeInput"),0<ye.length&&(xe=new hf("onBeforeInput","beforeinput",null,l,V),B.push({event:xe,listeners:ye}),xe.data=se)),Lm(B,e,R,l,V)}lv(B,t)})}function gu(e,t,l){return{instance:e,listener:t,currentTarget:l}}function Bi(e,t){for(var l=t+"Capture",a=[];e!==null;){var u=e,s=u.stateNode;if(u=u.tag,u!==5&&u!==26&&u!==27||s===null||(u=Vn(e,l),u!=null&&a.unshift(gu(e,u,s)),u=Vn(e,t),u!=null&&a.push(gu(e,u,s))),e.tag===3)return a;e=e.return}return[]}function yn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function nv(e,t,l,a,u){for(var s=t._reactName,d=[];l!==null&&l!==a;){var y=l,E=y.alternate,R=y.stateNode;if(y=y.tag,E!==null&&E===a)break;y!==5&&y!==26&&y!==27||R===null||(E=R,u?(R=Vn(l,s),R!=null&&d.unshift(gu(l,R,E))):u||(R=Vn(l,s),R!=null&&d.push(gu(l,R,E)))),l=l.return}d.length!==0&&e.push({event:t,listeners:d})}var qm=/\r\n?/g,Ym=/\u0000|\uFFFD/g;function uv(e){return(typeof e=="string"?e:""+e).replace(qm,`
`).replace(Ym,"")}function iv(e,t){return t=uv(t),uv(e)===t}function qi(){}function Le(e,t,l,a,u,s){switch(l){case"children":typeof a=="string"?t==="body"||t==="textarea"&&a===""||Ba(e,a):(typeof a=="number"||typeof a=="bigint")&&t!=="body"&&Ba(e,""+a);break;case"className":ku(e,"class",a);break;case"tabIndex":ku(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":ku(e,l,a);break;case"style":cf(e,a,s);break;case"data":if(t!=="object"){ku(e,"data",a);break}case"src":case"href":if(a===""&&(t!=="a"||l!=="href")){e.removeAttribute(l);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(l);break}a=Fu(""+a),e.setAttribute(l,a);break;case"action":case"formAction":if(typeof a=="function"){e.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof s=="function"&&(l==="formAction"?(t!=="input"&&Le(e,t,"name",u.name,u,null),Le(e,t,"formEncType",u.formEncType,u,null),Le(e,t,"formMethod",u.formMethod,u,null),Le(e,t,"formTarget",u.formTarget,u,null)):(Le(e,t,"encType",u.encType,u,null),Le(e,t,"method",u.method,u,null),Le(e,t,"target",u.target,u,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(l);break}a=Fu(""+a),e.setAttribute(l,a);break;case"onClick":a!=null&&(e.onclick=qi);break;case"onScroll":a!=null&&_e("scroll",e);break;case"onScrollEnd":a!=null&&_e("scrollend",e);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(c(61));if(l=a.__html,l!=null){if(u.children!=null)throw Error(c(60));e.innerHTML=l}}break;case"multiple":e.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":e.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){e.removeAttribute("xlink:href");break}l=Fu(""+a),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(l,""+a):e.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(l,""):e.removeAttribute(l);break;case"capture":case"download":a===!0?e.setAttribute(l,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(l,a):e.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?e.setAttribute(l,a):e.removeAttribute(l);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?e.removeAttribute(l):e.setAttribute(l,a);break;case"popover":_e("beforetoggle",e),_e("toggle",e),Xu(e,"popover",a);break;case"xlinkActuate":ol(e,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":ol(e,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":ol(e,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":ol(e,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":ol(e,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":ol(e,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":ol(e,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":ol(e,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":ol(e,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":Xu(e,"is",a);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=gy.get(l)||l,Xu(e,l,a))}}function As(e,t,l,a,u,s){switch(l){case"style":cf(e,a,s);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(c(61));if(l=a.__html,l!=null){if(u.children!=null)throw Error(c(60));e.innerHTML=l}}break;case"children":typeof a=="string"?Ba(e,a):(typeof a=="number"||typeof a=="bigint")&&Ba(e,""+a);break;case"onScroll":a!=null&&_e("scroll",e);break;case"onScrollEnd":a!=null&&_e("scrollend",e);break;case"onClick":a!=null&&(e.onclick=qi);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Po.hasOwnProperty(l))e:{if(l[0]==="o"&&l[1]==="n"&&(u=l.endsWith("Capture"),t=l.slice(2,u?l.length-7:void 0),s=e[gt]||null,s=s!=null?s[l]:null,typeof s=="function"&&e.removeEventListener(t,s,u),typeof a=="function")){typeof s!="function"&&s!==null&&(l in e?e[l]=null:e.hasAttribute(l)&&e.removeAttribute(l)),e.addEventListener(t,a,u);break e}l in e?e[l]=a:a===!0?e.setAttribute(l,""):Xu(e,l,a)}}}function ot(e,t,l){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":_e("error",e),_e("load",e);var a=!1,u=!1,s;for(s in l)if(l.hasOwnProperty(s)){var d=l[s];if(d!=null)switch(s){case"src":a=!0;break;case"srcSet":u=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(c(137,t));default:Le(e,t,s,d,l,null)}}u&&Le(e,t,"srcSet",l.srcSet,l,null),a&&Le(e,t,"src",l.src,l,null);return;case"input":_e("invalid",e);var y=s=d=u=null,E=null,R=null;for(a in l)if(l.hasOwnProperty(a)){var V=l[a];if(V!=null)switch(a){case"name":u=V;break;case"type":d=V;break;case"checked":E=V;break;case"defaultChecked":R=V;break;case"value":s=V;break;case"defaultValue":y=V;break;case"children":case"dangerouslySetInnerHTML":if(V!=null)throw Error(c(137,t));break;default:Le(e,t,a,V,l,null)}}af(e,s,y,E,R,d,u,!1),Qu(e);return;case"select":_e("invalid",e),a=d=s=null;for(u in l)if(l.hasOwnProperty(u)&&(y=l[u],y!=null))switch(u){case"value":s=y;break;case"defaultValue":d=y;break;case"multiple":a=y;default:Le(e,t,u,y,l,null)}t=s,l=d,e.multiple=!!a,t!=null?Ha(e,!!a,t,!1):l!=null&&Ha(e,!!a,l,!0);return;case"textarea":_e("invalid",e),s=u=a=null;for(d in l)if(l.hasOwnProperty(d)&&(y=l[d],y!=null))switch(d){case"value":a=y;break;case"defaultValue":u=y;break;case"children":s=y;break;case"dangerouslySetInnerHTML":if(y!=null)throw Error(c(91));break;default:Le(e,t,d,y,l,null)}uf(e,a,u,s),Qu(e);return;case"option":for(E in l)if(l.hasOwnProperty(E)&&(a=l[E],a!=null))switch(E){case"selected":e.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:Le(e,t,E,a,l,null)}return;case"dialog":_e("beforetoggle",e),_e("toggle",e),_e("cancel",e),_e("close",e);break;case"iframe":case"object":_e("load",e);break;case"video":case"audio":for(a=0;a<bu.length;a++)_e(bu[a],e);break;case"image":_e("error",e),_e("load",e);break;case"details":_e("toggle",e);break;case"embed":case"source":case"link":_e("error",e),_e("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(R in l)if(l.hasOwnProperty(R)&&(a=l[R],a!=null))switch(R){case"children":case"dangerouslySetInnerHTML":throw Error(c(137,t));default:Le(e,t,R,a,l,null)}return;default:if(qr(t)){for(V in l)l.hasOwnProperty(V)&&(a=l[V],a!==void 0&&As(e,t,V,a,l,void 0));return}}for(y in l)l.hasOwnProperty(y)&&(a=l[y],a!=null&&Le(e,t,y,a,l,null))}function Gm(e,t,l,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var u=null,s=null,d=null,y=null,E=null,R=null,V=null;for(z in l){var B=l[z];if(l.hasOwnProperty(z)&&B!=null)switch(z){case"checked":break;case"value":break;case"defaultValue":E=B;default:a.hasOwnProperty(z)||Le(e,t,z,null,a,B)}}for(var $ in a){var z=a[$];if(B=l[$],a.hasOwnProperty($)&&(z!=null||B!=null))switch($){case"type":s=z;break;case"name":u=z;break;case"checked":R=z;break;case"defaultChecked":V=z;break;case"value":d=z;break;case"defaultValue":y=z;break;case"children":case"dangerouslySetInnerHTML":if(z!=null)throw Error(c(137,t));break;default:z!==B&&Le(e,t,$,z,a,B)}}Hr(e,d,y,E,R,V,s,u);return;case"select":z=d=y=$=null;for(s in l)if(E=l[s],l.hasOwnProperty(s)&&E!=null)switch(s){case"value":break;case"multiple":z=E;default:a.hasOwnProperty(s)||Le(e,t,s,null,a,E)}for(u in a)if(s=a[u],E=l[u],a.hasOwnProperty(u)&&(s!=null||E!=null))switch(u){case"value":$=s;break;case"defaultValue":y=s;break;case"multiple":d=s;default:s!==E&&Le(e,t,u,s,a,E)}t=y,l=d,a=z,$!=null?Ha(e,!!l,$,!1):!!a!=!!l&&(t!=null?Ha(e,!!l,t,!0):Ha(e,!!l,l?[]:"",!1));return;case"textarea":z=$=null;for(y in l)if(u=l[y],l.hasOwnProperty(y)&&u!=null&&!a.hasOwnProperty(y))switch(y){case"value":break;case"children":break;default:Le(e,t,y,null,a,u)}for(d in a)if(u=a[d],s=l[d],a.hasOwnProperty(d)&&(u!=null||s!=null))switch(d){case"value":$=u;break;case"defaultValue":z=u;break;case"children":break;case"dangerouslySetInnerHTML":if(u!=null)throw Error(c(91));break;default:u!==s&&Le(e,t,d,u,a,s)}nf(e,$,z);return;case"option":for(var me in l)if($=l[me],l.hasOwnProperty(me)&&$!=null&&!a.hasOwnProperty(me))switch(me){case"selected":e.selected=!1;break;default:Le(e,t,me,null,a,$)}for(E in a)if($=a[E],z=l[E],a.hasOwnProperty(E)&&$!==z&&($!=null||z!=null))switch(E){case"selected":e.selected=$&&typeof $!="function"&&typeof $!="symbol";break;default:Le(e,t,E,$,a,z)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var he in l)$=l[he],l.hasOwnProperty(he)&&$!=null&&!a.hasOwnProperty(he)&&Le(e,t,he,null,a,$);for(R in a)if($=a[R],z=l[R],a.hasOwnProperty(R)&&$!==z&&($!=null||z!=null))switch(R){case"children":case"dangerouslySetInnerHTML":if($!=null)throw Error(c(137,t));break;default:Le(e,t,R,$,a,z)}return;default:if(qr(t)){for(var je in l)$=l[je],l.hasOwnProperty(je)&&$!==void 0&&!a.hasOwnProperty(je)&&As(e,t,je,void 0,a,$);for(V in a)$=a[V],z=l[V],!a.hasOwnProperty(V)||$===z||$===void 0&&z===void 0||As(e,t,V,$,a,z);return}}for(var C in l)$=l[C],l.hasOwnProperty(C)&&$!=null&&!a.hasOwnProperty(C)&&Le(e,t,C,null,a,$);for(B in a)$=a[B],z=l[B],!a.hasOwnProperty(B)||$===z||$==null&&z==null||Le(e,t,B,$,a,z)}var Cs=null,Ms=null;function Yi(e){return e.nodeType===9?e:e.ownerDocument}function rv(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function cv(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function Os(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Ds=null;function Zm(){var e=window.event;return e&&e.type==="popstate"?e===Ds?!1:(Ds=e,!0):(Ds=null,!1)}var sv=typeof setTimeout=="function"?setTimeout:void 0,Xm=typeof clearTimeout=="function"?clearTimeout:void 0,ov=typeof Promise=="function"?Promise:void 0,km=typeof queueMicrotask=="function"?queueMicrotask:typeof ov<"u"?function(e){return ov.resolve(null).then(e).catch(Qm)}:sv;function Qm(e){setTimeout(function(){throw e})}function kl(e){return e==="head"}function fv(e,t){var l=t,a=0,u=0;do{var s=l.nextSibling;if(e.removeChild(l),s&&s.nodeType===8)if(l=s.data,l==="/$"){if(0<a&&8>a){l=a;var d=e.ownerDocument;if(l&1&&pu(d.documentElement),l&2&&pu(d.body),l&4)for(l=d.head,pu(l),d=l.firstChild;d;){var y=d.nextSibling,E=d.nodeName;d[zn]||E==="SCRIPT"||E==="STYLE"||E==="LINK"&&d.rel.toLowerCase()==="stylesheet"||l.removeChild(d),d=y}}if(u===0){e.removeChild(s),Mu(t);return}u--}else l==="$"||l==="$?"||l==="$!"?u++:a=l.charCodeAt(0)-48;else a=0;l=s}while(l);Mu(t)}function Rs(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var l=t;switch(t=t.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":Rs(l),Ur(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}e.removeChild(l)}}function Km(e,t,l,a){for(;e.nodeType===1;){var u=l;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(a){if(!e[zn])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(s=e.getAttribute("rel"),s==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(s!==u.rel||e.getAttribute("href")!==(u.href==null||u.href===""?null:u.href)||e.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin)||e.getAttribute("title")!==(u.title==null?null:u.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(s=e.getAttribute("src"),(s!==(u.src==null?null:u.src)||e.getAttribute("type")!==(u.type==null?null:u.type)||e.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin))&&s&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var s=u.name==null?null:""+u.name;if(u.type==="hidden"&&e.getAttribute("name")===s)return e}else return e;if(e=Pt(e.nextSibling),e===null)break}return null}function Fm(e,t,l){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!l||(e=Pt(e.nextSibling),e===null))return null;return e}function ws(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState==="complete"}function Pm(e,t){var l=e.ownerDocument;if(e.data!=="$?"||l.readyState==="complete")t();else{var a=function(){t(),l.removeEventListener("DOMContentLoaded",a)};l.addEventListener("DOMContentLoaded",a),e._reactRetry=a}}function Pt(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==="$?"||t==="F!"||t==="F")break;if(t==="/$")return null}}return e}var Ns=null;function dv(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var l=e.data;if(l==="$"||l==="$!"||l==="$?"){if(t===0)return e;t--}else l==="/$"&&t++}e=e.previousSibling}return null}function vv(e,t,l){switch(t=Yi(l),e){case"html":if(e=t.documentElement,!e)throw Error(c(452));return e;case"head":if(e=t.head,!e)throw Error(c(453));return e;case"body":if(e=t.body,!e)throw Error(c(454));return e;default:throw Error(c(451))}}function pu(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Ur(e)}var Zt=new Map,hv=new Set;function Gi(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var _l=Z.d;Z.d={f:Jm,r:Wm,D:Im,C:eb,L:tb,m:lb,X:nb,S:ab,M:ub};function Jm(){var e=_l.f(),t=zi();return e||t}function Wm(e){var t=Ua(e);t!==null&&t.tag===5&&t.type==="form"?zd(t):_l.r(e)}var mn=typeof document>"u"?null:document;function yv(e,t,l){var a=mn;if(a&&typeof t=="string"&&t){var u=Lt(t);u='link[rel="'+e+'"][href="'+u+'"]',typeof l=="string"&&(u+='[crossorigin="'+l+'"]'),hv.has(u)||(hv.add(u),e={rel:e,crossOrigin:l,href:t},a.querySelector(u)===null&&(t=a.createElement("link"),ot(t,"link",e),at(t),a.head.appendChild(t)))}}function Im(e){_l.D(e),yv("dns-prefetch",e,null)}function eb(e,t){_l.C(e,t),yv("preconnect",e,t)}function tb(e,t,l){_l.L(e,t,l);var a=mn;if(a&&e&&t){var u='link[rel="preload"][as="'+Lt(t)+'"]';t==="image"&&l&&l.imageSrcSet?(u+='[imagesrcset="'+Lt(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(u+='[imagesizes="'+Lt(l.imageSizes)+'"]')):u+='[href="'+Lt(e)+'"]';var s=u;switch(t){case"style":s=bn(e);break;case"script":s=gn(e)}Zt.has(s)||(e=p({rel:"preload",href:t==="image"&&l&&l.imageSrcSet?void 0:e,as:t},l),Zt.set(s,e),a.querySelector(u)!==null||t==="style"&&a.querySelector(Eu(s))||t==="script"&&a.querySelector(Su(s))||(t=a.createElement("link"),ot(t,"link",e),at(t),a.head.appendChild(t)))}}function lb(e,t){_l.m(e,t);var l=mn;if(l&&e){var a=t&&typeof t.as=="string"?t.as:"script",u='link[rel="modulepreload"][as="'+Lt(a)+'"][href="'+Lt(e)+'"]',s=u;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":s=gn(e)}if(!Zt.has(s)&&(e=p({rel:"modulepreload",href:e},t),Zt.set(s,e),l.querySelector(u)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(Su(s)))return}a=l.createElement("link"),ot(a,"link",e),at(a),l.head.appendChild(a)}}}function ab(e,t,l){_l.S(e,t,l);var a=mn;if(a&&e){var u=Va(a).hoistableStyles,s=bn(e);t=t||"default";var d=u.get(s);if(!d){var y={loading:0,preload:null};if(d=a.querySelector(Eu(s)))y.loading=5;else{e=p({rel:"stylesheet",href:e,"data-precedence":t},l),(l=Zt.get(s))&&$s(e,l);var E=d=a.createElement("link");at(E),ot(E,"link",e),E._p=new Promise(function(R,V){E.onload=R,E.onerror=V}),E.addEventListener("load",function(){y.loading|=1}),E.addEventListener("error",function(){y.loading|=2}),y.loading|=4,Zi(d,t,a)}d={type:"stylesheet",instance:d,count:1,state:y},u.set(s,d)}}}function nb(e,t){_l.X(e,t);var l=mn;if(l&&e){var a=Va(l).hoistableScripts,u=gn(e),s=a.get(u);s||(s=l.querySelector(Su(u)),s||(e=p({src:e,async:!0},t),(t=Zt.get(u))&&zs(e,t),s=l.createElement("script"),at(s),ot(s,"link",e),l.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},a.set(u,s))}}function ub(e,t){_l.M(e,t);var l=mn;if(l&&e){var a=Va(l).hoistableScripts,u=gn(e),s=a.get(u);s||(s=l.querySelector(Su(u)),s||(e=p({src:e,async:!0,type:"module"},t),(t=Zt.get(u))&&zs(e,t),s=l.createElement("script"),at(s),ot(s,"link",e),l.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},a.set(u,s))}}function mv(e,t,l,a){var u=(u=be.current)?Gi(u):null;if(!u)throw Error(c(446));switch(e){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(t=bn(l.href),l=Va(u).hoistableStyles,a=l.get(t),a||(a={type:"style",instance:null,count:0,state:null},l.set(t,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){e=bn(l.href);var s=Va(u).hoistableStyles,d=s.get(e);if(d||(u=u.ownerDocument||u,d={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},s.set(e,d),(s=u.querySelector(Eu(e)))&&!s._p&&(d.instance=s,d.state.loading=5),Zt.has(e)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},Zt.set(e,l),s||ib(u,e,l,d.state))),t&&a===null)throw Error(c(528,""));return d}if(t&&a!==null)throw Error(c(529,""));return null;case"script":return t=l.async,l=l.src,typeof l=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=gn(l),l=Va(u).hoistableScripts,a=l.get(t),a||(a={type:"script",instance:null,count:0,state:null},l.set(t,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(c(444,e))}}function bn(e){return'href="'+Lt(e)+'"'}function Eu(e){return'link[rel="stylesheet"]['+e+"]"}function bv(e){return p({},e,{"data-precedence":e.precedence,precedence:null})}function ib(e,t,l,a){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=1:(t=e.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=1}),t.addEventListener("error",function(){return a.loading|=2}),ot(t,"link",l),at(t),e.head.appendChild(t))}function gn(e){return'[src="'+Lt(e)+'"]'}function Su(e){return"script[async]"+e}function gv(e,t,l){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+Lt(l.href)+'"]');if(a)return t.instance=a,at(a),a;var u=p({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),at(a),ot(a,"style",u),Zi(a,l.precedence,e),t.instance=a;case"stylesheet":u=bn(l.href);var s=e.querySelector(Eu(u));if(s)return t.state.loading|=4,t.instance=s,at(s),s;a=bv(l),(u=Zt.get(u))&&$s(a,u),s=(e.ownerDocument||e).createElement("link"),at(s);var d=s;return d._p=new Promise(function(y,E){d.onload=y,d.onerror=E}),ot(s,"link",a),t.state.loading|=4,Zi(s,l.precedence,e),t.instance=s;case"script":return s=gn(l.src),(u=e.querySelector(Su(s)))?(t.instance=u,at(u),u):(a=l,(u=Zt.get(s))&&(a=p({},l),zs(a,u)),e=e.ownerDocument||e,u=e.createElement("script"),at(u),ot(u,"link",a),e.head.appendChild(u),t.instance=u);case"void":return null;default:throw Error(c(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,Zi(a,l.precedence,e));return t.instance}function Zi(e,t,l){for(var a=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),u=a.length?a[a.length-1]:null,s=u,d=0;d<a.length;d++){var y=a[d];if(y.dataset.precedence===t)s=y;else if(s!==u)break}s?s.parentNode.insertBefore(e,s.nextSibling):(t=l.nodeType===9?l.head:l,t.insertBefore(e,t.firstChild))}function $s(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function zs(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Xi=null;function pv(e,t,l){if(Xi===null){var a=new Map,u=Xi=new Map;u.set(l,a)}else u=Xi,a=u.get(l),a||(a=new Map,u.set(l,a));if(a.has(e))return a;for(a.set(e,null),l=l.getElementsByTagName(e),u=0;u<l.length;u++){var s=l[u];if(!(s[zn]||s[ft]||e==="link"&&s.getAttribute("rel")==="stylesheet")&&s.namespaceURI!=="http://www.w3.org/2000/svg"){var d=s.getAttribute(t)||"";d=e+d;var y=a.get(d);y?y.push(s):a.set(d,[s])}}return a}function Ev(e,t,l){e=e.ownerDocument||e,e.head.insertBefore(l,t==="title"?e.querySelector("head > title"):null)}function rb(e,t,l){if(l===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function Sv(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}var xu=null;function cb(){}function sb(e,t,l){if(xu===null)throw Error(c(475));var a=xu;if(t.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(t.state.loading&4)===0){if(t.instance===null){var u=bn(l.href),s=e.querySelector(Eu(u));if(s){e=s._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(a.count++,a=ki.bind(a),e.then(a,a)),t.state.loading|=4,t.instance=s,at(s);return}s=e.ownerDocument||e,l=bv(l),(u=Zt.get(u))&&$s(l,u),s=s.createElement("link"),at(s);var d=s;d._p=new Promise(function(y,E){d.onload=y,d.onerror=E}),ot(s,"link",l),t.instance=s}a.stylesheets===null&&(a.stylesheets=new Map),a.stylesheets.set(t,e),(e=t.state.preload)&&(t.state.loading&3)===0&&(a.count++,t=ki.bind(a),e.addEventListener("load",t),e.addEventListener("error",t))}}function ob(){if(xu===null)throw Error(c(475));var e=xu;return e.stylesheets&&e.count===0&&Us(e,e.stylesheets),0<e.count?function(t){var l=setTimeout(function(){if(e.stylesheets&&Us(e,e.stylesheets),e.unsuspend){var a=e.unsuspend;e.unsuspend=null,a()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(l)}}:null}function ki(){if(this.count--,this.count===0){if(this.stylesheets)Us(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Qi=null;function Us(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Qi=new Map,t.forEach(fb,e),Qi=null,ki.call(e))}function fb(e,t){if(!(t.state.loading&4)){var l=Qi.get(e);if(l)var a=l.get(null);else{l=new Map,Qi.set(e,l);for(var u=e.querySelectorAll("link[data-precedence],style[data-precedence]"),s=0;s<u.length;s++){var d=u[s];(d.nodeName==="LINK"||d.getAttribute("media")!=="not all")&&(l.set(d.dataset.precedence,d),a=d)}a&&l.set(null,a)}u=t.instance,d=u.getAttribute("data-precedence"),s=l.get(d)||a,s===a&&l.set(null,u),l.set(d,u),this.count++,a=ki.bind(this),u.addEventListener("load",a),u.addEventListener("error",a),s?s.parentNode.insertBefore(u,s.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(u,e.firstChild)),t.state.loading|=4}}var Tu={$$typeof:X,Provider:null,Consumer:null,_currentValue:ae,_currentValue2:ae,_threadCount:0};function db(e,t,l,a,u,s,d,y){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=wr(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=wr(0),this.hiddenUpdates=wr(null),this.identifierPrefix=a,this.onUncaughtError=u,this.onCaughtError=s,this.onRecoverableError=d,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=y,this.incompleteTransitions=new Map}function xv(e,t,l,a,u,s,d,y,E,R,V,B){return e=new db(e,t,l,d,y,E,R,B),t=1,s===!0&&(t|=24),s=Ct(3,null,null,t),e.current=s,s.stateNode=e,t=mc(),t.refCount++,e.pooledCache=t,t.refCount++,s.memoizedState={element:a,isDehydrated:l,cache:t},Ec(s),e}function Tv(e){return e?(e=Ka,e):Ka}function _v(e,t,l,a,u,s){u=Tv(u),a.context===null?a.context=u:a.pendingContext=u,a=$l(t),a.payload={element:l},s=s===void 0?null:s,s!==null&&(a.callback=s),l=zl(e,a,t),l!==null&&(wt(l,e,t),In(l,e,t))}function Av(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var l=e.retryLane;e.retryLane=l!==0&&l<t?l:t}}function Vs(e,t){Av(e,t),(e=e.alternate)&&Av(e,t)}function Cv(e){if(e.tag===13){var t=Qa(e,67108864);t!==null&&wt(t,e,67108864),Vs(e,67108864)}}var Ki=!0;function vb(e,t,l,a){var u=_.T;_.T=null;var s=Z.p;try{Z.p=2,Ls(e,t,l,a)}finally{Z.p=s,_.T=u}}function hb(e,t,l,a){var u=_.T;_.T=null;var s=Z.p;try{Z.p=8,Ls(e,t,l,a)}finally{Z.p=s,_.T=u}}function Ls(e,t,l,a){if(Ki){var u=js(a);if(u===null)_s(e,t,a,Fi,l),Ov(e,a);else if(mb(u,e,t,l,a))a.stopPropagation();else if(Ov(e,a),t&4&&-1<yb.indexOf(e)){for(;u!==null;){var s=Ua(u);if(s!==null)switch(s.tag){case 3:if(s=s.stateNode,s.current.memoizedState.isDehydrated){var d=sl(s.pendingLanes);if(d!==0){var y=s;for(y.pendingLanes|=2,y.entangledLanes|=2;d;){var E=1<<31-qe(d);y.entanglements[1]|=E,d&=~E}il(s),($e&6)===0&&(Ni=Ut()+500,mu(0))}}break;case 13:y=Qa(s,2),y!==null&&wt(y,s,2),zi(),Vs(s,2)}if(s=js(a),s===null&&_s(e,t,a,Fi,l),s===u)break;u=s}u!==null&&a.stopPropagation()}else _s(e,t,a,null,l)}}function js(e){return e=Gr(e),Hs(e)}var Fi=null;function Hs(e){if(Fi=null,e=za(e),e!==null){var t=f(e);if(t===null)e=null;else{var l=t.tag;if(l===13){if(e=v(t),e!==null)return e;e=null}else if(l===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Fi=e,null}function Mv(e){switch(e){case"beforetoggle":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"toggle":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 2;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Yo()){case Nn:return 2;case S:return 8;case N:case U:return 32;case le:return 268435456;default:return 32}default:return 32}}var Bs=!1,Ql=null,Kl=null,Fl=null,_u=new Map,Au=new Map,Pl=[],yb="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".split(" ");function Ov(e,t){switch(e){case"focusin":case"focusout":Ql=null;break;case"dragenter":case"dragleave":Kl=null;break;case"mouseover":case"mouseout":Fl=null;break;case"pointerover":case"pointerout":_u.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Au.delete(t.pointerId)}}function Cu(e,t,l,a,u,s){return e===null||e.nativeEvent!==s?(e={blockedOn:t,domEventName:l,eventSystemFlags:a,nativeEvent:s,targetContainers:[u]},t!==null&&(t=Ua(t),t!==null&&Cv(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,u!==null&&t.indexOf(u)===-1&&t.push(u),e)}function mb(e,t,l,a,u){switch(t){case"focusin":return Ql=Cu(Ql,e,t,l,a,u),!0;case"dragenter":return Kl=Cu(Kl,e,t,l,a,u),!0;case"mouseover":return Fl=Cu(Fl,e,t,l,a,u),!0;case"pointerover":var s=u.pointerId;return _u.set(s,Cu(_u.get(s)||null,e,t,l,a,u)),!0;case"gotpointercapture":return s=u.pointerId,Au.set(s,Cu(Au.get(s)||null,e,t,l,a,u)),!0}return!1}function Dv(e){var t=za(e.target);if(t!==null){var l=f(t);if(l!==null){if(t=l.tag,t===13){if(t=v(l),t!==null){e.blockedOn=t,sy(e.priority,function(){if(l.tag===13){var a=Rt();a=Nr(a);var u=Qa(l,a);u!==null&&wt(u,l,a),Vs(l,a)}});return}}else if(t===3&&l.stateNode.current.memoizedState.isDehydrated){e.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Pi(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var l=js(e.nativeEvent);if(l===null){l=e.nativeEvent;var a=new l.constructor(l.type,l);Yr=a,l.target.dispatchEvent(a),Yr=null}else return t=Ua(l),t!==null&&Cv(t),e.blockedOn=l,!1;t.shift()}return!0}function Rv(e,t,l){Pi(e)&&l.delete(t)}function bb(){Bs=!1,Ql!==null&&Pi(Ql)&&(Ql=null),Kl!==null&&Pi(Kl)&&(Kl=null),Fl!==null&&Pi(Fl)&&(Fl=null),_u.forEach(Rv),Au.forEach(Rv)}function Ji(e,t){e.blockedOn===t&&(e.blockedOn=null,Bs||(Bs=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,bb)))}var Wi=null;function wv(e){Wi!==e&&(Wi=e,n.unstable_scheduleCallback(n.unstable_NormalPriority,function(){Wi===e&&(Wi=null);for(var t=0;t<e.length;t+=3){var l=e[t],a=e[t+1],u=e[t+2];if(typeof a!="function"){if(Hs(a||l)===null)continue;break}var s=Ua(l);s!==null&&(e.splice(t,3),t-=3,Hc(s,{pending:!0,data:u,method:l.method,action:a},a,u))}}))}function Mu(e){function t(E){return Ji(E,e)}Ql!==null&&Ji(Ql,e),Kl!==null&&Ji(Kl,e),Fl!==null&&Ji(Fl,e),_u.forEach(t),Au.forEach(t);for(var l=0;l<Pl.length;l++){var a=Pl[l];a.blockedOn===e&&(a.blockedOn=null)}for(;0<Pl.length&&(l=Pl[0],l.blockedOn===null);)Dv(l),l.blockedOn===null&&Pl.shift();if(l=(e.ownerDocument||e).$$reactFormReplay,l!=null)for(a=0;a<l.length;a+=3){var u=l[a],s=l[a+1],d=u[gt]||null;if(typeof s=="function")d||wv(l);else if(d){var y=null;if(s&&s.hasAttribute("formAction")){if(u=s,d=s[gt]||null)y=d.formAction;else if(Hs(u)!==null)continue}else y=d.action;typeof y=="function"?l[a+1]=y:(l.splice(a,3),a-=3),wv(l)}}}function qs(e){this._internalRoot=e}Ii.prototype.render=qs.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(c(409));var l=t.current,a=Rt();_v(l,a,e,t,null,null)},Ii.prototype.unmount=qs.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;_v(e.current,2,null,e,null,null),zi(),t[$a]=null}};function Ii(e){this._internalRoot=e}Ii.prototype.unstable_scheduleHydration=function(e){if(e){var t=Qo();e={blockedOn:null,target:e,priority:t};for(var l=0;l<Pl.length&&t!==0&&t<Pl[l].priority;l++);Pl.splice(l,0,e),l===0&&Dv(e)}};var Nv=i.version;if(Nv!=="19.1.2")throw Error(c(527,Nv,"19.1.2"));Z.findDOMNode=function(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=b(t),e=e!==null?m(e):null,e=e===null?null:e.stateNode,e};var gb={bundleType:0,version:"19.1.2",rendererPackageName:"react-dom",currentDispatcherRef:_,reconcilerVersion:"19.1.2"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var er=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!er.isDisabled&&er.supportsFiber)try{ce=er.inject(gb),pe=er}catch{}}return Du.createRoot=function(e,t){if(!o(e))throw Error(c(299));var l=!1,a="",u=Kd,s=Fd,d=Pd,y=null;return t!=null&&(t.unstable_strictMode===!0&&(l=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(u=t.onUncaughtError),t.onCaughtError!==void 0&&(s=t.onCaughtError),t.onRecoverableError!==void 0&&(d=t.onRecoverableError),t.unstable_transitionCallbacks!==void 0&&(y=t.unstable_transitionCallbacks)),t=xv(e,1,!1,null,null,l,a,u,s,d,y,null),e[$a]=t.current,Ts(e),new qs(t)},Du.hydrateRoot=function(e,t,l){if(!o(e))throw Error(c(299));var a=!1,u="",s=Kd,d=Fd,y=Pd,E=null,R=null;return l!=null&&(l.unstable_strictMode===!0&&(a=!0),l.identifierPrefix!==void 0&&(u=l.identifierPrefix),l.onUncaughtError!==void 0&&(s=l.onUncaughtError),l.onCaughtError!==void 0&&(d=l.onCaughtError),l.onRecoverableError!==void 0&&(y=l.onRecoverableError),l.unstable_transitionCallbacks!==void 0&&(E=l.unstable_transitionCallbacks),l.formState!==void 0&&(R=l.formState)),t=xv(e,1,!0,t,l??null,a,u,s,d,y,E,R),t.context=Tv(null),l=t.current,a=Rt(),a=Nr(a),u=$l(a),u.callback=null,zl(l,u,a),l=a,t.current.lanes=l,$n(t,l),il(t),e[$a]=t.current,Ts(e),new Ii(t)},Du.version="19.1.2",Du}var Yv;function Nb(){if(Yv)return Zs.exports;Yv=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(i){console.error(i)}}return n(),Zs.exports=wb(),Zs.exports}var $b=Nb();const W3=pr($b);function U1(n){var i,r,c="";if(typeof n=="string"||typeof n=="number")c+=n;else if(typeof n=="object")if(Array.isArray(n))for(i=0;i<n.length;i++)n[i]&&(r=U1(n[i]))&&(c&&(c+=" "),c+=r);else for(i in n)n[i]&&(c&&(c+=" "),c+=i);return c}function zb(){for(var n,i,r=0,c="";r<arguments.length;)(n=arguments[r++])&&(i=U1(n))&&(c&&(c+=" "),c+=i);return c}const Gv=n=>typeof n=="boolean"?"".concat(n):n===0?"0":n,Ub=n=>{const i=function(){for(var o=arguments.length,f=new Array(o),v=0;v<o;v++)f[v]=arguments[v];return zb(f)};return{compose:function(){for(var o=arguments.length,f=new Array(o),v=0;v<o;v++)f[v]=arguments[v];return h=>{const b=Object.fromEntries(Object.entries(h||{}).filter(m=>{let[p]=m;return!["class","className"].includes(p)}));return i(f.map(m=>m(b)),h?.class,h?.className)}},cva:o=>f=>{var v;if(o?.variants==null)return i(o?.base,f?.class,f?.className);const{variants:h,defaultVariants:b}=o,m=Object.keys(h).map(D=>{const q=f?.[D],K=b?.[D],w=Gv(q)||Gv(K);return h[D][w]}),p={...b,...f&&Object.entries(f).reduce((D,q)=>{let[K,w]=q;return typeof w>"u"?D:{...D,[K]:w}},{})},M=o==null||(v=o.compoundVariants)===null||v===void 0?void 0:v.reduce((D,q)=>{let{class:K,className:w,...H}=q;return Object.entries(H).every(W=>{let[G,X]=W;const J=p[G];return Array.isArray(X)?X.includes(J):J===X})?[...D,K,w]:D},[]);return i(o?.base,m,M,f?.class,f?.className)},cx:i}},{cva:qu,cx:Vb}=Ub(),V1=g.createContext({link:"a"});function I3(n){return A.jsx(V1.Provider,{value:n.config,children:n.children})}const Lb=()=>g.useContext(V1);function jb(n,i){const{size:r="40",variant:c="primary",onPress:o,...f}=n,{link:v}=Lb(),h=typeof n.href=="string"&&n.href.startsWith("http"),b=h?"a":n.href?v:"button",m=n.href?{href:n.href,...h&&{target:"_blank",rel:"noopener noreferrer"}}:{};if("icon"in f){const{icon:K,...w}=f;return A.jsx(b,{onClick:o,...w,...m,ref:i,className:Zv({variant:c,size:r,iconOnly:!0}),children:g.cloneElement(K,{className:Ks({size:r,variant:c,iconOnly:!0})})})}const{children:p,iconBefore:M,iconAfter:D,...q}=f;return A.jsxs(b,{onClick:o,...q,...m,ref:i,className:Zv({variant:c,size:r}),children:[M&&A.jsx("span",{className:Ks({size:r,placement:"before",variant:c}),children:M}),A.jsx("span",{className:"whitespace-nowrap",children:p}),D&&A.jsx("span",{className:Ks({size:r,placement:"after",variant:c}),children:D})]})}const Zv=qu({base:["inline-flex shrink-0 cursor-pointer select-none items-center justify-center gap-1 text-center font-medium transition-all","outline-none focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-customisation-50 focus-visible:ring-offset-2 dark:focus-visible:ring-offset-neutral-100","disabled:pointer-events-none disabled:cursor-default disabled:opacity-[.3]"],variants:{variant:{primary:["pressed:bg-customisation-60/[.9] bg-customisation-50 text-white-100 hover:bg-customisation-60","dark:pressed:bg-customisation-50/[.9] dark:bg-customisation-60 dark:hover:bg-customisation-50"],positive:["bg-success-50 text-white-100 hover:bg-success-60 focus-visible:ring-success-50","dark:bg-success-60 dark:hover:bg-success-50 dark:pressed:bg-success-50/[.9]"],grey:["bg-neutral-10 text-neutral-100 hover:bg-neutral-20 focus-visible:ring-neutral-80 pressed:bg-neutral-30","dark:bg-neutral-80 dark:text-white-100 dark:hover:bg-neutral-60 dark:pressed:bg-neutral-50"],darkGrey:["bg-neutral-20 text-neutral-100 hover:bg-neutral-30 focus-visible:ring-neutral-80 pressed:bg-neutral-40","dark:bg-neutral-90 dark:text-white-100 dark:hover:bg-neutral-60 dark:pressed:bg-neutral-50"],outline:["border border-neutral-30 text-neutral-100 hover:border-neutral-40 focus-visible:ring-neutral-80 pressed:border-neutral-50 disabled:border-neutral-20","blur:border-neutral-80/10 blur:hover:border-neutral-80/20","dark:border-neutral-70 dark:text-white-100 dark:hover:border-neutral-60 dark:focus-visible:ring-neutral-80 dark:pressed:border-neutral-50 dark:disabled:border-neutral-80","blur:dark:border-white-10 blur:dark:hover:border-white-20"],ghost:["text-neutral-100 hover:bg-neutral-10 pressed:bg-neutral-20","dark:text-white-100 dark:hover:bg-neutral-80 dark:pressed:bg-neutral-70"],danger:["bg-danger-50 text-white-100 hover:bg-danger-60 focus-visible:ring-danger-50 pressed:bg-danger-60/[.9]","dark:bg-danger-60 dark:hover:bg-danger-50 dark:pressed:bg-danger-50/[.9]"]},size:{40:"h-[40px] rounded-12 px-4 text-15",32:"h-[32px] rounded-10 px-3 text-15",24:"h-[24px] rounded-8 px-2 text-13"},iconOnly:{true:"aspect-square !px-0"}}}),Ks=qu({base:["shrink-0","[&>svg]:size-full"],variants:{variant:{primary:["text-blur-white/70"],positive:["text-blur-white/70"],grey:["text-neutral-50","blur:text-neutral-80/40","dark:text-neutral-40","blur:dark:text-white-40"],darkGrey:["text-neutral-40"],outline:["text-neutral-50","blur:text-neutral-80/40","dark:text-neutral-40","blur:dark:text-white-40"],ghost:["text-neutral-50"],danger:["text-blur-white/70"]},placement:{before:"",after:""},size:{40:"size-5",32:"size-5",24:"size-3"},iconOnly:{true:""}},compoundVariants:[{size:["40","32"],placement:"before",className:"-ml-1"},{size:["40","32"],placement:"after",className:"-mr-1"},{size:"24",placement:"before",className:"-ml-0.5"},{size:"24",placement:"after",className:"-mr-0.5"},{variant:"grey",iconOnly:!0,className:"!text-neutral-100 dark:!text-white-100"},{variant:"outline",iconOnly:!0,className:"!text-neutral-100 dark:!text-white-100"},{variant:"darkGrey",iconOnly:!0,className:"!text-neutral-100 dark:!text-white-100"},{variant:"ghost",iconOnly:!0,className:"!text-neutral-100 dark:!text-white-100"},{variant:"primary",iconOnly:!0,className:"!text-white-100"},{variant:"positive",iconOnly:!0,className:"!text-white-100"},{variant:"danger",iconOnly:!0,className:"!text-white-100"}]}),Xv=g.forwardRef(jb);function kv(n,i){if(typeof n=="function")return n(i);n!=null&&(n.current=i)}function L1(...n){return i=>{let r=!1;const c=n.map(o=>{const f=kv(o,i);return!r&&typeof f=="function"&&(r=!0),f});if(r)return()=>{for(let o=0;o<c.length;o++){const f=c[o];typeof f=="function"?f():kv(n[o],null)}}}}function Ma(...n){return g.useCallback(L1(...n),n)}function Hb(n,i){const r=g.createContext(i),c=f=>{const{children:v,...h}=f,b=g.useMemo(()=>h,Object.values(h));return A.jsx(r.Provider,{value:b,children:v})};c.displayName=n+"Provider";function o(f){const v=g.useContext(r);if(v)return v;if(i!==void 0)return i;throw new Error(`\`${f}\` must be used within \`${n}\``)}return[c,o]}function Bb(n,i=[]){let r=[];function c(f,v){const h=g.createContext(v),b=r.length;r=[...r,v];const m=M=>{const{scope:D,children:q,...K}=M,w=D?.[n]?.[b]||h,H=g.useMemo(()=>K,Object.values(K));return A.jsx(w.Provider,{value:H,children:q})};m.displayName=f+"Provider";function p(M,D){const q=D?.[n]?.[b]||h,K=g.useContext(q);if(K)return K;if(v!==void 0)return v;throw new Error(`\`${M}\` must be used within \`${f}\``)}return[m,p]}const o=()=>{const f=r.map(v=>g.createContext(v));return function(h){const b=h?.[n]||f;return g.useMemo(()=>({[`__scope${n}`]:{...h,[n]:b}}),[h,b])}};return o.scopeName=n,[c,qb(o,...i)]}function qb(...n){const i=n[0];if(n.length===1)return i;const r=()=>{const c=n.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(f){const v=c.reduce((h,{useScope:b,scopeName:m})=>{const M=b(f)[`__scope${m}`];return{...h,...M}},{});return g.useMemo(()=>({[`__scope${i.scopeName}`]:v}),[v])}};return r.scopeName=i.scopeName,r}function ea(n,i,{checkForDefaultPrevented:r=!0}={}){return function(o){if(n?.(o),r===!1||!o.defaultPrevented)return i?.(o)}}var Vu=globalThis?.document?g.useLayoutEffect:()=>{},Yb=$1[" useInsertionEffect ".trim().toString()]||Vu;function Gb({prop:n,defaultProp:i,onChange:r=()=>{},caller:c}){const[o,f,v]=Zb({defaultProp:i,onChange:r}),h=n!==void 0,b=h?n:o;{const p=g.useRef(n!==void 0);g.useEffect(()=>{const M=p.current;M!==h&&console.warn(`${c} is changing from ${M?"controlled":"uncontrolled"} to ${h?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),p.current=h},[h,c])}const m=g.useCallback(p=>{if(h){const M=Xb(p)?p(n):p;M!==n&&v.current?.(M)}else f(p)},[h,n,f,v]);return[b,m]}function Zb({defaultProp:n,onChange:i}){const[r,c]=g.useState(n),o=g.useRef(r),f=g.useRef(i);return Yb(()=>{f.current=i},[i]),g.useEffect(()=>{o.current!==r&&(f.current?.(r),o.current=r)},[r,o]),[r,c,f]}function Xb(n){return typeof n=="function"}function kb(n,i){return g.useReducer((r,c)=>i[r][c]??r,n)}var Er=n=>{const{present:i,children:r}=n,c=Qb(i),o=typeof r=="function"?r({present:c.isPresent}):g.Children.only(r),f=Ma(c.ref,Kb(o));return typeof r=="function"||c.isPresent?g.cloneElement(o,{ref:f}):null};Er.displayName="Presence";function Qb(n){const[i,r]=g.useState(),c=g.useRef(null),o=g.useRef(n),f=g.useRef("none"),v=n?"mounted":"unmounted",[h,b]=kb(v,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return g.useEffect(()=>{const m=tr(c.current);f.current=h==="mounted"?m:"none"},[h]),Vu(()=>{const m=c.current,p=o.current;if(p!==n){const D=f.current,q=tr(m);n?b("MOUNT"):q==="none"||m?.display==="none"?b("UNMOUNT"):b(p&&D!==q?"ANIMATION_OUT":"UNMOUNT"),o.current=n}},[n,b]),Vu(()=>{if(i){let m;const p=i.ownerDocument.defaultView??window,M=q=>{const w=tr(c.current).includes(CSS.escape(q.animationName));if(q.target===i&&w&&(b("ANIMATION_END"),!o.current)){const H=i.style.animationFillMode;i.style.animationFillMode="forwards",m=p.setTimeout(()=>{i.style.animationFillMode==="forwards"&&(i.style.animationFillMode=H)})}},D=q=>{q.target===i&&(f.current=tr(c.current))};return i.addEventListener("animationstart",D),i.addEventListener("animationcancel",M),i.addEventListener("animationend",M),()=>{p.clearTimeout(m),i.removeEventListener("animationstart",D),i.removeEventListener("animationcancel",M),i.removeEventListener("animationend",M)}}else b("ANIMATION_END")},[i,b]),{isPresent:["mounted","unmountSuspended"].includes(h),ref:g.useCallback(m=>{c.current=m?getComputedStyle(m):null,r(m)},[])}}function tr(n){return n?.animationName||"none"}function Kb(n){let i=Object.getOwnPropertyDescriptor(n.props,"ref")?.get,r=i&&"isReactWarning"in i&&i.isReactWarning;return r?n.ref:(i=Object.getOwnPropertyDescriptor(n,"ref")?.get,r=i&&"isReactWarning"in i&&i.isReactWarning,r?n.props.ref:n.props.ref||n.ref)}var j1=z1();const Fb=pr(j1);function xo(n){const i=Pb(n),r=g.forwardRef((c,o)=>{const{children:f,...v}=c,h=g.Children.toArray(f),b=h.find(Jb);if(b){const m=b.props.children,p=h.map(M=>M===b?g.Children.count(m)>1?g.Children.only(null):g.isValidElement(m)?m.props.children:null:M);return A.jsx(i,{...v,ref:o,children:g.isValidElement(m)?g.cloneElement(m,void 0,p):null})}return A.jsx(i,{...v,ref:o,children:f})});return r.displayName=`${n}.Slot`,r}var e4=xo("Slot");function Pb(n){const i=g.forwardRef((r,c)=>{const{children:o,...f}=r;if(g.isValidElement(o)){const v=Ib(o),h=Wb(f,o.props);return o.type!==g.Fragment&&(h.ref=c?L1(c,v):v),g.cloneElement(o,h)}return g.Children.count(o)>1?g.Children.only(null):null});return i.displayName=`${n}.SlotClone`,i}var H1=Symbol("radix.slottable");function t4(n){const i=({children:r})=>A.jsx(A.Fragment,{children:r});return i.displayName=`${n}.Slottable`,i.__radixId=H1,i}function Jb(n){return g.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===H1}function Wb(n,i){const r={...i};for(const c in i){const o=n[c],f=i[c];/^on[A-Z]/.test(c)?o&&f?r[c]=(...h)=>{const b=f(...h);return o(...h),b}:o&&(r[c]=o):c==="style"?r[c]={...o,...f}:c==="className"&&(r[c]=[o,f].filter(Boolean).join(" "))}return{...n,...r}}function Ib(n){let i=Object.getOwnPropertyDescriptor(n.props,"ref")?.get,r=i&&"isReactWarning"in i&&i.isReactWarning;return r?n.ref:(i=Object.getOwnPropertyDescriptor(n,"ref")?.get,r=i&&"isReactWarning"in i&&i.isReactWarning,r?n.props.ref:n.props.ref||n.ref)}var eg=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Cl=eg.reduce((n,i)=>{const r=xo(`Primitive.${i}`),c=g.forwardRef((o,f)=>{const{asChild:v,...h}=o,b=v?r:i;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),A.jsx(b,{...h,ref:f})});return c.displayName=`Primitive.${i}`,{...n,[i]:c}},{});function tg(n,i){n&&j1.flushSync(()=>n.dispatchEvent(i))}const lg=n=>A.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",viewBox:"0 0 20 20","aria-hidden":!0,focusable:!1,...n,children:A.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M3.6 10a6.4 6.4 0 1 1 12.8 0 6.4 6.4 0 0 1-12.8 0ZM10 2.4a7.6 7.6 0 1 0 0 15.2 7.6 7.6 0 0 0 0-15.2Zm.55 9.1.2-6h-1.5l.2 6h1.1Zm.2 2.25a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0Z",clipRule:"evenodd"})}),l4=n=>A.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",viewBox:"0 0 20 20","aria-hidden":!0,focusable:!1,...n,children:A.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"m8.056 4.097-5 5.5-.367.403.367.404 5 5.5.888-.807L4.856 10.6H16V9.4H4.856l4.088-4.496-.888-.807Z",clipRule:"evenodd"})}),a4=n=>A.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",viewBox:"0 0 20 20","aria-hidden":!0,focusable:!1,...n,children:A.jsx("path",{fill:"currentColor",d:"M6.5 10c0-2.5 1-3.5 3.5-3.5s3.5 1 3.5 3.5-1 3.5-3.5 3.5-3.5-1-3.5-3.5Z"})}),n4=n=>A.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",viewBox:"0 0 20 20","aria-hidden":!0,focusable:!1,...n,children:A.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M3.1 10c0-1.619.063-2.852.247-3.8.182-.942.474-1.547.89-1.963.415-.416 1.021-.708 1.963-.89.948-.184 2.18-.247 3.8-.247 1.619 0 2.852.063 3.8.247.942.182 1.547.474 1.963.89.416.416.708 1.021.89 1.963.184.948.247 2.181.247 3.8 0 1.619-.063 2.852-.247 3.8-.182.942-.474 1.547-.89 1.963-.416.416-1.021.708-1.963.89-.948.184-2.181.247-3.8.247-1.62 0-2.852-.063-3.8-.247-.942-.182-1.548-.474-1.963-.89-.416-.416-.708-1.021-.89-1.963-.184-.948-.247-2.181-.247-3.8ZM10 1.9c-1.631 0-2.96.062-4.028.269-1.074.208-1.937.573-2.584 1.22-.647.646-1.011 1.51-1.22 2.583C1.963 7.039 1.9 8.369 1.9 10c0 1.631.062 2.96.269 4.028.208 1.074.572 1.937 1.22 2.584.646.647 1.509 1.011 2.583 1.22 1.067.206 2.397.268 4.028.268 1.63 0 2.96-.062 4.028-.269 1.074-.208 1.937-.572 2.584-1.22.646-.646 1.011-1.51 1.22-2.583.206-1.067.268-2.397.268-4.028 0-1.631-.062-2.96-.269-4.028-.208-1.074-.573-1.937-1.22-2.584-.646-.646-1.51-1.011-2.583-1.22C12.961 1.963 11.631 1.9 10 1.9Zm.6 4.6v2.9h2.9v1.2h-2.9v2.9H9.4v-2.9H6.5V9.4h2.9V6.5h1.2Z",clipRule:"evenodd"})}),u4=n=>A.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",viewBox:"0 0 20 20","aria-hidden":!0,focusable:!1,...n,children:A.jsx("path",{stroke:"currentColor",strokeWidth:1.2,d:"m4.5 11 4 3.5 7-9.5"})}),ag=n=>A.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",viewBox:"0 0 20 20","aria-hidden":!0,focusable:!1,...n,children:[A.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M3 10a7 7 0 1 1 14 0 7 7 0 0 1-14 0Z",clipRule:"evenodd"}),A.jsx("path",{fill:"#fff",fillRule:"evenodd",d:"m9.151 10-2.075 2.076.848.848L10 10.85l2.076 2.075.848-.848L10.85 10l2.075-2.076-.848-.848L10 9.15 7.924 7.076l-.848.848L9.15 10Z",clipRule:"evenodd"})]}),ng=n=>A.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",viewBox:"0 0 20 20","aria-hidden":!0,focusable:!1,...n,children:A.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"m9.153 10-4.576 4.575.848.849 4.576-4.576 4.576 4.576.848-.848L10.85 10l4.575-4.576-.848-.849L10 9.151 5.425 4.576l-.848.848L9.153 10Z",clipRule:"evenodd"})}),i4=n=>A.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",viewBox:"0 0 20 20","aria-hidden":!0,focusable:!1,...n,children:A.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M3.284 5.401C3.152 6.065 3.1 6.911 3.1 8c0 1.088.052 1.935.184 2.599.13.66.333 1.098.603 1.404.388.438 1.014.712 2.124.83.011.414.034.82.074 1.213-1.363-.118-2.399-.458-3.097-1.249-.459-.519-.726-1.18-.881-1.965C1.952 10.052 1.9 9.112 1.9 8c0-1.112.052-2.052.207-2.832.155-.784.422-1.446.88-1.965C3.912 2.158 5.422 1.9 7.5 1.9c2.078 0 3.59.258 4.512 1.303.426.482.687 1.087.846 1.8a24.548 24.548 0 0 0-1.233.013c-.127-.452-.298-.777-.512-1.019C10.577 3.391 9.588 3.1 7.5 3.1s-3.078.291-3.613.897c-.27.306-.472.744-.603 1.404ZM8.1 12c0-1.088.052-1.935.184-2.599.13-.66.333-1.098.603-1.404.536-.606 1.525-.897 3.613-.897s3.078.291 3.613.897c.27.306.472.744.603 1.404.132.664.184 1.51.184 2.599 0 1.088-.052 1.935-.184 2.599-.13.66-.333 1.098-.603 1.404-.535.605-1.525.897-3.613.897s-3.077-.292-3.613-.897c-.27-.306-.472-.744-.603-1.404-.132-.664-.184-1.511-.184-2.6Zm4.4-6.1c-2.079 0-3.59.258-4.512 1.303-.459.519-.726 1.18-.881 1.964-.155.78-.207 1.72-.207 2.833 0 1.112.052 2.052.207 2.832.155.784.422 1.446.88 1.965.924 1.044 2.434 1.303 4.513 1.303 2.079 0 3.59-.259 4.512-1.303.459-.519.726-1.18.881-1.965.155-.78.207-1.72.207-2.832 0-1.112-.052-2.052-.207-2.833-.155-.783-.422-1.445-.88-1.964C16.088 6.158 14.577 5.9 12.5 5.9Z",clipRule:"evenodd"})}),r4=n=>A.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",viewBox:"0 0 20 20","aria-hidden":!0,focusable:!1,...n,children:[A.jsx("circle",{cx:10,cy:10,r:7,stroke:"#23ADA0",strokeWidth:1.2}),A.jsx("path",{stroke:"#23ADA0",strokeWidth:1.2,d:"m7.25 10.75 2 1.5 3.5-4.5"})]}),c4=n=>A.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",viewBox:"0 0 20 20","aria-hidden":!0,focusable:!1,...n,children:A.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.551 6.6H7V5.4h6.6V12h-1.2V7.449l-6.476 6.475-.848-.848L11.55 6.6Z",clipRule:"evenodd"})}),ug=n=>A.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",viewBox:"0 0 20 20","aria-hidden":!0,focusable:!1,...n,children:A.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"m14.07 14.989 2.97 2.97.92-.919-15-15-.92.92 2.796 2.795c-.432.335-.823.687-1.17 1.035a14.783 14.783 0 0 0-2.082 2.635 8.66 8.66 0 0 0-.142.242l-.009.015-.002.004v.002H1.43L2 10l-.57-.311-.17.311.17.311L2 10l-.57.312.001.002.002.004.009.015a4.752 4.752 0 0 0 .142.242 14.78 14.78 0 0 0 2.082 2.635c1.43 1.43 3.587 2.94 6.334 2.94 1.554 0 2.918-.483 4.07-1.161Zm-.955-.955L11.6 12.52c-.429.39-.973.63-1.6.63-1.591 0-2.65-1.553-2.65-3.15 0-.499.103-.993.294-1.437l-1.88-1.88c-.43.321-.824.671-1.18 1.027A13.483 13.483 0 0 0 2.758 10a13.482 13.482 0 0 0 1.828 2.29c1.319 1.32 3.163 2.56 5.415 2.56 1.15 0 2.194-.323 3.115-.816ZM8.681 9.6c-.02.126-.03.26-.03.4 0 1.165.731 1.85 1.35 1.85.222 0 .46-.09.672-.258L8.681 9.6Zm8.239.888c-.265.38-.627.856-1.078 1.354l.92.92a14.969 14.969 0 0 0 1.654-2.187 8.51 8.51 0 0 0 .135-.228l.008-.014.008-.015.002-.004.001-.002L18 10l.57.311.17-.311-.17-.311L18 10l.57-.312v-.002l-.003-.004-.009-.015a12.967 12.967 0 0 0-.572-.898 14.775 14.775 0 0 0-1.651-1.979C14.904 5.36 12.747 3.85 10 3.85c-.67 0-1.305.09-1.903.247l1.105 1.105c.26-.034.526-.052.798-.052 2.253 0 4.097 1.24 5.415 2.56A13.479 13.479 0 0 1 17.244 10c-.081.13-.19.296-.323.488Z",clipRule:"evenodd"})}),s4=n=>A.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",viewBox:"0 0 20 20","aria-hidden":!0,focusable:!1,...n,children:[A.jsx("circle",{cx:10,cy:10,r:7,stroke:"#E95460",strokeWidth:1.2}),A.jsx("path",{fill:"#E95460",fillRule:"evenodd",d:"m10.75 5.5-.2 6h-1.1l-.2-6h1.5ZM10 13a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5Z",clipRule:"evenodd"})]}),o4=n=>A.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",viewBox:"0 0 20 20","aria-hidden":!0,focusable:!1,...n,children:A.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M3.6 10a6.4 6.4 0 1 1 12.8 0 6.4 6.4 0 0 1-12.8 0ZM10 2.4a7.6 7.6 0 1 0 0 15.2 7.6 7.6 0 0 0 0-15.2Zm-.55 6.1-.2 6h1.5l-.2-6h-1.1Zm-.2-2.25a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Z",clipRule:"evenodd"})}),f4=n=>A.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",viewBox:"0 0 20 20","aria-hidden":!0,focusable:!1,...n,children:[A.jsx("path",{stroke:"currentColor",strokeWidth:1.2,d:"M17 10a7 7 0 1 1-7-7"}),A.jsx("mask",{id:"prefix__mask0_1036_13",width:10,height:10,x:9,y:1,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"},children:A.jsx("path",{fill:"url(#prefix__paint0_linear_1036_13)",d:"M9 1h10v10H9z"})}),A.jsx("g",{mask:"url(#prefix__mask0_1036_13)",children:A.jsx("path",{stroke:"currentColor",strokeWidth:1.2,d:"M10 3a7 7 0 0 1 7 7"})}),A.jsx("defs",{children:A.jsxs("linearGradient",{id:"prefix__paint0_linear_1036_13",x1:11,x2:15.396,y1:3,y2:5.909,gradientUnits:"userSpaceOnUse",children:[A.jsx("stop",{stopColor:"#09101C",stopOpacity:0}),A.jsx("stop",{offset:1,stopColor:"#09101C"})]})})]}),d4=n=>A.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",viewBox:"0 0 20 20","aria-hidden":!0,focusable:!1,...n,children:[A.jsx("circle",{cx:10,cy:10,r:7,stroke:"#E95460",strokeWidth:1.2,opacity:.4}),A.jsx("path",{fill:"#E95460",fillRule:"evenodd",d:"m10.75 5.5-.2 6h-1.1l-.2-6h1.5ZM10 13a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5Z",clipRule:"evenodd"})]}),v4=n=>A.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",viewBox:"0 0 20 20","aria-hidden":!0,focusable:!1,...n,children:A.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M3.6 10a6.4 6.4 0 1 1 12.8 0 6.4 6.4 0 0 1-12.8 0ZM10 2.4a7.6 7.6 0 1 0 0 15.2 7.6 7.6 0 0 0 0-15.2Zm.6 3.6v3.4h2.9v1.2H9.4V6h1.2Z",clipRule:"evenodd"})}),h4=n=>A.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",viewBox:"0 0 20 20","aria-hidden":!0,focusable:!1,...n,children:[A.jsx("mask",{id:"prefix__mask0_7508_128",width:14,height:17,x:3,y:2,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"},children:A.jsx("path",{fill:"url(#prefix__paint0_linear_7508_128)",d:"M0 0h13v17H0z",transform:"matrix(-1 0 0 1 16.5 2)"})}),A.jsx("g",{mask:"url(#prefix__mask0_7508_128)",children:A.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.4 13.147 4.904 9.06l-.807.888 5.5 5 .404.367.403-.367 5.5-5-.807-.888-4.497 4.088V2.5H9.4v10.647Z",clipRule:"evenodd"})}),A.jsx("defs",{children:A.jsxs("linearGradient",{id:"prefix__paint0_linear_7508_128",x1:6.5,x2:6.5,y1:.708,y2:8.5,gradientUnits:"userSpaceOnUse",children:[A.jsx("stop",{stopColor:"#09101C",stopOpacity:0}),A.jsx("stop",{offset:1,stopColor:"#09101C"})]})})]}),y4=n=>A.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",viewBox:"0 0 20 20","aria-hidden":!0,focusable:!1,...n,children:[A.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"m9.597 14.948-5.5-5 .807-.888 5.097 4.633 5.096-4.633.807.888-5.5 5-.403.367-.404-.367Z",clipRule:"evenodd"}),A.jsx("mask",{id:"prefix__mask0_347_48",width:2,height:13,x:9,y:2,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"},children:A.jsx("path",{fill:"url(#prefix__paint0_linear_347_48)",d:"M0 0h2v12H0z",transform:"matrix(-1 0 0 1 11 2.5)"})}),A.jsx("g",{mask:"url(#prefix__mask0_347_48)",children:A.jsx("path",{stroke:"currentColor",strokeWidth:1.2,d:"M10 2.5V14"})}),A.jsx("defs",{children:A.jsxs("linearGradient",{id:"prefix__paint0_linear_347_48",x1:1,x2:1,y1:.5,y2:6,gradientUnits:"userSpaceOnUse",children:[A.jsx("stop",{stopColor:"#09101C",stopOpacity:0}),A.jsx("stop",{offset:1,stopColor:"#09101C"})]})})]}),m4=n=>A.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",viewBox:"0 0 20 20","aria-hidden":!0,focusable:!1,...n,children:A.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M8.031 2.659a7.6 7.6 0 0 1 7.87 2.553V3.5h1.2v4.1H13V6.4h2.289a6.4 6.4 0 1 0 .25 6.8l1.04.6A7.6 7.6 0 1 1 8.03 2.659Z",clipRule:"evenodd"})}),ig=n=>A.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",viewBox:"0 0 20 20","aria-hidden":!0,focusable:!1,...n,children:A.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M3.08 10.488A12.076 12.076 0 0 1 2.757 10a13.484 13.484 0 0 1 1.828-2.29C5.904 6.39 7.748 5.15 10 5.15c2.253 0 4.097 1.24 5.415 2.56A13.478 13.478 0 0 1 17.244 10a13.484 13.484 0 0 1-1.828 2.29c-1.319 1.32-3.162 2.56-5.415 2.56-2.252 0-4.096-1.24-5.415-2.56a13.482 13.482 0 0 1-1.505-1.802Zm15.49-.8L18 10l.57.312v.002l-.003.004-.009.015c-.006.013-.017.03-.03.053a13.073 13.073 0 0 1-.542.845c-.375.539-.93 1.258-1.651 1.979-1.431 1.43-3.587 2.94-6.335 2.94-2.747 0-4.904-1.51-6.334-2.94a14.78 14.78 0 0 1-2.082-2.635 8.754 8.754 0 0 1-.142-.242l-.009-.015-.002-.004v-.002H1.43L2 10l-.57-.312.001-.002.002-.004.009-.015a5.085 5.085 0 0 1 .142-.242A14.781 14.781 0 0 1 3.666 6.79C5.096 5.36 7.253 3.85 10 3.85c2.748 0 4.904 1.51 6.335 2.94a14.775 14.775 0 0 1 2.081 2.635 8.421 8.421 0 0 1 .142.242l.009.015.002.004.001.002ZM18 10l.57-.311.17.311-.17.311L18 10ZM1.43 9.689 2 10l-.57.311L1.26 10l.17-.311ZM8.65 10c0-1.165.732-1.85 1.35-1.85.618 0 1.35.685 1.35 1.85s-.732 1.85-1.35 1.85c-.618 0-1.35-.685-1.35-1.85ZM10 6.85C8.41 6.85 7.35 8.403 7.35 10S8.41 13.15 10 13.15c1.592 0 2.65-1.553 2.65-3.15S11.592 6.85 10 6.85Z",clipRule:"evenodd"})}),b4=n=>A.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",viewBox:"0 0 20 20","aria-hidden":!0,focusable:!1,...n,children:A.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.242 3.157c1.264-.192 2.555.101 3.675.847l.666-.999c-1.359-.904-2.95-1.273-4.522-1.034-1.57.239-3.013 1.066-4.11 2.333-1.097 1.265-1.792 2.9-1.992 4.649a9.077 9.077 0 0 0 .875 5.065c.77 1.538 1.966 2.758 3.42 3.452a6.295 6.295 0 0 0 4.606.348c1.525-.472 2.856-1.506 3.796-2.92l-.999-.665c-.802 1.206-1.914 2.055-3.152 2.438a5.094 5.094 0 0 1-3.734-.283c-1.19-.57-2.202-1.585-2.864-2.907a7.877 7.877 0 0 1-.755-4.392c.174-1.525.778-2.93 1.705-4 .926-1.068 2.118-1.74 3.385-1.932ZM10.5 8.5c.552 0 1-.672 1-1.5 0-.829-.448-1.5-1-1.5s-1 .671-1 1.5c0 .828.448 1.5 1 1.5Zm5.5 0c.552 0 1-.672 1-1.5 0-.829-.448-1.5-1-1.5S15 6.17 15 7c0 .828.448 1.5 1 1.5Zm-5.119 3.81.57.19.568.19v.002l-.001.002v.001a1.26 1.26 0 0 1 .066-.138c.057-.102.15-.242.29-.383.27-.27.746-.574 1.576-.574.83 0 1.306.304 1.576.574a1.746 1.746 0 0 1 .347.498l.01.023-.001-.003v-.002l.568-.19.57-.19-.001-.001v-.002l-.002-.003-.003-.009-.009-.024a2.478 2.478 0 0 0-.14-.297c-.1-.18-.256-.414-.49-.648-.48-.48-1.255-.926-2.425-.926s-1.944.446-2.424.926a2.944 2.944 0 0 0-.602.873 1.82 1.82 0 0 0-.03.072l-.008.024-.003.009-.001.003v.002Zm5.002.386Z",clipRule:"evenodd"})}),g4=n=>A.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",viewBox:"0 0 20 20","aria-hidden":!0,focusable:!1,...n,children:A.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M3.1 9a5.9 5.9 0 1 1 11.8 0A5.9 5.9 0 0 1 3.1 9ZM9 1.9a7.1 7.1 0 1 0 4.578 12.527l3.498 3.497.848-.848-3.497-3.498A7.1 7.1 0 0 0 9 1.9Z",clipRule:"evenodd"})}),p4=n=>A.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",viewBox:"0 0 20 20","aria-hidden":!0,focusable:!1,...n,children:[A.jsx("mask",{id:"prefix__mask0_7508_129",width:14,height:17,x:3,y:1,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"},children:A.jsx("path",{fill:"url(#prefix__paint0_linear_7508_129)",d:"M16.5 18h13v17h-13z",transform:"rotate(-180 16.5 18)"})}),A.jsx("g",{mask:"url(#prefix__mask0_7508_129)",children:A.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"m9.4 6.857-4.496 4.087-.807-.888 5.5-5 .404-.367.403.367 5.5 5-.807.888L10.6 6.856V17.5H9.4V6.857Z",clipRule:"evenodd"})}),A.jsx("defs",{children:A.jsxs("linearGradient",{id:"prefix__paint0_linear_7508_129",x1:23,x2:23,y1:18.708,y2:26.5,gradientUnits:"userSpaceOnUse",children:[A.jsx("stop",{stopColor:"#09101C",stopOpacity:0}),A.jsx("stop",{offset:1,stopColor:"#09101C"})]})})]}),E4=n=>A.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",viewBox:"0 0 20 20","aria-hidden":!0,focusable:!1,...n,children:[A.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"m10 4.69.404.366 5.5 5-.807.888-5.096-4.633-5.097 4.633-.807-.888 5.5-5 .404-.367Z",clipRule:"evenodd"}),A.jsx("mask",{id:"prefix__mask0_347_58",width:2,height:13,x:9,y:5,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"},children:A.jsx("path",{fill:"url(#prefix__paint0_linear_347_58)",d:"M11 17.5h2v12h-2z",transform:"rotate(-180 11 17.5)"})}),A.jsx("g",{mask:"url(#prefix__mask0_347_58)",children:A.jsx("path",{stroke:"currentColor",strokeWidth:1.2,d:"M10 17.5V6"})}),A.jsx("defs",{children:A.jsxs("linearGradient",{id:"prefix__paint0_linear_347_58",x1:12,x2:12,y1:18,y2:23.5,gradientUnits:"userSpaceOnUse",children:[A.jsx("stop",{stopColor:"#09101C",stopOpacity:0}),A.jsx("stop",{offset:1,stopColor:"#09101C"})]})})]}),S4=n=>A.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",viewBox:"0 0 20 20","aria-hidden":!0,focusable:!1,...n,children:[A.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"m12.452 10.895 3.5-4 .346-.395-.346-.395-3.5-4-.903.79L14.703 6.5l-3.154 3.605.903.79Zm-4.903-1.79-3.5 4-.346.395.345.395 3.5 4 .904-.79L5.297 13.5l3.155-3.605-.903-.79Z",clipRule:"evenodd"}),A.jsx("mask",{id:"prefix__mask0_8023_48",width:12,height:3,x:3,y:5,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"},children:A.jsx("path",{fill:"url(#prefix__paint0_linear_8023_48)",d:"M3 7.5h2v12H3z",transform:"rotate(-90 3 7.5)"})}),A.jsx("g",{mask:"url(#prefix__mask0_8023_48)",children:A.jsx("path",{stroke:"currentColor",strokeWidth:1.2,d:"M3.5 6.5H15"})}),A.jsx("mask",{id:"prefix__mask1_8023_48",width:12,height:3,x:5,y:12,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"},children:A.jsx("path",{fill:"url(#prefix__paint1_linear_8023_48)",d:"M17 12.5h2v12h-2z",transform:"rotate(90 17 12.5)"})}),A.jsx("g",{mask:"url(#prefix__mask1_8023_48)",children:A.jsx("path",{stroke:"currentColor",strokeWidth:1.2,d:"M16.5 13.5H5"})}),A.jsxs("defs",{children:[A.jsxs("linearGradient",{id:"prefix__paint0_linear_8023_48",x1:4,x2:4,y1:8,y2:13.5,gradientUnits:"userSpaceOnUse",children:[A.jsx("stop",{stopColor:"#09101C",stopOpacity:0}),A.jsx("stop",{offset:1,stopColor:"#09101C"})]}),A.jsxs("linearGradient",{id:"prefix__paint1_linear_8023_48",x1:18,x2:18,y1:13,y2:18.5,gradientUnits:"userSpaceOnUse",children:[A.jsx("stop",{stopColor:"#09101C",stopOpacity:0}),A.jsx("stop",{offset:1,stopColor:"#09101C"})]})]})]});function Lu(n){const i=g.useRef(n);return g.useEffect(()=>{i.current=n}),g.useMemo(()=>(...r)=>i.current?.(...r),[])}function rg(n,i=globalThis?.document){const r=Lu(n);g.useEffect(()=>{const c=o=>{o.key==="Escape"&&r(o)};return i.addEventListener("keydown",c,{capture:!0}),()=>i.removeEventListener("keydown",c,{capture:!0})},[r,i])}var cg="DismissableLayer",co="dismissableLayer.update",sg="dismissableLayer.pointerDownOutside",og="dismissableLayer.focusOutside",Qv,B1=g.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),To=g.forwardRef((n,i)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:c,onPointerDownOutside:o,onFocusOutside:f,onInteractOutside:v,onDismiss:h,...b}=n,m=g.useContext(B1),[p,M]=g.useState(null),D=p?.ownerDocument??globalThis?.document,[,q]=g.useState({}),K=Ma(i,ue=>M(ue)),w=Array.from(m.layers),[H]=[...m.layersWithOutsidePointerEventsDisabled].slice(-1),W=w.indexOf(H),G=p?w.indexOf(p):-1,X=m.layersWithOutsidePointerEventsDisabled.size>0,J=G>=W,Q=dg(ue=>{const Ae=ue.target,Re=[...m.branches].some(Ce=>Ce.contains(Ae));!J||Re||(o?.(ue),v?.(ue),ue.defaultPrevented||h?.())},D),ve=vg(ue=>{const Ae=ue.target;[...m.branches].some(Ce=>Ce.contains(Ae))||(f?.(ue),v?.(ue),ue.defaultPrevented||h?.())},D);return rg(ue=>{G===m.layers.size-1&&(c?.(ue),!ue.defaultPrevented&&h&&(ue.preventDefault(),h()))},D),g.useEffect(()=>{if(p)return r&&(m.layersWithOutsidePointerEventsDisabled.size===0&&(Qv=D.body.style.pointerEvents,D.body.style.pointerEvents="none"),m.layersWithOutsidePointerEventsDisabled.add(p)),m.layers.add(p),Kv(),()=>{r&&m.layersWithOutsidePointerEventsDisabled.size===1&&(D.body.style.pointerEvents=Qv)}},[p,D,r,m]),g.useEffect(()=>()=>{p&&(m.layers.delete(p),m.layersWithOutsidePointerEventsDisabled.delete(p),Kv())},[p,m]),g.useEffect(()=>{const ue=()=>q({});return document.addEventListener(co,ue),()=>document.removeEventListener(co,ue)},[]),A.jsx(Cl.div,{...b,ref:K,style:{pointerEvents:X?J?"auto":"none":void 0,...n.style},onFocusCapture:ea(n.onFocusCapture,ve.onFocusCapture),onBlurCapture:ea(n.onBlurCapture,ve.onBlurCapture),onPointerDownCapture:ea(n.onPointerDownCapture,Q.onPointerDownCapture)})});To.displayName=cg;var fg="DismissableLayerBranch",q1=g.forwardRef((n,i)=>{const r=g.useContext(B1),c=g.useRef(null),o=Ma(i,c);return g.useEffect(()=>{const f=c.current;if(f)return r.branches.add(f),()=>{r.branches.delete(f)}},[r.branches]),A.jsx(Cl.div,{...n,ref:o})});q1.displayName=fg;function dg(n,i=globalThis?.document){const r=Lu(n),c=g.useRef(!1),o=g.useRef(()=>{});return g.useEffect(()=>{const f=h=>{if(h.target&&!c.current){let b=function(){Y1(sg,r,m,{discrete:!0})};const m={originalEvent:h};h.pointerType==="touch"?(i.removeEventListener("click",o.current),o.current=b,i.addEventListener("click",o.current,{once:!0})):b()}else i.removeEventListener("click",o.current);c.current=!1},v=window.setTimeout(()=>{i.addEventListener("pointerdown",f)},0);return()=>{window.clearTimeout(v),i.removeEventListener("pointerdown",f),i.removeEventListener("click",o.current)}},[i,r]),{onPointerDownCapture:()=>c.current=!0}}function vg(n,i=globalThis?.document){const r=Lu(n),c=g.useRef(!1);return g.useEffect(()=>{const o=f=>{f.target&&!c.current&&Y1(og,r,{originalEvent:f},{discrete:!1})};return i.addEventListener("focusin",o),()=>i.removeEventListener("focusin",o)},[i,r]),{onFocusCapture:()=>c.current=!0,onBlurCapture:()=>c.current=!1}}function Kv(){const n=new CustomEvent(co);document.dispatchEvent(n)}function Y1(n,i,r,{discrete:c}){const o=r.originalEvent.target,f=new CustomEvent(n,{bubbles:!1,cancelable:!0,detail:r});i&&o.addEventListener(n,i,{once:!0}),c?tg(o,f):o.dispatchEvent(f)}var x4=To,T4=q1,Fs=0;function hg(){g.useEffect(()=>{const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",n[0]??Fv()),document.body.insertAdjacentElement("beforeend",n[1]??Fv()),Fs++,()=>{Fs===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(i=>i.remove()),Fs--}},[])}function Fv(){const n=document.createElement("span");return n.setAttribute("data-radix-focus-guard",""),n.tabIndex=0,n.style.outline="none",n.style.opacity="0",n.style.position="fixed",n.style.pointerEvents="none",n}var Ps="focusScope.autoFocusOnMount",Js="focusScope.autoFocusOnUnmount",Pv={bubbles:!1,cancelable:!0},yg="FocusScope",G1=g.forwardRef((n,i)=>{const{loop:r=!1,trapped:c=!1,onMountAutoFocus:o,onUnmountAutoFocus:f,...v}=n,[h,b]=g.useState(null),m=Lu(o),p=Lu(f),M=g.useRef(null),D=Ma(i,w=>b(w)),q=g.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;g.useEffect(()=>{if(c){let w=function(X){if(q.paused||!h)return;const J=X.target;h.contains(J)?M.current=J:Wl(M.current,{select:!0})},H=function(X){if(q.paused||!h)return;const J=X.relatedTarget;J!==null&&(h.contains(J)||Wl(M.current,{select:!0}))},W=function(X){if(document.activeElement===document.body)for(const Q of X)Q.removedNodes.length>0&&Wl(h)};document.addEventListener("focusin",w),document.addEventListener("focusout",H);const G=new MutationObserver(W);return h&&G.observe(h,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",w),document.removeEventListener("focusout",H),G.disconnect()}}},[c,h,q.paused]),g.useEffect(()=>{if(h){Wv.add(q);const w=document.activeElement;if(!h.contains(w)){const W=new CustomEvent(Ps,Pv);h.addEventListener(Ps,m),h.dispatchEvent(W),W.defaultPrevented||(mg(Sg(Z1(h)),{select:!0}),document.activeElement===w&&Wl(h))}return()=>{h.removeEventListener(Ps,m),setTimeout(()=>{const W=new CustomEvent(Js,Pv);h.addEventListener(Js,p),h.dispatchEvent(W),W.defaultPrevented||Wl(w??document.body,{select:!0}),h.removeEventListener(Js,p),Wv.remove(q)},0)}}},[h,m,p,q]);const K=g.useCallback(w=>{if(!r&&!c||q.paused)return;const H=w.key==="Tab"&&!w.altKey&&!w.ctrlKey&&!w.metaKey,W=document.activeElement;if(H&&W){const G=w.currentTarget,[X,J]=bg(G);X&&J?!w.shiftKey&&W===J?(w.preventDefault(),r&&Wl(X,{select:!0})):w.shiftKey&&W===X&&(w.preventDefault(),r&&Wl(J,{select:!0})):W===G&&w.preventDefault()}},[r,c,q.paused]);return A.jsx(Cl.div,{tabIndex:-1,...v,ref:D,onKeyDown:K})});G1.displayName=yg;function mg(n,{select:i=!1}={}){const r=document.activeElement;for(const c of n)if(Wl(c,{select:i}),document.activeElement!==r)return}function bg(n){const i=Z1(n),r=Jv(i,n),c=Jv(i.reverse(),n);return[r,c]}function Z1(n){const i=[],r=document.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,{acceptNode:c=>{const o=c.tagName==="INPUT"&&c.type==="hidden";return c.disabled||c.hidden||o?NodeFilter.FILTER_SKIP:c.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)i.push(r.currentNode);return i}function Jv(n,i){for(const r of n)if(!gg(r,{upTo:i}))return r}function gg(n,{upTo:i}){if(getComputedStyle(n).visibility==="hidden")return!0;for(;n;){if(i!==void 0&&n===i)return!1;if(getComputedStyle(n).display==="none")return!0;n=n.parentElement}return!1}function pg(n){return n instanceof HTMLInputElement&&"select"in n}function Wl(n,{select:i=!1}={}){if(n&&n.focus){const r=document.activeElement;n.focus({preventScroll:!0}),n!==r&&pg(n)&&i&&n.select()}}var Wv=Eg();function Eg(){let n=[];return{add(i){const r=n[0];i!==r&&r?.pause(),n=Iv(n,i),n.unshift(i)},remove(i){n=Iv(n,i),n[0]?.resume()}}}function Iv(n,i){const r=[...n],c=r.indexOf(i);return c!==-1&&r.splice(c,1),r}function Sg(n){return n.filter(i=>i.tagName!=="A")}var xg=$1[" useId ".trim().toString()]||(()=>{}),Tg=0;function Ws(n){const[i,r]=g.useState(xg());return Vu(()=>{r(c=>c??String(Tg++))},[n]),n||(i?`radix-${i}`:"")}var _g="Portal",X1=g.forwardRef((n,i)=>{const{container:r,...c}=n,[o,f]=g.useState(!1);Vu(()=>f(!0),[]);const v=r||o&&globalThis?.document?.body;return v?Fb.createPortal(A.jsx(Cl.div,{...c,ref:i}),v):null});X1.displayName=_g;var Ag=function(n){if(typeof document>"u")return null;var i=Array.isArray(n)?n[0]:n;return i.ownerDocument.body},pn=new WeakMap,lr=new WeakMap,ar={},Is=0,k1=function(n){return n&&(n.host||k1(n.parentNode))},Cg=function(n,i){return i.map(function(r){if(n.contains(r))return r;var c=k1(r);return c&&n.contains(c)?c:(console.error("aria-hidden",r,"in not contained inside",n,". Doing nothing"),null)}).filter(function(r){return!!r})},Mg=function(n,i,r,c){var o=Cg(i,Array.isArray(n)?n:[n]);ar[r]||(ar[r]=new WeakMap);var f=ar[r],v=[],h=new Set,b=new Set(o),m=function(M){!M||h.has(M)||(h.add(M),m(M.parentNode))};o.forEach(m);var p=function(M){!M||b.has(M)||Array.prototype.forEach.call(M.children,function(D){if(h.has(D))p(D);else try{var q=D.getAttribute(c),K=q!==null&&q!=="false",w=(pn.get(D)||0)+1,H=(f.get(D)||0)+1;pn.set(D,w),f.set(D,H),v.push(D),w===1&&K&&lr.set(D,!0),H===1&&D.setAttribute(r,"true"),K||D.setAttribute(c,"true")}catch(W){console.error("aria-hidden: cannot operate on ",D,W)}})};return p(i),h.clear(),Is++,function(){v.forEach(function(M){var D=pn.get(M)-1,q=f.get(M)-1;pn.set(M,D),f.set(M,q),D||(lr.has(M)||M.removeAttribute(c),lr.delete(M)),q||M.removeAttribute(r)}),Is--,Is||(pn=new WeakMap,pn=new WeakMap,lr=new WeakMap,ar={})}},Og=function(n,i,r){r===void 0&&(r="data-aria-hidden");var c=Array.from(Array.isArray(n)?n:[n]),o=Ag(n);return o?(c.push.apply(c,Array.from(o.querySelectorAll("[aria-live], script"))),Mg(c,o,r,"aria-hidden")):function(){return null}},cl=function(){return cl=Object.assign||function(i){for(var r,c=1,o=arguments.length;c<o;c++){r=arguments[c];for(var f in r)Object.prototype.hasOwnProperty.call(r,f)&&(i[f]=r[f])}return i},cl.apply(this,arguments)};function Q1(n,i){var r={};for(var c in n)Object.prototype.hasOwnProperty.call(n,c)&&i.indexOf(c)<0&&(r[c]=n[c]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,c=Object.getOwnPropertySymbols(n);o<c.length;o++)i.indexOf(c[o])<0&&Object.prototype.propertyIsEnumerable.call(n,c[o])&&(r[c[o]]=n[c[o]]);return r}function Dg(n,i,r){if(r||arguments.length===2)for(var c=0,o=i.length,f;c<o;c++)(f||!(c in i))&&(f||(f=Array.prototype.slice.call(i,0,c)),f[c]=i[c]);return n.concat(f||Array.prototype.slice.call(i))}var or="right-scroll-bar-position",fr="width-before-scroll-bar",Rg="with-scroll-bars-hidden",wg="--removed-body-scroll-bar-size";function eo(n,i){return typeof n=="function"?n(i):n&&(n.current=i),n}function Ng(n,i){var r=g.useState(function(){return{value:n,callback:i,facade:{get current(){return r.value},set current(c){var o=r.value;o!==c&&(r.value=c,r.callback(c,o))}}}})[0];return r.callback=i,r.facade}var $g=typeof window<"u"?g.useLayoutEffect:g.useEffect,e1=new WeakMap;function zg(n,i){var r=Ng(null,function(c){return n.forEach(function(o){return eo(o,c)})});return $g(function(){var c=e1.get(r);if(c){var o=new Set(c),f=new Set(n),v=r.current;o.forEach(function(h){f.has(h)||eo(h,null)}),f.forEach(function(h){o.has(h)||eo(h,v)})}e1.set(r,n)},[n]),r}function Ug(n){return n}function Vg(n,i){i===void 0&&(i=Ug);var r=[],c=!1,o={read:function(){if(c)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:n},useMedium:function(f){var v=i(f,c);return r.push(v),function(){r=r.filter(function(h){return h!==v})}},assignSyncMedium:function(f){for(c=!0;r.length;){var v=r;r=[],v.forEach(f)}r={push:function(h){return f(h)},filter:function(){return r}}},assignMedium:function(f){c=!0;var v=[];if(r.length){var h=r;r=[],h.forEach(f),v=r}var b=function(){var p=v;v=[],p.forEach(f)},m=function(){return Promise.resolve().then(b)};m(),r={push:function(p){v.push(p),m()},filter:function(p){return v=v.filter(p),r}}}};return o}function Lg(n){n===void 0&&(n={});var i=Vg(null);return i.options=cl({async:!0,ssr:!1},n),i}var K1=function(n){var i=n.sideCar,r=Q1(n,["sideCar"]);if(!i)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var c=i.read();if(!c)throw new Error("Sidecar medium not found");return g.createElement(c,cl({},r))};K1.isSideCarExport=!0;function jg(n,i){return n.useMedium(i),K1}var F1=Lg(),to=function(){},Sr=g.forwardRef(function(n,i){var r=g.useRef(null),c=g.useState({onScrollCapture:to,onWheelCapture:to,onTouchMoveCapture:to}),o=c[0],f=c[1],v=n.forwardProps,h=n.children,b=n.className,m=n.removeScrollBar,p=n.enabled,M=n.shards,D=n.sideCar,q=n.noRelative,K=n.noIsolation,w=n.inert,H=n.allowPinchZoom,W=n.as,G=W===void 0?"div":W,X=n.gapMode,J=Q1(n,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),Q=D,ve=zg([r,i]),ue=cl(cl({},J),o);return g.createElement(g.Fragment,null,p&&g.createElement(Q,{sideCar:F1,removeScrollBar:m,shards:M,noRelative:q,noIsolation:K,inert:w,setCallbacks:f,allowPinchZoom:!!H,lockRef:r,gapMode:X}),v?g.cloneElement(g.Children.only(h),cl(cl({},ue),{ref:ve})):g.createElement(G,cl({},ue,{className:b,ref:ve}),h))});Sr.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Sr.classNames={fullWidth:fr,zeroRight:or};var Hg=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Bg(){if(!document)return null;var n=document.createElement("style");n.type="text/css";var i=Hg();return i&&n.setAttribute("nonce",i),n}function qg(n,i){n.styleSheet?n.styleSheet.cssText=i:n.appendChild(document.createTextNode(i))}function Yg(n){var i=document.head||document.getElementsByTagName("head")[0];i.appendChild(n)}var Gg=function(){var n=0,i=null;return{add:function(r){n==0&&(i=Bg())&&(qg(i,r),Yg(i)),n++},remove:function(){n--,!n&&i&&(i.parentNode&&i.parentNode.removeChild(i),i=null)}}},Zg=function(){var n=Gg();return function(i,r){g.useEffect(function(){return n.add(i),function(){n.remove()}},[i&&r])}},P1=function(){var n=Zg(),i=function(r){var c=r.styles,o=r.dynamic;return n(c,o),null};return i},Xg={left:0,top:0,right:0,gap:0},lo=function(n){return parseInt(n||"",10)||0},kg=function(n){var i=window.getComputedStyle(document.body),r=i[n==="padding"?"paddingLeft":"marginLeft"],c=i[n==="padding"?"paddingTop":"marginTop"],o=i[n==="padding"?"paddingRight":"marginRight"];return[lo(r),lo(c),lo(o)]},Qg=function(n){if(n===void 0&&(n="margin"),typeof window>"u")return Xg;var i=kg(n),r=document.documentElement.clientWidth,c=window.innerWidth;return{left:i[0],top:i[1],right:i[2],gap:Math.max(0,c-r+i[2]-i[0])}},Kg=P1(),An="data-scroll-locked",Fg=function(n,i,r,c){var o=n.left,f=n.top,v=n.right,h=n.gap;return r===void 0&&(r="margin"),`
  .`.concat(Rg,` {
   overflow: hidden `).concat(c,`;
   padding-right: `).concat(h,"px ").concat(c,`;
  }
  body[`).concat(An,`] {
    overflow: hidden `).concat(c,`;
    overscroll-behavior: contain;
    `).concat([i&&"position: relative ".concat(c,";"),r==="margin"&&`
    padding-left: `.concat(o,`px;
    padding-top: `).concat(f,`px;
    padding-right: `).concat(v,`px;
    margin-left:0;
    margin-top:0;
    margin-right: `).concat(h,"px ").concat(c,`;
    `),r==="padding"&&"padding-right: ".concat(h,"px ").concat(c,";")].filter(Boolean).join(""),`
  }
  
  .`).concat(or,` {
    right: `).concat(h,"px ").concat(c,`;
  }
  
  .`).concat(fr,` {
    margin-right: `).concat(h,"px ").concat(c,`;
  }
  
  .`).concat(or," .").concat(or,` {
    right: 0 `).concat(c,`;
  }
  
  .`).concat(fr," .").concat(fr,` {
    margin-right: 0 `).concat(c,`;
  }
  
  body[`).concat(An,`] {
    `).concat(wg,": ").concat(h,`px;
  }
`)},t1=function(){var n=parseInt(document.body.getAttribute(An)||"0",10);return isFinite(n)?n:0},Pg=function(){g.useEffect(function(){return document.body.setAttribute(An,(t1()+1).toString()),function(){var n=t1()-1;n<=0?document.body.removeAttribute(An):document.body.setAttribute(An,n.toString())}},[])},Jg=function(n){var i=n.noRelative,r=n.noImportant,c=n.gapMode,o=c===void 0?"margin":c;Pg();var f=g.useMemo(function(){return Qg(o)},[o]);return g.createElement(Kg,{styles:Fg(f,!i,o,r?"":"!important")})},so=!1;if(typeof window<"u")try{var nr=Object.defineProperty({},"passive",{get:function(){return so=!0,!0}});window.addEventListener("test",nr,nr),window.removeEventListener("test",nr,nr)}catch{so=!1}var En=so?{passive:!1}:!1,Wg=function(n){return n.tagName==="TEXTAREA"},J1=function(n,i){if(!(n instanceof Element))return!1;var r=window.getComputedStyle(n);return r[i]!=="hidden"&&!(r.overflowY===r.overflowX&&!Wg(n)&&r[i]==="visible")},Ig=function(n){return J1(n,"overflowY")},e2=function(n){return J1(n,"overflowX")},l1=function(n,i){var r=i.ownerDocument,c=i;do{typeof ShadowRoot<"u"&&c instanceof ShadowRoot&&(c=c.host);var o=W1(n,c);if(o){var f=I1(n,c),v=f[1],h=f[2];if(v>h)return!0}c=c.parentNode}while(c&&c!==r.body);return!1},t2=function(n){var i=n.scrollTop,r=n.scrollHeight,c=n.clientHeight;return[i,r,c]},l2=function(n){var i=n.scrollLeft,r=n.scrollWidth,c=n.clientWidth;return[i,r,c]},W1=function(n,i){return n==="v"?Ig(i):e2(i)},I1=function(n,i){return n==="v"?t2(i):l2(i)},a2=function(n,i){return n==="h"&&i==="rtl"?-1:1},n2=function(n,i,r,c,o){var f=a2(n,window.getComputedStyle(i).direction),v=f*c,h=r.target,b=i.contains(h),m=!1,p=v>0,M=0,D=0;do{if(!h)break;var q=I1(n,h),K=q[0],w=q[1],H=q[2],W=w-H-f*K;(K||W)&&W1(n,h)&&(M+=W,D+=K);var G=h.parentNode;h=G&&G.nodeType===Node.DOCUMENT_FRAGMENT_NODE?G.host:G}while(!b&&h!==document.body||b&&(i.contains(h)||i===h));return(p&&Math.abs(M)<1||!p&&Math.abs(D)<1)&&(m=!0),m},ur=function(n){return"changedTouches"in n?[n.changedTouches[0].clientX,n.changedTouches[0].clientY]:[0,0]},a1=function(n){return[n.deltaX,n.deltaY]},n1=function(n){return n&&"current"in n?n.current:n},u2=function(n,i){return n[0]===i[0]&&n[1]===i[1]},i2=function(n){return`
  .block-interactivity-`.concat(n,` {pointer-events: none;}
  .allow-interactivity-`).concat(n,` {pointer-events: all;}
`)},r2=0,Sn=[];function c2(n){var i=g.useRef([]),r=g.useRef([0,0]),c=g.useRef(),o=g.useState(r2++)[0],f=g.useState(P1)[0],v=g.useRef(n);g.useEffect(function(){v.current=n},[n]),g.useEffect(function(){if(n.inert){document.body.classList.add("block-interactivity-".concat(o));var w=Dg([n.lockRef.current],(n.shards||[]).map(n1),!0).filter(Boolean);return w.forEach(function(H){return H.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),w.forEach(function(H){return H.classList.remove("allow-interactivity-".concat(o))})}}},[n.inert,n.lockRef.current,n.shards]);var h=g.useCallback(function(w,H){if("touches"in w&&w.touches.length===2||w.type==="wheel"&&w.ctrlKey)return!v.current.allowPinchZoom;var W=ur(w),G=r.current,X="deltaX"in w?w.deltaX:G[0]-W[0],J="deltaY"in w?w.deltaY:G[1]-W[1],Q,ve=w.target,ue=Math.abs(X)>Math.abs(J)?"h":"v";if("touches"in w&&ue==="h"&&ve.type==="range")return!1;var Ae=l1(ue,ve);if(!Ae)return!0;if(Ae?Q=ue:(Q=ue==="v"?"h":"v",Ae=l1(ue,ve)),!Ae)return!1;if(!c.current&&"changedTouches"in w&&(X||J)&&(c.current=Q),!Q)return!0;var Re=c.current||Q;return n2(Re,H,w,Re==="h"?X:J)},[]),b=g.useCallback(function(w){var H=w;if(!(!Sn.length||Sn[Sn.length-1]!==f)){var W="deltaY"in H?a1(H):ur(H),G=i.current.filter(function(Q){return Q.name===H.type&&(Q.target===H.target||H.target===Q.shadowParent)&&u2(Q.delta,W)})[0];if(G&&G.should){H.cancelable&&H.preventDefault();return}if(!G){var X=(v.current.shards||[]).map(n1).filter(Boolean).filter(function(Q){return Q.contains(H.target)}),J=X.length>0?h(H,X[0]):!v.current.noIsolation;J&&H.cancelable&&H.preventDefault()}}},[]),m=g.useCallback(function(w,H,W,G){var X={name:w,delta:H,target:W,should:G,shadowParent:s2(W)};i.current.push(X),setTimeout(function(){i.current=i.current.filter(function(J){return J!==X})},1)},[]),p=g.useCallback(function(w){r.current=ur(w),c.current=void 0},[]),M=g.useCallback(function(w){m(w.type,a1(w),w.target,h(w,n.lockRef.current))},[]),D=g.useCallback(function(w){m(w.type,ur(w),w.target,h(w,n.lockRef.current))},[]);g.useEffect(function(){return Sn.push(f),n.setCallbacks({onScrollCapture:M,onWheelCapture:M,onTouchMoveCapture:D}),document.addEventListener("wheel",b,En),document.addEventListener("touchmove",b,En),document.addEventListener("touchstart",p,En),function(){Sn=Sn.filter(function(w){return w!==f}),document.removeEventListener("wheel",b,En),document.removeEventListener("touchmove",b,En),document.removeEventListener("touchstart",p,En)}},[]);var q=n.removeScrollBar,K=n.inert;return g.createElement(g.Fragment,null,K?g.createElement(f,{styles:i2(o)}):null,q?g.createElement(Jg,{noRelative:n.noRelative,gapMode:n.gapMode}):null)}function s2(n){for(var i=null;n!==null;)n instanceof ShadowRoot&&(i=n.host,n=n.host),n=n.parentNode;return i}const o2=jg(F1,c2);var eh=g.forwardRef(function(n,i){return g.createElement(Sr,cl({},n,{ref:i,sideCar:o2}))});eh.classNames=Sr.classNames;g.createContext(null);g.createContext(null);g.createContext(null);g.createContext(null);g.createContext(null);g.createContext({});g.createContext(null);const f2=g.createContext(null),ta=typeof document<"u"?re.useLayoutEffect:()=>{};var ao;const d2=(ao=re.useInsertionEffect)!==null&&ao!==void 0?ao:ta;function _t(n){const i=g.useRef(null);return d2(()=>{i.current=n},[n]),g.useCallback((...r)=>{const c=i.current;return c?.(...r)},[])}function v2(n){let[i,r]=g.useState(n),c=g.useRef(null),o=_t(()=>{if(!c.current)return;let v=c.current.next();if(v.done){c.current=null;return}i===v.value?o():r(v.value)});ta(()=>{c.current&&o()});let f=_t(v=>{c.current=v(i),o()});return[i,f]}const th={prefix:String(Math.round(Math.random()*1e10)),current:0},lh=re.createContext(th),h2=re.createContext(!1);let no=new WeakMap;function y2(n=!1){let i=g.useContext(lh),r=g.useRef(null);if(r.current===null&&!n){var c,o;let f=(o=re.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||o===void 0||(c=o.ReactCurrentOwner)===null||c===void 0?void 0:c.current;if(f){let v=no.get(f);v==null?no.set(f,{id:i.current,state:f.memoizedState}):f.memoizedState!==v.state&&(i.current=v.id,no.delete(f))}r.current=++i.current}return r.current}function m2(n){let i=g.useContext(lh),r=y2(!!n),c=`react-aria${i.prefix}`;return n||`${c}-${r}`}function b2(n){let i=re.useId(),[r]=g.useState(x2()),c=r?"react-aria":`react-aria${th.prefix}`;return n||`${c}-${i}`}const g2=typeof re.useId=="function"?b2:m2;function p2(){return!1}function E2(){return!0}function S2(n){return()=>{}}function x2(){return typeof re.useSyncExternalStore=="function"?re.useSyncExternalStore(S2,p2,E2):g.useContext(h2)}let T2=!!(typeof window<"u"&&window.document&&window.document.createElement),Cn=new Map,Nu;typeof FinalizationRegistry<"u"&&(Nu=new FinalizationRegistry(n=>{Cn.delete(n)}));function On(n){let[i,r]=g.useState(n),c=g.useRef(null),o=g2(i),f=g.useRef(null);if(Nu&&Nu.register(f,o),T2){const v=Cn.get(o);v&&!v.includes(c)?v.push(c):Cn.set(o,[c])}return ta(()=>{let v=o;return()=>{Nu&&Nu.unregister(f),Cn.delete(v)}},[o]),g.useEffect(()=>{let v=c.current;return v&&r(v),()=>{v&&(c.current=null)}}),o}function _2(n,i){if(n===i)return n;let r=Cn.get(n);if(r)return r.forEach(o=>o.current=i),i;let c=Cn.get(i);return c?(c.forEach(o=>o.current=n),n):i}function u1(n=[]){let i=On(),[r,c]=v2(i),o=g.useCallback(()=>{c(function*(){yield i,yield document.getElementById(i)?i:void 0})},[i,c]);return ta(o,[i,o,...n]),r}function ah(...n){return(...i)=>{for(let r of n)typeof r=="function"&&r(...i)}}const bt=n=>{var i;return(i=n?.ownerDocument)!==null&&i!==void 0?i:document},kt=n=>n&&"window"in n&&n.window===n?n:bt(n).defaultView||window;function A2(n){return n!==null&&typeof n=="object"&&"nodeType"in n&&typeof n.nodeType=="number"}function C2(n){return A2(n)&&n.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in n}let M2=!1;function _o(){return M2}function Xt(n,i){if(!_o())return i&&n?n.contains(i):!1;if(!n||!i)return!1;let r=i;for(;r!==null;){if(r===n)return!0;r.tagName==="SLOT"&&r.assignedSlot?r=r.assignedSlot.parentNode:C2(r)?r=r.host:r=r.parentNode}return!1}const ju=(n=document)=>{var i;if(!_o())return n.activeElement;let r=n.activeElement;for(;r&&"shadowRoot"in r&&(!((i=r.shadowRoot)===null||i===void 0)&&i.activeElement);)r=r.shadowRoot.activeElement;return r};function yt(n){return _o()&&n.target.shadowRoot&&n.composedPath?n.composedPath()[0]:n.target}function nh(n){var i,r,c="";if(typeof n=="string"||typeof n=="number")c+=n;else if(typeof n=="object")if(Array.isArray(n)){var o=n.length;for(i=0;i<o;i++)n[i]&&(r=nh(n[i]))&&(c&&(c+=" "),c+=r)}else for(r in n)n[r]&&(c&&(c+=" "),c+=r);return c}function O2(){for(var n,i,r=0,c="",o=arguments.length;r<o;r++)(n=arguments[r])&&(i=nh(n))&&(c&&(c+=" "),c+=i);return c}function Qt(...n){let i={...n[0]};for(let r=1;r<n.length;r++){let c=n[r];for(let o in c){let f=i[o],v=c[o];typeof f=="function"&&typeof v=="function"&&o[0]==="o"&&o[1]==="n"&&o.charCodeAt(2)>=65&&o.charCodeAt(2)<=90?i[o]=ah(f,v):(o==="className"||o==="UNSAFE_className")&&typeof f=="string"&&typeof v=="string"?i[o]=O2(f,v):o==="id"&&f&&v?i.id=_2(f,v):i[o]=v!==void 0?v:f}}return i}function D2(...n){return n.length===1&&n[0]?n[0]:i=>{let r=!1;const c=n.map(o=>{const f=i1(o,i);return r||(r=typeof f=="function"),f});if(r)return()=>{c.forEach((o,f)=>{typeof o=="function"?o():i1(n[f],null)})}}}function i1(n,i){if(typeof n=="function")return n(i);n!=null&&(n.current=i)}const R2=new Set(["id"]),w2=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),N2=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),$2=new Set(["dir","lang","hidden","inert","translate"]),r1=new Set(["onClick","onAuxClick","onContextMenu","onDoubleClick","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut","onGotPointerCapture","onLostPointerCapture","onScroll","onWheel","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionCancel","onTransitionEnd","onTransitionRun","onTransitionStart"]),z2=/^(data-.*)$/;function xr(n,i={}){let{labelable:r,isLink:c,global:o,events:f=o,propNames:v}=i,h={};for(const b in n)Object.prototype.hasOwnProperty.call(n,b)&&(R2.has(b)||r&&w2.has(b)||c&&N2.has(b)||o&&$2.has(b)||f&&r1.has(b)||b.endsWith("Capture")&&r1.has(b.slice(0,-7))||v?.has(b)||z2.test(b))&&(h[b]=n[b]);return h}function Dn(n){if(U2())n.focus({preventScroll:!0});else{let i=V2(n);n.focus(),L2(i)}}let ir=null;function U2(){if(ir==null){ir=!1;try{document.createElement("div").focus({get preventScroll(){return ir=!0,!0}})}catch{}}return ir}function V2(n){let i=n.parentNode,r=[],c=document.scrollingElement||document.documentElement;for(;i instanceof HTMLElement&&i!==c;)(i.offsetHeight<i.scrollHeight||i.offsetWidth<i.scrollWidth)&&r.push({element:i,scrollTop:i.scrollTop,scrollLeft:i.scrollLeft}),i=i.parentNode;return c instanceof HTMLElement&&r.push({element:c,scrollTop:c.scrollTop,scrollLeft:c.scrollLeft}),r}function L2(n){for(let{element:i,scrollTop:r,scrollLeft:c}of n)i.scrollTop=r,i.scrollLeft=c}function Tr(n){var i;if(typeof window>"u"||window.navigator==null)return!1;let r=(i=window.navigator.userAgentData)===null||i===void 0?void 0:i.brands;return Array.isArray(r)&&r.some(c=>n.test(c.brand))||n.test(window.navigator.userAgent)}function Ao(n){var i;return typeof window<"u"&&window.navigator!=null?n.test(((i=window.navigator.userAgentData)===null||i===void 0?void 0:i.platform)||window.navigator.platform):!1}function la(n){let i=null;return()=>(i==null&&(i=n()),i)}const Hu=la(function(){return Ao(/^Mac/i)}),j2=la(function(){return Ao(/^iPhone/i)}),uh=la(function(){return Ao(/^iPad/i)||Hu()&&navigator.maxTouchPoints>1}),ih=la(function(){return j2()||uh()}),H2=la(function(){return Tr(/AppleWebKit/i)&&!B2()}),B2=la(function(){return Tr(/Chrome/i)}),rh=la(function(){return Tr(/Android/i)}),q2=la(function(){return Tr(/Firefox/i)});function Bu(n,i,r=!0){var c,o;let{metaKey:f,ctrlKey:v,altKey:h,shiftKey:b}=i;q2()&&(!((o=window.event)===null||o===void 0||(c=o.type)===null||c===void 0)&&c.startsWith("key"))&&n.target==="_blank"&&(Hu()?f=!0:v=!0);let m=H2()&&Hu()&&!uh()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:f,ctrlKey:v,altKey:h,shiftKey:b}):new MouseEvent("click",{metaKey:f,ctrlKey:v,altKey:h,shiftKey:b,bubbles:!0,cancelable:!0});Bu.isOpening=r,Dn(n),n.dispatchEvent(m),Bu.isOpening=!1}Bu.isOpening=!1;let Il=new Map,oo=new Set;function c1(){if(typeof window>"u")return;function n(c){return"propertyName"in c}let i=c=>{if(!n(c)||!c.target)return;let o=Il.get(c.target);o||(o=new Set,Il.set(c.target,o),c.target.addEventListener("transitioncancel",r,{once:!0})),o.add(c.propertyName)},r=c=>{if(!n(c)||!c.target)return;let o=Il.get(c.target);if(o&&(o.delete(c.propertyName),o.size===0&&(c.target.removeEventListener("transitioncancel",r),Il.delete(c.target)),Il.size===0)){for(let f of oo)f();oo.clear()}};document.body.addEventListener("transitionrun",i),document.body.addEventListener("transitionend",r)}typeof document<"u"&&(document.readyState!=="loading"?c1():document.addEventListener("DOMContentLoaded",c1));function Y2(){for(const[n]of Il)"isConnected"in n&&!n.isConnected&&Il.delete(n)}function ch(n){requestAnimationFrame(()=>{Y2(),Il.size===0?n():oo.add(n)})}function Co(){let n=g.useRef(new Map),i=g.useCallback((o,f,v,h)=>{let b=h?.once?(...m)=>{n.current.delete(v),v(...m)}:v;n.current.set(v,{type:f,eventTarget:o,fn:b,options:h}),o.addEventListener(f,b,h)},[]),r=g.useCallback((o,f,v,h)=>{var b;let m=((b=n.current.get(v))===null||b===void 0?void 0:b.fn)||v;o.removeEventListener(f,m,h),n.current.delete(v)},[]),c=g.useCallback(()=>{n.current.forEach((o,f)=>{r(o.eventTarget,o.type,f,o.options)})},[r]);return g.useEffect(()=>c,[c]),{addGlobalListener:i,removeGlobalListener:r,removeAllGlobalListeners:c}}function G2(n,i){let{id:r,"aria-label":c,"aria-labelledby":o}=n;return r=On(r),o&&c?o=[...new Set([r,...o.trim().split(/\s+/)])].join(" "):o&&(o=o.trim().split(/\s+/).join(" ")),!c&&!o&&i&&(c=i),{id:r,"aria-label":c,"aria-labelledby":o}}function Z2(n){const i=g.useRef(null),r=g.useRef(void 0),c=g.useCallback(o=>{if(typeof n=="function"){const f=n,v=f(o);return()=>{typeof v=="function"?v():f(null)}}else if(n)return n.current=o,()=>{n.current=null}},[n]);return g.useMemo(()=>({get current(){return i.current},set current(o){i.current=o,r.current&&(r.current(),r.current=void 0),o!=null&&(r.current=c(o))}}),[c])}function sh(n,i){ta(()=>{if(n&&n.ref&&i)return n.ref.current=i.current,()=>{n.ref&&(n.ref.current=null)}})}function oh(n){return n.pointerType===""&&n.isTrusted?!0:rh()&&n.pointerType?n.type==="click"&&n.buttons===1:n.detail===0&&!n.pointerType}function X2(n){return!rh()&&n.width===0&&n.height===0||n.width===1&&n.height===1&&n.pressure===0&&n.detail===0&&n.pointerType==="mouse"}function k2(n,i,r){let c=_t(()=>{r&&r(i)});g.useEffect(()=>{var o;let f=n==null||(o=n.current)===null||o===void 0?void 0:o.form;return f?.addEventListener("reset",c),()=>{f?.removeEventListener("reset",c)}},[n,c])}const Q2=typeof Element<"u"&&"checkVisibility"in Element.prototype;function K2(n){const i=kt(n);if(!(n instanceof i.HTMLElement)&&!(n instanceof i.SVGElement))return!1;let{display:r,visibility:c}=n.style,o=r!=="none"&&c!=="hidden"&&c!=="collapse";if(o){const{getComputedStyle:f}=n.ownerDocument.defaultView;let{display:v,visibility:h}=f(n);o=v!=="none"&&h!=="hidden"&&h!=="collapse"}return o}function F2(n,i){return!n.hasAttribute("hidden")&&!n.hasAttribute("data-react-aria-prevent-focus")&&(n.nodeName==="DETAILS"&&i&&i.nodeName!=="SUMMARY"?n.hasAttribute("open"):!0)}function fh(n,i){return Q2?n.checkVisibility({visibilityProperty:!0})&&!n.closest("[data-react-aria-prevent-focus]"):n.nodeName!=="#comment"&&K2(n)&&F2(n,i)&&(!n.parentElement||fh(n.parentElement,n))}const dh=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable^="false"])',"permission"],P2=dh.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";dh.push('[tabindex]:not([tabindex="-1"]):not([disabled])');function J2(n){return n.matches(P2)&&fh(n)&&!W2(n)}function W2(n){let i=n;for(;i!=null;){if(i instanceof i.ownerDocument.defaultView.HTMLElement&&i.inert)return!0;i=i.parentElement}return!1}function I2(n,i,r){let[c,o]=g.useState(n||i),f=g.useRef(n!==void 0),v=n!==void 0;g.useEffect(()=>{f.current,f.current=v},[v]);let h=v?n:c,b=g.useCallback((m,...p)=>{let M=(D,...q)=>{r&&(Object.is(h,D)||r(D,...q)),v||(h=D)};typeof m=="function"?o((q,...K)=>{let w=m(v?h:q,...K);return M(w,...p),v?q:w}):(v||o(m),M(m,...p))},[v,h,r]);return[h,b]}const ep=Symbol("default");function tp({values:n,children:i}){for(let[r,c]of n)i=re.createElement(r.Provider,{value:c},i);return i}function _r(n){let{className:i,style:r,children:c,defaultClassName:o,defaultChildren:f,defaultStyle:v,values:h}=n;return g.useMemo(()=>{let b,m,p;return typeof i=="function"?b=i({...h,defaultClassName:o}):b=i,typeof r=="function"?m=r({...h,defaultStyle:v||{}}):m=r,typeof c=="function"?p=c({...h,defaultChildren:f}):c==null?p=f:p=c,{className:b??o,style:m||v?{...v,...m}:void 0,children:p??f,"data-rac":""}},[i,r,c,o,f,v,h])}function vh(n,i){let r=g.useContext(n);if(i===null)return null;if(r&&typeof r=="object"&&"slots"in r&&r.slots){let c=i||ep;if(!r.slots[c]){let o=new Intl.ListFormat().format(Object.keys(r.slots).map(v=>`"${v}"`)),f=i?`Invalid slot "${i}".`:"A slot prop is required.";throw new Error(`${f} Valid slot names are ${o}.`)}return r.slots[c]}return r}function Rn(n,i,r){let c=vh(r,n.slot)||{},{ref:o,...f}=c,v=Z2(g.useMemo(()=>D2(i,o),[i,o])),h=Qt(f,n);return"style"in f&&f.style&&"style"in n&&n.style&&(typeof f.style=="function"||typeof n.style=="function"?h.style=b=>{let m=typeof f.style=="function"?f.style(b):f.style,p={...b.defaultStyle,...m},M=typeof n.style=="function"?n.style({...b,defaultStyle:p}):n.style;return{...p,...M}}:h.style={...f.style,...n.style}),[h,v]}function lp(n=!0){let[i,r]=g.useState(n),c=g.useRef(!1),o=g.useCallback(f=>{c.current=!0,r(!!f)},[]);return ta(()=>{c.current||r(!1)},[]),[o,i]}function ap(n){const i=/^(data-.*)$/;let r={};for(const c in n)i.test(c)||(r[c]=n[c]);return r}const hh=7e3;let rl=null;function s1(n,i="assertive",r=hh){rl?rl.announce(n,i,r):(rl=new np,(typeof IS_REACT_ACT_ENVIRONMENT=="boolean"?IS_REACT_ACT_ENVIRONMENT:typeof jest<"u")?rl.announce(n,i,r):setTimeout(()=>{rl?.isAttached()&&rl?.announce(n,i,r)},100))}class np{isAttached(){var i;return(i=this.node)===null||i===void 0?void 0:i.isConnected}createLog(i){let r=document.createElement("div");return r.setAttribute("role","log"),r.setAttribute("aria-live",i),r.setAttribute("aria-relevant","additions"),r}destroy(){this.node&&(document.body.removeChild(this.node),this.node=null)}announce(i,r="assertive",c=hh){var o,f;if(!this.node)return;let v=document.createElement("div");typeof i=="object"?(v.setAttribute("role","img"),v.setAttribute("aria-labelledby",i["aria-labelledby"])):v.textContent=i,r==="assertive"?(o=this.assertiveLog)===null||o===void 0||o.appendChild(v):(f=this.politeLog)===null||f===void 0||f.appendChild(v),i!==""&&setTimeout(()=>{v.remove()},c)}clear(i){this.node&&((!i||i==="assertive")&&this.assertiveLog&&(this.assertiveLog.innerHTML=""),(!i||i==="polite")&&this.politeLog&&(this.politeLog.innerHTML=""))}constructor(){this.node=null,this.assertiveLog=null,this.politeLog=null,typeof document<"u"&&(this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node))}}function up(n,i){if(i.has(n))throw new TypeError("Cannot initialize the same private elements twice on an object")}function ip(n,i,r){up(n,i),i.set(n,r)}function Mo(n){let i=n;return i.nativeEvent=n,i.isDefaultPrevented=()=>i.defaultPrevented,i.isPropagationStopped=()=>i.cancelBubble,i.persist=()=>{},i}function yh(n,i){Object.defineProperty(n,"target",{value:i}),Object.defineProperty(n,"currentTarget",{value:i})}function mh(n){let i=g.useRef({isFocused:!1,observer:null});ta(()=>{const c=i.current;return()=>{c.observer&&(c.observer.disconnect(),c.observer=null)}},[]);let r=_t(c=>{n?.(c)});return g.useCallback(c=>{if(c.target instanceof HTMLButtonElement||c.target instanceof HTMLInputElement||c.target instanceof HTMLTextAreaElement||c.target instanceof HTMLSelectElement){i.current.isFocused=!0;let o=c.target,f=v=>{if(i.current.isFocused=!1,o.disabled){let h=Mo(v);r(h)}i.current.observer&&(i.current.observer.disconnect(),i.current.observer=null)};o.addEventListener("focusout",f,{once:!0}),i.current.observer=new MutationObserver(()=>{if(i.current.isFocused&&o.disabled){var v;(v=i.current.observer)===null||v===void 0||v.disconnect();let h=o===document.activeElement?null:document.activeElement;o.dispatchEvent(new FocusEvent("blur",{relatedTarget:h})),o.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:h}))}}),i.current.observer.observe(o,{attributes:!0,attributeFilter:["disabled"]})}},[r])}let vr=!1;function rp(n){for(;n&&!J2(n);)n=n.parentElement;let i=kt(n),r=i.document.activeElement;if(!r||r===n)return;vr=!0;let c=!1,o=p=>{(p.target===r||c)&&p.stopImmediatePropagation()},f=p=>{(p.target===r||c)&&(p.stopImmediatePropagation(),!n&&!c&&(c=!0,Dn(r),b()))},v=p=>{(p.target===n||c)&&p.stopImmediatePropagation()},h=p=>{(p.target===n||c)&&(p.stopImmediatePropagation(),c||(c=!0,Dn(r),b()))};i.addEventListener("blur",o,!0),i.addEventListener("focusout",f,!0),i.addEventListener("focusin",h,!0),i.addEventListener("focus",v,!0);let b=()=>{cancelAnimationFrame(m),i.removeEventListener("blur",o,!0),i.removeEventListener("focusout",f,!0),i.removeEventListener("focusin",h,!0),i.removeEventListener("focus",v,!0),vr=!1,c=!1},m=requestAnimationFrame(b);return b}let _n="default",fo="",dr=new WeakMap;function cp(n){if(ih()){if(_n==="default"){const i=bt(n);fo=i.documentElement.style.webkitUserSelect,i.documentElement.style.webkitUserSelect="none"}_n="disabled"}else if(n instanceof HTMLElement||n instanceof SVGElement){let i="userSelect"in n.style?"userSelect":"webkitUserSelect";dr.set(n,n.style[i]),n.style[i]="none"}}function o1(n){if(ih()){if(_n!=="disabled")return;_n="restoring",setTimeout(()=>{ch(()=>{if(_n==="restoring"){const i=bt(n);i.documentElement.style.webkitUserSelect==="none"&&(i.documentElement.style.webkitUserSelect=fo||""),fo="",_n="default"}})},300)}else if((n instanceof HTMLElement||n instanceof SVGElement)&&n&&dr.has(n)){let i=dr.get(n),r="userSelect"in n.style?"userSelect":"webkitUserSelect";n.style[r]==="none"&&(n.style[r]=i),n.getAttribute("style")===""&&n.removeAttribute("style"),dr.delete(n)}}const bh=re.createContext({register:()=>{}});bh.displayName="PressResponderContext";function sp(n,i){return i.get?i.get.call(n):i.value}function gh(n,i,r){if(!i.has(n))throw new TypeError("attempted to "+r+" private field on non-instance");return i.get(n)}function op(n,i){var r=gh(n,i,"get");return sp(n,r)}function fp(n,i,r){if(i.set)i.set.call(n,r);else{if(!i.writable)throw new TypeError("attempted to set read only private field");i.value=r}}function f1(n,i,r){var c=gh(n,i,"set");return fp(n,c,r),r}function dp(n){let i=g.useContext(bh);if(i){let{register:r,...c}=i;n=Qt(c,n),r()}return sh(i,n.ref),n}var rr=new WeakMap;class cr{continuePropagation(){f1(this,rr,!1)}get shouldStopPropagation(){return op(this,rr)}constructor(i,r,c,o){ip(this,rr,{writable:!0,value:void 0}),f1(this,rr,!0);var f;let v=(f=o?.target)!==null&&f!==void 0?f:c.currentTarget;const h=v?.getBoundingClientRect();let b,m=0,p,M=null;c.clientX!=null&&c.clientY!=null&&(p=c.clientX,M=c.clientY),h&&(p!=null&&M!=null?(b=p-h.left,m=M-h.top):(b=h.width/2,m=h.height/2)),this.type=i,this.pointerType=r,this.target=c.currentTarget,this.shiftKey=c.shiftKey,this.metaKey=c.metaKey,this.ctrlKey=c.ctrlKey,this.altKey=c.altKey,this.x=b,this.y=m}}const d1=Symbol("linkClicked"),v1="react-aria-pressable-style",h1="data-react-aria-pressable";function vp(n){let{onPress:i,onPressChange:r,onPressStart:c,onPressEnd:o,onPressUp:f,onClick:v,isDisabled:h,isPressed:b,preventFocusOnPress:m,shouldCancelOnPointerExit:p,allowTextSelectionOnPress:M,ref:D,...q}=dp(n),[K,w]=g.useState(!1),H=g.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:W,removeAllGlobalListeners:G}=Co(),X=_t((j,F)=>{let oe=H.current;if(h||oe.didFirePressStart)return!1;let k=!0;if(oe.isTriggeringEvent=!0,c){let fe=new cr("pressstart",F,j);c(fe),k=fe.shouldStopPropagation}return r&&r(!0),oe.isTriggeringEvent=!1,oe.didFirePressStart=!0,w(!0),k}),J=_t((j,F,oe=!0)=>{let k=H.current;if(!k.didFirePressStart)return!1;k.didFirePressStart=!1,k.isTriggeringEvent=!0;let fe=!0;if(o){let _=new cr("pressend",F,j);o(_),fe=_.shouldStopPropagation}if(r&&r(!1),w(!1),i&&oe&&!h){let _=new cr("press",F,j);i(_),fe&&(fe=_.shouldStopPropagation)}return k.isTriggeringEvent=!1,fe}),Q=_t((j,F)=>{let oe=H.current;if(h)return!1;if(f){oe.isTriggeringEvent=!0;let k=new cr("pressup",F,j);return f(k),oe.isTriggeringEvent=!1,k.shouldStopPropagation}return!0}),ve=_t(j=>{let F=H.current;if(F.isPressed&&F.target){F.didFirePressStart&&F.pointerType!=null&&J(Ta(F.target,j),F.pointerType,!1),F.isPressed=!1,F.isOverTarget=!1,F.activePointerId=null,F.pointerType=null,G(),M||o1(F.target);for(let oe of F.disposables)oe();F.disposables=[]}}),ue=_t(j=>{p&&ve(j)}),Ae=_t(j=>{h||v?.(j)}),Re=_t((j,F)=>{if(!h&&v){let oe=new MouseEvent("click",j);yh(oe,F),v(Mo(oe))}}),Ce=g.useMemo(()=>{let j=H.current,F={onKeyDown(k){if(uo(k.nativeEvent,k.currentTarget)&&Xt(k.currentTarget,yt(k.nativeEvent))){var fe;y1(yt(k.nativeEvent),k.key)&&k.preventDefault();let _=!0;if(!j.isPressed&&!k.repeat){j.target=k.currentTarget,j.isPressed=!0,j.pointerType="keyboard",_=X(k,"keyboard");let Z=k.currentTarget,ae=ge=>{uo(ge,Z)&&!ge.repeat&&Xt(Z,yt(ge))&&j.target&&Q(Ta(j.target,ge),"keyboard")};W(bt(k.currentTarget),"keyup",ah(ae,oe),!0)}_&&k.stopPropagation(),k.metaKey&&Hu()&&((fe=j.metaKeyEvents)===null||fe===void 0||fe.set(k.key,k.nativeEvent))}else k.key==="Meta"&&(j.metaKeyEvents=new Map)},onClick(k){if(!(k&&!Xt(k.currentTarget,yt(k.nativeEvent)))&&k&&k.button===0&&!j.isTriggeringEvent&&!Bu.isOpening){let fe=!0;if(h&&k.preventDefault(),!j.ignoreEmulatedMouseEvents&&!j.isPressed&&(j.pointerType==="virtual"||oh(k.nativeEvent))){let _=X(k,"virtual"),Z=Q(k,"virtual"),ae=J(k,"virtual");Ae(k),fe=_&&Z&&ae}else if(j.isPressed&&j.pointerType!=="keyboard"){let _=j.pointerType||k.nativeEvent.pointerType||"virtual",Z=Q(Ta(k.currentTarget,k),_),ae=J(Ta(k.currentTarget,k),_,!0);fe=Z&&ae,j.isOverTarget=!1,Ae(k),ve(k)}j.ignoreEmulatedMouseEvents=!1,fe&&k.stopPropagation()}}},oe=k=>{var fe;if(j.isPressed&&j.target&&uo(k,j.target)){var _;y1(yt(k),k.key)&&k.preventDefault();let ae=yt(k),ge=Xt(j.target,yt(k));J(Ta(j.target,k),"keyboard",ge),ge&&Re(k,j.target),G(),k.key!=="Enter"&&Oo(j.target)&&Xt(j.target,ae)&&!k[d1]&&(k[d1]=!0,Bu(j.target,k,!1)),j.isPressed=!1,(_=j.metaKeyEvents)===null||_===void 0||_.delete(k.key)}else if(k.key==="Meta"&&(!((fe=j.metaKeyEvents)===null||fe===void 0)&&fe.size)){var Z;let ae=j.metaKeyEvents;j.metaKeyEvents=void 0;for(let ge of ae.values())(Z=j.target)===null||Z===void 0||Z.dispatchEvent(new KeyboardEvent("keyup",ge))}};if(typeof PointerEvent<"u"){F.onPointerDown=_=>{if(_.button!==0||!Xt(_.currentTarget,yt(_.nativeEvent)))return;if(X2(_.nativeEvent)){j.pointerType="virtual";return}j.pointerType=_.pointerType;let Z=!0;if(!j.isPressed){j.isPressed=!0,j.isOverTarget=!0,j.activePointerId=_.pointerId,j.target=_.currentTarget,M||cp(j.target),Z=X(_,j.pointerType);let ae=yt(_.nativeEvent);"releasePointerCapture"in ae&&ae.releasePointerCapture(_.pointerId),W(bt(_.currentTarget),"pointerup",k,!1),W(bt(_.currentTarget),"pointercancel",fe,!1)}Z&&_.stopPropagation()},F.onMouseDown=_=>{if(Xt(_.currentTarget,yt(_.nativeEvent))&&_.button===0){if(m){let Z=rp(_.target);Z&&j.disposables.push(Z)}_.stopPropagation()}},F.onPointerUp=_=>{!Xt(_.currentTarget,yt(_.nativeEvent))||j.pointerType==="virtual"||_.button===0&&!j.isPressed&&Q(_,j.pointerType||_.pointerType)},F.onPointerEnter=_=>{_.pointerId===j.activePointerId&&j.target&&!j.isOverTarget&&j.pointerType!=null&&(j.isOverTarget=!0,X(Ta(j.target,_),j.pointerType))},F.onPointerLeave=_=>{_.pointerId===j.activePointerId&&j.target&&j.isOverTarget&&j.pointerType!=null&&(j.isOverTarget=!1,J(Ta(j.target,_),j.pointerType,!1),ue(_))};let k=_=>{if(_.pointerId===j.activePointerId&&j.isPressed&&_.button===0&&j.target){if(Xt(j.target,yt(_))&&j.pointerType!=null){let Z=!1,ae=setTimeout(()=>{j.isPressed&&j.target instanceof HTMLElement&&(Z?ve(_):(Dn(j.target),j.target.click()))},80);W(_.currentTarget,"click",()=>Z=!0,!0),j.disposables.push(()=>clearTimeout(ae))}else ve(_);j.isOverTarget=!1}},fe=_=>{ve(_)};F.onDragStart=_=>{Xt(_.currentTarget,yt(_.nativeEvent))&&ve(_)}}return F},[W,h,m,G,M,ve,ue,J,X,Q,Ae,Re]);return g.useEffect(()=>{if(!D)return;const j=bt(D.current);if(!j||!j.head||j.getElementById(v1))return;const F=j.createElement("style");F.id=v1,F.textContent=`
@layer {
  [${h1}] {
    touch-action: pan-x pan-y pinch-zoom;
  }
}
    `.trim(),j.head.prepend(F)},[D]),g.useEffect(()=>{let j=H.current;return()=>{var F;M||o1((F=j.target)!==null&&F!==void 0?F:void 0);for(let oe of j.disposables)oe();j.disposables=[]}},[M]),{isPressed:b||K,pressProps:Qt(q,Ce,{[h1]:!0})}}function Oo(n){return n.tagName==="A"&&n.hasAttribute("href")}function uo(n,i){const{key:r,code:c}=n,o=i,f=o.getAttribute("role");return(r==="Enter"||r===" "||r==="Spacebar"||c==="Space")&&!(o instanceof kt(o).HTMLInputElement&&!ph(o,r)||o instanceof kt(o).HTMLTextAreaElement||o.isContentEditable)&&!((f==="link"||!f&&Oo(o))&&r!=="Enter")}function Ta(n,i){let r=i.clientX,c=i.clientY;return{currentTarget:n,shiftKey:i.shiftKey,ctrlKey:i.ctrlKey,metaKey:i.metaKey,altKey:i.altKey,clientX:r,clientY:c}}function hp(n){return n instanceof HTMLInputElement?!1:n instanceof HTMLButtonElement?n.type!=="submit"&&n.type!=="reset":!Oo(n)}function y1(n,i){return n instanceof HTMLInputElement?!ph(n,i):hp(n)}const yp=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function ph(n,i){return n.type==="checkbox"||n.type==="radio"?i===" ":yp.has(n.type)}let Oa=null,vo=new Set,$u=new Map,Aa=!1,ho=!1;const mp={Tab:!0,Escape:!0};function Ar(n,i){for(let r of vo)r(n,i)}function bp(n){return!(n.metaKey||!Hu()&&n.altKey||n.ctrlKey||n.key==="Control"||n.key==="Shift"||n.key==="Meta")}function hr(n){Aa=!0,bp(n)&&(Oa="keyboard",Ar("keyboard",n))}function Mn(n){Oa="pointer",(n.type==="mousedown"||n.type==="pointerdown")&&(Aa=!0,Ar("pointer",n))}function Eh(n){oh(n)&&(Aa=!0,Oa="virtual")}function Sh(n){n.target===window||n.target===document||vr||!n.isTrusted||(!Aa&&!ho&&(Oa="virtual",Ar("virtual",n)),Aa=!1,ho=!1)}function xh(){vr||(Aa=!1,ho=!0)}function yo(n){if(typeof window>"u"||typeof document>"u"||$u.get(kt(n)))return;const i=kt(n),r=bt(n);let c=i.HTMLElement.prototype.focus;i.HTMLElement.prototype.focus=function(){Aa=!0,c.apply(this,arguments)},r.addEventListener("keydown",hr,!0),r.addEventListener("keyup",hr,!0),r.addEventListener("click",Eh,!0),i.addEventListener("focus",Sh,!0),i.addEventListener("blur",xh,!1),typeof PointerEvent<"u"&&(r.addEventListener("pointerdown",Mn,!0),r.addEventListener("pointermove",Mn,!0),r.addEventListener("pointerup",Mn,!0)),i.addEventListener("beforeunload",()=>{Th(n)},{once:!0}),$u.set(i,{focus:c})}const Th=(n,i)=>{const r=kt(n),c=bt(n);i&&c.removeEventListener("DOMContentLoaded",i),$u.has(r)&&(r.HTMLElement.prototype.focus=$u.get(r).focus,c.removeEventListener("keydown",hr,!0),c.removeEventListener("keyup",hr,!0),c.removeEventListener("click",Eh,!0),r.removeEventListener("focus",Sh,!0),r.removeEventListener("blur",xh,!1),typeof PointerEvent<"u"&&(c.removeEventListener("pointerdown",Mn,!0),c.removeEventListener("pointermove",Mn,!0),c.removeEventListener("pointerup",Mn,!0)),$u.delete(r))};function gp(n){const i=bt(n);let r;return i.readyState!=="loading"?yo(n):(r=()=>{yo(n)},i.addEventListener("DOMContentLoaded",r)),()=>Th(n,r)}typeof document<"u"&&gp();function _h(){return Oa!=="pointer"}function pp(){return Oa}function Ep(n){Oa=n,Ar(n,null)}const Sp=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function xp(n,i,r){let c=bt(r?.target);const o=typeof window<"u"?kt(r?.target).HTMLInputElement:HTMLInputElement,f=typeof window<"u"?kt(r?.target).HTMLTextAreaElement:HTMLTextAreaElement,v=typeof window<"u"?kt(r?.target).HTMLElement:HTMLElement,h=typeof window<"u"?kt(r?.target).KeyboardEvent:KeyboardEvent;return n=n||c.activeElement instanceof o&&!Sp.has(c.activeElement.type)||c.activeElement instanceof f||c.activeElement instanceof v&&c.activeElement.isContentEditable,!(n&&i==="keyboard"&&r instanceof h&&!mp[r.key])}function Tp(n,i,r){yo(),g.useEffect(()=>{let c=(o,f)=>{xp(!!r?.isTextInput,o,f)&&n(_h())};return vo.add(c),()=>{vo.delete(c)}},i)}function _p(n){const i=bt(n),r=ju(i);if(pp()==="virtual"){let c=r;ch(()=>{ju(i)===c&&n.isConnected&&Dn(n)})}else Dn(n)}function Ah(n){let{isDisabled:i,onFocus:r,onBlur:c,onFocusChange:o}=n;const f=g.useCallback(b=>{if(b.target===b.currentTarget)return c&&c(b),o&&o(!1),!0},[c,o]),v=mh(f),h=g.useCallback(b=>{const m=bt(b.target),p=m?ju(m):ju();b.target===b.currentTarget&&p===yt(b.nativeEvent)&&(r&&r(b),o&&o(!0),v(b))},[o,r,v]);return{focusProps:{onFocus:!i&&(r||o||c)?h:void 0,onBlur:!i&&(c||o)?f:void 0}}}function m1(n){if(!n)return;let i=!0;return r=>{let c={...r,preventDefault(){r.preventDefault()},isDefaultPrevented(){return r.isDefaultPrevented()},stopPropagation(){i=!0},continuePropagation(){i=!1},isPropagationStopped(){return i}};n(c),i&&r.stopPropagation()}}function Ap(n){return{keyboardProps:n.isDisabled?{}:{onKeyDown:m1(n.onKeyDown),onKeyUp:m1(n.onKeyUp)}}}let Cp=re.createContext(null);function Mp(n){let i=g.useContext(Cp)||{};sh(i,n);let{ref:r,...c}=i;return c}function Ch(n,i){let{focusProps:r}=Ah(n),{keyboardProps:c}=Ap(n),o=Qt(r,c),f=Mp(i),v=n.isDisabled?{}:f,h=g.useRef(n.autoFocus);g.useEffect(()=>{h.current&&i.current&&_p(i.current),h.current=!1},[i]);let b=n.excludeFromTabOrder?-1:0;return n.isDisabled&&(b=void 0),{focusableProps:Qt({...o,tabIndex:b},v)}}function Op(n){let{isDisabled:i,onBlurWithin:r,onFocusWithin:c,onFocusWithinChange:o}=n,f=g.useRef({isFocusWithin:!1}),{addGlobalListener:v,removeAllGlobalListeners:h}=Co(),b=g.useCallback(M=>{M.currentTarget.contains(M.target)&&f.current.isFocusWithin&&!M.currentTarget.contains(M.relatedTarget)&&(f.current.isFocusWithin=!1,h(),r&&r(M),o&&o(!1))},[r,o,f,h]),m=mh(b),p=g.useCallback(M=>{if(!M.currentTarget.contains(M.target))return;const D=bt(M.target),q=ju(D);if(!f.current.isFocusWithin&&q===yt(M.nativeEvent)){c&&c(M),o&&o(!0),f.current.isFocusWithin=!0,m(M);let K=M.currentTarget;v(D,"focus",w=>{if(f.current.isFocusWithin&&!Xt(K,w.target)){let H=new D.defaultView.FocusEvent("blur",{relatedTarget:w.target});yh(H,K);let W=Mo(H);b(W)}},{capture:!0})}},[c,o,m,v,b]);return i?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:p,onBlur:b}}}let mo=!1,sr=0;function Dp(){mo=!0,setTimeout(()=>{mo=!1},50)}function b1(n){n.pointerType==="touch"&&Dp()}function Rp(){if(!(typeof document>"u"))return sr===0&&typeof PointerEvent<"u"&&document.addEventListener("pointerup",b1),sr++,()=>{sr--,!(sr>0)&&typeof PointerEvent<"u"&&document.removeEventListener("pointerup",b1)}}function Do(n){let{onHoverStart:i,onHoverChange:r,onHoverEnd:c,isDisabled:o}=n,[f,v]=g.useState(!1),h=g.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;g.useEffect(Rp,[]);let{addGlobalListener:b,removeAllGlobalListeners:m}=Co(),{hoverProps:p,triggerHoverEnd:M}=g.useMemo(()=>{let D=(w,H)=>{if(h.pointerType=H,o||H==="touch"||h.isHovered||!w.currentTarget.contains(w.target))return;h.isHovered=!0;let W=w.currentTarget;h.target=W,b(bt(w.target),"pointerover",G=>{h.isHovered&&h.target&&!Xt(h.target,G.target)&&q(G,G.pointerType)},{capture:!0}),i&&i({type:"hoverstart",target:W,pointerType:H}),r&&r(!0),v(!0)},q=(w,H)=>{let W=h.target;h.pointerType="",h.target=null,!(H==="touch"||!h.isHovered||!W)&&(h.isHovered=!1,m(),c&&c({type:"hoverend",target:W,pointerType:H}),r&&r(!1),v(!1))},K={};return typeof PointerEvent<"u"&&(K.onPointerEnter=w=>{mo&&w.pointerType==="mouse"||D(w,w.pointerType)},K.onPointerLeave=w=>{!o&&w.currentTarget.contains(w.target)&&q(w,w.pointerType)}),{hoverProps:K,triggerHoverEnd:q}},[i,r,c,o,h,b,m]);return g.useEffect(()=>{o&&M({currentTarget:h.target},h.pointerType)},[o]),{hoverProps:p,isHovered:f}}function Ro(n={}){let{autoFocus:i=!1,isTextInput:r,within:c}=n,o=g.useRef({isFocused:!1,isFocusVisible:i||_h()}),[f,v]=g.useState(!1),[h,b]=g.useState(()=>o.current.isFocused&&o.current.isFocusVisible),m=g.useCallback(()=>b(o.current.isFocused&&o.current.isFocusVisible),[]),p=g.useCallback(q=>{o.current.isFocused=q,v(q),m()},[m]);Tp(q=>{o.current.isFocusVisible=q,m()},[],{isTextInput:r});let{focusProps:M}=Ah({isDisabled:c,onFocusChange:p}),{focusWithinProps:D}=Op({isDisabled:!c,onFocusWithinChange:p});return{isFocused:f,isFocusVisible:h,focusProps:c?D:M}}function wp(n){let{id:i,label:r,"aria-labelledby":c,"aria-label":o,labelElementType:f="label"}=n;i=On(i);let v=On(),h={};r&&(c=c?`${v} ${c}`:v,h={id:v,htmlFor:f==="label"?i:void 0});let b=G2({id:i,"aria-label":o,"aria-labelledby":c});return{labelProps:h,fieldProps:b}}function Np(n){let{description:i,errorMessage:r,isInvalid:c,validationState:o}=n,{labelProps:f,fieldProps:v}=wp(n),h=u1([!!i,!!r,c,o]),b=u1([!!i,!!r,c,o]);return v=Qt(v,{"aria-describedby":[h,b,n["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:f,fieldProps:v,descriptionProps:{id:h},errorMessageProps:{id:b}}}const Mh={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},Oh={...Mh,customError:!0,valid:!1},Ru={isInvalid:!1,validationDetails:Mh,validationErrors:[]},$p=g.createContext({}),g1="__formValidationState"+Date.now();function zp(n){if(n[g1]){let{realtimeValidation:i,displayValidation:r,updateValidation:c,resetValidation:o,commitValidation:f}=n[g1];return{realtimeValidation:i,displayValidation:r,updateValidation:c,resetValidation:o,commitValidation:f}}return Up(n)}function Up(n){let{isInvalid:i,validationState:r,name:c,value:o,builtinValidation:f,validate:v,validationBehavior:h="aria"}=n;r&&(i||(i=r==="invalid"));let b=i!==void 0?{isInvalid:i,validationErrors:[],validationDetails:Oh}:null,m=g.useMemo(()=>{if(!v||o==null)return null;let Ce=Vp(v,o);return p1(Ce)},[v,o]);f?.validationDetails.valid&&(f=void 0);let p=g.useContext($p),M=g.useMemo(()=>c?Array.isArray(c)?c.flatMap(Ce=>bo(p[Ce])):bo(p[c]):[],[p,c]),[D,q]=g.useState(p),[K,w]=g.useState(!1);p!==D&&(q(p),w(!1));let H=g.useMemo(()=>p1(K?[]:M),[K,M]),W=g.useRef(Ru),[G,X]=g.useState(Ru),J=g.useRef(Ru),Q=()=>{if(!ve)return;ue(!1);let Ce=m||f||W.current;io(Ce,J.current)||(J.current=Ce,X(Ce))},[ve,ue]=g.useState(!1);return g.useEffect(Q),{realtimeValidation:b||H||m||f||Ru,displayValidation:h==="native"?b||H||G:b||H||m||f||G,updateValidation(Ce){h==="aria"&&!io(G,Ce)?X(Ce):W.current=Ce},resetValidation(){let Ce=Ru;io(Ce,J.current)||(J.current=Ce,X(Ce)),h==="native"&&ue(!1),w(!0)},commitValidation(){h==="native"&&ue(!0),w(!0)}}}function bo(n){return n?Array.isArray(n)?n:[n]:[]}function Vp(n,i){if(typeof n=="function"){let r=n(i);if(r&&typeof r!="boolean")return bo(r)}return[]}function p1(n){return n.length?{isInvalid:!0,validationErrors:n,validationDetails:Oh}:null}function io(n,i){return n===i?!0:!!n&&!!i&&n.isInvalid===i.isInvalid&&n.validationErrors.length===i.validationErrors.length&&n.validationErrors.every((r,c)=>r===i.validationErrors[c])&&Object.entries(n.validationDetails).every(([r,c])=>i.validationDetails[r]===c)}function Lp(n,i,r){let{validationBehavior:c,focus:o}=n;ta(()=>{if(c==="native"&&r?.current&&!r.current.disabled){let m=i.realtimeValidation.isInvalid?i.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";r.current.setCustomValidity(m),r.current.hasAttribute("title")||(r.current.title=""),i.realtimeValidation.isInvalid||i.updateValidation(Hp(r.current))}});let f=g.useRef(!1),v=_t(()=>{f.current||i.resetValidation()}),h=_t(m=>{var p;i.displayValidation.isInvalid||i.commitValidation();let M=r==null||(p=r.current)===null||p===void 0?void 0:p.form;if(!m.defaultPrevented&&r&&M&&Bp(M)===r.current){var D;o?o():(D=r.current)===null||D===void 0||D.focus(),Ep("keyboard")}m.preventDefault()}),b=_t(()=>{i.commitValidation()});g.useEffect(()=>{let m=r?.current;if(!m)return;let p=m.form,M=p?.reset;return p&&(p.reset=()=>{f.current=!window.event||window.event.type==="message"&&window.event.target instanceof MessagePort,M?.call(p),f.current=!1}),m.addEventListener("invalid",h),m.addEventListener("change",b),p?.addEventListener("reset",v),()=>{m.removeEventListener("invalid",h),m.removeEventListener("change",b),p?.removeEventListener("reset",v),p&&(p.reset=M)}},[r,h,b,v,c])}function jp(n){let i=n.validity;return{badInput:i.badInput,customError:i.customError,patternMismatch:i.patternMismatch,rangeOverflow:i.rangeOverflow,rangeUnderflow:i.rangeUnderflow,stepMismatch:i.stepMismatch,tooLong:i.tooLong,tooShort:i.tooShort,typeMismatch:i.typeMismatch,valueMissing:i.valueMissing,valid:i.valid}}function Hp(n){return{isInvalid:!n.validity.valid,validationDetails:jp(n),validationErrors:n.validationMessage?[n.validationMessage]:[]}}function Bp(n){for(let i=0;i<n.elements.length;i++){let r=n.elements[i];if(!r.validity.valid)return r}return null}function qp(n,i){let{inputElementType:r="input",isDisabled:c=!1,isRequired:o=!1,isReadOnly:f=!1,type:v="text",validationBehavior:h="aria"}=n,[b,m]=I2(n.value,n.defaultValue||"",n.onChange),{focusableProps:p}=Ch(n,i),M=zp({...n,value:b}),{isInvalid:D,validationErrors:q,validationDetails:K}=M.displayValidation,{labelProps:w,fieldProps:H,descriptionProps:W,errorMessageProps:G}=Np({...n,isInvalid:D,errorMessage:n.errorMessage||q}),X=xr(n,{labelable:!0});const J={type:v,pattern:n.pattern};let[Q]=g.useState(b);var ve;return k2(i,(ve=n.defaultValue)!==null&&ve!==void 0?ve:Q,m),Lp(n,M,i),g.useEffect(()=>{if(i.current instanceof kt(i.current).HTMLTextAreaElement){let ue=i.current;Object.defineProperty(ue,"defaultValue",{get:()=>ue.value,set:()=>{},configurable:!0})}},[i]),{labelProps:w,inputProps:Qt(X,r==="input"?J:void 0,{disabled:c,readOnly:f,required:o&&h==="native","aria-required":o&&h==="aria"||void 0,"aria-invalid":D||void 0,"aria-errormessage":n["aria-errormessage"],"aria-activedescendant":n["aria-activedescendant"],"aria-autocomplete":n["aria-autocomplete"],"aria-haspopup":n["aria-haspopup"],"aria-controls":n["aria-controls"],value:b,onChange:ue=>m(ue.target.value),autoComplete:n.autoComplete,autoCapitalize:n.autoCapitalize,maxLength:n.maxLength,minLength:n.minLength,name:n.name,form:n.form,placeholder:n.placeholder,inputMode:n.inputMode,autoCorrect:n.autoCorrect,spellCheck:n.spellCheck,[parseInt(re.version,10)>=17?"enterKeyHint":"enterkeyhint"]:n.enterKeyHint,onCopy:n.onCopy,onCut:n.onCut,onPaste:n.onPaste,onCompositionEnd:n.onCompositionEnd,onCompositionStart:n.onCompositionStart,onCompositionUpdate:n.onCompositionUpdate,onSelect:n.onSelect,onBeforeInput:n.onBeforeInput,onInput:n.onInput,...p,...H}),descriptionProps:W,errorMessageProps:G,isInvalid:D,validationErrors:q,validationDetails:K}}if(typeof HTMLTemplateElement<"u"){const n=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild").get;Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:!0,enumerable:!0,get:function(){return this.dataset.reactAriaHidden?this.content.firstChild:n.call(this)}})}const Yp=g.createContext(!1);function Cr(n){let i=(r,c)=>g.useContext(Yp)?null:n(r,c);return i.displayName=n.displayName||n.name,g.forwardRef(i)}function Gp(n,i){let{elementType:r="button",isDisabled:c,onPress:o,onPressStart:f,onPressEnd:v,onPressUp:h,onPressChange:b,preventFocusOnPress:m,allowFocusWhenDisabled:p,onClick:M,href:D,target:q,rel:K,type:w="button"}=n,H;r==="button"?H={type:w,disabled:c,form:n.form,formAction:n.formAction,formEncType:n.formEncType,formMethod:n.formMethod,formNoValidate:n.formNoValidate,formTarget:n.formTarget,name:n.name,value:n.value}:H={role:"button",href:r==="a"&&!c?D:void 0,target:r==="a"?q:void 0,type:r==="input"?w:void 0,disabled:r==="input"?c:void 0,"aria-disabled":!c||r==="input"?void 0:c,rel:r==="a"?K:void 0};let{pressProps:W,isPressed:G}=vp({onPressStart:f,onPressEnd:v,onPressChange:b,onPress:o,onPressUp:h,onClick:M,isDisabled:c,preventFocusOnPress:m,ref:i}),{focusableProps:X}=Ch(n,i);p&&(X.tabIndex=c?-1:X.tabIndex);let J=Qt(X,W,xr(n,{labelable:!0}));return{isPressed:G,buttonProps:Qt(H,J,{"aria-haspopup":n["aria-haspopup"],"aria-expanded":n["aria-expanded"],"aria-controls":n["aria-controls"],"aria-pressed":n["aria-pressed"],"aria-current":n["aria-current"],"aria-disabled":n["aria-disabled"]})}}const Dh=g.createContext({}),E1=Cr(function(i,r){[i,r]=Rn(i,r,Dh);let{elementType:c="label",...o}=i;return re.createElement(c,{className:"react-aria-Label",...o,ref:r})}),Zp=g.createContext(null),Xp=g.createContext({}),kp=Cr(function(i,r){[i,r]=Rn(i,r,Xp);let c=i,{isPending:o}=c,{buttonProps:f,isPressed:v}=Gp(i,r);f=Qp(f,o);let{focusProps:h,isFocused:b,isFocusVisible:m}=Ro(i),{hoverProps:p,isHovered:M}=Do({...i,isDisabled:i.isDisabled||o}),D={isHovered:M,isPressed:(c.isPressed||v)&&!o,isFocused:b,isFocusVisible:m,isDisabled:i.isDisabled||!1,isPending:o??!1},q=_r({...i,values:D,defaultClassName:"react-aria-Button"}),K=On(f.id),w=On(),H=f["aria-labelledby"];o&&(H?H=`${H} ${w}`:f["aria-label"]&&(H=`${K} ${w}`));let W=g.useRef(o);g.useEffect(()=>{let X={"aria-labelledby":H||K};(!W.current&&b&&o||W.current&&b&&!o)&&s1(X,"assertive"),W.current=o},[o,b,H,K]);let G=xr(i,{global:!0});return delete G.onClick,re.createElement("button",{...Qt(G,q,f,h,p),type:f.type==="submit"&&o?"button":f.type,id:K,ref:r,"aria-labelledby":H,slot:i.slot||void 0,"aria-disabled":o?"true":f["aria-disabled"],"data-disabled":i.isDisabled||void 0,"data-pressed":D.isPressed||void 0,"data-hovered":M||void 0,"data-focused":b||void 0,"data-pending":o||void 0,"data-focus-visible":m||void 0},re.createElement(Zp.Provider,{value:{id:w}},q.children))});function Qp(n,i){if(i){for(const r in n)r.startsWith("on")&&!(r.includes("Focus")||r.includes("Blur"))&&(n[r]=void 0);n.href=void 0,n.target=void 0}return n}const Kp=g.createContext({}),Fp=g.createContext(null),Pp=g.createContext(null),Jp=g.createContext({}),Rh=g.createContext({});let Wp=n=>{let{onHoverStart:i,onHoverChange:r,onHoverEnd:c,...o}=n;return o};const Ip=Cr(function(i,r){[i,r]=Rn(i,r,Rh);let{hoverProps:c,isHovered:o}=Do(i),{isFocused:f,isFocusVisible:v,focusProps:h}=Ro({isTextInput:!0,autoFocus:i.autoFocus}),b=!!i["aria-invalid"]&&i["aria-invalid"]!=="false",m=_r({...i,values:{isHovered:o,isFocused:f,isFocusVisible:v,isDisabled:i.disabled||!1,isInvalid:b},defaultClassName:"react-aria-Input"});return re.createElement("input",{...Qt(Wp(i),h,c),...m,ref:r,"data-focused":f||void 0,"data-disabled":i.disabled||void 0,"data-hovered":o||void 0,"data-focus-visible":v||void 0,"data-invalid":b||void 0})}),wh=g.createContext({});let e3=n=>{let{onHoverStart:i,onHoverChange:r,onHoverEnd:c,...o}=n;return o};const _4=g.forwardRef(function(i,r){[i,r]=Rn(i,r,wh);let{hoverProps:c,isHovered:o}=Do(i),{isFocused:f,isFocusVisible:v,focusProps:h}=Ro({isTextInput:!0,autoFocus:i.autoFocus}),b=!!i["aria-invalid"]&&i["aria-invalid"]!=="false",m=_r({...i,values:{isHovered:o,isFocused:f,isFocusVisible:v,isDisabled:i.disabled||!1,isInvalid:b},defaultClassName:"react-aria-TextArea"});return re.createElement("textarea",{...Qt(e3(i),h,c),...m,ref:r,"data-focused":f||void 0,"data-disabled":i.disabled||void 0,"data-hovered":o||void 0,"data-focus-visible":v||void 0,"data-invalid":b||void 0})}),t3=g.createContext(null),l3=Cr(function(i,r){[i,r]=Rn(i,r,t3);let{validationBehavior:c}=vh(Pp)||{};var o,f;let v=(f=(o=i.validationBehavior)!==null&&o!==void 0?o:c)!==null&&f!==void 0?f:"native",h=g.useRef(null);[i,h]=Rn(i,h,f2);let[b,m]=lp(!i["aria-label"]&&!i["aria-labelledby"]),[p,M]=g.useState("input"),{labelProps:D,inputProps:q,descriptionProps:K,errorMessageProps:w,...H}=qp({...ap(i),inputElementType:p,label:m,validationBehavior:v},h),W=g.useCallback(J=>{h.current=J,J&&M(J instanceof HTMLTextAreaElement?"textarea":"input")},[h]),G=_r({...i,values:{isDisabled:i.isDisabled||!1,isInvalid:H.isInvalid,isReadOnly:i.isReadOnly||!1,isRequired:i.isRequired||!1},defaultClassName:"react-aria-TextField"}),X=xr(i,{global:!0});return delete X.id,re.createElement("div",{...X,...G,ref:r,slot:i.slot||void 0,"data-disabled":i.isDisabled||void 0,"data-invalid":H.isInvalid||void 0,"data-readonly":i.isReadOnly||void 0,"data-required":i.isRequired||void 0},re.createElement(tp,{values:[[Dh,{...D,ref:b}],[Rh,{...q,ref:W}],[wh,{...q,ref:W}],[Jp,{role:"presentation",isInvalid:H.isInvalid,isDisabled:i.isDisabled||!1}],[Kp,{slots:{description:K,errorMessage:w}}],[Fp,H]]},G.children))}),a3=(n,i)=>{const{size:r="40",label:c,icon:o,placeholder:f,type:v="text",inputMode:h,autoComplete:b="off",clearable:m=!1,maxLength:p,...M}=n;return A.jsxs(l3,{...M,className:"grid gap-2",children:[(c||p)&&A.jsxs("div",{className:"grid grid-cols-2",children:[A.jsx(E1,{className:"text-13 font-medium text-neutral-50 dark:text-neutral-40",children:c}),p&&A.jsxs(E1,{className:"text-right text-13 font-regular text-neutral-50 dark:text-neutral-40",children:[M.value?.length,"/",p]})]}),A.jsxs("div",{className:"relative",children:[o&&A.jsx("span",{className:u3({size:r}),children:g.cloneElement(o)}),A.jsx(Ip,{ref:i,type:v,inputMode:h,autoComplete:b,placeholder:f,className:n3({size:r,icon:!!o,clearable:m})}),m&&A.jsx(kp,{className:i3({size:r}),"aria-label":"Clear input",onPress:()=>n.onChange?.(""),children:A.jsx(ag,{})})]})]})},n3=qu({base:["block h-10 w-full min-w-0 flex-1 border border-neutral-20 bg-white-100 text-15 text-neutral-100 placeholder-neutral-40 max-sm:text-[1rem]","outline-none focus:border-neutral-40","disabled:border-neutral-20 disabled:opacity-[.3]","invalid:border-danger-50/40","dark:border-neutral-70 dark:bg-neutral-95 dark:text-white-100 dark:placeholder-neutral-50","dark:invalid:border-danger-50/40"],variants:{size:{40:"h-10 rounded-12 px-3",32:"h-8 rounded-10 px-2"},icon:{true:""},clearable:{true:""}},compoundVariants:[{size:"40",icon:!0,className:"pl-10"},{icon:!0,size:"32",className:"pl-8"},{size:"40",clearable:!0,className:"pr-10"},{size:"32",clearable:!0,className:"pr-8"}]}),u3=qu({base:["absolute top-1/2 -translate-y-1/2 text-neutral-50 [&>svg]:size-full","dark:text-neutral-40"],variants:{size:{40:"left-3",32:"left-2"}}}),i3=qu({base:["absolute top-1/2 size-5 -translate-y-1/2 text-neutral-40 dark:text-neutral-60","outline-none"],variants:{size:{40:"right-3",32:"right-2"}}}),r3=g.forwardRef(a3);var Mr="Dialog",[Nh]=Bb(Mr),[c3,el]=Nh(Mr),$h=n=>{const{__scopeDialog:i,children:r,open:c,defaultOpen:o,onOpenChange:f,modal:v=!0}=n,h=g.useRef(null),b=g.useRef(null),[m,p]=Gb({prop:c,defaultProp:o??!1,onChange:f,caller:Mr});return A.jsx(c3,{scope:i,triggerRef:h,contentRef:b,contentId:Ws(),titleId:Ws(),descriptionId:Ws(),open:m,onOpenChange:p,onOpenToggle:g.useCallback(()=>p(M=>!M),[p]),modal:v,children:r})};$h.displayName=Mr;var zh="DialogTrigger",Uh=g.forwardRef((n,i)=>{const{__scopeDialog:r,...c}=n,o=el(zh,r),f=Ma(i,o.triggerRef);return A.jsx(Cl.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":$o(o.open),...c,ref:f,onClick:ea(n.onClick,o.onOpenToggle)})});Uh.displayName=zh;var wo="DialogPortal",[s3,Vh]=Nh(wo,{forceMount:void 0}),Lh=n=>{const{__scopeDialog:i,forceMount:r,children:c,container:o}=n,f=el(wo,i);return A.jsx(s3,{scope:i,forceMount:r,children:g.Children.map(c,v=>A.jsx(Er,{present:r||f.open,children:A.jsx(X1,{asChild:!0,container:o,children:v})}))})};Lh.displayName=wo;var yr="DialogOverlay",jh=g.forwardRef((n,i)=>{const r=Vh(yr,n.__scopeDialog),{forceMount:c=r.forceMount,...o}=n,f=el(yr,n.__scopeDialog);return f.modal?A.jsx(Er,{present:c||f.open,children:A.jsx(f3,{...o,ref:i})}):null});jh.displayName=yr;var o3=xo("DialogOverlay.RemoveScroll"),f3=g.forwardRef((n,i)=>{const{__scopeDialog:r,...c}=n,o=el(yr,r);return A.jsx(eh,{as:o3,allowPinchZoom:!0,shards:[o.contentRef],children:A.jsx(Cl.div,{"data-state":$o(o.open),...c,ref:i,style:{pointerEvents:"auto",...c.style}})})}),Ca="DialogContent",Hh=g.forwardRef((n,i)=>{const r=Vh(Ca,n.__scopeDialog),{forceMount:c=r.forceMount,...o}=n,f=el(Ca,n.__scopeDialog);return A.jsx(Er,{present:c||f.open,children:f.modal?A.jsx(d3,{...o,ref:i}):A.jsx(v3,{...o,ref:i})})});Hh.displayName=Ca;var d3=g.forwardRef((n,i)=>{const r=el(Ca,n.__scopeDialog),c=g.useRef(null),o=Ma(i,r.contentRef,c);return g.useEffect(()=>{const f=c.current;if(f)return Og(f)},[]),A.jsx(Bh,{...n,ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:ea(n.onCloseAutoFocus,f=>{f.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:ea(n.onPointerDownOutside,f=>{const v=f.detail.originalEvent,h=v.button===0&&v.ctrlKey===!0;(v.button===2||h)&&f.preventDefault()}),onFocusOutside:ea(n.onFocusOutside,f=>f.preventDefault())})}),v3=g.forwardRef((n,i)=>{const r=el(Ca,n.__scopeDialog),c=g.useRef(!1),o=g.useRef(!1);return A.jsx(Bh,{...n,ref:i,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:f=>{n.onCloseAutoFocus?.(f),f.defaultPrevented||(c.current||r.triggerRef.current?.focus(),f.preventDefault()),c.current=!1,o.current=!1},onInteractOutside:f=>{n.onInteractOutside?.(f),f.defaultPrevented||(c.current=!0,f.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const v=f.target;r.triggerRef.current?.contains(v)&&f.preventDefault(),f.detail.originalEvent.type==="focusin"&&o.current&&f.preventDefault()}})}),Bh=g.forwardRef((n,i)=>{const{__scopeDialog:r,trapFocus:c,onOpenAutoFocus:o,onCloseAutoFocus:f,...v}=n,h=el(Ca,r),b=g.useRef(null),m=Ma(i,b);return hg(),A.jsxs(A.Fragment,{children:[A.jsx(G1,{asChild:!0,loop:!0,trapped:c,onMountAutoFocus:o,onUnmountAutoFocus:f,children:A.jsx(To,{role:"dialog",id:h.contentId,"aria-describedby":h.descriptionId,"aria-labelledby":h.titleId,"data-state":$o(h.open),...v,ref:m,onDismiss:()=>h.onOpenChange(!1)})}),A.jsxs(A.Fragment,{children:[A.jsx(h3,{titleId:h.titleId}),A.jsx(m3,{contentRef:b,descriptionId:h.descriptionId})]})]})}),No="DialogTitle",qh=g.forwardRef((n,i)=>{const{__scopeDialog:r,...c}=n,o=el(No,r);return A.jsx(Cl.h2,{id:o.titleId,...c,ref:i})});qh.displayName=No;var Yh="DialogDescription",Gh=g.forwardRef((n,i)=>{const{__scopeDialog:r,...c}=n,o=el(Yh,r);return A.jsx(Cl.p,{id:o.descriptionId,...c,ref:i})});Gh.displayName=Yh;var Zh="DialogClose",Xh=g.forwardRef((n,i)=>{const{__scopeDialog:r,...c}=n,o=el(Zh,r);return A.jsx(Cl.button,{type:"button",...c,ref:i,onClick:ea(n.onClick,()=>o.onOpenChange(!1))})});Xh.displayName=Zh;function $o(n){return n?"open":"closed"}var kh="DialogTitleWarning",[A4,Qh]=Hb(kh,{contentName:Ca,titleName:No,docsSlug:"dialog"}),h3=({titleId:n})=>{const i=Qh(kh),r=`\`${i.contentName}\` requires a \`${i.titleName}\` for the component to be accessible for screen reader users.

If you want to hide the \`${i.titleName}\`, you can wrap it with our VisuallyHidden component.

For more information, see https://radix-ui.com/primitives/docs/components/${i.docsSlug}`;return g.useEffect(()=>{n&&(document.getElementById(n)||console.error(r))},[r,n]),null},y3="DialogDescriptionWarning",m3=({contentRef:n,descriptionId:i})=>{const c=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Qh(y3).contentName}}.`;return g.useEffect(()=>{const o=n.current?.getAttribute("aria-describedby");i&&o&&(document.getElementById(i)||console.warn(c))},[c,n,i]),null},b3=$h,C4=Uh,g3=Lh,p3=jh,E3=Hh,S3=qh,x3=Gh,T3=Xh,Yu=n=>n.type==="checkbox",_a=n=>n instanceof Date,Tt=n=>n==null;const Kh=n=>typeof n=="object";var Ie=n=>!Tt(n)&&!Array.isArray(n)&&Kh(n)&&!_a(n),Fh=n=>Ie(n)&&n.target?Yu(n.target)?n.target.checked:n.target.value:n,_3=n=>n.substring(0,n.search(/\.\d+(\.|$)/))||n,Ph=(n,i)=>n.has(_3(i)),A3=n=>{const i=n.constructor&&n.constructor.prototype;return Ie(i)&&i.hasOwnProperty("isPrototypeOf")},zo=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function lt(n){let i;const r=Array.isArray(n),c=typeof FileList<"u"?n instanceof FileList:!1;if(n instanceof Date)i=new Date(n);else if(!(zo&&(n instanceof Blob||c))&&(r||Ie(n)))if(i=r?[]:Object.create(Object.getPrototypeOf(n)),!r&&!A3(n))i=n;else for(const o in n)n.hasOwnProperty(o)&&(i[o]=lt(n[o]));else return n;return i}var Or=n=>/^\w*$/.test(n),Qe=n=>n===void 0,Uo=n=>Array.isArray(n)?n.filter(Boolean):[],Vo=n=>Uo(n.replace(/["|']|\]/g,"").split(/\.|\[/)),ee=(n,i,r)=>{if(!i||!Ie(n))return r;const c=(Or(i)?[i]:Vo(i)).reduce((o,f)=>Tt(o)?o:o[f],n);return Qe(c)||c===n?Qe(n[i])?r:n[i]:c},Nt=n=>typeof n=="boolean",Ue=(n,i,r)=>{let c=-1;const o=Or(i)?[i]:Vo(i),f=o.length,v=f-1;for(;++c<f;){const h=o[c];let b=r;if(c!==v){const m=n[h];b=Ie(m)||Array.isArray(m)?m:isNaN(+o[c+1])?{}:[]}if(h==="__proto__"||h==="constructor"||h==="prototype")return;n[h]=b,n=n[h]}};const mr={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},Jt={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},Al={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},Lo=re.createContext(null);Lo.displayName="HookFormContext";const jo=()=>re.useContext(Lo),M4=n=>{const{children:i,...r}=n;return re.createElement(Lo.Provider,{value:r},i)};var Jh=(n,i,r,c=!0)=>{const o={defaultValues:i._defaultValues};for(const f in n)Object.defineProperty(o,f,{get:()=>{const v=f;return i._proxyFormState[v]!==Jt.all&&(i._proxyFormState[v]=!c||Jt.all),r&&(r[v]=!0),n[v]}});return o};const Ho=typeof window<"u"?re.useLayoutEffect:re.useEffect;function C3(n){const i=jo(),{control:r=i.control,disabled:c,name:o,exact:f}=n||{},[v,h]=re.useState(r._formState),b=re.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return Ho(()=>r._subscribe({name:o,formState:b.current,exact:f,callback:m=>{!c&&h({...r._formState,...m})}}),[o,c,f]),re.useEffect(()=>{b.current.isValid&&r._setValid(!0)},[r]),re.useMemo(()=>Jh(v,r,b.current,!1),[v,r])}var $t=n=>typeof n=="string",go=(n,i,r,c,o)=>$t(n)?(c&&i.watch.add(n),ee(r,n,o)):Array.isArray(n)?n.map(f=>(c&&i.watch.add(f),ee(r,f))):(c&&(i.watchAll=!0),r),po=n=>Tt(n)||!Kh(n);function Wt(n,i,r=new WeakSet){if(po(n)||po(i))return n===i;if(_a(n)&&_a(i))return n.getTime()===i.getTime();const c=Object.keys(n),o=Object.keys(i);if(c.length!==o.length)return!1;if(r.has(n)||r.has(i))return!0;r.add(n),r.add(i);for(const f of c){const v=n[f];if(!o.includes(f))return!1;if(f!=="ref"){const h=i[f];if(_a(v)&&_a(h)||Ie(v)&&Ie(h)||Array.isArray(v)&&Array.isArray(h)?!Wt(v,h,r):v!==h)return!1}}return!0}function M3(n){const i=jo(),{control:r=i.control,name:c,defaultValue:o,disabled:f,exact:v,compute:h}=n||{},b=re.useRef(o),m=re.useRef(h),p=re.useRef(void 0),M=re.useRef(r),D=re.useRef(c);m.current=h;const[q,K]=re.useState(()=>{const J=r._getWatch(c,b.current);return m.current?m.current(J):J}),w=re.useCallback(J=>{const Q=go(c,r._names,J||r._formValues,!1,b.current);return m.current?m.current(Q):Q},[r._formValues,r._names,c]),H=re.useCallback(J=>{if(!f){const Q=go(c,r._names,J||r._formValues,!1,b.current);if(m.current){const ve=m.current(Q);Wt(ve,p.current)||(K(ve),p.current=ve)}else K(Q)}},[r._formValues,r._names,f,c]);Ho(()=>((M.current!==r||!Wt(D.current,c))&&(M.current=r,D.current=c,H()),r._subscribe({name:c,formState:{values:!0},exact:v,callback:J=>{H(J.values)}})),[r,v,c,H]),re.useEffect(()=>r._removeUnmounted());const W=M.current!==r,G=D.current,X=re.useMemo(()=>{if(f)return null;const J=!W&&!Wt(G,c);return W||J?w():null},[f,W,c,G,w]);return X!==null?X:q}function O3(n){const i=jo(),{name:r,disabled:c,control:o=i.control,shouldUnregister:f,defaultValue:v}=n,h=Ph(o._names.array,r),b=re.useMemo(()=>ee(o._formValues,r,ee(o._defaultValues,r,v)),[o,r,v]),m=M3({control:o,name:r,defaultValue:b,exact:!0}),p=C3({control:o,name:r,exact:!0}),M=re.useRef(n),D=re.useRef(void 0),q=re.useRef(o.register(r,{...n.rules,value:m,...Nt(n.disabled)?{disabled:n.disabled}:{}}));M.current=n;const K=re.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!ee(p.errors,r)},isDirty:{enumerable:!0,get:()=>!!ee(p.dirtyFields,r)},isTouched:{enumerable:!0,get:()=>!!ee(p.touchedFields,r)},isValidating:{enumerable:!0,get:()=>!!ee(p.validatingFields,r)},error:{enumerable:!0,get:()=>ee(p.errors,r)}}),[p,r]),w=re.useCallback(X=>q.current.onChange({target:{value:Fh(X),name:r},type:mr.CHANGE}),[r]),H=re.useCallback(()=>q.current.onBlur({target:{value:ee(o._formValues,r),name:r},type:mr.BLUR}),[r,o._formValues]),W=re.useCallback(X=>{const J=ee(o._fields,r);J&&X&&(J._f.ref={focus:()=>X.focus&&X.focus(),select:()=>X.select&&X.select(),setCustomValidity:Q=>X.setCustomValidity(Q),reportValidity:()=>X.reportValidity()})},[o._fields,r]),G=re.useMemo(()=>({name:r,value:m,...Nt(c)||p.disabled?{disabled:p.disabled||c}:{},onChange:w,onBlur:H,ref:W}),[r,c,p.disabled,w,H,W,m]);return re.useEffect(()=>{const X=o._options.shouldUnregister||f,J=D.current;J&&J!==r&&!h&&o.unregister(J),o.register(r,{...M.current.rules,...Nt(M.current.disabled)?{disabled:M.current.disabled}:{}});const Q=(ve,ue)=>{const Ae=ee(o._fields,ve);Ae&&Ae._f&&(Ae._f.mount=ue)};if(Q(r,!0),X){const ve=lt(ee(o._options.defaultValues,r,M.current.defaultValue));Ue(o._defaultValues,r,ve),Qe(ee(o._formValues,r))&&Ue(o._formValues,r,ve)}return!h&&o.register(r),D.current=r,()=>{(h?X&&!o._state.action:X)?o.unregister(r):Q(r,!1)}},[r,o,h,f]),re.useEffect(()=>{o._setDisabledField({disabled:c,name:r})},[c,r,o]),re.useMemo(()=>({field:G,formState:p,fieldState:K}),[G,p,K])}const D3=n=>n.render(O3(n));var Wh=(n,i,r,c,o)=>i?{...r[n],types:{...r[n]&&r[n].types?r[n].types:{},[c]:o||!0}}:{},zu=n=>Array.isArray(n)?n:[n],S1=()=>{let n=[];return{get observers(){return n},next:o=>{for(const f of n)f.next&&f.next(o)},subscribe:o=>(n.push(o),{unsubscribe:()=>{n=n.filter(f=>f!==o)}}),unsubscribe:()=>{n=[]}}};function Ih(n,i){const r={};for(const c in n)if(n.hasOwnProperty(c)){const o=n[c],f=i[c];if(o&&Ie(o)&&f){const v=Ih(o,f);Ie(v)&&(r[c]=v)}else n[c]&&(r[c]=f)}return r}var mt=n=>Ie(n)&&!Object.keys(n).length,Bo=n=>n.type==="file",It=n=>typeof n=="function",br=n=>{if(!zo)return!1;const i=n?n.ownerDocument:0;return n instanceof(i&&i.defaultView?i.defaultView.HTMLElement:HTMLElement)},ey=n=>n.type==="select-multiple",qo=n=>n.type==="radio",R3=n=>qo(n)||Yu(n),ro=n=>br(n)&&n.isConnected;function w3(n,i){const r=i.slice(0,-1).length;let c=0;for(;c<r;)n=Qe(n)?c++:n[i[c++]];return n}function N3(n){for(const i in n)if(n.hasOwnProperty(i)&&!Qe(n[i]))return!1;return!0}function We(n,i){const r=Array.isArray(i)?i:Or(i)?[i]:Vo(i),c=r.length===1?n:w3(n,r),o=r.length-1,f=r[o];return c&&delete c[f],o!==0&&(Ie(c)&&mt(c)||Array.isArray(c)&&N3(c))&&We(n,r.slice(0,-1)),n}var $3=n=>{for(const i in n)if(It(n[i]))return!0;return!1};function ty(n){return Array.isArray(n)||Ie(n)&&!$3(n)}function Eo(n,i={}){for(const r in n)ty(n[r])?(i[r]=Array.isArray(n[r])?[]:{},Eo(n[r],i[r])):Qe(n[r])||(i[r]=!0);return i}function Tn(n,i,r){r||(r=Eo(i));for(const c in n)ty(n[c])?Qe(i)||po(r[c])?r[c]=Eo(n[c],Array.isArray(n[c])?[]:{}):Tn(n[c],Tt(i)?{}:i[c],r[c]):r[c]=!Wt(n[c],i[c]);return r}const x1={value:!1,isValid:!1},T1={value:!0,isValid:!0};var ly=n=>{if(Array.isArray(n)){if(n.length>1){const i=n.filter(r=>r&&r.checked&&!r.disabled).map(r=>r.value);return{value:i,isValid:!!i.length}}return n[0].checked&&!n[0].disabled?n[0].attributes&&!Qe(n[0].attributes.value)?Qe(n[0].value)||n[0].value===""?T1:{value:n[0].value,isValid:!0}:T1:x1}return x1},ay=(n,{valueAsNumber:i,valueAsDate:r,setValueAs:c})=>Qe(n)?n:i?n===""?NaN:n&&+n:r&&$t(n)?new Date(n):c?c(n):n;const _1={isValid:!1,value:null};var ny=n=>Array.isArray(n)?n.reduce((i,r)=>r&&r.checked&&!r.disabled?{isValid:!0,value:r.value}:i,_1):_1;function A1(n){const i=n.ref;return Bo(i)?i.files:qo(i)?ny(n.refs).value:ey(i)?[...i.selectedOptions].map(({value:r})=>r):Yu(i)?ly(n.refs).value:ay(Qe(i.value)?n.ref.value:i.value,n)}var z3=(n,i,r,c)=>{const o={};for(const f of n){const v=ee(i,f);v&&Ue(o,f,v._f)}return{criteriaMode:r,names:[...n],fields:o,shouldUseNativeValidation:c}},gr=n=>n instanceof RegExp,wu=n=>Qe(n)?n:gr(n)?n.source:Ie(n)?gr(n.value)?n.value.source:n.value:n,C1=n=>({isOnSubmit:!n||n===Jt.onSubmit,isOnBlur:n===Jt.onBlur,isOnChange:n===Jt.onChange,isOnAll:n===Jt.all,isOnTouch:n===Jt.onTouched});const M1="AsyncFunction";var U3=n=>!!n&&!!n.validate&&!!(It(n.validate)&&n.validate.constructor.name===M1||Ie(n.validate)&&Object.values(n.validate).find(i=>i.constructor.name===M1)),V3=n=>n.mount&&(n.required||n.min||n.max||n.maxLength||n.minLength||n.pattern||n.validate),O1=(n,i,r)=>!r&&(i.watchAll||i.watch.has(n)||[...i.watch].some(c=>n.startsWith(c)&&/^\.\w+/.test(n.slice(c.length))));const Uu=(n,i,r,c)=>{for(const o of r||Object.keys(n)){const f=ee(n,o);if(f){const{_f:v,...h}=f;if(v){if(v.refs&&v.refs[0]&&i(v.refs[0],o)&&!c)return!0;if(v.ref&&i(v.ref,v.name)&&!c)return!0;if(Uu(h,i))break}else if(Ie(h)&&Uu(h,i))break}}};function D1(n,i,r){const c=ee(n,r);if(c||Or(r))return{error:c,name:r};const o=r.split(".");for(;o.length;){const f=o.join("."),v=ee(i,f),h=ee(n,f);if(v&&!Array.isArray(v)&&r!==f)return{name:r};if(h&&h.type)return{name:f,error:h};if(h&&h.root&&h.root.type)return{name:`${f}.root`,error:h.root};o.pop()}return{name:r}}var L3=(n,i,r,c)=>{r(n);const{name:o,...f}=n;return mt(f)||Object.keys(f).length>=Object.keys(i).length||Object.keys(f).find(v=>i[v]===(!c||Jt.all))},j3=(n,i,r)=>!n||!i||n===i||zu(n).some(c=>c&&(r?c===i:c.startsWith(i)||i.startsWith(c))),H3=(n,i,r,c,o)=>o.isOnAll?!1:!r&&o.isOnTouch?!(i||n):(r?c.isOnBlur:o.isOnBlur)?!n:(r?c.isOnChange:o.isOnChange)?n:!0,B3=(n,i)=>!Uo(ee(n,i)).length&&We(n,i),q3=(n,i,r)=>{const c=zu(ee(n,r));return Ue(c,"root",i[r]),Ue(n,r,c),n};function R1(n,i,r="validate"){if($t(n)||Array.isArray(n)&&n.every($t)||Nt(n)&&!n)return{type:r,message:$t(n)?n:"",ref:i}}var xn=n=>Ie(n)&&!gr(n)?n:{value:n,message:""},w1=async(n,i,r,c,o,f)=>{const{ref:v,refs:h,required:b,maxLength:m,minLength:p,min:M,max:D,pattern:q,validate:K,name:w,valueAsNumber:H,mount:W}=n._f,G=ee(r,w);if(!W||i.has(w))return{};const X=h?h[0]:v,J=F=>{o&&X.reportValidity&&(X.setCustomValidity(Nt(F)?"":F||""),X.reportValidity())},Q={},ve=qo(v),ue=Yu(v),Ae=ve||ue,Re=(H||Bo(v))&&Qe(v.value)&&Qe(G)||br(v)&&v.value===""||G===""||Array.isArray(G)&&!G.length,Ce=Wh.bind(null,w,c,Q),j=(F,oe,k,fe=Al.maxLength,_=Al.minLength)=>{const Z=F?oe:k;Q[w]={type:F?fe:_,message:Z,ref:v,...Ce(F?fe:_,Z)}};if(f?!Array.isArray(G)||!G.length:b&&(!Ae&&(Re||Tt(G))||Nt(G)&&!G||ue&&!ly(h).isValid||ve&&!ny(h).isValid)){const{value:F,message:oe}=$t(b)?{value:!!b,message:b}:xn(b);if(F&&(Q[w]={type:Al.required,message:oe,ref:X,...Ce(Al.required,oe)},!c))return J(oe),Q}if(!Re&&(!Tt(M)||!Tt(D))){let F,oe;const k=xn(D),fe=xn(M);if(!Tt(G)&&!isNaN(G)){const _=v.valueAsNumber||G&&+G;Tt(k.value)||(F=_>k.value),Tt(fe.value)||(oe=_<fe.value)}else{const _=v.valueAsDate||new Date(G),Z=x=>new Date(new Date().toDateString()+" "+x),ae=v.type=="time",ge=v.type=="week";$t(k.value)&&G&&(F=ae?Z(G)>Z(k.value):ge?G>k.value:_>new Date(k.value)),$t(fe.value)&&G&&(oe=ae?Z(G)<Z(fe.value):ge?G<fe.value:_<new Date(fe.value))}if((F||oe)&&(j(!!F,k.message,fe.message,Al.max,Al.min),!c))return J(Q[w].message),Q}if((m||p)&&!Re&&($t(G)||f&&Array.isArray(G))){const F=xn(m),oe=xn(p),k=!Tt(F.value)&&G.length>+F.value,fe=!Tt(oe.value)&&G.length<+oe.value;if((k||fe)&&(j(k,F.message,oe.message),!c))return J(Q[w].message),Q}if(q&&!Re&&$t(G)){const{value:F,message:oe}=xn(q);if(gr(F)&&!G.match(F)&&(Q[w]={type:Al.pattern,message:oe,ref:v,...Ce(Al.pattern,oe)},!c))return J(oe),Q}if(K){if(It(K)){const F=await K(G,r),oe=R1(F,X);if(oe&&(Q[w]={...oe,...Ce(Al.validate,oe.message)},!c))return J(oe.message),Q}else if(Ie(K)){let F={};for(const oe in K){if(!mt(F)&&!c)break;const k=R1(await K[oe](G,r),X,oe);k&&(F={...k,...Ce(oe,k.message)},J(k.message),c&&(Q[w]=F))}if(!mt(F)&&(Q[w]={ref:X,...F},!c))return Q}}return J(!0),Q};const Y3={mode:Jt.onSubmit,reValidateMode:Jt.onChange,shouldFocusError:!0};function G3(n={}){let i={...Y3,...n},r={submitCount:0,isDirty:!1,isReady:!1,isLoading:It(i.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:i.errors||{},disabled:i.disabled||!1},c={},o=Ie(i.defaultValues)||Ie(i.values)?lt(i.defaultValues||i.values)||{}:{},f=i.shouldUnregister?{}:lt(o),v={action:!1,mount:!1,watch:!1},h={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},b,m=0;const p={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1};let M={...p};const D={array:S1(),state:S1()},q=i.criteriaMode===Jt.all,K=S=>N=>{clearTimeout(m),m=setTimeout(S,N)},w=async S=>{if(!i.disabled&&(p.isValid||M.isValid||S)){const N=i.resolver?mt((await ue()).errors):await Re(c,!0);N!==r.isValid&&D.state.next({isValid:N})}},H=(S,N)=>{!i.disabled&&(p.isValidating||p.validatingFields||M.isValidating||M.validatingFields)&&((S||Array.from(h.mount)).forEach(U=>{U&&(N?Ue(r.validatingFields,U,N):We(r.validatingFields,U))}),D.state.next({validatingFields:r.validatingFields,isValidating:!mt(r.validatingFields)}))},W=(S,N=[],U,le,I=!0,P=!0)=>{if(le&&U&&!i.disabled){if(v.action=!0,P&&Array.isArray(ee(c,S))){const ce=U(ee(c,S),le.argA,le.argB);I&&Ue(c,S,ce)}if(P&&Array.isArray(ee(r.errors,S))){const ce=U(ee(r.errors,S),le.argA,le.argB);I&&Ue(r.errors,S,ce),B3(r.errors,S)}if((p.touchedFields||M.touchedFields)&&P&&Array.isArray(ee(r.touchedFields,S))){const ce=U(ee(r.touchedFields,S),le.argA,le.argB);I&&Ue(r.touchedFields,S,ce)}(p.dirtyFields||M.dirtyFields)&&(r.dirtyFields=Tn(o,f)),D.state.next({name:S,isDirty:j(S,N),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else Ue(f,S,N)},G=(S,N)=>{Ue(r.errors,S,N),D.state.next({errors:r.errors})},X=S=>{r.errors=S,D.state.next({errors:r.errors,isValid:!1})},J=(S,N,U,le)=>{const I=ee(c,S);if(I){const P=ee(f,S,Qe(U)?ee(o,S):U);Qe(P)||le&&le.defaultChecked||N?Ue(f,S,N?P:A1(I._f)):k(S,P),v.mount&&w()}},Q=(S,N,U,le,I)=>{let P=!1,ce=!1;const pe={name:S};if(!i.disabled){if(!U||le){(p.isDirty||M.isDirty)&&(ce=r.isDirty,r.isDirty=pe.isDirty=j(),P=ce!==pe.isDirty);const Oe=Wt(ee(o,S),N);ce=!!ee(r.dirtyFields,S),Oe?We(r.dirtyFields,S):Ue(r.dirtyFields,S,!0),pe.dirtyFields=r.dirtyFields,P=P||(p.dirtyFields||M.dirtyFields)&&ce!==!Oe}if(U){const Oe=ee(r.touchedFields,S);Oe||(Ue(r.touchedFields,S,U),pe.touchedFields=r.touchedFields,P=P||(p.touchedFields||M.touchedFields)&&Oe!==U)}P&&I&&D.state.next(pe)}return P?pe:{}},ve=(S,N,U,le)=>{const I=ee(r.errors,S),P=(p.isValid||M.isValid)&&Nt(N)&&r.isValid!==N;if(i.delayError&&U?(b=K(()=>G(S,U)),b(i.delayError)):(clearTimeout(m),b=null,U?Ue(r.errors,S,U):We(r.errors,S)),(U?!Wt(I,U):I)||!mt(le)||P){const ce={...le,...P&&Nt(N)?{isValid:N}:{},errors:r.errors,name:S};r={...r,...ce},D.state.next(ce)}},ue=async S=>{H(S,!0);const N=await i.resolver(f,i.context,z3(S||h.mount,c,i.criteriaMode,i.shouldUseNativeValidation));return H(S),N},Ae=async S=>{const{errors:N}=await ue(S);if(S)for(const U of S){const le=ee(N,U);le?Ue(r.errors,U,le):We(r.errors,U)}else r.errors=N;return N},Re=async(S,N,U={valid:!0})=>{for(const le in S){const I=S[le];if(I){const{_f:P,...ce}=I;if(P){const pe=h.array.has(P.name),Oe=I._f&&U3(I._f);Oe&&p.validatingFields&&H([P.name],!0);const qe=await w1(I,h.disabled,f,q,i.shouldUseNativeValidation&&!N,pe);if(Oe&&p.validatingFields&&H([P.name]),qe[P.name]&&(U.valid=!1,N))break;!N&&(ee(qe,P.name)?pe?q3(r.errors,qe,P.name):Ue(r.errors,P.name,qe[P.name]):We(r.errors,P.name))}!mt(ce)&&await Re(ce,N,U)}}return U.valid},Ce=()=>{for(const S of h.unMount){const N=ee(c,S);N&&(N._f.refs?N._f.refs.every(U=>!ro(U)):!ro(N._f.ref))&&rt(S)}h.unMount=new Set},j=(S,N)=>!i.disabled&&(S&&N&&Ue(f,S,N),!Wt(x(),o)),F=(S,N,U)=>go(S,h,{...v.mount?f:Qe(N)?o:$t(S)?{[S]:N}:N},U,N),oe=S=>Uo(ee(v.mount?f:o,S,i.shouldUnregister?ee(o,S,[]):[])),k=(S,N,U={})=>{const le=ee(c,S);let I=N;if(le){const P=le._f;P&&(!P.disabled&&Ue(f,S,ay(N,P)),I=br(P.ref)&&Tt(N)?"":N,ey(P.ref)?[...P.ref.options].forEach(ce=>ce.selected=I.includes(ce.value)):P.refs?Yu(P.ref)?P.refs.forEach(ce=>{(!ce.defaultChecked||!ce.disabled)&&(Array.isArray(I)?ce.checked=!!I.find(pe=>pe===ce.value):ce.checked=I===ce.value||!!I)}):P.refs.forEach(ce=>ce.checked=ce.value===I):Bo(P.ref)?P.ref.value="":(P.ref.value=I,P.ref.type||D.state.next({name:S,values:lt(f)})))}(U.shouldDirty||U.shouldTouch)&&Q(S,I,U.shouldTouch,U.shouldDirty,!0),U.shouldValidate&&ge(S)},fe=(S,N,U)=>{for(const le in N){if(!N.hasOwnProperty(le))return;const I=N[le],P=S+"."+le,ce=ee(c,P);(h.array.has(S)||Ie(I)||ce&&!ce._f)&&!_a(I)?fe(P,I,U):k(P,I,U)}},_=(S,N,U={})=>{const le=ee(c,S),I=h.array.has(S),P=lt(N);Ue(f,S,P),I?(D.array.next({name:S,values:lt(f)}),(p.isDirty||p.dirtyFields||M.isDirty||M.dirtyFields)&&U.shouldDirty&&D.state.next({name:S,dirtyFields:Tn(o,f),isDirty:j(S,P)})):le&&!le._f&&!Tt(P)?fe(S,P,U):k(S,P,U),O1(S,h)&&D.state.next({...r,name:S}),D.state.next({name:v.mount?S:void 0,values:lt(f)})},Z=async S=>{v.mount=!0;const N=S.target;let U=N.name,le=!0;const I=ee(c,U),P=Oe=>{le=Number.isNaN(Oe)||_a(Oe)&&isNaN(Oe.getTime())||Wt(Oe,ee(f,U,Oe))},ce=C1(i.mode),pe=C1(i.reValidateMode);if(I){let Oe,qe;const Na=N.type?A1(I._f):Fh(S),tl=S.type===mr.BLUR||S.type===mr.FOCUS_OUT,Rr=!V3(I._f)&&!i.resolver&&!ee(r.errors,U)&&!I._f.deps||H3(tl,ee(r.touchedFields,U),r.isSubmitted,pe,ce),Ml=O1(U,h,tl);Ue(f,U,Na),tl?(!N||!N.readOnly)&&(I._f.onBlur&&I._f.onBlur(S),b&&b(0)):I._f.onChange&&I._f.onChange(S);const Ol=Q(U,Na,tl),sl=!mt(Ol)||Ml;if(!tl&&D.state.next({name:U,type:S.type,values:lt(f)}),Rr)return(p.isValid||M.isValid)&&(i.mode==="onBlur"?tl&&w():tl||w()),sl&&D.state.next({name:U,...Ml?{}:Ol});if(!tl&&Ml&&D.state.next({...r}),i.resolver){const{errors:na}=await ue([U]);if(P(Na),le){const ua=D1(r.errors,c,U),Zu=D1(na,c,ua.name||U);Oe=Zu.error,U=Zu.name,qe=mt(na)}}else H([U],!0),Oe=(await w1(I,h.disabled,f,q,i.shouldUseNativeValidation))[U],H([U]),P(Na),le&&(Oe?qe=!1:(p.isValid||M.isValid)&&(qe=await Re(c,!0)));le&&(I._f.deps&&(!Array.isArray(I._f.deps)||I._f.deps.length>0)&&ge(I._f.deps),ve(U,qe,Oe,Ol))}},ae=(S,N)=>{if(ee(r.errors,N)&&S.focus)return S.focus(),1},ge=async(S,N={})=>{let U,le;const I=zu(S);if(i.resolver){const P=await Ae(Qe(S)?S:I);U=mt(P),le=S?!I.some(ce=>ee(P,ce)):U}else S?(le=(await Promise.all(I.map(async P=>{const ce=ee(c,P);return await Re(ce&&ce._f?{[P]:ce}:ce)}))).every(Boolean),!(!le&&!r.isValid)&&w()):le=U=await Re(c);return D.state.next({...!$t(S)||(p.isValid||M.isValid)&&U!==r.isValid?{}:{name:S},...i.resolver||!S?{isValid:U}:{},errors:r.errors}),N.shouldFocus&&!le&&Uu(c,ae,S?I:h.mount),le},x=(S,N)=>{let U={...v.mount?f:o};return N&&(U=Ih(N.dirtyFields?r.dirtyFields:r.touchedFields,U)),Qe(S)?U:$t(S)?ee(U,S):S.map(le=>ee(U,le))},Y=(S,N)=>({invalid:!!ee((N||r).errors,S),isDirty:!!ee((N||r).dirtyFields,S),error:ee((N||r).errors,S),isValidating:!!ee(r.validatingFields,S),isTouched:!!ee((N||r).touchedFields,S)}),ne=S=>{S&&zu(S).forEach(N=>We(r.errors,N)),D.state.next({errors:S?r.errors:{}})},te=(S,N,U)=>{const le=(ee(c,S,{_f:{}})._f||{}).ref,I=ee(r.errors,S)||{},{ref:P,message:ce,type:pe,...Oe}=I;Ue(r.errors,S,{...Oe,...N,ref:le}),D.state.next({name:S,errors:r.errors,isValid:!1}),U&&U.shouldFocus&&le&&le.focus&&le.focus()},de=(S,N)=>It(S)?D.state.subscribe({next:U=>"values"in U&&S(F(void 0,N),U)}):F(S,N,!0),Me=S=>D.state.subscribe({next:N=>{j3(S.name,N.name,S.exact)&&L3(N,S.formState||p,Ut,S.reRenderRoot)&&S.callback({values:{...f},...r,...N,defaultValues:o})}}).unsubscribe,be=S=>(v.mount=!0,M={...M,...S.formState},Me({...S,formState:M})),rt=(S,N={})=>{for(const U of S?zu(S):h.mount)h.mount.delete(U),h.array.delete(U),N.keepValue||(We(c,U),We(f,U)),!N.keepError&&We(r.errors,U),!N.keepDirty&&We(r.dirtyFields,U),!N.keepTouched&&We(r.touchedFields,U),!N.keepIsValidating&&We(r.validatingFields,U),!i.shouldUnregister&&!N.keepDefaultValue&&We(o,U);D.state.next({values:lt(f)}),D.state.next({...r,...N.keepDirty?{isDirty:j()}:{}}),!N.keepIsValid&&w()},He=({disabled:S,name:N})=>{(Nt(S)&&v.mount||S||h.disabled.has(N))&&(S?h.disabled.add(N):h.disabled.delete(N))},zt=(S,N={})=>{let U=ee(c,S);const le=Nt(N.disabled)||Nt(i.disabled);return Ue(c,S,{...U||{},_f:{...U&&U._f?U._f:{ref:{name:S}},name:S,mount:!0,...N}}),h.mount.add(S),U?He({disabled:Nt(N.disabled)?N.disabled:i.disabled,name:S}):J(S,!0,N.value),{...le?{disabled:N.disabled||i.disabled}:{},...i.progressive?{required:!!N.required,min:wu(N.min),max:wu(N.max),minLength:wu(N.minLength),maxLength:wu(N.maxLength),pattern:wu(N.pattern)}:{},name:S,onChange:Z,onBlur:Z,ref:I=>{if(I){zt(S,N),U=ee(c,S);const P=Qe(I.value)&&I.querySelectorAll&&I.querySelectorAll("input,select,textarea")[0]||I,ce=R3(P),pe=U._f.refs||[];if(ce?pe.find(Oe=>Oe===P):P===U._f.ref)return;Ue(c,S,{_f:{...U._f,...ce?{refs:[...pe.filter(ro),P,...Array.isArray(ee(o,S))?[{}]:[]],ref:{type:P.type,name:S}}:{ref:P}}}),J(S,!1,void 0,P)}else U=ee(c,S,{}),U._f&&(U._f.mount=!1),(i.shouldUnregister||N.shouldUnregister)&&!(Ph(h.array,S)&&v.action)&&h.unMount.add(S)}}},aa=()=>i.shouldFocusError&&Uu(c,ae,h.mount),Da=S=>{Nt(S)&&(D.state.next({disabled:S}),Uu(c,(N,U)=>{const le=ee(c,U);le&&(N.disabled=le._f.disabled||S,Array.isArray(le._f.refs)&&le._f.refs.forEach(I=>{I.disabled=le._f.disabled||S}))},0,!1))},Ra=(S,N)=>async U=>{let le;U&&(U.preventDefault&&U.preventDefault(),U.persist&&U.persist());let I=lt(f);if(D.state.next({isSubmitting:!0}),i.resolver){const{errors:P,values:ce}=await ue();r.errors=P,I=lt(ce)}else await Re(c);if(h.disabled.size)for(const P of h.disabled)We(I,P);if(We(r.errors,"root"),mt(r.errors)){D.state.next({errors:{}});try{await S(I,U)}catch(P){le=P}}else N&&await N({...r.errors},U),aa(),setTimeout(aa);if(D.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:mt(r.errors)&&!le,submitCount:r.submitCount+1,errors:r.errors}),le)throw le},wn=(S,N={})=>{ee(c,S)&&(Qe(N.defaultValue)?_(S,lt(ee(o,S))):(_(S,N.defaultValue),Ue(o,S,lt(N.defaultValue))),N.keepTouched||We(r.touchedFields,S),N.keepDirty||(We(r.dirtyFields,S),r.isDirty=N.defaultValue?j(S,lt(ee(o,S))):j()),N.keepError||(We(r.errors,S),p.isValid&&w()),D.state.next({...r}))},wa=(S,N={})=>{const U=S?lt(S):o,le=lt(U),I=mt(S),P=I?o:le;if(N.keepDefaultValues||(o=U),!N.keepValues){if(N.keepDirtyValues){const ce=new Set([...h.mount,...Object.keys(Tn(o,f))]);for(const pe of Array.from(ce))ee(r.dirtyFields,pe)?Ue(P,pe,ee(f,pe)):_(pe,ee(P,pe))}else{if(zo&&Qe(S))for(const ce of h.mount){const pe=ee(c,ce);if(pe&&pe._f){const Oe=Array.isArray(pe._f.refs)?pe._f.refs[0]:pe._f.ref;if(br(Oe)){const qe=Oe.closest("form");if(qe){qe.reset();break}}}}if(N.keepFieldsRef)for(const ce of h.mount)_(ce,ee(P,ce));else c={}}f=i.shouldUnregister?N.keepDefaultValues?lt(o):{}:lt(P),D.array.next({values:{...P}}),D.state.next({values:{...P}})}h={mount:N.keepDirtyValues?h.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},v.mount=!p.isValid||!!N.keepIsValid||!!N.keepDirtyValues||!i.shouldUnregister&&!mt(P),v.watch=!!i.shouldUnregister,D.state.next({submitCount:N.keepSubmitCount?r.submitCount:0,isDirty:I?!1:N.keepDirty?r.isDirty:!!(N.keepDefaultValues&&!Wt(S,o)),isSubmitted:N.keepIsSubmitted?r.isSubmitted:!1,dirtyFields:I?{}:N.keepDirtyValues?N.keepDefaultValues&&f?Tn(o,f):r.dirtyFields:N.keepDefaultValues&&S?Tn(o,S):N.keepDirty?r.dirtyFields:{},touchedFields:N.keepTouched?r.touchedFields:{},errors:N.keepErrors?r.errors:{},isSubmitSuccessful:N.keepIsSubmitSuccessful?r.isSubmitSuccessful:!1,isSubmitting:!1,defaultValues:o})},Gu=(S,N)=>wa(It(S)?S(f):S,N),Dr=(S,N={})=>{const U=ee(c,S),le=U&&U._f;if(le){const I=le.refs?le.refs[0]:le.ref;I.focus&&(I.focus(),N.shouldSelect&&It(I.select)&&I.select())}},Ut=S=>{r={...r,...S}},Nn={control:{register:zt,unregister:rt,getFieldState:Y,handleSubmit:Ra,setError:te,_subscribe:Me,_runSchema:ue,_focusError:aa,_getWatch:F,_getDirty:j,_setValid:w,_setFieldArray:W,_setDisabledField:He,_setErrors:X,_getFieldArray:oe,_reset:wa,_resetDefaultValues:()=>It(i.defaultValues)&&i.defaultValues().then(S=>{Gu(S,i.resetOptions),D.state.next({isLoading:!1})}),_removeUnmounted:Ce,_disableForm:Da,_subjects:D,_proxyFormState:p,get _fields(){return c},get _formValues(){return f},get _state(){return v},set _state(S){v=S},get _defaultValues(){return o},get _names(){return h},set _names(S){h=S},get _formState(){return r},get _options(){return i},set _options(S){i={...i,...S}}},subscribe:be,trigger:ge,register:zt,handleSubmit:Ra,watch:de,setValue:_,getValues:x,reset:Gu,resetField:wn,clearErrors:ne,unregister:rt,setError:te,setFocus:Dr,getFieldState:Y};return{...Nn,formControl:Nn}}function Z3(n={}){const i=re.useRef(void 0),r=re.useRef(void 0),[c,o]=re.useState({isDirty:!1,isValidating:!1,isLoading:It(n.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:n.errors||{},disabled:n.disabled||!1,isReady:!1,defaultValues:It(n.defaultValues)?void 0:n.defaultValues});if(!i.current)if(n.formControl)i.current={...n.formControl,formState:c},n.defaultValues&&!It(n.defaultValues)&&n.formControl.reset(n.defaultValues,n.resetOptions);else{const{formControl:v,...h}=G3(n);i.current={...h,formState:c}}const f=i.current.control;return f._options=n,Ho(()=>{const v=f._subscribe({formState:f._proxyFormState,callback:()=>o({...f._formState}),reRenderRoot:!0});return o(h=>({...h,isReady:!0})),f._formState.isReady=!0,v},[f]),re.useEffect(()=>f._disableForm(n.disabled),[f,n.disabled]),re.useEffect(()=>{n.mode&&(f._options.mode=n.mode),n.reValidateMode&&(f._options.reValidateMode=n.reValidateMode)},[f,n.mode,n.reValidateMode]),re.useEffect(()=>{n.errors&&(f._setErrors(n.errors),f._focusError())},[f,n.errors]),re.useEffect(()=>{n.shouldUnregister&&f._subjects.state.next({values:f._getWatch()})},[f,n.shouldUnregister]),re.useEffect(()=>{if(f._proxyFormState.isDirty){const v=f._getDirty();v!==c.isDirty&&f._subjects.state.next({isDirty:v})}},[f,c.isDirty]),re.useEffect(()=>{n.values&&!Wt(n.values,r.current)?(f._reset(n.values,{keepFieldsRef:!0,...f._options.resetOptions}),r.current=n.values,o(v=>({...v}))):f._resetDefaultValues()},[f,n.values]),re.useEffect(()=>{f._state.mount||(f._setValid(),f._state.mount=!0),f._state.watch&&(f._state.watch=!1,f._subjects.state.next({...f._formState})),f._removeUnmounted()}),i.current.formState=Jh(c,f),i.current}const N1=(n,i,r)=>{if(n&&"reportValidity"in n){const c=ee(r,i);n.setCustomValidity(c&&c.message||""),n.reportValidity()}},uy=(n,i)=>{for(const r in i.fields){const c=i.fields[r];c&&c.ref&&"reportValidity"in c.ref?N1(c.ref,r,n):c.refs&&c.refs.forEach(o=>N1(o,r,n))}},X3=(n,i)=>{i.shouldUseNativeValidation&&uy(n,i);const r={};for(const c in n){const o=ee(i.fields,c),f=Object.assign(n[c]||{},{ref:o&&o.ref});if(k3(i.names||Object.keys(n),c)){const v=Object.assign({},ee(r,c));Ue(v,"root",f),Ue(r,c,v)}else Ue(r,c,f)}return r},k3=(n,i)=>n.some(r=>r.startsWith(i+"."));var Q3=function(n,i){for(var r={};n.length;){var c=n[0],o=c.code,f=c.message,v=c.path.join(".");if(!r[v])if("unionErrors"in c){var h=c.unionErrors[0].errors[0];r[v]={message:h.message,type:h.code}}else r[v]={message:f,type:o};if("unionErrors"in c&&c.unionErrors.forEach(function(p){return p.errors.forEach(function(M){return n.push(M)})}),i){var b=r[v].types,m=b&&b[c.code];r[v]=Wh(v,i,r,o,m?[].concat(m,c.message):c.message)}n.shift()}return r},K3=function(n,i,r){return r===void 0&&(r={}),function(c,o,f){try{return Promise.resolve((function(v,h){try{var b=Promise.resolve(n[r.mode==="sync"?"parse":"parseAsync"](c,i)).then(function(m){return f.shouldUseNativeValidation&&uy({},f),{errors:{},values:r.raw?c:m}})}catch(m){return h(m)}return b&&b.then?b.then(void 0,h):b})(0,function(v){if((function(h){return Array.isArray(h?.errors)})(v))return{values:{},errors:X3(Q3(v.errors,!f.shouldUseNativeValidation&&f.criteriaMode==="all"),f)};throw v}))}catch(v){return Promise.reject(v)}}};const F3=Sb({password:xb().min(1,"Password is required")}),O4=n=>{const{control:i,handleSubmit:r,formState:{errors:c},reset:o,setError:f}=Z3({resolver:K3(F3),defaultValues:{password:""}}),{open:v,onOpenChange:h,onConfirm:b,isLoading:m=!1,buttonLabel:p="Confirm",title:M="Enter password",description:D="To sign transaction"}=n,[q,K]=g.useState(!1),w=async G=>{try{await b(G.password),o()}catch(X){X instanceof Error&&(X.message==="Invalid password"?f("password",{message:"Password is incorrect. Try again."}):f("password",{message:"An error occurred. Please try again."}))}},H=G=>{h(G),G||o()},W=()=>A.jsx("div",{className:"size-5 animate-spin rounded-full border-2 border-white-100 border-t-transparent"});return A.jsx(b3,{open:v,onOpenChange:H,children:A.jsxs(g3,{children:[A.jsx(p3,{className:Vb("fixed inset-0 bg-blur-neutral-100/70 backdrop-blur-[2px] data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out data-[state=open]:fade-in")}),A.jsx(E3,{"data-customisation":"blue",className:"fixed left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 rounded-[24px]",children:A.jsxs("div",{className:"flex min-h-[251px] w-screen max-w-[436px] flex-col rounded-16 border border-neutral-10 bg-white-100 p-4 shadow-3",children:[A.jsxs("div",{className:"mb-1 flex items-center justify-between",children:[A.jsx(S3,{className:"text-27 font-semibold",children:M}),A.jsx(T3,{asChild:!0,children:A.jsx(Xv,{icon:A.jsx(ng,{}),"aria-label":"Close",variant:"outline",size:"32",disabled:m})})]}),A.jsx(x3,{className:"mb-5 text-13 text-neutral-50",children:D}),A.jsxs("form",{onSubmit:r(w),className:"flex flex-1 flex-col place-content-between",children:[A.jsxs("div",{className:"mb-4 w-full",children:[A.jsx(D3,{name:"password",control:i,render:({field:G})=>A.jsxs("div",{className:"relative",children:[A.jsx(r3,{...G,type:q?"text":"password",placeholder:"Type password","aria-label":"Password",isInvalid:!!c.password,isDisabled:m,onKeyDown:X=>{X.key==="Enter"&&!m&&r(w)()}}),A.jsx("button",{type:"button",onClick:()=>K(!q),"aria-label":q?"Hide password":"Show password",className:"absolute right-4 top-1/2 -translate-y-1/2 text-neutral-50 hover:text-neutral-70",children:q?A.jsx(ug,{}):A.jsx(ig,{})})]})}),c.password&&A.jsxs("div",{className:"mt-2 flex items-center gap-1 text-13 text-danger-50",children:[A.jsx(lg,{className:"size-4"}),A.jsx("p",{children:c.password.message})]})]}),A.jsx(Xv,{variant:"primary",className:"w-full flex-1",type:"submit",disabled:m,children:m?A.jsxs("div",{className:"flex items-center gap-2",children:[A.jsx(W,{}),A.jsx("span",{children:"Signing..."})]}):p})]})]})})]})})},iy=Tb(),ry=g.createContext(iy);function D4(){const n=g.useContext(ry);if(!n)throw new Error("useAPI must be used within a APIClientProvider");return n}function R4(n){const{children:i}=n;return A.jsx(ry.Provider,{value:iy,children:i})}export{l3 as $,E1 as A,r3 as B,_4 as C,To as D,Xv as E,G1 as F,kp as G,ag as H,T4 as I,x4 as J,r4 as K,s4 as L,t4 as M,O2 as N,b3 as O,Er as P,g3 as Q,W3 as R,E3 as S,C4 as T,S3 as U,O4 as V,p3 as W,T3 as X,u4 as Y,i4 as Z,E4 as _,iy as a,y4 as a0,d4 as a1,v4 as a2,Fb as a3,b4 as a4,O3 as a5,ug as a6,ig as a7,Z3 as a8,K3 as a9,M4 as aa,f4 as ab,lg as ac,x3 as ad,D3 as ae,o4 as af,m4 as ag,D4 as ah,l4 as ai,a4 as aj,J3 as ak,$1 as al,e4 as am,n4 as an,S4 as ao,h4 as ap,p4 as aq,I3 as ar,R4 as as,Bb as b,qu as c,Cl as d,Gb as e,ng as f,Ma as g,ea as h,Vb as i,A as j,re as k,xo as l,j1 as m,Lu as n,Ws as o,X1 as p,Og as q,g as r,tg as s,hg as t,Vu as u,eh as v,L1 as w,So as x,c4 as y,g4 as z};
