@nameless26/widget 0.1.3 → 0.1.4
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.
- package/dist/EmailGate.d.ts +10 -0
- package/dist/embed.iife.js +22 -28
- package/dist/index.cjs.js +18 -24
- package/dist/index.es.js +2897 -2396
- package/dist/session.d.ts +4 -0
- package/dist/types.d.ts +15 -2
- package/dist/useChat.d.ts +1 -3
- package/package.json +1 -1
package/dist/embed.iife.js
CHANGED
|
@@ -1,43 +1,37 @@
|
|
|
1
|
-
(function(){"use strict";function as(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var Ia={exports:{}},gt={};var rs;function Ym(){if(rs)return gt;rs=1;var i=Symbol.for("react.transitional.element"),a=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),d=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),x=Symbol.for("react.activity"),A=Symbol.iterator;function E(y){return y===null||typeof y!="object"?null:(y=A&&y[A]||y["@@iterator"],typeof y=="function"?y:null)}var X={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},V=Object.assign,I={};function j(y,_,S){this.props=y,this.context=_,this.refs=I,this.updater=S||X}j.prototype.isReactComponent={},j.prototype.setState=function(y,_){if(typeof y!="object"&&typeof y!="function"&&y!=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,y,_,"setState")},j.prototype.forceUpdate=function(y){this.updater.enqueueForceUpdate(this,y,"forceUpdate")};function nt(){}nt.prototype=j.prototype;function K(y,_,S){this.props=y,this.context=_,this.refs=I,this.updater=S||X}var lt=K.prototype=new nt;lt.constructor=K,V(lt,j.prototype),lt.isPureReactComponent=!0;var ht=Array.isArray;function N(){}var Y={H:null,A:null,T:null,S:null},st=Object.prototype.hasOwnProperty;function ct(y,_,S){var L=S.ref;return{$$typeof:i,type:y,key:_,ref:L!==void 0?L:null,props:S}}function dt(y,_){return ct(y.type,_,y.props)}function tt(y){return typeof y=="object"&&y!==null&&y.$$typeof===i}function P(y){var _={"=":"=0",":":"=2"};return"$"+y.replace(/[=:]/g,function(S){return _[S]})}var xt=/\/+/g;function et(y,_){return typeof y=="object"&&y!==null&&y.key!=null?P(""+y.key):_.toString(36)}function J(y){switch(y.status){case"fulfilled":return y.value;case"rejected":throw y.reason;default:switch(typeof y.status=="string"?y.then(N,N):(y.status="pending",y.then(function(_){y.status==="pending"&&(y.status="fulfilled",y.value=_)},function(_){y.status==="pending"&&(y.status="rejected",y.reason=_)})),y.status){case"fulfilled":return y.value;case"rejected":throw y.reason}}throw y}function D(y,_,S,L,$){var F=typeof y;(F==="undefined"||F==="boolean")&&(y=null);var at=!1;if(y===null)at=!0;else switch(F){case"bigint":case"string":case"number":at=!0;break;case"object":switch(y.$$typeof){case i:case a:at=!0;break;case b:return at=y._init,D(at(y._payload),_,S,L,$)}}if(at)return $=$(y),at=L===""?"."+et(y,0):L,ht($)?(S="",at!=null&&(S=at.replace(xt,"$&/")+"/"),D($,_,S,"",function(xe){return xe})):$!=null&&(tt($)&&($=dt($,S+($.key==null||y&&y.key===$.key?"":(""+$.key).replace(xt,"$&/")+"/")+at)),_.push($)),1;at=0;var Mt=L===""?".":L+":";if(ht(y))for(var bt=0;bt<y.length;bt++)L=y[bt],F=Mt+et(L,bt),at+=D(L,_,S,F,$);else if(bt=E(y),typeof bt=="function")for(y=bt.call(y),bt=0;!(L=y.next()).done;)L=L.value,F=Mt+et(L,bt++),at+=D(L,_,S,F,$);else if(F==="object"){if(typeof y.then=="function")return D(J(y),_,S,L,$);throw _=String(y),Error("Objects are not valid as a React child (found: "+(_==="[object Object]"?"object with keys {"+Object.keys(y).join(", ")+"}":_)+"). If you meant to render a collection of children, use an array instead.")}return at}function G(y,_,S){if(y==null)return y;var L=[],$=0;return D(y,L,"","",function(F){return _.call(S,F,$++)}),L}function ut(y){if(y._status===-1){var _=y._result;_=_(),_.then(function(S){(y._status===0||y._status===-1)&&(y._status=1,y._result=S)},function(S){(y._status===0||y._status===-1)&&(y._status=2,y._result=S)}),y._status===-1&&(y._status=0,y._result=_)}if(y._status===1)return y._result.default;throw y._result}var Et=typeof reportError=="function"?reportError:function(y){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var _=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof y=="object"&&y!==null&&typeof y.message=="string"?String(y.message):String(y),error:y});if(!window.dispatchEvent(_))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",y);return}console.error(y)},T={map:G,forEach:function(y,_,S){G(y,function(){_.apply(this,arguments)},S)},count:function(y){var _=0;return G(y,function(){_++}),_},toArray:function(y){return G(y,function(_){return _})||[]},only:function(y){if(!tt(y))throw Error("React.Children.only expected to receive a single React element child.");return y}};return gt.Activity=x,gt.Children=T,gt.Component=j,gt.Fragment=r,gt.Profiler=s,gt.PureComponent=K,gt.StrictMode=c,gt.Suspense=g,gt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Y,gt.__COMPILER_RUNTIME={__proto__:null,c:function(y){return Y.H.useMemoCache(y)}},gt.cache=function(y){return function(){return y.apply(null,arguments)}},gt.cacheSignal=function(){return null},gt.cloneElement=function(y,_,S){if(y==null)throw Error("The argument must be a React element, but you passed "+y+".");var L=V({},y.props),$=y.key;if(_!=null)for(F in _.key!==void 0&&($=""+_.key),_)!st.call(_,F)||F==="key"||F==="__self"||F==="__source"||F==="ref"&&_.ref===void 0||(L[F]=_[F]);var F=arguments.length-2;if(F===1)L.children=S;else if(1<F){for(var at=Array(F),Mt=0;Mt<F;Mt++)at[Mt]=arguments[Mt+2];L.children=at}return ct(y.type,$,L)},gt.createContext=function(y){return y={$$typeof:d,_currentValue:y,_currentValue2:y,_threadCount:0,Provider:null,Consumer:null},y.Provider=y,y.Consumer={$$typeof:f,_context:y},y},gt.createElement=function(y,_,S){var L,$={},F=null;if(_!=null)for(L in _.key!==void 0&&(F=""+_.key),_)st.call(_,L)&&L!=="key"&&L!=="__self"&&L!=="__source"&&($[L]=_[L]);var at=arguments.length-2;if(at===1)$.children=S;else if(1<at){for(var Mt=Array(at),bt=0;bt<at;bt++)Mt[bt]=arguments[bt+2];$.children=Mt}if(y&&y.defaultProps)for(L in at=y.defaultProps,at)$[L]===void 0&&($[L]=at[L]);return ct(y,F,$)},gt.createRef=function(){return{current:null}},gt.forwardRef=function(y){return{$$typeof:m,render:y}},gt.isValidElement=tt,gt.lazy=function(y){return{$$typeof:b,_payload:{_status:-1,_result:y},_init:ut}},gt.memo=function(y,_){return{$$typeof:p,type:y,compare:_===void 0?null:_}},gt.startTransition=function(y){var _=Y.T,S={};Y.T=S;try{var L=y(),$=Y.S;$!==null&&$(S,L),typeof L=="object"&&L!==null&&typeof L.then=="function"&&L.then(N,Et)}catch(F){Et(F)}finally{_!==null&&S.types!==null&&(_.types=S.types),Y.T=_}},gt.unstable_useCacheRefresh=function(){return Y.H.useCacheRefresh()},gt.use=function(y){return Y.H.use(y)},gt.useActionState=function(y,_,S){return Y.H.useActionState(y,_,S)},gt.useCallback=function(y,_){return Y.H.useCallback(y,_)},gt.useContext=function(y){return Y.H.useContext(y)},gt.useDebugValue=function(){},gt.useDeferredValue=function(y,_){return Y.H.useDeferredValue(y,_)},gt.useEffect=function(y,_){return Y.H.useEffect(y,_)},gt.useEffectEvent=function(y){return Y.H.useEffectEvent(y)},gt.useId=function(){return Y.H.useId()},gt.useImperativeHandle=function(y,_,S){return Y.H.useImperativeHandle(y,_,S)},gt.useInsertionEffect=function(y,_){return Y.H.useInsertionEffect(y,_)},gt.useLayoutEffect=function(y,_){return Y.H.useLayoutEffect(y,_)},gt.useMemo=function(y,_){return Y.H.useMemo(y,_)},gt.useOptimistic=function(y,_){return Y.H.useOptimistic(y,_)},gt.useReducer=function(y,_,S){return Y.H.useReducer(y,_,S)},gt.useRef=function(y){return Y.H.useRef(y)},gt.useState=function(y){return Y.H.useState(y)},gt.useSyncExternalStore=function(y,_,S){return Y.H.useSyncExternalStore(y,_,S)},gt.useTransition=function(){return Y.H.useTransition()},gt.version="19.2.7",gt}var cs;function $a(){return cs||(cs=1,Ia.exports=Ym()),Ia.exports}var Ut=$a(),Wa={exports:{}},yi={},Pa={exports:{}},tr={};var os;function Xm(){return os||(os=1,(function(i){function a(D,G){var ut=D.length;D.push(G);t:for(;0<ut;){var Et=ut-1>>>1,T=D[Et];if(0<s(T,G))D[Et]=G,D[ut]=T,ut=Et;else break t}}function r(D){return D.length===0?null:D[0]}function c(D){if(D.length===0)return null;var G=D[0],ut=D.pop();if(ut!==G){D[0]=ut;t:for(var Et=0,T=D.length,y=T>>>1;Et<y;){var _=2*(Et+1)-1,S=D[_],L=_+1,$=D[L];if(0>s(S,ut))L<T&&0>s($,S)?(D[Et]=$,D[L]=ut,Et=L):(D[Et]=S,D[_]=ut,Et=_);else if(L<T&&0>s($,ut))D[Et]=$,D[L]=ut,Et=L;else break t}}return G}function s(D,G){var ut=D.sortIndex-G.sortIndex;return ut!==0?ut:D.id-G.id}if(i.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var f=performance;i.unstable_now=function(){return f.now()}}else{var d=Date,m=d.now();i.unstable_now=function(){return d.now()-m}}var g=[],p=[],b=1,x=null,A=3,E=!1,X=!1,V=!1,I=!1,j=typeof setTimeout=="function"?setTimeout:null,nt=typeof clearTimeout=="function"?clearTimeout:null,K=typeof setImmediate<"u"?setImmediate:null;function lt(D){for(var G=r(p);G!==null;){if(G.callback===null)c(p);else if(G.startTime<=D)c(p),G.sortIndex=G.expirationTime,a(g,G);else break;G=r(p)}}function ht(D){if(V=!1,lt(D),!X)if(r(g)!==null)X=!0,N||(N=!0,P());else{var G=r(p);G!==null&&J(ht,G.startTime-D)}}var N=!1,Y=-1,st=5,ct=-1;function dt(){return I?!0:!(i.unstable_now()-ct<st)}function tt(){if(I=!1,N){var D=i.unstable_now();ct=D;var G=!0;try{t:{X=!1,V&&(V=!1,nt(Y),Y=-1),E=!0;var ut=A;try{e:{for(lt(D),x=r(g);x!==null&&!(x.expirationTime>D&&dt());){var Et=x.callback;if(typeof Et=="function"){x.callback=null,A=x.priorityLevel;var T=Et(x.expirationTime<=D);if(D=i.unstable_now(),typeof T=="function"){x.callback=T,lt(D),G=!0;break e}x===r(g)&&c(g),lt(D)}else c(g);x=r(g)}if(x!==null)G=!0;else{var y=r(p);y!==null&&J(ht,y.startTime-D),G=!1}}break t}finally{x=null,A=ut,E=!1}G=void 0}}finally{G?P():N=!1}}}var P;if(typeof K=="function")P=function(){K(tt)};else if(typeof MessageChannel<"u"){var xt=new MessageChannel,et=xt.port2;xt.port1.onmessage=tt,P=function(){et.postMessage(null)}}else P=function(){j(tt,0)};function J(D,G){Y=j(function(){D(i.unstable_now())},G)}i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function(D){D.callback=null},i.unstable_forceFrameRate=function(D){0>D||125<D?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):st=0<D?Math.floor(1e3/D):5},i.unstable_getCurrentPriorityLevel=function(){return A},i.unstable_next=function(D){switch(A){case 1:case 2:case 3:var G=3;break;default:G=A}var ut=A;A=G;try{return D()}finally{A=ut}},i.unstable_requestPaint=function(){I=!0},i.unstable_runWithPriority=function(D,G){switch(D){case 1:case 2:case 3:case 4:case 5:break;default:D=3}var ut=A;A=D;try{return G()}finally{A=ut}},i.unstable_scheduleCallback=function(D,G,ut){var Et=i.unstable_now();switch(typeof ut=="object"&&ut!==null?(ut=ut.delay,ut=typeof ut=="number"&&0<ut?Et+ut:Et):ut=Et,D){case 1:var T=-1;break;case 2:T=250;break;case 5:T=1073741823;break;case 4:T=1e4;break;default:T=5e3}return T=ut+T,D={id:b++,callback:G,priorityLevel:D,startTime:ut,expirationTime:T,sortIndex:-1},ut>Et?(D.sortIndex=ut,a(p,D),r(g)===null&&D===r(p)&&(V?(nt(Y),Y=-1):V=!0,J(ht,ut-Et))):(D.sortIndex=T,a(g,D),X||E||(X=!0,N||(N=!0,P()))),D},i.unstable_shouldYield=dt,i.unstable_wrapCallback=function(D){var G=A;return function(){var ut=A;A=G;try{return D.apply(this,arguments)}finally{A=ut}}}})(tr)),tr}var ss;function Gm(){return ss||(ss=1,Pa.exports=Xm()),Pa.exports}var er={exports:{}},de={};var fs;function Qm(){if(fs)return de;fs=1;var i=$a();function a(g){var p="https://react.dev/errors/"+g;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var b=2;b<arguments.length;b++)p+="&args[]="+encodeURIComponent(arguments[b])}return"Minified React error #"+g+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(){}var c={d:{f:r,r:function(){throw Error(a(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},s=Symbol.for("react.portal");function f(g,p,b){var x=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:s,key:x==null?null:""+x,children:g,containerInfo:p,implementation:b}}var d=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function m(g,p){if(g==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return de.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=c,de.createPortal=function(g,p){var b=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(a(299));return f(g,p,null,b)},de.flushSync=function(g){var p=d.T,b=c.p;try{if(d.T=null,c.p=2,g)return g()}finally{d.T=p,c.p=b,c.d.f()}},de.preconnect=function(g,p){typeof g=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,c.d.C(g,p))},de.prefetchDNS=function(g){typeof g=="string"&&c.d.D(g)},de.preinit=function(g,p){if(typeof g=="string"&&p&&typeof p.as=="string"){var b=p.as,x=m(b,p.crossOrigin),A=typeof p.integrity=="string"?p.integrity:void 0,E=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;b==="style"?c.d.S(g,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:x,integrity:A,fetchPriority:E}):b==="script"&&c.d.X(g,{crossOrigin:x,integrity:A,fetchPriority:E,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},de.preinitModule=function(g,p){if(typeof g=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var b=m(p.as,p.crossOrigin);c.d.M(g,{crossOrigin:b,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&c.d.M(g)},de.preload=function(g,p){if(typeof g=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var b=p.as,x=m(b,p.crossOrigin);c.d.L(g,b,{crossOrigin:x,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})}},de.preloadModule=function(g,p){if(typeof g=="string")if(p){var b=m(p.as,p.crossOrigin);c.d.m(g,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:b,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else c.d.m(g)},de.requestFormReset=function(g){c.d.r(g)},de.unstable_batchedUpdates=function(g,p){return g(p)},de.useFormState=function(g,p,b){return d.H.useFormState(g,p,b)},de.useFormStatus=function(){return d.H.useHostTransitionStatus()},de.version="19.2.7",de}var hs;function Vm(){if(hs)return er.exports;hs=1;function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(a){console.error(a)}}return i(),er.exports=Qm(),er.exports}var ds;function Zm(){if(ds)return yi;ds=1;var i=Gm(),a=$a(),r=Vm();function c(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function f(t){var e=t,n=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(n=e.return),t=e.return;while(t)}return e.tag===3?n:null}function d(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function m(t){if(t.tag===31){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function g(t){if(f(t)!==t)throw Error(c(188))}function p(t){var e=t.alternate;if(!e){if(e=f(t),e===null)throw Error(c(188));return e!==t?null:t}for(var n=t,l=e;;){var u=n.return;if(u===null)break;var o=u.alternate;if(o===null){if(l=u.return,l!==null){n=l;continue}break}if(u.child===o.child){for(o=u.child;o;){if(o===n)return g(u),t;if(o===l)return g(u),e;o=o.sibling}throw Error(c(188))}if(n.return!==l.return)n=u,l=o;else{for(var h=!1,v=u.child;v;){if(v===n){h=!0,n=u,l=o;break}if(v===l){h=!0,l=u,n=o;break}v=v.sibling}if(!h){for(v=o.child;v;){if(v===n){h=!0,n=o,l=u;break}if(v===l){h=!0,l=o,n=u;break}v=v.sibling}if(!h)throw Error(c(189))}}if(n.alternate!==l)throw Error(c(190))}if(n.tag!==3)throw Error(c(188));return n.stateNode.current===n?t:e}function b(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=b(t),e!==null)return e;t=t.sibling}return null}var x=Object.assign,A=Symbol.for("react.element"),E=Symbol.for("react.transitional.element"),X=Symbol.for("react.portal"),V=Symbol.for("react.fragment"),I=Symbol.for("react.strict_mode"),j=Symbol.for("react.profiler"),nt=Symbol.for("react.consumer"),K=Symbol.for("react.context"),lt=Symbol.for("react.forward_ref"),ht=Symbol.for("react.suspense"),N=Symbol.for("react.suspense_list"),Y=Symbol.for("react.memo"),st=Symbol.for("react.lazy"),ct=Symbol.for("react.activity"),dt=Symbol.for("react.memo_cache_sentinel"),tt=Symbol.iterator;function P(t){return t===null||typeof t!="object"?null:(t=tt&&t[tt]||t["@@iterator"],typeof t=="function"?t:null)}var xt=Symbol.for("react.client.reference");function et(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===xt?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case V:return"Fragment";case j:return"Profiler";case I:return"StrictMode";case ht:return"Suspense";case N:return"SuspenseList";case ct:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case X:return"Portal";case K:return t.displayName||"Context";case nt:return(t._context.displayName||"Context")+".Consumer";case lt:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case Y:return e=t.displayName||null,e!==null?e:et(t.type)||"Memo";case st:e=t._payload,t=t._init;try{return et(t(e))}catch{}}return null}var J=Array.isArray,D=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,G=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ut={pending:!1,data:null,method:null,action:null},Et=[],T=-1;function y(t){return{current:t}}function _(t){0>T||(t.current=Et[T],Et[T]=null,T--)}function S(t,e){T++,Et[T]=t.current,t.current=e}var L=y(null),$=y(null),F=y(null),at=y(null);function Mt(t,e){switch(S(F,e),S($,t),S(L,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?sm(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=sm(e),t=fm(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}_(L),S(L,t)}function bt(){_(L),_($),_(F)}function xe(t){t.memoizedState!==null&&S(at,t);var e=L.current,n=fm(e,t.type);e!==n&&(S($,t),S(L,n))}function on(t){$.current===t&&(_(L),_($)),at.current===t&&(_(at),vu._currentValue=ut)}var Mi,wu;function sn(t){if(Mi===void 0)try{throw Error()}catch(n){var e=n.stack.trim().match(/\n( *(at )?)/);Mi=e&&e[1]||"",wu=-1<n.stack.indexOf(`
|
|
1
|
+
(function(){"use strict";function rs(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var Iu={exports:{}},bt={};var cs;function Xm(){if(cs)return bt;cs=1;var i=Symbol.for("react.transitional.element"),a=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),d=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),S=Symbol.for("react.activity"),z=Symbol.iterator;function E(y){return y===null||typeof y!="object"?null:(y=z&&y[z]||y["@@iterator"],typeof y=="function"?y:null)}var Q={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},G=Object.assign,I={};function H(y,C,b){this.props=y,this.context=C,this.refs=I,this.updater=b||Q}H.prototype.isReactComponent={},H.prototype.setState=function(y,C){if(typeof y!="object"&&typeof y!="function"&&y!=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,y,C,"setState")},H.prototype.forceUpdate=function(y){this.updater.enqueueForceUpdate(this,y,"forceUpdate")};function tt(){}tt.prototype=H.prototype;function V(y,C,b){this.props=y,this.context=C,this.refs=I,this.updater=b||Q}var st=V.prototype=new tt;st.constructor=V,G(st,H.prototype),st.isPureReactComponent=!0;var dt=Array.isArray;function N(){}var K={H:null,A:null,T:null,S:null},ut=Object.prototype.hasOwnProperty;function ft(y,C,b){var Y=b.ref;return{$$typeof:i,type:y,key:C,ref:Y!==void 0?Y:null,props:b}}function pt(y,C){return ft(y.type,C,y.props)}function nt(y){return typeof y=="object"&&y!==null&&y.$$typeof===i}function U(y){var C={"=":"=0",":":"=2"};return"$"+y.replace(/[=:]/g,function(b){return C[b]})}var lt=/\/+/g;function et(y,C){return typeof y=="object"&&y!==null&&y.key!=null?U(""+y.key):C.toString(36)}function J(y){switch(y.status){case"fulfilled":return y.value;case"rejected":throw y.reason;default:switch(typeof y.status=="string"?y.then(N,N):(y.status="pending",y.then(function(C){y.status==="pending"&&(y.status="fulfilled",y.value=C)},function(C){y.status==="pending"&&(y.status="rejected",y.reason=C)})),y.status){case"fulfilled":return y.value;case"rejected":throw y.reason}}throw y}function M(y,C,b,Y,W){var $=typeof y;($==="undefined"||$==="boolean")&&(y=null);var rt=!1;if(y===null)rt=!0;else switch($){case"bigint":case"string":case"number":rt=!0;break;case"object":switch(y.$$typeof){case i:case a:rt=!0;break;case x:return rt=y._init,M(rt(y._payload),C,b,Y,W)}}if(rt)return W=W(y),rt=Y===""?"."+et(y,0):Y,dt(W)?(b="",rt!=null&&(b=rt.replace(lt,"$&/")+"/"),M(W,C,b,"",function(Se){return Se})):W!=null&&(nt(W)&&(W=pt(W,b+(W.key==null||y&&y.key===W.key?"":(""+W.key).replace(lt,"$&/")+"/")+rt)),C.push(W)),1;rt=0;var Dt=Y===""?".":Y+":";if(dt(y))for(var Et=0;Et<y.length;Et++)Y=y[Et],$=Dt+et(Y,Et),rt+=M(Y,C,b,$,W);else if(Et=E(y),typeof Et=="function")for(y=Et.call(y),Et=0;!(Y=y.next()).done;)Y=Y.value,$=Dt+et(Y,Et++),rt+=M(Y,C,b,$,W);else if($==="object"){if(typeof y.then=="function")return M(J(y),C,b,Y,W);throw C=String(y),Error("Objects are not valid as a React child (found: "+(C==="[object Object]"?"object with keys {"+Object.keys(y).join(", ")+"}":C)+"). If you meant to render a collection of children, use an array instead.")}return rt}function Z(y,C,b){if(y==null)return y;var Y=[],W=0;return M(y,Y,"","",function($){return C.call(b,$,W++)}),Y}function at(y){if(y._status===-1){var C=y._result;C=C(),C.then(function(b){(y._status===0||y._status===-1)&&(y._status=1,y._result=b)},function(b){(y._status===0||y._status===-1)&&(y._status=2,y._result=b)}),y._status===-1&&(y._status=0,y._result=C)}if(y._status===1)return y._result.default;throw y._result}var ot=typeof reportError=="function"?reportError:function(y){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var C=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof y=="object"&&y!==null&&typeof y.message=="string"?String(y.message):String(y),error:y});if(!window.dispatchEvent(C))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",y);return}console.error(y)},T={map:Z,forEach:function(y,C,b){Z(y,function(){C.apply(this,arguments)},b)},count:function(y){var C=0;return Z(y,function(){C++}),C},toArray:function(y){return Z(y,function(C){return C})||[]},only:function(y){if(!nt(y))throw Error("React.Children.only expected to receive a single React element child.");return y}};return bt.Activity=S,bt.Children=T,bt.Component=H,bt.Fragment=r,bt.Profiler=s,bt.PureComponent=V,bt.StrictMode=c,bt.Suspense=g,bt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=K,bt.__COMPILER_RUNTIME={__proto__:null,c:function(y){return K.H.useMemoCache(y)}},bt.cache=function(y){return function(){return y.apply(null,arguments)}},bt.cacheSignal=function(){return null},bt.cloneElement=function(y,C,b){if(y==null)throw Error("The argument must be a React element, but you passed "+y+".");var Y=G({},y.props),W=y.key;if(C!=null)for($ in C.key!==void 0&&(W=""+C.key),C)!ut.call(C,$)||$==="key"||$==="__self"||$==="__source"||$==="ref"&&C.ref===void 0||(Y[$]=C[$]);var $=arguments.length-2;if($===1)Y.children=b;else if(1<$){for(var rt=Array($),Dt=0;Dt<$;Dt++)rt[Dt]=arguments[Dt+2];Y.children=rt}return ft(y.type,W,Y)},bt.createContext=function(y){return y={$$typeof:d,_currentValue:y,_currentValue2:y,_threadCount:0,Provider:null,Consumer:null},y.Provider=y,y.Consumer={$$typeof:f,_context:y},y},bt.createElement=function(y,C,b){var Y,W={},$=null;if(C!=null)for(Y in C.key!==void 0&&($=""+C.key),C)ut.call(C,Y)&&Y!=="key"&&Y!=="__self"&&Y!=="__source"&&(W[Y]=C[Y]);var rt=arguments.length-2;if(rt===1)W.children=b;else if(1<rt){for(var Dt=Array(rt),Et=0;Et<rt;Et++)Dt[Et]=arguments[Et+2];W.children=Dt}if(y&&y.defaultProps)for(Y in rt=y.defaultProps,rt)W[Y]===void 0&&(W[Y]=rt[Y]);return ft(y,$,W)},bt.createRef=function(){return{current:null}},bt.forwardRef=function(y){return{$$typeof:m,render:y}},bt.isValidElement=nt,bt.lazy=function(y){return{$$typeof:x,_payload:{_status:-1,_result:y},_init:at}},bt.memo=function(y,C){return{$$typeof:p,type:y,compare:C===void 0?null:C}},bt.startTransition=function(y){var C=K.T,b={};K.T=b;try{var Y=y(),W=K.S;W!==null&&W(b,Y),typeof Y=="object"&&Y!==null&&typeof Y.then=="function"&&Y.then(N,ot)}catch($){ot($)}finally{C!==null&&b.types!==null&&(C.types=b.types),K.T=C}},bt.unstable_useCacheRefresh=function(){return K.H.useCacheRefresh()},bt.use=function(y){return K.H.use(y)},bt.useActionState=function(y,C,b){return K.H.useActionState(y,C,b)},bt.useCallback=function(y,C){return K.H.useCallback(y,C)},bt.useContext=function(y){return K.H.useContext(y)},bt.useDebugValue=function(){},bt.useDeferredValue=function(y,C){return K.H.useDeferredValue(y,C)},bt.useEffect=function(y,C){return K.H.useEffect(y,C)},bt.useEffectEvent=function(y){return K.H.useEffectEvent(y)},bt.useId=function(){return K.H.useId()},bt.useImperativeHandle=function(y,C,b){return K.H.useImperativeHandle(y,C,b)},bt.useInsertionEffect=function(y,C){return K.H.useInsertionEffect(y,C)},bt.useLayoutEffect=function(y,C){return K.H.useLayoutEffect(y,C)},bt.useMemo=function(y,C){return K.H.useMemo(y,C)},bt.useOptimistic=function(y,C){return K.H.useOptimistic(y,C)},bt.useReducer=function(y,C,b){return K.H.useReducer(y,C,b)},bt.useRef=function(y){return K.H.useRef(y)},bt.useState=function(y){return K.H.useState(y)},bt.useSyncExternalStore=function(y,C,b){return K.H.useSyncExternalStore(y,C,b)},bt.useTransition=function(){return K.H.useTransition()},bt.version="19.2.7",bt}var os;function $u(){return os||(os=1,Iu.exports=Xm()),Iu.exports}var vt=$u(),Wu={exports:{}},yi={},Pu={exports:{}},tr={};var ss;function Gm(){return ss||(ss=1,(function(i){function a(M,Z){var at=M.length;M.push(Z);t:for(;0<at;){var ot=at-1>>>1,T=M[ot];if(0<s(T,Z))M[ot]=Z,M[at]=T,at=ot;else break t}}function r(M){return M.length===0?null:M[0]}function c(M){if(M.length===0)return null;var Z=M[0],at=M.pop();if(at!==Z){M[0]=at;t:for(var ot=0,T=M.length,y=T>>>1;ot<y;){var C=2*(ot+1)-1,b=M[C],Y=C+1,W=M[Y];if(0>s(b,at))Y<T&&0>s(W,b)?(M[ot]=W,M[Y]=at,ot=Y):(M[ot]=b,M[C]=at,ot=C);else if(Y<T&&0>s(W,at))M[ot]=W,M[Y]=at,ot=Y;else break t}}return Z}function s(M,Z){var at=M.sortIndex-Z.sortIndex;return at!==0?at:M.id-Z.id}if(i.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var f=performance;i.unstable_now=function(){return f.now()}}else{var d=Date,m=d.now();i.unstable_now=function(){return d.now()-m}}var g=[],p=[],x=1,S=null,z=3,E=!1,Q=!1,G=!1,I=!1,H=typeof setTimeout=="function"?setTimeout:null,tt=typeof clearTimeout=="function"?clearTimeout:null,V=typeof setImmediate<"u"?setImmediate:null;function st(M){for(var Z=r(p);Z!==null;){if(Z.callback===null)c(p);else if(Z.startTime<=M)c(p),Z.sortIndex=Z.expirationTime,a(g,Z);else break;Z=r(p)}}function dt(M){if(G=!1,st(M),!Q)if(r(g)!==null)Q=!0,N||(N=!0,U());else{var Z=r(p);Z!==null&&J(dt,Z.startTime-M)}}var N=!1,K=-1,ut=5,ft=-1;function pt(){return I?!0:!(i.unstable_now()-ft<ut)}function nt(){if(I=!1,N){var M=i.unstable_now();ft=M;var Z=!0;try{t:{Q=!1,G&&(G=!1,tt(K),K=-1),E=!0;var at=z;try{e:{for(st(M),S=r(g);S!==null&&!(S.expirationTime>M&&pt());){var ot=S.callback;if(typeof ot=="function"){S.callback=null,z=S.priorityLevel;var T=ot(S.expirationTime<=M);if(M=i.unstable_now(),typeof T=="function"){S.callback=T,st(M),Z=!0;break e}S===r(g)&&c(g),st(M)}else c(g);S=r(g)}if(S!==null)Z=!0;else{var y=r(p);y!==null&&J(dt,y.startTime-M),Z=!1}}break t}finally{S=null,z=at,E=!1}Z=void 0}}finally{Z?U():N=!1}}}var U;if(typeof V=="function")U=function(){V(nt)};else if(typeof MessageChannel<"u"){var lt=new MessageChannel,et=lt.port2;lt.port1.onmessage=nt,U=function(){et.postMessage(null)}}else U=function(){H(nt,0)};function J(M,Z){K=H(function(){M(i.unstable_now())},Z)}i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function(M){M.callback=null},i.unstable_forceFrameRate=function(M){0>M||125<M?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ut=0<M?Math.floor(1e3/M):5},i.unstable_getCurrentPriorityLevel=function(){return z},i.unstable_next=function(M){switch(z){case 1:case 2:case 3:var Z=3;break;default:Z=z}var at=z;z=Z;try{return M()}finally{z=at}},i.unstable_requestPaint=function(){I=!0},i.unstable_runWithPriority=function(M,Z){switch(M){case 1:case 2:case 3:case 4:case 5:break;default:M=3}var at=z;z=M;try{return Z()}finally{z=at}},i.unstable_scheduleCallback=function(M,Z,at){var ot=i.unstable_now();switch(typeof at=="object"&&at!==null?(at=at.delay,at=typeof at=="number"&&0<at?ot+at:ot):at=ot,M){case 1:var T=-1;break;case 2:T=250;break;case 5:T=1073741823;break;case 4:T=1e4;break;default:T=5e3}return T=at+T,M={id:x++,callback:Z,priorityLevel:M,startTime:at,expirationTime:T,sortIndex:-1},at>ot?(M.sortIndex=at,a(p,M),r(g)===null&&M===r(p)&&(G?(tt(K),K=-1):G=!0,J(dt,at-ot))):(M.sortIndex=T,a(g,M),Q||E||(Q=!0,N||(N=!0,U()))),M},i.unstable_shouldYield=pt,i.unstable_wrapCallback=function(M){var Z=z;return function(){var at=z;z=Z;try{return M.apply(this,arguments)}finally{z=at}}}})(tr)),tr}var fs;function Qm(){return fs||(fs=1,Pu.exports=Gm()),Pu.exports}var er={exports:{}},de={};var hs;function Vm(){if(hs)return de;hs=1;var i=$u();function a(g){var p="https://react.dev/errors/"+g;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var x=2;x<arguments.length;x++)p+="&args[]="+encodeURIComponent(arguments[x])}return"Minified React error #"+g+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(){}var c={d:{f:r,r:function(){throw Error(a(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},s=Symbol.for("react.portal");function f(g,p,x){var S=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:s,key:S==null?null:""+S,children:g,containerInfo:p,implementation:x}}var d=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function m(g,p){if(g==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return de.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=c,de.createPortal=function(g,p){var x=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(a(299));return f(g,p,null,x)},de.flushSync=function(g){var p=d.T,x=c.p;try{if(d.T=null,c.p=2,g)return g()}finally{d.T=p,c.p=x,c.d.f()}},de.preconnect=function(g,p){typeof g=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,c.d.C(g,p))},de.prefetchDNS=function(g){typeof g=="string"&&c.d.D(g)},de.preinit=function(g,p){if(typeof g=="string"&&p&&typeof p.as=="string"){var x=p.as,S=m(x,p.crossOrigin),z=typeof p.integrity=="string"?p.integrity:void 0,E=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;x==="style"?c.d.S(g,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:S,integrity:z,fetchPriority:E}):x==="script"&&c.d.X(g,{crossOrigin:S,integrity:z,fetchPriority:E,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},de.preinitModule=function(g,p){if(typeof g=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var x=m(p.as,p.crossOrigin);c.d.M(g,{crossOrigin:x,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&c.d.M(g)},de.preload=function(g,p){if(typeof g=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var x=p.as,S=m(x,p.crossOrigin);c.d.L(g,x,{crossOrigin:S,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})}},de.preloadModule=function(g,p){if(typeof g=="string")if(p){var x=m(p.as,p.crossOrigin);c.d.m(g,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:x,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else c.d.m(g)},de.requestFormReset=function(g){c.d.r(g)},de.unstable_batchedUpdates=function(g,p){return g(p)},de.useFormState=function(g,p,x){return d.H.useFormState(g,p,x)},de.useFormStatus=function(){return d.H.useHostTransitionStatus()},de.version="19.2.7",de}var ds;function Zm(){if(ds)return er.exports;ds=1;function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(a){console.error(a)}}return i(),er.exports=Vm(),er.exports}var ps;function Km(){if(ps)return yi;ps=1;var i=Qm(),a=$u(),r=Zm();function c(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function f(t){var e=t,n=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(n=e.return),t=e.return;while(t)}return e.tag===3?n:null}function d(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function m(t){if(t.tag===31){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function g(t){if(f(t)!==t)throw Error(c(188))}function p(t){var e=t.alternate;if(!e){if(e=f(t),e===null)throw Error(c(188));return e!==t?null:t}for(var n=t,l=e;;){var u=n.return;if(u===null)break;var o=u.alternate;if(o===null){if(l=u.return,l!==null){n=l;continue}break}if(u.child===o.child){for(o=u.child;o;){if(o===n)return g(u),t;if(o===l)return g(u),e;o=o.sibling}throw Error(c(188))}if(n.return!==l.return)n=u,l=o;else{for(var h=!1,v=u.child;v;){if(v===n){h=!0,n=u,l=o;break}if(v===l){h=!0,l=u,n=o;break}v=v.sibling}if(!h){for(v=o.child;v;){if(v===n){h=!0,n=o,l=u;break}if(v===l){h=!0,l=o,n=u;break}v=v.sibling}if(!h)throw Error(c(189))}}if(n.alternate!==l)throw Error(c(190))}if(n.tag!==3)throw Error(c(188));return n.stateNode.current===n?t:e}function x(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=x(t),e!==null)return e;t=t.sibling}return null}var S=Object.assign,z=Symbol.for("react.element"),E=Symbol.for("react.transitional.element"),Q=Symbol.for("react.portal"),G=Symbol.for("react.fragment"),I=Symbol.for("react.strict_mode"),H=Symbol.for("react.profiler"),tt=Symbol.for("react.consumer"),V=Symbol.for("react.context"),st=Symbol.for("react.forward_ref"),dt=Symbol.for("react.suspense"),N=Symbol.for("react.suspense_list"),K=Symbol.for("react.memo"),ut=Symbol.for("react.lazy"),ft=Symbol.for("react.activity"),pt=Symbol.for("react.memo_cache_sentinel"),nt=Symbol.iterator;function U(t){return t===null||typeof t!="object"?null:(t=nt&&t[nt]||t["@@iterator"],typeof t=="function"?t:null)}var lt=Symbol.for("react.client.reference");function et(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===lt?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case G:return"Fragment";case H:return"Profiler";case I:return"StrictMode";case dt:return"Suspense";case N:return"SuspenseList";case ft:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case Q:return"Portal";case V:return t.displayName||"Context";case tt:return(t._context.displayName||"Context")+".Consumer";case st:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case K:return e=t.displayName||null,e!==null?e:et(t.type)||"Memo";case ut:e=t._payload,t=t._init;try{return et(t(e))}catch{}}return null}var J=Array.isArray,M=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Z=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,at={pending:!1,data:null,method:null,action:null},ot=[],T=-1;function y(t){return{current:t}}function C(t){0>T||(t.current=ot[T],ot[T]=null,T--)}function b(t,e){T++,ot[T]=t.current,t.current=e}var Y=y(null),W=y(null),$=y(null),rt=y(null);function Dt(t,e){switch(b($,e),b(W,t),b(Y,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?fm(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=fm(e),t=hm(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}C(Y),b(Y,t)}function Et(){C(Y),C(W),C($)}function Se(t){t.memoizedState!==null&&b(rt,t);var e=Y.current,n=hm(e,t.type);e!==n&&(b(W,t),b(Y,n))}function on(t){W.current===t&&(C(Y),C(W)),rt.current===t&&(C(rt),va._currentValue=at)}var Mi,wa;function sn(t){if(Mi===void 0)try{throw Error()}catch(n){var e=n.stack.trim().match(/\n( *(at )?)/);Mi=e&&e[1]||"",wa=-1<n.stack.indexOf(`
|
|
2
2
|
at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
3
|
-
`+Mi+t+
|
|
3
|
+
`+Mi+t+wa}var Ol=!1;function Ml(t,e){if(!t||Ol)return"";Ol=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(e){var X=function(){throw Error()};if(Object.defineProperty(X.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(X,[])}catch(k){var R=k}Reflect.construct(t,[],X)}else{try{X.call()}catch(k){R=k}t.call(X.prototype)}}else{try{throw Error()}catch(k){R=k}(X=t())&&typeof X.catch=="function"&&X.catch(function(){})}}catch(k){if(k&&R&&typeof k.stack=="string")return[k.stack,R.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var u=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");u&&u.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var o=l.DetermineComponentFrameRoot(),h=o[0],v=o[1];if(h&&v){var A=h.split(`
|
|
4
4
|
`),w=v.split(`
|
|
5
|
-
`);for(u=l=0;l<
|
|
6
|
-
`+
|
|
5
|
+
`);for(u=l=0;l<A.length&&!A[l].includes("DetermineComponentFrameRoot");)l++;for(;u<w.length&&!w[u].includes("DetermineComponentFrameRoot");)u++;if(l===A.length||u===w.length)for(l=A.length-1,u=w.length-1;1<=l&&0<=u&&A[l]!==w[u];)u--;for(;1<=l&&0<=u;l--,u--)if(A[l]!==w[u]){if(l!==1||u!==1)do if(l--,u--,0>u||A[l]!==w[u]){var j=`
|
|
6
|
+
`+A[l].replace(" at new "," at ");return t.displayName&&j.includes("<anonymous>")&&(j=j.replace("<anonymous>",t.displayName)),j}while(1<=l&&0<=u);break}}}finally{Ol=!1,Error.prepareStackTrace=n}return(n=t?t.displayName||t.name:"")?sn(n):""}function Ra(t,e){switch(t.tag){case 26:case 27:case 5:return sn(t.type);case 16:return sn("Lazy");case 13:return t.child!==e&&e!==null?sn("Suspense Fallback"):sn("Suspense");case 19:return sn("SuspenseList");case 0:case 15:return Ml(t.type,!1);case 11:return Ml(t.type.render,!1);case 1:return Ml(t.type,!0);case 31:return sn("Activity");default:return""}}function ka(t){try{var e="",n=null;do e+=Ra(t,n),n=t,t=t.return;while(t);return e}catch(l){return`
|
|
7
7
|
Error generating stack: `+l.message+`
|
|
8
|
-
`+l.stack}}var Dl=Object.prototype.hasOwnProperty,wl=i.unstable_scheduleCallback,Di=i.unstable_cancelCallback,Qr=i.unstable_shouldYield,Vr=i.unstable_requestPaint,me=i.unstable_now,Zr=i.unstable_getCurrentPriorityLevel,B=i.unstable_ImmediatePriority,W=i.unstable_UserBlockingPriority,pt=i.unstable_NormalPriority,zt=i.unstable_LowPriority,jt=i.unstable_IdlePriority,Re=i.log,fn=i.unstable_setDisableYieldValue,ye=null,ie=null;function Ee(t){if(typeof Re=="function"&&fn(t),ie&&typeof ie.setStrictMode=="function")try{ie.setStrictMode(ye,t)}catch{}}var Gt=Math.clz32?Math.clz32:Tv,Rn=Math.log,$e=Math.LN2;function Tv(t){return t>>>=0,t===0?32:31-(Rn(t)/$e|0)|0}var Nu=256,Uu=262144,ju=4194304;function ul(t){var e=t&42;if(e!==0)return e;switch(t&-t){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 t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function Bu(t,e,n){var l=t.pendingLanes;if(l===0)return 0;var u=0,o=t.suspendedLanes,h=t.pingedLanes;t=t.warmLanes;var v=l&134217727;return v!==0?(l=v&~o,l!==0?u=ul(l):(h&=v,h!==0?u=ul(h):n||(n=v&~t,n!==0&&(u=ul(n))))):(v=l&~o,v!==0?u=ul(v):h!==0?u=ul(h):n||(n=l&~t,n!==0&&(u=ul(n)))),u===0?0:e!==0&&e!==u&&(e&o)===0&&(o=u&-u,n=e&-e,o>=n||o===32&&(n&4194048)!==0)?e:u}function wi(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function zv(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+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 e+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 Vf(){var t=ju;return ju<<=1,(ju&62914560)===0&&(ju=4194304),t}function Kr(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function Ri(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function Av(t,e,n,l,u,o){var h=t.pendingLanes;t.pendingLanes=n,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=n,t.entangledLanes&=n,t.errorRecoveryDisabledLanes&=n,t.shellSuspendCounter=0;var v=t.entanglements,z=t.expirationTimes,w=t.hiddenUpdates;for(n=h&~n;0<n;){var U=31-Gt(n),q=1<<U;v[U]=0,z[U]=-1;var R=w[U];if(R!==null)for(w[U]=null,U=0;U<R.length;U++){var k=R[U];k!==null&&(k.lane&=-536870913)}n&=~q}l!==0&&Zf(t,l,0),o!==0&&u===0&&t.tag!==0&&(t.suspendedLanes|=o&~(h&~e))}function Zf(t,e,n){t.pendingLanes|=e,t.suspendedLanes&=~e;var l=31-Gt(e);t.entangledLanes|=e,t.entanglements[l]=t.entanglements[l]|1073741824|n&261930}function Kf(t,e){var n=t.entangledLanes|=e;for(t=t.entanglements;n;){var l=31-Gt(n),u=1<<l;u&e|t[l]&e&&(t[l]|=e),n&=~u}}function Jf(t,e){var n=e&-e;return n=(n&42)!==0?1:Jr(n),(n&(t.suspendedLanes|e))!==0?0:n}function Jr(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=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:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function Fr(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function Ff(){var t=G.p;return t!==0?t:(t=window.event,t===void 0?32:Nm(t.type))}function If(t,e){var n=G.p;try{return G.p=t,e()}finally{G.p=n}}var kn=Math.random().toString(36).slice(2),ce="__reactFiber$"+kn,Te="__reactProps$"+kn,Rl="__reactContainer$"+kn,Ir="__reactEvents$"+kn,_v="__reactListeners$"+kn,Cv="__reactHandles$"+kn,$f="__reactResources$"+kn,ki="__reactMarker$"+kn;function $r(t){delete t[ce],delete t[Te],delete t[Ir],delete t[_v],delete t[Cv]}function kl(t){var e=t[ce];if(e)return e;for(var n=t.parentNode;n;){if(e=n[Rl]||n[ce]){if(n=e.alternate,e.child!==null||n!==null&&n.child!==null)for(t=vm(t);t!==null;){if(n=t[ce])return n;t=vm(t)}return e}t=n,n=t.parentNode}return null}function Nl(t){if(t=t[ce]||t[Rl]){var e=t.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return t}return null}function Ni(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(c(33))}function Ul(t){var e=t[$f];return e||(e=t[$f]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function ae(t){t[ki]=!0}var Wf=new Set,Pf={};function al(t,e){jl(t,e),jl(t+"Capture",e)}function jl(t,e){for(Pf[t]=e,t=0;t<e.length;t++)Wf.add(e[t])}var Ov=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]*$"),th={},eh={};function Mv(t){return Dl.call(eh,t)?!0:Dl.call(th,t)?!1:Ov.test(t)?eh[t]=!0:(th[t]=!0,!1)}function Hu(t,e,n){if(Mv(e))if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var l=e.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+n)}}function Lu(t,e,n){if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,""+n)}}function hn(t,e,n,l){if(l===null)t.removeAttribute(n);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(n);return}t.setAttributeNS(e,n,""+l)}}function Ye(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function nh(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function Dv(t,e,n){var l=Object.getOwnPropertyDescriptor(t.constructor.prototype,e);if(!t.hasOwnProperty(e)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var u=l.get,o=l.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return u.call(this)},set:function(h){n=""+h,o.call(this,h)}}),Object.defineProperty(t,e,{enumerable:l.enumerable}),{getValue:function(){return n},setValue:function(h){n=""+h},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function Wr(t){if(!t._valueTracker){var e=nh(t)?"checked":"value";t._valueTracker=Dv(t,e,""+t[e])}}function lh(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),l="";return t&&(l=nh(t)?t.checked?"true":"false":t.value),t=l,t!==n?(e.setValue(t),!0):!1}function qu(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var wv=/[\n"\\]/g;function Xe(t){return t.replace(wv,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function Pr(t,e,n,l,u,o,h,v){t.name="",h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"?t.type=h:t.removeAttribute("type"),e!=null?h==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+Ye(e)):t.value!==""+Ye(e)&&(t.value=""+Ye(e)):h!=="submit"&&h!=="reset"||t.removeAttribute("value"),e!=null?tc(t,h,Ye(e)):n!=null?tc(t,h,Ye(n)):l!=null&&t.removeAttribute("value"),u==null&&o!=null&&(t.defaultChecked=!!o),u!=null&&(t.checked=u&&typeof u!="function"&&typeof u!="symbol"),v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"?t.name=""+Ye(v):t.removeAttribute("name")}function ih(t,e,n,l,u,o,h,v){if(o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"&&(t.type=o),e!=null||n!=null){if(!(o!=="submit"&&o!=="reset"||e!=null)){Wr(t);return}n=n!=null?""+Ye(n):"",e=e!=null?""+Ye(e):n,v||e===t.value||(t.value=e),t.defaultValue=e}l=l??u,l=typeof l!="function"&&typeof l!="symbol"&&!!l,t.checked=v?t.checked:!!l,t.defaultChecked=!!l,h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"&&(t.name=h),Wr(t)}function tc(t,e,n){e==="number"&&qu(t.ownerDocument)===t||t.defaultValue===""+n||(t.defaultValue=""+n)}function Bl(t,e,n,l){if(t=t.options,e){e={};for(var u=0;u<n.length;u++)e["$"+n[u]]=!0;for(n=0;n<t.length;n++)u=e.hasOwnProperty("$"+t[n].value),t[n].selected!==u&&(t[n].selected=u),u&&l&&(t[n].defaultSelected=!0)}else{for(n=""+Ye(n),e=null,u=0;u<t.length;u++){if(t[u].value===n){t[u].selected=!0,l&&(t[u].defaultSelected=!0);return}e!==null||t[u].disabled||(e=t[u])}e!==null&&(e.selected=!0)}}function uh(t,e,n){if(e!=null&&(e=""+Ye(e),e!==t.value&&(t.value=e),n==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=n!=null?""+Ye(n):""}function ah(t,e,n,l){if(e==null){if(l!=null){if(n!=null)throw Error(c(92));if(J(l)){if(1<l.length)throw Error(c(93));l=l[0]}n=l}n==null&&(n=""),e=n}n=Ye(e),t.defaultValue=n,l=t.textContent,l===n&&l!==""&&l!==null&&(t.value=l),Wr(t)}function Hl(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&n.nodeType===3){n.nodeValue=e;return}}t.textContent=e}var Rv=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 rh(t,e,n){var l=e.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?l?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":l?t.setProperty(e,n):typeof n!="number"||n===0||Rv.has(e)?e==="float"?t.cssFloat=n:t[e]=(""+n).trim():t[e]=n+"px"}function ch(t,e,n){if(e!=null&&typeof e!="object")throw Error(c(62));if(t=t.style,n!=null){for(var l in n)!n.hasOwnProperty(l)||e!=null&&e.hasOwnProperty(l)||(l.indexOf("--")===0?t.setProperty(l,""):l==="float"?t.cssFloat="":t[l]="");for(var u in e)l=e[u],e.hasOwnProperty(u)&&n[u]!==l&&rh(t,u,l)}else for(var o in e)e.hasOwnProperty(o)&&rh(t,o,e[o])}function ec(t){if(t.indexOf("-")===-1)return!1;switch(t){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 kv=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"]]),Nv=/^[\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 Yu(t){return Nv.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function dn(){}var nc=null;function lc(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Ll=null,ql=null;function oh(t){var e=Nl(t);if(e&&(t=e.stateNode)){var n=t[Te]||null;t:switch(t=e.stateNode,e.type){case"input":if(Pr(t,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),e=n.name,n.type==="radio"&&e!=null){for(n=t;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+Xe(""+e)+'"][type="radio"]'),e=0;e<n.length;e++){var l=n[e];if(l!==t&&l.form===t.form){var u=l[Te]||null;if(!u)throw Error(c(90));Pr(l,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name)}}for(e=0;e<n.length;e++)l=n[e],l.form===t.form&&lh(l)}break t;case"textarea":uh(t,n.value,n.defaultValue);break t;case"select":e=n.value,e!=null&&Bl(t,!!n.multiple,e,!1)}}}var ic=!1;function sh(t,e,n){if(ic)return t(e,n);ic=!0;try{var l=t(e);return l}finally{if(ic=!1,(Ll!==null||ql!==null)&&(Oa(),Ll&&(e=Ll,t=ql,ql=Ll=null,oh(e),t)))for(e=0;e<t.length;e++)oh(t[e])}}function Ui(t,e){var n=t.stateNode;if(n===null)return null;var l=n[Te]||null;if(l===null)return null;n=l[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(t=t.type,l=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!l;break t;default:t=!1}if(t)return null;if(n&&typeof n!="function")throw Error(c(231,e,typeof n));return n}var pn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),uc=!1;if(pn)try{var ji={};Object.defineProperty(ji,"passive",{get:function(){uc=!0}}),window.addEventListener("test",ji,ji),window.removeEventListener("test",ji,ji)}catch{uc=!1}var Nn=null,ac=null,Xu=null;function fh(){if(Xu)return Xu;var t,e=ac,n=e.length,l,u="value"in Nn?Nn.value:Nn.textContent,o=u.length;for(t=0;t<n&&e[t]===u[t];t++);var h=n-t;for(l=1;l<=h&&e[n-l]===u[o-l];l++);return Xu=u.slice(t,1<l?1-l:void 0)}function Gu(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function Qu(){return!0}function hh(){return!1}function ze(t){function e(n,l,u,o,h){this._reactName=n,this._targetInst=u,this.type=l,this.nativeEvent=o,this.target=h,this.currentTarget=null;for(var v in t)t.hasOwnProperty(v)&&(n=t[v],this[v]=n?n(o):o[v]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Qu:hh,this.isPropagationStopped=hh,this}return x(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Qu)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Qu)},persist:function(){},isPersistent:Qu}),e}var rl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Vu=ze(rl),Bi=x({},rl,{view:0,detail:0}),Uv=ze(Bi),rc,cc,Hi,Zu=x({},Bi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:sc,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==Hi&&(Hi&&t.type==="mousemove"?(rc=t.screenX-Hi.screenX,cc=t.screenY-Hi.screenY):cc=rc=0,Hi=t),rc)},movementY:function(t){return"movementY"in t?t.movementY:cc}}),dh=ze(Zu),jv=x({},Zu,{dataTransfer:0}),Bv=ze(jv),Hv=x({},Bi,{relatedTarget:0}),oc=ze(Hv),Lv=x({},rl,{animationName:0,elapsedTime:0,pseudoElement:0}),qv=ze(Lv),Yv=x({},rl,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),Xv=ze(Yv),Gv=x({},rl,{data:0}),ph=ze(Gv),Qv={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Vv={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"},Zv={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Kv(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=Zv[t])?!!e[t]:!1}function sc(){return Kv}var Jv=x({},Bi,{key:function(t){if(t.key){var e=Qv[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=Gu(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?Vv[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:sc,charCode:function(t){return t.type==="keypress"?Gu(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Gu(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),Fv=ze(Jv),Iv=x({},Zu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),mh=ze(Iv),$v=x({},Bi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:sc}),Wv=ze($v),Pv=x({},rl,{propertyName:0,elapsedTime:0,pseudoElement:0}),tb=ze(Pv),eb=x({},Zu,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),nb=ze(eb),lb=x({},rl,{newState:0,oldState:0}),ib=ze(lb),ub=[9,13,27,32],fc=pn&&"CompositionEvent"in window,Li=null;pn&&"documentMode"in document&&(Li=document.documentMode);var ab=pn&&"TextEvent"in window&&!Li,yh=pn&&(!fc||Li&&8<Li&&11>=Li),gh=" ",vh=!1;function bh(t,e){switch(t){case"keyup":return ub.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Sh(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Yl=!1;function rb(t,e){switch(t){case"compositionend":return Sh(e);case"keypress":return e.which!==32?null:(vh=!0,gh);case"textInput":return t=e.data,t===gh&&vh?null:t;default:return null}}function cb(t,e){if(Yl)return t==="compositionend"||!fc&&bh(t,e)?(t=fh(),Xu=ac=Nn=null,Yl=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return yh&&e.locale!=="ko"?null:e.data;default:return null}}var ob={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 xh(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!ob[t.type]:e==="textarea"}function Eh(t,e,n,l){Ll?ql?ql.push(l):ql=[l]:Ll=l,e=Ua(e,"onChange"),0<e.length&&(n=new Vu("onChange","change",null,n,l),t.push({event:n,listeners:e}))}var qi=null,Yi=null;function sb(t){im(t,0)}function Ku(t){var e=Ni(t);if(lh(e))return t}function Th(t,e){if(t==="change")return e}var zh=!1;if(pn){var hc;if(pn){var dc="oninput"in document;if(!dc){var Ah=document.createElement("div");Ah.setAttribute("oninput","return;"),dc=typeof Ah.oninput=="function"}hc=dc}else hc=!1;zh=hc&&(!document.documentMode||9<document.documentMode)}function _h(){qi&&(qi.detachEvent("onpropertychange",Ch),Yi=qi=null)}function Ch(t){if(t.propertyName==="value"&&Ku(Yi)){var e=[];Eh(e,Yi,t,lc(t)),sh(sb,e)}}function fb(t,e,n){t==="focusin"?(_h(),qi=e,Yi=n,qi.attachEvent("onpropertychange",Ch)):t==="focusout"&&_h()}function hb(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Ku(Yi)}function db(t,e){if(t==="click")return Ku(e)}function pb(t,e){if(t==="input"||t==="change")return Ku(e)}function mb(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var ke=typeof Object.is=="function"?Object.is:mb;function Xi(t,e){if(ke(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var n=Object.keys(t),l=Object.keys(e);if(n.length!==l.length)return!1;for(l=0;l<n.length;l++){var u=n[l];if(!Dl.call(e,u)||!ke(t[u],e[u]))return!1}return!0}function Oh(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Mh(t,e){var n=Oh(t);t=0;for(var l;n;){if(n.nodeType===3){if(l=t+n.textContent.length,t<=e&&l>=e)return{node:n,offset:e-t};t=l}t:{for(;n;){if(n.nextSibling){n=n.nextSibling;break t}n=n.parentNode}n=void 0}n=Oh(n)}}function Dh(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?Dh(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function wh(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=qu(t.document);e instanceof t.HTMLIFrameElement;){try{var n=typeof e.contentWindow.location.href=="string"}catch{n=!1}if(n)t=e.contentWindow;else break;e=qu(t.document)}return e}function pc(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var yb=pn&&"documentMode"in document&&11>=document.documentMode,Xl=null,mc=null,Gi=null,yc=!1;function Rh(t,e,n){var l=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;yc||Xl==null||Xl!==qu(l)||(l=Xl,"selectionStart"in l&&pc(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),Gi&&Xi(Gi,l)||(Gi=l,l=Ua(mc,"onSelect"),0<l.length&&(e=new Vu("onSelect","select",null,e,n),t.push({event:e,listeners:l}),e.target=Xl)))}function cl(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n}var Gl={animationend:cl("Animation","AnimationEnd"),animationiteration:cl("Animation","AnimationIteration"),animationstart:cl("Animation","AnimationStart"),transitionrun:cl("Transition","TransitionRun"),transitionstart:cl("Transition","TransitionStart"),transitioncancel:cl("Transition","TransitionCancel"),transitionend:cl("Transition","TransitionEnd")},gc={},kh={};pn&&(kh=document.createElement("div").style,"AnimationEvent"in window||(delete Gl.animationend.animation,delete Gl.animationiteration.animation,delete Gl.animationstart.animation),"TransitionEvent"in window||delete Gl.transitionend.transition);function ol(t){if(gc[t])return gc[t];if(!Gl[t])return t;var e=Gl[t],n;for(n in e)if(e.hasOwnProperty(n)&&n in kh)return gc[t]=e[n];return t}var Nh=ol("animationend"),Uh=ol("animationiteration"),jh=ol("animationstart"),gb=ol("transitionrun"),vb=ol("transitionstart"),bb=ol("transitioncancel"),Bh=ol("transitionend"),Hh=new Map,vc="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(" ");vc.push("scrollEnd");function We(t,e){Hh.set(t,e),al(e,[t])}var Ju=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},Ge=[],Ql=0,bc=0;function Fu(){for(var t=Ql,e=bc=Ql=0;e<t;){var n=Ge[e];Ge[e++]=null;var l=Ge[e];Ge[e++]=null;var u=Ge[e];Ge[e++]=null;var o=Ge[e];if(Ge[e++]=null,l!==null&&u!==null){var h=l.pending;h===null?u.next=u:(u.next=h.next,h.next=u),l.pending=u}o!==0&&Lh(n,u,o)}}function Iu(t,e,n,l){Ge[Ql++]=t,Ge[Ql++]=e,Ge[Ql++]=n,Ge[Ql++]=l,bc|=l,t.lanes|=l,t=t.alternate,t!==null&&(t.lanes|=l)}function Sc(t,e,n,l){return Iu(t,e,n,l),$u(t)}function sl(t,e){return Iu(t,null,null,e),$u(t)}function Lh(t,e,n){t.lanes|=n;var l=t.alternate;l!==null&&(l.lanes|=n);for(var u=!1,o=t.return;o!==null;)o.childLanes|=n,l=o.alternate,l!==null&&(l.childLanes|=n),o.tag===22&&(t=o.stateNode,t===null||t._visibility&1||(u=!0)),t=o,o=o.return;return t.tag===3?(o=t.stateNode,u&&e!==null&&(u=31-Gt(n),t=o.hiddenUpdates,l=t[u],l===null?t[u]=[e]:l.push(e),e.lane=n|536870912),o):null}function $u(t){if(50<fu)throw fu=0,Do=null,Error(c(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var Vl={};function Sb(t,e,n,l){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ne(t,e,n,l){return new Sb(t,e,n,l)}function xc(t){return t=t.prototype,!(!t||!t.isReactComponent)}function mn(t,e){var n=t.alternate;return n===null?(n=Ne(t.tag,e,t.key,t.mode),n.elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=e,n.type=t.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=t.flags&65011712,n.childLanes=t.childLanes,n.lanes=t.lanes,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n.refCleanup=t.refCleanup,n}function qh(t,e){t.flags&=65011714;var n=t.alternate;return n===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=n.childLanes,t.lanes=n.lanes,t.child=n.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=n.memoizedProps,t.memoizedState=n.memoizedState,t.updateQueue=n.updateQueue,t.type=n.type,e=n.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t}function Wu(t,e,n,l,u,o){var h=0;if(l=t,typeof t=="function")xc(t)&&(h=1);else if(typeof t=="string")h=AS(t,n,L.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case ct:return t=Ne(31,n,e,u),t.elementType=ct,t.lanes=o,t;case V:return fl(n.children,u,o,e);case I:h=8,u|=24;break;case j:return t=Ne(12,n,e,u|2),t.elementType=j,t.lanes=o,t;case ht:return t=Ne(13,n,e,u),t.elementType=ht,t.lanes=o,t;case N:return t=Ne(19,n,e,u),t.elementType=N,t.lanes=o,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case K:h=10;break t;case nt:h=9;break t;case lt:h=11;break t;case Y:h=14;break t;case st:h=16,l=null;break t}h=29,n=Error(c(130,t===null?"null":typeof t,"")),l=null}return e=Ne(h,n,e,u),e.elementType=t,e.type=l,e.lanes=o,e}function fl(t,e,n,l){return t=Ne(7,t,l,e),t.lanes=n,t}function Ec(t,e,n){return t=Ne(6,t,null,e),t.lanes=n,t}function Yh(t){var e=Ne(18,null,null,0);return e.stateNode=t,e}function Tc(t,e,n){return e=Ne(4,t.children!==null?t.children:[],t.key,e),e.lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var Xh=new WeakMap;function Qe(t,e){if(typeof t=="object"&&t!==null){var n=Xh.get(t);return n!==void 0?n:(e={value:t,source:e,stack:ku(e)},Xh.set(t,e),e)}return{value:t,source:e,stack:ku(e)}}var Zl=[],Kl=0,Pu=null,Qi=0,Ve=[],Ze=0,Un=null,un=1,an="";function yn(t,e){Zl[Kl++]=Qi,Zl[Kl++]=Pu,Pu=t,Qi=e}function Gh(t,e,n){Ve[Ze++]=un,Ve[Ze++]=an,Ve[Ze++]=Un,Un=t;var l=un;t=an;var u=32-Gt(l)-1;l&=~(1<<u),n+=1;var o=32-Gt(e)+u;if(30<o){var h=u-u%5;o=(l&(1<<h)-1).toString(32),l>>=h,u-=h,un=1<<32-Gt(e)+u|n<<u|l,an=o+t}else un=1<<o|n<<u|l,an=t}function zc(t){t.return!==null&&(yn(t,1),Gh(t,1,0))}function Ac(t){for(;t===Pu;)Pu=Zl[--Kl],Zl[Kl]=null,Qi=Zl[--Kl],Zl[Kl]=null;for(;t===Un;)Un=Ve[--Ze],Ve[Ze]=null,an=Ve[--Ze],Ve[Ze]=null,un=Ve[--Ze],Ve[Ze]=null}function Qh(t,e){Ve[Ze++]=un,Ve[Ze++]=an,Ve[Ze++]=Un,un=e.id,an=e.overflow,Un=t}var oe=null,Zt=null,Dt=!1,jn=null,Ke=!1,_c=Error(c(519));function Bn(t){var e=Error(c(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Vi(Qe(e,t)),_c}function Vh(t){var e=t.stateNode,n=t.type,l=t.memoizedProps;switch(e[ce]=t,e[Te]=l,n){case"dialog":_t("cancel",e),_t("close",e);break;case"iframe":case"object":case"embed":_t("load",e);break;case"video":case"audio":for(n=0;n<du.length;n++)_t(du[n],e);break;case"source":_t("error",e);break;case"img":case"image":case"link":_t("error",e),_t("load",e);break;case"details":_t("toggle",e);break;case"input":_t("invalid",e),ih(e,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0);break;case"select":_t("invalid",e);break;case"textarea":_t("invalid",e),ah(e,l.value,l.defaultValue,l.children)}n=l.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||e.textContent===""+n||l.suppressHydrationWarning===!0||cm(e.textContent,n)?(l.popover!=null&&(_t("beforetoggle",e),_t("toggle",e)),l.onScroll!=null&&_t("scroll",e),l.onScrollEnd!=null&&_t("scrollend",e),l.onClick!=null&&(e.onclick=dn),e=!0):e=!1,e||Bn(t,!0)}function Zh(t){for(oe=t.return;oe;)switch(oe.tag){case 5:case 31:case 13:Ke=!1;return;case 27:case 3:Ke=!0;return;default:oe=oe.return}}function Jl(t){if(t!==oe)return!1;if(!Dt)return Zh(t),Dt=!0,!1;var e=t.tag,n;if((n=e!==3&&e!==27)&&((n=e===5)&&(n=t.type,n=!(n!=="form"&&n!=="button")||Vo(t.type,t.memoizedProps)),n=!n),n&&Zt&&Bn(t),Zh(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(c(317));Zt=gm(t)}else if(e===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(c(317));Zt=gm(t)}else e===27?(e=Zt,$n(t.type)?(t=Io,Io=null,Zt=t):Zt=e):Zt=oe?Fe(t.stateNode.nextSibling):null;return!0}function hl(){Zt=oe=null,Dt=!1}function Cc(){var t=jn;return t!==null&&(Oe===null?Oe=t:Oe.push.apply(Oe,t),jn=null),t}function Vi(t){jn===null?jn=[t]:jn.push(t)}var Oc=y(null),dl=null,gn=null;function Hn(t,e,n){S(Oc,e._currentValue),e._currentValue=n}function vn(t){t._currentValue=Oc.current,_(Oc)}function Mc(t,e,n){for(;t!==null;){var l=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,l!==null&&(l.childLanes|=e)):l!==null&&(l.childLanes&e)!==e&&(l.childLanes|=e),t===n)break;t=t.return}}function Dc(t,e,n,l){var u=t.child;for(u!==null&&(u.return=t);u!==null;){var o=u.dependencies;if(o!==null){var h=u.child;o=o.firstContext;t:for(;o!==null;){var v=o;o=u;for(var z=0;z<e.length;z++)if(v.context===e[z]){o.lanes|=n,v=o.alternate,v!==null&&(v.lanes|=n),Mc(o.return,n,t),l||(h=null);break t}o=v.next}}else if(u.tag===18){if(h=u.return,h===null)throw Error(c(341));h.lanes|=n,o=h.alternate,o!==null&&(o.lanes|=n),Mc(h,n,t),h=null}else h=u.child;if(h!==null)h.return=u;else for(h=u;h!==null;){if(h===t){h=null;break}if(u=h.sibling,u!==null){u.return=h.return,h=u;break}h=h.return}u=h}}function Fl(t,e,n,l){t=null;for(var u=e,o=!1;u!==null;){if(!o){if((u.flags&524288)!==0)o=!0;else if((u.flags&262144)!==0)break}if(u.tag===10){var h=u.alternate;if(h===null)throw Error(c(387));if(h=h.memoizedProps,h!==null){var v=u.type;ke(u.pendingProps.value,h.value)||(t!==null?t.push(v):t=[v])}}else if(u===at.current){if(h=u.alternate,h===null)throw Error(c(387));h.memoizedState.memoizedState!==u.memoizedState.memoizedState&&(t!==null?t.push(vu):t=[vu])}u=u.return}t!==null&&Dc(e,t,n,l),e.flags|=262144}function ta(t){for(t=t.firstContext;t!==null;){if(!ke(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function pl(t){dl=t,gn=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function se(t){return Kh(dl,t)}function ea(t,e){return dl===null&&pl(t),Kh(t,e)}function Kh(t,e){var n=e._currentValue;if(e={context:e,memoizedValue:n,next:null},gn===null){if(t===null)throw Error(c(308));gn=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else gn=gn.next=e;return n}var xb=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(n,l){t.push(l)}};this.abort=function(){e.aborted=!0,t.forEach(function(n){return n()})}},Eb=i.unstable_scheduleCallback,Tb=i.unstable_NormalPriority,te={$$typeof:K,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function wc(){return{controller:new xb,data:new Map,refCount:0}}function Zi(t){t.refCount--,t.refCount===0&&Eb(Tb,function(){t.controller.abort()})}var Ki=null,Rc=0,Il=0,$l=null;function zb(t,e){if(Ki===null){var n=Ki=[];Rc=0,Il=jo(),$l={status:"pending",value:void 0,then:function(l){n.push(l)}}}return Rc++,e.then(Jh,Jh),e}function Jh(){if(--Rc===0&&Ki!==null){$l!==null&&($l.status="fulfilled");var t=Ki;Ki=null,Il=0,$l=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function Ab(t,e){var n=[],l={status:"pending",value:null,reason:null,then:function(u){n.push(u)}};return t.then(function(){l.status="fulfilled",l.value=e;for(var u=0;u<n.length;u++)(0,n[u])(e)},function(u){for(l.status="rejected",l.reason=u,u=0;u<n.length;u++)(0,n[u])(void 0)}),l}var Fh=D.S;D.S=function(t,e){Rp=me(),typeof e=="object"&&e!==null&&typeof e.then=="function"&&zb(t,e),Fh!==null&&Fh(t,e)};var ml=y(null);function kc(){var t=ml.current;return t!==null?t:Qt.pooledCache}function na(t,e){e===null?S(ml,ml.current):S(ml,e.pool)}function Ih(){var t=kc();return t===null?null:{parent:te._currentValue,pool:t}}var Wl=Error(c(460)),Nc=Error(c(474)),la=Error(c(542)),ia={then:function(){}};function $h(t){return t=t.status,t==="fulfilled"||t==="rejected"}function Wh(t,e,n){switch(n=t[n],n===void 0?t.push(e):n!==e&&(e.then(dn,dn),e=n),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,td(t),t;default:if(typeof e.status=="string")e.then(dn,dn);else{if(t=Qt,t!==null&&100<t.shellSuspendCounter)throw Error(c(482));t=e,t.status="pending",t.then(function(l){if(e.status==="pending"){var u=e;u.status="fulfilled",u.value=l}},function(l){if(e.status==="pending"){var u=e;u.status="rejected",u.reason=l}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,td(t),t}throw gl=e,Wl}}function yl(t){try{var e=t._init;return e(t._payload)}catch(n){throw n!==null&&typeof n=="object"&&typeof n.then=="function"?(gl=n,Wl):n}}var gl=null;function Ph(){if(gl===null)throw Error(c(459));var t=gl;return gl=null,t}function td(t){if(t===Wl||t===la)throw Error(c(483))}var Pl=null,Ji=0;function ua(t){var e=Ji;return Ji+=1,Pl===null&&(Pl=[]),Wh(Pl,t,e)}function Fi(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function aa(t,e){throw e.$$typeof===A?Error(c(525)):(t=Object.prototype.toString.call(e),Error(c(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function ed(t){function e(O,C){if(t){var M=O.deletions;M===null?(O.deletions=[C],O.flags|=16):M.push(C)}}function n(O,C){if(!t)return null;for(;C!==null;)e(O,C),C=C.sibling;return null}function l(O){for(var C=new Map;O!==null;)O.key!==null?C.set(O.key,O):C.set(O.index,O),O=O.sibling;return C}function u(O,C){return O=mn(O,C),O.index=0,O.sibling=null,O}function o(O,C,M){return O.index=M,t?(M=O.alternate,M!==null?(M=M.index,M<C?(O.flags|=67108866,C):M):(O.flags|=67108866,C)):(O.flags|=1048576,C)}function h(O){return t&&O.alternate===null&&(O.flags|=67108866),O}function v(O,C,M,H){return C===null||C.tag!==6?(C=Ec(M,O.mode,H),C.return=O,C):(C=u(C,M),C.return=O,C)}function z(O,C,M,H){var ot=M.type;return ot===V?U(O,C,M.props.children,H,M.key):C!==null&&(C.elementType===ot||typeof ot=="object"&&ot!==null&&ot.$$typeof===st&&yl(ot)===C.type)?(C=u(C,M.props),Fi(C,M),C.return=O,C):(C=Wu(M.type,M.key,M.props,null,O.mode,H),Fi(C,M),C.return=O,C)}function w(O,C,M,H){return C===null||C.tag!==4||C.stateNode.containerInfo!==M.containerInfo||C.stateNode.implementation!==M.implementation?(C=Tc(M,O.mode,H),C.return=O,C):(C=u(C,M.children||[]),C.return=O,C)}function U(O,C,M,H,ot){return C===null||C.tag!==7?(C=fl(M,O.mode,H,ot),C.return=O,C):(C=u(C,M),C.return=O,C)}function q(O,C,M){if(typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint")return C=Ec(""+C,O.mode,M),C.return=O,C;if(typeof C=="object"&&C!==null){switch(C.$$typeof){case E:return M=Wu(C.type,C.key,C.props,null,O.mode,M),Fi(M,C),M.return=O,M;case X:return C=Tc(C,O.mode,M),C.return=O,C;case st:return C=yl(C),q(O,C,M)}if(J(C)||P(C))return C=fl(C,O.mode,M,null),C.return=O,C;if(typeof C.then=="function")return q(O,ua(C),M);if(C.$$typeof===K)return q(O,ea(O,C),M);aa(O,C)}return null}function R(O,C,M,H){var ot=C!==null?C.key:null;if(typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint")return ot!==null?null:v(O,C,""+M,H);if(typeof M=="object"&&M!==null){switch(M.$$typeof){case E:return M.key===ot?z(O,C,M,H):null;case X:return M.key===ot?w(O,C,M,H):null;case st:return M=yl(M),R(O,C,M,H)}if(J(M)||P(M))return ot!==null?null:U(O,C,M,H,null);if(typeof M.then=="function")return R(O,C,ua(M),H);if(M.$$typeof===K)return R(O,C,ea(O,M),H);aa(O,M)}return null}function k(O,C,M,H,ot){if(typeof H=="string"&&H!==""||typeof H=="number"||typeof H=="bigint")return O=O.get(M)||null,v(C,O,""+H,ot);if(typeof H=="object"&&H!==null){switch(H.$$typeof){case E:return O=O.get(H.key===null?M:H.key)||null,z(C,O,H,ot);case X:return O=O.get(H.key===null?M:H.key)||null,w(C,O,H,ot);case st:return H=yl(H),k(O,C,M,H,ot)}if(J(H)||P(H))return O=O.get(M)||null,U(C,O,H,ot,null);if(typeof H.then=="function")return k(O,C,M,ua(H),ot);if(H.$$typeof===K)return k(O,C,M,ea(C,H),ot);aa(C,H)}return null}function it(O,C,M,H){for(var ot=null,wt=null,rt=C,Tt=C=0,Ot=null;rt!==null&&Tt<M.length;Tt++){rt.index>Tt?(Ot=rt,rt=null):Ot=rt.sibling;var Rt=R(O,rt,M[Tt],H);if(Rt===null){rt===null&&(rt=Ot);break}t&&rt&&Rt.alternate===null&&e(O,rt),C=o(Rt,C,Tt),wt===null?ot=Rt:wt.sibling=Rt,wt=Rt,rt=Ot}if(Tt===M.length)return n(O,rt),Dt&&yn(O,Tt),ot;if(rt===null){for(;Tt<M.length;Tt++)rt=q(O,M[Tt],H),rt!==null&&(C=o(rt,C,Tt),wt===null?ot=rt:wt.sibling=rt,wt=rt);return Dt&&yn(O,Tt),ot}for(rt=l(rt);Tt<M.length;Tt++)Ot=k(rt,O,Tt,M[Tt],H),Ot!==null&&(t&&Ot.alternate!==null&&rt.delete(Ot.key===null?Tt:Ot.key),C=o(Ot,C,Tt),wt===null?ot=Ot:wt.sibling=Ot,wt=Ot);return t&&rt.forEach(function(nl){return e(O,nl)}),Dt&&yn(O,Tt),ot}function ft(O,C,M,H){if(M==null)throw Error(c(151));for(var ot=null,wt=null,rt=C,Tt=C=0,Ot=null,Rt=M.next();rt!==null&&!Rt.done;Tt++,Rt=M.next()){rt.index>Tt?(Ot=rt,rt=null):Ot=rt.sibling;var nl=R(O,rt,Rt.value,H);if(nl===null){rt===null&&(rt=Ot);break}t&&rt&&nl.alternate===null&&e(O,rt),C=o(nl,C,Tt),wt===null?ot=nl:wt.sibling=nl,wt=nl,rt=Ot}if(Rt.done)return n(O,rt),Dt&&yn(O,Tt),ot;if(rt===null){for(;!Rt.done;Tt++,Rt=M.next())Rt=q(O,Rt.value,H),Rt!==null&&(C=o(Rt,C,Tt),wt===null?ot=Rt:wt.sibling=Rt,wt=Rt);return Dt&&yn(O,Tt),ot}for(rt=l(rt);!Rt.done;Tt++,Rt=M.next())Rt=k(rt,O,Tt,Rt.value,H),Rt!==null&&(t&&Rt.alternate!==null&&rt.delete(Rt.key===null?Tt:Rt.key),C=o(Rt,C,Tt),wt===null?ot=Rt:wt.sibling=Rt,wt=Rt);return t&&rt.forEach(function(jS){return e(O,jS)}),Dt&&yn(O,Tt),ot}function Yt(O,C,M,H){if(typeof M=="object"&&M!==null&&M.type===V&&M.key===null&&(M=M.props.children),typeof M=="object"&&M!==null){switch(M.$$typeof){case E:t:{for(var ot=M.key;C!==null;){if(C.key===ot){if(ot=M.type,ot===V){if(C.tag===7){n(O,C.sibling),H=u(C,M.props.children),H.return=O,O=H;break t}}else if(C.elementType===ot||typeof ot=="object"&&ot!==null&&ot.$$typeof===st&&yl(ot)===C.type){n(O,C.sibling),H=u(C,M.props),Fi(H,M),H.return=O,O=H;break t}n(O,C);break}else e(O,C);C=C.sibling}M.type===V?(H=fl(M.props.children,O.mode,H,M.key),H.return=O,O=H):(H=Wu(M.type,M.key,M.props,null,O.mode,H),Fi(H,M),H.return=O,O=H)}return h(O);case X:t:{for(ot=M.key;C!==null;){if(C.key===ot)if(C.tag===4&&C.stateNode.containerInfo===M.containerInfo&&C.stateNode.implementation===M.implementation){n(O,C.sibling),H=u(C,M.children||[]),H.return=O,O=H;break t}else{n(O,C);break}else e(O,C);C=C.sibling}H=Tc(M,O.mode,H),H.return=O,O=H}return h(O);case st:return M=yl(M),Yt(O,C,M,H)}if(J(M))return it(O,C,M,H);if(P(M)){if(ot=P(M),typeof ot!="function")throw Error(c(150));return M=ot.call(M),ft(O,C,M,H)}if(typeof M.then=="function")return Yt(O,C,ua(M),H);if(M.$$typeof===K)return Yt(O,C,ea(O,M),H);aa(O,M)}return typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint"?(M=""+M,C!==null&&C.tag===6?(n(O,C.sibling),H=u(C,M),H.return=O,O=H):(n(O,C),H=Ec(M,O.mode,H),H.return=O,O=H),h(O)):n(O,C)}return function(O,C,M,H){try{Ji=0;var ot=Yt(O,C,M,H);return Pl=null,ot}catch(rt){if(rt===Wl||rt===la)throw rt;var wt=Ne(29,rt,null,O.mode);return wt.lanes=H,wt.return=O,wt}}}var vl=ed(!0),nd=ed(!1),Ln=!1;function Uc(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function jc(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function qn(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function Yn(t,e,n){var l=t.updateQueue;if(l===null)return null;if(l=l.shared,(Nt&2)!==0){var u=l.pending;return u===null?e.next=e:(e.next=u.next,u.next=e),l.pending=e,e=$u(t),Lh(t,null,n),e}return Iu(t,l,e,n),$u(t)}function Ii(t,e,n){if(e=e.updateQueue,e!==null&&(e=e.shared,(n&4194048)!==0)){var l=e.lanes;l&=t.pendingLanes,n|=l,e.lanes=n,Kf(t,n)}}function Bc(t,e){var n=t.updateQueue,l=t.alternate;if(l!==null&&(l=l.updateQueue,n===l)){var u=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var h={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};o===null?u=o=h:o=o.next=h,n=n.next}while(n!==null);o===null?u=o=e:o=o.next=e}else u=o=e;n={baseState:l.baseState,firstBaseUpdate:u,lastBaseUpdate:o,shared:l.shared,callbacks:l.callbacks},t.updateQueue=n;return}t=n.lastBaseUpdate,t===null?n.firstBaseUpdate=e:t.next=e,n.lastBaseUpdate=e}var Hc=!1;function $i(){if(Hc){var t=$l;if(t!==null)throw t}}function Wi(t,e,n,l){Hc=!1;var u=t.updateQueue;Ln=!1;var o=u.firstBaseUpdate,h=u.lastBaseUpdate,v=u.shared.pending;if(v!==null){u.shared.pending=null;var z=v,w=z.next;z.next=null,h===null?o=w:h.next=w,h=z;var U=t.alternate;U!==null&&(U=U.updateQueue,v=U.lastBaseUpdate,v!==h&&(v===null?U.firstBaseUpdate=w:v.next=w,U.lastBaseUpdate=z))}if(o!==null){var q=u.baseState;h=0,U=w=z=null,v=o;do{var R=v.lane&-536870913,k=R!==v.lane;if(k?(Ct&R)===R:(l&R)===R){R!==0&&R===Il&&(Hc=!0),U!==null&&(U=U.next={lane:0,tag:v.tag,payload:v.payload,callback:null,next:null});t:{var it=t,ft=v;R=e;var Yt=n;switch(ft.tag){case 1:if(it=ft.payload,typeof it=="function"){q=it.call(Yt,q,R);break t}q=it;break t;case 3:it.flags=it.flags&-65537|128;case 0:if(it=ft.payload,R=typeof it=="function"?it.call(Yt,q,R):it,R==null)break t;q=x({},q,R);break t;case 2:Ln=!0}}R=v.callback,R!==null&&(t.flags|=64,k&&(t.flags|=8192),k=u.callbacks,k===null?u.callbacks=[R]:k.push(R))}else k={lane:R,tag:v.tag,payload:v.payload,callback:v.callback,next:null},U===null?(w=U=k,z=q):U=U.next=k,h|=R;if(v=v.next,v===null){if(v=u.shared.pending,v===null)break;k=v,v=k.next,k.next=null,u.lastBaseUpdate=k,u.shared.pending=null}}while(!0);U===null&&(z=q),u.baseState=z,u.firstBaseUpdate=w,u.lastBaseUpdate=U,o===null&&(u.shared.lanes=0),Zn|=h,t.lanes=h,t.memoizedState=q}}function ld(t,e){if(typeof t!="function")throw Error(c(191,t));t.call(e)}function id(t,e){var n=t.callbacks;if(n!==null)for(t.callbacks=null,t=0;t<n.length;t++)ld(n[t],e)}var ti=y(null),ra=y(0);function ud(t,e){t=Cn,S(ra,t),S(ti,e),Cn=t|e.baseLanes}function Lc(){S(ra,Cn),S(ti,ti.current)}function qc(){Cn=ra.current,_(ti),_(ra)}var Ue=y(null),Je=null;function Xn(t){var e=t.alternate;S($t,$t.current&1),S(Ue,t),Je===null&&(e===null||ti.current!==null||e.memoizedState!==null)&&(Je=t)}function Yc(t){S($t,$t.current),S(Ue,t),Je===null&&(Je=t)}function ad(t){t.tag===22?(S($t,$t.current),S(Ue,t),Je===null&&(Je=t)):Gn()}function Gn(){S($t,$t.current),S(Ue,Ue.current)}function je(t){_(Ue),Je===t&&(Je=null),_($t)}var $t=y(0);function ca(t){for(var e=t;e!==null;){if(e.tag===13){var n=e.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||Jo(n)||Fo(n)))return e}else if(e.tag===19&&(e.memoizedProps.revealOrder==="forwards"||e.memoizedProps.revealOrder==="backwards"||e.memoizedProps.revealOrder==="unstable_legacy-backwards"||e.memoizedProps.revealOrder==="together")){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var bn=0,St=null,Lt=null,ee=null,oa=!1,ei=!1,bl=!1,sa=0,Pi=0,ni=null,_b=0;function Ft(){throw Error(c(321))}function Xc(t,e){if(e===null)return!1;for(var n=0;n<e.length&&n<t.length;n++)if(!ke(t[n],e[n]))return!1;return!0}function Gc(t,e,n,l,u,o){return bn=o,St=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,D.H=t===null||t.memoizedState===null?Gd:io,bl=!1,o=n(l,u),bl=!1,ei&&(o=cd(e,n,l,u)),rd(t),o}function rd(t){D.H=nu;var e=Lt!==null&&Lt.next!==null;if(bn=0,ee=Lt=St=null,oa=!1,Pi=0,ni=null,e)throw Error(c(300));t===null||ne||(t=t.dependencies,t!==null&&ta(t)&&(ne=!0))}function cd(t,e,n,l){St=t;var u=0;do{if(ei&&(ni=null),Pi=0,ei=!1,25<=u)throw Error(c(301));if(u+=1,ee=Lt=null,t.updateQueue!=null){var o=t.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}D.H=Qd,o=e(n,l)}while(ei);return o}function Cb(){var t=D.H,e=t.useState()[0];return e=typeof e.then=="function"?tu(e):e,t=t.useState()[0],(Lt!==null?Lt.memoizedState:null)!==t&&(St.flags|=1024),e}function Qc(){var t=sa!==0;return sa=0,t}function Vc(t,e,n){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~n}function Zc(t){if(oa){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}oa=!1}bn=0,ee=Lt=St=null,ei=!1,Pi=sa=0,ni=null}function ge(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ee===null?St.memoizedState=ee=t:ee=ee.next=t,ee}function Wt(){if(Lt===null){var t=St.alternate;t=t!==null?t.memoizedState:null}else t=Lt.next;var e=ee===null?St.memoizedState:ee.next;if(e!==null)ee=e,Lt=t;else{if(t===null)throw St.alternate===null?Error(c(467)):Error(c(310));Lt=t,t={memoizedState:Lt.memoizedState,baseState:Lt.baseState,baseQueue:Lt.baseQueue,queue:Lt.queue,next:null},ee===null?St.memoizedState=ee=t:ee=ee.next=t}return ee}function fa(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function tu(t){var e=Pi;return Pi+=1,ni===null&&(ni=[]),t=Wh(ni,t,e),e=St,(ee===null?e.memoizedState:ee.next)===null&&(e=e.alternate,D.H=e===null||e.memoizedState===null?Gd:io),t}function ha(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return tu(t);if(t.$$typeof===K)return se(t)}throw Error(c(438,String(t)))}function Kc(t){var e=null,n=St.updateQueue;if(n!==null&&(e=n.memoCache),e==null){var l=St.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(e={data:l.data.map(function(u){return u.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),n===null&&(n=fa(),St.updateQueue=n),n.memoCache=e,n=e.data[e.index],n===void 0)for(n=e.data[e.index]=Array(t),l=0;l<t;l++)n[l]=dt;return e.index++,n}function Sn(t,e){return typeof e=="function"?e(t):e}function da(t){var e=Wt();return Jc(e,Lt,t)}function Jc(t,e,n){var l=t.queue;if(l===null)throw Error(c(311));l.lastRenderedReducer=n;var u=t.baseQueue,o=l.pending;if(o!==null){if(u!==null){var h=u.next;u.next=o.next,o.next=h}e.baseQueue=u=o,l.pending=null}if(o=t.baseState,u===null)t.memoizedState=o;else{e=u.next;var v=h=null,z=null,w=e,U=!1;do{var q=w.lane&-536870913;if(q!==w.lane?(Ct&q)===q:(bn&q)===q){var R=w.revertLane;if(R===0)z!==null&&(z=z.next={lane:0,revertLane:0,gesture:null,action:w.action,hasEagerState:w.hasEagerState,eagerState:w.eagerState,next:null}),q===Il&&(U=!0);else if((bn&R)===R){w=w.next,R===Il&&(U=!0);continue}else q={lane:0,revertLane:w.revertLane,gesture:null,action:w.action,hasEagerState:w.hasEagerState,eagerState:w.eagerState,next:null},z===null?(v=z=q,h=o):z=z.next=q,St.lanes|=R,Zn|=R;q=w.action,bl&&n(o,q),o=w.hasEagerState?w.eagerState:n(o,q)}else R={lane:q,revertLane:w.revertLane,gesture:w.gesture,action:w.action,hasEagerState:w.hasEagerState,eagerState:w.eagerState,next:null},z===null?(v=z=R,h=o):z=z.next=R,St.lanes|=q,Zn|=q;w=w.next}while(w!==null&&w!==e);if(z===null?h=o:z.next=v,!ke(o,t.memoizedState)&&(ne=!0,U&&(n=$l,n!==null)))throw n;t.memoizedState=o,t.baseState=h,t.baseQueue=z,l.lastRenderedState=o}return u===null&&(l.lanes=0),[t.memoizedState,l.dispatch]}function Fc(t){var e=Wt(),n=e.queue;if(n===null)throw Error(c(311));n.lastRenderedReducer=t;var l=n.dispatch,u=n.pending,o=e.memoizedState;if(u!==null){n.pending=null;var h=u=u.next;do o=t(o,h.action),h=h.next;while(h!==u);ke(o,e.memoizedState)||(ne=!0),e.memoizedState=o,e.baseQueue===null&&(e.baseState=o),n.lastRenderedState=o}return[o,l]}function od(t,e,n){var l=St,u=Wt(),o=Dt;if(o){if(n===void 0)throw Error(c(407));n=n()}else n=e();var h=!ke((Lt||u).memoizedState,n);if(h&&(u.memoizedState=n,ne=!0),u=u.queue,Wc(hd.bind(null,l,u,t),[t]),u.getSnapshot!==e||h||ee!==null&&ee.memoizedState.tag&1){if(l.flags|=2048,li(9,{destroy:void 0},fd.bind(null,l,u,n,e),null),Qt===null)throw Error(c(349));o||(bn&127)!==0||sd(l,e,n)}return n}function sd(t,e,n){t.flags|=16384,t={getSnapshot:e,value:n},e=St.updateQueue,e===null?(e=fa(),St.updateQueue=e,e.stores=[t]):(n=e.stores,n===null?e.stores=[t]:n.push(t))}function fd(t,e,n,l){e.value=n,e.getSnapshot=l,dd(e)&&pd(t)}function hd(t,e,n){return n(function(){dd(e)&&pd(t)})}function dd(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!ke(t,n)}catch{return!0}}function pd(t){var e=sl(t,2);e!==null&&Me(e,t,2)}function Ic(t){var e=ge();if(typeof t=="function"){var n=t;if(t=n(),bl){Ee(!0);try{n()}finally{Ee(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Sn,lastRenderedState:t},e}function md(t,e,n,l){return t.baseState=n,Jc(t,Lt,typeof l=="function"?l:Sn)}function Ob(t,e,n,l,u){if(ya(t))throw Error(c(485));if(t=e.action,t!==null){var o={payload:u,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(h){o.listeners.push(h)}};D.T!==null?n(!0):o.isTransition=!1,l(o),n=e.pending,n===null?(o.next=e.pending=o,yd(e,o)):(o.next=n.next,e.pending=n.next=o)}}function yd(t,e){var n=e.action,l=e.payload,u=t.state;if(e.isTransition){var o=D.T,h={};D.T=h;try{var v=n(u,l),z=D.S;z!==null&&z(h,v),gd(t,e,v)}catch(w){$c(t,e,w)}finally{o!==null&&h.types!==null&&(o.types=h.types),D.T=o}}else try{o=n(u,l),gd(t,e,o)}catch(w){$c(t,e,w)}}function gd(t,e,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(l){vd(t,e,l)},function(l){return $c(t,e,l)}):vd(t,e,n)}function vd(t,e,n){e.status="fulfilled",e.value=n,bd(e),t.state=n,e=t.pending,e!==null&&(n=e.next,n===e?t.pending=null:(n=n.next,e.next=n,yd(t,n)))}function $c(t,e,n){var l=t.pending;if(t.pending=null,l!==null){l=l.next;do e.status="rejected",e.reason=n,bd(e),e=e.next;while(e!==l)}t.action=null}function bd(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function Sd(t,e){return e}function xd(t,e){if(Dt){var n=Qt.formState;if(n!==null){t:{var l=St;if(Dt){if(Zt){e:{for(var u=Zt,o=Ke;u.nodeType!==8;){if(!o){u=null;break e}if(u=Fe(u.nextSibling),u===null){u=null;break e}}o=u.data,u=o==="F!"||o==="F"?u:null}if(u){Zt=Fe(u.nextSibling),l=u.data==="F!";break t}}Bn(l)}l=!1}l&&(e=n[0])}}return n=ge(),n.memoizedState=n.baseState=e,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Sd,lastRenderedState:e},n.queue=l,n=qd.bind(null,St,l),l.dispatch=n,l=Ic(!1),o=lo.bind(null,St,!1,l.queue),l=ge(),u={state:e,dispatch:null,action:t,pending:null},l.queue=u,n=Ob.bind(null,St,u,o,n),u.dispatch=n,l.memoizedState=t,[e,n,!1]}function Ed(t){var e=Wt();return Td(e,Lt,t)}function Td(t,e,n){if(e=Jc(t,e,Sd)[0],t=da(Sn)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var l=tu(e)}catch(h){throw h===Wl?la:h}else l=e;e=Wt();var u=e.queue,o=u.dispatch;return n!==e.memoizedState&&(St.flags|=2048,li(9,{destroy:void 0},Mb.bind(null,u,n),null)),[l,o,t]}function Mb(t,e){t.action=e}function zd(t){var e=Wt(),n=Lt;if(n!==null)return Td(e,n,t);Wt(),e=e.memoizedState,n=Wt();var l=n.queue.dispatch;return n.memoizedState=t,[e,l,!1]}function li(t,e,n,l){return t={tag:t,create:n,deps:l,inst:e,next:null},e=St.updateQueue,e===null&&(e=fa(),St.updateQueue=e),n=e.lastEffect,n===null?e.lastEffect=t.next=t:(l=n.next,n.next=t,t.next=l,e.lastEffect=t),t}function Ad(){return Wt().memoizedState}function pa(t,e,n,l){var u=ge();St.flags|=t,u.memoizedState=li(1|e,{destroy:void 0},n,l===void 0?null:l)}function ma(t,e,n,l){var u=Wt();l=l===void 0?null:l;var o=u.memoizedState.inst;Lt!==null&&l!==null&&Xc(l,Lt.memoizedState.deps)?u.memoizedState=li(e,o,n,l):(St.flags|=t,u.memoizedState=li(1|e,o,n,l))}function _d(t,e){pa(8390656,8,t,e)}function Wc(t,e){ma(2048,8,t,e)}function Db(t){St.flags|=4;var e=St.updateQueue;if(e===null)e=fa(),St.updateQueue=e,e.events=[t];else{var n=e.events;n===null?e.events=[t]:n.push(t)}}function Cd(t){var e=Wt().memoizedState;return Db({ref:e,nextImpl:t}),function(){if((Nt&2)!==0)throw Error(c(440));return e.impl.apply(void 0,arguments)}}function Od(t,e){return ma(4,2,t,e)}function Md(t,e){return ma(4,4,t,e)}function Dd(t,e){if(typeof e=="function"){t=t();var n=e(t);return function(){typeof n=="function"?n():e(null)}}if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function wd(t,e,n){n=n!=null?n.concat([t]):null,ma(4,4,Dd.bind(null,e,t),n)}function Pc(){}function Rd(t,e){var n=Wt();e=e===void 0?null:e;var l=n.memoizedState;return e!==null&&Xc(e,l[1])?l[0]:(n.memoizedState=[t,e],t)}function kd(t,e){var n=Wt();e=e===void 0?null:e;var l=n.memoizedState;if(e!==null&&Xc(e,l[1]))return l[0];if(l=t(),bl){Ee(!0);try{t()}finally{Ee(!1)}}return n.memoizedState=[l,e],l}function to(t,e,n){return n===void 0||(bn&1073741824)!==0&&(Ct&261930)===0?t.memoizedState=e:(t.memoizedState=n,t=Np(),St.lanes|=t,Zn|=t,n)}function Nd(t,e,n,l){return ke(n,e)?n:ti.current!==null?(t=to(t,n,l),ke(t,e)||(ne=!0),t):(bn&42)===0||(bn&1073741824)!==0&&(Ct&261930)===0?(ne=!0,t.memoizedState=n):(t=Np(),St.lanes|=t,Zn|=t,e)}function Ud(t,e,n,l,u){var o=G.p;G.p=o!==0&&8>o?o:8;var h=D.T,v={};D.T=v,lo(t,!1,e,n);try{var z=u(),w=D.S;if(w!==null&&w(v,z),z!==null&&typeof z=="object"&&typeof z.then=="function"){var U=Ab(z,l);eu(t,e,U,Le(t))}else eu(t,e,l,Le(t))}catch(q){eu(t,e,{then:function(){},status:"rejected",reason:q},Le())}finally{G.p=o,h!==null&&v.types!==null&&(h.types=v.types),D.T=h}}function wb(){}function eo(t,e,n,l){if(t.tag!==5)throw Error(c(476));var u=jd(t).queue;Ud(t,u,e,ut,n===null?wb:function(){return Bd(t),n(l)})}function jd(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:ut,baseState:ut,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Sn,lastRenderedState:ut},next:null};var n={};return e.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Sn,lastRenderedState:n},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function Bd(t){var e=jd(t);e.next===null&&(e=t.alternate.memoizedState),eu(t,e.next.queue,{},Le())}function no(){return se(vu)}function Hd(){return Wt().memoizedState}function Ld(){return Wt().memoizedState}function Rb(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var n=Le();t=qn(n);var l=Yn(e,t,n);l!==null&&(Me(l,e,n),Ii(l,e,n)),e={cache:wc()},t.payload=e;return}e=e.return}}function kb(t,e,n){var l=Le();n={lane:l,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},ya(t)?Yd(e,n):(n=Sc(t,e,n,l),n!==null&&(Me(n,t,l),Xd(n,e,l)))}function qd(t,e,n){var l=Le();eu(t,e,n,l)}function eu(t,e,n,l){var u={lane:l,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(ya(t))Yd(e,u);else{var o=t.alternate;if(t.lanes===0&&(o===null||o.lanes===0)&&(o=e.lastRenderedReducer,o!==null))try{var h=e.lastRenderedState,v=o(h,n);if(u.hasEagerState=!0,u.eagerState=v,ke(v,h))return Iu(t,e,u,0),Qt===null&&Fu(),!1}catch{}if(n=Sc(t,e,u,l),n!==null)return Me(n,t,l),Xd(n,e,l),!0}return!1}function lo(t,e,n,l){if(l={lane:2,revertLane:jo(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},ya(t)){if(e)throw Error(c(479))}else e=Sc(t,n,l,2),e!==null&&Me(e,t,2)}function ya(t){var e=t.alternate;return t===St||e!==null&&e===St}function Yd(t,e){ei=oa=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function Xd(t,e,n){if((n&4194048)!==0){var l=e.lanes;l&=t.pendingLanes,n|=l,e.lanes=n,Kf(t,n)}}var nu={readContext:se,use:ha,useCallback:Ft,useContext:Ft,useEffect:Ft,useImperativeHandle:Ft,useLayoutEffect:Ft,useInsertionEffect:Ft,useMemo:Ft,useReducer:Ft,useRef:Ft,useState:Ft,useDebugValue:Ft,useDeferredValue:Ft,useTransition:Ft,useSyncExternalStore:Ft,useId:Ft,useHostTransitionStatus:Ft,useFormState:Ft,useActionState:Ft,useOptimistic:Ft,useMemoCache:Ft,useCacheRefresh:Ft};nu.useEffectEvent=Ft;var Gd={readContext:se,use:ha,useCallback:function(t,e){return ge().memoizedState=[t,e===void 0?null:e],t},useContext:se,useEffect:_d,useImperativeHandle:function(t,e,n){n=n!=null?n.concat([t]):null,pa(4194308,4,Dd.bind(null,e,t),n)},useLayoutEffect:function(t,e){return pa(4194308,4,t,e)},useInsertionEffect:function(t,e){pa(4,2,t,e)},useMemo:function(t,e){var n=ge();e=e===void 0?null:e;var l=t();if(bl){Ee(!0);try{t()}finally{Ee(!1)}}return n.memoizedState=[l,e],l},useReducer:function(t,e,n){var l=ge();if(n!==void 0){var u=n(e);if(bl){Ee(!0);try{n(e)}finally{Ee(!1)}}}else u=e;return l.memoizedState=l.baseState=u,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:u},l.queue=t,t=t.dispatch=kb.bind(null,St,t),[l.memoizedState,t]},useRef:function(t){var e=ge();return t={current:t},e.memoizedState=t},useState:function(t){t=Ic(t);var e=t.queue,n=qd.bind(null,St,e);return e.dispatch=n,[t.memoizedState,n]},useDebugValue:Pc,useDeferredValue:function(t,e){var n=ge();return to(n,t,e)},useTransition:function(){var t=Ic(!1);return t=Ud.bind(null,St,t.queue,!0,!1),ge().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,n){var l=St,u=ge();if(Dt){if(n===void 0)throw Error(c(407));n=n()}else{if(n=e(),Qt===null)throw Error(c(349));(Ct&127)!==0||sd(l,e,n)}u.memoizedState=n;var o={value:n,getSnapshot:e};return u.queue=o,_d(hd.bind(null,l,o,t),[t]),l.flags|=2048,li(9,{destroy:void 0},fd.bind(null,l,o,n,e),null),n},useId:function(){var t=ge(),e=Qt.identifierPrefix;if(Dt){var n=an,l=un;n=(l&~(1<<32-Gt(l)-1)).toString(32)+n,e="_"+e+"R_"+n,n=sa++,0<n&&(e+="H"+n.toString(32)),e+="_"}else n=_b++,e="_"+e+"r_"+n.toString(32)+"_";return t.memoizedState=e},useHostTransitionStatus:no,useFormState:xd,useActionState:xd,useOptimistic:function(t){var e=ge();e.memoizedState=e.baseState=t;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=n,e=lo.bind(null,St,!0,n),n.dispatch=e,[t,e]},useMemoCache:Kc,useCacheRefresh:function(){return ge().memoizedState=Rb.bind(null,St)},useEffectEvent:function(t){var e=ge(),n={impl:t};return e.memoizedState=n,function(){if((Nt&2)!==0)throw Error(c(440));return n.impl.apply(void 0,arguments)}}},io={readContext:se,use:ha,useCallback:Rd,useContext:se,useEffect:Wc,useImperativeHandle:wd,useInsertionEffect:Od,useLayoutEffect:Md,useMemo:kd,useReducer:da,useRef:Ad,useState:function(){return da(Sn)},useDebugValue:Pc,useDeferredValue:function(t,e){var n=Wt();return Nd(n,Lt.memoizedState,t,e)},useTransition:function(){var t=da(Sn)[0],e=Wt().memoizedState;return[typeof t=="boolean"?t:tu(t),e]},useSyncExternalStore:od,useId:Hd,useHostTransitionStatus:no,useFormState:Ed,useActionState:Ed,useOptimistic:function(t,e){var n=Wt();return md(n,Lt,t,e)},useMemoCache:Kc,useCacheRefresh:Ld};io.useEffectEvent=Cd;var Qd={readContext:se,use:ha,useCallback:Rd,useContext:se,useEffect:Wc,useImperativeHandle:wd,useInsertionEffect:Od,useLayoutEffect:Md,useMemo:kd,useReducer:Fc,useRef:Ad,useState:function(){return Fc(Sn)},useDebugValue:Pc,useDeferredValue:function(t,e){var n=Wt();return Lt===null?to(n,t,e):Nd(n,Lt.memoizedState,t,e)},useTransition:function(){var t=Fc(Sn)[0],e=Wt().memoizedState;return[typeof t=="boolean"?t:tu(t),e]},useSyncExternalStore:od,useId:Hd,useHostTransitionStatus:no,useFormState:zd,useActionState:zd,useOptimistic:function(t,e){var n=Wt();return Lt!==null?md(n,Lt,t,e):(n.baseState=t,[t,n.queue.dispatch])},useMemoCache:Kc,useCacheRefresh:Ld};Qd.useEffectEvent=Cd;function uo(t,e,n,l){e=t.memoizedState,n=n(l,e),n=n==null?e:x({},e,n),t.memoizedState=n,t.lanes===0&&(t.updateQueue.baseState=n)}var ao={enqueueSetState:function(t,e,n){t=t._reactInternals;var l=Le(),u=qn(l);u.payload=e,n!=null&&(u.callback=n),e=Yn(t,u,l),e!==null&&(Me(e,t,l),Ii(e,t,l))},enqueueReplaceState:function(t,e,n){t=t._reactInternals;var l=Le(),u=qn(l);u.tag=1,u.payload=e,n!=null&&(u.callback=n),e=Yn(t,u,l),e!==null&&(Me(e,t,l),Ii(e,t,l))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var n=Le(),l=qn(n);l.tag=2,e!=null&&(l.callback=e),e=Yn(t,l,n),e!==null&&(Me(e,t,n),Ii(e,t,n))}};function Vd(t,e,n,l,u,o,h){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(l,o,h):e.prototype&&e.prototype.isPureReactComponent?!Xi(n,l)||!Xi(u,o):!0}function Zd(t,e,n,l){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(n,l),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(n,l),e.state!==t&&ao.enqueueReplaceState(e,e.state,null)}function Sl(t,e){var n=e;if("ref"in e){n={};for(var l in e)l!=="ref"&&(n[l]=e[l])}if(t=t.defaultProps){n===e&&(n=x({},n));for(var u in t)n[u]===void 0&&(n[u]=t[u])}return n}function Kd(t){Ju(t)}function Jd(t){console.error(t)}function Fd(t){Ju(t)}function ga(t,e){try{var n=t.onUncaughtError;n(e.value,{componentStack:e.stack})}catch(l){setTimeout(function(){throw l})}}function Id(t,e,n){try{var l=t.onCaughtError;l(n.value,{componentStack:n.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(u){setTimeout(function(){throw u})}}function ro(t,e,n){return n=qn(n),n.tag=3,n.payload={element:null},n.callback=function(){ga(t,e)},n}function $d(t){return t=qn(t),t.tag=3,t}function Wd(t,e,n,l){var u=n.type.getDerivedStateFromError;if(typeof u=="function"){var o=l.value;t.payload=function(){return u(o)},t.callback=function(){Id(e,n,l)}}var h=n.stateNode;h!==null&&typeof h.componentDidCatch=="function"&&(t.callback=function(){Id(e,n,l),typeof u!="function"&&(Kn===null?Kn=new Set([this]):Kn.add(this));var v=l.stack;this.componentDidCatch(l.value,{componentStack:v!==null?v:""})})}function Nb(t,e,n,l,u){if(n.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(e=n.alternate,e!==null&&Fl(e,n,u,!0),n=Ue.current,n!==null){switch(n.tag){case 31:case 13:return Je===null?Ma():n.alternate===null&&It===0&&(It=3),n.flags&=-257,n.flags|=65536,n.lanes=u,l===ia?n.flags|=16384:(e=n.updateQueue,e===null?n.updateQueue=new Set([l]):e.add(l),ko(t,l,u)),!1;case 22:return n.flags|=65536,l===ia?n.flags|=16384:(e=n.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([l])},n.updateQueue=e):(n=e.retryQueue,n===null?e.retryQueue=new Set([l]):n.add(l)),ko(t,l,u)),!1}throw Error(c(435,n.tag))}return ko(t,l,u),Ma(),!1}if(Dt)return e=Ue.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=u,l!==_c&&(t=Error(c(422),{cause:l}),Vi(Qe(t,n)))):(l!==_c&&(e=Error(c(423),{cause:l}),Vi(Qe(e,n))),t=t.current.alternate,t.flags|=65536,u&=-u,t.lanes|=u,l=Qe(l,n),u=ro(t.stateNode,l,u),Bc(t,u),It!==4&&(It=2)),!1;var o=Error(c(520),{cause:l});if(o=Qe(o,n),su===null?su=[o]:su.push(o),It!==4&&(It=2),e===null)return!0;l=Qe(l,n),n=e;do{switch(n.tag){case 3:return n.flags|=65536,t=u&-u,n.lanes|=t,t=ro(n.stateNode,l,t),Bc(n,t),!1;case 1:if(e=n.type,o=n.stateNode,(n.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||o!==null&&typeof o.componentDidCatch=="function"&&(Kn===null||!Kn.has(o))))return n.flags|=65536,u&=-u,n.lanes|=u,u=$d(u),Wd(u,t,n,l),Bc(n,u),!1}n=n.return}while(n!==null);return!1}var co=Error(c(461)),ne=!1;function fe(t,e,n,l){e.child=t===null?nd(e,null,n,l):vl(e,t.child,n,l)}function Pd(t,e,n,l,u){n=n.render;var o=e.ref;if("ref"in l){var h={};for(var v in l)v!=="ref"&&(h[v]=l[v])}else h=l;return pl(e),l=Gc(t,e,n,h,o,u),v=Qc(),t!==null&&!ne?(Vc(t,e,u),xn(t,e,u)):(Dt&&v&&zc(e),e.flags|=1,fe(t,e,l,u),e.child)}function tp(t,e,n,l,u){if(t===null){var o=n.type;return typeof o=="function"&&!xc(o)&&o.defaultProps===void 0&&n.compare===null?(e.tag=15,e.type=o,ep(t,e,o,l,u)):(t=Wu(n.type,null,l,e,e.mode,u),t.ref=e.ref,t.return=e,e.child=t)}if(o=t.child,!go(t,u)){var h=o.memoizedProps;if(n=n.compare,n=n!==null?n:Xi,n(h,l)&&t.ref===e.ref)return xn(t,e,u)}return e.flags|=1,t=mn(o,l),t.ref=e.ref,t.return=e,e.child=t}function ep(t,e,n,l,u){if(t!==null){var o=t.memoizedProps;if(Xi(o,l)&&t.ref===e.ref)if(ne=!1,e.pendingProps=l=o,go(t,u))(t.flags&131072)!==0&&(ne=!0);else return e.lanes=t.lanes,xn(t,e,u)}return oo(t,e,n,l,u)}function np(t,e,n,l){var u=l.children,o=t!==null?t.memoizedState:null;if(t===null&&e.stateNode===null&&(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.mode==="hidden"){if((e.flags&128)!==0){if(o=o!==null?o.baseLanes|n:n,t!==null){for(l=e.child=t.child,u=0;l!==null;)u=u|l.lanes|l.childLanes,l=l.sibling;l=u&~o}else l=0,e.child=null;return lp(t,e,o,n,l)}if((n&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&na(e,o!==null?o.cachePool:null),o!==null?ud(e,o):Lc(),ad(e);else return l=e.lanes=536870912,lp(t,e,o!==null?o.baseLanes|n:n,n,l)}else o!==null?(na(e,o.cachePool),ud(e,o),Gn(),e.memoizedState=null):(t!==null&&na(e,null),Lc(),Gn());return fe(t,e,u,n),e.child}function lu(t,e){return t!==null&&t.tag===22||e.stateNode!==null||(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function lp(t,e,n,l,u){var o=kc();return o=o===null?null:{parent:te._currentValue,pool:o},e.memoizedState={baseLanes:n,cachePool:o},t!==null&&na(e,null),Lc(),ad(e),t!==null&&Fl(t,e,l,!0),e.childLanes=u,null}function va(t,e){return e=Sa({mode:e.mode,children:e.children},t.mode),e.ref=t.ref,t.child=e,e.return=t,e}function ip(t,e,n){return vl(e,t.child,null,n),t=va(e,e.pendingProps),t.flags|=2,je(e),e.memoizedState=null,t}function Ub(t,e,n){var l=e.pendingProps,u=(e.flags&128)!==0;if(e.flags&=-129,t===null){if(Dt){if(l.mode==="hidden")return t=va(e,l),e.lanes=536870912,lu(null,t);if(Yc(e),(t=Zt)?(t=ym(t,Ke),t=t!==null&&t.data==="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:Un!==null?{id:un,overflow:an}:null,retryLane:536870912,hydrationErrors:null},n=Yh(t),n.return=e,e.child=n,oe=e,Zt=null)):t=null,t===null)throw Bn(e);return e.lanes=536870912,null}return va(e,l)}var o=t.memoizedState;if(o!==null){var h=o.dehydrated;if(Yc(e),u)if(e.flags&256)e.flags&=-257,e=ip(t,e,n);else if(e.memoizedState!==null)e.child=t.child,e.flags|=128,e=null;else throw Error(c(558));else if(ne||Fl(t,e,n,!1),u=(n&t.childLanes)!==0,ne||u){if(l=Qt,l!==null&&(h=Jf(l,n),h!==0&&h!==o.retryLane))throw o.retryLane=h,sl(t,h),Me(l,t,h),co;Ma(),e=ip(t,e,n)}else t=o.treeContext,Zt=Fe(h.nextSibling),oe=e,Dt=!0,jn=null,Ke=!1,t!==null&&Qh(e,t),e=va(e,l),e.flags|=4096;return e}return t=mn(t.child,{mode:l.mode,children:l.children}),t.ref=e.ref,e.child=t,t.return=e,t}function ba(t,e){var n=e.ref;if(n===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error(c(284));(t===null||t.ref!==n)&&(e.flags|=4194816)}}function oo(t,e,n,l,u){return pl(e),n=Gc(t,e,n,l,void 0,u),l=Qc(),t!==null&&!ne?(Vc(t,e,u),xn(t,e,u)):(Dt&&l&&zc(e),e.flags|=1,fe(t,e,n,u),e.child)}function up(t,e,n,l,u,o){return pl(e),e.updateQueue=null,n=cd(e,l,n,u),rd(t),l=Qc(),t!==null&&!ne?(Vc(t,e,o),xn(t,e,o)):(Dt&&l&&zc(e),e.flags|=1,fe(t,e,n,o),e.child)}function ap(t,e,n,l,u){if(pl(e),e.stateNode===null){var o=Vl,h=n.contextType;typeof h=="object"&&h!==null&&(o=se(h)),o=new n(l,o),e.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,o.updater=ao,e.stateNode=o,o._reactInternals=e,o=e.stateNode,o.props=l,o.state=e.memoizedState,o.refs={},Uc(e),h=n.contextType,o.context=typeof h=="object"&&h!==null?se(h):Vl,o.state=e.memoizedState,h=n.getDerivedStateFromProps,typeof h=="function"&&(uo(e,n,h,l),o.state=e.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(h=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),h!==o.state&&ao.enqueueReplaceState(o,o.state,null),Wi(e,l,o,u),$i(),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308),l=!0}else if(t===null){o=e.stateNode;var v=e.memoizedProps,z=Sl(n,v);o.props=z;var w=o.context,U=n.contextType;h=Vl,typeof U=="object"&&U!==null&&(h=se(U));var q=n.getDerivedStateFromProps;U=typeof q=="function"||typeof o.getSnapshotBeforeUpdate=="function",v=e.pendingProps!==v,U||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(v||w!==h)&&Zd(e,o,l,h),Ln=!1;var R=e.memoizedState;o.state=R,Wi(e,l,o,u),$i(),w=e.memoizedState,v||R!==w||Ln?(typeof q=="function"&&(uo(e,n,q,l),w=e.memoizedState),(z=Ln||Vd(e,n,z,l,R,w,h))?(U||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(e.flags|=4194308)):(typeof o.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=l,e.memoizedState=w),o.props=l,o.state=w,o.context=h,l=z):(typeof o.componentDidMount=="function"&&(e.flags|=4194308),l=!1)}else{o=e.stateNode,jc(t,e),h=e.memoizedProps,U=Sl(n,h),o.props=U,q=e.pendingProps,R=o.context,w=n.contextType,z=Vl,typeof w=="object"&&w!==null&&(z=se(w)),v=n.getDerivedStateFromProps,(w=typeof v=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(h!==q||R!==z)&&Zd(e,o,l,z),Ln=!1,R=e.memoizedState,o.state=R,Wi(e,l,o,u),$i();var k=e.memoizedState;h!==q||R!==k||Ln||t!==null&&t.dependencies!==null&&ta(t.dependencies)?(typeof v=="function"&&(uo(e,n,v,l),k=e.memoizedState),(U=Ln||Vd(e,n,U,l,R,k,z)||t!==null&&t.dependencies!==null&&ta(t.dependencies))?(w||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(l,k,z),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(l,k,z)),typeof o.componentDidUpdate=="function"&&(e.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof o.componentDidUpdate!="function"||h===t.memoizedProps&&R===t.memoizedState||(e.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||h===t.memoizedProps&&R===t.memoizedState||(e.flags|=1024),e.memoizedProps=l,e.memoizedState=k),o.props=l,o.state=k,o.context=z,l=U):(typeof o.componentDidUpdate!="function"||h===t.memoizedProps&&R===t.memoizedState||(e.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||h===t.memoizedProps&&R===t.memoizedState||(e.flags|=1024),l=!1)}return o=l,ba(t,e),l=(e.flags&128)!==0,o||l?(o=e.stateNode,n=l&&typeof n.getDerivedStateFromError!="function"?null:o.render(),e.flags|=1,t!==null&&l?(e.child=vl(e,t.child,null,u),e.child=vl(e,null,n,u)):fe(t,e,n,u),e.memoizedState=o.state,t=e.child):t=xn(t,e,u),t}function rp(t,e,n,l){return hl(),e.flags|=256,fe(t,e,n,l),e.child}var so={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function fo(t){return{baseLanes:t,cachePool:Ih()}}function ho(t,e,n){return t=t!==null?t.childLanes&~n:0,e&&(t|=He),t}function cp(t,e,n){var l=e.pendingProps,u=!1,o=(e.flags&128)!==0,h;if((h=o)||(h=t!==null&&t.memoizedState===null?!1:($t.current&2)!==0),h&&(u=!0,e.flags&=-129),h=(e.flags&32)!==0,e.flags&=-33,t===null){if(Dt){if(u?Xn(e):Gn(),(t=Zt)?(t=ym(t,Ke),t=t!==null&&t.data!=="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:Un!==null?{id:un,overflow:an}:null,retryLane:536870912,hydrationErrors:null},n=Yh(t),n.return=e,e.child=n,oe=e,Zt=null)):t=null,t===null)throw Bn(e);return Fo(t)?e.lanes=32:e.lanes=536870912,null}var v=l.children;return l=l.fallback,u?(Gn(),u=e.mode,v=Sa({mode:"hidden",children:v},u),l=fl(l,u,n,null),v.return=e,l.return=e,v.sibling=l,e.child=v,l=e.child,l.memoizedState=fo(n),l.childLanes=ho(t,h,n),e.memoizedState=so,lu(null,l)):(Xn(e),po(e,v))}var z=t.memoizedState;if(z!==null&&(v=z.dehydrated,v!==null)){if(o)e.flags&256?(Xn(e),e.flags&=-257,e=mo(t,e,n)):e.memoizedState!==null?(Gn(),e.child=t.child,e.flags|=128,e=null):(Gn(),v=l.fallback,u=e.mode,l=Sa({mode:"visible",children:l.children},u),v=fl(v,u,n,null),v.flags|=2,l.return=e,v.return=e,l.sibling=v,e.child=l,vl(e,t.child,null,n),l=e.child,l.memoizedState=fo(n),l.childLanes=ho(t,h,n),e.memoizedState=so,e=lu(null,l));else if(Xn(e),Fo(v)){if(h=v.nextSibling&&v.nextSibling.dataset,h)var w=h.dgst;h=w,l=Error(c(419)),l.stack="",l.digest=h,Vi({value:l,source:null,stack:null}),e=mo(t,e,n)}else if(ne||Fl(t,e,n,!1),h=(n&t.childLanes)!==0,ne||h){if(h=Qt,h!==null&&(l=Jf(h,n),l!==0&&l!==z.retryLane))throw z.retryLane=l,sl(t,l),Me(h,t,l),co;Jo(v)||Ma(),e=mo(t,e,n)}else Jo(v)?(e.flags|=192,e.child=t.child,e=null):(t=z.treeContext,Zt=Fe(v.nextSibling),oe=e,Dt=!0,jn=null,Ke=!1,t!==null&&Qh(e,t),e=po(e,l.children),e.flags|=4096);return e}return u?(Gn(),v=l.fallback,u=e.mode,z=t.child,w=z.sibling,l=mn(z,{mode:"hidden",children:l.children}),l.subtreeFlags=z.subtreeFlags&65011712,w!==null?v=mn(w,v):(v=fl(v,u,n,null),v.flags|=2),v.return=e,l.return=e,l.sibling=v,e.child=l,lu(null,l),l=e.child,v=t.child.memoizedState,v===null?v=fo(n):(u=v.cachePool,u!==null?(z=te._currentValue,u=u.parent!==z?{parent:z,pool:z}:u):u=Ih(),v={baseLanes:v.baseLanes|n,cachePool:u}),l.memoizedState=v,l.childLanes=ho(t,h,n),e.memoizedState=so,lu(t.child,l)):(Xn(e),n=t.child,t=n.sibling,n=mn(n,{mode:"visible",children:l.children}),n.return=e,n.sibling=null,t!==null&&(h=e.deletions,h===null?(e.deletions=[t],e.flags|=16):h.push(t)),e.child=n,e.memoizedState=null,n)}function po(t,e){return e=Sa({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function Sa(t,e){return t=Ne(22,t,null,e),t.lanes=0,t}function mo(t,e,n){return vl(e,t.child,null,n),t=po(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function op(t,e,n){t.lanes|=e;var l=t.alternate;l!==null&&(l.lanes|=e),Mc(t.return,e,n)}function yo(t,e,n,l,u,o){var h=t.memoizedState;h===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:l,tail:n,tailMode:u,treeForkCount:o}:(h.isBackwards=e,h.rendering=null,h.renderingStartTime=0,h.last=l,h.tail=n,h.tailMode=u,h.treeForkCount=o)}function sp(t,e,n){var l=e.pendingProps,u=l.revealOrder,o=l.tail;l=l.children;var h=$t.current,v=(h&2)!==0;if(v?(h=h&1|2,e.flags|=128):h&=1,S($t,h),fe(t,e,l,n),l=Dt?Qi:0,!v&&t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&op(t,n,e);else if(t.tag===19)op(t,n,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(u){case"forwards":for(n=e.child,u=null;n!==null;)t=n.alternate,t!==null&&ca(t)===null&&(u=n),n=n.sibling;n=u,n===null?(u=e.child,e.child=null):(u=n.sibling,n.sibling=null),yo(e,!1,u,n,o,l);break;case"backwards":case"unstable_legacy-backwards":for(n=null,u=e.child,e.child=null;u!==null;){if(t=u.alternate,t!==null&&ca(t)===null){e.child=u;break}t=u.sibling,u.sibling=n,n=u,u=t}yo(e,!0,n,null,o,l);break;case"together":yo(e,!1,null,null,void 0,l);break;default:e.memoizedState=null}return e.child}function xn(t,e,n){if(t!==null&&(e.dependencies=t.dependencies),Zn|=e.lanes,(n&e.childLanes)===0)if(t!==null){if(Fl(t,e,n,!1),(n&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(c(153));if(e.child!==null){for(t=e.child,n=mn(t,t.pendingProps),e.child=n,n.return=e;t.sibling!==null;)t=t.sibling,n=n.sibling=mn(t,t.pendingProps),n.return=e;n.sibling=null}return e.child}function go(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&ta(t)))}function jb(t,e,n){switch(e.tag){case 3:Mt(e,e.stateNode.containerInfo),Hn(e,te,t.memoizedState.cache),hl();break;case 27:case 5:xe(e);break;case 4:Mt(e,e.stateNode.containerInfo);break;case 10:Hn(e,e.type,e.memoizedProps.value);break;case 31:if(e.memoizedState!==null)return e.flags|=128,Yc(e),null;break;case 13:var l=e.memoizedState;if(l!==null)return l.dehydrated!==null?(Xn(e),e.flags|=128,null):(n&e.child.childLanes)!==0?cp(t,e,n):(Xn(e),t=xn(t,e,n),t!==null?t.sibling:null);Xn(e);break;case 19:var u=(t.flags&128)!==0;if(l=(n&e.childLanes)!==0,l||(Fl(t,e,n,!1),l=(n&e.childLanes)!==0),u){if(l)return sp(t,e,n);e.flags|=128}if(u=e.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),S($t,$t.current),l)break;return null;case 22:return e.lanes=0,np(t,e,n,e.pendingProps);case 24:Hn(e,te,t.memoizedState.cache)}return xn(t,e,n)}function fp(t,e,n){if(t!==null)if(t.memoizedProps!==e.pendingProps)ne=!0;else{if(!go(t,n)&&(e.flags&128)===0)return ne=!1,jb(t,e,n);ne=(t.flags&131072)!==0}else ne=!1,Dt&&(e.flags&1048576)!==0&&Gh(e,Qi,e.index);switch(e.lanes=0,e.tag){case 16:t:{var l=e.pendingProps;if(t=yl(e.elementType),e.type=t,typeof t=="function")xc(t)?(l=Sl(t,l),e.tag=1,e=ap(null,e,t,l,n)):(e.tag=0,e=oo(null,e,t,l,n));else{if(t!=null){var u=t.$$typeof;if(u===lt){e.tag=11,e=Pd(null,e,t,l,n);break t}else if(u===Y){e.tag=14,e=tp(null,e,t,l,n);break t}}throw e=et(t)||t,Error(c(306,e,""))}}return e;case 0:return oo(t,e,e.type,e.pendingProps,n);case 1:return l=e.type,u=Sl(l,e.pendingProps),ap(t,e,l,u,n);case 3:t:{if(Mt(e,e.stateNode.containerInfo),t===null)throw Error(c(387));l=e.pendingProps;var o=e.memoizedState;u=o.element,jc(t,e),Wi(e,l,null,n);var h=e.memoizedState;if(l=h.cache,Hn(e,te,l),l!==o.cache&&Dc(e,[te],n,!0),$i(),l=h.element,o.isDehydrated)if(o={element:l,isDehydrated:!1,cache:h.cache},e.updateQueue.baseState=o,e.memoizedState=o,e.flags&256){e=rp(t,e,l,n);break t}else if(l!==u){u=Qe(Error(c(424)),e),Vi(u),e=rp(t,e,l,n);break t}else for(t=e.stateNode.containerInfo,t.nodeType===9?t=t.body:t=t.nodeName==="HTML"?t.ownerDocument.body:t,Zt=Fe(t.firstChild),oe=e,Dt=!0,jn=null,Ke=!0,n=nd(e,null,l,n),e.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(hl(),l===u){e=xn(t,e,n);break t}fe(t,e,l,n)}e=e.child}return e;case 26:return ba(t,e),t===null?(n=Em(e.type,null,e.pendingProps,null))?e.memoizedState=n:Dt||(n=e.type,t=e.pendingProps,l=ja(F.current).createElement(n),l[ce]=e,l[Te]=t,he(l,n,t),ae(l),e.stateNode=l):e.memoizedState=Em(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return xe(e),t===null&&Dt&&(l=e.stateNode=bm(e.type,e.pendingProps,F.current),oe=e,Ke=!0,u=Zt,$n(e.type)?(Io=u,Zt=Fe(l.firstChild)):Zt=u),fe(t,e,e.pendingProps.children,n),ba(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&Dt&&((u=l=Zt)&&(l=hS(l,e.type,e.pendingProps,Ke),l!==null?(e.stateNode=l,oe=e,Zt=Fe(l.firstChild),Ke=!1,u=!0):u=!1),u||Bn(e)),xe(e),u=e.type,o=e.pendingProps,h=t!==null?t.memoizedProps:null,l=o.children,Vo(u,o)?l=null:h!==null&&Vo(u,h)&&(e.flags|=32),e.memoizedState!==null&&(u=Gc(t,e,Cb,null,null,n),vu._currentValue=u),ba(t,e),fe(t,e,l,n),e.child;case 6:return t===null&&Dt&&((t=n=Zt)&&(n=dS(n,e.pendingProps,Ke),n!==null?(e.stateNode=n,oe=e,Zt=null,t=!0):t=!1),t||Bn(e)),null;case 13:return cp(t,e,n);case 4:return Mt(e,e.stateNode.containerInfo),l=e.pendingProps,t===null?e.child=vl(e,null,l,n):fe(t,e,l,n),e.child;case 11:return Pd(t,e,e.type,e.pendingProps,n);case 7:return fe(t,e,e.pendingProps,n),e.child;case 8:return fe(t,e,e.pendingProps.children,n),e.child;case 12:return fe(t,e,e.pendingProps.children,n),e.child;case 10:return l=e.pendingProps,Hn(e,e.type,l.value),fe(t,e,l.children,n),e.child;case 9:return u=e.type._context,l=e.pendingProps.children,pl(e),u=se(u),l=l(u),e.flags|=1,fe(t,e,l,n),e.child;case 14:return tp(t,e,e.type,e.pendingProps,n);case 15:return ep(t,e,e.type,e.pendingProps,n);case 19:return sp(t,e,n);case 31:return Ub(t,e,n);case 22:return np(t,e,n,e.pendingProps);case 24:return pl(e),l=se(te),t===null?(u=kc(),u===null&&(u=Qt,o=wc(),u.pooledCache=o,o.refCount++,o!==null&&(u.pooledCacheLanes|=n),u=o),e.memoizedState={parent:l,cache:u},Uc(e),Hn(e,te,u)):((t.lanes&n)!==0&&(jc(t,e),Wi(e,null,null,n),$i()),u=t.memoizedState,o=e.memoizedState,u.parent!==l?(u={parent:l,cache:l},e.memoizedState=u,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=u),Hn(e,te,l)):(l=o.cache,Hn(e,te,l),l!==u.cache&&Dc(e,[te],n,!0))),fe(t,e,e.pendingProps.children,n),e.child;case 29:throw e.pendingProps}throw Error(c(156,e.tag))}function En(t){t.flags|=4}function vo(t,e,n,l,u){if((e=(t.mode&32)!==0)&&(e=!1),e){if(t.flags|=16777216,(u&335544128)===u)if(t.stateNode.complete)t.flags|=8192;else if(Hp())t.flags|=8192;else throw gl=ia,Nc}else t.flags&=-16777217}function hp(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!Cm(e))if(Hp())t.flags|=8192;else throw gl=ia,Nc}function xa(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?Vf():536870912,t.lanes|=e,ri|=e)}function iu(t,e){if(!Dt)switch(t.tailMode){case"hidden":e=t.tail;for(var n=null;e!==null;)e.alternate!==null&&(n=e),e=e.sibling;n===null?t.tail=null:n.sibling=null;break;case"collapsed":n=t.tail;for(var l=null;n!==null;)n.alternate!==null&&(l=n),n=n.sibling;l===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:l.sibling=null}}function Kt(t){var e=t.alternate!==null&&t.alternate.child===t.child,n=0,l=0;if(e)for(var u=t.child;u!==null;)n|=u.lanes|u.childLanes,l|=u.subtreeFlags&65011712,l|=u.flags&65011712,u.return=t,u=u.sibling;else for(u=t.child;u!==null;)n|=u.lanes|u.childLanes,l|=u.subtreeFlags,l|=u.flags,u.return=t,u=u.sibling;return t.subtreeFlags|=l,t.childLanes=n,e}function Bb(t,e,n){var l=e.pendingProps;switch(Ac(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Kt(e),null;case 1:return Kt(e),null;case 3:return n=e.stateNode,l=null,t!==null&&(l=t.memoizedState.cache),e.memoizedState.cache!==l&&(e.flags|=2048),vn(te),bt(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(t===null||t.child===null)&&(Jl(e)?En(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,Cc())),Kt(e),null;case 26:var u=e.type,o=e.memoizedState;return t===null?(En(e),o!==null?(Kt(e),hp(e,o)):(Kt(e),vo(e,u,null,l,n))):o?o!==t.memoizedState?(En(e),Kt(e),hp(e,o)):(Kt(e),e.flags&=-16777217):(t=t.memoizedProps,t!==l&&En(e),Kt(e),vo(e,u,t,l,n)),null;case 27:if(on(e),n=F.current,u=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==l&&En(e);else{if(!l){if(e.stateNode===null)throw Error(c(166));return Kt(e),null}t=L.current,Jl(e)?Vh(e):(t=bm(u,l,n),e.stateNode=t,En(e))}return Kt(e),null;case 5:if(on(e),u=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==l&&En(e);else{if(!l){if(e.stateNode===null)throw Error(c(166));return Kt(e),null}if(o=L.current,Jl(e))Vh(e);else{var h=ja(F.current);switch(o){case 1:o=h.createElementNS("http://www.w3.org/2000/svg",u);break;case 2:o=h.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;default:switch(u){case"svg":o=h.createElementNS("http://www.w3.org/2000/svg",u);break;case"math":o=h.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;case"script":o=h.createElement("div"),o.innerHTML="<script><\/script>",o=o.removeChild(o.firstChild);break;case"select":o=typeof l.is=="string"?h.createElement("select",{is:l.is}):h.createElement("select"),l.multiple?o.multiple=!0:l.size&&(o.size=l.size);break;default:o=typeof l.is=="string"?h.createElement(u,{is:l.is}):h.createElement(u)}}o[ce]=e,o[Te]=l;t:for(h=e.child;h!==null;){if(h.tag===5||h.tag===6)o.appendChild(h.stateNode);else if(h.tag!==4&&h.tag!==27&&h.child!==null){h.child.return=h,h=h.child;continue}if(h===e)break t;for(;h.sibling===null;){if(h.return===null||h.return===e)break t;h=h.return}h.sibling.return=h.return,h=h.sibling}e.stateNode=o;t:switch(he(o,u,l),u){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break t;case"img":l=!0;break t;default:l=!1}l&&En(e)}}return Kt(e),vo(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,n),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==l&&En(e);else{if(typeof l!="string"&&e.stateNode===null)throw Error(c(166));if(t=F.current,Jl(e)){if(t=e.stateNode,n=e.memoizedProps,l=null,u=oe,u!==null)switch(u.tag){case 27:case 5:l=u.memoizedProps}t[ce]=e,t=!!(t.nodeValue===n||l!==null&&l.suppressHydrationWarning===!0||cm(t.nodeValue,n)),t||Bn(e,!0)}else t=ja(t).createTextNode(l),t[ce]=e,e.stateNode=t}return Kt(e),null;case 31:if(n=e.memoizedState,t===null||t.memoizedState!==null){if(l=Jl(e),n!==null){if(t===null){if(!l)throw Error(c(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(c(557));t[ce]=e}else hl(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Kt(e),t=!1}else n=Cc(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=n),t=!0;if(!t)return e.flags&256?(je(e),e):(je(e),null);if((e.flags&128)!==0)throw Error(c(558))}return Kt(e),null;case 13:if(l=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(u=Jl(e),l!==null&&l.dehydrated!==null){if(t===null){if(!u)throw Error(c(318));if(u=e.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(c(317));u[ce]=e}else hl(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Kt(e),u=!1}else u=Cc(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=u),u=!0;if(!u)return e.flags&256?(je(e),e):(je(e),null)}return je(e),(e.flags&128)!==0?(e.lanes=n,e):(n=l!==null,t=t!==null&&t.memoizedState!==null,n&&(l=e.child,u=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(u=l.alternate.memoizedState.cachePool.pool),o=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(o=l.memoizedState.cachePool.pool),o!==u&&(l.flags|=2048)),n!==t&&n&&(e.child.flags|=8192),xa(e,e.updateQueue),Kt(e),null);case 4:return bt(),t===null&&qo(e.stateNode.containerInfo),Kt(e),null;case 10:return vn(e.type),Kt(e),null;case 19:if(_($t),l=e.memoizedState,l===null)return Kt(e),null;if(u=(e.flags&128)!==0,o=l.rendering,o===null)if(u)iu(l,!1);else{if(It!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(o=ca(t),o!==null){for(e.flags|=128,iu(l,!1),t=o.updateQueue,e.updateQueue=t,xa(e,t),e.subtreeFlags=0,t=n,n=e.child;n!==null;)qh(n,t),n=n.sibling;return S($t,$t.current&1|2),Dt&&yn(e,l.treeForkCount),e.child}t=t.sibling}l.tail!==null&&me()>_a&&(e.flags|=128,u=!0,iu(l,!1),e.lanes=4194304)}else{if(!u)if(t=ca(o),t!==null){if(e.flags|=128,u=!0,t=t.updateQueue,e.updateQueue=t,xa(e,t),iu(l,!0),l.tail===null&&l.tailMode==="hidden"&&!o.alternate&&!Dt)return Kt(e),null}else 2*me()-l.renderingStartTime>_a&&n!==536870912&&(e.flags|=128,u=!0,iu(l,!1),e.lanes=4194304);l.isBackwards?(o.sibling=e.child,e.child=o):(t=l.last,t!==null?t.sibling=o:e.child=o,l.last=o)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=me(),t.sibling=null,n=$t.current,S($t,u?n&1|2:n&1),Dt&&yn(e,l.treeForkCount),t):(Kt(e),null);case 22:case 23:return je(e),qc(),l=e.memoizedState!==null,t!==null?t.memoizedState!==null!==l&&(e.flags|=8192):l&&(e.flags|=8192),l?(n&536870912)!==0&&(e.flags&128)===0&&(Kt(e),e.subtreeFlags&6&&(e.flags|=8192)):Kt(e),n=e.updateQueue,n!==null&&xa(e,n.retryQueue),n=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),l=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),l!==n&&(e.flags|=2048),t!==null&&_(ml),null;case 24:return n=null,t!==null&&(n=t.memoizedState.cache),e.memoizedState.cache!==n&&(e.flags|=2048),vn(te),Kt(e),null;case 25:return null;case 30:return null}throw Error(c(156,e.tag))}function Hb(t,e){switch(Ac(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return vn(te),bt(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return on(e),null;case 31:if(e.memoizedState!==null){if(je(e),e.alternate===null)throw Error(c(340));hl()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(je(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(c(340));hl()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return _($t),null;case 4:return bt(),null;case 10:return vn(e.type),null;case 22:case 23:return je(e),qc(),t!==null&&_(ml),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return vn(te),null;case 25:return null;default:return null}}function dp(t,e){switch(Ac(e),e.tag){case 3:vn(te),bt();break;case 26:case 27:case 5:on(e);break;case 4:bt();break;case 31:e.memoizedState!==null&&je(e);break;case 13:je(e);break;case 19:_($t);break;case 10:vn(e.type);break;case 22:case 23:je(e),qc(),t!==null&&_(ml);break;case 24:vn(te)}}function uu(t,e){try{var n=e.updateQueue,l=n!==null?n.lastEffect:null;if(l!==null){var u=l.next;n=u;do{if((n.tag&t)===t){l=void 0;var o=n.create,h=n.inst;l=o(),h.destroy=l}n=n.next}while(n!==u)}}catch(v){Ht(e,e.return,v)}}function Qn(t,e,n){try{var l=e.updateQueue,u=l!==null?l.lastEffect:null;if(u!==null){var o=u.next;l=o;do{if((l.tag&t)===t){var h=l.inst,v=h.destroy;if(v!==void 0){h.destroy=void 0,u=e;var z=n,w=v;try{w()}catch(U){Ht(u,z,U)}}}l=l.next}while(l!==o)}}catch(U){Ht(e,e.return,U)}}function pp(t){var e=t.updateQueue;if(e!==null){var n=t.stateNode;try{id(e,n)}catch(l){Ht(t,t.return,l)}}}function mp(t,e,n){n.props=Sl(t.type,t.memoizedProps),n.state=t.memoizedState;try{n.componentWillUnmount()}catch(l){Ht(t,e,l)}}function au(t,e){try{var n=t.ref;if(n!==null){switch(t.tag){case 26:case 27:case 5:var l=t.stateNode;break;case 30:l=t.stateNode;break;default:l=t.stateNode}typeof n=="function"?t.refCleanup=n(l):n.current=l}}catch(u){Ht(t,e,u)}}function rn(t,e){var n=t.ref,l=t.refCleanup;if(n!==null)if(typeof l=="function")try{l()}catch(u){Ht(t,e,u)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(u){Ht(t,e,u)}else n.current=null}function yp(t){var e=t.type,n=t.memoizedProps,l=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":n.autoFocus&&l.focus();break t;case"img":n.src?l.src=n.src:n.srcSet&&(l.srcset=n.srcSet)}}catch(u){Ht(t,t.return,u)}}function bo(t,e,n){try{var l=t.stateNode;aS(l,t.type,n,e),l[Te]=e}catch(u){Ht(t,t.return,u)}}function gp(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&$n(t.type)||t.tag===4}function So(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||gp(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&$n(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function xo(t,e,n){var l=t.tag;if(l===5||l===6)t=t.stateNode,e?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(t,e):(e=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,e.appendChild(t),n=n._reactRootContainer,n!=null||e.onclick!==null||(e.onclick=dn));else if(l!==4&&(l===27&&$n(t.type)&&(n=t.stateNode,e=null),t=t.child,t!==null))for(xo(t,e,n),t=t.sibling;t!==null;)xo(t,e,n),t=t.sibling}function Ea(t,e,n){var l=t.tag;if(l===5||l===6)t=t.stateNode,e?n.insertBefore(t,e):n.appendChild(t);else if(l!==4&&(l===27&&$n(t.type)&&(n=t.stateNode),t=t.child,t!==null))for(Ea(t,e,n),t=t.sibling;t!==null;)Ea(t,e,n),t=t.sibling}function vp(t){var e=t.stateNode,n=t.memoizedProps;try{for(var l=t.type,u=e.attributes;u.length;)e.removeAttributeNode(u[0]);he(e,l,n),e[ce]=t,e[Te]=n}catch(o){Ht(t,t.return,o)}}var Tn=!1,le=!1,Eo=!1,bp=typeof WeakSet=="function"?WeakSet:Set,re=null;function Lb(t,e){if(t=t.containerInfo,Go=Ga,t=wh(t),pc(t)){if("selectionStart"in t)var n={start:t.selectionStart,end:t.selectionEnd};else t:{n=(n=t.ownerDocument)&&n.defaultView||window;var l=n.getSelection&&n.getSelection();if(l&&l.rangeCount!==0){n=l.anchorNode;var u=l.anchorOffset,o=l.focusNode;l=l.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break t}var h=0,v=-1,z=-1,w=0,U=0,q=t,R=null;e:for(;;){for(var k;q!==n||u!==0&&q.nodeType!==3||(v=h+u),q!==o||l!==0&&q.nodeType!==3||(z=h+l),q.nodeType===3&&(h+=q.nodeValue.length),(k=q.firstChild)!==null;)R=q,q=k;for(;;){if(q===t)break e;if(R===n&&++w===u&&(v=h),R===o&&++U===l&&(z=h),(k=q.nextSibling)!==null)break;q=R,R=q.parentNode}q=k}n=v===-1||z===-1?null:{start:v,end:z}}else n=null}n=n||{start:0,end:0}}else n=null;for(Qo={focusedElem:t,selectionRange:n},Ga=!1,re=e;re!==null;)if(e=re,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,re=t;else for(;re!==null;){switch(e=re,o=e.alternate,t=e.flags,e.tag){case 0:if((t&4)!==0&&(t=e.updateQueue,t=t!==null?t.events:null,t!==null))for(n=0;n<t.length;n++)u=t[n],u.ref.impl=u.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&o!==null){t=void 0,n=e,u=o.memoizedProps,o=o.memoizedState,l=n.stateNode;try{var it=Sl(n.type,u);t=l.getSnapshotBeforeUpdate(it,o),l.__reactInternalSnapshotBeforeUpdate=t}catch(ft){Ht(n,n.return,ft)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,n=t.nodeType,n===9)Ko(t);else if(n===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Ko(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(c(163))}if(t=e.sibling,t!==null){t.return=e.return,re=t;break}re=e.return}}function Sp(t,e,n){var l=n.flags;switch(n.tag){case 0:case 11:case 15:An(t,n),l&4&&uu(5,n);break;case 1:if(An(t,n),l&4)if(t=n.stateNode,e===null)try{t.componentDidMount()}catch(h){Ht(n,n.return,h)}else{var u=Sl(n.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(u,e,t.__reactInternalSnapshotBeforeUpdate)}catch(h){Ht(n,n.return,h)}}l&64&&pp(n),l&512&&au(n,n.return);break;case 3:if(An(t,n),l&64&&(t=n.updateQueue,t!==null)){if(e=null,n.child!==null)switch(n.child.tag){case 27:case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}try{id(t,e)}catch(h){Ht(n,n.return,h)}}break;case 27:e===null&&l&4&&vp(n);case 26:case 5:An(t,n),e===null&&l&4&&yp(n),l&512&&au(n,n.return);break;case 12:An(t,n);break;case 31:An(t,n),l&4&&Tp(t,n);break;case 13:An(t,n),l&4&&zp(t,n),l&64&&(t=n.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(n=Jb.bind(null,n),pS(t,n))));break;case 22:if(l=n.memoizedState!==null||Tn,!l){e=e!==null&&e.memoizedState!==null||le,u=Tn;var o=le;Tn=l,(le=e)&&!o?_n(t,n,(n.subtreeFlags&8772)!==0):An(t,n),Tn=u,le=o}break;case 30:break;default:An(t,n)}}function xp(t){var e=t.alternate;e!==null&&(t.alternate=null,xp(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&$r(e)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var Jt=null,Ae=!1;function zn(t,e,n){for(n=n.child;n!==null;)Ep(t,e,n),n=n.sibling}function Ep(t,e,n){if(ie&&typeof ie.onCommitFiberUnmount=="function")try{ie.onCommitFiberUnmount(ye,n)}catch{}switch(n.tag){case 26:le||rn(n,e),zn(t,e,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:le||rn(n,e);var l=Jt,u=Ae;$n(n.type)&&(Jt=n.stateNode,Ae=!1),zn(t,e,n),mu(n.stateNode),Jt=l,Ae=u;break;case 5:le||rn(n,e);case 6:if(l=Jt,u=Ae,Jt=null,zn(t,e,n),Jt=l,Ae=u,Jt!==null)if(Ae)try{(Jt.nodeType===9?Jt.body:Jt.nodeName==="HTML"?Jt.ownerDocument.body:Jt).removeChild(n.stateNode)}catch(o){Ht(n,e,o)}else try{Jt.removeChild(n.stateNode)}catch(o){Ht(n,e,o)}break;case 18:Jt!==null&&(Ae?(t=Jt,pm(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,n.stateNode),mi(t)):pm(Jt,n.stateNode));break;case 4:l=Jt,u=Ae,Jt=n.stateNode.containerInfo,Ae=!0,zn(t,e,n),Jt=l,Ae=u;break;case 0:case 11:case 14:case 15:Qn(2,n,e),le||Qn(4,n,e),zn(t,e,n);break;case 1:le||(rn(n,e),l=n.stateNode,typeof l.componentWillUnmount=="function"&&mp(n,e,l)),zn(t,e,n);break;case 21:zn(t,e,n);break;case 22:le=(l=le)||n.memoizedState!==null,zn(t,e,n),le=l;break;default:zn(t,e,n)}}function Tp(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{mi(t)}catch(n){Ht(e,e.return,n)}}}function zp(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{mi(t)}catch(n){Ht(e,e.return,n)}}function qb(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new bp),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new bp),e;default:throw Error(c(435,t.tag))}}function Ta(t,e){var n=qb(t);e.forEach(function(l){if(!n.has(l)){n.add(l);var u=Fb.bind(null,t,l);l.then(u,u)}})}function _e(t,e){var n=e.deletions;if(n!==null)for(var l=0;l<n.length;l++){var u=n[l],o=t,h=e,v=h;t:for(;v!==null;){switch(v.tag){case 27:if($n(v.type)){Jt=v.stateNode,Ae=!1;break t}break;case 5:Jt=v.stateNode,Ae=!1;break t;case 3:case 4:Jt=v.stateNode.containerInfo,Ae=!0;break t}v=v.return}if(Jt===null)throw Error(c(160));Ep(o,h,u),Jt=null,Ae=!1,o=u.alternate,o!==null&&(o.return=null),u.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)Ap(e,t),e=e.sibling}var Pe=null;function Ap(t,e){var n=t.alternate,l=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:_e(e,t),Ce(t),l&4&&(Qn(3,t,t.return),uu(3,t),Qn(5,t,t.return));break;case 1:_e(e,t),Ce(t),l&512&&(le||n===null||rn(n,n.return)),l&64&&Tn&&(t=t.updateQueue,t!==null&&(l=t.callbacks,l!==null&&(n=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=n===null?l:n.concat(l))));break;case 26:var u=Pe;if(_e(e,t),Ce(t),l&512&&(le||n===null||rn(n,n.return)),l&4){var o=n!==null?n.memoizedState:null;if(l=t.memoizedState,n===null)if(l===null)if(t.stateNode===null){t:{l=t.type,n=t.memoizedProps,u=u.ownerDocument||u;e:switch(l){case"title":o=u.getElementsByTagName("title")[0],(!o||o[ki]||o[ce]||o.namespaceURI==="http://www.w3.org/2000/svg"||o.hasAttribute("itemprop"))&&(o=u.createElement(l),u.head.insertBefore(o,u.querySelector("head > title"))),he(o,l,n),o[ce]=t,ae(o),l=o;break t;case"link":var h=Am("link","href",u).get(l+(n.href||""));if(h){for(var v=0;v<h.length;v++)if(o=h[v],o.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&o.getAttribute("rel")===(n.rel==null?null:n.rel)&&o.getAttribute("title")===(n.title==null?null:n.title)&&o.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){h.splice(v,1);break e}}o=u.createElement(l),he(o,l,n),u.head.appendChild(o);break;case"meta":if(h=Am("meta","content",u).get(l+(n.content||""))){for(v=0;v<h.length;v++)if(o=h[v],o.getAttribute("content")===(n.content==null?null:""+n.content)&&o.getAttribute("name")===(n.name==null?null:n.name)&&o.getAttribute("property")===(n.property==null?null:n.property)&&o.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&o.getAttribute("charset")===(n.charSet==null?null:n.charSet)){h.splice(v,1);break e}}o=u.createElement(l),he(o,l,n),u.head.appendChild(o);break;default:throw Error(c(468,l))}o[ce]=t,ae(o),l=o}t.stateNode=l}else _m(u,t.type,t.stateNode);else t.stateNode=zm(u,l,t.memoizedProps);else o!==l?(o===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):o.count--,l===null?_m(u,t.type,t.stateNode):zm(u,l,t.memoizedProps)):l===null&&t.stateNode!==null&&bo(t,t.memoizedProps,n.memoizedProps)}break;case 27:_e(e,t),Ce(t),l&512&&(le||n===null||rn(n,n.return)),n!==null&&l&4&&bo(t,t.memoizedProps,n.memoizedProps);break;case 5:if(_e(e,t),Ce(t),l&512&&(le||n===null||rn(n,n.return)),t.flags&32){u=t.stateNode;try{Hl(u,"")}catch(it){Ht(t,t.return,it)}}l&4&&t.stateNode!=null&&(u=t.memoizedProps,bo(t,u,n!==null?n.memoizedProps:u)),l&1024&&(Eo=!0);break;case 6:if(_e(e,t),Ce(t),l&4){if(t.stateNode===null)throw Error(c(162));l=t.memoizedProps,n=t.stateNode;try{n.nodeValue=l}catch(it){Ht(t,t.return,it)}}break;case 3:if(La=null,u=Pe,Pe=Ba(e.containerInfo),_e(e,t),Pe=u,Ce(t),l&4&&n!==null&&n.memoizedState.isDehydrated)try{mi(e.containerInfo)}catch(it){Ht(t,t.return,it)}Eo&&(Eo=!1,_p(t));break;case 4:l=Pe,Pe=Ba(t.stateNode.containerInfo),_e(e,t),Ce(t),Pe=l;break;case 12:_e(e,t),Ce(t);break;case 31:_e(e,t),Ce(t),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,Ta(t,l)));break;case 13:_e(e,t),Ce(t),t.child.flags&8192&&t.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(Aa=me()),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,Ta(t,l)));break;case 22:u=t.memoizedState!==null;var z=n!==null&&n.memoizedState!==null,w=Tn,U=le;if(Tn=w||u,le=U||z,_e(e,t),le=U,Tn=w,Ce(t),l&8192)t:for(e=t.stateNode,e._visibility=u?e._visibility&-2:e._visibility|1,u&&(n===null||z||Tn||le||xl(t)),n=null,e=t;;){if(e.tag===5||e.tag===26){if(n===null){z=n=e;try{if(o=z.stateNode,u)h=o.style,typeof h.setProperty=="function"?h.setProperty("display","none","important"):h.display="none";else{v=z.stateNode;var q=z.memoizedProps.style,R=q!=null&&q.hasOwnProperty("display")?q.display:null;v.style.display=R==null||typeof R=="boolean"?"":(""+R).trim()}}catch(it){Ht(z,z.return,it)}}}else if(e.tag===6){if(n===null){z=e;try{z.stateNode.nodeValue=u?"":z.memoizedProps}catch(it){Ht(z,z.return,it)}}}else if(e.tag===18){if(n===null){z=e;try{var k=z.stateNode;u?mm(k,!0):mm(z.stateNode,!1)}catch(it){Ht(z,z.return,it)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===t)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break t;for(;e.sibling===null;){if(e.return===null||e.return===t)break t;n===e&&(n=null),e=e.return}n===e&&(n=null),e.sibling.return=e.return,e=e.sibling}l&4&&(l=t.updateQueue,l!==null&&(n=l.retryQueue,n!==null&&(l.retryQueue=null,Ta(t,n))));break;case 19:_e(e,t),Ce(t),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,Ta(t,l)));break;case 30:break;case 21:break;default:_e(e,t),Ce(t)}}function Ce(t){var e=t.flags;if(e&2){try{for(var n,l=t.return;l!==null;){if(gp(l)){n=l;break}l=l.return}if(n==null)throw Error(c(160));switch(n.tag){case 27:var u=n.stateNode,o=So(t);Ea(t,o,u);break;case 5:var h=n.stateNode;n.flags&32&&(Hl(h,""),n.flags&=-33);var v=So(t);Ea(t,v,h);break;case 3:case 4:var z=n.stateNode.containerInfo,w=So(t);xo(t,w,z);break;default:throw Error(c(161))}}catch(U){Ht(t,t.return,U)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function _p(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;_p(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function An(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)Sp(t,e.alternate,e),e=e.sibling}function xl(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:Qn(4,e,e.return),xl(e);break;case 1:rn(e,e.return);var n=e.stateNode;typeof n.componentWillUnmount=="function"&&mp(e,e.return,n),xl(e);break;case 27:mu(e.stateNode);case 26:case 5:rn(e,e.return),xl(e);break;case 22:e.memoizedState===null&&xl(e);break;case 30:xl(e);break;default:xl(e)}t=t.sibling}}function _n(t,e,n){for(n=n&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var l=e.alternate,u=t,o=e,h=o.flags;switch(o.tag){case 0:case 11:case 15:_n(u,o,n),uu(4,o);break;case 1:if(_n(u,o,n),l=o,u=l.stateNode,typeof u.componentDidMount=="function")try{u.componentDidMount()}catch(w){Ht(l,l.return,w)}if(l=o,u=l.updateQueue,u!==null){var v=l.stateNode;try{var z=u.shared.hiddenCallbacks;if(z!==null)for(u.shared.hiddenCallbacks=null,u=0;u<z.length;u++)ld(z[u],v)}catch(w){Ht(l,l.return,w)}}n&&h&64&&pp(o),au(o,o.return);break;case 27:vp(o);case 26:case 5:_n(u,o,n),n&&l===null&&h&4&&yp(o),au(o,o.return);break;case 12:_n(u,o,n);break;case 31:_n(u,o,n),n&&h&4&&Tp(u,o);break;case 13:_n(u,o,n),n&&h&4&&zp(u,o);break;case 22:o.memoizedState===null&&_n(u,o,n),au(o,o.return);break;case 30:break;default:_n(u,o,n)}e=e.sibling}}function To(t,e){var n=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==n&&(t!=null&&t.refCount++,n!=null&&Zi(n))}function zo(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&Zi(t))}function tn(t,e,n,l){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Cp(t,e,n,l),e=e.sibling}function Cp(t,e,n,l){var u=e.flags;switch(e.tag){case 0:case 11:case 15:tn(t,e,n,l),u&2048&&uu(9,e);break;case 1:tn(t,e,n,l);break;case 3:tn(t,e,n,l),u&2048&&(t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&Zi(t)));break;case 12:if(u&2048){tn(t,e,n,l),t=e.stateNode;try{var o=e.memoizedProps,h=o.id,v=o.onPostCommit;typeof v=="function"&&v(h,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(z){Ht(e,e.return,z)}}else tn(t,e,n,l);break;case 31:tn(t,e,n,l);break;case 13:tn(t,e,n,l);break;case 23:break;case 22:o=e.stateNode,h=e.alternate,e.memoizedState!==null?o._visibility&2?tn(t,e,n,l):ru(t,e):o._visibility&2?tn(t,e,n,l):(o._visibility|=2,ii(t,e,n,l,(e.subtreeFlags&10256)!==0||!1)),u&2048&&To(h,e);break;case 24:tn(t,e,n,l),u&2048&&zo(e.alternate,e);break;default:tn(t,e,n,l)}}function ii(t,e,n,l,u){for(u=u&&((e.subtreeFlags&10256)!==0||!1),e=e.child;e!==null;){var o=t,h=e,v=n,z=l,w=h.flags;switch(h.tag){case 0:case 11:case 15:ii(o,h,v,z,u),uu(8,h);break;case 23:break;case 22:var U=h.stateNode;h.memoizedState!==null?U._visibility&2?ii(o,h,v,z,u):ru(o,h):(U._visibility|=2,ii(o,h,v,z,u)),u&&w&2048&&To(h.alternate,h);break;case 24:ii(o,h,v,z,u),u&&w&2048&&zo(h.alternate,h);break;default:ii(o,h,v,z,u)}e=e.sibling}}function ru(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var n=t,l=e,u=l.flags;switch(l.tag){case 22:ru(n,l),u&2048&&To(l.alternate,l);break;case 24:ru(n,l),u&2048&&zo(l.alternate,l);break;default:ru(n,l)}e=e.sibling}}var cu=8192;function ui(t,e,n){if(t.subtreeFlags&cu)for(t=t.child;t!==null;)Op(t,e,n),t=t.sibling}function Op(t,e,n){switch(t.tag){case 26:ui(t,e,n),t.flags&cu&&t.memoizedState!==null&&_S(n,Pe,t.memoizedState,t.memoizedProps);break;case 5:ui(t,e,n);break;case 3:case 4:var l=Pe;Pe=Ba(t.stateNode.containerInfo),ui(t,e,n),Pe=l;break;case 22:t.memoizedState===null&&(l=t.alternate,l!==null&&l.memoizedState!==null?(l=cu,cu=16777216,ui(t,e,n),cu=l):ui(t,e,n));break;default:ui(t,e,n)}}function Mp(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function ou(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var n=0;n<e.length;n++){var l=e[n];re=l,wp(l,t)}Mp(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Dp(t),t=t.sibling}function Dp(t){switch(t.tag){case 0:case 11:case 15:ou(t),t.flags&2048&&Qn(9,t,t.return);break;case 3:ou(t);break;case 12:ou(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,za(t)):ou(t);break;default:ou(t)}}function za(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var n=0;n<e.length;n++){var l=e[n];re=l,wp(l,t)}Mp(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:Qn(8,e,e.return),za(e);break;case 22:n=e.stateNode,n._visibility&2&&(n._visibility&=-3,za(e));break;default:za(e)}t=t.sibling}}function wp(t,e){for(;re!==null;){var n=re;switch(n.tag){case 0:case 11:case 15:Qn(8,n,e);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var l=n.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:Zi(n.memoizedState.cache)}if(l=n.child,l!==null)l.return=n,re=l;else t:for(n=t;re!==null;){l=re;var u=l.sibling,o=l.return;if(xp(l),l===n){re=null;break t}if(u!==null){u.return=o,re=u;break t}re=o}}}var Yb={getCacheForType:function(t){var e=se(te),n=e.data.get(t);return n===void 0&&(n=t(),e.data.set(t,n)),n},cacheSignal:function(){return se(te).controller.signal}},Xb=typeof WeakMap=="function"?WeakMap:Map,Nt=0,Qt=null,At=null,Ct=0,Bt=0,Be=null,Vn=!1,ai=!1,Ao=!1,Cn=0,It=0,Zn=0,El=0,_o=0,He=0,ri=0,su=null,Oe=null,Co=!1,Aa=0,Rp=0,_a=1/0,Ca=null,Kn=null,ue=0,Jn=null,ci=null,On=0,Oo=0,Mo=null,kp=null,fu=0,Do=null;function Le(){return(Nt&2)!==0&&Ct!==0?Ct&-Ct:D.T!==null?jo():Ff()}function Np(){if(He===0)if((Ct&536870912)===0||Dt){var t=Uu;Uu<<=1,(Uu&3932160)===0&&(Uu=262144),He=t}else He=536870912;return t=Ue.current,t!==null&&(t.flags|=32),He}function Me(t,e,n){(t===Qt&&(Bt===2||Bt===9)||t.cancelPendingCommit!==null)&&(oi(t,0),Fn(t,Ct,He,!1)),Ri(t,n),((Nt&2)===0||t!==Qt)&&(t===Qt&&((Nt&2)===0&&(El|=n),It===4&&Fn(t,Ct,He,!1)),cn(t))}function Up(t,e,n){if((Nt&6)!==0)throw Error(c(327));var l=!n&&(e&127)===0&&(e&t.expiredLanes)===0||wi(t,e),u=l?Vb(t,e):Ro(t,e,!0),o=l;do{if(u===0){ai&&!l&&Fn(t,e,0,!1);break}else{if(n=t.current.alternate,o&&!Gb(n)){u=Ro(t,e,!1),o=!1;continue}if(u===2){if(o=e,t.errorRecoveryDisabledLanes&o)var h=0;else h=t.pendingLanes&-536870913,h=h!==0?h:h&536870912?536870912:0;if(h!==0){e=h;t:{var v=t;u=su;var z=v.current.memoizedState.isDehydrated;if(z&&(oi(v,h).flags|=256),h=Ro(v,h,!1),h!==2){if(Ao&&!z){v.errorRecoveryDisabledLanes|=o,El|=o,u=4;break t}o=Oe,Oe=u,o!==null&&(Oe===null?Oe=o:Oe.push.apply(Oe,o))}u=h}if(o=!1,u!==2)continue}}if(u===1){oi(t,0),Fn(t,e,0,!0);break}t:{switch(l=t,o=u,o){case 0:case 1:throw Error(c(345));case 4:if((e&4194048)!==e)break;case 6:Fn(l,e,He,!Vn);break t;case 2:Oe=null;break;case 3:case 5:break;default:throw Error(c(329))}if((e&62914560)===e&&(u=Aa+300-me(),10<u)){if(Fn(l,e,He,!Vn),Bu(l,0,!0)!==0)break t;On=e,l.timeoutHandle=hm(jp.bind(null,l,n,Oe,Ca,Co,e,He,El,ri,Vn,o,"Throttled",-0,0),u);break t}jp(l,n,Oe,Ca,Co,e,He,El,ri,Vn,o,null,-0,0)}}break}while(!0);cn(t)}function jp(t,e,n,l,u,o,h,v,z,w,U,q,R,k){if(t.timeoutHandle=-1,q=e.subtreeFlags,q&8192||(q&16785408)===16785408){q={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:dn},Op(e,o,q);var it=(o&62914560)===o?Aa-me():(o&4194048)===o?Rp-me():0;if(it=CS(q,it),it!==null){On=o,t.cancelPendingCommit=it(Qp.bind(null,t,e,o,n,l,u,h,v,z,U,q,null,R,k)),Fn(t,o,h,!w);return}}Qp(t,e,o,n,l,u,h,v,z)}function Gb(t){for(var e=t;;){var n=e.tag;if((n===0||n===11||n===15)&&e.flags&16384&&(n=e.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var l=0;l<n.length;l++){var u=n[l],o=u.getSnapshot;u=u.value;try{if(!ke(o(),u))return!1}catch{return!1}}if(n=e.child,e.subtreeFlags&16384&&n!==null)n.return=e,e=n;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function Fn(t,e,n,l){e&=~_o,e&=~El,t.suspendedLanes|=e,t.pingedLanes&=~e,l&&(t.warmLanes|=e),l=t.expirationTimes;for(var u=e;0<u;){var o=31-Gt(u),h=1<<o;l[o]=-1,u&=~h}n!==0&&Zf(t,n,e)}function Oa(){return(Nt&6)===0?(hu(0),!1):!0}function wo(){if(At!==null){if(Bt===0)var t=At.return;else t=At,gn=dl=null,Zc(t),Pl=null,Ji=0,t=At;for(;t!==null;)dp(t.alternate,t),t=t.return;At=null}}function oi(t,e){var n=t.timeoutHandle;n!==-1&&(t.timeoutHandle=-1,oS(n)),n=t.cancelPendingCommit,n!==null&&(t.cancelPendingCommit=null,n()),On=0,wo(),Qt=t,At=n=mn(t.current,null),Ct=e,Bt=0,Be=null,Vn=!1,ai=wi(t,e),Ao=!1,ri=He=_o=El=Zn=It=0,Oe=su=null,Co=!1,(e&8)!==0&&(e|=e&32);var l=t.entangledLanes;if(l!==0)for(t=t.entanglements,l&=e;0<l;){var u=31-Gt(l),o=1<<u;e|=t[u],l&=~o}return Cn=e,Fu(),n}function Bp(t,e){St=null,D.H=nu,e===Wl||e===la?(e=Ph(),Bt=3):e===Nc?(e=Ph(),Bt=4):Bt=e===co?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,Be=e,At===null&&(It=1,ga(t,Qe(e,t.current)))}function Hp(){var t=Ue.current;return t===null?!0:(Ct&4194048)===Ct?Je===null:(Ct&62914560)===Ct||(Ct&536870912)!==0?t===Je:!1}function Lp(){var t=D.H;return D.H=nu,t===null?nu:t}function qp(){var t=D.A;return D.A=Yb,t}function Ma(){It=4,Vn||(Ct&4194048)!==Ct&&Ue.current!==null||(ai=!0),(Zn&134217727)===0&&(El&134217727)===0||Qt===null||Fn(Qt,Ct,He,!1)}function Ro(t,e,n){var l=Nt;Nt|=2;var u=Lp(),o=qp();(Qt!==t||Ct!==e)&&(Ca=null,oi(t,e)),e=!1;var h=It;t:do try{if(Bt!==0&&At!==null){var v=At,z=Be;switch(Bt){case 8:wo(),h=6;break t;case 3:case 2:case 9:case 6:Ue.current===null&&(e=!0);var w=Bt;if(Bt=0,Be=null,si(t,v,z,w),n&&ai){h=0;break t}break;default:w=Bt,Bt=0,Be=null,si(t,v,z,w)}}Qb(),h=It;break}catch(U){Bp(t,U)}while(!0);return e&&t.shellSuspendCounter++,gn=dl=null,Nt=l,D.H=u,D.A=o,At===null&&(Qt=null,Ct=0,Fu()),h}function Qb(){for(;At!==null;)Yp(At)}function Vb(t,e){var n=Nt;Nt|=2;var l=Lp(),u=qp();Qt!==t||Ct!==e?(Ca=null,_a=me()+500,oi(t,e)):ai=wi(t,e);t:do try{if(Bt!==0&&At!==null){e=At;var o=Be;e:switch(Bt){case 1:Bt=0,Be=null,si(t,e,o,1);break;case 2:case 9:if($h(o)){Bt=0,Be=null,Xp(e);break}e=function(){Bt!==2&&Bt!==9||Qt!==t||(Bt=7),cn(t)},o.then(e,e);break t;case 3:Bt=7;break t;case 4:Bt=5;break t;case 7:$h(o)?(Bt=0,Be=null,Xp(e)):(Bt=0,Be=null,si(t,e,o,7));break;case 5:var h=null;switch(At.tag){case 26:h=At.memoizedState;case 5:case 27:var v=At;if(h?Cm(h):v.stateNode.complete){Bt=0,Be=null;var z=v.sibling;if(z!==null)At=z;else{var w=v.return;w!==null?(At=w,Da(w)):At=null}break e}}Bt=0,Be=null,si(t,e,o,5);break;case 6:Bt=0,Be=null,si(t,e,o,6);break;case 8:wo(),It=6;break t;default:throw Error(c(462))}}Zb();break}catch(U){Bp(t,U)}while(!0);return gn=dl=null,D.H=l,D.A=u,Nt=n,At!==null?0:(Qt=null,Ct=0,Fu(),It)}function Zb(){for(;At!==null&&!Qr();)Yp(At)}function Yp(t){var e=fp(t.alternate,t,Cn);t.memoizedProps=t.pendingProps,e===null?Da(t):At=e}function Xp(t){var e=t,n=e.alternate;switch(e.tag){case 15:case 0:e=up(n,e,e.pendingProps,e.type,void 0,Ct);break;case 11:e=up(n,e,e.pendingProps,e.type.render,e.ref,Ct);break;case 5:Zc(e);default:dp(n,e),e=At=qh(e,Cn),e=fp(n,e,Cn)}t.memoizedProps=t.pendingProps,e===null?Da(t):At=e}function si(t,e,n,l){gn=dl=null,Zc(e),Pl=null,Ji=0;var u=e.return;try{if(Nb(t,u,e,n,Ct)){It=1,ga(t,Qe(n,t.current)),At=null;return}}catch(o){if(u!==null)throw At=u,o;It=1,ga(t,Qe(n,t.current)),At=null;return}e.flags&32768?(Dt||l===1?t=!0:ai||(Ct&536870912)!==0?t=!1:(Vn=t=!0,(l===2||l===9||l===3||l===6)&&(l=Ue.current,l!==null&&l.tag===13&&(l.flags|=16384))),Gp(e,t)):Da(e)}function Da(t){var e=t;do{if((e.flags&32768)!==0){Gp(e,Vn);return}t=e.return;var n=Bb(e.alternate,e,Cn);if(n!==null){At=n;return}if(e=e.sibling,e!==null){At=e;return}At=e=t}while(e!==null);It===0&&(It=5)}function Gp(t,e){do{var n=Hb(t.alternate,t);if(n!==null){n.flags&=32767,At=n;return}if(n=t.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!e&&(t=t.sibling,t!==null)){At=t;return}At=t=n}while(t!==null);It=6,At=null}function Qp(t,e,n,l,u,o,h,v,z){t.cancelPendingCommit=null;do wa();while(ue!==0);if((Nt&6)!==0)throw Error(c(327));if(e!==null){if(e===t.current)throw Error(c(177));if(o=e.lanes|e.childLanes,o|=bc,Av(t,n,o,h,v,z),t===Qt&&(At=Qt=null,Ct=0),ci=e,Jn=t,On=n,Oo=o,Mo=u,kp=l,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,Ib(pt,function(){return Fp(),null})):(t.callbackNode=null,t.callbackPriority=0),l=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||l){l=D.T,D.T=null,u=G.p,G.p=2,h=Nt,Nt|=4;try{Lb(t,e,n)}finally{Nt=h,G.p=u,D.T=l}}ue=1,Vp(),Zp(),Kp()}}function Vp(){if(ue===1){ue=0;var t=Jn,e=ci,n=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||n){n=D.T,D.T=null;var l=G.p;G.p=2;var u=Nt;Nt|=4;try{Ap(e,t);var o=Qo,h=wh(t.containerInfo),v=o.focusedElem,z=o.selectionRange;if(h!==v&&v&&v.ownerDocument&&Dh(v.ownerDocument.documentElement,v)){if(z!==null&&pc(v)){var w=z.start,U=z.end;if(U===void 0&&(U=w),"selectionStart"in v)v.selectionStart=w,v.selectionEnd=Math.min(U,v.value.length);else{var q=v.ownerDocument||document,R=q&&q.defaultView||window;if(R.getSelection){var k=R.getSelection(),it=v.textContent.length,ft=Math.min(z.start,it),Yt=z.end===void 0?ft:Math.min(z.end,it);!k.extend&&ft>Yt&&(h=Yt,Yt=ft,ft=h);var O=Mh(v,ft),C=Mh(v,Yt);if(O&&C&&(k.rangeCount!==1||k.anchorNode!==O.node||k.anchorOffset!==O.offset||k.focusNode!==C.node||k.focusOffset!==C.offset)){var M=q.createRange();M.setStart(O.node,O.offset),k.removeAllRanges(),ft>Yt?(k.addRange(M),k.extend(C.node,C.offset)):(M.setEnd(C.node,C.offset),k.addRange(M))}}}}for(q=[],k=v;k=k.parentNode;)k.nodeType===1&&q.push({element:k,left:k.scrollLeft,top:k.scrollTop});for(typeof v.focus=="function"&&v.focus(),v=0;v<q.length;v++){var H=q[v];H.element.scrollLeft=H.left,H.element.scrollTop=H.top}}Ga=!!Go,Qo=Go=null}finally{Nt=u,G.p=l,D.T=n}}t.current=e,ue=2}}function Zp(){if(ue===2){ue=0;var t=Jn,e=ci,n=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||n){n=D.T,D.T=null;var l=G.p;G.p=2;var u=Nt;Nt|=4;try{Sp(t,e.alternate,e)}finally{Nt=u,G.p=l,D.T=n}}ue=3}}function Kp(){if(ue===4||ue===3){ue=0,Vr();var t=Jn,e=ci,n=On,l=kp;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?ue=5:(ue=0,ci=Jn=null,Jp(t,t.pendingLanes));var u=t.pendingLanes;if(u===0&&(Kn=null),Fr(n),e=e.stateNode,ie&&typeof ie.onCommitFiberRoot=="function")try{ie.onCommitFiberRoot(ye,e,void 0,(e.current.flags&128)===128)}catch{}if(l!==null){e=D.T,u=G.p,G.p=2,D.T=null;try{for(var o=t.onRecoverableError,h=0;h<l.length;h++){var v=l[h];o(v.value,{componentStack:v.stack})}}finally{D.T=e,G.p=u}}(On&3)!==0&&wa(),cn(t),u=t.pendingLanes,(n&261930)!==0&&(u&42)!==0?t===Do?fu++:(fu=0,Do=t):fu=0,hu(0)}}function Jp(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,Zi(e)))}function wa(){return Vp(),Zp(),Kp(),Fp()}function Fp(){if(ue!==5)return!1;var t=Jn,e=Oo;Oo=0;var n=Fr(On),l=D.T,u=G.p;try{G.p=32>n?32:n,D.T=null,n=Mo,Mo=null;var o=Jn,h=On;if(ue=0,ci=Jn=null,On=0,(Nt&6)!==0)throw Error(c(331));var v=Nt;if(Nt|=4,Dp(o.current),Cp(o,o.current,h,n),Nt=v,hu(0,!1),ie&&typeof ie.onPostCommitFiberRoot=="function")try{ie.onPostCommitFiberRoot(ye,o)}catch{}return!0}finally{G.p=u,D.T=l,Jp(t,e)}}function Ip(t,e,n){e=Qe(n,e),e=ro(t.stateNode,e,2),t=Yn(t,e,2),t!==null&&(Ri(t,2),cn(t))}function Ht(t,e,n){if(t.tag===3)Ip(t,t,n);else for(;e!==null;){if(e.tag===3){Ip(e,t,n);break}else if(e.tag===1){var l=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(Kn===null||!Kn.has(l))){t=Qe(n,t),n=$d(2),l=Yn(e,n,2),l!==null&&(Wd(n,l,e,t),Ri(l,2),cn(l));break}}e=e.return}}function ko(t,e,n){var l=t.pingCache;if(l===null){l=t.pingCache=new Xb;var u=new Set;l.set(e,u)}else u=l.get(e),u===void 0&&(u=new Set,l.set(e,u));u.has(n)||(Ao=!0,u.add(n),t=Kb.bind(null,t,e,n),e.then(t,t))}function Kb(t,e,n){var l=t.pingCache;l!==null&&l.delete(e),t.pingedLanes|=t.suspendedLanes&n,t.warmLanes&=~n,Qt===t&&(Ct&n)===n&&(It===4||It===3&&(Ct&62914560)===Ct&&300>me()-Aa?(Nt&2)===0&&oi(t,0):_o|=n,ri===Ct&&(ri=0)),cn(t)}function $p(t,e){e===0&&(e=Vf()),t=sl(t,e),t!==null&&(Ri(t,e),cn(t))}function Jb(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),$p(t,n)}function Fb(t,e){var n=0;switch(t.tag){case 31:case 13:var l=t.stateNode,u=t.memoizedState;u!==null&&(n=u.retryLane);break;case 19:l=t.stateNode;break;case 22:l=t.stateNode._retryCache;break;default:throw Error(c(314))}l!==null&&l.delete(e),$p(t,n)}function Ib(t,e){return wl(t,e)}var Ra=null,fi=null,No=!1,ka=!1,Uo=!1,In=0;function cn(t){t!==fi&&t.next===null&&(fi===null?Ra=fi=t:fi=fi.next=t),ka=!0,No||(No=!0,Wb())}function hu(t,e){if(!Uo&&ka){Uo=!0;do for(var n=!1,l=Ra;l!==null;){if(t!==0){var u=l.pendingLanes;if(u===0)var o=0;else{var h=l.suspendedLanes,v=l.pingedLanes;o=(1<<31-Gt(42|t)+1)-1,o&=u&~(h&~v),o=o&201326741?o&201326741|1:o?o|2:0}o!==0&&(n=!0,em(l,o))}else o=Ct,o=Bu(l,l===Qt?o:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(o&3)===0||wi(l,o)||(n=!0,em(l,o));l=l.next}while(n);Uo=!1}}function $b(){Wp()}function Wp(){ka=No=!1;var t=0;In!==0&&cS()&&(t=In);for(var e=me(),n=null,l=Ra;l!==null;){var u=l.next,o=Pp(l,e);o===0?(l.next=null,n===null?Ra=u:n.next=u,u===null&&(fi=n)):(n=l,(t!==0||(o&3)!==0)&&(ka=!0)),l=u}ue!==0&&ue!==5||hu(t),In!==0&&(In=0)}function Pp(t,e){for(var n=t.suspendedLanes,l=t.pingedLanes,u=t.expirationTimes,o=t.pendingLanes&-62914561;0<o;){var h=31-Gt(o),v=1<<h,z=u[h];z===-1?((v&n)===0||(v&l)!==0)&&(u[h]=zv(v,e)):z<=e&&(t.expiredLanes|=v),o&=~v}if(e=Qt,n=Ct,n=Bu(t,t===e?n:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l=t.callbackNode,n===0||t===e&&(Bt===2||Bt===9)||t.cancelPendingCommit!==null)return l!==null&&l!==null&&Di(l),t.callbackNode=null,t.callbackPriority=0;if((n&3)===0||wi(t,n)){if(e=n&-n,e===t.callbackPriority)return e;switch(l!==null&&Di(l),Fr(n)){case 2:case 8:n=W;break;case 32:n=pt;break;case 268435456:n=jt;break;default:n=pt}return l=tm.bind(null,t),n=wl(n,l),t.callbackPriority=e,t.callbackNode=n,e}return l!==null&&l!==null&&Di(l),t.callbackPriority=2,t.callbackNode=null,2}function tm(t,e){if(ue!==0&&ue!==5)return t.callbackNode=null,t.callbackPriority=0,null;var n=t.callbackNode;if(wa()&&t.callbackNode!==n)return null;var l=Ct;return l=Bu(t,t===Qt?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l===0?null:(Up(t,l,e),Pp(t,me()),t.callbackNode!=null&&t.callbackNode===n?tm.bind(null,t):null)}function em(t,e){if(wa())return null;Up(t,e,!0)}function Wb(){sS(function(){(Nt&6)!==0?wl(B,$b):Wp()})}function jo(){if(In===0){var t=Il;t===0&&(t=Nu,Nu<<=1,(Nu&261888)===0&&(Nu=256)),In=t}return In}function nm(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Yu(""+t)}function lm(t,e){var n=e.ownerDocument.createElement("input");return n.name=e.name,n.value=e.value,t.id&&n.setAttribute("form",t.id),e.parentNode.insertBefore(n,e),t=new FormData(t),n.parentNode.removeChild(n),t}function Pb(t,e,n,l,u){if(e==="submit"&&n&&n.stateNode===u){var o=nm((u[Te]||null).action),h=l.submitter;h&&(e=(e=h[Te]||null)?nm(e.formAction):h.getAttribute("formAction"),e!==null&&(o=e,h=null));var v=new Vu("action","action",null,l,u);t.push({event:v,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(In!==0){var z=h?lm(u,h):new FormData(u);eo(n,{pending:!0,data:z,method:u.method,action:o},null,z)}}else typeof o=="function"&&(v.preventDefault(),z=h?lm(u,h):new FormData(u),eo(n,{pending:!0,data:z,method:u.method,action:o},o,z))},currentTarget:u}]})}}for(var Bo=0;Bo<vc.length;Bo++){var Ho=vc[Bo],tS=Ho.toLowerCase(),eS=Ho[0].toUpperCase()+Ho.slice(1);We(tS,"on"+eS)}We(Nh,"onAnimationEnd"),We(Uh,"onAnimationIteration"),We(jh,"onAnimationStart"),We("dblclick","onDoubleClick"),We("focusin","onFocus"),We("focusout","onBlur"),We(gb,"onTransitionRun"),We(vb,"onTransitionStart"),We(bb,"onTransitionCancel"),We(Bh,"onTransitionEnd"),jl("onMouseEnter",["mouseout","mouseover"]),jl("onMouseLeave",["mouseout","mouseover"]),jl("onPointerEnter",["pointerout","pointerover"]),jl("onPointerLeave",["pointerout","pointerover"]),al("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),al("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),al("onBeforeInput",["compositionend","keypress","textInput","paste"]),al("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),al("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),al("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var du="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(" "),nS=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(du));function im(t,e){e=(e&4)!==0;for(var n=0;n<t.length;n++){var l=t[n],u=l.event;l=l.listeners;t:{var o=void 0;if(e)for(var h=l.length-1;0<=h;h--){var v=l[h],z=v.instance,w=v.currentTarget;if(v=v.listener,z!==o&&u.isPropagationStopped())break t;o=v,u.currentTarget=w;try{o(u)}catch(U){Ju(U)}u.currentTarget=null,o=z}else for(h=0;h<l.length;h++){if(v=l[h],z=v.instance,w=v.currentTarget,v=v.listener,z!==o&&u.isPropagationStopped())break t;o=v,u.currentTarget=w;try{o(u)}catch(U){Ju(U)}u.currentTarget=null,o=z}}}}function _t(t,e){var n=e[Ir];n===void 0&&(n=e[Ir]=new Set);var l=t+"__bubble";n.has(l)||(um(e,t,2,!1),n.add(l))}function Lo(t,e,n){var l=0;e&&(l|=4),um(n,t,l,e)}var Na="_reactListening"+Math.random().toString(36).slice(2);function qo(t){if(!t[Na]){t[Na]=!0,Wf.forEach(function(n){n!=="selectionchange"&&(nS.has(n)||Lo(n,!1,t),Lo(n,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[Na]||(e[Na]=!0,Lo("selectionchange",!1,e))}}function um(t,e,n,l){switch(Nm(e)){case 2:var u=DS;break;case 8:u=wS;break;default:u=es}n=u.bind(null,e,n,t),u=void 0,!uc||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(u=!0),l?u!==void 0?t.addEventListener(e,n,{capture:!0,passive:u}):t.addEventListener(e,n,!0):u!==void 0?t.addEventListener(e,n,{passive:u}):t.addEventListener(e,n,!1)}function Yo(t,e,n,l,u){var o=l;if((e&1)===0&&(e&2)===0&&l!==null)t:for(;;){if(l===null)return;var h=l.tag;if(h===3||h===4){var v=l.stateNode.containerInfo;if(v===u)break;if(h===4)for(h=l.return;h!==null;){var z=h.tag;if((z===3||z===4)&&h.stateNode.containerInfo===u)return;h=h.return}for(;v!==null;){if(h=kl(v),h===null)return;if(z=h.tag,z===5||z===6||z===26||z===27){l=o=h;continue t}v=v.parentNode}}l=l.return}sh(function(){var w=o,U=lc(n),q=[];t:{var R=Hh.get(t);if(R!==void 0){var k=Vu,it=t;switch(t){case"keypress":if(Gu(n)===0)break t;case"keydown":case"keyup":k=Fv;break;case"focusin":it="focus",k=oc;break;case"focusout":it="blur",k=oc;break;case"beforeblur":case"afterblur":k=oc;break;case"click":if(n.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":k=dh;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":k=Bv;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":k=Wv;break;case Nh:case Uh:case jh:k=qv;break;case Bh:k=tb;break;case"scroll":case"scrollend":k=Uv;break;case"wheel":k=nb;break;case"copy":case"cut":case"paste":k=Xv;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":k=mh;break;case"toggle":case"beforetoggle":k=ib}var ft=(e&4)!==0,Yt=!ft&&(t==="scroll"||t==="scrollend"),O=ft?R!==null?R+"Capture":null:R;ft=[];for(var C=w,M;C!==null;){var H=C;if(M=H.stateNode,H=H.tag,H!==5&&H!==26&&H!==27||M===null||O===null||(H=Ui(C,O),H!=null&&ft.push(pu(C,H,M))),Yt)break;C=C.return}0<ft.length&&(R=new k(R,it,null,n,U),q.push({event:R,listeners:ft}))}}if((e&7)===0){t:{if(R=t==="mouseover"||t==="pointerover",k=t==="mouseout"||t==="pointerout",R&&n!==nc&&(it=n.relatedTarget||n.fromElement)&&(kl(it)||it[Rl]))break t;if((k||R)&&(R=U.window===U?U:(R=U.ownerDocument)?R.defaultView||R.parentWindow:window,k?(it=n.relatedTarget||n.toElement,k=w,it=it?kl(it):null,it!==null&&(Yt=f(it),ft=it.tag,it!==Yt||ft!==5&&ft!==27&&ft!==6)&&(it=null)):(k=null,it=w),k!==it)){if(ft=dh,H="onMouseLeave",O="onMouseEnter",C="mouse",(t==="pointerout"||t==="pointerover")&&(ft=mh,H="onPointerLeave",O="onPointerEnter",C="pointer"),Yt=k==null?R:Ni(k),M=it==null?R:Ni(it),R=new ft(H,C+"leave",k,n,U),R.target=Yt,R.relatedTarget=M,H=null,kl(U)===w&&(ft=new ft(O,C+"enter",it,n,U),ft.target=M,ft.relatedTarget=Yt,H=ft),Yt=H,k&&it)e:{for(ft=lS,O=k,C=it,M=0,H=O;H;H=ft(H))M++;H=0;for(var ot=C;ot;ot=ft(ot))H++;for(;0<M-H;)O=ft(O),M--;for(;0<H-M;)C=ft(C),H--;for(;M--;){if(O===C||C!==null&&O===C.alternate){ft=O;break e}O=ft(O),C=ft(C)}ft=null}else ft=null;k!==null&&am(q,R,k,ft,!1),it!==null&&Yt!==null&&am(q,Yt,it,ft,!0)}}t:{if(R=w?Ni(w):window,k=R.nodeName&&R.nodeName.toLowerCase(),k==="select"||k==="input"&&R.type==="file")var wt=Th;else if(xh(R))if(zh)wt=pb;else{wt=hb;var rt=fb}else k=R.nodeName,!k||k.toLowerCase()!=="input"||R.type!=="checkbox"&&R.type!=="radio"?w&&ec(w.elementType)&&(wt=Th):wt=db;if(wt&&(wt=wt(t,w))){Eh(q,wt,n,U);break t}rt&&rt(t,R,w),t==="focusout"&&w&&R.type==="number"&&w.memoizedProps.value!=null&&tc(R,"number",R.value)}switch(rt=w?Ni(w):window,t){case"focusin":(xh(rt)||rt.contentEditable==="true")&&(Xl=rt,mc=w,Gi=null);break;case"focusout":Gi=mc=Xl=null;break;case"mousedown":yc=!0;break;case"contextmenu":case"mouseup":case"dragend":yc=!1,Rh(q,n,U);break;case"selectionchange":if(yb)break;case"keydown":case"keyup":Rh(q,n,U)}var Tt;if(fc)t:{switch(t){case"compositionstart":var Ot="onCompositionStart";break t;case"compositionend":Ot="onCompositionEnd";break t;case"compositionupdate":Ot="onCompositionUpdate";break t}Ot=void 0}else Yl?bh(t,n)&&(Ot="onCompositionEnd"):t==="keydown"&&n.keyCode===229&&(Ot="onCompositionStart");Ot&&(yh&&n.locale!=="ko"&&(Yl||Ot!=="onCompositionStart"?Ot==="onCompositionEnd"&&Yl&&(Tt=fh()):(Nn=U,ac="value"in Nn?Nn.value:Nn.textContent,Yl=!0)),rt=Ua(w,Ot),0<rt.length&&(Ot=new ph(Ot,t,null,n,U),q.push({event:Ot,listeners:rt}),Tt?Ot.data=Tt:(Tt=Sh(n),Tt!==null&&(Ot.data=Tt)))),(Tt=ab?rb(t,n):cb(t,n))&&(Ot=Ua(w,"onBeforeInput"),0<Ot.length&&(rt=new ph("onBeforeInput","beforeinput",null,n,U),q.push({event:rt,listeners:Ot}),rt.data=Tt)),Pb(q,t,w,n,U)}im(q,e)})}function pu(t,e,n){return{instance:t,listener:e,currentTarget:n}}function Ua(t,e){for(var n=e+"Capture",l=[];t!==null;){var u=t,o=u.stateNode;if(u=u.tag,u!==5&&u!==26&&u!==27||o===null||(u=Ui(t,n),u!=null&&l.unshift(pu(t,u,o)),u=Ui(t,e),u!=null&&l.push(pu(t,u,o))),t.tag===3)return l;t=t.return}return[]}function lS(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function am(t,e,n,l,u){for(var o=e._reactName,h=[];n!==null&&n!==l;){var v=n,z=v.alternate,w=v.stateNode;if(v=v.tag,z!==null&&z===l)break;v!==5&&v!==26&&v!==27||w===null||(z=w,u?(w=Ui(n,o),w!=null&&h.unshift(pu(n,w,z))):u||(w=Ui(n,o),w!=null&&h.push(pu(n,w,z)))),n=n.return}h.length!==0&&t.push({event:e,listeners:h})}var iS=/\r\n?/g,uS=/\u0000|\uFFFD/g;function rm(t){return(typeof t=="string"?t:""+t).replace(iS,`
|
|
9
|
-
`).replace(uS,"")}function cm(t,e){return e=rm(e),rm(t)===e}function qt(t,e,n,l,u,o){switch(n){case"children":typeof l=="string"?e==="body"||e==="textarea"&&l===""||Hl(t,l):(typeof l=="number"||typeof l=="bigint")&&e!=="body"&&Hl(t,""+l);break;case"className":Lu(t,"class",l);break;case"tabIndex":Lu(t,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":Lu(t,n,l);break;case"style":ch(t,l,o);break;case"data":if(e!=="object"){Lu(t,"data",l);break}case"src":case"href":if(l===""&&(e!=="a"||n!=="href")){t.removeAttribute(n);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(n);break}l=Yu(""+l),t.setAttribute(n,l);break;case"action":case"formAction":if(typeof l=="function"){t.setAttribute(n,"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 o=="function"&&(n==="formAction"?(e!=="input"&&qt(t,e,"name",u.name,u,null),qt(t,e,"formEncType",u.formEncType,u,null),qt(t,e,"formMethod",u.formMethod,u,null),qt(t,e,"formTarget",u.formTarget,u,null)):(qt(t,e,"encType",u.encType,u,null),qt(t,e,"method",u.method,u,null),qt(t,e,"target",u.target,u,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(n);break}l=Yu(""+l),t.setAttribute(n,l);break;case"onClick":l!=null&&(t.onclick=dn);break;case"onScroll":l!=null&&_t("scroll",t);break;case"onScrollEnd":l!=null&&_t("scrollend",t);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(c(61));if(n=l.__html,n!=null){if(u.children!=null)throw Error(c(60));t.innerHTML=n}}break;case"multiple":t.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":t.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){t.removeAttribute("xlink:href");break}n=Yu(""+l),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(n,""+l):t.removeAttribute(n);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":l&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(n,""):t.removeAttribute(n);break;case"capture":case"download":l===!0?t.setAttribute(n,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(n,l):t.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?t.setAttribute(n,l):t.removeAttribute(n);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?t.removeAttribute(n):t.setAttribute(n,l);break;case"popover":_t("beforetoggle",t),_t("toggle",t),Hu(t,"popover",l);break;case"xlinkActuate":hn(t,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":hn(t,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":hn(t,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":hn(t,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":hn(t,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":hn(t,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":hn(t,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":hn(t,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":hn(t,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":Hu(t,"is",l);break;case"innerText":case"textContent":break;default:(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(n=kv.get(n)||n,Hu(t,n,l))}}function Xo(t,e,n,l,u,o){switch(n){case"style":ch(t,l,o);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(c(61));if(n=l.__html,n!=null){if(u.children!=null)throw Error(c(60));t.innerHTML=n}}break;case"children":typeof l=="string"?Hl(t,l):(typeof l=="number"||typeof l=="bigint")&&Hl(t,""+l);break;case"onScroll":l!=null&&_t("scroll",t);break;case"onScrollEnd":l!=null&&_t("scrollend",t);break;case"onClick":l!=null&&(t.onclick=dn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Pf.hasOwnProperty(n))t:{if(n[0]==="o"&&n[1]==="n"&&(u=n.endsWith("Capture"),e=n.slice(2,u?n.length-7:void 0),o=t[Te]||null,o=o!=null?o[n]:null,typeof o=="function"&&t.removeEventListener(e,o,u),typeof l=="function")){typeof o!="function"&&o!==null&&(n in t?t[n]=null:t.hasAttribute(n)&&t.removeAttribute(n)),t.addEventListener(e,l,u);break t}n in t?t[n]=l:l===!0?t.setAttribute(n,""):Hu(t,n,l)}}}function he(t,e,n){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":_t("error",t),_t("load",t);var l=!1,u=!1,o;for(o in n)if(n.hasOwnProperty(o)){var h=n[o];if(h!=null)switch(o){case"src":l=!0;break;case"srcSet":u=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(c(137,e));default:qt(t,e,o,h,n,null)}}u&&qt(t,e,"srcSet",n.srcSet,n,null),l&&qt(t,e,"src",n.src,n,null);return;case"input":_t("invalid",t);var v=o=h=u=null,z=null,w=null;for(l in n)if(n.hasOwnProperty(l)){var U=n[l];if(U!=null)switch(l){case"name":u=U;break;case"type":h=U;break;case"checked":z=U;break;case"defaultChecked":w=U;break;case"value":o=U;break;case"defaultValue":v=U;break;case"children":case"dangerouslySetInnerHTML":if(U!=null)throw Error(c(137,e));break;default:qt(t,e,l,U,n,null)}}ih(t,o,v,z,w,h,u,!1);return;case"select":_t("invalid",t),l=h=o=null;for(u in n)if(n.hasOwnProperty(u)&&(v=n[u],v!=null))switch(u){case"value":o=v;break;case"defaultValue":h=v;break;case"multiple":l=v;default:qt(t,e,u,v,n,null)}e=o,n=h,t.multiple=!!l,e!=null?Bl(t,!!l,e,!1):n!=null&&Bl(t,!!l,n,!0);return;case"textarea":_t("invalid",t),o=u=l=null;for(h in n)if(n.hasOwnProperty(h)&&(v=n[h],v!=null))switch(h){case"value":l=v;break;case"defaultValue":u=v;break;case"children":o=v;break;case"dangerouslySetInnerHTML":if(v!=null)throw Error(c(91));break;default:qt(t,e,h,v,n,null)}ah(t,l,u,o);return;case"option":for(z in n)n.hasOwnProperty(z)&&(l=n[z],l!=null)&&(z==="selected"?t.selected=l&&typeof l!="function"&&typeof l!="symbol":qt(t,e,z,l,n,null));return;case"dialog":_t("beforetoggle",t),_t("toggle",t),_t("cancel",t),_t("close",t);break;case"iframe":case"object":_t("load",t);break;case"video":case"audio":for(l=0;l<du.length;l++)_t(du[l],t);break;case"image":_t("error",t),_t("load",t);break;case"details":_t("toggle",t);break;case"embed":case"source":case"link":_t("error",t),_t("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(w in n)if(n.hasOwnProperty(w)&&(l=n[w],l!=null))switch(w){case"children":case"dangerouslySetInnerHTML":throw Error(c(137,e));default:qt(t,e,w,l,n,null)}return;default:if(ec(e)){for(U in n)n.hasOwnProperty(U)&&(l=n[U],l!==void 0&&Xo(t,e,U,l,n,void 0));return}}for(v in n)n.hasOwnProperty(v)&&(l=n[v],l!=null&&qt(t,e,v,l,n,null))}function aS(t,e,n,l){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var u=null,o=null,h=null,v=null,z=null,w=null,U=null;for(k in n){var q=n[k];if(n.hasOwnProperty(k)&&q!=null)switch(k){case"checked":break;case"value":break;case"defaultValue":z=q;default:l.hasOwnProperty(k)||qt(t,e,k,null,l,q)}}for(var R in l){var k=l[R];if(q=n[R],l.hasOwnProperty(R)&&(k!=null||q!=null))switch(R){case"type":o=k;break;case"name":u=k;break;case"checked":w=k;break;case"defaultChecked":U=k;break;case"value":h=k;break;case"defaultValue":v=k;break;case"children":case"dangerouslySetInnerHTML":if(k!=null)throw Error(c(137,e));break;default:k!==q&&qt(t,e,R,k,l,q)}}Pr(t,h,v,z,w,U,o,u);return;case"select":k=h=v=R=null;for(o in n)if(z=n[o],n.hasOwnProperty(o)&&z!=null)switch(o){case"value":break;case"multiple":k=z;default:l.hasOwnProperty(o)||qt(t,e,o,null,l,z)}for(u in l)if(o=l[u],z=n[u],l.hasOwnProperty(u)&&(o!=null||z!=null))switch(u){case"value":R=o;break;case"defaultValue":v=o;break;case"multiple":h=o;default:o!==z&&qt(t,e,u,o,l,z)}e=v,n=h,l=k,R!=null?Bl(t,!!n,R,!1):!!l!=!!n&&(e!=null?Bl(t,!!n,e,!0):Bl(t,!!n,n?[]:"",!1));return;case"textarea":k=R=null;for(v in n)if(u=n[v],n.hasOwnProperty(v)&&u!=null&&!l.hasOwnProperty(v))switch(v){case"value":break;case"children":break;default:qt(t,e,v,null,l,u)}for(h in l)if(u=l[h],o=n[h],l.hasOwnProperty(h)&&(u!=null||o!=null))switch(h){case"value":R=u;break;case"defaultValue":k=u;break;case"children":break;case"dangerouslySetInnerHTML":if(u!=null)throw Error(c(91));break;default:u!==o&&qt(t,e,h,u,l,o)}uh(t,R,k);return;case"option":for(var it in n)R=n[it],n.hasOwnProperty(it)&&R!=null&&!l.hasOwnProperty(it)&&(it==="selected"?t.selected=!1:qt(t,e,it,null,l,R));for(z in l)R=l[z],k=n[z],l.hasOwnProperty(z)&&R!==k&&(R!=null||k!=null)&&(z==="selected"?t.selected=R&&typeof R!="function"&&typeof R!="symbol":qt(t,e,z,R,l,k));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 ft in n)R=n[ft],n.hasOwnProperty(ft)&&R!=null&&!l.hasOwnProperty(ft)&&qt(t,e,ft,null,l,R);for(w in l)if(R=l[w],k=n[w],l.hasOwnProperty(w)&&R!==k&&(R!=null||k!=null))switch(w){case"children":case"dangerouslySetInnerHTML":if(R!=null)throw Error(c(137,e));break;default:qt(t,e,w,R,l,k)}return;default:if(ec(e)){for(var Yt in n)R=n[Yt],n.hasOwnProperty(Yt)&&R!==void 0&&!l.hasOwnProperty(Yt)&&Xo(t,e,Yt,void 0,l,R);for(U in l)R=l[U],k=n[U],!l.hasOwnProperty(U)||R===k||R===void 0&&k===void 0||Xo(t,e,U,R,l,k);return}}for(var O in n)R=n[O],n.hasOwnProperty(O)&&R!=null&&!l.hasOwnProperty(O)&&qt(t,e,O,null,l,R);for(q in l)R=l[q],k=n[q],!l.hasOwnProperty(q)||R===k||R==null&&k==null||qt(t,e,q,R,l,k)}function om(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function rS(){if(typeof performance.getEntriesByType=="function"){for(var t=0,e=0,n=performance.getEntriesByType("resource"),l=0;l<n.length;l++){var u=n[l],o=u.transferSize,h=u.initiatorType,v=u.duration;if(o&&v&&om(h)){for(h=0,v=u.responseEnd,l+=1;l<n.length;l++){var z=n[l],w=z.startTime;if(w>v)break;var U=z.transferSize,q=z.initiatorType;U&&om(q)&&(z=z.responseEnd,h+=U*(z<v?1:(v-w)/(z-w)))}if(--l,e+=8*(o+h)/(u.duration/1e3),t++,10<t)break}}if(0<t)return e/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var Go=null,Qo=null;function ja(t){return t.nodeType===9?t:t.ownerDocument}function sm(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function fm(t,e){if(t===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&e==="foreignObject"?0:t}function Vo(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var Zo=null;function cS(){var t=window.event;return t&&t.type==="popstate"?t===Zo?!1:(Zo=t,!0):(Zo=null,!1)}var hm=typeof setTimeout=="function"?setTimeout:void 0,oS=typeof clearTimeout=="function"?clearTimeout:void 0,dm=typeof Promise=="function"?Promise:void 0,sS=typeof queueMicrotask=="function"?queueMicrotask:typeof dm<"u"?function(t){return dm.resolve(null).then(t).catch(fS)}:hm;function fS(t){setTimeout(function(){throw t})}function $n(t){return t==="head"}function pm(t,e){var n=e,l=0;do{var u=n.nextSibling;if(t.removeChild(n),u&&u.nodeType===8)if(n=u.data,n==="/$"||n==="/&"){if(l===0){t.removeChild(u),mi(e);return}l--}else if(n==="$"||n==="$?"||n==="$~"||n==="$!"||n==="&")l++;else if(n==="html")mu(t.ownerDocument.documentElement);else if(n==="head"){n=t.ownerDocument.head,mu(n);for(var o=n.firstChild;o;){var h=o.nextSibling,v=o.nodeName;o[ki]||v==="SCRIPT"||v==="STYLE"||v==="LINK"&&o.rel.toLowerCase()==="stylesheet"||n.removeChild(o),o=h}}else n==="body"&&mu(t.ownerDocument.body);n=u}while(n);mi(e)}function mm(t,e){var n=t;t=0;do{var l=n.nextSibling;if(n.nodeType===1?e?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(e?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),l&&l.nodeType===8)if(n=l.data,n==="/$"){if(t===0)break;t--}else n!=="$"&&n!=="$?"&&n!=="$~"&&n!=="$!"||t++;n=l}while(n)}function Ko(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var n=e;switch(e=e.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":Ko(n),$r(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}t.removeChild(n)}}function hS(t,e,n,l){for(;t.nodeType===1;){var u=n;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!l&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(l){if(!t[ki])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(o=t.getAttribute("rel"),o==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(o!==u.rel||t.getAttribute("href")!==(u.href==null||u.href===""?null:u.href)||t.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin)||t.getAttribute("title")!==(u.title==null?null:u.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(o=t.getAttribute("src"),(o!==(u.src==null?null:u.src)||t.getAttribute("type")!==(u.type==null?null:u.type)||t.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin))&&o&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var o=u.name==null?null:""+u.name;if(u.type==="hidden"&&t.getAttribute("name")===o)return t}else return t;if(t=Fe(t.nextSibling),t===null)break}return null}function dS(t,e,n){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!n||(t=Fe(t.nextSibling),t===null))return null;return t}function ym(t,e){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=Fe(t.nextSibling),t===null))return null;return t}function Jo(t){return t.data==="$?"||t.data==="$~"}function Fo(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function pS(t,e){var n=t.ownerDocument;if(t.data==="$~")t._reactRetry=e;else if(t.data!=="$?"||n.readyState!=="loading")e();else{var l=function(){e(),n.removeEventListener("DOMContentLoaded",l)};n.addEventListener("DOMContentLoaded",l),t._reactRetry=l}}function Fe(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"||e==="F!"||e==="F")break;if(e==="/$"||e==="/&")return null}}return t}var Io=null;function gm(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="/$"||n==="/&"){if(e===0)return Fe(t.nextSibling);e--}else n!=="$"&&n!=="$!"&&n!=="$?"&&n!=="$~"&&n!=="&"||e++}t=t.nextSibling}return null}function vm(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"){if(e===0)return t;e--}else n!=="/$"&&n!=="/&"||e++}t=t.previousSibling}return null}function bm(t,e,n){switch(e=ja(n),t){case"html":if(t=e.documentElement,!t)throw Error(c(452));return t;case"head":if(t=e.head,!t)throw Error(c(453));return t;case"body":if(t=e.body,!t)throw Error(c(454));return t;default:throw Error(c(451))}}function mu(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);$r(t)}var Ie=new Map,Sm=new Set;function Ba(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var Mn=G.d;G.d={f:mS,r:yS,D:gS,C:vS,L:bS,m:SS,X:ES,S:xS,M:TS};function mS(){var t=Mn.f(),e=Oa();return t||e}function yS(t){var e=Nl(t);e!==null&&e.tag===5&&e.type==="form"?Bd(e):Mn.r(t)}var hi=typeof document>"u"?null:document;function xm(t,e,n){var l=hi;if(l&&typeof e=="string"&&e){var u=Xe(e);u='link[rel="'+t+'"][href="'+u+'"]',typeof n=="string"&&(u+='[crossorigin="'+n+'"]'),Sm.has(u)||(Sm.add(u),t={rel:t,crossOrigin:n,href:e},l.querySelector(u)===null&&(e=l.createElement("link"),he(e,"link",t),ae(e),l.head.appendChild(e)))}}function gS(t){Mn.D(t),xm("dns-prefetch",t,null)}function vS(t,e){Mn.C(t,e),xm("preconnect",t,e)}function bS(t,e,n){Mn.L(t,e,n);var l=hi;if(l&&t&&e){var u='link[rel="preload"][as="'+Xe(e)+'"]';e==="image"&&n&&n.imageSrcSet?(u+='[imagesrcset="'+Xe(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(u+='[imagesizes="'+Xe(n.imageSizes)+'"]')):u+='[href="'+Xe(t)+'"]';var o=u;switch(e){case"style":o=di(t);break;case"script":o=pi(t)}Ie.has(o)||(t=x({rel:"preload",href:e==="image"&&n&&n.imageSrcSet?void 0:t,as:e},n),Ie.set(o,t),l.querySelector(u)!==null||e==="style"&&l.querySelector(yu(o))||e==="script"&&l.querySelector(gu(o))||(e=l.createElement("link"),he(e,"link",t),ae(e),l.head.appendChild(e)))}}function SS(t,e){Mn.m(t,e);var n=hi;if(n&&t){var l=e&&typeof e.as=="string"?e.as:"script",u='link[rel="modulepreload"][as="'+Xe(l)+'"][href="'+Xe(t)+'"]',o=u;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":o=pi(t)}if(!Ie.has(o)&&(t=x({rel:"modulepreload",href:t},e),Ie.set(o,t),n.querySelector(u)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(gu(o)))return}l=n.createElement("link"),he(l,"link",t),ae(l),n.head.appendChild(l)}}}function xS(t,e,n){Mn.S(t,e,n);var l=hi;if(l&&t){var u=Ul(l).hoistableStyles,o=di(t);e=e||"default";var h=u.get(o);if(!h){var v={loading:0,preload:null};if(h=l.querySelector(yu(o)))v.loading=5;else{t=x({rel:"stylesheet",href:t,"data-precedence":e},n),(n=Ie.get(o))&&$o(t,n);var z=h=l.createElement("link");ae(z),he(z,"link",t),z._p=new Promise(function(w,U){z.onload=w,z.onerror=U}),z.addEventListener("load",function(){v.loading|=1}),z.addEventListener("error",function(){v.loading|=2}),v.loading|=4,Ha(h,e,l)}h={type:"stylesheet",instance:h,count:1,state:v},u.set(o,h)}}}function ES(t,e){Mn.X(t,e);var n=hi;if(n&&t){var l=Ul(n).hoistableScripts,u=pi(t),o=l.get(u);o||(o=n.querySelector(gu(u)),o||(t=x({src:t,async:!0},e),(e=Ie.get(u))&&Wo(t,e),o=n.createElement("script"),ae(o),he(o,"link",t),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},l.set(u,o))}}function TS(t,e){Mn.M(t,e);var n=hi;if(n&&t){var l=Ul(n).hoistableScripts,u=pi(t),o=l.get(u);o||(o=n.querySelector(gu(u)),o||(t=x({src:t,async:!0,type:"module"},e),(e=Ie.get(u))&&Wo(t,e),o=n.createElement("script"),ae(o),he(o,"link",t),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},l.set(u,o))}}function Em(t,e,n,l){var u=(u=F.current)?Ba(u):null;if(!u)throw Error(c(446));switch(t){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(e=di(n.href),n=Ul(u).hoistableStyles,l=n.get(e),l||(l={type:"style",instance:null,count:0,state:null},n.set(e,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){t=di(n.href);var o=Ul(u).hoistableStyles,h=o.get(t);if(h||(u=u.ownerDocument||u,h={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},o.set(t,h),(o=u.querySelector(yu(t)))&&!o._p&&(h.instance=o,h.state.loading=5),Ie.has(t)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Ie.set(t,n),o||zS(u,t,n,h.state))),e&&l===null)throw Error(c(528,""));return h}if(e&&l!==null)throw Error(c(529,""));return null;case"script":return e=n.async,n=n.src,typeof n=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=pi(n),n=Ul(u).hoistableScripts,l=n.get(e),l||(l={type:"script",instance:null,count:0,state:null},n.set(e,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(c(444,t))}}function di(t){return'href="'+Xe(t)+'"'}function yu(t){return'link[rel="stylesheet"]['+t+"]"}function Tm(t){return x({},t,{"data-precedence":t.precedence,precedence:null})}function zS(t,e,n,l){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?l.loading=1:(e=t.createElement("link"),l.preload=e,e.addEventListener("load",function(){return l.loading|=1}),e.addEventListener("error",function(){return l.loading|=2}),he(e,"link",n),ae(e),t.head.appendChild(e))}function pi(t){return'[src="'+Xe(t)+'"]'}function gu(t){return"script[async]"+t}function zm(t,e,n){if(e.count++,e.instance===null)switch(e.type){case"style":var l=t.querySelector('style[data-href~="'+Xe(n.href)+'"]');if(l)return e.instance=l,ae(l),l;var u=x({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return l=(t.ownerDocument||t).createElement("style"),ae(l),he(l,"style",u),Ha(l,n.precedence,t),e.instance=l;case"stylesheet":u=di(n.href);var o=t.querySelector(yu(u));if(o)return e.state.loading|=4,e.instance=o,ae(o),o;l=Tm(n),(u=Ie.get(u))&&$o(l,u),o=(t.ownerDocument||t).createElement("link"),ae(o);var h=o;return h._p=new Promise(function(v,z){h.onload=v,h.onerror=z}),he(o,"link",l),e.state.loading|=4,Ha(o,n.precedence,t),e.instance=o;case"script":return o=pi(n.src),(u=t.querySelector(gu(o)))?(e.instance=u,ae(u),u):(l=n,(u=Ie.get(o))&&(l=x({},n),Wo(l,u)),t=t.ownerDocument||t,u=t.createElement("script"),ae(u),he(u,"link",l),t.head.appendChild(u),e.instance=u);case"void":return null;default:throw Error(c(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(l=e.instance,e.state.loading|=4,Ha(l,n.precedence,t));return e.instance}function Ha(t,e,n){for(var l=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),u=l.length?l[l.length-1]:null,o=u,h=0;h<l.length;h++){var v=l[h];if(v.dataset.precedence===e)o=v;else if(o!==u)break}o?o.parentNode.insertBefore(t,o.nextSibling):(e=n.nodeType===9?n.head:n,e.insertBefore(t,e.firstChild))}function $o(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function Wo(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var La=null;function Am(t,e,n){if(La===null){var l=new Map,u=La=new Map;u.set(n,l)}else u=La,l=u.get(n),l||(l=new Map,u.set(n,l));if(l.has(t))return l;for(l.set(t,null),n=n.getElementsByTagName(t),u=0;u<n.length;u++){var o=n[u];if(!(o[ki]||o[ce]||t==="link"&&o.getAttribute("rel")==="stylesheet")&&o.namespaceURI!=="http://www.w3.org/2000/svg"){var h=o.getAttribute(e)||"";h=t+h;var v=l.get(h);v?v.push(o):l.set(h,[o])}}return l}function _m(t,e,n){t=t.ownerDocument||t,t.head.insertBefore(n,e==="title"?t.querySelector("head > title"):null)}function AS(t,e,n){if(n===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;return e.rel==="stylesheet"?(t=e.disabled,typeof e.precedence=="string"&&t==null):!0;case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function Cm(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function _S(t,e,n,l){if(n.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var u=di(l.href),o=e.querySelector(yu(u));if(o){e=o._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=qa.bind(t),e.then(t,t)),n.state.loading|=4,n.instance=o,ae(o);return}o=e.ownerDocument||e,l=Tm(l),(u=Ie.get(u))&&$o(l,u),o=o.createElement("link"),ae(o);var h=o;h._p=new Promise(function(v,z){h.onload=v,h.onerror=z}),he(o,"link",l),n.instance=o}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(n,e),(e=n.state.preload)&&(n.state.loading&3)===0&&(t.count++,n=qa.bind(t),e.addEventListener("load",n),e.addEventListener("error",n))}}var Po=0;function CS(t,e){return t.stylesheets&&t.count===0&&Xa(t,t.stylesheets),0<t.count||0<t.imgCount?function(n){var l=setTimeout(function(){if(t.stylesheets&&Xa(t,t.stylesheets),t.unsuspend){var o=t.unsuspend;t.unsuspend=null,o()}},6e4+e);0<t.imgBytes&&Po===0&&(Po=62500*rS());var u=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&Xa(t,t.stylesheets),t.unsuspend)){var o=t.unsuspend;t.unsuspend=null,o()}},(t.imgBytes>Po?50:800)+e);return t.unsuspend=n,function(){t.unsuspend=null,clearTimeout(l),clearTimeout(u)}}:null}function qa(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Xa(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var Ya=null;function Xa(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Ya=new Map,e.forEach(OS,t),Ya=null,qa.call(t))}function OS(t,e){if(!(e.state.loading&4)){var n=Ya.get(t);if(n)var l=n.get(null);else{n=new Map,Ya.set(t,n);for(var u=t.querySelectorAll("link[data-precedence],style[data-precedence]"),o=0;o<u.length;o++){var h=u[o];(h.nodeName==="LINK"||h.getAttribute("media")!=="not all")&&(n.set(h.dataset.precedence,h),l=h)}l&&n.set(null,l)}u=e.instance,h=u.getAttribute("data-precedence"),o=n.get(h)||l,o===l&&n.set(null,u),n.set(h,u),this.count++,l=qa.bind(this),u.addEventListener("load",l),u.addEventListener("error",l),o?o.parentNode.insertBefore(u,o.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(u,t.firstChild)),e.state.loading|=4}}var vu={$$typeof:K,Provider:null,Consumer:null,_currentValue:ut,_currentValue2:ut,_threadCount:0};function MS(t,e,n,l,u,o,h,v,z){this.tag=1,this.containerInfo=t,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=Kr(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Kr(0),this.hiddenUpdates=Kr(null),this.identifierPrefix=l,this.onUncaughtError=u,this.onCaughtError=o,this.onRecoverableError=h,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=z,this.incompleteTransitions=new Map}function Om(t,e,n,l,u,o,h,v,z,w,U,q){return t=new MS(t,e,n,h,z,w,U,q,v),e=1,o===!0&&(e|=24),o=Ne(3,null,null,e),t.current=o,o.stateNode=t,e=wc(),e.refCount++,t.pooledCache=e,e.refCount++,o.memoizedState={element:l,isDehydrated:n,cache:e},Uc(o),t}function Mm(t){return t?(t=Vl,t):Vl}function Dm(t,e,n,l,u,o){u=Mm(u),l.context===null?l.context=u:l.pendingContext=u,l=qn(e),l.payload={element:n},o=o===void 0?null:o,o!==null&&(l.callback=o),n=Yn(t,l,e),n!==null&&(Me(n,t,e),Ii(n,t,e))}function wm(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var n=t.retryLane;t.retryLane=n!==0&&n<e?n:e}}function ts(t,e){wm(t,e),(t=t.alternate)&&wm(t,e)}function Rm(t){if(t.tag===13||t.tag===31){var e=sl(t,67108864);e!==null&&Me(e,t,67108864),ts(t,67108864)}}function km(t){if(t.tag===13||t.tag===31){var e=Le();e=Jr(e);var n=sl(t,e);n!==null&&Me(n,t,e),ts(t,e)}}var Ga=!0;function DS(t,e,n,l){var u=D.T;D.T=null;var o=G.p;try{G.p=2,es(t,e,n,l)}finally{G.p=o,D.T=u}}function wS(t,e,n,l){var u=D.T;D.T=null;var o=G.p;try{G.p=8,es(t,e,n,l)}finally{G.p=o,D.T=u}}function es(t,e,n,l){if(Ga){var u=ns(l);if(u===null)Yo(t,e,l,Qa,n),Um(t,l);else if(kS(u,t,e,n,l))l.stopPropagation();else if(Um(t,l),e&4&&-1<RS.indexOf(t)){for(;u!==null;){var o=Nl(u);if(o!==null)switch(o.tag){case 3:if(o=o.stateNode,o.current.memoizedState.isDehydrated){var h=ul(o.pendingLanes);if(h!==0){var v=o;for(v.pendingLanes|=2,v.entangledLanes|=2;h;){var z=1<<31-Gt(h);v.entanglements[1]|=z,h&=~z}cn(o),(Nt&6)===0&&(_a=me()+500,hu(0))}}break;case 31:case 13:v=sl(o,2),v!==null&&Me(v,o,2),Oa(),ts(o,2)}if(o=ns(l),o===null&&Yo(t,e,l,Qa,n),o===u)break;u=o}u!==null&&l.stopPropagation()}else Yo(t,e,l,null,n)}}function ns(t){return t=lc(t),ls(t)}var Qa=null;function ls(t){if(Qa=null,t=kl(t),t!==null){var e=f(t);if(e===null)t=null;else{var n=e.tag;if(n===13){if(t=d(e),t!==null)return t;t=null}else if(n===31){if(t=m(e),t!==null)return t;t=null}else if(n===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return Qa=t,null}function Nm(t){switch(t){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(Zr()){case B:return 2;case W:return 8;case pt:case zt:return 32;case jt:return 268435456;default:return 32}default:return 32}}var is=!1,Wn=null,Pn=null,tl=null,bu=new Map,Su=new Map,el=[],RS="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 Um(t,e){switch(t){case"focusin":case"focusout":Wn=null;break;case"dragenter":case"dragleave":Pn=null;break;case"mouseover":case"mouseout":tl=null;break;case"pointerover":case"pointerout":bu.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Su.delete(e.pointerId)}}function xu(t,e,n,l,u,o){return t===null||t.nativeEvent!==o?(t={blockedOn:e,domEventName:n,eventSystemFlags:l,nativeEvent:o,targetContainers:[u]},e!==null&&(e=Nl(e),e!==null&&Rm(e)),t):(t.eventSystemFlags|=l,e=t.targetContainers,u!==null&&e.indexOf(u)===-1&&e.push(u),t)}function kS(t,e,n,l,u){switch(e){case"focusin":return Wn=xu(Wn,t,e,n,l,u),!0;case"dragenter":return Pn=xu(Pn,t,e,n,l,u),!0;case"mouseover":return tl=xu(tl,t,e,n,l,u),!0;case"pointerover":var o=u.pointerId;return bu.set(o,xu(bu.get(o)||null,t,e,n,l,u)),!0;case"gotpointercapture":return o=u.pointerId,Su.set(o,xu(Su.get(o)||null,t,e,n,l,u)),!0}return!1}function jm(t){var e=kl(t.target);if(e!==null){var n=f(e);if(n!==null){if(e=n.tag,e===13){if(e=d(n),e!==null){t.blockedOn=e,If(t.priority,function(){km(n)});return}}else if(e===31){if(e=m(n),e!==null){t.blockedOn=e,If(t.priority,function(){km(n)});return}}else if(e===3&&n.stateNode.current.memoizedState.isDehydrated){t.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Va(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var n=ns(t.nativeEvent);if(n===null){n=t.nativeEvent;var l=new n.constructor(n.type,n);nc=l,n.target.dispatchEvent(l),nc=null}else return e=Nl(n),e!==null&&Rm(e),t.blockedOn=n,!1;e.shift()}return!0}function Bm(t,e,n){Va(t)&&n.delete(e)}function NS(){is=!1,Wn!==null&&Va(Wn)&&(Wn=null),Pn!==null&&Va(Pn)&&(Pn=null),tl!==null&&Va(tl)&&(tl=null),bu.forEach(Bm),Su.forEach(Bm)}function Za(t,e){t.blockedOn===e&&(t.blockedOn=null,is||(is=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,NS)))}var Ka=null;function Hm(t){Ka!==t&&(Ka=t,i.unstable_scheduleCallback(i.unstable_NormalPriority,function(){Ka===t&&(Ka=null);for(var e=0;e<t.length;e+=3){var n=t[e],l=t[e+1],u=t[e+2];if(typeof l!="function"){if(ls(l||n)===null)continue;break}var o=Nl(n);o!==null&&(t.splice(e,3),e-=3,eo(o,{pending:!0,data:u,method:n.method,action:l},l,u))}}))}function mi(t){function e(z){return Za(z,t)}Wn!==null&&Za(Wn,t),Pn!==null&&Za(Pn,t),tl!==null&&Za(tl,t),bu.forEach(e),Su.forEach(e);for(var n=0;n<el.length;n++){var l=el[n];l.blockedOn===t&&(l.blockedOn=null)}for(;0<el.length&&(n=el[0],n.blockedOn===null);)jm(n),n.blockedOn===null&&el.shift();if(n=(t.ownerDocument||t).$$reactFormReplay,n!=null)for(l=0;l<n.length;l+=3){var u=n[l],o=n[l+1],h=u[Te]||null;if(typeof o=="function")h||Hm(n);else if(h){var v=null;if(o&&o.hasAttribute("formAction")){if(u=o,h=o[Te]||null)v=h.formAction;else if(ls(u)!==null)continue}else v=h.action;typeof v=="function"?n[l+1]=v:(n.splice(l,3),l-=3),Hm(n)}}}function Lm(){function t(o){o.canIntercept&&o.info==="react-transition"&&o.intercept({handler:function(){return new Promise(function(h){return u=h})},focusReset:"manual",scroll:"manual"})}function e(){u!==null&&(u(),u=null),l||setTimeout(n,20)}function n(){if(!l&&!navigation.transition){var o=navigation.currentEntry;o&&o.url!=null&&navigation.navigate(o.url,{state:o.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var l=!1,u=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(n,100),function(){l=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),u!==null&&(u(),u=null)}}}function us(t){this._internalRoot=t}Ja.prototype.render=us.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(c(409));var n=e.current,l=Le();Dm(n,l,t,e,null,null)},Ja.prototype.unmount=us.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;Dm(t.current,2,null,t,null,null),Oa(),e[Rl]=null}};function Ja(t){this._internalRoot=t}Ja.prototype.unstable_scheduleHydration=function(t){if(t){var e=Ff();t={blockedOn:null,target:t,priority:e};for(var n=0;n<el.length&&e!==0&&e<el[n].priority;n++);el.splice(n,0,t),n===0&&jm(t)}};var qm=a.version;if(qm!=="19.2.7")throw Error(c(527,qm,"19.2.7"));G.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(c(188)):(t=Object.keys(t).join(","),Error(c(268,t)));return t=p(e),t=t!==null?b(t):null,t=t===null?null:t.stateNode,t};var US={bundleType:0,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:D,reconcilerVersion:"19.2.7"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Fa=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Fa.isDisabled&&Fa.supportsFiber)try{ye=Fa.inject(US),ie=Fa}catch{}}return yi.createRoot=function(t,e){if(!s(t))throw Error(c(299));var n=!1,l="",u=Kd,o=Jd,h=Fd;return e!=null&&(e.unstable_strictMode===!0&&(n=!0),e.identifierPrefix!==void 0&&(l=e.identifierPrefix),e.onUncaughtError!==void 0&&(u=e.onUncaughtError),e.onCaughtError!==void 0&&(o=e.onCaughtError),e.onRecoverableError!==void 0&&(h=e.onRecoverableError)),e=Om(t,1,!1,null,null,n,l,null,u,o,h,Lm),t[Rl]=e.current,qo(t),new us(e)},yi.hydrateRoot=function(t,e,n){if(!s(t))throw Error(c(299));var l=!1,u="",o=Kd,h=Jd,v=Fd,z=null;return n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(u=n.identifierPrefix),n.onUncaughtError!==void 0&&(o=n.onUncaughtError),n.onCaughtError!==void 0&&(h=n.onCaughtError),n.onRecoverableError!==void 0&&(v=n.onRecoverableError),n.formState!==void 0&&(z=n.formState)),e=Om(t,1,!0,e,n??null,l,u,z,o,h,v,Lm),e.context=Mm(null),n=e.current,l=Le(),l=Jr(l),u=qn(l),u.callback=null,Yn(n,u,l),n=l,e.current.lanes=n,Ri(e,n),cn(e),t[Rl]=e.current,qo(t),new Ja(e)},yi.version="19.2.7",yi}var ps;function Km(){if(ps)return Wa.exports;ps=1;function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(a){console.error(a)}}return i(),Wa.exports=Zm(),Wa.exports}var Jm=Km(),nr={exports:{}},gi={};var ms;function Fm(){if(ms)return gi;ms=1;var i=Symbol.for("react.transitional.element"),a=Symbol.for("react.fragment");function r(c,s,f){var d=null;if(f!==void 0&&(d=""+f),s.key!==void 0&&(d=""+s.key),"key"in s){f={};for(var m in s)m!=="key"&&(f[m]=s[m])}else f=s;return s=f.ref,{$$typeof:i,type:c,key:d,ref:s!==void 0?s:null,props:f}}return gi.Fragment=a,gi.jsx=r,gi.jsxs=r,gi}var ys;function Im(){return ys||(ys=1,nr.exports=Fm()),nr.exports}var Q=Im();function BS(){}function HS(){}function $m(i,a){const r={};return(i[i.length-1]===""?[...i,""]:i).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}const Wm=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Pm=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,ty={};function gs(i,a){return(ty.jsx?Pm:Wm).test(i)}const ey=/[ \t\n\f\r]/g;function ny(i){return typeof i=="object"?i.type==="text"?vs(i.value):!1:vs(i)}function vs(i){return i.replace(ey,"")===""}class vi{constructor(a,r,c){this.normal=r,this.property=a,c&&(this.space=c)}}vi.prototype.normal={},vi.prototype.property={},vi.prototype.space=void 0;function bs(i,a){const r={},c={};for(const s of i)Object.assign(r,s.property),Object.assign(c,s.normal);return new vi(r,c,a)}function lr(i){return i.toLowerCase()}class ve{constructor(a,r){this.attribute=r,this.property=a}}ve.prototype.attribute="",ve.prototype.booleanish=!1,ve.prototype.boolean=!1,ve.prototype.commaOrSpaceSeparated=!1,ve.prototype.commaSeparated=!1,ve.prototype.defined=!1,ve.prototype.mustUseProperty=!1,ve.prototype.number=!1,ve.prototype.overloadedBoolean=!1,ve.prototype.property="",ve.prototype.spaceSeparated=!1,ve.prototype.space=void 0;let ly=0;const yt=il(),Pt=il(),ir=il(),Z=il(),Xt=il(),ll=il(),De=il();function il(){return 2**++ly}const ur=Object.freeze(Object.defineProperty({__proto__:null,boolean:yt,booleanish:Pt,commaOrSpaceSeparated:De,commaSeparated:ll,number:Z,overloadedBoolean:ir,spaceSeparated:Xt},Symbol.toStringTag,{value:"Module"})),ar=Object.keys(ur);class rr extends ve{constructor(a,r,c,s){let f=-1;if(super(a,r),Ss(this,"space",s),typeof c=="number")for(;++f<ar.length;){const d=ar[f];Ss(this,ar[f],(c&ur[d])===ur[d])}}}rr.prototype.defined=!0;function Ss(i,a,r){r&&(i[a]=r)}function Tl(i){const a={},r={};for(const[c,s]of Object.entries(i.properties)){const f=new rr(c,i.transform(i.attributes||{},c),s,i.space);i.mustUseProperty&&i.mustUseProperty.includes(c)&&(f.mustUseProperty=!0),a[c]=f,r[lr(c)]=c,r[lr(f.attribute)]=c}return new vi(a,r,i.space)}const xs=Tl({properties:{ariaActiveDescendant:null,ariaAtomic:Pt,ariaAutoComplete:null,ariaBusy:Pt,ariaChecked:Pt,ariaColCount:Z,ariaColIndex:Z,ariaColSpan:Z,ariaControls:Xt,ariaCurrent:null,ariaDescribedBy:Xt,ariaDetails:null,ariaDisabled:Pt,ariaDropEffect:Xt,ariaErrorMessage:null,ariaExpanded:Pt,ariaFlowTo:Xt,ariaGrabbed:Pt,ariaHasPopup:null,ariaHidden:Pt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Xt,ariaLevel:Z,ariaLive:null,ariaModal:Pt,ariaMultiLine:Pt,ariaMultiSelectable:Pt,ariaOrientation:null,ariaOwns:Xt,ariaPlaceholder:null,ariaPosInSet:Z,ariaPressed:Pt,ariaReadOnly:Pt,ariaRelevant:null,ariaRequired:Pt,ariaRoleDescription:Xt,ariaRowCount:Z,ariaRowIndex:Z,ariaRowSpan:Z,ariaSelected:Pt,ariaSetSize:Z,ariaSort:null,ariaValueMax:Z,ariaValueMin:Z,ariaValueNow:Z,ariaValueText:null,role:null},transform(i,a){return a==="role"?a:"aria-"+a.slice(4).toLowerCase()}});function Es(i,a){return a in i?i[a]:a}function Ts(i,a){return Es(i,a.toLowerCase())}const iy=Tl({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ll,acceptCharset:Xt,accessKey:Xt,action:null,allow:null,allowFullScreen:yt,allowPaymentRequest:yt,allowUserMedia:yt,alpha:yt,alt:null,as:null,async:yt,autoCapitalize:null,autoComplete:Xt,autoFocus:yt,autoPlay:yt,blocking:Xt,capture:null,charSet:null,checked:yt,cite:null,className:Xt,closedBy:null,colorSpace:null,cols:Z,colSpan:Z,command:null,commandFor:null,content:null,contentEditable:Pt,controls:yt,controlsList:Xt,coords:Z|ll,crossOrigin:null,data:null,dateTime:null,decoding:null,default:yt,defer:yt,dir:null,dirName:null,disabled:yt,download:ir,draggable:Pt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:yt,formTarget:null,headers:Xt,height:Z,hidden:ir,high:Z,href:null,hrefLang:null,htmlFor:Xt,httpEquiv:Xt,id:null,imageSizes:null,imageSrcSet:null,inert:yt,inputMode:null,integrity:null,is:null,isMap:yt,itemId:null,itemProp:Xt,itemRef:Xt,itemScope:yt,itemType:Xt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:yt,low:Z,manifest:null,max:null,maxLength:Z,media:null,method:null,min:null,minLength:Z,multiple:yt,muted:yt,name:null,nonce:null,noModule:yt,noValidate:yt,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:yt,optimum:Z,pattern:null,ping:Xt,placeholder:null,playsInline:yt,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:yt,referrerPolicy:null,rel:Xt,required:yt,reversed:yt,rows:Z,rowSpan:Z,sandbox:Xt,scope:null,scoped:yt,seamless:yt,selected:yt,shadowRootClonable:yt,shadowRootCustomElementRegistry:yt,shadowRootDelegatesFocus:yt,shadowRootMode:null,shadowRootSerializable:yt,shape:null,size:Z,sizes:null,slot:null,span:Z,spellCheck:Pt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Z,step:null,style:null,tabIndex:Z,target:null,title:null,translate:null,type:null,typeMustMatch:yt,useMap:null,value:Pt,width:Z,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Xt,axis:null,background:null,bgColor:null,border:Z,borderColor:null,bottomMargin:Z,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:yt,declare:yt,event:null,face:null,frame:null,frameBorder:null,hSpace:Z,leftMargin:Z,link:null,longDesc:null,lowSrc:null,marginHeight:Z,marginWidth:Z,noResize:yt,noHref:yt,noShade:yt,noWrap:yt,object:null,profile:null,prompt:null,rev:null,rightMargin:Z,rules:null,scheme:null,scrolling:Pt,standby:null,summary:null,text:null,topMargin:Z,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Z,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:yt,disablePictureInPicture:yt,disableRemotePlayback:yt,exportParts:ll,part:Xt,prefix:null,property:null,results:Z,security:null,unselectable:null},space:"html",transform:Ts}),uy=Tl({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",maskType:"mask-type",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:De,accentHeight:Z,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Z,amplitude:Z,arabicForm:null,ascent:Z,attributeName:null,attributeType:null,azimuth:Z,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Z,by:null,calcMode:null,capHeight:Z,className:Xt,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:Z,diffuseConstant:Z,direction:null,display:null,dur:null,divisor:Z,dominantBaseline:null,download:yt,dx:null,dy:null,edgeMode:null,editable:null,elevation:Z,enableBackground:null,end:null,event:null,exponent:Z,externalResourcesRequired:null,fill:null,fillOpacity:Z,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:ll,g2:ll,glyphName:ll,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Z,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Z,horizOriginX:Z,horizOriginY:Z,id:null,ideographic:Z,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Z,k:Z,k1:Z,k2:Z,k3:Z,k4:Z,kernelMatrix:De,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Z,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Z,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:Z,overlineThickness:Z,paintOrder:null,panose1:null,path:null,pathLength:Z,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Xt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Z,pointsAtY:Z,pointsAtZ:Z,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:De,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:De,rev:De,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:De,requiredFeatures:De,requiredFonts:De,requiredFormats:De,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:Z,specularExponent:Z,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Z,strikethroughThickness:Z,string:null,stroke:null,strokeDashArray:De,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Z,strokeOpacity:Z,strokeWidth:null,style:null,surfaceScale:Z,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:De,tabIndex:Z,tableValues:null,target:null,targetX:Z,targetY:Z,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:De,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Z,underlineThickness:Z,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Z,values:null,vAlphabetic:Z,vMathematical:Z,vectorEffect:null,vHanging:Z,vIdeographic:Z,version:null,vertAdvY:Z,vertOriginX:Z,vertOriginY:Z,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Z,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Es}),zs=Tl({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(i,a){return"xlink:"+a.slice(5).toLowerCase()}}),As=Tl({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Ts}),_s=Tl({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(i,a){return"xml:"+a.slice(3).toLowerCase()}}),ay={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"},ry=/[A-Z]/g,Cs=/-[a-z]/g,cy=/^data[-\w.:]+$/i;function oy(i,a){const r=lr(a);let c=a,s=ve;if(r in i.normal)return i.property[i.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&cy.test(a)){if(a.charAt(4)==="-"){const f=a.slice(5).replace(Cs,fy);c="data"+f.charAt(0).toUpperCase()+f.slice(1)}else{const f=a.slice(4);if(!Cs.test(f)){let d=f.replace(ry,sy);d.charAt(0)!=="-"&&(d="-"+d),a="data"+d}}s=rr}return new s(c,a)}function sy(i){return"-"+i.toLowerCase()}function fy(i){return i.charAt(1).toUpperCase()}const hy=bs([xs,iy,zs,As,_s],"html"),cr=bs([xs,uy,zs,As,_s],"svg");function dy(i){return i.join(" ").trim()}var zl={},or,Os;function py(){if(Os)return or;Os=1;var i=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,a=/\n/g,r=/^\s*/,c=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,s=/^:\s*/,f=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,d=/^[;\s]*/,m=/^\s+|\s+$/g,g=`
|
|
10
|
-
`,p="/",b="*",x="",A="comment",E="declaration";function X(I,j){if(typeof I!="string")throw new TypeError("First argument must be a string");if(!I)return[];j=j||{};var nt=1,K=1;function lt(et){var J=et.match(a);J&&(nt+=J.length);var D=et.lastIndexOf(g);K=~D?et.length-D:K+et.length}function ht(){var et={line:nt,column:K};return function(J){return J.position=new N(et),ct(),J}}function N(et){this.start=et,this.end={line:nt,column:K},this.source=j.source}N.prototype.content=I;function Y(et){var J=new Error(j.source+":"+nt+":"+K+": "+et);if(J.reason=et,J.filename=j.source,J.line=nt,J.column=K,J.source=I,!j.silent)throw J}function st(et){var J=et.exec(I);if(J){var D=J[0];return lt(D),I=I.slice(D.length),J}}function ct(){st(r)}function dt(et){var J;for(et=et||[];J=tt();)J!==!1&&et.push(J);return et}function tt(){var et=ht();if(!(p!=I.charAt(0)||b!=I.charAt(1))){for(var J=2;x!=I.charAt(J)&&(b!=I.charAt(J)||p!=I.charAt(J+1));)++J;if(J+=2,x===I.charAt(J-1))return Y("End of comment missing");var D=I.slice(2,J-2);return K+=2,lt(D),I=I.slice(J),K+=2,et({type:A,comment:D})}}function P(){var et=ht(),J=st(c);if(J){if(tt(),!st(s))return Y("property missing ':'");var D=st(f),G=et({type:E,property:V(J[0].replace(i,x)),value:D?V(D[0].replace(i,x)):x});return st(d),G}}function xt(){var et=[];dt(et);for(var J;J=P();)J!==!1&&(et.push(J),dt(et));return et}return ct(),xt()}function V(I){return I?I.replace(m,x):x}return or=X,or}var Ms;function my(){if(Ms)return zl;Ms=1;var i=zl&&zl.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(zl,"__esModule",{value:!0}),zl.default=r;const a=i(py());function r(c,s){let f=null;if(!c||typeof c!="string")return f;const d=(0,a.default)(c),m=typeof s=="function";return d.forEach(g=>{if(g.type!=="declaration")return;const{property:p,value:b}=g;m?s(p,b,g):b&&(f=f||{},f[p]=b)}),f}return zl}var bi={},Ds;function yy(){if(Ds)return bi;Ds=1,Object.defineProperty(bi,"__esModule",{value:!0}),bi.camelCase=void 0;var i=/^--[a-zA-Z0-9_-]+$/,a=/-([a-z])/g,r=/^[^-]+$/,c=/^-(webkit|moz|ms|o|khtml)-/,s=/^-(ms)-/,f=function(p){return!p||r.test(p)||i.test(p)},d=function(p,b){return b.toUpperCase()},m=function(p,b){return"".concat(b,"-")},g=function(p,b){return b===void 0&&(b={}),f(p)?p:(p=p.toLowerCase(),b.reactCompat?p=p.replace(s,m):p=p.replace(c,m),p.replace(a,d))};return bi.camelCase=g,bi}var Si,ws;function gy(){if(ws)return Si;ws=1;var i=Si&&Si.__importDefault||function(s){return s&&s.__esModule?s:{default:s}},a=i(my()),r=yy();function c(s,f){var d={};return!s||typeof s!="string"||(0,a.default)(s,function(m,g){m&&g&&(d[(0,r.camelCase)(m,f)]=g)}),d}return c.default=c,Si=c,Si}var vy=gy();const by=as(vy),Rs=ks("end"),sr=ks("start");function ks(i){return a;function a(r){const c=r&&r.position&&r.position[i]||{};if(typeof c.line=="number"&&c.line>0&&typeof c.column=="number"&&c.column>0)return{line:c.line,column:c.column,offset:typeof c.offset=="number"&&c.offset>-1?c.offset:void 0}}}function Sy(i){const a=sr(i),r=Rs(i);if(a&&r)return{start:a,end:r}}function xi(i){return!i||typeof i!="object"?"":"position"in i||"type"in i?Ns(i.position):"start"in i||"end"in i?Ns(i):"line"in i||"column"in i?fr(i):""}function fr(i){return Us(i&&i.line)+":"+Us(i&&i.column)}function Ns(i){return fr(i&&i.start)+"-"+fr(i&&i.end)}function Us(i){return i&&typeof i=="number"?i:1}class pe extends Error{constructor(a,r,c){super(),typeof r=="string"&&(c=r,r=void 0);let s="",f={},d=!1;if(r&&("line"in r&&"column"in r?f={place:r}:"start"in r&&"end"in r?f={place:r}:"type"in r?f={ancestors:[r],place:r.position}:f={...r}),typeof a=="string"?s=a:!f.cause&&a&&(d=!0,s=a.message,f.cause=a),!f.ruleId&&!f.source&&typeof c=="string"){const g=c.indexOf(":");g===-1?f.ruleId=c:(f.source=c.slice(0,g),f.ruleId=c.slice(g+1))}if(!f.place&&f.ancestors&&f.ancestors){const g=f.ancestors[f.ancestors.length-1];g&&(f.place=g.position)}const m=f.place&&"start"in f.place?f.place.start:f.place;this.ancestors=f.ancestors||void 0,this.cause=f.cause||void 0,this.column=m?m.column:void 0,this.fatal=void 0,this.file="",this.message=s,this.line=m?m.line:void 0,this.name=xi(f.place)||"1:1",this.place=f.place||void 0,this.reason=this.message,this.ruleId=f.ruleId||void 0,this.source=f.source||void 0,this.stack=d&&f.cause&&typeof f.cause.stack=="string"?f.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}pe.prototype.file="",pe.prototype.name="",pe.prototype.reason="",pe.prototype.message="",pe.prototype.stack="",pe.prototype.column=void 0,pe.prototype.line=void 0,pe.prototype.ancestors=void 0,pe.prototype.cause=void 0,pe.prototype.fatal=void 0,pe.prototype.place=void 0,pe.prototype.ruleId=void 0,pe.prototype.source=void 0;const hr={}.hasOwnProperty,xy=new Map,Ey=/[A-Z]/g,Ty=new Set(["table","tbody","thead","tfoot","tr"]),zy=new Set(["td","th"]),js="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function Ay(i,a){if(!a||a.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const r=a.filePath||void 0;let c;if(a.development){if(typeof a.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");c=ky(r,a.jsxDEV)}else{if(typeof a.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof a.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");c=Ry(r,a.jsx,a.jsxs)}const s={Fragment:a.Fragment,ancestors:[],components:a.components||{},create:c,elementAttributeNameCase:a.elementAttributeNameCase||"react",evaluater:a.createEvaluater?a.createEvaluater():void 0,filePath:r,ignoreInvalidStyle:a.ignoreInvalidStyle||!1,passKeys:a.passKeys!==!1,passNode:a.passNode||!1,schema:a.space==="svg"?cr:hy,stylePropertyNameCase:a.stylePropertyNameCase||"dom",tableCellAlignToStyle:a.tableCellAlignToStyle!==!1},f=Bs(s,i,void 0);return f&&typeof f!="string"?f:s.create(i,s.Fragment,{children:f||void 0},void 0)}function Bs(i,a,r){if(a.type==="element")return _y(i,a,r);if(a.type==="mdxFlowExpression"||a.type==="mdxTextExpression")return Cy(i,a);if(a.type==="mdxJsxFlowElement"||a.type==="mdxJsxTextElement")return My(i,a,r);if(a.type==="mdxjsEsm")return Oy(i,a);if(a.type==="root")return Dy(i,a,r);if(a.type==="text")return wy(i,a)}function _y(i,a,r){const c=i.schema;let s=c;a.tagName.toLowerCase()==="svg"&&c.space==="html"&&(s=cr,i.schema=s),i.ancestors.push(a);const f=Ls(i,a.tagName,!1),d=Ny(i,a);let m=pr(i,a);return Ty.has(a.tagName)&&(m=m.filter(function(g){return typeof g=="string"?!ny(g):!0})),Hs(i,d,f,a),dr(d,m),i.ancestors.pop(),i.schema=c,i.create(a,f,d,r)}function Cy(i,a){if(a.data&&a.data.estree&&i.evaluater){const c=a.data.estree.body[0];return c.type,i.evaluater.evaluateExpression(c.expression)}Ei(i,a.position)}function Oy(i,a){if(a.data&&a.data.estree&&i.evaluater)return i.evaluater.evaluateProgram(a.data.estree);Ei(i,a.position)}function My(i,a,r){const c=i.schema;let s=c;a.name==="svg"&&c.space==="html"&&(s=cr,i.schema=s),i.ancestors.push(a);const f=a.name===null?i.Fragment:Ls(i,a.name,!0),d=Uy(i,a),m=pr(i,a);return Hs(i,d,f,a),dr(d,m),i.ancestors.pop(),i.schema=c,i.create(a,f,d,r)}function Dy(i,a,r){const c={};return dr(c,pr(i,a)),i.create(a,i.Fragment,c,r)}function wy(i,a){return a.value}function Hs(i,a,r,c){typeof r!="string"&&r!==i.Fragment&&i.passNode&&(a.node=c)}function dr(i,a){if(a.length>0){const r=a.length>1?a:a[0];r&&(i.children=r)}}function Ry(i,a,r){return c;function c(s,f,d,m){const p=Array.isArray(d.children)?r:a;return m?p(f,d,m):p(f,d)}}function ky(i,a){return r;function r(c,s,f,d){const m=Array.isArray(f.children),g=sr(c);return a(s,f,d,m,{columnNumber:g?g.column-1:void 0,fileName:i,lineNumber:g?g.line:void 0},void 0)}}function Ny(i,a){const r={};let c,s;for(s in a.properties)if(s!=="children"&&hr.call(a.properties,s)){const f=jy(i,s,a.properties[s]);if(f){const[d,m]=f;i.tableCellAlignToStyle&&d==="align"&&typeof m=="string"&&zy.has(a.tagName)?c=m:r[d]=m}}if(c){const f=r.style||(r.style={});f[i.stylePropertyNameCase==="css"?"text-align":"textAlign"]=c}return r}function Uy(i,a){const r={};for(const c of a.attributes)if(c.type==="mdxJsxExpressionAttribute")if(c.data&&c.data.estree&&i.evaluater){const f=c.data.estree.body[0];f.type;const d=f.expression;d.type;const m=d.properties[0];m.type,Object.assign(r,i.evaluater.evaluateExpression(m.argument))}else Ei(i,a.position);else{const s=c.name;let f;if(c.value&&typeof c.value=="object")if(c.value.data&&c.value.data.estree&&i.evaluater){const m=c.value.data.estree.body[0];m.type,f=i.evaluater.evaluateExpression(m.expression)}else Ei(i,a.position);else f=c.value===null?!0:c.value;r[s]=f}return r}function pr(i,a){const r=[];let c=-1;const s=i.passKeys?new Map:xy;for(;++c<a.children.length;){const f=a.children[c];let d;if(i.passKeys){const g=f.type==="element"?f.tagName:f.type==="mdxJsxFlowElement"||f.type==="mdxJsxTextElement"?f.name:void 0;if(g){const p=s.get(g)||0;d=g+"-"+p,s.set(g,p+1)}}const m=Bs(i,f,d);m!==void 0&&r.push(m)}return r}function jy(i,a,r){const c=oy(i.schema,a);if(!(r==null||typeof r=="number"&&Number.isNaN(r))){if(Array.isArray(r)&&(r=c.commaSeparated?$m(r):dy(r)),c.property==="style"){let s=typeof r=="object"?r:By(i,String(r));return i.stylePropertyNameCase==="css"&&(s=Hy(s)),["style",s]}return[i.elementAttributeNameCase==="react"&&c.space?ay[c.property]||c.property:c.attribute,r]}}function By(i,a){try{return by(a,{reactCompat:!0})}catch(r){if(i.ignoreInvalidStyle)return{};const c=r,s=new pe("Cannot parse `style` attribute",{ancestors:i.ancestors,cause:c,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw s.file=i.filePath||void 0,s.url=js+"#cannot-parse-style-attribute",s}}function Ls(i,a,r){let c;if(!r)c={type:"Literal",value:a};else if(a.includes(".")){const s=a.split(".");let f=-1,d;for(;++f<s.length;){const m=gs(s[f])?{type:"Identifier",name:s[f]}:{type:"Literal",value:s[f]};d=d?{type:"MemberExpression",object:d,property:m,computed:!!(f&&m.type==="Literal"),optional:!1}:m}c=d}else c=gs(a)&&!/^[a-z]/.test(a)?{type:"Identifier",name:a}:{type:"Literal",value:a};if(c.type==="Literal"){const s=c.value;return hr.call(i.components,s)?i.components[s]:s}if(i.evaluater)return i.evaluater.evaluateExpression(c);Ei(i)}function Ei(i,a){const r=new pe("Cannot handle MDX estrees without `createEvaluater`",{ancestors:i.ancestors,place:a,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw r.file=i.filePath||void 0,r.url=js+"#cannot-handle-mdx-estrees-without-createevaluater",r}function Hy(i){const a={};let r;for(r in i)hr.call(i,r)&&(a[Ly(r)]=i[r]);return a}function Ly(i){let a=i.replace(Ey,qy);return a.slice(0,3)==="ms-"&&(a="-"+a),a}function qy(i){return"-"+i.toLowerCase()}const mr={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"]};var yr={exports:{}},Ti={};var qs;function Yy(){if(qs)return Ti;qs=1;var i=Symbol.for("react.transitional.element"),a=Symbol.for("react.fragment");function r(c,s,f){var d=null;if(f!==void 0&&(d=""+f),s.key!==void 0&&(d=""+s.key),"key"in s){f={};for(var m in s)m!=="key"&&(f[m]=s[m])}else f=s;return s=f.ref,{$$typeof:i,type:c,key:d,ref:s!==void 0?s:null,props:f}}return Ti.Fragment=a,Ti.jsx=r,Ti.jsxs=r,Ti}var Ys;function Xy(){return Ys||(Ys=1,yr.exports=Yy()),yr.exports}var gr=Xy(),vr={exports:{}},vt={};var Xs;function Gy(){if(Xs)return vt;Xs=1;var i=Symbol.for("react.transitional.element"),a=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),d=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),x=Symbol.for("react.activity"),A=Symbol.iterator;function E(y){return y===null||typeof y!="object"?null:(y=A&&y[A]||y["@@iterator"],typeof y=="function"?y:null)}var X={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},V=Object.assign,I={};function j(y,_,S){this.props=y,this.context=_,this.refs=I,this.updater=S||X}j.prototype.isReactComponent={},j.prototype.setState=function(y,_){if(typeof y!="object"&&typeof y!="function"&&y!=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,y,_,"setState")},j.prototype.forceUpdate=function(y){this.updater.enqueueForceUpdate(this,y,"forceUpdate")};function nt(){}nt.prototype=j.prototype;function K(y,_,S){this.props=y,this.context=_,this.refs=I,this.updater=S||X}var lt=K.prototype=new nt;lt.constructor=K,V(lt,j.prototype),lt.isPureReactComponent=!0;var ht=Array.isArray;function N(){}var Y={H:null,A:null,T:null,S:null},st=Object.prototype.hasOwnProperty;function ct(y,_,S){var L=S.ref;return{$$typeof:i,type:y,key:_,ref:L!==void 0?L:null,props:S}}function dt(y,_){return ct(y.type,_,y.props)}function tt(y){return typeof y=="object"&&y!==null&&y.$$typeof===i}function P(y){var _={"=":"=0",":":"=2"};return"$"+y.replace(/[=:]/g,function(S){return _[S]})}var xt=/\/+/g;function et(y,_){return typeof y=="object"&&y!==null&&y.key!=null?P(""+y.key):_.toString(36)}function J(y){switch(y.status){case"fulfilled":return y.value;case"rejected":throw y.reason;default:switch(typeof y.status=="string"?y.then(N,N):(y.status="pending",y.then(function(_){y.status==="pending"&&(y.status="fulfilled",y.value=_)},function(_){y.status==="pending"&&(y.status="rejected",y.reason=_)})),y.status){case"fulfilled":return y.value;case"rejected":throw y.reason}}throw y}function D(y,_,S,L,$){var F=typeof y;(F==="undefined"||F==="boolean")&&(y=null);var at=!1;if(y===null)at=!0;else switch(F){case"bigint":case"string":case"number":at=!0;break;case"object":switch(y.$$typeof){case i:case a:at=!0;break;case b:return at=y._init,D(at(y._payload),_,S,L,$)}}if(at)return $=$(y),at=L===""?"."+et(y,0):L,ht($)?(S="",at!=null&&(S=at.replace(xt,"$&/")+"/"),D($,_,S,"",function(xe){return xe})):$!=null&&(tt($)&&($=dt($,S+($.key==null||y&&y.key===$.key?"":(""+$.key).replace(xt,"$&/")+"/")+at)),_.push($)),1;at=0;var Mt=L===""?".":L+":";if(ht(y))for(var bt=0;bt<y.length;bt++)L=y[bt],F=Mt+et(L,bt),at+=D(L,_,S,F,$);else if(bt=E(y),typeof bt=="function")for(y=bt.call(y),bt=0;!(L=y.next()).done;)L=L.value,F=Mt+et(L,bt++),at+=D(L,_,S,F,$);else if(F==="object"){if(typeof y.then=="function")return D(J(y),_,S,L,$);throw _=String(y),Error("Objects are not valid as a React child (found: "+(_==="[object Object]"?"object with keys {"+Object.keys(y).join(", ")+"}":_)+"). If you meant to render a collection of children, use an array instead.")}return at}function G(y,_,S){if(y==null)return y;var L=[],$=0;return D(y,L,"","",function(F){return _.call(S,F,$++)}),L}function ut(y){if(y._status===-1){var _=y._result;_=_(),_.then(function(S){(y._status===0||y._status===-1)&&(y._status=1,y._result=S)},function(S){(y._status===0||y._status===-1)&&(y._status=2,y._result=S)}),y._status===-1&&(y._status=0,y._result=_)}if(y._status===1)return y._result.default;throw y._result}var Et=typeof reportError=="function"?reportError:function(y){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var _=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof y=="object"&&y!==null&&typeof y.message=="string"?String(y.message):String(y),error:y});if(!window.dispatchEvent(_))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",y);return}console.error(y)},T={map:G,forEach:function(y,_,S){G(y,function(){_.apply(this,arguments)},S)},count:function(y){var _=0;return G(y,function(){_++}),_},toArray:function(y){return G(y,function(_){return _})||[]},only:function(y){if(!tt(y))throw Error("React.Children.only expected to receive a single React element child.");return y}};return vt.Activity=x,vt.Children=T,vt.Component=j,vt.Fragment=r,vt.Profiler=s,vt.PureComponent=K,vt.StrictMode=c,vt.Suspense=g,vt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Y,vt.__COMPILER_RUNTIME={__proto__:null,c:function(y){return Y.H.useMemoCache(y)}},vt.cache=function(y){return function(){return y.apply(null,arguments)}},vt.cacheSignal=function(){return null},vt.cloneElement=function(y,_,S){if(y==null)throw Error("The argument must be a React element, but you passed "+y+".");var L=V({},y.props),$=y.key;if(_!=null)for(F in _.key!==void 0&&($=""+_.key),_)!st.call(_,F)||F==="key"||F==="__self"||F==="__source"||F==="ref"&&_.ref===void 0||(L[F]=_[F]);var F=arguments.length-2;if(F===1)L.children=S;else if(1<F){for(var at=Array(F),Mt=0;Mt<F;Mt++)at[Mt]=arguments[Mt+2];L.children=at}return ct(y.type,$,L)},vt.createContext=function(y){return y={$$typeof:d,_currentValue:y,_currentValue2:y,_threadCount:0,Provider:null,Consumer:null},y.Provider=y,y.Consumer={$$typeof:f,_context:y},y},vt.createElement=function(y,_,S){var L,$={},F=null;if(_!=null)for(L in _.key!==void 0&&(F=""+_.key),_)st.call(_,L)&&L!=="key"&&L!=="__self"&&L!=="__source"&&($[L]=_[L]);var at=arguments.length-2;if(at===1)$.children=S;else if(1<at){for(var Mt=Array(at),bt=0;bt<at;bt++)Mt[bt]=arguments[bt+2];$.children=Mt}if(y&&y.defaultProps)for(L in at=y.defaultProps,at)$[L]===void 0&&($[L]=at[L]);return ct(y,F,$)},vt.createRef=function(){return{current:null}},vt.forwardRef=function(y){return{$$typeof:m,render:y}},vt.isValidElement=tt,vt.lazy=function(y){return{$$typeof:b,_payload:{_status:-1,_result:y},_init:ut}},vt.memo=function(y,_){return{$$typeof:p,type:y,compare:_===void 0?null:_}},vt.startTransition=function(y){var _=Y.T,S={};Y.T=S;try{var L=y(),$=Y.S;$!==null&&$(S,L),typeof L=="object"&&L!==null&&typeof L.then=="function"&&L.then(N,Et)}catch(F){Et(F)}finally{_!==null&&S.types!==null&&(_.types=S.types),Y.T=_}},vt.unstable_useCacheRefresh=function(){return Y.H.useCacheRefresh()},vt.use=function(y){return Y.H.use(y)},vt.useActionState=function(y,_,S){return Y.H.useActionState(y,_,S)},vt.useCallback=function(y,_){return Y.H.useCallback(y,_)},vt.useContext=function(y){return Y.H.useContext(y)},vt.useDebugValue=function(){},vt.useDeferredValue=function(y,_){return Y.H.useDeferredValue(y,_)},vt.useEffect=function(y,_){return Y.H.useEffect(y,_)},vt.useEffectEvent=function(y){return Y.H.useEffectEvent(y)},vt.useId=function(){return Y.H.useId()},vt.useImperativeHandle=function(y,_,S){return Y.H.useImperativeHandle(y,_,S)},vt.useInsertionEffect=function(y,_){return Y.H.useInsertionEffect(y,_)},vt.useLayoutEffect=function(y,_){return Y.H.useLayoutEffect(y,_)},vt.useMemo=function(y,_){return Y.H.useMemo(y,_)},vt.useOptimistic=function(y,_){return Y.H.useOptimistic(y,_)},vt.useReducer=function(y,_,S){return Y.H.useReducer(y,_,S)},vt.useRef=function(y){return Y.H.useRef(y)},vt.useState=function(y){return Y.H.useState(y)},vt.useSyncExternalStore=function(y,_,S){return Y.H.useSyncExternalStore(y,_,S)},vt.useTransition=function(){return Y.H.useTransition()},vt.version="19.2.7",vt}var Gs;function Qy(){return Gs||(Gs=1,vr.exports=Gy()),vr.exports}Qy();const Vy={};function Zy(i,a){const r=Vy,c=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,s=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return Qs(i,c,s)}function Qs(i,a,r){if(Ky(i)){if("value"in i)return i.type==="html"&&!r?"":i.value;if(a&&"alt"in i&&i.alt)return i.alt;if("children"in i)return Vs(i.children,a,r)}return Array.isArray(i)?Vs(i,a,r):""}function Vs(i,a,r){const c=[];let s=-1;for(;++s<i.length;)c[s]=Qs(i[s],a,r);return c.join("")}function Ky(i){return!!(i&&typeof i=="object")}const Zs=document.createElement("i");function br(i){const a="&"+i+";";Zs.innerHTML=a;const r=Zs.textContent;return r.charCodeAt(r.length-1)===59&&i!=="semi"||r===a?!1:r}function en(i,a,r,c){const s=i.length;let f=0,d;if(a<0?a=-a>s?0:s+a:a=a>s?s:a,r=r>0?r:0,c.length<1e4)d=Array.from(c),d.unshift(a,r),i.splice(...d);else for(r&&i.splice(a,r);f<c.length;)d=c.slice(f,f+1e4),d.unshift(a,0),i.splice(...d),f+=1e4,a+=1e4}function qe(i,a){return i.length>0?(en(i,i.length,0,a),i):a}const Ks={}.hasOwnProperty;function Jy(i){const a={};let r=-1;for(;++r<i.length;)Fy(a,i[r]);return a}function Fy(i,a){let r;for(r in a){const s=(Ks.call(i,r)?i[r]:void 0)||(i[r]={}),f=a[r];let d;if(f)for(d in f){Ks.call(s,d)||(s[d]=[]);const m=f[d];Iy(s[d],Array.isArray(m)?m:m?[m]:[])}}}function Iy(i,a){let r=-1;const c=[];for(;++r<a.length;)(a[r].add==="after"?i:c).push(a[r]);en(i,0,0,c)}function Js(i,a){const r=Number.parseInt(i,a);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"�":String.fromCodePoint(r)}function Al(i){return i.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const nn=Dn(/[A-Za-z]/),we=Dn(/[\dA-Za-z]/),$y=Dn(/[#-'*+\--9=?A-Z^-~]/);function Sr(i){return i!==null&&(i<32||i===127)}const xr=Dn(/\d/),Wy=Dn(/[\dA-Fa-f]/),Py=Dn(/[!-/:-@[-`{-~]/);function mt(i){return i!==null&&i<-2}function be(i){return i!==null&&(i<0||i===32)}function kt(i){return i===-2||i===-1||i===32}const tg=Dn(new RegExp("\\p{P}|\\p{S}","u")),eg=Dn(/\s/);function Dn(i){return a;function a(r){return r!==null&&r>-1&&i.test(String.fromCharCode(r))}}function _l(i){const a=[];let r=-1,c=0,s=0;for(;++r<i.length;){const f=i.charCodeAt(r);let d="";if(f===37&&we(i.charCodeAt(r+1))&&we(i.charCodeAt(r+2)))s=2;else if(f<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(f))||(d=String.fromCharCode(f));else if(f>55295&&f<57344){const m=i.charCodeAt(r+1);f<56320&&m>56319&&m<57344?(d=String.fromCharCode(f,m),s=1):d="�"}else d=String.fromCharCode(f);d&&(a.push(i.slice(c,r),encodeURIComponent(d)),c=r+s+1,d=""),s&&(r+=s,s=0)}return a.join("")+i.slice(c)}function Vt(i,a,r,c){const s=c?c-1:Number.POSITIVE_INFINITY;let f=0;return d;function d(g){return kt(g)?(i.enter(r),m(g)):a(g)}function m(g){return kt(g)&&f++<s?(i.consume(g),m):(i.exit(r),a(g))}}const ng={tokenize:lg};function lg(i){const a=i.attempt(this.parser.constructs.contentInitial,c,s);let r;return a;function c(m){if(m===null){i.consume(m);return}return i.enter("lineEnding"),i.consume(m),i.exit("lineEnding"),Vt(i,a,"linePrefix")}function s(m){return i.enter("paragraph"),f(m)}function f(m){const g=i.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=g),r=g,d(m)}function d(m){if(m===null){i.exit("chunkText"),i.exit("paragraph"),i.consume(m);return}return mt(m)?(i.consume(m),i.exit("chunkText"),f):(i.consume(m),d)}}const ig={tokenize:ug},Fs={tokenize:ag};function ug(i){const a=this,r=[];let c=0,s,f,d;return m;function m(K){if(c<r.length){const lt=r[c];return a.containerState=lt[1],i.attempt(lt[0].continuation,g,p)(K)}return p(K)}function g(K){if(c++,a.containerState._closeFlow){a.containerState._closeFlow=void 0,s&&nt();const lt=a.events.length;let ht=lt,N;for(;ht--;)if(a.events[ht][0]==="exit"&&a.events[ht][1].type==="chunkFlow"){N=a.events[ht][1].end;break}j(c);let Y=lt;for(;Y<a.events.length;)a.events[Y][1].end={...N},Y++;return en(a.events,ht+1,0,a.events.slice(lt)),a.events.length=Y,p(K)}return m(K)}function p(K){if(c===r.length){if(!s)return A(K);if(s.currentConstruct&&s.currentConstruct.concrete)return X(K);a.interrupt=!!(s.currentConstruct&&!s._gfmTableDynamicInterruptHack)}return a.containerState={},i.check(Fs,b,x)(K)}function b(K){return s&&nt(),j(c),A(K)}function x(K){return a.parser.lazy[a.now().line]=c!==r.length,d=a.now().offset,X(K)}function A(K){return a.containerState={},i.attempt(Fs,E,X)(K)}function E(K){return c++,r.push([a.currentConstruct,a.containerState]),A(K)}function X(K){if(K===null){s&&nt(),j(0),i.consume(K);return}return s=s||a.parser.flow(a.now()),i.enter("chunkFlow",{_tokenizer:s,contentType:"flow",previous:f}),V(K)}function V(K){if(K===null){I(i.exit("chunkFlow"),!0),j(0),i.consume(K);return}return mt(K)?(i.consume(K),I(i.exit("chunkFlow")),c=0,a.interrupt=void 0,m):(i.consume(K),V)}function I(K,lt){const ht=a.sliceStream(K);if(lt&&ht.push(null),K.previous=f,f&&(f.next=K),f=K,s.defineSkip(K.start),s.write(ht),a.parser.lazy[K.start.line]){let N=s.events.length;for(;N--;)if(s.events[N][1].start.offset<d&&(!s.events[N][1].end||s.events[N][1].end.offset>d))return;const Y=a.events.length;let st=Y,ct,dt;for(;st--;)if(a.events[st][0]==="exit"&&a.events[st][1].type==="chunkFlow"){if(ct){dt=a.events[st][1].end;break}ct=!0}for(j(c),N=Y;N<a.events.length;)a.events[N][1].end={...dt},N++;en(a.events,st+1,0,a.events.slice(Y)),a.events.length=N}}function j(K){let lt=r.length;for(;lt-- >K;){const ht=r[lt];a.containerState=ht[1],ht[0].exit.call(a,i)}r.length=K}function nt(){s.write([null]),f=void 0,s=void 0,a.containerState._closeFlow=void 0}}function ag(i,a,r){return Vt(i,i.attempt(this.parser.constructs.document,a,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Is(i){if(i===null||be(i)||eg(i))return 1;if(tg(i))return 2}function Er(i,a,r){const c=[];let s=-1;for(;++s<i.length;){const f=i[s].resolveAll;f&&!c.includes(f)&&(a=f(a,r),c.push(f))}return a}const Tr={name:"attention",resolveAll:rg,tokenize:cg};function rg(i,a){let r=-1,c,s,f,d,m,g,p,b;for(;++r<i.length;)if(i[r][0]==="enter"&&i[r][1].type==="attentionSequence"&&i[r][1]._close){for(c=r;c--;)if(i[c][0]==="exit"&&i[c][1].type==="attentionSequence"&&i[c][1]._open&&a.sliceSerialize(i[c][1]).charCodeAt(0)===a.sliceSerialize(i[r][1]).charCodeAt(0)){if((i[c][1]._close||i[r][1]._open)&&(i[r][1].end.offset-i[r][1].start.offset)%3&&!((i[c][1].end.offset-i[c][1].start.offset+i[r][1].end.offset-i[r][1].start.offset)%3))continue;g=i[c][1].end.offset-i[c][1].start.offset>1&&i[r][1].end.offset-i[r][1].start.offset>1?2:1;const x={...i[c][1].end},A={...i[r][1].start};$s(x,-g),$s(A,g),d={type:g>1?"strongSequence":"emphasisSequence",start:x,end:{...i[c][1].end}},m={type:g>1?"strongSequence":"emphasisSequence",start:{...i[r][1].start},end:A},f={type:g>1?"strongText":"emphasisText",start:{...i[c][1].end},end:{...i[r][1].start}},s={type:g>1?"strong":"emphasis",start:{...d.start},end:{...m.end}},i[c][1].end={...d.start},i[r][1].start={...m.end},p=[],i[c][1].end.offset-i[c][1].start.offset&&(p=qe(p,[["enter",i[c][1],a],["exit",i[c][1],a]])),p=qe(p,[["enter",s,a],["enter",d,a],["exit",d,a],["enter",f,a]]),p=qe(p,Er(a.parser.constructs.insideSpan.null,i.slice(c+1,r),a)),p=qe(p,[["exit",f,a],["enter",m,a],["exit",m,a],["exit",s,a]]),i[r][1].end.offset-i[r][1].start.offset?(b=2,p=qe(p,[["enter",i[r][1],a],["exit",i[r][1],a]])):b=0,en(i,c-1,r-c+3,p),r=c+p.length-b-2;break}}for(r=-1;++r<i.length;)i[r][1].type==="attentionSequence"&&(i[r][1].type="data");return i}function cg(i,a){const r=this.parser.constructs.attentionMarkers.null,c=this.previous,s=Is(c);let f;return d;function d(g){return f=g,i.enter("attentionSequence"),m(g)}function m(g){if(g===f)return i.consume(g),m;const p=i.exit("attentionSequence"),b=Is(g),x=!b||b===2&&s||r.includes(g),A=!s||s===2&&b||r.includes(c);return p._open=!!(f===42?x:x&&(s||!A)),p._close=!!(f===42?A:A&&(b||!x)),a(g)}}function $s(i,a){i.column+=a,i.offset+=a,i._bufferIndex+=a}const og={name:"autolink",tokenize:sg};function sg(i,a,r){let c=0;return s;function s(E){return i.enter("autolink"),i.enter("autolinkMarker"),i.consume(E),i.exit("autolinkMarker"),i.enter("autolinkProtocol"),f}function f(E){return nn(E)?(i.consume(E),d):E===64?r(E):p(E)}function d(E){return E===43||E===45||E===46||we(E)?(c=1,m(E)):p(E)}function m(E){return E===58?(i.consume(E),c=0,g):(E===43||E===45||E===46||we(E))&&c++<32?(i.consume(E),m):(c=0,p(E))}function g(E){return E===62?(i.exit("autolinkProtocol"),i.enter("autolinkMarker"),i.consume(E),i.exit("autolinkMarker"),i.exit("autolink"),a):E===null||E===32||E===60||Sr(E)?r(E):(i.consume(E),g)}function p(E){return E===64?(i.consume(E),b):$y(E)?(i.consume(E),p):r(E)}function b(E){return we(E)?x(E):r(E)}function x(E){return E===46?(i.consume(E),c=0,b):E===62?(i.exit("autolinkProtocol").type="autolinkEmail",i.enter("autolinkMarker"),i.consume(E),i.exit("autolinkMarker"),i.exit("autolink"),a):A(E)}function A(E){if((E===45||we(E))&&c++<63){const X=E===45?A:x;return i.consume(E),X}return r(E)}}const Eu={partial:!0,tokenize:fg};function fg(i,a,r){return c;function c(f){return kt(f)?Vt(i,s,"linePrefix")(f):s(f)}function s(f){return f===null||mt(f)?a(f):r(f)}}const Ws={continuation:{tokenize:dg},exit:pg,name:"blockQuote",tokenize:hg};function hg(i,a,r){const c=this;return s;function s(d){if(d===62){const m=c.containerState;return m.open||(i.enter("blockQuote",{_container:!0}),m.open=!0),i.enter("blockQuotePrefix"),i.enter("blockQuoteMarker"),i.consume(d),i.exit("blockQuoteMarker"),f}return r(d)}function f(d){return kt(d)?(i.enter("blockQuotePrefixWhitespace"),i.consume(d),i.exit("blockQuotePrefixWhitespace"),i.exit("blockQuotePrefix"),a):(i.exit("blockQuotePrefix"),a(d))}}function dg(i,a,r){const c=this;return s;function s(d){return kt(d)?Vt(i,f,"linePrefix",c.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(d):f(d)}function f(d){return i.attempt(Ws,a,r)(d)}}function pg(i){i.exit("blockQuote")}const Ps={name:"characterEscape",tokenize:mg};function mg(i,a,r){return c;function c(f){return i.enter("characterEscape"),i.enter("escapeMarker"),i.consume(f),i.exit("escapeMarker"),s}function s(f){return Py(f)?(i.enter("characterEscapeValue"),i.consume(f),i.exit("characterEscapeValue"),i.exit("characterEscape"),a):r(f)}}const tf={name:"characterReference",tokenize:yg};function yg(i,a,r){const c=this;let s=0,f,d;return m;function m(x){return i.enter("characterReference"),i.enter("characterReferenceMarker"),i.consume(x),i.exit("characterReferenceMarker"),g}function g(x){return x===35?(i.enter("characterReferenceMarkerNumeric"),i.consume(x),i.exit("characterReferenceMarkerNumeric"),p):(i.enter("characterReferenceValue"),f=31,d=we,b(x))}function p(x){return x===88||x===120?(i.enter("characterReferenceMarkerHexadecimal"),i.consume(x),i.exit("characterReferenceMarkerHexadecimal"),i.enter("characterReferenceValue"),f=6,d=Wy,b):(i.enter("characterReferenceValue"),f=7,d=xr,b(x))}function b(x){if(x===59&&s){const A=i.exit("characterReferenceValue");return d===we&&!br(c.sliceSerialize(A))?r(x):(i.enter("characterReferenceMarker"),i.consume(x),i.exit("characterReferenceMarker"),i.exit("characterReference"),a)}return d(x)&&s++<f?(i.consume(x),b):r(x)}}const ef={partial:!0,tokenize:vg},nf={concrete:!0,name:"codeFenced",tokenize:gg};function gg(i,a,r){const c=this,s={partial:!0,tokenize:ht};let f=0,d=0,m;return g;function g(N){return p(N)}function p(N){const Y=c.events[c.events.length-1];return f=Y&&Y[1].type==="linePrefix"?Y[2].sliceSerialize(Y[1],!0).length:0,m=N,i.enter("codeFenced"),i.enter("codeFencedFence"),i.enter("codeFencedFenceSequence"),b(N)}function b(N){return N===m?(d++,i.consume(N),b):d<3?r(N):(i.exit("codeFencedFenceSequence"),kt(N)?Vt(i,x,"whitespace")(N):x(N))}function x(N){return N===null||mt(N)?(i.exit("codeFencedFence"),c.interrupt?a(N):i.check(ef,V,lt)(N)):(i.enter("codeFencedFenceInfo"),i.enter("chunkString",{contentType:"string"}),A(N))}function A(N){return N===null||mt(N)?(i.exit("chunkString"),i.exit("codeFencedFenceInfo"),x(N)):kt(N)?(i.exit("chunkString"),i.exit("codeFencedFenceInfo"),Vt(i,E,"whitespace")(N)):N===96&&N===m?r(N):(i.consume(N),A)}function E(N){return N===null||mt(N)?x(N):(i.enter("codeFencedFenceMeta"),i.enter("chunkString",{contentType:"string"}),X(N))}function X(N){return N===null||mt(N)?(i.exit("chunkString"),i.exit("codeFencedFenceMeta"),x(N)):N===96&&N===m?r(N):(i.consume(N),X)}function V(N){return i.attempt(s,lt,I)(N)}function I(N){return i.enter("lineEnding"),i.consume(N),i.exit("lineEnding"),j}function j(N){return f>0&&kt(N)?Vt(i,nt,"linePrefix",f+1)(N):nt(N)}function nt(N){return N===null||mt(N)?i.check(ef,V,lt)(N):(i.enter("codeFlowValue"),K(N))}function K(N){return N===null||mt(N)?(i.exit("codeFlowValue"),nt(N)):(i.consume(N),K)}function lt(N){return i.exit("codeFenced"),a(N)}function ht(N,Y,st){let ct=0;return dt;function dt(J){return N.enter("lineEnding"),N.consume(J),N.exit("lineEnding"),tt}function tt(J){return N.enter("codeFencedFence"),kt(J)?Vt(N,P,"linePrefix",c.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(J):P(J)}function P(J){return J===m?(N.enter("codeFencedFenceSequence"),xt(J)):st(J)}function xt(J){return J===m?(ct++,N.consume(J),xt):ct>=d?(N.exit("codeFencedFenceSequence"),kt(J)?Vt(N,et,"whitespace")(J):et(J)):st(J)}function et(J){return J===null||mt(J)?(N.exit("codeFencedFence"),Y(J)):st(J)}}}function vg(i,a,r){const c=this;return s;function s(d){return d===null?r(d):(i.enter("lineEnding"),i.consume(d),i.exit("lineEnding"),f)}function f(d){return c.parser.lazy[c.now().line]?r(d):a(d)}}const zr={name:"codeIndented",tokenize:Sg},bg={partial:!0,tokenize:xg};function Sg(i,a,r){const c=this;return s;function s(p){return i.enter("codeIndented"),Vt(i,f,"linePrefix",5)(p)}function f(p){const b=c.events[c.events.length-1];return b&&b[1].type==="linePrefix"&&b[2].sliceSerialize(b[1],!0).length>=4?d(p):r(p)}function d(p){return p===null?g(p):mt(p)?i.attempt(bg,d,g)(p):(i.enter("codeFlowValue"),m(p))}function m(p){return p===null||mt(p)?(i.exit("codeFlowValue"),d(p)):(i.consume(p),m)}function g(p){return i.exit("codeIndented"),a(p)}}function xg(i,a,r){const c=this;return s;function s(d){return c.parser.lazy[c.now().line]?r(d):mt(d)?(i.enter("lineEnding"),i.consume(d),i.exit("lineEnding"),s):Vt(i,f,"linePrefix",5)(d)}function f(d){const m=c.events[c.events.length-1];return m&&m[1].type==="linePrefix"&&m[2].sliceSerialize(m[1],!0).length>=4?a(d):mt(d)?s(d):r(d)}}const Eg={name:"codeText",previous:zg,resolve:Tg,tokenize:Ag};function Tg(i){let a=i.length-4,r=3,c,s;if((i[r][1].type==="lineEnding"||i[r][1].type==="space")&&(i[a][1].type==="lineEnding"||i[a][1].type==="space")){for(c=r;++c<a;)if(i[c][1].type==="codeTextData"){i[r][1].type="codeTextPadding",i[a][1].type="codeTextPadding",r+=2,a-=2;break}}for(c=r-1,a++;++c<=a;)s===void 0?c!==a&&i[c][1].type!=="lineEnding"&&(s=c):(c===a||i[c][1].type==="lineEnding")&&(i[s][1].type="codeTextData",c!==s+2&&(i[s][1].end=i[c-1][1].end,i.splice(s+2,c-s-2),a-=c-s-2,c=s+2),s=void 0);return i}function zg(i){return i!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Ag(i,a,r){let c=0,s,f;return d;function d(x){return i.enter("codeText"),i.enter("codeTextSequence"),m(x)}function m(x){return x===96?(i.consume(x),c++,m):(i.exit("codeTextSequence"),g(x))}function g(x){return x===null?r(x):x===32?(i.enter("space"),i.consume(x),i.exit("space"),g):x===96?(f=i.enter("codeTextSequence"),s=0,b(x)):mt(x)?(i.enter("lineEnding"),i.consume(x),i.exit("lineEnding"),g):(i.enter("codeTextData"),p(x))}function p(x){return x===null||x===32||x===96||mt(x)?(i.exit("codeTextData"),g(x)):(i.consume(x),p)}function b(x){return x===96?(i.consume(x),s++,b):s===c?(i.exit("codeTextSequence"),i.exit("codeText"),a(x)):(f.type="codeTextData",p(x))}}class _g{constructor(a){this.left=a?[...a]:[],this.right=[]}get(a){if(a<0||a>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+a+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return a<this.left.length?this.left[a]:this.right[this.right.length-a+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(a,r){const c=r??Number.POSITIVE_INFINITY;return c<this.left.length?this.left.slice(a,c):a>this.left.length?this.right.slice(this.right.length-c+this.left.length,this.right.length-a+this.left.length).reverse():this.left.slice(a).concat(this.right.slice(this.right.length-c+this.left.length).reverse())}splice(a,r,c){const s=r||0;this.setCursor(Math.trunc(a));const f=this.right.splice(this.right.length-s,Number.POSITIVE_INFINITY);return c&&zi(this.left,c),f.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(a){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(a)}pushMany(a){this.setCursor(Number.POSITIVE_INFINITY),zi(this.left,a)}unshift(a){this.setCursor(0),this.right.push(a)}unshiftMany(a){this.setCursor(0),zi(this.right,a.reverse())}setCursor(a){if(!(a===this.left.length||a>this.left.length&&this.right.length===0||a<0&&this.left.length===0))if(a<this.left.length){const r=this.left.splice(a,Number.POSITIVE_INFINITY);zi(this.right,r.reverse())}else{const r=this.right.splice(this.left.length+this.right.length-a,Number.POSITIVE_INFINITY);zi(this.left,r.reverse())}}}function zi(i,a){let r=0;if(a.length<1e4)i.push(...a);else for(;r<a.length;)i.push(...a.slice(r,r+1e4)),r+=1e4}function lf(i){const a={};let r=-1,c,s,f,d,m,g,p;const b=new _g(i);for(;++r<b.length;){for(;r in a;)r=a[r];if(c=b.get(r),r&&c[1].type==="chunkFlow"&&b.get(r-1)[1].type==="listItemPrefix"&&(g=c[1]._tokenizer.events,f=0,f<g.length&&g[f][1].type==="lineEndingBlank"&&(f+=2),f<g.length&&g[f][1].type==="content"))for(;++f<g.length&&g[f][1].type!=="content";)g[f][1].type==="chunkText"&&(g[f][1]._isInFirstContentOfListItem=!0,f++);if(c[0]==="enter")c[1].contentType&&(Object.assign(a,Cg(b,r)),r=a[r],p=!0);else if(c[1]._container){for(f=r,s=void 0;f--;)if(d=b.get(f),d[1].type==="lineEnding"||d[1].type==="lineEndingBlank")d[0]==="enter"&&(s&&(b.get(s)[1].type="lineEndingBlank"),d[1].type="lineEnding",s=f);else if(!(d[1].type==="linePrefix"||d[1].type==="listItemIndent"))break;s&&(c[1].end={...b.get(s)[1].start},m=b.slice(s,r),m.unshift(c),b.splice(s,r-s+1,m))}}return en(i,0,Number.POSITIVE_INFINITY,b.slice(0)),!p}function Cg(i,a){const r=i.get(a)[1],c=i.get(a)[2];let s=a-1;const f=[];let d=r._tokenizer;d||(d=c.parser[r.contentType](r.start),r._contentTypeTextTrailing&&(d._contentTypeTextTrailing=!0));const m=d.events,g=[],p={};let b,x,A=-1,E=r,X=0,V=0;const I=[V];for(;E;){for(;i.get(++s)[1]!==E;);f.push(s),E._tokenizer||(b=c.sliceStream(E),E.next||b.push(null),x&&d.defineSkip(E.start),E._isInFirstContentOfListItem&&(d._gfmTasklistFirstContentOfListItem=!0),d.write(b),E._isInFirstContentOfListItem&&(d._gfmTasklistFirstContentOfListItem=void 0)),x=E,E=E.next}for(E=r;++A<m.length;)m[A][0]==="exit"&&m[A-1][0]==="enter"&&m[A][1].type===m[A-1][1].type&&m[A][1].start.line!==m[A][1].end.line&&(V=A+1,I.push(V),E._tokenizer=void 0,E.previous=void 0,E=E.next);for(d.events=[],E?(E._tokenizer=void 0,E.previous=void 0):I.pop(),A=I.length;A--;){const j=m.slice(I[A],I[A+1]),nt=f.pop();g.push([nt,nt+j.length-1]),i.splice(nt,2,j)}for(g.reverse(),A=-1;++A<g.length;)p[X+g[A][0]]=X+g[A][1],X+=g[A][1]-g[A][0]-1;return p}const Og={resolve:Dg,tokenize:wg},Mg={partial:!0,tokenize:Rg};function Dg(i){return lf(i),i}function wg(i,a){let r;return c;function c(m){return i.enter("content"),r=i.enter("chunkContent",{contentType:"content"}),s(m)}function s(m){return m===null?f(m):mt(m)?i.check(Mg,d,f)(m):(i.consume(m),s)}function f(m){return i.exit("chunkContent"),i.exit("content"),a(m)}function d(m){return i.consume(m),i.exit("chunkContent"),r.next=i.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,s}}function Rg(i,a,r){const c=this;return s;function s(d){return i.exit("chunkContent"),i.enter("lineEnding"),i.consume(d),i.exit("lineEnding"),Vt(i,f,"linePrefix")}function f(d){if(d===null||mt(d))return r(d);const m=c.events[c.events.length-1];return!c.parser.constructs.disable.null.includes("codeIndented")&&m&&m[1].type==="linePrefix"&&m[2].sliceSerialize(m[1],!0).length>=4?a(d):i.interrupt(c.parser.constructs.flow,r,a)(d)}}function uf(i,a,r,c,s,f,d,m,g){const p=g||Number.POSITIVE_INFINITY;let b=0;return x;function x(j){return j===60?(i.enter(c),i.enter(s),i.enter(f),i.consume(j),i.exit(f),A):j===null||j===32||j===41||Sr(j)?r(j):(i.enter(c),i.enter(d),i.enter(m),i.enter("chunkString",{contentType:"string"}),V(j))}function A(j){return j===62?(i.enter(f),i.consume(j),i.exit(f),i.exit(s),i.exit(c),a):(i.enter(m),i.enter("chunkString",{contentType:"string"}),E(j))}function E(j){return j===62?(i.exit("chunkString"),i.exit(m),A(j)):j===null||j===60||mt(j)?r(j):(i.consume(j),j===92?X:E)}function X(j){return j===60||j===62||j===92?(i.consume(j),E):E(j)}function V(j){return!b&&(j===null||j===41||be(j))?(i.exit("chunkString"),i.exit(m),i.exit(d),i.exit(c),a(j)):b<p&&j===40?(i.consume(j),b++,V):j===41?(i.consume(j),b--,V):j===null||j===32||j===40||Sr(j)?r(j):(i.consume(j),j===92?I:V)}function I(j){return j===40||j===41||j===92?(i.consume(j),V):V(j)}}function af(i,a,r,c,s,f){const d=this;let m=0,g;return p;function p(E){return i.enter(c),i.enter(s),i.consume(E),i.exit(s),i.enter(f),b}function b(E){return m>999||E===null||E===91||E===93&&!g||E===94&&!m&&"_hiddenFootnoteSupport"in d.parser.constructs?r(E):E===93?(i.exit(f),i.enter(s),i.consume(E),i.exit(s),i.exit(c),a):mt(E)?(i.enter("lineEnding"),i.consume(E),i.exit("lineEnding"),b):(i.enter("chunkString",{contentType:"string"}),x(E))}function x(E){return E===null||E===91||E===93||mt(E)||m++>999?(i.exit("chunkString"),b(E)):(i.consume(E),g||(g=!kt(E)),E===92?A:x)}function A(E){return E===91||E===92||E===93?(i.consume(E),m++,x):x(E)}}function rf(i,a,r,c,s,f){let d;return m;function m(A){return A===34||A===39||A===40?(i.enter(c),i.enter(s),i.consume(A),i.exit(s),d=A===40?41:A,g):r(A)}function g(A){return A===d?(i.enter(s),i.consume(A),i.exit(s),i.exit(c),a):(i.enter(f),p(A))}function p(A){return A===d?(i.exit(f),g(d)):A===null?r(A):mt(A)?(i.enter("lineEnding"),i.consume(A),i.exit("lineEnding"),Vt(i,p,"linePrefix")):(i.enter("chunkString",{contentType:"string"}),b(A))}function b(A){return A===d||A===null||mt(A)?(i.exit("chunkString"),p(A)):(i.consume(A),A===92?x:b)}function x(A){return A===d||A===92?(i.consume(A),b):b(A)}}function Ai(i,a){let r;return c;function c(s){return mt(s)?(i.enter("lineEnding"),i.consume(s),i.exit("lineEnding"),r=!0,c):kt(s)?Vt(i,c,r?"linePrefix":"lineSuffix")(s):a(s)}}const kg={name:"definition",tokenize:Ug},Ng={partial:!0,tokenize:jg};function Ug(i,a,r){const c=this;let s;return f;function f(E){return i.enter("definition"),d(E)}function d(E){return af.call(c,i,m,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(E)}function m(E){return s=Al(c.sliceSerialize(c.events[c.events.length-1][1]).slice(1,-1)),E===58?(i.enter("definitionMarker"),i.consume(E),i.exit("definitionMarker"),g):r(E)}function g(E){return be(E)?Ai(i,p)(E):p(E)}function p(E){return uf(i,b,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(E)}function b(E){return i.attempt(Ng,x,x)(E)}function x(E){return kt(E)?Vt(i,A,"whitespace")(E):A(E)}function A(E){return E===null||mt(E)?(i.exit("definition"),c.parser.defined.push(s),a(E)):r(E)}}function jg(i,a,r){return c;function c(m){return be(m)?Ai(i,s)(m):r(m)}function s(m){return rf(i,f,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(m)}function f(m){return kt(m)?Vt(i,d,"whitespace")(m):d(m)}function d(m){return m===null||mt(m)?a(m):r(m)}}const Bg={name:"hardBreakEscape",tokenize:Hg};function Hg(i,a,r){return c;function c(f){return i.enter("hardBreakEscape"),i.consume(f),s}function s(f){return mt(f)?(i.exit("hardBreakEscape"),a(f)):r(f)}}const Lg={name:"headingAtx",resolve:qg,tokenize:Yg};function qg(i,a){let r=i.length-2,c=3,s,f;return i[c][1].type==="whitespace"&&(c+=2),r-2>c&&i[r][1].type==="whitespace"&&(r-=2),i[r][1].type==="atxHeadingSequence"&&(c===r-1||r-4>c&&i[r-2][1].type==="whitespace")&&(r-=c+1===r?2:4),r>c&&(s={type:"atxHeadingText",start:i[c][1].start,end:i[r][1].end},f={type:"chunkText",start:i[c][1].start,end:i[r][1].end,contentType:"text"},en(i,c,r-c+1,[["enter",s,a],["enter",f,a],["exit",f,a],["exit",s,a]])),i}function Yg(i,a,r){let c=0;return s;function s(b){return i.enter("atxHeading"),f(b)}function f(b){return i.enter("atxHeadingSequence"),d(b)}function d(b){return b===35&&c++<6?(i.consume(b),d):b===null||be(b)?(i.exit("atxHeadingSequence"),m(b)):r(b)}function m(b){return b===35?(i.enter("atxHeadingSequence"),g(b)):b===null||mt(b)?(i.exit("atxHeading"),a(b)):kt(b)?Vt(i,m,"whitespace")(b):(i.enter("atxHeadingText"),p(b))}function g(b){return b===35?(i.consume(b),g):(i.exit("atxHeadingSequence"),m(b))}function p(b){return b===null||b===35||be(b)?(i.exit("atxHeadingText"),m(b)):(i.consume(b),p)}}const Xg=["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"],cf=["pre","script","style","textarea"],Gg={concrete:!0,name:"htmlFlow",resolveTo:Zg,tokenize:Kg},Qg={partial:!0,tokenize:Fg},Vg={partial:!0,tokenize:Jg};function Zg(i){let a=i.length;for(;a--&&!(i[a][0]==="enter"&&i[a][1].type==="htmlFlow"););return a>1&&i[a-2][1].type==="linePrefix"&&(i[a][1].start=i[a-2][1].start,i[a+1][1].start=i[a-2][1].start,i.splice(a-2,2)),i}function Kg(i,a,r){const c=this;let s,f,d,m,g;return p;function p(S){return b(S)}function b(S){return i.enter("htmlFlow"),i.enter("htmlFlowData"),i.consume(S),x}function x(S){return S===33?(i.consume(S),A):S===47?(i.consume(S),f=!0,V):S===63?(i.consume(S),s=3,c.interrupt?a:T):nn(S)?(i.consume(S),d=String.fromCharCode(S),I):r(S)}function A(S){return S===45?(i.consume(S),s=2,E):S===91?(i.consume(S),s=5,m=0,X):nn(S)?(i.consume(S),s=4,c.interrupt?a:T):r(S)}function E(S){return S===45?(i.consume(S),c.interrupt?a:T):r(S)}function X(S){const L="CDATA[";return S===L.charCodeAt(m++)?(i.consume(S),m===L.length?c.interrupt?a:P:X):r(S)}function V(S){return nn(S)?(i.consume(S),d=String.fromCharCode(S),I):r(S)}function I(S){if(S===null||S===47||S===62||be(S)){const L=S===47,$=d.toLowerCase();return!L&&!f&&cf.includes($)?(s=1,c.interrupt?a(S):P(S)):Xg.includes(d.toLowerCase())?(s=6,L?(i.consume(S),j):c.interrupt?a(S):P(S)):(s=7,c.interrupt&&!c.parser.lazy[c.now().line]?r(S):f?nt(S):K(S))}return S===45||we(S)?(i.consume(S),d+=String.fromCharCode(S),I):r(S)}function j(S){return S===62?(i.consume(S),c.interrupt?a:P):r(S)}function nt(S){return kt(S)?(i.consume(S),nt):dt(S)}function K(S){return S===47?(i.consume(S),dt):S===58||S===95||nn(S)?(i.consume(S),lt):kt(S)?(i.consume(S),K):dt(S)}function lt(S){return S===45||S===46||S===58||S===95||we(S)?(i.consume(S),lt):ht(S)}function ht(S){return S===61?(i.consume(S),N):kt(S)?(i.consume(S),ht):K(S)}function N(S){return S===null||S===60||S===61||S===62||S===96?r(S):S===34||S===39?(i.consume(S),g=S,Y):kt(S)?(i.consume(S),N):st(S)}function Y(S){return S===g?(i.consume(S),g=null,ct):S===null||mt(S)?r(S):(i.consume(S),Y)}function st(S){return S===null||S===34||S===39||S===47||S===60||S===61||S===62||S===96||be(S)?ht(S):(i.consume(S),st)}function ct(S){return S===47||S===62||kt(S)?K(S):r(S)}function dt(S){return S===62?(i.consume(S),tt):r(S)}function tt(S){return S===null||mt(S)?P(S):kt(S)?(i.consume(S),tt):r(S)}function P(S){return S===45&&s===2?(i.consume(S),D):S===60&&s===1?(i.consume(S),G):S===62&&s===4?(i.consume(S),y):S===63&&s===3?(i.consume(S),T):S===93&&s===5?(i.consume(S),Et):mt(S)&&(s===6||s===7)?(i.exit("htmlFlowData"),i.check(Qg,_,xt)(S)):S===null||mt(S)?(i.exit("htmlFlowData"),xt(S)):(i.consume(S),P)}function xt(S){return i.check(Vg,et,_)(S)}function et(S){return i.enter("lineEnding"),i.consume(S),i.exit("lineEnding"),J}function J(S){return S===null||mt(S)?xt(S):(i.enter("htmlFlowData"),P(S))}function D(S){return S===45?(i.consume(S),T):P(S)}function G(S){return S===47?(i.consume(S),d="",ut):P(S)}function ut(S){if(S===62){const L=d.toLowerCase();return cf.includes(L)?(i.consume(S),y):P(S)}return nn(S)&&d.length<8?(i.consume(S),d+=String.fromCharCode(S),ut):P(S)}function Et(S){return S===93?(i.consume(S),T):P(S)}function T(S){return S===62?(i.consume(S),y):S===45&&s===2?(i.consume(S),T):P(S)}function y(S){return S===null||mt(S)?(i.exit("htmlFlowData"),_(S)):(i.consume(S),y)}function _(S){return i.exit("htmlFlow"),a(S)}}function Jg(i,a,r){const c=this;return s;function s(d){return mt(d)?(i.enter("lineEnding"),i.consume(d),i.exit("lineEnding"),f):r(d)}function f(d){return c.parser.lazy[c.now().line]?r(d):a(d)}}function Fg(i,a,r){return c;function c(s){return i.enter("lineEnding"),i.consume(s),i.exit("lineEnding"),i.attempt(Eu,a,r)}}const Ig={name:"htmlText",tokenize:$g};function $g(i,a,r){const c=this;let s,f,d;return m;function m(T){return i.enter("htmlText"),i.enter("htmlTextData"),i.consume(T),g}function g(T){return T===33?(i.consume(T),p):T===47?(i.consume(T),ht):T===63?(i.consume(T),K):nn(T)?(i.consume(T),st):r(T)}function p(T){return T===45?(i.consume(T),b):T===91?(i.consume(T),f=0,X):nn(T)?(i.consume(T),nt):r(T)}function b(T){return T===45?(i.consume(T),E):r(T)}function x(T){return T===null?r(T):T===45?(i.consume(T),A):mt(T)?(d=x,G(T)):(i.consume(T),x)}function A(T){return T===45?(i.consume(T),E):x(T)}function E(T){return T===62?D(T):T===45?A(T):x(T)}function X(T){const y="CDATA[";return T===y.charCodeAt(f++)?(i.consume(T),f===y.length?V:X):r(T)}function V(T){return T===null?r(T):T===93?(i.consume(T),I):mt(T)?(d=V,G(T)):(i.consume(T),V)}function I(T){return T===93?(i.consume(T),j):V(T)}function j(T){return T===62?D(T):T===93?(i.consume(T),j):V(T)}function nt(T){return T===null||T===62?D(T):mt(T)?(d=nt,G(T)):(i.consume(T),nt)}function K(T){return T===null?r(T):T===63?(i.consume(T),lt):mt(T)?(d=K,G(T)):(i.consume(T),K)}function lt(T){return T===62?D(T):K(T)}function ht(T){return nn(T)?(i.consume(T),N):r(T)}function N(T){return T===45||we(T)?(i.consume(T),N):Y(T)}function Y(T){return mt(T)?(d=Y,G(T)):kt(T)?(i.consume(T),Y):D(T)}function st(T){return T===45||we(T)?(i.consume(T),st):T===47||T===62||be(T)?ct(T):r(T)}function ct(T){return T===47?(i.consume(T),D):T===58||T===95||nn(T)?(i.consume(T),dt):mt(T)?(d=ct,G(T)):kt(T)?(i.consume(T),ct):D(T)}function dt(T){return T===45||T===46||T===58||T===95||we(T)?(i.consume(T),dt):tt(T)}function tt(T){return T===61?(i.consume(T),P):mt(T)?(d=tt,G(T)):kt(T)?(i.consume(T),tt):ct(T)}function P(T){return T===null||T===60||T===61||T===62||T===96?r(T):T===34||T===39?(i.consume(T),s=T,xt):mt(T)?(d=P,G(T)):kt(T)?(i.consume(T),P):(i.consume(T),et)}function xt(T){return T===s?(i.consume(T),s=void 0,J):T===null?r(T):mt(T)?(d=xt,G(T)):(i.consume(T),xt)}function et(T){return T===null||T===34||T===39||T===60||T===61||T===96?r(T):T===47||T===62||be(T)?ct(T):(i.consume(T),et)}function J(T){return T===47||T===62||be(T)?ct(T):r(T)}function D(T){return T===62?(i.consume(T),i.exit("htmlTextData"),i.exit("htmlText"),a):r(T)}function G(T){return i.exit("htmlTextData"),i.enter("lineEnding"),i.consume(T),i.exit("lineEnding"),ut}function ut(T){return kt(T)?Vt(i,Et,"linePrefix",c.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(T):Et(T)}function Et(T){return i.enter("htmlTextData"),d(T)}}const Ar={name:"labelEnd",resolveAll:e0,resolveTo:n0,tokenize:l0},Wg={tokenize:i0},Pg={tokenize:u0},t0={tokenize:a0};function e0(i){let a=-1;const r=[];for(;++a<i.length;){const c=i[a][1];if(r.push(i[a]),c.type==="labelImage"||c.type==="labelLink"||c.type==="labelEnd"){const s=c.type==="labelImage"?4:2;c.type="data",a+=s}}return i.length!==r.length&&en(i,0,i.length,r),i}function n0(i,a){let r=i.length,c=0,s,f,d,m;for(;r--;)if(s=i[r][1],f){if(s.type==="link"||s.type==="labelLink"&&s._inactive)break;i[r][0]==="enter"&&s.type==="labelLink"&&(s._inactive=!0)}else if(d){if(i[r][0]==="enter"&&(s.type==="labelImage"||s.type==="labelLink")&&!s._balanced&&(f=r,s.type!=="labelLink")){c=2;break}}else s.type==="labelEnd"&&(d=r);const g={type:i[f][1].type==="labelLink"?"link":"image",start:{...i[f][1].start},end:{...i[i.length-1][1].end}},p={type:"label",start:{...i[f][1].start},end:{...i[d][1].end}},b={type:"labelText",start:{...i[f+c+2][1].end},end:{...i[d-2][1].start}};return m=[["enter",g,a],["enter",p,a]],m=qe(m,i.slice(f+1,f+c+3)),m=qe(m,[["enter",b,a]]),m=qe(m,Er(a.parser.constructs.insideSpan.null,i.slice(f+c+4,d-3),a)),m=qe(m,[["exit",b,a],i[d-2],i[d-1],["exit",p,a]]),m=qe(m,i.slice(d+1)),m=qe(m,[["exit",g,a]]),en(i,f,i.length,m),i}function l0(i,a,r){const c=this;let s=c.events.length,f,d;for(;s--;)if((c.events[s][1].type==="labelImage"||c.events[s][1].type==="labelLink")&&!c.events[s][1]._balanced){f=c.events[s][1];break}return m;function m(A){return f?f._inactive?x(A):(d=c.parser.defined.includes(Al(c.sliceSerialize({start:f.end,end:c.now()}))),i.enter("labelEnd"),i.enter("labelMarker"),i.consume(A),i.exit("labelMarker"),i.exit("labelEnd"),g):r(A)}function g(A){return A===40?i.attempt(Wg,b,d?b:x)(A):A===91?i.attempt(Pg,b,d?p:x)(A):d?b(A):x(A)}function p(A){return i.attempt(t0,b,x)(A)}function b(A){return a(A)}function x(A){return f._balanced=!0,r(A)}}function i0(i,a,r){return c;function c(x){return i.enter("resource"),i.enter("resourceMarker"),i.consume(x),i.exit("resourceMarker"),s}function s(x){return be(x)?Ai(i,f)(x):f(x)}function f(x){return x===41?b(x):uf(i,d,m,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(x)}function d(x){return be(x)?Ai(i,g)(x):b(x)}function m(x){return r(x)}function g(x){return x===34||x===39||x===40?rf(i,p,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(x):b(x)}function p(x){return be(x)?Ai(i,b)(x):b(x)}function b(x){return x===41?(i.enter("resourceMarker"),i.consume(x),i.exit("resourceMarker"),i.exit("resource"),a):r(x)}}function u0(i,a,r){const c=this;return s;function s(m){return af.call(c,i,f,d,"reference","referenceMarker","referenceString")(m)}function f(m){return c.parser.defined.includes(Al(c.sliceSerialize(c.events[c.events.length-1][1]).slice(1,-1)))?a(m):r(m)}function d(m){return r(m)}}function a0(i,a,r){return c;function c(f){return i.enter("reference"),i.enter("referenceMarker"),i.consume(f),i.exit("referenceMarker"),s}function s(f){return f===93?(i.enter("referenceMarker"),i.consume(f),i.exit("referenceMarker"),i.exit("reference"),a):r(f)}}const r0={name:"labelStartImage",resolveAll:Ar.resolveAll,tokenize:c0};function c0(i,a,r){const c=this;return s;function s(m){return i.enter("labelImage"),i.enter("labelImageMarker"),i.consume(m),i.exit("labelImageMarker"),f}function f(m){return m===91?(i.enter("labelMarker"),i.consume(m),i.exit("labelMarker"),i.exit("labelImage"),d):r(m)}function d(m){return m===94&&"_hiddenFootnoteSupport"in c.parser.constructs?r(m):a(m)}}const o0={name:"labelStartLink",resolveAll:Ar.resolveAll,tokenize:s0};function s0(i,a,r){const c=this;return s;function s(d){return i.enter("labelLink"),i.enter("labelMarker"),i.consume(d),i.exit("labelMarker"),i.exit("labelLink"),f}function f(d){return d===94&&"_hiddenFootnoteSupport"in c.parser.constructs?r(d):a(d)}}const _r={name:"lineEnding",tokenize:f0};function f0(i,a){return r;function r(c){return i.enter("lineEnding"),i.consume(c),i.exit("lineEnding"),Vt(i,a,"linePrefix")}}const Tu={name:"thematicBreak",tokenize:h0};function h0(i,a,r){let c=0,s;return f;function f(p){return i.enter("thematicBreak"),d(p)}function d(p){return s=p,m(p)}function m(p){return p===s?(i.enter("thematicBreakSequence"),g(p)):c>=3&&(p===null||mt(p))?(i.exit("thematicBreak"),a(p)):r(p)}function g(p){return p===s?(i.consume(p),c++,g):(i.exit("thematicBreakSequence"),kt(p)?Vt(i,m,"whitespace")(p):m(p))}}const Se={continuation:{tokenize:y0},exit:v0,name:"list",tokenize:m0},d0={partial:!0,tokenize:b0},p0={partial:!0,tokenize:g0};function m0(i,a,r){const c=this,s=c.events[c.events.length-1];let f=s&&s[1].type==="linePrefix"?s[2].sliceSerialize(s[1],!0).length:0,d=0;return m;function m(E){const X=c.containerState.type||(E===42||E===43||E===45?"listUnordered":"listOrdered");if(X==="listUnordered"?!c.containerState.marker||E===c.containerState.marker:xr(E)){if(c.containerState.type||(c.containerState.type=X,i.enter(X,{_container:!0})),X==="listUnordered")return i.enter("listItemPrefix"),E===42||E===45?i.check(Tu,r,p)(E):p(E);if(!c.interrupt||E===49)return i.enter("listItemPrefix"),i.enter("listItemValue"),g(E)}return r(E)}function g(E){return xr(E)&&++d<10?(i.consume(E),g):(!c.interrupt||d<2)&&(c.containerState.marker?E===c.containerState.marker:E===41||E===46)?(i.exit("listItemValue"),p(E)):r(E)}function p(E){return i.enter("listItemMarker"),i.consume(E),i.exit("listItemMarker"),c.containerState.marker=c.containerState.marker||E,i.check(Eu,c.interrupt?r:b,i.attempt(d0,A,x))}function b(E){return c.containerState.initialBlankLine=!0,f++,A(E)}function x(E){return kt(E)?(i.enter("listItemPrefixWhitespace"),i.consume(E),i.exit("listItemPrefixWhitespace"),A):r(E)}function A(E){return c.containerState.size=f+c.sliceSerialize(i.exit("listItemPrefix"),!0).length,a(E)}}function y0(i,a,r){const c=this;return c.containerState._closeFlow=void 0,i.check(Eu,s,f);function s(m){return c.containerState.furtherBlankLines=c.containerState.furtherBlankLines||c.containerState.initialBlankLine,Vt(i,a,"listItemIndent",c.containerState.size+1)(m)}function f(m){return c.containerState.furtherBlankLines||!kt(m)?(c.containerState.furtherBlankLines=void 0,c.containerState.initialBlankLine=void 0,d(m)):(c.containerState.furtherBlankLines=void 0,c.containerState.initialBlankLine=void 0,i.attempt(p0,a,d)(m))}function d(m){return c.containerState._closeFlow=!0,c.interrupt=void 0,Vt(i,i.attempt(Se,a,r),"linePrefix",c.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(m)}}function g0(i,a,r){const c=this;return Vt(i,s,"listItemIndent",c.containerState.size+1);function s(f){const d=c.events[c.events.length-1];return d&&d[1].type==="listItemIndent"&&d[2].sliceSerialize(d[1],!0).length===c.containerState.size?a(f):r(f)}}function v0(i){i.exit(this.containerState.type)}function b0(i,a,r){const c=this;return Vt(i,s,"listItemPrefixWhitespace",c.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function s(f){const d=c.events[c.events.length-1];return!kt(f)&&d&&d[1].type==="listItemPrefixWhitespace"?a(f):r(f)}}const of={name:"setextUnderline",resolveTo:S0,tokenize:x0};function S0(i,a){let r=i.length,c,s,f;for(;r--;)if(i[r][0]==="enter"){if(i[r][1].type==="content"){c=r;break}i[r][1].type==="paragraph"&&(s=r)}else i[r][1].type==="content"&&i.splice(r,1),!f&&i[r][1].type==="definition"&&(f=r);const d={type:"setextHeading",start:{...i[c][1].start},end:{...i[i.length-1][1].end}};return i[s][1].type="setextHeadingText",f?(i.splice(s,0,["enter",d,a]),i.splice(f+1,0,["exit",i[c][1],a]),i[c][1].end={...i[f][1].end}):i[c][1]=d,i.push(["exit",d,a]),i}function x0(i,a,r){const c=this;let s;return f;function f(p){let b=c.events.length,x;for(;b--;)if(c.events[b][1].type!=="lineEnding"&&c.events[b][1].type!=="linePrefix"&&c.events[b][1].type!=="content"){x=c.events[b][1].type==="paragraph";break}return!c.parser.lazy[c.now().line]&&(c.interrupt||x)?(i.enter("setextHeadingLine"),s=p,d(p)):r(p)}function d(p){return i.enter("setextHeadingLineSequence"),m(p)}function m(p){return p===s?(i.consume(p),m):(i.exit("setextHeadingLineSequence"),kt(p)?Vt(i,g,"lineSuffix")(p):g(p))}function g(p){return p===null||mt(p)?(i.exit("setextHeadingLine"),a(p)):r(p)}}const E0={tokenize:T0};function T0(i){const a=this,r=i.attempt(Eu,c,i.attempt(this.parser.constructs.flowInitial,s,Vt(i,i.attempt(this.parser.constructs.flow,s,i.attempt(Og,s)),"linePrefix")));return r;function c(f){if(f===null){i.consume(f);return}return i.enter("lineEndingBlank"),i.consume(f),i.exit("lineEndingBlank"),a.currentConstruct=void 0,r}function s(f){if(f===null){i.consume(f);return}return i.enter("lineEnding"),i.consume(f),i.exit("lineEnding"),a.currentConstruct=void 0,r}}const z0={resolveAll:ff()},A0=sf("string"),_0=sf("text");function sf(i){return{resolveAll:ff(i==="text"?C0:void 0),tokenize:a};function a(r){const c=this,s=this.parser.constructs[i],f=r.attempt(s,d,m);return d;function d(b){return p(b)?f(b):m(b)}function m(b){if(b===null){r.consume(b);return}return r.enter("data"),r.consume(b),g}function g(b){return p(b)?(r.exit("data"),f(b)):(r.consume(b),g)}function p(b){if(b===null)return!0;const x=s[b];let A=-1;if(x)for(;++A<x.length;){const E=x[A];if(!E.previous||E.previous.call(c,c.previous))return!0}return!1}}}function ff(i){return a;function a(r,c){let s=-1,f;for(;++s<=r.length;)f===void 0?r[s]&&r[s][1].type==="data"&&(f=s,s++):(!r[s]||r[s][1].type!=="data")&&(s!==f+2&&(r[f][1].end=r[s-1][1].end,r.splice(f+2,s-f-2),s=f+2),f=void 0);return i?i(r,c):r}}function C0(i,a){let r=0;for(;++r<=i.length;)if((r===i.length||i[r][1].type==="lineEnding")&&i[r-1][1].type==="data"){const c=i[r-1][1],s=a.sliceStream(c);let f=s.length,d=-1,m=0,g;for(;f--;){const p=s[f];if(typeof p=="string"){for(d=p.length;p.charCodeAt(d-1)===32;)m++,d--;if(d)break;d=-1}else if(p===-2)g=!0,m++;else if(p!==-1){f++;break}}if(a._contentTypeTextTrailing&&r===i.length&&(m=0),m){const p={type:r===i.length||g||m<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:f?d:c.start._bufferIndex+d,_index:c.start._index+f,line:c.end.line,column:c.end.column-m,offset:c.end.offset-m},end:{...c.end}};c.end={...p.start},c.start.offset===c.end.offset?Object.assign(c,p):(i.splice(r,0,["enter",p,a],["exit",p,a]),r+=2)}r++}return i}const O0=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:{91:kg},disable:{null:[]},document:{42:Se,43:Se,45:Se,48:Se,49:Se,50:Se,51:Se,52:Se,53:Se,54:Se,55:Se,56:Se,57:Se,62:Ws},flow:{35:Lg,42:Tu,45:[of,Tu],60:Gg,61:of,95:Tu,96:nf,126:nf},flowInitial:{[-2]:zr,[-1]:zr,32:zr},insideSpan:{null:[Tr,z0]},string:{38:tf,92:Ps},text:{[-5]:_r,[-4]:_r,[-3]:_r,33:r0,38:tf,42:Tr,60:[og,Ig],91:o0,92:[Bg,Ps],93:Ar,95:Tr,96:Eg}},Symbol.toStringTag,{value:"Module"}));function M0(i,a,r){let c={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0};const s={},f=[];let d=[],m=[];const g={attempt:Y(ht),check:Y(N),consume:nt,enter:K,exit:lt,interrupt:Y(N,{interrupt:!0})},p={code:null,containerState:{},defineSkip:V,events:[],now:X,parser:i,previous:null,sliceSerialize:A,sliceStream:E,write:x};let b=a.tokenize.call(p,g);return a.resolveAll&&f.push(a),p;function x(tt){return d=qe(d,tt),I(),d[d.length-1]!==null?[]:(st(a,0),p.events=Er(f,p.events,p),p.events)}function A(tt,P){return w0(E(tt),P)}function E(tt){return D0(d,tt)}function X(){const{_bufferIndex:tt,_index:P,line:xt,column:et,offset:J}=c;return{_bufferIndex:tt,_index:P,line:xt,column:et,offset:J}}function V(tt){s[tt.line]=tt.column,dt()}function I(){let tt;for(;c._index<d.length;){const P=d[c._index];if(typeof P=="string")for(tt=c._index,c._bufferIndex<0&&(c._bufferIndex=0);c._index===tt&&c._bufferIndex<P.length;)j(P.charCodeAt(c._bufferIndex));else j(P)}}function j(tt){b=b(tt)}function nt(tt){mt(tt)?(c.line++,c.column=1,c.offset+=tt===-3?2:1,dt()):tt!==-1&&(c.column++,c.offset++),c._bufferIndex<0?c._index++:(c._bufferIndex++,c._bufferIndex===d[c._index].length&&(c._bufferIndex=-1,c._index++)),p.previous=tt}function K(tt,P){const xt=P||{};return xt.type=tt,xt.start=X(),p.events.push(["enter",xt,p]),m.push(xt),xt}function lt(tt){const P=m.pop();return P.end=X(),p.events.push(["exit",P,p]),P}function ht(tt,P){st(tt,P.from)}function N(tt,P){P.restore()}function Y(tt,P){return xt;function xt(et,J,D){let G,ut,Et,T;return Array.isArray(et)?_(et):"tokenize"in et?_([et]):y(et);function y(F){return at;function at(Mt){const bt=Mt!==null&&F[Mt],xe=Mt!==null&&F.null,on=[...Array.isArray(bt)?bt:bt?[bt]:[],...Array.isArray(xe)?xe:xe?[xe]:[]];return _(on)(Mt)}}function _(F){return G=F,ut=0,F.length===0?D:S(F[ut])}function S(F){return at;function at(Mt){return T=ct(),Et=F,F.partial||(p.currentConstruct=F),F.name&&p.parser.constructs.disable.null.includes(F.name)?$():F.tokenize.call(P?Object.assign(Object.create(p),P):p,g,L,$)(Mt)}}function L(F){return tt(Et,T),J}function $(F){return T.restore(),++ut<G.length?S(G[ut]):D}}}function st(tt,P){tt.resolveAll&&!f.includes(tt)&&f.push(tt),tt.resolve&&en(p.events,P,p.events.length-P,tt.resolve(p.events.slice(P),p)),tt.resolveTo&&(p.events=tt.resolveTo(p.events,p))}function ct(){const tt=X(),P=p.previous,xt=p.currentConstruct,et=p.events.length,J=Array.from(m);return{from:et,restore:D};function D(){c=tt,p.previous=P,p.currentConstruct=xt,p.events.length=et,m=J,dt()}}function dt(){c.line in s&&c.column<2&&(c.column=s[c.line],c.offset+=s[c.line]-1)}}function D0(i,a){const r=a.start._index,c=a.start._bufferIndex,s=a.end._index,f=a.end._bufferIndex;let d;if(r===s)d=[i[r].slice(c,f)];else{if(d=i.slice(r,s),c>-1){const m=d[0];typeof m=="string"?d[0]=m.slice(c):d.shift()}f>0&&d.push(i[s].slice(0,f))}return d}function w0(i,a){let r=-1;const c=[];let s;for(;++r<i.length;){const f=i[r];let d;if(typeof f=="string")d=f;else switch(f){case-5:{d="\r";break}case-4:{d=`
|
|
8
|
+
`+l.stack}}var Dl=Object.prototype.hasOwnProperty,wl=i.unstable_scheduleCallback,Di=i.unstable_cancelCallback,Vr=i.unstable_shouldYield,Zr=i.unstable_requestPaint,me=i.unstable_now,Kr=i.unstable_getCurrentPriorityLevel,L=i.unstable_ImmediatePriority,P=i.unstable_UserBlockingPriority,yt=i.unstable_NormalPriority,At=i.unstable_LowPriority,Ut=i.unstable_IdlePriority,Re=i.log,fn=i.unstable_setDisableYieldValue,ye=null,ie=null;function Ee(t){if(typeof Re=="function"&&fn(t),ie&&typeof ie.setStrictMode=="function")try{ie.setStrictMode(ye,t)}catch{}}var Gt=Math.clz32?Math.clz32:Ov,Rn=Math.log,$e=Math.LN2;function Ov(t){return t>>>=0,t===0?32:31-(Rn(t)/$e|0)|0}var Na=256,ja=262144,Ua=4194304;function al(t){var e=t&42;if(e!==0)return e;switch(t&-t){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 t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function Ba(t,e,n){var l=t.pendingLanes;if(l===0)return 0;var u=0,o=t.suspendedLanes,h=t.pingedLanes;t=t.warmLanes;var v=l&134217727;return v!==0?(l=v&~o,l!==0?u=al(l):(h&=v,h!==0?u=al(h):n||(n=v&~t,n!==0&&(u=al(n))))):(v=l&~o,v!==0?u=al(v):h!==0?u=al(h):n||(n=l&~t,n!==0&&(u=al(n)))),u===0?0:e!==0&&e!==u&&(e&o)===0&&(o=u&-u,n=e&-e,o>=n||o===32&&(n&4194048)!==0)?e:u}function wi(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function Mv(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+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 e+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 Zf(){var t=Ua;return Ua<<=1,(Ua&62914560)===0&&(Ua=4194304),t}function Jr(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function Ri(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function Dv(t,e,n,l,u,o){var h=t.pendingLanes;t.pendingLanes=n,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=n,t.entangledLanes&=n,t.errorRecoveryDisabledLanes&=n,t.shellSuspendCounter=0;var v=t.entanglements,A=t.expirationTimes,w=t.hiddenUpdates;for(n=h&~n;0<n;){var j=31-Gt(n),X=1<<j;v[j]=0,A[j]=-1;var R=w[j];if(R!==null)for(w[j]=null,j=0;j<R.length;j++){var k=R[j];k!==null&&(k.lane&=-536870913)}n&=~X}l!==0&&Kf(t,l,0),o!==0&&u===0&&t.tag!==0&&(t.suspendedLanes|=o&~(h&~e))}function Kf(t,e,n){t.pendingLanes|=e,t.suspendedLanes&=~e;var l=31-Gt(e);t.entangledLanes|=e,t.entanglements[l]=t.entanglements[l]|1073741824|n&261930}function Jf(t,e){var n=t.entangledLanes|=e;for(t=t.entanglements;n;){var l=31-Gt(n),u=1<<l;u&e|t[l]&e&&(t[l]|=e),n&=~u}}function Ff(t,e){var n=e&-e;return n=(n&42)!==0?1:Fr(n),(n&(t.suspendedLanes|e))!==0?0:n}function Fr(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=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:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function Ir(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function If(){var t=Z.p;return t!==0?t:(t=window.event,t===void 0?32:jm(t.type))}function $f(t,e){var n=Z.p;try{return Z.p=t,e()}finally{Z.p=n}}var kn=Math.random().toString(36).slice(2),ce="__reactFiber$"+kn,Te="__reactProps$"+kn,Rl="__reactContainer$"+kn,$r="__reactEvents$"+kn,wv="__reactListeners$"+kn,Rv="__reactHandles$"+kn,Wf="__reactResources$"+kn,ki="__reactMarker$"+kn;function Wr(t){delete t[ce],delete t[Te],delete t[$r],delete t[wv],delete t[Rv]}function kl(t){var e=t[ce];if(e)return e;for(var n=t.parentNode;n;){if(e=n[Rl]||n[ce]){if(n=e.alternate,e.child!==null||n!==null&&n.child!==null)for(t=xm(t);t!==null;){if(n=t[ce])return n;t=xm(t)}return e}t=n,n=t.parentNode}return null}function Nl(t){if(t=t[ce]||t[Rl]){var e=t.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return t}return null}function Ni(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(c(33))}function jl(t){var e=t[Wf];return e||(e=t[Wf]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function ue(t){t[ki]=!0}var Pf=new Set,th={};function ul(t,e){Ul(t,e),Ul(t+"Capture",e)}function Ul(t,e){for(th[t]=e,t=0;t<e.length;t++)Pf.add(e[t])}var kv=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]*$"),eh={},nh={};function Nv(t){return Dl.call(nh,t)?!0:Dl.call(eh,t)?!1:kv.test(t)?nh[t]=!0:(eh[t]=!0,!1)}function Ha(t,e,n){if(Nv(e))if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var l=e.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+n)}}function La(t,e,n){if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,""+n)}}function hn(t,e,n,l){if(l===null)t.removeAttribute(n);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(n);return}t.setAttributeNS(e,n,""+l)}}function Ye(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function lh(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function jv(t,e,n){var l=Object.getOwnPropertyDescriptor(t.constructor.prototype,e);if(!t.hasOwnProperty(e)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var u=l.get,o=l.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return u.call(this)},set:function(h){n=""+h,o.call(this,h)}}),Object.defineProperty(t,e,{enumerable:l.enumerable}),{getValue:function(){return n},setValue:function(h){n=""+h},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function Pr(t){if(!t._valueTracker){var e=lh(t)?"checked":"value";t._valueTracker=jv(t,e,""+t[e])}}function ih(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),l="";return t&&(l=lh(t)?t.checked?"true":"false":t.value),t=l,t!==n?(e.setValue(t),!0):!1}function qa(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var Uv=/[\n"\\]/g;function Xe(t){return t.replace(Uv,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function tc(t,e,n,l,u,o,h,v){t.name="",h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"?t.type=h:t.removeAttribute("type"),e!=null?h==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+Ye(e)):t.value!==""+Ye(e)&&(t.value=""+Ye(e)):h!=="submit"&&h!=="reset"||t.removeAttribute("value"),e!=null?ec(t,h,Ye(e)):n!=null?ec(t,h,Ye(n)):l!=null&&t.removeAttribute("value"),u==null&&o!=null&&(t.defaultChecked=!!o),u!=null&&(t.checked=u&&typeof u!="function"&&typeof u!="symbol"),v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"?t.name=""+Ye(v):t.removeAttribute("name")}function ah(t,e,n,l,u,o,h,v){if(o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"&&(t.type=o),e!=null||n!=null){if(!(o!=="submit"&&o!=="reset"||e!=null)){Pr(t);return}n=n!=null?""+Ye(n):"",e=e!=null?""+Ye(e):n,v||e===t.value||(t.value=e),t.defaultValue=e}l=l??u,l=typeof l!="function"&&typeof l!="symbol"&&!!l,t.checked=v?t.checked:!!l,t.defaultChecked=!!l,h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"&&(t.name=h),Pr(t)}function ec(t,e,n){e==="number"&&qa(t.ownerDocument)===t||t.defaultValue===""+n||(t.defaultValue=""+n)}function Bl(t,e,n,l){if(t=t.options,e){e={};for(var u=0;u<n.length;u++)e["$"+n[u]]=!0;for(n=0;n<t.length;n++)u=e.hasOwnProperty("$"+t[n].value),t[n].selected!==u&&(t[n].selected=u),u&&l&&(t[n].defaultSelected=!0)}else{for(n=""+Ye(n),e=null,u=0;u<t.length;u++){if(t[u].value===n){t[u].selected=!0,l&&(t[u].defaultSelected=!0);return}e!==null||t[u].disabled||(e=t[u])}e!==null&&(e.selected=!0)}}function uh(t,e,n){if(e!=null&&(e=""+Ye(e),e!==t.value&&(t.value=e),n==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=n!=null?""+Ye(n):""}function rh(t,e,n,l){if(e==null){if(l!=null){if(n!=null)throw Error(c(92));if(J(l)){if(1<l.length)throw Error(c(93));l=l[0]}n=l}n==null&&(n=""),e=n}n=Ye(e),t.defaultValue=n,l=t.textContent,l===n&&l!==""&&l!==null&&(t.value=l),Pr(t)}function Hl(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&n.nodeType===3){n.nodeValue=e;return}}t.textContent=e}var Bv=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 ch(t,e,n){var l=e.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?l?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":l?t.setProperty(e,n):typeof n!="number"||n===0||Bv.has(e)?e==="float"?t.cssFloat=n:t[e]=(""+n).trim():t[e]=n+"px"}function oh(t,e,n){if(e!=null&&typeof e!="object")throw Error(c(62));if(t=t.style,n!=null){for(var l in n)!n.hasOwnProperty(l)||e!=null&&e.hasOwnProperty(l)||(l.indexOf("--")===0?t.setProperty(l,""):l==="float"?t.cssFloat="":t[l]="");for(var u in e)l=e[u],e.hasOwnProperty(u)&&n[u]!==l&&ch(t,u,l)}else for(var o in e)e.hasOwnProperty(o)&&ch(t,o,e[o])}function nc(t){if(t.indexOf("-")===-1)return!1;switch(t){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 Hv=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"]]),Lv=/^[\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 Ya(t){return Lv.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function dn(){}var lc=null;function ic(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Ll=null,ql=null;function sh(t){var e=Nl(t);if(e&&(t=e.stateNode)){var n=t[Te]||null;t:switch(t=e.stateNode,e.type){case"input":if(tc(t,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),e=n.name,n.type==="radio"&&e!=null){for(n=t;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+Xe(""+e)+'"][type="radio"]'),e=0;e<n.length;e++){var l=n[e];if(l!==t&&l.form===t.form){var u=l[Te]||null;if(!u)throw Error(c(90));tc(l,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name)}}for(e=0;e<n.length;e++)l=n[e],l.form===t.form&&ih(l)}break t;case"textarea":uh(t,n.value,n.defaultValue);break t;case"select":e=n.value,e!=null&&Bl(t,!!n.multiple,e,!1)}}}var ac=!1;function fh(t,e,n){if(ac)return t(e,n);ac=!0;try{var l=t(e);return l}finally{if(ac=!1,(Ll!==null||ql!==null)&&(Ou(),Ll&&(e=Ll,t=ql,ql=Ll=null,sh(e),t)))for(e=0;e<t.length;e++)sh(t[e])}}function ji(t,e){var n=t.stateNode;if(n===null)return null;var l=n[Te]||null;if(l===null)return null;n=l[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(t=t.type,l=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!l;break t;default:t=!1}if(t)return null;if(n&&typeof n!="function")throw Error(c(231,e,typeof n));return n}var pn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),uc=!1;if(pn)try{var Ui={};Object.defineProperty(Ui,"passive",{get:function(){uc=!0}}),window.addEventListener("test",Ui,Ui),window.removeEventListener("test",Ui,Ui)}catch{uc=!1}var Nn=null,rc=null,Xa=null;function hh(){if(Xa)return Xa;var t,e=rc,n=e.length,l,u="value"in Nn?Nn.value:Nn.textContent,o=u.length;for(t=0;t<n&&e[t]===u[t];t++);var h=n-t;for(l=1;l<=h&&e[n-l]===u[o-l];l++);return Xa=u.slice(t,1<l?1-l:void 0)}function Ga(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function Qa(){return!0}function dh(){return!1}function ze(t){function e(n,l,u,o,h){this._reactName=n,this._targetInst=u,this.type=l,this.nativeEvent=o,this.target=h,this.currentTarget=null;for(var v in t)t.hasOwnProperty(v)&&(n=t[v],this[v]=n?n(o):o[v]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Qa:dh,this.isPropagationStopped=dh,this}return S(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Qa)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Qa)},persist:function(){},isPersistent:Qa}),e}var rl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Va=ze(rl),Bi=S({},rl,{view:0,detail:0}),qv=ze(Bi),cc,oc,Hi,Za=S({},Bi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:fc,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==Hi&&(Hi&&t.type==="mousemove"?(cc=t.screenX-Hi.screenX,oc=t.screenY-Hi.screenY):oc=cc=0,Hi=t),cc)},movementY:function(t){return"movementY"in t?t.movementY:oc}}),ph=ze(Za),Yv=S({},Za,{dataTransfer:0}),Xv=ze(Yv),Gv=S({},Bi,{relatedTarget:0}),sc=ze(Gv),Qv=S({},rl,{animationName:0,elapsedTime:0,pseudoElement:0}),Vv=ze(Qv),Zv=S({},rl,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),Kv=ze(Zv),Jv=S({},rl,{data:0}),mh=ze(Jv),Fv={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Iv={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"},$v={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Wv(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=$v[t])?!!e[t]:!1}function fc(){return Wv}var Pv=S({},Bi,{key:function(t){if(t.key){var e=Fv[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=Ga(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?Iv[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:fc,charCode:function(t){return t.type==="keypress"?Ga(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Ga(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),tx=ze(Pv),ex=S({},Za,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),yh=ze(ex),nx=S({},Bi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:fc}),lx=ze(nx),ix=S({},rl,{propertyName:0,elapsedTime:0,pseudoElement:0}),ax=ze(ix),ux=S({},Za,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),rx=ze(ux),cx=S({},rl,{newState:0,oldState:0}),ox=ze(cx),sx=[9,13,27,32],hc=pn&&"CompositionEvent"in window,Li=null;pn&&"documentMode"in document&&(Li=document.documentMode);var fx=pn&&"TextEvent"in window&&!Li,gh=pn&&(!hc||Li&&8<Li&&11>=Li),vh=" ",xh=!1;function bh(t,e){switch(t){case"keyup":return sx.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Sh(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Yl=!1;function hx(t,e){switch(t){case"compositionend":return Sh(e);case"keypress":return e.which!==32?null:(xh=!0,vh);case"textInput":return t=e.data,t===vh&&xh?null:t;default:return null}}function dx(t,e){if(Yl)return t==="compositionend"||!hc&&bh(t,e)?(t=hh(),Xa=rc=Nn=null,Yl=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return gh&&e.locale!=="ko"?null:e.data;default:return null}}var px={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 Eh(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!px[t.type]:e==="textarea"}function Th(t,e,n,l){Ll?ql?ql.push(l):ql=[l]:Ll=l,e=ju(e,"onChange"),0<e.length&&(n=new Va("onChange","change",null,n,l),t.push({event:n,listeners:e}))}var qi=null,Yi=null;function mx(t){am(t,0)}function Ka(t){var e=Ni(t);if(ih(e))return t}function zh(t,e){if(t==="change")return e}var Ah=!1;if(pn){var dc;if(pn){var pc="oninput"in document;if(!pc){var Ch=document.createElement("div");Ch.setAttribute("oninput","return;"),pc=typeof Ch.oninput=="function"}dc=pc}else dc=!1;Ah=dc&&(!document.documentMode||9<document.documentMode)}function _h(){qi&&(qi.detachEvent("onpropertychange",Oh),Yi=qi=null)}function Oh(t){if(t.propertyName==="value"&&Ka(Yi)){var e=[];Th(e,Yi,t,ic(t)),fh(mx,e)}}function yx(t,e,n){t==="focusin"?(_h(),qi=e,Yi=n,qi.attachEvent("onpropertychange",Oh)):t==="focusout"&&_h()}function gx(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Ka(Yi)}function vx(t,e){if(t==="click")return Ka(e)}function xx(t,e){if(t==="input"||t==="change")return Ka(e)}function bx(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var ke=typeof Object.is=="function"?Object.is:bx;function Xi(t,e){if(ke(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var n=Object.keys(t),l=Object.keys(e);if(n.length!==l.length)return!1;for(l=0;l<n.length;l++){var u=n[l];if(!Dl.call(e,u)||!ke(t[u],e[u]))return!1}return!0}function Mh(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Dh(t,e){var n=Mh(t);t=0;for(var l;n;){if(n.nodeType===3){if(l=t+n.textContent.length,t<=e&&l>=e)return{node:n,offset:e-t};t=l}t:{for(;n;){if(n.nextSibling){n=n.nextSibling;break t}n=n.parentNode}n=void 0}n=Mh(n)}}function wh(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?wh(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Rh(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=qa(t.document);e instanceof t.HTMLIFrameElement;){try{var n=typeof e.contentWindow.location.href=="string"}catch{n=!1}if(n)t=e.contentWindow;else break;e=qa(t.document)}return e}function mc(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var Sx=pn&&"documentMode"in document&&11>=document.documentMode,Xl=null,yc=null,Gi=null,gc=!1;function kh(t,e,n){var l=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;gc||Xl==null||Xl!==qa(l)||(l=Xl,"selectionStart"in l&&mc(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),Gi&&Xi(Gi,l)||(Gi=l,l=ju(yc,"onSelect"),0<l.length&&(e=new Va("onSelect","select",null,e,n),t.push({event:e,listeners:l}),e.target=Xl)))}function cl(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n}var Gl={animationend:cl("Animation","AnimationEnd"),animationiteration:cl("Animation","AnimationIteration"),animationstart:cl("Animation","AnimationStart"),transitionrun:cl("Transition","TransitionRun"),transitionstart:cl("Transition","TransitionStart"),transitioncancel:cl("Transition","TransitionCancel"),transitionend:cl("Transition","TransitionEnd")},vc={},Nh={};pn&&(Nh=document.createElement("div").style,"AnimationEvent"in window||(delete Gl.animationend.animation,delete Gl.animationiteration.animation,delete Gl.animationstart.animation),"TransitionEvent"in window||delete Gl.transitionend.transition);function ol(t){if(vc[t])return vc[t];if(!Gl[t])return t;var e=Gl[t],n;for(n in e)if(e.hasOwnProperty(n)&&n in Nh)return vc[t]=e[n];return t}var jh=ol("animationend"),Uh=ol("animationiteration"),Bh=ol("animationstart"),Ex=ol("transitionrun"),Tx=ol("transitionstart"),zx=ol("transitioncancel"),Hh=ol("transitionend"),Lh=new Map,xc="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(" ");xc.push("scrollEnd");function We(t,e){Lh.set(t,e),ul(e,[t])}var Ja=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},Ge=[],Ql=0,bc=0;function Fa(){for(var t=Ql,e=bc=Ql=0;e<t;){var n=Ge[e];Ge[e++]=null;var l=Ge[e];Ge[e++]=null;var u=Ge[e];Ge[e++]=null;var o=Ge[e];if(Ge[e++]=null,l!==null&&u!==null){var h=l.pending;h===null?u.next=u:(u.next=h.next,h.next=u),l.pending=u}o!==0&&qh(n,u,o)}}function Ia(t,e,n,l){Ge[Ql++]=t,Ge[Ql++]=e,Ge[Ql++]=n,Ge[Ql++]=l,bc|=l,t.lanes|=l,t=t.alternate,t!==null&&(t.lanes|=l)}function Sc(t,e,n,l){return Ia(t,e,n,l),$a(t)}function sl(t,e){return Ia(t,null,null,e),$a(t)}function qh(t,e,n){t.lanes|=n;var l=t.alternate;l!==null&&(l.lanes|=n);for(var u=!1,o=t.return;o!==null;)o.childLanes|=n,l=o.alternate,l!==null&&(l.childLanes|=n),o.tag===22&&(t=o.stateNode,t===null||t._visibility&1||(u=!0)),t=o,o=o.return;return t.tag===3?(o=t.stateNode,u&&e!==null&&(u=31-Gt(n),t=o.hiddenUpdates,l=t[u],l===null?t[u]=[e]:l.push(e),e.lane=n|536870912),o):null}function $a(t){if(50<fa)throw fa=0,wo=null,Error(c(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var Vl={};function Ax(t,e,n,l){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ne(t,e,n,l){return new Ax(t,e,n,l)}function Ec(t){return t=t.prototype,!(!t||!t.isReactComponent)}function mn(t,e){var n=t.alternate;return n===null?(n=Ne(t.tag,e,t.key,t.mode),n.elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=e,n.type=t.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=t.flags&65011712,n.childLanes=t.childLanes,n.lanes=t.lanes,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n.refCleanup=t.refCleanup,n}function Yh(t,e){t.flags&=65011714;var n=t.alternate;return n===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=n.childLanes,t.lanes=n.lanes,t.child=n.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=n.memoizedProps,t.memoizedState=n.memoizedState,t.updateQueue=n.updateQueue,t.type=n.type,e=n.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t}function Wa(t,e,n,l,u,o){var h=0;if(l=t,typeof t=="function")Ec(t)&&(h=1);else if(typeof t=="string")h=Db(t,n,Y.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case ft:return t=Ne(31,n,e,u),t.elementType=ft,t.lanes=o,t;case G:return fl(n.children,u,o,e);case I:h=8,u|=24;break;case H:return t=Ne(12,n,e,u|2),t.elementType=H,t.lanes=o,t;case dt:return t=Ne(13,n,e,u),t.elementType=dt,t.lanes=o,t;case N:return t=Ne(19,n,e,u),t.elementType=N,t.lanes=o,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case V:h=10;break t;case tt:h=9;break t;case st:h=11;break t;case K:h=14;break t;case ut:h=16,l=null;break t}h=29,n=Error(c(130,t===null?"null":typeof t,"")),l=null}return e=Ne(h,n,e,u),e.elementType=t,e.type=l,e.lanes=o,e}function fl(t,e,n,l){return t=Ne(7,t,l,e),t.lanes=n,t}function Tc(t,e,n){return t=Ne(6,t,null,e),t.lanes=n,t}function Xh(t){var e=Ne(18,null,null,0);return e.stateNode=t,e}function zc(t,e,n){return e=Ne(4,t.children!==null?t.children:[],t.key,e),e.lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var Gh=new WeakMap;function Qe(t,e){if(typeof t=="object"&&t!==null){var n=Gh.get(t);return n!==void 0?n:(e={value:t,source:e,stack:ka(e)},Gh.set(t,e),e)}return{value:t,source:e,stack:ka(e)}}var Zl=[],Kl=0,Pa=null,Qi=0,Ve=[],Ze=0,jn=null,an=1,un="";function yn(t,e){Zl[Kl++]=Qi,Zl[Kl++]=Pa,Pa=t,Qi=e}function Qh(t,e,n){Ve[Ze++]=an,Ve[Ze++]=un,Ve[Ze++]=jn,jn=t;var l=an;t=un;var u=32-Gt(l)-1;l&=~(1<<u),n+=1;var o=32-Gt(e)+u;if(30<o){var h=u-u%5;o=(l&(1<<h)-1).toString(32),l>>=h,u-=h,an=1<<32-Gt(e)+u|n<<u|l,un=o+t}else an=1<<o|n<<u|l,un=t}function Ac(t){t.return!==null&&(yn(t,1),Qh(t,1,0))}function Cc(t){for(;t===Pa;)Pa=Zl[--Kl],Zl[Kl]=null,Qi=Zl[--Kl],Zl[Kl]=null;for(;t===jn;)jn=Ve[--Ze],Ve[Ze]=null,un=Ve[--Ze],Ve[Ze]=null,an=Ve[--Ze],Ve[Ze]=null}function Vh(t,e){Ve[Ze++]=an,Ve[Ze++]=un,Ve[Ze++]=jn,an=e.id,un=e.overflow,jn=t}var oe=null,Zt=null,wt=!1,Un=null,Ke=!1,_c=Error(c(519));function Bn(t){var e=Error(c(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Vi(Qe(e,t)),_c}function Zh(t){var e=t.stateNode,n=t.type,l=t.memoizedProps;switch(e[ce]=t,e[Te]=l,n){case"dialog":_t("cancel",e),_t("close",e);break;case"iframe":case"object":case"embed":_t("load",e);break;case"video":case"audio":for(n=0;n<da.length;n++)_t(da[n],e);break;case"source":_t("error",e);break;case"img":case"image":case"link":_t("error",e),_t("load",e);break;case"details":_t("toggle",e);break;case"input":_t("invalid",e),ah(e,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0);break;case"select":_t("invalid",e);break;case"textarea":_t("invalid",e),rh(e,l.value,l.defaultValue,l.children)}n=l.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||e.textContent===""+n||l.suppressHydrationWarning===!0||om(e.textContent,n)?(l.popover!=null&&(_t("beforetoggle",e),_t("toggle",e)),l.onScroll!=null&&_t("scroll",e),l.onScrollEnd!=null&&_t("scrollend",e),l.onClick!=null&&(e.onclick=dn),e=!0):e=!1,e||Bn(t,!0)}function Kh(t){for(oe=t.return;oe;)switch(oe.tag){case 5:case 31:case 13:Ke=!1;return;case 27:case 3:Ke=!0;return;default:oe=oe.return}}function Jl(t){if(t!==oe)return!1;if(!wt)return Kh(t),wt=!0,!1;var e=t.tag,n;if((n=e!==3&&e!==27)&&((n=e===5)&&(n=t.type,n=!(n!=="form"&&n!=="button")||Zo(t.type,t.memoizedProps)),n=!n),n&&Zt&&Bn(t),Kh(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(c(317));Zt=vm(t)}else if(e===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(c(317));Zt=vm(t)}else e===27?(e=Zt,$n(t.type)?(t=$o,$o=null,Zt=t):Zt=e):Zt=oe?Fe(t.stateNode.nextSibling):null;return!0}function hl(){Zt=oe=null,wt=!1}function Oc(){var t=Un;return t!==null&&(Oe===null?Oe=t:Oe.push.apply(Oe,t),Un=null),t}function Vi(t){Un===null?Un=[t]:Un.push(t)}var Mc=y(null),dl=null,gn=null;function Hn(t,e,n){b(Mc,e._currentValue),e._currentValue=n}function vn(t){t._currentValue=Mc.current,C(Mc)}function Dc(t,e,n){for(;t!==null;){var l=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,l!==null&&(l.childLanes|=e)):l!==null&&(l.childLanes&e)!==e&&(l.childLanes|=e),t===n)break;t=t.return}}function wc(t,e,n,l){var u=t.child;for(u!==null&&(u.return=t);u!==null;){var o=u.dependencies;if(o!==null){var h=u.child;o=o.firstContext;t:for(;o!==null;){var v=o;o=u;for(var A=0;A<e.length;A++)if(v.context===e[A]){o.lanes|=n,v=o.alternate,v!==null&&(v.lanes|=n),Dc(o.return,n,t),l||(h=null);break t}o=v.next}}else if(u.tag===18){if(h=u.return,h===null)throw Error(c(341));h.lanes|=n,o=h.alternate,o!==null&&(o.lanes|=n),Dc(h,n,t),h=null}else h=u.child;if(h!==null)h.return=u;else for(h=u;h!==null;){if(h===t){h=null;break}if(u=h.sibling,u!==null){u.return=h.return,h=u;break}h=h.return}u=h}}function Fl(t,e,n,l){t=null;for(var u=e,o=!1;u!==null;){if(!o){if((u.flags&524288)!==0)o=!0;else if((u.flags&262144)!==0)break}if(u.tag===10){var h=u.alternate;if(h===null)throw Error(c(387));if(h=h.memoizedProps,h!==null){var v=u.type;ke(u.pendingProps.value,h.value)||(t!==null?t.push(v):t=[v])}}else if(u===rt.current){if(h=u.alternate,h===null)throw Error(c(387));h.memoizedState.memoizedState!==u.memoizedState.memoizedState&&(t!==null?t.push(va):t=[va])}u=u.return}t!==null&&wc(e,t,n,l),e.flags|=262144}function tu(t){for(t=t.firstContext;t!==null;){if(!ke(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function pl(t){dl=t,gn=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function se(t){return Jh(dl,t)}function eu(t,e){return dl===null&&pl(t),Jh(t,e)}function Jh(t,e){var n=e._currentValue;if(e={context:e,memoizedValue:n,next:null},gn===null){if(t===null)throw Error(c(308));gn=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else gn=gn.next=e;return n}var Cx=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(n,l){t.push(l)}};this.abort=function(){e.aborted=!0,t.forEach(function(n){return n()})}},_x=i.unstable_scheduleCallback,Ox=i.unstable_NormalPriority,te={$$typeof:V,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Rc(){return{controller:new Cx,data:new Map,refCount:0}}function Zi(t){t.refCount--,t.refCount===0&&_x(Ox,function(){t.controller.abort()})}var Ki=null,kc=0,Il=0,$l=null;function Mx(t,e){if(Ki===null){var n=Ki=[];kc=0,Il=Bo(),$l={status:"pending",value:void 0,then:function(l){n.push(l)}}}return kc++,e.then(Fh,Fh),e}function Fh(){if(--kc===0&&Ki!==null){$l!==null&&($l.status="fulfilled");var t=Ki;Ki=null,Il=0,$l=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function Dx(t,e){var n=[],l={status:"pending",value:null,reason:null,then:function(u){n.push(u)}};return t.then(function(){l.status="fulfilled",l.value=e;for(var u=0;u<n.length;u++)(0,n[u])(e)},function(u){for(l.status="rejected",l.reason=u,u=0;u<n.length;u++)(0,n[u])(void 0)}),l}var Ih=M.S;M.S=function(t,e){kp=me(),typeof e=="object"&&e!==null&&typeof e.then=="function"&&Mx(t,e),Ih!==null&&Ih(t,e)};var ml=y(null);function Nc(){var t=ml.current;return t!==null?t:Qt.pooledCache}function nu(t,e){e===null?b(ml,ml.current):b(ml,e.pool)}function $h(){var t=Nc();return t===null?null:{parent:te._currentValue,pool:t}}var Wl=Error(c(460)),jc=Error(c(474)),lu=Error(c(542)),iu={then:function(){}};function Wh(t){return t=t.status,t==="fulfilled"||t==="rejected"}function Ph(t,e,n){switch(n=t[n],n===void 0?t.push(e):n!==e&&(e.then(dn,dn),e=n),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,ed(t),t;default:if(typeof e.status=="string")e.then(dn,dn);else{if(t=Qt,t!==null&&100<t.shellSuspendCounter)throw Error(c(482));t=e,t.status="pending",t.then(function(l){if(e.status==="pending"){var u=e;u.status="fulfilled",u.value=l}},function(l){if(e.status==="pending"){var u=e;u.status="rejected",u.reason=l}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,ed(t),t}throw gl=e,Wl}}function yl(t){try{var e=t._init;return e(t._payload)}catch(n){throw n!==null&&typeof n=="object"&&typeof n.then=="function"?(gl=n,Wl):n}}var gl=null;function td(){if(gl===null)throw Error(c(459));var t=gl;return gl=null,t}function ed(t){if(t===Wl||t===lu)throw Error(c(483))}var Pl=null,Ji=0;function au(t){var e=Ji;return Ji+=1,Pl===null&&(Pl=[]),Ph(Pl,t,e)}function Fi(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function uu(t,e){throw e.$$typeof===z?Error(c(525)):(t=Object.prototype.toString.call(e),Error(c(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function nd(t){function e(O,_){if(t){var D=O.deletions;D===null?(O.deletions=[_],O.flags|=16):D.push(_)}}function n(O,_){if(!t)return null;for(;_!==null;)e(O,_),_=_.sibling;return null}function l(O){for(var _=new Map;O!==null;)O.key!==null?_.set(O.key,O):_.set(O.index,O),O=O.sibling;return _}function u(O,_){return O=mn(O,_),O.index=0,O.sibling=null,O}function o(O,_,D){return O.index=D,t?(D=O.alternate,D!==null?(D=D.index,D<_?(O.flags|=67108866,_):D):(O.flags|=67108866,_)):(O.flags|=1048576,_)}function h(O){return t&&O.alternate===null&&(O.flags|=67108866),O}function v(O,_,D,q){return _===null||_.tag!==6?(_=Tc(D,O.mode,q),_.return=O,_):(_=u(_,D),_.return=O,_)}function A(O,_,D,q){var ht=D.type;return ht===G?j(O,_,D.props.children,q,D.key):_!==null&&(_.elementType===ht||typeof ht=="object"&&ht!==null&&ht.$$typeof===ut&&yl(ht)===_.type)?(_=u(_,D.props),Fi(_,D),_.return=O,_):(_=Wa(D.type,D.key,D.props,null,O.mode,q),Fi(_,D),_.return=O,_)}function w(O,_,D,q){return _===null||_.tag!==4||_.stateNode.containerInfo!==D.containerInfo||_.stateNode.implementation!==D.implementation?(_=zc(D,O.mode,q),_.return=O,_):(_=u(_,D.children||[]),_.return=O,_)}function j(O,_,D,q,ht){return _===null||_.tag!==7?(_=fl(D,O.mode,q,ht),_.return=O,_):(_=u(_,D),_.return=O,_)}function X(O,_,D){if(typeof _=="string"&&_!==""||typeof _=="number"||typeof _=="bigint")return _=Tc(""+_,O.mode,D),_.return=O,_;if(typeof _=="object"&&_!==null){switch(_.$$typeof){case E:return D=Wa(_.type,_.key,_.props,null,O.mode,D),Fi(D,_),D.return=O,D;case Q:return _=zc(_,O.mode,D),_.return=O,_;case ut:return _=yl(_),X(O,_,D)}if(J(_)||U(_))return _=fl(_,O.mode,D,null),_.return=O,_;if(typeof _.then=="function")return X(O,au(_),D);if(_.$$typeof===V)return X(O,eu(O,_),D);uu(O,_)}return null}function R(O,_,D,q){var ht=_!==null?_.key:null;if(typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint")return ht!==null?null:v(O,_,""+D,q);if(typeof D=="object"&&D!==null){switch(D.$$typeof){case E:return D.key===ht?A(O,_,D,q):null;case Q:return D.key===ht?w(O,_,D,q):null;case ut:return D=yl(D),R(O,_,D,q)}if(J(D)||U(D))return ht!==null?null:j(O,_,D,q,null);if(typeof D.then=="function")return R(O,_,au(D),q);if(D.$$typeof===V)return R(O,_,eu(O,D),q);uu(O,D)}return null}function k(O,_,D,q,ht){if(typeof q=="string"&&q!==""||typeof q=="number"||typeof q=="bigint")return O=O.get(D)||null,v(_,O,""+q,ht);if(typeof q=="object"&&q!==null){switch(q.$$typeof){case E:return O=O.get(q.key===null?D:q.key)||null,A(_,O,q,ht);case Q:return O=O.get(q.key===null?D:q.key)||null,w(_,O,q,ht);case ut:return q=yl(q),k(O,_,D,q,ht)}if(J(q)||U(q))return O=O.get(D)||null,j(_,O,q,ht,null);if(typeof q.then=="function")return k(O,_,D,au(q),ht);if(q.$$typeof===V)return k(O,_,D,eu(_,q),ht);uu(_,q)}return null}function it(O,_,D,q){for(var ht=null,Rt=null,ct=_,zt=_=0,Mt=null;ct!==null&&zt<D.length;zt++){ct.index>zt?(Mt=ct,ct=null):Mt=ct.sibling;var kt=R(O,ct,D[zt],q);if(kt===null){ct===null&&(ct=Mt);break}t&&ct&&kt.alternate===null&&e(O,ct),_=o(kt,_,zt),Rt===null?ht=kt:Rt.sibling=kt,Rt=kt,ct=Mt}if(zt===D.length)return n(O,ct),wt&&yn(O,zt),ht;if(ct===null){for(;zt<D.length;zt++)ct=X(O,D[zt],q),ct!==null&&(_=o(ct,_,zt),Rt===null?ht=ct:Rt.sibling=ct,Rt=ct);return wt&&yn(O,zt),ht}for(ct=l(ct);zt<D.length;zt++)Mt=k(ct,O,zt,D[zt],q),Mt!==null&&(t&&Mt.alternate!==null&&ct.delete(Mt.key===null?zt:Mt.key),_=o(Mt,_,zt),Rt===null?ht=Mt:Rt.sibling=Mt,Rt=Mt);return t&&ct.forEach(function(nl){return e(O,nl)}),wt&&yn(O,zt),ht}function mt(O,_,D,q){if(D==null)throw Error(c(151));for(var ht=null,Rt=null,ct=_,zt=_=0,Mt=null,kt=D.next();ct!==null&&!kt.done;zt++,kt=D.next()){ct.index>zt?(Mt=ct,ct=null):Mt=ct.sibling;var nl=R(O,ct,kt.value,q);if(nl===null){ct===null&&(ct=Mt);break}t&&ct&&nl.alternate===null&&e(O,ct),_=o(nl,_,zt),Rt===null?ht=nl:Rt.sibling=nl,Rt=nl,ct=Mt}if(kt.done)return n(O,ct),wt&&yn(O,zt),ht;if(ct===null){for(;!kt.done;zt++,kt=D.next())kt=X(O,kt.value,q),kt!==null&&(_=o(kt,_,zt),Rt===null?ht=kt:Rt.sibling=kt,Rt=kt);return wt&&yn(O,zt),ht}for(ct=l(ct);!kt.done;zt++,kt=D.next())kt=k(ct,O,zt,kt.value,q),kt!==null&&(t&&kt.alternate!==null&&ct.delete(kt.key===null?zt:kt.key),_=o(kt,_,zt),Rt===null?ht=kt:Rt.sibling=kt,Rt=kt);return t&&ct.forEach(function(Yb){return e(O,Yb)}),wt&&yn(O,zt),ht}function Yt(O,_,D,q){if(typeof D=="object"&&D!==null&&D.type===G&&D.key===null&&(D=D.props.children),typeof D=="object"&&D!==null){switch(D.$$typeof){case E:t:{for(var ht=D.key;_!==null;){if(_.key===ht){if(ht=D.type,ht===G){if(_.tag===7){n(O,_.sibling),q=u(_,D.props.children),q.return=O,O=q;break t}}else if(_.elementType===ht||typeof ht=="object"&&ht!==null&&ht.$$typeof===ut&&yl(ht)===_.type){n(O,_.sibling),q=u(_,D.props),Fi(q,D),q.return=O,O=q;break t}n(O,_);break}else e(O,_);_=_.sibling}D.type===G?(q=fl(D.props.children,O.mode,q,D.key),q.return=O,O=q):(q=Wa(D.type,D.key,D.props,null,O.mode,q),Fi(q,D),q.return=O,O=q)}return h(O);case Q:t:{for(ht=D.key;_!==null;){if(_.key===ht)if(_.tag===4&&_.stateNode.containerInfo===D.containerInfo&&_.stateNode.implementation===D.implementation){n(O,_.sibling),q=u(_,D.children||[]),q.return=O,O=q;break t}else{n(O,_);break}else e(O,_);_=_.sibling}q=zc(D,O.mode,q),q.return=O,O=q}return h(O);case ut:return D=yl(D),Yt(O,_,D,q)}if(J(D))return it(O,_,D,q);if(U(D)){if(ht=U(D),typeof ht!="function")throw Error(c(150));return D=ht.call(D),mt(O,_,D,q)}if(typeof D.then=="function")return Yt(O,_,au(D),q);if(D.$$typeof===V)return Yt(O,_,eu(O,D),q);uu(O,D)}return typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint"?(D=""+D,_!==null&&_.tag===6?(n(O,_.sibling),q=u(_,D),q.return=O,O=q):(n(O,_),q=Tc(D,O.mode,q),q.return=O,O=q),h(O)):n(O,_)}return function(O,_,D,q){try{Ji=0;var ht=Yt(O,_,D,q);return Pl=null,ht}catch(ct){if(ct===Wl||ct===lu)throw ct;var Rt=Ne(29,ct,null,O.mode);return Rt.lanes=q,Rt.return=O,Rt}}}var vl=nd(!0),ld=nd(!1),Ln=!1;function Uc(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Bc(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function qn(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function Yn(t,e,n){var l=t.updateQueue;if(l===null)return null;if(l=l.shared,(jt&2)!==0){var u=l.pending;return u===null?e.next=e:(e.next=u.next,u.next=e),l.pending=e,e=$a(t),qh(t,null,n),e}return Ia(t,l,e,n),$a(t)}function Ii(t,e,n){if(e=e.updateQueue,e!==null&&(e=e.shared,(n&4194048)!==0)){var l=e.lanes;l&=t.pendingLanes,n|=l,e.lanes=n,Jf(t,n)}}function Hc(t,e){var n=t.updateQueue,l=t.alternate;if(l!==null&&(l=l.updateQueue,n===l)){var u=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var h={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};o===null?u=o=h:o=o.next=h,n=n.next}while(n!==null);o===null?u=o=e:o=o.next=e}else u=o=e;n={baseState:l.baseState,firstBaseUpdate:u,lastBaseUpdate:o,shared:l.shared,callbacks:l.callbacks},t.updateQueue=n;return}t=n.lastBaseUpdate,t===null?n.firstBaseUpdate=e:t.next=e,n.lastBaseUpdate=e}var Lc=!1;function $i(){if(Lc){var t=$l;if(t!==null)throw t}}function Wi(t,e,n,l){Lc=!1;var u=t.updateQueue;Ln=!1;var o=u.firstBaseUpdate,h=u.lastBaseUpdate,v=u.shared.pending;if(v!==null){u.shared.pending=null;var A=v,w=A.next;A.next=null,h===null?o=w:h.next=w,h=A;var j=t.alternate;j!==null&&(j=j.updateQueue,v=j.lastBaseUpdate,v!==h&&(v===null?j.firstBaseUpdate=w:v.next=w,j.lastBaseUpdate=A))}if(o!==null){var X=u.baseState;h=0,j=w=A=null,v=o;do{var R=v.lane&-536870913,k=R!==v.lane;if(k?(Ot&R)===R:(l&R)===R){R!==0&&R===Il&&(Lc=!0),j!==null&&(j=j.next={lane:0,tag:v.tag,payload:v.payload,callback:null,next:null});t:{var it=t,mt=v;R=e;var Yt=n;switch(mt.tag){case 1:if(it=mt.payload,typeof it=="function"){X=it.call(Yt,X,R);break t}X=it;break t;case 3:it.flags=it.flags&-65537|128;case 0:if(it=mt.payload,R=typeof it=="function"?it.call(Yt,X,R):it,R==null)break t;X=S({},X,R);break t;case 2:Ln=!0}}R=v.callback,R!==null&&(t.flags|=64,k&&(t.flags|=8192),k=u.callbacks,k===null?u.callbacks=[R]:k.push(R))}else k={lane:R,tag:v.tag,payload:v.payload,callback:v.callback,next:null},j===null?(w=j=k,A=X):j=j.next=k,h|=R;if(v=v.next,v===null){if(v=u.shared.pending,v===null)break;k=v,v=k.next,k.next=null,u.lastBaseUpdate=k,u.shared.pending=null}}while(!0);j===null&&(A=X),u.baseState=A,u.firstBaseUpdate=w,u.lastBaseUpdate=j,o===null&&(u.shared.lanes=0),Zn|=h,t.lanes=h,t.memoizedState=X}}function id(t,e){if(typeof t!="function")throw Error(c(191,t));t.call(e)}function ad(t,e){var n=t.callbacks;if(n!==null)for(t.callbacks=null,t=0;t<n.length;t++)id(n[t],e)}var ti=y(null),ru=y(0);function ud(t,e){t=_n,b(ru,t),b(ti,e),_n=t|e.baseLanes}function qc(){b(ru,_n),b(ti,ti.current)}function Yc(){_n=ru.current,C(ti),C(ru)}var je=y(null),Je=null;function Xn(t){var e=t.alternate;b($t,$t.current&1),b(je,t),Je===null&&(e===null||ti.current!==null||e.memoizedState!==null)&&(Je=t)}function Xc(t){b($t,$t.current),b(je,t),Je===null&&(Je=t)}function rd(t){t.tag===22?(b($t,$t.current),b(je,t),Je===null&&(Je=t)):Gn()}function Gn(){b($t,$t.current),b(je,je.current)}function Ue(t){C(je),Je===t&&(Je=null),C($t)}var $t=y(0);function cu(t){for(var e=t;e!==null;){if(e.tag===13){var n=e.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||Fo(n)||Io(n)))return e}else if(e.tag===19&&(e.memoizedProps.revealOrder==="forwards"||e.memoizedProps.revealOrder==="backwards"||e.memoizedProps.revealOrder==="unstable_legacy-backwards"||e.memoizedProps.revealOrder==="together")){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var xn=0,Tt=null,Lt=null,ee=null,ou=!1,ei=!1,xl=!1,su=0,Pi=0,ni=null,wx=0;function Ft(){throw Error(c(321))}function Gc(t,e){if(e===null)return!1;for(var n=0;n<e.length&&n<t.length;n++)if(!ke(t[n],e[n]))return!1;return!0}function Qc(t,e,n,l,u,o){return xn=o,Tt=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,M.H=t===null||t.memoizedState===null?Qd:ao,xl=!1,o=n(l,u),xl=!1,ei&&(o=od(e,n,l,u)),cd(t),o}function cd(t){M.H=na;var e=Lt!==null&&Lt.next!==null;if(xn=0,ee=Lt=Tt=null,ou=!1,Pi=0,ni=null,e)throw Error(c(300));t===null||ne||(t=t.dependencies,t!==null&&tu(t)&&(ne=!0))}function od(t,e,n,l){Tt=t;var u=0;do{if(ei&&(ni=null),Pi=0,ei=!1,25<=u)throw Error(c(301));if(u+=1,ee=Lt=null,t.updateQueue!=null){var o=t.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}M.H=Vd,o=e(n,l)}while(ei);return o}function Rx(){var t=M.H,e=t.useState()[0];return e=typeof e.then=="function"?ta(e):e,t=t.useState()[0],(Lt!==null?Lt.memoizedState:null)!==t&&(Tt.flags|=1024),e}function Vc(){var t=su!==0;return su=0,t}function Zc(t,e,n){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~n}function Kc(t){if(ou){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}ou=!1}xn=0,ee=Lt=Tt=null,ei=!1,Pi=su=0,ni=null}function ge(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ee===null?Tt.memoizedState=ee=t:ee=ee.next=t,ee}function Wt(){if(Lt===null){var t=Tt.alternate;t=t!==null?t.memoizedState:null}else t=Lt.next;var e=ee===null?Tt.memoizedState:ee.next;if(e!==null)ee=e,Lt=t;else{if(t===null)throw Tt.alternate===null?Error(c(467)):Error(c(310));Lt=t,t={memoizedState:Lt.memoizedState,baseState:Lt.baseState,baseQueue:Lt.baseQueue,queue:Lt.queue,next:null},ee===null?Tt.memoizedState=ee=t:ee=ee.next=t}return ee}function fu(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ta(t){var e=Pi;return Pi+=1,ni===null&&(ni=[]),t=Ph(ni,t,e),e=Tt,(ee===null?e.memoizedState:ee.next)===null&&(e=e.alternate,M.H=e===null||e.memoizedState===null?Qd:ao),t}function hu(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return ta(t);if(t.$$typeof===V)return se(t)}throw Error(c(438,String(t)))}function Jc(t){var e=null,n=Tt.updateQueue;if(n!==null&&(e=n.memoCache),e==null){var l=Tt.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(e={data:l.data.map(function(u){return u.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),n===null&&(n=fu(),Tt.updateQueue=n),n.memoCache=e,n=e.data[e.index],n===void 0)for(n=e.data[e.index]=Array(t),l=0;l<t;l++)n[l]=pt;return e.index++,n}function bn(t,e){return typeof e=="function"?e(t):e}function du(t){var e=Wt();return Fc(e,Lt,t)}function Fc(t,e,n){var l=t.queue;if(l===null)throw Error(c(311));l.lastRenderedReducer=n;var u=t.baseQueue,o=l.pending;if(o!==null){if(u!==null){var h=u.next;u.next=o.next,o.next=h}e.baseQueue=u=o,l.pending=null}if(o=t.baseState,u===null)t.memoizedState=o;else{e=u.next;var v=h=null,A=null,w=e,j=!1;do{var X=w.lane&-536870913;if(X!==w.lane?(Ot&X)===X:(xn&X)===X){var R=w.revertLane;if(R===0)A!==null&&(A=A.next={lane:0,revertLane:0,gesture:null,action:w.action,hasEagerState:w.hasEagerState,eagerState:w.eagerState,next:null}),X===Il&&(j=!0);else if((xn&R)===R){w=w.next,R===Il&&(j=!0);continue}else X={lane:0,revertLane:w.revertLane,gesture:null,action:w.action,hasEagerState:w.hasEagerState,eagerState:w.eagerState,next:null},A===null?(v=A=X,h=o):A=A.next=X,Tt.lanes|=R,Zn|=R;X=w.action,xl&&n(o,X),o=w.hasEagerState?w.eagerState:n(o,X)}else R={lane:X,revertLane:w.revertLane,gesture:w.gesture,action:w.action,hasEagerState:w.hasEagerState,eagerState:w.eagerState,next:null},A===null?(v=A=R,h=o):A=A.next=R,Tt.lanes|=X,Zn|=X;w=w.next}while(w!==null&&w!==e);if(A===null?h=o:A.next=v,!ke(o,t.memoizedState)&&(ne=!0,j&&(n=$l,n!==null)))throw n;t.memoizedState=o,t.baseState=h,t.baseQueue=A,l.lastRenderedState=o}return u===null&&(l.lanes=0),[t.memoizedState,l.dispatch]}function Ic(t){var e=Wt(),n=e.queue;if(n===null)throw Error(c(311));n.lastRenderedReducer=t;var l=n.dispatch,u=n.pending,o=e.memoizedState;if(u!==null){n.pending=null;var h=u=u.next;do o=t(o,h.action),h=h.next;while(h!==u);ke(o,e.memoizedState)||(ne=!0),e.memoizedState=o,e.baseQueue===null&&(e.baseState=o),n.lastRenderedState=o}return[o,l]}function sd(t,e,n){var l=Tt,u=Wt(),o=wt;if(o){if(n===void 0)throw Error(c(407));n=n()}else n=e();var h=!ke((Lt||u).memoizedState,n);if(h&&(u.memoizedState=n,ne=!0),u=u.queue,Pc(dd.bind(null,l,u,t),[t]),u.getSnapshot!==e||h||ee!==null&&ee.memoizedState.tag&1){if(l.flags|=2048,li(9,{destroy:void 0},hd.bind(null,l,u,n,e),null),Qt===null)throw Error(c(349));o||(xn&127)!==0||fd(l,e,n)}return n}function fd(t,e,n){t.flags|=16384,t={getSnapshot:e,value:n},e=Tt.updateQueue,e===null?(e=fu(),Tt.updateQueue=e,e.stores=[t]):(n=e.stores,n===null?e.stores=[t]:n.push(t))}function hd(t,e,n,l){e.value=n,e.getSnapshot=l,pd(e)&&md(t)}function dd(t,e,n){return n(function(){pd(e)&&md(t)})}function pd(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!ke(t,n)}catch{return!0}}function md(t){var e=sl(t,2);e!==null&&Me(e,t,2)}function $c(t){var e=ge();if(typeof t=="function"){var n=t;if(t=n(),xl){Ee(!0);try{n()}finally{Ee(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:bn,lastRenderedState:t},e}function yd(t,e,n,l){return t.baseState=n,Fc(t,Lt,typeof l=="function"?l:bn)}function kx(t,e,n,l,u){if(yu(t))throw Error(c(485));if(t=e.action,t!==null){var o={payload:u,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(h){o.listeners.push(h)}};M.T!==null?n(!0):o.isTransition=!1,l(o),n=e.pending,n===null?(o.next=e.pending=o,gd(e,o)):(o.next=n.next,e.pending=n.next=o)}}function gd(t,e){var n=e.action,l=e.payload,u=t.state;if(e.isTransition){var o=M.T,h={};M.T=h;try{var v=n(u,l),A=M.S;A!==null&&A(h,v),vd(t,e,v)}catch(w){Wc(t,e,w)}finally{o!==null&&h.types!==null&&(o.types=h.types),M.T=o}}else try{o=n(u,l),vd(t,e,o)}catch(w){Wc(t,e,w)}}function vd(t,e,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(l){xd(t,e,l)},function(l){return Wc(t,e,l)}):xd(t,e,n)}function xd(t,e,n){e.status="fulfilled",e.value=n,bd(e),t.state=n,e=t.pending,e!==null&&(n=e.next,n===e?t.pending=null:(n=n.next,e.next=n,gd(t,n)))}function Wc(t,e,n){var l=t.pending;if(t.pending=null,l!==null){l=l.next;do e.status="rejected",e.reason=n,bd(e),e=e.next;while(e!==l)}t.action=null}function bd(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function Sd(t,e){return e}function Ed(t,e){if(wt){var n=Qt.formState;if(n!==null){t:{var l=Tt;if(wt){if(Zt){e:{for(var u=Zt,o=Ke;u.nodeType!==8;){if(!o){u=null;break e}if(u=Fe(u.nextSibling),u===null){u=null;break e}}o=u.data,u=o==="F!"||o==="F"?u:null}if(u){Zt=Fe(u.nextSibling),l=u.data==="F!";break t}}Bn(l)}l=!1}l&&(e=n[0])}}return n=ge(),n.memoizedState=n.baseState=e,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Sd,lastRenderedState:e},n.queue=l,n=Yd.bind(null,Tt,l),l.dispatch=n,l=$c(!1),o=io.bind(null,Tt,!1,l.queue),l=ge(),u={state:e,dispatch:null,action:t,pending:null},l.queue=u,n=kx.bind(null,Tt,u,o,n),u.dispatch=n,l.memoizedState=t,[e,n,!1]}function Td(t){var e=Wt();return zd(e,Lt,t)}function zd(t,e,n){if(e=Fc(t,e,Sd)[0],t=du(bn)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var l=ta(e)}catch(h){throw h===Wl?lu:h}else l=e;e=Wt();var u=e.queue,o=u.dispatch;return n!==e.memoizedState&&(Tt.flags|=2048,li(9,{destroy:void 0},Nx.bind(null,u,n),null)),[l,o,t]}function Nx(t,e){t.action=e}function Ad(t){var e=Wt(),n=Lt;if(n!==null)return zd(e,n,t);Wt(),e=e.memoizedState,n=Wt();var l=n.queue.dispatch;return n.memoizedState=t,[e,l,!1]}function li(t,e,n,l){return t={tag:t,create:n,deps:l,inst:e,next:null},e=Tt.updateQueue,e===null&&(e=fu(),Tt.updateQueue=e),n=e.lastEffect,n===null?e.lastEffect=t.next=t:(l=n.next,n.next=t,t.next=l,e.lastEffect=t),t}function Cd(){return Wt().memoizedState}function pu(t,e,n,l){var u=ge();Tt.flags|=t,u.memoizedState=li(1|e,{destroy:void 0},n,l===void 0?null:l)}function mu(t,e,n,l){var u=Wt();l=l===void 0?null:l;var o=u.memoizedState.inst;Lt!==null&&l!==null&&Gc(l,Lt.memoizedState.deps)?u.memoizedState=li(e,o,n,l):(Tt.flags|=t,u.memoizedState=li(1|e,o,n,l))}function _d(t,e){pu(8390656,8,t,e)}function Pc(t,e){mu(2048,8,t,e)}function jx(t){Tt.flags|=4;var e=Tt.updateQueue;if(e===null)e=fu(),Tt.updateQueue=e,e.events=[t];else{var n=e.events;n===null?e.events=[t]:n.push(t)}}function Od(t){var e=Wt().memoizedState;return jx({ref:e,nextImpl:t}),function(){if((jt&2)!==0)throw Error(c(440));return e.impl.apply(void 0,arguments)}}function Md(t,e){return mu(4,2,t,e)}function Dd(t,e){return mu(4,4,t,e)}function wd(t,e){if(typeof e=="function"){t=t();var n=e(t);return function(){typeof n=="function"?n():e(null)}}if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function Rd(t,e,n){n=n!=null?n.concat([t]):null,mu(4,4,wd.bind(null,e,t),n)}function to(){}function kd(t,e){var n=Wt();e=e===void 0?null:e;var l=n.memoizedState;return e!==null&&Gc(e,l[1])?l[0]:(n.memoizedState=[t,e],t)}function Nd(t,e){var n=Wt();e=e===void 0?null:e;var l=n.memoizedState;if(e!==null&&Gc(e,l[1]))return l[0];if(l=t(),xl){Ee(!0);try{t()}finally{Ee(!1)}}return n.memoizedState=[l,e],l}function eo(t,e,n){return n===void 0||(xn&1073741824)!==0&&(Ot&261930)===0?t.memoizedState=e:(t.memoizedState=n,t=jp(),Tt.lanes|=t,Zn|=t,n)}function jd(t,e,n,l){return ke(n,e)?n:ti.current!==null?(t=eo(t,n,l),ke(t,e)||(ne=!0),t):(xn&42)===0||(xn&1073741824)!==0&&(Ot&261930)===0?(ne=!0,t.memoizedState=n):(t=jp(),Tt.lanes|=t,Zn|=t,e)}function Ud(t,e,n,l,u){var o=Z.p;Z.p=o!==0&&8>o?o:8;var h=M.T,v={};M.T=v,io(t,!1,e,n);try{var A=u(),w=M.S;if(w!==null&&w(v,A),A!==null&&typeof A=="object"&&typeof A.then=="function"){var j=Dx(A,l);ea(t,e,j,Le(t))}else ea(t,e,l,Le(t))}catch(X){ea(t,e,{then:function(){},status:"rejected",reason:X},Le())}finally{Z.p=o,h!==null&&v.types!==null&&(h.types=v.types),M.T=h}}function Ux(){}function no(t,e,n,l){if(t.tag!==5)throw Error(c(476));var u=Bd(t).queue;Ud(t,u,e,at,n===null?Ux:function(){return Hd(t),n(l)})}function Bd(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:at,baseState:at,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:bn,lastRenderedState:at},next:null};var n={};return e.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:bn,lastRenderedState:n},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function Hd(t){var e=Bd(t);e.next===null&&(e=t.alternate.memoizedState),ea(t,e.next.queue,{},Le())}function lo(){return se(va)}function Ld(){return Wt().memoizedState}function qd(){return Wt().memoizedState}function Bx(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var n=Le();t=qn(n);var l=Yn(e,t,n);l!==null&&(Me(l,e,n),Ii(l,e,n)),e={cache:Rc()},t.payload=e;return}e=e.return}}function Hx(t,e,n){var l=Le();n={lane:l,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},yu(t)?Xd(e,n):(n=Sc(t,e,n,l),n!==null&&(Me(n,t,l),Gd(n,e,l)))}function Yd(t,e,n){var l=Le();ea(t,e,n,l)}function ea(t,e,n,l){var u={lane:l,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(yu(t))Xd(e,u);else{var o=t.alternate;if(t.lanes===0&&(o===null||o.lanes===0)&&(o=e.lastRenderedReducer,o!==null))try{var h=e.lastRenderedState,v=o(h,n);if(u.hasEagerState=!0,u.eagerState=v,ke(v,h))return Ia(t,e,u,0),Qt===null&&Fa(),!1}catch{}if(n=Sc(t,e,u,l),n!==null)return Me(n,t,l),Gd(n,e,l),!0}return!1}function io(t,e,n,l){if(l={lane:2,revertLane:Bo(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},yu(t)){if(e)throw Error(c(479))}else e=Sc(t,n,l,2),e!==null&&Me(e,t,2)}function yu(t){var e=t.alternate;return t===Tt||e!==null&&e===Tt}function Xd(t,e){ei=ou=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function Gd(t,e,n){if((n&4194048)!==0){var l=e.lanes;l&=t.pendingLanes,n|=l,e.lanes=n,Jf(t,n)}}var na={readContext:se,use:hu,useCallback:Ft,useContext:Ft,useEffect:Ft,useImperativeHandle:Ft,useLayoutEffect:Ft,useInsertionEffect:Ft,useMemo:Ft,useReducer:Ft,useRef:Ft,useState:Ft,useDebugValue:Ft,useDeferredValue:Ft,useTransition:Ft,useSyncExternalStore:Ft,useId:Ft,useHostTransitionStatus:Ft,useFormState:Ft,useActionState:Ft,useOptimistic:Ft,useMemoCache:Ft,useCacheRefresh:Ft};na.useEffectEvent=Ft;var Qd={readContext:se,use:hu,useCallback:function(t,e){return ge().memoizedState=[t,e===void 0?null:e],t},useContext:se,useEffect:_d,useImperativeHandle:function(t,e,n){n=n!=null?n.concat([t]):null,pu(4194308,4,wd.bind(null,e,t),n)},useLayoutEffect:function(t,e){return pu(4194308,4,t,e)},useInsertionEffect:function(t,e){pu(4,2,t,e)},useMemo:function(t,e){var n=ge();e=e===void 0?null:e;var l=t();if(xl){Ee(!0);try{t()}finally{Ee(!1)}}return n.memoizedState=[l,e],l},useReducer:function(t,e,n){var l=ge();if(n!==void 0){var u=n(e);if(xl){Ee(!0);try{n(e)}finally{Ee(!1)}}}else u=e;return l.memoizedState=l.baseState=u,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:u},l.queue=t,t=t.dispatch=Hx.bind(null,Tt,t),[l.memoizedState,t]},useRef:function(t){var e=ge();return t={current:t},e.memoizedState=t},useState:function(t){t=$c(t);var e=t.queue,n=Yd.bind(null,Tt,e);return e.dispatch=n,[t.memoizedState,n]},useDebugValue:to,useDeferredValue:function(t,e){var n=ge();return eo(n,t,e)},useTransition:function(){var t=$c(!1);return t=Ud.bind(null,Tt,t.queue,!0,!1),ge().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,n){var l=Tt,u=ge();if(wt){if(n===void 0)throw Error(c(407));n=n()}else{if(n=e(),Qt===null)throw Error(c(349));(Ot&127)!==0||fd(l,e,n)}u.memoizedState=n;var o={value:n,getSnapshot:e};return u.queue=o,_d(dd.bind(null,l,o,t),[t]),l.flags|=2048,li(9,{destroy:void 0},hd.bind(null,l,o,n,e),null),n},useId:function(){var t=ge(),e=Qt.identifierPrefix;if(wt){var n=un,l=an;n=(l&~(1<<32-Gt(l)-1)).toString(32)+n,e="_"+e+"R_"+n,n=su++,0<n&&(e+="H"+n.toString(32)),e+="_"}else n=wx++,e="_"+e+"r_"+n.toString(32)+"_";return t.memoizedState=e},useHostTransitionStatus:lo,useFormState:Ed,useActionState:Ed,useOptimistic:function(t){var e=ge();e.memoizedState=e.baseState=t;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=n,e=io.bind(null,Tt,!0,n),n.dispatch=e,[t,e]},useMemoCache:Jc,useCacheRefresh:function(){return ge().memoizedState=Bx.bind(null,Tt)},useEffectEvent:function(t){var e=ge(),n={impl:t};return e.memoizedState=n,function(){if((jt&2)!==0)throw Error(c(440));return n.impl.apply(void 0,arguments)}}},ao={readContext:se,use:hu,useCallback:kd,useContext:se,useEffect:Pc,useImperativeHandle:Rd,useInsertionEffect:Md,useLayoutEffect:Dd,useMemo:Nd,useReducer:du,useRef:Cd,useState:function(){return du(bn)},useDebugValue:to,useDeferredValue:function(t,e){var n=Wt();return jd(n,Lt.memoizedState,t,e)},useTransition:function(){var t=du(bn)[0],e=Wt().memoizedState;return[typeof t=="boolean"?t:ta(t),e]},useSyncExternalStore:sd,useId:Ld,useHostTransitionStatus:lo,useFormState:Td,useActionState:Td,useOptimistic:function(t,e){var n=Wt();return yd(n,Lt,t,e)},useMemoCache:Jc,useCacheRefresh:qd};ao.useEffectEvent=Od;var Vd={readContext:se,use:hu,useCallback:kd,useContext:se,useEffect:Pc,useImperativeHandle:Rd,useInsertionEffect:Md,useLayoutEffect:Dd,useMemo:Nd,useReducer:Ic,useRef:Cd,useState:function(){return Ic(bn)},useDebugValue:to,useDeferredValue:function(t,e){var n=Wt();return Lt===null?eo(n,t,e):jd(n,Lt.memoizedState,t,e)},useTransition:function(){var t=Ic(bn)[0],e=Wt().memoizedState;return[typeof t=="boolean"?t:ta(t),e]},useSyncExternalStore:sd,useId:Ld,useHostTransitionStatus:lo,useFormState:Ad,useActionState:Ad,useOptimistic:function(t,e){var n=Wt();return Lt!==null?yd(n,Lt,t,e):(n.baseState=t,[t,n.queue.dispatch])},useMemoCache:Jc,useCacheRefresh:qd};Vd.useEffectEvent=Od;function uo(t,e,n,l){e=t.memoizedState,n=n(l,e),n=n==null?e:S({},e,n),t.memoizedState=n,t.lanes===0&&(t.updateQueue.baseState=n)}var ro={enqueueSetState:function(t,e,n){t=t._reactInternals;var l=Le(),u=qn(l);u.payload=e,n!=null&&(u.callback=n),e=Yn(t,u,l),e!==null&&(Me(e,t,l),Ii(e,t,l))},enqueueReplaceState:function(t,e,n){t=t._reactInternals;var l=Le(),u=qn(l);u.tag=1,u.payload=e,n!=null&&(u.callback=n),e=Yn(t,u,l),e!==null&&(Me(e,t,l),Ii(e,t,l))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var n=Le(),l=qn(n);l.tag=2,e!=null&&(l.callback=e),e=Yn(t,l,n),e!==null&&(Me(e,t,n),Ii(e,t,n))}};function Zd(t,e,n,l,u,o,h){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(l,o,h):e.prototype&&e.prototype.isPureReactComponent?!Xi(n,l)||!Xi(u,o):!0}function Kd(t,e,n,l){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(n,l),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(n,l),e.state!==t&&ro.enqueueReplaceState(e,e.state,null)}function bl(t,e){var n=e;if("ref"in e){n={};for(var l in e)l!=="ref"&&(n[l]=e[l])}if(t=t.defaultProps){n===e&&(n=S({},n));for(var u in t)n[u]===void 0&&(n[u]=t[u])}return n}function Jd(t){Ja(t)}function Fd(t){console.error(t)}function Id(t){Ja(t)}function gu(t,e){try{var n=t.onUncaughtError;n(e.value,{componentStack:e.stack})}catch(l){setTimeout(function(){throw l})}}function $d(t,e,n){try{var l=t.onCaughtError;l(n.value,{componentStack:n.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(u){setTimeout(function(){throw u})}}function co(t,e,n){return n=qn(n),n.tag=3,n.payload={element:null},n.callback=function(){gu(t,e)},n}function Wd(t){return t=qn(t),t.tag=3,t}function Pd(t,e,n,l){var u=n.type.getDerivedStateFromError;if(typeof u=="function"){var o=l.value;t.payload=function(){return u(o)},t.callback=function(){$d(e,n,l)}}var h=n.stateNode;h!==null&&typeof h.componentDidCatch=="function"&&(t.callback=function(){$d(e,n,l),typeof u!="function"&&(Kn===null?Kn=new Set([this]):Kn.add(this));var v=l.stack;this.componentDidCatch(l.value,{componentStack:v!==null?v:""})})}function Lx(t,e,n,l,u){if(n.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(e=n.alternate,e!==null&&Fl(e,n,u,!0),n=je.current,n!==null){switch(n.tag){case 31:case 13:return Je===null?Mu():n.alternate===null&&It===0&&(It=3),n.flags&=-257,n.flags|=65536,n.lanes=u,l===iu?n.flags|=16384:(e=n.updateQueue,e===null?n.updateQueue=new Set([l]):e.add(l),No(t,l,u)),!1;case 22:return n.flags|=65536,l===iu?n.flags|=16384:(e=n.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([l])},n.updateQueue=e):(n=e.retryQueue,n===null?e.retryQueue=new Set([l]):n.add(l)),No(t,l,u)),!1}throw Error(c(435,n.tag))}return No(t,l,u),Mu(),!1}if(wt)return e=je.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=u,l!==_c&&(t=Error(c(422),{cause:l}),Vi(Qe(t,n)))):(l!==_c&&(e=Error(c(423),{cause:l}),Vi(Qe(e,n))),t=t.current.alternate,t.flags|=65536,u&=-u,t.lanes|=u,l=Qe(l,n),u=co(t.stateNode,l,u),Hc(t,u),It!==4&&(It=2)),!1;var o=Error(c(520),{cause:l});if(o=Qe(o,n),sa===null?sa=[o]:sa.push(o),It!==4&&(It=2),e===null)return!0;l=Qe(l,n),n=e;do{switch(n.tag){case 3:return n.flags|=65536,t=u&-u,n.lanes|=t,t=co(n.stateNode,l,t),Hc(n,t),!1;case 1:if(e=n.type,o=n.stateNode,(n.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||o!==null&&typeof o.componentDidCatch=="function"&&(Kn===null||!Kn.has(o))))return n.flags|=65536,u&=-u,n.lanes|=u,u=Wd(u),Pd(u,t,n,l),Hc(n,u),!1}n=n.return}while(n!==null);return!1}var oo=Error(c(461)),ne=!1;function fe(t,e,n,l){e.child=t===null?ld(e,null,n,l):vl(e,t.child,n,l)}function tp(t,e,n,l,u){n=n.render;var o=e.ref;if("ref"in l){var h={};for(var v in l)v!=="ref"&&(h[v]=l[v])}else h=l;return pl(e),l=Qc(t,e,n,h,o,u),v=Vc(),t!==null&&!ne?(Zc(t,e,u),Sn(t,e,u)):(wt&&v&&Ac(e),e.flags|=1,fe(t,e,l,u),e.child)}function ep(t,e,n,l,u){if(t===null){var o=n.type;return typeof o=="function"&&!Ec(o)&&o.defaultProps===void 0&&n.compare===null?(e.tag=15,e.type=o,np(t,e,o,l,u)):(t=Wa(n.type,null,l,e,e.mode,u),t.ref=e.ref,t.return=e,e.child=t)}if(o=t.child,!vo(t,u)){var h=o.memoizedProps;if(n=n.compare,n=n!==null?n:Xi,n(h,l)&&t.ref===e.ref)return Sn(t,e,u)}return e.flags|=1,t=mn(o,l),t.ref=e.ref,t.return=e,e.child=t}function np(t,e,n,l,u){if(t!==null){var o=t.memoizedProps;if(Xi(o,l)&&t.ref===e.ref)if(ne=!1,e.pendingProps=l=o,vo(t,u))(t.flags&131072)!==0&&(ne=!0);else return e.lanes=t.lanes,Sn(t,e,u)}return so(t,e,n,l,u)}function lp(t,e,n,l){var u=l.children,o=t!==null?t.memoizedState:null;if(t===null&&e.stateNode===null&&(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.mode==="hidden"){if((e.flags&128)!==0){if(o=o!==null?o.baseLanes|n:n,t!==null){for(l=e.child=t.child,u=0;l!==null;)u=u|l.lanes|l.childLanes,l=l.sibling;l=u&~o}else l=0,e.child=null;return ip(t,e,o,n,l)}if((n&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&nu(e,o!==null?o.cachePool:null),o!==null?ud(e,o):qc(),rd(e);else return l=e.lanes=536870912,ip(t,e,o!==null?o.baseLanes|n:n,n,l)}else o!==null?(nu(e,o.cachePool),ud(e,o),Gn(),e.memoizedState=null):(t!==null&&nu(e,null),qc(),Gn());return fe(t,e,u,n),e.child}function la(t,e){return t!==null&&t.tag===22||e.stateNode!==null||(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function ip(t,e,n,l,u){var o=Nc();return o=o===null?null:{parent:te._currentValue,pool:o},e.memoizedState={baseLanes:n,cachePool:o},t!==null&&nu(e,null),qc(),rd(e),t!==null&&Fl(t,e,l,!0),e.childLanes=u,null}function vu(t,e){return e=bu({mode:e.mode,children:e.children},t.mode),e.ref=t.ref,t.child=e,e.return=t,e}function ap(t,e,n){return vl(e,t.child,null,n),t=vu(e,e.pendingProps),t.flags|=2,Ue(e),e.memoizedState=null,t}function qx(t,e,n){var l=e.pendingProps,u=(e.flags&128)!==0;if(e.flags&=-129,t===null){if(wt){if(l.mode==="hidden")return t=vu(e,l),e.lanes=536870912,la(null,t);if(Xc(e),(t=Zt)?(t=gm(t,Ke),t=t!==null&&t.data==="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:jn!==null?{id:an,overflow:un}:null,retryLane:536870912,hydrationErrors:null},n=Xh(t),n.return=e,e.child=n,oe=e,Zt=null)):t=null,t===null)throw Bn(e);return e.lanes=536870912,null}return vu(e,l)}var o=t.memoizedState;if(o!==null){var h=o.dehydrated;if(Xc(e),u)if(e.flags&256)e.flags&=-257,e=ap(t,e,n);else if(e.memoizedState!==null)e.child=t.child,e.flags|=128,e=null;else throw Error(c(558));else if(ne||Fl(t,e,n,!1),u=(n&t.childLanes)!==0,ne||u){if(l=Qt,l!==null&&(h=Ff(l,n),h!==0&&h!==o.retryLane))throw o.retryLane=h,sl(t,h),Me(l,t,h),oo;Mu(),e=ap(t,e,n)}else t=o.treeContext,Zt=Fe(h.nextSibling),oe=e,wt=!0,Un=null,Ke=!1,t!==null&&Vh(e,t),e=vu(e,l),e.flags|=4096;return e}return t=mn(t.child,{mode:l.mode,children:l.children}),t.ref=e.ref,e.child=t,t.return=e,t}function xu(t,e){var n=e.ref;if(n===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error(c(284));(t===null||t.ref!==n)&&(e.flags|=4194816)}}function so(t,e,n,l,u){return pl(e),n=Qc(t,e,n,l,void 0,u),l=Vc(),t!==null&&!ne?(Zc(t,e,u),Sn(t,e,u)):(wt&&l&&Ac(e),e.flags|=1,fe(t,e,n,u),e.child)}function up(t,e,n,l,u,o){return pl(e),e.updateQueue=null,n=od(e,l,n,u),cd(t),l=Vc(),t!==null&&!ne?(Zc(t,e,o),Sn(t,e,o)):(wt&&l&&Ac(e),e.flags|=1,fe(t,e,n,o),e.child)}function rp(t,e,n,l,u){if(pl(e),e.stateNode===null){var o=Vl,h=n.contextType;typeof h=="object"&&h!==null&&(o=se(h)),o=new n(l,o),e.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,o.updater=ro,e.stateNode=o,o._reactInternals=e,o=e.stateNode,o.props=l,o.state=e.memoizedState,o.refs={},Uc(e),h=n.contextType,o.context=typeof h=="object"&&h!==null?se(h):Vl,o.state=e.memoizedState,h=n.getDerivedStateFromProps,typeof h=="function"&&(uo(e,n,h,l),o.state=e.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(h=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),h!==o.state&&ro.enqueueReplaceState(o,o.state,null),Wi(e,l,o,u),$i(),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308),l=!0}else if(t===null){o=e.stateNode;var v=e.memoizedProps,A=bl(n,v);o.props=A;var w=o.context,j=n.contextType;h=Vl,typeof j=="object"&&j!==null&&(h=se(j));var X=n.getDerivedStateFromProps;j=typeof X=="function"||typeof o.getSnapshotBeforeUpdate=="function",v=e.pendingProps!==v,j||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(v||w!==h)&&Kd(e,o,l,h),Ln=!1;var R=e.memoizedState;o.state=R,Wi(e,l,o,u),$i(),w=e.memoizedState,v||R!==w||Ln?(typeof X=="function"&&(uo(e,n,X,l),w=e.memoizedState),(A=Ln||Zd(e,n,A,l,R,w,h))?(j||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(e.flags|=4194308)):(typeof o.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=l,e.memoizedState=w),o.props=l,o.state=w,o.context=h,l=A):(typeof o.componentDidMount=="function"&&(e.flags|=4194308),l=!1)}else{o=e.stateNode,Bc(t,e),h=e.memoizedProps,j=bl(n,h),o.props=j,X=e.pendingProps,R=o.context,w=n.contextType,A=Vl,typeof w=="object"&&w!==null&&(A=se(w)),v=n.getDerivedStateFromProps,(w=typeof v=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(h!==X||R!==A)&&Kd(e,o,l,A),Ln=!1,R=e.memoizedState,o.state=R,Wi(e,l,o,u),$i();var k=e.memoizedState;h!==X||R!==k||Ln||t!==null&&t.dependencies!==null&&tu(t.dependencies)?(typeof v=="function"&&(uo(e,n,v,l),k=e.memoizedState),(j=Ln||Zd(e,n,j,l,R,k,A)||t!==null&&t.dependencies!==null&&tu(t.dependencies))?(w||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(l,k,A),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(l,k,A)),typeof o.componentDidUpdate=="function"&&(e.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof o.componentDidUpdate!="function"||h===t.memoizedProps&&R===t.memoizedState||(e.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||h===t.memoizedProps&&R===t.memoizedState||(e.flags|=1024),e.memoizedProps=l,e.memoizedState=k),o.props=l,o.state=k,o.context=A,l=j):(typeof o.componentDidUpdate!="function"||h===t.memoizedProps&&R===t.memoizedState||(e.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||h===t.memoizedProps&&R===t.memoizedState||(e.flags|=1024),l=!1)}return o=l,xu(t,e),l=(e.flags&128)!==0,o||l?(o=e.stateNode,n=l&&typeof n.getDerivedStateFromError!="function"?null:o.render(),e.flags|=1,t!==null&&l?(e.child=vl(e,t.child,null,u),e.child=vl(e,null,n,u)):fe(t,e,n,u),e.memoizedState=o.state,t=e.child):t=Sn(t,e,u),t}function cp(t,e,n,l){return hl(),e.flags|=256,fe(t,e,n,l),e.child}var fo={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function ho(t){return{baseLanes:t,cachePool:$h()}}function po(t,e,n){return t=t!==null?t.childLanes&~n:0,e&&(t|=He),t}function op(t,e,n){var l=e.pendingProps,u=!1,o=(e.flags&128)!==0,h;if((h=o)||(h=t!==null&&t.memoizedState===null?!1:($t.current&2)!==0),h&&(u=!0,e.flags&=-129),h=(e.flags&32)!==0,e.flags&=-33,t===null){if(wt){if(u?Xn(e):Gn(),(t=Zt)?(t=gm(t,Ke),t=t!==null&&t.data!=="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:jn!==null?{id:an,overflow:un}:null,retryLane:536870912,hydrationErrors:null},n=Xh(t),n.return=e,e.child=n,oe=e,Zt=null)):t=null,t===null)throw Bn(e);return Io(t)?e.lanes=32:e.lanes=536870912,null}var v=l.children;return l=l.fallback,u?(Gn(),u=e.mode,v=bu({mode:"hidden",children:v},u),l=fl(l,u,n,null),v.return=e,l.return=e,v.sibling=l,e.child=v,l=e.child,l.memoizedState=ho(n),l.childLanes=po(t,h,n),e.memoizedState=fo,la(null,l)):(Xn(e),mo(e,v))}var A=t.memoizedState;if(A!==null&&(v=A.dehydrated,v!==null)){if(o)e.flags&256?(Xn(e),e.flags&=-257,e=yo(t,e,n)):e.memoizedState!==null?(Gn(),e.child=t.child,e.flags|=128,e=null):(Gn(),v=l.fallback,u=e.mode,l=bu({mode:"visible",children:l.children},u),v=fl(v,u,n,null),v.flags|=2,l.return=e,v.return=e,l.sibling=v,e.child=l,vl(e,t.child,null,n),l=e.child,l.memoizedState=ho(n),l.childLanes=po(t,h,n),e.memoizedState=fo,e=la(null,l));else if(Xn(e),Io(v)){if(h=v.nextSibling&&v.nextSibling.dataset,h)var w=h.dgst;h=w,l=Error(c(419)),l.stack="",l.digest=h,Vi({value:l,source:null,stack:null}),e=yo(t,e,n)}else if(ne||Fl(t,e,n,!1),h=(n&t.childLanes)!==0,ne||h){if(h=Qt,h!==null&&(l=Ff(h,n),l!==0&&l!==A.retryLane))throw A.retryLane=l,sl(t,l),Me(h,t,l),oo;Fo(v)||Mu(),e=yo(t,e,n)}else Fo(v)?(e.flags|=192,e.child=t.child,e=null):(t=A.treeContext,Zt=Fe(v.nextSibling),oe=e,wt=!0,Un=null,Ke=!1,t!==null&&Vh(e,t),e=mo(e,l.children),e.flags|=4096);return e}return u?(Gn(),v=l.fallback,u=e.mode,A=t.child,w=A.sibling,l=mn(A,{mode:"hidden",children:l.children}),l.subtreeFlags=A.subtreeFlags&65011712,w!==null?v=mn(w,v):(v=fl(v,u,n,null),v.flags|=2),v.return=e,l.return=e,l.sibling=v,e.child=l,la(null,l),l=e.child,v=t.child.memoizedState,v===null?v=ho(n):(u=v.cachePool,u!==null?(A=te._currentValue,u=u.parent!==A?{parent:A,pool:A}:u):u=$h(),v={baseLanes:v.baseLanes|n,cachePool:u}),l.memoizedState=v,l.childLanes=po(t,h,n),e.memoizedState=fo,la(t.child,l)):(Xn(e),n=t.child,t=n.sibling,n=mn(n,{mode:"visible",children:l.children}),n.return=e,n.sibling=null,t!==null&&(h=e.deletions,h===null?(e.deletions=[t],e.flags|=16):h.push(t)),e.child=n,e.memoizedState=null,n)}function mo(t,e){return e=bu({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function bu(t,e){return t=Ne(22,t,null,e),t.lanes=0,t}function yo(t,e,n){return vl(e,t.child,null,n),t=mo(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function sp(t,e,n){t.lanes|=e;var l=t.alternate;l!==null&&(l.lanes|=e),Dc(t.return,e,n)}function go(t,e,n,l,u,o){var h=t.memoizedState;h===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:l,tail:n,tailMode:u,treeForkCount:o}:(h.isBackwards=e,h.rendering=null,h.renderingStartTime=0,h.last=l,h.tail=n,h.tailMode=u,h.treeForkCount=o)}function fp(t,e,n){var l=e.pendingProps,u=l.revealOrder,o=l.tail;l=l.children;var h=$t.current,v=(h&2)!==0;if(v?(h=h&1|2,e.flags|=128):h&=1,b($t,h),fe(t,e,l,n),l=wt?Qi:0,!v&&t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&sp(t,n,e);else if(t.tag===19)sp(t,n,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(u){case"forwards":for(n=e.child,u=null;n!==null;)t=n.alternate,t!==null&&cu(t)===null&&(u=n),n=n.sibling;n=u,n===null?(u=e.child,e.child=null):(u=n.sibling,n.sibling=null),go(e,!1,u,n,o,l);break;case"backwards":case"unstable_legacy-backwards":for(n=null,u=e.child,e.child=null;u!==null;){if(t=u.alternate,t!==null&&cu(t)===null){e.child=u;break}t=u.sibling,u.sibling=n,n=u,u=t}go(e,!0,n,null,o,l);break;case"together":go(e,!1,null,null,void 0,l);break;default:e.memoizedState=null}return e.child}function Sn(t,e,n){if(t!==null&&(e.dependencies=t.dependencies),Zn|=e.lanes,(n&e.childLanes)===0)if(t!==null){if(Fl(t,e,n,!1),(n&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(c(153));if(e.child!==null){for(t=e.child,n=mn(t,t.pendingProps),e.child=n,n.return=e;t.sibling!==null;)t=t.sibling,n=n.sibling=mn(t,t.pendingProps),n.return=e;n.sibling=null}return e.child}function vo(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&tu(t)))}function Yx(t,e,n){switch(e.tag){case 3:Dt(e,e.stateNode.containerInfo),Hn(e,te,t.memoizedState.cache),hl();break;case 27:case 5:Se(e);break;case 4:Dt(e,e.stateNode.containerInfo);break;case 10:Hn(e,e.type,e.memoizedProps.value);break;case 31:if(e.memoizedState!==null)return e.flags|=128,Xc(e),null;break;case 13:var l=e.memoizedState;if(l!==null)return l.dehydrated!==null?(Xn(e),e.flags|=128,null):(n&e.child.childLanes)!==0?op(t,e,n):(Xn(e),t=Sn(t,e,n),t!==null?t.sibling:null);Xn(e);break;case 19:var u=(t.flags&128)!==0;if(l=(n&e.childLanes)!==0,l||(Fl(t,e,n,!1),l=(n&e.childLanes)!==0),u){if(l)return fp(t,e,n);e.flags|=128}if(u=e.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),b($t,$t.current),l)break;return null;case 22:return e.lanes=0,lp(t,e,n,e.pendingProps);case 24:Hn(e,te,t.memoizedState.cache)}return Sn(t,e,n)}function hp(t,e,n){if(t!==null)if(t.memoizedProps!==e.pendingProps)ne=!0;else{if(!vo(t,n)&&(e.flags&128)===0)return ne=!1,Yx(t,e,n);ne=(t.flags&131072)!==0}else ne=!1,wt&&(e.flags&1048576)!==0&&Qh(e,Qi,e.index);switch(e.lanes=0,e.tag){case 16:t:{var l=e.pendingProps;if(t=yl(e.elementType),e.type=t,typeof t=="function")Ec(t)?(l=bl(t,l),e.tag=1,e=rp(null,e,t,l,n)):(e.tag=0,e=so(null,e,t,l,n));else{if(t!=null){var u=t.$$typeof;if(u===st){e.tag=11,e=tp(null,e,t,l,n);break t}else if(u===K){e.tag=14,e=ep(null,e,t,l,n);break t}}throw e=et(t)||t,Error(c(306,e,""))}}return e;case 0:return so(t,e,e.type,e.pendingProps,n);case 1:return l=e.type,u=bl(l,e.pendingProps),rp(t,e,l,u,n);case 3:t:{if(Dt(e,e.stateNode.containerInfo),t===null)throw Error(c(387));l=e.pendingProps;var o=e.memoizedState;u=o.element,Bc(t,e),Wi(e,l,null,n);var h=e.memoizedState;if(l=h.cache,Hn(e,te,l),l!==o.cache&&wc(e,[te],n,!0),$i(),l=h.element,o.isDehydrated)if(o={element:l,isDehydrated:!1,cache:h.cache},e.updateQueue.baseState=o,e.memoizedState=o,e.flags&256){e=cp(t,e,l,n);break t}else if(l!==u){u=Qe(Error(c(424)),e),Vi(u),e=cp(t,e,l,n);break t}else for(t=e.stateNode.containerInfo,t.nodeType===9?t=t.body:t=t.nodeName==="HTML"?t.ownerDocument.body:t,Zt=Fe(t.firstChild),oe=e,wt=!0,Un=null,Ke=!0,n=ld(e,null,l,n),e.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(hl(),l===u){e=Sn(t,e,n);break t}fe(t,e,l,n)}e=e.child}return e;case 26:return xu(t,e),t===null?(n=Tm(e.type,null,e.pendingProps,null))?e.memoizedState=n:wt||(n=e.type,t=e.pendingProps,l=Uu($.current).createElement(n),l[ce]=e,l[Te]=t,he(l,n,t),ue(l),e.stateNode=l):e.memoizedState=Tm(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return Se(e),t===null&&wt&&(l=e.stateNode=bm(e.type,e.pendingProps,$.current),oe=e,Ke=!0,u=Zt,$n(e.type)?($o=u,Zt=Fe(l.firstChild)):Zt=u),fe(t,e,e.pendingProps.children,n),xu(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&wt&&((u=l=Zt)&&(l=gb(l,e.type,e.pendingProps,Ke),l!==null?(e.stateNode=l,oe=e,Zt=Fe(l.firstChild),Ke=!1,u=!0):u=!1),u||Bn(e)),Se(e),u=e.type,o=e.pendingProps,h=t!==null?t.memoizedProps:null,l=o.children,Zo(u,o)?l=null:h!==null&&Zo(u,h)&&(e.flags|=32),e.memoizedState!==null&&(u=Qc(t,e,Rx,null,null,n),va._currentValue=u),xu(t,e),fe(t,e,l,n),e.child;case 6:return t===null&&wt&&((t=n=Zt)&&(n=vb(n,e.pendingProps,Ke),n!==null?(e.stateNode=n,oe=e,Zt=null,t=!0):t=!1),t||Bn(e)),null;case 13:return op(t,e,n);case 4:return Dt(e,e.stateNode.containerInfo),l=e.pendingProps,t===null?e.child=vl(e,null,l,n):fe(t,e,l,n),e.child;case 11:return tp(t,e,e.type,e.pendingProps,n);case 7:return fe(t,e,e.pendingProps,n),e.child;case 8:return fe(t,e,e.pendingProps.children,n),e.child;case 12:return fe(t,e,e.pendingProps.children,n),e.child;case 10:return l=e.pendingProps,Hn(e,e.type,l.value),fe(t,e,l.children,n),e.child;case 9:return u=e.type._context,l=e.pendingProps.children,pl(e),u=se(u),l=l(u),e.flags|=1,fe(t,e,l,n),e.child;case 14:return ep(t,e,e.type,e.pendingProps,n);case 15:return np(t,e,e.type,e.pendingProps,n);case 19:return fp(t,e,n);case 31:return qx(t,e,n);case 22:return lp(t,e,n,e.pendingProps);case 24:return pl(e),l=se(te),t===null?(u=Nc(),u===null&&(u=Qt,o=Rc(),u.pooledCache=o,o.refCount++,o!==null&&(u.pooledCacheLanes|=n),u=o),e.memoizedState={parent:l,cache:u},Uc(e),Hn(e,te,u)):((t.lanes&n)!==0&&(Bc(t,e),Wi(e,null,null,n),$i()),u=t.memoizedState,o=e.memoizedState,u.parent!==l?(u={parent:l,cache:l},e.memoizedState=u,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=u),Hn(e,te,l)):(l=o.cache,Hn(e,te,l),l!==u.cache&&wc(e,[te],n,!0))),fe(t,e,e.pendingProps.children,n),e.child;case 29:throw e.pendingProps}throw Error(c(156,e.tag))}function En(t){t.flags|=4}function xo(t,e,n,l,u){if((e=(t.mode&32)!==0)&&(e=!1),e){if(t.flags|=16777216,(u&335544128)===u)if(t.stateNode.complete)t.flags|=8192;else if(Lp())t.flags|=8192;else throw gl=iu,jc}else t.flags&=-16777217}function dp(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!Om(e))if(Lp())t.flags|=8192;else throw gl=iu,jc}function Su(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?Zf():536870912,t.lanes|=e,ri|=e)}function ia(t,e){if(!wt)switch(t.tailMode){case"hidden":e=t.tail;for(var n=null;e!==null;)e.alternate!==null&&(n=e),e=e.sibling;n===null?t.tail=null:n.sibling=null;break;case"collapsed":n=t.tail;for(var l=null;n!==null;)n.alternate!==null&&(l=n),n=n.sibling;l===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:l.sibling=null}}function Kt(t){var e=t.alternate!==null&&t.alternate.child===t.child,n=0,l=0;if(e)for(var u=t.child;u!==null;)n|=u.lanes|u.childLanes,l|=u.subtreeFlags&65011712,l|=u.flags&65011712,u.return=t,u=u.sibling;else for(u=t.child;u!==null;)n|=u.lanes|u.childLanes,l|=u.subtreeFlags,l|=u.flags,u.return=t,u=u.sibling;return t.subtreeFlags|=l,t.childLanes=n,e}function Xx(t,e,n){var l=e.pendingProps;switch(Cc(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Kt(e),null;case 1:return Kt(e),null;case 3:return n=e.stateNode,l=null,t!==null&&(l=t.memoizedState.cache),e.memoizedState.cache!==l&&(e.flags|=2048),vn(te),Et(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(t===null||t.child===null)&&(Jl(e)?En(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,Oc())),Kt(e),null;case 26:var u=e.type,o=e.memoizedState;return t===null?(En(e),o!==null?(Kt(e),dp(e,o)):(Kt(e),xo(e,u,null,l,n))):o?o!==t.memoizedState?(En(e),Kt(e),dp(e,o)):(Kt(e),e.flags&=-16777217):(t=t.memoizedProps,t!==l&&En(e),Kt(e),xo(e,u,t,l,n)),null;case 27:if(on(e),n=$.current,u=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==l&&En(e);else{if(!l){if(e.stateNode===null)throw Error(c(166));return Kt(e),null}t=Y.current,Jl(e)?Zh(e):(t=bm(u,l,n),e.stateNode=t,En(e))}return Kt(e),null;case 5:if(on(e),u=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==l&&En(e);else{if(!l){if(e.stateNode===null)throw Error(c(166));return Kt(e),null}if(o=Y.current,Jl(e))Zh(e);else{var h=Uu($.current);switch(o){case 1:o=h.createElementNS("http://www.w3.org/2000/svg",u);break;case 2:o=h.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;default:switch(u){case"svg":o=h.createElementNS("http://www.w3.org/2000/svg",u);break;case"math":o=h.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;case"script":o=h.createElement("div"),o.innerHTML="<script><\/script>",o=o.removeChild(o.firstChild);break;case"select":o=typeof l.is=="string"?h.createElement("select",{is:l.is}):h.createElement("select"),l.multiple?o.multiple=!0:l.size&&(o.size=l.size);break;default:o=typeof l.is=="string"?h.createElement(u,{is:l.is}):h.createElement(u)}}o[ce]=e,o[Te]=l;t:for(h=e.child;h!==null;){if(h.tag===5||h.tag===6)o.appendChild(h.stateNode);else if(h.tag!==4&&h.tag!==27&&h.child!==null){h.child.return=h,h=h.child;continue}if(h===e)break t;for(;h.sibling===null;){if(h.return===null||h.return===e)break t;h=h.return}h.sibling.return=h.return,h=h.sibling}e.stateNode=o;t:switch(he(o,u,l),u){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break t;case"img":l=!0;break t;default:l=!1}l&&En(e)}}return Kt(e),xo(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,n),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==l&&En(e);else{if(typeof l!="string"&&e.stateNode===null)throw Error(c(166));if(t=$.current,Jl(e)){if(t=e.stateNode,n=e.memoizedProps,l=null,u=oe,u!==null)switch(u.tag){case 27:case 5:l=u.memoizedProps}t[ce]=e,t=!!(t.nodeValue===n||l!==null&&l.suppressHydrationWarning===!0||om(t.nodeValue,n)),t||Bn(e,!0)}else t=Uu(t).createTextNode(l),t[ce]=e,e.stateNode=t}return Kt(e),null;case 31:if(n=e.memoizedState,t===null||t.memoizedState!==null){if(l=Jl(e),n!==null){if(t===null){if(!l)throw Error(c(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(c(557));t[ce]=e}else hl(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Kt(e),t=!1}else n=Oc(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=n),t=!0;if(!t)return e.flags&256?(Ue(e),e):(Ue(e),null);if((e.flags&128)!==0)throw Error(c(558))}return Kt(e),null;case 13:if(l=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(u=Jl(e),l!==null&&l.dehydrated!==null){if(t===null){if(!u)throw Error(c(318));if(u=e.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(c(317));u[ce]=e}else hl(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Kt(e),u=!1}else u=Oc(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=u),u=!0;if(!u)return e.flags&256?(Ue(e),e):(Ue(e),null)}return Ue(e),(e.flags&128)!==0?(e.lanes=n,e):(n=l!==null,t=t!==null&&t.memoizedState!==null,n&&(l=e.child,u=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(u=l.alternate.memoizedState.cachePool.pool),o=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(o=l.memoizedState.cachePool.pool),o!==u&&(l.flags|=2048)),n!==t&&n&&(e.child.flags|=8192),Su(e,e.updateQueue),Kt(e),null);case 4:return Et(),t===null&&Yo(e.stateNode.containerInfo),Kt(e),null;case 10:return vn(e.type),Kt(e),null;case 19:if(C($t),l=e.memoizedState,l===null)return Kt(e),null;if(u=(e.flags&128)!==0,o=l.rendering,o===null)if(u)ia(l,!1);else{if(It!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(o=cu(t),o!==null){for(e.flags|=128,ia(l,!1),t=o.updateQueue,e.updateQueue=t,Su(e,t),e.subtreeFlags=0,t=n,n=e.child;n!==null;)Yh(n,t),n=n.sibling;return b($t,$t.current&1|2),wt&&yn(e,l.treeForkCount),e.child}t=t.sibling}l.tail!==null&&me()>Cu&&(e.flags|=128,u=!0,ia(l,!1),e.lanes=4194304)}else{if(!u)if(t=cu(o),t!==null){if(e.flags|=128,u=!0,t=t.updateQueue,e.updateQueue=t,Su(e,t),ia(l,!0),l.tail===null&&l.tailMode==="hidden"&&!o.alternate&&!wt)return Kt(e),null}else 2*me()-l.renderingStartTime>Cu&&n!==536870912&&(e.flags|=128,u=!0,ia(l,!1),e.lanes=4194304);l.isBackwards?(o.sibling=e.child,e.child=o):(t=l.last,t!==null?t.sibling=o:e.child=o,l.last=o)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=me(),t.sibling=null,n=$t.current,b($t,u?n&1|2:n&1),wt&&yn(e,l.treeForkCount),t):(Kt(e),null);case 22:case 23:return Ue(e),Yc(),l=e.memoizedState!==null,t!==null?t.memoizedState!==null!==l&&(e.flags|=8192):l&&(e.flags|=8192),l?(n&536870912)!==0&&(e.flags&128)===0&&(Kt(e),e.subtreeFlags&6&&(e.flags|=8192)):Kt(e),n=e.updateQueue,n!==null&&Su(e,n.retryQueue),n=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),l=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),l!==n&&(e.flags|=2048),t!==null&&C(ml),null;case 24:return n=null,t!==null&&(n=t.memoizedState.cache),e.memoizedState.cache!==n&&(e.flags|=2048),vn(te),Kt(e),null;case 25:return null;case 30:return null}throw Error(c(156,e.tag))}function Gx(t,e){switch(Cc(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return vn(te),Et(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return on(e),null;case 31:if(e.memoizedState!==null){if(Ue(e),e.alternate===null)throw Error(c(340));hl()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(Ue(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(c(340));hl()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return C($t),null;case 4:return Et(),null;case 10:return vn(e.type),null;case 22:case 23:return Ue(e),Yc(),t!==null&&C(ml),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return vn(te),null;case 25:return null;default:return null}}function pp(t,e){switch(Cc(e),e.tag){case 3:vn(te),Et();break;case 26:case 27:case 5:on(e);break;case 4:Et();break;case 31:e.memoizedState!==null&&Ue(e);break;case 13:Ue(e);break;case 19:C($t);break;case 10:vn(e.type);break;case 22:case 23:Ue(e),Yc(),t!==null&&C(ml);break;case 24:vn(te)}}function aa(t,e){try{var n=e.updateQueue,l=n!==null?n.lastEffect:null;if(l!==null){var u=l.next;n=u;do{if((n.tag&t)===t){l=void 0;var o=n.create,h=n.inst;l=o(),h.destroy=l}n=n.next}while(n!==u)}}catch(v){Ht(e,e.return,v)}}function Qn(t,e,n){try{var l=e.updateQueue,u=l!==null?l.lastEffect:null;if(u!==null){var o=u.next;l=o;do{if((l.tag&t)===t){var h=l.inst,v=h.destroy;if(v!==void 0){h.destroy=void 0,u=e;var A=n,w=v;try{w()}catch(j){Ht(u,A,j)}}}l=l.next}while(l!==o)}}catch(j){Ht(e,e.return,j)}}function mp(t){var e=t.updateQueue;if(e!==null){var n=t.stateNode;try{ad(e,n)}catch(l){Ht(t,t.return,l)}}}function yp(t,e,n){n.props=bl(t.type,t.memoizedProps),n.state=t.memoizedState;try{n.componentWillUnmount()}catch(l){Ht(t,e,l)}}function ua(t,e){try{var n=t.ref;if(n!==null){switch(t.tag){case 26:case 27:case 5:var l=t.stateNode;break;case 30:l=t.stateNode;break;default:l=t.stateNode}typeof n=="function"?t.refCleanup=n(l):n.current=l}}catch(u){Ht(t,e,u)}}function rn(t,e){var n=t.ref,l=t.refCleanup;if(n!==null)if(typeof l=="function")try{l()}catch(u){Ht(t,e,u)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(u){Ht(t,e,u)}else n.current=null}function gp(t){var e=t.type,n=t.memoizedProps,l=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":n.autoFocus&&l.focus();break t;case"img":n.src?l.src=n.src:n.srcSet&&(l.srcset=n.srcSet)}}catch(u){Ht(t,t.return,u)}}function bo(t,e,n){try{var l=t.stateNode;fb(l,t.type,n,e),l[Te]=e}catch(u){Ht(t,t.return,u)}}function vp(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&$n(t.type)||t.tag===4}function So(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||vp(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&$n(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Eo(t,e,n){var l=t.tag;if(l===5||l===6)t=t.stateNode,e?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(t,e):(e=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,e.appendChild(t),n=n._reactRootContainer,n!=null||e.onclick!==null||(e.onclick=dn));else if(l!==4&&(l===27&&$n(t.type)&&(n=t.stateNode,e=null),t=t.child,t!==null))for(Eo(t,e,n),t=t.sibling;t!==null;)Eo(t,e,n),t=t.sibling}function Eu(t,e,n){var l=t.tag;if(l===5||l===6)t=t.stateNode,e?n.insertBefore(t,e):n.appendChild(t);else if(l!==4&&(l===27&&$n(t.type)&&(n=t.stateNode),t=t.child,t!==null))for(Eu(t,e,n),t=t.sibling;t!==null;)Eu(t,e,n),t=t.sibling}function xp(t){var e=t.stateNode,n=t.memoizedProps;try{for(var l=t.type,u=e.attributes;u.length;)e.removeAttributeNode(u[0]);he(e,l,n),e[ce]=t,e[Te]=n}catch(o){Ht(t,t.return,o)}}var Tn=!1,le=!1,To=!1,bp=typeof WeakSet=="function"?WeakSet:Set,re=null;function Qx(t,e){if(t=t.containerInfo,Qo=Gu,t=Rh(t),mc(t)){if("selectionStart"in t)var n={start:t.selectionStart,end:t.selectionEnd};else t:{n=(n=t.ownerDocument)&&n.defaultView||window;var l=n.getSelection&&n.getSelection();if(l&&l.rangeCount!==0){n=l.anchorNode;var u=l.anchorOffset,o=l.focusNode;l=l.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break t}var h=0,v=-1,A=-1,w=0,j=0,X=t,R=null;e:for(;;){for(var k;X!==n||u!==0&&X.nodeType!==3||(v=h+u),X!==o||l!==0&&X.nodeType!==3||(A=h+l),X.nodeType===3&&(h+=X.nodeValue.length),(k=X.firstChild)!==null;)R=X,X=k;for(;;){if(X===t)break e;if(R===n&&++w===u&&(v=h),R===o&&++j===l&&(A=h),(k=X.nextSibling)!==null)break;X=R,R=X.parentNode}X=k}n=v===-1||A===-1?null:{start:v,end:A}}else n=null}n=n||{start:0,end:0}}else n=null;for(Vo={focusedElem:t,selectionRange:n},Gu=!1,re=e;re!==null;)if(e=re,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,re=t;else for(;re!==null;){switch(e=re,o=e.alternate,t=e.flags,e.tag){case 0:if((t&4)!==0&&(t=e.updateQueue,t=t!==null?t.events:null,t!==null))for(n=0;n<t.length;n++)u=t[n],u.ref.impl=u.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&o!==null){t=void 0,n=e,u=o.memoizedProps,o=o.memoizedState,l=n.stateNode;try{var it=bl(n.type,u);t=l.getSnapshotBeforeUpdate(it,o),l.__reactInternalSnapshotBeforeUpdate=t}catch(mt){Ht(n,n.return,mt)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,n=t.nodeType,n===9)Jo(t);else if(n===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Jo(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(c(163))}if(t=e.sibling,t!==null){t.return=e.return,re=t;break}re=e.return}}function Sp(t,e,n){var l=n.flags;switch(n.tag){case 0:case 11:case 15:An(t,n),l&4&&aa(5,n);break;case 1:if(An(t,n),l&4)if(t=n.stateNode,e===null)try{t.componentDidMount()}catch(h){Ht(n,n.return,h)}else{var u=bl(n.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(u,e,t.__reactInternalSnapshotBeforeUpdate)}catch(h){Ht(n,n.return,h)}}l&64&&mp(n),l&512&&ua(n,n.return);break;case 3:if(An(t,n),l&64&&(t=n.updateQueue,t!==null)){if(e=null,n.child!==null)switch(n.child.tag){case 27:case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}try{ad(t,e)}catch(h){Ht(n,n.return,h)}}break;case 27:e===null&&l&4&&xp(n);case 26:case 5:An(t,n),e===null&&l&4&&gp(n),l&512&&ua(n,n.return);break;case 12:An(t,n);break;case 31:An(t,n),l&4&&zp(t,n);break;case 13:An(t,n),l&4&&Ap(t,n),l&64&&(t=n.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(n=Px.bind(null,n),xb(t,n))));break;case 22:if(l=n.memoizedState!==null||Tn,!l){e=e!==null&&e.memoizedState!==null||le,u=Tn;var o=le;Tn=l,(le=e)&&!o?Cn(t,n,(n.subtreeFlags&8772)!==0):An(t,n),Tn=u,le=o}break;case 30:break;default:An(t,n)}}function Ep(t){var e=t.alternate;e!==null&&(t.alternate=null,Ep(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&Wr(e)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var Jt=null,Ae=!1;function zn(t,e,n){for(n=n.child;n!==null;)Tp(t,e,n),n=n.sibling}function Tp(t,e,n){if(ie&&typeof ie.onCommitFiberUnmount=="function")try{ie.onCommitFiberUnmount(ye,n)}catch{}switch(n.tag){case 26:le||rn(n,e),zn(t,e,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:le||rn(n,e);var l=Jt,u=Ae;$n(n.type)&&(Jt=n.stateNode,Ae=!1),zn(t,e,n),ma(n.stateNode),Jt=l,Ae=u;break;case 5:le||rn(n,e);case 6:if(l=Jt,u=Ae,Jt=null,zn(t,e,n),Jt=l,Ae=u,Jt!==null)if(Ae)try{(Jt.nodeType===9?Jt.body:Jt.nodeName==="HTML"?Jt.ownerDocument.body:Jt).removeChild(n.stateNode)}catch(o){Ht(n,e,o)}else try{Jt.removeChild(n.stateNode)}catch(o){Ht(n,e,o)}break;case 18:Jt!==null&&(Ae?(t=Jt,mm(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,n.stateNode),mi(t)):mm(Jt,n.stateNode));break;case 4:l=Jt,u=Ae,Jt=n.stateNode.containerInfo,Ae=!0,zn(t,e,n),Jt=l,Ae=u;break;case 0:case 11:case 14:case 15:Qn(2,n,e),le||Qn(4,n,e),zn(t,e,n);break;case 1:le||(rn(n,e),l=n.stateNode,typeof l.componentWillUnmount=="function"&&yp(n,e,l)),zn(t,e,n);break;case 21:zn(t,e,n);break;case 22:le=(l=le)||n.memoizedState!==null,zn(t,e,n),le=l;break;default:zn(t,e,n)}}function zp(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{mi(t)}catch(n){Ht(e,e.return,n)}}}function Ap(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{mi(t)}catch(n){Ht(e,e.return,n)}}function Vx(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new bp),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new bp),e;default:throw Error(c(435,t.tag))}}function Tu(t,e){var n=Vx(t);e.forEach(function(l){if(!n.has(l)){n.add(l);var u=tb.bind(null,t,l);l.then(u,u)}})}function Ce(t,e){var n=e.deletions;if(n!==null)for(var l=0;l<n.length;l++){var u=n[l],o=t,h=e,v=h;t:for(;v!==null;){switch(v.tag){case 27:if($n(v.type)){Jt=v.stateNode,Ae=!1;break t}break;case 5:Jt=v.stateNode,Ae=!1;break t;case 3:case 4:Jt=v.stateNode.containerInfo,Ae=!0;break t}v=v.return}if(Jt===null)throw Error(c(160));Tp(o,h,u),Jt=null,Ae=!1,o=u.alternate,o!==null&&(o.return=null),u.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)Cp(e,t),e=e.sibling}var Pe=null;function Cp(t,e){var n=t.alternate,l=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:Ce(e,t),_e(t),l&4&&(Qn(3,t,t.return),aa(3,t),Qn(5,t,t.return));break;case 1:Ce(e,t),_e(t),l&512&&(le||n===null||rn(n,n.return)),l&64&&Tn&&(t=t.updateQueue,t!==null&&(l=t.callbacks,l!==null&&(n=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=n===null?l:n.concat(l))));break;case 26:var u=Pe;if(Ce(e,t),_e(t),l&512&&(le||n===null||rn(n,n.return)),l&4){var o=n!==null?n.memoizedState:null;if(l=t.memoizedState,n===null)if(l===null)if(t.stateNode===null){t:{l=t.type,n=t.memoizedProps,u=u.ownerDocument||u;e:switch(l){case"title":o=u.getElementsByTagName("title")[0],(!o||o[ki]||o[ce]||o.namespaceURI==="http://www.w3.org/2000/svg"||o.hasAttribute("itemprop"))&&(o=u.createElement(l),u.head.insertBefore(o,u.querySelector("head > title"))),he(o,l,n),o[ce]=t,ue(o),l=o;break t;case"link":var h=Cm("link","href",u).get(l+(n.href||""));if(h){for(var v=0;v<h.length;v++)if(o=h[v],o.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&o.getAttribute("rel")===(n.rel==null?null:n.rel)&&o.getAttribute("title")===(n.title==null?null:n.title)&&o.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){h.splice(v,1);break e}}o=u.createElement(l),he(o,l,n),u.head.appendChild(o);break;case"meta":if(h=Cm("meta","content",u).get(l+(n.content||""))){for(v=0;v<h.length;v++)if(o=h[v],o.getAttribute("content")===(n.content==null?null:""+n.content)&&o.getAttribute("name")===(n.name==null?null:n.name)&&o.getAttribute("property")===(n.property==null?null:n.property)&&o.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&o.getAttribute("charset")===(n.charSet==null?null:n.charSet)){h.splice(v,1);break e}}o=u.createElement(l),he(o,l,n),u.head.appendChild(o);break;default:throw Error(c(468,l))}o[ce]=t,ue(o),l=o}t.stateNode=l}else _m(u,t.type,t.stateNode);else t.stateNode=Am(u,l,t.memoizedProps);else o!==l?(o===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):o.count--,l===null?_m(u,t.type,t.stateNode):Am(u,l,t.memoizedProps)):l===null&&t.stateNode!==null&&bo(t,t.memoizedProps,n.memoizedProps)}break;case 27:Ce(e,t),_e(t),l&512&&(le||n===null||rn(n,n.return)),n!==null&&l&4&&bo(t,t.memoizedProps,n.memoizedProps);break;case 5:if(Ce(e,t),_e(t),l&512&&(le||n===null||rn(n,n.return)),t.flags&32){u=t.stateNode;try{Hl(u,"")}catch(it){Ht(t,t.return,it)}}l&4&&t.stateNode!=null&&(u=t.memoizedProps,bo(t,u,n!==null?n.memoizedProps:u)),l&1024&&(To=!0);break;case 6:if(Ce(e,t),_e(t),l&4){if(t.stateNode===null)throw Error(c(162));l=t.memoizedProps,n=t.stateNode;try{n.nodeValue=l}catch(it){Ht(t,t.return,it)}}break;case 3:if(Lu=null,u=Pe,Pe=Bu(e.containerInfo),Ce(e,t),Pe=u,_e(t),l&4&&n!==null&&n.memoizedState.isDehydrated)try{mi(e.containerInfo)}catch(it){Ht(t,t.return,it)}To&&(To=!1,_p(t));break;case 4:l=Pe,Pe=Bu(t.stateNode.containerInfo),Ce(e,t),_e(t),Pe=l;break;case 12:Ce(e,t),_e(t);break;case 31:Ce(e,t),_e(t),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,Tu(t,l)));break;case 13:Ce(e,t),_e(t),t.child.flags&8192&&t.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(Au=me()),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,Tu(t,l)));break;case 22:u=t.memoizedState!==null;var A=n!==null&&n.memoizedState!==null,w=Tn,j=le;if(Tn=w||u,le=j||A,Ce(e,t),le=j,Tn=w,_e(t),l&8192)t:for(e=t.stateNode,e._visibility=u?e._visibility&-2:e._visibility|1,u&&(n===null||A||Tn||le||Sl(t)),n=null,e=t;;){if(e.tag===5||e.tag===26){if(n===null){A=n=e;try{if(o=A.stateNode,u)h=o.style,typeof h.setProperty=="function"?h.setProperty("display","none","important"):h.display="none";else{v=A.stateNode;var X=A.memoizedProps.style,R=X!=null&&X.hasOwnProperty("display")?X.display:null;v.style.display=R==null||typeof R=="boolean"?"":(""+R).trim()}}catch(it){Ht(A,A.return,it)}}}else if(e.tag===6){if(n===null){A=e;try{A.stateNode.nodeValue=u?"":A.memoizedProps}catch(it){Ht(A,A.return,it)}}}else if(e.tag===18){if(n===null){A=e;try{var k=A.stateNode;u?ym(k,!0):ym(A.stateNode,!1)}catch(it){Ht(A,A.return,it)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===t)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break t;for(;e.sibling===null;){if(e.return===null||e.return===t)break t;n===e&&(n=null),e=e.return}n===e&&(n=null),e.sibling.return=e.return,e=e.sibling}l&4&&(l=t.updateQueue,l!==null&&(n=l.retryQueue,n!==null&&(l.retryQueue=null,Tu(t,n))));break;case 19:Ce(e,t),_e(t),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,Tu(t,l)));break;case 30:break;case 21:break;default:Ce(e,t),_e(t)}}function _e(t){var e=t.flags;if(e&2){try{for(var n,l=t.return;l!==null;){if(vp(l)){n=l;break}l=l.return}if(n==null)throw Error(c(160));switch(n.tag){case 27:var u=n.stateNode,o=So(t);Eu(t,o,u);break;case 5:var h=n.stateNode;n.flags&32&&(Hl(h,""),n.flags&=-33);var v=So(t);Eu(t,v,h);break;case 3:case 4:var A=n.stateNode.containerInfo,w=So(t);Eo(t,w,A);break;default:throw Error(c(161))}}catch(j){Ht(t,t.return,j)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function _p(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;_p(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function An(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)Sp(t,e.alternate,e),e=e.sibling}function Sl(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:Qn(4,e,e.return),Sl(e);break;case 1:rn(e,e.return);var n=e.stateNode;typeof n.componentWillUnmount=="function"&&yp(e,e.return,n),Sl(e);break;case 27:ma(e.stateNode);case 26:case 5:rn(e,e.return),Sl(e);break;case 22:e.memoizedState===null&&Sl(e);break;case 30:Sl(e);break;default:Sl(e)}t=t.sibling}}function Cn(t,e,n){for(n=n&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var l=e.alternate,u=t,o=e,h=o.flags;switch(o.tag){case 0:case 11:case 15:Cn(u,o,n),aa(4,o);break;case 1:if(Cn(u,o,n),l=o,u=l.stateNode,typeof u.componentDidMount=="function")try{u.componentDidMount()}catch(w){Ht(l,l.return,w)}if(l=o,u=l.updateQueue,u!==null){var v=l.stateNode;try{var A=u.shared.hiddenCallbacks;if(A!==null)for(u.shared.hiddenCallbacks=null,u=0;u<A.length;u++)id(A[u],v)}catch(w){Ht(l,l.return,w)}}n&&h&64&&mp(o),ua(o,o.return);break;case 27:xp(o);case 26:case 5:Cn(u,o,n),n&&l===null&&h&4&&gp(o),ua(o,o.return);break;case 12:Cn(u,o,n);break;case 31:Cn(u,o,n),n&&h&4&&zp(u,o);break;case 13:Cn(u,o,n),n&&h&4&&Ap(u,o);break;case 22:o.memoizedState===null&&Cn(u,o,n),ua(o,o.return);break;case 30:break;default:Cn(u,o,n)}e=e.sibling}}function zo(t,e){var n=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==n&&(t!=null&&t.refCount++,n!=null&&Zi(n))}function Ao(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&Zi(t))}function tn(t,e,n,l){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Op(t,e,n,l),e=e.sibling}function Op(t,e,n,l){var u=e.flags;switch(e.tag){case 0:case 11:case 15:tn(t,e,n,l),u&2048&&aa(9,e);break;case 1:tn(t,e,n,l);break;case 3:tn(t,e,n,l),u&2048&&(t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&Zi(t)));break;case 12:if(u&2048){tn(t,e,n,l),t=e.stateNode;try{var o=e.memoizedProps,h=o.id,v=o.onPostCommit;typeof v=="function"&&v(h,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(A){Ht(e,e.return,A)}}else tn(t,e,n,l);break;case 31:tn(t,e,n,l);break;case 13:tn(t,e,n,l);break;case 23:break;case 22:o=e.stateNode,h=e.alternate,e.memoizedState!==null?o._visibility&2?tn(t,e,n,l):ra(t,e):o._visibility&2?tn(t,e,n,l):(o._visibility|=2,ii(t,e,n,l,(e.subtreeFlags&10256)!==0||!1)),u&2048&&zo(h,e);break;case 24:tn(t,e,n,l),u&2048&&Ao(e.alternate,e);break;default:tn(t,e,n,l)}}function ii(t,e,n,l,u){for(u=u&&((e.subtreeFlags&10256)!==0||!1),e=e.child;e!==null;){var o=t,h=e,v=n,A=l,w=h.flags;switch(h.tag){case 0:case 11:case 15:ii(o,h,v,A,u),aa(8,h);break;case 23:break;case 22:var j=h.stateNode;h.memoizedState!==null?j._visibility&2?ii(o,h,v,A,u):ra(o,h):(j._visibility|=2,ii(o,h,v,A,u)),u&&w&2048&&zo(h.alternate,h);break;case 24:ii(o,h,v,A,u),u&&w&2048&&Ao(h.alternate,h);break;default:ii(o,h,v,A,u)}e=e.sibling}}function ra(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var n=t,l=e,u=l.flags;switch(l.tag){case 22:ra(n,l),u&2048&&zo(l.alternate,l);break;case 24:ra(n,l),u&2048&&Ao(l.alternate,l);break;default:ra(n,l)}e=e.sibling}}var ca=8192;function ai(t,e,n){if(t.subtreeFlags&ca)for(t=t.child;t!==null;)Mp(t,e,n),t=t.sibling}function Mp(t,e,n){switch(t.tag){case 26:ai(t,e,n),t.flags&ca&&t.memoizedState!==null&&wb(n,Pe,t.memoizedState,t.memoizedProps);break;case 5:ai(t,e,n);break;case 3:case 4:var l=Pe;Pe=Bu(t.stateNode.containerInfo),ai(t,e,n),Pe=l;break;case 22:t.memoizedState===null&&(l=t.alternate,l!==null&&l.memoizedState!==null?(l=ca,ca=16777216,ai(t,e,n),ca=l):ai(t,e,n));break;default:ai(t,e,n)}}function Dp(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function oa(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var n=0;n<e.length;n++){var l=e[n];re=l,Rp(l,t)}Dp(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)wp(t),t=t.sibling}function wp(t){switch(t.tag){case 0:case 11:case 15:oa(t),t.flags&2048&&Qn(9,t,t.return);break;case 3:oa(t);break;case 12:oa(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,zu(t)):oa(t);break;default:oa(t)}}function zu(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var n=0;n<e.length;n++){var l=e[n];re=l,Rp(l,t)}Dp(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:Qn(8,e,e.return),zu(e);break;case 22:n=e.stateNode,n._visibility&2&&(n._visibility&=-3,zu(e));break;default:zu(e)}t=t.sibling}}function Rp(t,e){for(;re!==null;){var n=re;switch(n.tag){case 0:case 11:case 15:Qn(8,n,e);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var l=n.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:Zi(n.memoizedState.cache)}if(l=n.child,l!==null)l.return=n,re=l;else t:for(n=t;re!==null;){l=re;var u=l.sibling,o=l.return;if(Ep(l),l===n){re=null;break t}if(u!==null){u.return=o,re=u;break t}re=o}}}var Zx={getCacheForType:function(t){var e=se(te),n=e.data.get(t);return n===void 0&&(n=t(),e.data.set(t,n)),n},cacheSignal:function(){return se(te).controller.signal}},Kx=typeof WeakMap=="function"?WeakMap:Map,jt=0,Qt=null,Ct=null,Ot=0,Bt=0,Be=null,Vn=!1,ui=!1,Co=!1,_n=0,It=0,Zn=0,El=0,_o=0,He=0,ri=0,sa=null,Oe=null,Oo=!1,Au=0,kp=0,Cu=1/0,_u=null,Kn=null,ae=0,Jn=null,ci=null,On=0,Mo=0,Do=null,Np=null,fa=0,wo=null;function Le(){return(jt&2)!==0&&Ot!==0?Ot&-Ot:M.T!==null?Bo():If()}function jp(){if(He===0)if((Ot&536870912)===0||wt){var t=ja;ja<<=1,(ja&3932160)===0&&(ja=262144),He=t}else He=536870912;return t=je.current,t!==null&&(t.flags|=32),He}function Me(t,e,n){(t===Qt&&(Bt===2||Bt===9)||t.cancelPendingCommit!==null)&&(oi(t,0),Fn(t,Ot,He,!1)),Ri(t,n),((jt&2)===0||t!==Qt)&&(t===Qt&&((jt&2)===0&&(El|=n),It===4&&Fn(t,Ot,He,!1)),cn(t))}function Up(t,e,n){if((jt&6)!==0)throw Error(c(327));var l=!n&&(e&127)===0&&(e&t.expiredLanes)===0||wi(t,e),u=l?Ix(t,e):ko(t,e,!0),o=l;do{if(u===0){ui&&!l&&Fn(t,e,0,!1);break}else{if(n=t.current.alternate,o&&!Jx(n)){u=ko(t,e,!1),o=!1;continue}if(u===2){if(o=e,t.errorRecoveryDisabledLanes&o)var h=0;else h=t.pendingLanes&-536870913,h=h!==0?h:h&536870912?536870912:0;if(h!==0){e=h;t:{var v=t;u=sa;var A=v.current.memoizedState.isDehydrated;if(A&&(oi(v,h).flags|=256),h=ko(v,h,!1),h!==2){if(Co&&!A){v.errorRecoveryDisabledLanes|=o,El|=o,u=4;break t}o=Oe,Oe=u,o!==null&&(Oe===null?Oe=o:Oe.push.apply(Oe,o))}u=h}if(o=!1,u!==2)continue}}if(u===1){oi(t,0),Fn(t,e,0,!0);break}t:{switch(l=t,o=u,o){case 0:case 1:throw Error(c(345));case 4:if((e&4194048)!==e)break;case 6:Fn(l,e,He,!Vn);break t;case 2:Oe=null;break;case 3:case 5:break;default:throw Error(c(329))}if((e&62914560)===e&&(u=Au+300-me(),10<u)){if(Fn(l,e,He,!Vn),Ba(l,0,!0)!==0)break t;On=e,l.timeoutHandle=dm(Bp.bind(null,l,n,Oe,_u,Oo,e,He,El,ri,Vn,o,"Throttled",-0,0),u);break t}Bp(l,n,Oe,_u,Oo,e,He,El,ri,Vn,o,null,-0,0)}}break}while(!0);cn(t)}function Bp(t,e,n,l,u,o,h,v,A,w,j,X,R,k){if(t.timeoutHandle=-1,X=e.subtreeFlags,X&8192||(X&16785408)===16785408){X={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:dn},Mp(e,o,X);var it=(o&62914560)===o?Au-me():(o&4194048)===o?kp-me():0;if(it=Rb(X,it),it!==null){On=o,t.cancelPendingCommit=it(Vp.bind(null,t,e,o,n,l,u,h,v,A,j,X,null,R,k)),Fn(t,o,h,!w);return}}Vp(t,e,o,n,l,u,h,v,A)}function Jx(t){for(var e=t;;){var n=e.tag;if((n===0||n===11||n===15)&&e.flags&16384&&(n=e.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var l=0;l<n.length;l++){var u=n[l],o=u.getSnapshot;u=u.value;try{if(!ke(o(),u))return!1}catch{return!1}}if(n=e.child,e.subtreeFlags&16384&&n!==null)n.return=e,e=n;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function Fn(t,e,n,l){e&=~_o,e&=~El,t.suspendedLanes|=e,t.pingedLanes&=~e,l&&(t.warmLanes|=e),l=t.expirationTimes;for(var u=e;0<u;){var o=31-Gt(u),h=1<<o;l[o]=-1,u&=~h}n!==0&&Kf(t,n,e)}function Ou(){return(jt&6)===0?(ha(0),!1):!0}function Ro(){if(Ct!==null){if(Bt===0)var t=Ct.return;else t=Ct,gn=dl=null,Kc(t),Pl=null,Ji=0,t=Ct;for(;t!==null;)pp(t.alternate,t),t=t.return;Ct=null}}function oi(t,e){var n=t.timeoutHandle;n!==-1&&(t.timeoutHandle=-1,pb(n)),n=t.cancelPendingCommit,n!==null&&(t.cancelPendingCommit=null,n()),On=0,Ro(),Qt=t,Ct=n=mn(t.current,null),Ot=e,Bt=0,Be=null,Vn=!1,ui=wi(t,e),Co=!1,ri=He=_o=El=Zn=It=0,Oe=sa=null,Oo=!1,(e&8)!==0&&(e|=e&32);var l=t.entangledLanes;if(l!==0)for(t=t.entanglements,l&=e;0<l;){var u=31-Gt(l),o=1<<u;e|=t[u],l&=~o}return _n=e,Fa(),n}function Hp(t,e){Tt=null,M.H=na,e===Wl||e===lu?(e=td(),Bt=3):e===jc?(e=td(),Bt=4):Bt=e===oo?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,Be=e,Ct===null&&(It=1,gu(t,Qe(e,t.current)))}function Lp(){var t=je.current;return t===null?!0:(Ot&4194048)===Ot?Je===null:(Ot&62914560)===Ot||(Ot&536870912)!==0?t===Je:!1}function qp(){var t=M.H;return M.H=na,t===null?na:t}function Yp(){var t=M.A;return M.A=Zx,t}function Mu(){It=4,Vn||(Ot&4194048)!==Ot&&je.current!==null||(ui=!0),(Zn&134217727)===0&&(El&134217727)===0||Qt===null||Fn(Qt,Ot,He,!1)}function ko(t,e,n){var l=jt;jt|=2;var u=qp(),o=Yp();(Qt!==t||Ot!==e)&&(_u=null,oi(t,e)),e=!1;var h=It;t:do try{if(Bt!==0&&Ct!==null){var v=Ct,A=Be;switch(Bt){case 8:Ro(),h=6;break t;case 3:case 2:case 9:case 6:je.current===null&&(e=!0);var w=Bt;if(Bt=0,Be=null,si(t,v,A,w),n&&ui){h=0;break t}break;default:w=Bt,Bt=0,Be=null,si(t,v,A,w)}}Fx(),h=It;break}catch(j){Hp(t,j)}while(!0);return e&&t.shellSuspendCounter++,gn=dl=null,jt=l,M.H=u,M.A=o,Ct===null&&(Qt=null,Ot=0,Fa()),h}function Fx(){for(;Ct!==null;)Xp(Ct)}function Ix(t,e){var n=jt;jt|=2;var l=qp(),u=Yp();Qt!==t||Ot!==e?(_u=null,Cu=me()+500,oi(t,e)):ui=wi(t,e);t:do try{if(Bt!==0&&Ct!==null){e=Ct;var o=Be;e:switch(Bt){case 1:Bt=0,Be=null,si(t,e,o,1);break;case 2:case 9:if(Wh(o)){Bt=0,Be=null,Gp(e);break}e=function(){Bt!==2&&Bt!==9||Qt!==t||(Bt=7),cn(t)},o.then(e,e);break t;case 3:Bt=7;break t;case 4:Bt=5;break t;case 7:Wh(o)?(Bt=0,Be=null,Gp(e)):(Bt=0,Be=null,si(t,e,o,7));break;case 5:var h=null;switch(Ct.tag){case 26:h=Ct.memoizedState;case 5:case 27:var v=Ct;if(h?Om(h):v.stateNode.complete){Bt=0,Be=null;var A=v.sibling;if(A!==null)Ct=A;else{var w=v.return;w!==null?(Ct=w,Du(w)):Ct=null}break e}}Bt=0,Be=null,si(t,e,o,5);break;case 6:Bt=0,Be=null,si(t,e,o,6);break;case 8:Ro(),It=6;break t;default:throw Error(c(462))}}$x();break}catch(j){Hp(t,j)}while(!0);return gn=dl=null,M.H=l,M.A=u,jt=n,Ct!==null?0:(Qt=null,Ot=0,Fa(),It)}function $x(){for(;Ct!==null&&!Vr();)Xp(Ct)}function Xp(t){var e=hp(t.alternate,t,_n);t.memoizedProps=t.pendingProps,e===null?Du(t):Ct=e}function Gp(t){var e=t,n=e.alternate;switch(e.tag){case 15:case 0:e=up(n,e,e.pendingProps,e.type,void 0,Ot);break;case 11:e=up(n,e,e.pendingProps,e.type.render,e.ref,Ot);break;case 5:Kc(e);default:pp(n,e),e=Ct=Yh(e,_n),e=hp(n,e,_n)}t.memoizedProps=t.pendingProps,e===null?Du(t):Ct=e}function si(t,e,n,l){gn=dl=null,Kc(e),Pl=null,Ji=0;var u=e.return;try{if(Lx(t,u,e,n,Ot)){It=1,gu(t,Qe(n,t.current)),Ct=null;return}}catch(o){if(u!==null)throw Ct=u,o;It=1,gu(t,Qe(n,t.current)),Ct=null;return}e.flags&32768?(wt||l===1?t=!0:ui||(Ot&536870912)!==0?t=!1:(Vn=t=!0,(l===2||l===9||l===3||l===6)&&(l=je.current,l!==null&&l.tag===13&&(l.flags|=16384))),Qp(e,t)):Du(e)}function Du(t){var e=t;do{if((e.flags&32768)!==0){Qp(e,Vn);return}t=e.return;var n=Xx(e.alternate,e,_n);if(n!==null){Ct=n;return}if(e=e.sibling,e!==null){Ct=e;return}Ct=e=t}while(e!==null);It===0&&(It=5)}function Qp(t,e){do{var n=Gx(t.alternate,t);if(n!==null){n.flags&=32767,Ct=n;return}if(n=t.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!e&&(t=t.sibling,t!==null)){Ct=t;return}Ct=t=n}while(t!==null);It=6,Ct=null}function Vp(t,e,n,l,u,o,h,v,A){t.cancelPendingCommit=null;do wu();while(ae!==0);if((jt&6)!==0)throw Error(c(327));if(e!==null){if(e===t.current)throw Error(c(177));if(o=e.lanes|e.childLanes,o|=bc,Dv(t,n,o,h,v,A),t===Qt&&(Ct=Qt=null,Ot=0),ci=e,Jn=t,On=n,Mo=o,Do=u,Np=l,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,eb(yt,function(){return Ip(),null})):(t.callbackNode=null,t.callbackPriority=0),l=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||l){l=M.T,M.T=null,u=Z.p,Z.p=2,h=jt,jt|=4;try{Qx(t,e,n)}finally{jt=h,Z.p=u,M.T=l}}ae=1,Zp(),Kp(),Jp()}}function Zp(){if(ae===1){ae=0;var t=Jn,e=ci,n=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||n){n=M.T,M.T=null;var l=Z.p;Z.p=2;var u=jt;jt|=4;try{Cp(e,t);var o=Vo,h=Rh(t.containerInfo),v=o.focusedElem,A=o.selectionRange;if(h!==v&&v&&v.ownerDocument&&wh(v.ownerDocument.documentElement,v)){if(A!==null&&mc(v)){var w=A.start,j=A.end;if(j===void 0&&(j=w),"selectionStart"in v)v.selectionStart=w,v.selectionEnd=Math.min(j,v.value.length);else{var X=v.ownerDocument||document,R=X&&X.defaultView||window;if(R.getSelection){var k=R.getSelection(),it=v.textContent.length,mt=Math.min(A.start,it),Yt=A.end===void 0?mt:Math.min(A.end,it);!k.extend&&mt>Yt&&(h=Yt,Yt=mt,mt=h);var O=Dh(v,mt),_=Dh(v,Yt);if(O&&_&&(k.rangeCount!==1||k.anchorNode!==O.node||k.anchorOffset!==O.offset||k.focusNode!==_.node||k.focusOffset!==_.offset)){var D=X.createRange();D.setStart(O.node,O.offset),k.removeAllRanges(),mt>Yt?(k.addRange(D),k.extend(_.node,_.offset)):(D.setEnd(_.node,_.offset),k.addRange(D))}}}}for(X=[],k=v;k=k.parentNode;)k.nodeType===1&&X.push({element:k,left:k.scrollLeft,top:k.scrollTop});for(typeof v.focus=="function"&&v.focus(),v=0;v<X.length;v++){var q=X[v];q.element.scrollLeft=q.left,q.element.scrollTop=q.top}}Gu=!!Qo,Vo=Qo=null}finally{jt=u,Z.p=l,M.T=n}}t.current=e,ae=2}}function Kp(){if(ae===2){ae=0;var t=Jn,e=ci,n=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||n){n=M.T,M.T=null;var l=Z.p;Z.p=2;var u=jt;jt|=4;try{Sp(t,e.alternate,e)}finally{jt=u,Z.p=l,M.T=n}}ae=3}}function Jp(){if(ae===4||ae===3){ae=0,Zr();var t=Jn,e=ci,n=On,l=Np;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?ae=5:(ae=0,ci=Jn=null,Fp(t,t.pendingLanes));var u=t.pendingLanes;if(u===0&&(Kn=null),Ir(n),e=e.stateNode,ie&&typeof ie.onCommitFiberRoot=="function")try{ie.onCommitFiberRoot(ye,e,void 0,(e.current.flags&128)===128)}catch{}if(l!==null){e=M.T,u=Z.p,Z.p=2,M.T=null;try{for(var o=t.onRecoverableError,h=0;h<l.length;h++){var v=l[h];o(v.value,{componentStack:v.stack})}}finally{M.T=e,Z.p=u}}(On&3)!==0&&wu(),cn(t),u=t.pendingLanes,(n&261930)!==0&&(u&42)!==0?t===wo?fa++:(fa=0,wo=t):fa=0,ha(0)}}function Fp(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,Zi(e)))}function wu(){return Zp(),Kp(),Jp(),Ip()}function Ip(){if(ae!==5)return!1;var t=Jn,e=Mo;Mo=0;var n=Ir(On),l=M.T,u=Z.p;try{Z.p=32>n?32:n,M.T=null,n=Do,Do=null;var o=Jn,h=On;if(ae=0,ci=Jn=null,On=0,(jt&6)!==0)throw Error(c(331));var v=jt;if(jt|=4,wp(o.current),Op(o,o.current,h,n),jt=v,ha(0,!1),ie&&typeof ie.onPostCommitFiberRoot=="function")try{ie.onPostCommitFiberRoot(ye,o)}catch{}return!0}finally{Z.p=u,M.T=l,Fp(t,e)}}function $p(t,e,n){e=Qe(n,e),e=co(t.stateNode,e,2),t=Yn(t,e,2),t!==null&&(Ri(t,2),cn(t))}function Ht(t,e,n){if(t.tag===3)$p(t,t,n);else for(;e!==null;){if(e.tag===3){$p(e,t,n);break}else if(e.tag===1){var l=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(Kn===null||!Kn.has(l))){t=Qe(n,t),n=Wd(2),l=Yn(e,n,2),l!==null&&(Pd(n,l,e,t),Ri(l,2),cn(l));break}}e=e.return}}function No(t,e,n){var l=t.pingCache;if(l===null){l=t.pingCache=new Kx;var u=new Set;l.set(e,u)}else u=l.get(e),u===void 0&&(u=new Set,l.set(e,u));u.has(n)||(Co=!0,u.add(n),t=Wx.bind(null,t,e,n),e.then(t,t))}function Wx(t,e,n){var l=t.pingCache;l!==null&&l.delete(e),t.pingedLanes|=t.suspendedLanes&n,t.warmLanes&=~n,Qt===t&&(Ot&n)===n&&(It===4||It===3&&(Ot&62914560)===Ot&&300>me()-Au?(jt&2)===0&&oi(t,0):_o|=n,ri===Ot&&(ri=0)),cn(t)}function Wp(t,e){e===0&&(e=Zf()),t=sl(t,e),t!==null&&(Ri(t,e),cn(t))}function Px(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),Wp(t,n)}function tb(t,e){var n=0;switch(t.tag){case 31:case 13:var l=t.stateNode,u=t.memoizedState;u!==null&&(n=u.retryLane);break;case 19:l=t.stateNode;break;case 22:l=t.stateNode._retryCache;break;default:throw Error(c(314))}l!==null&&l.delete(e),Wp(t,n)}function eb(t,e){return wl(t,e)}var Ru=null,fi=null,jo=!1,ku=!1,Uo=!1,In=0;function cn(t){t!==fi&&t.next===null&&(fi===null?Ru=fi=t:fi=fi.next=t),ku=!0,jo||(jo=!0,lb())}function ha(t,e){if(!Uo&&ku){Uo=!0;do for(var n=!1,l=Ru;l!==null;){if(t!==0){var u=l.pendingLanes;if(u===0)var o=0;else{var h=l.suspendedLanes,v=l.pingedLanes;o=(1<<31-Gt(42|t)+1)-1,o&=u&~(h&~v),o=o&201326741?o&201326741|1:o?o|2:0}o!==0&&(n=!0,nm(l,o))}else o=Ot,o=Ba(l,l===Qt?o:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(o&3)===0||wi(l,o)||(n=!0,nm(l,o));l=l.next}while(n);Uo=!1}}function nb(){Pp()}function Pp(){ku=jo=!1;var t=0;In!==0&&db()&&(t=In);for(var e=me(),n=null,l=Ru;l!==null;){var u=l.next,o=tm(l,e);o===0?(l.next=null,n===null?Ru=u:n.next=u,u===null&&(fi=n)):(n=l,(t!==0||(o&3)!==0)&&(ku=!0)),l=u}ae!==0&&ae!==5||ha(t),In!==0&&(In=0)}function tm(t,e){for(var n=t.suspendedLanes,l=t.pingedLanes,u=t.expirationTimes,o=t.pendingLanes&-62914561;0<o;){var h=31-Gt(o),v=1<<h,A=u[h];A===-1?((v&n)===0||(v&l)!==0)&&(u[h]=Mv(v,e)):A<=e&&(t.expiredLanes|=v),o&=~v}if(e=Qt,n=Ot,n=Ba(t,t===e?n:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l=t.callbackNode,n===0||t===e&&(Bt===2||Bt===9)||t.cancelPendingCommit!==null)return l!==null&&l!==null&&Di(l),t.callbackNode=null,t.callbackPriority=0;if((n&3)===0||wi(t,n)){if(e=n&-n,e===t.callbackPriority)return e;switch(l!==null&&Di(l),Ir(n)){case 2:case 8:n=P;break;case 32:n=yt;break;case 268435456:n=Ut;break;default:n=yt}return l=em.bind(null,t),n=wl(n,l),t.callbackPriority=e,t.callbackNode=n,e}return l!==null&&l!==null&&Di(l),t.callbackPriority=2,t.callbackNode=null,2}function em(t,e){if(ae!==0&&ae!==5)return t.callbackNode=null,t.callbackPriority=0,null;var n=t.callbackNode;if(wu()&&t.callbackNode!==n)return null;var l=Ot;return l=Ba(t,t===Qt?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l===0?null:(Up(t,l,e),tm(t,me()),t.callbackNode!=null&&t.callbackNode===n?em.bind(null,t):null)}function nm(t,e){if(wu())return null;Up(t,e,!0)}function lb(){mb(function(){(jt&6)!==0?wl(L,nb):Pp()})}function Bo(){if(In===0){var t=Il;t===0&&(t=Na,Na<<=1,(Na&261888)===0&&(Na=256)),In=t}return In}function lm(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Ya(""+t)}function im(t,e){var n=e.ownerDocument.createElement("input");return n.name=e.name,n.value=e.value,t.id&&n.setAttribute("form",t.id),e.parentNode.insertBefore(n,e),t=new FormData(t),n.parentNode.removeChild(n),t}function ib(t,e,n,l,u){if(e==="submit"&&n&&n.stateNode===u){var o=lm((u[Te]||null).action),h=l.submitter;h&&(e=(e=h[Te]||null)?lm(e.formAction):h.getAttribute("formAction"),e!==null&&(o=e,h=null));var v=new Va("action","action",null,l,u);t.push({event:v,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(In!==0){var A=h?im(u,h):new FormData(u);no(n,{pending:!0,data:A,method:u.method,action:o},null,A)}}else typeof o=="function"&&(v.preventDefault(),A=h?im(u,h):new FormData(u),no(n,{pending:!0,data:A,method:u.method,action:o},o,A))},currentTarget:u}]})}}for(var Ho=0;Ho<xc.length;Ho++){var Lo=xc[Ho],ab=Lo.toLowerCase(),ub=Lo[0].toUpperCase()+Lo.slice(1);We(ab,"on"+ub)}We(jh,"onAnimationEnd"),We(Uh,"onAnimationIteration"),We(Bh,"onAnimationStart"),We("dblclick","onDoubleClick"),We("focusin","onFocus"),We("focusout","onBlur"),We(Ex,"onTransitionRun"),We(Tx,"onTransitionStart"),We(zx,"onTransitionCancel"),We(Hh,"onTransitionEnd"),Ul("onMouseEnter",["mouseout","mouseover"]),Ul("onMouseLeave",["mouseout","mouseover"]),Ul("onPointerEnter",["pointerout","pointerover"]),Ul("onPointerLeave",["pointerout","pointerover"]),ul("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ul("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ul("onBeforeInput",["compositionend","keypress","textInput","paste"]),ul("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ul("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ul("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var da="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(" "),rb=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(da));function am(t,e){e=(e&4)!==0;for(var n=0;n<t.length;n++){var l=t[n],u=l.event;l=l.listeners;t:{var o=void 0;if(e)for(var h=l.length-1;0<=h;h--){var v=l[h],A=v.instance,w=v.currentTarget;if(v=v.listener,A!==o&&u.isPropagationStopped())break t;o=v,u.currentTarget=w;try{o(u)}catch(j){Ja(j)}u.currentTarget=null,o=A}else for(h=0;h<l.length;h++){if(v=l[h],A=v.instance,w=v.currentTarget,v=v.listener,A!==o&&u.isPropagationStopped())break t;o=v,u.currentTarget=w;try{o(u)}catch(j){Ja(j)}u.currentTarget=null,o=A}}}}function _t(t,e){var n=e[$r];n===void 0&&(n=e[$r]=new Set);var l=t+"__bubble";n.has(l)||(um(e,t,2,!1),n.add(l))}function qo(t,e,n){var l=0;e&&(l|=4),um(n,t,l,e)}var Nu="_reactListening"+Math.random().toString(36).slice(2);function Yo(t){if(!t[Nu]){t[Nu]=!0,Pf.forEach(function(n){n!=="selectionchange"&&(rb.has(n)||qo(n,!1,t),qo(n,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[Nu]||(e[Nu]=!0,qo("selectionchange",!1,e))}}function um(t,e,n,l){switch(jm(e)){case 2:var u=jb;break;case 8:u=Ub;break;default:u=ns}n=u.bind(null,e,n,t),u=void 0,!uc||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(u=!0),l?u!==void 0?t.addEventListener(e,n,{capture:!0,passive:u}):t.addEventListener(e,n,!0):u!==void 0?t.addEventListener(e,n,{passive:u}):t.addEventListener(e,n,!1)}function Xo(t,e,n,l,u){var o=l;if((e&1)===0&&(e&2)===0&&l!==null)t:for(;;){if(l===null)return;var h=l.tag;if(h===3||h===4){var v=l.stateNode.containerInfo;if(v===u)break;if(h===4)for(h=l.return;h!==null;){var A=h.tag;if((A===3||A===4)&&h.stateNode.containerInfo===u)return;h=h.return}for(;v!==null;){if(h=kl(v),h===null)return;if(A=h.tag,A===5||A===6||A===26||A===27){l=o=h;continue t}v=v.parentNode}}l=l.return}fh(function(){var w=o,j=ic(n),X=[];t:{var R=Lh.get(t);if(R!==void 0){var k=Va,it=t;switch(t){case"keypress":if(Ga(n)===0)break t;case"keydown":case"keyup":k=tx;break;case"focusin":it="focus",k=sc;break;case"focusout":it="blur",k=sc;break;case"beforeblur":case"afterblur":k=sc;break;case"click":if(n.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":k=ph;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":k=Xv;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":k=lx;break;case jh:case Uh:case Bh:k=Vv;break;case Hh:k=ax;break;case"scroll":case"scrollend":k=qv;break;case"wheel":k=rx;break;case"copy":case"cut":case"paste":k=Kv;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":k=yh;break;case"toggle":case"beforetoggle":k=ox}var mt=(e&4)!==0,Yt=!mt&&(t==="scroll"||t==="scrollend"),O=mt?R!==null?R+"Capture":null:R;mt=[];for(var _=w,D;_!==null;){var q=_;if(D=q.stateNode,q=q.tag,q!==5&&q!==26&&q!==27||D===null||O===null||(q=ji(_,O),q!=null&&mt.push(pa(_,q,D))),Yt)break;_=_.return}0<mt.length&&(R=new k(R,it,null,n,j),X.push({event:R,listeners:mt}))}}if((e&7)===0){t:{if(R=t==="mouseover"||t==="pointerover",k=t==="mouseout"||t==="pointerout",R&&n!==lc&&(it=n.relatedTarget||n.fromElement)&&(kl(it)||it[Rl]))break t;if((k||R)&&(R=j.window===j?j:(R=j.ownerDocument)?R.defaultView||R.parentWindow:window,k?(it=n.relatedTarget||n.toElement,k=w,it=it?kl(it):null,it!==null&&(Yt=f(it),mt=it.tag,it!==Yt||mt!==5&&mt!==27&&mt!==6)&&(it=null)):(k=null,it=w),k!==it)){if(mt=ph,q="onMouseLeave",O="onMouseEnter",_="mouse",(t==="pointerout"||t==="pointerover")&&(mt=yh,q="onPointerLeave",O="onPointerEnter",_="pointer"),Yt=k==null?R:Ni(k),D=it==null?R:Ni(it),R=new mt(q,_+"leave",k,n,j),R.target=Yt,R.relatedTarget=D,q=null,kl(j)===w&&(mt=new mt(O,_+"enter",it,n,j),mt.target=D,mt.relatedTarget=Yt,q=mt),Yt=q,k&&it)e:{for(mt=cb,O=k,_=it,D=0,q=O;q;q=mt(q))D++;q=0;for(var ht=_;ht;ht=mt(ht))q++;for(;0<D-q;)O=mt(O),D--;for(;0<q-D;)_=mt(_),q--;for(;D--;){if(O===_||_!==null&&O===_.alternate){mt=O;break e}O=mt(O),_=mt(_)}mt=null}else mt=null;k!==null&&rm(X,R,k,mt,!1),it!==null&&Yt!==null&&rm(X,Yt,it,mt,!0)}}t:{if(R=w?Ni(w):window,k=R.nodeName&&R.nodeName.toLowerCase(),k==="select"||k==="input"&&R.type==="file")var Rt=zh;else if(Eh(R))if(Ah)Rt=xx;else{Rt=gx;var ct=yx}else k=R.nodeName,!k||k.toLowerCase()!=="input"||R.type!=="checkbox"&&R.type!=="radio"?w&&nc(w.elementType)&&(Rt=zh):Rt=vx;if(Rt&&(Rt=Rt(t,w))){Th(X,Rt,n,j);break t}ct&&ct(t,R,w),t==="focusout"&&w&&R.type==="number"&&w.memoizedProps.value!=null&&ec(R,"number",R.value)}switch(ct=w?Ni(w):window,t){case"focusin":(Eh(ct)||ct.contentEditable==="true")&&(Xl=ct,yc=w,Gi=null);break;case"focusout":Gi=yc=Xl=null;break;case"mousedown":gc=!0;break;case"contextmenu":case"mouseup":case"dragend":gc=!1,kh(X,n,j);break;case"selectionchange":if(Sx)break;case"keydown":case"keyup":kh(X,n,j)}var zt;if(hc)t:{switch(t){case"compositionstart":var Mt="onCompositionStart";break t;case"compositionend":Mt="onCompositionEnd";break t;case"compositionupdate":Mt="onCompositionUpdate";break t}Mt=void 0}else Yl?bh(t,n)&&(Mt="onCompositionEnd"):t==="keydown"&&n.keyCode===229&&(Mt="onCompositionStart");Mt&&(gh&&n.locale!=="ko"&&(Yl||Mt!=="onCompositionStart"?Mt==="onCompositionEnd"&&Yl&&(zt=hh()):(Nn=j,rc="value"in Nn?Nn.value:Nn.textContent,Yl=!0)),ct=ju(w,Mt),0<ct.length&&(Mt=new mh(Mt,t,null,n,j),X.push({event:Mt,listeners:ct}),zt?Mt.data=zt:(zt=Sh(n),zt!==null&&(Mt.data=zt)))),(zt=fx?hx(t,n):dx(t,n))&&(Mt=ju(w,"onBeforeInput"),0<Mt.length&&(ct=new mh("onBeforeInput","beforeinput",null,n,j),X.push({event:ct,listeners:Mt}),ct.data=zt)),ib(X,t,w,n,j)}am(X,e)})}function pa(t,e,n){return{instance:t,listener:e,currentTarget:n}}function ju(t,e){for(var n=e+"Capture",l=[];t!==null;){var u=t,o=u.stateNode;if(u=u.tag,u!==5&&u!==26&&u!==27||o===null||(u=ji(t,n),u!=null&&l.unshift(pa(t,u,o)),u=ji(t,e),u!=null&&l.push(pa(t,u,o))),t.tag===3)return l;t=t.return}return[]}function cb(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function rm(t,e,n,l,u){for(var o=e._reactName,h=[];n!==null&&n!==l;){var v=n,A=v.alternate,w=v.stateNode;if(v=v.tag,A!==null&&A===l)break;v!==5&&v!==26&&v!==27||w===null||(A=w,u?(w=ji(n,o),w!=null&&h.unshift(pa(n,w,A))):u||(w=ji(n,o),w!=null&&h.push(pa(n,w,A)))),n=n.return}h.length!==0&&t.push({event:e,listeners:h})}var ob=/\r\n?/g,sb=/\u0000|\uFFFD/g;function cm(t){return(typeof t=="string"?t:""+t).replace(ob,`
|
|
9
|
+
`).replace(sb,"")}function om(t,e){return e=cm(e),cm(t)===e}function qt(t,e,n,l,u,o){switch(n){case"children":typeof l=="string"?e==="body"||e==="textarea"&&l===""||Hl(t,l):(typeof l=="number"||typeof l=="bigint")&&e!=="body"&&Hl(t,""+l);break;case"className":La(t,"class",l);break;case"tabIndex":La(t,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":La(t,n,l);break;case"style":oh(t,l,o);break;case"data":if(e!=="object"){La(t,"data",l);break}case"src":case"href":if(l===""&&(e!=="a"||n!=="href")){t.removeAttribute(n);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(n);break}l=Ya(""+l),t.setAttribute(n,l);break;case"action":case"formAction":if(typeof l=="function"){t.setAttribute(n,"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 o=="function"&&(n==="formAction"?(e!=="input"&&qt(t,e,"name",u.name,u,null),qt(t,e,"formEncType",u.formEncType,u,null),qt(t,e,"formMethod",u.formMethod,u,null),qt(t,e,"formTarget",u.formTarget,u,null)):(qt(t,e,"encType",u.encType,u,null),qt(t,e,"method",u.method,u,null),qt(t,e,"target",u.target,u,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(n);break}l=Ya(""+l),t.setAttribute(n,l);break;case"onClick":l!=null&&(t.onclick=dn);break;case"onScroll":l!=null&&_t("scroll",t);break;case"onScrollEnd":l!=null&&_t("scrollend",t);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(c(61));if(n=l.__html,n!=null){if(u.children!=null)throw Error(c(60));t.innerHTML=n}}break;case"multiple":t.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":t.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){t.removeAttribute("xlink:href");break}n=Ya(""+l),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(n,""+l):t.removeAttribute(n);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":l&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(n,""):t.removeAttribute(n);break;case"capture":case"download":l===!0?t.setAttribute(n,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(n,l):t.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?t.setAttribute(n,l):t.removeAttribute(n);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?t.removeAttribute(n):t.setAttribute(n,l);break;case"popover":_t("beforetoggle",t),_t("toggle",t),Ha(t,"popover",l);break;case"xlinkActuate":hn(t,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":hn(t,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":hn(t,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":hn(t,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":hn(t,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":hn(t,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":hn(t,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":hn(t,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":hn(t,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":Ha(t,"is",l);break;case"innerText":case"textContent":break;default:(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(n=Hv.get(n)||n,Ha(t,n,l))}}function Go(t,e,n,l,u,o){switch(n){case"style":oh(t,l,o);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(c(61));if(n=l.__html,n!=null){if(u.children!=null)throw Error(c(60));t.innerHTML=n}}break;case"children":typeof l=="string"?Hl(t,l):(typeof l=="number"||typeof l=="bigint")&&Hl(t,""+l);break;case"onScroll":l!=null&&_t("scroll",t);break;case"onScrollEnd":l!=null&&_t("scrollend",t);break;case"onClick":l!=null&&(t.onclick=dn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!th.hasOwnProperty(n))t:{if(n[0]==="o"&&n[1]==="n"&&(u=n.endsWith("Capture"),e=n.slice(2,u?n.length-7:void 0),o=t[Te]||null,o=o!=null?o[n]:null,typeof o=="function"&&t.removeEventListener(e,o,u),typeof l=="function")){typeof o!="function"&&o!==null&&(n in t?t[n]=null:t.hasAttribute(n)&&t.removeAttribute(n)),t.addEventListener(e,l,u);break t}n in t?t[n]=l:l===!0?t.setAttribute(n,""):Ha(t,n,l)}}}function he(t,e,n){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":_t("error",t),_t("load",t);var l=!1,u=!1,o;for(o in n)if(n.hasOwnProperty(o)){var h=n[o];if(h!=null)switch(o){case"src":l=!0;break;case"srcSet":u=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(c(137,e));default:qt(t,e,o,h,n,null)}}u&&qt(t,e,"srcSet",n.srcSet,n,null),l&&qt(t,e,"src",n.src,n,null);return;case"input":_t("invalid",t);var v=o=h=u=null,A=null,w=null;for(l in n)if(n.hasOwnProperty(l)){var j=n[l];if(j!=null)switch(l){case"name":u=j;break;case"type":h=j;break;case"checked":A=j;break;case"defaultChecked":w=j;break;case"value":o=j;break;case"defaultValue":v=j;break;case"children":case"dangerouslySetInnerHTML":if(j!=null)throw Error(c(137,e));break;default:qt(t,e,l,j,n,null)}}ah(t,o,v,A,w,h,u,!1);return;case"select":_t("invalid",t),l=h=o=null;for(u in n)if(n.hasOwnProperty(u)&&(v=n[u],v!=null))switch(u){case"value":o=v;break;case"defaultValue":h=v;break;case"multiple":l=v;default:qt(t,e,u,v,n,null)}e=o,n=h,t.multiple=!!l,e!=null?Bl(t,!!l,e,!1):n!=null&&Bl(t,!!l,n,!0);return;case"textarea":_t("invalid",t),o=u=l=null;for(h in n)if(n.hasOwnProperty(h)&&(v=n[h],v!=null))switch(h){case"value":l=v;break;case"defaultValue":u=v;break;case"children":o=v;break;case"dangerouslySetInnerHTML":if(v!=null)throw Error(c(91));break;default:qt(t,e,h,v,n,null)}rh(t,l,u,o);return;case"option":for(A in n)n.hasOwnProperty(A)&&(l=n[A],l!=null)&&(A==="selected"?t.selected=l&&typeof l!="function"&&typeof l!="symbol":qt(t,e,A,l,n,null));return;case"dialog":_t("beforetoggle",t),_t("toggle",t),_t("cancel",t),_t("close",t);break;case"iframe":case"object":_t("load",t);break;case"video":case"audio":for(l=0;l<da.length;l++)_t(da[l],t);break;case"image":_t("error",t),_t("load",t);break;case"details":_t("toggle",t);break;case"embed":case"source":case"link":_t("error",t),_t("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(w in n)if(n.hasOwnProperty(w)&&(l=n[w],l!=null))switch(w){case"children":case"dangerouslySetInnerHTML":throw Error(c(137,e));default:qt(t,e,w,l,n,null)}return;default:if(nc(e)){for(j in n)n.hasOwnProperty(j)&&(l=n[j],l!==void 0&&Go(t,e,j,l,n,void 0));return}}for(v in n)n.hasOwnProperty(v)&&(l=n[v],l!=null&&qt(t,e,v,l,n,null))}function fb(t,e,n,l){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var u=null,o=null,h=null,v=null,A=null,w=null,j=null;for(k in n){var X=n[k];if(n.hasOwnProperty(k)&&X!=null)switch(k){case"checked":break;case"value":break;case"defaultValue":A=X;default:l.hasOwnProperty(k)||qt(t,e,k,null,l,X)}}for(var R in l){var k=l[R];if(X=n[R],l.hasOwnProperty(R)&&(k!=null||X!=null))switch(R){case"type":o=k;break;case"name":u=k;break;case"checked":w=k;break;case"defaultChecked":j=k;break;case"value":h=k;break;case"defaultValue":v=k;break;case"children":case"dangerouslySetInnerHTML":if(k!=null)throw Error(c(137,e));break;default:k!==X&&qt(t,e,R,k,l,X)}}tc(t,h,v,A,w,j,o,u);return;case"select":k=h=v=R=null;for(o in n)if(A=n[o],n.hasOwnProperty(o)&&A!=null)switch(o){case"value":break;case"multiple":k=A;default:l.hasOwnProperty(o)||qt(t,e,o,null,l,A)}for(u in l)if(o=l[u],A=n[u],l.hasOwnProperty(u)&&(o!=null||A!=null))switch(u){case"value":R=o;break;case"defaultValue":v=o;break;case"multiple":h=o;default:o!==A&&qt(t,e,u,o,l,A)}e=v,n=h,l=k,R!=null?Bl(t,!!n,R,!1):!!l!=!!n&&(e!=null?Bl(t,!!n,e,!0):Bl(t,!!n,n?[]:"",!1));return;case"textarea":k=R=null;for(v in n)if(u=n[v],n.hasOwnProperty(v)&&u!=null&&!l.hasOwnProperty(v))switch(v){case"value":break;case"children":break;default:qt(t,e,v,null,l,u)}for(h in l)if(u=l[h],o=n[h],l.hasOwnProperty(h)&&(u!=null||o!=null))switch(h){case"value":R=u;break;case"defaultValue":k=u;break;case"children":break;case"dangerouslySetInnerHTML":if(u!=null)throw Error(c(91));break;default:u!==o&&qt(t,e,h,u,l,o)}uh(t,R,k);return;case"option":for(var it in n)R=n[it],n.hasOwnProperty(it)&&R!=null&&!l.hasOwnProperty(it)&&(it==="selected"?t.selected=!1:qt(t,e,it,null,l,R));for(A in l)R=l[A],k=n[A],l.hasOwnProperty(A)&&R!==k&&(R!=null||k!=null)&&(A==="selected"?t.selected=R&&typeof R!="function"&&typeof R!="symbol":qt(t,e,A,R,l,k));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 mt in n)R=n[mt],n.hasOwnProperty(mt)&&R!=null&&!l.hasOwnProperty(mt)&&qt(t,e,mt,null,l,R);for(w in l)if(R=l[w],k=n[w],l.hasOwnProperty(w)&&R!==k&&(R!=null||k!=null))switch(w){case"children":case"dangerouslySetInnerHTML":if(R!=null)throw Error(c(137,e));break;default:qt(t,e,w,R,l,k)}return;default:if(nc(e)){for(var Yt in n)R=n[Yt],n.hasOwnProperty(Yt)&&R!==void 0&&!l.hasOwnProperty(Yt)&&Go(t,e,Yt,void 0,l,R);for(j in l)R=l[j],k=n[j],!l.hasOwnProperty(j)||R===k||R===void 0&&k===void 0||Go(t,e,j,R,l,k);return}}for(var O in n)R=n[O],n.hasOwnProperty(O)&&R!=null&&!l.hasOwnProperty(O)&&qt(t,e,O,null,l,R);for(X in l)R=l[X],k=n[X],!l.hasOwnProperty(X)||R===k||R==null&&k==null||qt(t,e,X,R,l,k)}function sm(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function hb(){if(typeof performance.getEntriesByType=="function"){for(var t=0,e=0,n=performance.getEntriesByType("resource"),l=0;l<n.length;l++){var u=n[l],o=u.transferSize,h=u.initiatorType,v=u.duration;if(o&&v&&sm(h)){for(h=0,v=u.responseEnd,l+=1;l<n.length;l++){var A=n[l],w=A.startTime;if(w>v)break;var j=A.transferSize,X=A.initiatorType;j&&sm(X)&&(A=A.responseEnd,h+=j*(A<v?1:(v-w)/(A-w)))}if(--l,e+=8*(o+h)/(u.duration/1e3),t++,10<t)break}}if(0<t)return e/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var Qo=null,Vo=null;function Uu(t){return t.nodeType===9?t:t.ownerDocument}function fm(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function hm(t,e){if(t===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&e==="foreignObject"?0:t}function Zo(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var Ko=null;function db(){var t=window.event;return t&&t.type==="popstate"?t===Ko?!1:(Ko=t,!0):(Ko=null,!1)}var dm=typeof setTimeout=="function"?setTimeout:void 0,pb=typeof clearTimeout=="function"?clearTimeout:void 0,pm=typeof Promise=="function"?Promise:void 0,mb=typeof queueMicrotask=="function"?queueMicrotask:typeof pm<"u"?function(t){return pm.resolve(null).then(t).catch(yb)}:dm;function yb(t){setTimeout(function(){throw t})}function $n(t){return t==="head"}function mm(t,e){var n=e,l=0;do{var u=n.nextSibling;if(t.removeChild(n),u&&u.nodeType===8)if(n=u.data,n==="/$"||n==="/&"){if(l===0){t.removeChild(u),mi(e);return}l--}else if(n==="$"||n==="$?"||n==="$~"||n==="$!"||n==="&")l++;else if(n==="html")ma(t.ownerDocument.documentElement);else if(n==="head"){n=t.ownerDocument.head,ma(n);for(var o=n.firstChild;o;){var h=o.nextSibling,v=o.nodeName;o[ki]||v==="SCRIPT"||v==="STYLE"||v==="LINK"&&o.rel.toLowerCase()==="stylesheet"||n.removeChild(o),o=h}}else n==="body"&&ma(t.ownerDocument.body);n=u}while(n);mi(e)}function ym(t,e){var n=t;t=0;do{var l=n.nextSibling;if(n.nodeType===1?e?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(e?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),l&&l.nodeType===8)if(n=l.data,n==="/$"){if(t===0)break;t--}else n!=="$"&&n!=="$?"&&n!=="$~"&&n!=="$!"||t++;n=l}while(n)}function Jo(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var n=e;switch(e=e.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":Jo(n),Wr(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}t.removeChild(n)}}function gb(t,e,n,l){for(;t.nodeType===1;){var u=n;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!l&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(l){if(!t[ki])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(o=t.getAttribute("rel"),o==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(o!==u.rel||t.getAttribute("href")!==(u.href==null||u.href===""?null:u.href)||t.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin)||t.getAttribute("title")!==(u.title==null?null:u.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(o=t.getAttribute("src"),(o!==(u.src==null?null:u.src)||t.getAttribute("type")!==(u.type==null?null:u.type)||t.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin))&&o&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var o=u.name==null?null:""+u.name;if(u.type==="hidden"&&t.getAttribute("name")===o)return t}else return t;if(t=Fe(t.nextSibling),t===null)break}return null}function vb(t,e,n){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!n||(t=Fe(t.nextSibling),t===null))return null;return t}function gm(t,e){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=Fe(t.nextSibling),t===null))return null;return t}function Fo(t){return t.data==="$?"||t.data==="$~"}function Io(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function xb(t,e){var n=t.ownerDocument;if(t.data==="$~")t._reactRetry=e;else if(t.data!=="$?"||n.readyState!=="loading")e();else{var l=function(){e(),n.removeEventListener("DOMContentLoaded",l)};n.addEventListener("DOMContentLoaded",l),t._reactRetry=l}}function Fe(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"||e==="F!"||e==="F")break;if(e==="/$"||e==="/&")return null}}return t}var $o=null;function vm(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="/$"||n==="/&"){if(e===0)return Fe(t.nextSibling);e--}else n!=="$"&&n!=="$!"&&n!=="$?"&&n!=="$~"&&n!=="&"||e++}t=t.nextSibling}return null}function xm(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"){if(e===0)return t;e--}else n!=="/$"&&n!=="/&"||e++}t=t.previousSibling}return null}function bm(t,e,n){switch(e=Uu(n),t){case"html":if(t=e.documentElement,!t)throw Error(c(452));return t;case"head":if(t=e.head,!t)throw Error(c(453));return t;case"body":if(t=e.body,!t)throw Error(c(454));return t;default:throw Error(c(451))}}function ma(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);Wr(t)}var Ie=new Map,Sm=new Set;function Bu(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var Mn=Z.d;Z.d={f:bb,r:Sb,D:Eb,C:Tb,L:zb,m:Ab,X:_b,S:Cb,M:Ob};function bb(){var t=Mn.f(),e=Ou();return t||e}function Sb(t){var e=Nl(t);e!==null&&e.tag===5&&e.type==="form"?Hd(e):Mn.r(t)}var hi=typeof document>"u"?null:document;function Em(t,e,n){var l=hi;if(l&&typeof e=="string"&&e){var u=Xe(e);u='link[rel="'+t+'"][href="'+u+'"]',typeof n=="string"&&(u+='[crossorigin="'+n+'"]'),Sm.has(u)||(Sm.add(u),t={rel:t,crossOrigin:n,href:e},l.querySelector(u)===null&&(e=l.createElement("link"),he(e,"link",t),ue(e),l.head.appendChild(e)))}}function Eb(t){Mn.D(t),Em("dns-prefetch",t,null)}function Tb(t,e){Mn.C(t,e),Em("preconnect",t,e)}function zb(t,e,n){Mn.L(t,e,n);var l=hi;if(l&&t&&e){var u='link[rel="preload"][as="'+Xe(e)+'"]';e==="image"&&n&&n.imageSrcSet?(u+='[imagesrcset="'+Xe(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(u+='[imagesizes="'+Xe(n.imageSizes)+'"]')):u+='[href="'+Xe(t)+'"]';var o=u;switch(e){case"style":o=di(t);break;case"script":o=pi(t)}Ie.has(o)||(t=S({rel:"preload",href:e==="image"&&n&&n.imageSrcSet?void 0:t,as:e},n),Ie.set(o,t),l.querySelector(u)!==null||e==="style"&&l.querySelector(ya(o))||e==="script"&&l.querySelector(ga(o))||(e=l.createElement("link"),he(e,"link",t),ue(e),l.head.appendChild(e)))}}function Ab(t,e){Mn.m(t,e);var n=hi;if(n&&t){var l=e&&typeof e.as=="string"?e.as:"script",u='link[rel="modulepreload"][as="'+Xe(l)+'"][href="'+Xe(t)+'"]',o=u;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":o=pi(t)}if(!Ie.has(o)&&(t=S({rel:"modulepreload",href:t},e),Ie.set(o,t),n.querySelector(u)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(ga(o)))return}l=n.createElement("link"),he(l,"link",t),ue(l),n.head.appendChild(l)}}}function Cb(t,e,n){Mn.S(t,e,n);var l=hi;if(l&&t){var u=jl(l).hoistableStyles,o=di(t);e=e||"default";var h=u.get(o);if(!h){var v={loading:0,preload:null};if(h=l.querySelector(ya(o)))v.loading=5;else{t=S({rel:"stylesheet",href:t,"data-precedence":e},n),(n=Ie.get(o))&&Wo(t,n);var A=h=l.createElement("link");ue(A),he(A,"link",t),A._p=new Promise(function(w,j){A.onload=w,A.onerror=j}),A.addEventListener("load",function(){v.loading|=1}),A.addEventListener("error",function(){v.loading|=2}),v.loading|=4,Hu(h,e,l)}h={type:"stylesheet",instance:h,count:1,state:v},u.set(o,h)}}}function _b(t,e){Mn.X(t,e);var n=hi;if(n&&t){var l=jl(n).hoistableScripts,u=pi(t),o=l.get(u);o||(o=n.querySelector(ga(u)),o||(t=S({src:t,async:!0},e),(e=Ie.get(u))&&Po(t,e),o=n.createElement("script"),ue(o),he(o,"link",t),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},l.set(u,o))}}function Ob(t,e){Mn.M(t,e);var n=hi;if(n&&t){var l=jl(n).hoistableScripts,u=pi(t),o=l.get(u);o||(o=n.querySelector(ga(u)),o||(t=S({src:t,async:!0,type:"module"},e),(e=Ie.get(u))&&Po(t,e),o=n.createElement("script"),ue(o),he(o,"link",t),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},l.set(u,o))}}function Tm(t,e,n,l){var u=(u=$.current)?Bu(u):null;if(!u)throw Error(c(446));switch(t){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(e=di(n.href),n=jl(u).hoistableStyles,l=n.get(e),l||(l={type:"style",instance:null,count:0,state:null},n.set(e,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){t=di(n.href);var o=jl(u).hoistableStyles,h=o.get(t);if(h||(u=u.ownerDocument||u,h={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},o.set(t,h),(o=u.querySelector(ya(t)))&&!o._p&&(h.instance=o,h.state.loading=5),Ie.has(t)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Ie.set(t,n),o||Mb(u,t,n,h.state))),e&&l===null)throw Error(c(528,""));return h}if(e&&l!==null)throw Error(c(529,""));return null;case"script":return e=n.async,n=n.src,typeof n=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=pi(n),n=jl(u).hoistableScripts,l=n.get(e),l||(l={type:"script",instance:null,count:0,state:null},n.set(e,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(c(444,t))}}function di(t){return'href="'+Xe(t)+'"'}function ya(t){return'link[rel="stylesheet"]['+t+"]"}function zm(t){return S({},t,{"data-precedence":t.precedence,precedence:null})}function Mb(t,e,n,l){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?l.loading=1:(e=t.createElement("link"),l.preload=e,e.addEventListener("load",function(){return l.loading|=1}),e.addEventListener("error",function(){return l.loading|=2}),he(e,"link",n),ue(e),t.head.appendChild(e))}function pi(t){return'[src="'+Xe(t)+'"]'}function ga(t){return"script[async]"+t}function Am(t,e,n){if(e.count++,e.instance===null)switch(e.type){case"style":var l=t.querySelector('style[data-href~="'+Xe(n.href)+'"]');if(l)return e.instance=l,ue(l),l;var u=S({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return l=(t.ownerDocument||t).createElement("style"),ue(l),he(l,"style",u),Hu(l,n.precedence,t),e.instance=l;case"stylesheet":u=di(n.href);var o=t.querySelector(ya(u));if(o)return e.state.loading|=4,e.instance=o,ue(o),o;l=zm(n),(u=Ie.get(u))&&Wo(l,u),o=(t.ownerDocument||t).createElement("link"),ue(o);var h=o;return h._p=new Promise(function(v,A){h.onload=v,h.onerror=A}),he(o,"link",l),e.state.loading|=4,Hu(o,n.precedence,t),e.instance=o;case"script":return o=pi(n.src),(u=t.querySelector(ga(o)))?(e.instance=u,ue(u),u):(l=n,(u=Ie.get(o))&&(l=S({},n),Po(l,u)),t=t.ownerDocument||t,u=t.createElement("script"),ue(u),he(u,"link",l),t.head.appendChild(u),e.instance=u);case"void":return null;default:throw Error(c(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(l=e.instance,e.state.loading|=4,Hu(l,n.precedence,t));return e.instance}function Hu(t,e,n){for(var l=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),u=l.length?l[l.length-1]:null,o=u,h=0;h<l.length;h++){var v=l[h];if(v.dataset.precedence===e)o=v;else if(o!==u)break}o?o.parentNode.insertBefore(t,o.nextSibling):(e=n.nodeType===9?n.head:n,e.insertBefore(t,e.firstChild))}function Wo(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function Po(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var Lu=null;function Cm(t,e,n){if(Lu===null){var l=new Map,u=Lu=new Map;u.set(n,l)}else u=Lu,l=u.get(n),l||(l=new Map,u.set(n,l));if(l.has(t))return l;for(l.set(t,null),n=n.getElementsByTagName(t),u=0;u<n.length;u++){var o=n[u];if(!(o[ki]||o[ce]||t==="link"&&o.getAttribute("rel")==="stylesheet")&&o.namespaceURI!=="http://www.w3.org/2000/svg"){var h=o.getAttribute(e)||"";h=t+h;var v=l.get(h);v?v.push(o):l.set(h,[o])}}return l}function _m(t,e,n){t=t.ownerDocument||t,t.head.insertBefore(n,e==="title"?t.querySelector("head > title"):null)}function Db(t,e,n){if(n===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;return e.rel==="stylesheet"?(t=e.disabled,typeof e.precedence=="string"&&t==null):!0;case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function Om(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function wb(t,e,n,l){if(n.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var u=di(l.href),o=e.querySelector(ya(u));if(o){e=o._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=qu.bind(t),e.then(t,t)),n.state.loading|=4,n.instance=o,ue(o);return}o=e.ownerDocument||e,l=zm(l),(u=Ie.get(u))&&Wo(l,u),o=o.createElement("link"),ue(o);var h=o;h._p=new Promise(function(v,A){h.onload=v,h.onerror=A}),he(o,"link",l),n.instance=o}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(n,e),(e=n.state.preload)&&(n.state.loading&3)===0&&(t.count++,n=qu.bind(t),e.addEventListener("load",n),e.addEventListener("error",n))}}var ts=0;function Rb(t,e){return t.stylesheets&&t.count===0&&Xu(t,t.stylesheets),0<t.count||0<t.imgCount?function(n){var l=setTimeout(function(){if(t.stylesheets&&Xu(t,t.stylesheets),t.unsuspend){var o=t.unsuspend;t.unsuspend=null,o()}},6e4+e);0<t.imgBytes&&ts===0&&(ts=62500*hb());var u=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&Xu(t,t.stylesheets),t.unsuspend)){var o=t.unsuspend;t.unsuspend=null,o()}},(t.imgBytes>ts?50:800)+e);return t.unsuspend=n,function(){t.unsuspend=null,clearTimeout(l),clearTimeout(u)}}:null}function qu(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Xu(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var Yu=null;function Xu(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Yu=new Map,e.forEach(kb,t),Yu=null,qu.call(t))}function kb(t,e){if(!(e.state.loading&4)){var n=Yu.get(t);if(n)var l=n.get(null);else{n=new Map,Yu.set(t,n);for(var u=t.querySelectorAll("link[data-precedence],style[data-precedence]"),o=0;o<u.length;o++){var h=u[o];(h.nodeName==="LINK"||h.getAttribute("media")!=="not all")&&(n.set(h.dataset.precedence,h),l=h)}l&&n.set(null,l)}u=e.instance,h=u.getAttribute("data-precedence"),o=n.get(h)||l,o===l&&n.set(null,u),n.set(h,u),this.count++,l=qu.bind(this),u.addEventListener("load",l),u.addEventListener("error",l),o?o.parentNode.insertBefore(u,o.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(u,t.firstChild)),e.state.loading|=4}}var va={$$typeof:V,Provider:null,Consumer:null,_currentValue:at,_currentValue2:at,_threadCount:0};function Nb(t,e,n,l,u,o,h,v,A){this.tag=1,this.containerInfo=t,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=Jr(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Jr(0),this.hiddenUpdates=Jr(null),this.identifierPrefix=l,this.onUncaughtError=u,this.onCaughtError=o,this.onRecoverableError=h,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=A,this.incompleteTransitions=new Map}function Mm(t,e,n,l,u,o,h,v,A,w,j,X){return t=new Nb(t,e,n,h,A,w,j,X,v),e=1,o===!0&&(e|=24),o=Ne(3,null,null,e),t.current=o,o.stateNode=t,e=Rc(),e.refCount++,t.pooledCache=e,e.refCount++,o.memoizedState={element:l,isDehydrated:n,cache:e},Uc(o),t}function Dm(t){return t?(t=Vl,t):Vl}function wm(t,e,n,l,u,o){u=Dm(u),l.context===null?l.context=u:l.pendingContext=u,l=qn(e),l.payload={element:n},o=o===void 0?null:o,o!==null&&(l.callback=o),n=Yn(t,l,e),n!==null&&(Me(n,t,e),Ii(n,t,e))}function Rm(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var n=t.retryLane;t.retryLane=n!==0&&n<e?n:e}}function es(t,e){Rm(t,e),(t=t.alternate)&&Rm(t,e)}function km(t){if(t.tag===13||t.tag===31){var e=sl(t,67108864);e!==null&&Me(e,t,67108864),es(t,67108864)}}function Nm(t){if(t.tag===13||t.tag===31){var e=Le();e=Fr(e);var n=sl(t,e);n!==null&&Me(n,t,e),es(t,e)}}var Gu=!0;function jb(t,e,n,l){var u=M.T;M.T=null;var o=Z.p;try{Z.p=2,ns(t,e,n,l)}finally{Z.p=o,M.T=u}}function Ub(t,e,n,l){var u=M.T;M.T=null;var o=Z.p;try{Z.p=8,ns(t,e,n,l)}finally{Z.p=o,M.T=u}}function ns(t,e,n,l){if(Gu){var u=ls(l);if(u===null)Xo(t,e,l,Qu,n),Um(t,l);else if(Hb(u,t,e,n,l))l.stopPropagation();else if(Um(t,l),e&4&&-1<Bb.indexOf(t)){for(;u!==null;){var o=Nl(u);if(o!==null)switch(o.tag){case 3:if(o=o.stateNode,o.current.memoizedState.isDehydrated){var h=al(o.pendingLanes);if(h!==0){var v=o;for(v.pendingLanes|=2,v.entangledLanes|=2;h;){var A=1<<31-Gt(h);v.entanglements[1]|=A,h&=~A}cn(o),(jt&6)===0&&(Cu=me()+500,ha(0))}}break;case 31:case 13:v=sl(o,2),v!==null&&Me(v,o,2),Ou(),es(o,2)}if(o=ls(l),o===null&&Xo(t,e,l,Qu,n),o===u)break;u=o}u!==null&&l.stopPropagation()}else Xo(t,e,l,null,n)}}function ls(t){return t=ic(t),is(t)}var Qu=null;function is(t){if(Qu=null,t=kl(t),t!==null){var e=f(t);if(e===null)t=null;else{var n=e.tag;if(n===13){if(t=d(e),t!==null)return t;t=null}else if(n===31){if(t=m(e),t!==null)return t;t=null}else if(n===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return Qu=t,null}function jm(t){switch(t){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(Kr()){case L:return 2;case P:return 8;case yt:case At:return 32;case Ut:return 268435456;default:return 32}default:return 32}}var as=!1,Wn=null,Pn=null,tl=null,xa=new Map,ba=new Map,el=[],Bb="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 Um(t,e){switch(t){case"focusin":case"focusout":Wn=null;break;case"dragenter":case"dragleave":Pn=null;break;case"mouseover":case"mouseout":tl=null;break;case"pointerover":case"pointerout":xa.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":ba.delete(e.pointerId)}}function Sa(t,e,n,l,u,o){return t===null||t.nativeEvent!==o?(t={blockedOn:e,domEventName:n,eventSystemFlags:l,nativeEvent:o,targetContainers:[u]},e!==null&&(e=Nl(e),e!==null&&km(e)),t):(t.eventSystemFlags|=l,e=t.targetContainers,u!==null&&e.indexOf(u)===-1&&e.push(u),t)}function Hb(t,e,n,l,u){switch(e){case"focusin":return Wn=Sa(Wn,t,e,n,l,u),!0;case"dragenter":return Pn=Sa(Pn,t,e,n,l,u),!0;case"mouseover":return tl=Sa(tl,t,e,n,l,u),!0;case"pointerover":var o=u.pointerId;return xa.set(o,Sa(xa.get(o)||null,t,e,n,l,u)),!0;case"gotpointercapture":return o=u.pointerId,ba.set(o,Sa(ba.get(o)||null,t,e,n,l,u)),!0}return!1}function Bm(t){var e=kl(t.target);if(e!==null){var n=f(e);if(n!==null){if(e=n.tag,e===13){if(e=d(n),e!==null){t.blockedOn=e,$f(t.priority,function(){Nm(n)});return}}else if(e===31){if(e=m(n),e!==null){t.blockedOn=e,$f(t.priority,function(){Nm(n)});return}}else if(e===3&&n.stateNode.current.memoizedState.isDehydrated){t.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Vu(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var n=ls(t.nativeEvent);if(n===null){n=t.nativeEvent;var l=new n.constructor(n.type,n);lc=l,n.target.dispatchEvent(l),lc=null}else return e=Nl(n),e!==null&&km(e),t.blockedOn=n,!1;e.shift()}return!0}function Hm(t,e,n){Vu(t)&&n.delete(e)}function Lb(){as=!1,Wn!==null&&Vu(Wn)&&(Wn=null),Pn!==null&&Vu(Pn)&&(Pn=null),tl!==null&&Vu(tl)&&(tl=null),xa.forEach(Hm),ba.forEach(Hm)}function Zu(t,e){t.blockedOn===e&&(t.blockedOn=null,as||(as=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Lb)))}var Ku=null;function Lm(t){Ku!==t&&(Ku=t,i.unstable_scheduleCallback(i.unstable_NormalPriority,function(){Ku===t&&(Ku=null);for(var e=0;e<t.length;e+=3){var n=t[e],l=t[e+1],u=t[e+2];if(typeof l!="function"){if(is(l||n)===null)continue;break}var o=Nl(n);o!==null&&(t.splice(e,3),e-=3,no(o,{pending:!0,data:u,method:n.method,action:l},l,u))}}))}function mi(t){function e(A){return Zu(A,t)}Wn!==null&&Zu(Wn,t),Pn!==null&&Zu(Pn,t),tl!==null&&Zu(tl,t),xa.forEach(e),ba.forEach(e);for(var n=0;n<el.length;n++){var l=el[n];l.blockedOn===t&&(l.blockedOn=null)}for(;0<el.length&&(n=el[0],n.blockedOn===null);)Bm(n),n.blockedOn===null&&el.shift();if(n=(t.ownerDocument||t).$$reactFormReplay,n!=null)for(l=0;l<n.length;l+=3){var u=n[l],o=n[l+1],h=u[Te]||null;if(typeof o=="function")h||Lm(n);else if(h){var v=null;if(o&&o.hasAttribute("formAction")){if(u=o,h=o[Te]||null)v=h.formAction;else if(is(u)!==null)continue}else v=h.action;typeof v=="function"?n[l+1]=v:(n.splice(l,3),l-=3),Lm(n)}}}function qm(){function t(o){o.canIntercept&&o.info==="react-transition"&&o.intercept({handler:function(){return new Promise(function(h){return u=h})},focusReset:"manual",scroll:"manual"})}function e(){u!==null&&(u(),u=null),l||setTimeout(n,20)}function n(){if(!l&&!navigation.transition){var o=navigation.currentEntry;o&&o.url!=null&&navigation.navigate(o.url,{state:o.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var l=!1,u=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(n,100),function(){l=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),u!==null&&(u(),u=null)}}}function us(t){this._internalRoot=t}Ju.prototype.render=us.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(c(409));var n=e.current,l=Le();wm(n,l,t,e,null,null)},Ju.prototype.unmount=us.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;wm(t.current,2,null,t,null,null),Ou(),e[Rl]=null}};function Ju(t){this._internalRoot=t}Ju.prototype.unstable_scheduleHydration=function(t){if(t){var e=If();t={blockedOn:null,target:t,priority:e};for(var n=0;n<el.length&&e!==0&&e<el[n].priority;n++);el.splice(n,0,t),n===0&&Bm(t)}};var Ym=a.version;if(Ym!=="19.2.7")throw Error(c(527,Ym,"19.2.7"));Z.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(c(188)):(t=Object.keys(t).join(","),Error(c(268,t)));return t=p(e),t=t!==null?x(t):null,t=t===null?null:t.stateNode,t};var qb={bundleType:0,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:M,reconcilerVersion:"19.2.7"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Fu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Fu.isDisabled&&Fu.supportsFiber)try{ye=Fu.inject(qb),ie=Fu}catch{}}return yi.createRoot=function(t,e){if(!s(t))throw Error(c(299));var n=!1,l="",u=Jd,o=Fd,h=Id;return e!=null&&(e.unstable_strictMode===!0&&(n=!0),e.identifierPrefix!==void 0&&(l=e.identifierPrefix),e.onUncaughtError!==void 0&&(u=e.onUncaughtError),e.onCaughtError!==void 0&&(o=e.onCaughtError),e.onRecoverableError!==void 0&&(h=e.onRecoverableError)),e=Mm(t,1,!1,null,null,n,l,null,u,o,h,qm),t[Rl]=e.current,Yo(t),new us(e)},yi.hydrateRoot=function(t,e,n){if(!s(t))throw Error(c(299));var l=!1,u="",o=Jd,h=Fd,v=Id,A=null;return n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(u=n.identifierPrefix),n.onUncaughtError!==void 0&&(o=n.onUncaughtError),n.onCaughtError!==void 0&&(h=n.onCaughtError),n.onRecoverableError!==void 0&&(v=n.onRecoverableError),n.formState!==void 0&&(A=n.formState)),e=Mm(t,1,!0,e,n??null,l,u,A,o,h,v,qm),e.context=Dm(null),n=e.current,l=Le(),l=Fr(l),u=qn(l),u.callback=null,Yn(n,u,l),n=l,e.current.lanes=n,Ri(e,n),cn(e),t[Rl]=e.current,Yo(t),new Ju(e)},yi.version="19.2.7",yi}var ms;function Jm(){if(ms)return Wu.exports;ms=1;function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(a){console.error(a)}}return i(),Wu.exports=Km(),Wu.exports}var Fm=Jm(),nr={exports:{}},gi={};var ys;function Im(){if(ys)return gi;ys=1;var i=Symbol.for("react.transitional.element"),a=Symbol.for("react.fragment");function r(c,s,f){var d=null;if(f!==void 0&&(d=""+f),s.key!==void 0&&(d=""+s.key),"key"in s){f={};for(var m in s)m!=="key"&&(f[m]=s[m])}else f=s;return s=f.ref,{$$typeof:i,type:c,key:d,ref:s!==void 0?s:null,props:f}}return gi.Fragment=a,gi.jsx=r,gi.jsxs=r,gi}var gs;function $m(){return gs||(gs=1,nr.exports=Im()),nr.exports}var B=$m();function Xb(){}function Gb(){}function Wm(i,a){const r={};return(i[i.length-1]===""?[...i,""]:i).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}const Pm=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,ty=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,ey={};function vs(i,a){return(ey.jsx?ty:Pm).test(i)}const ny=/[ \t\n\f\r]/g;function ly(i){return typeof i=="object"?i.type==="text"?xs(i.value):!1:xs(i)}function xs(i){return i.replace(ny,"")===""}class vi{constructor(a,r,c){this.normal=r,this.property=a,c&&(this.space=c)}}vi.prototype.normal={},vi.prototype.property={},vi.prototype.space=void 0;function bs(i,a){const r={},c={};for(const s of i)Object.assign(r,s.property),Object.assign(c,s.normal);return new vi(r,c,a)}function lr(i){return i.toLowerCase()}class ve{constructor(a,r){this.attribute=r,this.property=a}}ve.prototype.attribute="",ve.prototype.booleanish=!1,ve.prototype.boolean=!1,ve.prototype.commaOrSpaceSeparated=!1,ve.prototype.commaSeparated=!1,ve.prototype.defined=!1,ve.prototype.mustUseProperty=!1,ve.prototype.number=!1,ve.prototype.overloadedBoolean=!1,ve.prototype.property="",ve.prototype.spaceSeparated=!1,ve.prototype.space=void 0;let iy=0;const xt=il(),Pt=il(),ir=il(),F=il(),Xt=il(),ll=il(),De=il();function il(){return 2**++iy}const ar=Object.freeze(Object.defineProperty({__proto__:null,boolean:xt,booleanish:Pt,commaOrSpaceSeparated:De,commaSeparated:ll,number:F,overloadedBoolean:ir,spaceSeparated:Xt},Symbol.toStringTag,{value:"Module"})),ur=Object.keys(ar);class rr extends ve{constructor(a,r,c,s){let f=-1;if(super(a,r),Ss(this,"space",s),typeof c=="number")for(;++f<ur.length;){const d=ur[f];Ss(this,ur[f],(c&ar[d])===ar[d])}}}rr.prototype.defined=!0;function Ss(i,a,r){r&&(i[a]=r)}function Tl(i){const a={},r={};for(const[c,s]of Object.entries(i.properties)){const f=new rr(c,i.transform(i.attributes||{},c),s,i.space);i.mustUseProperty&&i.mustUseProperty.includes(c)&&(f.mustUseProperty=!0),a[c]=f,r[lr(c)]=c,r[lr(f.attribute)]=c}return new vi(a,r,i.space)}const Es=Tl({properties:{ariaActiveDescendant:null,ariaAtomic:Pt,ariaAutoComplete:null,ariaBusy:Pt,ariaChecked:Pt,ariaColCount:F,ariaColIndex:F,ariaColSpan:F,ariaControls:Xt,ariaCurrent:null,ariaDescribedBy:Xt,ariaDetails:null,ariaDisabled:Pt,ariaDropEffect:Xt,ariaErrorMessage:null,ariaExpanded:Pt,ariaFlowTo:Xt,ariaGrabbed:Pt,ariaHasPopup:null,ariaHidden:Pt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Xt,ariaLevel:F,ariaLive:null,ariaModal:Pt,ariaMultiLine:Pt,ariaMultiSelectable:Pt,ariaOrientation:null,ariaOwns:Xt,ariaPlaceholder:null,ariaPosInSet:F,ariaPressed:Pt,ariaReadOnly:Pt,ariaRelevant:null,ariaRequired:Pt,ariaRoleDescription:Xt,ariaRowCount:F,ariaRowIndex:F,ariaRowSpan:F,ariaSelected:Pt,ariaSetSize:F,ariaSort:null,ariaValueMax:F,ariaValueMin:F,ariaValueNow:F,ariaValueText:null,role:null},transform(i,a){return a==="role"?a:"aria-"+a.slice(4).toLowerCase()}});function Ts(i,a){return a in i?i[a]:a}function zs(i,a){return Ts(i,a.toLowerCase())}const ay=Tl({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ll,acceptCharset:Xt,accessKey:Xt,action:null,allow:null,allowFullScreen:xt,allowPaymentRequest:xt,allowUserMedia:xt,alpha:xt,alt:null,as:null,async:xt,autoCapitalize:null,autoComplete:Xt,autoFocus:xt,autoPlay:xt,blocking:Xt,capture:null,charSet:null,checked:xt,cite:null,className:Xt,closedBy:null,colorSpace:null,cols:F,colSpan:F,command:null,commandFor:null,content:null,contentEditable:Pt,controls:xt,controlsList:Xt,coords:F|ll,crossOrigin:null,data:null,dateTime:null,decoding:null,default:xt,defer:xt,dir:null,dirName:null,disabled:xt,download:ir,draggable:Pt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:xt,formTarget:null,headers:Xt,height:F,hidden:ir,high:F,href:null,hrefLang:null,htmlFor:Xt,httpEquiv:Xt,id:null,imageSizes:null,imageSrcSet:null,inert:xt,inputMode:null,integrity:null,is:null,isMap:xt,itemId:null,itemProp:Xt,itemRef:Xt,itemScope:xt,itemType:Xt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:xt,low:F,manifest:null,max:null,maxLength:F,media:null,method:null,min:null,minLength:F,multiple:xt,muted:xt,name:null,nonce:null,noModule:xt,noValidate:xt,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:xt,optimum:F,pattern:null,ping:Xt,placeholder:null,playsInline:xt,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:xt,referrerPolicy:null,rel:Xt,required:xt,reversed:xt,rows:F,rowSpan:F,sandbox:Xt,scope:null,scoped:xt,seamless:xt,selected:xt,shadowRootClonable:xt,shadowRootCustomElementRegistry:xt,shadowRootDelegatesFocus:xt,shadowRootMode:null,shadowRootSerializable:xt,shape:null,size:F,sizes:null,slot:null,span:F,spellCheck:Pt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:F,step:null,style:null,tabIndex:F,target:null,title:null,translate:null,type:null,typeMustMatch:xt,useMap:null,value:Pt,width:F,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Xt,axis:null,background:null,bgColor:null,border:F,borderColor:null,bottomMargin:F,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:xt,declare:xt,event:null,face:null,frame:null,frameBorder:null,hSpace:F,leftMargin:F,link:null,longDesc:null,lowSrc:null,marginHeight:F,marginWidth:F,noResize:xt,noHref:xt,noShade:xt,noWrap:xt,object:null,profile:null,prompt:null,rev:null,rightMargin:F,rules:null,scheme:null,scrolling:Pt,standby:null,summary:null,text:null,topMargin:F,valueType:null,version:null,vAlign:null,vLink:null,vSpace:F,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:xt,disablePictureInPicture:xt,disableRemotePlayback:xt,exportParts:ll,part:Xt,prefix:null,property:null,results:F,security:null,unselectable:null},space:"html",transform:zs}),uy=Tl({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",maskType:"mask-type",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:De,accentHeight:F,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:F,amplitude:F,arabicForm:null,ascent:F,attributeName:null,attributeType:null,azimuth:F,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:F,by:null,calcMode:null,capHeight:F,className:Xt,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:F,diffuseConstant:F,direction:null,display:null,dur:null,divisor:F,dominantBaseline:null,download:xt,dx:null,dy:null,edgeMode:null,editable:null,elevation:F,enableBackground:null,end:null,event:null,exponent:F,externalResourcesRequired:null,fill:null,fillOpacity:F,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:ll,g2:ll,glyphName:ll,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:F,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:F,horizOriginX:F,horizOriginY:F,id:null,ideographic:F,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:F,k:F,k1:F,k2:F,k3:F,k4:F,kernelMatrix:De,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:F,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:F,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:F,overlineThickness:F,paintOrder:null,panose1:null,path:null,pathLength:F,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Xt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:F,pointsAtY:F,pointsAtZ:F,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:De,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:De,rev:De,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:De,requiredFeatures:De,requiredFonts:De,requiredFormats:De,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:F,specularExponent:F,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:F,strikethroughThickness:F,string:null,stroke:null,strokeDashArray:De,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:F,strokeOpacity:F,strokeWidth:null,style:null,surfaceScale:F,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:De,tabIndex:F,tableValues:null,target:null,targetX:F,targetY:F,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:De,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:F,underlineThickness:F,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:F,values:null,vAlphabetic:F,vMathematical:F,vectorEffect:null,vHanging:F,vIdeographic:F,version:null,vertAdvY:F,vertOriginX:F,vertOriginY:F,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:F,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Ts}),As=Tl({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(i,a){return"xlink:"+a.slice(5).toLowerCase()}}),Cs=Tl({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:zs}),_s=Tl({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(i,a){return"xml:"+a.slice(3).toLowerCase()}}),ry={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"},cy=/[A-Z]/g,Os=/-[a-z]/g,oy=/^data[-\w.:]+$/i;function sy(i,a){const r=lr(a);let c=a,s=ve;if(r in i.normal)return i.property[i.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&oy.test(a)){if(a.charAt(4)==="-"){const f=a.slice(5).replace(Os,hy);c="data"+f.charAt(0).toUpperCase()+f.slice(1)}else{const f=a.slice(4);if(!Os.test(f)){let d=f.replace(cy,fy);d.charAt(0)!=="-"&&(d="-"+d),a="data"+d}}s=rr}return new s(c,a)}function fy(i){return"-"+i.toLowerCase()}function hy(i){return i.charAt(1).toUpperCase()}const dy=bs([Es,ay,As,Cs,_s],"html"),cr=bs([Es,uy,As,Cs,_s],"svg");function py(i){return i.join(" ").trim()}var zl={},or,Ms;function my(){if(Ms)return or;Ms=1;var i=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,a=/\n/g,r=/^\s*/,c=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,s=/^:\s*/,f=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,d=/^[;\s]*/,m=/^\s+|\s+$/g,g=`
|
|
10
|
+
`,p="/",x="*",S="",z="comment",E="declaration";function Q(I,H){if(typeof I!="string")throw new TypeError("First argument must be a string");if(!I)return[];H=H||{};var tt=1,V=1;function st(et){var J=et.match(a);J&&(tt+=J.length);var M=et.lastIndexOf(g);V=~M?et.length-M:V+et.length}function dt(){var et={line:tt,column:V};return function(J){return J.position=new N(et),ft(),J}}function N(et){this.start=et,this.end={line:tt,column:V},this.source=H.source}N.prototype.content=I;function K(et){var J=new Error(H.source+":"+tt+":"+V+": "+et);if(J.reason=et,J.filename=H.source,J.line=tt,J.column=V,J.source=I,!H.silent)throw J}function ut(et){var J=et.exec(I);if(J){var M=J[0];return st(M),I=I.slice(M.length),J}}function ft(){ut(r)}function pt(et){var J;for(et=et||[];J=nt();)J!==!1&&et.push(J);return et}function nt(){var et=dt();if(!(p!=I.charAt(0)||x!=I.charAt(1))){for(var J=2;S!=I.charAt(J)&&(x!=I.charAt(J)||p!=I.charAt(J+1));)++J;if(J+=2,S===I.charAt(J-1))return K("End of comment missing");var M=I.slice(2,J-2);return V+=2,st(M),I=I.slice(J),V+=2,et({type:z,comment:M})}}function U(){var et=dt(),J=ut(c);if(J){if(nt(),!ut(s))return K("property missing ':'");var M=ut(f),Z=et({type:E,property:G(J[0].replace(i,S)),value:M?G(M[0].replace(i,S)):S});return ut(d),Z}}function lt(){var et=[];pt(et);for(var J;J=U();)J!==!1&&(et.push(J),pt(et));return et}return ft(),lt()}function G(I){return I?I.replace(m,S):S}return or=Q,or}var Ds;function yy(){if(Ds)return zl;Ds=1;var i=zl&&zl.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(zl,"__esModule",{value:!0}),zl.default=r;const a=i(my());function r(c,s){let f=null;if(!c||typeof c!="string")return f;const d=(0,a.default)(c),m=typeof s=="function";return d.forEach(g=>{if(g.type!=="declaration")return;const{property:p,value:x}=g;m?s(p,x,g):x&&(f=f||{},f[p]=x)}),f}return zl}var xi={},ws;function gy(){if(ws)return xi;ws=1,Object.defineProperty(xi,"__esModule",{value:!0}),xi.camelCase=void 0;var i=/^--[a-zA-Z0-9_-]+$/,a=/-([a-z])/g,r=/^[^-]+$/,c=/^-(webkit|moz|ms|o|khtml)-/,s=/^-(ms)-/,f=function(p){return!p||r.test(p)||i.test(p)},d=function(p,x){return x.toUpperCase()},m=function(p,x){return"".concat(x,"-")},g=function(p,x){return x===void 0&&(x={}),f(p)?p:(p=p.toLowerCase(),x.reactCompat?p=p.replace(s,m):p=p.replace(c,m),p.replace(a,d))};return xi.camelCase=g,xi}var bi,Rs;function vy(){if(Rs)return bi;Rs=1;var i=bi&&bi.__importDefault||function(s){return s&&s.__esModule?s:{default:s}},a=i(yy()),r=gy();function c(s,f){var d={};return!s||typeof s!="string"||(0,a.default)(s,function(m,g){m&&g&&(d[(0,r.camelCase)(m,f)]=g)}),d}return c.default=c,bi=c,bi}var xy=vy();const by=rs(xy),ks=Ns("end"),sr=Ns("start");function Ns(i){return a;function a(r){const c=r&&r.position&&r.position[i]||{};if(typeof c.line=="number"&&c.line>0&&typeof c.column=="number"&&c.column>0)return{line:c.line,column:c.column,offset:typeof c.offset=="number"&&c.offset>-1?c.offset:void 0}}}function Sy(i){const a=sr(i),r=ks(i);if(a&&r)return{start:a,end:r}}function Si(i){return!i||typeof i!="object"?"":"position"in i||"type"in i?js(i.position):"start"in i||"end"in i?js(i):"line"in i||"column"in i?fr(i):""}function fr(i){return Us(i&&i.line)+":"+Us(i&&i.column)}function js(i){return fr(i&&i.start)+"-"+fr(i&&i.end)}function Us(i){return i&&typeof i=="number"?i:1}class pe extends Error{constructor(a,r,c){super(),typeof r=="string"&&(c=r,r=void 0);let s="",f={},d=!1;if(r&&("line"in r&&"column"in r?f={place:r}:"start"in r&&"end"in r?f={place:r}:"type"in r?f={ancestors:[r],place:r.position}:f={...r}),typeof a=="string"?s=a:!f.cause&&a&&(d=!0,s=a.message,f.cause=a),!f.ruleId&&!f.source&&typeof c=="string"){const g=c.indexOf(":");g===-1?f.ruleId=c:(f.source=c.slice(0,g),f.ruleId=c.slice(g+1))}if(!f.place&&f.ancestors&&f.ancestors){const g=f.ancestors[f.ancestors.length-1];g&&(f.place=g.position)}const m=f.place&&"start"in f.place?f.place.start:f.place;this.ancestors=f.ancestors||void 0,this.cause=f.cause||void 0,this.column=m?m.column:void 0,this.fatal=void 0,this.file="",this.message=s,this.line=m?m.line:void 0,this.name=Si(f.place)||"1:1",this.place=f.place||void 0,this.reason=this.message,this.ruleId=f.ruleId||void 0,this.source=f.source||void 0,this.stack=d&&f.cause&&typeof f.cause.stack=="string"?f.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}pe.prototype.file="",pe.prototype.name="",pe.prototype.reason="",pe.prototype.message="",pe.prototype.stack="",pe.prototype.column=void 0,pe.prototype.line=void 0,pe.prototype.ancestors=void 0,pe.prototype.cause=void 0,pe.prototype.fatal=void 0,pe.prototype.place=void 0,pe.prototype.ruleId=void 0,pe.prototype.source=void 0;const hr={}.hasOwnProperty,Ey=new Map,Ty=/[A-Z]/g,zy=new Set(["table","tbody","thead","tfoot","tr"]),Ay=new Set(["td","th"]),Bs="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function Cy(i,a){if(!a||a.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const r=a.filePath||void 0;let c;if(a.development){if(typeof a.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");c=Ny(r,a.jsxDEV)}else{if(typeof a.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof a.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");c=ky(r,a.jsx,a.jsxs)}const s={Fragment:a.Fragment,ancestors:[],components:a.components||{},create:c,elementAttributeNameCase:a.elementAttributeNameCase||"react",evaluater:a.createEvaluater?a.createEvaluater():void 0,filePath:r,ignoreInvalidStyle:a.ignoreInvalidStyle||!1,passKeys:a.passKeys!==!1,passNode:a.passNode||!1,schema:a.space==="svg"?cr:dy,stylePropertyNameCase:a.stylePropertyNameCase||"dom",tableCellAlignToStyle:a.tableCellAlignToStyle!==!1},f=Hs(s,i,void 0);return f&&typeof f!="string"?f:s.create(i,s.Fragment,{children:f||void 0},void 0)}function Hs(i,a,r){if(a.type==="element")return _y(i,a,r);if(a.type==="mdxFlowExpression"||a.type==="mdxTextExpression")return Oy(i,a);if(a.type==="mdxJsxFlowElement"||a.type==="mdxJsxTextElement")return Dy(i,a,r);if(a.type==="mdxjsEsm")return My(i,a);if(a.type==="root")return wy(i,a,r);if(a.type==="text")return Ry(i,a)}function _y(i,a,r){const c=i.schema;let s=c;a.tagName.toLowerCase()==="svg"&&c.space==="html"&&(s=cr,i.schema=s),i.ancestors.push(a);const f=qs(i,a.tagName,!1),d=jy(i,a);let m=pr(i,a);return zy.has(a.tagName)&&(m=m.filter(function(g){return typeof g=="string"?!ly(g):!0})),Ls(i,d,f,a),dr(d,m),i.ancestors.pop(),i.schema=c,i.create(a,f,d,r)}function Oy(i,a){if(a.data&&a.data.estree&&i.evaluater){const c=a.data.estree.body[0];return c.type,i.evaluater.evaluateExpression(c.expression)}Ei(i,a.position)}function My(i,a){if(a.data&&a.data.estree&&i.evaluater)return i.evaluater.evaluateProgram(a.data.estree);Ei(i,a.position)}function Dy(i,a,r){const c=i.schema;let s=c;a.name==="svg"&&c.space==="html"&&(s=cr,i.schema=s),i.ancestors.push(a);const f=a.name===null?i.Fragment:qs(i,a.name,!0),d=Uy(i,a),m=pr(i,a);return Ls(i,d,f,a),dr(d,m),i.ancestors.pop(),i.schema=c,i.create(a,f,d,r)}function wy(i,a,r){const c={};return dr(c,pr(i,a)),i.create(a,i.Fragment,c,r)}function Ry(i,a){return a.value}function Ls(i,a,r,c){typeof r!="string"&&r!==i.Fragment&&i.passNode&&(a.node=c)}function dr(i,a){if(a.length>0){const r=a.length>1?a:a[0];r&&(i.children=r)}}function ky(i,a,r){return c;function c(s,f,d,m){const p=Array.isArray(d.children)?r:a;return m?p(f,d,m):p(f,d)}}function Ny(i,a){return r;function r(c,s,f,d){const m=Array.isArray(f.children),g=sr(c);return a(s,f,d,m,{columnNumber:g?g.column-1:void 0,fileName:i,lineNumber:g?g.line:void 0},void 0)}}function jy(i,a){const r={};let c,s;for(s in a.properties)if(s!=="children"&&hr.call(a.properties,s)){const f=By(i,s,a.properties[s]);if(f){const[d,m]=f;i.tableCellAlignToStyle&&d==="align"&&typeof m=="string"&&Ay.has(a.tagName)?c=m:r[d]=m}}if(c){const f=r.style||(r.style={});f[i.stylePropertyNameCase==="css"?"text-align":"textAlign"]=c}return r}function Uy(i,a){const r={};for(const c of a.attributes)if(c.type==="mdxJsxExpressionAttribute")if(c.data&&c.data.estree&&i.evaluater){const f=c.data.estree.body[0];f.type;const d=f.expression;d.type;const m=d.properties[0];m.type,Object.assign(r,i.evaluater.evaluateExpression(m.argument))}else Ei(i,a.position);else{const s=c.name;let f;if(c.value&&typeof c.value=="object")if(c.value.data&&c.value.data.estree&&i.evaluater){const m=c.value.data.estree.body[0];m.type,f=i.evaluater.evaluateExpression(m.expression)}else Ei(i,a.position);else f=c.value===null?!0:c.value;r[s]=f}return r}function pr(i,a){const r=[];let c=-1;const s=i.passKeys?new Map:Ey;for(;++c<a.children.length;){const f=a.children[c];let d;if(i.passKeys){const g=f.type==="element"?f.tagName:f.type==="mdxJsxFlowElement"||f.type==="mdxJsxTextElement"?f.name:void 0;if(g){const p=s.get(g)||0;d=g+"-"+p,s.set(g,p+1)}}const m=Hs(i,f,d);m!==void 0&&r.push(m)}return r}function By(i,a,r){const c=sy(i.schema,a);if(!(r==null||typeof r=="number"&&Number.isNaN(r))){if(Array.isArray(r)&&(r=c.commaSeparated?Wm(r):py(r)),c.property==="style"){let s=typeof r=="object"?r:Hy(i,String(r));return i.stylePropertyNameCase==="css"&&(s=Ly(s)),["style",s]}return[i.elementAttributeNameCase==="react"&&c.space?ry[c.property]||c.property:c.attribute,r]}}function Hy(i,a){try{return by(a,{reactCompat:!0})}catch(r){if(i.ignoreInvalidStyle)return{};const c=r,s=new pe("Cannot parse `style` attribute",{ancestors:i.ancestors,cause:c,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw s.file=i.filePath||void 0,s.url=Bs+"#cannot-parse-style-attribute",s}}function qs(i,a,r){let c;if(!r)c={type:"Literal",value:a};else if(a.includes(".")){const s=a.split(".");let f=-1,d;for(;++f<s.length;){const m=vs(s[f])?{type:"Identifier",name:s[f]}:{type:"Literal",value:s[f]};d=d?{type:"MemberExpression",object:d,property:m,computed:!!(f&&m.type==="Literal"),optional:!1}:m}c=d}else c=vs(a)&&!/^[a-z]/.test(a)?{type:"Identifier",name:a}:{type:"Literal",value:a};if(c.type==="Literal"){const s=c.value;return hr.call(i.components,s)?i.components[s]:s}if(i.evaluater)return i.evaluater.evaluateExpression(c);Ei(i)}function Ei(i,a){const r=new pe("Cannot handle MDX estrees without `createEvaluater`",{ancestors:i.ancestors,place:a,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw r.file=i.filePath||void 0,r.url=Bs+"#cannot-handle-mdx-estrees-without-createevaluater",r}function Ly(i){const a={};let r;for(r in i)hr.call(i,r)&&(a[qy(r)]=i[r]);return a}function qy(i){let a=i.replace(Ty,Yy);return a.slice(0,3)==="ms-"&&(a="-"+a),a}function Yy(i){return"-"+i.toLowerCase()}const mr={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"]};var yr={exports:{}},Ti={};var Ys;function Xy(){if(Ys)return Ti;Ys=1;var i=Symbol.for("react.transitional.element"),a=Symbol.for("react.fragment");function r(c,s,f){var d=null;if(f!==void 0&&(d=""+f),s.key!==void 0&&(d=""+s.key),"key"in s){f={};for(var m in s)m!=="key"&&(f[m]=s[m])}else f=s;return s=f.ref,{$$typeof:i,type:c,key:d,ref:s!==void 0?s:null,props:f}}return Ti.Fragment=a,Ti.jsx=r,Ti.jsxs=r,Ti}var Xs;function Gy(){return Xs||(Xs=1,yr.exports=Xy()),yr.exports}var gr=Gy(),vr={exports:{}},St={};var Gs;function Qy(){if(Gs)return St;Gs=1;var i=Symbol.for("react.transitional.element"),a=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),d=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),S=Symbol.for("react.activity"),z=Symbol.iterator;function E(y){return y===null||typeof y!="object"?null:(y=z&&y[z]||y["@@iterator"],typeof y=="function"?y:null)}var Q={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},G=Object.assign,I={};function H(y,C,b){this.props=y,this.context=C,this.refs=I,this.updater=b||Q}H.prototype.isReactComponent={},H.prototype.setState=function(y,C){if(typeof y!="object"&&typeof y!="function"&&y!=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,y,C,"setState")},H.prototype.forceUpdate=function(y){this.updater.enqueueForceUpdate(this,y,"forceUpdate")};function tt(){}tt.prototype=H.prototype;function V(y,C,b){this.props=y,this.context=C,this.refs=I,this.updater=b||Q}var st=V.prototype=new tt;st.constructor=V,G(st,H.prototype),st.isPureReactComponent=!0;var dt=Array.isArray;function N(){}var K={H:null,A:null,T:null,S:null},ut=Object.prototype.hasOwnProperty;function ft(y,C,b){var Y=b.ref;return{$$typeof:i,type:y,key:C,ref:Y!==void 0?Y:null,props:b}}function pt(y,C){return ft(y.type,C,y.props)}function nt(y){return typeof y=="object"&&y!==null&&y.$$typeof===i}function U(y){var C={"=":"=0",":":"=2"};return"$"+y.replace(/[=:]/g,function(b){return C[b]})}var lt=/\/+/g;function et(y,C){return typeof y=="object"&&y!==null&&y.key!=null?U(""+y.key):C.toString(36)}function J(y){switch(y.status){case"fulfilled":return y.value;case"rejected":throw y.reason;default:switch(typeof y.status=="string"?y.then(N,N):(y.status="pending",y.then(function(C){y.status==="pending"&&(y.status="fulfilled",y.value=C)},function(C){y.status==="pending"&&(y.status="rejected",y.reason=C)})),y.status){case"fulfilled":return y.value;case"rejected":throw y.reason}}throw y}function M(y,C,b,Y,W){var $=typeof y;($==="undefined"||$==="boolean")&&(y=null);var rt=!1;if(y===null)rt=!0;else switch($){case"bigint":case"string":case"number":rt=!0;break;case"object":switch(y.$$typeof){case i:case a:rt=!0;break;case x:return rt=y._init,M(rt(y._payload),C,b,Y,W)}}if(rt)return W=W(y),rt=Y===""?"."+et(y,0):Y,dt(W)?(b="",rt!=null&&(b=rt.replace(lt,"$&/")+"/"),M(W,C,b,"",function(Se){return Se})):W!=null&&(nt(W)&&(W=pt(W,b+(W.key==null||y&&y.key===W.key?"":(""+W.key).replace(lt,"$&/")+"/")+rt)),C.push(W)),1;rt=0;var Dt=Y===""?".":Y+":";if(dt(y))for(var Et=0;Et<y.length;Et++)Y=y[Et],$=Dt+et(Y,Et),rt+=M(Y,C,b,$,W);else if(Et=E(y),typeof Et=="function")for(y=Et.call(y),Et=0;!(Y=y.next()).done;)Y=Y.value,$=Dt+et(Y,Et++),rt+=M(Y,C,b,$,W);else if($==="object"){if(typeof y.then=="function")return M(J(y),C,b,Y,W);throw C=String(y),Error("Objects are not valid as a React child (found: "+(C==="[object Object]"?"object with keys {"+Object.keys(y).join(", ")+"}":C)+"). If you meant to render a collection of children, use an array instead.")}return rt}function Z(y,C,b){if(y==null)return y;var Y=[],W=0;return M(y,Y,"","",function($){return C.call(b,$,W++)}),Y}function at(y){if(y._status===-1){var C=y._result;C=C(),C.then(function(b){(y._status===0||y._status===-1)&&(y._status=1,y._result=b)},function(b){(y._status===0||y._status===-1)&&(y._status=2,y._result=b)}),y._status===-1&&(y._status=0,y._result=C)}if(y._status===1)return y._result.default;throw y._result}var ot=typeof reportError=="function"?reportError:function(y){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var C=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof y=="object"&&y!==null&&typeof y.message=="string"?String(y.message):String(y),error:y});if(!window.dispatchEvent(C))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",y);return}console.error(y)},T={map:Z,forEach:function(y,C,b){Z(y,function(){C.apply(this,arguments)},b)},count:function(y){var C=0;return Z(y,function(){C++}),C},toArray:function(y){return Z(y,function(C){return C})||[]},only:function(y){if(!nt(y))throw Error("React.Children.only expected to receive a single React element child.");return y}};return St.Activity=S,St.Children=T,St.Component=H,St.Fragment=r,St.Profiler=s,St.PureComponent=V,St.StrictMode=c,St.Suspense=g,St.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=K,St.__COMPILER_RUNTIME={__proto__:null,c:function(y){return K.H.useMemoCache(y)}},St.cache=function(y){return function(){return y.apply(null,arguments)}},St.cacheSignal=function(){return null},St.cloneElement=function(y,C,b){if(y==null)throw Error("The argument must be a React element, but you passed "+y+".");var Y=G({},y.props),W=y.key;if(C!=null)for($ in C.key!==void 0&&(W=""+C.key),C)!ut.call(C,$)||$==="key"||$==="__self"||$==="__source"||$==="ref"&&C.ref===void 0||(Y[$]=C[$]);var $=arguments.length-2;if($===1)Y.children=b;else if(1<$){for(var rt=Array($),Dt=0;Dt<$;Dt++)rt[Dt]=arguments[Dt+2];Y.children=rt}return ft(y.type,W,Y)},St.createContext=function(y){return y={$$typeof:d,_currentValue:y,_currentValue2:y,_threadCount:0,Provider:null,Consumer:null},y.Provider=y,y.Consumer={$$typeof:f,_context:y},y},St.createElement=function(y,C,b){var Y,W={},$=null;if(C!=null)for(Y in C.key!==void 0&&($=""+C.key),C)ut.call(C,Y)&&Y!=="key"&&Y!=="__self"&&Y!=="__source"&&(W[Y]=C[Y]);var rt=arguments.length-2;if(rt===1)W.children=b;else if(1<rt){for(var Dt=Array(rt),Et=0;Et<rt;Et++)Dt[Et]=arguments[Et+2];W.children=Dt}if(y&&y.defaultProps)for(Y in rt=y.defaultProps,rt)W[Y]===void 0&&(W[Y]=rt[Y]);return ft(y,$,W)},St.createRef=function(){return{current:null}},St.forwardRef=function(y){return{$$typeof:m,render:y}},St.isValidElement=nt,St.lazy=function(y){return{$$typeof:x,_payload:{_status:-1,_result:y},_init:at}},St.memo=function(y,C){return{$$typeof:p,type:y,compare:C===void 0?null:C}},St.startTransition=function(y){var C=K.T,b={};K.T=b;try{var Y=y(),W=K.S;W!==null&&W(b,Y),typeof Y=="object"&&Y!==null&&typeof Y.then=="function"&&Y.then(N,ot)}catch($){ot($)}finally{C!==null&&b.types!==null&&(C.types=b.types),K.T=C}},St.unstable_useCacheRefresh=function(){return K.H.useCacheRefresh()},St.use=function(y){return K.H.use(y)},St.useActionState=function(y,C,b){return K.H.useActionState(y,C,b)},St.useCallback=function(y,C){return K.H.useCallback(y,C)},St.useContext=function(y){return K.H.useContext(y)},St.useDebugValue=function(){},St.useDeferredValue=function(y,C){return K.H.useDeferredValue(y,C)},St.useEffect=function(y,C){return K.H.useEffect(y,C)},St.useEffectEvent=function(y){return K.H.useEffectEvent(y)},St.useId=function(){return K.H.useId()},St.useImperativeHandle=function(y,C,b){return K.H.useImperativeHandle(y,C,b)},St.useInsertionEffect=function(y,C){return K.H.useInsertionEffect(y,C)},St.useLayoutEffect=function(y,C){return K.H.useLayoutEffect(y,C)},St.useMemo=function(y,C){return K.H.useMemo(y,C)},St.useOptimistic=function(y,C){return K.H.useOptimistic(y,C)},St.useReducer=function(y,C,b){return K.H.useReducer(y,C,b)},St.useRef=function(y){return K.H.useRef(y)},St.useState=function(y){return K.H.useState(y)},St.useSyncExternalStore=function(y,C,b){return K.H.useSyncExternalStore(y,C,b)},St.useTransition=function(){return K.H.useTransition()},St.version="19.2.7",St}var Qs;function Vy(){return Qs||(Qs=1,vr.exports=Qy()),vr.exports}Vy();const Zy={};function Ky(i,a){const r=Zy,c=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,s=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return Vs(i,c,s)}function Vs(i,a,r){if(Jy(i)){if("value"in i)return i.type==="html"&&!r?"":i.value;if(a&&"alt"in i&&i.alt)return i.alt;if("children"in i)return Zs(i.children,a,r)}return Array.isArray(i)?Zs(i,a,r):""}function Zs(i,a,r){const c=[];let s=-1;for(;++s<i.length;)c[s]=Vs(i[s],a,r);return c.join("")}function Jy(i){return!!(i&&typeof i=="object")}const Ks=document.createElement("i");function xr(i){const a="&"+i+";";Ks.innerHTML=a;const r=Ks.textContent;return r.charCodeAt(r.length-1)===59&&i!=="semi"||r===a?!1:r}function en(i,a,r,c){const s=i.length;let f=0,d;if(a<0?a=-a>s?0:s+a:a=a>s?s:a,r=r>0?r:0,c.length<1e4)d=Array.from(c),d.unshift(a,r),i.splice(...d);else for(r&&i.splice(a,r);f<c.length;)d=c.slice(f,f+1e4),d.unshift(a,0),i.splice(...d),f+=1e4,a+=1e4}function qe(i,a){return i.length>0?(en(i,i.length,0,a),i):a}const Js={}.hasOwnProperty;function Fy(i){const a={};let r=-1;for(;++r<i.length;)Iy(a,i[r]);return a}function Iy(i,a){let r;for(r in a){const s=(Js.call(i,r)?i[r]:void 0)||(i[r]={}),f=a[r];let d;if(f)for(d in f){Js.call(s,d)||(s[d]=[]);const m=f[d];$y(s[d],Array.isArray(m)?m:m?[m]:[])}}}function $y(i,a){let r=-1;const c=[];for(;++r<a.length;)(a[r].add==="after"?i:c).push(a[r]);en(i,0,0,c)}function Fs(i,a){const r=Number.parseInt(i,a);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"�":String.fromCodePoint(r)}function Al(i){return i.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const nn=Dn(/[A-Za-z]/),we=Dn(/[\dA-Za-z]/),Wy=Dn(/[#-'*+\--9=?A-Z^-~]/);function br(i){return i!==null&&(i<32||i===127)}const Sr=Dn(/\d/),Py=Dn(/[\dA-Fa-f]/),tg=Dn(/[!-/:-@[-`{-~]/);function gt(i){return i!==null&&i<-2}function xe(i){return i!==null&&(i<0||i===32)}function Nt(i){return i===-2||i===-1||i===32}const eg=Dn(new RegExp("\\p{P}|\\p{S}","u")),ng=Dn(/\s/);function Dn(i){return a;function a(r){return r!==null&&r>-1&&i.test(String.fromCharCode(r))}}function Cl(i){const a=[];let r=-1,c=0,s=0;for(;++r<i.length;){const f=i.charCodeAt(r);let d="";if(f===37&&we(i.charCodeAt(r+1))&&we(i.charCodeAt(r+2)))s=2;else if(f<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(f))||(d=String.fromCharCode(f));else if(f>55295&&f<57344){const m=i.charCodeAt(r+1);f<56320&&m>56319&&m<57344?(d=String.fromCharCode(f,m),s=1):d="�"}else d=String.fromCharCode(f);d&&(a.push(i.slice(c,r),encodeURIComponent(d)),c=r+s+1,d=""),s&&(r+=s,s=0)}return a.join("")+i.slice(c)}function Vt(i,a,r,c){const s=c?c-1:Number.POSITIVE_INFINITY;let f=0;return d;function d(g){return Nt(g)?(i.enter(r),m(g)):a(g)}function m(g){return Nt(g)&&f++<s?(i.consume(g),m):(i.exit(r),a(g))}}const lg={tokenize:ig};function ig(i){const a=i.attempt(this.parser.constructs.contentInitial,c,s);let r;return a;function c(m){if(m===null){i.consume(m);return}return i.enter("lineEnding"),i.consume(m),i.exit("lineEnding"),Vt(i,a,"linePrefix")}function s(m){return i.enter("paragraph"),f(m)}function f(m){const g=i.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=g),r=g,d(m)}function d(m){if(m===null){i.exit("chunkText"),i.exit("paragraph"),i.consume(m);return}return gt(m)?(i.consume(m),i.exit("chunkText"),f):(i.consume(m),d)}}const ag={tokenize:ug},Is={tokenize:rg};function ug(i){const a=this,r=[];let c=0,s,f,d;return m;function m(V){if(c<r.length){const st=r[c];return a.containerState=st[1],i.attempt(st[0].continuation,g,p)(V)}return p(V)}function g(V){if(c++,a.containerState._closeFlow){a.containerState._closeFlow=void 0,s&&tt();const st=a.events.length;let dt=st,N;for(;dt--;)if(a.events[dt][0]==="exit"&&a.events[dt][1].type==="chunkFlow"){N=a.events[dt][1].end;break}H(c);let K=st;for(;K<a.events.length;)a.events[K][1].end={...N},K++;return en(a.events,dt+1,0,a.events.slice(st)),a.events.length=K,p(V)}return m(V)}function p(V){if(c===r.length){if(!s)return z(V);if(s.currentConstruct&&s.currentConstruct.concrete)return Q(V);a.interrupt=!!(s.currentConstruct&&!s._gfmTableDynamicInterruptHack)}return a.containerState={},i.check(Is,x,S)(V)}function x(V){return s&&tt(),H(c),z(V)}function S(V){return a.parser.lazy[a.now().line]=c!==r.length,d=a.now().offset,Q(V)}function z(V){return a.containerState={},i.attempt(Is,E,Q)(V)}function E(V){return c++,r.push([a.currentConstruct,a.containerState]),z(V)}function Q(V){if(V===null){s&&tt(),H(0),i.consume(V);return}return s=s||a.parser.flow(a.now()),i.enter("chunkFlow",{_tokenizer:s,contentType:"flow",previous:f}),G(V)}function G(V){if(V===null){I(i.exit("chunkFlow"),!0),H(0),i.consume(V);return}return gt(V)?(i.consume(V),I(i.exit("chunkFlow")),c=0,a.interrupt=void 0,m):(i.consume(V),G)}function I(V,st){const dt=a.sliceStream(V);if(st&&dt.push(null),V.previous=f,f&&(f.next=V),f=V,s.defineSkip(V.start),s.write(dt),a.parser.lazy[V.start.line]){let N=s.events.length;for(;N--;)if(s.events[N][1].start.offset<d&&(!s.events[N][1].end||s.events[N][1].end.offset>d))return;const K=a.events.length;let ut=K,ft,pt;for(;ut--;)if(a.events[ut][0]==="exit"&&a.events[ut][1].type==="chunkFlow"){if(ft){pt=a.events[ut][1].end;break}ft=!0}for(H(c),N=K;N<a.events.length;)a.events[N][1].end={...pt},N++;en(a.events,ut+1,0,a.events.slice(K)),a.events.length=N}}function H(V){let st=r.length;for(;st-- >V;){const dt=r[st];a.containerState=dt[1],dt[0].exit.call(a,i)}r.length=V}function tt(){s.write([null]),f=void 0,s=void 0,a.containerState._closeFlow=void 0}}function rg(i,a,r){return Vt(i,i.attempt(this.parser.constructs.document,a,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function $s(i){if(i===null||xe(i)||ng(i))return 1;if(eg(i))return 2}function Er(i,a,r){const c=[];let s=-1;for(;++s<i.length;){const f=i[s].resolveAll;f&&!c.includes(f)&&(a=f(a,r),c.push(f))}return a}const Tr={name:"attention",resolveAll:cg,tokenize:og};function cg(i,a){let r=-1,c,s,f,d,m,g,p,x;for(;++r<i.length;)if(i[r][0]==="enter"&&i[r][1].type==="attentionSequence"&&i[r][1]._close){for(c=r;c--;)if(i[c][0]==="exit"&&i[c][1].type==="attentionSequence"&&i[c][1]._open&&a.sliceSerialize(i[c][1]).charCodeAt(0)===a.sliceSerialize(i[r][1]).charCodeAt(0)){if((i[c][1]._close||i[r][1]._open)&&(i[r][1].end.offset-i[r][1].start.offset)%3&&!((i[c][1].end.offset-i[c][1].start.offset+i[r][1].end.offset-i[r][1].start.offset)%3))continue;g=i[c][1].end.offset-i[c][1].start.offset>1&&i[r][1].end.offset-i[r][1].start.offset>1?2:1;const S={...i[c][1].end},z={...i[r][1].start};Ws(S,-g),Ws(z,g),d={type:g>1?"strongSequence":"emphasisSequence",start:S,end:{...i[c][1].end}},m={type:g>1?"strongSequence":"emphasisSequence",start:{...i[r][1].start},end:z},f={type:g>1?"strongText":"emphasisText",start:{...i[c][1].end},end:{...i[r][1].start}},s={type:g>1?"strong":"emphasis",start:{...d.start},end:{...m.end}},i[c][1].end={...d.start},i[r][1].start={...m.end},p=[],i[c][1].end.offset-i[c][1].start.offset&&(p=qe(p,[["enter",i[c][1],a],["exit",i[c][1],a]])),p=qe(p,[["enter",s,a],["enter",d,a],["exit",d,a],["enter",f,a]]),p=qe(p,Er(a.parser.constructs.insideSpan.null,i.slice(c+1,r),a)),p=qe(p,[["exit",f,a],["enter",m,a],["exit",m,a],["exit",s,a]]),i[r][1].end.offset-i[r][1].start.offset?(x=2,p=qe(p,[["enter",i[r][1],a],["exit",i[r][1],a]])):x=0,en(i,c-1,r-c+3,p),r=c+p.length-x-2;break}}for(r=-1;++r<i.length;)i[r][1].type==="attentionSequence"&&(i[r][1].type="data");return i}function og(i,a){const r=this.parser.constructs.attentionMarkers.null,c=this.previous,s=$s(c);let f;return d;function d(g){return f=g,i.enter("attentionSequence"),m(g)}function m(g){if(g===f)return i.consume(g),m;const p=i.exit("attentionSequence"),x=$s(g),S=!x||x===2&&s||r.includes(g),z=!s||s===2&&x||r.includes(c);return p._open=!!(f===42?S:S&&(s||!z)),p._close=!!(f===42?z:z&&(x||!S)),a(g)}}function Ws(i,a){i.column+=a,i.offset+=a,i._bufferIndex+=a}const sg={name:"autolink",tokenize:fg};function fg(i,a,r){let c=0;return s;function s(E){return i.enter("autolink"),i.enter("autolinkMarker"),i.consume(E),i.exit("autolinkMarker"),i.enter("autolinkProtocol"),f}function f(E){return nn(E)?(i.consume(E),d):E===64?r(E):p(E)}function d(E){return E===43||E===45||E===46||we(E)?(c=1,m(E)):p(E)}function m(E){return E===58?(i.consume(E),c=0,g):(E===43||E===45||E===46||we(E))&&c++<32?(i.consume(E),m):(c=0,p(E))}function g(E){return E===62?(i.exit("autolinkProtocol"),i.enter("autolinkMarker"),i.consume(E),i.exit("autolinkMarker"),i.exit("autolink"),a):E===null||E===32||E===60||br(E)?r(E):(i.consume(E),g)}function p(E){return E===64?(i.consume(E),x):Wy(E)?(i.consume(E),p):r(E)}function x(E){return we(E)?S(E):r(E)}function S(E){return E===46?(i.consume(E),c=0,x):E===62?(i.exit("autolinkProtocol").type="autolinkEmail",i.enter("autolinkMarker"),i.consume(E),i.exit("autolinkMarker"),i.exit("autolink"),a):z(E)}function z(E){if((E===45||we(E))&&c++<63){const Q=E===45?z:S;return i.consume(E),Q}return r(E)}}const Ea={partial:!0,tokenize:hg};function hg(i,a,r){return c;function c(f){return Nt(f)?Vt(i,s,"linePrefix")(f):s(f)}function s(f){return f===null||gt(f)?a(f):r(f)}}const Ps={continuation:{tokenize:pg},exit:mg,name:"blockQuote",tokenize:dg};function dg(i,a,r){const c=this;return s;function s(d){if(d===62){const m=c.containerState;return m.open||(i.enter("blockQuote",{_container:!0}),m.open=!0),i.enter("blockQuotePrefix"),i.enter("blockQuoteMarker"),i.consume(d),i.exit("blockQuoteMarker"),f}return r(d)}function f(d){return Nt(d)?(i.enter("blockQuotePrefixWhitespace"),i.consume(d),i.exit("blockQuotePrefixWhitespace"),i.exit("blockQuotePrefix"),a):(i.exit("blockQuotePrefix"),a(d))}}function pg(i,a,r){const c=this;return s;function s(d){return Nt(d)?Vt(i,f,"linePrefix",c.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(d):f(d)}function f(d){return i.attempt(Ps,a,r)(d)}}function mg(i){i.exit("blockQuote")}const tf={name:"characterEscape",tokenize:yg};function yg(i,a,r){return c;function c(f){return i.enter("characterEscape"),i.enter("escapeMarker"),i.consume(f),i.exit("escapeMarker"),s}function s(f){return tg(f)?(i.enter("characterEscapeValue"),i.consume(f),i.exit("characterEscapeValue"),i.exit("characterEscape"),a):r(f)}}const ef={name:"characterReference",tokenize:gg};function gg(i,a,r){const c=this;let s=0,f,d;return m;function m(S){return i.enter("characterReference"),i.enter("characterReferenceMarker"),i.consume(S),i.exit("characterReferenceMarker"),g}function g(S){return S===35?(i.enter("characterReferenceMarkerNumeric"),i.consume(S),i.exit("characterReferenceMarkerNumeric"),p):(i.enter("characterReferenceValue"),f=31,d=we,x(S))}function p(S){return S===88||S===120?(i.enter("characterReferenceMarkerHexadecimal"),i.consume(S),i.exit("characterReferenceMarkerHexadecimal"),i.enter("characterReferenceValue"),f=6,d=Py,x):(i.enter("characterReferenceValue"),f=7,d=Sr,x(S))}function x(S){if(S===59&&s){const z=i.exit("characterReferenceValue");return d===we&&!xr(c.sliceSerialize(z))?r(S):(i.enter("characterReferenceMarker"),i.consume(S),i.exit("characterReferenceMarker"),i.exit("characterReference"),a)}return d(S)&&s++<f?(i.consume(S),x):r(S)}}const nf={partial:!0,tokenize:xg},lf={concrete:!0,name:"codeFenced",tokenize:vg};function vg(i,a,r){const c=this,s={partial:!0,tokenize:dt};let f=0,d=0,m;return g;function g(N){return p(N)}function p(N){const K=c.events[c.events.length-1];return f=K&&K[1].type==="linePrefix"?K[2].sliceSerialize(K[1],!0).length:0,m=N,i.enter("codeFenced"),i.enter("codeFencedFence"),i.enter("codeFencedFenceSequence"),x(N)}function x(N){return N===m?(d++,i.consume(N),x):d<3?r(N):(i.exit("codeFencedFenceSequence"),Nt(N)?Vt(i,S,"whitespace")(N):S(N))}function S(N){return N===null||gt(N)?(i.exit("codeFencedFence"),c.interrupt?a(N):i.check(nf,G,st)(N)):(i.enter("codeFencedFenceInfo"),i.enter("chunkString",{contentType:"string"}),z(N))}function z(N){return N===null||gt(N)?(i.exit("chunkString"),i.exit("codeFencedFenceInfo"),S(N)):Nt(N)?(i.exit("chunkString"),i.exit("codeFencedFenceInfo"),Vt(i,E,"whitespace")(N)):N===96&&N===m?r(N):(i.consume(N),z)}function E(N){return N===null||gt(N)?S(N):(i.enter("codeFencedFenceMeta"),i.enter("chunkString",{contentType:"string"}),Q(N))}function Q(N){return N===null||gt(N)?(i.exit("chunkString"),i.exit("codeFencedFenceMeta"),S(N)):N===96&&N===m?r(N):(i.consume(N),Q)}function G(N){return i.attempt(s,st,I)(N)}function I(N){return i.enter("lineEnding"),i.consume(N),i.exit("lineEnding"),H}function H(N){return f>0&&Nt(N)?Vt(i,tt,"linePrefix",f+1)(N):tt(N)}function tt(N){return N===null||gt(N)?i.check(nf,G,st)(N):(i.enter("codeFlowValue"),V(N))}function V(N){return N===null||gt(N)?(i.exit("codeFlowValue"),tt(N)):(i.consume(N),V)}function st(N){return i.exit("codeFenced"),a(N)}function dt(N,K,ut){let ft=0;return pt;function pt(J){return N.enter("lineEnding"),N.consume(J),N.exit("lineEnding"),nt}function nt(J){return N.enter("codeFencedFence"),Nt(J)?Vt(N,U,"linePrefix",c.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(J):U(J)}function U(J){return J===m?(N.enter("codeFencedFenceSequence"),lt(J)):ut(J)}function lt(J){return J===m?(ft++,N.consume(J),lt):ft>=d?(N.exit("codeFencedFenceSequence"),Nt(J)?Vt(N,et,"whitespace")(J):et(J)):ut(J)}function et(J){return J===null||gt(J)?(N.exit("codeFencedFence"),K(J)):ut(J)}}}function xg(i,a,r){const c=this;return s;function s(d){return d===null?r(d):(i.enter("lineEnding"),i.consume(d),i.exit("lineEnding"),f)}function f(d){return c.parser.lazy[c.now().line]?r(d):a(d)}}const zr={name:"codeIndented",tokenize:Sg},bg={partial:!0,tokenize:Eg};function Sg(i,a,r){const c=this;return s;function s(p){return i.enter("codeIndented"),Vt(i,f,"linePrefix",5)(p)}function f(p){const x=c.events[c.events.length-1];return x&&x[1].type==="linePrefix"&&x[2].sliceSerialize(x[1],!0).length>=4?d(p):r(p)}function d(p){return p===null?g(p):gt(p)?i.attempt(bg,d,g)(p):(i.enter("codeFlowValue"),m(p))}function m(p){return p===null||gt(p)?(i.exit("codeFlowValue"),d(p)):(i.consume(p),m)}function g(p){return i.exit("codeIndented"),a(p)}}function Eg(i,a,r){const c=this;return s;function s(d){return c.parser.lazy[c.now().line]?r(d):gt(d)?(i.enter("lineEnding"),i.consume(d),i.exit("lineEnding"),s):Vt(i,f,"linePrefix",5)(d)}function f(d){const m=c.events[c.events.length-1];return m&&m[1].type==="linePrefix"&&m[2].sliceSerialize(m[1],!0).length>=4?a(d):gt(d)?s(d):r(d)}}const Tg={name:"codeText",previous:Ag,resolve:zg,tokenize:Cg};function zg(i){let a=i.length-4,r=3,c,s;if((i[r][1].type==="lineEnding"||i[r][1].type==="space")&&(i[a][1].type==="lineEnding"||i[a][1].type==="space")){for(c=r;++c<a;)if(i[c][1].type==="codeTextData"){i[r][1].type="codeTextPadding",i[a][1].type="codeTextPadding",r+=2,a-=2;break}}for(c=r-1,a++;++c<=a;)s===void 0?c!==a&&i[c][1].type!=="lineEnding"&&(s=c):(c===a||i[c][1].type==="lineEnding")&&(i[s][1].type="codeTextData",c!==s+2&&(i[s][1].end=i[c-1][1].end,i.splice(s+2,c-s-2),a-=c-s-2,c=s+2),s=void 0);return i}function Ag(i){return i!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Cg(i,a,r){let c=0,s,f;return d;function d(S){return i.enter("codeText"),i.enter("codeTextSequence"),m(S)}function m(S){return S===96?(i.consume(S),c++,m):(i.exit("codeTextSequence"),g(S))}function g(S){return S===null?r(S):S===32?(i.enter("space"),i.consume(S),i.exit("space"),g):S===96?(f=i.enter("codeTextSequence"),s=0,x(S)):gt(S)?(i.enter("lineEnding"),i.consume(S),i.exit("lineEnding"),g):(i.enter("codeTextData"),p(S))}function p(S){return S===null||S===32||S===96||gt(S)?(i.exit("codeTextData"),g(S)):(i.consume(S),p)}function x(S){return S===96?(i.consume(S),s++,x):s===c?(i.exit("codeTextSequence"),i.exit("codeText"),a(S)):(f.type="codeTextData",p(S))}}class _g{constructor(a){this.left=a?[...a]:[],this.right=[]}get(a){if(a<0||a>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+a+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return a<this.left.length?this.left[a]:this.right[this.right.length-a+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(a,r){const c=r??Number.POSITIVE_INFINITY;return c<this.left.length?this.left.slice(a,c):a>this.left.length?this.right.slice(this.right.length-c+this.left.length,this.right.length-a+this.left.length).reverse():this.left.slice(a).concat(this.right.slice(this.right.length-c+this.left.length).reverse())}splice(a,r,c){const s=r||0;this.setCursor(Math.trunc(a));const f=this.right.splice(this.right.length-s,Number.POSITIVE_INFINITY);return c&&zi(this.left,c),f.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(a){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(a)}pushMany(a){this.setCursor(Number.POSITIVE_INFINITY),zi(this.left,a)}unshift(a){this.setCursor(0),this.right.push(a)}unshiftMany(a){this.setCursor(0),zi(this.right,a.reverse())}setCursor(a){if(!(a===this.left.length||a>this.left.length&&this.right.length===0||a<0&&this.left.length===0))if(a<this.left.length){const r=this.left.splice(a,Number.POSITIVE_INFINITY);zi(this.right,r.reverse())}else{const r=this.right.splice(this.left.length+this.right.length-a,Number.POSITIVE_INFINITY);zi(this.left,r.reverse())}}}function zi(i,a){let r=0;if(a.length<1e4)i.push(...a);else for(;r<a.length;)i.push(...a.slice(r,r+1e4)),r+=1e4}function af(i){const a={};let r=-1,c,s,f,d,m,g,p;const x=new _g(i);for(;++r<x.length;){for(;r in a;)r=a[r];if(c=x.get(r),r&&c[1].type==="chunkFlow"&&x.get(r-1)[1].type==="listItemPrefix"&&(g=c[1]._tokenizer.events,f=0,f<g.length&&g[f][1].type==="lineEndingBlank"&&(f+=2),f<g.length&&g[f][1].type==="content"))for(;++f<g.length&&g[f][1].type!=="content";)g[f][1].type==="chunkText"&&(g[f][1]._isInFirstContentOfListItem=!0,f++);if(c[0]==="enter")c[1].contentType&&(Object.assign(a,Og(x,r)),r=a[r],p=!0);else if(c[1]._container){for(f=r,s=void 0;f--;)if(d=x.get(f),d[1].type==="lineEnding"||d[1].type==="lineEndingBlank")d[0]==="enter"&&(s&&(x.get(s)[1].type="lineEndingBlank"),d[1].type="lineEnding",s=f);else if(!(d[1].type==="linePrefix"||d[1].type==="listItemIndent"))break;s&&(c[1].end={...x.get(s)[1].start},m=x.slice(s,r),m.unshift(c),x.splice(s,r-s+1,m))}}return en(i,0,Number.POSITIVE_INFINITY,x.slice(0)),!p}function Og(i,a){const r=i.get(a)[1],c=i.get(a)[2];let s=a-1;const f=[];let d=r._tokenizer;d||(d=c.parser[r.contentType](r.start),r._contentTypeTextTrailing&&(d._contentTypeTextTrailing=!0));const m=d.events,g=[],p={};let x,S,z=-1,E=r,Q=0,G=0;const I=[G];for(;E;){for(;i.get(++s)[1]!==E;);f.push(s),E._tokenizer||(x=c.sliceStream(E),E.next||x.push(null),S&&d.defineSkip(E.start),E._isInFirstContentOfListItem&&(d._gfmTasklistFirstContentOfListItem=!0),d.write(x),E._isInFirstContentOfListItem&&(d._gfmTasklistFirstContentOfListItem=void 0)),S=E,E=E.next}for(E=r;++z<m.length;)m[z][0]==="exit"&&m[z-1][0]==="enter"&&m[z][1].type===m[z-1][1].type&&m[z][1].start.line!==m[z][1].end.line&&(G=z+1,I.push(G),E._tokenizer=void 0,E.previous=void 0,E=E.next);for(d.events=[],E?(E._tokenizer=void 0,E.previous=void 0):I.pop(),z=I.length;z--;){const H=m.slice(I[z],I[z+1]),tt=f.pop();g.push([tt,tt+H.length-1]),i.splice(tt,2,H)}for(g.reverse(),z=-1;++z<g.length;)p[Q+g[z][0]]=Q+g[z][1],Q+=g[z][1]-g[z][0]-1;return p}const Mg={resolve:wg,tokenize:Rg},Dg={partial:!0,tokenize:kg};function wg(i){return af(i),i}function Rg(i,a){let r;return c;function c(m){return i.enter("content"),r=i.enter("chunkContent",{contentType:"content"}),s(m)}function s(m){return m===null?f(m):gt(m)?i.check(Dg,d,f)(m):(i.consume(m),s)}function f(m){return i.exit("chunkContent"),i.exit("content"),a(m)}function d(m){return i.consume(m),i.exit("chunkContent"),r.next=i.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,s}}function kg(i,a,r){const c=this;return s;function s(d){return i.exit("chunkContent"),i.enter("lineEnding"),i.consume(d),i.exit("lineEnding"),Vt(i,f,"linePrefix")}function f(d){if(d===null||gt(d))return r(d);const m=c.events[c.events.length-1];return!c.parser.constructs.disable.null.includes("codeIndented")&&m&&m[1].type==="linePrefix"&&m[2].sliceSerialize(m[1],!0).length>=4?a(d):i.interrupt(c.parser.constructs.flow,r,a)(d)}}function uf(i,a,r,c,s,f,d,m,g){const p=g||Number.POSITIVE_INFINITY;let x=0;return S;function S(H){return H===60?(i.enter(c),i.enter(s),i.enter(f),i.consume(H),i.exit(f),z):H===null||H===32||H===41||br(H)?r(H):(i.enter(c),i.enter(d),i.enter(m),i.enter("chunkString",{contentType:"string"}),G(H))}function z(H){return H===62?(i.enter(f),i.consume(H),i.exit(f),i.exit(s),i.exit(c),a):(i.enter(m),i.enter("chunkString",{contentType:"string"}),E(H))}function E(H){return H===62?(i.exit("chunkString"),i.exit(m),z(H)):H===null||H===60||gt(H)?r(H):(i.consume(H),H===92?Q:E)}function Q(H){return H===60||H===62||H===92?(i.consume(H),E):E(H)}function G(H){return!x&&(H===null||H===41||xe(H))?(i.exit("chunkString"),i.exit(m),i.exit(d),i.exit(c),a(H)):x<p&&H===40?(i.consume(H),x++,G):H===41?(i.consume(H),x--,G):H===null||H===32||H===40||br(H)?r(H):(i.consume(H),H===92?I:G)}function I(H){return H===40||H===41||H===92?(i.consume(H),G):G(H)}}function rf(i,a,r,c,s,f){const d=this;let m=0,g;return p;function p(E){return i.enter(c),i.enter(s),i.consume(E),i.exit(s),i.enter(f),x}function x(E){return m>999||E===null||E===91||E===93&&!g||E===94&&!m&&"_hiddenFootnoteSupport"in d.parser.constructs?r(E):E===93?(i.exit(f),i.enter(s),i.consume(E),i.exit(s),i.exit(c),a):gt(E)?(i.enter("lineEnding"),i.consume(E),i.exit("lineEnding"),x):(i.enter("chunkString",{contentType:"string"}),S(E))}function S(E){return E===null||E===91||E===93||gt(E)||m++>999?(i.exit("chunkString"),x(E)):(i.consume(E),g||(g=!Nt(E)),E===92?z:S)}function z(E){return E===91||E===92||E===93?(i.consume(E),m++,S):S(E)}}function cf(i,a,r,c,s,f){let d;return m;function m(z){return z===34||z===39||z===40?(i.enter(c),i.enter(s),i.consume(z),i.exit(s),d=z===40?41:z,g):r(z)}function g(z){return z===d?(i.enter(s),i.consume(z),i.exit(s),i.exit(c),a):(i.enter(f),p(z))}function p(z){return z===d?(i.exit(f),g(d)):z===null?r(z):gt(z)?(i.enter("lineEnding"),i.consume(z),i.exit("lineEnding"),Vt(i,p,"linePrefix")):(i.enter("chunkString",{contentType:"string"}),x(z))}function x(z){return z===d||z===null||gt(z)?(i.exit("chunkString"),p(z)):(i.consume(z),z===92?S:x)}function S(z){return z===d||z===92?(i.consume(z),x):x(z)}}function Ai(i,a){let r;return c;function c(s){return gt(s)?(i.enter("lineEnding"),i.consume(s),i.exit("lineEnding"),r=!0,c):Nt(s)?Vt(i,c,r?"linePrefix":"lineSuffix")(s):a(s)}}const Ng={name:"definition",tokenize:Ug},jg={partial:!0,tokenize:Bg};function Ug(i,a,r){const c=this;let s;return f;function f(E){return i.enter("definition"),d(E)}function d(E){return rf.call(c,i,m,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(E)}function m(E){return s=Al(c.sliceSerialize(c.events[c.events.length-1][1]).slice(1,-1)),E===58?(i.enter("definitionMarker"),i.consume(E),i.exit("definitionMarker"),g):r(E)}function g(E){return xe(E)?Ai(i,p)(E):p(E)}function p(E){return uf(i,x,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(E)}function x(E){return i.attempt(jg,S,S)(E)}function S(E){return Nt(E)?Vt(i,z,"whitespace")(E):z(E)}function z(E){return E===null||gt(E)?(i.exit("definition"),c.parser.defined.push(s),a(E)):r(E)}}function Bg(i,a,r){return c;function c(m){return xe(m)?Ai(i,s)(m):r(m)}function s(m){return cf(i,f,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(m)}function f(m){return Nt(m)?Vt(i,d,"whitespace")(m):d(m)}function d(m){return m===null||gt(m)?a(m):r(m)}}const Hg={name:"hardBreakEscape",tokenize:Lg};function Lg(i,a,r){return c;function c(f){return i.enter("hardBreakEscape"),i.consume(f),s}function s(f){return gt(f)?(i.exit("hardBreakEscape"),a(f)):r(f)}}const qg={name:"headingAtx",resolve:Yg,tokenize:Xg};function Yg(i,a){let r=i.length-2,c=3,s,f;return i[c][1].type==="whitespace"&&(c+=2),r-2>c&&i[r][1].type==="whitespace"&&(r-=2),i[r][1].type==="atxHeadingSequence"&&(c===r-1||r-4>c&&i[r-2][1].type==="whitespace")&&(r-=c+1===r?2:4),r>c&&(s={type:"atxHeadingText",start:i[c][1].start,end:i[r][1].end},f={type:"chunkText",start:i[c][1].start,end:i[r][1].end,contentType:"text"},en(i,c,r-c+1,[["enter",s,a],["enter",f,a],["exit",f,a],["exit",s,a]])),i}function Xg(i,a,r){let c=0;return s;function s(x){return i.enter("atxHeading"),f(x)}function f(x){return i.enter("atxHeadingSequence"),d(x)}function d(x){return x===35&&c++<6?(i.consume(x),d):x===null||xe(x)?(i.exit("atxHeadingSequence"),m(x)):r(x)}function m(x){return x===35?(i.enter("atxHeadingSequence"),g(x)):x===null||gt(x)?(i.exit("atxHeading"),a(x)):Nt(x)?Vt(i,m,"whitespace")(x):(i.enter("atxHeadingText"),p(x))}function g(x){return x===35?(i.consume(x),g):(i.exit("atxHeadingSequence"),m(x))}function p(x){return x===null||x===35||xe(x)?(i.exit("atxHeadingText"),m(x)):(i.consume(x),p)}}const Gg=["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"],of=["pre","script","style","textarea"],Qg={concrete:!0,name:"htmlFlow",resolveTo:Kg,tokenize:Jg},Vg={partial:!0,tokenize:Ig},Zg={partial:!0,tokenize:Fg};function Kg(i){let a=i.length;for(;a--&&!(i[a][0]==="enter"&&i[a][1].type==="htmlFlow"););return a>1&&i[a-2][1].type==="linePrefix"&&(i[a][1].start=i[a-2][1].start,i[a+1][1].start=i[a-2][1].start,i.splice(a-2,2)),i}function Jg(i,a,r){const c=this;let s,f,d,m,g;return p;function p(b){return x(b)}function x(b){return i.enter("htmlFlow"),i.enter("htmlFlowData"),i.consume(b),S}function S(b){return b===33?(i.consume(b),z):b===47?(i.consume(b),f=!0,G):b===63?(i.consume(b),s=3,c.interrupt?a:T):nn(b)?(i.consume(b),d=String.fromCharCode(b),I):r(b)}function z(b){return b===45?(i.consume(b),s=2,E):b===91?(i.consume(b),s=5,m=0,Q):nn(b)?(i.consume(b),s=4,c.interrupt?a:T):r(b)}function E(b){return b===45?(i.consume(b),c.interrupt?a:T):r(b)}function Q(b){const Y="CDATA[";return b===Y.charCodeAt(m++)?(i.consume(b),m===Y.length?c.interrupt?a:U:Q):r(b)}function G(b){return nn(b)?(i.consume(b),d=String.fromCharCode(b),I):r(b)}function I(b){if(b===null||b===47||b===62||xe(b)){const Y=b===47,W=d.toLowerCase();return!Y&&!f&&of.includes(W)?(s=1,c.interrupt?a(b):U(b)):Gg.includes(d.toLowerCase())?(s=6,Y?(i.consume(b),H):c.interrupt?a(b):U(b)):(s=7,c.interrupt&&!c.parser.lazy[c.now().line]?r(b):f?tt(b):V(b))}return b===45||we(b)?(i.consume(b),d+=String.fromCharCode(b),I):r(b)}function H(b){return b===62?(i.consume(b),c.interrupt?a:U):r(b)}function tt(b){return Nt(b)?(i.consume(b),tt):pt(b)}function V(b){return b===47?(i.consume(b),pt):b===58||b===95||nn(b)?(i.consume(b),st):Nt(b)?(i.consume(b),V):pt(b)}function st(b){return b===45||b===46||b===58||b===95||we(b)?(i.consume(b),st):dt(b)}function dt(b){return b===61?(i.consume(b),N):Nt(b)?(i.consume(b),dt):V(b)}function N(b){return b===null||b===60||b===61||b===62||b===96?r(b):b===34||b===39?(i.consume(b),g=b,K):Nt(b)?(i.consume(b),N):ut(b)}function K(b){return b===g?(i.consume(b),g=null,ft):b===null||gt(b)?r(b):(i.consume(b),K)}function ut(b){return b===null||b===34||b===39||b===47||b===60||b===61||b===62||b===96||xe(b)?dt(b):(i.consume(b),ut)}function ft(b){return b===47||b===62||Nt(b)?V(b):r(b)}function pt(b){return b===62?(i.consume(b),nt):r(b)}function nt(b){return b===null||gt(b)?U(b):Nt(b)?(i.consume(b),nt):r(b)}function U(b){return b===45&&s===2?(i.consume(b),M):b===60&&s===1?(i.consume(b),Z):b===62&&s===4?(i.consume(b),y):b===63&&s===3?(i.consume(b),T):b===93&&s===5?(i.consume(b),ot):gt(b)&&(s===6||s===7)?(i.exit("htmlFlowData"),i.check(Vg,C,lt)(b)):b===null||gt(b)?(i.exit("htmlFlowData"),lt(b)):(i.consume(b),U)}function lt(b){return i.check(Zg,et,C)(b)}function et(b){return i.enter("lineEnding"),i.consume(b),i.exit("lineEnding"),J}function J(b){return b===null||gt(b)?lt(b):(i.enter("htmlFlowData"),U(b))}function M(b){return b===45?(i.consume(b),T):U(b)}function Z(b){return b===47?(i.consume(b),d="",at):U(b)}function at(b){if(b===62){const Y=d.toLowerCase();return of.includes(Y)?(i.consume(b),y):U(b)}return nn(b)&&d.length<8?(i.consume(b),d+=String.fromCharCode(b),at):U(b)}function ot(b){return b===93?(i.consume(b),T):U(b)}function T(b){return b===62?(i.consume(b),y):b===45&&s===2?(i.consume(b),T):U(b)}function y(b){return b===null||gt(b)?(i.exit("htmlFlowData"),C(b)):(i.consume(b),y)}function C(b){return i.exit("htmlFlow"),a(b)}}function Fg(i,a,r){const c=this;return s;function s(d){return gt(d)?(i.enter("lineEnding"),i.consume(d),i.exit("lineEnding"),f):r(d)}function f(d){return c.parser.lazy[c.now().line]?r(d):a(d)}}function Ig(i,a,r){return c;function c(s){return i.enter("lineEnding"),i.consume(s),i.exit("lineEnding"),i.attempt(Ea,a,r)}}const $g={name:"htmlText",tokenize:Wg};function Wg(i,a,r){const c=this;let s,f,d;return m;function m(T){return i.enter("htmlText"),i.enter("htmlTextData"),i.consume(T),g}function g(T){return T===33?(i.consume(T),p):T===47?(i.consume(T),dt):T===63?(i.consume(T),V):nn(T)?(i.consume(T),ut):r(T)}function p(T){return T===45?(i.consume(T),x):T===91?(i.consume(T),f=0,Q):nn(T)?(i.consume(T),tt):r(T)}function x(T){return T===45?(i.consume(T),E):r(T)}function S(T){return T===null?r(T):T===45?(i.consume(T),z):gt(T)?(d=S,Z(T)):(i.consume(T),S)}function z(T){return T===45?(i.consume(T),E):S(T)}function E(T){return T===62?M(T):T===45?z(T):S(T)}function Q(T){const y="CDATA[";return T===y.charCodeAt(f++)?(i.consume(T),f===y.length?G:Q):r(T)}function G(T){return T===null?r(T):T===93?(i.consume(T),I):gt(T)?(d=G,Z(T)):(i.consume(T),G)}function I(T){return T===93?(i.consume(T),H):G(T)}function H(T){return T===62?M(T):T===93?(i.consume(T),H):G(T)}function tt(T){return T===null||T===62?M(T):gt(T)?(d=tt,Z(T)):(i.consume(T),tt)}function V(T){return T===null?r(T):T===63?(i.consume(T),st):gt(T)?(d=V,Z(T)):(i.consume(T),V)}function st(T){return T===62?M(T):V(T)}function dt(T){return nn(T)?(i.consume(T),N):r(T)}function N(T){return T===45||we(T)?(i.consume(T),N):K(T)}function K(T){return gt(T)?(d=K,Z(T)):Nt(T)?(i.consume(T),K):M(T)}function ut(T){return T===45||we(T)?(i.consume(T),ut):T===47||T===62||xe(T)?ft(T):r(T)}function ft(T){return T===47?(i.consume(T),M):T===58||T===95||nn(T)?(i.consume(T),pt):gt(T)?(d=ft,Z(T)):Nt(T)?(i.consume(T),ft):M(T)}function pt(T){return T===45||T===46||T===58||T===95||we(T)?(i.consume(T),pt):nt(T)}function nt(T){return T===61?(i.consume(T),U):gt(T)?(d=nt,Z(T)):Nt(T)?(i.consume(T),nt):ft(T)}function U(T){return T===null||T===60||T===61||T===62||T===96?r(T):T===34||T===39?(i.consume(T),s=T,lt):gt(T)?(d=U,Z(T)):Nt(T)?(i.consume(T),U):(i.consume(T),et)}function lt(T){return T===s?(i.consume(T),s=void 0,J):T===null?r(T):gt(T)?(d=lt,Z(T)):(i.consume(T),lt)}function et(T){return T===null||T===34||T===39||T===60||T===61||T===96?r(T):T===47||T===62||xe(T)?ft(T):(i.consume(T),et)}function J(T){return T===47||T===62||xe(T)?ft(T):r(T)}function M(T){return T===62?(i.consume(T),i.exit("htmlTextData"),i.exit("htmlText"),a):r(T)}function Z(T){return i.exit("htmlTextData"),i.enter("lineEnding"),i.consume(T),i.exit("lineEnding"),at}function at(T){return Nt(T)?Vt(i,ot,"linePrefix",c.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(T):ot(T)}function ot(T){return i.enter("htmlTextData"),d(T)}}const Ar={name:"labelEnd",resolveAll:n0,resolveTo:l0,tokenize:i0},Pg={tokenize:a0},t0={tokenize:u0},e0={tokenize:r0};function n0(i){let a=-1;const r=[];for(;++a<i.length;){const c=i[a][1];if(r.push(i[a]),c.type==="labelImage"||c.type==="labelLink"||c.type==="labelEnd"){const s=c.type==="labelImage"?4:2;c.type="data",a+=s}}return i.length!==r.length&&en(i,0,i.length,r),i}function l0(i,a){let r=i.length,c=0,s,f,d,m;for(;r--;)if(s=i[r][1],f){if(s.type==="link"||s.type==="labelLink"&&s._inactive)break;i[r][0]==="enter"&&s.type==="labelLink"&&(s._inactive=!0)}else if(d){if(i[r][0]==="enter"&&(s.type==="labelImage"||s.type==="labelLink")&&!s._balanced&&(f=r,s.type!=="labelLink")){c=2;break}}else s.type==="labelEnd"&&(d=r);const g={type:i[f][1].type==="labelLink"?"link":"image",start:{...i[f][1].start},end:{...i[i.length-1][1].end}},p={type:"label",start:{...i[f][1].start},end:{...i[d][1].end}},x={type:"labelText",start:{...i[f+c+2][1].end},end:{...i[d-2][1].start}};return m=[["enter",g,a],["enter",p,a]],m=qe(m,i.slice(f+1,f+c+3)),m=qe(m,[["enter",x,a]]),m=qe(m,Er(a.parser.constructs.insideSpan.null,i.slice(f+c+4,d-3),a)),m=qe(m,[["exit",x,a],i[d-2],i[d-1],["exit",p,a]]),m=qe(m,i.slice(d+1)),m=qe(m,[["exit",g,a]]),en(i,f,i.length,m),i}function i0(i,a,r){const c=this;let s=c.events.length,f,d;for(;s--;)if((c.events[s][1].type==="labelImage"||c.events[s][1].type==="labelLink")&&!c.events[s][1]._balanced){f=c.events[s][1];break}return m;function m(z){return f?f._inactive?S(z):(d=c.parser.defined.includes(Al(c.sliceSerialize({start:f.end,end:c.now()}))),i.enter("labelEnd"),i.enter("labelMarker"),i.consume(z),i.exit("labelMarker"),i.exit("labelEnd"),g):r(z)}function g(z){return z===40?i.attempt(Pg,x,d?x:S)(z):z===91?i.attempt(t0,x,d?p:S)(z):d?x(z):S(z)}function p(z){return i.attempt(e0,x,S)(z)}function x(z){return a(z)}function S(z){return f._balanced=!0,r(z)}}function a0(i,a,r){return c;function c(S){return i.enter("resource"),i.enter("resourceMarker"),i.consume(S),i.exit("resourceMarker"),s}function s(S){return xe(S)?Ai(i,f)(S):f(S)}function f(S){return S===41?x(S):uf(i,d,m,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(S)}function d(S){return xe(S)?Ai(i,g)(S):x(S)}function m(S){return r(S)}function g(S){return S===34||S===39||S===40?cf(i,p,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(S):x(S)}function p(S){return xe(S)?Ai(i,x)(S):x(S)}function x(S){return S===41?(i.enter("resourceMarker"),i.consume(S),i.exit("resourceMarker"),i.exit("resource"),a):r(S)}}function u0(i,a,r){const c=this;return s;function s(m){return rf.call(c,i,f,d,"reference","referenceMarker","referenceString")(m)}function f(m){return c.parser.defined.includes(Al(c.sliceSerialize(c.events[c.events.length-1][1]).slice(1,-1)))?a(m):r(m)}function d(m){return r(m)}}function r0(i,a,r){return c;function c(f){return i.enter("reference"),i.enter("referenceMarker"),i.consume(f),i.exit("referenceMarker"),s}function s(f){return f===93?(i.enter("referenceMarker"),i.consume(f),i.exit("referenceMarker"),i.exit("reference"),a):r(f)}}const c0={name:"labelStartImage",resolveAll:Ar.resolveAll,tokenize:o0};function o0(i,a,r){const c=this;return s;function s(m){return i.enter("labelImage"),i.enter("labelImageMarker"),i.consume(m),i.exit("labelImageMarker"),f}function f(m){return m===91?(i.enter("labelMarker"),i.consume(m),i.exit("labelMarker"),i.exit("labelImage"),d):r(m)}function d(m){return m===94&&"_hiddenFootnoteSupport"in c.parser.constructs?r(m):a(m)}}const s0={name:"labelStartLink",resolveAll:Ar.resolveAll,tokenize:f0};function f0(i,a,r){const c=this;return s;function s(d){return i.enter("labelLink"),i.enter("labelMarker"),i.consume(d),i.exit("labelMarker"),i.exit("labelLink"),f}function f(d){return d===94&&"_hiddenFootnoteSupport"in c.parser.constructs?r(d):a(d)}}const Cr={name:"lineEnding",tokenize:h0};function h0(i,a){return r;function r(c){return i.enter("lineEnding"),i.consume(c),i.exit("lineEnding"),Vt(i,a,"linePrefix")}}const Ta={name:"thematicBreak",tokenize:d0};function d0(i,a,r){let c=0,s;return f;function f(p){return i.enter("thematicBreak"),d(p)}function d(p){return s=p,m(p)}function m(p){return p===s?(i.enter("thematicBreakSequence"),g(p)):c>=3&&(p===null||gt(p))?(i.exit("thematicBreak"),a(p)):r(p)}function g(p){return p===s?(i.consume(p),c++,g):(i.exit("thematicBreakSequence"),Nt(p)?Vt(i,m,"whitespace")(p):m(p))}}const be={continuation:{tokenize:g0},exit:x0,name:"list",tokenize:y0},p0={partial:!0,tokenize:b0},m0={partial:!0,tokenize:v0};function y0(i,a,r){const c=this,s=c.events[c.events.length-1];let f=s&&s[1].type==="linePrefix"?s[2].sliceSerialize(s[1],!0).length:0,d=0;return m;function m(E){const Q=c.containerState.type||(E===42||E===43||E===45?"listUnordered":"listOrdered");if(Q==="listUnordered"?!c.containerState.marker||E===c.containerState.marker:Sr(E)){if(c.containerState.type||(c.containerState.type=Q,i.enter(Q,{_container:!0})),Q==="listUnordered")return i.enter("listItemPrefix"),E===42||E===45?i.check(Ta,r,p)(E):p(E);if(!c.interrupt||E===49)return i.enter("listItemPrefix"),i.enter("listItemValue"),g(E)}return r(E)}function g(E){return Sr(E)&&++d<10?(i.consume(E),g):(!c.interrupt||d<2)&&(c.containerState.marker?E===c.containerState.marker:E===41||E===46)?(i.exit("listItemValue"),p(E)):r(E)}function p(E){return i.enter("listItemMarker"),i.consume(E),i.exit("listItemMarker"),c.containerState.marker=c.containerState.marker||E,i.check(Ea,c.interrupt?r:x,i.attempt(p0,z,S))}function x(E){return c.containerState.initialBlankLine=!0,f++,z(E)}function S(E){return Nt(E)?(i.enter("listItemPrefixWhitespace"),i.consume(E),i.exit("listItemPrefixWhitespace"),z):r(E)}function z(E){return c.containerState.size=f+c.sliceSerialize(i.exit("listItemPrefix"),!0).length,a(E)}}function g0(i,a,r){const c=this;return c.containerState._closeFlow=void 0,i.check(Ea,s,f);function s(m){return c.containerState.furtherBlankLines=c.containerState.furtherBlankLines||c.containerState.initialBlankLine,Vt(i,a,"listItemIndent",c.containerState.size+1)(m)}function f(m){return c.containerState.furtherBlankLines||!Nt(m)?(c.containerState.furtherBlankLines=void 0,c.containerState.initialBlankLine=void 0,d(m)):(c.containerState.furtherBlankLines=void 0,c.containerState.initialBlankLine=void 0,i.attempt(m0,a,d)(m))}function d(m){return c.containerState._closeFlow=!0,c.interrupt=void 0,Vt(i,i.attempt(be,a,r),"linePrefix",c.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(m)}}function v0(i,a,r){const c=this;return Vt(i,s,"listItemIndent",c.containerState.size+1);function s(f){const d=c.events[c.events.length-1];return d&&d[1].type==="listItemIndent"&&d[2].sliceSerialize(d[1],!0).length===c.containerState.size?a(f):r(f)}}function x0(i){i.exit(this.containerState.type)}function b0(i,a,r){const c=this;return Vt(i,s,"listItemPrefixWhitespace",c.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function s(f){const d=c.events[c.events.length-1];return!Nt(f)&&d&&d[1].type==="listItemPrefixWhitespace"?a(f):r(f)}}const sf={name:"setextUnderline",resolveTo:S0,tokenize:E0};function S0(i,a){let r=i.length,c,s,f;for(;r--;)if(i[r][0]==="enter"){if(i[r][1].type==="content"){c=r;break}i[r][1].type==="paragraph"&&(s=r)}else i[r][1].type==="content"&&i.splice(r,1),!f&&i[r][1].type==="definition"&&(f=r);const d={type:"setextHeading",start:{...i[c][1].start},end:{...i[i.length-1][1].end}};return i[s][1].type="setextHeadingText",f?(i.splice(s,0,["enter",d,a]),i.splice(f+1,0,["exit",i[c][1],a]),i[c][1].end={...i[f][1].end}):i[c][1]=d,i.push(["exit",d,a]),i}function E0(i,a,r){const c=this;let s;return f;function f(p){let x=c.events.length,S;for(;x--;)if(c.events[x][1].type!=="lineEnding"&&c.events[x][1].type!=="linePrefix"&&c.events[x][1].type!=="content"){S=c.events[x][1].type==="paragraph";break}return!c.parser.lazy[c.now().line]&&(c.interrupt||S)?(i.enter("setextHeadingLine"),s=p,d(p)):r(p)}function d(p){return i.enter("setextHeadingLineSequence"),m(p)}function m(p){return p===s?(i.consume(p),m):(i.exit("setextHeadingLineSequence"),Nt(p)?Vt(i,g,"lineSuffix")(p):g(p))}function g(p){return p===null||gt(p)?(i.exit("setextHeadingLine"),a(p)):r(p)}}const T0={tokenize:z0};function z0(i){const a=this,r=i.attempt(Ea,c,i.attempt(this.parser.constructs.flowInitial,s,Vt(i,i.attempt(this.parser.constructs.flow,s,i.attempt(Mg,s)),"linePrefix")));return r;function c(f){if(f===null){i.consume(f);return}return i.enter("lineEndingBlank"),i.consume(f),i.exit("lineEndingBlank"),a.currentConstruct=void 0,r}function s(f){if(f===null){i.consume(f);return}return i.enter("lineEnding"),i.consume(f),i.exit("lineEnding"),a.currentConstruct=void 0,r}}const A0={resolveAll:hf()},C0=ff("string"),_0=ff("text");function ff(i){return{resolveAll:hf(i==="text"?O0:void 0),tokenize:a};function a(r){const c=this,s=this.parser.constructs[i],f=r.attempt(s,d,m);return d;function d(x){return p(x)?f(x):m(x)}function m(x){if(x===null){r.consume(x);return}return r.enter("data"),r.consume(x),g}function g(x){return p(x)?(r.exit("data"),f(x)):(r.consume(x),g)}function p(x){if(x===null)return!0;const S=s[x];let z=-1;if(S)for(;++z<S.length;){const E=S[z];if(!E.previous||E.previous.call(c,c.previous))return!0}return!1}}}function hf(i){return a;function a(r,c){let s=-1,f;for(;++s<=r.length;)f===void 0?r[s]&&r[s][1].type==="data"&&(f=s,s++):(!r[s]||r[s][1].type!=="data")&&(s!==f+2&&(r[f][1].end=r[s-1][1].end,r.splice(f+2,s-f-2),s=f+2),f=void 0);return i?i(r,c):r}}function O0(i,a){let r=0;for(;++r<=i.length;)if((r===i.length||i[r][1].type==="lineEnding")&&i[r-1][1].type==="data"){const c=i[r-1][1],s=a.sliceStream(c);let f=s.length,d=-1,m=0,g;for(;f--;){const p=s[f];if(typeof p=="string"){for(d=p.length;p.charCodeAt(d-1)===32;)m++,d--;if(d)break;d=-1}else if(p===-2)g=!0,m++;else if(p!==-1){f++;break}}if(a._contentTypeTextTrailing&&r===i.length&&(m=0),m){const p={type:r===i.length||g||m<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:f?d:c.start._bufferIndex+d,_index:c.start._index+f,line:c.end.line,column:c.end.column-m,offset:c.end.offset-m},end:{...c.end}};c.end={...p.start},c.start.offset===c.end.offset?Object.assign(c,p):(i.splice(r,0,["enter",p,a],["exit",p,a]),r+=2)}r++}return i}const M0=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:{91:Ng},disable:{null:[]},document:{42:be,43:be,45:be,48:be,49:be,50:be,51:be,52:be,53:be,54:be,55:be,56:be,57:be,62:Ps},flow:{35:qg,42:Ta,45:[sf,Ta],60:Qg,61:sf,95:Ta,96:lf,126:lf},flowInitial:{[-2]:zr,[-1]:zr,32:zr},insideSpan:{null:[Tr,A0]},string:{38:ef,92:tf},text:{[-5]:Cr,[-4]:Cr,[-3]:Cr,33:c0,38:ef,42:Tr,60:[sg,$g],91:s0,92:[Hg,tf],93:Ar,95:Tr,96:Tg}},Symbol.toStringTag,{value:"Module"}));function D0(i,a,r){let c={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0};const s={},f=[];let d=[],m=[];const g={attempt:K(dt),check:K(N),consume:tt,enter:V,exit:st,interrupt:K(N,{interrupt:!0})},p={code:null,containerState:{},defineSkip:G,events:[],now:Q,parser:i,previous:null,sliceSerialize:z,sliceStream:E,write:S};let x=a.tokenize.call(p,g);return a.resolveAll&&f.push(a),p;function S(nt){return d=qe(d,nt),I(),d[d.length-1]!==null?[]:(ut(a,0),p.events=Er(f,p.events,p),p.events)}function z(nt,U){return R0(E(nt),U)}function E(nt){return w0(d,nt)}function Q(){const{_bufferIndex:nt,_index:U,line:lt,column:et,offset:J}=c;return{_bufferIndex:nt,_index:U,line:lt,column:et,offset:J}}function G(nt){s[nt.line]=nt.column,pt()}function I(){let nt;for(;c._index<d.length;){const U=d[c._index];if(typeof U=="string")for(nt=c._index,c._bufferIndex<0&&(c._bufferIndex=0);c._index===nt&&c._bufferIndex<U.length;)H(U.charCodeAt(c._bufferIndex));else H(U)}}function H(nt){x=x(nt)}function tt(nt){gt(nt)?(c.line++,c.column=1,c.offset+=nt===-3?2:1,pt()):nt!==-1&&(c.column++,c.offset++),c._bufferIndex<0?c._index++:(c._bufferIndex++,c._bufferIndex===d[c._index].length&&(c._bufferIndex=-1,c._index++)),p.previous=nt}function V(nt,U){const lt=U||{};return lt.type=nt,lt.start=Q(),p.events.push(["enter",lt,p]),m.push(lt),lt}function st(nt){const U=m.pop();return U.end=Q(),p.events.push(["exit",U,p]),U}function dt(nt,U){ut(nt,U.from)}function N(nt,U){U.restore()}function K(nt,U){return lt;function lt(et,J,M){let Z,at,ot,T;return Array.isArray(et)?C(et):"tokenize"in et?C([et]):y(et);function y($){return rt;function rt(Dt){const Et=Dt!==null&&$[Dt],Se=Dt!==null&&$.null,on=[...Array.isArray(Et)?Et:Et?[Et]:[],...Array.isArray(Se)?Se:Se?[Se]:[]];return C(on)(Dt)}}function C($){return Z=$,at=0,$.length===0?M:b($[at])}function b($){return rt;function rt(Dt){return T=ft(),ot=$,$.partial||(p.currentConstruct=$),$.name&&p.parser.constructs.disable.null.includes($.name)?W():$.tokenize.call(U?Object.assign(Object.create(p),U):p,g,Y,W)(Dt)}}function Y($){return nt(ot,T),J}function W($){return T.restore(),++at<Z.length?b(Z[at]):M}}}function ut(nt,U){nt.resolveAll&&!f.includes(nt)&&f.push(nt),nt.resolve&&en(p.events,U,p.events.length-U,nt.resolve(p.events.slice(U),p)),nt.resolveTo&&(p.events=nt.resolveTo(p.events,p))}function ft(){const nt=Q(),U=p.previous,lt=p.currentConstruct,et=p.events.length,J=Array.from(m);return{from:et,restore:M};function M(){c=nt,p.previous=U,p.currentConstruct=lt,p.events.length=et,m=J,pt()}}function pt(){c.line in s&&c.column<2&&(c.column=s[c.line],c.offset+=s[c.line]-1)}}function w0(i,a){const r=a.start._index,c=a.start._bufferIndex,s=a.end._index,f=a.end._bufferIndex;let d;if(r===s)d=[i[r].slice(c,f)];else{if(d=i.slice(r,s),c>-1){const m=d[0];typeof m=="string"?d[0]=m.slice(c):d.shift()}f>0&&d.push(i[s].slice(0,f))}return d}function R0(i,a){let r=-1;const c=[];let s;for(;++r<i.length;){const f=i[r];let d;if(typeof f=="string")d=f;else switch(f){case-5:{d="\r";break}case-4:{d=`
|
|
11
11
|
`;break}case-3:{d=`\r
|
|
12
|
-
`;break}case-2:{d=a?" ":" ";break}case-1:{if(!a&&s)continue;d=" ";break}default:d=String.fromCharCode(f)}s=f===-2,c.push(d)}return c.join("")}function R0(i){const c={constructs:Jy([O0,...(i||{}).extensions||[]]),content:s(ng),defined:[],document:s(ig),flow:s(E0),lazy:{},string:s(A0),text:s(_0)};return c;function s(f){return d;function d(m){return M0(c,f,m)}}}function k0(i){for(;!lf(i););return i}const hf=/[\0\t\n\r]/g;function N0(){let i=1,a="",r=!0,c;return s;function s(f,d,m){const g=[];let p,b,x,A,E;for(f=a+(typeof f=="string"?f.toString():new TextDecoder(d||void 0).decode(f)),x=0,a="",r&&(f.charCodeAt(0)===65279&&x++,r=void 0);x<f.length;){if(hf.lastIndex=x,p=hf.exec(f),A=p&&p.index!==void 0?p.index:f.length,E=f.charCodeAt(A),!p){a=f.slice(x);break}if(E===10&&x===A&&c)g.push(-3),c=void 0;else switch(c&&(g.push(-5),c=void 0),x<A&&(g.push(f.slice(x,A)),i+=A-x),E){case 0:{g.push(65533),i++;break}case 9:{for(b=Math.ceil(i/4)*4,g.push(-2);i++<b;)g.push(-1);break}case 10:{g.push(-4),i=1;break}default:c=!0,i=1}x=A+1}return m&&(c&&g.push(-5),a&&g.push(a),g.push(null)),g}}const U0=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function j0(i){return i.replace(U0,B0)}function B0(i,a,r){if(a)return a;if(r.charCodeAt(0)===35){const s=r.charCodeAt(1),f=s===120||s===88;return Js(r.slice(f?2:1),f?16:10)}return br(r)||i}const df={}.hasOwnProperty;function H0(i,a,r){return a&&typeof a=="object"&&(r=a,a=void 0),L0(r)(k0(R0(r).document().write(N0()(i,a,!0))))}function L0(i){const a={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:f(Dl),autolinkProtocol:ct,autolinkEmail:ct,atxHeading:f(Ol),blockQuote:f(xe),characterEscape:ct,characterReference:ct,codeFenced:f(on),codeFencedFenceInfo:d,codeFencedFenceMeta:d,codeIndented:f(on,d),codeText:f(Mi,d),codeTextData:ct,data:ct,codeFlowValue:ct,definition:f(wu),definitionDestinationString:d,definitionLabelString:d,definitionTitleString:d,emphasis:f(sn),hardBreakEscape:f(Ml),hardBreakTrailing:f(Ml),htmlFlow:f(Ru,d),htmlFlowData:ct,htmlText:f(Ru,d),htmlTextData:ct,image:f(ku),label:d,link:f(Dl),listItem:f(Di),listItemValue:A,listOrdered:f(wl,x),listUnordered:f(wl),paragraph:f(Qr),reference:S,referenceString:d,resourceDestinationString:d,resourceTitleString:d,setextHeading:f(Ol),strong:f(Vr),thematicBreak:f(Zr)},exit:{atxHeading:g(),atxHeadingSequence:ht,autolink:g(),autolinkEmail:bt,autolinkProtocol:Mt,blockQuote:g(),characterEscapeValue:dt,characterReferenceMarkerHexadecimal:$,characterReferenceMarkerNumeric:$,characterReferenceValue:F,characterReference:at,codeFenced:g(I),codeFencedFence:V,codeFencedFenceInfo:E,codeFencedFenceMeta:X,codeFlowValue:dt,codeIndented:g(j),codeText:g(J),codeTextData:dt,data:dt,definition:g(),definitionDestinationString:lt,definitionLabelString:nt,definitionTitleString:K,emphasis:g(),hardBreakEscape:g(P),hardBreakTrailing:g(P),htmlFlow:g(xt),htmlFlowData:dt,htmlText:g(et),htmlTextData:dt,image:g(G),label:Et,labelText:ut,lineEnding:tt,link:g(D),listItem:g(),listOrdered:g(),listUnordered:g(),paragraph:g(),referenceString:L,resourceDestinationString:T,resourceTitleString:y,resource:_,setextHeading:g(st),setextHeadingLineSequence:Y,setextHeadingText:N,strong:g(),thematicBreak:g()}};pf(a,(i||{}).mdastExtensions||[]);const r={};return c;function c(B){let W={type:"root",children:[]};const pt={stack:[W],tokenStack:[],config:a,enter:m,exit:p,buffer:d,resume:b,data:r},zt=[];let jt=-1;for(;++jt<B.length;)if(B[jt][1].type==="listOrdered"||B[jt][1].type==="listUnordered")if(B[jt][0]==="enter")zt.push(jt);else{const Re=zt.pop();jt=s(B,Re,jt)}for(jt=-1;++jt<B.length;){const Re=a[B[jt][0]];df.call(Re,B[jt][1].type)&&Re[B[jt][1].type].call(Object.assign({sliceSerialize:B[jt][2].sliceSerialize},pt),B[jt][1])}if(pt.tokenStack.length>0){const Re=pt.tokenStack[pt.tokenStack.length-1];(Re[1]||mf).call(pt,void 0,Re[0])}for(W.position={start:wn(B.length>0?B[0][1].start:{line:1,column:1,offset:0}),end:wn(B.length>0?B[B.length-2][1].end:{line:1,column:1,offset:0})},jt=-1;++jt<a.transforms.length;)W=a.transforms[jt](W)||W;return W}function s(B,W,pt){let zt=W-1,jt=-1,Re=!1,fn,ye,ie,Ee;for(;++zt<=pt;){const Gt=B[zt];switch(Gt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Gt[0]==="enter"?jt++:jt--,Ee=void 0;break}case"lineEndingBlank":{Gt[0]==="enter"&&(fn&&!Ee&&!jt&&!ie&&(ie=zt),Ee=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Ee=void 0}if(!jt&&Gt[0]==="enter"&&Gt[1].type==="listItemPrefix"||jt===-1&&Gt[0]==="exit"&&(Gt[1].type==="listUnordered"||Gt[1].type==="listOrdered")){if(fn){let Rn=zt;for(ye=void 0;Rn--;){const $e=B[Rn];if($e[1].type==="lineEnding"||$e[1].type==="lineEndingBlank"){if($e[0]==="exit")continue;ye&&(B[ye][1].type="lineEndingBlank",Re=!0),$e[1].type="lineEnding",ye=Rn}else if(!($e[1].type==="linePrefix"||$e[1].type==="blockQuotePrefix"||$e[1].type==="blockQuotePrefixWhitespace"||$e[1].type==="blockQuoteMarker"||$e[1].type==="listItemIndent"))break}ie&&(!ye||ie<ye)&&(fn._spread=!0),fn.end=Object.assign({},ye?B[ye][1].start:Gt[1].end),B.splice(ye||zt,0,["exit",fn,Gt[2]]),zt++,pt++}if(Gt[1].type==="listItemPrefix"){const Rn={type:"listItem",_spread:!1,start:Object.assign({},Gt[1].start),end:void 0};fn=Rn,B.splice(zt,0,["enter",Rn,Gt[2]]),zt++,pt++,ie=void 0,Ee=!0}}}return B[W][1]._spread=Re,pt}function f(B,W){return pt;function pt(zt){m.call(this,B(zt),zt),W&&W.call(this,zt)}}function d(){this.stack.push({type:"fragment",children:[]})}function m(B,W,pt){this.stack[this.stack.length-1].children.push(B),this.stack.push(B),this.tokenStack.push([W,pt||void 0]),B.position={start:wn(W.start),end:void 0}}function g(B){return W;function W(pt){B&&B.call(this,pt),p.call(this,pt)}}function p(B,W){const pt=this.stack.pop(),zt=this.tokenStack.pop();if(zt)zt[0].type!==B.type&&(W?W.call(this,B,zt[0]):(zt[1]||mf).call(this,B,zt[0]));else throw new Error("Cannot close `"+B.type+"` ("+xi({start:B.start,end:B.end})+"): it’s not open");pt.position.end=wn(B.end)}function b(){return Zy(this.stack.pop())}function x(){this.data.expectingFirstListItemValue=!0}function A(B){if(this.data.expectingFirstListItemValue){const W=this.stack[this.stack.length-2];W.start=Number.parseInt(this.sliceSerialize(B),10),this.data.expectingFirstListItemValue=void 0}}function E(){const B=this.resume(),W=this.stack[this.stack.length-1];W.lang=B}function X(){const B=this.resume(),W=this.stack[this.stack.length-1];W.meta=B}function V(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function I(){const B=this.resume(),W=this.stack[this.stack.length-1];W.value=B.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function j(){const B=this.resume(),W=this.stack[this.stack.length-1];W.value=B.replace(/(\r?\n|\r)$/g,"")}function nt(B){const W=this.resume(),pt=this.stack[this.stack.length-1];pt.label=W,pt.identifier=Al(this.sliceSerialize(B)).toLowerCase()}function K(){const B=this.resume(),W=this.stack[this.stack.length-1];W.title=B}function lt(){const B=this.resume(),W=this.stack[this.stack.length-1];W.url=B}function ht(B){const W=this.stack[this.stack.length-1];if(!W.depth){const pt=this.sliceSerialize(B).length;W.depth=pt}}function N(){this.data.setextHeadingSlurpLineEnding=!0}function Y(B){const W=this.stack[this.stack.length-1];W.depth=this.sliceSerialize(B).codePointAt(0)===61?1:2}function st(){this.data.setextHeadingSlurpLineEnding=void 0}function ct(B){const pt=this.stack[this.stack.length-1].children;let zt=pt[pt.length-1];(!zt||zt.type!=="text")&&(zt=me(),zt.position={start:wn(B.start),end:void 0},pt.push(zt)),this.stack.push(zt)}function dt(B){const W=this.stack.pop();W.value+=this.sliceSerialize(B),W.position.end=wn(B.end)}function tt(B){const W=this.stack[this.stack.length-1];if(this.data.atHardBreak){const pt=W.children[W.children.length-1];pt.position.end=wn(B.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&a.canContainEols.includes(W.type)&&(ct.call(this,B),dt.call(this,B))}function P(){this.data.atHardBreak=!0}function xt(){const B=this.resume(),W=this.stack[this.stack.length-1];W.value=B}function et(){const B=this.resume(),W=this.stack[this.stack.length-1];W.value=B}function J(){const B=this.resume(),W=this.stack[this.stack.length-1];W.value=B}function D(){const B=this.stack[this.stack.length-1];if(this.data.inReference){const W=this.data.referenceType||"shortcut";B.type+="Reference",B.referenceType=W,delete B.url,delete B.title}else delete B.identifier,delete B.label;this.data.referenceType=void 0}function G(){const B=this.stack[this.stack.length-1];if(this.data.inReference){const W=this.data.referenceType||"shortcut";B.type+="Reference",B.referenceType=W,delete B.url,delete B.title}else delete B.identifier,delete B.label;this.data.referenceType=void 0}function ut(B){const W=this.sliceSerialize(B),pt=this.stack[this.stack.length-2];pt.label=j0(W),pt.identifier=Al(W).toLowerCase()}function Et(){const B=this.stack[this.stack.length-1],W=this.resume(),pt=this.stack[this.stack.length-1];if(this.data.inReference=!0,pt.type==="link"){const zt=B.children;pt.children=zt}else pt.alt=W}function T(){const B=this.resume(),W=this.stack[this.stack.length-1];W.url=B}function y(){const B=this.resume(),W=this.stack[this.stack.length-1];W.title=B}function _(){this.data.inReference=void 0}function S(){this.data.referenceType="collapsed"}function L(B){const W=this.resume(),pt=this.stack[this.stack.length-1];pt.label=W,pt.identifier=Al(this.sliceSerialize(B)).toLowerCase(),this.data.referenceType="full"}function $(B){this.data.characterReferenceType=B.type}function F(B){const W=this.sliceSerialize(B),pt=this.data.characterReferenceType;let zt;pt?(zt=Js(W,pt==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):zt=br(W);const jt=this.stack[this.stack.length-1];jt.value+=zt}function at(B){const W=this.stack.pop();W.position.end=wn(B.end)}function Mt(B){dt.call(this,B);const W=this.stack[this.stack.length-1];W.url=this.sliceSerialize(B)}function bt(B){dt.call(this,B);const W=this.stack[this.stack.length-1];W.url="mailto:"+this.sliceSerialize(B)}function xe(){return{type:"blockquote",children:[]}}function on(){return{type:"code",lang:null,meta:null,value:""}}function Mi(){return{type:"inlineCode",value:""}}function wu(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function sn(){return{type:"emphasis",children:[]}}function Ol(){return{type:"heading",depth:0,children:[]}}function Ml(){return{type:"break"}}function Ru(){return{type:"html",value:""}}function ku(){return{type:"image",title:null,url:"",alt:null}}function Dl(){return{type:"link",title:null,url:"",children:[]}}function wl(B){return{type:"list",ordered:B.type==="listOrdered",start:null,spread:B._spread,children:[]}}function Di(B){return{type:"listItem",spread:B._spread,checked:null,children:[]}}function Qr(){return{type:"paragraph",children:[]}}function Vr(){return{type:"strong",children:[]}}function me(){return{type:"text",value:""}}function Zr(){return{type:"thematicBreak"}}}function wn(i){return{line:i.line,column:i.column,offset:i.offset}}function pf(i,a){let r=-1;for(;++r<a.length;){const c=a[r];Array.isArray(c)?pf(i,c):q0(i,c)}}function q0(i,a){let r;for(r in a)if(df.call(a,r))switch(r){case"canContainEols":{const c=a[r];c&&i[r].push(...c);break}case"transforms":{const c=a[r];c&&i[r].push(...c);break}case"enter":case"exit":{const c=a[r];c&&Object.assign(i[r],c);break}}}function mf(i,a){throw i?new Error("Cannot close `"+i.type+"` ("+xi({start:i.start,end:i.end})+"): a different token (`"+a.type+"`, "+xi({start:a.start,end:a.end})+") is open"):new Error("Cannot close document, a token (`"+a.type+"`, "+xi({start:a.start,end:a.end})+") is still open")}function Y0(i){const a=this;a.parser=r;function r(c){return H0(c,{...a.data("settings"),...i,extensions:a.data("micromarkExtensions")||[],mdastExtensions:a.data("fromMarkdownExtensions")||[]})}}function X0(i,a){const r={type:"element",tagName:"blockquote",properties:{},children:i.wrap(i.all(a),!0)};return i.patch(a,r),i.applyData(a,r)}function G0(i,a){const r={type:"element",tagName:"br",properties:{},children:[]};return i.patch(a,r),[i.applyData(a,r),{type:"text",value:`
|
|
13
|
-
`}]}function
|
|
14
|
-
`:"",c={},s=a.lang?a.lang.split(/\s+/):[];s.length>0&&(c.className=["language-"+s[0]]);let f={type:"element",tagName:"code",properties:c,children:[{type:"text",value:r}]};return a.meta&&(f.data={meta:a.meta}),i.patch(a,f),f=i.applyData(a,f),f={type:"element",tagName:"pre",properties:{},children:[f]},i.patch(a,f),f}function
|
|
15
|
-
`}),
|
|
16
|
-
`});const p={type:"element",tagName:"li",properties:f,children:d};return i.patch(a,p),i.applyData(a,p)}function
|
|
12
|
+
`;break}case-2:{d=a?" ":" ";break}case-1:{if(!a&&s)continue;d=" ";break}default:d=String.fromCharCode(f)}s=f===-2,c.push(d)}return c.join("")}function k0(i){const c={constructs:Fy([M0,...(i||{}).extensions||[]]),content:s(lg),defined:[],document:s(ag),flow:s(T0),lazy:{},string:s(C0),text:s(_0)};return c;function s(f){return d;function d(m){return D0(c,f,m)}}}function N0(i){for(;!af(i););return i}const df=/[\0\t\n\r]/g;function j0(){let i=1,a="",r=!0,c;return s;function s(f,d,m){const g=[];let p,x,S,z,E;for(f=a+(typeof f=="string"?f.toString():new TextDecoder(d||void 0).decode(f)),S=0,a="",r&&(f.charCodeAt(0)===65279&&S++,r=void 0);S<f.length;){if(df.lastIndex=S,p=df.exec(f),z=p&&p.index!==void 0?p.index:f.length,E=f.charCodeAt(z),!p){a=f.slice(S);break}if(E===10&&S===z&&c)g.push(-3),c=void 0;else switch(c&&(g.push(-5),c=void 0),S<z&&(g.push(f.slice(S,z)),i+=z-S),E){case 0:{g.push(65533),i++;break}case 9:{for(x=Math.ceil(i/4)*4,g.push(-2);i++<x;)g.push(-1);break}case 10:{g.push(-4),i=1;break}default:c=!0,i=1}S=z+1}return m&&(c&&g.push(-5),a&&g.push(a),g.push(null)),g}}const U0=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function B0(i){return i.replace(U0,H0)}function H0(i,a,r){if(a)return a;if(r.charCodeAt(0)===35){const s=r.charCodeAt(1),f=s===120||s===88;return Fs(r.slice(f?2:1),f?16:10)}return xr(r)||i}const pf={}.hasOwnProperty;function L0(i,a,r){return a&&typeof a=="object"&&(r=a,a=void 0),q0(r)(N0(k0(r).document().write(j0()(i,a,!0))))}function q0(i){const a={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:f(Dl),autolinkProtocol:ft,autolinkEmail:ft,atxHeading:f(Ol),blockQuote:f(Se),characterEscape:ft,characterReference:ft,codeFenced:f(on),codeFencedFenceInfo:d,codeFencedFenceMeta:d,codeIndented:f(on,d),codeText:f(Mi,d),codeTextData:ft,data:ft,codeFlowValue:ft,definition:f(wa),definitionDestinationString:d,definitionLabelString:d,definitionTitleString:d,emphasis:f(sn),hardBreakEscape:f(Ml),hardBreakTrailing:f(Ml),htmlFlow:f(Ra,d),htmlFlowData:ft,htmlText:f(Ra,d),htmlTextData:ft,image:f(ka),label:d,link:f(Dl),listItem:f(Di),listItemValue:z,listOrdered:f(wl,S),listUnordered:f(wl),paragraph:f(Vr),reference:b,referenceString:d,resourceDestinationString:d,resourceTitleString:d,setextHeading:f(Ol),strong:f(Zr),thematicBreak:f(Kr)},exit:{atxHeading:g(),atxHeadingSequence:dt,autolink:g(),autolinkEmail:Et,autolinkProtocol:Dt,blockQuote:g(),characterEscapeValue:pt,characterReferenceMarkerHexadecimal:W,characterReferenceMarkerNumeric:W,characterReferenceValue:$,characterReference:rt,codeFenced:g(I),codeFencedFence:G,codeFencedFenceInfo:E,codeFencedFenceMeta:Q,codeFlowValue:pt,codeIndented:g(H),codeText:g(J),codeTextData:pt,data:pt,definition:g(),definitionDestinationString:st,definitionLabelString:tt,definitionTitleString:V,emphasis:g(),hardBreakEscape:g(U),hardBreakTrailing:g(U),htmlFlow:g(lt),htmlFlowData:pt,htmlText:g(et),htmlTextData:pt,image:g(Z),label:ot,labelText:at,lineEnding:nt,link:g(M),listItem:g(),listOrdered:g(),listUnordered:g(),paragraph:g(),referenceString:Y,resourceDestinationString:T,resourceTitleString:y,resource:C,setextHeading:g(ut),setextHeadingLineSequence:K,setextHeadingText:N,strong:g(),thematicBreak:g()}};mf(a,(i||{}).mdastExtensions||[]);const r={};return c;function c(L){let P={type:"root",children:[]};const yt={stack:[P],tokenStack:[],config:a,enter:m,exit:p,buffer:d,resume:x,data:r},At=[];let Ut=-1;for(;++Ut<L.length;)if(L[Ut][1].type==="listOrdered"||L[Ut][1].type==="listUnordered")if(L[Ut][0]==="enter")At.push(Ut);else{const Re=At.pop();Ut=s(L,Re,Ut)}for(Ut=-1;++Ut<L.length;){const Re=a[L[Ut][0]];pf.call(Re,L[Ut][1].type)&&Re[L[Ut][1].type].call(Object.assign({sliceSerialize:L[Ut][2].sliceSerialize},yt),L[Ut][1])}if(yt.tokenStack.length>0){const Re=yt.tokenStack[yt.tokenStack.length-1];(Re[1]||yf).call(yt,void 0,Re[0])}for(P.position={start:wn(L.length>0?L[0][1].start:{line:1,column:1,offset:0}),end:wn(L.length>0?L[L.length-2][1].end:{line:1,column:1,offset:0})},Ut=-1;++Ut<a.transforms.length;)P=a.transforms[Ut](P)||P;return P}function s(L,P,yt){let At=P-1,Ut=-1,Re=!1,fn,ye,ie,Ee;for(;++At<=yt;){const Gt=L[At];switch(Gt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Gt[0]==="enter"?Ut++:Ut--,Ee=void 0;break}case"lineEndingBlank":{Gt[0]==="enter"&&(fn&&!Ee&&!Ut&&!ie&&(ie=At),Ee=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Ee=void 0}if(!Ut&&Gt[0]==="enter"&&Gt[1].type==="listItemPrefix"||Ut===-1&&Gt[0]==="exit"&&(Gt[1].type==="listUnordered"||Gt[1].type==="listOrdered")){if(fn){let Rn=At;for(ye=void 0;Rn--;){const $e=L[Rn];if($e[1].type==="lineEnding"||$e[1].type==="lineEndingBlank"){if($e[0]==="exit")continue;ye&&(L[ye][1].type="lineEndingBlank",Re=!0),$e[1].type="lineEnding",ye=Rn}else if(!($e[1].type==="linePrefix"||$e[1].type==="blockQuotePrefix"||$e[1].type==="blockQuotePrefixWhitespace"||$e[1].type==="blockQuoteMarker"||$e[1].type==="listItemIndent"))break}ie&&(!ye||ie<ye)&&(fn._spread=!0),fn.end=Object.assign({},ye?L[ye][1].start:Gt[1].end),L.splice(ye||At,0,["exit",fn,Gt[2]]),At++,yt++}if(Gt[1].type==="listItemPrefix"){const Rn={type:"listItem",_spread:!1,start:Object.assign({},Gt[1].start),end:void 0};fn=Rn,L.splice(At,0,["enter",Rn,Gt[2]]),At++,yt++,ie=void 0,Ee=!0}}}return L[P][1]._spread=Re,yt}function f(L,P){return yt;function yt(At){m.call(this,L(At),At),P&&P.call(this,At)}}function d(){this.stack.push({type:"fragment",children:[]})}function m(L,P,yt){this.stack[this.stack.length-1].children.push(L),this.stack.push(L),this.tokenStack.push([P,yt||void 0]),L.position={start:wn(P.start),end:void 0}}function g(L){return P;function P(yt){L&&L.call(this,yt),p.call(this,yt)}}function p(L,P){const yt=this.stack.pop(),At=this.tokenStack.pop();if(At)At[0].type!==L.type&&(P?P.call(this,L,At[0]):(At[1]||yf).call(this,L,At[0]));else throw new Error("Cannot close `"+L.type+"` ("+Si({start:L.start,end:L.end})+"): it’s not open");yt.position.end=wn(L.end)}function x(){return Ky(this.stack.pop())}function S(){this.data.expectingFirstListItemValue=!0}function z(L){if(this.data.expectingFirstListItemValue){const P=this.stack[this.stack.length-2];P.start=Number.parseInt(this.sliceSerialize(L),10),this.data.expectingFirstListItemValue=void 0}}function E(){const L=this.resume(),P=this.stack[this.stack.length-1];P.lang=L}function Q(){const L=this.resume(),P=this.stack[this.stack.length-1];P.meta=L}function G(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function I(){const L=this.resume(),P=this.stack[this.stack.length-1];P.value=L.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function H(){const L=this.resume(),P=this.stack[this.stack.length-1];P.value=L.replace(/(\r?\n|\r)$/g,"")}function tt(L){const P=this.resume(),yt=this.stack[this.stack.length-1];yt.label=P,yt.identifier=Al(this.sliceSerialize(L)).toLowerCase()}function V(){const L=this.resume(),P=this.stack[this.stack.length-1];P.title=L}function st(){const L=this.resume(),P=this.stack[this.stack.length-1];P.url=L}function dt(L){const P=this.stack[this.stack.length-1];if(!P.depth){const yt=this.sliceSerialize(L).length;P.depth=yt}}function N(){this.data.setextHeadingSlurpLineEnding=!0}function K(L){const P=this.stack[this.stack.length-1];P.depth=this.sliceSerialize(L).codePointAt(0)===61?1:2}function ut(){this.data.setextHeadingSlurpLineEnding=void 0}function ft(L){const yt=this.stack[this.stack.length-1].children;let At=yt[yt.length-1];(!At||At.type!=="text")&&(At=me(),At.position={start:wn(L.start),end:void 0},yt.push(At)),this.stack.push(At)}function pt(L){const P=this.stack.pop();P.value+=this.sliceSerialize(L),P.position.end=wn(L.end)}function nt(L){const P=this.stack[this.stack.length-1];if(this.data.atHardBreak){const yt=P.children[P.children.length-1];yt.position.end=wn(L.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&a.canContainEols.includes(P.type)&&(ft.call(this,L),pt.call(this,L))}function U(){this.data.atHardBreak=!0}function lt(){const L=this.resume(),P=this.stack[this.stack.length-1];P.value=L}function et(){const L=this.resume(),P=this.stack[this.stack.length-1];P.value=L}function J(){const L=this.resume(),P=this.stack[this.stack.length-1];P.value=L}function M(){const L=this.stack[this.stack.length-1];if(this.data.inReference){const P=this.data.referenceType||"shortcut";L.type+="Reference",L.referenceType=P,delete L.url,delete L.title}else delete L.identifier,delete L.label;this.data.referenceType=void 0}function Z(){const L=this.stack[this.stack.length-1];if(this.data.inReference){const P=this.data.referenceType||"shortcut";L.type+="Reference",L.referenceType=P,delete L.url,delete L.title}else delete L.identifier,delete L.label;this.data.referenceType=void 0}function at(L){const P=this.sliceSerialize(L),yt=this.stack[this.stack.length-2];yt.label=B0(P),yt.identifier=Al(P).toLowerCase()}function ot(){const L=this.stack[this.stack.length-1],P=this.resume(),yt=this.stack[this.stack.length-1];if(this.data.inReference=!0,yt.type==="link"){const At=L.children;yt.children=At}else yt.alt=P}function T(){const L=this.resume(),P=this.stack[this.stack.length-1];P.url=L}function y(){const L=this.resume(),P=this.stack[this.stack.length-1];P.title=L}function C(){this.data.inReference=void 0}function b(){this.data.referenceType="collapsed"}function Y(L){const P=this.resume(),yt=this.stack[this.stack.length-1];yt.label=P,yt.identifier=Al(this.sliceSerialize(L)).toLowerCase(),this.data.referenceType="full"}function W(L){this.data.characterReferenceType=L.type}function $(L){const P=this.sliceSerialize(L),yt=this.data.characterReferenceType;let At;yt?(At=Fs(P,yt==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):At=xr(P);const Ut=this.stack[this.stack.length-1];Ut.value+=At}function rt(L){const P=this.stack.pop();P.position.end=wn(L.end)}function Dt(L){pt.call(this,L);const P=this.stack[this.stack.length-1];P.url=this.sliceSerialize(L)}function Et(L){pt.call(this,L);const P=this.stack[this.stack.length-1];P.url="mailto:"+this.sliceSerialize(L)}function Se(){return{type:"blockquote",children:[]}}function on(){return{type:"code",lang:null,meta:null,value:""}}function Mi(){return{type:"inlineCode",value:""}}function wa(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function sn(){return{type:"emphasis",children:[]}}function Ol(){return{type:"heading",depth:0,children:[]}}function Ml(){return{type:"break"}}function Ra(){return{type:"html",value:""}}function ka(){return{type:"image",title:null,url:"",alt:null}}function Dl(){return{type:"link",title:null,url:"",children:[]}}function wl(L){return{type:"list",ordered:L.type==="listOrdered",start:null,spread:L._spread,children:[]}}function Di(L){return{type:"listItem",spread:L._spread,checked:null,children:[]}}function Vr(){return{type:"paragraph",children:[]}}function Zr(){return{type:"strong",children:[]}}function me(){return{type:"text",value:""}}function Kr(){return{type:"thematicBreak"}}}function wn(i){return{line:i.line,column:i.column,offset:i.offset}}function mf(i,a){let r=-1;for(;++r<a.length;){const c=a[r];Array.isArray(c)?mf(i,c):Y0(i,c)}}function Y0(i,a){let r;for(r in a)if(pf.call(a,r))switch(r){case"canContainEols":{const c=a[r];c&&i[r].push(...c);break}case"transforms":{const c=a[r];c&&i[r].push(...c);break}case"enter":case"exit":{const c=a[r];c&&Object.assign(i[r],c);break}}}function yf(i,a){throw i?new Error("Cannot close `"+i.type+"` ("+Si({start:i.start,end:i.end})+"): a different token (`"+a.type+"`, "+Si({start:a.start,end:a.end})+") is open"):new Error("Cannot close document, a token (`"+a.type+"`, "+Si({start:a.start,end:a.end})+") is still open")}function X0(i){const a=this;a.parser=r;function r(c){return L0(c,{...a.data("settings"),...i,extensions:a.data("micromarkExtensions")||[],mdastExtensions:a.data("fromMarkdownExtensions")||[]})}}function G0(i,a){const r={type:"element",tagName:"blockquote",properties:{},children:i.wrap(i.all(a),!0)};return i.patch(a,r),i.applyData(a,r)}function Q0(i,a){const r={type:"element",tagName:"br",properties:{},children:[]};return i.patch(a,r),[i.applyData(a,r),{type:"text",value:`
|
|
13
|
+
`}]}function V0(i,a){const r=a.value?a.value+`
|
|
14
|
+
`:"",c={},s=a.lang?a.lang.split(/\s+/):[];s.length>0&&(c.className=["language-"+s[0]]);let f={type:"element",tagName:"code",properties:c,children:[{type:"text",value:r}]};return a.meta&&(f.data={meta:a.meta}),i.patch(a,f),f=i.applyData(a,f),f={type:"element",tagName:"pre",properties:{},children:[f]},i.patch(a,f),f}function Z0(i,a){const r={type:"element",tagName:"del",properties:{},children:i.all(a)};return i.patch(a,r),i.applyData(a,r)}function K0(i,a){const r={type:"element",tagName:"em",properties:{},children:i.all(a)};return i.patch(a,r),i.applyData(a,r)}function J0(i,a){const r=typeof i.options.clobberPrefix=="string"?i.options.clobberPrefix:"user-content-",c=String(a.identifier).toUpperCase(),s=Cl(c.toLowerCase()),f=i.footnoteOrder.indexOf(c);let d,m=i.footnoteCounts.get(c);m===void 0?(m=0,i.footnoteOrder.push(c),d=i.footnoteOrder.length):d=f+1,m+=1,i.footnoteCounts.set(c,m);const g={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+s,id:r+"fnref-"+s+(m>1?"-"+m:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(d)}]};i.patch(a,g);const p={type:"element",tagName:"sup",properties:{},children:[g]};return i.patch(a,p),i.applyData(a,p)}function F0(i,a){const r={type:"element",tagName:"h"+a.depth,properties:{},children:i.all(a)};return i.patch(a,r),i.applyData(a,r)}function I0(i,a){if(i.options.allowDangerousHtml){const r={type:"raw",value:a.value};return i.patch(a,r),i.applyData(a,r)}}function gf(i,a){const r=a.referenceType;let c="]";if(r==="collapsed"?c+="[]":r==="full"&&(c+="["+(a.label||a.identifier)+"]"),a.type==="imageReference")return[{type:"text",value:"!["+a.alt+c}];const s=i.all(a),f=s[0];f&&f.type==="text"?f.value="["+f.value:s.unshift({type:"text",value:"["});const d=s[s.length-1];return d&&d.type==="text"?d.value+=c:s.push({type:"text",value:c}),s}function $0(i,a){const r=String(a.identifier).toUpperCase(),c=i.definitionById.get(r);if(!c)return gf(i,a);const s={src:Cl(c.url||""),alt:a.alt};c.title!==null&&c.title!==void 0&&(s.title=c.title);const f={type:"element",tagName:"img",properties:s,children:[]};return i.patch(a,f),i.applyData(a,f)}function W0(i,a){const r={src:Cl(a.url)};a.alt!==null&&a.alt!==void 0&&(r.alt=a.alt),a.title!==null&&a.title!==void 0&&(r.title=a.title);const c={type:"element",tagName:"img",properties:r,children:[]};return i.patch(a,c),i.applyData(a,c)}function P0(i,a){const r={type:"text",value:a.value.replace(/\r?\n|\r/g," ")};i.patch(a,r);const c={type:"element",tagName:"code",properties:{},children:[r]};return i.patch(a,c),i.applyData(a,c)}function t1(i,a){const r=String(a.identifier).toUpperCase(),c=i.definitionById.get(r);if(!c)return gf(i,a);const s={href:Cl(c.url||"")};c.title!==null&&c.title!==void 0&&(s.title=c.title);const f={type:"element",tagName:"a",properties:s,children:i.all(a)};return i.patch(a,f),i.applyData(a,f)}function e1(i,a){const r={href:Cl(a.url)};a.title!==null&&a.title!==void 0&&(r.title=a.title);const c={type:"element",tagName:"a",properties:r,children:i.all(a)};return i.patch(a,c),i.applyData(a,c)}function n1(i,a,r){const c=i.all(a),s=r?l1(r):vf(a),f={},d=[];if(typeof a.checked=="boolean"){const x=c[0];let S;x&&x.type==="element"&&x.tagName==="p"?S=x:(S={type:"element",tagName:"p",properties:{},children:[]},c.unshift(S)),S.children.length>0&&S.children.unshift({type:"text",value:" "}),S.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:a.checked,disabled:!0},children:[]}),f.className=["task-list-item"]}let m=-1;for(;++m<c.length;){const x=c[m];(s||m!==0||x.type!=="element"||x.tagName!=="p")&&d.push({type:"text",value:`
|
|
15
|
+
`}),x.type==="element"&&x.tagName==="p"&&!s?d.push(...x.children):d.push(x)}const g=c[c.length-1];g&&(s||g.type!=="element"||g.tagName!=="p")&&d.push({type:"text",value:`
|
|
16
|
+
`});const p={type:"element",tagName:"li",properties:f,children:d};return i.patch(a,p),i.applyData(a,p)}function l1(i){let a=!1;if(i.type==="list"){a=i.spread||!1;const r=i.children;let c=-1;for(;!a&&++c<r.length;)a=vf(r[c])}return a}function vf(i){const a=i.spread;return a??i.children.length>1}function i1(i,a){const r={},c=i.all(a);let s=-1;for(typeof a.start=="number"&&a.start!==1&&(r.start=a.start);++s<c.length;){const d=c[s];if(d.type==="element"&&d.tagName==="li"&&d.properties&&Array.isArray(d.properties.className)&&d.properties.className.includes("task-list-item")){r.className=["contains-task-list"];break}}const f={type:"element",tagName:a.ordered?"ol":"ul",properties:r,children:i.wrap(c,!0)};return i.patch(a,f),i.applyData(a,f)}function a1(i,a){const r={type:"element",tagName:"p",properties:{},children:i.all(a)};return i.patch(a,r),i.applyData(a,r)}function u1(i,a){const r={type:"root",children:i.wrap(i.all(a))};return i.patch(a,r),i.applyData(a,r)}function r1(i,a){const r={type:"element",tagName:"strong",properties:{},children:i.all(a)};return i.patch(a,r),i.applyData(a,r)}function c1(i,a){const r=i.all(a),c=r.shift(),s=[];if(c){const d={type:"element",tagName:"thead",properties:{},children:i.wrap([c],!0)};i.patch(a.children[0],d),s.push(d)}if(r.length>0){const d={type:"element",tagName:"tbody",properties:{},children:i.wrap(r,!0)},m=sr(a.children[1]),g=ks(a.children[a.children.length-1]);m&&g&&(d.position={start:m,end:g}),s.push(d)}const f={type:"element",tagName:"table",properties:{},children:i.wrap(s,!0)};return i.patch(a,f),i.applyData(a,f)}function o1(i,a,r){const c=r?r.children:void 0,f=(c?c.indexOf(a):1)===0?"th":"td",d=r&&r.type==="table"?r.align:void 0,m=d?d.length:a.children.length;let g=-1;const p=[];for(;++g<m;){const S=a.children[g],z={},E=d?d[g]:void 0;E&&(z.align=E);let Q={type:"element",tagName:f,properties:z,children:[]};S&&(Q.children=i.all(S),i.patch(S,Q),Q=i.applyData(S,Q)),p.push(Q)}const x={type:"element",tagName:"tr",properties:{},children:i.wrap(p,!0)};return i.patch(a,x),i.applyData(a,x)}function s1(i,a){const r={type:"element",tagName:"td",properties:{},children:i.all(a)};return i.patch(a,r),i.applyData(a,r)}const xf=9,bf=32;function f1(i){const a=String(i),r=/\r?\n|\r/g;let c=r.exec(a),s=0;const f=[];for(;c;)f.push(Sf(a.slice(s,c.index),s>0,!0),c[0]),s=c.index+c[0].length,c=r.exec(a);return f.push(Sf(a.slice(s),s>0,!1)),f.join("")}function Sf(i,a,r){let c=0,s=i.length;if(a){let f=i.codePointAt(c);for(;f===xf||f===bf;)c++,f=i.codePointAt(c)}if(r){let f=i.codePointAt(s-1);for(;f===xf||f===bf;)s--,f=i.codePointAt(s-1)}return s>c?i.slice(c,s):""}function h1(i,a){const r={type:"text",value:f1(String(a.value))};return i.patch(a,r),i.applyData(a,r)}function d1(i,a){const r={type:"element",tagName:"hr",properties:{},children:[]};return i.patch(a,r),i.applyData(a,r)}const p1={blockquote:G0,break:Q0,code:V0,delete:Z0,emphasis:K0,footnoteReference:J0,heading:F0,html:I0,imageReference:$0,image:W0,inlineCode:P0,linkReference:t1,link:e1,listItem:n1,list:i1,paragraph:a1,root:u1,strong:r1,table:c1,tableCell:s1,tableRow:o1,text:h1,thematicBreak:d1,toml:za,yaml:za,definition:za,footnoteDefinition:za};function za(){}const Ef=-1,Aa=0,Ci=1,Ca=2,_r=3,Or=4,Mr=5,Dr=6,Tf=7,zf=8,m1=typeof self=="object"?self:globalThis,Af=(i,a)=>{switch(i){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw new TypeError("unable to deserialize "+i)}return new m1[i](a)},y1=(i,a)=>{const r=(s,f)=>(i.set(f,s),s),c=s=>{if(i.has(s))return i.get(s);const[f,d]=a[s];switch(f){case Aa:case Ef:return r(d,s);case Ci:{const m=r([],s);for(const g of d)m.push(c(g));return m}case Ca:{const m=r({},s);for(const[g,p]of d)m[c(g)]=c(p);return m}case _r:return r(new Date(d),s);case Or:{const{source:m,flags:g}=d;return r(new RegExp(m,g),s)}case Mr:{const m=r(new Map,s);for(const[g,p]of d)m.set(c(g),c(p));return m}case Dr:{const m=r(new Set,s);for(const g of d)m.add(c(g));return m}case Tf:{const{name:m,message:g}=d;return r(Af(m,g),s)}case zf:return r(BigInt(d),s);case"BigInt":return r(Object(BigInt(d)),s);case"ArrayBuffer":return r(new Uint8Array(d).buffer,d);case"DataView":{const{buffer:m}=new Uint8Array(d);return r(new DataView(m),d)}}return r(Af(f,d),s)};return c},Cf=i=>y1(new Map,i)(0),_l="",{toString:g1}={},{keys:v1}=Object,_i=i=>{const a=typeof i;if(a!=="object"||!i)return[Aa,a];const r=g1.call(i).slice(8,-1);switch(r){case"Array":return[Ci,_l];case"Object":return[Ca,_l];case"Date":return[_r,_l];case"RegExp":return[Or,_l];case"Map":return[Mr,_l];case"Set":return[Dr,_l];case"DataView":return[Ci,r]}return r.includes("Array")?[Ci,r]:r.includes("Error")?[Tf,r]:[Ca,r]},_a=([i,a])=>i===Aa&&(a==="function"||a==="symbol"),x1=(i,a,r,c)=>{const s=(d,m)=>{const g=c.push(d)-1;return r.set(m,g),g},f=d=>{if(r.has(d))return r.get(d);let[m,g]=_i(d);switch(m){case Aa:{let x=d;switch(g){case"bigint":m=zf,x=d.toString();break;case"function":case"symbol":if(i)throw new TypeError("unable to serialize "+g);x=null;break;case"undefined":return s([Ef],d)}return s([m,x],d)}case Ci:{if(g){let z=d;return g==="DataView"?z=new Uint8Array(d.buffer):g==="ArrayBuffer"&&(z=new Uint8Array(d)),s([g,[...z]],d)}const x=[],S=s([m,x],d);for(const z of d)x.push(f(z));return S}case Ca:{if(g)switch(g){case"BigInt":return s([g,d.toString()],d);case"Boolean":case"Number":case"String":return s([g,d.valueOf()],d)}if(a&&"toJSON"in d)return f(d.toJSON());const x=[],S=s([m,x],d);for(const z of v1(d))(i||!_a(_i(d[z])))&&x.push([f(z),f(d[z])]);return S}case _r:return s([m,d.toISOString()],d);case Or:{const{source:x,flags:S}=d;return s([m,{source:x,flags:S}],d)}case Mr:{const x=[],S=s([m,x],d);for(const[z,E]of d)(i||!(_a(_i(z))||_a(_i(E))))&&x.push([f(z),f(E)]);return S}case Dr:{const x=[],S=s([m,x],d);for(const z of d)(i||!_a(_i(z)))&&x.push(f(z));return S}}const{message:p}=d;return s([m,{name:g,message:p}],d)};return f},_f=(i,{json:a,lossy:r}={})=>{const c=[];return x1(!(a||r),!!a,new Map,c)(i),c},Oa=typeof structuredClone=="function"?(i,a)=>a&&("json"in a||"lossy"in a)?Cf(_f(i,a)):structuredClone(i):(i,a)=>Cf(_f(i,a));function b1(i,a){const r=[{type:"text",value:"↩"}];return a>1&&r.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(a)}]}),r}function S1(i,a){return"Back to reference "+(i+1)+(a>1?"-"+a:"")}function E1(i){const a=typeof i.options.clobberPrefix=="string"?i.options.clobberPrefix:"user-content-",r=i.options.footnoteBackContent||b1,c=i.options.footnoteBackLabel||S1,s=i.options.footnoteLabel||"Footnotes",f=i.options.footnoteLabelTagName||"h2",d=i.options.footnoteLabelProperties||{className:["sr-only"]},m=[];let g=-1;for(;++g<i.footnoteOrder.length;){const p=i.footnoteById.get(i.footnoteOrder[g]);if(!p)continue;const x=i.all(p),S=String(p.identifier).toUpperCase(),z=Cl(S.toLowerCase());let E=0;const Q=[],G=i.footnoteCounts.get(S);for(;G!==void 0&&++E<=G;){Q.length>0&&Q.push({type:"text",value:" "});let tt=typeof r=="string"?r:r(g,E);typeof tt=="string"&&(tt={type:"text",value:tt}),Q.push({type:"element",tagName:"a",properties:{href:"#"+a+"fnref-"+z+(E>1?"-"+E:""),dataFootnoteBackref:"",ariaLabel:typeof c=="string"?c:c(g,E),className:["data-footnote-backref"]},children:Array.isArray(tt)?tt:[tt]})}const I=x[x.length-1];if(I&&I.type==="element"&&I.tagName==="p"){const tt=I.children[I.children.length-1];tt&&tt.type==="text"?tt.value+=" ":I.children.push({type:"text",value:" "}),I.children.push(...Q)}else x.push(...Q);const H={type:"element",tagName:"li",properties:{id:a+"fn-"+z},children:i.wrap(x,!0)};i.patch(p,H),m.push(H)}if(m.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:f,properties:{...Oa(d),id:"footnote-label"},children:[{type:"text",value:s}]},{type:"text",value:`
|
|
17
17
|
`},{type:"element",tagName:"ol",properties:{},children:i.wrap(m,!0)},{type:"text",value:`
|
|
18
|
-
`}]}}const
|
|
18
|
+
`}]}}const Of=(function(i){if(i==null)return C1;if(typeof i=="function")return Ma(i);if(typeof i=="object")return Array.isArray(i)?T1(i):z1(i);if(typeof i=="string")return A1(i);throw new Error("Expected function, string, or object as test")});function T1(i){const a=[];let r=-1;for(;++r<i.length;)a[r]=Of(i[r]);return Ma(c);function c(...s){let f=-1;for(;++f<a.length;)if(a[f].apply(this,s))return!0;return!1}}function z1(i){const a=i;return Ma(r);function r(c){const s=c;let f;for(f in i)if(s[f]!==a[f])return!1;return!0}}function A1(i){return Ma(a);function a(r){return r&&r.type===i}}function Ma(i){return a;function a(r,c,s){return!!(_1(r)&&i.call(this,r,typeof c=="number"?c:void 0,s||void 0))}}function C1(){return!0}function _1(i){return i!==null&&typeof i=="object"&&"type"in i}function Pb(i){return i}const Mf=[],O1=!0,Df=!1,M1="skip";function D1(i,a,r,c){let s;typeof a=="function"&&typeof r!="function"?(c=r,r=a):s=a;const f=Of(s),d=c?-1:1;m(i,void 0,[])();function m(g,p,x){const S=g&&typeof g=="object"?g:{};if(typeof S.type=="string"){const E=typeof S.tagName=="string"?S.tagName:typeof S.name=="string"?S.name:void 0;Object.defineProperty(z,"name",{value:"node ("+(g.type+(E?"<"+E+">":""))+")"})}return z;function z(){let E=Mf,Q,G,I;if((!a||f(g,p,x[x.length-1]||void 0))&&(E=w1(r(g,x)),E[0]===Df))return E;if("children"in g&&g.children){const H=g;if(H.children&&E[0]!==M1)for(G=(c?H.children.length:-1)+d,I=x.concat(H);G>-1&&G<H.children.length;){const tt=H.children[G];if(Q=m(tt,G,I)(),Q[0]===Df)return Q;G=typeof Q[1]=="number"?Q[1]:G+d}}return E}}}function w1(i){return Array.isArray(i)?i:typeof i=="number"?[O1,i]:i==null?Mf:[i]}function wf(i,a,r,c){let s,f,d;typeof a=="function"&&typeof r!="function"?(f=void 0,d=a,s=r):(f=a,d=r,s=c),D1(i,f,m,s);function m(g,p){const x=p[p.length-1],S=x?x.children.indexOf(g):void 0;return d(g,S,x)}}const wr={}.hasOwnProperty,R1={};function k1(i,a){const r=a||R1,c=new Map,s=new Map,f=new Map,d={...p1,...r.handlers},m={all:p,applyData:j1,definitionById:c,footnoteById:s,footnoteCounts:f,footnoteOrder:[],handlers:d,one:g,options:r,patch:N1,wrap:B1};return wf(i,function(x){if(x.type==="definition"||x.type==="footnoteDefinition"){const S=x.type==="definition"?c:s,z=String(x.identifier).toUpperCase();S.has(z)||S.set(z,x)}}),m;function g(x,S){const z=x.type,E=m.handlers[z];if(wr.call(m.handlers,z)&&E)return E(m,x,S);if(m.options.passThrough&&m.options.passThrough.includes(z)){if("children"in x){const{children:G,...I}=x,H=Oa(I);return H.children=m.all(x),H}return Oa(x)}return(m.options.unknownHandler||U1)(m,x,S)}function p(x){const S=[];if("children"in x){const z=x.children;let E=-1;for(;++E<z.length;){const Q=m.one(z[E],x);if(Q){if(E&&z[E-1].type==="break"&&(!Array.isArray(Q)&&Q.type==="text"&&(Q.value=Rf(Q.value)),!Array.isArray(Q)&&Q.type==="element")){const G=Q.children[0];G&&G.type==="text"&&(G.value=Rf(G.value))}Array.isArray(Q)?S.push(...Q):S.push(Q)}}}return S}}function N1(i,a){i.position&&(a.position=Sy(i))}function j1(i,a){let r=a;if(i&&i.data){const c=i.data.hName,s=i.data.hChildren,f=i.data.hProperties;if(typeof c=="string")if(r.type==="element")r.tagName=c;else{const d="children"in r?r.children:[r];r={type:"element",tagName:c,properties:{},children:d}}r.type==="element"&&f&&Object.assign(r.properties,Oa(f)),"children"in r&&r.children&&s!==null&&s!==void 0&&(r.children=s)}return r}function U1(i,a){const r=a.data||{},c="value"in a&&!(wr.call(r,"hProperties")||wr.call(r,"hChildren"))?{type:"text",value:a.value}:{type:"element",tagName:"div",properties:{},children:i.all(a)};return i.patch(a,c),i.applyData(a,c)}function B1(i,a){const r=[];let c=-1;for(a&&r.push({type:"text",value:`
|
|
19
19
|
`});++c<i.length;)c&&r.push({type:"text",value:`
|
|
20
20
|
`}),r.push(i[c]);return a&&i.length>0&&r.push({type:"text",value:`
|
|
21
|
-
`}),r}function
|
|
22
|
-
`},s),f}function B1(i,a){return i&&"run"in i?async function(r,c){const s=Rf(r,{file:c,...a});await i.run(s,c)}:function(r,c){return Rf(r,{file:c,...i||a})}}function kf(i){if(i)throw i}var Rr,Nf;function H1(){if(Nf)return Rr;Nf=1;var i=Object.prototype.hasOwnProperty,a=Object.prototype.toString,r=Object.defineProperty,c=Object.getOwnPropertyDescriptor,s=function(p){return typeof Array.isArray=="function"?Array.isArray(p):a.call(p)==="[object Array]"},f=function(p){if(!p||a.call(p)!=="[object Object]")return!1;var b=i.call(p,"constructor"),x=p.constructor&&p.constructor.prototype&&i.call(p.constructor.prototype,"isPrototypeOf");if(p.constructor&&!b&&!x)return!1;var A;for(A in p);return typeof A>"u"||i.call(p,A)},d=function(p,b){r&&b.name==="__proto__"?r(p,b.name,{enumerable:!0,configurable:!0,value:b.newValue,writable:!0}):p[b.name]=b.newValue},m=function(p,b){if(b==="__proto__")if(i.call(p,b)){if(c)return c(p,b).value}else return;return p[b]};return Rr=function g(){var p,b,x,A,E,X,V=arguments[0],I=1,j=arguments.length,nt=!1;for(typeof V=="boolean"&&(nt=V,V=arguments[1]||{},I=2),(V==null||typeof V!="object"&&typeof V!="function")&&(V={});I<j;++I)if(p=arguments[I],p!=null)for(b in p)x=m(V,b),A=m(p,b),V!==A&&(nt&&A&&(f(A)||(E=s(A)))?(E?(E=!1,X=x&&s(x)?x:[]):X=x&&f(x)?x:{},d(V,{name:b,newValue:g(nt,X,A)})):typeof A<"u"&&d(V,{name:b,newValue:A}));return V},Rr}var L1=H1();const kr=as(L1);function Nr(i){if(typeof i!="object"||i===null)return!1;const a=Object.getPrototypeOf(i);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(Symbol.toStringTag in i)&&!(Symbol.iterator in i)}function q1(){const i=[],a={run:r,use:c};return a;function r(...s){let f=-1;const d=s.pop();if(typeof d!="function")throw new TypeError("Expected function as last argument, not "+d);m(null,...s);function m(g,...p){const b=i[++f];let x=-1;if(g){d(g);return}for(;++x<s.length;)(p[x]===null||p[x]===void 0)&&(p[x]=s[x]);s=p,b?Y1(b,m)(...p):d(null,...p)}}function c(s){if(typeof s!="function")throw new TypeError("Expected `middelware` to be a function, not "+s);return i.push(s),a}}function Y1(i,a){let r;return c;function c(...d){const m=i.length>d.length;let g;m&&d.push(s);try{g=i.apply(this,d)}catch(p){const b=p;if(m&&r)throw b;return s(b)}m||(g&&g.then&&typeof g.then=="function"?g.then(f,s):g instanceof Error?s(g):f(g))}function s(d,...m){r||(r=!0,a(d,...m))}function f(d){s(null,d)}}const ln={basename:X1,dirname:G1,extname:Q1,join:V1,sep:"/"};function X1(i,a){if(a!==void 0&&typeof a!="string")throw new TypeError('"ext" argument must be a string');Oi(i);let r=0,c=-1,s=i.length,f;if(a===void 0||a.length===0||a.length>i.length){for(;s--;)if(i.codePointAt(s)===47){if(f){r=s+1;break}}else c<0&&(f=!0,c=s+1);return c<0?"":i.slice(r,c)}if(a===i)return"";let d=-1,m=a.length-1;for(;s--;)if(i.codePointAt(s)===47){if(f){r=s+1;break}}else d<0&&(f=!0,d=s+1),m>-1&&(i.codePointAt(s)===a.codePointAt(m--)?m<0&&(c=s):(m=-1,c=d));return r===c?c=d:c<0&&(c=i.length),i.slice(r,c)}function G1(i){if(Oi(i),i.length===0)return".";let a=-1,r=i.length,c;for(;--r;)if(i.codePointAt(r)===47){if(c){a=r;break}}else c||(c=!0);return a<0?i.codePointAt(0)===47?"/":".":a===1&&i.codePointAt(0)===47?"//":i.slice(0,a)}function Q1(i){Oi(i);let a=i.length,r=-1,c=0,s=-1,f=0,d;for(;a--;){const m=i.codePointAt(a);if(m===47){if(d){c=a+1;break}continue}r<0&&(d=!0,r=a+1),m===46?s<0?s=a:f!==1&&(f=1):s>-1&&(f=-1)}return s<0||r<0||f===0||f===1&&s===r-1&&s===c+1?"":i.slice(s,r)}function V1(...i){let a=-1,r;for(;++a<i.length;)Oi(i[a]),i[a]&&(r=r===void 0?i[a]:r+"/"+i[a]);return r===void 0?".":Z1(r)}function Z1(i){Oi(i);const a=i.codePointAt(0)===47;let r=K1(i,!a);return r.length===0&&!a&&(r="."),r.length>0&&i.codePointAt(i.length-1)===47&&(r+="/"),a?"/"+r:r}function K1(i,a){let r="",c=0,s=-1,f=0,d=-1,m,g;for(;++d<=i.length;){if(d<i.length)m=i.codePointAt(d);else{if(m===47)break;m=47}if(m===47){if(!(s===d-1||f===1))if(s!==d-1&&f===2){if(r.length<2||c!==2||r.codePointAt(r.length-1)!==46||r.codePointAt(r.length-2)!==46){if(r.length>2){if(g=r.lastIndexOf("/"),g!==r.length-1){g<0?(r="",c=0):(r=r.slice(0,g),c=r.length-1-r.lastIndexOf("/")),s=d,f=0;continue}}else if(r.length>0){r="",c=0,s=d,f=0;continue}}a&&(r=r.length>0?r+"/..":"..",c=2)}else r.length>0?r+="/"+i.slice(s+1,d):r=i.slice(s+1,d),c=d-s-1;s=d,f=0}else m===46&&f>-1?f++:f=-1}return r}function Oi(i){if(typeof i!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(i))}const J1={cwd:F1};function F1(){return"/"}function Ur(i){return!!(i!==null&&typeof i=="object"&&"href"in i&&i.href&&"protocol"in i&&i.protocol&&i.auth===void 0)}function I1(i){if(typeof i=="string")i=new URL(i);else if(!Ur(i)){const a=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+i+"`");throw a.code="ERR_INVALID_ARG_TYPE",a}if(i.protocol!=="file:"){const a=new TypeError("The URL must be of scheme file");throw a.code="ERR_INVALID_URL_SCHEME",a}return $1(i)}function $1(i){if(i.hostname!==""){const c=new TypeError('File URL host must be "localhost" or empty on darwin');throw c.code="ERR_INVALID_FILE_URL_HOST",c}const a=i.pathname;let r=-1;for(;++r<a.length;)if(a.codePointAt(r)===37&&a.codePointAt(r+1)===50){const c=a.codePointAt(r+2);if(c===70||c===102){const s=new TypeError("File URL path must not include encoded / characters");throw s.code="ERR_INVALID_FILE_URL_PATH",s}}return decodeURIComponent(a)}const jr=["history","path","basename","stem","extname","dirname"];class Uf{constructor(a){let r;a?Ur(a)?r={path:a}:typeof a=="string"||W1(a)?r={value:a}:r=a:r={},this.cwd="cwd"in r?"":J1.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let c=-1;for(;++c<jr.length;){const f=jr[c];f in r&&r[f]!==void 0&&r[f]!==null&&(this[f]=f==="history"?[...r[f]]:r[f])}let s;for(s in r)jr.includes(s)||(this[s]=r[s])}get basename(){return typeof this.path=="string"?ln.basename(this.path):void 0}set basename(a){Hr(a,"basename"),Br(a,"basename"),this.path=ln.join(this.dirname||"",a)}get dirname(){return typeof this.path=="string"?ln.dirname(this.path):void 0}set dirname(a){jf(this.basename,"dirname"),this.path=ln.join(a||"",this.basename)}get extname(){return typeof this.path=="string"?ln.extname(this.path):void 0}set extname(a){if(Br(a,"extname"),jf(this.dirname,"extname"),a){if(a.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(a.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=ln.join(this.dirname,this.stem+(a||""))}get path(){return this.history[this.history.length-1]}set path(a){Ur(a)&&(a=I1(a)),Hr(a,"path"),this.path!==a&&this.history.push(a)}get stem(){return typeof this.path=="string"?ln.basename(this.path,this.extname):void 0}set stem(a){Hr(a,"stem"),Br(a,"stem"),this.path=ln.join(this.dirname||"",a+(this.extname||""))}fail(a,r,c){const s=this.message(a,r,c);throw s.fatal=!0,s}info(a,r,c){const s=this.message(a,r,c);return s.fatal=void 0,s}message(a,r,c){const s=new pe(a,r,c);return this.path&&(s.name=this.path+":"+s.name,s.file=this.path),s.fatal=!1,this.messages.push(s),s}toString(a){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(a||void 0).decode(this.value)}}function Br(i,a){if(i&&i.includes(ln.sep))throw new Error("`"+a+"` cannot be a path: did not expect `"+ln.sep+"`")}function Hr(i,a){if(!i)throw new Error("`"+a+"` cannot be empty")}function jf(i,a){if(!i)throw new Error("Setting `"+a+"` requires `path` to be set too")}function W1(i){return!!(i&&typeof i=="object"&&"byteLength"in i&&"byteOffset"in i)}const P1=(function(i){const c=this.constructor.prototype,s=c[i],f=function(){return s.apply(f,arguments)};return Object.setPrototypeOf(f,c),f}),tv={}.hasOwnProperty;class Lr extends P1{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=q1()}copy(){const a=new Lr;let r=-1;for(;++r<this.attachers.length;){const c=this.attachers[r];a.use(...c)}return a.data(kr(!0,{},this.namespace)),a}data(a,r){return typeof a=="string"?arguments.length===2?(Xr("data",this.frozen),this.namespace[a]=r,this):tv.call(this.namespace,a)&&this.namespace[a]||void 0:a?(Xr("data",this.frozen),this.namespace=a,this):this.namespace}freeze(){if(this.frozen)return this;const a=this;for(;++this.freezeIndex<this.attachers.length;){const[r,...c]=this.attachers[this.freezeIndex];if(c[0]===!1)continue;c[0]===!0&&(c[0]=void 0);const s=r.call(a,...c);typeof s=="function"&&this.transformers.use(s)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(a){this.freeze();const r=Du(a),c=this.parser||this.Parser;return qr("parse",c),c(String(r),r)}process(a,r){const c=this;return this.freeze(),qr("process",this.parser||this.Parser),Yr("process",this.compiler||this.Compiler),r?s(void 0,r):new Promise(s);function s(f,d){const m=Du(a),g=c.parse(m);c.run(g,m,function(b,x,A){if(b||!x||!A)return p(b);const E=x,X=c.stringify(E,A);lv(X)?A.value=X:A.result=X,p(b,A)});function p(b,x){b||!x?d(b):f?f(x):r(void 0,x)}}}processSync(a){let r=!1,c;return this.freeze(),qr("processSync",this.parser||this.Parser),Yr("processSync",this.compiler||this.Compiler),this.process(a,s),Hf("processSync","process",r),c;function s(f,d){r=!0,kf(f),c=d}}run(a,r,c){Bf(a),this.freeze();const s=this.transformers;return!c&&typeof r=="function"&&(c=r,r=void 0),c?f(void 0,c):new Promise(f);function f(d,m){const g=Du(r);s.run(a,g,p);function p(b,x,A){const E=x||a;b?m(b):d?d(E):c(void 0,E,A)}}}runSync(a,r){let c=!1,s;return this.run(a,r,f),Hf("runSync","run",c),s;function f(d,m){kf(d),s=m,c=!0}}stringify(a,r){this.freeze();const c=Du(r),s=this.compiler||this.Compiler;return Yr("stringify",s),Bf(a),s(a,c)}use(a,...r){const c=this.attachers,s=this.namespace;if(Xr("use",this.frozen),a!=null)if(typeof a=="function")g(a,r);else if(typeof a=="object")Array.isArray(a)?m(a):d(a);else throw new TypeError("Expected usable value, not `"+a+"`");return this;function f(p){if(typeof p=="function")g(p,[]);else if(typeof p=="object")if(Array.isArray(p)){const[b,...x]=p;g(b,x)}else d(p);else throw new TypeError("Expected usable value, not `"+p+"`")}function d(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");m(p.plugins),p.settings&&(s.settings=kr(!0,s.settings,p.settings))}function m(p){let b=-1;if(p!=null)if(Array.isArray(p))for(;++b<p.length;){const x=p[b];f(x)}else throw new TypeError("Expected a list of plugins, not `"+p+"`")}function g(p,b){let x=-1,A=-1;for(;++x<c.length;)if(c[x][0]===p){A=x;break}if(A===-1)c.push([p,...b]);else if(b.length>0){let[E,...X]=b;const V=c[A][1];Nr(V)&&Nr(E)&&(E=kr(!0,V,E)),c[A]=[p,E,...X]}}}}const ev=new Lr().freeze();function qr(i,a){if(typeof a!="function")throw new TypeError("Cannot `"+i+"` without `parser`")}function Yr(i,a){if(typeof a!="function")throw new TypeError("Cannot `"+i+"` without `compiler`")}function Xr(i,a){if(a)throw new Error("Cannot call `"+i+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Bf(i){if(!Nr(i)||typeof i.type!="string")throw new TypeError("Expected node, got `"+i+"`")}function Hf(i,a,r){if(!r)throw new Error("`"+i+"` finished async. Use `"+a+"` instead")}function Du(i){return nv(i)?i:new Uf(i)}function nv(i){return!!(i&&typeof i=="object"&&"message"in i&&"messages"in i)}function lv(i){return typeof i=="string"||iv(i)}function iv(i){return!!(i&&typeof i=="object"&&"byteLength"in i&&"byteOffset"in i)}const uv="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Lf=[],qf={allowDangerousHtml:!0},av=/^(https?|ircs?|mailto|xmpp)$/i,rv=[{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:"className",id:"remove-classname"},{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 cv(i){const a=ov(i),r=sv(i);return fv(a.runSync(a.parse(r),r),i)}function ov(i){const a=i.rehypePlugins||Lf,r=i.remarkPlugins||Lf,c=i.remarkRehypeOptions?{...i.remarkRehypeOptions,...qf}:qf;return ev().use(Y0).use(r).use(B1,c).use(a)}function sv(i){const a=i.children||"",r=new Uf;return typeof a=="string"&&(r.value=a),r}function fv(i,a){const r=a.allowedElements,c=a.allowElement,s=a.components,f=a.disallowedElements,d=a.skipHtml,m=a.unwrapDisallowed,g=a.urlTransform||hv;for(const b of rv)Object.hasOwn(a,b.from)&&(""+b.from+(b.to?"use `"+b.to+"` instead":"remove it")+uv+b.id,void 0);return Df(i,p),Ay(i,{Fragment:gr.Fragment,components:s,ignoreInvalidStyle:!0,jsx:gr.jsx,jsxs:gr.jsxs,passKeys:!0,passNode:!0});function p(b,x,A){if(b.type==="raw"&&A&&typeof x=="number")return d?A.children.splice(x,1):A.children[x]={type:"text",value:b.value},x;if(b.type==="element"){let E;for(E in mr)if(Object.hasOwn(mr,E)&&Object.hasOwn(b.properties,E)){const X=b.properties[E],V=mr[E];(V===null||V.includes(b.tagName))&&(b.properties[E]=g(String(X||""),E,b))}}if(b.type==="element"){let E=r?!r.includes(b.tagName):f?f.includes(b.tagName):!1;if(!E&&c&&typeof x=="number"&&(E=!c(b,x,A)),E&&A&&typeof x=="number")return m&&b.children?A.children.splice(x,1,...b.children):A.children.splice(x,1),x}}}function hv(i){const a=i.indexOf(":"),r=i.indexOf("?"),c=i.indexOf("#"),s=i.indexOf("/");return a===-1||s!==-1&&a>s||r!==-1&&a>r||c!==-1&&a>c||av.test(i.slice(0,a))?i:""}function dv({children:i}){const[a,r]=Ut.useState(!1),c=Ut.useRef(null),s=()=>{navigator.clipboard.writeText(c.current?.innerText??"").then(()=>{r(!0),setTimeout(()=>r(!1),2e3)})};return Q.jsxs("div",{style:{position:"relative",margin:"0.6em 0"},children:[Q.jsx("pre",{ref:c,children:i}),Q.jsx("button",{className:"hover:bg-[#ffffff] rounded-full",onClick:s,style:{position:"absolute",top:1,right:1,padding:"8px",fontSize:"0.72em",color:"var(--nx-text-muted)",cursor:"pointer",transition:"color 0.15s"},children:a?Q.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16",children:Q.jsx("path",{d:"M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0"})}):Q.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16",children:Q.jsx("path",{fillRule:"evenodd",d:"M4 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2zm2-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM2 5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-1h1v1a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h1v1z"})})})]})}function pv({content:i}){return Q.jsx(cv,{components:{p:({children:a})=>Q.jsx("p",{style:{margin:"0 0 0.5em",lineHeight:1.6},children:a}),ul:({children:a})=>Q.jsx("ul",{style:{margin:"0.25em 0 0.5em",paddingLeft:"1.25em"},children:a}),ol:({children:a})=>Q.jsx("ol",{style:{margin:"0.25em 0 0.5em",paddingLeft:"1.25em"},children:a}),li:({children:a})=>Q.jsx("li",{style:{margin:"0.2em 0",lineHeight:1.5},children:a}),strong:({children:a})=>Q.jsx("strong",{style:{fontWeight:600,color:"var(--nx-text)"},children:a}),em:({children:a})=>Q.jsx("em",{style:{opacity:.85},children:a}),code:({children:a})=>Q.jsx(dv,{children:a}),pre:({children:a})=>Q.jsx("pre",{style:{background:"var(--nx-surface)",border:"1px solid var(--nx-border)",borderRadius:8,padding:"0.75em 1em",overflowX:"auto",fontSize:"0.82em",fontFamily:"monospace",margin:"0.5em 0"},children:a}),hr:()=>Q.jsx("hr",{style:{border:"none",borderTop:"1px solid var(--nx-border)",margin:"0.75em 0"}}),a:({children:a})=>Q.jsx("span",{style:{textDecoration:"underline",opacity:.8},children:a})},children:i})}function mv({color:i,agentName:a}){return Q.jsxs("div",{className:"flex items-start gap-3",children:[Q.jsx("div",{style:{background:i,flexShrink:0},className:`w-7 h-7 rounded-full flex items-center justify-center\r
|
|
23
|
-
text-white text-xs font-semibold mt-0.5`,children:a[0].toUpperCase()}),Q.jsx("div",{className:"flex items-end gap-1 pt-2.5",children:[0,1,2].map(r=>Q.jsx("span",{style:{display:"block",width:6,height:6,borderRadius:"50%",background:i,opacity:.55,animation:`nexusBounce 1.2s ease-in-out ${r*.2}s infinite`}},r))})]})}function yv({msg:i,primaryColor:a,agentName:r}){const c=i.role==="user";return i.content?c?Q.jsx("div",{className:"flex justify-end",children:Q.jsx("div",{style:{background:a},className:`max-w-[75%] px-4 py-2.5 rounded-2xl rounded-br-sm\r
|
|
24
|
-
text-white text-sm leading-relaxed`,children:i.content})}):Q.jsxs("div",{className:"flex items-start gap-3",children:[Q.jsx("div",{style:{background:a,flexShrink:0},className:`w-7 h-7 rounded-full flex items-center justify-center\r
|
|
25
|
-
text-white text-xs font-semibold mt-0.5`,children:r[0].toUpperCase()}),Q.jsx("div",{style:{color:"var(--nx-text)"},className:"flex-1 text-sm leading-relaxed pt-0.5 min-w-0",children:Q.jsx(pv,{content:i.content})})]}):Q.jsx(Ut.Fragment,{})}function gv({agentName:i,messages:a,isLoading:r,error:c,primaryColor:s,welcomeMessage:f,onSend:d,onClose:m,isFullView:g,onToggleFullView:p}){const[b,x]=Ut.useState(""),A=Ut.useRef(null),E=Ut.useRef(null),[X,V]=Ut.useState(!1),I=Ut.useRef(null),j=()=>{const lt=I.current;lt&&V(lt.scrollHeight-lt.scrollTop-lt.clientHeight>120)};Ut.useEffect(()=>{A.current?.scrollIntoView({behavior:"smooth"})},[a,r]),Ut.useEffect(()=>{E.current?.focus()},[]);const nt=()=>{!b.trim()||r||(d(b),x(""))},K=lt=>{lt.key==="Enter"&&!lt.shiftKey&&(lt.preventDefault(),nt())};return Q.jsxs(Q.Fragment,{children:[Q.jsx("style",{children:`
|
|
21
|
+
`}),r}function Rf(i){let a=0,r=i.charCodeAt(a);for(;r===9||r===32;)a++,r=i.charCodeAt(a);return i.slice(a)}function kf(i,a){const r=k1(i,a),c=r.one(i,void 0),s=E1(r),f=Array.isArray(c)?{type:"root",children:c}:c||{type:"root",children:[]};return s&&f.children.push({type:"text",value:`
|
|
22
|
+
`},s),f}function H1(i,a){return i&&"run"in i?async function(r,c){const s=kf(r,{file:c,...a});await i.run(s,c)}:function(r,c){return kf(r,{file:c,...i||a})}}function Nf(i){if(i)throw i}var Rr,jf;function L1(){if(jf)return Rr;jf=1;var i=Object.prototype.hasOwnProperty,a=Object.prototype.toString,r=Object.defineProperty,c=Object.getOwnPropertyDescriptor,s=function(p){return typeof Array.isArray=="function"?Array.isArray(p):a.call(p)==="[object Array]"},f=function(p){if(!p||a.call(p)!=="[object Object]")return!1;var x=i.call(p,"constructor"),S=p.constructor&&p.constructor.prototype&&i.call(p.constructor.prototype,"isPrototypeOf");if(p.constructor&&!x&&!S)return!1;var z;for(z in p);return typeof z>"u"||i.call(p,z)},d=function(p,x){r&&x.name==="__proto__"?r(p,x.name,{enumerable:!0,configurable:!0,value:x.newValue,writable:!0}):p[x.name]=x.newValue},m=function(p,x){if(x==="__proto__")if(i.call(p,x)){if(c)return c(p,x).value}else return;return p[x]};return Rr=function g(){var p,x,S,z,E,Q,G=arguments[0],I=1,H=arguments.length,tt=!1;for(typeof G=="boolean"&&(tt=G,G=arguments[1]||{},I=2),(G==null||typeof G!="object"&&typeof G!="function")&&(G={});I<H;++I)if(p=arguments[I],p!=null)for(x in p)S=m(G,x),z=m(p,x),G!==z&&(tt&&z&&(f(z)||(E=s(z)))?(E?(E=!1,Q=S&&s(S)?S:[]):Q=S&&f(S)?S:{},d(G,{name:x,newValue:g(tt,Q,z)})):typeof z<"u"&&d(G,{name:x,newValue:z}));return G},Rr}var q1=L1();const kr=rs(q1);function Nr(i){if(typeof i!="object"||i===null)return!1;const a=Object.getPrototypeOf(i);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(Symbol.toStringTag in i)&&!(Symbol.iterator in i)}function Y1(){const i=[],a={run:r,use:c};return a;function r(...s){let f=-1;const d=s.pop();if(typeof d!="function")throw new TypeError("Expected function as last argument, not "+d);m(null,...s);function m(g,...p){const x=i[++f];let S=-1;if(g){d(g);return}for(;++S<s.length;)(p[S]===null||p[S]===void 0)&&(p[S]=s[S]);s=p,x?X1(x,m)(...p):d(null,...p)}}function c(s){if(typeof s!="function")throw new TypeError("Expected `middelware` to be a function, not "+s);return i.push(s),a}}function X1(i,a){let r;return c;function c(...d){const m=i.length>d.length;let g;m&&d.push(s);try{g=i.apply(this,d)}catch(p){const x=p;if(m&&r)throw x;return s(x)}m||(g&&g.then&&typeof g.then=="function"?g.then(f,s):g instanceof Error?s(g):f(g))}function s(d,...m){r||(r=!0,a(d,...m))}function f(d){s(null,d)}}const ln={basename:G1,dirname:Q1,extname:V1,join:Z1,sep:"/"};function G1(i,a){if(a!==void 0&&typeof a!="string")throw new TypeError('"ext" argument must be a string');Oi(i);let r=0,c=-1,s=i.length,f;if(a===void 0||a.length===0||a.length>i.length){for(;s--;)if(i.codePointAt(s)===47){if(f){r=s+1;break}}else c<0&&(f=!0,c=s+1);return c<0?"":i.slice(r,c)}if(a===i)return"";let d=-1,m=a.length-1;for(;s--;)if(i.codePointAt(s)===47){if(f){r=s+1;break}}else d<0&&(f=!0,d=s+1),m>-1&&(i.codePointAt(s)===a.codePointAt(m--)?m<0&&(c=s):(m=-1,c=d));return r===c?c=d:c<0&&(c=i.length),i.slice(r,c)}function Q1(i){if(Oi(i),i.length===0)return".";let a=-1,r=i.length,c;for(;--r;)if(i.codePointAt(r)===47){if(c){a=r;break}}else c||(c=!0);return a<0?i.codePointAt(0)===47?"/":".":a===1&&i.codePointAt(0)===47?"//":i.slice(0,a)}function V1(i){Oi(i);let a=i.length,r=-1,c=0,s=-1,f=0,d;for(;a--;){const m=i.codePointAt(a);if(m===47){if(d){c=a+1;break}continue}r<0&&(d=!0,r=a+1),m===46?s<0?s=a:f!==1&&(f=1):s>-1&&(f=-1)}return s<0||r<0||f===0||f===1&&s===r-1&&s===c+1?"":i.slice(s,r)}function Z1(...i){let a=-1,r;for(;++a<i.length;)Oi(i[a]),i[a]&&(r=r===void 0?i[a]:r+"/"+i[a]);return r===void 0?".":K1(r)}function K1(i){Oi(i);const a=i.codePointAt(0)===47;let r=J1(i,!a);return r.length===0&&!a&&(r="."),r.length>0&&i.codePointAt(i.length-1)===47&&(r+="/"),a?"/"+r:r}function J1(i,a){let r="",c=0,s=-1,f=0,d=-1,m,g;for(;++d<=i.length;){if(d<i.length)m=i.codePointAt(d);else{if(m===47)break;m=47}if(m===47){if(!(s===d-1||f===1))if(s!==d-1&&f===2){if(r.length<2||c!==2||r.codePointAt(r.length-1)!==46||r.codePointAt(r.length-2)!==46){if(r.length>2){if(g=r.lastIndexOf("/"),g!==r.length-1){g<0?(r="",c=0):(r=r.slice(0,g),c=r.length-1-r.lastIndexOf("/")),s=d,f=0;continue}}else if(r.length>0){r="",c=0,s=d,f=0;continue}}a&&(r=r.length>0?r+"/..":"..",c=2)}else r.length>0?r+="/"+i.slice(s+1,d):r=i.slice(s+1,d),c=d-s-1;s=d,f=0}else m===46&&f>-1?f++:f=-1}return r}function Oi(i){if(typeof i!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(i))}const F1={cwd:I1};function I1(){return"/"}function jr(i){return!!(i!==null&&typeof i=="object"&&"href"in i&&i.href&&"protocol"in i&&i.protocol&&i.auth===void 0)}function $1(i){if(typeof i=="string")i=new URL(i);else if(!jr(i)){const a=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+i+"`");throw a.code="ERR_INVALID_ARG_TYPE",a}if(i.protocol!=="file:"){const a=new TypeError("The URL must be of scheme file");throw a.code="ERR_INVALID_URL_SCHEME",a}return W1(i)}function W1(i){if(i.hostname!==""){const c=new TypeError('File URL host must be "localhost" or empty on darwin');throw c.code="ERR_INVALID_FILE_URL_HOST",c}const a=i.pathname;let r=-1;for(;++r<a.length;)if(a.codePointAt(r)===37&&a.codePointAt(r+1)===50){const c=a.codePointAt(r+2);if(c===70||c===102){const s=new TypeError("File URL path must not include encoded / characters");throw s.code="ERR_INVALID_FILE_URL_PATH",s}}return decodeURIComponent(a)}const Ur=["history","path","basename","stem","extname","dirname"];class Uf{constructor(a){let r;a?jr(a)?r={path:a}:typeof a=="string"||P1(a)?r={value:a}:r=a:r={},this.cwd="cwd"in r?"":F1.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let c=-1;for(;++c<Ur.length;){const f=Ur[c];f in r&&r[f]!==void 0&&r[f]!==null&&(this[f]=f==="history"?[...r[f]]:r[f])}let s;for(s in r)Ur.includes(s)||(this[s]=r[s])}get basename(){return typeof this.path=="string"?ln.basename(this.path):void 0}set basename(a){Hr(a,"basename"),Br(a,"basename"),this.path=ln.join(this.dirname||"",a)}get dirname(){return typeof this.path=="string"?ln.dirname(this.path):void 0}set dirname(a){Bf(this.basename,"dirname"),this.path=ln.join(a||"",this.basename)}get extname(){return typeof this.path=="string"?ln.extname(this.path):void 0}set extname(a){if(Br(a,"extname"),Bf(this.dirname,"extname"),a){if(a.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(a.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=ln.join(this.dirname,this.stem+(a||""))}get path(){return this.history[this.history.length-1]}set path(a){jr(a)&&(a=$1(a)),Hr(a,"path"),this.path!==a&&this.history.push(a)}get stem(){return typeof this.path=="string"?ln.basename(this.path,this.extname):void 0}set stem(a){Hr(a,"stem"),Br(a,"stem"),this.path=ln.join(this.dirname||"",a+(this.extname||""))}fail(a,r,c){const s=this.message(a,r,c);throw s.fatal=!0,s}info(a,r,c){const s=this.message(a,r,c);return s.fatal=void 0,s}message(a,r,c){const s=new pe(a,r,c);return this.path&&(s.name=this.path+":"+s.name,s.file=this.path),s.fatal=!1,this.messages.push(s),s}toString(a){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(a||void 0).decode(this.value)}}function Br(i,a){if(i&&i.includes(ln.sep))throw new Error("`"+a+"` cannot be a path: did not expect `"+ln.sep+"`")}function Hr(i,a){if(!i)throw new Error("`"+a+"` cannot be empty")}function Bf(i,a){if(!i)throw new Error("Setting `"+a+"` requires `path` to be set too")}function P1(i){return!!(i&&typeof i=="object"&&"byteLength"in i&&"byteOffset"in i)}const tv=(function(i){const c=this.constructor.prototype,s=c[i],f=function(){return s.apply(f,arguments)};return Object.setPrototypeOf(f,c),f}),ev={}.hasOwnProperty;class Lr extends tv{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=Y1()}copy(){const a=new Lr;let r=-1;for(;++r<this.attachers.length;){const c=this.attachers[r];a.use(...c)}return a.data(kr(!0,{},this.namespace)),a}data(a,r){return typeof a=="string"?arguments.length===2?(Xr("data",this.frozen),this.namespace[a]=r,this):ev.call(this.namespace,a)&&this.namespace[a]||void 0:a?(Xr("data",this.frozen),this.namespace=a,this):this.namespace}freeze(){if(this.frozen)return this;const a=this;for(;++this.freezeIndex<this.attachers.length;){const[r,...c]=this.attachers[this.freezeIndex];if(c[0]===!1)continue;c[0]===!0&&(c[0]=void 0);const s=r.call(a,...c);typeof s=="function"&&this.transformers.use(s)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(a){this.freeze();const r=Da(a),c=this.parser||this.Parser;return qr("parse",c),c(String(r),r)}process(a,r){const c=this;return this.freeze(),qr("process",this.parser||this.Parser),Yr("process",this.compiler||this.Compiler),r?s(void 0,r):new Promise(s);function s(f,d){const m=Da(a),g=c.parse(m);c.run(g,m,function(x,S,z){if(x||!S||!z)return p(x);const E=S,Q=c.stringify(E,z);iv(Q)?z.value=Q:z.result=Q,p(x,z)});function p(x,S){x||!S?d(x):f?f(S):r(void 0,S)}}}processSync(a){let r=!1,c;return this.freeze(),qr("processSync",this.parser||this.Parser),Yr("processSync",this.compiler||this.Compiler),this.process(a,s),Lf("processSync","process",r),c;function s(f,d){r=!0,Nf(f),c=d}}run(a,r,c){Hf(a),this.freeze();const s=this.transformers;return!c&&typeof r=="function"&&(c=r,r=void 0),c?f(void 0,c):new Promise(f);function f(d,m){const g=Da(r);s.run(a,g,p);function p(x,S,z){const E=S||a;x?m(x):d?d(E):c(void 0,E,z)}}}runSync(a,r){let c=!1,s;return this.run(a,r,f),Lf("runSync","run",c),s;function f(d,m){Nf(d),s=m,c=!0}}stringify(a,r){this.freeze();const c=Da(r),s=this.compiler||this.Compiler;return Yr("stringify",s),Hf(a),s(a,c)}use(a,...r){const c=this.attachers,s=this.namespace;if(Xr("use",this.frozen),a!=null)if(typeof a=="function")g(a,r);else if(typeof a=="object")Array.isArray(a)?m(a):d(a);else throw new TypeError("Expected usable value, not `"+a+"`");return this;function f(p){if(typeof p=="function")g(p,[]);else if(typeof p=="object")if(Array.isArray(p)){const[x,...S]=p;g(x,S)}else d(p);else throw new TypeError("Expected usable value, not `"+p+"`")}function d(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");m(p.plugins),p.settings&&(s.settings=kr(!0,s.settings,p.settings))}function m(p){let x=-1;if(p!=null)if(Array.isArray(p))for(;++x<p.length;){const S=p[x];f(S)}else throw new TypeError("Expected a list of plugins, not `"+p+"`")}function g(p,x){let S=-1,z=-1;for(;++S<c.length;)if(c[S][0]===p){z=S;break}if(z===-1)c.push([p,...x]);else if(x.length>0){let[E,...Q]=x;const G=c[z][1];Nr(G)&&Nr(E)&&(E=kr(!0,G,E)),c[z]=[p,E,...Q]}}}}const nv=new Lr().freeze();function qr(i,a){if(typeof a!="function")throw new TypeError("Cannot `"+i+"` without `parser`")}function Yr(i,a){if(typeof a!="function")throw new TypeError("Cannot `"+i+"` without `compiler`")}function Xr(i,a){if(a)throw new Error("Cannot call `"+i+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Hf(i){if(!Nr(i)||typeof i.type!="string")throw new TypeError("Expected node, got `"+i+"`")}function Lf(i,a,r){if(!r)throw new Error("`"+i+"` finished async. Use `"+a+"` instead")}function Da(i){return lv(i)?i:new Uf(i)}function lv(i){return!!(i&&typeof i=="object"&&"message"in i&&"messages"in i)}function iv(i){return typeof i=="string"||av(i)}function av(i){return!!(i&&typeof i=="object"&&"byteLength"in i&&"byteOffset"in i)}const uv="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",qf=[],Yf={allowDangerousHtml:!0},rv=/^(https?|ircs?|mailto|xmpp)$/i,cv=[{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:"className",id:"remove-classname"},{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 ov(i){const a=sv(i),r=fv(i);return hv(a.runSync(a.parse(r),r),i)}function sv(i){const a=i.rehypePlugins||qf,r=i.remarkPlugins||qf,c=i.remarkRehypeOptions?{...i.remarkRehypeOptions,...Yf}:Yf;return nv().use(X0).use(r).use(H1,c).use(a)}function fv(i){const a=i.children||"",r=new Uf;return typeof a=="string"&&(r.value=a),r}function hv(i,a){const r=a.allowedElements,c=a.allowElement,s=a.components,f=a.disallowedElements,d=a.skipHtml,m=a.unwrapDisallowed,g=a.urlTransform||dv;for(const x of cv)Object.hasOwn(a,x.from)&&(""+x.from+(x.to?"use `"+x.to+"` instead":"remove it")+uv+x.id,void 0);return wf(i,p),Cy(i,{Fragment:gr.Fragment,components:s,ignoreInvalidStyle:!0,jsx:gr.jsx,jsxs:gr.jsxs,passKeys:!0,passNode:!0});function p(x,S,z){if(x.type==="raw"&&z&&typeof S=="number")return d?z.children.splice(S,1):z.children[S]={type:"text",value:x.value},S;if(x.type==="element"){let E;for(E in mr)if(Object.hasOwn(mr,E)&&Object.hasOwn(x.properties,E)){const Q=x.properties[E],G=mr[E];(G===null||G.includes(x.tagName))&&(x.properties[E]=g(String(Q||""),E,x))}}if(x.type==="element"){let E=r?!r.includes(x.tagName):f?f.includes(x.tagName):!1;if(!E&&c&&typeof S=="number"&&(E=!c(x,S,z)),E&&z&&typeof S=="number")return m&&x.children?z.children.splice(S,1,...x.children):z.children.splice(S,1),S}}}function dv(i){const a=i.indexOf(":"),r=i.indexOf("?"),c=i.indexOf("#"),s=i.indexOf("/");return a===-1||s!==-1&&a>s||r!==-1&&a>r||c!==-1&&a>c||rv.test(i.slice(0,a))?i:""}function pv({children:i}){const[a,r]=vt.useState(!1),c=vt.useRef(null),s=()=>{navigator.clipboard.writeText(c.current?.innerText??"").then(()=>{r(!0),setTimeout(()=>r(!1),2e3)})};return B.jsxs("div",{style:{position:"relative",margin:"0.6em 0"},children:[B.jsx("pre",{ref:c,children:i}),B.jsx("button",{className:"hover:bg-[#ffffff] rounded-full",onClick:s,style:{position:"absolute",top:1,right:1,padding:"8px",fontSize:"0.72em",color:"var(--nx-text-muted)",cursor:"pointer",transition:"color 0.15s"},children:a?B.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16",children:B.jsx("path",{d:"M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0"})}):B.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16",children:B.jsx("path",{fillRule:"evenodd",d:"M4 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2zm2-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM2 5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-1h1v1a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h1v1z"})})})]})}function mv({content:i}){return B.jsx(ov,{components:{p:({children:a})=>B.jsx("p",{style:{margin:"0 0 0.5em",lineHeight:1.6},children:a}),ul:({children:a})=>B.jsx("ul",{style:{margin:"0.25em 0 0.5em",paddingLeft:"1.25em"},children:a}),ol:({children:a})=>B.jsx("ol",{style:{margin:"0.25em 0 0.5em",paddingLeft:"1.25em"},children:a}),li:({children:a})=>B.jsx("li",{style:{margin:"0.2em 0",lineHeight:1.5},children:a}),strong:({children:a})=>B.jsx("strong",{style:{fontWeight:600,color:"var(--nx-text)"},children:a}),em:({children:a})=>B.jsx("em",{style:{opacity:.85},children:a}),code:({children:a})=>B.jsx(pv,{children:a}),pre:({children:a})=>B.jsx("pre",{style:{background:"var(--nx-surface)",border:"1px solid var(--nx-border)",borderRadius:8,padding:"0.75em 1em",overflowX:"auto",fontSize:"0.82em",fontFamily:"monospace",margin:"0.5em 0"},children:a}),hr:()=>B.jsx("hr",{style:{border:"none",borderTop:"1px solid var(--nx-border)",margin:"0.75em 0"}}),a:({children:a})=>B.jsx("span",{style:{textDecoration:"underline",opacity:.8},children:a})},children:i})}function yv({color:i,agentName:a}){return B.jsxs("div",{style:{display:"flex",alignItems:"flex-start",gap:12},children:[B.jsx("div",{style:{background:i,flexShrink:0,width:28,height:28,borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",color:"#fff",fontSize:12,fontWeight:600,marginTop:2},children:a[0].toUpperCase()}),B.jsx("div",{style:{display:"flex",alignItems:"flex-end",gap:4,paddingTop:10},children:[0,1,2].map(r=>B.jsx("span",{style:{display:"block",width:6,height:6,borderRadius:"50%",background:i,opacity:.55,animation:`nexusBounce 1.2s ease-in-out ${r*.2}s infinite`}},r))})]})}function gv({msg:i,primaryColor:a,agentName:r}){return i.content?i.role==="user"?B.jsx("div",{style:{display:"flex",justifyContent:"flex-end"},children:B.jsx("div",{style:{background:a,maxWidth:"75%",padding:"10px 16px",borderRadius:"18px",borderBottomRightRadius:4,color:"#fff",fontSize:14,lineHeight:1.65,wordBreak:"break-word"},children:i.content})}):B.jsxs("div",{style:{display:"flex",alignItems:"flex-start",gap:12},children:[B.jsx("div",{style:{background:a,flexShrink:0,width:28,height:28,borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",color:"#fff",fontSize:12,fontWeight:600,marginTop:2},children:r[0].toUpperCase()}),B.jsx("div",{style:{flex:1,minWidth:0,fontSize:14,lineHeight:1.65,paddingTop:2,color:"var(--nx-text)"},children:B.jsx(mv,{content:i.content})})]}):null}function vv({agentName:i,messages:a,isLoading:r,error:c,primaryColor:s,welcomeMessage:f,onSend:d,onClose:m,isFullView:g,onToggleFullView:p}){const[x,S]=vt.useState(""),[z,E]=vt.useState(!1),[Q,G]=vt.useState(null),[I,H]=vt.useState(!1),tt=vt.useRef(null),V=vt.useRef(null),st=vt.useRef(null),dt=a.length===0,N=!!x.trim()&&!r;vt.useEffect(()=>{dt||tt.current?.scrollIntoView({behavior:"smooth"})},[a,r,dt]),vt.useEffect(()=>{V.current?.focus()},[]);const K=()=>{const U=st.current;U&&H(U.scrollHeight-U.scrollTop-U.clientHeight>120)},ut=()=>{N&&(d(x),S(""),V.current&&(V.current.style.height="auto"))},ft=U=>{U.key==="Enter"&&!U.shiftKey&&(U.preventDefault(),ut())},pt=U=>({padding:8,background:Q===U?"var(--nx-surface)":"transparent",border:"none",borderRadius:8,color:"var(--nx-text-muted)",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",transition:"background 0.15s"}),nt=B.jsxs("div",{style:{position:"relative",width:"100%",maxWidth:g?720:"none",margin:"0 auto"},children:[B.jsx("textarea",{ref:V,rows:1,value:x,onChange:U=>{S(U.target.value),U.target.style.height="auto",U.target.style.height=`${Math.min(U.target.scrollHeight,100)}px`},onKeyDown:ft,onFocus:()=>E(!0),onBlur:()=>E(!1),placeholder:"Type a message…",disabled:r,style:{display:"block",width:"100%",boxSizing:"border-box",resize:"none",minHeight:44,maxHeight:100,overflowY:"auto",scrollbarWidth:"none",msOverflowStyle:"none",padding:"10px 52px 10px 14px",border:`1px solid ${z?s:"var(--nx-border)"}`,borderRadius:12,background:"var(--nx-bg)",color:"var(--nx-text)",fontSize:14,fontFamily:"inherit",outline:"none",boxShadow:"0 1px 4px rgba(0,0,0,0.07)",transition:"border-color 0.15s",opacity:r?.4:1}}),B.jsx("button",{onClick:ut,disabled:!N,"aria-label":"Send message",style:{position:"absolute",right:6,bottom:6,width:32,height:32,borderRadius:8,border:"none",background:N?s:"var(--nx-surface)",display:"flex",alignItems:"center",justifyContent:"center",cursor:N?"pointer":"not-allowed",opacity:N?1:.4,transition:"background 0.15s"},children:B.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:N?"white":"var(--nx-text-muted)",viewBox:"0 0 16 16",children:B.jsx("path",{fillRule:"evenodd",d:"M8 12a.5.5 0 0 0 .5-.5V5.707l2.146 2.147a.5.5 0 0 0 .708-.708l-3-3a.5.5 0 0 0-.708 0l-3 3a.5.5 0 1 0 .708.708L7.5 5.707V11.5a.5.5 0 0 0 .5.5"})})})]});return B.jsxs(B.Fragment,{children:[B.jsx("style",{children:`
|
|
26
23
|
@keyframes nexusBounce {
|
|
27
24
|
0%, 80%, 100% { transform: translateY(0); }
|
|
28
25
|
40% { transform: translateY(-5px); }
|
|
29
26
|
}
|
|
30
|
-
|
|
31
|
-
|
|
27
|
+
@keyframes nexusFadeUp {
|
|
28
|
+
from { opacity: 0; transform: translateY(10px); }
|
|
29
|
+
to { opacity: 1; transform: translateY(0); }
|
|
32
30
|
}
|
|
33
|
-
`}),Q.jsxs("div",{style:{fontFamily:"system-ui, -apple-system, sans-serif",position:"relative",background:"var(--nx-bg)",borderColor:g?"none":"var(--nx-border)"},className:`flex flex-col overflow-hidden shadow-2xl h-full ${g?"":"rounded-2xl border"}`,role:"dialog","aria-label":`${i} chat`,children:[!g&&Q.jsxs("div",{style:{background:"var(--nx-bg)",borderBottom:"1px solid var(--nx-border)"},className:"flex items-center justify-between px-4 py-3 shrink-0",children:[Q.jsxs("div",{className:"flex items-center gap-2.5",children:[Q.jsx("div",{className:"w-2 h-2 rounded-full bg-[var(--nx-text)]/40"}),Q.jsx("span",{style:{color:s},className:"text-sm font-medium",children:i})]}),Q.jsxs("div",{className:"flex items-center gap-1",children:[Q.jsx("button",{onClick:p,"aria-label":"Expand to full view",className:"nexus-ctrl-btn p-2",children:Q.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",children:Q.jsx("path",{d:"M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3"})})}),Q.jsx("button",{onClick:m,"aria-label":"Close chat",className:"nexus-ctrl-btn p-2",children:Q.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",children:Q.jsx("path",{d:"M18 6 6 18M6 6l12 12"})})})]})]}),g&&Q.jsxs("div",{className:"absolute top-4 right-4 flex items-center gap-2",style:{zIndex:10},children:[Q.jsx("button",{onClick:p,"aria-label":"Exit full view",className:"nexus-ctrl-btn p-2",children:Q.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",children:Q.jsx("path",{d:"M8 3v3a2 2 0 0 1-2 2H3m18 0h-3a2 2 0 0 1-2-2V3m0 18v-3a2 2 0 0 1 2-2h3M3 16h3a2 2 0 0 1 2 2v3"})})}),Q.jsx("button",{onClick:m,"aria-label":"Close chat",className:"nexus-ctrl-btn p-2",children:Q.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",children:Q.jsx("path",{d:"M18 6 6 18M6 6l12 12"})})})]}),Q.jsx("div",{ref:I,onScroll:j,className:"flex-1 overflow-y-auto",style:{minHeight:0,background:"var(--nx-bg)"},children:Q.jsxs("div",{className:"space-y-3 p-2",style:g?{maxWidth:720,margin:"0 auto"}:void 0,children:[a.length===0&&Q.jsxs("div",{className:"flex items-start gap-3",children:[Q.jsx("div",{style:{background:s,flexShrink:0},className:`w-7 h-7 rounded-full flex items-center justify-center\r
|
|
34
|
-
text-white text-xs font-semibold mt-0.5`,children:i[0].toUpperCase()}),Q.jsx("p",{style:{color:"var(--nx-text)"},className:"flex-1 text-sm leading-relaxed pt-0.5",children:f})]}),a.map((lt,ht)=>{const N=a[ht-1],Y=ht>0&&N.role==="assistant"&<.role==="user";return Q.jsxs(Ut.Fragment,{children:[Y&&Q.jsx("hr",{style:{border:"none",borderTop:"1px solid var(--nx-border)",margin:"1rem 0"}}),Q.jsx(yv,{msg:lt,primaryColor:s,agentName:i})]},lt.id)}),r&&Q.jsx(mv,{color:s,agentName:i}),c&&Q.jsx("p",{className:"text-center text-xs py-1",style:{color:"var(--nx-error)"},children:c}),Q.jsx("div",{ref:A})]})}),X&&Q.jsx("button",{onClick:()=>A.current?.scrollIntoView({behavior:"smooth"}),"aria-label":"Scroll to bottom",style:{position:"absolute",bottom:90,left:"50%",transform:"translateX(-50%)",width:30,height:30,borderRadius:"50%",background:"var(--nx-bg)",opacity:.8,border:"1px solid var(--nx-border)",boxShadow:"0 2px 8px rgba(0,0,0,0.10)",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",color:"var(--nx-text)",zIndex:5},children:Q.jsx("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",children:Q.jsx("path",{d:"M12 5v14M5 12l7 7 7-7"})})}),Q.jsx("div",{style:{background:"var(--nx-bg)",borderColor:g?"none":"var(--nx-border)"},className:`${!g&&"border-t"} shrink-0 px-2.5`,children:Q.jsxs("div",{className:"relative w-full mx-auto flex items-center shadow rounded-xl",style:{maxWidth:g?720:"none",marginBottom:g?20:12,marginTop:g?0:10},children:[Q.jsx("textarea",{ref:E,rows:1,value:b,onChange:lt=>{x(lt.target.value),lt.target.style.height="auto",lt.target.style.height=`${Math.min(lt.target.scrollHeight,100)}px`},onKeyDown:K,placeholder:"Type a message…",disabled:r,style:{resize:"none",minHeight:44,maxHeight:100,overflowY:"auto",paddingRight:52},className:`nexus-input w-full border rounded-xl px-3 py-2.5 text-sm\r
|
|
35
|
-
transition-colors disabled:opacity-40`}),Q.jsx("button",{onClick:nt,disabled:!b.trim()||r,"aria-label":"Send message",style:{position:"absolute",right:6,bottom:6,background:b.trim()&&!r?s:"var(--nx-surface)"},className:`w-8 h-8 rounded-lg flex items-center justify-center\r
|
|
36
|
-
transition-colors disabled:opacity-40\r
|
|
37
|
-
disabled:cursor-not-allowed`,children:Q.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:b.trim()&&!r?"white":"var(--nx-text-muted)",viewBox:"0 0 16 16",children:Q.jsx("path",{fillRule:"evenodd",d:"M8 12a.5.5 0 0 0 .5-.5V5.707l2.146 2.147a.5.5 0 0 0 .708-.708l-3-3a.5.5 0 0 0-.708 0l-3 3a.5.5 0 1 0 .708.708L7.5 5.707V11.5a.5.5 0 0 0 .5.5"})})})]})})]})]})}function Yf(i){return`nexus_widget_session_${i}`}function vv(i){const a=sessionStorage.getItem(Yf(i));if(a)return a;const r=crypto.randomUUID();return sessionStorage.setItem(Yf(i),r),r}async function*bv(i,a){const r=new TextDecoder;let c="";try{for(;;){if(a.aborted)return;const{done:s,value:f}=await i.read();if(s)return;c+=r.decode(f,{stream:!0});const d=c.split(`
|
|
31
|
+
`}),B.jsxs("div",{role:"dialog","aria-label":`${i} chat`,style:{position:"relative",display:"flex",flexDirection:"column",height:"100%"},children:[!g&&B.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"12px 16px",flexShrink:0,background:"var(--nx-bg)",borderBottom:"1px solid var(--nx-border)"},children:[B.jsxs("div",{style:{display:"flex",alignItems:"center",gap:10},children:[B.jsx("div",{style:{width:8,height:8,borderRadius:"50%",background:"var(--nx-text)",opacity:.4}}),B.jsx("span",{style:{color:s,fontSize:14,fontWeight:500},children:i})]}),B.jsxs("div",{style:{display:"flex",alignItems:"center",gap:4},children:[B.jsx("button",{onClick:p,"aria-label":"Expand to full view",onMouseEnter:()=>G("expand"),onMouseLeave:()=>G(null),style:pt("expand"),children:B.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",children:B.jsx("path",{d:"M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3"})})}),B.jsx("button",{onClick:m,"aria-label":"Close chat",onMouseEnter:()=>G("close"),onMouseLeave:()=>G(null),style:pt("close"),children:B.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",children:B.jsx("path",{d:"M18 6 6 18M6 6l12 12"})})})]})]}),g&&B.jsxs("div",{style:{position:"absolute",top:16,right:16,display:"flex",alignItems:"center",gap:8,zIndex:10},children:[B.jsx("button",{onClick:p,"aria-label":"Exit full view",onMouseEnter:()=>G("shrink"),onMouseLeave:()=>G(null),style:pt("shrink"),children:B.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",children:B.jsx("path",{d:"M8 3v3a2 2 0 0 1-2 2H3m18 0h-3a2 2 0 0 1-2-2V3m0 18v-3a2 2 0 0 1 2-2h3M3 16h3a2 2 0 0 1 2 2v3"})})}),B.jsx("button",{onClick:m,"aria-label":"Close",onMouseEnter:()=>G("close-full"),onMouseLeave:()=>G(null),style:pt("close-full"),children:B.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",children:B.jsx("path",{d:"M18 6 6 18M6 6l12 12"})})})]}),dt&&B.jsxs("div",{style:{flex:1,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:g?"60px 40px 48px":"32px 20px 24px",animation:"nexusFadeUp 0.25s ease"},children:[B.jsx("div",{style:{width:g?72:60,height:g?72:60,borderRadius:18,background:s,color:"#fff",display:"flex",alignItems:"center",justifyContent:"center",fontSize:g?28:24,fontWeight:700,marginBottom:22,boxShadow:"0 8px 28px rgba(0,0,0,0.15)"},children:i[0].toUpperCase()}),B.jsxs("h2",{style:{margin:"0 0 10px",fontSize:g?32:22,fontWeight:700,color:"var(--nx-text)",textAlign:"center",letterSpacing:"-0.4px",lineHeight:1.2},children:["Hi, I'm ",i," 👋"]}),B.jsx("p",{style:{margin:"0 0 36px",fontSize:g?16:14,color:"var(--nx-text-muted)",textAlign:"center",lineHeight:1.7,maxWidth:g?500:260},children:f}),B.jsx("div",{style:{width:"100%",maxWidth:g?640:"none"},children:nt}),B.jsx("p",{style:{margin:"10px 0 0",fontSize:11,color:"var(--nx-text-muted)",opacity:.5},children:"Enter to send · Shift+Enter for new line"})]}),!dt&&B.jsxs(B.Fragment,{children:[B.jsx("div",{ref:st,onScroll:K,style:{flex:1,overflowY:"auto",minHeight:0,background:"var(--nx-bg)"},children:B.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:12,padding:8,maxWidth:g?720:"none",margin:"0 auto"},children:[a.map((U,lt)=>{const et=a[lt-1],J=lt>0&&et.role==="assistant"&&U.role==="user";return B.jsxs(vt.Fragment,{children:[J&&B.jsx("hr",{style:{border:"none",borderTop:"1px solid var(--nx-border)",margin:"8px 0"}}),B.jsx(gv,{msg:U,primaryColor:s,agentName:i})]},U.id)}),r&&B.jsx(yv,{color:s,agentName:i}),c&&B.jsx("p",{style:{textAlign:"center",fontSize:12,padding:"4px 0",color:"var(--nx-error)"},children:c}),B.jsx("div",{ref:tt})]})}),I&&B.jsx("button",{onClick:()=>tt.current?.scrollIntoView({behavior:"smooth"}),"aria-label":"Scroll to bottom",style:{position:"absolute",bottom:90,left:"50%",transform:"translateX(-50%)",width:30,height:30,borderRadius:"50%",background:"var(--nx-bg)",border:"1px solid var(--nx-border)",boxShadow:"0 2px 8px rgba(0,0,0,0.1)",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",color:"var(--nx-text)",opacity:.85,zIndex:5},children:B.jsx("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",children:B.jsx("path",{d:"M12 5v14M5 12l7 7 7-7"})})}),B.jsx("div",{style:{flexShrink:0,background:"var(--nx-bg)",borderTop:g?"none":"1px solid var(--nx-border)",padding:g?"0 10px 20px":"10px 10px 12px"},children:nt})]})]})]})}function xv({agentId:i,sessionId:a,agentName:r,primaryColor:c,apiUrl:s,onAuthenticated:f}){const[d,m]=vt.useState("email"),[g,p]=vt.useState(""),[x,S]=vt.useState(["","","","","",""]),[z,E]=vt.useState(!1),[Q,G]=vt.useState(""),[I,H]=vt.useState(0),tt=vt.useRef(null),V=vt.useRef([]),st=vt.useRef(null);vt.useEffect(()=>{tt.current?.focus()},[]),vt.useEffect(()=>{d==="otp"&&V.current[0]?.focus()},[d]),vt.useEffect(()=>{if(!(I<=0))return st.current=setInterval(()=>{H(U=>U<=1?(clearInterval(st.current),0):U-1)},1e3),()=>clearInterval(st.current)},[I]);const dt=()=>H(60),N=async()=>{if(!(!g.trim()||z)){E(!0),G("");try{const U=await fetch(`${s}/widget/auth/request-otp`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({agentId:i,email:g})});if(!U.ok){const lt=U.status===429?"Too many attempts. Please wait a minute and try again.":"We couldn’t send the verification code. Please try again.";G(lt);return}m("otp"),dt()}catch{G("Network error. Please try again.")}finally{E(!1)}}},K=async()=>{const U=x.join("");if(!(U.length<6||z)){E(!0),G("");try{const lt=await fetch(`${s}/widget/auth/verify-otp`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({agentId:i,email:g,code:U,sessionId:a})});if(!lt.ok){const M=await lt.json().catch(()=>({}));G(M.message??"Incorrect code. Please try again."),S(["","","","","",""]),V.current[0]?.focus();return}const{token:et,expiresAt:J}=await lt.json();f(et,J)}catch{G("Network error. Please try again.")}finally{E(!1)}}},ut=(U,lt)=>{if(!/^\d*$/.test(lt))return;const et=[...x];et[U]=lt.slice(-1),S(et),lt&&U<5&&V.current[U+1]?.focus(),lt&&U===5&&[...et].join("").length===6&&setTimeout(K,50)},ft=(U,lt)=>{lt.key==="Backspace"&&!x[U]&&U>0&&V.current[U-1]?.focus()},pt=U=>{const lt=U.clipboardData.getData("text").replace(/\D/g,"").slice(0,6);if(!lt)return;U.preventDefault();const et=["","","","","",""];lt.split("").forEach((M,Z)=>{et[Z]=M}),S(et);const J=Math.min(lt.length,5);V.current[J]?.focus(),lt.length===6&&setTimeout(K,50)},nt=U=>({width:"100%",padding:"11px 0",borderRadius:12,border:"none",background:U?c:"var(--nx-surface)",color:U?"#fff":"var(--nx-text-muted)",fontSize:14,fontWeight:600,cursor:U?"pointer":"not-allowed",opacity:U?1:.55,transition:"background 0.15s, opacity 0.15s",fontFamily:"inherit"});return B.jsxs("div",{style:{flex:1,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:"32px 24px",fontFamily:"system-ui, -apple-system, sans-serif"},children:[B.jsx("div",{style:{width:52,height:52,borderRadius:14,background:c,color:"#fff",display:"flex",alignItems:"center",justifyContent:"center",fontSize:22,fontWeight:700,marginBottom:20,boxShadow:"0 6px 20px rgba(0,0,0,0.12)"},children:r[0].toUpperCase()}),d==="email"?B.jsxs(B.Fragment,{children:[B.jsx("h2",{style:{margin:"0 0 8px",fontSize:18,fontWeight:700,color:"var(--nx-text)",textAlign:"center",letterSpacing:"-0.3px"},children:"Sign in to continue"}),B.jsx("p",{style:{margin:"0 0 28px",fontSize:13,color:"var(--nx-text-muted)",textAlign:"center",lineHeight:1.6},children:"Enter your work email to receive a verification code."}),B.jsxs("div",{style:{width:"100%",display:"flex",flexDirection:"column",gap:12},children:[B.jsx("input",{ref:tt,type:"email",value:g,onChange:U=>p(U.target.value),onKeyDown:U=>U.key==="Enter"&&N(),placeholder:"you@company.com",style:{width:"100%",boxSizing:"border-box",padding:"11px 14px",border:"1px solid var(--nx-border)",borderRadius:12,background:"var(--nx-bg)",color:"var(--nx-text)",fontSize:14,outline:"none",fontFamily:"inherit"}}),B.jsx("button",{onClick:N,disabled:!g.trim()||z,style:nt(!!g.trim()&&!z),children:z?"Sending…":"Send code"})]})]}):B.jsxs(B.Fragment,{children:[B.jsx("h2",{style:{margin:"0 0 8px",fontSize:18,fontWeight:700,color:"var(--nx-text)",textAlign:"center",letterSpacing:"-0.3px"},children:"Check your email"}),B.jsxs("p",{style:{margin:"0 0 28px",fontSize:13,color:"var(--nx-text-muted)",textAlign:"center",lineHeight:1.6,maxWidth:220},children:["We sent a 6-digit code to ",B.jsx("span",{style:{color:"var(--nx-text)",fontWeight:500},children:g})]}),B.jsx("div",{style:{display:"flex",gap:8,marginBottom:20},children:x.map((U,lt)=>B.jsx("input",{ref:et=>{V.current[lt]=et},type:"text",inputMode:"numeric",maxLength:1,value:U,onChange:et=>ut(lt,et.target.value),onKeyDown:et=>ft(lt,et),onPaste:lt===0?pt:void 0,style:{width:44,height:52,textAlign:"center",fontSize:22,fontWeight:700,border:`1.5px solid ${U?c:"var(--nx-border)"}`,borderRadius:10,background:"var(--nx-bg)",color:"var(--nx-text)",outline:"none",transition:"border-color 0.15s",fontFamily:"inherit"}},lt))}),B.jsxs("div",{style:{width:"100%",display:"flex",flexDirection:"column",gap:10},children:[B.jsx("button",{onClick:K,disabled:x.join("").length<6||z,style:nt(x.join("").length===6&&!z),children:z?"Verifying…":"Verify code"}),B.jsx("button",{onClick:()=>{N(),S(["","","","","",""])},disabled:I>0||z,style:{width:"100%",padding:"8px 0",border:"none",background:"transparent",color:I>0?"var(--nx-text-muted)":c,fontSize:13,fontWeight:500,cursor:I>0?"not-allowed":"pointer",fontFamily:"inherit"},children:I>0?`Resend in ${I}s`:"Resend code"})]}),B.jsx("button",{onClick:()=>{m("email"),S(["","","","","",""]),G("")},style:{marginTop:4,border:"none",background:"transparent",color:"var(--nx-text-muted)",fontSize:12,cursor:"pointer",fontFamily:"inherit"},children:"← Use a different email"})]}),Q&&B.jsx("p",{style:{marginTop:14,fontSize:12,color:"var(--nx-error)",textAlign:"center"},children:Q})]})}const bv="nexus_sid_",Gr="nexus_wt_";function Sv(i){const a=`${bv}${i}`,r=localStorage.getItem(a);if(r)return r;const c=crypto.randomUUID();return localStorage.setItem(a,c),c}function Ev(i){const a=localStorage.getItem(`${Gr}${i}`);if(!a)return null;try{const{token:r,expiresAt:c}=JSON.parse(a);return new Date(c)<=new Date?(Xf(i),null):r}catch{return Xf(i),null}}function Tv(i,a,r){localStorage.setItem(`${Gr}${i}`,JSON.stringify({token:a,expiresAt:r}))}function Xf(i){localStorage.removeItem(`${Gr}${i}`)}const Gf={bg:"#0d0d1a",surface:"rgba(255,255,255,0.06)",border:"rgba(255,255,255,0.08)",text:"rgba(255,255,255,0.82)",textMuted:"rgba(255,255,255,0.25)",inputBg:"rgba(255,255,255,0.05)",inputBorder:"rgba(255,255,255,0.08)",inputBorderFocus:"rgba(255,255,255,0.20)",error:"rgba(248,113,113,0.75)"},Qf={bg:"#f8f9fb",surface:"rgba(0,0,0,0.055)",border:"rgba(0,0,0,0.09)",text:"rgba(0,0,0,0.82)",textMuted:"rgba(0,0,0,0.38)",inputBg:"rgba(0,0,0,0.04)",inputBorder:"rgba(0,0,0,0.10)",inputBorderFocus:"rgba(0,0,0,0.22)",error:"rgba(220,38,38,0.80)"};function Qr(i){return i==="system"?typeof window<"u"&&window.matchMedia("(prefers-color-scheme: dark)").matches?Gf:Qf:i==="dark"?Gf:Qf}function zv(i){return{"--nx-bg":i.bg,"--nx-surface":i.surface,"--nx-border":i.border,"--nx-text":i.text,"--nx-text-muted":i.textMuted,"--nx-input-bg":i.inputBg,"--nx-input-border":i.inputBorder,"--nx-input-border-focus":i.inputBorderFocus,"--nx-error":i.error}}async function*Av(i,a){const r=new TextDecoder;let c="";try{for(;;){if(a.aborted)return;const{done:s,value:f}=await i.read();if(s)return;c+=r.decode(f,{stream:!0});const d=c.split(`
|
|
38
32
|
|
|
39
33
|
`);c=d.pop()??"";for(const m of d)for(const g of m.split(`
|
|
40
|
-
`)){if(!g.startsWith("data: "))continue;const p=g.slice(6).trim();try{yield JSON.parse(p)}catch{}}}}finally{i.releaseLock()}}function
|
|
34
|
+
`)){if(!g.startsWith("data: "))continue;const p=g.slice(6).trim();try{yield JSON.parse(p)}catch{}}}}finally{i.releaseLock()}}function Cv({agentId:i,accessType:a,sessionId:r,widgetToken:c,baseUrl:s,agentCoreUrl:f}){const[d,m]=vt.useState([]),[g,p]=vt.useState(!1),[x,S]=vt.useState(null),[z,E]=vt.useState(null),Q=vt.useRef(null),G=vt.useCallback(async()=>{S(null);try{const tt=await fetch(`${s}/chat/history`,{method:"POST",credentials:"include",headers:{"Content-Type":"application/json",Authorization:`Bearer ${c}`},body:JSON.stringify({agentId:i,sessionId:r})});if(tt.status==404){m([]),E(null);return}if(!tt.ok)throw new Error(`HTTP ${tt.status}`);const V=await tt.json();m(V.messages??[]),E(V.conversationId??null)}catch(tt){console.log(tt),tt.status!=404&&tt?.name!=="AbortError"&&S("Error Loading History")}},[i,r]);vt.useEffect(()=>{r&&G()},[r,G]);const I=vt.useCallback(()=>{Q.current?.abort(),p(!1)},[]),H=vt.useCallback(async tt=>{if(!tt.trim()||g||!c)return;Q.current?.abort();const V=new AbortController;Q.current=V,S(null);const st=`u_${Date.now()}`,dt=`a_${Date.now()}`;m(N=>[...N,{id:st,role:"user",content:tt.trim()}]),p(!0);try{const N=await fetch(`${f}/chat`,{method:"POST",signal:V.signal,headers:{"Content-Type":"application/json",Authorization:`Bearer ${c}`},body:JSON.stringify({agent_id:i,message:tt.trim(),session_id:r,access_type:a})});if(!N.ok||!N.body)throw new Error(`HTTP ${N.status}`);m(ut=>[...ut,{id:dt,role:"assistant",content:""}]);const K=N.body.getReader();for await(const ut of Av(K,V.signal))switch(ut.type){case"start":E(ut.conversationId);break;case"token":m(ft=>ft.map(pt=>pt.id===dt?{...pt,content:pt.content+ut.content}:pt));break;case"done":break;case"error":S(ut.message),m(ft=>ft.filter(pt=>pt.id!==dt));break}}catch(N){if(N?.name==="AbortError")return;S("Something went wrong. Please try again."),m(K=>K.filter(ut=>ut.id!==st&&ut.id!==dt))}finally{p(!1)}},[i,g,r,c,a]);return{messages:d,isLoading:g,error:x,conversationId:z,send:H,cancel:I}}function _v({agentId:i,agentName:a,baseUrl:r,agentCoreUrl:c,primaryColor:s="#6366f1",welcomeMessage:f="How can I help you?",position:d="bottom-right",theme:m="dark"}){const[g,p]=vt.useState(!1),[x,S]=vt.useState(!1),[z,E]=vt.useState(),[Q,G]=vt.useState(!1),[I,H]=vt.useState(null),[tt,V]=vt.useState(null),st=z?.accessType==="private",dt=Q&&st&&!tt,N=Q&&(!st||!!tt),K=async()=>{try{const ot=await fetch(`${r}/widget/session`,{method:"POST",headers:{"Content-Type":"application/json"},credentials:"include",body:JSON.stringify({agentId:i,sessionId:I})});if(!ot.ok)throw new Error(`HTTP ${ot.status}`);const T=await ot.json();ut(T.token,T.expiresAt)}catch(ot){console.log(ot)}};vt.useEffect(()=>{H(Sv(i))},[i]),vt.useEffect(()=>{let ot=!1;async function T(){const C=await(await fetch(`${r}/agents/${i}/widget-config`)).json();if(ot)return;E(C);const b=Ev(i);if(b){V(b),G(!0);return}C.accessType==="public"&&await K(),G(!0)}return I&&T(),()=>{ot=!0}},[i,r,I]);function ut(ot,T){Tv(i,ot,T),V(ot)}const[ft,pt]=vt.useState(()=>Qr(m)),nt=vt.useRef(null),{messages:U,isLoading:lt,error:et,send:J,cancel:M}=Cv({agentId:i,accessType:z?.accessType,baseUrl:r,agentCoreUrl:c,sessionId:I,widgetToken:tt}),Z=d!=="bottom-left",at=()=>{M(),p(!1),S(!1)};return vt.useEffect(()=>{if(pt(Qr(m)),m!=="system")return;const ot=window.matchMedia("(prefers-color-scheme: dark)"),T=()=>pt(Qr("system"));return ot.addEventListener("change",T),()=>ot.removeEventListener("change",T)},[m]),B.jsxs(B.Fragment,{children:[B.jsx("style",{children:`
|
|
41
35
|
.nexus-bubble-btn {
|
|
42
36
|
transition: transform 0.2s ease, box-shadow 0.15s ease, opacity 0.18s ease;
|
|
43
37
|
}
|
|
@@ -69,7 +63,7 @@ Error generating stack: `+l.message+`
|
|
|
69
63
|
color: var(--nx-text);
|
|
70
64
|
background: var(--nx-surface);
|
|
71
65
|
}
|
|
72
|
-
`}),
|
|
66
|
+
`}),B.jsxs("div",{ref:nt,style:{position:"fixed",inset:0,zIndex:9999,pointerEvents:"none",fontFamily:"system-ui, -apple-system, sans-serif",...zv(ft)},children:[B.jsx("div",{style:x?{position:"absolute",inset:0,opacity:1,pointerEvents:"auto",transition:"all 0.25s ease"}:g?{position:"absolute",top:10,bottom:10,width:380,opacity:1,[Z?"right":"left"]:10,pointerEvents:"auto",transition:"all 0.28s cubic-bezier(0.34, 1.45, 0.64, 1)"}:{position:"absolute",[Z?"right":"left"]:20,bottom:88,width:420,height:"calc(100vh - 108px)",border:"1px solid var(--nx-border)",opacity:0,transform:"scale(0.82) translateY(12px)",transformOrigin:`bottom ${Z?"right":"left"}`,pointerEvents:"none",transition:"all 0.2s ease-in"},children:B.jsxs("div",{style:{position:"relative",display:"flex",flexDirection:"column",height:"100%",overflow:"hidden",fontFamily:"system-ui, -apple-system, sans-serif",background:"var(--nx-bg)",border:x?"none":"1px solid var(--nx-border)",borderRadius:x?0:16,boxShadow:x?"none":"0 25px 50px -12px rgba(0,0,0,0.25)"},children:[dt&&r&&B.jsx(xv,{agentId:i,sessionId:I,agentName:z.name,primaryColor:z.widgetConfig?.primaryColor??"#2563EB",apiUrl:r,onAuthenticated:ut}),N&&g&&B.jsx(vv,{agentName:a??"Assistant",messages:U,isLoading:lt,error:et??null,primaryColor:s,welcomeMessage:f,onSend:J,onClose:at,onToggleFullView:()=>S(ot=>!ot),isFullView:x})]})}),B.jsx("button",{className:"nexus-bubble-btn",onClick:()=>p(ot=>!ot),"aria-label":g?"Close chat":"Open chat","aria-expanded":g,style:{position:"absolute",[Z?"right":"left"]:20,bottom:20,width:56,height:56,borderRadius:"50%",background:s,border:"none",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",boxShadow:"0 4px 20px rgba(0, 0, 0, 0.28)",pointerEvents:g?"none":"auto",opacity:g?0:1,transform:g?"scale(0.5)":"scale(1)"},children:B.jsx("span",{style:{position:"relative",width:40,height:40},children:B.jsx("span",{style:{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",transition:"opacity 0.2s ease, transform 0.2s ease",opacity:g?0:1,transform:g?"scale(0.65) rotate(-15deg)":"scale(1) rotate(0deg)"},children:B.jsxs("svg",{width:"512",height:"512",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg",children:[B.jsx("circle",{cx:"256",cy:"256",r:"220",fill:"#6366f1"}),B.jsx("rect",{x:"156",y:"150",width:"200",height:"170",rx:"36",fill:"white"}),B.jsx("line",{x1:"256",y1:"120",x2:"256",y2:"150",stroke:"white",strokeWidth:"10",strokeLinecap:"round"}),B.jsx("circle",{cx:"256",cy:"105",r:"14",fill:"white"}),B.jsx("circle",{cx:"210",cy:"220",r:"18",fill:"#6366f1"}),B.jsx("circle",{cx:"302",cy:"220",r:"18",fill:"#6366f1"}),B.jsx("rect",{x:"206",y:"265",width:"100",height:"16",rx:"8",fill:"#6366f1"}),B.jsx("rect",{x:"132",y:"205",width:"24",height:"60",rx:"12",fill:"white"}),B.jsx("rect",{x:"356",y:"205",width:"24",height:"60",rx:"12",fill:"white"}),B.jsx("path",{d:`M180 340
|
|
73
67
|
h152
|
|
74
68
|
a24 24 0 0 1 24 24
|
|
75
69
|
v20
|
|
@@ -80,4 +74,4 @@ Error generating stack: `+l.message+`
|
|
|
80
74
|
h-52
|
|
81
75
|
a24 24 0 0 1 -24 -24
|
|
82
76
|
v-20
|
|
83
|
-
a24 24 0 0 1 24 -24z`,fill:"white"}),
|
|
77
|
+
a24 24 0 0 1 24 -24z`,fill:"white"}),B.jsx("circle",{cx:"220",cy:"374",r:"8",fill:"#6366f1"}),B.jsx("circle",{cx:"256",cy:"374",r:"8",fill:"#6366f1"}),B.jsx("circle",{cx:"292",cy:"374",r:"8",fill:"#6366f1"})]})})})})]})]})}function Vf(){const i=document.currentScript??document.querySelector("script[data-agent-id]");if(!i){console.warn("[Nexus] Could not find script tag with data-agent-id.");return}const a=i.dataset,r={agentId:a.agentId??"",baseUrl:a.apiBaseUrl,agentName:a.agentName,welcomeMessage:a.welcomeMessage,primaryColor:a.primaryColor,position:a.position??"bottom-right",endUserId:a.endUserId};if(!r.agentId){console.warn("[Nexus] data-agent-id is required.");return}const c=document.createElement("div");c.id="nexus-widget-root",document.body.appendChild(c);const s=c.attachShadow({mode:"open"}),f=document.createElement("div");s.appendChild(f),Fm.createRoot(f).render(vt.createElement(_v,r))}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",Vf):Vf()})();
|