@wrongstack/webui 0.77.0 → 0.82.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,81 @@
1
+ function Ub(n,r){for(var i=0;i<r.length;i++){const u=r[i];if(typeof u!="string"&&!Array.isArray(u)){for(const o in u)if(o!=="default"&&!(o in n)){const c=Object.getOwnPropertyDescriptor(u,o);c&&Object.defineProperty(n,o,c.get?c:{enumerable:!0,get:()=>u[o]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}function ea(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var vs={exports:{}},qi={};var qm;function Bb(){if(qm)return qi;qm=1;var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function i(u,o,c){var f=null;if(c!==void 0&&(f=""+c),o.key!==void 0&&(f=""+o.key),"key"in o){c={};for(var h in o)h!=="key"&&(c[h]=o[h])}else c=o;return o=c.ref,{$$typeof:n,type:u,key:f,ref:o!==void 0?o:null,props:c}}return qi.Fragment=r,qi.jsx=i,qi.jsxs=i,qi}var Vm;function jb(){return Vm||(Vm=1,vs.exports=Bb()),vs.exports}var te=jb(),bs={exports:{}},ve={};var Ym;function Hb(){if(Ym)return ve;Ym=1;var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),f=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),g=Symbol.for("react.activity"),b=Symbol.iterator;function S(_){return _===null||typeof _!="object"?null:(_=b&&_[b]||_["@@iterator"],typeof _=="function"?_:null)}var k={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w=Object.assign,A={};function T(_,X,E){this.props=_,this.context=X,this.refs=A,this.updater=E||k}T.prototype.isReactComponent={},T.prototype.setState=function(_,X){if(typeof _!="object"&&typeof _!="function"&&_!=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,"setState")},T.prototype.forceUpdate=function(_){this.updater.enqueueForceUpdate(this,_,"forceUpdate")};function q(){}q.prototype=T.prototype;function O(_,X,E){this.props=_,this.context=X,this.refs=A,this.updater=E||k}var G=O.prototype=new q;G.constructor=O,w(G,T.prototype),G.isPureReactComponent=!0;var P=Array.isArray;function U(){}var Q={H:null,A:null,T:null,S:null},re=Object.prototype.hasOwnProperty;function ie(_,X,E){var ae=E.ref;return{$$typeof:n,type:_,key:X,ref:ae!==void 0?ae:null,props:E}}function N(_,X){return ie(_.type,X,_.props)}function $(_){return typeof _=="object"&&_!==null&&_.$$typeof===n}function K(_){var X={"=":"=0",":":"=2"};return"$"+_.replace(/[=:]/g,function(E){return X[E]})}var be=/\/+/g;function ue(_,X){return typeof _=="object"&&_!==null&&_.key!=null?K(""+_.key):X.toString(36)}function ee(_){switch(_.status){case"fulfilled":return _.value;case"rejected":throw _.reason;default:switch(typeof _.status=="string"?_.then(U,U):(_.status="pending",_.then(function(X){_.status==="pending"&&(_.status="fulfilled",_.value=X)},function(X){_.status==="pending"&&(_.status="rejected",_.reason=X)})),_.status){case"fulfilled":return _.value;case"rejected":throw _.reason}}throw _}function L(_,X,E,ae,me){var fe=typeof _;(fe==="undefined"||fe==="boolean")&&(_=null);var ze=!1;if(_===null)ze=!0;else switch(fe){case"bigint":case"string":case"number":ze=!0;break;case"object":switch(_.$$typeof){case n:case r:ze=!0;break;case y:return ze=_._init,L(ze(_._payload),X,E,ae,me)}}if(ze)return me=me(_),ze=ae===""?"."+ue(_,0):ae,P(me)?(E="",ze!=null&&(E=ze.replace(be,"$&/")+"/"),L(me,X,E,"",function(Qt){return Qt})):me!=null&&($(me)&&(me=N(me,E+(me.key==null||_&&_.key===me.key?"":(""+me.key).replace(be,"$&/")+"/")+ze)),X.push(me)),1;ze=0;var Pe=ae===""?".":ae+":";if(P(_))for(var He=0;He<_.length;He++)ae=_[He],fe=Pe+ue(ae,He),ze+=L(ae,X,E,fe,me);else if(He=S(_),typeof He=="function")for(_=He.call(_),He=0;!(ae=_.next()).done;)ae=ae.value,fe=Pe+ue(ae,He++),ze+=L(ae,X,E,fe,me);else if(fe==="object"){if(typeof _.then=="function")return L(ee(_),X,E,ae,me);throw X=String(_),Error("Objects are not valid as a React child (found: "+(X==="[object Object]"?"object with keys {"+Object.keys(_).join(", ")+"}":X)+"). If you meant to render a collection of children, use an array instead.")}return ze}function J(_,X,E){if(_==null)return _;var ae=[],me=0;return L(_,ae,"","",function(fe){return X.call(E,fe,me++)}),ae}function ce(_){if(_._status===-1){var X=_._result;X=X(),X.then(function(E){(_._status===0||_._status===-1)&&(_._status=1,_._result=E)},function(E){(_._status===0||_._status===-1)&&(_._status=2,_._result=E)}),_._status===-1&&(_._status=0,_._result=X)}if(_._status===1)return _._result.default;throw _._result}var ye=typeof reportError=="function"?reportError:function(_){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var X=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof _=="object"&&_!==null&&typeof _.message=="string"?String(_.message):String(_),error:_});if(!window.dispatchEvent(X))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",_);return}console.error(_)},C={map:J,forEach:function(_,X,E){J(_,function(){X.apply(this,arguments)},E)},count:function(_){var X=0;return J(_,function(){X++}),X},toArray:function(_){return J(_,function(X){return X})||[]},only:function(_){if(!$(_))throw Error("React.Children.only expected to receive a single React element child.");return _}};return ve.Activity=g,ve.Children=C,ve.Component=T,ve.Fragment=i,ve.Profiler=o,ve.PureComponent=O,ve.StrictMode=u,ve.Suspense=m,ve.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Q,ve.__COMPILER_RUNTIME={__proto__:null,c:function(_){return Q.H.useMemoCache(_)}},ve.cache=function(_){return function(){return _.apply(null,arguments)}},ve.cacheSignal=function(){return null},ve.cloneElement=function(_,X,E){if(_==null)throw Error("The argument must be a React element, but you passed "+_+".");var ae=w({},_.props),me=_.key;if(X!=null)for(fe in X.key!==void 0&&(me=""+X.key),X)!re.call(X,fe)||fe==="key"||fe==="__self"||fe==="__source"||fe==="ref"&&X.ref===void 0||(ae[fe]=X[fe]);var fe=arguments.length-2;if(fe===1)ae.children=E;else if(1<fe){for(var ze=Array(fe),Pe=0;Pe<fe;Pe++)ze[Pe]=arguments[Pe+2];ae.children=ze}return ie(_.type,me,ae)},ve.createContext=function(_){return _={$$typeof:f,_currentValue:_,_currentValue2:_,_threadCount:0,Provider:null,Consumer:null},_.Provider=_,_.Consumer={$$typeof:c,_context:_},_},ve.createElement=function(_,X,E){var ae,me={},fe=null;if(X!=null)for(ae in X.key!==void 0&&(fe=""+X.key),X)re.call(X,ae)&&ae!=="key"&&ae!=="__self"&&ae!=="__source"&&(me[ae]=X[ae]);var ze=arguments.length-2;if(ze===1)me.children=E;else if(1<ze){for(var Pe=Array(ze),He=0;He<ze;He++)Pe[He]=arguments[He+2];me.children=Pe}if(_&&_.defaultProps)for(ae in ze=_.defaultProps,ze)me[ae]===void 0&&(me[ae]=ze[ae]);return ie(_,fe,me)},ve.createRef=function(){return{current:null}},ve.forwardRef=function(_){return{$$typeof:h,render:_}},ve.isValidElement=$,ve.lazy=function(_){return{$$typeof:y,_payload:{_status:-1,_result:_},_init:ce}},ve.memo=function(_,X){return{$$typeof:p,type:_,compare:X===void 0?null:X}},ve.startTransition=function(_){var X=Q.T,E={};Q.T=E;try{var ae=_(),me=Q.S;me!==null&&me(E,ae),typeof ae=="object"&&ae!==null&&typeof ae.then=="function"&&ae.then(U,ye)}catch(fe){ye(fe)}finally{X!==null&&E.types!==null&&(X.types=E.types),Q.T=X}},ve.unstable_useCacheRefresh=function(){return Q.H.useCacheRefresh()},ve.use=function(_){return Q.H.use(_)},ve.useActionState=function(_,X,E){return Q.H.useActionState(_,X,E)},ve.useCallback=function(_,X){return Q.H.useCallback(_,X)},ve.useContext=function(_){return Q.H.useContext(_)},ve.useDebugValue=function(){},ve.useDeferredValue=function(_,X){return Q.H.useDeferredValue(_,X)},ve.useEffect=function(_,X){return Q.H.useEffect(_,X)},ve.useEffectEvent=function(_){return Q.H.useEffectEvent(_)},ve.useId=function(){return Q.H.useId()},ve.useImperativeHandle=function(_,X,E){return Q.H.useImperativeHandle(_,X,E)},ve.useInsertionEffect=function(_,X){return Q.H.useInsertionEffect(_,X)},ve.useLayoutEffect=function(_,X){return Q.H.useLayoutEffect(_,X)},ve.useMemo=function(_,X){return Q.H.useMemo(_,X)},ve.useOptimistic=function(_,X){return Q.H.useOptimistic(_,X)},ve.useReducer=function(_,X,E){return Q.H.useReducer(_,X,E)},ve.useRef=function(_){return Q.H.useRef(_)},ve.useState=function(_){return Q.H.useState(_)},ve.useSyncExternalStore=function(_,X,E){return Q.H.useSyncExternalStore(_,X,E)},ve.useTransition=function(){return Q.H.useTransition()},ve.version="19.2.6",ve}var Gm;function hf(){return Gm||(Gm=1,bs.exports=Hb()),bs.exports}var M=hf();const rn=ea(M),pf=Ub({__proto__:null,default:rn},[M]);var Ss={exports:{}},Vi={},xs={exports:{}},Es={};var Xm;function qb(){return Xm||(Xm=1,(function(n){function r(L,J){var ce=L.length;L.push(J);e:for(;0<ce;){var ye=ce-1>>>1,C=L[ye];if(0<o(C,J))L[ye]=J,L[ce]=C,ce=ye;else break e}}function i(L){return L.length===0?null:L[0]}function u(L){if(L.length===0)return null;var J=L[0],ce=L.pop();if(ce!==J){L[0]=ce;e:for(var ye=0,C=L.length,_=C>>>1;ye<_;){var X=2*(ye+1)-1,E=L[X],ae=X+1,me=L[ae];if(0>o(E,ce))ae<C&&0>o(me,E)?(L[ye]=me,L[ae]=ce,ye=ae):(L[ye]=E,L[X]=ce,ye=X);else if(ae<C&&0>o(me,ce))L[ye]=me,L[ae]=ce,ye=ae;else break e}}return J}function o(L,J){var ce=L.sortIndex-J.sortIndex;return ce!==0?ce:L.id-J.id}if(n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var c=performance;n.unstable_now=function(){return c.now()}}else{var f=Date,h=f.now();n.unstable_now=function(){return f.now()-h}}var m=[],p=[],y=1,g=null,b=3,S=!1,k=!1,w=!1,A=!1,T=typeof setTimeout=="function"?setTimeout:null,q=typeof clearTimeout=="function"?clearTimeout:null,O=typeof setImmediate<"u"?setImmediate:null;function G(L){for(var J=i(p);J!==null;){if(J.callback===null)u(p);else if(J.startTime<=L)u(p),J.sortIndex=J.expirationTime,r(m,J);else break;J=i(p)}}function P(L){if(w=!1,G(L),!k)if(i(m)!==null)k=!0,U||(U=!0,K());else{var J=i(p);J!==null&&ee(P,J.startTime-L)}}var U=!1,Q=-1,re=5,ie=-1;function N(){return A?!0:!(n.unstable_now()-ie<re)}function $(){if(A=!1,U){var L=n.unstable_now();ie=L;var J=!0;try{e:{k=!1,w&&(w=!1,q(Q),Q=-1),S=!0;var ce=b;try{t:{for(G(L),g=i(m);g!==null&&!(g.expirationTime>L&&N());){var ye=g.callback;if(typeof ye=="function"){g.callback=null,b=g.priorityLevel;var C=ye(g.expirationTime<=L);if(L=n.unstable_now(),typeof C=="function"){g.callback=C,G(L),J=!0;break t}g===i(m)&&u(m),G(L)}else u(m);g=i(m)}if(g!==null)J=!0;else{var _=i(p);_!==null&&ee(P,_.startTime-L),J=!1}}break e}finally{g=null,b=ce,S=!1}J=void 0}}finally{J?K():U=!1}}}var K;if(typeof O=="function")K=function(){O($)};else if(typeof MessageChannel<"u"){var be=new MessageChannel,ue=be.port2;be.port1.onmessage=$,K=function(){ue.postMessage(null)}}else K=function(){T($,0)};function ee(L,J){Q=T(function(){L(n.unstable_now())},J)}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(L){L.callback=null},n.unstable_forceFrameRate=function(L){0>L||125<L?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):re=0<L?Math.floor(1e3/L):5},n.unstable_getCurrentPriorityLevel=function(){return b},n.unstable_next=function(L){switch(b){case 1:case 2:case 3:var J=3;break;default:J=b}var ce=b;b=J;try{return L()}finally{b=ce}},n.unstable_requestPaint=function(){A=!0},n.unstable_runWithPriority=function(L,J){switch(L){case 1:case 2:case 3:case 4:case 5:break;default:L=3}var ce=b;b=L;try{return J()}finally{b=ce}},n.unstable_scheduleCallback=function(L,J,ce){var ye=n.unstable_now();switch(typeof ce=="object"&&ce!==null?(ce=ce.delay,ce=typeof ce=="number"&&0<ce?ye+ce:ye):ce=ye,L){case 1:var C=-1;break;case 2:C=250;break;case 5:C=1073741823;break;case 4:C=1e4;break;default:C=5e3}return C=ce+C,L={id:y++,callback:J,priorityLevel:L,startTime:ce,expirationTime:C,sortIndex:-1},ce>ye?(L.sortIndex=ce,r(p,L),i(m)===null&&L===i(p)&&(w?(q(Q),Q=-1):w=!0,ee(P,ce-ye))):(L.sortIndex=C,r(m,L),k||S||(k=!0,U||(U=!0,K()))),L},n.unstable_shouldYield=N,n.unstable_wrapCallback=function(L){var J=b;return function(){var ce=b;b=J;try{return L.apply(this,arguments)}finally{b=ce}}}})(Es)),Es}var Fm;function Vb(){return Fm||(Fm=1,xs.exports=qb()),xs.exports}var ks={exports:{}},vt={};var Im;function Yb(){if(Im)return vt;Im=1;var n=hf();function r(m){var p="https://react.dev/errors/"+m;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var y=2;y<arguments.length;y++)p+="&args[]="+encodeURIComponent(arguments[y])}return"Minified React error #"+m+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(){}var u={d:{f:i,r:function(){throw Error(r(522))},D:i,C:i,L:i,m:i,X:i,S:i,M:i},p:0,findDOMNode:null},o=Symbol.for("react.portal");function c(m,p,y){var g=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:g==null?null:""+g,children:m,containerInfo:p,implementation:y}}var f=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function h(m,p){if(m==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return vt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=u,vt.createPortal=function(m,p){var y=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(r(299));return c(m,p,null,y)},vt.flushSync=function(m){var p=f.T,y=u.p;try{if(f.T=null,u.p=2,m)return m()}finally{f.T=p,u.p=y,u.d.f()}},vt.preconnect=function(m,p){typeof m=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,u.d.C(m,p))},vt.prefetchDNS=function(m){typeof m=="string"&&u.d.D(m)},vt.preinit=function(m,p){if(typeof m=="string"&&p&&typeof p.as=="string"){var y=p.as,g=h(y,p.crossOrigin),b=typeof p.integrity=="string"?p.integrity:void 0,S=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;y==="style"?u.d.S(m,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:g,integrity:b,fetchPriority:S}):y==="script"&&u.d.X(m,{crossOrigin:g,integrity:b,fetchPriority:S,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},vt.preinitModule=function(m,p){if(typeof m=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var y=h(p.as,p.crossOrigin);u.d.M(m,{crossOrigin:y,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&u.d.M(m)},vt.preload=function(m,p){if(typeof m=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var y=p.as,g=h(y,p.crossOrigin);u.d.L(m,y,{crossOrigin:g,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.type=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},vt.preloadModule=function(m,p){if(typeof m=="string")if(p){var y=h(p.as,p.crossOrigin);u.d.m(m,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:y,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else u.d.m(m)},vt.requestFormReset=function(m){u.d.r(m)},vt.unstable_batchedUpdates=function(m,p){return m(p)},vt.useFormState=function(m,p,y){return f.H.useFormState(m,p,y)},vt.useFormStatus=function(){return f.H.useHostTransitionStatus()},vt.version="19.2.6",vt}var Qm;function i1(){if(Qm)return ks.exports;Qm=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(r){console.error(r)}}return n(),ks.exports=Yb(),ks.exports}var Zm;function Gb(){if(Zm)return Vi;Zm=1;var n=Vb(),r=hf(),i=i1();function u(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 c(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 f(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(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function m(e){if(c(e)!==e)throw Error(u(188))}function p(e){var t=e.alternate;if(!t){if(t=c(e),t===null)throw Error(u(188));return t!==e?null:e}for(var l=e,a=t;;){var s=l.return;if(s===null)break;var d=s.alternate;if(d===null){if(a=s.return,a!==null){l=a;continue}break}if(s.child===d.child){for(d=s.child;d;){if(d===l)return m(s),e;if(d===a)return m(s),t;d=d.sibling}throw Error(u(188))}if(l.return!==a.return)l=s,a=d;else{for(var v=!1,x=s.child;x;){if(x===l){v=!0,l=s,a=d;break}if(x===a){v=!0,a=s,l=d;break}x=x.sibling}if(!v){for(x=d.child;x;){if(x===l){v=!0,l=d,a=s;break}if(x===a){v=!0,a=d,l=s;break}x=x.sibling}if(!v)throw Error(u(189))}}if(l.alternate!==a)throw Error(u(190))}if(l.tag!==3)throw Error(u(188));return l.stateNode.current===l?e:t}function y(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=y(e),t!==null)return t;e=e.sibling}return null}var g=Object.assign,b=Symbol.for("react.element"),S=Symbol.for("react.transitional.element"),k=Symbol.for("react.portal"),w=Symbol.for("react.fragment"),A=Symbol.for("react.strict_mode"),T=Symbol.for("react.profiler"),q=Symbol.for("react.consumer"),O=Symbol.for("react.context"),G=Symbol.for("react.forward_ref"),P=Symbol.for("react.suspense"),U=Symbol.for("react.suspense_list"),Q=Symbol.for("react.memo"),re=Symbol.for("react.lazy"),ie=Symbol.for("react.activity"),N=Symbol.for("react.memo_cache_sentinel"),$=Symbol.iterator;function K(e){return e===null||typeof e!="object"?null:(e=$&&e[$]||e["@@iterator"],typeof e=="function"?e:null)}var be=Symbol.for("react.client.reference");function ue(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===be?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case w:return"Fragment";case T:return"Profiler";case A:return"StrictMode";case P:return"Suspense";case U:return"SuspenseList";case ie:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case k:return"Portal";case O:return e.displayName||"Context";case q:return(e._context.displayName||"Context")+".Consumer";case G:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Q:return t=e.displayName||null,t!==null?t:ue(e.type)||"Memo";case re:t=e._payload,e=e._init;try{return ue(e(t))}catch{}}return null}var ee=Array.isArray,L=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ce={pending:!1,data:null,method:null,action:null},ye=[],C=-1;function _(e){return{current:e}}function X(e){0>C||(e.current=ye[C],ye[C]=null,C--)}function E(e,t){C++,ye[C]=e.current,e.current=t}var ae=_(null),me=_(null),fe=_(null),ze=_(null);function Pe(e,t){switch(E(fe,t),E(me,e),E(ae,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?cm(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=cm(t),e=sm(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}X(ae),E(ae,e)}function He(){X(ae),X(me),X(fe)}function Qt(e){e.memoizedState!==null&&E(ze,e);var t=ae.current,l=sm(t,e.type);t!==l&&(E(me,e),E(ae,l))}function En(e){me.current===e&&(X(ae),X(me)),ze.current===e&&(X(ze),Ui._currentValue=ce)}var Qr,aa;function kn(e){if(Qr===void 0)try{throw Error()}catch(l){var t=l.stack.trim().match(/\n( *(at )?)/);Qr=t&&t[1]||"",aa=-1<l.stack.indexOf(`
2
+ at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
3
+ `+Qr+e+aa}var Xl=!1;function Fl(e,t){if(!e||Xl)return"";Xl=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(t){var Z=function(){throw Error()};if(Object.defineProperty(Z.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Z,[])}catch(V){var H=V}Reflect.construct(e,[],Z)}else{try{Z.call()}catch(V){H=V}e.call(Z.prototype)}}else{try{throw Error()}catch(V){H=V}(Z=e())&&typeof Z.catch=="function"&&Z.catch(function(){})}}catch(V){if(V&&H&&typeof V.stack=="string")return[V.stack,H.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var s=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");s&&s.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var d=a.DetermineComponentFrameRoot(),v=d[0],x=d[1];if(v&&x){var z=v.split(`
4
+ `),j=x.split(`
5
+ `);for(s=a=0;a<z.length&&!z[a].includes("DetermineComponentFrameRoot");)a++;for(;s<j.length&&!j[s].includes("DetermineComponentFrameRoot");)s++;if(a===z.length||s===j.length)for(a=z.length-1,s=j.length-1;1<=a&&0<=s&&z[a]!==j[s];)s--;for(;1<=a&&0<=s;a--,s--)if(z[a]!==j[s]){if(a!==1||s!==1)do if(a--,s--,0>s||z[a]!==j[s]){var Y=`
6
+ `+z[a].replace(" at new "," at ");return e.displayName&&Y.includes("<anonymous>")&&(Y=Y.replace("<anonymous>",e.displayName)),Y}while(1<=a&&0<=s);break}}}finally{Xl=!1,Error.prepareStackTrace=l}return(l=e?e.displayName||e.name:"")?kn(l):""}function ua(e,t){switch(e.tag){case 26:case 27:case 5:return kn(e.type);case 16:return kn("Lazy");case 13:return e.child!==t&&t!==null?kn("Suspense Fallback"):kn("Suspense");case 19:return kn("SuspenseList");case 0:case 15:return Fl(e.type,!1);case 11:return Fl(e.type.render,!1);case 1:return Fl(e.type,!0);case 31:return kn("Activity");default:return""}}function oa(e){try{var t="",l=null;do t+=ua(e,l),l=e,e=e.return;while(e);return t}catch(a){return`
7
+ Error generating stack: `+a.message+`
8
+ `+a.stack}}var Il=Object.prototype.hasOwnProperty,Ql=n.unstable_scheduleCallback,Zr=n.unstable_cancelCallback,no=n.unstable_shouldYield,lo=n.unstable_requestPaint,Et=n.unstable_now,ro=n.unstable_getCurrentPriorityLevel,F=n.unstable_ImmediatePriority,ne=n.unstable_UserBlockingPriority,ge=n.unstable_NormalPriority,Ce=n.unstable_LowPriority,Ue=n.unstable_IdlePriority,Ut=n.log,Cn=n.unstable_setDisableYieldValue,kt=null,ct=null;function At(e){if(typeof Ut=="function"&&Cn(e),ct&&typeof ct.setStrictMode=="function")try{ct.setStrictMode(kt,e)}catch{}}var Ge=Math.clz32?Math.clz32:E0,In=Math.log,on=Math.LN2;function E0(e){return e>>>=0,e===0?32:31-(In(e)/on|0)|0}var ca=256,sa=262144,fa=4194304;function El(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:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;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 da(e,t,l){var a=e.pendingLanes;if(a===0)return 0;var s=0,d=e.suspendedLanes,v=e.pingedLanes;e=e.warmLanes;var x=a&134217727;return x!==0?(a=x&~d,a!==0?s=El(a):(v&=x,v!==0?s=El(v):l||(l=x&~e,l!==0&&(s=El(l))))):(x=a&~d,x!==0?s=El(x):v!==0?s=El(v):l||(l=a&~e,l!==0&&(s=El(l)))),s===0?0:t!==0&&t!==s&&(t&d)===0&&(d=s&-s,l=t&-t,d>=l||d===32&&(l&4194048)!==0)?t:s}function Kr(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function k0(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 Xf(){var e=fa;return fa<<=1,(fa&62914560)===0&&(fa=4194304),e}function io(e){for(var t=[],l=0;31>l;l++)t.push(e);return t}function Pr(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function C0(e,t,l,a,s,d){var v=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 x=e.entanglements,z=e.expirationTimes,j=e.hiddenUpdates;for(l=v&~l;0<l;){var Y=31-Ge(l),Z=1<<Y;x[Y]=0,z[Y]=-1;var H=j[Y];if(H!==null)for(j[Y]=null,Y=0;Y<H.length;Y++){var V=H[Y];V!==null&&(V.lane&=-536870913)}l&=~Z}a!==0&&Ff(e,a,0),d!==0&&s===0&&e.tag!==0&&(e.suspendedLanes|=d&~(v&~t))}function Ff(e,t,l){e.pendingLanes|=t,e.suspendedLanes&=~t;var a=31-Ge(t);e.entangledLanes|=t,e.entanglements[a]=e.entanglements[a]|1073741824|l&261930}function If(e,t){var l=e.entangledLanes|=t;for(e=e.entanglements;l;){var a=31-Ge(l),s=1<<a;s&t|e[a]&t&&(e[a]|=t),l&=~s}}function Qf(e,t){var l=t&-t;return l=(l&42)!==0?1:ao(l),(l&(e.suspendedLanes|t))!==0?0:l}function ao(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 uo(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Zf(){var e=J.p;return e!==0?e:(e=window.event,e===void 0?32:Om(e.type))}function Kf(e,t){var l=J.p;try{return J.p=e,t()}finally{J.p=l}}var Qn=Math.random().toString(36).slice(2),ht="__reactFiber$"+Qn,Tt="__reactProps$"+Qn,Zl="__reactContainer$"+Qn,oo="__reactEvents$"+Qn,w0="__reactListeners$"+Qn,A0="__reactHandles$"+Qn,Pf="__reactResources$"+Qn,Jr="__reactMarker$"+Qn;function co(e){delete e[ht],delete e[Tt],delete e[oo],delete e[w0],delete e[A0]}function Kl(e){var t=e[ht];if(t)return t;for(var l=e.parentNode;l;){if(t=l[Zl]||l[ht]){if(l=t.alternate,t.child!==null||l!==null&&l.child!==null)for(e=ym(e);e!==null;){if(l=e[ht])return l;e=ym(e)}return t}e=l,l=e.parentNode}return null}function Pl(e){if(e=e[ht]||e[Zl]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Wr(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(u(33))}function Jl(e){var t=e[Pf];return t||(t=e[Pf]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function ft(e){e[Jr]=!0}var Jf=new Set,Wf={};function kl(e,t){Wl(e,t),Wl(e+"Capture",t)}function Wl(e,t){for(Wf[e]=t,e=0;e<t.length;e++)Jf.add(t[e])}var T0=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]*$"),$f={},ed={};function z0(e){return Il.call(ed,e)?!0:Il.call($f,e)?!1:T0.test(e)?ed[e]=!0:($f[e]=!0,!1)}function ha(e,t,l){if(z0(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 pa(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 wn(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)}}function Zt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function td(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function M0(e,t,l){var a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var s=a.get,d=a.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(v){l=""+v,d.call(this,v)}}),Object.defineProperty(e,t,{enumerable:a.enumerable}),{getValue:function(){return l},setValue:function(v){l=""+v},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function so(e){if(!e._valueTracker){var t=td(e)?"checked":"value";e._valueTracker=M0(e,t,""+e[t])}}function nd(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var l=t.getValue(),a="";return e&&(a=td(e)?e.checked?"true":"false":e.value),e=a,e!==l?(t.setValue(e),!0):!1}function ma(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 _0=/[\n"\\]/g;function Kt(e){return e.replace(_0,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function fo(e,t,l,a,s,d,v,x){e.name="",v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"?e.type=v:e.removeAttribute("type"),t!=null?v==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Zt(t)):e.value!==""+Zt(t)&&(e.value=""+Zt(t)):v!=="submit"&&v!=="reset"||e.removeAttribute("value"),t!=null?ho(e,v,Zt(t)):l!=null?ho(e,v,Zt(l)):a!=null&&e.removeAttribute("value"),s==null&&d!=null&&(e.defaultChecked=!!d),s!=null&&(e.checked=s&&typeof s!="function"&&typeof s!="symbol"),x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"?e.name=""+Zt(x):e.removeAttribute("name")}function ld(e,t,l,a,s,d,v,x){if(d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(e.type=d),t!=null||l!=null){if(!(d!=="submit"&&d!=="reset"||t!=null)){so(e);return}l=l!=null?""+Zt(l):"",t=t!=null?""+Zt(t):l,x||t===e.value||(e.value=t),e.defaultValue=t}a=a??s,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=x?e.checked:!!a,e.defaultChecked=!!a,v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"&&(e.name=v),so(e)}function ho(e,t,l){t==="number"&&ma(e.ownerDocument)===e||e.defaultValue===""+l||(e.defaultValue=""+l)}function $l(e,t,l,a){if(e=e.options,t){t={};for(var s=0;s<l.length;s++)t["$"+l[s]]=!0;for(l=0;l<e.length;l++)s=t.hasOwnProperty("$"+e[l].value),e[l].selected!==s&&(e[l].selected=s),s&&a&&(e[l].defaultSelected=!0)}else{for(l=""+Zt(l),t=null,s=0;s<e.length;s++){if(e[s].value===l){e[s].selected=!0,a&&(e[s].defaultSelected=!0);return}t!==null||e[s].disabled||(t=e[s])}t!==null&&(t.selected=!0)}}function rd(e,t,l){if(t!=null&&(t=""+Zt(t),t!==e.value&&(e.value=t),l==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=l!=null?""+Zt(l):""}function id(e,t,l,a){if(t==null){if(a!=null){if(l!=null)throw Error(u(92));if(ee(a)){if(1<a.length)throw Error(u(93));a=a[0]}l=a}l==null&&(l=""),t=l}l=Zt(t),e.defaultValue=l,a=e.textContent,a===l&&a!==""&&a!==null&&(e.value=a),so(e)}function er(e,t){if(t){var l=e.firstChild;if(l&&l===e.lastChild&&l.nodeType===3){l.nodeValue=t;return}}e.textContent=t}var D0=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 ad(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||D0.has(t)?t==="float"?e.cssFloat=l:e[t]=(""+l).trim():e[t]=l+"px"}function ud(e,t,l){if(t!=null&&typeof t!="object")throw Error(u(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 s in t)a=t[s],t.hasOwnProperty(s)&&l[s]!==a&&ad(e,s,a)}else for(var d in t)t.hasOwnProperty(d)&&ad(e,d,t[d])}function po(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 R0=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"]]),O0=/^[\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 ga(e){return O0.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function An(){}var mo=null;function go(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var tr=null,nr=null;function od(e){var t=Pl(e);if(t&&(e=t.stateNode)){var l=e[Tt]||null;e:switch(e=t.stateNode,t.type){case"input":if(fo(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="'+Kt(""+t)+'"][type="radio"]'),t=0;t<l.length;t++){var a=l[t];if(a!==e&&a.form===e.form){var s=a[Tt]||null;if(!s)throw Error(u(90));fo(a,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name)}}for(t=0;t<l.length;t++)a=l[t],a.form===e.form&&nd(a)}break e;case"textarea":rd(e,l.value,l.defaultValue);break e;case"select":t=l.value,t!=null&&$l(e,!!l.multiple,t,!1)}}}var yo=!1;function cd(e,t,l){if(yo)return e(t,l);yo=!0;try{var a=e(t);return a}finally{if(yo=!1,(tr!==null||nr!==null)&&(lu(),tr&&(t=tr,e=nr,nr=tr=null,od(t),e)))for(t=0;t<e.length;t++)od(e[t])}}function $r(e,t){var l=e.stateNode;if(l===null)return null;var a=l[Tt]||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(u(231,t,typeof l));return l}var Tn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),vo=!1;if(Tn)try{var ei={};Object.defineProperty(ei,"passive",{get:function(){vo=!0}}),window.addEventListener("test",ei,ei),window.removeEventListener("test",ei,ei)}catch{vo=!1}var Zn=null,bo=null,ya=null;function sd(){if(ya)return ya;var e,t=bo,l=t.length,a,s="value"in Zn?Zn.value:Zn.textContent,d=s.length;for(e=0;e<l&&t[e]===s[e];e++);var v=l-e;for(a=1;a<=v&&t[l-a]===s[d-a];a++);return ya=s.slice(e,1<a?1-a:void 0)}function va(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 ba(){return!0}function fd(){return!1}function zt(e){function t(l,a,s,d,v){this._reactName=l,this._targetInst=s,this.type=a,this.nativeEvent=d,this.target=v,this.currentTarget=null;for(var x in e)e.hasOwnProperty(x)&&(l=e[x],this[x]=l?l(d):d[x]);return this.isDefaultPrevented=(d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1)?ba:fd,this.isPropagationStopped=fd,this}return g(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=ba)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=ba)},persist:function(){},isPersistent:ba}),t}var Cl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Sa=zt(Cl),ti=g({},Cl,{view:0,detail:0}),N0=zt(ti),So,xo,ni,xa=g({},ti,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ko,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!==ni&&(ni&&e.type==="mousemove"?(So=e.screenX-ni.screenX,xo=e.screenY-ni.screenY):xo=So=0,ni=e),So)},movementY:function(e){return"movementY"in e?e.movementY:xo}}),dd=zt(xa),L0=g({},xa,{dataTransfer:0}),U0=zt(L0),B0=g({},ti,{relatedTarget:0}),Eo=zt(B0),j0=g({},Cl,{animationName:0,elapsedTime:0,pseudoElement:0}),H0=zt(j0),q0=g({},Cl,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),V0=zt(q0),Y0=g({},Cl,{data:0}),hd=zt(Y0),G0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},X0={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"},F0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function I0(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=F0[e])?!!t[e]:!1}function ko(){return I0}var Q0=g({},ti,{key:function(e){if(e.key){var t=G0[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=va(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?X0[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ko,charCode:function(e){return e.type==="keypress"?va(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?va(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Z0=zt(Q0),K0=g({},xa,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),pd=zt(K0),P0=g({},ti,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ko}),J0=zt(P0),W0=g({},Cl,{propertyName:0,elapsedTime:0,pseudoElement:0}),$0=zt(W0),ev=g({},xa,{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}),tv=zt(ev),nv=g({},Cl,{newState:0,oldState:0}),lv=zt(nv),rv=[9,13,27,32],Co=Tn&&"CompositionEvent"in window,li=null;Tn&&"documentMode"in document&&(li=document.documentMode);var iv=Tn&&"TextEvent"in window&&!li,md=Tn&&(!Co||li&&8<li&&11>=li),gd=" ",yd=!1;function vd(e,t){switch(e){case"keyup":return rv.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function bd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var lr=!1;function av(e,t){switch(e){case"compositionend":return bd(t);case"keypress":return t.which!==32?null:(yd=!0,gd);case"textInput":return e=t.data,e===gd&&yd?null:e;default:return null}}function uv(e,t){if(lr)return e==="compositionend"||!Co&&vd(e,t)?(e=sd(),ya=bo=Zn=null,lr=!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 md&&t.locale!=="ko"?null:t.data;default:return null}}var ov={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 Sd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!ov[e.type]:t==="textarea"}function xd(e,t,l,a){tr?nr?nr.push(a):nr=[a]:tr=a,t=su(t,"onChange"),0<t.length&&(l=new Sa("onChange","change",null,l,a),e.push({event:l,listeners:t}))}var ri=null,ii=null;function cv(e){lm(e,0)}function Ea(e){var t=Wr(e);if(nd(t))return e}function Ed(e,t){if(e==="change")return t}var kd=!1;if(Tn){var wo;if(Tn){var Ao="oninput"in document;if(!Ao){var Cd=document.createElement("div");Cd.setAttribute("oninput","return;"),Ao=typeof Cd.oninput=="function"}wo=Ao}else wo=!1;kd=wo&&(!document.documentMode||9<document.documentMode)}function wd(){ri&&(ri.detachEvent("onpropertychange",Ad),ii=ri=null)}function Ad(e){if(e.propertyName==="value"&&Ea(ii)){var t=[];xd(t,ii,e,go(e)),cd(cv,t)}}function sv(e,t,l){e==="focusin"?(wd(),ri=t,ii=l,ri.attachEvent("onpropertychange",Ad)):e==="focusout"&&wd()}function fv(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ea(ii)}function dv(e,t){if(e==="click")return Ea(t)}function hv(e,t){if(e==="input"||e==="change")return Ea(t)}function pv(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Bt=typeof Object.is=="function"?Object.is:pv;function ai(e,t){if(Bt(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 s=l[a];if(!Il.call(t,s)||!Bt(e[s],t[s]))return!1}return!0}function Td(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function zd(e,t){var l=Td(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=Td(l)}}function Md(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Md(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function _d(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=ma(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=ma(e.document)}return t}function To(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 mv=Tn&&"documentMode"in document&&11>=document.documentMode,rr=null,zo=null,ui=null,Mo=!1;function Dd(e,t,l){var a=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Mo||rr==null||rr!==ma(a)||(a=rr,"selectionStart"in a&&To(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}),ui&&ai(ui,a)||(ui=a,a=su(zo,"onSelect"),0<a.length&&(t=new Sa("onSelect","select",null,t,l),e.push({event:t,listeners:a}),t.target=rr)))}function wl(e,t){var l={};return l[e.toLowerCase()]=t.toLowerCase(),l["Webkit"+e]="webkit"+t,l["Moz"+e]="moz"+t,l}var ir={animationend:wl("Animation","AnimationEnd"),animationiteration:wl("Animation","AnimationIteration"),animationstart:wl("Animation","AnimationStart"),transitionrun:wl("Transition","TransitionRun"),transitionstart:wl("Transition","TransitionStart"),transitioncancel:wl("Transition","TransitionCancel"),transitionend:wl("Transition","TransitionEnd")},_o={},Rd={};Tn&&(Rd=document.createElement("div").style,"AnimationEvent"in window||(delete ir.animationend.animation,delete ir.animationiteration.animation,delete ir.animationstart.animation),"TransitionEvent"in window||delete ir.transitionend.transition);function Al(e){if(_o[e])return _o[e];if(!ir[e])return e;var t=ir[e],l;for(l in t)if(t.hasOwnProperty(l)&&l in Rd)return _o[e]=t[l];return e}var Od=Al("animationend"),Nd=Al("animationiteration"),Ld=Al("animationstart"),gv=Al("transitionrun"),yv=Al("transitionstart"),vv=Al("transitioncancel"),Ud=Al("transitionend"),Bd=new Map,Do="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(" ");Do.push("scrollEnd");function cn(e,t){Bd.set(e,t),kl(t,[e])}var ka=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)},Pt=[],ar=0,Ro=0;function Ca(){for(var e=ar,t=Ro=ar=0;t<e;){var l=Pt[t];Pt[t++]=null;var a=Pt[t];Pt[t++]=null;var s=Pt[t];Pt[t++]=null;var d=Pt[t];if(Pt[t++]=null,a!==null&&s!==null){var v=a.pending;v===null?s.next=s:(s.next=v.next,v.next=s),a.pending=s}d!==0&&jd(l,s,d)}}function wa(e,t,l,a){Pt[ar++]=e,Pt[ar++]=t,Pt[ar++]=l,Pt[ar++]=a,Ro|=a,e.lanes|=a,e=e.alternate,e!==null&&(e.lanes|=a)}function Oo(e,t,l,a){return wa(e,t,l,a),Aa(e)}function Tl(e,t){return wa(e,null,null,t),Aa(e)}function jd(e,t,l){e.lanes|=l;var a=e.alternate;a!==null&&(a.lanes|=l);for(var s=!1,d=e.return;d!==null;)d.childLanes|=l,a=d.alternate,a!==null&&(a.childLanes|=l),d.tag===22&&(e=d.stateNode,e===null||e._visibility&1||(s=!0)),e=d,d=d.return;return e.tag===3?(d=e.stateNode,s&&t!==null&&(s=31-Ge(l),e=d.hiddenUpdates,a=e[s],a===null?e[s]=[t]:a.push(t),t.lane=l|536870912),d):null}function Aa(e){if(50<Mi)throw Mi=0,Yc=null,Error(u(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var ur={};function bv(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 jt(e,t,l,a){return new bv(e,t,l,a)}function No(e){return e=e.prototype,!(!e||!e.isReactComponent)}function zn(e,t){var l=e.alternate;return l===null?(l=jt(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 Hd(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 Ta(e,t,l,a,s,d){var v=0;if(a=e,typeof e=="function")No(e)&&(v=1);else if(typeof e=="string")v=Cb(e,l,ae.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case ie:return e=jt(31,l,t,s),e.elementType=ie,e.lanes=d,e;case w:return zl(l.children,s,d,t);case A:v=8,s|=24;break;case T:return e=jt(12,l,t,s|2),e.elementType=T,e.lanes=d,e;case P:return e=jt(13,l,t,s),e.elementType=P,e.lanes=d,e;case U:return e=jt(19,l,t,s),e.elementType=U,e.lanes=d,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case O:v=10;break e;case q:v=9;break e;case G:v=11;break e;case Q:v=14;break e;case re:v=16,a=null;break e}v=29,l=Error(u(130,e===null?"null":typeof e,"")),a=null}return t=jt(v,l,t,s),t.elementType=e,t.type=a,t.lanes=d,t}function zl(e,t,l,a){return e=jt(7,e,a,t),e.lanes=l,e}function Lo(e,t,l){return e=jt(6,e,null,t),e.lanes=l,e}function qd(e){var t=jt(18,null,null,0);return t.stateNode=e,t}function Uo(e,t,l){return t=jt(4,e.children!==null?e.children:[],e.key,t),t.lanes=l,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Vd=new WeakMap;function Jt(e,t){if(typeof e=="object"&&e!==null){var l=Vd.get(e);return l!==void 0?l:(t={value:e,source:t,stack:oa(t)},Vd.set(e,t),t)}return{value:e,source:t,stack:oa(t)}}var or=[],cr=0,za=null,oi=0,Wt=[],$t=0,Kn=null,pn=1,mn="";function Mn(e,t){or[cr++]=oi,or[cr++]=za,za=e,oi=t}function Yd(e,t,l){Wt[$t++]=pn,Wt[$t++]=mn,Wt[$t++]=Kn,Kn=e;var a=pn;e=mn;var s=32-Ge(a)-1;a&=~(1<<s),l+=1;var d=32-Ge(t)+s;if(30<d){var v=s-s%5;d=(a&(1<<v)-1).toString(32),a>>=v,s-=v,pn=1<<32-Ge(t)+s|l<<s|a,mn=d+e}else pn=1<<d|l<<s|a,mn=e}function Bo(e){e.return!==null&&(Mn(e,1),Yd(e,1,0))}function jo(e){for(;e===za;)za=or[--cr],or[cr]=null,oi=or[--cr],or[cr]=null;for(;e===Kn;)Kn=Wt[--$t],Wt[$t]=null,mn=Wt[--$t],Wt[$t]=null,pn=Wt[--$t],Wt[$t]=null}function Gd(e,t){Wt[$t++]=pn,Wt[$t++]=mn,Wt[$t++]=Kn,pn=t.id,mn=t.overflow,Kn=e}var pt=null,Qe=null,De=!1,Pn=null,en=!1,Ho=Error(u(519));function Jn(e){var t=Error(u(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw ci(Jt(t,e)),Ho}function Xd(e){var t=e.stateNode,l=e.type,a=e.memoizedProps;switch(t[ht]=e,t[Tt]=a,l){case"dialog":Ae("cancel",t),Ae("close",t);break;case"iframe":case"object":case"embed":Ae("load",t);break;case"video":case"audio":for(l=0;l<Di.length;l++)Ae(Di[l],t);break;case"source":Ae("error",t);break;case"img":case"image":case"link":Ae("error",t),Ae("load",t);break;case"details":Ae("toggle",t);break;case"input":Ae("invalid",t),ld(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":Ae("invalid",t);break;case"textarea":Ae("invalid",t),id(t,a.value,a.defaultValue,a.children)}l=a.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||t.textContent===""+l||a.suppressHydrationWarning===!0||um(t.textContent,l)?(a.popover!=null&&(Ae("beforetoggle",t),Ae("toggle",t)),a.onScroll!=null&&Ae("scroll",t),a.onScrollEnd!=null&&Ae("scrollend",t),a.onClick!=null&&(t.onclick=An),t=!0):t=!1,t||Jn(e,!0)}function Fd(e){for(pt=e.return;pt;)switch(pt.tag){case 5:case 31:case 13:en=!1;return;case 27:case 3:en=!0;return;default:pt=pt.return}}function sr(e){if(e!==pt)return!1;if(!De)return Fd(e),De=!0,!1;var t=e.tag,l;if((l=t!==3&&t!==27)&&((l=t===5)&&(l=e.type,l=!(l!=="form"&&l!=="button")||ls(e.type,e.memoizedProps)),l=!l),l&&Qe&&Jn(e),Fd(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(u(317));Qe=gm(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(u(317));Qe=gm(e)}else t===27?(t=Qe,fl(e.type)?(e=os,os=null,Qe=e):Qe=t):Qe=pt?nn(e.stateNode.nextSibling):null;return!0}function Ml(){Qe=pt=null,De=!1}function qo(){var e=Pn;return e!==null&&(Rt===null?Rt=e:Rt.push.apply(Rt,e),Pn=null),e}function ci(e){Pn===null?Pn=[e]:Pn.push(e)}var Vo=_(null),_l=null,_n=null;function Wn(e,t,l){E(Vo,t._currentValue),t._currentValue=l}function Dn(e){e._currentValue=Vo.current,X(Vo)}function Yo(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 Go(e,t,l,a){var s=e.child;for(s!==null&&(s.return=e);s!==null;){var d=s.dependencies;if(d!==null){var v=s.child;d=d.firstContext;e:for(;d!==null;){var x=d;d=s;for(var z=0;z<t.length;z++)if(x.context===t[z]){d.lanes|=l,x=d.alternate,x!==null&&(x.lanes|=l),Yo(d.return,l,e),a||(v=null);break e}d=x.next}}else if(s.tag===18){if(v=s.return,v===null)throw Error(u(341));v.lanes|=l,d=v.alternate,d!==null&&(d.lanes|=l),Yo(v,l,e),v=null}else v=s.child;if(v!==null)v.return=s;else for(v=s;v!==null;){if(v===e){v=null;break}if(s=v.sibling,s!==null){s.return=v.return,v=s;break}v=v.return}s=v}}function fr(e,t,l,a){e=null;for(var s=t,d=!1;s!==null;){if(!d){if((s.flags&524288)!==0)d=!0;else if((s.flags&262144)!==0)break}if(s.tag===10){var v=s.alternate;if(v===null)throw Error(u(387));if(v=v.memoizedProps,v!==null){var x=s.type;Bt(s.pendingProps.value,v.value)||(e!==null?e.push(x):e=[x])}}else if(s===ze.current){if(v=s.alternate,v===null)throw Error(u(387));v.memoizedState.memoizedState!==s.memoizedState.memoizedState&&(e!==null?e.push(Ui):e=[Ui])}s=s.return}e!==null&&Go(t,e,l,a),t.flags|=262144}function Ma(e){for(e=e.firstContext;e!==null;){if(!Bt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Dl(e){_l=e,_n=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function mt(e){return Id(_l,e)}function _a(e,t){return _l===null&&Dl(e),Id(e,t)}function Id(e,t){var l=t._currentValue;if(t={context:t,memoizedValue:l,next:null},_n===null){if(e===null)throw Error(u(308));_n=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else _n=_n.next=t;return l}var Sv=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()})}},xv=n.unstable_scheduleCallback,Ev=n.unstable_NormalPriority,lt={$$typeof:O,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Xo(){return{controller:new Sv,data:new Map,refCount:0}}function si(e){e.refCount--,e.refCount===0&&xv(Ev,function(){e.controller.abort()})}var fi=null,Fo=0,dr=0,hr=null;function kv(e,t){if(fi===null){var l=fi=[];Fo=0,dr=Zc(),hr={status:"pending",value:void 0,then:function(a){l.push(a)}}}return Fo++,t.then(Qd,Qd),t}function Qd(){if(--Fo===0&&fi!==null){hr!==null&&(hr.status="fulfilled");var e=fi;fi=null,dr=0,hr=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Cv(e,t){var l=[],a={status:"pending",value:null,reason:null,then:function(s){l.push(s)}};return e.then(function(){a.status="fulfilled",a.value=t;for(var s=0;s<l.length;s++)(0,l[s])(t)},function(s){for(a.status="rejected",a.reason=s,s=0;s<l.length;s++)(0,l[s])(void 0)}),a}var Zd=L.S;L.S=function(e,t){Dp=Et(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&kv(e,t),Zd!==null&&Zd(e,t)};var Rl=_(null);function Io(){var e=Rl.current;return e!==null?e:Xe.pooledCache}function Da(e,t){t===null?E(Rl,Rl.current):E(Rl,t.pool)}function Kd(){var e=Io();return e===null?null:{parent:lt._currentValue,pool:e}}var pr=Error(u(460)),Qo=Error(u(474)),Ra=Error(u(542)),Oa={then:function(){}};function Pd(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Jd(e,t,l){switch(l=e[l],l===void 0?e.push(t):l!==t&&(t.then(An,An),t=l),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,$d(e),e;default:if(typeof t.status=="string")t.then(An,An);else{if(e=Xe,e!==null&&100<e.shellSuspendCounter)throw Error(u(482));e=t,e.status="pending",e.then(function(a){if(t.status==="pending"){var s=t;s.status="fulfilled",s.value=a}},function(a){if(t.status==="pending"){var s=t;s.status="rejected",s.reason=a}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,$d(e),e}throw Nl=t,pr}}function Ol(e){try{var t=e._init;return t(e._payload)}catch(l){throw l!==null&&typeof l=="object"&&typeof l.then=="function"?(Nl=l,pr):l}}var Nl=null;function Wd(){if(Nl===null)throw Error(u(459));var e=Nl;return Nl=null,e}function $d(e){if(e===pr||e===Ra)throw Error(u(483))}var mr=null,di=0;function Na(e){var t=di;return di+=1,mr===null&&(mr=[]),Jd(mr,e,t)}function hi(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function La(e,t){throw t.$$typeof===b?Error(u(525)):(e=Object.prototype.toString.call(t),Error(u(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function eh(e){function t(R,D){if(e){var B=R.deletions;B===null?(R.deletions=[D],R.flags|=16):B.push(D)}}function l(R,D){if(!e)return null;for(;D!==null;)t(R,D),D=D.sibling;return null}function a(R){for(var D=new Map;R!==null;)R.key!==null?D.set(R.key,R):D.set(R.index,R),R=R.sibling;return D}function s(R,D){return R=zn(R,D),R.index=0,R.sibling=null,R}function d(R,D,B){return R.index=B,e?(B=R.alternate,B!==null?(B=B.index,B<D?(R.flags|=67108866,D):B):(R.flags|=67108866,D)):(R.flags|=1048576,D)}function v(R){return e&&R.alternate===null&&(R.flags|=67108866),R}function x(R,D,B,I){return D===null||D.tag!==6?(D=Lo(B,R.mode,I),D.return=R,D):(D=s(D,B),D.return=R,D)}function z(R,D,B,I){var de=B.type;return de===w?Y(R,D,B.props.children,I,B.key):D!==null&&(D.elementType===de||typeof de=="object"&&de!==null&&de.$$typeof===re&&Ol(de)===D.type)?(D=s(D,B.props),hi(D,B),D.return=R,D):(D=Ta(B.type,B.key,B.props,null,R.mode,I),hi(D,B),D.return=R,D)}function j(R,D,B,I){return D===null||D.tag!==4||D.stateNode.containerInfo!==B.containerInfo||D.stateNode.implementation!==B.implementation?(D=Uo(B,R.mode,I),D.return=R,D):(D=s(D,B.children||[]),D.return=R,D)}function Y(R,D,B,I,de){return D===null||D.tag!==7?(D=zl(B,R.mode,I,de),D.return=R,D):(D=s(D,B),D.return=R,D)}function Z(R,D,B){if(typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint")return D=Lo(""+D,R.mode,B),D.return=R,D;if(typeof D=="object"&&D!==null){switch(D.$$typeof){case S:return B=Ta(D.type,D.key,D.props,null,R.mode,B),hi(B,D),B.return=R,B;case k:return D=Uo(D,R.mode,B),D.return=R,D;case re:return D=Ol(D),Z(R,D,B)}if(ee(D)||K(D))return D=zl(D,R.mode,B,null),D.return=R,D;if(typeof D.then=="function")return Z(R,Na(D),B);if(D.$$typeof===O)return Z(R,_a(R,D),B);La(R,D)}return null}function H(R,D,B,I){var de=D!==null?D.key:null;if(typeof B=="string"&&B!==""||typeof B=="number"||typeof B=="bigint")return de!==null?null:x(R,D,""+B,I);if(typeof B=="object"&&B!==null){switch(B.$$typeof){case S:return B.key===de?z(R,D,B,I):null;case k:return B.key===de?j(R,D,B,I):null;case re:return B=Ol(B),H(R,D,B,I)}if(ee(B)||K(B))return de!==null?null:Y(R,D,B,I,null);if(typeof B.then=="function")return H(R,D,Na(B),I);if(B.$$typeof===O)return H(R,D,_a(R,B),I);La(R,B)}return null}function V(R,D,B,I,de){if(typeof I=="string"&&I!==""||typeof I=="number"||typeof I=="bigint")return R=R.get(B)||null,x(D,R,""+I,de);if(typeof I=="object"&&I!==null){switch(I.$$typeof){case S:return R=R.get(I.key===null?B:I.key)||null,z(D,R,I,de);case k:return R=R.get(I.key===null?B:I.key)||null,j(D,R,I,de);case re:return I=Ol(I),V(R,D,B,I,de)}if(ee(I)||K(I))return R=R.get(B)||null,Y(D,R,I,de,null);if(typeof I.then=="function")return V(R,D,B,Na(I),de);if(I.$$typeof===O)return V(R,D,B,_a(D,I),de);La(D,I)}return null}function oe(R,D,B,I){for(var de=null,Oe=null,se=D,xe=D=0,_e=null;se!==null&&xe<B.length;xe++){se.index>xe?(_e=se,se=null):_e=se.sibling;var Ne=H(R,se,B[xe],I);if(Ne===null){se===null&&(se=_e);break}e&&se&&Ne.alternate===null&&t(R,se),D=d(Ne,D,xe),Oe===null?de=Ne:Oe.sibling=Ne,Oe=Ne,se=_e}if(xe===B.length)return l(R,se),De&&Mn(R,xe),de;if(se===null){for(;xe<B.length;xe++)se=Z(R,B[xe],I),se!==null&&(D=d(se,D,xe),Oe===null?de=se:Oe.sibling=se,Oe=se);return De&&Mn(R,xe),de}for(se=a(se);xe<B.length;xe++)_e=V(se,R,xe,B[xe],I),_e!==null&&(e&&_e.alternate!==null&&se.delete(_e.key===null?xe:_e.key),D=d(_e,D,xe),Oe===null?de=_e:Oe.sibling=_e,Oe=_e);return e&&se.forEach(function(gl){return t(R,gl)}),De&&Mn(R,xe),de}function pe(R,D,B,I){if(B==null)throw Error(u(151));for(var de=null,Oe=null,se=D,xe=D=0,_e=null,Ne=B.next();se!==null&&!Ne.done;xe++,Ne=B.next()){se.index>xe?(_e=se,se=null):_e=se.sibling;var gl=H(R,se,Ne.value,I);if(gl===null){se===null&&(se=_e);break}e&&se&&gl.alternate===null&&t(R,se),D=d(gl,D,xe),Oe===null?de=gl:Oe.sibling=gl,Oe=gl,se=_e}if(Ne.done)return l(R,se),De&&Mn(R,xe),de;if(se===null){for(;!Ne.done;xe++,Ne=B.next())Ne=Z(R,Ne.value,I),Ne!==null&&(D=d(Ne,D,xe),Oe===null?de=Ne:Oe.sibling=Ne,Oe=Ne);return De&&Mn(R,xe),de}for(se=a(se);!Ne.done;xe++,Ne=B.next())Ne=V(se,R,xe,Ne.value,I),Ne!==null&&(e&&Ne.alternate!==null&&se.delete(Ne.key===null?xe:Ne.key),D=d(Ne,D,xe),Oe===null?de=Ne:Oe.sibling=Ne,Oe=Ne);return e&&se.forEach(function(Lb){return t(R,Lb)}),De&&Mn(R,xe),de}function Ye(R,D,B,I){if(typeof B=="object"&&B!==null&&B.type===w&&B.key===null&&(B=B.props.children),typeof B=="object"&&B!==null){switch(B.$$typeof){case S:e:{for(var de=B.key;D!==null;){if(D.key===de){if(de=B.type,de===w){if(D.tag===7){l(R,D.sibling),I=s(D,B.props.children),I.return=R,R=I;break e}}else if(D.elementType===de||typeof de=="object"&&de!==null&&de.$$typeof===re&&Ol(de)===D.type){l(R,D.sibling),I=s(D,B.props),hi(I,B),I.return=R,R=I;break e}l(R,D);break}else t(R,D);D=D.sibling}B.type===w?(I=zl(B.props.children,R.mode,I,B.key),I.return=R,R=I):(I=Ta(B.type,B.key,B.props,null,R.mode,I),hi(I,B),I.return=R,R=I)}return v(R);case k:e:{for(de=B.key;D!==null;){if(D.key===de)if(D.tag===4&&D.stateNode.containerInfo===B.containerInfo&&D.stateNode.implementation===B.implementation){l(R,D.sibling),I=s(D,B.children||[]),I.return=R,R=I;break e}else{l(R,D);break}else t(R,D);D=D.sibling}I=Uo(B,R.mode,I),I.return=R,R=I}return v(R);case re:return B=Ol(B),Ye(R,D,B,I)}if(ee(B))return oe(R,D,B,I);if(K(B)){if(de=K(B),typeof de!="function")throw Error(u(150));return B=de.call(B),pe(R,D,B,I)}if(typeof B.then=="function")return Ye(R,D,Na(B),I);if(B.$$typeof===O)return Ye(R,D,_a(R,B),I);La(R,B)}return typeof B=="string"&&B!==""||typeof B=="number"||typeof B=="bigint"?(B=""+B,D!==null&&D.tag===6?(l(R,D.sibling),I=s(D,B),I.return=R,R=I):(l(R,D),I=Lo(B,R.mode,I),I.return=R,R=I),v(R)):l(R,D)}return function(R,D,B,I){try{di=0;var de=Ye(R,D,B,I);return mr=null,de}catch(se){if(se===pr||se===Ra)throw se;var Oe=jt(29,se,null,R.mode);return Oe.lanes=I,Oe.return=R,Oe}}}var Ll=eh(!0),th=eh(!1),$n=!1;function Zo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ko(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 el(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function tl(e,t,l){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(Le&2)!==0){var s=a.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),a.pending=t,t=Aa(e),jd(e,null,l),t}return wa(e,a,t,l),Aa(e)}function pi(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,If(e,l)}}function Po(e,t){var l=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,l===a)){var s=null,d=null;if(l=l.firstBaseUpdate,l!==null){do{var v={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};d===null?s=d=v:d=d.next=v,l=l.next}while(l!==null);d===null?s=d=t:d=d.next=t}else s=d=t;l={baseState:a.baseState,firstBaseUpdate:s,lastBaseUpdate:d,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 Jo=!1;function mi(){if(Jo){var e=hr;if(e!==null)throw e}}function gi(e,t,l,a){Jo=!1;var s=e.updateQueue;$n=!1;var d=s.firstBaseUpdate,v=s.lastBaseUpdate,x=s.shared.pending;if(x!==null){s.shared.pending=null;var z=x,j=z.next;z.next=null,v===null?d=j:v.next=j,v=z;var Y=e.alternate;Y!==null&&(Y=Y.updateQueue,x=Y.lastBaseUpdate,x!==v&&(x===null?Y.firstBaseUpdate=j:x.next=j,Y.lastBaseUpdate=z))}if(d!==null){var Z=s.baseState;v=0,Y=j=z=null,x=d;do{var H=x.lane&-536870913,V=H!==x.lane;if(V?(Me&H)===H:(a&H)===H){H!==0&&H===dr&&(Jo=!0),Y!==null&&(Y=Y.next={lane:0,tag:x.tag,payload:x.payload,callback:null,next:null});e:{var oe=e,pe=x;H=t;var Ye=l;switch(pe.tag){case 1:if(oe=pe.payload,typeof oe=="function"){Z=oe.call(Ye,Z,H);break e}Z=oe;break e;case 3:oe.flags=oe.flags&-65537|128;case 0:if(oe=pe.payload,H=typeof oe=="function"?oe.call(Ye,Z,H):oe,H==null)break e;Z=g({},Z,H);break e;case 2:$n=!0}}H=x.callback,H!==null&&(e.flags|=64,V&&(e.flags|=8192),V=s.callbacks,V===null?s.callbacks=[H]:V.push(H))}else V={lane:H,tag:x.tag,payload:x.payload,callback:x.callback,next:null},Y===null?(j=Y=V,z=Z):Y=Y.next=V,v|=H;if(x=x.next,x===null){if(x=s.shared.pending,x===null)break;V=x,x=V.next,V.next=null,s.lastBaseUpdate=V,s.shared.pending=null}}while(!0);Y===null&&(z=Z),s.baseState=z,s.firstBaseUpdate=j,s.lastBaseUpdate=Y,d===null&&(s.shared.lanes=0),al|=v,e.lanes=v,e.memoizedState=Z}}function nh(e,t){if(typeof e!="function")throw Error(u(191,e));e.call(t)}function lh(e,t){var l=e.callbacks;if(l!==null)for(e.callbacks=null,e=0;e<l.length;e++)nh(l[e],t)}var gr=_(null),Ua=_(0);function rh(e,t){e=qn,E(Ua,e),E(gr,t),qn=e|t.baseLanes}function Wo(){E(Ua,qn),E(gr,gr.current)}function $o(){qn=Ua.current,X(gr),X(Ua)}var Ht=_(null),tn=null;function nl(e){var t=e.alternate;E(tt,tt.current&1),E(Ht,e),tn===null&&(t===null||gr.current!==null||t.memoizedState!==null)&&(tn=e)}function ec(e){E(tt,tt.current),E(Ht,e),tn===null&&(tn=e)}function ih(e){e.tag===22?(E(tt,tt.current),E(Ht,e),tn===null&&(tn=e)):ll()}function ll(){E(tt,tt.current),E(Ht,Ht.current)}function qt(e){X(Ht),tn===e&&(tn=null),X(tt)}var tt=_(0);function Ba(e){for(var t=e;t!==null;){if(t.tag===13){var l=t.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||as(l)||us(l)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){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}var Rn=0,Se=null,qe=null,rt=null,ja=!1,yr=!1,Ul=!1,Ha=0,yi=0,vr=null,wv=0;function $e(){throw Error(u(321))}function tc(e,t){if(t===null)return!1;for(var l=0;l<t.length&&l<e.length;l++)if(!Bt(e[l],t[l]))return!1;return!0}function nc(e,t,l,a,s,d){return Rn=d,Se=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,L.H=e===null||e.memoizedState===null?Yh:yc,Ul=!1,d=l(a,s),Ul=!1,yr&&(d=uh(t,l,a,s)),ah(e),d}function ah(e){L.H=Si;var t=qe!==null&&qe.next!==null;if(Rn=0,rt=qe=Se=null,ja=!1,yi=0,vr=null,t)throw Error(u(300));e===null||it||(e=e.dependencies,e!==null&&Ma(e)&&(it=!0))}function uh(e,t,l,a){Se=e;var s=0;do{if(yr&&(vr=null),yi=0,yr=!1,25<=s)throw Error(u(301));if(s+=1,rt=qe=null,e.updateQueue!=null){var d=e.updateQueue;d.lastEffect=null,d.events=null,d.stores=null,d.memoCache!=null&&(d.memoCache.index=0)}L.H=Gh,d=t(l,a)}while(yr);return d}function Av(){var e=L.H,t=e.useState()[0];return t=typeof t.then=="function"?vi(t):t,e=e.useState()[0],(qe!==null?qe.memoizedState:null)!==e&&(Se.flags|=1024),t}function lc(){var e=Ha!==0;return Ha=0,e}function rc(e,t,l){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l}function ic(e){if(ja){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}ja=!1}Rn=0,rt=qe=Se=null,yr=!1,yi=Ha=0,vr=null}function Ct(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return rt===null?Se.memoizedState=rt=e:rt=rt.next=e,rt}function nt(){if(qe===null){var e=Se.alternate;e=e!==null?e.memoizedState:null}else e=qe.next;var t=rt===null?Se.memoizedState:rt.next;if(t!==null)rt=t,qe=e;else{if(e===null)throw Se.alternate===null?Error(u(467)):Error(u(310));qe=e,e={memoizedState:qe.memoizedState,baseState:qe.baseState,baseQueue:qe.baseQueue,queue:qe.queue,next:null},rt===null?Se.memoizedState=rt=e:rt=rt.next=e}return rt}function qa(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function vi(e){var t=yi;return yi+=1,vr===null&&(vr=[]),e=Jd(vr,e,t),t=Se,(rt===null?t.memoizedState:rt.next)===null&&(t=t.alternate,L.H=t===null||t.memoizedState===null?Yh:yc),e}function Va(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return vi(e);if(e.$$typeof===O)return mt(e)}throw Error(u(438,String(e)))}function ac(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(s){return s.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),l===null&&(l=qa(),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]=N;return t.index++,l}function On(e,t){return typeof t=="function"?t(e):t}function Ya(e){var t=nt();return uc(t,qe,e)}function uc(e,t,l){var a=e.queue;if(a===null)throw Error(u(311));a.lastRenderedReducer=l;var s=e.baseQueue,d=a.pending;if(d!==null){if(s!==null){var v=s.next;s.next=d.next,d.next=v}t.baseQueue=s=d,a.pending=null}if(d=e.baseState,s===null)e.memoizedState=d;else{t=s.next;var x=v=null,z=null,j=t,Y=!1;do{var Z=j.lane&-536870913;if(Z!==j.lane?(Me&Z)===Z:(Rn&Z)===Z){var H=j.revertLane;if(H===0)z!==null&&(z=z.next={lane:0,revertLane:0,gesture:null,action:j.action,hasEagerState:j.hasEagerState,eagerState:j.eagerState,next:null}),Z===dr&&(Y=!0);else if((Rn&H)===H){j=j.next,H===dr&&(Y=!0);continue}else Z={lane:0,revertLane:j.revertLane,gesture:null,action:j.action,hasEagerState:j.hasEagerState,eagerState:j.eagerState,next:null},z===null?(x=z=Z,v=d):z=z.next=Z,Se.lanes|=H,al|=H;Z=j.action,Ul&&l(d,Z),d=j.hasEagerState?j.eagerState:l(d,Z)}else H={lane:Z,revertLane:j.revertLane,gesture:j.gesture,action:j.action,hasEagerState:j.hasEagerState,eagerState:j.eagerState,next:null},z===null?(x=z=H,v=d):z=z.next=H,Se.lanes|=Z,al|=Z;j=j.next}while(j!==null&&j!==t);if(z===null?v=d:z.next=x,!Bt(d,e.memoizedState)&&(it=!0,Y&&(l=hr,l!==null)))throw l;e.memoizedState=d,e.baseState=v,e.baseQueue=z,a.lastRenderedState=d}return s===null&&(a.lanes=0),[e.memoizedState,a.dispatch]}function oc(e){var t=nt(),l=t.queue;if(l===null)throw Error(u(311));l.lastRenderedReducer=e;var a=l.dispatch,s=l.pending,d=t.memoizedState;if(s!==null){l.pending=null;var v=s=s.next;do d=e(d,v.action),v=v.next;while(v!==s);Bt(d,t.memoizedState)||(it=!0),t.memoizedState=d,t.baseQueue===null&&(t.baseState=d),l.lastRenderedState=d}return[d,a]}function oh(e,t,l){var a=Se,s=nt(),d=De;if(d){if(l===void 0)throw Error(u(407));l=l()}else l=t();var v=!Bt((qe||s).memoizedState,l);if(v&&(s.memoizedState=l,it=!0),s=s.queue,fc(fh.bind(null,a,s,e),[e]),s.getSnapshot!==t||v||rt!==null&&rt.memoizedState.tag&1){if(a.flags|=2048,br(9,{destroy:void 0},sh.bind(null,a,s,l,t),null),Xe===null)throw Error(u(349));d||(Rn&127)!==0||ch(a,t,l)}return l}function ch(e,t,l){e.flags|=16384,e={getSnapshot:t,value:l},t=Se.updateQueue,t===null?(t=qa(),Se.updateQueue=t,t.stores=[e]):(l=t.stores,l===null?t.stores=[e]:l.push(e))}function sh(e,t,l,a){t.value=l,t.getSnapshot=a,dh(t)&&hh(e)}function fh(e,t,l){return l(function(){dh(t)&&hh(e)})}function dh(e){var t=e.getSnapshot;e=e.value;try{var l=t();return!Bt(e,l)}catch{return!0}}function hh(e){var t=Tl(e,2);t!==null&&Ot(t,e,2)}function cc(e){var t=Ct();if(typeof e=="function"){var l=e;if(e=l(),Ul){At(!0);try{l()}finally{At(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:On,lastRenderedState:e},t}function ph(e,t,l,a){return e.baseState=l,uc(e,qe,typeof a=="function"?a:On)}function Tv(e,t,l,a,s){if(Fa(e))throw Error(u(485));if(e=t.action,e!==null){var d={payload:s,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(v){d.listeners.push(v)}};L.T!==null?l(!0):d.isTransition=!1,a(d),l=t.pending,l===null?(d.next=t.pending=d,mh(t,d)):(d.next=l.next,t.pending=l.next=d)}}function mh(e,t){var l=t.action,a=t.payload,s=e.state;if(t.isTransition){var d=L.T,v={};L.T=v;try{var x=l(s,a),z=L.S;z!==null&&z(v,x),gh(e,t,x)}catch(j){sc(e,t,j)}finally{d!==null&&v.types!==null&&(d.types=v.types),L.T=d}}else try{d=l(s,a),gh(e,t,d)}catch(j){sc(e,t,j)}}function gh(e,t,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(a){yh(e,t,a)},function(a){return sc(e,t,a)}):yh(e,t,l)}function yh(e,t,l){t.status="fulfilled",t.value=l,vh(t),e.state=l,t=e.pending,t!==null&&(l=t.next,l===t?e.pending=null:(l=l.next,t.next=l,mh(e,l)))}function sc(e,t,l){var a=e.pending;if(e.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=l,vh(t),t=t.next;while(t!==a)}e.action=null}function vh(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function bh(e,t){return t}function Sh(e,t){if(De){var l=Xe.formState;if(l!==null){e:{var a=Se;if(De){if(Qe){t:{for(var s=Qe,d=en;s.nodeType!==8;){if(!d){s=null;break t}if(s=nn(s.nextSibling),s===null){s=null;break t}}d=s.data,s=d==="F!"||d==="F"?s:null}if(s){Qe=nn(s.nextSibling),a=s.data==="F!";break e}}Jn(a)}a=!1}a&&(t=l[0])}}return l=Ct(),l.memoizedState=l.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:bh,lastRenderedState:t},l.queue=a,l=Hh.bind(null,Se,a),a.dispatch=l,a=cc(!1),d=gc.bind(null,Se,!1,a.queue),a=Ct(),s={state:t,dispatch:null,action:e,pending:null},a.queue=s,l=Tv.bind(null,Se,s,d,l),s.dispatch=l,a.memoizedState=e,[t,l,!1]}function xh(e){var t=nt();return Eh(t,qe,e)}function Eh(e,t,l){if(t=uc(e,t,bh)[0],e=Ya(On)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=vi(t)}catch(v){throw v===pr?Ra:v}else a=t;t=nt();var s=t.queue,d=s.dispatch;return l!==t.memoizedState&&(Se.flags|=2048,br(9,{destroy:void 0},zv.bind(null,s,l),null)),[a,d,e]}function zv(e,t){e.action=t}function kh(e){var t=nt(),l=qe;if(l!==null)return Eh(t,l,e);nt(),t=t.memoizedState,l=nt();var a=l.queue.dispatch;return l.memoizedState=e,[t,a,!1]}function br(e,t,l,a){return e={tag:e,create:l,deps:a,inst:t,next:null},t=Se.updateQueue,t===null&&(t=qa(),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 Ch(){return nt().memoizedState}function Ga(e,t,l,a){var s=Ct();Se.flags|=e,s.memoizedState=br(1|t,{destroy:void 0},l,a===void 0?null:a)}function Xa(e,t,l,a){var s=nt();a=a===void 0?null:a;var d=s.memoizedState.inst;qe!==null&&a!==null&&tc(a,qe.memoizedState.deps)?s.memoizedState=br(t,d,l,a):(Se.flags|=e,s.memoizedState=br(1|t,d,l,a))}function wh(e,t){Ga(8390656,8,e,t)}function fc(e,t){Xa(2048,8,e,t)}function Mv(e){Se.flags|=4;var t=Se.updateQueue;if(t===null)t=qa(),Se.updateQueue=t,t.events=[e];else{var l=t.events;l===null?t.events=[e]:l.push(e)}}function Ah(e){var t=nt().memoizedState;return Mv({ref:t,nextImpl:e}),function(){if((Le&2)!==0)throw Error(u(440));return t.impl.apply(void 0,arguments)}}function Th(e,t){return Xa(4,2,e,t)}function zh(e,t){return Xa(4,4,e,t)}function Mh(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 _h(e,t,l){l=l!=null?l.concat([e]):null,Xa(4,4,Mh.bind(null,t,e),l)}function dc(){}function Dh(e,t){var l=nt();t=t===void 0?null:t;var a=l.memoizedState;return t!==null&&tc(t,a[1])?a[0]:(l.memoizedState=[e,t],e)}function Rh(e,t){var l=nt();t=t===void 0?null:t;var a=l.memoizedState;if(t!==null&&tc(t,a[1]))return a[0];if(a=e(),Ul){At(!0);try{e()}finally{At(!1)}}return l.memoizedState=[a,t],a}function hc(e,t,l){return l===void 0||(Rn&1073741824)!==0&&(Me&261930)===0?e.memoizedState=t:(e.memoizedState=l,e=Op(),Se.lanes|=e,al|=e,l)}function Oh(e,t,l,a){return Bt(l,t)?l:gr.current!==null?(e=hc(e,l,a),Bt(e,t)||(it=!0),e):(Rn&42)===0||(Rn&1073741824)!==0&&(Me&261930)===0?(it=!0,e.memoizedState=l):(e=Op(),Se.lanes|=e,al|=e,t)}function Nh(e,t,l,a,s){var d=J.p;J.p=d!==0&&8>d?d:8;var v=L.T,x={};L.T=x,gc(e,!1,t,l);try{var z=s(),j=L.S;if(j!==null&&j(x,z),z!==null&&typeof z=="object"&&typeof z.then=="function"){var Y=Cv(z,a);bi(e,t,Y,Gt(e))}else bi(e,t,a,Gt(e))}catch(Z){bi(e,t,{then:function(){},status:"rejected",reason:Z},Gt())}finally{J.p=d,v!==null&&x.types!==null&&(v.types=x.types),L.T=v}}function _v(){}function pc(e,t,l,a){if(e.tag!==5)throw Error(u(476));var s=Lh(e).queue;Nh(e,s,t,ce,l===null?_v:function(){return Uh(e),l(a)})}function Lh(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ce,baseState:ce,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:On,lastRenderedState:ce},next:null};var l={};return t.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:On,lastRenderedState:l},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Uh(e){var t=Lh(e);t.next===null&&(t=e.alternate.memoizedState),bi(e,t.next.queue,{},Gt())}function mc(){return mt(Ui)}function Bh(){return nt().memoizedState}function jh(){return nt().memoizedState}function Dv(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var l=Gt();e=el(l);var a=tl(t,e,l);a!==null&&(Ot(a,t,l),pi(a,t,l)),t={cache:Xo()},e.payload=t;return}t=t.return}}function Rv(e,t,l){var a=Gt();l={lane:a,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Fa(e)?qh(t,l):(l=Oo(e,t,l,a),l!==null&&(Ot(l,e,a),Vh(l,t,a)))}function Hh(e,t,l){var a=Gt();bi(e,t,l,a)}function bi(e,t,l,a){var s={lane:a,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(Fa(e))qh(t,s);else{var d=e.alternate;if(e.lanes===0&&(d===null||d.lanes===0)&&(d=t.lastRenderedReducer,d!==null))try{var v=t.lastRenderedState,x=d(v,l);if(s.hasEagerState=!0,s.eagerState=x,Bt(x,v))return wa(e,t,s,0),Xe===null&&Ca(),!1}catch{}if(l=Oo(e,t,s,a),l!==null)return Ot(l,e,a),Vh(l,t,a),!0}return!1}function gc(e,t,l,a){if(a={lane:2,revertLane:Zc(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Fa(e)){if(t)throw Error(u(479))}else t=Oo(e,l,a,2),t!==null&&Ot(t,e,2)}function Fa(e){var t=e.alternate;return e===Se||t!==null&&t===Se}function qh(e,t){yr=ja=!0;var l=e.pending;l===null?t.next=t:(t.next=l.next,l.next=t),e.pending=t}function Vh(e,t,l){if((l&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,l|=a,t.lanes=l,If(e,l)}}var Si={readContext:mt,use:Va,useCallback:$e,useContext:$e,useEffect:$e,useImperativeHandle:$e,useLayoutEffect:$e,useInsertionEffect:$e,useMemo:$e,useReducer:$e,useRef:$e,useState:$e,useDebugValue:$e,useDeferredValue:$e,useTransition:$e,useSyncExternalStore:$e,useId:$e,useHostTransitionStatus:$e,useFormState:$e,useActionState:$e,useOptimistic:$e,useMemoCache:$e,useCacheRefresh:$e};Si.useEffectEvent=$e;var Yh={readContext:mt,use:Va,useCallback:function(e,t){return Ct().memoizedState=[e,t===void 0?null:t],e},useContext:mt,useEffect:wh,useImperativeHandle:function(e,t,l){l=l!=null?l.concat([e]):null,Ga(4194308,4,Mh.bind(null,t,e),l)},useLayoutEffect:function(e,t){return Ga(4194308,4,e,t)},useInsertionEffect:function(e,t){Ga(4,2,e,t)},useMemo:function(e,t){var l=Ct();t=t===void 0?null:t;var a=e();if(Ul){At(!0);try{e()}finally{At(!1)}}return l.memoizedState=[a,t],a},useReducer:function(e,t,l){var a=Ct();if(l!==void 0){var s=l(t);if(Ul){At(!0);try{l(t)}finally{At(!1)}}}else s=t;return a.memoizedState=a.baseState=s,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:s},a.queue=e,e=e.dispatch=Rv.bind(null,Se,e),[a.memoizedState,e]},useRef:function(e){var t=Ct();return e={current:e},t.memoizedState=e},useState:function(e){e=cc(e);var t=e.queue,l=Hh.bind(null,Se,t);return t.dispatch=l,[e.memoizedState,l]},useDebugValue:dc,useDeferredValue:function(e,t){var l=Ct();return hc(l,e,t)},useTransition:function(){var e=cc(!1);return e=Nh.bind(null,Se,e.queue,!0,!1),Ct().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,l){var a=Se,s=Ct();if(De){if(l===void 0)throw Error(u(407));l=l()}else{if(l=t(),Xe===null)throw Error(u(349));(Me&127)!==0||ch(a,t,l)}s.memoizedState=l;var d={value:l,getSnapshot:t};return s.queue=d,wh(fh.bind(null,a,d,e),[e]),a.flags|=2048,br(9,{destroy:void 0},sh.bind(null,a,d,l,t),null),l},useId:function(){var e=Ct(),t=Xe.identifierPrefix;if(De){var l=mn,a=pn;l=(a&~(1<<32-Ge(a)-1)).toString(32)+l,t="_"+t+"R_"+l,l=Ha++,0<l&&(t+="H"+l.toString(32)),t+="_"}else l=wv++,t="_"+t+"r_"+l.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:mc,useFormState:Sh,useActionState:Sh,useOptimistic:function(e){var t=Ct();t.memoizedState=t.baseState=e;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=l,t=gc.bind(null,Se,!0,l),l.dispatch=t,[e,t]},useMemoCache:ac,useCacheRefresh:function(){return Ct().memoizedState=Dv.bind(null,Se)},useEffectEvent:function(e){var t=Ct(),l={impl:e};return t.memoizedState=l,function(){if((Le&2)!==0)throw Error(u(440));return l.impl.apply(void 0,arguments)}}},yc={readContext:mt,use:Va,useCallback:Dh,useContext:mt,useEffect:fc,useImperativeHandle:_h,useInsertionEffect:Th,useLayoutEffect:zh,useMemo:Rh,useReducer:Ya,useRef:Ch,useState:function(){return Ya(On)},useDebugValue:dc,useDeferredValue:function(e,t){var l=nt();return Oh(l,qe.memoizedState,e,t)},useTransition:function(){var e=Ya(On)[0],t=nt().memoizedState;return[typeof e=="boolean"?e:vi(e),t]},useSyncExternalStore:oh,useId:Bh,useHostTransitionStatus:mc,useFormState:xh,useActionState:xh,useOptimistic:function(e,t){var l=nt();return ph(l,qe,e,t)},useMemoCache:ac,useCacheRefresh:jh};yc.useEffectEvent=Ah;var Gh={readContext:mt,use:Va,useCallback:Dh,useContext:mt,useEffect:fc,useImperativeHandle:_h,useInsertionEffect:Th,useLayoutEffect:zh,useMemo:Rh,useReducer:oc,useRef:Ch,useState:function(){return oc(On)},useDebugValue:dc,useDeferredValue:function(e,t){var l=nt();return qe===null?hc(l,e,t):Oh(l,qe.memoizedState,e,t)},useTransition:function(){var e=oc(On)[0],t=nt().memoizedState;return[typeof e=="boolean"?e:vi(e),t]},useSyncExternalStore:oh,useId:Bh,useHostTransitionStatus:mc,useFormState:kh,useActionState:kh,useOptimistic:function(e,t){var l=nt();return qe!==null?ph(l,qe,e,t):(l.baseState=e,[e,l.queue.dispatch])},useMemoCache:ac,useCacheRefresh:jh};Gh.useEffectEvent=Ah;function vc(e,t,l,a){t=e.memoizedState,l=l(a,t),l=l==null?t:g({},t,l),e.memoizedState=l,e.lanes===0&&(e.updateQueue.baseState=l)}var bc={enqueueSetState:function(e,t,l){e=e._reactInternals;var a=Gt(),s=el(a);s.payload=t,l!=null&&(s.callback=l),t=tl(e,s,a),t!==null&&(Ot(t,e,a),pi(t,e,a))},enqueueReplaceState:function(e,t,l){e=e._reactInternals;var a=Gt(),s=el(a);s.tag=1,s.payload=t,l!=null&&(s.callback=l),t=tl(e,s,a),t!==null&&(Ot(t,e,a),pi(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var l=Gt(),a=el(l);a.tag=2,t!=null&&(a.callback=t),t=tl(e,a,l),t!==null&&(Ot(t,e,l),pi(t,e,l))}};function Xh(e,t,l,a,s,d,v){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,d,v):t.prototype&&t.prototype.isPureReactComponent?!ai(l,a)||!ai(s,d):!0}function Fh(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&&bc.enqueueReplaceState(t,t.state,null)}function Bl(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=g({},l));for(var s in e)l[s]===void 0&&(l[s]=e[s])}return l}function Ih(e){ka(e)}function Qh(e){console.error(e)}function Zh(e){ka(e)}function Ia(e,t){try{var l=e.onUncaughtError;l(t.value,{componentStack:t.stack})}catch(a){setTimeout(function(){throw a})}}function Kh(e,t,l){try{var a=e.onCaughtError;a(l.value,{componentStack:l.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(s){setTimeout(function(){throw s})}}function Sc(e,t,l){return l=el(l),l.tag=3,l.payload={element:null},l.callback=function(){Ia(e,t)},l}function Ph(e){return e=el(e),e.tag=3,e}function Jh(e,t,l,a){var s=l.type.getDerivedStateFromError;if(typeof s=="function"){var d=a.value;e.payload=function(){return s(d)},e.callback=function(){Kh(t,l,a)}}var v=l.stateNode;v!==null&&typeof v.componentDidCatch=="function"&&(e.callback=function(){Kh(t,l,a),typeof s!="function"&&(ul===null?ul=new Set([this]):ul.add(this));var x=a.stack;this.componentDidCatch(a.value,{componentStack:x!==null?x:""})})}function Ov(e,t,l,a,s){if(l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=l.alternate,t!==null&&fr(t,l,s,!0),l=Ht.current,l!==null){switch(l.tag){case 31:case 13:return tn===null?ru():l.alternate===null&&et===0&&(et=3),l.flags&=-257,l.flags|=65536,l.lanes=s,a===Oa?l.flags|=16384:(t=l.updateQueue,t===null?l.updateQueue=new Set([a]):t.add(a),Fc(e,a,s)),!1;case 22:return l.flags|=65536,a===Oa?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)),Fc(e,a,s)),!1}throw Error(u(435,l.tag))}return Fc(e,a,s),ru(),!1}if(De)return t=Ht.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=s,a!==Ho&&(e=Error(u(422),{cause:a}),ci(Jt(e,l)))):(a!==Ho&&(t=Error(u(423),{cause:a}),ci(Jt(t,l))),e=e.current.alternate,e.flags|=65536,s&=-s,e.lanes|=s,a=Jt(a,l),s=Sc(e.stateNode,a,s),Po(e,s),et!==4&&(et=2)),!1;var d=Error(u(520),{cause:a});if(d=Jt(d,l),zi===null?zi=[d]:zi.push(d),et!==4&&(et=2),t===null)return!0;a=Jt(a,l),l=t;do{switch(l.tag){case 3:return l.flags|=65536,e=s&-s,l.lanes|=e,e=Sc(l.stateNode,a,e),Po(l,e),!1;case 1:if(t=l.type,d=l.stateNode,(l.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||d!==null&&typeof d.componentDidCatch=="function"&&(ul===null||!ul.has(d))))return l.flags|=65536,s&=-s,l.lanes|=s,s=Ph(s),Jh(s,e,l,a),Po(l,s),!1}l=l.return}while(l!==null);return!1}var xc=Error(u(461)),it=!1;function gt(e,t,l,a){t.child=e===null?th(t,null,l,a):Ll(t,e.child,l,a)}function Wh(e,t,l,a,s){l=l.render;var d=t.ref;if("ref"in a){var v={};for(var x in a)x!=="ref"&&(v[x]=a[x])}else v=a;return Dl(t),a=nc(e,t,l,v,d,s),x=lc(),e!==null&&!it?(rc(e,t,s),Nn(e,t,s)):(De&&x&&Bo(t),t.flags|=1,gt(e,t,a,s),t.child)}function $h(e,t,l,a,s){if(e===null){var d=l.type;return typeof d=="function"&&!No(d)&&d.defaultProps===void 0&&l.compare===null?(t.tag=15,t.type=d,ep(e,t,d,a,s)):(e=Ta(l.type,null,a,t,t.mode,s),e.ref=t.ref,e.return=t,t.child=e)}if(d=e.child,!Mc(e,s)){var v=d.memoizedProps;if(l=l.compare,l=l!==null?l:ai,l(v,a)&&e.ref===t.ref)return Nn(e,t,s)}return t.flags|=1,e=zn(d,a),e.ref=t.ref,e.return=t,t.child=e}function ep(e,t,l,a,s){if(e!==null){var d=e.memoizedProps;if(ai(d,a)&&e.ref===t.ref)if(it=!1,t.pendingProps=a=d,Mc(e,s))(e.flags&131072)!==0&&(it=!0);else return t.lanes=e.lanes,Nn(e,t,s)}return Ec(e,t,l,a,s)}function tp(e,t,l,a){var s=a.children,d=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((t.flags&128)!==0){if(d=d!==null?d.baseLanes|l:l,e!==null){for(a=t.child=e.child,s=0;a!==null;)s=s|a.lanes|a.childLanes,a=a.sibling;a=s&~d}else a=0,t.child=null;return np(e,t,d,l,a)}if((l&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Da(t,d!==null?d.cachePool:null),d!==null?rh(t,d):Wo(),ih(t);else return a=t.lanes=536870912,np(e,t,d!==null?d.baseLanes|l:l,l,a)}else d!==null?(Da(t,d.cachePool),rh(t,d),ll(),t.memoizedState=null):(e!==null&&Da(t,null),Wo(),ll());return gt(e,t,s,l),t.child}function xi(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function np(e,t,l,a,s){var d=Io();return d=d===null?null:{parent:lt._currentValue,pool:d},t.memoizedState={baseLanes:l,cachePool:d},e!==null&&Da(t,null),Wo(),ih(t),e!==null&&fr(e,t,a,!0),t.childLanes=s,null}function Qa(e,t){return t=Ka({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function lp(e,t,l){return Ll(t,e.child,null,l),e=Qa(t,t.pendingProps),e.flags|=2,qt(t),t.memoizedState=null,e}function Nv(e,t,l){var a=t.pendingProps,s=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(De){if(a.mode==="hidden")return e=Qa(t,a),t.lanes=536870912,xi(null,e);if(ec(t),(e=Qe)?(e=mm(e,en),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Kn!==null?{id:pn,overflow:mn}:null,retryLane:536870912,hydrationErrors:null},l=qd(e),l.return=t,t.child=l,pt=t,Qe=null)):e=null,e===null)throw Jn(t);return t.lanes=536870912,null}return Qa(t,a)}var d=e.memoizedState;if(d!==null){var v=d.dehydrated;if(ec(t),s)if(t.flags&256)t.flags&=-257,t=lp(e,t,l);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(u(558));else if(it||fr(e,t,l,!1),s=(l&e.childLanes)!==0,it||s){if(a=Xe,a!==null&&(v=Qf(a,l),v!==0&&v!==d.retryLane))throw d.retryLane=v,Tl(e,v),Ot(a,e,v),xc;ru(),t=lp(e,t,l)}else e=d.treeContext,Qe=nn(v.nextSibling),pt=t,De=!0,Pn=null,en=!1,e!==null&&Gd(t,e),t=Qa(t,a),t.flags|=4096;return t}return e=zn(e.child,{mode:a.mode,children:a.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Za(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(u(284));(e===null||e.ref!==l)&&(t.flags|=4194816)}}function Ec(e,t,l,a,s){return Dl(t),l=nc(e,t,l,a,void 0,s),a=lc(),e!==null&&!it?(rc(e,t,s),Nn(e,t,s)):(De&&a&&Bo(t),t.flags|=1,gt(e,t,l,s),t.child)}function rp(e,t,l,a,s,d){return Dl(t),t.updateQueue=null,l=uh(t,a,l,s),ah(e),a=lc(),e!==null&&!it?(rc(e,t,d),Nn(e,t,d)):(De&&a&&Bo(t),t.flags|=1,gt(e,t,l,d),t.child)}function ip(e,t,l,a,s){if(Dl(t),t.stateNode===null){var d=ur,v=l.contextType;typeof v=="object"&&v!==null&&(d=mt(v)),d=new l(a,d),t.memoizedState=d.state!==null&&d.state!==void 0?d.state:null,d.updater=bc,t.stateNode=d,d._reactInternals=t,d=t.stateNode,d.props=a,d.state=t.memoizedState,d.refs={},Zo(t),v=l.contextType,d.context=typeof v=="object"&&v!==null?mt(v):ur,d.state=t.memoizedState,v=l.getDerivedStateFromProps,typeof v=="function"&&(vc(t,l,v,a),d.state=t.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof d.getSnapshotBeforeUpdate=="function"||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(v=d.state,typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),v!==d.state&&bc.enqueueReplaceState(d,d.state,null),gi(t,a,d,s),mi(),d.state=t.memoizedState),typeof d.componentDidMount=="function"&&(t.flags|=4194308),a=!0}else if(e===null){d=t.stateNode;var x=t.memoizedProps,z=Bl(l,x);d.props=z;var j=d.context,Y=l.contextType;v=ur,typeof Y=="object"&&Y!==null&&(v=mt(Y));var Z=l.getDerivedStateFromProps;Y=typeof Z=="function"||typeof d.getSnapshotBeforeUpdate=="function",x=t.pendingProps!==x,Y||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(x||j!==v)&&Fh(t,d,a,v),$n=!1;var H=t.memoizedState;d.state=H,gi(t,a,d,s),mi(),j=t.memoizedState,x||H!==j||$n?(typeof Z=="function"&&(vc(t,l,Z,a),j=t.memoizedState),(z=$n||Xh(t,l,z,a,H,j,v))?(Y||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount()),typeof d.componentDidMount=="function"&&(t.flags|=4194308)):(typeof d.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=a,t.memoizedState=j),d.props=a,d.state=j,d.context=v,a=z):(typeof d.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{d=t.stateNode,Ko(e,t),v=t.memoizedProps,Y=Bl(l,v),d.props=Y,Z=t.pendingProps,H=d.context,j=l.contextType,z=ur,typeof j=="object"&&j!==null&&(z=mt(j)),x=l.getDerivedStateFromProps,(j=typeof x=="function"||typeof d.getSnapshotBeforeUpdate=="function")||typeof d.UNSAFE_componentWillReceiveProps!="function"&&typeof d.componentWillReceiveProps!="function"||(v!==Z||H!==z)&&Fh(t,d,a,z),$n=!1,H=t.memoizedState,d.state=H,gi(t,a,d,s),mi();var V=t.memoizedState;v!==Z||H!==V||$n||e!==null&&e.dependencies!==null&&Ma(e.dependencies)?(typeof x=="function"&&(vc(t,l,x,a),V=t.memoizedState),(Y=$n||Xh(t,l,Y,a,H,V,z)||e!==null&&e.dependencies!==null&&Ma(e.dependencies))?(j||typeof d.UNSAFE_componentWillUpdate!="function"&&typeof d.componentWillUpdate!="function"||(typeof d.componentWillUpdate=="function"&&d.componentWillUpdate(a,V,z),typeof d.UNSAFE_componentWillUpdate=="function"&&d.UNSAFE_componentWillUpdate(a,V,z)),typeof d.componentDidUpdate=="function"&&(t.flags|=4),typeof d.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof d.componentDidUpdate!="function"||v===e.memoizedProps&&H===e.memoizedState||(t.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||v===e.memoizedProps&&H===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=V),d.props=a,d.state=V,d.context=z,a=Y):(typeof d.componentDidUpdate!="function"||v===e.memoizedProps&&H===e.memoizedState||(t.flags|=4),typeof d.getSnapshotBeforeUpdate!="function"||v===e.memoizedProps&&H===e.memoizedState||(t.flags|=1024),a=!1)}return d=a,Za(e,t),a=(t.flags&128)!==0,d||a?(d=t.stateNode,l=a&&typeof l.getDerivedStateFromError!="function"?null:d.render(),t.flags|=1,e!==null&&a?(t.child=Ll(t,e.child,null,s),t.child=Ll(t,null,l,s)):gt(e,t,l,s),t.memoizedState=d.state,e=t.child):e=Nn(e,t,s),e}function ap(e,t,l,a){return Ml(),t.flags|=256,gt(e,t,l,a),t.child}var kc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Cc(e){return{baseLanes:e,cachePool:Kd()}}function wc(e,t,l){return e=e!==null?e.childLanes&~l:0,t&&(e|=Yt),e}function up(e,t,l){var a=t.pendingProps,s=!1,d=(t.flags&128)!==0,v;if((v=d)||(v=e!==null&&e.memoizedState===null?!1:(tt.current&2)!==0),v&&(s=!0,t.flags&=-129),v=(t.flags&32)!==0,t.flags&=-33,e===null){if(De){if(s?nl(t):ll(),(e=Qe)?(e=mm(e,en),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Kn!==null?{id:pn,overflow:mn}:null,retryLane:536870912,hydrationErrors:null},l=qd(e),l.return=t,t.child=l,pt=t,Qe=null)):e=null,e===null)throw Jn(t);return us(e)?t.lanes=32:t.lanes=536870912,null}var x=a.children;return a=a.fallback,s?(ll(),s=t.mode,x=Ka({mode:"hidden",children:x},s),a=zl(a,s,l,null),x.return=t,a.return=t,x.sibling=a,t.child=x,a=t.child,a.memoizedState=Cc(l),a.childLanes=wc(e,v,l),t.memoizedState=kc,xi(null,a)):(nl(t),Ac(t,x))}var z=e.memoizedState;if(z!==null&&(x=z.dehydrated,x!==null)){if(d)t.flags&256?(nl(t),t.flags&=-257,t=Tc(e,t,l)):t.memoizedState!==null?(ll(),t.child=e.child,t.flags|=128,t=null):(ll(),x=a.fallback,s=t.mode,a=Ka({mode:"visible",children:a.children},s),x=zl(x,s,l,null),x.flags|=2,a.return=t,x.return=t,a.sibling=x,t.child=a,Ll(t,e.child,null,l),a=t.child,a.memoizedState=Cc(l),a.childLanes=wc(e,v,l),t.memoizedState=kc,t=xi(null,a));else if(nl(t),us(x)){if(v=x.nextSibling&&x.nextSibling.dataset,v)var j=v.dgst;v=j,a=Error(u(419)),a.stack="",a.digest=v,ci({value:a,source:null,stack:null}),t=Tc(e,t,l)}else if(it||fr(e,t,l,!1),v=(l&e.childLanes)!==0,it||v){if(v=Xe,v!==null&&(a=Qf(v,l),a!==0&&a!==z.retryLane))throw z.retryLane=a,Tl(e,a),Ot(v,e,a),xc;as(x)||ru(),t=Tc(e,t,l)}else as(x)?(t.flags|=192,t.child=e.child,t=null):(e=z.treeContext,Qe=nn(x.nextSibling),pt=t,De=!0,Pn=null,en=!1,e!==null&&Gd(t,e),t=Ac(t,a.children),t.flags|=4096);return t}return s?(ll(),x=a.fallback,s=t.mode,z=e.child,j=z.sibling,a=zn(z,{mode:"hidden",children:a.children}),a.subtreeFlags=z.subtreeFlags&65011712,j!==null?x=zn(j,x):(x=zl(x,s,l,null),x.flags|=2),x.return=t,a.return=t,a.sibling=x,t.child=a,xi(null,a),a=t.child,x=e.child.memoizedState,x===null?x=Cc(l):(s=x.cachePool,s!==null?(z=lt._currentValue,s=s.parent!==z?{parent:z,pool:z}:s):s=Kd(),x={baseLanes:x.baseLanes|l,cachePool:s}),a.memoizedState=x,a.childLanes=wc(e,v,l),t.memoizedState=kc,xi(e.child,a)):(nl(t),l=e.child,e=l.sibling,l=zn(l,{mode:"visible",children:a.children}),l.return=t,l.sibling=null,e!==null&&(v=t.deletions,v===null?(t.deletions=[e],t.flags|=16):v.push(e)),t.child=l,t.memoizedState=null,l)}function Ac(e,t){return t=Ka({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Ka(e,t){return e=jt(22,e,null,t),e.lanes=0,e}function Tc(e,t,l){return Ll(t,e.child,null,l),e=Ac(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function op(e,t,l){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),Yo(e.return,t,l)}function zc(e,t,l,a,s,d){var v=e.memoizedState;v===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:l,tailMode:s,treeForkCount:d}:(v.isBackwards=t,v.rendering=null,v.renderingStartTime=0,v.last=a,v.tail=l,v.tailMode=s,v.treeForkCount=d)}function cp(e,t,l){var a=t.pendingProps,s=a.revealOrder,d=a.tail;a=a.children;var v=tt.current,x=(v&2)!==0;if(x?(v=v&1|2,t.flags|=128):v&=1,E(tt,v),gt(e,t,a,l),a=De?oi:0,!x&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&op(e,l,t);else if(e.tag===19)op(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}switch(s){case"forwards":for(l=t.child,s=null;l!==null;)e=l.alternate,e!==null&&Ba(e)===null&&(s=l),l=l.sibling;l=s,l===null?(s=t.child,t.child=null):(s=l.sibling,l.sibling=null),zc(t,!1,s,l,d,a);break;case"backwards":case"unstable_legacy-backwards":for(l=null,s=t.child,t.child=null;s!==null;){if(e=s.alternate,e!==null&&Ba(e)===null){t.child=s;break}e=s.sibling,s.sibling=l,l=s,s=e}zc(t,!0,l,null,d,a);break;case"together":zc(t,!1,null,null,void 0,a);break;default:t.memoizedState=null}return t.child}function Nn(e,t,l){if(e!==null&&(t.dependencies=e.dependencies),al|=t.lanes,(l&t.childLanes)===0)if(e!==null){if(fr(e,t,l,!1),(l&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(u(153));if(t.child!==null){for(e=t.child,l=zn(e,e.pendingProps),t.child=l,l.return=t;e.sibling!==null;)e=e.sibling,l=l.sibling=zn(e,e.pendingProps),l.return=t;l.sibling=null}return t.child}function Mc(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Ma(e)))}function Lv(e,t,l){switch(t.tag){case 3:Pe(t,t.stateNode.containerInfo),Wn(t,lt,e.memoizedState.cache),Ml();break;case 27:case 5:Qt(t);break;case 4:Pe(t,t.stateNode.containerInfo);break;case 10:Wn(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,ec(t),null;break;case 13:var a=t.memoizedState;if(a!==null)return a.dehydrated!==null?(nl(t),t.flags|=128,null):(l&t.child.childLanes)!==0?up(e,t,l):(nl(t),e=Nn(e,t,l),e!==null?e.sibling:null);nl(t);break;case 19:var s=(e.flags&128)!==0;if(a=(l&t.childLanes)!==0,a||(fr(e,t,l,!1),a=(l&t.childLanes)!==0),s){if(a)return cp(e,t,l);t.flags|=128}if(s=t.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),E(tt,tt.current),a)break;return null;case 22:return t.lanes=0,tp(e,t,l,t.pendingProps);case 24:Wn(t,lt,e.memoizedState.cache)}return Nn(e,t,l)}function sp(e,t,l){if(e!==null)if(e.memoizedProps!==t.pendingProps)it=!0;else{if(!Mc(e,l)&&(t.flags&128)===0)return it=!1,Lv(e,t,l);it=(e.flags&131072)!==0}else it=!1,De&&(t.flags&1048576)!==0&&Yd(t,oi,t.index);switch(t.lanes=0,t.tag){case 16:e:{var a=t.pendingProps;if(e=Ol(t.elementType),t.type=e,typeof e=="function")No(e)?(a=Bl(e,a),t.tag=1,t=ip(null,t,e,a,l)):(t.tag=0,t=Ec(null,t,e,a,l));else{if(e!=null){var s=e.$$typeof;if(s===G){t.tag=11,t=Wh(null,t,e,a,l);break e}else if(s===Q){t.tag=14,t=$h(null,t,e,a,l);break e}}throw t=ue(e)||e,Error(u(306,t,""))}}return t;case 0:return Ec(e,t,t.type,t.pendingProps,l);case 1:return a=t.type,s=Bl(a,t.pendingProps),ip(e,t,a,s,l);case 3:e:{if(Pe(t,t.stateNode.containerInfo),e===null)throw Error(u(387));a=t.pendingProps;var d=t.memoizedState;s=d.element,Ko(e,t),gi(t,a,null,l);var v=t.memoizedState;if(a=v.cache,Wn(t,lt,a),a!==d.cache&&Go(t,[lt],l,!0),mi(),a=v.element,d.isDehydrated)if(d={element:a,isDehydrated:!1,cache:v.cache},t.updateQueue.baseState=d,t.memoizedState=d,t.flags&256){t=ap(e,t,a,l);break e}else if(a!==s){s=Jt(Error(u(424)),t),ci(s),t=ap(e,t,a,l);break e}else for(e=t.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,Qe=nn(e.firstChild),pt=t,De=!0,Pn=null,en=!0,l=th(t,null,a,l),t.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling;else{if(Ml(),a===s){t=Nn(e,t,l);break e}gt(e,t,a,l)}t=t.child}return t;case 26:return Za(e,t),e===null?(l=xm(t.type,null,t.pendingProps,null))?t.memoizedState=l:De||(l=t.type,e=t.pendingProps,a=fu(fe.current).createElement(l),a[ht]=t,a[Tt]=e,yt(a,l,e),ft(a),t.stateNode=a):t.memoizedState=xm(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Qt(t),e===null&&De&&(a=t.stateNode=vm(t.type,t.pendingProps,fe.current),pt=t,en=!0,s=Qe,fl(t.type)?(os=s,Qe=nn(a.firstChild)):Qe=s),gt(e,t,t.pendingProps.children,l),Za(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&De&&((s=a=Qe)&&(a=fb(a,t.type,t.pendingProps,en),a!==null?(t.stateNode=a,pt=t,Qe=nn(a.firstChild),en=!1,s=!0):s=!1),s||Jn(t)),Qt(t),s=t.type,d=t.pendingProps,v=e!==null?e.memoizedProps:null,a=d.children,ls(s,d)?a=null:v!==null&&ls(s,v)&&(t.flags|=32),t.memoizedState!==null&&(s=nc(e,t,Av,null,null,l),Ui._currentValue=s),Za(e,t),gt(e,t,a,l),t.child;case 6:return e===null&&De&&((e=l=Qe)&&(l=db(l,t.pendingProps,en),l!==null?(t.stateNode=l,pt=t,Qe=null,e=!0):e=!1),e||Jn(t)),null;case 13:return up(e,t,l);case 4:return Pe(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=Ll(t,null,a,l):gt(e,t,a,l),t.child;case 11:return Wh(e,t,t.type,t.pendingProps,l);case 7:return gt(e,t,t.pendingProps,l),t.child;case 8:return gt(e,t,t.pendingProps.children,l),t.child;case 12:return gt(e,t,t.pendingProps.children,l),t.child;case 10:return a=t.pendingProps,Wn(t,t.type,a.value),gt(e,t,a.children,l),t.child;case 9:return s=t.type._context,a=t.pendingProps.children,Dl(t),s=mt(s),a=a(s),t.flags|=1,gt(e,t,a,l),t.child;case 14:return $h(e,t,t.type,t.pendingProps,l);case 15:return ep(e,t,t.type,t.pendingProps,l);case 19:return cp(e,t,l);case 31:return Nv(e,t,l);case 22:return tp(e,t,l,t.pendingProps);case 24:return Dl(t),a=mt(lt),e===null?(s=Io(),s===null&&(s=Xe,d=Xo(),s.pooledCache=d,d.refCount++,d!==null&&(s.pooledCacheLanes|=l),s=d),t.memoizedState={parent:a,cache:s},Zo(t),Wn(t,lt,s)):((e.lanes&l)!==0&&(Ko(e,t),gi(t,null,null,l),mi()),s=e.memoizedState,d=t.memoizedState,s.parent!==a?(s={parent:a,cache:a},t.memoizedState=s,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=s),Wn(t,lt,a)):(a=d.cache,Wn(t,lt,a),a!==s.cache&&Go(t,[lt],l,!0))),gt(e,t,t.pendingProps.children,l),t.child;case 29:throw t.pendingProps}throw Error(u(156,t.tag))}function Ln(e){e.flags|=4}function _c(e,t,l,a,s){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(s&335544128)===s)if(e.stateNode.complete)e.flags|=8192;else if(Bp())e.flags|=8192;else throw Nl=Oa,Qo}else e.flags&=-16777217}function fp(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Am(t))if(Bp())e.flags|=8192;else throw Nl=Oa,Qo}function Pa(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Xf():536870912,e.lanes|=t,kr|=t)}function Ei(e,t){if(!De)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 s=e.child;s!==null;)l|=s.lanes|s.childLanes,a|=s.subtreeFlags&65011712,a|=s.flags&65011712,s.return=e,s=s.sibling;else for(s=e.child;s!==null;)l|=s.lanes|s.childLanes,a|=s.subtreeFlags,a|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=a,e.childLanes=l,t}function Uv(e,t,l){var a=t.pendingProps;switch(jo(t),t.tag){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),Dn(lt),He(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(e===null||e.child===null)&&(sr(t)?Ln(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,qo())),Ze(t),null;case 26:var s=t.type,d=t.memoizedState;return e===null?(Ln(t),d!==null?(Ze(t),fp(t,d)):(Ze(t),_c(t,s,null,a,l))):d?d!==e.memoizedState?(Ln(t),Ze(t),fp(t,d)):(Ze(t),t.flags&=-16777217):(e=e.memoizedProps,e!==a&&Ln(t),Ze(t),_c(t,s,e,a,l)),null;case 27:if(En(t),l=fe.current,s=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&Ln(t);else{if(!a){if(t.stateNode===null)throw Error(u(166));return Ze(t),null}e=ae.current,sr(t)?Xd(t):(e=vm(s,a,l),t.stateNode=e,Ln(t))}return Ze(t),null;case 5:if(En(t),s=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&Ln(t);else{if(!a){if(t.stateNode===null)throw Error(u(166));return Ze(t),null}if(d=ae.current,sr(t))Xd(t);else{var v=fu(fe.current);switch(d){case 1:d=v.createElementNS("http://www.w3.org/2000/svg",s);break;case 2:d=v.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;default:switch(s){case"svg":d=v.createElementNS("http://www.w3.org/2000/svg",s);break;case"math":d=v.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;case"script":d=v.createElement("div"),d.innerHTML="<script><\/script>",d=d.removeChild(d.firstChild);break;case"select":d=typeof a.is=="string"?v.createElement("select",{is:a.is}):v.createElement("select"),a.multiple?d.multiple=!0:a.size&&(d.size=a.size);break;default:d=typeof a.is=="string"?v.createElement(s,{is:a.is}):v.createElement(s)}}d[ht]=t,d[Tt]=a;e:for(v=t.child;v!==null;){if(v.tag===5||v.tag===6)d.appendChild(v.stateNode);else if(v.tag!==4&&v.tag!==27&&v.child!==null){v.child.return=v,v=v.child;continue}if(v===t)break e;for(;v.sibling===null;){if(v.return===null||v.return===t)break e;v=v.return}v.sibling.return=v.return,v=v.sibling}t.stateNode=d;e:switch(yt(d,s,a),s){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&Ln(t)}}return Ze(t),_c(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,l),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&Ln(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(u(166));if(e=fe.current,sr(t)){if(e=t.stateNode,l=t.memoizedProps,a=null,s=pt,s!==null)switch(s.tag){case 27:case 5:a=s.memoizedProps}e[ht]=t,e=!!(e.nodeValue===l||a!==null&&a.suppressHydrationWarning===!0||um(e.nodeValue,l)),e||Jn(t,!0)}else e=fu(e).createTextNode(a),e[ht]=t,t.stateNode=e}return Ze(t),null;case 31:if(l=t.memoizedState,e===null||e.memoizedState!==null){if(a=sr(t),l!==null){if(e===null){if(!a)throw Error(u(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(u(557));e[ht]=t}else Ml(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ze(t),e=!1}else l=qo(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),e=!0;if(!e)return t.flags&256?(qt(t),t):(qt(t),null);if((t.flags&128)!==0)throw Error(u(558))}return Ze(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(s=sr(t),a!==null&&a.dehydrated!==null){if(e===null){if(!s)throw Error(u(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(u(317));s[ht]=t}else Ml(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ze(t),s=!1}else s=qo(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=s),s=!0;if(!s)return t.flags&256?(qt(t),t):(qt(t),null)}return qt(t),(t.flags&128)!==0?(t.lanes=l,t):(l=a!==null,e=e!==null&&e.memoizedState!==null,l&&(a=t.child,s=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(s=a.alternate.memoizedState.cachePool.pool),d=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(d=a.memoizedState.cachePool.pool),d!==s&&(a.flags|=2048)),l!==e&&l&&(t.child.flags|=8192),Pa(t,t.updateQueue),Ze(t),null);case 4:return He(),e===null&&Wc(t.stateNode.containerInfo),Ze(t),null;case 10:return Dn(t.type),Ze(t),null;case 19:if(X(tt),a=t.memoizedState,a===null)return Ze(t),null;if(s=(t.flags&128)!==0,d=a.rendering,d===null)if(s)Ei(a,!1);else{if(et!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(d=Ba(e),d!==null){for(t.flags|=128,Ei(a,!1),e=d.updateQueue,t.updateQueue=e,Pa(t,e),t.subtreeFlags=0,e=l,l=t.child;l!==null;)Hd(l,e),l=l.sibling;return E(tt,tt.current&1|2),De&&Mn(t,a.treeForkCount),t.child}e=e.sibling}a.tail!==null&&Et()>tu&&(t.flags|=128,s=!0,Ei(a,!1),t.lanes=4194304)}else{if(!s)if(e=Ba(d),e!==null){if(t.flags|=128,s=!0,e=e.updateQueue,t.updateQueue=e,Pa(t,e),Ei(a,!0),a.tail===null&&a.tailMode==="hidden"&&!d.alternate&&!De)return Ze(t),null}else 2*Et()-a.renderingStartTime>tu&&l!==536870912&&(t.flags|=128,s=!0,Ei(a,!1),t.lanes=4194304);a.isBackwards?(d.sibling=t.child,t.child=d):(e=a.last,e!==null?e.sibling=d:t.child=d,a.last=d)}return a.tail!==null?(e=a.tail,a.rendering=e,a.tail=e.sibling,a.renderingStartTime=Et(),e.sibling=null,l=tt.current,E(tt,s?l&1|2:l&1),De&&Mn(t,a.treeForkCount),e):(Ze(t),null);case 22:case 23:return qt(t),$o(),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&&Pa(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&&X(Rl),null;case 24:return l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),Dn(lt),Ze(t),null;case 25:return null;case 30:return null}throw Error(u(156,t.tag))}function Bv(e,t){switch(jo(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Dn(lt),He(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return En(t),null;case 31:if(t.memoizedState!==null){if(qt(t),t.alternate===null)throw Error(u(340));Ml()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(qt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(u(340));Ml()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return X(tt),null;case 4:return He(),null;case 10:return Dn(t.type),null;case 22:case 23:return qt(t),$o(),e!==null&&X(Rl),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Dn(lt),null;case 25:return null;default:return null}}function dp(e,t){switch(jo(t),t.tag){case 3:Dn(lt),He();break;case 26:case 27:case 5:En(t);break;case 4:He();break;case 31:t.memoizedState!==null&&qt(t);break;case 13:qt(t);break;case 19:X(tt);break;case 10:Dn(t.type);break;case 22:case 23:qt(t),$o(),e!==null&&X(Rl);break;case 24:Dn(lt)}}function ki(e,t){try{var l=t.updateQueue,a=l!==null?l.lastEffect:null;if(a!==null){var s=a.next;l=s;do{if((l.tag&e)===e){a=void 0;var d=l.create,v=l.inst;a=d(),v.destroy=a}l=l.next}while(l!==s)}}catch(x){je(t,t.return,x)}}function rl(e,t,l){try{var a=t.updateQueue,s=a!==null?a.lastEffect:null;if(s!==null){var d=s.next;a=d;do{if((a.tag&e)===e){var v=a.inst,x=v.destroy;if(x!==void 0){v.destroy=void 0,s=t;var z=l,j=x;try{j()}catch(Y){je(s,z,Y)}}}a=a.next}while(a!==d)}}catch(Y){je(t,t.return,Y)}}function hp(e){var t=e.updateQueue;if(t!==null){var l=e.stateNode;try{lh(t,l)}catch(a){je(e,e.return,a)}}}function pp(e,t,l){l.props=Bl(e.type,e.memoizedProps),l.state=e.memoizedState;try{l.componentWillUnmount()}catch(a){je(e,t,a)}}function Ci(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(s){je(e,t,s)}}function gn(e,t){var l=e.ref,a=e.refCleanup;if(l!==null)if(typeof a=="function")try{a()}catch(s){je(e,t,s)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(s){je(e,t,s)}else l.current=null}function mp(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(s){je(e,e.return,s)}}function Dc(e,t,l){try{var a=e.stateNode;ib(a,e.type,l,t),a[Tt]=t}catch(s){je(e,e.return,s)}}function gp(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&fl(e.type)||e.tag===4}function Rc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||gp(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&&fl(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 Oc(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=An));else if(a!==4&&(a===27&&fl(e.type)&&(l=e.stateNode,t=null),e=e.child,e!==null))for(Oc(e,t,l),e=e.sibling;e!==null;)Oc(e,t,l),e=e.sibling}function Ja(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&&fl(e.type)&&(l=e.stateNode),e=e.child,e!==null))for(Ja(e,t,l),e=e.sibling;e!==null;)Ja(e,t,l),e=e.sibling}function yp(e){var t=e.stateNode,l=e.memoizedProps;try{for(var a=e.type,s=t.attributes;s.length;)t.removeAttributeNode(s[0]);yt(t,a,l),t[ht]=e,t[Tt]=l}catch(d){je(e,e.return,d)}}var Un=!1,at=!1,Nc=!1,vp=typeof WeakSet=="function"?WeakSet:Set,dt=null;function jv(e,t){if(e=e.containerInfo,ts=vu,e=_d(e),To(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 s=a.anchorOffset,d=a.focusNode;a=a.focusOffset;try{l.nodeType,d.nodeType}catch{l=null;break e}var v=0,x=-1,z=-1,j=0,Y=0,Z=e,H=null;t:for(;;){for(var V;Z!==l||s!==0&&Z.nodeType!==3||(x=v+s),Z!==d||a!==0&&Z.nodeType!==3||(z=v+a),Z.nodeType===3&&(v+=Z.nodeValue.length),(V=Z.firstChild)!==null;)H=Z,Z=V;for(;;){if(Z===e)break t;if(H===l&&++j===s&&(x=v),H===d&&++Y===a&&(z=v),(V=Z.nextSibling)!==null)break;Z=H,H=Z.parentNode}Z=V}l=x===-1||z===-1?null:{start:x,end:z}}else l=null}l=l||{start:0,end:0}}else l=null;for(ns={focusedElem:e,selectionRange:l},vu=!1,dt=t;dt!==null;)if(t=dt,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,dt=e;else for(;dt!==null;){switch(t=dt,d=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(l=0;l<e.length;l++)s=e[l],s.ref.impl=s.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&d!==null){e=void 0,l=t,s=d.memoizedProps,d=d.memoizedState,a=l.stateNode;try{var oe=Bl(l.type,s);e=a.getSnapshotBeforeUpdate(oe,d),a.__reactInternalSnapshotBeforeUpdate=e}catch(pe){je(l,l.return,pe)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,l=e.nodeType,l===9)is(e);else if(l===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":is(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(u(163))}if(e=t.sibling,e!==null){e.return=t.return,dt=e;break}dt=t.return}}function bp(e,t,l){var a=l.flags;switch(l.tag){case 0:case 11:case 15:jn(e,l),a&4&&ki(5,l);break;case 1:if(jn(e,l),a&4)if(e=l.stateNode,t===null)try{e.componentDidMount()}catch(v){je(l,l.return,v)}else{var s=Bl(l.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(s,t,e.__reactInternalSnapshotBeforeUpdate)}catch(v){je(l,l.return,v)}}a&64&&hp(l),a&512&&Ci(l,l.return);break;case 3:if(jn(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{lh(e,t)}catch(v){je(l,l.return,v)}}break;case 27:t===null&&a&4&&yp(l);case 26:case 5:jn(e,l),t===null&&a&4&&mp(l),a&512&&Ci(l,l.return);break;case 12:jn(e,l);break;case 31:jn(e,l),a&4&&Ep(e,l);break;case 13:jn(e,l),a&4&&kp(e,l),a&64&&(e=l.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(l=Qv.bind(null,l),hb(e,l))));break;case 22:if(a=l.memoizedState!==null||Un,!a){t=t!==null&&t.memoizedState!==null||at,s=Un;var d=at;Un=a,(at=t)&&!d?Hn(e,l,(l.subtreeFlags&8772)!==0):jn(e,l),Un=s,at=d}break;case 30:break;default:jn(e,l)}}function Sp(e){var t=e.alternate;t!==null&&(e.alternate=null,Sp(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&co(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 Je=null,Mt=!1;function Bn(e,t,l){for(l=l.child;l!==null;)xp(e,t,l),l=l.sibling}function xp(e,t,l){if(ct&&typeof ct.onCommitFiberUnmount=="function")try{ct.onCommitFiberUnmount(kt,l)}catch{}switch(l.tag){case 26:at||gn(l,t),Bn(e,t,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:at||gn(l,t);var a=Je,s=Mt;fl(l.type)&&(Je=l.stateNode,Mt=!1),Bn(e,t,l),Oi(l.stateNode),Je=a,Mt=s;break;case 5:at||gn(l,t);case 6:if(a=Je,s=Mt,Je=null,Bn(e,t,l),Je=a,Mt=s,Je!==null)if(Mt)try{(Je.nodeType===9?Je.body:Je.nodeName==="HTML"?Je.ownerDocument.body:Je).removeChild(l.stateNode)}catch(d){je(l,t,d)}else try{Je.removeChild(l.stateNode)}catch(d){je(l,t,d)}break;case 18:Je!==null&&(Mt?(e=Je,hm(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,l.stateNode),Dr(e)):hm(Je,l.stateNode));break;case 4:a=Je,s=Mt,Je=l.stateNode.containerInfo,Mt=!0,Bn(e,t,l),Je=a,Mt=s;break;case 0:case 11:case 14:case 15:rl(2,l,t),at||rl(4,l,t),Bn(e,t,l);break;case 1:at||(gn(l,t),a=l.stateNode,typeof a.componentWillUnmount=="function"&&pp(l,t,a)),Bn(e,t,l);break;case 21:Bn(e,t,l);break;case 22:at=(a=at)||l.memoizedState!==null,Bn(e,t,l),at=a;break;default:Bn(e,t,l)}}function Ep(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Dr(e)}catch(l){je(t,t.return,l)}}}function kp(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Dr(e)}catch(l){je(t,t.return,l)}}function Hv(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new vp),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new vp),t;default:throw Error(u(435,e.tag))}}function Wa(e,t){var l=Hv(e);t.forEach(function(a){if(!l.has(a)){l.add(a);var s=Zv.bind(null,e,a);a.then(s,s)}})}function _t(e,t){var l=t.deletions;if(l!==null)for(var a=0;a<l.length;a++){var s=l[a],d=e,v=t,x=v;e:for(;x!==null;){switch(x.tag){case 27:if(fl(x.type)){Je=x.stateNode,Mt=!1;break e}break;case 5:Je=x.stateNode,Mt=!1;break e;case 3:case 4:Je=x.stateNode.containerInfo,Mt=!0;break e}x=x.return}if(Je===null)throw Error(u(160));xp(d,v,s),Je=null,Mt=!1,d=s.alternate,d!==null&&(d.return=null),s.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Cp(t,e),t=t.sibling}var sn=null;function Cp(e,t){var l=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:_t(t,e),Dt(e),a&4&&(rl(3,e,e.return),ki(3,e),rl(5,e,e.return));break;case 1:_t(t,e),Dt(e),a&512&&(at||l===null||gn(l,l.return)),a&64&&Un&&(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 s=sn;if(_t(t,e),Dt(e),a&512&&(at||l===null||gn(l,l.return)),a&4){var d=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,s=s.ownerDocument||s;t:switch(a){case"title":d=s.getElementsByTagName("title")[0],(!d||d[Jr]||d[ht]||d.namespaceURI==="http://www.w3.org/2000/svg"||d.hasAttribute("itemprop"))&&(d=s.createElement(a),s.head.insertBefore(d,s.querySelector("head > title"))),yt(d,a,l),d[ht]=e,ft(d),a=d;break e;case"link":var v=Cm("link","href",s).get(a+(l.href||""));if(v){for(var x=0;x<v.length;x++)if(d=v[x],d.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&d.getAttribute("rel")===(l.rel==null?null:l.rel)&&d.getAttribute("title")===(l.title==null?null:l.title)&&d.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){v.splice(x,1);break t}}d=s.createElement(a),yt(d,a,l),s.head.appendChild(d);break;case"meta":if(v=Cm("meta","content",s).get(a+(l.content||""))){for(x=0;x<v.length;x++)if(d=v[x],d.getAttribute("content")===(l.content==null?null:""+l.content)&&d.getAttribute("name")===(l.name==null?null:l.name)&&d.getAttribute("property")===(l.property==null?null:l.property)&&d.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&d.getAttribute("charset")===(l.charSet==null?null:l.charSet)){v.splice(x,1);break t}}d=s.createElement(a),yt(d,a,l),s.head.appendChild(d);break;default:throw Error(u(468,a))}d[ht]=e,ft(d),a=d}e.stateNode=a}else wm(s,e.type,e.stateNode);else e.stateNode=km(s,a,e.memoizedProps);else d!==a?(d===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):d.count--,a===null?wm(s,e.type,e.stateNode):km(s,a,e.memoizedProps)):a===null&&e.stateNode!==null&&Dc(e,e.memoizedProps,l.memoizedProps)}break;case 27:_t(t,e),Dt(e),a&512&&(at||l===null||gn(l,l.return)),l!==null&&a&4&&Dc(e,e.memoizedProps,l.memoizedProps);break;case 5:if(_t(t,e),Dt(e),a&512&&(at||l===null||gn(l,l.return)),e.flags&32){s=e.stateNode;try{er(s,"")}catch(oe){je(e,e.return,oe)}}a&4&&e.stateNode!=null&&(s=e.memoizedProps,Dc(e,s,l!==null?l.memoizedProps:s)),a&1024&&(Nc=!0);break;case 6:if(_t(t,e),Dt(e),a&4){if(e.stateNode===null)throw Error(u(162));a=e.memoizedProps,l=e.stateNode;try{l.nodeValue=a}catch(oe){je(e,e.return,oe)}}break;case 3:if(pu=null,s=sn,sn=du(t.containerInfo),_t(t,e),sn=s,Dt(e),a&4&&l!==null&&l.memoizedState.isDehydrated)try{Dr(t.containerInfo)}catch(oe){je(e,e.return,oe)}Nc&&(Nc=!1,wp(e));break;case 4:a=sn,sn=du(e.stateNode.containerInfo),_t(t,e),Dt(e),sn=a;break;case 12:_t(t,e),Dt(e);break;case 31:_t(t,e),Dt(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,Wa(e,a)));break;case 13:_t(t,e),Dt(e),e.child.flags&8192&&e.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(eu=Et()),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,Wa(e,a)));break;case 22:s=e.memoizedState!==null;var z=l!==null&&l.memoizedState!==null,j=Un,Y=at;if(Un=j||s,at=Y||z,_t(t,e),at=Y,Un=j,Dt(e),a&8192)e:for(t=e.stateNode,t._visibility=s?t._visibility&-2:t._visibility|1,s&&(l===null||z||Un||at||jl(e)),l=null,t=e;;){if(t.tag===5||t.tag===26){if(l===null){z=l=t;try{if(d=z.stateNode,s)v=d.style,typeof v.setProperty=="function"?v.setProperty("display","none","important"):v.display="none";else{x=z.stateNode;var Z=z.memoizedProps.style,H=Z!=null&&Z.hasOwnProperty("display")?Z.display:null;x.style.display=H==null||typeof H=="boolean"?"":(""+H).trim()}}catch(oe){je(z,z.return,oe)}}}else if(t.tag===6){if(l===null){z=t;try{z.stateNode.nodeValue=s?"":z.memoizedProps}catch(oe){je(z,z.return,oe)}}}else if(t.tag===18){if(l===null){z=t;try{var V=z.stateNode;s?pm(V,!0):pm(z.stateNode,!1)}catch(oe){je(z,z.return,oe)}}}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,Wa(e,l))));break;case 19:_t(t,e),Dt(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,Wa(e,a)));break;case 30:break;case 21:break;default:_t(t,e),Dt(e)}}function Dt(e){var t=e.flags;if(t&2){try{for(var l,a=e.return;a!==null;){if(gp(a)){l=a;break}a=a.return}if(l==null)throw Error(u(160));switch(l.tag){case 27:var s=l.stateNode,d=Rc(e);Ja(e,d,s);break;case 5:var v=l.stateNode;l.flags&32&&(er(v,""),l.flags&=-33);var x=Rc(e);Ja(e,x,v);break;case 3:case 4:var z=l.stateNode.containerInfo,j=Rc(e);Oc(e,j,z);break;default:throw Error(u(161))}}catch(Y){je(e,e.return,Y)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function wp(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;wp(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function jn(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)bp(e,t.alternate,t),t=t.sibling}function jl(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:rl(4,t,t.return),jl(t);break;case 1:gn(t,t.return);var l=t.stateNode;typeof l.componentWillUnmount=="function"&&pp(t,t.return,l),jl(t);break;case 27:Oi(t.stateNode);case 26:case 5:gn(t,t.return),jl(t);break;case 22:t.memoizedState===null&&jl(t);break;case 30:jl(t);break;default:jl(t)}e=e.sibling}}function Hn(e,t,l){for(l=l&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var a=t.alternate,s=e,d=t,v=d.flags;switch(d.tag){case 0:case 11:case 15:Hn(s,d,l),ki(4,d);break;case 1:if(Hn(s,d,l),a=d,s=a.stateNode,typeof s.componentDidMount=="function")try{s.componentDidMount()}catch(j){je(a,a.return,j)}if(a=d,s=a.updateQueue,s!==null){var x=a.stateNode;try{var z=s.shared.hiddenCallbacks;if(z!==null)for(s.shared.hiddenCallbacks=null,s=0;s<z.length;s++)nh(z[s],x)}catch(j){je(a,a.return,j)}}l&&v&64&&hp(d),Ci(d,d.return);break;case 27:yp(d);case 26:case 5:Hn(s,d,l),l&&a===null&&v&4&&mp(d),Ci(d,d.return);break;case 12:Hn(s,d,l);break;case 31:Hn(s,d,l),l&&v&4&&Ep(s,d);break;case 13:Hn(s,d,l),l&&v&4&&kp(s,d);break;case 22:d.memoizedState===null&&Hn(s,d,l),Ci(d,d.return);break;case 30:break;default:Hn(s,d,l)}t=t.sibling}}function Lc(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&&si(l))}function Uc(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&si(e))}function fn(e,t,l,a){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Ap(e,t,l,a),t=t.sibling}function Ap(e,t,l,a){var s=t.flags;switch(t.tag){case 0:case 11:case 15:fn(e,t,l,a),s&2048&&ki(9,t);break;case 1:fn(e,t,l,a);break;case 3:fn(e,t,l,a),s&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&si(e)));break;case 12:if(s&2048){fn(e,t,l,a),e=t.stateNode;try{var d=t.memoizedProps,v=d.id,x=d.onPostCommit;typeof x=="function"&&x(v,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(z){je(t,t.return,z)}}else fn(e,t,l,a);break;case 31:fn(e,t,l,a);break;case 13:fn(e,t,l,a);break;case 23:break;case 22:d=t.stateNode,v=t.alternate,t.memoizedState!==null?d._visibility&2?fn(e,t,l,a):wi(e,t):d._visibility&2?fn(e,t,l,a):(d._visibility|=2,Sr(e,t,l,a,(t.subtreeFlags&10256)!==0||!1)),s&2048&&Lc(v,t);break;case 24:fn(e,t,l,a),s&2048&&Uc(t.alternate,t);break;default:fn(e,t,l,a)}}function Sr(e,t,l,a,s){for(s=s&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var d=e,v=t,x=l,z=a,j=v.flags;switch(v.tag){case 0:case 11:case 15:Sr(d,v,x,z,s),ki(8,v);break;case 23:break;case 22:var Y=v.stateNode;v.memoizedState!==null?Y._visibility&2?Sr(d,v,x,z,s):wi(d,v):(Y._visibility|=2,Sr(d,v,x,z,s)),s&&j&2048&&Lc(v.alternate,v);break;case 24:Sr(d,v,x,z,s),s&&j&2048&&Uc(v.alternate,v);break;default:Sr(d,v,x,z,s)}t=t.sibling}}function wi(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var l=e,a=t,s=a.flags;switch(a.tag){case 22:wi(l,a),s&2048&&Lc(a.alternate,a);break;case 24:wi(l,a),s&2048&&Uc(a.alternate,a);break;default:wi(l,a)}t=t.sibling}}var Ai=8192;function xr(e,t,l){if(e.subtreeFlags&Ai)for(e=e.child;e!==null;)Tp(e,t,l),e=e.sibling}function Tp(e,t,l){switch(e.tag){case 26:xr(e,t,l),e.flags&Ai&&e.memoizedState!==null&&wb(l,sn,e.memoizedState,e.memoizedProps);break;case 5:xr(e,t,l);break;case 3:case 4:var a=sn;sn=du(e.stateNode.containerInfo),xr(e,t,l),sn=a;break;case 22:e.memoizedState===null&&(a=e.alternate,a!==null&&a.memoizedState!==null?(a=Ai,Ai=16777216,xr(e,t,l),Ai=a):xr(e,t,l));break;default:xr(e,t,l)}}function zp(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 Ti(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];dt=a,_p(a,e)}zp(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Mp(e),e=e.sibling}function Mp(e){switch(e.tag){case 0:case 11:case 15:Ti(e),e.flags&2048&&rl(9,e,e.return);break;case 3:Ti(e);break;case 12:Ti(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,$a(e)):Ti(e);break;default:Ti(e)}}function $a(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];dt=a,_p(a,e)}zp(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:rl(8,t,t.return),$a(t);break;case 22:l=t.stateNode,l._visibility&2&&(l._visibility&=-3,$a(t));break;default:$a(t)}e=e.sibling}}function _p(e,t){for(;dt!==null;){var l=dt;switch(l.tag){case 0:case 11:case 15:rl(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:si(l.memoizedState.cache)}if(a=l.child,a!==null)a.return=l,dt=a;else e:for(l=e;dt!==null;){a=dt;var s=a.sibling,d=a.return;if(Sp(a),a===l){dt=null;break e}if(s!==null){s.return=d,dt=s;break e}dt=d}}}var qv={getCacheForType:function(e){var t=mt(lt),l=t.data.get(e);return l===void 0&&(l=e(),t.data.set(e,l)),l},cacheSignal:function(){return mt(lt).controller.signal}},Vv=typeof WeakMap=="function"?WeakMap:Map,Le=0,Xe=null,we=null,Me=0,Be=0,Vt=null,il=!1,Er=!1,Bc=!1,qn=0,et=0,al=0,Hl=0,jc=0,Yt=0,kr=0,zi=null,Rt=null,Hc=!1,eu=0,Dp=0,tu=1/0,nu=null,ul=null,st=0,ol=null,Cr=null,Vn=0,qc=0,Vc=null,Rp=null,Mi=0,Yc=null;function Gt(){return(Le&2)!==0&&Me!==0?Me&-Me:L.T!==null?Zc():Zf()}function Op(){if(Yt===0)if((Me&536870912)===0||De){var e=sa;sa<<=1,(sa&3932160)===0&&(sa=262144),Yt=e}else Yt=536870912;return e=Ht.current,e!==null&&(e.flags|=32),Yt}function Ot(e,t,l){(e===Xe&&(Be===2||Be===9)||e.cancelPendingCommit!==null)&&(wr(e,0),cl(e,Me,Yt,!1)),Pr(e,l),((Le&2)===0||e!==Xe)&&(e===Xe&&((Le&2)===0&&(Hl|=l),et===4&&cl(e,Me,Yt,!1)),yn(e))}function Np(e,t,l){if((Le&6)!==0)throw Error(u(327));var a=!l&&(t&127)===0&&(t&e.expiredLanes)===0||Kr(e,t),s=a?Xv(e,t):Xc(e,t,!0),d=a;do{if(s===0){Er&&!a&&cl(e,t,0,!1);break}else{if(l=e.current.alternate,d&&!Yv(l)){s=Xc(e,t,!1),d=!1;continue}if(s===2){if(d=t,e.errorRecoveryDisabledLanes&d)var v=0;else v=e.pendingLanes&-536870913,v=v!==0?v:v&536870912?536870912:0;if(v!==0){t=v;e:{var x=e;s=zi;var z=x.current.memoizedState.isDehydrated;if(z&&(wr(x,v).flags|=256),v=Xc(x,v,!1),v!==2){if(Bc&&!z){x.errorRecoveryDisabledLanes|=d,Hl|=d,s=4;break e}d=Rt,Rt=s,d!==null&&(Rt===null?Rt=d:Rt.push.apply(Rt,d))}s=v}if(d=!1,s!==2)continue}}if(s===1){wr(e,0),cl(e,t,0,!0);break}e:{switch(a=e,d=s,d){case 0:case 1:throw Error(u(345));case 4:if((t&4194048)!==t)break;case 6:cl(a,t,Yt,!il);break e;case 2:Rt=null;break;case 3:case 5:break;default:throw Error(u(329))}if((t&62914560)===t&&(s=eu+300-Et(),10<s)){if(cl(a,t,Yt,!il),da(a,0,!0)!==0)break e;Vn=t,a.timeoutHandle=fm(Lp.bind(null,a,l,Rt,nu,Hc,t,Yt,Hl,kr,il,d,"Throttled",-0,0),s);break e}Lp(a,l,Rt,nu,Hc,t,Yt,Hl,kr,il,d,null,-0,0)}}break}while(!0);yn(e)}function Lp(e,t,l,a,s,d,v,x,z,j,Y,Z,H,V){if(e.timeoutHandle=-1,Z=t.subtreeFlags,Z&8192||(Z&16785408)===16785408){Z={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:An},Tp(t,d,Z);var oe=(d&62914560)===d?eu-Et():(d&4194048)===d?Dp-Et():0;if(oe=Ab(Z,oe),oe!==null){Vn=d,e.cancelPendingCommit=oe(Gp.bind(null,e,t,d,l,a,s,v,x,z,Y,Z,null,H,V)),cl(e,d,v,!j);return}}Gp(e,t,d,l,a,s,v,x,z)}function Yv(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 s=l[a],d=s.getSnapshot;s=s.value;try{if(!Bt(d(),s))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 cl(e,t,l,a){t&=~jc,t&=~Hl,e.suspendedLanes|=t,e.pingedLanes&=~t,a&&(e.warmLanes|=t),a=e.expirationTimes;for(var s=t;0<s;){var d=31-Ge(s),v=1<<d;a[d]=-1,s&=~v}l!==0&&Ff(e,l,t)}function lu(){return(Le&6)===0?(_i(0),!1):!0}function Gc(){if(we!==null){if(Be===0)var e=we.return;else e=we,_n=_l=null,ic(e),mr=null,di=0,e=we;for(;e!==null;)dp(e.alternate,e),e=e.return;we=null}}function wr(e,t){var l=e.timeoutHandle;l!==-1&&(e.timeoutHandle=-1,ob(l)),l=e.cancelPendingCommit,l!==null&&(e.cancelPendingCommit=null,l()),Vn=0,Gc(),Xe=e,we=l=zn(e.current,null),Me=t,Be=0,Vt=null,il=!1,Er=Kr(e,t),Bc=!1,kr=Yt=jc=Hl=al=et=0,Rt=zi=null,Hc=!1,(t&8)!==0&&(t|=t&32);var a=e.entangledLanes;if(a!==0)for(e=e.entanglements,a&=t;0<a;){var s=31-Ge(a),d=1<<s;t|=e[s],a&=~d}return qn=t,Ca(),l}function Up(e,t){Se=null,L.H=Si,t===pr||t===Ra?(t=Wd(),Be=3):t===Qo?(t=Wd(),Be=4):Be=t===xc?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Vt=t,we===null&&(et=1,Ia(e,Jt(t,e.current)))}function Bp(){var e=Ht.current;return e===null?!0:(Me&4194048)===Me?tn===null:(Me&62914560)===Me||(Me&536870912)!==0?e===tn:!1}function jp(){var e=L.H;return L.H=Si,e===null?Si:e}function Hp(){var e=L.A;return L.A=qv,e}function ru(){et=4,il||(Me&4194048)!==Me&&Ht.current!==null||(Er=!0),(al&134217727)===0&&(Hl&134217727)===0||Xe===null||cl(Xe,Me,Yt,!1)}function Xc(e,t,l){var a=Le;Le|=2;var s=jp(),d=Hp();(Xe!==e||Me!==t)&&(nu=null,wr(e,t)),t=!1;var v=et;e:do try{if(Be!==0&&we!==null){var x=we,z=Vt;switch(Be){case 8:Gc(),v=6;break e;case 3:case 2:case 9:case 6:Ht.current===null&&(t=!0);var j=Be;if(Be=0,Vt=null,Ar(e,x,z,j),l&&Er){v=0;break e}break;default:j=Be,Be=0,Vt=null,Ar(e,x,z,j)}}Gv(),v=et;break}catch(Y){Up(e,Y)}while(!0);return t&&e.shellSuspendCounter++,_n=_l=null,Le=a,L.H=s,L.A=d,we===null&&(Xe=null,Me=0,Ca()),v}function Gv(){for(;we!==null;)qp(we)}function Xv(e,t){var l=Le;Le|=2;var a=jp(),s=Hp();Xe!==e||Me!==t?(nu=null,tu=Et()+500,wr(e,t)):Er=Kr(e,t);e:do try{if(Be!==0&&we!==null){t=we;var d=Vt;t:switch(Be){case 1:Be=0,Vt=null,Ar(e,t,d,1);break;case 2:case 9:if(Pd(d)){Be=0,Vt=null,Vp(t);break}t=function(){Be!==2&&Be!==9||Xe!==e||(Be=7),yn(e)},d.then(t,t);break e;case 3:Be=7;break e;case 4:Be=5;break e;case 7:Pd(d)?(Be=0,Vt=null,Vp(t)):(Be=0,Vt=null,Ar(e,t,d,7));break;case 5:var v=null;switch(we.tag){case 26:v=we.memoizedState;case 5:case 27:var x=we;if(v?Am(v):x.stateNode.complete){Be=0,Vt=null;var z=x.sibling;if(z!==null)we=z;else{var j=x.return;j!==null?(we=j,iu(j)):we=null}break t}}Be=0,Vt=null,Ar(e,t,d,5);break;case 6:Be=0,Vt=null,Ar(e,t,d,6);break;case 8:Gc(),et=6;break e;default:throw Error(u(462))}}Fv();break}catch(Y){Up(e,Y)}while(!0);return _n=_l=null,L.H=a,L.A=s,Le=l,we!==null?0:(Xe=null,Me=0,Ca(),et)}function Fv(){for(;we!==null&&!no();)qp(we)}function qp(e){var t=sp(e.alternate,e,qn);e.memoizedProps=e.pendingProps,t===null?iu(e):we=t}function Vp(e){var t=e,l=t.alternate;switch(t.tag){case 15:case 0:t=rp(l,t,t.pendingProps,t.type,void 0,Me);break;case 11:t=rp(l,t,t.pendingProps,t.type.render,t.ref,Me);break;case 5:ic(t);default:dp(l,t),t=we=Hd(t,qn),t=sp(l,t,qn)}e.memoizedProps=e.pendingProps,t===null?iu(e):we=t}function Ar(e,t,l,a){_n=_l=null,ic(t),mr=null,di=0;var s=t.return;try{if(Ov(e,s,t,l,Me)){et=1,Ia(e,Jt(l,e.current)),we=null;return}}catch(d){if(s!==null)throw we=s,d;et=1,Ia(e,Jt(l,e.current)),we=null;return}t.flags&32768?(De||a===1?e=!0:Er||(Me&536870912)!==0?e=!1:(il=e=!0,(a===2||a===9||a===3||a===6)&&(a=Ht.current,a!==null&&a.tag===13&&(a.flags|=16384))),Yp(t,e)):iu(t)}function iu(e){var t=e;do{if((t.flags&32768)!==0){Yp(t,il);return}e=t.return;var l=Uv(t.alternate,t,qn);if(l!==null){we=l;return}if(t=t.sibling,t!==null){we=t;return}we=t=e}while(t!==null);et===0&&(et=5)}function Yp(e,t){do{var l=Bv(e.alternate,e);if(l!==null){l.flags&=32767,we=l;return}if(l=e.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!t&&(e=e.sibling,e!==null)){we=e;return}we=e=l}while(e!==null);et=6,we=null}function Gp(e,t,l,a,s,d,v,x,z){e.cancelPendingCommit=null;do au();while(st!==0);if((Le&6)!==0)throw Error(u(327));if(t!==null){if(t===e.current)throw Error(u(177));if(d=t.lanes|t.childLanes,d|=Ro,C0(e,l,d,v,x,z),e===Xe&&(we=Xe=null,Me=0),Cr=t,ol=e,Vn=l,qc=d,Vc=s,Rp=a,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,Kv(ge,function(){return Zp(),null})):(e.callbackNode=null,e.callbackPriority=0),a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=L.T,L.T=null,s=J.p,J.p=2,v=Le,Le|=4;try{jv(e,t,l)}finally{Le=v,J.p=s,L.T=a}}st=1,Xp(),Fp(),Ip()}}function Xp(){if(st===1){st=0;var e=ol,t=Cr,l=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||l){l=L.T,L.T=null;var a=J.p;J.p=2;var s=Le;Le|=4;try{Cp(t,e);var d=ns,v=_d(e.containerInfo),x=d.focusedElem,z=d.selectionRange;if(v!==x&&x&&x.ownerDocument&&Md(x.ownerDocument.documentElement,x)){if(z!==null&&To(x)){var j=z.start,Y=z.end;if(Y===void 0&&(Y=j),"selectionStart"in x)x.selectionStart=j,x.selectionEnd=Math.min(Y,x.value.length);else{var Z=x.ownerDocument||document,H=Z&&Z.defaultView||window;if(H.getSelection){var V=H.getSelection(),oe=x.textContent.length,pe=Math.min(z.start,oe),Ye=z.end===void 0?pe:Math.min(z.end,oe);!V.extend&&pe>Ye&&(v=Ye,Ye=pe,pe=v);var R=zd(x,pe),D=zd(x,Ye);if(R&&D&&(V.rangeCount!==1||V.anchorNode!==R.node||V.anchorOffset!==R.offset||V.focusNode!==D.node||V.focusOffset!==D.offset)){var B=Z.createRange();B.setStart(R.node,R.offset),V.removeAllRanges(),pe>Ye?(V.addRange(B),V.extend(D.node,D.offset)):(B.setEnd(D.node,D.offset),V.addRange(B))}}}}for(Z=[],V=x;V=V.parentNode;)V.nodeType===1&&Z.push({element:V,left:V.scrollLeft,top:V.scrollTop});for(typeof x.focus=="function"&&x.focus(),x=0;x<Z.length;x++){var I=Z[x];I.element.scrollLeft=I.left,I.element.scrollTop=I.top}}vu=!!ts,ns=ts=null}finally{Le=s,J.p=a,L.T=l}}e.current=t,st=2}}function Fp(){if(st===2){st=0;var e=ol,t=Cr,l=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||l){l=L.T,L.T=null;var a=J.p;J.p=2;var s=Le;Le|=4;try{bp(e,t.alternate,t)}finally{Le=s,J.p=a,L.T=l}}st=3}}function Ip(){if(st===4||st===3){st=0,lo();var e=ol,t=Cr,l=Vn,a=Rp;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?st=5:(st=0,Cr=ol=null,Qp(e,e.pendingLanes));var s=e.pendingLanes;if(s===0&&(ul=null),uo(l),t=t.stateNode,ct&&typeof ct.onCommitFiberRoot=="function")try{ct.onCommitFiberRoot(kt,t,void 0,(t.current.flags&128)===128)}catch{}if(a!==null){t=L.T,s=J.p,J.p=2,L.T=null;try{for(var d=e.onRecoverableError,v=0;v<a.length;v++){var x=a[v];d(x.value,{componentStack:x.stack})}}finally{L.T=t,J.p=s}}(Vn&3)!==0&&au(),yn(e),s=e.pendingLanes,(l&261930)!==0&&(s&42)!==0?e===Yc?Mi++:(Mi=0,Yc=e):Mi=0,_i(0)}}function Qp(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,si(t)))}function au(){return Xp(),Fp(),Ip(),Zp()}function Zp(){if(st!==5)return!1;var e=ol,t=qc;qc=0;var l=uo(Vn),a=L.T,s=J.p;try{J.p=32>l?32:l,L.T=null,l=Vc,Vc=null;var d=ol,v=Vn;if(st=0,Cr=ol=null,Vn=0,(Le&6)!==0)throw Error(u(331));var x=Le;if(Le|=4,Mp(d.current),Ap(d,d.current,v,l),Le=x,_i(0,!1),ct&&typeof ct.onPostCommitFiberRoot=="function")try{ct.onPostCommitFiberRoot(kt,d)}catch{}return!0}finally{J.p=s,L.T=a,Qp(e,t)}}function Kp(e,t,l){t=Jt(l,t),t=Sc(e.stateNode,t,2),e=tl(e,t,2),e!==null&&(Pr(e,2),yn(e))}function je(e,t,l){if(e.tag===3)Kp(e,e,l);else for(;t!==null;){if(t.tag===3){Kp(t,e,l);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(ul===null||!ul.has(a))){e=Jt(l,e),l=Ph(2),a=tl(t,l,2),a!==null&&(Jh(l,a,t,e),Pr(a,2),yn(a));break}}t=t.return}}function Fc(e,t,l){var a=e.pingCache;if(a===null){a=e.pingCache=new Vv;var s=new Set;a.set(t,s)}else s=a.get(t),s===void 0&&(s=new Set,a.set(t,s));s.has(l)||(Bc=!0,s.add(l),e=Iv.bind(null,e,t,l),t.then(e,e))}function Iv(e,t,l){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&l,e.warmLanes&=~l,Xe===e&&(Me&l)===l&&(et===4||et===3&&(Me&62914560)===Me&&300>Et()-eu?(Le&2)===0&&wr(e,0):jc|=l,kr===Me&&(kr=0)),yn(e)}function Pp(e,t){t===0&&(t=Xf()),e=Tl(e,t),e!==null&&(Pr(e,t),yn(e))}function Qv(e){var t=e.memoizedState,l=0;t!==null&&(l=t.retryLane),Pp(e,l)}function Zv(e,t){var l=0;switch(e.tag){case 31:case 13:var a=e.stateNode,s=e.memoizedState;s!==null&&(l=s.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error(u(314))}a!==null&&a.delete(t),Pp(e,l)}function Kv(e,t){return Ql(e,t)}var uu=null,Tr=null,Ic=!1,ou=!1,Qc=!1,sl=0;function yn(e){e!==Tr&&e.next===null&&(Tr===null?uu=Tr=e:Tr=Tr.next=e),ou=!0,Ic||(Ic=!0,Jv())}function _i(e,t){if(!Qc&&ou){Qc=!0;do for(var l=!1,a=uu;a!==null;){if(e!==0){var s=a.pendingLanes;if(s===0)var d=0;else{var v=a.suspendedLanes,x=a.pingedLanes;d=(1<<31-Ge(42|e)+1)-1,d&=s&~(v&~x),d=d&201326741?d&201326741|1:d?d|2:0}d!==0&&(l=!0,em(a,d))}else d=Me,d=da(a,a===Xe?d:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(d&3)===0||Kr(a,d)||(l=!0,em(a,d));a=a.next}while(l);Qc=!1}}function Pv(){Jp()}function Jp(){ou=Ic=!1;var e=0;sl!==0&&ub()&&(e=sl);for(var t=Et(),l=null,a=uu;a!==null;){var s=a.next,d=Wp(a,t);d===0?(a.next=null,l===null?uu=s:l.next=s,s===null&&(Tr=l)):(l=a,(e!==0||(d&3)!==0)&&(ou=!0)),a=s}st!==0&&st!==5||_i(e),sl!==0&&(sl=0)}function Wp(e,t){for(var l=e.suspendedLanes,a=e.pingedLanes,s=e.expirationTimes,d=e.pendingLanes&-62914561;0<d;){var v=31-Ge(d),x=1<<v,z=s[v];z===-1?((x&l)===0||(x&a)!==0)&&(s[v]=k0(x,t)):z<=t&&(e.expiredLanes|=x),d&=~x}if(t=Xe,l=Me,l=da(e,e===t?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a=e.callbackNode,l===0||e===t&&(Be===2||Be===9)||e.cancelPendingCommit!==null)return a!==null&&a!==null&&Zr(a),e.callbackNode=null,e.callbackPriority=0;if((l&3)===0||Kr(e,l)){if(t=l&-l,t===e.callbackPriority)return t;switch(a!==null&&Zr(a),uo(l)){case 2:case 8:l=ne;break;case 32:l=ge;break;case 268435456:l=Ue;break;default:l=ge}return a=$p.bind(null,e),l=Ql(l,a),e.callbackPriority=t,e.callbackNode=l,t}return a!==null&&a!==null&&Zr(a),e.callbackPriority=2,e.callbackNode=null,2}function $p(e,t){if(st!==0&&st!==5)return e.callbackNode=null,e.callbackPriority=0,null;var l=e.callbackNode;if(au()&&e.callbackNode!==l)return null;var a=Me;return a=da(e,e===Xe?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a===0?null:(Np(e,a,t),Wp(e,Et()),e.callbackNode!=null&&e.callbackNode===l?$p.bind(null,e):null)}function em(e,t){if(au())return null;Np(e,t,!0)}function Jv(){cb(function(){(Le&6)!==0?Ql(F,Pv):Jp()})}function Zc(){if(sl===0){var e=dr;e===0&&(e=ca,ca<<=1,(ca&261888)===0&&(ca=256)),sl=e}return sl}function tm(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:ga(""+e)}function nm(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 Wv(e,t,l,a,s){if(t==="submit"&&l&&l.stateNode===s){var d=tm((s[Tt]||null).action),v=a.submitter;v&&(t=(t=v[Tt]||null)?tm(t.formAction):v.getAttribute("formAction"),t!==null&&(d=t,v=null));var x=new Sa("action","action",null,a,s);e.push({event:x,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(sl!==0){var z=v?nm(s,v):new FormData(s);pc(l,{pending:!0,data:z,method:s.method,action:d},null,z)}}else typeof d=="function"&&(x.preventDefault(),z=v?nm(s,v):new FormData(s),pc(l,{pending:!0,data:z,method:s.method,action:d},d,z))},currentTarget:s}]})}}for(var Kc=0;Kc<Do.length;Kc++){var Pc=Do[Kc],$v=Pc.toLowerCase(),eb=Pc[0].toUpperCase()+Pc.slice(1);cn($v,"on"+eb)}cn(Od,"onAnimationEnd"),cn(Nd,"onAnimationIteration"),cn(Ld,"onAnimationStart"),cn("dblclick","onDoubleClick"),cn("focusin","onFocus"),cn("focusout","onBlur"),cn(gv,"onTransitionRun"),cn(yv,"onTransitionStart"),cn(vv,"onTransitionCancel"),cn(Ud,"onTransitionEnd"),Wl("onMouseEnter",["mouseout","mouseover"]),Wl("onMouseLeave",["mouseout","mouseover"]),Wl("onPointerEnter",["pointerout","pointerover"]),Wl("onPointerLeave",["pointerout","pointerover"]),kl("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),kl("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),kl("onBeforeInput",["compositionend","keypress","textInput","paste"]),kl("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),kl("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),kl("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Di="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(" "),tb=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Di));function lm(e,t){t=(t&4)!==0;for(var l=0;l<e.length;l++){var a=e[l],s=a.event;a=a.listeners;e:{var d=void 0;if(t)for(var v=a.length-1;0<=v;v--){var x=a[v],z=x.instance,j=x.currentTarget;if(x=x.listener,z!==d&&s.isPropagationStopped())break e;d=x,s.currentTarget=j;try{d(s)}catch(Y){ka(Y)}s.currentTarget=null,d=z}else for(v=0;v<a.length;v++){if(x=a[v],z=x.instance,j=x.currentTarget,x=x.listener,z!==d&&s.isPropagationStopped())break e;d=x,s.currentTarget=j;try{d(s)}catch(Y){ka(Y)}s.currentTarget=null,d=z}}}}function Ae(e,t){var l=t[oo];l===void 0&&(l=t[oo]=new Set);var a=e+"__bubble";l.has(a)||(rm(t,e,2,!1),l.add(a))}function Jc(e,t,l){var a=0;t&&(a|=4),rm(l,e,a,t)}var cu="_reactListening"+Math.random().toString(36).slice(2);function Wc(e){if(!e[cu]){e[cu]=!0,Jf.forEach(function(l){l!=="selectionchange"&&(tb.has(l)||Jc(l,!1,e),Jc(l,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[cu]||(t[cu]=!0,Jc("selectionchange",!1,t))}}function rm(e,t,l,a){switch(Om(t)){case 2:var s=Mb;break;case 8:s=_b;break;default:s=hs}l=s.bind(null,t,l,e),s=void 0,!vo||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(s=!0),a?s!==void 0?e.addEventListener(t,l,{capture:!0,passive:s}):e.addEventListener(t,l,!0):s!==void 0?e.addEventListener(t,l,{passive:s}):e.addEventListener(t,l,!1)}function $c(e,t,l,a,s){var d=a;if((t&1)===0&&(t&2)===0&&a!==null)e:for(;;){if(a===null)return;var v=a.tag;if(v===3||v===4){var x=a.stateNode.containerInfo;if(x===s)break;if(v===4)for(v=a.return;v!==null;){var z=v.tag;if((z===3||z===4)&&v.stateNode.containerInfo===s)return;v=v.return}for(;x!==null;){if(v=Kl(x),v===null)return;if(z=v.tag,z===5||z===6||z===26||z===27){a=d=v;continue e}x=x.parentNode}}a=a.return}cd(function(){var j=d,Y=go(l),Z=[];e:{var H=Bd.get(e);if(H!==void 0){var V=Sa,oe=e;switch(e){case"keypress":if(va(l)===0)break e;case"keydown":case"keyup":V=Z0;break;case"focusin":oe="focus",V=Eo;break;case"focusout":oe="blur",V=Eo;break;case"beforeblur":case"afterblur":V=Eo;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":V=dd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":V=U0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":V=J0;break;case Od:case Nd:case Ld:V=H0;break;case Ud:V=$0;break;case"scroll":case"scrollend":V=N0;break;case"wheel":V=tv;break;case"copy":case"cut":case"paste":V=V0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":V=pd;break;case"toggle":case"beforetoggle":V=lv}var pe=(t&4)!==0,Ye=!pe&&(e==="scroll"||e==="scrollend"),R=pe?H!==null?H+"Capture":null:H;pe=[];for(var D=j,B;D!==null;){var I=D;if(B=I.stateNode,I=I.tag,I!==5&&I!==26&&I!==27||B===null||R===null||(I=$r(D,R),I!=null&&pe.push(Ri(D,I,B))),Ye)break;D=D.return}0<pe.length&&(H=new V(H,oe,null,l,Y),Z.push({event:H,listeners:pe}))}}if((t&7)===0){e:{if(H=e==="mouseover"||e==="pointerover",V=e==="mouseout"||e==="pointerout",H&&l!==mo&&(oe=l.relatedTarget||l.fromElement)&&(Kl(oe)||oe[Zl]))break e;if((V||H)&&(H=Y.window===Y?Y:(H=Y.ownerDocument)?H.defaultView||H.parentWindow:window,V?(oe=l.relatedTarget||l.toElement,V=j,oe=oe?Kl(oe):null,oe!==null&&(Ye=c(oe),pe=oe.tag,oe!==Ye||pe!==5&&pe!==27&&pe!==6)&&(oe=null)):(V=null,oe=j),V!==oe)){if(pe=dd,I="onMouseLeave",R="onMouseEnter",D="mouse",(e==="pointerout"||e==="pointerover")&&(pe=pd,I="onPointerLeave",R="onPointerEnter",D="pointer"),Ye=V==null?H:Wr(V),B=oe==null?H:Wr(oe),H=new pe(I,D+"leave",V,l,Y),H.target=Ye,H.relatedTarget=B,I=null,Kl(Y)===j&&(pe=new pe(R,D+"enter",oe,l,Y),pe.target=B,pe.relatedTarget=Ye,I=pe),Ye=I,V&&oe)t:{for(pe=nb,R=V,D=oe,B=0,I=R;I;I=pe(I))B++;I=0;for(var de=D;de;de=pe(de))I++;for(;0<B-I;)R=pe(R),B--;for(;0<I-B;)D=pe(D),I--;for(;B--;){if(R===D||D!==null&&R===D.alternate){pe=R;break t}R=pe(R),D=pe(D)}pe=null}else pe=null;V!==null&&im(Z,H,V,pe,!1),oe!==null&&Ye!==null&&im(Z,Ye,oe,pe,!0)}}e:{if(H=j?Wr(j):window,V=H.nodeName&&H.nodeName.toLowerCase(),V==="select"||V==="input"&&H.type==="file")var Oe=Ed;else if(Sd(H))if(kd)Oe=hv;else{Oe=fv;var se=sv}else V=H.nodeName,!V||V.toLowerCase()!=="input"||H.type!=="checkbox"&&H.type!=="radio"?j&&po(j.elementType)&&(Oe=Ed):Oe=dv;if(Oe&&(Oe=Oe(e,j))){xd(Z,Oe,l,Y);break e}se&&se(e,H,j),e==="focusout"&&j&&H.type==="number"&&j.memoizedProps.value!=null&&ho(H,"number",H.value)}switch(se=j?Wr(j):window,e){case"focusin":(Sd(se)||se.contentEditable==="true")&&(rr=se,zo=j,ui=null);break;case"focusout":ui=zo=rr=null;break;case"mousedown":Mo=!0;break;case"contextmenu":case"mouseup":case"dragend":Mo=!1,Dd(Z,l,Y);break;case"selectionchange":if(mv)break;case"keydown":case"keyup":Dd(Z,l,Y)}var xe;if(Co)e:{switch(e){case"compositionstart":var _e="onCompositionStart";break e;case"compositionend":_e="onCompositionEnd";break e;case"compositionupdate":_e="onCompositionUpdate";break e}_e=void 0}else lr?vd(e,l)&&(_e="onCompositionEnd"):e==="keydown"&&l.keyCode===229&&(_e="onCompositionStart");_e&&(md&&l.locale!=="ko"&&(lr||_e!=="onCompositionStart"?_e==="onCompositionEnd"&&lr&&(xe=sd()):(Zn=Y,bo="value"in Zn?Zn.value:Zn.textContent,lr=!0)),se=su(j,_e),0<se.length&&(_e=new hd(_e,e,null,l,Y),Z.push({event:_e,listeners:se}),xe?_e.data=xe:(xe=bd(l),xe!==null&&(_e.data=xe)))),(xe=iv?av(e,l):uv(e,l))&&(_e=su(j,"onBeforeInput"),0<_e.length&&(se=new hd("onBeforeInput","beforeinput",null,l,Y),Z.push({event:se,listeners:_e}),se.data=xe)),Wv(Z,e,j,l,Y)}lm(Z,t)})}function Ri(e,t,l){return{instance:e,listener:t,currentTarget:l}}function su(e,t){for(var l=t+"Capture",a=[];e!==null;){var s=e,d=s.stateNode;if(s=s.tag,s!==5&&s!==26&&s!==27||d===null||(s=$r(e,l),s!=null&&a.unshift(Ri(e,s,d)),s=$r(e,t),s!=null&&a.push(Ri(e,s,d))),e.tag===3)return a;e=e.return}return[]}function nb(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function im(e,t,l,a,s){for(var d=t._reactName,v=[];l!==null&&l!==a;){var x=l,z=x.alternate,j=x.stateNode;if(x=x.tag,z!==null&&z===a)break;x!==5&&x!==26&&x!==27||j===null||(z=j,s?(j=$r(l,d),j!=null&&v.unshift(Ri(l,j,z))):s||(j=$r(l,d),j!=null&&v.push(Ri(l,j,z)))),l=l.return}v.length!==0&&e.push({event:t,listeners:v})}var lb=/\r\n?/g,rb=/\u0000|\uFFFD/g;function am(e){return(typeof e=="string"?e:""+e).replace(lb,`
9
+ `).replace(rb,"")}function um(e,t){return t=am(t),am(e)===t}function Ve(e,t,l,a,s,d){switch(l){case"children":typeof a=="string"?t==="body"||t==="textarea"&&a===""||er(e,a):(typeof a=="number"||typeof a=="bigint")&&t!=="body"&&er(e,""+a);break;case"className":pa(e,"class",a);break;case"tabIndex":pa(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":pa(e,l,a);break;case"style":ud(e,a,d);break;case"data":if(t!=="object"){pa(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=ga(""+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 d=="function"&&(l==="formAction"?(t!=="input"&&Ve(e,t,"name",s.name,s,null),Ve(e,t,"formEncType",s.formEncType,s,null),Ve(e,t,"formMethod",s.formMethod,s,null),Ve(e,t,"formTarget",s.formTarget,s,null)):(Ve(e,t,"encType",s.encType,s,null),Ve(e,t,"method",s.method,s,null),Ve(e,t,"target",s.target,s,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(l);break}a=ga(""+a),e.setAttribute(l,a);break;case"onClick":a!=null&&(e.onclick=An);break;case"onScroll":a!=null&&Ae("scroll",e);break;case"onScrollEnd":a!=null&&Ae("scrollend",e);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(u(61));if(l=a.__html,l!=null){if(s.children!=null)throw Error(u(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=ga(""+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":Ae("beforetoggle",e),Ae("toggle",e),ha(e,"popover",a);break;case"xlinkActuate":wn(e,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":wn(e,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":wn(e,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":wn(e,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":wn(e,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":wn(e,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":wn(e,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":wn(e,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":wn(e,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":ha(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=R0.get(l)||l,ha(e,l,a))}}function es(e,t,l,a,s,d){switch(l){case"style":ud(e,a,d);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(u(61));if(l=a.__html,l!=null){if(s.children!=null)throw Error(u(60));e.innerHTML=l}}break;case"children":typeof a=="string"?er(e,a):(typeof a=="number"||typeof a=="bigint")&&er(e,""+a);break;case"onScroll":a!=null&&Ae("scroll",e);break;case"onScrollEnd":a!=null&&Ae("scrollend",e);break;case"onClick":a!=null&&(e.onclick=An);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Wf.hasOwnProperty(l))e:{if(l[0]==="o"&&l[1]==="n"&&(s=l.endsWith("Capture"),t=l.slice(2,s?l.length-7:void 0),d=e[Tt]||null,d=d!=null?d[l]:null,typeof d=="function"&&e.removeEventListener(t,d,s),typeof a=="function")){typeof d!="function"&&d!==null&&(l in e?e[l]=null:e.hasAttribute(l)&&e.removeAttribute(l)),e.addEventListener(t,a,s);break e}l in e?e[l]=a:a===!0?e.setAttribute(l,""):ha(e,l,a)}}}function yt(e,t,l){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ae("error",e),Ae("load",e);var a=!1,s=!1,d;for(d in l)if(l.hasOwnProperty(d)){var v=l[d];if(v!=null)switch(d){case"src":a=!0;break;case"srcSet":s=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(u(137,t));default:Ve(e,t,d,v,l,null)}}s&&Ve(e,t,"srcSet",l.srcSet,l,null),a&&Ve(e,t,"src",l.src,l,null);return;case"input":Ae("invalid",e);var x=d=v=s=null,z=null,j=null;for(a in l)if(l.hasOwnProperty(a)){var Y=l[a];if(Y!=null)switch(a){case"name":s=Y;break;case"type":v=Y;break;case"checked":z=Y;break;case"defaultChecked":j=Y;break;case"value":d=Y;break;case"defaultValue":x=Y;break;case"children":case"dangerouslySetInnerHTML":if(Y!=null)throw Error(u(137,t));break;default:Ve(e,t,a,Y,l,null)}}ld(e,d,x,z,j,v,s,!1);return;case"select":Ae("invalid",e),a=v=d=null;for(s in l)if(l.hasOwnProperty(s)&&(x=l[s],x!=null))switch(s){case"value":d=x;break;case"defaultValue":v=x;break;case"multiple":a=x;default:Ve(e,t,s,x,l,null)}t=d,l=v,e.multiple=!!a,t!=null?$l(e,!!a,t,!1):l!=null&&$l(e,!!a,l,!0);return;case"textarea":Ae("invalid",e),d=s=a=null;for(v in l)if(l.hasOwnProperty(v)&&(x=l[v],x!=null))switch(v){case"value":a=x;break;case"defaultValue":s=x;break;case"children":d=x;break;case"dangerouslySetInnerHTML":if(x!=null)throw Error(u(91));break;default:Ve(e,t,v,x,l,null)}id(e,a,s,d);return;case"option":for(z in l)l.hasOwnProperty(z)&&(a=l[z],a!=null)&&(z==="selected"?e.selected=a&&typeof a!="function"&&typeof a!="symbol":Ve(e,t,z,a,l,null));return;case"dialog":Ae("beforetoggle",e),Ae("toggle",e),Ae("cancel",e),Ae("close",e);break;case"iframe":case"object":Ae("load",e);break;case"video":case"audio":for(a=0;a<Di.length;a++)Ae(Di[a],e);break;case"image":Ae("error",e),Ae("load",e);break;case"details":Ae("toggle",e);break;case"embed":case"source":case"link":Ae("error",e),Ae("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(j in l)if(l.hasOwnProperty(j)&&(a=l[j],a!=null))switch(j){case"children":case"dangerouslySetInnerHTML":throw Error(u(137,t));default:Ve(e,t,j,a,l,null)}return;default:if(po(t)){for(Y in l)l.hasOwnProperty(Y)&&(a=l[Y],a!==void 0&&es(e,t,Y,a,l,void 0));return}}for(x in l)l.hasOwnProperty(x)&&(a=l[x],a!=null&&Ve(e,t,x,a,l,null))}function ib(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 s=null,d=null,v=null,x=null,z=null,j=null,Y=null;for(V in l){var Z=l[V];if(l.hasOwnProperty(V)&&Z!=null)switch(V){case"checked":break;case"value":break;case"defaultValue":z=Z;default:a.hasOwnProperty(V)||Ve(e,t,V,null,a,Z)}}for(var H in a){var V=a[H];if(Z=l[H],a.hasOwnProperty(H)&&(V!=null||Z!=null))switch(H){case"type":d=V;break;case"name":s=V;break;case"checked":j=V;break;case"defaultChecked":Y=V;break;case"value":v=V;break;case"defaultValue":x=V;break;case"children":case"dangerouslySetInnerHTML":if(V!=null)throw Error(u(137,t));break;default:V!==Z&&Ve(e,t,H,V,a,Z)}}fo(e,v,x,z,j,Y,d,s);return;case"select":V=v=x=H=null;for(d in l)if(z=l[d],l.hasOwnProperty(d)&&z!=null)switch(d){case"value":break;case"multiple":V=z;default:a.hasOwnProperty(d)||Ve(e,t,d,null,a,z)}for(s in a)if(d=a[s],z=l[s],a.hasOwnProperty(s)&&(d!=null||z!=null))switch(s){case"value":H=d;break;case"defaultValue":x=d;break;case"multiple":v=d;default:d!==z&&Ve(e,t,s,d,a,z)}t=x,l=v,a=V,H!=null?$l(e,!!l,H,!1):!!a!=!!l&&(t!=null?$l(e,!!l,t,!0):$l(e,!!l,l?[]:"",!1));return;case"textarea":V=H=null;for(x in l)if(s=l[x],l.hasOwnProperty(x)&&s!=null&&!a.hasOwnProperty(x))switch(x){case"value":break;case"children":break;default:Ve(e,t,x,null,a,s)}for(v in a)if(s=a[v],d=l[v],a.hasOwnProperty(v)&&(s!=null||d!=null))switch(v){case"value":H=s;break;case"defaultValue":V=s;break;case"children":break;case"dangerouslySetInnerHTML":if(s!=null)throw Error(u(91));break;default:s!==d&&Ve(e,t,v,s,a,d)}rd(e,H,V);return;case"option":for(var oe in l)H=l[oe],l.hasOwnProperty(oe)&&H!=null&&!a.hasOwnProperty(oe)&&(oe==="selected"?e.selected=!1:Ve(e,t,oe,null,a,H));for(z in a)H=a[z],V=l[z],a.hasOwnProperty(z)&&H!==V&&(H!=null||V!=null)&&(z==="selected"?e.selected=H&&typeof H!="function"&&typeof H!="symbol":Ve(e,t,z,H,a,V));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 pe in l)H=l[pe],l.hasOwnProperty(pe)&&H!=null&&!a.hasOwnProperty(pe)&&Ve(e,t,pe,null,a,H);for(j in a)if(H=a[j],V=l[j],a.hasOwnProperty(j)&&H!==V&&(H!=null||V!=null))switch(j){case"children":case"dangerouslySetInnerHTML":if(H!=null)throw Error(u(137,t));break;default:Ve(e,t,j,H,a,V)}return;default:if(po(t)){for(var Ye in l)H=l[Ye],l.hasOwnProperty(Ye)&&H!==void 0&&!a.hasOwnProperty(Ye)&&es(e,t,Ye,void 0,a,H);for(Y in a)H=a[Y],V=l[Y],!a.hasOwnProperty(Y)||H===V||H===void 0&&V===void 0||es(e,t,Y,H,a,V);return}}for(var R in l)H=l[R],l.hasOwnProperty(R)&&H!=null&&!a.hasOwnProperty(R)&&Ve(e,t,R,null,a,H);for(Z in a)H=a[Z],V=l[Z],!a.hasOwnProperty(Z)||H===V||H==null&&V==null||Ve(e,t,Z,H,a,V)}function om(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function ab(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,l=performance.getEntriesByType("resource"),a=0;a<l.length;a++){var s=l[a],d=s.transferSize,v=s.initiatorType,x=s.duration;if(d&&x&&om(v)){for(v=0,x=s.responseEnd,a+=1;a<l.length;a++){var z=l[a],j=z.startTime;if(j>x)break;var Y=z.transferSize,Z=z.initiatorType;Y&&om(Z)&&(z=z.responseEnd,v+=Y*(z<x?1:(x-j)/(z-j)))}if(--a,t+=8*(d+v)/(s.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var ts=null,ns=null;function fu(e){return e.nodeType===9?e:e.ownerDocument}function cm(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 sm(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 ls(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 rs=null;function ub(){var e=window.event;return e&&e.type==="popstate"?e===rs?!1:(rs=e,!0):(rs=null,!1)}var fm=typeof setTimeout=="function"?setTimeout:void 0,ob=typeof clearTimeout=="function"?clearTimeout:void 0,dm=typeof Promise=="function"?Promise:void 0,cb=typeof queueMicrotask=="function"?queueMicrotask:typeof dm<"u"?function(e){return dm.resolve(null).then(e).catch(sb)}:fm;function sb(e){setTimeout(function(){throw e})}function fl(e){return e==="head"}function hm(e,t){var l=t,a=0;do{var s=l.nextSibling;if(e.removeChild(l),s&&s.nodeType===8)if(l=s.data,l==="/$"||l==="/&"){if(a===0){e.removeChild(s),Dr(t);return}a--}else if(l==="$"||l==="$?"||l==="$~"||l==="$!"||l==="&")a++;else if(l==="html")Oi(e.ownerDocument.documentElement);else if(l==="head"){l=e.ownerDocument.head,Oi(l);for(var d=l.firstChild;d;){var v=d.nextSibling,x=d.nodeName;d[Jr]||x==="SCRIPT"||x==="STYLE"||x==="LINK"&&d.rel.toLowerCase()==="stylesheet"||l.removeChild(d),d=v}}else l==="body"&&Oi(e.ownerDocument.body);l=s}while(l);Dr(t)}function pm(e,t){var l=e;e=0;do{var a=l.nextSibling;if(l.nodeType===1?t?(l._stashedDisplay=l.style.display,l.style.display="none"):(l.style.display=l._stashedDisplay||"",l.getAttribute("style")===""&&l.removeAttribute("style")):l.nodeType===3&&(t?(l._stashedText=l.nodeValue,l.nodeValue=""):l.nodeValue=l._stashedText||""),a&&a.nodeType===8)if(l=a.data,l==="/$"){if(e===0)break;e--}else l!=="$"&&l!=="$?"&&l!=="$~"&&l!=="$!"||e++;l=a}while(l)}function is(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":is(l),co(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}e.removeChild(l)}}function fb(e,t,l,a){for(;e.nodeType===1;){var s=l;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(a){if(!e[Jr])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(d=e.getAttribute("rel"),d==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(d!==s.rel||e.getAttribute("href")!==(s.href==null||s.href===""?null:s.href)||e.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin)||e.getAttribute("title")!==(s.title==null?null:s.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(d=e.getAttribute("src"),(d!==(s.src==null?null:s.src)||e.getAttribute("type")!==(s.type==null?null:s.type)||e.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin))&&d&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var d=s.name==null?null:""+s.name;if(s.type==="hidden"&&e.getAttribute("name")===d)return e}else return e;if(e=nn(e.nextSibling),e===null)break}return null}function db(e,t,l){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!l||(e=nn(e.nextSibling),e===null))return null;return e}function mm(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=nn(e.nextSibling),e===null))return null;return e}function as(e){return e.data==="$?"||e.data==="$~"}function us(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function hb(e,t){var l=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||l.readyState!=="loading")t();else{var a=function(){t(),l.removeEventListener("DOMContentLoaded",a)};l.addEventListener("DOMContentLoaded",a),e._reactRetry=a}}function nn(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==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var os=null;function gm(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var l=e.data;if(l==="/$"||l==="/&"){if(t===0)return nn(e.nextSibling);t--}else l!=="$"&&l!=="$!"&&l!=="$?"&&l!=="$~"&&l!=="&"||t++}e=e.nextSibling}return null}function ym(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var l=e.data;if(l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"){if(t===0)return e;t--}else l!=="/$"&&l!=="/&"||t++}e=e.previousSibling}return null}function vm(e,t,l){switch(t=fu(l),e){case"html":if(e=t.documentElement,!e)throw Error(u(452));return e;case"head":if(e=t.head,!e)throw Error(u(453));return e;case"body":if(e=t.body,!e)throw Error(u(454));return e;default:throw Error(u(451))}}function Oi(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);co(e)}var ln=new Map,bm=new Set;function du(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Yn=J.d;J.d={f:pb,r:mb,D:gb,C:yb,L:vb,m:bb,X:xb,S:Sb,M:Eb};function pb(){var e=Yn.f(),t=lu();return e||t}function mb(e){var t=Pl(e);t!==null&&t.tag===5&&t.type==="form"?Uh(t):Yn.r(e)}var zr=typeof document>"u"?null:document;function Sm(e,t,l){var a=zr;if(a&&typeof t=="string"&&t){var s=Kt(t);s='link[rel="'+e+'"][href="'+s+'"]',typeof l=="string"&&(s+='[crossorigin="'+l+'"]'),bm.has(s)||(bm.add(s),e={rel:e,crossOrigin:l,href:t},a.querySelector(s)===null&&(t=a.createElement("link"),yt(t,"link",e),ft(t),a.head.appendChild(t)))}}function gb(e){Yn.D(e),Sm("dns-prefetch",e,null)}function yb(e,t){Yn.C(e,t),Sm("preconnect",e,t)}function vb(e,t,l){Yn.L(e,t,l);var a=zr;if(a&&e&&t){var s='link[rel="preload"][as="'+Kt(t)+'"]';t==="image"&&l&&l.imageSrcSet?(s+='[imagesrcset="'+Kt(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(s+='[imagesizes="'+Kt(l.imageSizes)+'"]')):s+='[href="'+Kt(e)+'"]';var d=s;switch(t){case"style":d=Mr(e);break;case"script":d=_r(e)}ln.has(d)||(e=g({rel:"preload",href:t==="image"&&l&&l.imageSrcSet?void 0:e,as:t},l),ln.set(d,e),a.querySelector(s)!==null||t==="style"&&a.querySelector(Ni(d))||t==="script"&&a.querySelector(Li(d))||(t=a.createElement("link"),yt(t,"link",e),ft(t),a.head.appendChild(t)))}}function bb(e,t){Yn.m(e,t);var l=zr;if(l&&e){var a=t&&typeof t.as=="string"?t.as:"script",s='link[rel="modulepreload"][as="'+Kt(a)+'"][href="'+Kt(e)+'"]',d=s;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":d=_r(e)}if(!ln.has(d)&&(e=g({rel:"modulepreload",href:e},t),ln.set(d,e),l.querySelector(s)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(Li(d)))return}a=l.createElement("link"),yt(a,"link",e),ft(a),l.head.appendChild(a)}}}function Sb(e,t,l){Yn.S(e,t,l);var a=zr;if(a&&e){var s=Jl(a).hoistableStyles,d=Mr(e);t=t||"default";var v=s.get(d);if(!v){var x={loading:0,preload:null};if(v=a.querySelector(Ni(d)))x.loading=5;else{e=g({rel:"stylesheet",href:e,"data-precedence":t},l),(l=ln.get(d))&&cs(e,l);var z=v=a.createElement("link");ft(z),yt(z,"link",e),z._p=new Promise(function(j,Y){z.onload=j,z.onerror=Y}),z.addEventListener("load",function(){x.loading|=1}),z.addEventListener("error",function(){x.loading|=2}),x.loading|=4,hu(v,t,a)}v={type:"stylesheet",instance:v,count:1,state:x},s.set(d,v)}}}function xb(e,t){Yn.X(e,t);var l=zr;if(l&&e){var a=Jl(l).hoistableScripts,s=_r(e),d=a.get(s);d||(d=l.querySelector(Li(s)),d||(e=g({src:e,async:!0},t),(t=ln.get(s))&&ss(e,t),d=l.createElement("script"),ft(d),yt(d,"link",e),l.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},a.set(s,d))}}function Eb(e,t){Yn.M(e,t);var l=zr;if(l&&e){var a=Jl(l).hoistableScripts,s=_r(e),d=a.get(s);d||(d=l.querySelector(Li(s)),d||(e=g({src:e,async:!0,type:"module"},t),(t=ln.get(s))&&ss(e,t),d=l.createElement("script"),ft(d),yt(d,"link",e),l.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},a.set(s,d))}}function xm(e,t,l,a){var s=(s=fe.current)?du(s):null;if(!s)throw Error(u(446));switch(e){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(t=Mr(l.href),l=Jl(s).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=Mr(l.href);var d=Jl(s).hoistableStyles,v=d.get(e);if(v||(s=s.ownerDocument||s,v={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},d.set(e,v),(d=s.querySelector(Ni(e)))&&!d._p&&(v.instance=d,v.state.loading=5),ln.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},ln.set(e,l),d||kb(s,e,l,v.state))),t&&a===null)throw Error(u(528,""));return v}if(t&&a!==null)throw Error(u(529,""));return null;case"script":return t=l.async,l=l.src,typeof l=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=_r(l),l=Jl(s).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(u(444,e))}}function Mr(e){return'href="'+Kt(e)+'"'}function Ni(e){return'link[rel="stylesheet"]['+e+"]"}function Em(e){return g({},e,{"data-precedence":e.precedence,precedence:null})}function kb(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}),yt(t,"link",l),ft(t),e.head.appendChild(t))}function _r(e){return'[src="'+Kt(e)+'"]'}function Li(e){return"script[async]"+e}function km(e,t,l){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+Kt(l.href)+'"]');if(a)return t.instance=a,ft(a),a;var s=g({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),ft(a),yt(a,"style",s),hu(a,l.precedence,e),t.instance=a;case"stylesheet":s=Mr(l.href);var d=e.querySelector(Ni(s));if(d)return t.state.loading|=4,t.instance=d,ft(d),d;a=Em(l),(s=ln.get(s))&&cs(a,s),d=(e.ownerDocument||e).createElement("link"),ft(d);var v=d;return v._p=new Promise(function(x,z){v.onload=x,v.onerror=z}),yt(d,"link",a),t.state.loading|=4,hu(d,l.precedence,e),t.instance=d;case"script":return d=_r(l.src),(s=e.querySelector(Li(d)))?(t.instance=s,ft(s),s):(a=l,(s=ln.get(d))&&(a=g({},l),ss(a,s)),e=e.ownerDocument||e,s=e.createElement("script"),ft(s),yt(s,"link",a),e.head.appendChild(s),t.instance=s);case"void":return null;default:throw Error(u(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,hu(a,l.precedence,e));return t.instance}function hu(e,t,l){for(var a=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),s=a.length?a[a.length-1]:null,d=s,v=0;v<a.length;v++){var x=a[v];if(x.dataset.precedence===t)d=x;else if(d!==s)break}d?d.parentNode.insertBefore(e,d.nextSibling):(t=l.nodeType===9?l.head:l,t.insertBefore(e,t.firstChild))}function cs(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function ss(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var pu=null;function Cm(e,t,l){if(pu===null){var a=new Map,s=pu=new Map;s.set(l,a)}else s=pu,a=s.get(l),a||(a=new Map,s.set(l,a));if(a.has(e))return a;for(a.set(e,null),l=l.getElementsByTagName(e),s=0;s<l.length;s++){var d=l[s];if(!(d[Jr]||d[ht]||e==="link"&&d.getAttribute("rel")==="stylesheet")&&d.namespaceURI!=="http://www.w3.org/2000/svg"){var v=d.getAttribute(t)||"";v=e+v;var x=a.get(v);x?x.push(d):a.set(v,[d])}}return a}function wm(e,t,l){e=e.ownerDocument||e,e.head.insertBefore(l,t==="title"?e.querySelector("head > title"):null)}function Cb(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;return t.rel==="stylesheet"?(e=t.disabled,typeof t.precedence=="string"&&e==null):!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 Am(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function wb(e,t,l,a){if(l.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var s=Mr(a.href),d=t.querySelector(Ni(s));if(d){t=d._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=mu.bind(e),t.then(e,e)),l.state.loading|=4,l.instance=d,ft(d);return}d=t.ownerDocument||t,a=Em(a),(s=ln.get(s))&&cs(a,s),d=d.createElement("link"),ft(d);var v=d;v._p=new Promise(function(x,z){v.onload=x,v.onerror=z}),yt(d,"link",a),l.instance=d}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(l,t),(t=l.state.preload)&&(l.state.loading&3)===0&&(e.count++,l=mu.bind(e),t.addEventListener("load",l),t.addEventListener("error",l))}}var fs=0;function Ab(e,t){return e.stylesheets&&e.count===0&&yu(e,e.stylesheets),0<e.count||0<e.imgCount?function(l){var a=setTimeout(function(){if(e.stylesheets&&yu(e,e.stylesheets),e.unsuspend){var d=e.unsuspend;e.unsuspend=null,d()}},6e4+t);0<e.imgBytes&&fs===0&&(fs=62500*ab());var s=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&yu(e,e.stylesheets),e.unsuspend)){var d=e.unsuspend;e.unsuspend=null,d()}},(e.imgBytes>fs?50:800)+t);return e.unsuspend=l,function(){e.unsuspend=null,clearTimeout(a),clearTimeout(s)}}:null}function mu(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)yu(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var gu=null;function yu(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,gu=new Map,t.forEach(Tb,e),gu=null,mu.call(e))}function Tb(e,t){if(!(t.state.loading&4)){var l=gu.get(e);if(l)var a=l.get(null);else{l=new Map,gu.set(e,l);for(var s=e.querySelectorAll("link[data-precedence],style[data-precedence]"),d=0;d<s.length;d++){var v=s[d];(v.nodeName==="LINK"||v.getAttribute("media")!=="not all")&&(l.set(v.dataset.precedence,v),a=v)}a&&l.set(null,a)}s=t.instance,v=s.getAttribute("data-precedence"),d=l.get(v)||a,d===a&&l.set(null,s),l.set(v,s),this.count++,a=mu.bind(this),s.addEventListener("load",a),s.addEventListener("error",a),d?d.parentNode.insertBefore(s,d.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(s,e.firstChild)),t.state.loading|=4}}var Ui={$$typeof:O,Provider:null,Consumer:null,_currentValue:ce,_currentValue2:ce,_threadCount:0};function zb(e,t,l,a,s,d,v,x,z){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=io(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=io(0),this.hiddenUpdates=io(null),this.identifierPrefix=a,this.onUncaughtError=s,this.onCaughtError=d,this.onRecoverableError=v,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=z,this.incompleteTransitions=new Map}function Tm(e,t,l,a,s,d,v,x,z,j,Y,Z){return e=new zb(e,t,l,v,z,j,Y,Z,x),t=1,d===!0&&(t|=24),d=jt(3,null,null,t),e.current=d,d.stateNode=e,t=Xo(),t.refCount++,e.pooledCache=t,t.refCount++,d.memoizedState={element:a,isDehydrated:l,cache:t},Zo(d),e}function zm(e){return e?(e=ur,e):ur}function Mm(e,t,l,a,s,d){s=zm(s),a.context===null?a.context=s:a.pendingContext=s,a=el(t),a.payload={element:l},d=d===void 0?null:d,d!==null&&(a.callback=d),l=tl(e,a,t),l!==null&&(Ot(l,e,t),pi(l,e,t))}function _m(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var l=e.retryLane;e.retryLane=l!==0&&l<t?l:t}}function ds(e,t){_m(e,t),(e=e.alternate)&&_m(e,t)}function Dm(e){if(e.tag===13||e.tag===31){var t=Tl(e,67108864);t!==null&&Ot(t,e,67108864),ds(e,67108864)}}function Rm(e){if(e.tag===13||e.tag===31){var t=Gt();t=ao(t);var l=Tl(e,t);l!==null&&Ot(l,e,t),ds(e,t)}}var vu=!0;function Mb(e,t,l,a){var s=L.T;L.T=null;var d=J.p;try{J.p=2,hs(e,t,l,a)}finally{J.p=d,L.T=s}}function _b(e,t,l,a){var s=L.T;L.T=null;var d=J.p;try{J.p=8,hs(e,t,l,a)}finally{J.p=d,L.T=s}}function hs(e,t,l,a){if(vu){var s=ps(a);if(s===null)$c(e,t,a,bu,l),Nm(e,a);else if(Rb(s,e,t,l,a))a.stopPropagation();else if(Nm(e,a),t&4&&-1<Db.indexOf(e)){for(;s!==null;){var d=Pl(s);if(d!==null)switch(d.tag){case 3:if(d=d.stateNode,d.current.memoizedState.isDehydrated){var v=El(d.pendingLanes);if(v!==0){var x=d;for(x.pendingLanes|=2,x.entangledLanes|=2;v;){var z=1<<31-Ge(v);x.entanglements[1]|=z,v&=~z}yn(d),(Le&6)===0&&(tu=Et()+500,_i(0))}}break;case 31:case 13:x=Tl(d,2),x!==null&&Ot(x,d,2),lu(),ds(d,2)}if(d=ps(a),d===null&&$c(e,t,a,bu,l),d===s)break;s=d}s!==null&&a.stopPropagation()}else $c(e,t,a,null,l)}}function ps(e){return e=go(e),ms(e)}var bu=null;function ms(e){if(bu=null,e=Kl(e),e!==null){var t=c(e);if(t===null)e=null;else{var l=t.tag;if(l===13){if(e=f(t),e!==null)return e;e=null}else if(l===31){if(e=h(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 bu=e,null}function Om(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(ro()){case F:return 2;case ne:return 8;case ge:case Ce:return 32;case Ue:return 268435456;default:return 32}default:return 32}}var gs=!1,dl=null,hl=null,pl=null,Bi=new Map,ji=new Map,ml=[],Db="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 Nm(e,t){switch(e){case"focusin":case"focusout":dl=null;break;case"dragenter":case"dragleave":hl=null;break;case"mouseover":case"mouseout":pl=null;break;case"pointerover":case"pointerout":Bi.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ji.delete(t.pointerId)}}function Hi(e,t,l,a,s,d){return e===null||e.nativeEvent!==d?(e={blockedOn:t,domEventName:l,eventSystemFlags:a,nativeEvent:d,targetContainers:[s]},t!==null&&(t=Pl(t),t!==null&&Dm(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,s!==null&&t.indexOf(s)===-1&&t.push(s),e)}function Rb(e,t,l,a,s){switch(t){case"focusin":return dl=Hi(dl,e,t,l,a,s),!0;case"dragenter":return hl=Hi(hl,e,t,l,a,s),!0;case"mouseover":return pl=Hi(pl,e,t,l,a,s),!0;case"pointerover":var d=s.pointerId;return Bi.set(d,Hi(Bi.get(d)||null,e,t,l,a,s)),!0;case"gotpointercapture":return d=s.pointerId,ji.set(d,Hi(ji.get(d)||null,e,t,l,a,s)),!0}return!1}function Lm(e){var t=Kl(e.target);if(t!==null){var l=c(t);if(l!==null){if(t=l.tag,t===13){if(t=f(l),t!==null){e.blockedOn=t,Kf(e.priority,function(){Rm(l)});return}}else if(t===31){if(t=h(l),t!==null){e.blockedOn=t,Kf(e.priority,function(){Rm(l)});return}}else if(t===3&&l.stateNode.current.memoizedState.isDehydrated){e.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Su(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var l=ps(e.nativeEvent);if(l===null){l=e.nativeEvent;var a=new l.constructor(l.type,l);mo=a,l.target.dispatchEvent(a),mo=null}else return t=Pl(l),t!==null&&Dm(t),e.blockedOn=l,!1;t.shift()}return!0}function Um(e,t,l){Su(e)&&l.delete(t)}function Ob(){gs=!1,dl!==null&&Su(dl)&&(dl=null),hl!==null&&Su(hl)&&(hl=null),pl!==null&&Su(pl)&&(pl=null),Bi.forEach(Um),ji.forEach(Um)}function xu(e,t){e.blockedOn===t&&(e.blockedOn=null,gs||(gs=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,Ob)))}var Eu=null;function Bm(e){Eu!==e&&(Eu=e,n.unstable_scheduleCallback(n.unstable_NormalPriority,function(){Eu===e&&(Eu=null);for(var t=0;t<e.length;t+=3){var l=e[t],a=e[t+1],s=e[t+2];if(typeof a!="function"){if(ms(a||l)===null)continue;break}var d=Pl(l);d!==null&&(e.splice(t,3),t-=3,pc(d,{pending:!0,data:s,method:l.method,action:a},a,s))}}))}function Dr(e){function t(z){return xu(z,e)}dl!==null&&xu(dl,e),hl!==null&&xu(hl,e),pl!==null&&xu(pl,e),Bi.forEach(t),ji.forEach(t);for(var l=0;l<ml.length;l++){var a=ml[l];a.blockedOn===e&&(a.blockedOn=null)}for(;0<ml.length&&(l=ml[0],l.blockedOn===null);)Lm(l),l.blockedOn===null&&ml.shift();if(l=(e.ownerDocument||e).$$reactFormReplay,l!=null)for(a=0;a<l.length;a+=3){var s=l[a],d=l[a+1],v=s[Tt]||null;if(typeof d=="function")v||Bm(l);else if(v){var x=null;if(d&&d.hasAttribute("formAction")){if(s=d,v=d[Tt]||null)x=v.formAction;else if(ms(s)!==null)continue}else x=v.action;typeof x=="function"?l[a+1]=x:(l.splice(a,3),a-=3),Bm(l)}}}function jm(){function e(d){d.canIntercept&&d.info==="react-transition"&&d.intercept({handler:function(){return new Promise(function(v){return s=v})},focusReset:"manual",scroll:"manual"})}function t(){s!==null&&(s(),s=null),a||setTimeout(l,20)}function l(){if(!a&&!navigation.transition){var d=navigation.currentEntry;d&&d.url!=null&&navigation.navigate(d.url,{state:d.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var a=!1,s=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(l,100),function(){a=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),s!==null&&(s(),s=null)}}}function ys(e){this._internalRoot=e}ku.prototype.render=ys.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(u(409));var l=t.current,a=Gt();Mm(l,a,e,t,null,null)},ku.prototype.unmount=ys.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Mm(e.current,2,null,e,null,null),lu(),t[Zl]=null}};function ku(e){this._internalRoot=e}ku.prototype.unstable_scheduleHydration=function(e){if(e){var t=Zf();e={blockedOn:null,target:e,priority:t};for(var l=0;l<ml.length&&t!==0&&t<ml[l].priority;l++);ml.splice(l,0,e),l===0&&Lm(e)}};var Hm=r.version;if(Hm!=="19.2.6")throw Error(u(527,Hm,"19.2.6"));J.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(u(188)):(e=Object.keys(e).join(","),Error(u(268,e)));return e=p(t),e=e!==null?y(e):null,e=e===null?null:e.stateNode,e};var Nb={bundleType:0,version:"19.2.6",rendererPackageName:"react-dom",currentDispatcherRef:L,reconcilerVersion:"19.2.6"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Cu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Cu.isDisabled&&Cu.supportsFiber)try{kt=Cu.inject(Nb),ct=Cu}catch{}}return Vi.createRoot=function(e,t){if(!o(e))throw Error(u(299));var l=!1,a="",s=Ih,d=Qh,v=Zh;return t!=null&&(t.unstable_strictMode===!0&&(l=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(s=t.onUncaughtError),t.onCaughtError!==void 0&&(d=t.onCaughtError),t.onRecoverableError!==void 0&&(v=t.onRecoverableError)),t=Tm(e,1,!1,null,null,l,a,null,s,d,v,jm),e[Zl]=t.current,Wc(e),new ys(t)},Vi.hydrateRoot=function(e,t,l){if(!o(e))throw Error(u(299));var a=!1,s="",d=Ih,v=Qh,x=Zh,z=null;return l!=null&&(l.unstable_strictMode===!0&&(a=!0),l.identifierPrefix!==void 0&&(s=l.identifierPrefix),l.onUncaughtError!==void 0&&(d=l.onUncaughtError),l.onCaughtError!==void 0&&(v=l.onCaughtError),l.onRecoverableError!==void 0&&(x=l.onRecoverableError),l.formState!==void 0&&(z=l.formState)),t=Tm(e,1,!0,t,l??null,a,s,z,d,v,x,jm),t.context=zm(null),l=t.current,a=Gt(),a=ao(a),s=el(a),s.callback=null,tl(l,s,a),l=a,t.current.lanes=l,Pr(t,l),yn(t),e[Zl]=t.current,Wc(e),new ku(t)},Vi.version="19.2.6",Vi}var Km;function Xb(){if(Km)return Ss.exports;Km=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(r){console.error(r)}}return n(),Ss.exports=Gb(),Ss.exports}var Fb=Xb();const g4=ea(Fb),Pm=n=>{let r;const i=new Set,u=(p,y)=>{const g=typeof p=="function"?p(r):p;if(!Object.is(g,r)){const b=r;r=y??(typeof g!="object"||g===null)?g:Object.assign({},r,g),i.forEach(S=>S(r,b))}},o=()=>r,h={setState:u,getState:o,getInitialState:()=>m,subscribe:p=>(i.add(p),()=>i.delete(p))},m=r=n(u,o,h);return h},Ib=(n=>n?Pm(n):Pm),Qb=n=>n;function Zb(n,r=Qb){const i=rn.useSyncExternalStore(n.subscribe,rn.useCallback(()=>r(n.getState()),[n,r]),rn.useCallback(()=>r(n.getInitialState()),[n,r]));return rn.useDebugValue(i),i}const Jm=n=>{const r=Ib(n),i=u=>Zb(r,u);return Object.assign(i,r),i},y4=(n=>n?Jm(n):Jm);function Kb(n,r){let i;try{i=n()}catch{return}return{getItem:o=>{var c;const f=m=>m===null?null:JSON.parse(m,void 0),h=(c=i.getItem(o))!=null?c:null;return h instanceof Promise?h.then(f):f(h)},setItem:(o,c)=>i.setItem(o,JSON.stringify(c,void 0)),removeItem:o=>i.removeItem(o)}}const Ps=n=>r=>{try{const i=n(r);return i instanceof Promise?i:{then(u){return Ps(u)(i)},catch(u){return this}}}catch(i){return{then(u){return this},catch(u){return Ps(u)(i)}}}},Pb=(n,r)=>(i,u,o)=>{let c={storage:Kb(()=>window.localStorage),partialize:A=>A,version:0,merge:(A,T)=>({...T,...A}),...r},f=!1,h=0;const m=new Set,p=new Set;let y=c.storage;if(!y)return n((...A)=>{console.warn(`[zustand persist middleware] Unable to update item '${c.name}', the given storage is currently unavailable.`),i(...A)},u,o);const g=()=>{const A=c.partialize({...u()});return y.setItem(c.name,{state:A,version:c.version})},b=o.setState;o.setState=(A,T)=>(b(A,T),g());const S=n((...A)=>(i(...A),g()),u,o);o.getInitialState=()=>S;let k;const w=()=>{var A,T;if(!y)return;const q=++h;f=!1,m.forEach(G=>{var P;return G((P=u())!=null?P:S)});const O=((T=c.onRehydrateStorage)==null?void 0:T.call(c,(A=u())!=null?A:S))||void 0;return Ps(y.getItem.bind(y))(c.name).then(G=>{if(G)if(typeof G.version=="number"&&G.version!==c.version){if(c.migrate){const P=c.migrate(G.state,G.version);return P instanceof Promise?P.then(U=>[!0,U]):[!0,P]}console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return[!1,G.state];return[!1,void 0]}).then(G=>{var P;if(q!==h)return;const[U,Q]=G;if(k=c.merge(Q,(P=u())!=null?P:S),i(k,!0),U)return g()}).then(()=>{q===h&&(O?.(u(),void 0),k=u(),f=!0,p.forEach(G=>G(k)))}).catch(G=>{q===h&&O?.(void 0,G)})};return o.persist={setOptions:A=>{c={...c,...A},A.storage&&(y=A.storage)},clearStorage:()=>{y?.removeItem(c.name)},getOptions:()=>c,rehydrate:()=>w(),hasHydrated:()=>f,onHydrate:A=>(m.add(A),()=>{m.delete(A)}),onFinishHydration:A=>(p.add(A),()=>{p.delete(A)})},c.skipHydration||w(),k||S},v4=Pb;function a1(n){var r,i,u="";if(typeof n=="string"||typeof n=="number")u+=n;else if(typeof n=="object")if(Array.isArray(n)){var o=n.length;for(r=0;r<o;r++)n[r]&&(i=a1(n[r]))&&(u&&(u+=" "),u+=i)}else for(i in n)n[i]&&(u&&(u+=" "),u+=i);return u}function Jb(){for(var n,r,i=0,u="",o=arguments.length;i<o;i++)(n=arguments[i])&&(r=a1(n))&&(u&&(u+=" "),u+=r);return u}const mf="-",Wb=n=>{const r=e2(n),{conflictingClassGroups:i,conflictingClassGroupModifiers:u}=n;return{getClassGroupId:f=>{const h=f.split(mf);return h[0]===""&&h.length!==1&&h.shift(),u1(h,r)||$b(f)},getConflictingClassGroupIds:(f,h)=>{const m=i[f]||[];return h&&u[f]?[...m,...u[f]]:m}}},u1=(n,r)=>{if(n.length===0)return r.classGroupId;const i=n[0],u=r.nextPart.get(i),o=u?u1(n.slice(1),u):void 0;if(o)return o;if(r.validators.length===0)return;const c=n.join(mf);return r.validators.find(({validator:f})=>f(c))?.classGroupId},Wm=/^\[(.+)\]$/,$b=n=>{if(Wm.test(n)){const r=Wm.exec(n)[1],i=r?.substring(0,r.indexOf(":"));if(i)return"arbitrary.."+i}},e2=n=>{const{theme:r,prefix:i}=n,u={nextPart:new Map,validators:[]};return n2(Object.entries(n.classGroups),i).forEach(([c,f])=>{Js(f,u,c,r)}),u},Js=(n,r,i,u)=>{n.forEach(o=>{if(typeof o=="string"){const c=o===""?r:$m(r,o);c.classGroupId=i;return}if(typeof o=="function"){if(t2(o)){Js(o(u),r,i,u);return}r.validators.push({validator:o,classGroupId:i});return}Object.entries(o).forEach(([c,f])=>{Js(f,$m(r,c),i,u)})})},$m=(n,r)=>{let i=n;return r.split(mf).forEach(u=>{i.nextPart.has(u)||i.nextPart.set(u,{nextPart:new Map,validators:[]}),i=i.nextPart.get(u)}),i},t2=n=>n.isThemeGetter,n2=(n,r)=>r?n.map(([i,u])=>{const o=u.map(c=>typeof c=="string"?r+c:typeof c=="object"?Object.fromEntries(Object.entries(c).map(([f,h])=>[r+f,h])):c);return[i,o]}):n,l2=n=>{if(n<1)return{get:()=>{},set:()=>{}};let r=0,i=new Map,u=new Map;const o=(c,f)=>{i.set(c,f),r++,r>n&&(r=0,u=i,i=new Map)};return{get(c){let f=i.get(c);if(f!==void 0)return f;if((f=u.get(c))!==void 0)return o(c,f),f},set(c,f){i.has(c)?i.set(c,f):o(c,f)}}},o1="!",r2=n=>{const{separator:r,experimentalParseClassName:i}=n,u=r.length===1,o=r[0],c=r.length,f=h=>{const m=[];let p=0,y=0,g;for(let A=0;A<h.length;A++){let T=h[A];if(p===0){if(T===o&&(u||h.slice(A,A+c)===r)){m.push(h.slice(y,A)),y=A+c;continue}if(T==="/"){g=A;continue}}T==="["?p++:T==="]"&&p--}const b=m.length===0?h:h.substring(y),S=b.startsWith(o1),k=S?b.substring(1):b,w=g&&g>y?g-y:void 0;return{modifiers:m,hasImportantModifier:S,baseClassName:k,maybePostfixModifierPosition:w}};return i?h=>i({className:h,parseClassName:f}):f},i2=n=>{if(n.length<=1)return n;const r=[];let i=[];return n.forEach(u=>{u[0]==="["?(r.push(...i.sort(),u),i=[]):i.push(u)}),r.push(...i.sort()),r},a2=n=>({cache:l2(n.cacheSize),parseClassName:r2(n),...Wb(n)}),u2=/\s+/,o2=(n,r)=>{const{parseClassName:i,getClassGroupId:u,getConflictingClassGroupIds:o}=r,c=[],f=n.trim().split(u2);let h="";for(let m=f.length-1;m>=0;m-=1){const p=f[m],{modifiers:y,hasImportantModifier:g,baseClassName:b,maybePostfixModifierPosition:S}=i(p);let k=!!S,w=u(k?b.substring(0,S):b);if(!w){if(!k){h=p+(h.length>0?" "+h:h);continue}if(w=u(b),!w){h=p+(h.length>0?" "+h:h);continue}k=!1}const A=i2(y).join(":"),T=g?A+o1:A,q=T+w;if(c.includes(q))continue;c.push(q);const O=o(w,k);for(let G=0;G<O.length;++G){const P=O[G];c.push(T+P)}h=p+(h.length>0?" "+h:h)}return h};function c2(){let n=0,r,i,u="";for(;n<arguments.length;)(r=arguments[n++])&&(i=c1(r))&&(u&&(u+=" "),u+=i);return u}const c1=n=>{if(typeof n=="string")return n;let r,i="";for(let u=0;u<n.length;u++)n[u]&&(r=c1(n[u]))&&(i&&(i+=" "),i+=r);return i};function s2(n,...r){let i,u,o,c=f;function f(m){const p=r.reduce((y,g)=>g(y),n());return i=a2(p),u=i.cache.get,o=i.cache.set,c=h,h(m)}function h(m){const p=u(m);if(p)return p;const y=o2(m,i);return o(m,y),y}return function(){return c(c2.apply(null,arguments))}}const Ke=n=>{const r=i=>i[n]||[];return r.isThemeGetter=!0,r},s1=/^\[(?:([a-z-]+):)?(.+)\]$/i,f2=/^\d+\/\d+$/,d2=new Set(["px","full","screen"]),h2=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,p2=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,m2=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,g2=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,y2=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Gn=n=>jr(n)||d2.has(n)||f2.test(n),yl=n=>Xr(n,"length",w2),jr=n=>!!n&&!Number.isNaN(Number(n)),Cs=n=>Xr(n,"number",jr),Yi=n=>!!n&&Number.isInteger(Number(n)),v2=n=>n.endsWith("%")&&jr(n.slice(0,-1)),Ee=n=>s1.test(n),vl=n=>h2.test(n),b2=new Set(["length","size","percentage"]),S2=n=>Xr(n,b2,f1),x2=n=>Xr(n,"position",f1),E2=new Set(["image","url"]),k2=n=>Xr(n,E2,T2),C2=n=>Xr(n,"",A2),Gi=()=>!0,Xr=(n,r,i)=>{const u=s1.exec(n);return u?u[1]?typeof r=="string"?u[1]===r:r.has(u[1]):i(u[2]):!1},w2=n=>p2.test(n)&&!m2.test(n),f1=()=>!1,A2=n=>g2.test(n),T2=n=>y2.test(n),z2=()=>{const n=Ke("colors"),r=Ke("spacing"),i=Ke("blur"),u=Ke("brightness"),o=Ke("borderColor"),c=Ke("borderRadius"),f=Ke("borderSpacing"),h=Ke("borderWidth"),m=Ke("contrast"),p=Ke("grayscale"),y=Ke("hueRotate"),g=Ke("invert"),b=Ke("gap"),S=Ke("gradientColorStops"),k=Ke("gradientColorStopPositions"),w=Ke("inset"),A=Ke("margin"),T=Ke("opacity"),q=Ke("padding"),O=Ke("saturate"),G=Ke("scale"),P=Ke("sepia"),U=Ke("skew"),Q=Ke("space"),re=Ke("translate"),ie=()=>["auto","contain","none"],N=()=>["auto","hidden","clip","visible","scroll"],$=()=>["auto",Ee,r],K=()=>[Ee,r],be=()=>["",Gn,yl],ue=()=>["auto",jr,Ee],ee=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],L=()=>["solid","dashed","dotted","double","none"],J=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ce=()=>["start","end","center","between","around","evenly","stretch"],ye=()=>["","0",Ee],C=()=>["auto","avoid","all","avoid-page","page","left","right","column"],_=()=>[jr,Ee];return{cacheSize:500,separator:":",theme:{colors:[Gi],spacing:[Gn,yl],blur:["none","",vl,Ee],brightness:_(),borderColor:[n],borderRadius:["none","","full",vl,Ee],borderSpacing:K(),borderWidth:be(),contrast:_(),grayscale:ye(),hueRotate:_(),invert:ye(),gap:K(),gradientColorStops:[n],gradientColorStopPositions:[v2,yl],inset:$(),margin:$(),opacity:_(),padding:K(),saturate:_(),scale:_(),sepia:ye(),skew:_(),space:K(),translate:K()},classGroups:{aspect:[{aspect:["auto","square","video",Ee]}],container:["container"],columns:[{columns:[vl]}],"break-after":[{"break-after":C()}],"break-before":[{"break-before":C()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...ee(),Ee]}],overflow:[{overflow:N()}],"overflow-x":[{"overflow-x":N()}],"overflow-y":[{"overflow-y":N()}],overscroll:[{overscroll:ie()}],"overscroll-x":[{"overscroll-x":ie()}],"overscroll-y":[{"overscroll-y":ie()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[w]}],"inset-x":[{"inset-x":[w]}],"inset-y":[{"inset-y":[w]}],start:[{start:[w]}],end:[{end:[w]}],top:[{top:[w]}],right:[{right:[w]}],bottom:[{bottom:[w]}],left:[{left:[w]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Yi,Ee]}],basis:[{basis:$()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Ee]}],grow:[{grow:ye()}],shrink:[{shrink:ye()}],order:[{order:["first","last","none",Yi,Ee]}],"grid-cols":[{"grid-cols":[Gi]}],"col-start-end":[{col:["auto",{span:["full",Yi,Ee]},Ee]}],"col-start":[{"col-start":ue()}],"col-end":[{"col-end":ue()}],"grid-rows":[{"grid-rows":[Gi]}],"row-start-end":[{row:["auto",{span:[Yi,Ee]},Ee]}],"row-start":[{"row-start":ue()}],"row-end":[{"row-end":ue()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Ee]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Ee]}],gap:[{gap:[b]}],"gap-x":[{"gap-x":[b]}],"gap-y":[{"gap-y":[b]}],"justify-content":[{justify:["normal",...ce()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ce(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ce(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[q]}],px:[{px:[q]}],py:[{py:[q]}],ps:[{ps:[q]}],pe:[{pe:[q]}],pt:[{pt:[q]}],pr:[{pr:[q]}],pb:[{pb:[q]}],pl:[{pl:[q]}],m:[{m:[A]}],mx:[{mx:[A]}],my:[{my:[A]}],ms:[{ms:[A]}],me:[{me:[A]}],mt:[{mt:[A]}],mr:[{mr:[A]}],mb:[{mb:[A]}],ml:[{ml:[A]}],"space-x":[{"space-x":[Q]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Q]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Ee,r]}],"min-w":[{"min-w":[Ee,r,"min","max","fit"]}],"max-w":[{"max-w":[Ee,r,"none","full","min","max","fit","prose",{screen:[vl]},vl]}],h:[{h:[Ee,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Ee,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Ee,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Ee,r,"auto","min","max","fit"]}],"font-size":[{text:["base",vl,yl]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Cs]}],"font-family":[{font:[Gi]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",Ee]}],"line-clamp":[{"line-clamp":["none",jr,Cs]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Gn,Ee]}],"list-image":[{"list-image":["none",Ee]}],"list-style-type":[{list:["none","disc","decimal",Ee]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[n]}],"placeholder-opacity":[{"placeholder-opacity":[T]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[n]}],"text-opacity":[{"text-opacity":[T]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...L(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Gn,yl]}],"underline-offset":[{"underline-offset":["auto",Gn,Ee]}],"text-decoration-color":[{decoration:[n]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:K()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Ee]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Ee]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[T]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ee(),x2]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",S2]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},k2]}],"bg-color":[{bg:[n]}],"gradient-from-pos":[{from:[k]}],"gradient-via-pos":[{via:[k]}],"gradient-to-pos":[{to:[k]}],"gradient-from":[{from:[S]}],"gradient-via":[{via:[S]}],"gradient-to":[{to:[S]}],rounded:[{rounded:[c]}],"rounded-s":[{"rounded-s":[c]}],"rounded-e":[{"rounded-e":[c]}],"rounded-t":[{"rounded-t":[c]}],"rounded-r":[{"rounded-r":[c]}],"rounded-b":[{"rounded-b":[c]}],"rounded-l":[{"rounded-l":[c]}],"rounded-ss":[{"rounded-ss":[c]}],"rounded-se":[{"rounded-se":[c]}],"rounded-ee":[{"rounded-ee":[c]}],"rounded-es":[{"rounded-es":[c]}],"rounded-tl":[{"rounded-tl":[c]}],"rounded-tr":[{"rounded-tr":[c]}],"rounded-br":[{"rounded-br":[c]}],"rounded-bl":[{"rounded-bl":[c]}],"border-w":[{border:[h]}],"border-w-x":[{"border-x":[h]}],"border-w-y":[{"border-y":[h]}],"border-w-s":[{"border-s":[h]}],"border-w-e":[{"border-e":[h]}],"border-w-t":[{"border-t":[h]}],"border-w-r":[{"border-r":[h]}],"border-w-b":[{"border-b":[h]}],"border-w-l":[{"border-l":[h]}],"border-opacity":[{"border-opacity":[T]}],"border-style":[{border:[...L(),"hidden"]}],"divide-x":[{"divide-x":[h]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[h]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[T]}],"divide-style":[{divide:L()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...L()]}],"outline-offset":[{"outline-offset":[Gn,Ee]}],"outline-w":[{outline:[Gn,yl]}],"outline-color":[{outline:[n]}],"ring-w":[{ring:be()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[n]}],"ring-opacity":[{"ring-opacity":[T]}],"ring-offset-w":[{"ring-offset":[Gn,yl]}],"ring-offset-color":[{"ring-offset":[n]}],shadow:[{shadow:["","inner","none",vl,C2]}],"shadow-color":[{shadow:[Gi]}],opacity:[{opacity:[T]}],"mix-blend":[{"mix-blend":[...J(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":J()}],filter:[{filter:["","none"]}],blur:[{blur:[i]}],brightness:[{brightness:[u]}],contrast:[{contrast:[m]}],"drop-shadow":[{"drop-shadow":["","none",vl,Ee]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[y]}],invert:[{invert:[g]}],saturate:[{saturate:[O]}],sepia:[{sepia:[P]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[i]}],"backdrop-brightness":[{"backdrop-brightness":[u]}],"backdrop-contrast":[{"backdrop-contrast":[m]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[y]}],"backdrop-invert":[{"backdrop-invert":[g]}],"backdrop-opacity":[{"backdrop-opacity":[T]}],"backdrop-saturate":[{"backdrop-saturate":[O]}],"backdrop-sepia":[{"backdrop-sepia":[P]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[f]}],"border-spacing-x":[{"border-spacing-x":[f]}],"border-spacing-y":[{"border-spacing-y":[f]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Ee]}],duration:[{duration:_()}],ease:[{ease:["linear","in","out","in-out",Ee]}],delay:[{delay:_()}],animate:[{animate:["none","spin","ping","pulse","bounce",Ee]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[G]}],"scale-x":[{"scale-x":[G]}],"scale-y":[{"scale-y":[G]}],rotate:[{rotate:[Yi,Ee]}],"translate-x":[{"translate-x":[re]}],"translate-y":[{"translate-y":[re]}],"skew-x":[{"skew-x":[U]}],"skew-y":[{"skew-y":[U]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Ee]}],accent:[{accent:["auto",n]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Ee]}],"caret-color":[{caret:[n]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":K()}],"scroll-mx":[{"scroll-mx":K()}],"scroll-my":[{"scroll-my":K()}],"scroll-ms":[{"scroll-ms":K()}],"scroll-me":[{"scroll-me":K()}],"scroll-mt":[{"scroll-mt":K()}],"scroll-mr":[{"scroll-mr":K()}],"scroll-mb":[{"scroll-mb":K()}],"scroll-ml":[{"scroll-ml":K()}],"scroll-p":[{"scroll-p":K()}],"scroll-px":[{"scroll-px":K()}],"scroll-py":[{"scroll-py":K()}],"scroll-ps":[{"scroll-ps":K()}],"scroll-pe":[{"scroll-pe":K()}],"scroll-pt":[{"scroll-pt":K()}],"scroll-pr":[{"scroll-pr":K()}],"scroll-pb":[{"scroll-pb":K()}],"scroll-pl":[{"scroll-pl":K()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Ee]}],fill:[{fill:[n,"none"]}],"stroke-w":[{stroke:[Gn,yl,Cs]}],stroke:[{stroke:[n,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},b4=s2(z2);const M2=n=>n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),d1=(...n)=>n.filter((r,i,u)=>!!r&&r.trim()!==""&&u.indexOf(r)===i).join(" ").trim();var _2={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const D2=M.forwardRef(({color:n="currentColor",size:r=24,strokeWidth:i=2,absoluteStrokeWidth:u,className:o="",children:c,iconNode:f,...h},m)=>M.createElement("svg",{ref:m,..._2,width:r,height:r,stroke:n,strokeWidth:u?Number(i)*24/Number(r):i,className:d1("lucide",o),...h},[...f.map(([p,y])=>M.createElement(p,y)),...Array.isArray(c)?c:[c]]));const le=(n,r)=>{const i=M.forwardRef(({className:u,...o},c)=>M.createElement(D2,{ref:c,iconNode:r,className:d1(`lucide-${M2(n)}`,u),...o}));return i.displayName=`${n}`,i};const S4=le("Activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]);const x4=le("ArchiveRestore",[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h2",key:"tvwodi"}],["path",{d:"M20 8v11a2 2 0 0 1-2 2h-2",key:"1gkqxj"}],["path",{d:"m9 15 3-3 3 3",key:"1pd0qc"}],["path",{d:"M12 12v9",key:"192myk"}]]);const E4=le("ArrowDown",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]);const k4=le("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);const C4=le("ArrowUp",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]);const w4=le("Bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]);const A4=le("Brain",[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z",key:"ep3f8r"}],["path",{d:"M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4",key:"1p4c4q"}],["path",{d:"M17.599 6.5a3 3 0 0 0 .399-1.375",key:"tmeiqw"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M19.938 10.5a4 4 0 0 1 .585.396",key:"1qfode"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M19.967 17.484A4 4 0 0 1 18 18",key:"159ez6"}]]);const T4=le("Bug",[["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M9 7.13v-1a3.003 3.003 0 1 1 6 0v1",key:"d7y7pr"}],["path",{d:"M12 20c-3.3 0-6-2.7-6-6v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v3c0 3.3-2.7 6-6 6",key:"xs1cw7"}],["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M6.53 9C4.6 8.8 3 7.1 3 5",key:"32zzws"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"M3 21c0-2.1 1.7-3.9 3.8-4",key:"4p0ekp"}],["path",{d:"M20.97 5c0 2.1-1.6 3.8-3.5 4",key:"18gb23"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M17.2 17c2.1.1 3.8 1.9 3.8 4",key:"k3fwyw"}]]);const z4=le("ChartColumn",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]]);const M4=le("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);const _4=le("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);const D4=le("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);const R4=le("ChevronsDown",[["path",{d:"m7 6 5 5 5-5",key:"1lc07p"}],["path",{d:"m7 13 5 5 5-5",key:"1d48rs"}]]);const O4=le("ChevronsUp",[["path",{d:"m17 11-5-5-5 5",key:"e8nh98"}],["path",{d:"m17 18-5-5-5 5",key:"2avn1x"}]]);const N4=le("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);const L4=le("CircleDot",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}]]);const U4=le("CircleX",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);const B4=le("Circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);const j4=le("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);const H4=le("Command",[["path",{d:"M15 6v12a3 3 0 1 0 3-3H6a3 3 0 1 0 3 3V6a3 3 0 1 0-3 3h12a3 3 0 1 0-3-3",key:"11bfej"}]]);const q4=le("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);const V4=le("Cpu",[["rect",{width:"16",height:"16",x:"4",y:"4",rx:"2",key:"14l7u7"}],["rect",{width:"6",height:"6",x:"9",y:"9",rx:"1",key:"5aljv4"}],["path",{d:"M15 2v2",key:"13l42r"}],["path",{d:"M15 20v2",key:"15mkzm"}],["path",{d:"M2 15h2",key:"1gxd5l"}],["path",{d:"M2 9h2",key:"1bbxkp"}],["path",{d:"M20 15h2",key:"19e6y8"}],["path",{d:"M20 9h2",key:"19tzq7"}],["path",{d:"M9 2v2",key:"165o2o"}],["path",{d:"M9 20v2",key:"i2bqo8"}]]);const Y4=le("Database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]]);const G4=le("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);const X4=le("EyeOff",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);const F4=le("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);const I4=le("FileCode2",[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m5 12-3 3 3 3",key:"oke12k"}],["path",{d:"m9 18 3-3-3-3",key:"112psh"}]]);const Q4=le("FilePen",[["path",{d:"M12.5 22H18a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v9.5",key:"1couwa"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M13.378 15.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"1y4qbx"}]]);const Z4=le("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);const K4=le("FolderOpen",[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]]);const P4=le("Folder",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]]);const J4=le("Gauge",[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]]);const W4=le("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);const $4=le("Hash",[["line",{x1:"4",x2:"20",y1:"9",y2:"9",key:"4lhtct"}],["line",{x1:"4",x2:"20",y1:"15",y2:"15",key:"vyu0kd"}],["line",{x1:"10",x2:"8",y1:"3",y2:"21",key:"1ggp8o"}],["line",{x1:"16",x2:"14",y1:"3",y2:"21",key:"weycgp"}]]);const eT=le("History",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]]);const tT=le("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);const nT=le("KeyRound",[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]]);const lT=le("Key",[["path",{d:"m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4",key:"g0fldk"}],["path",{d:"m21 2-9.6 9.6",key:"1j0ho8"}],["circle",{cx:"7.5",cy:"15.5",r:"5.5",key:"yqb3hr"}]]);const rT=le("Keyboard",[["path",{d:"M10 8h.01",key:"1r9ogq"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M14 8h.01",key:"1primd"}],["path",{d:"M16 12h.01",key:"1l6xoz"}],["path",{d:"M18 8h.01",key:"emo2bl"}],["path",{d:"M6 8h.01",key:"x9i8wu"}],["path",{d:"M7 16h10",key:"wp8him"}],["path",{d:"M8 12h.01",key:"czm47f"}],["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}]]);const iT=le("ListTodo",[["rect",{x:"3",y:"5",width:"6",height:"6",rx:"1",key:"1defrl"}],["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"M13 6h8",key:"15sg57"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 18h8",key:"oe0vm4"}]]);const aT=le("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);const uT=le("LogIn",[["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}],["polyline",{points:"10 17 15 12 10 7",key:"1ail0h"}],["line",{x1:"15",x2:"3",y1:"12",y2:"12",key:"v6grx8"}]]);const oT=le("LogOut",[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]]);const cT=le("Maximize2",[["polyline",{points:"15 3 21 3 21 9",key:"mznyad"}],["polyline",{points:"9 21 3 21 3 15",key:"1avn1i"}],["line",{x1:"21",x2:"14",y1:"3",y2:"10",key:"ota7mn"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]]);const sT=le("MessageSquareWarning",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}],["path",{d:"M12 7v2",key:"stiyo7"}],["path",{d:"M12 13h.01",key:"y0uutt"}]]);const fT=le("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]]);const dT=le("Monitor",[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]]);const hT=le("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);const pT=le("Network",[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]]);const mT=le("Palette",[["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["path",{d:"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 0 1 1.668-1.668h1.996c3.051 0 5.555-2.503 5.555-5.554C21.965 6.012 17.461 2 12 2z",key:"12rzf8"}]]);const gT=le("PanelLeftClose",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m16 15-3-3 3-3",key:"14y99z"}]]);const yT=le("PanelLeftOpen",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m14 9 3 3-3 3",key:"8010ee"}]]);const vT=le("Pause",[["rect",{x:"14",y:"4",width:"4",height:"16",rx:"1",key:"zuxfzm"}],["rect",{x:"6",y:"4",width:"4",height:"16",rx:"1",key:"1okwgv"}]]);const bT=le("Pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]);const ST=le("PinOff",[["path",{d:"M12 17v5",key:"bb1du9"}],["path",{d:"M15 9.34V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H7.89",key:"znwnzq"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M9 9v1.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h11",key:"c9qhm2"}]]);const xT=le("Pin",[["path",{d:"M12 17v5",key:"bb1du9"}],["path",{d:"M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z",key:"1nkz8b"}]]);const ET=le("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);const kT=le("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);const CT=le("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);const wT=le("RotateCcw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);const AT=le("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);const TT=le("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);const zT=le("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);const MT=le("ShieldAlert",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]]);const _T=le("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);const DT=le("Square",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]]);const RT=le("Star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);const OT=le("Stethoscope",[["path",{d:"M11 2v2",key:"1539x4"}],["path",{d:"M5 2v2",key:"1yf1q8"}],["path",{d:"M5 3H4a2 2 0 0 0-2 2v4a6 6 0 0 0 12 0V5a2 2 0 0 0-2-2h-1",key:"rb5t3r"}],["path",{d:"M8 15a6 6 0 0 0 12 0v-3",key:"x18d4x"}],["circle",{cx:"20",cy:"10",r:"2",key:"ts1r5v"}]]);const NT=le("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);const LT=le("Terminal",[["polyline",{points:"4 17 10 11 4 5",key:"akl6gq"}],["line",{x1:"12",x2:"20",y1:"19",y2:"19",key:"q2wloq"}]]);const UT=le("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);const BT=le("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);const jT=le("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);const HT=le("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);const qT=le("Volume2",[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]]);const VT=le("VolumeX",[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["line",{x1:"22",x2:"16",y1:"9",y2:"15",key:"1ewh16"}],["line",{x1:"16",x2:"22",y1:"9",y2:"15",key:"5ykzw1"}]]);const YT=le("WifiOff",[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}],["path",{d:"M5 12.859a10 10 0 0 1 5.17-2.69",key:"1dl1wf"}],["path",{d:"M19 12.859a10 10 0 0 0-2.007-1.523",key:"4k23kn"}],["path",{d:"M2 8.82a15 15 0 0 1 4.177-2.643",key:"1grhjp"}],["path",{d:"M22 8.82a15 15 0 0 0-11.288-3.764",key:"z3jwby"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);const GT=le("Wifi",[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M2 8.82a15 15 0 0 1 20 0",key:"dnpr2z"}],["path",{d:"M5 12.859a10 10 0 0 1 14 0",key:"1x1e6c"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}]]);const XT=le("Wrench",[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z",key:"cbrjhi"}]]);const FT=le("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);const IT=le("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]);function eg(n,r){if(typeof n=="function")return n(r);n!=null&&(n.current=r)}function gf(...n){return r=>{let i=!1;const u=n.map(o=>{const c=eg(o,r);return!i&&typeof c=="function"&&(i=!0),c});if(i)return()=>{for(let o=0;o<u.length;o++){const c=u[o];typeof c=="function"?c():eg(n[o],null)}}}}function St(...n){return M.useCallback(gf(...n),n)}var R2=Symbol.for("react.lazy"),Bu=pf[" use ".trim().toString()];function O2(n){return typeof n=="object"&&n!==null&&"then"in n}function h1(n){return n!=null&&typeof n=="object"&&"$$typeof"in n&&n.$$typeof===R2&&"_payload"in n&&O2(n._payload)}function N2(n){const r=L2(n),i=M.forwardRef((u,o)=>{let{children:c,...f}=u;h1(c)&&typeof Bu=="function"&&(c=Bu(c._payload));const h=M.Children.toArray(c),m=h.find(B2);if(m){const p=m.props.children,y=h.map(g=>g===m?M.Children.count(p)>1?M.Children.only(null):M.isValidElement(p)?p.props.children:null:g);return te.jsx(r,{...f,ref:o,children:M.isValidElement(p)?M.cloneElement(p,void 0,y):null})}return te.jsx(r,{...f,ref:o,children:c})});return i.displayName=`${n}.Slot`,i}var QT=N2("Slot");function L2(n){const r=M.forwardRef((i,u)=>{let{children:o,...c}=i;if(h1(o)&&typeof Bu=="function"&&(o=Bu(o._payload)),M.isValidElement(o)){const f=H2(o),h=j2(c,o.props);return o.type!==M.Fragment&&(h.ref=u?gf(u,f):f),M.cloneElement(o,h)}return M.Children.count(o)>1?M.Children.only(null):null});return r.displayName=`${n}.SlotClone`,r}var U2=Symbol("radix.slottable");function B2(n){return M.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===U2}function j2(n,r){const i={...r};for(const u in r){const o=n[u],c=r[u];/^on[A-Z]/.test(u)?o&&c?i[u]=(...h)=>{const m=c(...h);return o(...h),m}:o&&(i[u]=o):u==="style"?i[u]={...o,...c}:u==="className"&&(i[u]=[o,c].filter(Boolean).join(" "))}return{...n,...i}}function H2(n){let r=Object.getOwnPropertyDescriptor(n.props,"ref")?.get,i=r&&"isReactWarning"in r&&r.isReactWarning;return i?n.ref:(r=Object.getOwnPropertyDescriptor(n,"ref")?.get,i=r&&"isReactWarning"in r&&r.isReactWarning,i?n.props.ref:n.props.ref||n.ref)}const tg=n=>typeof n=="boolean"?`${n}`:n===0?"0":n,ng=Jb,ZT=(n,r)=>i=>{var u;if(r?.variants==null)return ng(n,i?.class,i?.className);const{variants:o,defaultVariants:c}=r,f=Object.keys(o).map(p=>{const y=i?.[p],g=c?.[p];if(y===null)return null;const b=tg(y)||tg(g);return o[p][b]}),h=i&&Object.entries(i).reduce((p,y)=>{let[g,b]=y;return b===void 0||(p[g]=b),p},{}),m=r==null||(u=r.compoundVariants)===null||u===void 0?void 0:u.reduce((p,y)=>{let{class:g,className:b,...S}=y;return Object.entries(S).every(k=>{let[w,A]=k;return Array.isArray(A)?A.includes({...c,...h}[w]):{...c,...h}[w]===A})?[...p,g,b]:p},[]);return ng(n,f,m,i?.class,i?.className)};function q2(n,r){const i={};return(n[n.length-1]===""?[...n,""]:n).join((i.padRight?" ":"")+","+(i.padLeft===!1?"":" ")).trim()}const V2=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Y2=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,G2={};function lg(n,r){return(G2.jsx?Y2:V2).test(n)}const X2=/[ \t\n\f\r]/g;function F2(n){return typeof n=="object"?n.type==="text"?rg(n.value):!1:rg(n)}function rg(n){return n.replace(X2,"")===""}class ta{constructor(r,i,u){this.normal=i,this.property=r,u&&(this.space=u)}}ta.prototype.normal={};ta.prototype.property={};ta.prototype.space=void 0;function p1(n,r){const i={},u={};for(const o of n)Object.assign(i,o.property),Object.assign(u,o.normal);return new ta(i,u,r)}function Ws(n){return n.toLowerCase()}class Lt{constructor(r,i){this.attribute=i,this.property=r}}Lt.prototype.attribute="";Lt.prototype.booleanish=!1;Lt.prototype.boolean=!1;Lt.prototype.commaOrSpaceSeparated=!1;Lt.prototype.commaSeparated=!1;Lt.prototype.defined=!1;Lt.prototype.mustUseProperty=!1;Lt.prototype.number=!1;Lt.prototype.overloadedBoolean=!1;Lt.prototype.property="";Lt.prototype.spaceSeparated=!1;Lt.prototype.space=void 0;let I2=0;const ke=Gl(),ut=Gl(),$s=Gl(),W=Gl(),Ie=Gl(),Hr=Gl(),Xt=Gl();function Gl(){return 2**++I2}const ef=Object.freeze(Object.defineProperty({__proto__:null,boolean:ke,booleanish:ut,commaOrSpaceSeparated:Xt,commaSeparated:Hr,number:W,overloadedBoolean:$s,spaceSeparated:Ie},Symbol.toStringTag,{value:"Module"})),ws=Object.keys(ef);class yf extends Lt{constructor(r,i,u,o){let c=-1;if(super(r,i),ig(this,"space",o),typeof u=="number")for(;++c<ws.length;){const f=ws[c];ig(this,ws[c],(u&ef[f])===ef[f])}}}yf.prototype.defined=!0;function ig(n,r,i){i&&(n[r]=i)}function Fr(n){const r={},i={};for(const[u,o]of Object.entries(n.properties)){const c=new yf(u,n.transform(n.attributes||{},u),o,n.space);n.mustUseProperty&&n.mustUseProperty.includes(u)&&(c.mustUseProperty=!0),r[u]=c,i[Ws(u)]=u,i[Ws(c.attribute)]=u}return new ta(r,i,n.space)}const m1=Fr({properties:{ariaActiveDescendant:null,ariaAtomic:ut,ariaAutoComplete:null,ariaBusy:ut,ariaChecked:ut,ariaColCount:W,ariaColIndex:W,ariaColSpan:W,ariaControls:Ie,ariaCurrent:null,ariaDescribedBy:Ie,ariaDetails:null,ariaDisabled:ut,ariaDropEffect:Ie,ariaErrorMessage:null,ariaExpanded:ut,ariaFlowTo:Ie,ariaGrabbed:ut,ariaHasPopup:null,ariaHidden:ut,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ie,ariaLevel:W,ariaLive:null,ariaModal:ut,ariaMultiLine:ut,ariaMultiSelectable:ut,ariaOrientation:null,ariaOwns:Ie,ariaPlaceholder:null,ariaPosInSet:W,ariaPressed:ut,ariaReadOnly:ut,ariaRelevant:null,ariaRequired:ut,ariaRoleDescription:Ie,ariaRowCount:W,ariaRowIndex:W,ariaRowSpan:W,ariaSelected:ut,ariaSetSize:W,ariaSort:null,ariaValueMax:W,ariaValueMin:W,ariaValueNow:W,ariaValueText:null,role:null},transform(n,r){return r==="role"?r:"aria-"+r.slice(4).toLowerCase()}});function g1(n,r){return r in n?n[r]:r}function y1(n,r){return g1(n,r.toLowerCase())}const Q2=Fr({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Hr,acceptCharset:Ie,accessKey:Ie,action:null,allow:null,allowFullScreen:ke,allowPaymentRequest:ke,allowUserMedia:ke,alt:null,as:null,async:ke,autoCapitalize:null,autoComplete:Ie,autoFocus:ke,autoPlay:ke,blocking:Ie,capture:null,charSet:null,checked:ke,cite:null,className:Ie,cols:W,colSpan:null,content:null,contentEditable:ut,controls:ke,controlsList:Ie,coords:W|Hr,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ke,defer:ke,dir:null,dirName:null,disabled:ke,download:$s,draggable:ut,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ke,formTarget:null,headers:Ie,height:W,hidden:$s,high:W,href:null,hrefLang:null,htmlFor:Ie,httpEquiv:Ie,id:null,imageSizes:null,imageSrcSet:null,inert:ke,inputMode:null,integrity:null,is:null,isMap:ke,itemId:null,itemProp:Ie,itemRef:Ie,itemScope:ke,itemType:Ie,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ke,low:W,manifest:null,max:null,maxLength:W,media:null,method:null,min:null,minLength:W,multiple:ke,muted:ke,name:null,nonce:null,noModule:ke,noValidate:ke,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:ke,optimum:W,pattern:null,ping:Ie,placeholder:null,playsInline:ke,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ke,referrerPolicy:null,rel:Ie,required:ke,reversed:ke,rows:W,rowSpan:W,sandbox:Ie,scope:null,scoped:ke,seamless:ke,selected:ke,shadowRootClonable:ke,shadowRootDelegatesFocus:ke,shadowRootMode:null,shape:null,size:W,sizes:null,slot:null,span:W,spellCheck:ut,src:null,srcDoc:null,srcLang:null,srcSet:null,start:W,step:null,style:null,tabIndex:W,target:null,title:null,translate:null,type:null,typeMustMatch:ke,useMap:null,value:ut,width:W,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Ie,axis:null,background:null,bgColor:null,border:W,borderColor:null,bottomMargin:W,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ke,declare:ke,event:null,face:null,frame:null,frameBorder:null,hSpace:W,leftMargin:W,link:null,longDesc:null,lowSrc:null,marginHeight:W,marginWidth:W,noResize:ke,noHref:ke,noShade:ke,noWrap:ke,object:null,profile:null,prompt:null,rev:null,rightMargin:W,rules:null,scheme:null,scrolling:ut,standby:null,summary:null,text:null,topMargin:W,valueType:null,version:null,vAlign:null,vLink:null,vSpace:W,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ke,disableRemotePlayback:ke,prefix:null,property:null,results:W,security:null,unselectable:null},space:"html",transform:y1}),Z2=Fr({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",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",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",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",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",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",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Xt,accentHeight:W,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:W,amplitude:W,arabicForm:null,ascent:W,attributeName:null,attributeType:null,azimuth:W,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:W,by:null,calcMode:null,capHeight:W,className:Ie,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:W,diffuseConstant:W,direction:null,display:null,dur:null,divisor:W,dominantBaseline:null,download:ke,dx:null,dy:null,edgeMode:null,editable:null,elevation:W,enableBackground:null,end:null,event:null,exponent:W,externalResourcesRequired:null,fill:null,fillOpacity:W,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Hr,g2:Hr,glyphName:Hr,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:W,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:W,horizOriginX:W,horizOriginY:W,id:null,ideographic:W,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:W,k:W,k1:W,k2:W,k3:W,k4:W,kernelMatrix:Xt,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:W,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:W,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:W,overlineThickness:W,paintOrder:null,panose1:null,path:null,pathLength:W,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Ie,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:W,pointsAtY:W,pointsAtZ:W,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Xt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Xt,rev:Xt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Xt,requiredFeatures:Xt,requiredFonts:Xt,requiredFormats:Xt,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:W,specularExponent:W,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:W,strikethroughThickness:W,string:null,stroke:null,strokeDashArray:Xt,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:W,strokeOpacity:W,strokeWidth:null,style:null,surfaceScale:W,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Xt,tabIndex:W,tableValues:null,target:null,targetX:W,targetY:W,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Xt,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:W,underlineThickness:W,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:W,values:null,vAlphabetic:W,vMathematical:W,vectorEffect:null,vHanging:W,vIdeographic:W,version:null,vertAdvY:W,vertOriginX:W,vertOriginY:W,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:W,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:g1}),v1=Fr({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(n,r){return"xlink:"+r.slice(5).toLowerCase()}}),b1=Fr({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:y1}),S1=Fr({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(n,r){return"xml:"+r.slice(3).toLowerCase()}}),K2={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},P2=/[A-Z]/g,ag=/-[a-z]/g,J2=/^data[-\w.:]+$/i;function W2(n,r){const i=Ws(r);let u=r,o=Lt;if(i in n.normal)return n.property[n.normal[i]];if(i.length>4&&i.slice(0,4)==="data"&&J2.test(r)){if(r.charAt(4)==="-"){const c=r.slice(5).replace(ag,eS);u="data"+c.charAt(0).toUpperCase()+c.slice(1)}else{const c=r.slice(4);if(!ag.test(c)){let f=c.replace(P2,$2);f.charAt(0)!=="-"&&(f="-"+f),r="data"+f}}o=yf}return new o(u,r)}function $2(n){return"-"+n.toLowerCase()}function eS(n){return n.charAt(1).toUpperCase()}const tS=p1([m1,Q2,v1,b1,S1],"html"),vf=p1([m1,Z2,v1,b1,S1],"svg");function nS(n){return n.join(" ").trim()}var Rr={},As,ug;function lS(){if(ug)return As;ug=1;var n=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,i=/^\s*/,u=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,c=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,f=/^[;\s]*/,h=/^\s+|\s+$/g,m=`
10
+ `,p="/",y="*",g="",b="comment",S="declaration";function k(A,T){if(typeof A!="string")throw new TypeError("First argument must be a string");if(!A)return[];T=T||{};var q=1,O=1;function G(ue){var ee=ue.match(r);ee&&(q+=ee.length);var L=ue.lastIndexOf(m);O=~L?ue.length-L:O+ue.length}function P(){var ue={line:q,column:O};return function(ee){return ee.position=new U(ue),ie(),ee}}function U(ue){this.start=ue,this.end={line:q,column:O},this.source=T.source}U.prototype.content=A;function Q(ue){var ee=new Error(T.source+":"+q+":"+O+": "+ue);if(ee.reason=ue,ee.filename=T.source,ee.line=q,ee.column=O,ee.source=A,!T.silent)throw ee}function re(ue){var ee=ue.exec(A);if(ee){var L=ee[0];return G(L),A=A.slice(L.length),ee}}function ie(){re(i)}function N(ue){var ee;for(ue=ue||[];ee=$();)ee!==!1&&ue.push(ee);return ue}function $(){var ue=P();if(!(p!=A.charAt(0)||y!=A.charAt(1))){for(var ee=2;g!=A.charAt(ee)&&(y!=A.charAt(ee)||p!=A.charAt(ee+1));)++ee;if(ee+=2,g===A.charAt(ee-1))return Q("End of comment missing");var L=A.slice(2,ee-2);return O+=2,G(L),A=A.slice(ee),O+=2,ue({type:b,comment:L})}}function K(){var ue=P(),ee=re(u);if(ee){if($(),!re(o))return Q("property missing ':'");var L=re(c),J=ue({type:S,property:w(ee[0].replace(n,g)),value:L?w(L[0].replace(n,g)):g});return re(f),J}}function be(){var ue=[];N(ue);for(var ee;ee=K();)ee!==!1&&(ue.push(ee),N(ue));return ue}return ie(),be()}function w(A){return A?A.replace(h,g):g}return As=k,As}var og;function rS(){if(og)return Rr;og=1;var n=Rr&&Rr.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(Rr,"__esModule",{value:!0}),Rr.default=i;const r=n(lS());function i(u,o){let c=null;if(!u||typeof u!="string")return c;const f=(0,r.default)(u),h=typeof o=="function";return f.forEach(m=>{if(m.type!=="declaration")return;const{property:p,value:y}=m;h?o(p,y,m):y&&(c=c||{},c[p]=y)}),c}return Rr}var Xi={},cg;function iS(){if(cg)return Xi;cg=1,Object.defineProperty(Xi,"__esModule",{value:!0}),Xi.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,r=/-([a-z])/g,i=/^[^-]+$/,u=/^-(webkit|moz|ms|o|khtml)-/,o=/^-(ms)-/,c=function(p){return!p||i.test(p)||n.test(p)},f=function(p,y){return y.toUpperCase()},h=function(p,y){return"".concat(y,"-")},m=function(p,y){return y===void 0&&(y={}),c(p)?p:(p=p.toLowerCase(),y.reactCompat?p=p.replace(o,h):p=p.replace(u,h),p.replace(r,f))};return Xi.camelCase=m,Xi}var Fi,sg;function aS(){if(sg)return Fi;sg=1;var n=Fi&&Fi.__importDefault||function(o){return o&&o.__esModule?o:{default:o}},r=n(rS()),i=iS();function u(o,c){var f={};return!o||typeof o!="string"||(0,r.default)(o,function(h,m){h&&m&&(f[(0,i.camelCase)(h,c)]=m)}),f}return u.default=u,Fi=u,Fi}var uS=aS();const oS=ea(uS),x1=E1("end"),bf=E1("start");function E1(n){return r;function r(i){const u=i&&i.position&&i.position[n]||{};if(typeof u.line=="number"&&u.line>0&&typeof u.column=="number"&&u.column>0)return{line:u.line,column:u.column,offset:typeof u.offset=="number"&&u.offset>-1?u.offset:void 0}}}function cS(n){const r=bf(n),i=x1(n);if(r&&i)return{start:r,end:i}}function Zi(n){return!n||typeof n!="object"?"":"position"in n||"type"in n?fg(n.position):"start"in n||"end"in n?fg(n):"line"in n||"column"in n?tf(n):""}function tf(n){return dg(n&&n.line)+":"+dg(n&&n.column)}function fg(n){return tf(n&&n.start)+"-"+tf(n&&n.end)}function dg(n){return n&&typeof n=="number"?n:1}class xt extends Error{constructor(r,i,u){super(),typeof i=="string"&&(u=i,i=void 0);let o="",c={},f=!1;if(i&&("line"in i&&"column"in i?c={place:i}:"start"in i&&"end"in i?c={place:i}:"type"in i?c={ancestors:[i],place:i.position}:c={...i}),typeof r=="string"?o=r:!c.cause&&r&&(f=!0,o=r.message,c.cause=r),!c.ruleId&&!c.source&&typeof u=="string"){const m=u.indexOf(":");m===-1?c.ruleId=u:(c.source=u.slice(0,m),c.ruleId=u.slice(m+1))}if(!c.place&&c.ancestors&&c.ancestors){const m=c.ancestors[c.ancestors.length-1];m&&(c.place=m.position)}const h=c.place&&"start"in c.place?c.place.start:c.place;this.ancestors=c.ancestors||void 0,this.cause=c.cause||void 0,this.column=h?h.column:void 0,this.fatal=void 0,this.file="",this.message=o,this.line=h?h.line:void 0,this.name=Zi(c.place)||"1:1",this.place=c.place||void 0,this.reason=this.message,this.ruleId=c.ruleId||void 0,this.source=c.source||void 0,this.stack=f&&c.cause&&typeof c.cause.stack=="string"?c.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}xt.prototype.file="";xt.prototype.name="";xt.prototype.reason="";xt.prototype.message="";xt.prototype.stack="";xt.prototype.column=void 0;xt.prototype.line=void 0;xt.prototype.ancestors=void 0;xt.prototype.cause=void 0;xt.prototype.fatal=void 0;xt.prototype.place=void 0;xt.prototype.ruleId=void 0;xt.prototype.source=void 0;const Sf={}.hasOwnProperty,sS=new Map,fS=/[A-Z]/g,dS=new Set(["table","tbody","thead","tfoot","tr"]),hS=new Set(["td","th"]),k1="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function pS(n,r){if(!r||r.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const i=r.filePath||void 0;let u;if(r.development){if(typeof r.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");u=ES(i,r.jsxDEV)}else{if(typeof r.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof r.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");u=xS(i,r.jsx,r.jsxs)}const o={Fragment:r.Fragment,ancestors:[],components:r.components||{},create:u,elementAttributeNameCase:r.elementAttributeNameCase||"react",evaluater:r.createEvaluater?r.createEvaluater():void 0,filePath:i,ignoreInvalidStyle:r.ignoreInvalidStyle||!1,passKeys:r.passKeys!==!1,passNode:r.passNode||!1,schema:r.space==="svg"?vf:tS,stylePropertyNameCase:r.stylePropertyNameCase||"dom",tableCellAlignToStyle:r.tableCellAlignToStyle!==!1},c=C1(o,n,void 0);return c&&typeof c!="string"?c:o.create(n,o.Fragment,{children:c||void 0},void 0)}function C1(n,r,i){if(r.type==="element")return mS(n,r,i);if(r.type==="mdxFlowExpression"||r.type==="mdxTextExpression")return gS(n,r);if(r.type==="mdxJsxFlowElement"||r.type==="mdxJsxTextElement")return vS(n,r,i);if(r.type==="mdxjsEsm")return yS(n,r);if(r.type==="root")return bS(n,r,i);if(r.type==="text")return SS(n,r)}function mS(n,r,i){const u=n.schema;let o=u;r.tagName.toLowerCase()==="svg"&&u.space==="html"&&(o=vf,n.schema=o),n.ancestors.push(r);const c=A1(n,r.tagName,!1),f=kS(n,r);let h=Ef(n,r);return dS.has(r.tagName)&&(h=h.filter(function(m){return typeof m=="string"?!F2(m):!0})),w1(n,f,c,r),xf(f,h),n.ancestors.pop(),n.schema=u,n.create(r,c,f,i)}function gS(n,r){if(r.data&&r.data.estree&&n.evaluater){const u=r.data.estree.body[0];return u.type,n.evaluater.evaluateExpression(u.expression)}Wi(n,r.position)}function yS(n,r){if(r.data&&r.data.estree&&n.evaluater)return n.evaluater.evaluateProgram(r.data.estree);Wi(n,r.position)}function vS(n,r,i){const u=n.schema;let o=u;r.name==="svg"&&u.space==="html"&&(o=vf,n.schema=o),n.ancestors.push(r);const c=r.name===null?n.Fragment:A1(n,r.name,!0),f=CS(n,r),h=Ef(n,r);return w1(n,f,c,r),xf(f,h),n.ancestors.pop(),n.schema=u,n.create(r,c,f,i)}function bS(n,r,i){const u={};return xf(u,Ef(n,r)),n.create(r,n.Fragment,u,i)}function SS(n,r){return r.value}function w1(n,r,i,u){typeof i!="string"&&i!==n.Fragment&&n.passNode&&(r.node=u)}function xf(n,r){if(r.length>0){const i=r.length>1?r:r[0];i&&(n.children=i)}}function xS(n,r,i){return u;function u(o,c,f,h){const p=Array.isArray(f.children)?i:r;return h?p(c,f,h):p(c,f)}}function ES(n,r){return i;function i(u,o,c,f){const h=Array.isArray(c.children),m=bf(u);return r(o,c,f,h,{columnNumber:m?m.column-1:void 0,fileName:n,lineNumber:m?m.line:void 0},void 0)}}function kS(n,r){const i={};let u,o;for(o in r.properties)if(o!=="children"&&Sf.call(r.properties,o)){const c=wS(n,o,r.properties[o]);if(c){const[f,h]=c;n.tableCellAlignToStyle&&f==="align"&&typeof h=="string"&&hS.has(r.tagName)?u=h:i[f]=h}}if(u){const c=i.style||(i.style={});c[n.stylePropertyNameCase==="css"?"text-align":"textAlign"]=u}return i}function CS(n,r){const i={};for(const u of r.attributes)if(u.type==="mdxJsxExpressionAttribute")if(u.data&&u.data.estree&&n.evaluater){const c=u.data.estree.body[0];c.type;const f=c.expression;f.type;const h=f.properties[0];h.type,Object.assign(i,n.evaluater.evaluateExpression(h.argument))}else Wi(n,r.position);else{const o=u.name;let c;if(u.value&&typeof u.value=="object")if(u.value.data&&u.value.data.estree&&n.evaluater){const h=u.value.data.estree.body[0];h.type,c=n.evaluater.evaluateExpression(h.expression)}else Wi(n,r.position);else c=u.value===null?!0:u.value;i[o]=c}return i}function Ef(n,r){const i=[];let u=-1;const o=n.passKeys?new Map:sS;for(;++u<r.children.length;){const c=r.children[u];let f;if(n.passKeys){const m=c.type==="element"?c.tagName:c.type==="mdxJsxFlowElement"||c.type==="mdxJsxTextElement"?c.name:void 0;if(m){const p=o.get(m)||0;f=m+"-"+p,o.set(m,p+1)}}const h=C1(n,c,f);h!==void 0&&i.push(h)}return i}function wS(n,r,i){const u=W2(n.schema,r);if(!(i==null||typeof i=="number"&&Number.isNaN(i))){if(Array.isArray(i)&&(i=u.commaSeparated?q2(i):nS(i)),u.property==="style"){let o=typeof i=="object"?i:AS(n,String(i));return n.stylePropertyNameCase==="css"&&(o=TS(o)),["style",o]}return[n.elementAttributeNameCase==="react"&&u.space?K2[u.property]||u.property:u.attribute,i]}}function AS(n,r){try{return oS(r,{reactCompat:!0})}catch(i){if(n.ignoreInvalidStyle)return{};const u=i,o=new xt("Cannot parse `style` attribute",{ancestors:n.ancestors,cause:u,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw o.file=n.filePath||void 0,o.url=k1+"#cannot-parse-style-attribute",o}}function A1(n,r,i){let u;if(!i)u={type:"Literal",value:r};else if(r.includes(".")){const o=r.split(".");let c=-1,f;for(;++c<o.length;){const h=lg(o[c])?{type:"Identifier",name:o[c]}:{type:"Literal",value:o[c]};f=f?{type:"MemberExpression",object:f,property:h,computed:!!(c&&h.type==="Literal"),optional:!1}:h}u=f}else u=lg(r)&&!/^[a-z]/.test(r)?{type:"Identifier",name:r}:{type:"Literal",value:r};if(u.type==="Literal"){const o=u.value;return Sf.call(n.components,o)?n.components[o]:o}if(n.evaluater)return n.evaluater.evaluateExpression(u);Wi(n)}function Wi(n,r){const i=new xt("Cannot handle MDX estrees without `createEvaluater`",{ancestors:n.ancestors,place:r,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw i.file=n.filePath||void 0,i.url=k1+"#cannot-handle-mdx-estrees-without-createevaluater",i}function TS(n){const r={};let i;for(i in n)Sf.call(n,i)&&(r[zS(i)]=n[i]);return r}function zS(n){let r=n.replace(fS,MS);return r.slice(0,3)==="ms-"&&(r="-"+r),r}function MS(n){return"-"+n.toLowerCase()}const Ts={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},_S={};function kf(n,r){const i=_S,u=typeof i.includeImageAlt=="boolean"?i.includeImageAlt:!0,o=typeof i.includeHtml=="boolean"?i.includeHtml:!0;return T1(n,u,o)}function T1(n,r,i){if(DS(n)){if("value"in n)return n.type==="html"&&!i?"":n.value;if(r&&"alt"in n&&n.alt)return n.alt;if("children"in n)return hg(n.children,r,i)}return Array.isArray(n)?hg(n,r,i):""}function hg(n,r,i){const u=[];let o=-1;for(;++o<n.length;)u[o]=T1(n[o],r,i);return u.join("")}function DS(n){return!!(n&&typeof n=="object")}const pg=document.createElement("i");function Cf(n){const r="&"+n+";";pg.innerHTML=r;const i=pg.textContent;return i.charCodeAt(i.length-1)===59&&n!=="semi"||i===r?!1:i}function It(n,r,i,u){const o=n.length;let c=0,f;if(r<0?r=-r>o?0:o+r:r=r>o?o:r,i=i>0?i:0,u.length<1e4)f=Array.from(u),f.unshift(r,i),n.splice(...f);else for(i&&n.splice(r,i);c<u.length;)f=u.slice(c,c+1e4),f.unshift(r,0),n.splice(...f),c+=1e4,r+=1e4}function an(n,r){return n.length>0?(It(n,n.length,0,r),n):r}const mg={}.hasOwnProperty;function z1(n){const r={};let i=-1;for(;++i<n.length;)RS(r,n[i]);return r}function RS(n,r){let i;for(i in r){const o=(mg.call(n,i)?n[i]:void 0)||(n[i]={}),c=r[i];let f;if(c)for(f in c){mg.call(o,f)||(o[f]=[]);const h=c[f];OS(o[f],Array.isArray(h)?h:h?[h]:[])}}}function OS(n,r){let i=-1;const u=[];for(;++i<r.length;)(r[i].add==="after"?n:u).push(r[i]);It(n,0,0,u)}function M1(n,r){const i=Number.parseInt(n,r);return i<9||i===11||i>13&&i<32||i>126&&i<160||i>55295&&i<57344||i>64975&&i<65008||(i&65535)===65535||(i&65535)===65534||i>1114111?"�":String.fromCodePoint(i)}function dn(n){return n.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const wt=xl(/[A-Za-z]/),bt=xl(/[\dA-Za-z]/),NS=xl(/[#-'*+\--9=?A-Z^-~]/);function ju(n){return n!==null&&(n<32||n===127)}const nf=xl(/\d/),LS=xl(/[\dA-Fa-f]/),US=xl(/[!-/:-@[-`{-~]/);function he(n){return n!==null&&n<-2}function Fe(n){return n!==null&&(n<0||n===32)}function Te(n){return n===-2||n===-1||n===32}const Iu=xl(new RegExp("\\p{P}|\\p{S}","u")),Vl=xl(/\s/);function xl(n){return r;function r(i){return i!==null&&i>-1&&n.test(String.fromCharCode(i))}}function Ir(n){const r=[];let i=-1,u=0,o=0;for(;++i<n.length;){const c=n.charCodeAt(i);let f="";if(c===37&&bt(n.charCodeAt(i+1))&&bt(n.charCodeAt(i+2)))o=2;else if(c<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(c))||(f=String.fromCharCode(c));else if(c>55295&&c<57344){const h=n.charCodeAt(i+1);c<56320&&h>56319&&h<57344?(f=String.fromCharCode(c,h),o=1):f="�"}else f=String.fromCharCode(c);f&&(r.push(n.slice(u,i),encodeURIComponent(f)),u=i+o+1,f=""),o&&(i+=o,o=0)}return r.join("")+n.slice(u)}function Re(n,r,i,u){const o=u?u-1:Number.POSITIVE_INFINITY;let c=0;return f;function f(m){return Te(m)?(n.enter(i),h(m)):r(m)}function h(m){return Te(m)&&c++<o?(n.consume(m),h):(n.exit(i),r(m))}}const BS={tokenize:jS};function jS(n){const r=n.attempt(this.parser.constructs.contentInitial,u,o);let i;return r;function u(h){if(h===null){n.consume(h);return}return n.enter("lineEnding"),n.consume(h),n.exit("lineEnding"),Re(n,r,"linePrefix")}function o(h){return n.enter("paragraph"),c(h)}function c(h){const m=n.enter("chunkText",{contentType:"text",previous:i});return i&&(i.next=m),i=m,f(h)}function f(h){if(h===null){n.exit("chunkText"),n.exit("paragraph"),n.consume(h);return}return he(h)?(n.consume(h),n.exit("chunkText"),c):(n.consume(h),f)}}const HS={tokenize:qS},gg={tokenize:VS};function qS(n){const r=this,i=[];let u=0,o,c,f;return h;function h(O){if(u<i.length){const G=i[u];return r.containerState=G[1],n.attempt(G[0].continuation,m,p)(O)}return p(O)}function m(O){if(u++,r.containerState._closeFlow){r.containerState._closeFlow=void 0,o&&q();const G=r.events.length;let P=G,U;for(;P--;)if(r.events[P][0]==="exit"&&r.events[P][1].type==="chunkFlow"){U=r.events[P][1].end;break}T(u);let Q=G;for(;Q<r.events.length;)r.events[Q][1].end={...U},Q++;return It(r.events,P+1,0,r.events.slice(G)),r.events.length=Q,p(O)}return h(O)}function p(O){if(u===i.length){if(!o)return b(O);if(o.currentConstruct&&o.currentConstruct.concrete)return k(O);r.interrupt=!!(o.currentConstruct&&!o._gfmTableDynamicInterruptHack)}return r.containerState={},n.check(gg,y,g)(O)}function y(O){return o&&q(),T(u),b(O)}function g(O){return r.parser.lazy[r.now().line]=u!==i.length,f=r.now().offset,k(O)}function b(O){return r.containerState={},n.attempt(gg,S,k)(O)}function S(O){return u++,i.push([r.currentConstruct,r.containerState]),b(O)}function k(O){if(O===null){o&&q(),T(0),n.consume(O);return}return o=o||r.parser.flow(r.now()),n.enter("chunkFlow",{_tokenizer:o,contentType:"flow",previous:c}),w(O)}function w(O){if(O===null){A(n.exit("chunkFlow"),!0),T(0),n.consume(O);return}return he(O)?(n.consume(O),A(n.exit("chunkFlow")),u=0,r.interrupt=void 0,h):(n.consume(O),w)}function A(O,G){const P=r.sliceStream(O);if(G&&P.push(null),O.previous=c,c&&(c.next=O),c=O,o.defineSkip(O.start),o.write(P),r.parser.lazy[O.start.line]){let U=o.events.length;for(;U--;)if(o.events[U][1].start.offset<f&&(!o.events[U][1].end||o.events[U][1].end.offset>f))return;const Q=r.events.length;let re=Q,ie,N;for(;re--;)if(r.events[re][0]==="exit"&&r.events[re][1].type==="chunkFlow"){if(ie){N=r.events[re][1].end;break}ie=!0}for(T(u),U=Q;U<r.events.length;)r.events[U][1].end={...N},U++;It(r.events,re+1,0,r.events.slice(Q)),r.events.length=U}}function T(O){let G=i.length;for(;G-- >O;){const P=i[G];r.containerState=P[1],P[0].exit.call(r,n)}i.length=O}function q(){o.write([null]),c=void 0,o=void 0,r.containerState._closeFlow=void 0}}function VS(n,r,i){return Re(n,n.attempt(this.parser.constructs.document,r,i),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Vr(n){if(n===null||Fe(n)||Vl(n))return 1;if(Iu(n))return 2}function Qu(n,r,i){const u=[];let o=-1;for(;++o<n.length;){const c=n[o].resolveAll;c&&!u.includes(c)&&(r=c(r,i),u.push(c))}return r}const lf={name:"attention",resolveAll:YS,tokenize:GS};function YS(n,r){let i=-1,u,o,c,f,h,m,p,y;for(;++i<n.length;)if(n[i][0]==="enter"&&n[i][1].type==="attentionSequence"&&n[i][1]._close){for(u=i;u--;)if(n[u][0]==="exit"&&n[u][1].type==="attentionSequence"&&n[u][1]._open&&r.sliceSerialize(n[u][1]).charCodeAt(0)===r.sliceSerialize(n[i][1]).charCodeAt(0)){if((n[u][1]._close||n[i][1]._open)&&(n[i][1].end.offset-n[i][1].start.offset)%3&&!((n[u][1].end.offset-n[u][1].start.offset+n[i][1].end.offset-n[i][1].start.offset)%3))continue;m=n[u][1].end.offset-n[u][1].start.offset>1&&n[i][1].end.offset-n[i][1].start.offset>1?2:1;const g={...n[u][1].end},b={...n[i][1].start};yg(g,-m),yg(b,m),f={type:m>1?"strongSequence":"emphasisSequence",start:g,end:{...n[u][1].end}},h={type:m>1?"strongSequence":"emphasisSequence",start:{...n[i][1].start},end:b},c={type:m>1?"strongText":"emphasisText",start:{...n[u][1].end},end:{...n[i][1].start}},o={type:m>1?"strong":"emphasis",start:{...f.start},end:{...h.end}},n[u][1].end={...f.start},n[i][1].start={...h.end},p=[],n[u][1].end.offset-n[u][1].start.offset&&(p=an(p,[["enter",n[u][1],r],["exit",n[u][1],r]])),p=an(p,[["enter",o,r],["enter",f,r],["exit",f,r],["enter",c,r]]),p=an(p,Qu(r.parser.constructs.insideSpan.null,n.slice(u+1,i),r)),p=an(p,[["exit",c,r],["enter",h,r],["exit",h,r],["exit",o,r]]),n[i][1].end.offset-n[i][1].start.offset?(y=2,p=an(p,[["enter",n[i][1],r],["exit",n[i][1],r]])):y=0,It(n,u-1,i-u+3,p),i=u+p.length-y-2;break}}for(i=-1;++i<n.length;)n[i][1].type==="attentionSequence"&&(n[i][1].type="data");return n}function GS(n,r){const i=this.parser.constructs.attentionMarkers.null,u=this.previous,o=Vr(u);let c;return f;function f(m){return c=m,n.enter("attentionSequence"),h(m)}function h(m){if(m===c)return n.consume(m),h;const p=n.exit("attentionSequence"),y=Vr(m),g=!y||y===2&&o||i.includes(m),b=!o||o===2&&y||i.includes(u);return p._open=!!(c===42?g:g&&(o||!b)),p._close=!!(c===42?b:b&&(y||!g)),r(m)}}function yg(n,r){n.column+=r,n.offset+=r,n._bufferIndex+=r}const XS={name:"autolink",tokenize:FS};function FS(n,r,i){let u=0;return o;function o(S){return n.enter("autolink"),n.enter("autolinkMarker"),n.consume(S),n.exit("autolinkMarker"),n.enter("autolinkProtocol"),c}function c(S){return wt(S)?(n.consume(S),f):S===64?i(S):p(S)}function f(S){return S===43||S===45||S===46||bt(S)?(u=1,h(S)):p(S)}function h(S){return S===58?(n.consume(S),u=0,m):(S===43||S===45||S===46||bt(S))&&u++<32?(n.consume(S),h):(u=0,p(S))}function m(S){return S===62?(n.exit("autolinkProtocol"),n.enter("autolinkMarker"),n.consume(S),n.exit("autolinkMarker"),n.exit("autolink"),r):S===null||S===32||S===60||ju(S)?i(S):(n.consume(S),m)}function p(S){return S===64?(n.consume(S),y):NS(S)?(n.consume(S),p):i(S)}function y(S){return bt(S)?g(S):i(S)}function g(S){return S===46?(n.consume(S),u=0,y):S===62?(n.exit("autolinkProtocol").type="autolinkEmail",n.enter("autolinkMarker"),n.consume(S),n.exit("autolinkMarker"),n.exit("autolink"),r):b(S)}function b(S){if((S===45||bt(S))&&u++<63){const k=S===45?b:g;return n.consume(S),k}return i(S)}}const na={partial:!0,tokenize:IS};function IS(n,r,i){return u;function u(c){return Te(c)?Re(n,o,"linePrefix")(c):o(c)}function o(c){return c===null||he(c)?r(c):i(c)}}const _1={continuation:{tokenize:ZS},exit:KS,name:"blockQuote",tokenize:QS};function QS(n,r,i){const u=this;return o;function o(f){if(f===62){const h=u.containerState;return h.open||(n.enter("blockQuote",{_container:!0}),h.open=!0),n.enter("blockQuotePrefix"),n.enter("blockQuoteMarker"),n.consume(f),n.exit("blockQuoteMarker"),c}return i(f)}function c(f){return Te(f)?(n.enter("blockQuotePrefixWhitespace"),n.consume(f),n.exit("blockQuotePrefixWhitespace"),n.exit("blockQuotePrefix"),r):(n.exit("blockQuotePrefix"),r(f))}}function ZS(n,r,i){const u=this;return o;function o(f){return Te(f)?Re(n,c,"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(f):c(f)}function c(f){return n.attempt(_1,r,i)(f)}}function KS(n){n.exit("blockQuote")}const D1={name:"characterEscape",tokenize:PS};function PS(n,r,i){return u;function u(c){return n.enter("characterEscape"),n.enter("escapeMarker"),n.consume(c),n.exit("escapeMarker"),o}function o(c){return US(c)?(n.enter("characterEscapeValue"),n.consume(c),n.exit("characterEscapeValue"),n.exit("characterEscape"),r):i(c)}}const R1={name:"characterReference",tokenize:JS};function JS(n,r,i){const u=this;let o=0,c,f;return h;function h(g){return n.enter("characterReference"),n.enter("characterReferenceMarker"),n.consume(g),n.exit("characterReferenceMarker"),m}function m(g){return g===35?(n.enter("characterReferenceMarkerNumeric"),n.consume(g),n.exit("characterReferenceMarkerNumeric"),p):(n.enter("characterReferenceValue"),c=31,f=bt,y(g))}function p(g){return g===88||g===120?(n.enter("characterReferenceMarkerHexadecimal"),n.consume(g),n.exit("characterReferenceMarkerHexadecimal"),n.enter("characterReferenceValue"),c=6,f=LS,y):(n.enter("characterReferenceValue"),c=7,f=nf,y(g))}function y(g){if(g===59&&o){const b=n.exit("characterReferenceValue");return f===bt&&!Cf(u.sliceSerialize(b))?i(g):(n.enter("characterReferenceMarker"),n.consume(g),n.exit("characterReferenceMarker"),n.exit("characterReference"),r)}return f(g)&&o++<c?(n.consume(g),y):i(g)}}const vg={partial:!0,tokenize:$S},bg={concrete:!0,name:"codeFenced",tokenize:WS};function WS(n,r,i){const u=this,o={partial:!0,tokenize:P};let c=0,f=0,h;return m;function m(U){return p(U)}function p(U){const Q=u.events[u.events.length-1];return c=Q&&Q[1].type==="linePrefix"?Q[2].sliceSerialize(Q[1],!0).length:0,h=U,n.enter("codeFenced"),n.enter("codeFencedFence"),n.enter("codeFencedFenceSequence"),y(U)}function y(U){return U===h?(f++,n.consume(U),y):f<3?i(U):(n.exit("codeFencedFenceSequence"),Te(U)?Re(n,g,"whitespace")(U):g(U))}function g(U){return U===null||he(U)?(n.exit("codeFencedFence"),u.interrupt?r(U):n.check(vg,w,G)(U)):(n.enter("codeFencedFenceInfo"),n.enter("chunkString",{contentType:"string"}),b(U))}function b(U){return U===null||he(U)?(n.exit("chunkString"),n.exit("codeFencedFenceInfo"),g(U)):Te(U)?(n.exit("chunkString"),n.exit("codeFencedFenceInfo"),Re(n,S,"whitespace")(U)):U===96&&U===h?i(U):(n.consume(U),b)}function S(U){return U===null||he(U)?g(U):(n.enter("codeFencedFenceMeta"),n.enter("chunkString",{contentType:"string"}),k(U))}function k(U){return U===null||he(U)?(n.exit("chunkString"),n.exit("codeFencedFenceMeta"),g(U)):U===96&&U===h?i(U):(n.consume(U),k)}function w(U){return n.attempt(o,G,A)(U)}function A(U){return n.enter("lineEnding"),n.consume(U),n.exit("lineEnding"),T}function T(U){return c>0&&Te(U)?Re(n,q,"linePrefix",c+1)(U):q(U)}function q(U){return U===null||he(U)?n.check(vg,w,G)(U):(n.enter("codeFlowValue"),O(U))}function O(U){return U===null||he(U)?(n.exit("codeFlowValue"),q(U)):(n.consume(U),O)}function G(U){return n.exit("codeFenced"),r(U)}function P(U,Q,re){let ie=0;return N;function N(ee){return U.enter("lineEnding"),U.consume(ee),U.exit("lineEnding"),$}function $(ee){return U.enter("codeFencedFence"),Te(ee)?Re(U,K,"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(ee):K(ee)}function K(ee){return ee===h?(U.enter("codeFencedFenceSequence"),be(ee)):re(ee)}function be(ee){return ee===h?(ie++,U.consume(ee),be):ie>=f?(U.exit("codeFencedFenceSequence"),Te(ee)?Re(U,ue,"whitespace")(ee):ue(ee)):re(ee)}function ue(ee){return ee===null||he(ee)?(U.exit("codeFencedFence"),Q(ee)):re(ee)}}}function $S(n,r,i){const u=this;return o;function o(f){return f===null?i(f):(n.enter("lineEnding"),n.consume(f),n.exit("lineEnding"),c)}function c(f){return u.parser.lazy[u.now().line]?i(f):r(f)}}const zs={name:"codeIndented",tokenize:tx},ex={partial:!0,tokenize:nx};function tx(n,r,i){const u=this;return o;function o(p){return n.enter("codeIndented"),Re(n,c,"linePrefix",5)(p)}function c(p){const y=u.events[u.events.length-1];return y&&y[1].type==="linePrefix"&&y[2].sliceSerialize(y[1],!0).length>=4?f(p):i(p)}function f(p){return p===null?m(p):he(p)?n.attempt(ex,f,m)(p):(n.enter("codeFlowValue"),h(p))}function h(p){return p===null||he(p)?(n.exit("codeFlowValue"),f(p)):(n.consume(p),h)}function m(p){return n.exit("codeIndented"),r(p)}}function nx(n,r,i){const u=this;return o;function o(f){return u.parser.lazy[u.now().line]?i(f):he(f)?(n.enter("lineEnding"),n.consume(f),n.exit("lineEnding"),o):Re(n,c,"linePrefix",5)(f)}function c(f){const h=u.events[u.events.length-1];return h&&h[1].type==="linePrefix"&&h[2].sliceSerialize(h[1],!0).length>=4?r(f):he(f)?o(f):i(f)}}const lx={name:"codeText",previous:ix,resolve:rx,tokenize:ax};function rx(n){let r=n.length-4,i=3,u,o;if((n[i][1].type==="lineEnding"||n[i][1].type==="space")&&(n[r][1].type==="lineEnding"||n[r][1].type==="space")){for(u=i;++u<r;)if(n[u][1].type==="codeTextData"){n[i][1].type="codeTextPadding",n[r][1].type="codeTextPadding",i+=2,r-=2;break}}for(u=i-1,r++;++u<=r;)o===void 0?u!==r&&n[u][1].type!=="lineEnding"&&(o=u):(u===r||n[u][1].type==="lineEnding")&&(n[o][1].type="codeTextData",u!==o+2&&(n[o][1].end=n[u-1][1].end,n.splice(o+2,u-o-2),r-=u-o-2,u=o+2),o=void 0);return n}function ix(n){return n!==96||this.events[this.events.length-1][1].type==="characterEscape"}function ax(n,r,i){let u=0,o,c;return f;function f(g){return n.enter("codeText"),n.enter("codeTextSequence"),h(g)}function h(g){return g===96?(n.consume(g),u++,h):(n.exit("codeTextSequence"),m(g))}function m(g){return g===null?i(g):g===32?(n.enter("space"),n.consume(g),n.exit("space"),m):g===96?(c=n.enter("codeTextSequence"),o=0,y(g)):he(g)?(n.enter("lineEnding"),n.consume(g),n.exit("lineEnding"),m):(n.enter("codeTextData"),p(g))}function p(g){return g===null||g===32||g===96||he(g)?(n.exit("codeTextData"),m(g)):(n.consume(g),p)}function y(g){return g===96?(n.consume(g),o++,y):o===u?(n.exit("codeTextSequence"),n.exit("codeText"),r(g)):(c.type="codeTextData",p(g))}}class ux{constructor(r){this.left=r?[...r]:[],this.right=[]}get(r){if(r<0||r>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+r+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return r<this.left.length?this.left[r]:this.right[this.right.length-r+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(r,i){const u=i??Number.POSITIVE_INFINITY;return u<this.left.length?this.left.slice(r,u):r>this.left.length?this.right.slice(this.right.length-u+this.left.length,this.right.length-r+this.left.length).reverse():this.left.slice(r).concat(this.right.slice(this.right.length-u+this.left.length).reverse())}splice(r,i,u){const o=i||0;this.setCursor(Math.trunc(r));const c=this.right.splice(this.right.length-o,Number.POSITIVE_INFINITY);return u&&Ii(this.left,u),c.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(r){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(r)}pushMany(r){this.setCursor(Number.POSITIVE_INFINITY),Ii(this.left,r)}unshift(r){this.setCursor(0),this.right.push(r)}unshiftMany(r){this.setCursor(0),Ii(this.right,r.reverse())}setCursor(r){if(!(r===this.left.length||r>this.left.length&&this.right.length===0||r<0&&this.left.length===0))if(r<this.left.length){const i=this.left.splice(r,Number.POSITIVE_INFINITY);Ii(this.right,i.reverse())}else{const i=this.right.splice(this.left.length+this.right.length-r,Number.POSITIVE_INFINITY);Ii(this.left,i.reverse())}}}function Ii(n,r){let i=0;if(r.length<1e4)n.push(...r);else for(;i<r.length;)n.push(...r.slice(i,i+1e4)),i+=1e4}function O1(n){const r={};let i=-1,u,o,c,f,h,m,p;const y=new ux(n);for(;++i<y.length;){for(;i in r;)i=r[i];if(u=y.get(i),i&&u[1].type==="chunkFlow"&&y.get(i-1)[1].type==="listItemPrefix"&&(m=u[1]._tokenizer.events,c=0,c<m.length&&m[c][1].type==="lineEndingBlank"&&(c+=2),c<m.length&&m[c][1].type==="content"))for(;++c<m.length&&m[c][1].type!=="content";)m[c][1].type==="chunkText"&&(m[c][1]._isInFirstContentOfListItem=!0,c++);if(u[0]==="enter")u[1].contentType&&(Object.assign(r,ox(y,i)),i=r[i],p=!0);else if(u[1]._container){for(c=i,o=void 0;c--;)if(f=y.get(c),f[1].type==="lineEnding"||f[1].type==="lineEndingBlank")f[0]==="enter"&&(o&&(y.get(o)[1].type="lineEndingBlank"),f[1].type="lineEnding",o=c);else if(!(f[1].type==="linePrefix"||f[1].type==="listItemIndent"))break;o&&(u[1].end={...y.get(o)[1].start},h=y.slice(o,i),h.unshift(u),y.splice(o,i-o+1,h))}}return It(n,0,Number.POSITIVE_INFINITY,y.slice(0)),!p}function ox(n,r){const i=n.get(r)[1],u=n.get(r)[2];let o=r-1;const c=[];let f=i._tokenizer;f||(f=u.parser[i.contentType](i.start),i._contentTypeTextTrailing&&(f._contentTypeTextTrailing=!0));const h=f.events,m=[],p={};let y,g,b=-1,S=i,k=0,w=0;const A=[w];for(;S;){for(;n.get(++o)[1]!==S;);c.push(o),S._tokenizer||(y=u.sliceStream(S),S.next||y.push(null),g&&f.defineSkip(S.start),S._isInFirstContentOfListItem&&(f._gfmTasklistFirstContentOfListItem=!0),f.write(y),S._isInFirstContentOfListItem&&(f._gfmTasklistFirstContentOfListItem=void 0)),g=S,S=S.next}for(S=i;++b<h.length;)h[b][0]==="exit"&&h[b-1][0]==="enter"&&h[b][1].type===h[b-1][1].type&&h[b][1].start.line!==h[b][1].end.line&&(w=b+1,A.push(w),S._tokenizer=void 0,S.previous=void 0,S=S.next);for(f.events=[],S?(S._tokenizer=void 0,S.previous=void 0):A.pop(),b=A.length;b--;){const T=h.slice(A[b],A[b+1]),q=c.pop();m.push([q,q+T.length-1]),n.splice(q,2,T)}for(m.reverse(),b=-1;++b<m.length;)p[k+m[b][0]]=k+m[b][1],k+=m[b][1]-m[b][0]-1;return p}const cx={resolve:fx,tokenize:dx},sx={partial:!0,tokenize:hx};function fx(n){return O1(n),n}function dx(n,r){let i;return u;function u(h){return n.enter("content"),i=n.enter("chunkContent",{contentType:"content"}),o(h)}function o(h){return h===null?c(h):he(h)?n.check(sx,f,c)(h):(n.consume(h),o)}function c(h){return n.exit("chunkContent"),n.exit("content"),r(h)}function f(h){return n.consume(h),n.exit("chunkContent"),i.next=n.enter("chunkContent",{contentType:"content",previous:i}),i=i.next,o}}function hx(n,r,i){const u=this;return o;function o(f){return n.exit("chunkContent"),n.enter("lineEnding"),n.consume(f),n.exit("lineEnding"),Re(n,c,"linePrefix")}function c(f){if(f===null||he(f))return i(f);const h=u.events[u.events.length-1];return!u.parser.constructs.disable.null.includes("codeIndented")&&h&&h[1].type==="linePrefix"&&h[2].sliceSerialize(h[1],!0).length>=4?r(f):n.interrupt(u.parser.constructs.flow,i,r)(f)}}function N1(n,r,i,u,o,c,f,h,m){const p=m||Number.POSITIVE_INFINITY;let y=0;return g;function g(T){return T===60?(n.enter(u),n.enter(o),n.enter(c),n.consume(T),n.exit(c),b):T===null||T===32||T===41||ju(T)?i(T):(n.enter(u),n.enter(f),n.enter(h),n.enter("chunkString",{contentType:"string"}),w(T))}function b(T){return T===62?(n.enter(c),n.consume(T),n.exit(c),n.exit(o),n.exit(u),r):(n.enter(h),n.enter("chunkString",{contentType:"string"}),S(T))}function S(T){return T===62?(n.exit("chunkString"),n.exit(h),b(T)):T===null||T===60||he(T)?i(T):(n.consume(T),T===92?k:S)}function k(T){return T===60||T===62||T===92?(n.consume(T),S):S(T)}function w(T){return!y&&(T===null||T===41||Fe(T))?(n.exit("chunkString"),n.exit(h),n.exit(f),n.exit(u),r(T)):y<p&&T===40?(n.consume(T),y++,w):T===41?(n.consume(T),y--,w):T===null||T===32||T===40||ju(T)?i(T):(n.consume(T),T===92?A:w)}function A(T){return T===40||T===41||T===92?(n.consume(T),w):w(T)}}function L1(n,r,i,u,o,c){const f=this;let h=0,m;return p;function p(S){return n.enter(u),n.enter(o),n.consume(S),n.exit(o),n.enter(c),y}function y(S){return h>999||S===null||S===91||S===93&&!m||S===94&&!h&&"_hiddenFootnoteSupport"in f.parser.constructs?i(S):S===93?(n.exit(c),n.enter(o),n.consume(S),n.exit(o),n.exit(u),r):he(S)?(n.enter("lineEnding"),n.consume(S),n.exit("lineEnding"),y):(n.enter("chunkString",{contentType:"string"}),g(S))}function g(S){return S===null||S===91||S===93||he(S)||h++>999?(n.exit("chunkString"),y(S)):(n.consume(S),m||(m=!Te(S)),S===92?b:g)}function b(S){return S===91||S===92||S===93?(n.consume(S),h++,g):g(S)}}function U1(n,r,i,u,o,c){let f;return h;function h(b){return b===34||b===39||b===40?(n.enter(u),n.enter(o),n.consume(b),n.exit(o),f=b===40?41:b,m):i(b)}function m(b){return b===f?(n.enter(o),n.consume(b),n.exit(o),n.exit(u),r):(n.enter(c),p(b))}function p(b){return b===f?(n.exit(c),m(f)):b===null?i(b):he(b)?(n.enter("lineEnding"),n.consume(b),n.exit("lineEnding"),Re(n,p,"linePrefix")):(n.enter("chunkString",{contentType:"string"}),y(b))}function y(b){return b===f||b===null||he(b)?(n.exit("chunkString"),p(b)):(n.consume(b),b===92?g:y)}function g(b){return b===f||b===92?(n.consume(b),y):y(b)}}function Ki(n,r){let i;return u;function u(o){return he(o)?(n.enter("lineEnding"),n.consume(o),n.exit("lineEnding"),i=!0,u):Te(o)?Re(n,u,i?"linePrefix":"lineSuffix")(o):r(o)}}const px={name:"definition",tokenize:gx},mx={partial:!0,tokenize:yx};function gx(n,r,i){const u=this;let o;return c;function c(S){return n.enter("definition"),f(S)}function f(S){return L1.call(u,n,h,i,"definitionLabel","definitionLabelMarker","definitionLabelString")(S)}function h(S){return o=dn(u.sliceSerialize(u.events[u.events.length-1][1]).slice(1,-1)),S===58?(n.enter("definitionMarker"),n.consume(S),n.exit("definitionMarker"),m):i(S)}function m(S){return Fe(S)?Ki(n,p)(S):p(S)}function p(S){return N1(n,y,i,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(S)}function y(S){return n.attempt(mx,g,g)(S)}function g(S){return Te(S)?Re(n,b,"whitespace")(S):b(S)}function b(S){return S===null||he(S)?(n.exit("definition"),u.parser.defined.push(o),r(S)):i(S)}}function yx(n,r,i){return u;function u(h){return Fe(h)?Ki(n,o)(h):i(h)}function o(h){return U1(n,c,i,"definitionTitle","definitionTitleMarker","definitionTitleString")(h)}function c(h){return Te(h)?Re(n,f,"whitespace")(h):f(h)}function f(h){return h===null||he(h)?r(h):i(h)}}const vx={name:"hardBreakEscape",tokenize:bx};function bx(n,r,i){return u;function u(c){return n.enter("hardBreakEscape"),n.consume(c),o}function o(c){return he(c)?(n.exit("hardBreakEscape"),r(c)):i(c)}}const Sx={name:"headingAtx",resolve:xx,tokenize:Ex};function xx(n,r){let i=n.length-2,u=3,o,c;return n[u][1].type==="whitespace"&&(u+=2),i-2>u&&n[i][1].type==="whitespace"&&(i-=2),n[i][1].type==="atxHeadingSequence"&&(u===i-1||i-4>u&&n[i-2][1].type==="whitespace")&&(i-=u+1===i?2:4),i>u&&(o={type:"atxHeadingText",start:n[u][1].start,end:n[i][1].end},c={type:"chunkText",start:n[u][1].start,end:n[i][1].end,contentType:"text"},It(n,u,i-u+1,[["enter",o,r],["enter",c,r],["exit",c,r],["exit",o,r]])),n}function Ex(n,r,i){let u=0;return o;function o(y){return n.enter("atxHeading"),c(y)}function c(y){return n.enter("atxHeadingSequence"),f(y)}function f(y){return y===35&&u++<6?(n.consume(y),f):y===null||Fe(y)?(n.exit("atxHeadingSequence"),h(y)):i(y)}function h(y){return y===35?(n.enter("atxHeadingSequence"),m(y)):y===null||he(y)?(n.exit("atxHeading"),r(y)):Te(y)?Re(n,h,"whitespace")(y):(n.enter("atxHeadingText"),p(y))}function m(y){return y===35?(n.consume(y),m):(n.exit("atxHeadingSequence"),h(y))}function p(y){return y===null||y===35||Fe(y)?(n.exit("atxHeadingText"),h(y)):(n.consume(y),p)}}const kx=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Sg=["pre","script","style","textarea"],Cx={concrete:!0,name:"htmlFlow",resolveTo:Tx,tokenize:zx},wx={partial:!0,tokenize:_x},Ax={partial:!0,tokenize:Mx};function Tx(n){let r=n.length;for(;r--&&!(n[r][0]==="enter"&&n[r][1].type==="htmlFlow"););return r>1&&n[r-2][1].type==="linePrefix"&&(n[r][1].start=n[r-2][1].start,n[r+1][1].start=n[r-2][1].start,n.splice(r-2,2)),n}function zx(n,r,i){const u=this;let o,c,f,h,m;return p;function p(E){return y(E)}function y(E){return n.enter("htmlFlow"),n.enter("htmlFlowData"),n.consume(E),g}function g(E){return E===33?(n.consume(E),b):E===47?(n.consume(E),c=!0,w):E===63?(n.consume(E),o=3,u.interrupt?r:C):wt(E)?(n.consume(E),f=String.fromCharCode(E),A):i(E)}function b(E){return E===45?(n.consume(E),o=2,S):E===91?(n.consume(E),o=5,h=0,k):wt(E)?(n.consume(E),o=4,u.interrupt?r:C):i(E)}function S(E){return E===45?(n.consume(E),u.interrupt?r:C):i(E)}function k(E){const ae="CDATA[";return E===ae.charCodeAt(h++)?(n.consume(E),h===ae.length?u.interrupt?r:K:k):i(E)}function w(E){return wt(E)?(n.consume(E),f=String.fromCharCode(E),A):i(E)}function A(E){if(E===null||E===47||E===62||Fe(E)){const ae=E===47,me=f.toLowerCase();return!ae&&!c&&Sg.includes(me)?(o=1,u.interrupt?r(E):K(E)):kx.includes(f.toLowerCase())?(o=6,ae?(n.consume(E),T):u.interrupt?r(E):K(E)):(o=7,u.interrupt&&!u.parser.lazy[u.now().line]?i(E):c?q(E):O(E))}return E===45||bt(E)?(n.consume(E),f+=String.fromCharCode(E),A):i(E)}function T(E){return E===62?(n.consume(E),u.interrupt?r:K):i(E)}function q(E){return Te(E)?(n.consume(E),q):N(E)}function O(E){return E===47?(n.consume(E),N):E===58||E===95||wt(E)?(n.consume(E),G):Te(E)?(n.consume(E),O):N(E)}function G(E){return E===45||E===46||E===58||E===95||bt(E)?(n.consume(E),G):P(E)}function P(E){return E===61?(n.consume(E),U):Te(E)?(n.consume(E),P):O(E)}function U(E){return E===null||E===60||E===61||E===62||E===96?i(E):E===34||E===39?(n.consume(E),m=E,Q):Te(E)?(n.consume(E),U):re(E)}function Q(E){return E===m?(n.consume(E),m=null,ie):E===null||he(E)?i(E):(n.consume(E),Q)}function re(E){return E===null||E===34||E===39||E===47||E===60||E===61||E===62||E===96||Fe(E)?P(E):(n.consume(E),re)}function ie(E){return E===47||E===62||Te(E)?O(E):i(E)}function N(E){return E===62?(n.consume(E),$):i(E)}function $(E){return E===null||he(E)?K(E):Te(E)?(n.consume(E),$):i(E)}function K(E){return E===45&&o===2?(n.consume(E),L):E===60&&o===1?(n.consume(E),J):E===62&&o===4?(n.consume(E),_):E===63&&o===3?(n.consume(E),C):E===93&&o===5?(n.consume(E),ye):he(E)&&(o===6||o===7)?(n.exit("htmlFlowData"),n.check(wx,X,be)(E)):E===null||he(E)?(n.exit("htmlFlowData"),be(E)):(n.consume(E),K)}function be(E){return n.check(Ax,ue,X)(E)}function ue(E){return n.enter("lineEnding"),n.consume(E),n.exit("lineEnding"),ee}function ee(E){return E===null||he(E)?be(E):(n.enter("htmlFlowData"),K(E))}function L(E){return E===45?(n.consume(E),C):K(E)}function J(E){return E===47?(n.consume(E),f="",ce):K(E)}function ce(E){if(E===62){const ae=f.toLowerCase();return Sg.includes(ae)?(n.consume(E),_):K(E)}return wt(E)&&f.length<8?(n.consume(E),f+=String.fromCharCode(E),ce):K(E)}function ye(E){return E===93?(n.consume(E),C):K(E)}function C(E){return E===62?(n.consume(E),_):E===45&&o===2?(n.consume(E),C):K(E)}function _(E){return E===null||he(E)?(n.exit("htmlFlowData"),X(E)):(n.consume(E),_)}function X(E){return n.exit("htmlFlow"),r(E)}}function Mx(n,r,i){const u=this;return o;function o(f){return he(f)?(n.enter("lineEnding"),n.consume(f),n.exit("lineEnding"),c):i(f)}function c(f){return u.parser.lazy[u.now().line]?i(f):r(f)}}function _x(n,r,i){return u;function u(o){return n.enter("lineEnding"),n.consume(o),n.exit("lineEnding"),n.attempt(na,r,i)}}const Dx={name:"htmlText",tokenize:Rx};function Rx(n,r,i){const u=this;let o,c,f;return h;function h(C){return n.enter("htmlText"),n.enter("htmlTextData"),n.consume(C),m}function m(C){return C===33?(n.consume(C),p):C===47?(n.consume(C),P):C===63?(n.consume(C),O):wt(C)?(n.consume(C),re):i(C)}function p(C){return C===45?(n.consume(C),y):C===91?(n.consume(C),c=0,k):wt(C)?(n.consume(C),q):i(C)}function y(C){return C===45?(n.consume(C),S):i(C)}function g(C){return C===null?i(C):C===45?(n.consume(C),b):he(C)?(f=g,J(C)):(n.consume(C),g)}function b(C){return C===45?(n.consume(C),S):g(C)}function S(C){return C===62?L(C):C===45?b(C):g(C)}function k(C){const _="CDATA[";return C===_.charCodeAt(c++)?(n.consume(C),c===_.length?w:k):i(C)}function w(C){return C===null?i(C):C===93?(n.consume(C),A):he(C)?(f=w,J(C)):(n.consume(C),w)}function A(C){return C===93?(n.consume(C),T):w(C)}function T(C){return C===62?L(C):C===93?(n.consume(C),T):w(C)}function q(C){return C===null||C===62?L(C):he(C)?(f=q,J(C)):(n.consume(C),q)}function O(C){return C===null?i(C):C===63?(n.consume(C),G):he(C)?(f=O,J(C)):(n.consume(C),O)}function G(C){return C===62?L(C):O(C)}function P(C){return wt(C)?(n.consume(C),U):i(C)}function U(C){return C===45||bt(C)?(n.consume(C),U):Q(C)}function Q(C){return he(C)?(f=Q,J(C)):Te(C)?(n.consume(C),Q):L(C)}function re(C){return C===45||bt(C)?(n.consume(C),re):C===47||C===62||Fe(C)?ie(C):i(C)}function ie(C){return C===47?(n.consume(C),L):C===58||C===95||wt(C)?(n.consume(C),N):he(C)?(f=ie,J(C)):Te(C)?(n.consume(C),ie):L(C)}function N(C){return C===45||C===46||C===58||C===95||bt(C)?(n.consume(C),N):$(C)}function $(C){return C===61?(n.consume(C),K):he(C)?(f=$,J(C)):Te(C)?(n.consume(C),$):ie(C)}function K(C){return C===null||C===60||C===61||C===62||C===96?i(C):C===34||C===39?(n.consume(C),o=C,be):he(C)?(f=K,J(C)):Te(C)?(n.consume(C),K):(n.consume(C),ue)}function be(C){return C===o?(n.consume(C),o=void 0,ee):C===null?i(C):he(C)?(f=be,J(C)):(n.consume(C),be)}function ue(C){return C===null||C===34||C===39||C===60||C===61||C===96?i(C):C===47||C===62||Fe(C)?ie(C):(n.consume(C),ue)}function ee(C){return C===47||C===62||Fe(C)?ie(C):i(C)}function L(C){return C===62?(n.consume(C),n.exit("htmlTextData"),n.exit("htmlText"),r):i(C)}function J(C){return n.exit("htmlTextData"),n.enter("lineEnding"),n.consume(C),n.exit("lineEnding"),ce}function ce(C){return Te(C)?Re(n,ye,"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(C):ye(C)}function ye(C){return n.enter("htmlTextData"),f(C)}}const wf={name:"labelEnd",resolveAll:Ux,resolveTo:Bx,tokenize:jx},Ox={tokenize:Hx},Nx={tokenize:qx},Lx={tokenize:Vx};function Ux(n){let r=-1;const i=[];for(;++r<n.length;){const u=n[r][1];if(i.push(n[r]),u.type==="labelImage"||u.type==="labelLink"||u.type==="labelEnd"){const o=u.type==="labelImage"?4:2;u.type="data",r+=o}}return n.length!==i.length&&It(n,0,n.length,i),n}function Bx(n,r){let i=n.length,u=0,o,c,f,h;for(;i--;)if(o=n[i][1],c){if(o.type==="link"||o.type==="labelLink"&&o._inactive)break;n[i][0]==="enter"&&o.type==="labelLink"&&(o._inactive=!0)}else if(f){if(n[i][0]==="enter"&&(o.type==="labelImage"||o.type==="labelLink")&&!o._balanced&&(c=i,o.type!=="labelLink")){u=2;break}}else o.type==="labelEnd"&&(f=i);const m={type:n[c][1].type==="labelLink"?"link":"image",start:{...n[c][1].start},end:{...n[n.length-1][1].end}},p={type:"label",start:{...n[c][1].start},end:{...n[f][1].end}},y={type:"labelText",start:{...n[c+u+2][1].end},end:{...n[f-2][1].start}};return h=[["enter",m,r],["enter",p,r]],h=an(h,n.slice(c+1,c+u+3)),h=an(h,[["enter",y,r]]),h=an(h,Qu(r.parser.constructs.insideSpan.null,n.slice(c+u+4,f-3),r)),h=an(h,[["exit",y,r],n[f-2],n[f-1],["exit",p,r]]),h=an(h,n.slice(f+1)),h=an(h,[["exit",m,r]]),It(n,c,n.length,h),n}function jx(n,r,i){const u=this;let o=u.events.length,c,f;for(;o--;)if((u.events[o][1].type==="labelImage"||u.events[o][1].type==="labelLink")&&!u.events[o][1]._balanced){c=u.events[o][1];break}return h;function h(b){return c?c._inactive?g(b):(f=u.parser.defined.includes(dn(u.sliceSerialize({start:c.end,end:u.now()}))),n.enter("labelEnd"),n.enter("labelMarker"),n.consume(b),n.exit("labelMarker"),n.exit("labelEnd"),m):i(b)}function m(b){return b===40?n.attempt(Ox,y,f?y:g)(b):b===91?n.attempt(Nx,y,f?p:g)(b):f?y(b):g(b)}function p(b){return n.attempt(Lx,y,g)(b)}function y(b){return r(b)}function g(b){return c._balanced=!0,i(b)}}function Hx(n,r,i){return u;function u(g){return n.enter("resource"),n.enter("resourceMarker"),n.consume(g),n.exit("resourceMarker"),o}function o(g){return Fe(g)?Ki(n,c)(g):c(g)}function c(g){return g===41?y(g):N1(n,f,h,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(g)}function f(g){return Fe(g)?Ki(n,m)(g):y(g)}function h(g){return i(g)}function m(g){return g===34||g===39||g===40?U1(n,p,i,"resourceTitle","resourceTitleMarker","resourceTitleString")(g):y(g)}function p(g){return Fe(g)?Ki(n,y)(g):y(g)}function y(g){return g===41?(n.enter("resourceMarker"),n.consume(g),n.exit("resourceMarker"),n.exit("resource"),r):i(g)}}function qx(n,r,i){const u=this;return o;function o(h){return L1.call(u,n,c,f,"reference","referenceMarker","referenceString")(h)}function c(h){return u.parser.defined.includes(dn(u.sliceSerialize(u.events[u.events.length-1][1]).slice(1,-1)))?r(h):i(h)}function f(h){return i(h)}}function Vx(n,r,i){return u;function u(c){return n.enter("reference"),n.enter("referenceMarker"),n.consume(c),n.exit("referenceMarker"),o}function o(c){return c===93?(n.enter("referenceMarker"),n.consume(c),n.exit("referenceMarker"),n.exit("reference"),r):i(c)}}const Yx={name:"labelStartImage",resolveAll:wf.resolveAll,tokenize:Gx};function Gx(n,r,i){const u=this;return o;function o(h){return n.enter("labelImage"),n.enter("labelImageMarker"),n.consume(h),n.exit("labelImageMarker"),c}function c(h){return h===91?(n.enter("labelMarker"),n.consume(h),n.exit("labelMarker"),n.exit("labelImage"),f):i(h)}function f(h){return h===94&&"_hiddenFootnoteSupport"in u.parser.constructs?i(h):r(h)}}const Xx={name:"labelStartLink",resolveAll:wf.resolveAll,tokenize:Fx};function Fx(n,r,i){const u=this;return o;function o(f){return n.enter("labelLink"),n.enter("labelMarker"),n.consume(f),n.exit("labelMarker"),n.exit("labelLink"),c}function c(f){return f===94&&"_hiddenFootnoteSupport"in u.parser.constructs?i(f):r(f)}}const Ms={name:"lineEnding",tokenize:Ix};function Ix(n,r){return i;function i(u){return n.enter("lineEnding"),n.consume(u),n.exit("lineEnding"),Re(n,r,"linePrefix")}}const Nu={name:"thematicBreak",tokenize:Qx};function Qx(n,r,i){let u=0,o;return c;function c(p){return n.enter("thematicBreak"),f(p)}function f(p){return o=p,h(p)}function h(p){return p===o?(n.enter("thematicBreakSequence"),m(p)):u>=3&&(p===null||he(p))?(n.exit("thematicBreak"),r(p)):i(p)}function m(p){return p===o?(n.consume(p),u++,m):(n.exit("thematicBreakSequence"),Te(p)?Re(n,h,"whitespace")(p):h(p))}}const Nt={continuation:{tokenize:Jx},exit:$x,name:"list",tokenize:Px},Zx={partial:!0,tokenize:eE},Kx={partial:!0,tokenize:Wx};function Px(n,r,i){const u=this,o=u.events[u.events.length-1];let c=o&&o[1].type==="linePrefix"?o[2].sliceSerialize(o[1],!0).length:0,f=0;return h;function h(S){const k=u.containerState.type||(S===42||S===43||S===45?"listUnordered":"listOrdered");if(k==="listUnordered"?!u.containerState.marker||S===u.containerState.marker:nf(S)){if(u.containerState.type||(u.containerState.type=k,n.enter(k,{_container:!0})),k==="listUnordered")return n.enter("listItemPrefix"),S===42||S===45?n.check(Nu,i,p)(S):p(S);if(!u.interrupt||S===49)return n.enter("listItemPrefix"),n.enter("listItemValue"),m(S)}return i(S)}function m(S){return nf(S)&&++f<10?(n.consume(S),m):(!u.interrupt||f<2)&&(u.containerState.marker?S===u.containerState.marker:S===41||S===46)?(n.exit("listItemValue"),p(S)):i(S)}function p(S){return n.enter("listItemMarker"),n.consume(S),n.exit("listItemMarker"),u.containerState.marker=u.containerState.marker||S,n.check(na,u.interrupt?i:y,n.attempt(Zx,b,g))}function y(S){return u.containerState.initialBlankLine=!0,c++,b(S)}function g(S){return Te(S)?(n.enter("listItemPrefixWhitespace"),n.consume(S),n.exit("listItemPrefixWhitespace"),b):i(S)}function b(S){return u.containerState.size=c+u.sliceSerialize(n.exit("listItemPrefix"),!0).length,r(S)}}function Jx(n,r,i){const u=this;return u.containerState._closeFlow=void 0,n.check(na,o,c);function o(h){return u.containerState.furtherBlankLines=u.containerState.furtherBlankLines||u.containerState.initialBlankLine,Re(n,r,"listItemIndent",u.containerState.size+1)(h)}function c(h){return u.containerState.furtherBlankLines||!Te(h)?(u.containerState.furtherBlankLines=void 0,u.containerState.initialBlankLine=void 0,f(h)):(u.containerState.furtherBlankLines=void 0,u.containerState.initialBlankLine=void 0,n.attempt(Kx,r,f)(h))}function f(h){return u.containerState._closeFlow=!0,u.interrupt=void 0,Re(n,n.attempt(Nt,r,i),"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(h)}}function Wx(n,r,i){const u=this;return Re(n,o,"listItemIndent",u.containerState.size+1);function o(c){const f=u.events[u.events.length-1];return f&&f[1].type==="listItemIndent"&&f[2].sliceSerialize(f[1],!0).length===u.containerState.size?r(c):i(c)}}function $x(n){n.exit(this.containerState.type)}function eE(n,r,i){const u=this;return Re(n,o,"listItemPrefixWhitespace",u.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function o(c){const f=u.events[u.events.length-1];return!Te(c)&&f&&f[1].type==="listItemPrefixWhitespace"?r(c):i(c)}}const xg={name:"setextUnderline",resolveTo:tE,tokenize:nE};function tE(n,r){let i=n.length,u,o,c;for(;i--;)if(n[i][0]==="enter"){if(n[i][1].type==="content"){u=i;break}n[i][1].type==="paragraph"&&(o=i)}else n[i][1].type==="content"&&n.splice(i,1),!c&&n[i][1].type==="definition"&&(c=i);const f={type:"setextHeading",start:{...n[u][1].start},end:{...n[n.length-1][1].end}};return n[o][1].type="setextHeadingText",c?(n.splice(o,0,["enter",f,r]),n.splice(c+1,0,["exit",n[u][1],r]),n[u][1].end={...n[c][1].end}):n[u][1]=f,n.push(["exit",f,r]),n}function nE(n,r,i){const u=this;let o;return c;function c(p){let y=u.events.length,g;for(;y--;)if(u.events[y][1].type!=="lineEnding"&&u.events[y][1].type!=="linePrefix"&&u.events[y][1].type!=="content"){g=u.events[y][1].type==="paragraph";break}return!u.parser.lazy[u.now().line]&&(u.interrupt||g)?(n.enter("setextHeadingLine"),o=p,f(p)):i(p)}function f(p){return n.enter("setextHeadingLineSequence"),h(p)}function h(p){return p===o?(n.consume(p),h):(n.exit("setextHeadingLineSequence"),Te(p)?Re(n,m,"lineSuffix")(p):m(p))}function m(p){return p===null||he(p)?(n.exit("setextHeadingLine"),r(p)):i(p)}}const lE={tokenize:rE};function rE(n){const r=this,i=n.attempt(na,u,n.attempt(this.parser.constructs.flowInitial,o,Re(n,n.attempt(this.parser.constructs.flow,o,n.attempt(cx,o)),"linePrefix")));return i;function u(c){if(c===null){n.consume(c);return}return n.enter("lineEndingBlank"),n.consume(c),n.exit("lineEndingBlank"),r.currentConstruct=void 0,i}function o(c){if(c===null){n.consume(c);return}return n.enter("lineEnding"),n.consume(c),n.exit("lineEnding"),r.currentConstruct=void 0,i}}const iE={resolveAll:j1()},aE=B1("string"),uE=B1("text");function B1(n){return{resolveAll:j1(n==="text"?oE:void 0),tokenize:r};function r(i){const u=this,o=this.parser.constructs[n],c=i.attempt(o,f,h);return f;function f(y){return p(y)?c(y):h(y)}function h(y){if(y===null){i.consume(y);return}return i.enter("data"),i.consume(y),m}function m(y){return p(y)?(i.exit("data"),c(y)):(i.consume(y),m)}function p(y){if(y===null)return!0;const g=o[y];let b=-1;if(g)for(;++b<g.length;){const S=g[b];if(!S.previous||S.previous.call(u,u.previous))return!0}return!1}}}function j1(n){return r;function r(i,u){let o=-1,c;for(;++o<=i.length;)c===void 0?i[o]&&i[o][1].type==="data"&&(c=o,o++):(!i[o]||i[o][1].type!=="data")&&(o!==c+2&&(i[c][1].end=i[o-1][1].end,i.splice(c+2,o-c-2),o=c+2),c=void 0);return n?n(i,u):i}}function oE(n,r){let i=0;for(;++i<=n.length;)if((i===n.length||n[i][1].type==="lineEnding")&&n[i-1][1].type==="data"){const u=n[i-1][1],o=r.sliceStream(u);let c=o.length,f=-1,h=0,m;for(;c--;){const p=o[c];if(typeof p=="string"){for(f=p.length;p.charCodeAt(f-1)===32;)h++,f--;if(f)break;f=-1}else if(p===-2)m=!0,h++;else if(p!==-1){c++;break}}if(r._contentTypeTextTrailing&&i===n.length&&(h=0),h){const p={type:i===n.length||m||h<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:c?f:u.start._bufferIndex+f,_index:u.start._index+c,line:u.end.line,column:u.end.column-h,offset:u.end.offset-h},end:{...u.end}};u.end={...p.start},u.start.offset===u.end.offset?Object.assign(u,p):(n.splice(i,0,["enter",p,r],["exit",p,r]),i+=2)}i++}return n}const cE={42:Nt,43:Nt,45:Nt,48:Nt,49:Nt,50:Nt,51:Nt,52:Nt,53:Nt,54:Nt,55:Nt,56:Nt,57:Nt,62:_1},sE={91:px},fE={[-2]:zs,[-1]:zs,32:zs},dE={35:Sx,42:Nu,45:[xg,Nu],60:Cx,61:xg,95:Nu,96:bg,126:bg},hE={38:R1,92:D1},pE={[-5]:Ms,[-4]:Ms,[-3]:Ms,33:Yx,38:R1,42:lf,60:[XS,Dx],91:Xx,92:[vx,D1],93:wf,95:lf,96:lx},mE={null:[lf,iE]},gE={null:[42,95]},yE={null:[]},vE=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:gE,contentInitial:sE,disable:yE,document:cE,flow:dE,flowInitial:fE,insideSpan:mE,string:hE,text:pE},Symbol.toStringTag,{value:"Module"}));function bE(n,r,i){let u={_bufferIndex:-1,_index:0,line:i&&i.line||1,column:i&&i.column||1,offset:i&&i.offset||0};const o={},c=[];let f=[],h=[];const m={attempt:Q(P),check:Q(U),consume:q,enter:O,exit:G,interrupt:Q(U,{interrupt:!0})},p={code:null,containerState:{},defineSkip:w,events:[],now:k,parser:n,previous:null,sliceSerialize:b,sliceStream:S,write:g};let y=r.tokenize.call(p,m);return r.resolveAll&&c.push(r),p;function g($){return f=an(f,$),A(),f[f.length-1]!==null?[]:(re(r,0),p.events=Qu(c,p.events,p),p.events)}function b($,K){return xE(S($),K)}function S($){return SE(f,$)}function k(){const{_bufferIndex:$,_index:K,line:be,column:ue,offset:ee}=u;return{_bufferIndex:$,_index:K,line:be,column:ue,offset:ee}}function w($){o[$.line]=$.column,N()}function A(){let $;for(;u._index<f.length;){const K=f[u._index];if(typeof K=="string")for($=u._index,u._bufferIndex<0&&(u._bufferIndex=0);u._index===$&&u._bufferIndex<K.length;)T(K.charCodeAt(u._bufferIndex));else T(K)}}function T($){y=y($)}function q($){he($)?(u.line++,u.column=1,u.offset+=$===-3?2:1,N()):$!==-1&&(u.column++,u.offset++),u._bufferIndex<0?u._index++:(u._bufferIndex++,u._bufferIndex===f[u._index].length&&(u._bufferIndex=-1,u._index++)),p.previous=$}function O($,K){const be=K||{};return be.type=$,be.start=k(),p.events.push(["enter",be,p]),h.push(be),be}function G($){const K=h.pop();return K.end=k(),p.events.push(["exit",K,p]),K}function P($,K){re($,K.from)}function U($,K){K.restore()}function Q($,K){return be;function be(ue,ee,L){let J,ce,ye,C;return Array.isArray(ue)?X(ue):"tokenize"in ue?X([ue]):_(ue);function _(fe){return ze;function ze(Pe){const He=Pe!==null&&fe[Pe],Qt=Pe!==null&&fe.null,En=[...Array.isArray(He)?He:He?[He]:[],...Array.isArray(Qt)?Qt:Qt?[Qt]:[]];return X(En)(Pe)}}function X(fe){return J=fe,ce=0,fe.length===0?L:E(fe[ce])}function E(fe){return ze;function ze(Pe){return C=ie(),ye=fe,fe.partial||(p.currentConstruct=fe),fe.name&&p.parser.constructs.disable.null.includes(fe.name)?me():fe.tokenize.call(K?Object.assign(Object.create(p),K):p,m,ae,me)(Pe)}}function ae(fe){return $(ye,C),ee}function me(fe){return C.restore(),++ce<J.length?E(J[ce]):L}}}function re($,K){$.resolveAll&&!c.includes($)&&c.push($),$.resolve&&It(p.events,K,p.events.length-K,$.resolve(p.events.slice(K),p)),$.resolveTo&&(p.events=$.resolveTo(p.events,p))}function ie(){const $=k(),K=p.previous,be=p.currentConstruct,ue=p.events.length,ee=Array.from(h);return{from:ue,restore:L};function L(){u=$,p.previous=K,p.currentConstruct=be,p.events.length=ue,h=ee,N()}}function N(){u.line in o&&u.column<2&&(u.column=o[u.line],u.offset+=o[u.line]-1)}}function SE(n,r){const i=r.start._index,u=r.start._bufferIndex,o=r.end._index,c=r.end._bufferIndex;let f;if(i===o)f=[n[i].slice(u,c)];else{if(f=n.slice(i,o),u>-1){const h=f[0];typeof h=="string"?f[0]=h.slice(u):f.shift()}c>0&&f.push(n[o].slice(0,c))}return f}function xE(n,r){let i=-1;const u=[];let o;for(;++i<n.length;){const c=n[i];let f;if(typeof c=="string")f=c;else switch(c){case-5:{f="\r";break}case-4:{f=`
11
+ `;break}case-3:{f=`\r
12
+ `;break}case-2:{f=r?" ":" ";break}case-1:{if(!r&&o)continue;f=" ";break}default:f=String.fromCharCode(c)}o=c===-2,u.push(f)}return u.join("")}function EE(n){const u={constructs:z1([vE,...(n||{}).extensions||[]]),content:o(BS),defined:[],document:o(HS),flow:o(lE),lazy:{},string:o(aE),text:o(uE)};return u;function o(c){return f;function f(h){return bE(u,c,h)}}}function kE(n){for(;!O1(n););return n}const Eg=/[\0\t\n\r]/g;function CE(){let n=1,r="",i=!0,u;return o;function o(c,f,h){const m=[];let p,y,g,b,S;for(c=r+(typeof c=="string"?c.toString():new TextDecoder(f||void 0).decode(c)),g=0,r="",i&&(c.charCodeAt(0)===65279&&g++,i=void 0);g<c.length;){if(Eg.lastIndex=g,p=Eg.exec(c),b=p&&p.index!==void 0?p.index:c.length,S=c.charCodeAt(b),!p){r=c.slice(g);break}if(S===10&&g===b&&u)m.push(-3),u=void 0;else switch(u&&(m.push(-5),u=void 0),g<b&&(m.push(c.slice(g,b)),n+=b-g),S){case 0:{m.push(65533),n++;break}case 9:{for(y=Math.ceil(n/4)*4,m.push(-2);n++<y;)m.push(-1);break}case 10:{m.push(-4),n=1;break}default:u=!0,n=1}g=b+1}return h&&(u&&m.push(-5),r&&m.push(r),m.push(null)),m}}const wE=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function AE(n){return n.replace(wE,TE)}function TE(n,r,i){if(r)return r;if(i.charCodeAt(0)===35){const o=i.charCodeAt(1),c=o===120||o===88;return M1(i.slice(c?2:1),c?16:10)}return Cf(i)||n}const H1={}.hasOwnProperty;function zE(n,r,i){return r&&typeof r=="object"&&(i=r,r=void 0),ME(i)(kE(EE(i).document().write(CE()(n,r,!0))))}function ME(n){const r={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:c(Il),autolinkProtocol:ie,autolinkEmail:ie,atxHeading:c(Xl),blockQuote:c(Qt),characterEscape:ie,characterReference:ie,codeFenced:c(En),codeFencedFenceInfo:f,codeFencedFenceMeta:f,codeIndented:c(En,f),codeText:c(Qr,f),codeTextData:ie,data:ie,codeFlowValue:ie,definition:c(aa),definitionDestinationString:f,definitionLabelString:f,definitionTitleString:f,emphasis:c(kn),hardBreakEscape:c(Fl),hardBreakTrailing:c(Fl),htmlFlow:c(ua,f),htmlFlowData:ie,htmlText:c(ua,f),htmlTextData:ie,image:c(oa),label:f,link:c(Il),listItem:c(Zr),listItemValue:b,listOrdered:c(Ql,g),listUnordered:c(Ql),paragraph:c(no),reference:E,referenceString:f,resourceDestinationString:f,resourceTitleString:f,setextHeading:c(Xl),strong:c(lo),thematicBreak:c(ro)},exit:{atxHeading:m(),atxHeadingSequence:P,autolink:m(),autolinkEmail:He,autolinkProtocol:Pe,blockQuote:m(),characterEscapeValue:N,characterReferenceMarkerHexadecimal:me,characterReferenceMarkerNumeric:me,characterReferenceValue:fe,characterReference:ze,codeFenced:m(A),codeFencedFence:w,codeFencedFenceInfo:S,codeFencedFenceMeta:k,codeFlowValue:N,codeIndented:m(T),codeText:m(ee),codeTextData:N,data:N,definition:m(),definitionDestinationString:G,definitionLabelString:q,definitionTitleString:O,emphasis:m(),hardBreakEscape:m(K),hardBreakTrailing:m(K),htmlFlow:m(be),htmlFlowData:N,htmlText:m(ue),htmlTextData:N,image:m(J),label:ye,labelText:ce,lineEnding:$,link:m(L),listItem:m(),listOrdered:m(),listUnordered:m(),paragraph:m(),referenceString:ae,resourceDestinationString:C,resourceTitleString:_,resource:X,setextHeading:m(re),setextHeadingLineSequence:Q,setextHeadingText:U,strong:m(),thematicBreak:m()}};q1(r,(n||{}).mdastExtensions||[]);const i={};return u;function u(F){let ne={type:"root",children:[]};const ge={stack:[ne],tokenStack:[],config:r,enter:h,exit:p,buffer:f,resume:y,data:i},Ce=[];let Ue=-1;for(;++Ue<F.length;)if(F[Ue][1].type==="listOrdered"||F[Ue][1].type==="listUnordered")if(F[Ue][0]==="enter")Ce.push(Ue);else{const Ut=Ce.pop();Ue=o(F,Ut,Ue)}for(Ue=-1;++Ue<F.length;){const Ut=r[F[Ue][0]];H1.call(Ut,F[Ue][1].type)&&Ut[F[Ue][1].type].call(Object.assign({sliceSerialize:F[Ue][2].sliceSerialize},ge),F[Ue][1])}if(ge.tokenStack.length>0){const Ut=ge.tokenStack[ge.tokenStack.length-1];(Ut[1]||kg).call(ge,void 0,Ut[0])}for(ne.position={start:bl(F.length>0?F[0][1].start:{line:1,column:1,offset:0}),end:bl(F.length>0?F[F.length-2][1].end:{line:1,column:1,offset:0})},Ue=-1;++Ue<r.transforms.length;)ne=r.transforms[Ue](ne)||ne;return ne}function o(F,ne,ge){let Ce=ne-1,Ue=-1,Ut=!1,Cn,kt,ct,At;for(;++Ce<=ge;){const Ge=F[Ce];switch(Ge[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Ge[0]==="enter"?Ue++:Ue--,At=void 0;break}case"lineEndingBlank":{Ge[0]==="enter"&&(Cn&&!At&&!Ue&&!ct&&(ct=Ce),At=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:At=void 0}if(!Ue&&Ge[0]==="enter"&&Ge[1].type==="listItemPrefix"||Ue===-1&&Ge[0]==="exit"&&(Ge[1].type==="listUnordered"||Ge[1].type==="listOrdered")){if(Cn){let In=Ce;for(kt=void 0;In--;){const on=F[In];if(on[1].type==="lineEnding"||on[1].type==="lineEndingBlank"){if(on[0]==="exit")continue;kt&&(F[kt][1].type="lineEndingBlank",Ut=!0),on[1].type="lineEnding",kt=In}else if(!(on[1].type==="linePrefix"||on[1].type==="blockQuotePrefix"||on[1].type==="blockQuotePrefixWhitespace"||on[1].type==="blockQuoteMarker"||on[1].type==="listItemIndent"))break}ct&&(!kt||ct<kt)&&(Cn._spread=!0),Cn.end=Object.assign({},kt?F[kt][1].start:Ge[1].end),F.splice(kt||Ce,0,["exit",Cn,Ge[2]]),Ce++,ge++}if(Ge[1].type==="listItemPrefix"){const In={type:"listItem",_spread:!1,start:Object.assign({},Ge[1].start),end:void 0};Cn=In,F.splice(Ce,0,["enter",In,Ge[2]]),Ce++,ge++,ct=void 0,At=!0}}}return F[ne][1]._spread=Ut,ge}function c(F,ne){return ge;function ge(Ce){h.call(this,F(Ce),Ce),ne&&ne.call(this,Ce)}}function f(){this.stack.push({type:"fragment",children:[]})}function h(F,ne,ge){this.stack[this.stack.length-1].children.push(F),this.stack.push(F),this.tokenStack.push([ne,ge||void 0]),F.position={start:bl(ne.start),end:void 0}}function m(F){return ne;function ne(ge){F&&F.call(this,ge),p.call(this,ge)}}function p(F,ne){const ge=this.stack.pop(),Ce=this.tokenStack.pop();if(Ce)Ce[0].type!==F.type&&(ne?ne.call(this,F,Ce[0]):(Ce[1]||kg).call(this,F,Ce[0]));else throw new Error("Cannot close `"+F.type+"` ("+Zi({start:F.start,end:F.end})+"): it’s not open");ge.position.end=bl(F.end)}function y(){return kf(this.stack.pop())}function g(){this.data.expectingFirstListItemValue=!0}function b(F){if(this.data.expectingFirstListItemValue){const ne=this.stack[this.stack.length-2];ne.start=Number.parseInt(this.sliceSerialize(F),10),this.data.expectingFirstListItemValue=void 0}}function S(){const F=this.resume(),ne=this.stack[this.stack.length-1];ne.lang=F}function k(){const F=this.resume(),ne=this.stack[this.stack.length-1];ne.meta=F}function w(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function A(){const F=this.resume(),ne=this.stack[this.stack.length-1];ne.value=F.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function T(){const F=this.resume(),ne=this.stack[this.stack.length-1];ne.value=F.replace(/(\r?\n|\r)$/g,"")}function q(F){const ne=this.resume(),ge=this.stack[this.stack.length-1];ge.label=ne,ge.identifier=dn(this.sliceSerialize(F)).toLowerCase()}function O(){const F=this.resume(),ne=this.stack[this.stack.length-1];ne.title=F}function G(){const F=this.resume(),ne=this.stack[this.stack.length-1];ne.url=F}function P(F){const ne=this.stack[this.stack.length-1];if(!ne.depth){const ge=this.sliceSerialize(F).length;ne.depth=ge}}function U(){this.data.setextHeadingSlurpLineEnding=!0}function Q(F){const ne=this.stack[this.stack.length-1];ne.depth=this.sliceSerialize(F).codePointAt(0)===61?1:2}function re(){this.data.setextHeadingSlurpLineEnding=void 0}function ie(F){const ge=this.stack[this.stack.length-1].children;let Ce=ge[ge.length-1];(!Ce||Ce.type!=="text")&&(Ce=Et(),Ce.position={start:bl(F.start),end:void 0},ge.push(Ce)),this.stack.push(Ce)}function N(F){const ne=this.stack.pop();ne.value+=this.sliceSerialize(F),ne.position.end=bl(F.end)}function $(F){const ne=this.stack[this.stack.length-1];if(this.data.atHardBreak){const ge=ne.children[ne.children.length-1];ge.position.end=bl(F.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&r.canContainEols.includes(ne.type)&&(ie.call(this,F),N.call(this,F))}function K(){this.data.atHardBreak=!0}function be(){const F=this.resume(),ne=this.stack[this.stack.length-1];ne.value=F}function ue(){const F=this.resume(),ne=this.stack[this.stack.length-1];ne.value=F}function ee(){const F=this.resume(),ne=this.stack[this.stack.length-1];ne.value=F}function L(){const F=this.stack[this.stack.length-1];if(this.data.inReference){const ne=this.data.referenceType||"shortcut";F.type+="Reference",F.referenceType=ne,delete F.url,delete F.title}else delete F.identifier,delete F.label;this.data.referenceType=void 0}function J(){const F=this.stack[this.stack.length-1];if(this.data.inReference){const ne=this.data.referenceType||"shortcut";F.type+="Reference",F.referenceType=ne,delete F.url,delete F.title}else delete F.identifier,delete F.label;this.data.referenceType=void 0}function ce(F){const ne=this.sliceSerialize(F),ge=this.stack[this.stack.length-2];ge.label=AE(ne),ge.identifier=dn(ne).toLowerCase()}function ye(){const F=this.stack[this.stack.length-1],ne=this.resume(),ge=this.stack[this.stack.length-1];if(this.data.inReference=!0,ge.type==="link"){const Ce=F.children;ge.children=Ce}else ge.alt=ne}function C(){const F=this.resume(),ne=this.stack[this.stack.length-1];ne.url=F}function _(){const F=this.resume(),ne=this.stack[this.stack.length-1];ne.title=F}function X(){this.data.inReference=void 0}function E(){this.data.referenceType="collapsed"}function ae(F){const ne=this.resume(),ge=this.stack[this.stack.length-1];ge.label=ne,ge.identifier=dn(this.sliceSerialize(F)).toLowerCase(),this.data.referenceType="full"}function me(F){this.data.characterReferenceType=F.type}function fe(F){const ne=this.sliceSerialize(F),ge=this.data.characterReferenceType;let Ce;ge?(Ce=M1(ne,ge==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Ce=Cf(ne);const Ue=this.stack[this.stack.length-1];Ue.value+=Ce}function ze(F){const ne=this.stack.pop();ne.position.end=bl(F.end)}function Pe(F){N.call(this,F);const ne=this.stack[this.stack.length-1];ne.url=this.sliceSerialize(F)}function He(F){N.call(this,F);const ne=this.stack[this.stack.length-1];ne.url="mailto:"+this.sliceSerialize(F)}function Qt(){return{type:"blockquote",children:[]}}function En(){return{type:"code",lang:null,meta:null,value:""}}function Qr(){return{type:"inlineCode",value:""}}function aa(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function kn(){return{type:"emphasis",children:[]}}function Xl(){return{type:"heading",depth:0,children:[]}}function Fl(){return{type:"break"}}function ua(){return{type:"html",value:""}}function oa(){return{type:"image",title:null,url:"",alt:null}}function Il(){return{type:"link",title:null,url:"",children:[]}}function Ql(F){return{type:"list",ordered:F.type==="listOrdered",start:null,spread:F._spread,children:[]}}function Zr(F){return{type:"listItem",spread:F._spread,checked:null,children:[]}}function no(){return{type:"paragraph",children:[]}}function lo(){return{type:"strong",children:[]}}function Et(){return{type:"text",value:""}}function ro(){return{type:"thematicBreak"}}}function bl(n){return{line:n.line,column:n.column,offset:n.offset}}function q1(n,r){let i=-1;for(;++i<r.length;){const u=r[i];Array.isArray(u)?q1(n,u):_E(n,u)}}function _E(n,r){let i;for(i in r)if(H1.call(r,i))switch(i){case"canContainEols":{const u=r[i];u&&n[i].push(...u);break}case"transforms":{const u=r[i];u&&n[i].push(...u);break}case"enter":case"exit":{const u=r[i];u&&Object.assign(n[i],u);break}}}function kg(n,r){throw n?new Error("Cannot close `"+n.type+"` ("+Zi({start:n.start,end:n.end})+"): a different token (`"+r.type+"`, "+Zi({start:r.start,end:r.end})+") is open"):new Error("Cannot close document, a token (`"+r.type+"`, "+Zi({start:r.start,end:r.end})+") is still open")}function DE(n){const r=this;r.parser=i;function i(u){return zE(u,{...r.data("settings"),...n,extensions:r.data("micromarkExtensions")||[],mdastExtensions:r.data("fromMarkdownExtensions")||[]})}}function RE(n,r){const i={type:"element",tagName:"blockquote",properties:{},children:n.wrap(n.all(r),!0)};return n.patch(r,i),n.applyData(r,i)}function OE(n,r){const i={type:"element",tagName:"br",properties:{},children:[]};return n.patch(r,i),[n.applyData(r,i),{type:"text",value:`
13
+ `}]}function NE(n,r){const i=r.value?r.value+`
14
+ `:"",u={},o=r.lang?r.lang.split(/\s+/):[];o.length>0&&(u.className=["language-"+o[0]]);let c={type:"element",tagName:"code",properties:u,children:[{type:"text",value:i}]};return r.meta&&(c.data={meta:r.meta}),n.patch(r,c),c=n.applyData(r,c),c={type:"element",tagName:"pre",properties:{},children:[c]},n.patch(r,c),c}function LE(n,r){const i={type:"element",tagName:"del",properties:{},children:n.all(r)};return n.patch(r,i),n.applyData(r,i)}function UE(n,r){const i={type:"element",tagName:"em",properties:{},children:n.all(r)};return n.patch(r,i),n.applyData(r,i)}function BE(n,r){const i=typeof n.options.clobberPrefix=="string"?n.options.clobberPrefix:"user-content-",u=String(r.identifier).toUpperCase(),o=Ir(u.toLowerCase()),c=n.footnoteOrder.indexOf(u);let f,h=n.footnoteCounts.get(u);h===void 0?(h=0,n.footnoteOrder.push(u),f=n.footnoteOrder.length):f=c+1,h+=1,n.footnoteCounts.set(u,h);const m={type:"element",tagName:"a",properties:{href:"#"+i+"fn-"+o,id:i+"fnref-"+o+(h>1?"-"+h:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(f)}]};n.patch(r,m);const p={type:"element",tagName:"sup",properties:{},children:[m]};return n.patch(r,p),n.applyData(r,p)}function jE(n,r){const i={type:"element",tagName:"h"+r.depth,properties:{},children:n.all(r)};return n.patch(r,i),n.applyData(r,i)}function HE(n,r){if(n.options.allowDangerousHtml){const i={type:"raw",value:r.value};return n.patch(r,i),n.applyData(r,i)}}function V1(n,r){const i=r.referenceType;let u="]";if(i==="collapsed"?u+="[]":i==="full"&&(u+="["+(r.label||r.identifier)+"]"),r.type==="imageReference")return[{type:"text",value:"!["+r.alt+u}];const o=n.all(r),c=o[0];c&&c.type==="text"?c.value="["+c.value:o.unshift({type:"text",value:"["});const f=o[o.length-1];return f&&f.type==="text"?f.value+=u:o.push({type:"text",value:u}),o}function qE(n,r){const i=String(r.identifier).toUpperCase(),u=n.definitionById.get(i);if(!u)return V1(n,r);const o={src:Ir(u.url||""),alt:r.alt};u.title!==null&&u.title!==void 0&&(o.title=u.title);const c={type:"element",tagName:"img",properties:o,children:[]};return n.patch(r,c),n.applyData(r,c)}function VE(n,r){const i={src:Ir(r.url)};r.alt!==null&&r.alt!==void 0&&(i.alt=r.alt),r.title!==null&&r.title!==void 0&&(i.title=r.title);const u={type:"element",tagName:"img",properties:i,children:[]};return n.patch(r,u),n.applyData(r,u)}function YE(n,r){const i={type:"text",value:r.value.replace(/\r?\n|\r/g," ")};n.patch(r,i);const u={type:"element",tagName:"code",properties:{},children:[i]};return n.patch(r,u),n.applyData(r,u)}function GE(n,r){const i=String(r.identifier).toUpperCase(),u=n.definitionById.get(i);if(!u)return V1(n,r);const o={href:Ir(u.url||"")};u.title!==null&&u.title!==void 0&&(o.title=u.title);const c={type:"element",tagName:"a",properties:o,children:n.all(r)};return n.patch(r,c),n.applyData(r,c)}function XE(n,r){const i={href:Ir(r.url)};r.title!==null&&r.title!==void 0&&(i.title=r.title);const u={type:"element",tagName:"a",properties:i,children:n.all(r)};return n.patch(r,u),n.applyData(r,u)}function FE(n,r,i){const u=n.all(r),o=i?IE(i):Y1(r),c={},f=[];if(typeof r.checked=="boolean"){const y=u[0];let g;y&&y.type==="element"&&y.tagName==="p"?g=y:(g={type:"element",tagName:"p",properties:{},children:[]},u.unshift(g)),g.children.length>0&&g.children.unshift({type:"text",value:" "}),g.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:r.checked,disabled:!0},children:[]}),c.className=["task-list-item"]}let h=-1;for(;++h<u.length;){const y=u[h];(o||h!==0||y.type!=="element"||y.tagName!=="p")&&f.push({type:"text",value:`
15
+ `}),y.type==="element"&&y.tagName==="p"&&!o?f.push(...y.children):f.push(y)}const m=u[u.length-1];m&&(o||m.type!=="element"||m.tagName!=="p")&&f.push({type:"text",value:`
16
+ `});const p={type:"element",tagName:"li",properties:c,children:f};return n.patch(r,p),n.applyData(r,p)}function IE(n){let r=!1;if(n.type==="list"){r=n.spread||!1;const i=n.children;let u=-1;for(;!r&&++u<i.length;)r=Y1(i[u])}return r}function Y1(n){const r=n.spread;return r??n.children.length>1}function QE(n,r){const i={},u=n.all(r);let o=-1;for(typeof r.start=="number"&&r.start!==1&&(i.start=r.start);++o<u.length;){const f=u[o];if(f.type==="element"&&f.tagName==="li"&&f.properties&&Array.isArray(f.properties.className)&&f.properties.className.includes("task-list-item")){i.className=["contains-task-list"];break}}const c={type:"element",tagName:r.ordered?"ol":"ul",properties:i,children:n.wrap(u,!0)};return n.patch(r,c),n.applyData(r,c)}function ZE(n,r){const i={type:"element",tagName:"p",properties:{},children:n.all(r)};return n.patch(r,i),n.applyData(r,i)}function KE(n,r){const i={type:"root",children:n.wrap(n.all(r))};return n.patch(r,i),n.applyData(r,i)}function PE(n,r){const i={type:"element",tagName:"strong",properties:{},children:n.all(r)};return n.patch(r,i),n.applyData(r,i)}function JE(n,r){const i=n.all(r),u=i.shift(),o=[];if(u){const f={type:"element",tagName:"thead",properties:{},children:n.wrap([u],!0)};n.patch(r.children[0],f),o.push(f)}if(i.length>0){const f={type:"element",tagName:"tbody",properties:{},children:n.wrap(i,!0)},h=bf(r.children[1]),m=x1(r.children[r.children.length-1]);h&&m&&(f.position={start:h,end:m}),o.push(f)}const c={type:"element",tagName:"table",properties:{},children:n.wrap(o,!0)};return n.patch(r,c),n.applyData(r,c)}function WE(n,r,i){const u=i?i.children:void 0,c=(u?u.indexOf(r):1)===0?"th":"td",f=i&&i.type==="table"?i.align:void 0,h=f?f.length:r.children.length;let m=-1;const p=[];for(;++m<h;){const g=r.children[m],b={},S=f?f[m]:void 0;S&&(b.align=S);let k={type:"element",tagName:c,properties:b,children:[]};g&&(k.children=n.all(g),n.patch(g,k),k=n.applyData(g,k)),p.push(k)}const y={type:"element",tagName:"tr",properties:{},children:n.wrap(p,!0)};return n.patch(r,y),n.applyData(r,y)}function $E(n,r){const i={type:"element",tagName:"td",properties:{},children:n.all(r)};return n.patch(r,i),n.applyData(r,i)}const Cg=9,wg=32;function ek(n){const r=String(n),i=/\r?\n|\r/g;let u=i.exec(r),o=0;const c=[];for(;u;)c.push(Ag(r.slice(o,u.index),o>0,!0),u[0]),o=u.index+u[0].length,u=i.exec(r);return c.push(Ag(r.slice(o),o>0,!1)),c.join("")}function Ag(n,r,i){let u=0,o=n.length;if(r){let c=n.codePointAt(u);for(;c===Cg||c===wg;)u++,c=n.codePointAt(u)}if(i){let c=n.codePointAt(o-1);for(;c===Cg||c===wg;)o--,c=n.codePointAt(o-1)}return o>u?n.slice(u,o):""}function tk(n,r){const i={type:"text",value:ek(String(r.value))};return n.patch(r,i),n.applyData(r,i)}function nk(n,r){const i={type:"element",tagName:"hr",properties:{},children:[]};return n.patch(r,i),n.applyData(r,i)}const lk={blockquote:RE,break:OE,code:NE,delete:LE,emphasis:UE,footnoteReference:BE,heading:jE,html:HE,imageReference:qE,image:VE,inlineCode:YE,linkReference:GE,link:XE,listItem:FE,list:QE,paragraph:ZE,root:KE,strong:PE,table:JE,tableCell:$E,tableRow:WE,text:tk,thematicBreak:nk,toml:wu,yaml:wu,definition:wu,footnoteDefinition:wu};function wu(){}const G1=-1,Zu=0,Pi=1,Hu=2,Af=3,Tf=4,zf=5,Mf=6,X1=7,F1=8,rk=typeof self=="object"?self:globalThis,Tg=(n,r)=>{switch(n){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw new TypeError("unable to deserialize "+n)}return new rk[n](r)},ik=(n,r)=>{const i=(o,c)=>(n.set(c,o),o),u=o=>{if(n.has(o))return n.get(o);const[c,f]=r[o];switch(c){case Zu:case G1:return i(f,o);case Pi:{const h=i([],o);for(const m of f)h.push(u(m));return h}case Hu:{const h=i({},o);for(const[m,p]of f)h[u(m)]=u(p);return h}case Af:return i(new Date(f),o);case Tf:{const{source:h,flags:m}=f;return i(new RegExp(h,m),o)}case zf:{const h=i(new Map,o);for(const[m,p]of f)h.set(u(m),u(p));return h}case Mf:{const h=i(new Set,o);for(const m of f)h.add(u(m));return h}case X1:{const{name:h,message:m}=f;return i(Tg(h,m),o)}case F1:return i(BigInt(f),o);case"BigInt":return i(Object(BigInt(f)),o);case"ArrayBuffer":return i(new Uint8Array(f).buffer,f);case"DataView":{const{buffer:h}=new Uint8Array(f);return i(new DataView(h),f)}}return i(Tg(c,f),o)};return u},zg=n=>ik(new Map,n)(0),Or="",{toString:ak}={},{keys:uk}=Object,Qi=n=>{const r=typeof n;if(r!=="object"||!n)return[Zu,r];const i=ak.call(n).slice(8,-1);switch(i){case"Array":return[Pi,Or];case"Object":return[Hu,Or];case"Date":return[Af,Or];case"RegExp":return[Tf,Or];case"Map":return[zf,Or];case"Set":return[Mf,Or];case"DataView":return[Pi,i]}return i.includes("Array")?[Pi,i]:i.includes("Error")?[X1,i]:[Hu,i]},Au=([n,r])=>n===Zu&&(r==="function"||r==="symbol"),ok=(n,r,i,u)=>{const o=(f,h)=>{const m=u.push(f)-1;return i.set(h,m),m},c=f=>{if(i.has(f))return i.get(f);let[h,m]=Qi(f);switch(h){case Zu:{let y=f;switch(m){case"bigint":h=F1,y=f.toString();break;case"function":case"symbol":if(n)throw new TypeError("unable to serialize "+m);y=null;break;case"undefined":return o([G1],f)}return o([h,y],f)}case Pi:{if(m){let b=f;return m==="DataView"?b=new Uint8Array(f.buffer):m==="ArrayBuffer"&&(b=new Uint8Array(f)),o([m,[...b]],f)}const y=[],g=o([h,y],f);for(const b of f)y.push(c(b));return g}case Hu:{if(m)switch(m){case"BigInt":return o([m,f.toString()],f);case"Boolean":case"Number":case"String":return o([m,f.valueOf()],f)}if(r&&"toJSON"in f)return c(f.toJSON());const y=[],g=o([h,y],f);for(const b of uk(f))(n||!Au(Qi(f[b])))&&y.push([c(b),c(f[b])]);return g}case Af:return o([h,f.toISOString()],f);case Tf:{const{source:y,flags:g}=f;return o([h,{source:y,flags:g}],f)}case zf:{const y=[],g=o([h,y],f);for(const[b,S]of f)(n||!(Au(Qi(b))||Au(Qi(S))))&&y.push([c(b),c(S)]);return g}case Mf:{const y=[],g=o([h,y],f);for(const b of f)(n||!Au(Qi(b)))&&y.push(c(b));return g}}const{message:p}=f;return o([h,{name:m,message:p}],f)};return c},Mg=(n,{json:r,lossy:i}={})=>{const u=[];return ok(!(r||i),!!r,new Map,u)(n),u},qu=typeof structuredClone=="function"?(n,r)=>r&&("json"in r||"lossy"in r)?zg(Mg(n,r)):structuredClone(n):(n,r)=>zg(Mg(n,r));function ck(n,r){const i=[{type:"text",value:"↩"}];return r>1&&i.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(r)}]}),i}function sk(n,r){return"Back to reference "+(n+1)+(r>1?"-"+r:"")}function fk(n){const r=typeof n.options.clobberPrefix=="string"?n.options.clobberPrefix:"user-content-",i=n.options.footnoteBackContent||ck,u=n.options.footnoteBackLabel||sk,o=n.options.footnoteLabel||"Footnotes",c=n.options.footnoteLabelTagName||"h2",f=n.options.footnoteLabelProperties||{className:["sr-only"]},h=[];let m=-1;for(;++m<n.footnoteOrder.length;){const p=n.footnoteById.get(n.footnoteOrder[m]);if(!p)continue;const y=n.all(p),g=String(p.identifier).toUpperCase(),b=Ir(g.toLowerCase());let S=0;const k=[],w=n.footnoteCounts.get(g);for(;w!==void 0&&++S<=w;){k.length>0&&k.push({type:"text",value:" "});let q=typeof i=="string"?i:i(m,S);typeof q=="string"&&(q={type:"text",value:q}),k.push({type:"element",tagName:"a",properties:{href:"#"+r+"fnref-"+b+(S>1?"-"+S:""),dataFootnoteBackref:"",ariaLabel:typeof u=="string"?u:u(m,S),className:["data-footnote-backref"]},children:Array.isArray(q)?q:[q]})}const A=y[y.length-1];if(A&&A.type==="element"&&A.tagName==="p"){const q=A.children[A.children.length-1];q&&q.type==="text"?q.value+=" ":A.children.push({type:"text",value:" "}),A.children.push(...k)}else y.push(...k);const T={type:"element",tagName:"li",properties:{id:r+"fn-"+b},children:n.wrap(y,!0)};n.patch(p,T),h.push(T)}if(h.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:c,properties:{...qu(f),id:"footnote-label"},children:[{type:"text",value:o}]},{type:"text",value:`
17
+ `},{type:"element",tagName:"ol",properties:{},children:n.wrap(h,!0)},{type:"text",value:`
18
+ `}]}}const Ku=(function(n){if(n==null)return mk;if(typeof n=="function")return Pu(n);if(typeof n=="object")return Array.isArray(n)?dk(n):hk(n);if(typeof n=="string")return pk(n);throw new Error("Expected function, string, or object as test")});function dk(n){const r=[];let i=-1;for(;++i<n.length;)r[i]=Ku(n[i]);return Pu(u);function u(...o){let c=-1;for(;++c<r.length;)if(r[c].apply(this,o))return!0;return!1}}function hk(n){const r=n;return Pu(i);function i(u){const o=u;let c;for(c in n)if(o[c]!==r[c])return!1;return!0}}function pk(n){return Pu(r);function r(i){return i&&i.type===n}}function Pu(n){return r;function r(i,u,o){return!!(gk(i)&&n.call(this,i,typeof u=="number"?u:void 0,o||void 0))}}function mk(){return!0}function gk(n){return n!==null&&typeof n=="object"&&"type"in n}const I1=[],yk=!0,rf=!1,vk="skip";function Q1(n,r,i,u){let o;typeof r=="function"&&typeof i!="function"?(u=i,i=r):o=r;const c=Ku(o),f=u?-1:1;h(n,void 0,[])();function h(m,p,y){const g=m&&typeof m=="object"?m:{};if(typeof g.type=="string"){const S=typeof g.tagName=="string"?g.tagName:typeof g.name=="string"?g.name:void 0;Object.defineProperty(b,"name",{value:"node ("+(m.type+(S?"<"+S+">":""))+")"})}return b;function b(){let S=I1,k,w,A;if((!r||c(m,p,y[y.length-1]||void 0))&&(S=bk(i(m,y)),S[0]===rf))return S;if("children"in m&&m.children){const T=m;if(T.children&&S[0]!==vk)for(w=(u?T.children.length:-1)+f,A=y.concat(T);w>-1&&w<T.children.length;){const q=T.children[w];if(k=h(q,w,A)(),k[0]===rf)return k;w=typeof k[1]=="number"?k[1]:w+f}}return S}}}function bk(n){return Array.isArray(n)?n:typeof n=="number"?[yk,n]:n==null?I1:[n]}function _f(n,r,i,u){let o,c,f;typeof r=="function"&&typeof i!="function"?(c=void 0,f=r,o=i):(c=r,f=i,o=u),Q1(n,c,h,o);function h(m,p){const y=p[p.length-1],g=y?y.children.indexOf(m):void 0;return f(m,g,y)}}const af={}.hasOwnProperty,Sk={};function xk(n,r){const i=r||Sk,u=new Map,o=new Map,c=new Map,f={...lk,...i.handlers},h={all:p,applyData:kk,definitionById:u,footnoteById:o,footnoteCounts:c,footnoteOrder:[],handlers:f,one:m,options:i,patch:Ek,wrap:wk};return _f(n,function(y){if(y.type==="definition"||y.type==="footnoteDefinition"){const g=y.type==="definition"?u:o,b=String(y.identifier).toUpperCase();g.has(b)||g.set(b,y)}}),h;function m(y,g){const b=y.type,S=h.handlers[b];if(af.call(h.handlers,b)&&S)return S(h,y,g);if(h.options.passThrough&&h.options.passThrough.includes(b)){if("children"in y){const{children:w,...A}=y,T=qu(A);return T.children=h.all(y),T}return qu(y)}return(h.options.unknownHandler||Ck)(h,y,g)}function p(y){const g=[];if("children"in y){const b=y.children;let S=-1;for(;++S<b.length;){const k=h.one(b[S],y);if(k){if(S&&b[S-1].type==="break"&&(!Array.isArray(k)&&k.type==="text"&&(k.value=_g(k.value)),!Array.isArray(k)&&k.type==="element")){const w=k.children[0];w&&w.type==="text"&&(w.value=_g(w.value))}Array.isArray(k)?g.push(...k):g.push(k)}}}return g}}function Ek(n,r){n.position&&(r.position=cS(n))}function kk(n,r){let i=r;if(n&&n.data){const u=n.data.hName,o=n.data.hChildren,c=n.data.hProperties;if(typeof u=="string")if(i.type==="element")i.tagName=u;else{const f="children"in i?i.children:[i];i={type:"element",tagName:u,properties:{},children:f}}i.type==="element"&&c&&Object.assign(i.properties,qu(c)),"children"in i&&i.children&&o!==null&&o!==void 0&&(i.children=o)}return i}function Ck(n,r){const i=r.data||{},u="value"in r&&!(af.call(i,"hProperties")||af.call(i,"hChildren"))?{type:"text",value:r.value}:{type:"element",tagName:"div",properties:{},children:n.all(r)};return n.patch(r,u),n.applyData(r,u)}function wk(n,r){const i=[];let u=-1;for(r&&i.push({type:"text",value:`
19
+ `});++u<n.length;)u&&i.push({type:"text",value:`
20
+ `}),i.push(n[u]);return r&&n.length>0&&i.push({type:"text",value:`
21
+ `}),i}function _g(n){let r=0,i=n.charCodeAt(r);for(;i===9||i===32;)r++,i=n.charCodeAt(r);return n.slice(r)}function Dg(n,r){const i=xk(n,r),u=i.one(n,void 0),o=fk(i),c=Array.isArray(u)?{type:"root",children:u}:u||{type:"root",children:[]};return o&&c.children.push({type:"text",value:`
22
+ `},o),c}function Ak(n,r){return n&&"run"in n?async function(i,u){const o=Dg(i,{file:u,...r});await n.run(o,u)}:function(i,u){return Dg(i,{file:u,...n||r})}}function Rg(n){if(n)throw n}var _s,Og;function Tk(){if(Og)return _s;Og=1;var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString,i=Object.defineProperty,u=Object.getOwnPropertyDescriptor,o=function(p){return typeof Array.isArray=="function"?Array.isArray(p):r.call(p)==="[object Array]"},c=function(p){if(!p||r.call(p)!=="[object Object]")return!1;var y=n.call(p,"constructor"),g=p.constructor&&p.constructor.prototype&&n.call(p.constructor.prototype,"isPrototypeOf");if(p.constructor&&!y&&!g)return!1;var b;for(b in p);return typeof b>"u"||n.call(p,b)},f=function(p,y){i&&y.name==="__proto__"?i(p,y.name,{enumerable:!0,configurable:!0,value:y.newValue,writable:!0}):p[y.name]=y.newValue},h=function(p,y){if(y==="__proto__")if(n.call(p,y)){if(u)return u(p,y).value}else return;return p[y]};return _s=function m(){var p,y,g,b,S,k,w=arguments[0],A=1,T=arguments.length,q=!1;for(typeof w=="boolean"&&(q=w,w=arguments[1]||{},A=2),(w==null||typeof w!="object"&&typeof w!="function")&&(w={});A<T;++A)if(p=arguments[A],p!=null)for(y in p)g=h(w,y),b=h(p,y),w!==b&&(q&&b&&(c(b)||(S=o(b)))?(S?(S=!1,k=g&&o(g)?g:[]):k=g&&c(g)?g:{},f(w,{name:y,newValue:m(q,k,b)})):typeof b<"u"&&f(w,{name:y,newValue:b}));return w},_s}var zk=Tk();const Ds=ea(zk);function uf(n){if(typeof n!="object"||n===null)return!1;const r=Object.getPrototypeOf(n);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(Symbol.toStringTag in n)&&!(Symbol.iterator in n)}function Mk(){const n=[],r={run:i,use:u};return r;function i(...o){let c=-1;const f=o.pop();if(typeof f!="function")throw new TypeError("Expected function as last argument, not "+f);h(null,...o);function h(m,...p){const y=n[++c];let g=-1;if(m){f(m);return}for(;++g<o.length;)(p[g]===null||p[g]===void 0)&&(p[g]=o[g]);o=p,y?_k(y,h)(...p):f(null,...p)}}function u(o){if(typeof o!="function")throw new TypeError("Expected `middelware` to be a function, not "+o);return n.push(o),r}}function _k(n,r){let i;return u;function u(...f){const h=n.length>f.length;let m;h&&f.push(o);try{m=n.apply(this,f)}catch(p){const y=p;if(h&&i)throw y;return o(y)}h||(m&&m.then&&typeof m.then=="function"?m.then(c,o):m instanceof Error?o(m):c(m))}function o(f,...h){i||(i=!0,r(f,...h))}function c(f){o(null,f)}}const vn={basename:Dk,dirname:Rk,extname:Ok,join:Nk,sep:"/"};function Dk(n,r){if(r!==void 0&&typeof r!="string")throw new TypeError('"ext" argument must be a string');la(n);let i=0,u=-1,o=n.length,c;if(r===void 0||r.length===0||r.length>n.length){for(;o--;)if(n.codePointAt(o)===47){if(c){i=o+1;break}}else u<0&&(c=!0,u=o+1);return u<0?"":n.slice(i,u)}if(r===n)return"";let f=-1,h=r.length-1;for(;o--;)if(n.codePointAt(o)===47){if(c){i=o+1;break}}else f<0&&(c=!0,f=o+1),h>-1&&(n.codePointAt(o)===r.codePointAt(h--)?h<0&&(u=o):(h=-1,u=f));return i===u?u=f:u<0&&(u=n.length),n.slice(i,u)}function Rk(n){if(la(n),n.length===0)return".";let r=-1,i=n.length,u;for(;--i;)if(n.codePointAt(i)===47){if(u){r=i;break}}else u||(u=!0);return r<0?n.codePointAt(0)===47?"/":".":r===1&&n.codePointAt(0)===47?"//":n.slice(0,r)}function Ok(n){la(n);let r=n.length,i=-1,u=0,o=-1,c=0,f;for(;r--;){const h=n.codePointAt(r);if(h===47){if(f){u=r+1;break}continue}i<0&&(f=!0,i=r+1),h===46?o<0?o=r:c!==1&&(c=1):o>-1&&(c=-1)}return o<0||i<0||c===0||c===1&&o===i-1&&o===u+1?"":n.slice(o,i)}function Nk(...n){let r=-1,i;for(;++r<n.length;)la(n[r]),n[r]&&(i=i===void 0?n[r]:i+"/"+n[r]);return i===void 0?".":Lk(i)}function Lk(n){la(n);const r=n.codePointAt(0)===47;let i=Uk(n,!r);return i.length===0&&!r&&(i="."),i.length>0&&n.codePointAt(n.length-1)===47&&(i+="/"),r?"/"+i:i}function Uk(n,r){let i="",u=0,o=-1,c=0,f=-1,h,m;for(;++f<=n.length;){if(f<n.length)h=n.codePointAt(f);else{if(h===47)break;h=47}if(h===47){if(!(o===f-1||c===1))if(o!==f-1&&c===2){if(i.length<2||u!==2||i.codePointAt(i.length-1)!==46||i.codePointAt(i.length-2)!==46){if(i.length>2){if(m=i.lastIndexOf("/"),m!==i.length-1){m<0?(i="",u=0):(i=i.slice(0,m),u=i.length-1-i.lastIndexOf("/")),o=f,c=0;continue}}else if(i.length>0){i="",u=0,o=f,c=0;continue}}r&&(i=i.length>0?i+"/..":"..",u=2)}else i.length>0?i+="/"+n.slice(o+1,f):i=n.slice(o+1,f),u=f-o-1;o=f,c=0}else h===46&&c>-1?c++:c=-1}return i}function la(n){if(typeof n!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(n))}const Bk={cwd:jk};function jk(){return"/"}function of(n){return!!(n!==null&&typeof n=="object"&&"href"in n&&n.href&&"protocol"in n&&n.protocol&&n.auth===void 0)}function Hk(n){if(typeof n=="string")n=new URL(n);else if(!of(n)){const r=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+n+"`");throw r.code="ERR_INVALID_ARG_TYPE",r}if(n.protocol!=="file:"){const r=new TypeError("The URL must be of scheme file");throw r.code="ERR_INVALID_URL_SCHEME",r}return qk(n)}function qk(n){if(n.hostname!==""){const u=new TypeError('File URL host must be "localhost" or empty on darwin');throw u.code="ERR_INVALID_FILE_URL_HOST",u}const r=n.pathname;let i=-1;for(;++i<r.length;)if(r.codePointAt(i)===37&&r.codePointAt(i+1)===50){const u=r.codePointAt(i+2);if(u===70||u===102){const o=new TypeError("File URL path must not include encoded / characters");throw o.code="ERR_INVALID_FILE_URL_PATH",o}}return decodeURIComponent(r)}const Rs=["history","path","basename","stem","extname","dirname"];class Z1{constructor(r){let i;r?of(r)?i={path:r}:typeof r=="string"||Vk(r)?i={value:r}:i=r:i={},this.cwd="cwd"in i?"":Bk.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let u=-1;for(;++u<Rs.length;){const c=Rs[u];c in i&&i[c]!==void 0&&i[c]!==null&&(this[c]=c==="history"?[...i[c]]:i[c])}let o;for(o in i)Rs.includes(o)||(this[o]=i[o])}get basename(){return typeof this.path=="string"?vn.basename(this.path):void 0}set basename(r){Ns(r,"basename"),Os(r,"basename"),this.path=vn.join(this.dirname||"",r)}get dirname(){return typeof this.path=="string"?vn.dirname(this.path):void 0}set dirname(r){Ng(this.basename,"dirname"),this.path=vn.join(r||"",this.basename)}get extname(){return typeof this.path=="string"?vn.extname(this.path):void 0}set extname(r){if(Os(r,"extname"),Ng(this.dirname,"extname"),r){if(r.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(r.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=vn.join(this.dirname,this.stem+(r||""))}get path(){return this.history[this.history.length-1]}set path(r){of(r)&&(r=Hk(r)),Ns(r,"path"),this.path!==r&&this.history.push(r)}get stem(){return typeof this.path=="string"?vn.basename(this.path,this.extname):void 0}set stem(r){Ns(r,"stem"),Os(r,"stem"),this.path=vn.join(this.dirname||"",r+(this.extname||""))}fail(r,i,u){const o=this.message(r,i,u);throw o.fatal=!0,o}info(r,i,u){const o=this.message(r,i,u);return o.fatal=void 0,o}message(r,i,u){const o=new xt(r,i,u);return this.path&&(o.name=this.path+":"+o.name,o.file=this.path),o.fatal=!1,this.messages.push(o),o}toString(r){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(r||void 0).decode(this.value)}}function Os(n,r){if(n&&n.includes(vn.sep))throw new Error("`"+r+"` cannot be a path: did not expect `"+vn.sep+"`")}function Ns(n,r){if(!n)throw new Error("`"+r+"` cannot be empty")}function Ng(n,r){if(!n)throw new Error("Setting `"+r+"` requires `path` to be set too")}function Vk(n){return!!(n&&typeof n=="object"&&"byteLength"in n&&"byteOffset"in n)}const Yk=(function(n){const u=this.constructor.prototype,o=u[n],c=function(){return o.apply(c,arguments)};return Object.setPrototypeOf(c,u),c}),Gk={}.hasOwnProperty;class Df extends Yk{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=Mk()}copy(){const r=new Df;let i=-1;for(;++i<this.attachers.length;){const u=this.attachers[i];r.use(...u)}return r.data(Ds(!0,{},this.namespace)),r}data(r,i){return typeof r=="string"?arguments.length===2?(Bs("data",this.frozen),this.namespace[r]=i,this):Gk.call(this.namespace,r)&&this.namespace[r]||void 0:r?(Bs("data",this.frozen),this.namespace=r,this):this.namespace}freeze(){if(this.frozen)return this;const r=this;for(;++this.freezeIndex<this.attachers.length;){const[i,...u]=this.attachers[this.freezeIndex];if(u[0]===!1)continue;u[0]===!0&&(u[0]=void 0);const o=i.call(r,...u);typeof o=="function"&&this.transformers.use(o)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(r){this.freeze();const i=Tu(r),u=this.parser||this.Parser;return Ls("parse",u),u(String(i),i)}process(r,i){const u=this;return this.freeze(),Ls("process",this.parser||this.Parser),Us("process",this.compiler||this.Compiler),i?o(void 0,i):new Promise(o);function o(c,f){const h=Tu(r),m=u.parse(h);u.run(m,h,function(y,g,b){if(y||!g||!b)return p(y);const S=g,k=u.stringify(S,b);Ik(k)?b.value=k:b.result=k,p(y,b)});function p(y,g){y||!g?f(y):c?c(g):i(void 0,g)}}}processSync(r){let i=!1,u;return this.freeze(),Ls("processSync",this.parser||this.Parser),Us("processSync",this.compiler||this.Compiler),this.process(r,o),Ug("processSync","process",i),u;function o(c,f){i=!0,Rg(c),u=f}}run(r,i,u){Lg(r),this.freeze();const o=this.transformers;return!u&&typeof i=="function"&&(u=i,i=void 0),u?c(void 0,u):new Promise(c);function c(f,h){const m=Tu(i);o.run(r,m,p);function p(y,g,b){const S=g||r;y?h(y):f?f(S):u(void 0,S,b)}}}runSync(r,i){let u=!1,o;return this.run(r,i,c),Ug("runSync","run",u),o;function c(f,h){Rg(f),o=h,u=!0}}stringify(r,i){this.freeze();const u=Tu(i),o=this.compiler||this.Compiler;return Us("stringify",o),Lg(r),o(r,u)}use(r,...i){const u=this.attachers,o=this.namespace;if(Bs("use",this.frozen),r!=null)if(typeof r=="function")m(r,i);else if(typeof r=="object")Array.isArray(r)?h(r):f(r);else throw new TypeError("Expected usable value, not `"+r+"`");return this;function c(p){if(typeof p=="function")m(p,[]);else if(typeof p=="object")if(Array.isArray(p)){const[y,...g]=p;m(y,g)}else f(p);else throw new TypeError("Expected usable value, not `"+p+"`")}function f(p){if(!("plugins"in p)&&!("settings"in p))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");h(p.plugins),p.settings&&(o.settings=Ds(!0,o.settings,p.settings))}function h(p){let y=-1;if(p!=null)if(Array.isArray(p))for(;++y<p.length;){const g=p[y];c(g)}else throw new TypeError("Expected a list of plugins, not `"+p+"`")}function m(p,y){let g=-1,b=-1;for(;++g<u.length;)if(u[g][0]===p){b=g;break}if(b===-1)u.push([p,...y]);else if(y.length>0){let[S,...k]=y;const w=u[b][1];uf(w)&&uf(S)&&(S=Ds(!0,w,S)),u[b]=[p,S,...k]}}}}const Xk=new Df().freeze();function Ls(n,r){if(typeof r!="function")throw new TypeError("Cannot `"+n+"` without `parser`")}function Us(n,r){if(typeof r!="function")throw new TypeError("Cannot `"+n+"` without `compiler`")}function Bs(n,r){if(r)throw new Error("Cannot call `"+n+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Lg(n){if(!uf(n)||typeof n.type!="string")throw new TypeError("Expected node, got `"+n+"`")}function Ug(n,r,i){if(!i)throw new Error("`"+n+"` finished async. Use `"+r+"` instead")}function Tu(n){return Fk(n)?n:new Z1(n)}function Fk(n){return!!(n&&typeof n=="object"&&"message"in n&&"messages"in n)}function Ik(n){return typeof n=="string"||Qk(n)}function Qk(n){return!!(n&&typeof n=="object"&&"byteLength"in n&&"byteOffset"in n)}const Zk="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Bg=[],jg={allowDangerousHtml:!0},Kk=/^(https?|ircs?|mailto|xmpp)$/i,Pk=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function KT(n){const r=Jk(n),i=Wk(n);return $k(r.runSync(r.parse(i),i),n)}function Jk(n){const r=n.rehypePlugins||Bg,i=n.remarkPlugins||Bg,u=n.remarkRehypeOptions?{...n.remarkRehypeOptions,...jg}:jg;return Xk().use(DE).use(i).use(Ak,u).use(r)}function Wk(n){const r=n.children||"",i=new Z1;return typeof r=="string"&&(i.value=r),i}function $k(n,r){const i=r.allowedElements,u=r.allowElement,o=r.components,c=r.disallowedElements,f=r.skipHtml,h=r.unwrapDisallowed,m=r.urlTransform||eC;for(const y of Pk)Object.hasOwn(r,y.from)&&(""+y.from+(y.to?"use `"+y.to+"` instead":"remove it")+Zk+y.id,void 0);return r.className&&(n={type:"element",tagName:"div",properties:{className:r.className},children:n.type==="root"?n.children:[n]}),_f(n,p),pS(n,{Fragment:te.Fragment,components:o,ignoreInvalidStyle:!0,jsx:te.jsx,jsxs:te.jsxs,passKeys:!0,passNode:!0});function p(y,g,b){if(y.type==="raw"&&b&&typeof g=="number")return f?b.children.splice(g,1):b.children[g]={type:"text",value:y.value},g;if(y.type==="element"){let S;for(S in Ts)if(Object.hasOwn(Ts,S)&&Object.hasOwn(y.properties,S)){const k=y.properties[S],w=Ts[S];(w===null||w.includes(y.tagName))&&(y.properties[S]=m(String(k||""),S,y))}}if(y.type==="element"){let S=i?!i.includes(y.tagName):c?c.includes(y.tagName):!1;if(!S&&u&&typeof g=="number"&&(S=!u(y,g,b)),S&&b&&typeof g=="number")return h&&y.children?b.children.splice(g,1,...y.children):b.children.splice(g,1),g}}}function eC(n){const r=n.indexOf(":"),i=n.indexOf("?"),u=n.indexOf("#"),o=n.indexOf("/");return r===-1||o!==-1&&r>o||i!==-1&&r>i||u!==-1&&r>u||Kk.test(n.slice(0,r))?n:""}function Hg(n,r){const i=String(n);if(typeof r!="string")throw new TypeError("Expected character");let u=0,o=i.indexOf(r);for(;o!==-1;)u++,o=i.indexOf(r,o+r.length);return u}function tC(n){if(typeof n!="string")throw new TypeError("Expected a string");return n.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function nC(n,r,i){const o=Ku((i||{}).ignore||[]),c=lC(r);let f=-1;for(;++f<c.length;)Q1(n,"text",h);function h(p,y){let g=-1,b;for(;++g<y.length;){const S=y[g],k=b?b.children:void 0;if(o(S,k?k.indexOf(S):void 0,b))return;b=S}if(b)return m(p,y)}function m(p,y){const g=y[y.length-1],b=c[f][0],S=c[f][1];let k=0;const A=g.children.indexOf(p);let T=!1,q=[];b.lastIndex=0;let O=b.exec(p.value);for(;O;){const G=O.index,P={index:O.index,input:O.input,stack:[...y,p]};let U=S(...O,P);if(typeof U=="string"&&(U=U.length>0?{type:"text",value:U}:void 0),U===!1?b.lastIndex=G+1:(k!==G&&q.push({type:"text",value:p.value.slice(k,G)}),Array.isArray(U)?q.push(...U):U&&q.push(U),k=G+O[0].length,T=!0),!b.global)break;O=b.exec(p.value)}return T?(k<p.value.length&&q.push({type:"text",value:p.value.slice(k)}),g.children.splice(A,1,...q)):q=[p],A+q.length}}function lC(n){const r=[];if(!Array.isArray(n))throw new TypeError("Expected find and replace tuple or list of tuples");const i=!n[0]||Array.isArray(n[0])?n:[n];let u=-1;for(;++u<i.length;){const o=i[u];r.push([rC(o[0]),iC(o[1])])}return r}function rC(n){return typeof n=="string"?new RegExp(tC(n),"g"):n}function iC(n){return typeof n=="function"?n:function(){return n}}const js="phrasing",Hs=["autolink","link","image","label"];function aC(){return{transforms:[hC],enter:{literalAutolink:oC,literalAutolinkEmail:qs,literalAutolinkHttp:qs,literalAutolinkWww:qs},exit:{literalAutolink:dC,literalAutolinkEmail:fC,literalAutolinkHttp:cC,literalAutolinkWww:sC}}}function uC(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:js,notInConstruct:Hs},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:js,notInConstruct:Hs},{character:":",before:"[ps]",after:"\\/",inConstruct:js,notInConstruct:Hs}]}}function oC(n){this.enter({type:"link",title:null,url:"",children:[]},n)}function qs(n){this.config.enter.autolinkProtocol.call(this,n)}function cC(n){this.config.exit.autolinkProtocol.call(this,n)}function sC(n){this.config.exit.data.call(this,n);const r=this.stack[this.stack.length-1];r.type,r.url="http://"+this.sliceSerialize(n)}function fC(n){this.config.exit.autolinkEmail.call(this,n)}function dC(n){this.exit(n)}function hC(n){nC(n,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,pC],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),mC]],{ignore:["link","linkReference"]})}function pC(n,r,i,u,o){let c="";if(!K1(o)||(/^w/i.test(r)&&(i=r+i,r="",c="http://"),!gC(i)))return!1;const f=yC(i+u);if(!f[0])return!1;const h={type:"link",title:null,url:c+r+f[0],children:[{type:"text",value:r+f[0]}]};return f[1]?[h,{type:"text",value:f[1]}]:h}function mC(n,r,i,u){return!K1(u,!0)||/[-\d_]$/.test(i)?!1:{type:"link",title:null,url:"mailto:"+r+"@"+i,children:[{type:"text",value:r+"@"+i}]}}function gC(n){const r=n.split(".");return!(r.length<2||r[r.length-1]&&(/_/.test(r[r.length-1])||!/[a-zA-Z\d]/.test(r[r.length-1]))||r[r.length-2]&&(/_/.test(r[r.length-2])||!/[a-zA-Z\d]/.test(r[r.length-2])))}function yC(n){const r=/[!"&'),.:;<>?\]}]+$/.exec(n);if(!r)return[n,void 0];n=n.slice(0,r.index);let i=r[0],u=i.indexOf(")");const o=Hg(n,"(");let c=Hg(n,")");for(;u!==-1&&o>c;)n+=i.slice(0,u+1),i=i.slice(u+1),u=i.indexOf(")"),c++;return[n,i]}function K1(n,r){const i=n.input.charCodeAt(n.index-1);return(n.index===0||Vl(i)||Iu(i))&&(!r||i!==47)}P1.peek=AC;function vC(){this.buffer()}function bC(n){this.enter({type:"footnoteReference",identifier:"",label:""},n)}function SC(){this.buffer()}function xC(n){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},n)}function EC(n){const r=this.resume(),i=this.stack[this.stack.length-1];i.type,i.identifier=dn(this.sliceSerialize(n)).toLowerCase(),i.label=r}function kC(n){this.exit(n)}function CC(n){const r=this.resume(),i=this.stack[this.stack.length-1];i.type,i.identifier=dn(this.sliceSerialize(n)).toLowerCase(),i.label=r}function wC(n){this.exit(n)}function AC(){return"["}function P1(n,r,i,u){const o=i.createTracker(u);let c=o.move("[^");const f=i.enter("footnoteReference"),h=i.enter("reference");return c+=o.move(i.safe(i.associationId(n),{after:"]",before:c})),h(),f(),c+=o.move("]"),c}function TC(){return{enter:{gfmFootnoteCallString:vC,gfmFootnoteCall:bC,gfmFootnoteDefinitionLabelString:SC,gfmFootnoteDefinition:xC},exit:{gfmFootnoteCallString:EC,gfmFootnoteCall:kC,gfmFootnoteDefinitionLabelString:CC,gfmFootnoteDefinition:wC}}}function zC(n){let r=!1;return n&&n.firstLineBlank&&(r=!0),{handlers:{footnoteDefinition:i,footnoteReference:P1},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function i(u,o,c,f){const h=c.createTracker(f);let m=h.move("[^");const p=c.enter("footnoteDefinition"),y=c.enter("label");return m+=h.move(c.safe(c.associationId(u),{before:m,after:"]"})),y(),m+=h.move("]:"),u.children&&u.children.length>0&&(h.shift(4),m+=h.move((r?`
23
+ `:" ")+c.indentLines(c.containerFlow(u,h.current()),r?J1:MC))),p(),m}}function MC(n,r,i){return r===0?n:J1(n,r,i)}function J1(n,r,i){return(i?"":" ")+n}const _C=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];W1.peek=LC;function DC(){return{canContainEols:["delete"],enter:{strikethrough:OC},exit:{strikethrough:NC}}}function RC(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:_C}],handlers:{delete:W1}}}function OC(n){this.enter({type:"delete",children:[]},n)}function NC(n){this.exit(n)}function W1(n,r,i,u){const o=i.createTracker(u),c=i.enter("strikethrough");let f=o.move("~~");return f+=i.containerPhrasing(n,{...o.current(),before:f,after:"~"}),f+=o.move("~~"),c(),f}function LC(){return"~"}function UC(n){return n.length}function BC(n,r){const i=r||{},u=(i.align||[]).concat(),o=i.stringLength||UC,c=[],f=[],h=[],m=[];let p=0,y=-1;for(;++y<n.length;){const w=[],A=[];let T=-1;for(n[y].length>p&&(p=n[y].length);++T<n[y].length;){const q=jC(n[y][T]);if(i.alignDelimiters!==!1){const O=o(q);A[T]=O,(m[T]===void 0||O>m[T])&&(m[T]=O)}w.push(q)}f[y]=w,h[y]=A}let g=-1;if(typeof u=="object"&&"length"in u)for(;++g<p;)c[g]=qg(u[g]);else{const w=qg(u);for(;++g<p;)c[g]=w}g=-1;const b=[],S=[];for(;++g<p;){const w=c[g];let A="",T="";w===99?(A=":",T=":"):w===108?A=":":w===114&&(T=":");let q=i.alignDelimiters===!1?1:Math.max(1,m[g]-A.length-T.length);const O=A+"-".repeat(q)+T;i.alignDelimiters!==!1&&(q=A.length+q+T.length,q>m[g]&&(m[g]=q),S[g]=q),b[g]=O}f.splice(1,0,b),h.splice(1,0,S),y=-1;const k=[];for(;++y<f.length;){const w=f[y],A=h[y];g=-1;const T=[];for(;++g<p;){const q=w[g]||"";let O="",G="";if(i.alignDelimiters!==!1){const P=m[g]-(A[g]||0),U=c[g];U===114?O=" ".repeat(P):U===99?P%2?(O=" ".repeat(P/2+.5),G=" ".repeat(P/2-.5)):(O=" ".repeat(P/2),G=O):G=" ".repeat(P)}i.delimiterStart!==!1&&!g&&T.push("|"),i.padding!==!1&&!(i.alignDelimiters===!1&&q==="")&&(i.delimiterStart!==!1||g)&&T.push(" "),i.alignDelimiters!==!1&&T.push(O),T.push(q),i.alignDelimiters!==!1&&T.push(G),i.padding!==!1&&T.push(" "),(i.delimiterEnd!==!1||g!==p-1)&&T.push("|")}k.push(i.delimiterEnd===!1?T.join("").replace(/ +$/,""):T.join(""))}return k.join(`
24
+ `)}function jC(n){return n==null?"":String(n)}function qg(n){const r=typeof n=="string"?n.codePointAt(0):0;return r===67||r===99?99:r===76||r===108?108:r===82||r===114?114:0}function HC(n,r,i,u){const o=i.enter("blockquote"),c=i.createTracker(u);c.move("> "),c.shift(2);const f=i.indentLines(i.containerFlow(n,c.current()),qC);return o(),f}function qC(n,r,i){return">"+(i?"":" ")+n}function VC(n,r){return Vg(n,r.inConstruct,!0)&&!Vg(n,r.notInConstruct,!1)}function Vg(n,r,i){if(typeof r=="string"&&(r=[r]),!r||r.length===0)return i;let u=-1;for(;++u<r.length;)if(n.includes(r[u]))return!0;return!1}function Yg(n,r,i,u){let o=-1;for(;++o<i.unsafe.length;)if(i.unsafe[o].character===`
25
+ `&&VC(i.stack,i.unsafe[o]))return/[ \t]/.test(u.before)?"":" ";return`\\
26
+ `}function YC(n,r){const i=String(n);let u=i.indexOf(r),o=u,c=0,f=0;if(typeof r!="string")throw new TypeError("Expected substring");for(;u!==-1;)u===o?++c>f&&(f=c):c=1,o=u+r.length,u=i.indexOf(r,o);return f}function GC(n,r){return!!(r.options.fences===!1&&n.value&&!n.lang&&/[^ \r\n]/.test(n.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(n.value))}function XC(n){const r=n.options.fence||"`";if(r!=="`"&&r!=="~")throw new Error("Cannot serialize code with `"+r+"` for `options.fence`, expected `` ` `` or `~`");return r}function FC(n,r,i,u){const o=XC(i),c=n.value||"",f=o==="`"?"GraveAccent":"Tilde";if(GC(n,i)){const g=i.enter("codeIndented"),b=i.indentLines(c,IC);return g(),b}const h=i.createTracker(u),m=o.repeat(Math.max(YC(c,o)+1,3)),p=i.enter("codeFenced");let y=h.move(m);if(n.lang){const g=i.enter(`codeFencedLang${f}`);y+=h.move(i.safe(n.lang,{before:y,after:" ",encode:["`"],...h.current()})),g()}if(n.lang&&n.meta){const g=i.enter(`codeFencedMeta${f}`);y+=h.move(" "),y+=h.move(i.safe(n.meta,{before:y,after:`
27
+ `,encode:["`"],...h.current()})),g()}return y+=h.move(`
28
+ `),c&&(y+=h.move(c+`
29
+ `)),y+=h.move(m),p(),y}function IC(n,r,i){return(i?"":" ")+n}function Rf(n){const r=n.options.quote||'"';if(r!=='"'&&r!=="'")throw new Error("Cannot serialize title with `"+r+"` for `options.quote`, expected `\"`, or `'`");return r}function QC(n,r,i,u){const o=Rf(i),c=o==='"'?"Quote":"Apostrophe",f=i.enter("definition");let h=i.enter("label");const m=i.createTracker(u);let p=m.move("[");return p+=m.move(i.safe(i.associationId(n),{before:p,after:"]",...m.current()})),p+=m.move("]: "),h(),!n.url||/[\0- \u007F]/.test(n.url)?(h=i.enter("destinationLiteral"),p+=m.move("<"),p+=m.move(i.safe(n.url,{before:p,after:">",...m.current()})),p+=m.move(">")):(h=i.enter("destinationRaw"),p+=m.move(i.safe(n.url,{before:p,after:n.title?" ":`
30
+ `,...m.current()}))),h(),n.title&&(h=i.enter(`title${c}`),p+=m.move(" "+o),p+=m.move(i.safe(n.title,{before:p,after:o,...m.current()})),p+=m.move(o),h()),f(),p}function ZC(n){const r=n.options.emphasis||"*";if(r!=="*"&&r!=="_")throw new Error("Cannot serialize emphasis with `"+r+"` for `options.emphasis`, expected `*`, or `_`");return r}function $i(n){return"&#x"+n.toString(16).toUpperCase()+";"}function Vu(n,r,i){const u=Vr(n),o=Vr(r);return u===void 0?o===void 0?i==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:o===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:u===1?o===void 0?{inside:!1,outside:!1}:o===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:o===void 0?{inside:!1,outside:!1}:o===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}$1.peek=KC;function $1(n,r,i,u){const o=ZC(i),c=i.enter("emphasis"),f=i.createTracker(u),h=f.move(o);let m=f.move(i.containerPhrasing(n,{after:o,before:h,...f.current()}));const p=m.charCodeAt(0),y=Vu(u.before.charCodeAt(u.before.length-1),p,o);y.inside&&(m=$i(p)+m.slice(1));const g=m.charCodeAt(m.length-1),b=Vu(u.after.charCodeAt(0),g,o);b.inside&&(m=m.slice(0,-1)+$i(g));const S=f.move(o);return c(),i.attentionEncodeSurroundingInfo={after:b.outside,before:y.outside},h+m+S}function KC(n,r,i){return i.options.emphasis||"*"}function PC(n,r){let i=!1;return _f(n,function(u){if("value"in u&&/\r?\n|\r/.test(u.value)||u.type==="break")return i=!0,rf}),!!((!n.depth||n.depth<3)&&kf(n)&&(r.options.setext||i))}function JC(n,r,i,u){const o=Math.max(Math.min(6,n.depth||1),1),c=i.createTracker(u);if(PC(n,i)){const y=i.enter("headingSetext"),g=i.enter("phrasing"),b=i.containerPhrasing(n,{...c.current(),before:`
31
+ `,after:`
32
+ `});return g(),y(),b+`
33
+ `+(o===1?"=":"-").repeat(b.length-(Math.max(b.lastIndexOf("\r"),b.lastIndexOf(`
34
+ `))+1))}const f="#".repeat(o),h=i.enter("headingAtx"),m=i.enter("phrasing");c.move(f+" ");let p=i.containerPhrasing(n,{before:"# ",after:`
35
+ `,...c.current()});return/^[\t ]/.test(p)&&(p=$i(p.charCodeAt(0))+p.slice(1)),p=p?f+" "+p:f,i.options.closeAtx&&(p+=" "+f),m(),h(),p}ey.peek=WC;function ey(n){return n.value||""}function WC(){return"<"}ty.peek=$C;function ty(n,r,i,u){const o=Rf(i),c=o==='"'?"Quote":"Apostrophe",f=i.enter("image");let h=i.enter("label");const m=i.createTracker(u);let p=m.move("![");return p+=m.move(i.safe(n.alt,{before:p,after:"]",...m.current()})),p+=m.move("]("),h(),!n.url&&n.title||/[\0- \u007F]/.test(n.url)?(h=i.enter("destinationLiteral"),p+=m.move("<"),p+=m.move(i.safe(n.url,{before:p,after:">",...m.current()})),p+=m.move(">")):(h=i.enter("destinationRaw"),p+=m.move(i.safe(n.url,{before:p,after:n.title?" ":")",...m.current()}))),h(),n.title&&(h=i.enter(`title${c}`),p+=m.move(" "+o),p+=m.move(i.safe(n.title,{before:p,after:o,...m.current()})),p+=m.move(o),h()),p+=m.move(")"),f(),p}function $C(){return"!"}ny.peek=ew;function ny(n,r,i,u){const o=n.referenceType,c=i.enter("imageReference");let f=i.enter("label");const h=i.createTracker(u);let m=h.move("![");const p=i.safe(n.alt,{before:m,after:"]",...h.current()});m+=h.move(p+"]["),f();const y=i.stack;i.stack=[],f=i.enter("reference");const g=i.safe(i.associationId(n),{before:m,after:"]",...h.current()});return f(),i.stack=y,c(),o==="full"||!p||p!==g?m+=h.move(g+"]"):o==="shortcut"?m=m.slice(0,-1):m+=h.move("]"),m}function ew(){return"!"}ly.peek=tw;function ly(n,r,i){let u=n.value||"",o="`",c=-1;for(;new RegExp("(^|[^`])"+o+"([^`]|$)").test(u);)o+="`";for(/[^ \r\n]/.test(u)&&(/^[ \r\n]/.test(u)&&/[ \r\n]$/.test(u)||/^`|`$/.test(u))&&(u=" "+u+" ");++c<i.unsafe.length;){const f=i.unsafe[c],h=i.compilePattern(f);let m;if(f.atBreak)for(;m=h.exec(u);){let p=m.index;u.charCodeAt(p)===10&&u.charCodeAt(p-1)===13&&p--,u=u.slice(0,p)+" "+u.slice(m.index+1)}}return o+u+o}function tw(){return"`"}function ry(n,r){const i=kf(n);return!!(!r.options.resourceLink&&n.url&&!n.title&&n.children&&n.children.length===1&&n.children[0].type==="text"&&(i===n.url||"mailto:"+i===n.url)&&/^[a-z][a-z+.-]+:/i.test(n.url)&&!/[\0- <>\u007F]/.test(n.url))}iy.peek=nw;function iy(n,r,i,u){const o=Rf(i),c=o==='"'?"Quote":"Apostrophe",f=i.createTracker(u);let h,m;if(ry(n,i)){const y=i.stack;i.stack=[],h=i.enter("autolink");let g=f.move("<");return g+=f.move(i.containerPhrasing(n,{before:g,after:">",...f.current()})),g+=f.move(">"),h(),i.stack=y,g}h=i.enter("link"),m=i.enter("label");let p=f.move("[");return p+=f.move(i.containerPhrasing(n,{before:p,after:"](",...f.current()})),p+=f.move("]("),m(),!n.url&&n.title||/[\0- \u007F]/.test(n.url)?(m=i.enter("destinationLiteral"),p+=f.move("<"),p+=f.move(i.safe(n.url,{before:p,after:">",...f.current()})),p+=f.move(">")):(m=i.enter("destinationRaw"),p+=f.move(i.safe(n.url,{before:p,after:n.title?" ":")",...f.current()}))),m(),n.title&&(m=i.enter(`title${c}`),p+=f.move(" "+o),p+=f.move(i.safe(n.title,{before:p,after:o,...f.current()})),p+=f.move(o),m()),p+=f.move(")"),h(),p}function nw(n,r,i){return ry(n,i)?"<":"["}ay.peek=lw;function ay(n,r,i,u){const o=n.referenceType,c=i.enter("linkReference");let f=i.enter("label");const h=i.createTracker(u);let m=h.move("[");const p=i.containerPhrasing(n,{before:m,after:"]",...h.current()});m+=h.move(p+"]["),f();const y=i.stack;i.stack=[],f=i.enter("reference");const g=i.safe(i.associationId(n),{before:m,after:"]",...h.current()});return f(),i.stack=y,c(),o==="full"||!p||p!==g?m+=h.move(g+"]"):o==="shortcut"?m=m.slice(0,-1):m+=h.move("]"),m}function lw(){return"["}function Of(n){const r=n.options.bullet||"*";if(r!=="*"&&r!=="+"&&r!=="-")throw new Error("Cannot serialize items with `"+r+"` for `options.bullet`, expected `*`, `+`, or `-`");return r}function rw(n){const r=Of(n),i=n.options.bulletOther;if(!i)return r==="*"?"-":"*";if(i!=="*"&&i!=="+"&&i!=="-")throw new Error("Cannot serialize items with `"+i+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(i===r)throw new Error("Expected `bullet` (`"+r+"`) and `bulletOther` (`"+i+"`) to be different");return i}function iw(n){const r=n.options.bulletOrdered||".";if(r!=="."&&r!==")")throw new Error("Cannot serialize items with `"+r+"` for `options.bulletOrdered`, expected `.` or `)`");return r}function uy(n){const r=n.options.rule||"*";if(r!=="*"&&r!=="-"&&r!=="_")throw new Error("Cannot serialize rules with `"+r+"` for `options.rule`, expected `*`, `-`, or `_`");return r}function aw(n,r,i,u){const o=i.enter("list"),c=i.bulletCurrent;let f=n.ordered?iw(i):Of(i);const h=n.ordered?f==="."?")":".":rw(i);let m=r&&i.bulletLastUsed?f===i.bulletLastUsed:!1;if(!n.ordered){const y=n.children?n.children[0]:void 0;if((f==="*"||f==="-")&&y&&(!y.children||!y.children[0])&&i.stack[i.stack.length-1]==="list"&&i.stack[i.stack.length-2]==="listItem"&&i.stack[i.stack.length-3]==="list"&&i.stack[i.stack.length-4]==="listItem"&&i.indexStack[i.indexStack.length-1]===0&&i.indexStack[i.indexStack.length-2]===0&&i.indexStack[i.indexStack.length-3]===0&&(m=!0),uy(i)===f&&y){let g=-1;for(;++g<n.children.length;){const b=n.children[g];if(b&&b.type==="listItem"&&b.children&&b.children[0]&&b.children[0].type==="thematicBreak"){m=!0;break}}}}m&&(f=h),i.bulletCurrent=f;const p=i.containerFlow(n,u);return i.bulletLastUsed=f,i.bulletCurrent=c,o(),p}function uw(n){const r=n.options.listItemIndent||"one";if(r!=="tab"&&r!=="one"&&r!=="mixed")throw new Error("Cannot serialize items with `"+r+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return r}function ow(n,r,i,u){const o=uw(i);let c=i.bulletCurrent||Of(i);r&&r.type==="list"&&r.ordered&&(c=(typeof r.start=="number"&&r.start>-1?r.start:1)+(i.options.incrementListMarker===!1?0:r.children.indexOf(n))+c);let f=c.length+1;(o==="tab"||o==="mixed"&&(r&&r.type==="list"&&r.spread||n.spread))&&(f=Math.ceil(f/4)*4);const h=i.createTracker(u);h.move(c+" ".repeat(f-c.length)),h.shift(f);const m=i.enter("listItem"),p=i.indentLines(i.containerFlow(n,h.current()),y);return m(),p;function y(g,b,S){return b?(S?"":" ".repeat(f))+g:(S?c:c+" ".repeat(f-c.length))+g}}function cw(n,r,i,u){const o=i.enter("paragraph"),c=i.enter("phrasing"),f=i.containerPhrasing(n,u);return c(),o(),f}const sw=Ku(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function fw(n,r,i,u){return(n.children.some(function(f){return sw(f)})?i.containerPhrasing:i.containerFlow).call(i,n,u)}function dw(n){const r=n.options.strong||"*";if(r!=="*"&&r!=="_")throw new Error("Cannot serialize strong with `"+r+"` for `options.strong`, expected `*`, or `_`");return r}oy.peek=hw;function oy(n,r,i,u){const o=dw(i),c=i.enter("strong"),f=i.createTracker(u),h=f.move(o+o);let m=f.move(i.containerPhrasing(n,{after:o,before:h,...f.current()}));const p=m.charCodeAt(0),y=Vu(u.before.charCodeAt(u.before.length-1),p,o);y.inside&&(m=$i(p)+m.slice(1));const g=m.charCodeAt(m.length-1),b=Vu(u.after.charCodeAt(0),g,o);b.inside&&(m=m.slice(0,-1)+$i(g));const S=f.move(o+o);return c(),i.attentionEncodeSurroundingInfo={after:b.outside,before:y.outside},h+m+S}function hw(n,r,i){return i.options.strong||"*"}function pw(n,r,i,u){return i.safe(n.value,u)}function mw(n){const r=n.options.ruleRepetition||3;if(r<3)throw new Error("Cannot serialize rules with repetition `"+r+"` for `options.ruleRepetition`, expected `3` or more");return r}function gw(n,r,i){const u=(uy(i)+(i.options.ruleSpaces?" ":"")).repeat(mw(i));return i.options.ruleSpaces?u.slice(0,-1):u}const cy={blockquote:HC,break:Yg,code:FC,definition:QC,emphasis:$1,hardBreak:Yg,heading:JC,html:ey,image:ty,imageReference:ny,inlineCode:ly,link:iy,linkReference:ay,list:aw,listItem:ow,paragraph:cw,root:fw,strong:oy,text:pw,thematicBreak:gw};function yw(){return{enter:{table:vw,tableData:Gg,tableHeader:Gg,tableRow:Sw},exit:{codeText:xw,table:bw,tableData:Vs,tableHeader:Vs,tableRow:Vs}}}function vw(n){const r=n._align;this.enter({type:"table",align:r.map(function(i){return i==="none"?null:i}),children:[]},n),this.data.inTable=!0}function bw(n){this.exit(n),this.data.inTable=void 0}function Sw(n){this.enter({type:"tableRow",children:[]},n)}function Vs(n){this.exit(n)}function Gg(n){this.enter({type:"tableCell",children:[]},n)}function xw(n){let r=this.resume();this.data.inTable&&(r=r.replace(/\\([\\|])/g,Ew));const i=this.stack[this.stack.length-1];i.type,i.value=r,this.exit(n)}function Ew(n,r){return r==="|"?r:n}function kw(n){const r=n||{},i=r.tableCellPadding,u=r.tablePipeAlign,o=r.stringLength,c=i?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
36
+ `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:b,table:f,tableCell:m,tableRow:h}};function f(S,k,w,A){return p(y(S,w,A),S.align)}function h(S,k,w,A){const T=g(S,w,A),q=p([T]);return q.slice(0,q.indexOf(`
37
+ `))}function m(S,k,w,A){const T=w.enter("tableCell"),q=w.enter("phrasing"),O=w.containerPhrasing(S,{...A,before:c,after:c});return q(),T(),O}function p(S,k){return BC(S,{align:k,alignDelimiters:u,padding:i,stringLength:o})}function y(S,k,w){const A=S.children;let T=-1;const q=[],O=k.enter("table");for(;++T<A.length;)q[T]=g(A[T],k,w);return O(),q}function g(S,k,w){const A=S.children;let T=-1;const q=[],O=k.enter("tableRow");for(;++T<A.length;)q[T]=m(A[T],S,k,w);return O(),q}function b(S,k,w){let A=cy.inlineCode(S,k,w);return w.stack.includes("tableCell")&&(A=A.replace(/\|/g,"\\$&")),A}}function Cw(){return{exit:{taskListCheckValueChecked:Xg,taskListCheckValueUnchecked:Xg,paragraph:Aw}}}function ww(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Tw}}}function Xg(n){const r=this.stack[this.stack.length-2];r.type,r.checked=n.type==="taskListCheckValueChecked"}function Aw(n){const r=this.stack[this.stack.length-2];if(r&&r.type==="listItem"&&typeof r.checked=="boolean"){const i=this.stack[this.stack.length-1];i.type;const u=i.children[0];if(u&&u.type==="text"){const o=r.children;let c=-1,f;for(;++c<o.length;){const h=o[c];if(h.type==="paragraph"){f=h;break}}f===i&&(u.value=u.value.slice(1),u.value.length===0?i.children.shift():i.position&&u.position&&typeof u.position.start.offset=="number"&&(u.position.start.column++,u.position.start.offset++,i.position.start=Object.assign({},u.position.start)))}}this.exit(n)}function Tw(n,r,i,u){const o=n.children[0],c=typeof n.checked=="boolean"&&o&&o.type==="paragraph",f="["+(n.checked?"x":" ")+"] ",h=i.createTracker(u);c&&h.move(f);let m=cy.listItem(n,r,i,{...u,...h.current()});return c&&(m=m.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,p)),m;function p(y){return y+f}}function zw(){return[aC(),TC(),DC(),yw(),Cw()]}function Mw(n){return{extensions:[uC(),zC(n),RC(),kw(n),ww()]}}const _w={tokenize:Uw,partial:!0},sy={tokenize:Bw,partial:!0},fy={tokenize:jw,partial:!0},dy={tokenize:Hw,partial:!0},Dw={tokenize:qw,partial:!0},hy={name:"wwwAutolink",tokenize:Nw,previous:my},py={name:"protocolAutolink",tokenize:Lw,previous:gy},Xn={name:"emailAutolink",tokenize:Ow,previous:yy},Sn={};function Rw(){return{text:Sn}}let ql=48;for(;ql<123;)Sn[ql]=Xn,ql++,ql===58?ql=65:ql===91&&(ql=97);Sn[43]=Xn;Sn[45]=Xn;Sn[46]=Xn;Sn[95]=Xn;Sn[72]=[Xn,py];Sn[104]=[Xn,py];Sn[87]=[Xn,hy];Sn[119]=[Xn,hy];function Ow(n,r,i){const u=this;let o,c;return f;function f(g){return!cf(g)||!yy.call(u,u.previous)||Nf(u.events)?i(g):(n.enter("literalAutolink"),n.enter("literalAutolinkEmail"),h(g))}function h(g){return cf(g)?(n.consume(g),h):g===64?(n.consume(g),m):i(g)}function m(g){return g===46?n.check(Dw,y,p)(g):g===45||g===95||bt(g)?(c=!0,n.consume(g),m):y(g)}function p(g){return n.consume(g),o=!0,m}function y(g){return c&&o&&wt(u.previous)?(n.exit("literalAutolinkEmail"),n.exit("literalAutolink"),r(g)):i(g)}}function Nw(n,r,i){const u=this;return o;function o(f){return f!==87&&f!==119||!my.call(u,u.previous)||Nf(u.events)?i(f):(n.enter("literalAutolink"),n.enter("literalAutolinkWww"),n.check(_w,n.attempt(sy,n.attempt(fy,c),i),i)(f))}function c(f){return n.exit("literalAutolinkWww"),n.exit("literalAutolink"),r(f)}}function Lw(n,r,i){const u=this;let o="",c=!1;return f;function f(g){return(g===72||g===104)&&gy.call(u,u.previous)&&!Nf(u.events)?(n.enter("literalAutolink"),n.enter("literalAutolinkHttp"),o+=String.fromCodePoint(g),n.consume(g),h):i(g)}function h(g){if(wt(g)&&o.length<5)return o+=String.fromCodePoint(g),n.consume(g),h;if(g===58){const b=o.toLowerCase();if(b==="http"||b==="https")return n.consume(g),m}return i(g)}function m(g){return g===47?(n.consume(g),c?p:(c=!0,m)):i(g)}function p(g){return g===null||ju(g)||Fe(g)||Vl(g)||Iu(g)?i(g):n.attempt(sy,n.attempt(fy,y),i)(g)}function y(g){return n.exit("literalAutolinkHttp"),n.exit("literalAutolink"),r(g)}}function Uw(n,r,i){let u=0;return o;function o(f){return(f===87||f===119)&&u<3?(u++,n.consume(f),o):f===46&&u===3?(n.consume(f),c):i(f)}function c(f){return f===null?i(f):r(f)}}function Bw(n,r,i){let u,o,c;return f;function f(p){return p===46||p===95?n.check(dy,m,h)(p):p===null||Fe(p)||Vl(p)||p!==45&&Iu(p)?m(p):(c=!0,n.consume(p),f)}function h(p){return p===95?u=!0:(o=u,u=void 0),n.consume(p),f}function m(p){return o||u||!c?i(p):r(p)}}function jw(n,r){let i=0,u=0;return o;function o(f){return f===40?(i++,n.consume(f),o):f===41&&u<i?c(f):f===33||f===34||f===38||f===39||f===41||f===42||f===44||f===46||f===58||f===59||f===60||f===63||f===93||f===95||f===126?n.check(dy,r,c)(f):f===null||Fe(f)||Vl(f)?r(f):(n.consume(f),o)}function c(f){return f===41&&u++,n.consume(f),o}}function Hw(n,r,i){return u;function u(h){return h===33||h===34||h===39||h===41||h===42||h===44||h===46||h===58||h===59||h===63||h===95||h===126?(n.consume(h),u):h===38?(n.consume(h),c):h===93?(n.consume(h),o):h===60||h===null||Fe(h)||Vl(h)?r(h):i(h)}function o(h){return h===null||h===40||h===91||Fe(h)||Vl(h)?r(h):u(h)}function c(h){return wt(h)?f(h):i(h)}function f(h){return h===59?(n.consume(h),u):wt(h)?(n.consume(h),f):i(h)}}function qw(n,r,i){return u;function u(c){return n.consume(c),o}function o(c){return bt(c)?i(c):r(c)}}function my(n){return n===null||n===40||n===42||n===95||n===91||n===93||n===126||Fe(n)}function gy(n){return!wt(n)}function yy(n){return!(n===47||cf(n))}function cf(n){return n===43||n===45||n===46||n===95||bt(n)}function Nf(n){let r=n.length,i=!1;for(;r--;){const u=n[r][1];if((u.type==="labelLink"||u.type==="labelImage")&&!u._balanced){i=!0;break}if(u._gfmAutolinkLiteralWalkedInto){i=!1;break}}return n.length>0&&!i&&(n[n.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),i}const Vw={tokenize:Kw,partial:!0};function Yw(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:Iw,continuation:{tokenize:Qw},exit:Zw}},text:{91:{name:"gfmFootnoteCall",tokenize:Fw},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:Gw,resolveTo:Xw}}}}function Gw(n,r,i){const u=this;let o=u.events.length;const c=u.parser.gfmFootnotes||(u.parser.gfmFootnotes=[]);let f;for(;o--;){const m=u.events[o][1];if(m.type==="labelImage"){f=m;break}if(m.type==="gfmFootnoteCall"||m.type==="labelLink"||m.type==="label"||m.type==="image"||m.type==="link")break}return h;function h(m){if(!f||!f._balanced)return i(m);const p=dn(u.sliceSerialize({start:f.end,end:u.now()}));return p.codePointAt(0)!==94||!c.includes(p.slice(1))?i(m):(n.enter("gfmFootnoteCallLabelMarker"),n.consume(m),n.exit("gfmFootnoteCallLabelMarker"),r(m))}}function Xw(n,r){let i=n.length;for(;i--;)if(n[i][1].type==="labelImage"&&n[i][0]==="enter"){n[i][1];break}n[i+1][1].type="data",n[i+3][1].type="gfmFootnoteCallLabelMarker";const u={type:"gfmFootnoteCall",start:Object.assign({},n[i+3][1].start),end:Object.assign({},n[n.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},n[i+3][1].end),end:Object.assign({},n[i+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;const c={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},n[n.length-1][1].start)},f={type:"chunkString",contentType:"string",start:Object.assign({},c.start),end:Object.assign({},c.end)},h=[n[i+1],n[i+2],["enter",u,r],n[i+3],n[i+4],["enter",o,r],["exit",o,r],["enter",c,r],["enter",f,r],["exit",f,r],["exit",c,r],n[n.length-2],n[n.length-1],["exit",u,r]];return n.splice(i,n.length-i+1,...h),n}function Fw(n,r,i){const u=this,o=u.parser.gfmFootnotes||(u.parser.gfmFootnotes=[]);let c=0,f;return h;function h(g){return n.enter("gfmFootnoteCall"),n.enter("gfmFootnoteCallLabelMarker"),n.consume(g),n.exit("gfmFootnoteCallLabelMarker"),m}function m(g){return g!==94?i(g):(n.enter("gfmFootnoteCallMarker"),n.consume(g),n.exit("gfmFootnoteCallMarker"),n.enter("gfmFootnoteCallString"),n.enter("chunkString").contentType="string",p)}function p(g){if(c>999||g===93&&!f||g===null||g===91||Fe(g))return i(g);if(g===93){n.exit("chunkString");const b=n.exit("gfmFootnoteCallString");return o.includes(dn(u.sliceSerialize(b)))?(n.enter("gfmFootnoteCallLabelMarker"),n.consume(g),n.exit("gfmFootnoteCallLabelMarker"),n.exit("gfmFootnoteCall"),r):i(g)}return Fe(g)||(f=!0),c++,n.consume(g),g===92?y:p}function y(g){return g===91||g===92||g===93?(n.consume(g),c++,p):p(g)}}function Iw(n,r,i){const u=this,o=u.parser.gfmFootnotes||(u.parser.gfmFootnotes=[]);let c,f=0,h;return m;function m(k){return n.enter("gfmFootnoteDefinition")._container=!0,n.enter("gfmFootnoteDefinitionLabel"),n.enter("gfmFootnoteDefinitionLabelMarker"),n.consume(k),n.exit("gfmFootnoteDefinitionLabelMarker"),p}function p(k){return k===94?(n.enter("gfmFootnoteDefinitionMarker"),n.consume(k),n.exit("gfmFootnoteDefinitionMarker"),n.enter("gfmFootnoteDefinitionLabelString"),n.enter("chunkString").contentType="string",y):i(k)}function y(k){if(f>999||k===93&&!h||k===null||k===91||Fe(k))return i(k);if(k===93){n.exit("chunkString");const w=n.exit("gfmFootnoteDefinitionLabelString");return c=dn(u.sliceSerialize(w)),n.enter("gfmFootnoteDefinitionLabelMarker"),n.consume(k),n.exit("gfmFootnoteDefinitionLabelMarker"),n.exit("gfmFootnoteDefinitionLabel"),b}return Fe(k)||(h=!0),f++,n.consume(k),k===92?g:y}function g(k){return k===91||k===92||k===93?(n.consume(k),f++,y):y(k)}function b(k){return k===58?(n.enter("definitionMarker"),n.consume(k),n.exit("definitionMarker"),o.includes(c)||o.push(c),Re(n,S,"gfmFootnoteDefinitionWhitespace")):i(k)}function S(k){return r(k)}}function Qw(n,r,i){return n.check(na,r,n.attempt(Vw,r,i))}function Zw(n){n.exit("gfmFootnoteDefinition")}function Kw(n,r,i){const u=this;return Re(n,o,"gfmFootnoteDefinitionIndent",5);function o(c){const f=u.events[u.events.length-1];return f&&f[1].type==="gfmFootnoteDefinitionIndent"&&f[2].sliceSerialize(f[1],!0).length===4?r(c):i(c)}}function Pw(n){let i=(n||{}).singleTilde;const u={name:"strikethrough",tokenize:c,resolveAll:o};return i==null&&(i=!0),{text:{126:u},insideSpan:{null:[u]},attentionMarkers:{null:[126]}};function o(f,h){let m=-1;for(;++m<f.length;)if(f[m][0]==="enter"&&f[m][1].type==="strikethroughSequenceTemporary"&&f[m][1]._close){let p=m;for(;p--;)if(f[p][0]==="exit"&&f[p][1].type==="strikethroughSequenceTemporary"&&f[p][1]._open&&f[m][1].end.offset-f[m][1].start.offset===f[p][1].end.offset-f[p][1].start.offset){f[m][1].type="strikethroughSequence",f[p][1].type="strikethroughSequence";const y={type:"strikethrough",start:Object.assign({},f[p][1].start),end:Object.assign({},f[m][1].end)},g={type:"strikethroughText",start:Object.assign({},f[p][1].end),end:Object.assign({},f[m][1].start)},b=[["enter",y,h],["enter",f[p][1],h],["exit",f[p][1],h],["enter",g,h]],S=h.parser.constructs.insideSpan.null;S&&It(b,b.length,0,Qu(S,f.slice(p+1,m),h)),It(b,b.length,0,[["exit",g,h],["enter",f[m][1],h],["exit",f[m][1],h],["exit",y,h]]),It(f,p-1,m-p+3,b),m=p+b.length-2;break}}for(m=-1;++m<f.length;)f[m][1].type==="strikethroughSequenceTemporary"&&(f[m][1].type="data");return f}function c(f,h,m){const p=this.previous,y=this.events;let g=0;return b;function b(k){return p===126&&y[y.length-1][1].type!=="characterEscape"?m(k):(f.enter("strikethroughSequenceTemporary"),S(k))}function S(k){const w=Vr(p);if(k===126)return g>1?m(k):(f.consume(k),g++,S);if(g<2&&!i)return m(k);const A=f.exit("strikethroughSequenceTemporary"),T=Vr(k);return A._open=!T||T===2&&!!w,A._close=!w||w===2&&!!T,h(k)}}}class Jw{constructor(){this.map=[]}add(r,i,u){Ww(this,r,i,u)}consume(r){if(this.map.sort(function(c,f){return c[0]-f[0]}),this.map.length===0)return;let i=this.map.length;const u=[];for(;i>0;)i-=1,u.push(r.slice(this.map[i][0]+this.map[i][1]),this.map[i][2]),r.length=this.map[i][0];u.push(r.slice()),r.length=0;let o=u.pop();for(;o;){for(const c of o)r.push(c);o=u.pop()}this.map.length=0}}function Ww(n,r,i,u){let o=0;if(!(i===0&&u.length===0)){for(;o<n.map.length;){if(n.map[o][0]===r){n.map[o][1]+=i,n.map[o][2].push(...u);return}o+=1}n.map.push([r,i,u])}}function $w(n,r){let i=!1;const u=[];for(;r<n.length;){const o=n[r];if(i){if(o[0]==="enter")o[1].type==="tableContent"&&u.push(n[r+1][1].type==="tableDelimiterMarker"?"left":"none");else if(o[1].type==="tableContent"){if(n[r-1][1].type==="tableDelimiterMarker"){const c=u.length-1;u[c]=u[c]==="left"?"center":"right"}}else if(o[1].type==="tableDelimiterRow")break}else o[0]==="enter"&&o[1].type==="tableDelimiterRow"&&(i=!0);r+=1}return u}function e3(){return{flow:{null:{name:"table",tokenize:t3,resolveAll:n3}}}}function t3(n,r,i){const u=this;let o=0,c=0,f;return h;function h(N){let $=u.events.length-1;for(;$>-1;){const ue=u.events[$][1].type;if(ue==="lineEnding"||ue==="linePrefix")$--;else break}const K=$>-1?u.events[$][1].type:null,be=K==="tableHead"||K==="tableRow"?U:m;return be===U&&u.parser.lazy[u.now().line]?i(N):be(N)}function m(N){return n.enter("tableHead"),n.enter("tableRow"),p(N)}function p(N){return N===124||(f=!0,c+=1),y(N)}function y(N){return N===null?i(N):he(N)?c>1?(c=0,u.interrupt=!0,n.exit("tableRow"),n.enter("lineEnding"),n.consume(N),n.exit("lineEnding"),S):i(N):Te(N)?Re(n,y,"whitespace")(N):(c+=1,f&&(f=!1,o+=1),N===124?(n.enter("tableCellDivider"),n.consume(N),n.exit("tableCellDivider"),f=!0,y):(n.enter("data"),g(N)))}function g(N){return N===null||N===124||Fe(N)?(n.exit("data"),y(N)):(n.consume(N),N===92?b:g)}function b(N){return N===92||N===124?(n.consume(N),g):g(N)}function S(N){return u.interrupt=!1,u.parser.lazy[u.now().line]?i(N):(n.enter("tableDelimiterRow"),f=!1,Te(N)?Re(n,k,"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(N):k(N))}function k(N){return N===45||N===58?A(N):N===124?(f=!0,n.enter("tableCellDivider"),n.consume(N),n.exit("tableCellDivider"),w):P(N)}function w(N){return Te(N)?Re(n,A,"whitespace")(N):A(N)}function A(N){return N===58?(c+=1,f=!0,n.enter("tableDelimiterMarker"),n.consume(N),n.exit("tableDelimiterMarker"),T):N===45?(c+=1,T(N)):N===null||he(N)?G(N):P(N)}function T(N){return N===45?(n.enter("tableDelimiterFiller"),q(N)):P(N)}function q(N){return N===45?(n.consume(N),q):N===58?(f=!0,n.exit("tableDelimiterFiller"),n.enter("tableDelimiterMarker"),n.consume(N),n.exit("tableDelimiterMarker"),O):(n.exit("tableDelimiterFiller"),O(N))}function O(N){return Te(N)?Re(n,G,"whitespace")(N):G(N)}function G(N){return N===124?k(N):N===null||he(N)?!f||o!==c?P(N):(n.exit("tableDelimiterRow"),n.exit("tableHead"),r(N)):P(N)}function P(N){return i(N)}function U(N){return n.enter("tableRow"),Q(N)}function Q(N){return N===124?(n.enter("tableCellDivider"),n.consume(N),n.exit("tableCellDivider"),Q):N===null||he(N)?(n.exit("tableRow"),r(N)):Te(N)?Re(n,Q,"whitespace")(N):(n.enter("data"),re(N))}function re(N){return N===null||N===124||Fe(N)?(n.exit("data"),Q(N)):(n.consume(N),N===92?ie:re)}function ie(N){return N===92||N===124?(n.consume(N),re):re(N)}}function n3(n,r){let i=-1,u=!0,o=0,c=[0,0,0,0],f=[0,0,0,0],h=!1,m=0,p,y,g;const b=new Jw;for(;++i<n.length;){const S=n[i],k=S[1];S[0]==="enter"?k.type==="tableHead"?(h=!1,m!==0&&(Fg(b,r,m,p,y),y=void 0,m=0),p={type:"table",start:Object.assign({},k.start),end:Object.assign({},k.end)},b.add(i,0,[["enter",p,r]])):k.type==="tableRow"||k.type==="tableDelimiterRow"?(u=!0,g=void 0,c=[0,0,0,0],f=[0,i+1,0,0],h&&(h=!1,y={type:"tableBody",start:Object.assign({},k.start),end:Object.assign({},k.end)},b.add(i,0,[["enter",y,r]])),o=k.type==="tableDelimiterRow"?2:y?3:1):o&&(k.type==="data"||k.type==="tableDelimiterMarker"||k.type==="tableDelimiterFiller")?(u=!1,f[2]===0&&(c[1]!==0&&(f[0]=f[1],g=zu(b,r,c,o,void 0,g),c=[0,0,0,0]),f[2]=i)):k.type==="tableCellDivider"&&(u?u=!1:(c[1]!==0&&(f[0]=f[1],g=zu(b,r,c,o,void 0,g)),c=f,f=[c[1],i,0,0])):k.type==="tableHead"?(h=!0,m=i):k.type==="tableRow"||k.type==="tableDelimiterRow"?(m=i,c[1]!==0?(f[0]=f[1],g=zu(b,r,c,o,i,g)):f[1]!==0&&(g=zu(b,r,f,o,i,g)),o=0):o&&(k.type==="data"||k.type==="tableDelimiterMarker"||k.type==="tableDelimiterFiller")&&(f[3]=i)}for(m!==0&&Fg(b,r,m,p,y),b.consume(r.events),i=-1;++i<r.events.length;){const S=r.events[i];S[0]==="enter"&&S[1].type==="table"&&(S[1]._align=$w(r.events,i))}return n}function zu(n,r,i,u,o,c){const f=u===1?"tableHeader":u===2?"tableDelimiter":"tableData",h="tableContent";i[0]!==0&&(c.end=Object.assign({},Br(r.events,i[0])),n.add(i[0],0,[["exit",c,r]]));const m=Br(r.events,i[1]);if(c={type:f,start:Object.assign({},m),end:Object.assign({},m)},n.add(i[1],0,[["enter",c,r]]),i[2]!==0){const p=Br(r.events,i[2]),y=Br(r.events,i[3]),g={type:h,start:Object.assign({},p),end:Object.assign({},y)};if(n.add(i[2],0,[["enter",g,r]]),u!==2){const b=r.events[i[2]],S=r.events[i[3]];if(b[1].end=Object.assign({},S[1].end),b[1].type="chunkText",b[1].contentType="text",i[3]>i[2]+1){const k=i[2]+1,w=i[3]-i[2]-1;n.add(k,w,[])}}n.add(i[3]+1,0,[["exit",g,r]])}return o!==void 0&&(c.end=Object.assign({},Br(r.events,o)),n.add(o,0,[["exit",c,r]]),c=void 0),c}function Fg(n,r,i,u,o){const c=[],f=Br(r.events,i);o&&(o.end=Object.assign({},f),c.push(["exit",o,r])),u.end=Object.assign({},f),c.push(["exit",u,r]),n.add(i+1,0,c)}function Br(n,r){const i=n[r],u=i[0]==="enter"?"start":"end";return i[1][u]}const l3={name:"tasklistCheck",tokenize:i3};function r3(){return{text:{91:l3}}}function i3(n,r,i){const u=this;return o;function o(m){return u.previous!==null||!u._gfmTasklistFirstContentOfListItem?i(m):(n.enter("taskListCheck"),n.enter("taskListCheckMarker"),n.consume(m),n.exit("taskListCheckMarker"),c)}function c(m){return Fe(m)?(n.enter("taskListCheckValueUnchecked"),n.consume(m),n.exit("taskListCheckValueUnchecked"),f):m===88||m===120?(n.enter("taskListCheckValueChecked"),n.consume(m),n.exit("taskListCheckValueChecked"),f):i(m)}function f(m){return m===93?(n.enter("taskListCheckMarker"),n.consume(m),n.exit("taskListCheckMarker"),n.exit("taskListCheck"),h):i(m)}function h(m){return he(m)?r(m):Te(m)?n.check({tokenize:a3},r,i)(m):i(m)}}function a3(n,r,i){return Re(n,u,"whitespace");function u(o){return o===null?i(o):r(o)}}function u3(n){return z1([Rw(),Yw(),Pw(n),e3(),r3()])}const o3={};function PT(n){const r=this,i=n||o3,u=r.data(),o=u.micromarkExtensions||(u.micromarkExtensions=[]),c=u.fromMarkdownExtensions||(u.fromMarkdownExtensions=[]),f=u.toMarkdownExtensions||(u.toMarkdownExtensions=[]);o.push(u3(i)),c.push(zw()),f.push(Mw(i))}var vy=i1();const c3=ea(vy);function Yu(n){const r=s3(n),i=M.forwardRef((u,o)=>{const{children:c,...f}=u,h=M.Children.toArray(c),m=h.find(d3);if(m){const p=m.props.children,y=h.map(g=>g===m?M.Children.count(p)>1?M.Children.only(null):M.isValidElement(p)?p.props.children:null:g);return te.jsx(r,{...f,ref:o,children:M.isValidElement(p)?M.cloneElement(p,void 0,y):null})}return te.jsx(r,{...f,ref:o,children:c})});return i.displayName=`${n}.Slot`,i}function s3(n){const r=M.forwardRef((i,u)=>{const{children:o,...c}=i;if(M.isValidElement(o)){const f=p3(o),h=h3(c,o.props);return o.type!==M.Fragment&&(h.ref=u?gf(u,f):f),M.cloneElement(o,h)}return M.Children.count(o)>1?M.Children.only(null):null});return r.displayName=`${n}.SlotClone`,r}var f3=Symbol("radix.slottable");function d3(n){return M.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===f3}function h3(n,r){const i={...r};for(const u in r){const o=n[u],c=r[u];/^on[A-Z]/.test(u)?o&&c?i[u]=(...h)=>{const m=c(...h);return o(...h),m}:o&&(i[u]=o):u==="style"?i[u]={...o,...c}:u==="className"&&(i[u]=[o,c].filter(Boolean).join(" "))}return{...n,...i}}function p3(n){let r=Object.getOwnPropertyDescriptor(n.props,"ref")?.get,i=r&&"isReactWarning"in r&&r.isReactWarning;return i?n.ref:(r=Object.getOwnPropertyDescriptor(n,"ref")?.get,i=r&&"isReactWarning"in r&&r.isReactWarning,i?n.props.ref:n.props.ref||n.ref)}var m3=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],ot=m3.reduce((n,r)=>{const i=Yu(`Primitive.${r}`),u=M.forwardRef((o,c)=>{const{asChild:f,...h}=o,m=f?i:r;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),te.jsx(m,{...h,ref:c})});return u.displayName=`Primitive.${r}`,{...n,[r]:u}},{});function g3(n,r){n&&vy.flushSync(()=>n.dispatchEvent(r))}var Yr=globalThis?.document?M.useLayoutEffect:()=>{};function y3(n,r){return M.useReducer((i,u)=>r[i][u]??i,n)}var Fn=n=>{const{present:r,children:i}=n,u=v3(r),o=typeof i=="function"?i({present:u.isPresent}):M.Children.only(i),c=St(u.ref,b3(o));return typeof i=="function"||u.isPresent?M.cloneElement(o,{ref:c}):null};Fn.displayName="Presence";function v3(n){const[r,i]=M.useState(),u=M.useRef(null),o=M.useRef(n),c=M.useRef("none"),f=n?"mounted":"unmounted",[h,m]=y3(f,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return M.useEffect(()=>{const p=Mu(u.current);c.current=h==="mounted"?p:"none"},[h]),Yr(()=>{const p=u.current,y=o.current;if(y!==n){const b=c.current,S=Mu(p);n?m("MOUNT"):S==="none"||p?.display==="none"?m("UNMOUNT"):m(y&&b!==S?"ANIMATION_OUT":"UNMOUNT"),o.current=n}},[n,m]),Yr(()=>{if(r){let p;const y=r.ownerDocument.defaultView??window,g=S=>{const w=Mu(u.current).includes(CSS.escape(S.animationName));if(S.target===r&&w&&(m("ANIMATION_END"),!o.current)){const A=r.style.animationFillMode;r.style.animationFillMode="forwards",p=y.setTimeout(()=>{r.style.animationFillMode==="forwards"&&(r.style.animationFillMode=A)})}},b=S=>{S.target===r&&(c.current=Mu(u.current))};return r.addEventListener("animationstart",b),r.addEventListener("animationcancel",g),r.addEventListener("animationend",g),()=>{y.clearTimeout(p),r.removeEventListener("animationstart",b),r.removeEventListener("animationcancel",g),r.removeEventListener("animationend",g)}}else m("ANIMATION_END")},[r,m]),{isPresent:["mounted","unmountSuspended"].includes(h),ref:M.useCallback(p=>{u.current=p?getComputedStyle(p):null,i(p)},[])}}function Mu(n){return n?.animationName||"none"}function b3(n){let r=Object.getOwnPropertyDescriptor(n.props,"ref")?.get,i=r&&"isReactWarning"in r&&r.isReactWarning;return i?n.ref:(r=Object.getOwnPropertyDescriptor(n,"ref")?.get,i=r&&"isReactWarning"in r&&r.isReactWarning,i?n.props.ref:n.props.ref||n.ref)}function S3(n,r){const i=M.createContext(r),u=c=>{const{children:f,...h}=c,m=M.useMemo(()=>h,Object.values(h));return te.jsx(i.Provider,{value:m,children:f})};u.displayName=n+"Provider";function o(c){const f=M.useContext(i);if(f)return f;if(r!==void 0)return r;throw new Error(`\`${c}\` must be used within \`${n}\``)}return[u,o]}function ra(n,r=[]){let i=[];function u(c,f){const h=M.createContext(f),m=i.length;i=[...i,f];const p=g=>{const{scope:b,children:S,...k}=g,w=b?.[n]?.[m]||h,A=M.useMemo(()=>k,Object.values(k));return te.jsx(w.Provider,{value:A,children:S})};p.displayName=c+"Provider";function y(g,b){const S=b?.[n]?.[m]||h,k=M.useContext(S);if(k)return k;if(f!==void 0)return f;throw new Error(`\`${g}\` must be used within \`${c}\``)}return[p,y]}const o=()=>{const c=i.map(f=>M.createContext(f));return function(h){const m=h?.[n]||c;return M.useMemo(()=>({[`__scope${n}`]:{...h,[n]:m}}),[h,m])}};return o.scopeName=n,[u,x3(o,...r)]}function x3(...n){const r=n[0];if(n.length===1)return r;const i=()=>{const u=n.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(c){const f=u.reduce((h,{useScope:m,scopeName:p})=>{const g=m(c)[`__scope${p}`];return{...h,...g}},{});return M.useMemo(()=>({[`__scope${r.scopeName}`]:f}),[f])}};return i.scopeName=r.scopeName,i}function Ft(n){const r=M.useRef(n);return M.useEffect(()=>{r.current=n}),M.useMemo(()=>(...i)=>r.current?.(...i),[])}var E3=M.createContext(void 0);function Lf(n){const r=M.useContext(E3);return n||r||"ltr"}function k3(n,[r,i]){return Math.min(i,Math.max(r,n))}function We(n,r,{checkForDefaultPrevented:i=!0}={}){return function(o){if(n?.(o),i===!1||!o.defaultPrevented)return r?.(o)}}function C3(n,r){return M.useReducer((i,u)=>r[i][u]??i,n)}var Uf="ScrollArea",[by]=ra(Uf),[w3,un]=by(Uf),Sy=M.forwardRef((n,r)=>{const{__scopeScrollArea:i,type:u="hover",dir:o,scrollHideDelay:c=600,...f}=n,[h,m]=M.useState(null),[p,y]=M.useState(null),[g,b]=M.useState(null),[S,k]=M.useState(null),[w,A]=M.useState(null),[T,q]=M.useState(0),[O,G]=M.useState(0),[P,U]=M.useState(!1),[Q,re]=M.useState(!1),ie=St(r,$=>m($)),N=Lf(o);return te.jsx(w3,{scope:i,type:u,dir:N,scrollHideDelay:c,scrollArea:h,viewport:p,onViewportChange:y,content:g,onContentChange:b,scrollbarX:S,onScrollbarXChange:k,scrollbarXEnabled:P,onScrollbarXEnabledChange:U,scrollbarY:w,onScrollbarYChange:A,scrollbarYEnabled:Q,onScrollbarYEnabledChange:re,onCornerWidthChange:q,onCornerHeightChange:G,children:te.jsx(ot.div,{dir:N,...f,ref:ie,style:{position:"relative","--radix-scroll-area-corner-width":T+"px","--radix-scroll-area-corner-height":O+"px",...n.style}})})});Sy.displayName=Uf;var xy="ScrollAreaViewport",Ey=M.forwardRef((n,r)=>{const{__scopeScrollArea:i,children:u,nonce:o,...c}=n,f=un(xy,i),h=M.useRef(null),m=St(r,h,f.onViewportChange);return te.jsxs(te.Fragment,{children:[te.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:o}),te.jsx(ot.div,{"data-radix-scroll-area-viewport":"",...c,ref:m,style:{overflowX:f.scrollbarXEnabled?"scroll":"hidden",overflowY:f.scrollbarYEnabled?"scroll":"hidden",...n.style},children:te.jsx("div",{ref:f.onContentChange,style:{minWidth:"100%",display:"table"},children:u})})]})});Ey.displayName=xy;var xn="ScrollAreaScrollbar",A3=M.forwardRef((n,r)=>{const{forceMount:i,...u}=n,o=un(xn,n.__scopeScrollArea),{onScrollbarXEnabledChange:c,onScrollbarYEnabledChange:f}=o,h=n.orientation==="horizontal";return M.useEffect(()=>(h?c(!0):f(!0),()=>{h?c(!1):f(!1)}),[h,c,f]),o.type==="hover"?te.jsx(T3,{...u,ref:r,forceMount:i}):o.type==="scroll"?te.jsx(z3,{...u,ref:r,forceMount:i}):o.type==="auto"?te.jsx(ky,{...u,ref:r,forceMount:i}):o.type==="always"?te.jsx(Bf,{...u,ref:r}):null});A3.displayName=xn;var T3=M.forwardRef((n,r)=>{const{forceMount:i,...u}=n,o=un(xn,n.__scopeScrollArea),[c,f]=M.useState(!1);return M.useEffect(()=>{const h=o.scrollArea;let m=0;if(h){const p=()=>{window.clearTimeout(m),f(!0)},y=()=>{m=window.setTimeout(()=>f(!1),o.scrollHideDelay)};return h.addEventListener("pointerenter",p),h.addEventListener("pointerleave",y),()=>{window.clearTimeout(m),h.removeEventListener("pointerenter",p),h.removeEventListener("pointerleave",y)}}},[o.scrollArea,o.scrollHideDelay]),te.jsx(Fn,{present:i||c,children:te.jsx(ky,{"data-state":c?"visible":"hidden",...u,ref:r})})}),z3=M.forwardRef((n,r)=>{const{forceMount:i,...u}=n,o=un(xn,n.__scopeScrollArea),c=n.orientation==="horizontal",f=Wu(()=>m("SCROLL_END"),100),[h,m]=C3("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return M.useEffect(()=>{if(h==="idle"){const p=window.setTimeout(()=>m("HIDE"),o.scrollHideDelay);return()=>window.clearTimeout(p)}},[h,o.scrollHideDelay,m]),M.useEffect(()=>{const p=o.viewport,y=c?"scrollLeft":"scrollTop";if(p){let g=p[y];const b=()=>{const S=p[y];g!==S&&(m("SCROLL"),f()),g=S};return p.addEventListener("scroll",b),()=>p.removeEventListener("scroll",b)}},[o.viewport,c,m,f]),te.jsx(Fn,{present:i||h!=="hidden",children:te.jsx(Bf,{"data-state":h==="hidden"?"hidden":"visible",...u,ref:r,onPointerEnter:We(n.onPointerEnter,()=>m("POINTER_ENTER")),onPointerLeave:We(n.onPointerLeave,()=>m("POINTER_LEAVE"))})})}),ky=M.forwardRef((n,r)=>{const i=un(xn,n.__scopeScrollArea),{forceMount:u,...o}=n,[c,f]=M.useState(!1),h=n.orientation==="horizontal",m=Wu(()=>{if(i.viewport){const p=i.viewport.offsetWidth<i.viewport.scrollWidth,y=i.viewport.offsetHeight<i.viewport.scrollHeight;f(h?p:y)}},10);return Gr(i.viewport,m),Gr(i.content,m),te.jsx(Fn,{present:u||c,children:te.jsx(Bf,{"data-state":c?"visible":"hidden",...o,ref:r})})}),Bf=M.forwardRef((n,r)=>{const{orientation:i="vertical",...u}=n,o=un(xn,n.__scopeScrollArea),c=M.useRef(null),f=M.useRef(0),[h,m]=M.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),p=Ty(h.viewport,h.content),y={...u,sizes:h,onSizesChange:m,hasThumb:p>0&&p<1,onThumbChange:b=>c.current=b,onThumbPointerUp:()=>f.current=0,onThumbPointerDown:b=>f.current=b};function g(b,S){return L3(b,f.current,h,S)}return i==="horizontal"?te.jsx(M3,{...y,ref:r,onThumbPositionChange:()=>{if(o.viewport&&c.current){const b=o.viewport.scrollLeft,S=Ig(b,h,o.dir);c.current.style.transform=`translate3d(${S}px, 0, 0)`}},onWheelScroll:b=>{o.viewport&&(o.viewport.scrollLeft=b)},onDragScroll:b=>{o.viewport&&(o.viewport.scrollLeft=g(b,o.dir))}}):i==="vertical"?te.jsx(_3,{...y,ref:r,onThumbPositionChange:()=>{if(o.viewport&&c.current){const b=o.viewport.scrollTop,S=Ig(b,h);c.current.style.transform=`translate3d(0, ${S}px, 0)`}},onWheelScroll:b=>{o.viewport&&(o.viewport.scrollTop=b)},onDragScroll:b=>{o.viewport&&(o.viewport.scrollTop=g(b))}}):null}),M3=M.forwardRef((n,r)=>{const{sizes:i,onSizesChange:u,...o}=n,c=un(xn,n.__scopeScrollArea),[f,h]=M.useState(),m=M.useRef(null),p=St(r,m,c.onScrollbarXChange);return M.useEffect(()=>{m.current&&h(getComputedStyle(m.current))},[m]),te.jsx(wy,{"data-orientation":"horizontal",...o,ref:p,sizes:i,style:{bottom:0,left:c.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:c.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":Ju(i)+"px",...n.style},onThumbPointerDown:y=>n.onThumbPointerDown(y.x),onDragScroll:y=>n.onDragScroll(y.x),onWheelScroll:(y,g)=>{if(c.viewport){const b=c.viewport.scrollLeft+y.deltaX;n.onWheelScroll(b),My(b,g)&&y.preventDefault()}},onResize:()=>{m.current&&c.viewport&&f&&u({content:c.viewport.scrollWidth,viewport:c.viewport.offsetWidth,scrollbar:{size:m.current.clientWidth,paddingStart:Xu(f.paddingLeft),paddingEnd:Xu(f.paddingRight)}})}})}),_3=M.forwardRef((n,r)=>{const{sizes:i,onSizesChange:u,...o}=n,c=un(xn,n.__scopeScrollArea),[f,h]=M.useState(),m=M.useRef(null),p=St(r,m,c.onScrollbarYChange);return M.useEffect(()=>{m.current&&h(getComputedStyle(m.current))},[m]),te.jsx(wy,{"data-orientation":"vertical",...o,ref:p,sizes:i,style:{top:0,right:c.dir==="ltr"?0:void 0,left:c.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":Ju(i)+"px",...n.style},onThumbPointerDown:y=>n.onThumbPointerDown(y.y),onDragScroll:y=>n.onDragScroll(y.y),onWheelScroll:(y,g)=>{if(c.viewport){const b=c.viewport.scrollTop+y.deltaY;n.onWheelScroll(b),My(b,g)&&y.preventDefault()}},onResize:()=>{m.current&&c.viewport&&f&&u({content:c.viewport.scrollHeight,viewport:c.viewport.offsetHeight,scrollbar:{size:m.current.clientHeight,paddingStart:Xu(f.paddingTop),paddingEnd:Xu(f.paddingBottom)}})}})}),[D3,Cy]=by(xn),wy=M.forwardRef((n,r)=>{const{__scopeScrollArea:i,sizes:u,hasThumb:o,onThumbChange:c,onThumbPointerUp:f,onThumbPointerDown:h,onThumbPositionChange:m,onDragScroll:p,onWheelScroll:y,onResize:g,...b}=n,S=un(xn,i),[k,w]=M.useState(null),A=St(r,ie=>w(ie)),T=M.useRef(null),q=M.useRef(""),O=S.viewport,G=u.content-u.viewport,P=Ft(y),U=Ft(m),Q=Wu(g,10);function re(ie){if(T.current){const N=ie.clientX-T.current.left,$=ie.clientY-T.current.top;p({x:N,y:$})}}return M.useEffect(()=>{const ie=N=>{const $=N.target;k?.contains($)&&P(N,G)};return document.addEventListener("wheel",ie,{passive:!1}),()=>document.removeEventListener("wheel",ie,{passive:!1})},[O,k,G,P]),M.useEffect(U,[u,U]),Gr(k,Q),Gr(S.content,Q),te.jsx(D3,{scope:i,scrollbar:k,hasThumb:o,onThumbChange:Ft(c),onThumbPointerUp:Ft(f),onThumbPositionChange:U,onThumbPointerDown:Ft(h),children:te.jsx(ot.div,{...b,ref:A,style:{position:"absolute",...b.style},onPointerDown:We(n.onPointerDown,ie=>{ie.button===0&&(ie.target.setPointerCapture(ie.pointerId),T.current=k.getBoundingClientRect(),q.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",S.viewport&&(S.viewport.style.scrollBehavior="auto"),re(ie))}),onPointerMove:We(n.onPointerMove,re),onPointerUp:We(n.onPointerUp,ie=>{const N=ie.target;N.hasPointerCapture(ie.pointerId)&&N.releasePointerCapture(ie.pointerId),document.body.style.webkitUserSelect=q.current,S.viewport&&(S.viewport.style.scrollBehavior=""),T.current=null})})})}),Gu="ScrollAreaThumb",R3=M.forwardRef((n,r)=>{const{forceMount:i,...u}=n,o=Cy(Gu,n.__scopeScrollArea);return te.jsx(Fn,{present:i||o.hasThumb,children:te.jsx(O3,{ref:r,...u})})}),O3=M.forwardRef((n,r)=>{const{__scopeScrollArea:i,style:u,...o}=n,c=un(Gu,i),f=Cy(Gu,i),{onThumbPositionChange:h}=f,m=St(r,g=>f.onThumbChange(g)),p=M.useRef(void 0),y=Wu(()=>{p.current&&(p.current(),p.current=void 0)},100);return M.useEffect(()=>{const g=c.viewport;if(g){const b=()=>{if(y(),!p.current){const S=U3(g,h);p.current=S,h()}};return h(),g.addEventListener("scroll",b),()=>g.removeEventListener("scroll",b)}},[c.viewport,y,h]),te.jsx(ot.div,{"data-state":f.hasThumb?"visible":"hidden",...o,ref:m,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...u},onPointerDownCapture:We(n.onPointerDownCapture,g=>{const S=g.target.getBoundingClientRect(),k=g.clientX-S.left,w=g.clientY-S.top;f.onThumbPointerDown({x:k,y:w})}),onPointerUp:We(n.onPointerUp,f.onThumbPointerUp)})});R3.displayName=Gu;var jf="ScrollAreaCorner",Ay=M.forwardRef((n,r)=>{const i=un(jf,n.__scopeScrollArea),u=!!(i.scrollbarX&&i.scrollbarY);return i.type!=="scroll"&&u?te.jsx(N3,{...n,ref:r}):null});Ay.displayName=jf;var N3=M.forwardRef((n,r)=>{const{__scopeScrollArea:i,...u}=n,o=un(jf,i),[c,f]=M.useState(0),[h,m]=M.useState(0),p=!!(c&&h);return Gr(o.scrollbarX,()=>{const y=o.scrollbarX?.offsetHeight||0;o.onCornerHeightChange(y),m(y)}),Gr(o.scrollbarY,()=>{const y=o.scrollbarY?.offsetWidth||0;o.onCornerWidthChange(y),f(y)}),p?te.jsx(ot.div,{...u,ref:r,style:{width:c,height:h,position:"absolute",right:o.dir==="ltr"?0:void 0,left:o.dir==="rtl"?0:void 0,bottom:0,...n.style}}):null});function Xu(n){return n?parseInt(n,10):0}function Ty(n,r){const i=n/r;return isNaN(i)?0:i}function Ju(n){const r=Ty(n.viewport,n.content),i=n.scrollbar.paddingStart+n.scrollbar.paddingEnd,u=(n.scrollbar.size-i)*r;return Math.max(u,18)}function L3(n,r,i,u="ltr"){const o=Ju(i),c=o/2,f=r||c,h=o-f,m=i.scrollbar.paddingStart+f,p=i.scrollbar.size-i.scrollbar.paddingEnd-h,y=i.content-i.viewport,g=u==="ltr"?[0,y]:[y*-1,0];return zy([m,p],g)(n)}function Ig(n,r,i="ltr"){const u=Ju(r),o=r.scrollbar.paddingStart+r.scrollbar.paddingEnd,c=r.scrollbar.size-o,f=r.content-r.viewport,h=c-u,m=i==="ltr"?[0,f]:[f*-1,0],p=k3(n,m);return zy([0,f],[0,h])(p)}function zy(n,r){return i=>{if(n[0]===n[1]||r[0]===r[1])return r[0];const u=(r[1]-r[0])/(n[1]-n[0]);return r[0]+u*(i-n[0])}}function My(n,r){return n>0&&n<r}var U3=(n,r=()=>{})=>{let i={left:n.scrollLeft,top:n.scrollTop},u=0;return(function o(){const c={left:n.scrollLeft,top:n.scrollTop},f=i.left!==c.left,h=i.top!==c.top;(f||h)&&r(),i=c,u=window.requestAnimationFrame(o)})(),()=>window.cancelAnimationFrame(u)};function Wu(n,r){const i=Ft(n),u=M.useRef(0);return M.useEffect(()=>()=>window.clearTimeout(u.current),[]),M.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(i,r)},[i,r])}function Gr(n,r){const i=Ft(r);Yr(()=>{let u=0;if(n){const o=new ResizeObserver(()=>{cancelAnimationFrame(u),u=window.requestAnimationFrame(i)});return o.observe(n),()=>{window.cancelAnimationFrame(u),o.unobserve(n)}}},[n,i])}var JT=Sy,WT=Ey,$T=Ay,B3=pf[" useId ".trim().toString()]||(()=>{}),j3=0;function Ji(n){const[r,i]=M.useState(B3());return Yr(()=>{i(u=>u??String(j3++))},[n]),r?`radix-${r}`:""}var H3=pf[" useInsertionEffect ".trim().toString()]||Yr;function Hf({prop:n,defaultProp:r,onChange:i=()=>{},caller:u}){const[o,c,f]=q3({defaultProp:r,onChange:i}),h=n!==void 0,m=h?n:o;{const y=M.useRef(n!==void 0);M.useEffect(()=>{const g=y.current;g!==h&&console.warn(`${u} is changing from ${g?"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.`),y.current=h},[h,u])}const p=M.useCallback(y=>{if(h){const g=V3(y)?y(n):y;g!==n&&f.current?.(g)}else c(y)},[h,n,c,f]);return[m,p]}function q3({defaultProp:n,onChange:r}){const[i,u]=M.useState(n),o=M.useRef(i),c=M.useRef(r);return H3(()=>{c.current=r},[r]),M.useEffect(()=>{o.current!==i&&(c.current?.(i),o.current=i)},[i,o]),[i,u,c]}function V3(n){return typeof n=="function"}function Y3(n,r=globalThis?.document){const i=Ft(n);M.useEffect(()=>{const u=o=>{o.key==="Escape"&&i(o)};return r.addEventListener("keydown",u,{capture:!0}),()=>r.removeEventListener("keydown",u,{capture:!0})},[i,r])}var G3="DismissableLayer",sf="dismissableLayer.update",X3="dismissableLayer.pointerDownOutside",F3="dismissableLayer.focusOutside",Qg,_y=M.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Dy=M.forwardRef((n,r)=>{const{disableOutsidePointerEvents:i=!1,onEscapeKeyDown:u,onPointerDownOutside:o,onFocusOutside:c,onInteractOutside:f,onDismiss:h,...m}=n,p=M.useContext(_y),[y,g]=M.useState(null),b=y?.ownerDocument??globalThis?.document,[,S]=M.useState({}),k=St(r,Q=>g(Q)),w=Array.from(p.layers),[A]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),T=w.indexOf(A),q=y?w.indexOf(y):-1,O=p.layersWithOutsidePointerEventsDisabled.size>0,G=q>=T,P=Z3(Q=>{const re=Q.target,ie=[...p.branches].some(N=>N.contains(re));!G||ie||(o?.(Q),f?.(Q),Q.defaultPrevented||h?.())},b),U=K3(Q=>{const re=Q.target;[...p.branches].some(N=>N.contains(re))||(c?.(Q),f?.(Q),Q.defaultPrevented||h?.())},b);return Y3(Q=>{q===p.layers.size-1&&(u?.(Q),!Q.defaultPrevented&&h&&(Q.preventDefault(),h()))},b),M.useEffect(()=>{if(y)return i&&(p.layersWithOutsidePointerEventsDisabled.size===0&&(Qg=b.body.style.pointerEvents,b.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(y)),p.layers.add(y),Zg(),()=>{i&&p.layersWithOutsidePointerEventsDisabled.size===1&&(b.body.style.pointerEvents=Qg)}},[y,b,i,p]),M.useEffect(()=>()=>{y&&(p.layers.delete(y),p.layersWithOutsidePointerEventsDisabled.delete(y),Zg())},[y,p]),M.useEffect(()=>{const Q=()=>S({});return document.addEventListener(sf,Q),()=>document.removeEventListener(sf,Q)},[]),te.jsx(ot.div,{...m,ref:k,style:{pointerEvents:O?G?"auto":"none":void 0,...n.style},onFocusCapture:We(n.onFocusCapture,U.onFocusCapture),onBlurCapture:We(n.onBlurCapture,U.onBlurCapture),onPointerDownCapture:We(n.onPointerDownCapture,P.onPointerDownCapture)})});Dy.displayName=G3;var I3="DismissableLayerBranch",Q3=M.forwardRef((n,r)=>{const i=M.useContext(_y),u=M.useRef(null),o=St(r,u);return M.useEffect(()=>{const c=u.current;if(c)return i.branches.add(c),()=>{i.branches.delete(c)}},[i.branches]),te.jsx(ot.div,{...n,ref:o})});Q3.displayName=I3;function Z3(n,r=globalThis?.document){const i=Ft(n),u=M.useRef(!1),o=M.useRef(()=>{});return M.useEffect(()=>{const c=h=>{if(h.target&&!u.current){let m=function(){Ry(X3,i,p,{discrete:!0})};const p={originalEvent:h};h.pointerType==="touch"?(r.removeEventListener("click",o.current),o.current=m,r.addEventListener("click",o.current,{once:!0})):m()}else r.removeEventListener("click",o.current);u.current=!1},f=window.setTimeout(()=>{r.addEventListener("pointerdown",c)},0);return()=>{window.clearTimeout(f),r.removeEventListener("pointerdown",c),r.removeEventListener("click",o.current)}},[r,i]),{onPointerDownCapture:()=>u.current=!0}}function K3(n,r=globalThis?.document){const i=Ft(n),u=M.useRef(!1);return M.useEffect(()=>{const o=c=>{c.target&&!u.current&&Ry(F3,i,{originalEvent:c},{discrete:!1})};return r.addEventListener("focusin",o),()=>r.removeEventListener("focusin",o)},[r,i]),{onFocusCapture:()=>u.current=!0,onBlurCapture:()=>u.current=!1}}function Zg(){const n=new CustomEvent(sf);document.dispatchEvent(n)}function Ry(n,r,i,{discrete:u}){const o=i.originalEvent.target,c=new CustomEvent(n,{bubbles:!1,cancelable:!0,detail:i});r&&o.addEventListener(n,r,{once:!0}),u?g3(o,c):o.dispatchEvent(c)}var Ys="focusScope.autoFocusOnMount",Gs="focusScope.autoFocusOnUnmount",Kg={bubbles:!1,cancelable:!0},P3="FocusScope",Oy=M.forwardRef((n,r)=>{const{loop:i=!1,trapped:u=!1,onMountAutoFocus:o,onUnmountAutoFocus:c,...f}=n,[h,m]=M.useState(null),p=Ft(o),y=Ft(c),g=M.useRef(null),b=St(r,w=>m(w)),S=M.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;M.useEffect(()=>{if(u){let w=function(O){if(S.paused||!h)return;const G=O.target;h.contains(G)?g.current=G:Sl(g.current,{select:!0})},A=function(O){if(S.paused||!h)return;const G=O.relatedTarget;G!==null&&(h.contains(G)||Sl(g.current,{select:!0}))},T=function(O){if(document.activeElement===document.body)for(const P of O)P.removedNodes.length>0&&Sl(h)};document.addEventListener("focusin",w),document.addEventListener("focusout",A);const q=new MutationObserver(T);return h&&q.observe(h,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",w),document.removeEventListener("focusout",A),q.disconnect()}}},[u,h,S.paused]),M.useEffect(()=>{if(h){Jg.add(S);const w=document.activeElement;if(!h.contains(w)){const T=new CustomEvent(Ys,Kg);h.addEventListener(Ys,p),h.dispatchEvent(T),T.defaultPrevented||(J3(nA(Ny(h)),{select:!0}),document.activeElement===w&&Sl(h))}return()=>{h.removeEventListener(Ys,p),setTimeout(()=>{const T=new CustomEvent(Gs,Kg);h.addEventListener(Gs,y),h.dispatchEvent(T),T.defaultPrevented||Sl(w??document.body,{select:!0}),h.removeEventListener(Gs,y),Jg.remove(S)},0)}}},[h,p,y,S]);const k=M.useCallback(w=>{if(!i&&!u||S.paused)return;const A=w.key==="Tab"&&!w.altKey&&!w.ctrlKey&&!w.metaKey,T=document.activeElement;if(A&&T){const q=w.currentTarget,[O,G]=W3(q);O&&G?!w.shiftKey&&T===G?(w.preventDefault(),i&&Sl(O,{select:!0})):w.shiftKey&&T===O&&(w.preventDefault(),i&&Sl(G,{select:!0})):T===q&&w.preventDefault()}},[i,u,S.paused]);return te.jsx(ot.div,{tabIndex:-1,...f,ref:b,onKeyDown:k})});Oy.displayName=P3;function J3(n,{select:r=!1}={}){const i=document.activeElement;for(const u of n)if(Sl(u,{select:r}),document.activeElement!==i)return}function W3(n){const r=Ny(n),i=Pg(r,n),u=Pg(r.reverse(),n);return[i,u]}function Ny(n){const r=[],i=document.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,{acceptNode:u=>{const o=u.tagName==="INPUT"&&u.type==="hidden";return u.disabled||u.hidden||o?NodeFilter.FILTER_SKIP:u.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;i.nextNode();)r.push(i.currentNode);return r}function Pg(n,r){for(const i of n)if(!$3(i,{upTo:r}))return i}function $3(n,{upTo:r}){if(getComputedStyle(n).visibility==="hidden")return!0;for(;n;){if(r!==void 0&&n===r)return!1;if(getComputedStyle(n).display==="none")return!0;n=n.parentElement}return!1}function eA(n){return n instanceof HTMLInputElement&&"select"in n}function Sl(n,{select:r=!1}={}){if(n&&n.focus){const i=document.activeElement;n.focus({preventScroll:!0}),n!==i&&eA(n)&&r&&n.select()}}var Jg=tA();function tA(){let n=[];return{add(r){const i=n[0];r!==i&&i?.pause(),n=Wg(n,r),n.unshift(r)},remove(r){n=Wg(n,r),n[0]?.resume()}}}function Wg(n,r){const i=[...n],u=i.indexOf(r);return u!==-1&&i.splice(u,1),i}function nA(n){return n.filter(r=>r.tagName!=="A")}var lA="Portal",Ly=M.forwardRef((n,r)=>{const{container:i,...u}=n,[o,c]=M.useState(!1);Yr(()=>c(!0),[]);const f=i||o&&globalThis?.document?.body;return f?c3.createPortal(te.jsx(ot.div,{...u,ref:r}),f):null});Ly.displayName=lA;var Xs=0;function rA(){M.useEffect(()=>{const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",n[0]??$g()),document.body.insertAdjacentElement("beforeend",n[1]??$g()),Xs++,()=>{Xs===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),Xs--}},[])}function $g(){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 bn=function(){return bn=Object.assign||function(r){for(var i,u=1,o=arguments.length;u<o;u++){i=arguments[u];for(var c in i)Object.prototype.hasOwnProperty.call(i,c)&&(r[c]=i[c])}return r},bn.apply(this,arguments)};function Uy(n,r){var i={};for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&r.indexOf(u)<0&&(i[u]=n[u]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,u=Object.getOwnPropertySymbols(n);o<u.length;o++)r.indexOf(u[o])<0&&Object.prototype.propertyIsEnumerable.call(n,u[o])&&(i[u[o]]=n[u[o]]);return i}function iA(n,r,i){if(i||arguments.length===2)for(var u=0,o=r.length,c;u<o;u++)(c||!(u in r))&&(c||(c=Array.prototype.slice.call(r,0,u)),c[u]=r[u]);return n.concat(c||Array.prototype.slice.call(r))}var Lu="right-scroll-bar-position",Uu="width-before-scroll-bar",aA="with-scroll-bars-hidden",uA="--removed-body-scroll-bar-size";function Fs(n,r){return typeof n=="function"?n(r):n&&(n.current=r),n}function oA(n,r){var i=M.useState(function(){return{value:n,callback:r,facade:{get current(){return i.value},set current(u){var o=i.value;o!==u&&(i.value=u,i.callback(u,o))}}}})[0];return i.callback=r,i.facade}var cA=typeof window<"u"?M.useLayoutEffect:M.useEffect,e1=new WeakMap;function sA(n,r){var i=oA(null,function(u){return n.forEach(function(o){return Fs(o,u)})});return cA(function(){var u=e1.get(i);if(u){var o=new Set(u),c=new Set(n),f=i.current;o.forEach(function(h){c.has(h)||Fs(h,null)}),c.forEach(function(h){o.has(h)||Fs(h,f)})}e1.set(i,n)},[n]),i}function fA(n){return n}function dA(n,r){r===void 0&&(r=fA);var i=[],u=!1,o={read:function(){if(u)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return i.length?i[i.length-1]:n},useMedium:function(c){var f=r(c,u);return i.push(f),function(){i=i.filter(function(h){return h!==f})}},assignSyncMedium:function(c){for(u=!0;i.length;){var f=i;i=[],f.forEach(c)}i={push:function(h){return c(h)},filter:function(){return i}}},assignMedium:function(c){u=!0;var f=[];if(i.length){var h=i;i=[],h.forEach(c),f=i}var m=function(){var y=f;f=[],y.forEach(c)},p=function(){return Promise.resolve().then(m)};p(),i={push:function(y){f.push(y),p()},filter:function(y){return f=f.filter(y),i}}}};return o}function hA(n){n===void 0&&(n={});var r=dA(null);return r.options=bn({async:!0,ssr:!1},n),r}var By=function(n){var r=n.sideCar,i=Uy(n,["sideCar"]);if(!r)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var u=r.read();if(!u)throw new Error("Sidecar medium not found");return M.createElement(u,bn({},i))};By.isSideCarExport=!0;function pA(n,r){return n.useMedium(r),By}var jy=hA(),Is=function(){},$u=M.forwardRef(function(n,r){var i=M.useRef(null),u=M.useState({onScrollCapture:Is,onWheelCapture:Is,onTouchMoveCapture:Is}),o=u[0],c=u[1],f=n.forwardProps,h=n.children,m=n.className,p=n.removeScrollBar,y=n.enabled,g=n.shards,b=n.sideCar,S=n.noRelative,k=n.noIsolation,w=n.inert,A=n.allowPinchZoom,T=n.as,q=T===void 0?"div":T,O=n.gapMode,G=Uy(n,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),P=b,U=sA([i,r]),Q=bn(bn({},G),o);return M.createElement(M.Fragment,null,y&&M.createElement(P,{sideCar:jy,removeScrollBar:p,shards:g,noRelative:S,noIsolation:k,inert:w,setCallbacks:c,allowPinchZoom:!!A,lockRef:i,gapMode:O}),f?M.cloneElement(M.Children.only(h),bn(bn({},Q),{ref:U})):M.createElement(q,bn({},Q,{className:m,ref:U}),h))});$u.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};$u.classNames={fullWidth:Uu,zeroRight:Lu};var mA=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function gA(){if(!document)return null;var n=document.createElement("style");n.type="text/css";var r=mA();return r&&n.setAttribute("nonce",r),n}function yA(n,r){n.styleSheet?n.styleSheet.cssText=r:n.appendChild(document.createTextNode(r))}function vA(n){var r=document.head||document.getElementsByTagName("head")[0];r.appendChild(n)}var bA=function(){var n=0,r=null;return{add:function(i){n==0&&(r=gA())&&(yA(r,i),vA(r)),n++},remove:function(){n--,!n&&r&&(r.parentNode&&r.parentNode.removeChild(r),r=null)}}},SA=function(){var n=bA();return function(r,i){M.useEffect(function(){return n.add(r),function(){n.remove()}},[r&&i])}},Hy=function(){var n=SA(),r=function(i){var u=i.styles,o=i.dynamic;return n(u,o),null};return r},xA={left:0,top:0,right:0,gap:0},Qs=function(n){return parseInt(n||"",10)||0},EA=function(n){var r=window.getComputedStyle(document.body),i=r[n==="padding"?"paddingLeft":"marginLeft"],u=r[n==="padding"?"paddingTop":"marginTop"],o=r[n==="padding"?"paddingRight":"marginRight"];return[Qs(i),Qs(u),Qs(o)]},kA=function(n){if(n===void 0&&(n="margin"),typeof window>"u")return xA;var r=EA(n),i=document.documentElement.clientWidth,u=window.innerWidth;return{left:r[0],top:r[1],right:r[2],gap:Math.max(0,u-i+r[2]-r[0])}},CA=Hy(),qr="data-scroll-locked",wA=function(n,r,i,u){var o=n.left,c=n.top,f=n.right,h=n.gap;return i===void 0&&(i="margin"),`
38
+ .`.concat(aA,` {
39
+ overflow: hidden `).concat(u,`;
40
+ padding-right: `).concat(h,"px ").concat(u,`;
41
+ }
42
+ body[`).concat(qr,`] {
43
+ overflow: hidden `).concat(u,`;
44
+ overscroll-behavior: contain;
45
+ `).concat([r&&"position: relative ".concat(u,";"),i==="margin"&&`
46
+ padding-left: `.concat(o,`px;
47
+ padding-top: `).concat(c,`px;
48
+ padding-right: `).concat(f,`px;
49
+ margin-left:0;
50
+ margin-top:0;
51
+ margin-right: `).concat(h,"px ").concat(u,`;
52
+ `),i==="padding"&&"padding-right: ".concat(h,"px ").concat(u,";")].filter(Boolean).join(""),`
53
+ }
54
+
55
+ .`).concat(Lu,` {
56
+ right: `).concat(h,"px ").concat(u,`;
57
+ }
58
+
59
+ .`).concat(Uu,` {
60
+ margin-right: `).concat(h,"px ").concat(u,`;
61
+ }
62
+
63
+ .`).concat(Lu," .").concat(Lu,` {
64
+ right: 0 `).concat(u,`;
65
+ }
66
+
67
+ .`).concat(Uu," .").concat(Uu,` {
68
+ margin-right: 0 `).concat(u,`;
69
+ }
70
+
71
+ body[`).concat(qr,`] {
72
+ `).concat(uA,": ").concat(h,`px;
73
+ }
74
+ `)},t1=function(){var n=parseInt(document.body.getAttribute(qr)||"0",10);return isFinite(n)?n:0},AA=function(){M.useEffect(function(){return document.body.setAttribute(qr,(t1()+1).toString()),function(){var n=t1()-1;n<=0?document.body.removeAttribute(qr):document.body.setAttribute(qr,n.toString())}},[])},TA=function(n){var r=n.noRelative,i=n.noImportant,u=n.gapMode,o=u===void 0?"margin":u;AA();var c=M.useMemo(function(){return kA(o)},[o]);return M.createElement(CA,{styles:wA(c,!r,o,i?"":"!important")})},ff=!1;if(typeof window<"u")try{var _u=Object.defineProperty({},"passive",{get:function(){return ff=!0,!0}});window.addEventListener("test",_u,_u),window.removeEventListener("test",_u,_u)}catch{ff=!1}var Nr=ff?{passive:!1}:!1,zA=function(n){return n.tagName==="TEXTAREA"},qy=function(n,r){if(!(n instanceof Element))return!1;var i=window.getComputedStyle(n);return i[r]!=="hidden"&&!(i.overflowY===i.overflowX&&!zA(n)&&i[r]==="visible")},MA=function(n){return qy(n,"overflowY")},_A=function(n){return qy(n,"overflowX")},n1=function(n,r){var i=r.ownerDocument,u=r;do{typeof ShadowRoot<"u"&&u instanceof ShadowRoot&&(u=u.host);var o=Vy(n,u);if(o){var c=Yy(n,u),f=c[1],h=c[2];if(f>h)return!0}u=u.parentNode}while(u&&u!==i.body);return!1},DA=function(n){var r=n.scrollTop,i=n.scrollHeight,u=n.clientHeight;return[r,i,u]},RA=function(n){var r=n.scrollLeft,i=n.scrollWidth,u=n.clientWidth;return[r,i,u]},Vy=function(n,r){return n==="v"?MA(r):_A(r)},Yy=function(n,r){return n==="v"?DA(r):RA(r)},OA=function(n,r){return n==="h"&&r==="rtl"?-1:1},NA=function(n,r,i,u,o){var c=OA(n,window.getComputedStyle(r).direction),f=c*u,h=i.target,m=r.contains(h),p=!1,y=f>0,g=0,b=0;do{if(!h)break;var S=Yy(n,h),k=S[0],w=S[1],A=S[2],T=w-A-c*k;(k||T)&&Vy(n,h)&&(g+=T,b+=k);var q=h.parentNode;h=q&&q.nodeType===Node.DOCUMENT_FRAGMENT_NODE?q.host:q}while(!m&&h!==document.body||m&&(r.contains(h)||r===h));return(y&&Math.abs(g)<1||!y&&Math.abs(b)<1)&&(p=!0),p},Du=function(n){return"changedTouches"in n?[n.changedTouches[0].clientX,n.changedTouches[0].clientY]:[0,0]},l1=function(n){return[n.deltaX,n.deltaY]},r1=function(n){return n&&"current"in n?n.current:n},LA=function(n,r){return n[0]===r[0]&&n[1]===r[1]},UA=function(n){return`
75
+ .block-interactivity-`.concat(n,` {pointer-events: none;}
76
+ .allow-interactivity-`).concat(n,` {pointer-events: all;}
77
+ `)},BA=0,Lr=[];function jA(n){var r=M.useRef([]),i=M.useRef([0,0]),u=M.useRef(),o=M.useState(BA++)[0],c=M.useState(Hy)[0],f=M.useRef(n);M.useEffect(function(){f.current=n},[n]),M.useEffect(function(){if(n.inert){document.body.classList.add("block-interactivity-".concat(o));var w=iA([n.lockRef.current],(n.shards||[]).map(r1),!0).filter(Boolean);return w.forEach(function(A){return A.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),w.forEach(function(A){return A.classList.remove("allow-interactivity-".concat(o))})}}},[n.inert,n.lockRef.current,n.shards]);var h=M.useCallback(function(w,A){if("touches"in w&&w.touches.length===2||w.type==="wheel"&&w.ctrlKey)return!f.current.allowPinchZoom;var T=Du(w),q=i.current,O="deltaX"in w?w.deltaX:q[0]-T[0],G="deltaY"in w?w.deltaY:q[1]-T[1],P,U=w.target,Q=Math.abs(O)>Math.abs(G)?"h":"v";if("touches"in w&&Q==="h"&&U.type==="range")return!1;var re=window.getSelection(),ie=re&&re.anchorNode,N=ie?ie===U||ie.contains(U):!1;if(N)return!1;var $=n1(Q,U);if(!$)return!0;if($?P=Q:(P=Q==="v"?"h":"v",$=n1(Q,U)),!$)return!1;if(!u.current&&"changedTouches"in w&&(O||G)&&(u.current=P),!P)return!0;var K=u.current||P;return NA(K,A,w,K==="h"?O:G)},[]),m=M.useCallback(function(w){var A=w;if(!(!Lr.length||Lr[Lr.length-1]!==c)){var T="deltaY"in A?l1(A):Du(A),q=r.current.filter(function(P){return P.name===A.type&&(P.target===A.target||A.target===P.shadowParent)&&LA(P.delta,T)})[0];if(q&&q.should){A.cancelable&&A.preventDefault();return}if(!q){var O=(f.current.shards||[]).map(r1).filter(Boolean).filter(function(P){return P.contains(A.target)}),G=O.length>0?h(A,O[0]):!f.current.noIsolation;G&&A.cancelable&&A.preventDefault()}}},[]),p=M.useCallback(function(w,A,T,q){var O={name:w,delta:A,target:T,should:q,shadowParent:HA(T)};r.current.push(O),setTimeout(function(){r.current=r.current.filter(function(G){return G!==O})},1)},[]),y=M.useCallback(function(w){i.current=Du(w),u.current=void 0},[]),g=M.useCallback(function(w){p(w.type,l1(w),w.target,h(w,n.lockRef.current))},[]),b=M.useCallback(function(w){p(w.type,Du(w),w.target,h(w,n.lockRef.current))},[]);M.useEffect(function(){return Lr.push(c),n.setCallbacks({onScrollCapture:g,onWheelCapture:g,onTouchMoveCapture:b}),document.addEventListener("wheel",m,Nr),document.addEventListener("touchmove",m,Nr),document.addEventListener("touchstart",y,Nr),function(){Lr=Lr.filter(function(w){return w!==c}),document.removeEventListener("wheel",m,Nr),document.removeEventListener("touchmove",m,Nr),document.removeEventListener("touchstart",y,Nr)}},[]);var S=n.removeScrollBar,k=n.inert;return M.createElement(M.Fragment,null,k?M.createElement(c,{styles:UA(o)}):null,S?M.createElement(TA,{noRelative:n.noRelative,gapMode:n.gapMode}):null)}function HA(n){for(var r=null;n!==null;)n instanceof ShadowRoot&&(r=n.host,n=n.host),n=n.parentNode;return r}const qA=pA(jy,jA);var Gy=M.forwardRef(function(n,r){return M.createElement($u,bn({},n,{ref:r,sideCar:qA}))});Gy.classNames=$u.classNames;var VA=function(n){if(typeof document>"u")return null;var r=Array.isArray(n)?n[0]:n;return r.ownerDocument.body},Ur=new WeakMap,Ru=new WeakMap,Ou={},Zs=0,Xy=function(n){return n&&(n.host||Xy(n.parentNode))},YA=function(n,r){return r.map(function(i){if(n.contains(i))return i;var u=Xy(i);return u&&n.contains(u)?u:(console.error("aria-hidden",i,"in not contained inside",n,". Doing nothing"),null)}).filter(function(i){return!!i})},GA=function(n,r,i,u){var o=YA(r,Array.isArray(n)?n:[n]);Ou[i]||(Ou[i]=new WeakMap);var c=Ou[i],f=[],h=new Set,m=new Set(o),p=function(g){!g||h.has(g)||(h.add(g),p(g.parentNode))};o.forEach(p);var y=function(g){!g||m.has(g)||Array.prototype.forEach.call(g.children,function(b){if(h.has(b))y(b);else try{var S=b.getAttribute(u),k=S!==null&&S!=="false",w=(Ur.get(b)||0)+1,A=(c.get(b)||0)+1;Ur.set(b,w),c.set(b,A),f.push(b),w===1&&k&&Ru.set(b,!0),A===1&&b.setAttribute(i,"true"),k||b.setAttribute(u,"true")}catch(T){console.error("aria-hidden: cannot operate on ",b,T)}})};return y(r),h.clear(),Zs++,function(){f.forEach(function(g){var b=Ur.get(g)-1,S=c.get(g)-1;Ur.set(g,b),c.set(g,S),b||(Ru.has(g)||g.removeAttribute(u),Ru.delete(g)),S||g.removeAttribute(i)}),Zs--,Zs||(Ur=new WeakMap,Ur=new WeakMap,Ru=new WeakMap,Ou={})}},XA=function(n,r,i){i===void 0&&(i="data-aria-hidden");var u=Array.from(Array.isArray(n)?n:[n]),o=VA(n);return o?(u.push.apply(u,Array.from(o.querySelectorAll("[aria-live], script"))),GA(u,o,i,"aria-hidden")):function(){return null}},eo="Dialog",[Fy]=ra(eo),[FA,hn]=Fy(eo),Iy=n=>{const{__scopeDialog:r,children:i,open:u,defaultOpen:o,onOpenChange:c,modal:f=!0}=n,h=M.useRef(null),m=M.useRef(null),[p,y]=Hf({prop:u,defaultProp:o??!1,onChange:c,caller:eo});return te.jsx(FA,{scope:r,triggerRef:h,contentRef:m,contentId:Ji(),titleId:Ji(),descriptionId:Ji(),open:p,onOpenChange:y,onOpenToggle:M.useCallback(()=>y(g=>!g),[y]),modal:f,children:i})};Iy.displayName=eo;var Qy="DialogTrigger",IA=M.forwardRef((n,r)=>{const{__scopeDialog:i,...u}=n,o=hn(Qy,i),c=St(r,o.triggerRef);return te.jsx(ot.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Yf(o.open),...u,ref:c,onClick:We(n.onClick,o.onOpenToggle)})});IA.displayName=Qy;var qf="DialogPortal",[QA,Zy]=Fy(qf,{forceMount:void 0}),Ky=n=>{const{__scopeDialog:r,forceMount:i,children:u,container:o}=n,c=hn(qf,r);return te.jsx(QA,{scope:r,forceMount:i,children:M.Children.map(u,f=>te.jsx(Fn,{present:i||c.open,children:te.jsx(Ly,{asChild:!0,container:o,children:f})}))})};Ky.displayName=qf;var Fu="DialogOverlay",Py=M.forwardRef((n,r)=>{const i=Zy(Fu,n.__scopeDialog),{forceMount:u=i.forceMount,...o}=n,c=hn(Fu,n.__scopeDialog);return c.modal?te.jsx(Fn,{present:u||c.open,children:te.jsx(KA,{...o,ref:r})}):null});Py.displayName=Fu;var ZA=Yu("DialogOverlay.RemoveScroll"),KA=M.forwardRef((n,r)=>{const{__scopeDialog:i,...u}=n,o=hn(Fu,i);return te.jsx(Gy,{as:ZA,allowPinchZoom:!0,shards:[o.contentRef],children:te.jsx(ot.div,{"data-state":Yf(o.open),...u,ref:r,style:{pointerEvents:"auto",...u.style}})})}),Yl="DialogContent",Jy=M.forwardRef((n,r)=>{const i=Zy(Yl,n.__scopeDialog),{forceMount:u=i.forceMount,...o}=n,c=hn(Yl,n.__scopeDialog);return te.jsx(Fn,{present:u||c.open,children:c.modal?te.jsx(PA,{...o,ref:r}):te.jsx(JA,{...o,ref:r})})});Jy.displayName=Yl;var PA=M.forwardRef((n,r)=>{const i=hn(Yl,n.__scopeDialog),u=M.useRef(null),o=St(r,i.contentRef,u);return M.useEffect(()=>{const c=u.current;if(c)return XA(c)},[]),te.jsx(Wy,{...n,ref:o,trapFocus:i.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:We(n.onCloseAutoFocus,c=>{c.preventDefault(),i.triggerRef.current?.focus()}),onPointerDownOutside:We(n.onPointerDownOutside,c=>{const f=c.detail.originalEvent,h=f.button===0&&f.ctrlKey===!0;(f.button===2||h)&&c.preventDefault()}),onFocusOutside:We(n.onFocusOutside,c=>c.preventDefault())})}),JA=M.forwardRef((n,r)=>{const i=hn(Yl,n.__scopeDialog),u=M.useRef(!1),o=M.useRef(!1);return te.jsx(Wy,{...n,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:c=>{n.onCloseAutoFocus?.(c),c.defaultPrevented||(u.current||i.triggerRef.current?.focus(),c.preventDefault()),u.current=!1,o.current=!1},onInteractOutside:c=>{n.onInteractOutside?.(c),c.defaultPrevented||(u.current=!0,c.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const f=c.target;i.triggerRef.current?.contains(f)&&c.preventDefault(),c.detail.originalEvent.type==="focusin"&&o.current&&c.preventDefault()}})}),Wy=M.forwardRef((n,r)=>{const{__scopeDialog:i,trapFocus:u,onOpenAutoFocus:o,onCloseAutoFocus:c,...f}=n,h=hn(Yl,i),m=M.useRef(null),p=St(r,m);return rA(),te.jsxs(te.Fragment,{children:[te.jsx(Oy,{asChild:!0,loop:!0,trapped:u,onMountAutoFocus:o,onUnmountAutoFocus:c,children:te.jsx(Dy,{role:"dialog",id:h.contentId,"aria-describedby":h.descriptionId,"aria-labelledby":h.titleId,"data-state":Yf(h.open),...f,ref:p,onDismiss:()=>h.onOpenChange(!1)})}),te.jsxs(te.Fragment,{children:[te.jsx(WA,{titleId:h.titleId}),te.jsx(e4,{contentRef:m,descriptionId:h.descriptionId})]})]})}),Vf="DialogTitle",$y=M.forwardRef((n,r)=>{const{__scopeDialog:i,...u}=n,o=hn(Vf,i);return te.jsx(ot.h2,{id:o.titleId,...u,ref:r})});$y.displayName=Vf;var e0="DialogDescription",t0=M.forwardRef((n,r)=>{const{__scopeDialog:i,...u}=n,o=hn(e0,i);return te.jsx(ot.p,{id:o.descriptionId,...u,ref:r})});t0.displayName=e0;var n0="DialogClose",l0=M.forwardRef((n,r)=>{const{__scopeDialog:i,...u}=n,o=hn(n0,i);return te.jsx(ot.button,{type:"button",...u,ref:r,onClick:We(n.onClick,()=>o.onOpenChange(!1))})});l0.displayName=n0;function Yf(n){return n?"open":"closed"}var r0="DialogTitleWarning",[ez,i0]=S3(r0,{contentName:Yl,titleName:Vf,docsSlug:"dialog"}),WA=({titleId:n})=>{const r=i0(r0),i=`\`${r.contentName}\` requires a \`${r.titleName}\` for the component to be accessible for screen reader users.
78
+
79
+ If you want to hide the \`${r.titleName}\`, you can wrap it with our VisuallyHidden component.
80
+
81
+ For more information, see https://radix-ui.com/primitives/docs/components/${r.docsSlug}`;return M.useEffect(()=>{n&&(document.getElementById(n)||console.error(i))},[i,n]),null},$A="DialogDescriptionWarning",e4=({contentRef:n,descriptionId:r})=>{const u=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${i0($A).contentName}}.`;return M.useEffect(()=>{const o=n.current?.getAttribute("aria-describedby");r&&o&&(document.getElementById(r)||console.warn(u))},[u,n,r]),null},tz=Iy,nz=Ky,lz=Py,rz=Jy,iz=$y,az=t0,uz=l0;function t4(n){const r=n+"CollectionProvider",[i,u]=ra(r),[o,c]=i(r,{collectionRef:{current:null},itemMap:new Map}),f=w=>{const{scope:A,children:T}=w,q=rn.useRef(null),O=rn.useRef(new Map).current;return te.jsx(o,{scope:A,itemMap:O,collectionRef:q,children:T})};f.displayName=r;const h=n+"CollectionSlot",m=Yu(h),p=rn.forwardRef((w,A)=>{const{scope:T,children:q}=w,O=c(h,T),G=St(A,O.collectionRef);return te.jsx(m,{ref:G,children:q})});p.displayName=h;const y=n+"CollectionItemSlot",g="data-radix-collection-item",b=Yu(y),S=rn.forwardRef((w,A)=>{const{scope:T,children:q,...O}=w,G=rn.useRef(null),P=St(A,G),U=c(y,T);return rn.useEffect(()=>(U.itemMap.set(G,{ref:G,...O}),()=>{U.itemMap.delete(G)})),te.jsx(b,{[g]:"",ref:P,children:q})});S.displayName=y;function k(w){const A=c(n+"CollectionConsumer",w);return rn.useCallback(()=>{const q=A.collectionRef.current;if(!q)return[];const O=Array.from(q.querySelectorAll(`[${g}]`));return Array.from(A.itemMap.values()).sort((U,Q)=>O.indexOf(U.ref.current)-O.indexOf(Q.ref.current))},[A.collectionRef,A.itemMap])}return[{Provider:f,Slot:p,ItemSlot:S},k,u]}var Ks="rovingFocusGroup.onEntryFocus",n4={bubbles:!1,cancelable:!0},ia="RovingFocusGroup",[df,a0,l4]=t4(ia),[r4,u0]=ra(ia,[l4]),[i4,a4]=r4(ia),o0=M.forwardRef((n,r)=>te.jsx(df.Provider,{scope:n.__scopeRovingFocusGroup,children:te.jsx(df.Slot,{scope:n.__scopeRovingFocusGroup,children:te.jsx(u4,{...n,ref:r})})}));o0.displayName=ia;var u4=M.forwardRef((n,r)=>{const{__scopeRovingFocusGroup:i,orientation:u,loop:o=!1,dir:c,currentTabStopId:f,defaultCurrentTabStopId:h,onCurrentTabStopIdChange:m,onEntryFocus:p,preventScrollOnEntryFocus:y=!1,...g}=n,b=M.useRef(null),S=St(r,b),k=Lf(c),[w,A]=Hf({prop:f,defaultProp:h??null,onChange:m,caller:ia}),[T,q]=M.useState(!1),O=Ft(p),G=a0(i),P=M.useRef(!1),[U,Q]=M.useState(0);return M.useEffect(()=>{const re=b.current;if(re)return re.addEventListener(Ks,O),()=>re.removeEventListener(Ks,O)},[O]),te.jsx(i4,{scope:i,orientation:u,dir:k,loop:o,currentTabStopId:w,onItemFocus:M.useCallback(re=>A(re),[A]),onItemShiftTab:M.useCallback(()=>q(!0),[]),onFocusableItemAdd:M.useCallback(()=>Q(re=>re+1),[]),onFocusableItemRemove:M.useCallback(()=>Q(re=>re-1),[]),children:te.jsx(ot.div,{tabIndex:T||U===0?-1:0,"data-orientation":u,...g,ref:S,style:{outline:"none",...n.style},onMouseDown:We(n.onMouseDown,()=>{P.current=!0}),onFocus:We(n.onFocus,re=>{const ie=!P.current;if(re.target===re.currentTarget&&ie&&!T){const N=new CustomEvent(Ks,n4);if(re.currentTarget.dispatchEvent(N),!N.defaultPrevented){const $=G().filter(L=>L.focusable),K=$.find(L=>L.active),be=$.find(L=>L.id===w),ee=[K,be,...$].filter(Boolean).map(L=>L.ref.current);f0(ee,y)}}P.current=!1}),onBlur:We(n.onBlur,()=>q(!1))})})}),c0="RovingFocusGroupItem",s0=M.forwardRef((n,r)=>{const{__scopeRovingFocusGroup:i,focusable:u=!0,active:o=!1,tabStopId:c,children:f,...h}=n,m=Ji(),p=c||m,y=a4(c0,i),g=y.currentTabStopId===p,b=a0(i),{onFocusableItemAdd:S,onFocusableItemRemove:k,currentTabStopId:w}=y;return M.useEffect(()=>{if(u)return S(),()=>k()},[u,S,k]),te.jsx(df.ItemSlot,{scope:i,id:p,focusable:u,active:o,children:te.jsx(ot.span,{tabIndex:g?0:-1,"data-orientation":y.orientation,...h,ref:r,onMouseDown:We(n.onMouseDown,A=>{u?y.onItemFocus(p):A.preventDefault()}),onFocus:We(n.onFocus,()=>y.onItemFocus(p)),onKeyDown:We(n.onKeyDown,A=>{if(A.key==="Tab"&&A.shiftKey){y.onItemShiftTab();return}if(A.target!==A.currentTarget)return;const T=s4(A,y.orientation,y.dir);if(T!==void 0){if(A.metaKey||A.ctrlKey||A.altKey||A.shiftKey)return;A.preventDefault();let O=b().filter(G=>G.focusable).map(G=>G.ref.current);if(T==="last")O.reverse();else if(T==="prev"||T==="next"){T==="prev"&&O.reverse();const G=O.indexOf(A.currentTarget);O=y.loop?f4(O,G+1):O.slice(G+1)}setTimeout(()=>f0(O))}}),children:typeof f=="function"?f({isCurrentTabStop:g,hasTabStop:w!=null}):f})})});s0.displayName=c0;var o4={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function c4(n,r){return r!=="rtl"?n:n==="ArrowLeft"?"ArrowRight":n==="ArrowRight"?"ArrowLeft":n}function s4(n,r,i){const u=c4(n.key,i);if(!(r==="vertical"&&["ArrowLeft","ArrowRight"].includes(u))&&!(r==="horizontal"&&["ArrowUp","ArrowDown"].includes(u)))return o4[u]}function f0(n,r=!1){const i=document.activeElement;for(const u of n)if(u===i||(u.focus({preventScroll:r}),document.activeElement!==i))return}function f4(n,r){return n.map((i,u)=>n[(r+u)%n.length])}var d4=o0,h4=s0,to="Tabs",[p4]=ra(to,[u0]),d0=u0(),[m4,Gf]=p4(to),h0=M.forwardRef((n,r)=>{const{__scopeTabs:i,value:u,onValueChange:o,defaultValue:c,orientation:f="horizontal",dir:h,activationMode:m="automatic",...p}=n,y=Lf(h),[g,b]=Hf({prop:u,onChange:o,defaultProp:c??"",caller:to});return te.jsx(m4,{scope:i,baseId:Ji(),value:g,onValueChange:b,orientation:f,dir:y,activationMode:m,children:te.jsx(ot.div,{dir:y,"data-orientation":f,...p,ref:r})})});h0.displayName=to;var p0="TabsList",m0=M.forwardRef((n,r)=>{const{__scopeTabs:i,loop:u=!0,...o}=n,c=Gf(p0,i),f=d0(i);return te.jsx(d4,{asChild:!0,...f,orientation:c.orientation,dir:c.dir,loop:u,children:te.jsx(ot.div,{role:"tablist","aria-orientation":c.orientation,...o,ref:r})})});m0.displayName=p0;var g0="TabsTrigger",y0=M.forwardRef((n,r)=>{const{__scopeTabs:i,value:u,disabled:o=!1,...c}=n,f=Gf(g0,i),h=d0(i),m=S0(f.baseId,u),p=x0(f.baseId,u),y=u===f.value;return te.jsx(h4,{asChild:!0,...h,focusable:!o,active:y,children:te.jsx(ot.button,{type:"button",role:"tab","aria-selected":y,"aria-controls":p,"data-state":y?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:m,...c,ref:r,onMouseDown:We(n.onMouseDown,g=>{!o&&g.button===0&&g.ctrlKey===!1?f.onValueChange(u):g.preventDefault()}),onKeyDown:We(n.onKeyDown,g=>{[" ","Enter"].includes(g.key)&&f.onValueChange(u)}),onFocus:We(n.onFocus,()=>{const g=f.activationMode!=="manual";!y&&!o&&g&&f.onValueChange(u)})})})});y0.displayName=g0;var v0="TabsContent",b0=M.forwardRef((n,r)=>{const{__scopeTabs:i,value:u,forceMount:o,children:c,...f}=n,h=Gf(v0,i),m=S0(h.baseId,u),p=x0(h.baseId,u),y=u===h.value,g=M.useRef(y);return M.useEffect(()=>{const b=requestAnimationFrame(()=>g.current=!1);return()=>cancelAnimationFrame(b)},[]),te.jsx(Fn,{present:o||y,children:({present:b})=>te.jsx(ot.div,{"data-state":y?"active":"inactive","data-orientation":h.orientation,role:"tabpanel","aria-labelledby":m,hidden:!b,id:p,tabIndex:0,...f,ref:r,style:{...n.style,animationDuration:g.current?"0s":void 0},children:b&&c})})});b0.displayName=v0;function S0(n,r){return`${n}-trigger-${r}`}function x0(n,r){return`${n}-content-${r}`}var oz=h0,cz=m0,sz=y0,fz=b0;export{KT as $,x4 as A,A4 as B,N4 as C,Y4 as D,_4 as E,P4 as F,J4 as G,$4 as H,tT as I,M4 as J,D4 as K,aT as L,hT as M,O4 as N,R4 as O,bT as P,q4 as Q,wT as R,_T as S,BT as T,jT as U,qT as V,XT as W,FT as X,LT as Y,w4 as Z,j4 as _,Jb as a,PT as a0,I4 as a1,ST as a2,xT as a3,C4 as a4,E4 as a5,IT as a6,nT as a7,k4 as a8,T4 as a9,W4 as aA,CT as aB,cz as aC,sz as aD,fz as aE,oz as aF,lT as aG,kT as aH,X4 as aI,pT as aJ,mT as aK,iT as aL,L4 as aM,B4 as aN,RT as aO,gT as aP,fT as aQ,g4 as aR,rn as aS,rT as aa,JT as ab,WT as ac,$T as ad,A3 as ae,R3 as af,yT as ag,K4 as ah,S4 as ai,H4 as aj,HT as ak,uT as al,sT as am,vT as an,F4 as ao,ET as ap,oT as aq,lz as ar,nz as as,rz as at,uz as au,iz as av,az as aw,tz as ax,MT as ay,Q4 as az,U4 as b,y4 as c,OT as d,z4 as e,UT as f,G4 as g,eT as h,zT as i,te as j,V4 as k,NT as l,dT as m,cT as n,VT as o,v4 as p,AT as q,M as r,Z4 as s,b4 as t,QT as u,ZT as v,DT as w,TT as x,GT as y,YT as z};