claude-run 0.1.0 → 0.2.1
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/README.md +35 -12
- package/dist/index.js +9 -2
- package/dist/web/assets/index-BlBAFDQv.js +289 -0
- package/dist/web/assets/index-qn9mqiTt.css +1 -0
- package/dist/web/index.html +2 -2
- package/package.json +1 -1
- package/dist/web/assets/index-CNFM9z5w.css +0 -1
- package/dist/web/assets/index-DpoqtiXS.js +0 -284
|
@@ -1,284 +0,0 @@
|
|
|
1
|
-
(function(){const a=document.createElement("link").relList;if(a&&a.supports&&a.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))u(s);new MutationObserver(s=>{for(const c of s)if(c.type==="childList")for(const f of c.addedNodes)f.tagName==="LINK"&&f.rel==="modulepreload"&&u(f)}).observe(document,{childList:!0,subtree:!0});function i(s){const c={};return s.integrity&&(c.integrity=s.integrity),s.referrerPolicy&&(c.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?c.credentials="include":s.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function u(s){if(s.ep)return;s.ep=!0;const c=i(s);fetch(s.href,c)}})();function Lp(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var No={exports:{}},ya={};/**
|
|
2
|
-
* @license React
|
|
3
|
-
* react-jsx-runtime.production.js
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var Am;function y1(){if(Am)return ya;Am=1;var n=Symbol.for("react.transitional.element"),a=Symbol.for("react.fragment");function i(u,s,c){var f=null;if(c!==void 0&&(f=""+c),s.key!==void 0&&(f=""+s.key),"key"in s){c={};for(var d in s)d!=="key"&&(c[d]=s[d])}else c=s;return s=c.ref,{$$typeof:n,type:u,key:f,ref:s!==void 0?s:null,props:c}}return ya.Fragment=a,ya.jsx=i,ya.jsxs=i,ya}var Nm;function x1(){return Nm||(Nm=1,No.exports=y1()),No.exports}var z=x1(),_o={exports:{}},ge={};/**
|
|
10
|
-
* @license React
|
|
11
|
-
* react.production.js
|
|
12
|
-
*
|
|
13
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
14
|
-
*
|
|
15
|
-
* This source code is licensed under the MIT license found in the
|
|
16
|
-
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var _m;function b1(){if(_m)return ge;_m=1;var n=Symbol.for("react.transitional.element"),a=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),f=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),g=Symbol.for("react.activity"),b=Symbol.iterator;function v(T){return T===null||typeof T!="object"?null:(T=b&&T[b]||T["@@iterator"],typeof T=="function"?T:null)}var C={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},N=Object.assign,Y={};function M(T,G,k){this.props=T,this.context=G,this.refs=Y,this.updater=k||C}M.prototype.isReactComponent={},M.prototype.setState=function(T,G){if(typeof T!="object"&&typeof T!="function"&&T!=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,T,G,"setState")},M.prototype.forceUpdate=function(T){this.updater.enqueueForceUpdate(this,T,"forceUpdate")};function H(){}H.prototype=M.prototype;function L(T,G,k){this.props=T,this.context=G,this.refs=Y,this.updater=k||C}var I=L.prototype=new H;I.constructor=L,N(I,M.prototype),I.isPureReactComponent=!0;var J=Array.isArray;function B(){}var P={H:null,A:null,T:null,S:null},ue=Object.prototype.hasOwnProperty;function pe(T,G,k){var ee=k.ref;return{$$typeof:n,type:T,key:G,ref:ee!==void 0?ee:null,props:k}}function U(T,G){return pe(T.type,G,T.props)}function te(T){return typeof T=="object"&&T!==null&&T.$$typeof===n}function ne(T){var G={"=":"=0",":":"=2"};return"$"+T.replace(/[=:]/g,function(k){return G[k]})}var Se=/\/+/g;function ie(T,G){return typeof T=="object"&&T!==null&&T.key!=null?ne(""+T.key):G.toString(36)}function $(T){switch(T.status){case"fulfilled":return T.value;case"rejected":throw T.reason;default:switch(typeof T.status=="string"?T.then(B,B):(T.status="pending",T.then(function(G){T.status==="pending"&&(T.status="fulfilled",T.value=G)},function(G){T.status==="pending"&&(T.status="rejected",T.reason=G)})),T.status){case"fulfilled":return T.value;case"rejected":throw T.reason}}throw T}function R(T,G,k,ee,he){var se=typeof T;(se==="undefined"||se==="boolean")&&(T=null);var Ce=!1;if(T===null)Ce=!0;else switch(se){case"bigint":case"string":case"number":Ce=!0;break;case"object":switch(T.$$typeof){case n:case a:Ce=!0;break;case x:return Ce=T._init,R(Ce(T._payload),G,k,ee,he)}}if(Ce)return he=he(T),Ce=ee===""?"."+ie(T,0):ee,J(he)?(k="",Ce!=null&&(k=Ce.replace(Se,"$&/")+"/"),R(he,G,k,"",function(Yt){return Yt})):he!=null&&(te(he)&&(he=U(he,k+(he.key==null||T&&T.key===he.key?"":(""+he.key).replace(Se,"$&/")+"/")+Ce)),G.push(he)),1;Ce=0;var Ke=ee===""?".":ee+":";if(J(T))for(var Ue=0;Ue<T.length;Ue++)ee=T[Ue],se=Ke+ie(ee,Ue),Ce+=R(ee,G,k,se,he);else if(Ue=v(T),typeof Ue=="function")for(T=Ue.call(T),Ue=0;!(ee=T.next()).done;)ee=ee.value,se=Ke+ie(ee,Ue++),Ce+=R(ee,G,k,se,he);else if(se==="object"){if(typeof T.then=="function")return R($(T),G,k,ee,he);throw G=String(T),Error("Objects are not valid as a React child (found: "+(G==="[object Object]"?"object with keys {"+Object.keys(T).join(", ")+"}":G)+"). If you meant to render a collection of children, use an array instead.")}return Ce}function F(T,G,k){if(T==null)return T;var ee=[],he=0;return R(T,ee,"","",function(se){return G.call(k,se,he++)}),ee}function re(T){if(T._status===-1){var G=T._result;G=G(),G.then(function(k){(T._status===0||T._status===-1)&&(T._status=1,T._result=k)},function(k){(T._status===0||T._status===-1)&&(T._status=2,T._result=k)}),T._status===-1&&(T._status=0,T._result=G)}if(T._status===1)return T._result.default;throw T._result}var ve=typeof reportError=="function"?reportError:function(T){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var G=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(G))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",T);return}console.error(T)},E={map:F,forEach:function(T,G,k){F(T,function(){G.apply(this,arguments)},k)},count:function(T){var G=0;return F(T,function(){G++}),G},toArray:function(T){return F(T,function(G){return G})||[]},only:function(T){if(!te(T))throw Error("React.Children.only expected to receive a single React element child.");return T}};return ge.Activity=g,ge.Children=E,ge.Component=M,ge.Fragment=i,ge.Profiler=s,ge.PureComponent=L,ge.StrictMode=u,ge.Suspense=p,ge.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=P,ge.__COMPILER_RUNTIME={__proto__:null,c:function(T){return P.H.useMemoCache(T)}},ge.cache=function(T){return function(){return T.apply(null,arguments)}},ge.cacheSignal=function(){return null},ge.cloneElement=function(T,G,k){if(T==null)throw Error("The argument must be a React element, but you passed "+T+".");var ee=N({},T.props),he=T.key;if(G!=null)for(se in G.key!==void 0&&(he=""+G.key),G)!ue.call(G,se)||se==="key"||se==="__self"||se==="__source"||se==="ref"&&G.ref===void 0||(ee[se]=G[se]);var se=arguments.length-2;if(se===1)ee.children=k;else if(1<se){for(var Ce=Array(se),Ke=0;Ke<se;Ke++)Ce[Ke]=arguments[Ke+2];ee.children=Ce}return pe(T.type,he,ee)},ge.createContext=function(T){return T={$$typeof:f,_currentValue:T,_currentValue2:T,_threadCount:0,Provider:null,Consumer:null},T.Provider=T,T.Consumer={$$typeof:c,_context:T},T},ge.createElement=function(T,G,k){var ee,he={},se=null;if(G!=null)for(ee in G.key!==void 0&&(se=""+G.key),G)ue.call(G,ee)&&ee!=="key"&&ee!=="__self"&&ee!=="__source"&&(he[ee]=G[ee]);var Ce=arguments.length-2;if(Ce===1)he.children=k;else if(1<Ce){for(var Ke=Array(Ce),Ue=0;Ue<Ce;Ue++)Ke[Ue]=arguments[Ue+2];he.children=Ke}if(T&&T.defaultProps)for(ee in Ce=T.defaultProps,Ce)he[ee]===void 0&&(he[ee]=Ce[ee]);return pe(T,se,he)},ge.createRef=function(){return{current:null}},ge.forwardRef=function(T){return{$$typeof:d,render:T}},ge.isValidElement=te,ge.lazy=function(T){return{$$typeof:x,_payload:{_status:-1,_result:T},_init:re}},ge.memo=function(T,G){return{$$typeof:m,type:T,compare:G===void 0?null:G}},ge.startTransition=function(T){var G=P.T,k={};P.T=k;try{var ee=T(),he=P.S;he!==null&&he(k,ee),typeof ee=="object"&&ee!==null&&typeof ee.then=="function"&&ee.then(B,ve)}catch(se){ve(se)}finally{G!==null&&k.types!==null&&(G.types=k.types),P.T=G}},ge.unstable_useCacheRefresh=function(){return P.H.useCacheRefresh()},ge.use=function(T){return P.H.use(T)},ge.useActionState=function(T,G,k){return P.H.useActionState(T,G,k)},ge.useCallback=function(T,G){return P.H.useCallback(T,G)},ge.useContext=function(T){return P.H.useContext(T)},ge.useDebugValue=function(){},ge.useDeferredValue=function(T,G){return P.H.useDeferredValue(T,G)},ge.useEffect=function(T,G){return P.H.useEffect(T,G)},ge.useEffectEvent=function(T){return P.H.useEffectEvent(T)},ge.useId=function(){return P.H.useId()},ge.useImperativeHandle=function(T,G,k){return P.H.useImperativeHandle(T,G,k)},ge.useInsertionEffect=function(T,G){return P.H.useInsertionEffect(T,G)},ge.useLayoutEffect=function(T,G){return P.H.useLayoutEffect(T,G)},ge.useMemo=function(T,G){return P.H.useMemo(T,G)},ge.useOptimistic=function(T,G){return P.H.useOptimistic(T,G)},ge.useReducer=function(T,G,k){return P.H.useReducer(T,G,k)},ge.useRef=function(T){return P.H.useRef(T)},ge.useState=function(T){return P.H.useState(T)},ge.useSyncExternalStore=function(T,G,k){return P.H.useSyncExternalStore(T,G,k)},ge.useTransition=function(){return P.H.useTransition()},ge.version="19.2.3",ge}var Mm;function fc(){return Mm||(Mm=1,_o.exports=b1()),_o.exports}var de=fc(),Mo={exports:{}},xa={},jo={exports:{}},Oo={};/**
|
|
18
|
-
* @license React
|
|
19
|
-
* scheduler.production.js
|
|
20
|
-
*
|
|
21
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
22
|
-
*
|
|
23
|
-
* This source code is licensed under the MIT license found in the
|
|
24
|
-
* LICENSE file in the root directory of this source tree.
|
|
25
|
-
*/var jm;function v1(){return jm||(jm=1,(function(n){function a(R,F){var re=R.length;R.push(F);e:for(;0<re;){var ve=re-1>>>1,E=R[ve];if(0<s(E,F))R[ve]=F,R[re]=E,re=ve;else break e}}function i(R){return R.length===0?null:R[0]}function u(R){if(R.length===0)return null;var F=R[0],re=R.pop();if(re!==F){R[0]=re;e:for(var ve=0,E=R.length,T=E>>>1;ve<T;){var G=2*(ve+1)-1,k=R[G],ee=G+1,he=R[ee];if(0>s(k,re))ee<E&&0>s(he,k)?(R[ve]=he,R[ee]=re,ve=ee):(R[ve]=k,R[G]=re,ve=G);else if(ee<E&&0>s(he,re))R[ve]=he,R[ee]=re,ve=ee;else break e}}return F}function s(R,F){var re=R.sortIndex-F.sortIndex;return re!==0?re:R.id-F.id}if(n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var c=performance;n.unstable_now=function(){return c.now()}}else{var f=Date,d=f.now();n.unstable_now=function(){return f.now()-d}}var p=[],m=[],x=1,g=null,b=3,v=!1,C=!1,N=!1,Y=!1,M=typeof setTimeout=="function"?setTimeout:null,H=typeof clearTimeout=="function"?clearTimeout:null,L=typeof setImmediate<"u"?setImmediate:null;function I(R){for(var F=i(m);F!==null;){if(F.callback===null)u(m);else if(F.startTime<=R)u(m),F.sortIndex=F.expirationTime,a(p,F);else break;F=i(m)}}function J(R){if(N=!1,I(R),!C)if(i(p)!==null)C=!0,B||(B=!0,ne());else{var F=i(m);F!==null&&$(J,F.startTime-R)}}var B=!1,P=-1,ue=5,pe=-1;function U(){return Y?!0:!(n.unstable_now()-pe<ue)}function te(){if(Y=!1,B){var R=n.unstable_now();pe=R;var F=!0;try{e:{C=!1,N&&(N=!1,H(P),P=-1),v=!0;var re=b;try{t:{for(I(R),g=i(p);g!==null&&!(g.expirationTime>R&&U());){var ve=g.callback;if(typeof ve=="function"){g.callback=null,b=g.priorityLevel;var E=ve(g.expirationTime<=R);if(R=n.unstable_now(),typeof E=="function"){g.callback=E,I(R),F=!0;break t}g===i(p)&&u(p),I(R)}else u(p);g=i(p)}if(g!==null)F=!0;else{var T=i(m);T!==null&&$(J,T.startTime-R),F=!1}}break e}finally{g=null,b=re,v=!1}F=void 0}}finally{F?ne():B=!1}}}var ne;if(typeof L=="function")ne=function(){L(te)};else if(typeof MessageChannel<"u"){var Se=new MessageChannel,ie=Se.port2;Se.port1.onmessage=te,ne=function(){ie.postMessage(null)}}else ne=function(){M(te,0)};function $(R,F){P=M(function(){R(n.unstable_now())},F)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(R){R.callback=null},n.unstable_forceFrameRate=function(R){0>R||125<R?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ue=0<R?Math.floor(1e3/R):5},n.unstable_getCurrentPriorityLevel=function(){return b},n.unstable_next=function(R){switch(b){case 1:case 2:case 3:var F=3;break;default:F=b}var re=b;b=F;try{return R()}finally{b=re}},n.unstable_requestPaint=function(){Y=!0},n.unstable_runWithPriority=function(R,F){switch(R){case 1:case 2:case 3:case 4:case 5:break;default:R=3}var re=b;b=R;try{return F()}finally{b=re}},n.unstable_scheduleCallback=function(R,F,re){var ve=n.unstable_now();switch(typeof re=="object"&&re!==null?(re=re.delay,re=typeof re=="number"&&0<re?ve+re:ve):re=ve,R){case 1:var E=-1;break;case 2:E=250;break;case 5:E=1073741823;break;case 4:E=1e4;break;default:E=5e3}return E=re+E,R={id:x++,callback:F,priorityLevel:R,startTime:re,expirationTime:E,sortIndex:-1},re>ve?(R.sortIndex=re,a(m,R),i(p)===null&&R===i(m)&&(N?(H(P),P=-1):N=!0,$(J,re-ve))):(R.sortIndex=E,a(p,R),C||v||(C=!0,B||(B=!0,ne()))),R},n.unstable_shouldYield=U,n.unstable_wrapCallback=function(R){var F=b;return function(){var re=b;b=F;try{return R.apply(this,arguments)}finally{b=re}}}})(Oo)),Oo}var Om;function S1(){return Om||(Om=1,jo.exports=v1()),jo.exports}var Do={exports:{}},mt={};/**
|
|
26
|
-
* @license React
|
|
27
|
-
* react-dom.production.js
|
|
28
|
-
*
|
|
29
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
30
|
-
*
|
|
31
|
-
* This source code is licensed under the MIT license found in the
|
|
32
|
-
* LICENSE file in the root directory of this source tree.
|
|
33
|
-
*/var Dm;function z1(){if(Dm)return mt;Dm=1;var n=fc();function a(p){var m="https://react.dev/errors/"+p;if(1<arguments.length){m+="?args[]="+encodeURIComponent(arguments[1]);for(var x=2;x<arguments.length;x++)m+="&args[]="+encodeURIComponent(arguments[x])}return"Minified React error #"+p+"; visit "+m+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(){}var u={d:{f:i,r:function(){throw Error(a(522))},D:i,C:i,L:i,m:i,X:i,S:i,M:i},p:0,findDOMNode:null},s=Symbol.for("react.portal");function c(p,m,x){var g=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:s,key:g==null?null:""+g,children:p,containerInfo:m,implementation:x}}var f=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function d(p,m){if(p==="font")return"";if(typeof m=="string")return m==="use-credentials"?m:""}return mt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=u,mt.createPortal=function(p,m){var x=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!m||m.nodeType!==1&&m.nodeType!==9&&m.nodeType!==11)throw Error(a(299));return c(p,m,null,x)},mt.flushSync=function(p){var m=f.T,x=u.p;try{if(f.T=null,u.p=2,p)return p()}finally{f.T=m,u.p=x,u.d.f()}},mt.preconnect=function(p,m){typeof p=="string"&&(m?(m=m.crossOrigin,m=typeof m=="string"?m==="use-credentials"?m:"":void 0):m=null,u.d.C(p,m))},mt.prefetchDNS=function(p){typeof p=="string"&&u.d.D(p)},mt.preinit=function(p,m){if(typeof p=="string"&&m&&typeof m.as=="string"){var x=m.as,g=d(x,m.crossOrigin),b=typeof m.integrity=="string"?m.integrity:void 0,v=typeof m.fetchPriority=="string"?m.fetchPriority:void 0;x==="style"?u.d.S(p,typeof m.precedence=="string"?m.precedence:void 0,{crossOrigin:g,integrity:b,fetchPriority:v}):x==="script"&&u.d.X(p,{crossOrigin:g,integrity:b,fetchPriority:v,nonce:typeof m.nonce=="string"?m.nonce:void 0})}},mt.preinitModule=function(p,m){if(typeof p=="string")if(typeof m=="object"&&m!==null){if(m.as==null||m.as==="script"){var x=d(m.as,m.crossOrigin);u.d.M(p,{crossOrigin:x,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0})}}else m==null&&u.d.M(p)},mt.preload=function(p,m){if(typeof p=="string"&&typeof m=="object"&&m!==null&&typeof m.as=="string"){var x=m.as,g=d(x,m.crossOrigin);u.d.L(p,x,{crossOrigin:g,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0,type:typeof m.type=="string"?m.type:void 0,fetchPriority:typeof m.fetchPriority=="string"?m.fetchPriority:void 0,referrerPolicy:typeof m.referrerPolicy=="string"?m.referrerPolicy:void 0,imageSrcSet:typeof m.imageSrcSet=="string"?m.imageSrcSet:void 0,imageSizes:typeof m.imageSizes=="string"?m.imageSizes:void 0,media:typeof m.media=="string"?m.media:void 0})}},mt.preloadModule=function(p,m){if(typeof p=="string")if(m){var x=d(m.as,m.crossOrigin);u.d.m(p,{as:typeof m.as=="string"&&m.as!=="script"?m.as:void 0,crossOrigin:x,integrity:typeof m.integrity=="string"?m.integrity:void 0})}else u.d.m(p)},mt.requestFormReset=function(p){u.d.r(p)},mt.unstable_batchedUpdates=function(p,m){return p(m)},mt.useFormState=function(p,m,x){return f.H.useFormState(p,m,x)},mt.useFormStatus=function(){return f.H.useHostTransitionStatus()},mt.version="19.2.3",mt}var Rm;function Bp(){if(Rm)return Do.exports;Rm=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(a){console.error(a)}}return n(),Do.exports=z1(),Do.exports}/**
|
|
34
|
-
* @license React
|
|
35
|
-
* react-dom-client.production.js
|
|
36
|
-
*
|
|
37
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
38
|
-
*
|
|
39
|
-
* This source code is licensed under the MIT license found in the
|
|
40
|
-
* LICENSE file in the root directory of this source tree.
|
|
41
|
-
*/var Lm;function k1(){if(Lm)return xa;Lm=1;var n=S1(),a=fc(),i=Bp();function u(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)t+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function c(e){var t=e,l=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(l=t.return),e=t.return;while(e)}return t.tag===3?l:null}function f(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function d(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function p(e){if(c(e)!==e)throw Error(u(188))}function m(e){var t=e.alternate;if(!t){if(t=c(e),t===null)throw Error(u(188));return t!==e?null:e}for(var l=e,r=t;;){var o=l.return;if(o===null)break;var h=o.alternate;if(h===null){if(r=o.return,r!==null){l=r;continue}break}if(o.child===h.child){for(h=o.child;h;){if(h===l)return p(o),e;if(h===r)return p(o),t;h=h.sibling}throw Error(u(188))}if(l.return!==r.return)l=o,r=h;else{for(var y=!1,S=o.child;S;){if(S===l){y=!0,l=o,r=h;break}if(S===r){y=!0,r=o,l=h;break}S=S.sibling}if(!y){for(S=h.child;S;){if(S===l){y=!0,l=h,r=o;break}if(S===r){y=!0,r=h,l=o;break}S=S.sibling}if(!y)throw Error(u(189))}}if(l.alternate!==r)throw Error(u(190))}if(l.tag!==3)throw Error(u(188));return l.stateNode.current===l?e:t}function x(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=x(e),t!==null)return t;e=e.sibling}return null}var g=Object.assign,b=Symbol.for("react.element"),v=Symbol.for("react.transitional.element"),C=Symbol.for("react.portal"),N=Symbol.for("react.fragment"),Y=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),H=Symbol.for("react.consumer"),L=Symbol.for("react.context"),I=Symbol.for("react.forward_ref"),J=Symbol.for("react.suspense"),B=Symbol.for("react.suspense_list"),P=Symbol.for("react.memo"),ue=Symbol.for("react.lazy"),pe=Symbol.for("react.activity"),U=Symbol.for("react.memo_cache_sentinel"),te=Symbol.iterator;function ne(e){return e===null||typeof e!="object"?null:(e=te&&e[te]||e["@@iterator"],typeof e=="function"?e:null)}var Se=Symbol.for("react.client.reference");function ie(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Se?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case N:return"Fragment";case M:return"Profiler";case Y:return"StrictMode";case J:return"Suspense";case B:return"SuspenseList";case pe:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case C:return"Portal";case L:return e.displayName||"Context";case H:return(e._context.displayName||"Context")+".Consumer";case I:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case P:return t=e.displayName||null,t!==null?t:ie(e.type)||"Memo";case ue:t=e._payload,e=e._init;try{return ie(e(t))}catch{}}return null}var $=Array.isArray,R=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,F=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,re={pending:!1,data:null,method:null,action:null},ve=[],E=-1;function T(e){return{current:e}}function G(e){0>E||(e.current=ve[E],ve[E]=null,E--)}function k(e,t){E++,ve[E]=e.current,e.current=t}var ee=T(null),he=T(null),se=T(null),Ce=T(null);function Ke(e,t){switch(k(se,t),k(he,e),k(ee,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?$d(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=$d(t),e=Wd(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}G(ee),k(ee,e)}function Ue(){G(ee),G(he),G(se)}function Yt(e){e.memoizedState!==null&&k(Ce,e);var t=ee.current,l=Wd(t,e.type);t!==l&&(k(he,e),k(ee,l))}function fn(e){he.current===e&&(G(ee),G(he)),Ce.current===e&&(G(Ce),da._currentValue=re)}var Ei,ja;function hn(e){if(Ei===void 0)try{throw Error()}catch(l){var t=l.stack.trim().match(/\n( *(at )?)/);Ei=t&&t[1]||"",ja=-1<l.stack.indexOf(`
|
|
42
|
-
at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
43
|
-
`+Ei+e+ja}var Tl=!1;function Al(e,t){if(!e||Tl)return"";Tl=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var Z=function(){throw Error()};if(Object.defineProperty(Z.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Z,[])}catch(q){var D=q}Reflect.construct(e,[],Z)}else{try{Z.call()}catch(q){D=q}e.call(Z.prototype)}}else{try{throw Error()}catch(q){D=q}(Z=e())&&typeof Z.catch=="function"&&Z.catch(function(){})}}catch(q){if(q&&D&&typeof q.stack=="string")return[q.stack,D.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var h=r.DetermineComponentFrameRoot(),y=h[0],S=h[1];if(y&&S){var w=y.split(`
|
|
44
|
-
`),O=S.split(`
|
|
45
|
-
`);for(o=r=0;r<w.length&&!w[r].includes("DetermineComponentFrameRoot");)r++;for(;o<O.length&&!O[o].includes("DetermineComponentFrameRoot");)o++;if(r===w.length||o===O.length)for(r=w.length-1,o=O.length-1;1<=r&&0<=o&&w[r]!==O[o];)o--;for(;1<=r&&0<=o;r--,o--)if(w[r]!==O[o]){if(r!==1||o!==1)do if(r--,o--,0>o||w[r]!==O[o]){var V=`
|
|
46
|
-
`+w[r].replace(" at new "," at ");return e.displayName&&V.includes("<anonymous>")&&(V=V.replace("<anonymous>",e.displayName)),V}while(1<=r&&0<=o);break}}}finally{Tl=!1,Error.prepareStackTrace=l}return(l=e?e.displayName||e.name:"")?hn(l):""}function Oa(e,t){switch(e.tag){case 26:case 27:case 5:return hn(e.type);case 16:return hn("Lazy");case 13:return e.child!==t&&t!==null?hn("Suspense Fallback"):hn("Suspense");case 19:return hn("SuspenseList");case 0:case 15:return Al(e.type,!1);case 11:return Al(e.type.render,!1);case 1:return Al(e.type,!0);case 31:return hn("Activity");default:return""}}function Da(e){try{var t="",l=null;do t+=Oa(e,l),l=e,e=e.return;while(e);return t}catch(r){return`
|
|
47
|
-
Error generating stack: `+r.message+`
|
|
48
|
-
`+r.stack}}var Nl=Object.prototype.hasOwnProperty,_l=n.unstable_scheduleCallback,wi=n.unstable_cancelCallback,du=n.unstable_shouldYield,mu=n.unstable_requestPaint,yt=n.unstable_now,pu=n.unstable_getCurrentPriorityLevel,Q=n.unstable_ImmediatePriority,W=n.unstable_UserBlockingPriority,me=n.unstable_NormalPriority,ze=n.unstable_LowPriority,Re=n.unstable_IdlePriority,Mt=n.log,dn=n.unstable_setDisableYieldValue,xt=null,at=null;function St(e){if(typeof Mt=="function"&&dn(e),at&&typeof at.setStrictMode=="function")try{at.setStrictMode(xt,e)}catch{}}var Ve=Math.clz32?Math.clz32:lg,On=Math.log,Pt=Math.LN2;function lg(e){return e>>>=0,e===0?32:31-(On(e)/Pt|0)|0}var Ra=256,La=262144,Ba=4194304;function rl(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Ua(e,t,l){var r=e.pendingLanes;if(r===0)return 0;var o=0,h=e.suspendedLanes,y=e.pingedLanes;e=e.warmLanes;var S=r&134217727;return S!==0?(r=S&~h,r!==0?o=rl(r):(y&=S,y!==0?o=rl(y):l||(l=S&~e,l!==0&&(o=rl(l))))):(S=r&~h,S!==0?o=rl(S):y!==0?o=rl(y):l||(l=r&~e,l!==0&&(o=rl(l)))),o===0?0:t!==0&&t!==o&&(t&h)===0&&(h=o&-o,l=t&-t,h>=l||h===32&&(l&4194048)!==0)?t:o}function Ci(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function ig(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Mc(){var e=Ba;return Ba<<=1,(Ba&62914560)===0&&(Ba=4194304),e}function gu(e){for(var t=[],l=0;31>l;l++)t.push(e);return t}function Ti(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function ag(e,t,l,r,o,h){var y=e.pendingLanes;e.pendingLanes=l,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=l,e.entangledLanes&=l,e.errorRecoveryDisabledLanes&=l,e.shellSuspendCounter=0;var S=e.entanglements,w=e.expirationTimes,O=e.hiddenUpdates;for(l=y&~l;0<l;){var V=31-Ve(l),Z=1<<V;S[V]=0,w[V]=-1;var D=O[V];if(D!==null)for(O[V]=null,V=0;V<D.length;V++){var q=D[V];q!==null&&(q.lane&=-536870913)}l&=~Z}r!==0&&jc(e,r,0),h!==0&&o===0&&e.tag!==0&&(e.suspendedLanes|=h&~(y&~t))}function jc(e,t,l){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-Ve(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|l&261930}function Oc(e,t){var l=e.entangledLanes|=t;for(e=e.entanglements;l;){var r=31-Ve(l),o=1<<r;o&t|e[r]&t&&(e[r]|=t),l&=~o}}function Dc(e,t){var l=t&-t;return l=(l&42)!==0?1:yu(l),(l&(e.suspendedLanes|t))!==0?0:l}function yu(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function xu(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Rc(){var e=F.p;return e!==0?e:(e=window.event,e===void 0?32:Sm(e.type))}function Lc(e,t){var l=F.p;try{return F.p=e,t()}finally{F.p=l}}var Dn=Math.random().toString(36).slice(2),ot="__reactFiber$"+Dn,zt="__reactProps$"+Dn,Ml="__reactContainer$"+Dn,bu="__reactEvents$"+Dn,rg="__reactListeners$"+Dn,ug="__reactHandles$"+Dn,Bc="__reactResources$"+Dn,Ai="__reactMarker$"+Dn;function vu(e){delete e[ot],delete e[zt],delete e[bu],delete e[rg],delete e[ug]}function jl(e){var t=e[ot];if(t)return t;for(var l=e.parentNode;l;){if(t=l[Ml]||l[ot]){if(l=t.alternate,t.child!==null||l!==null&&l.child!==null)for(e=am(e);e!==null;){if(l=e[ot])return l;e=am(e)}return t}e=l,l=e.parentNode}return null}function Ol(e){if(e=e[ot]||e[Ml]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Ni(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(u(33))}function Dl(e){var t=e[Bc];return t||(t=e[Bc]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function ut(e){e[Ai]=!0}var Uc=new Set,Hc={};function ul(e,t){Rl(e,t),Rl(e+"Capture",t)}function Rl(e,t){for(Hc[e]=t,e=0;e<t.length;e++)Uc.add(t[e])}var sg=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]*$"),qc={},Yc={};function og(e){return Nl.call(Yc,e)?!0:Nl.call(qc,e)?!1:sg.test(e)?Yc[e]=!0:(qc[e]=!0,!1)}function Ha(e,t,l){if(og(t))if(l===null)e.removeAttribute(t);else{switch(typeof l){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var r=t.toLowerCase().slice(0,5);if(r!=="data-"&&r!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+l)}}function qa(e,t,l){if(l===null)e.removeAttribute(t);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+l)}}function mn(e,t,l,r){if(r===null)e.removeAttribute(l);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(l);return}e.setAttributeNS(t,l,""+r)}}function Vt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Vc(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function cg(e,t,l){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var o=r.get,h=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(y){l=""+y,h.call(this,y)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return l},setValue:function(y){l=""+y},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Su(e){if(!e._valueTracker){var t=Vc(e)?"checked":"value";e._valueTracker=cg(e,t,""+e[t])}}function Gc(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var l=t.getValue(),r="";return e&&(r=Vc(e)?e.checked?"true":"false":e.value),e=r,e!==l?(t.setValue(e),!0):!1}function Ya(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var fg=/[\n"\\]/g;function Gt(e){return e.replace(fg,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function zu(e,t,l,r,o,h,y,S){e.name="",y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"?e.type=y:e.removeAttribute("type"),t!=null?y==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Vt(t)):e.value!==""+Vt(t)&&(e.value=""+Vt(t)):y!=="submit"&&y!=="reset"||e.removeAttribute("value"),t!=null?ku(e,y,Vt(t)):l!=null?ku(e,y,Vt(l)):r!=null&&e.removeAttribute("value"),o==null&&h!=null&&(e.defaultChecked=!!h),o!=null&&(e.checked=o&&typeof o!="function"&&typeof o!="symbol"),S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"?e.name=""+Vt(S):e.removeAttribute("name")}function Qc(e,t,l,r,o,h,y,S){if(h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"&&(e.type=h),t!=null||l!=null){if(!(h!=="submit"&&h!=="reset"||t!=null)){Su(e);return}l=l!=null?""+Vt(l):"",t=t!=null?""+Vt(t):l,S||t===e.value||(e.value=t),e.defaultValue=t}r=r??o,r=typeof r!="function"&&typeof r!="symbol"&&!!r,e.checked=S?e.checked:!!r,e.defaultChecked=!!r,y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"&&(e.name=y),Su(e)}function ku(e,t,l){t==="number"&&Ya(e.ownerDocument)===e||e.defaultValue===""+l||(e.defaultValue=""+l)}function Ll(e,t,l,r){if(e=e.options,t){t={};for(var o=0;o<l.length;o++)t["$"+l[o]]=!0;for(l=0;l<e.length;l++)o=t.hasOwnProperty("$"+e[l].value),e[l].selected!==o&&(e[l].selected=o),o&&r&&(e[l].defaultSelected=!0)}else{for(l=""+Vt(l),t=null,o=0;o<e.length;o++){if(e[o].value===l){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function Xc(e,t,l){if(t!=null&&(t=""+Vt(t),t!==e.value&&(e.value=t),l==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=l!=null?""+Vt(l):""}function Zc(e,t,l,r){if(t==null){if(r!=null){if(l!=null)throw Error(u(92));if($(r)){if(1<r.length)throw Error(u(93));r=r[0]}l=r}l==null&&(l=""),t=l}l=Vt(t),e.defaultValue=l,r=e.textContent,r===l&&r!==""&&r!==null&&(e.value=r),Su(e)}function Bl(e,t){if(t){var l=e.firstChild;if(l&&l===e.lastChild&&l.nodeType===3){l.nodeValue=t;return}}e.textContent=t}var hg=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 Fc(e,t,l){var r=t.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?r?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":r?e.setProperty(t,l):typeof l!="number"||l===0||hg.has(t)?t==="float"?e.cssFloat=l:e[t]=(""+l).trim():e[t]=l+"px"}function Kc(e,t,l){if(t!=null&&typeof t!="object")throw Error(u(62));if(e=e.style,l!=null){for(var r in l)!l.hasOwnProperty(r)||t!=null&&t.hasOwnProperty(r)||(r.indexOf("--")===0?e.setProperty(r,""):r==="float"?e.cssFloat="":e[r]="");for(var o in t)r=t[o],t.hasOwnProperty(o)&&l[o]!==r&&Fc(e,o,r)}else for(var h in t)t.hasOwnProperty(h)&&Fc(e,h,t[h])}function Eu(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var dg=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"]]),mg=/^[\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 Va(e){return mg.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function pn(){}var wu=null;function Cu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ul=null,Hl=null;function Jc(e){var t=Ol(e);if(t&&(e=t.stateNode)){var l=e[zt]||null;e:switch(e=t.stateNode,t.type){case"input":if(zu(e,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),t=l.name,l.type==="radio"&&t!=null){for(l=e;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+Gt(""+t)+'"][type="radio"]'),t=0;t<l.length;t++){var r=l[t];if(r!==e&&r.form===e.form){var o=r[zt]||null;if(!o)throw Error(u(90));zu(r,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(t=0;t<l.length;t++)r=l[t],r.form===e.form&&Gc(r)}break e;case"textarea":Xc(e,l.value,l.defaultValue);break e;case"select":t=l.value,t!=null&&Ll(e,!!l.multiple,t,!1)}}}var Tu=!1;function Ic(e,t,l){if(Tu)return e(t,l);Tu=!0;try{var r=e(t);return r}finally{if(Tu=!1,(Ul!==null||Hl!==null)&&(Nr(),Ul&&(t=Ul,e=Hl,Hl=Ul=null,Jc(t),e)))for(t=0;t<e.length;t++)Jc(e[t])}}function _i(e,t){var l=e.stateNode;if(l===null)return null;var r=l[zt]||null;if(r===null)return null;l=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(l&&typeof l!="function")throw Error(u(231,t,typeof l));return l}var gn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Au=!1;if(gn)try{var Mi={};Object.defineProperty(Mi,"passive",{get:function(){Au=!0}}),window.addEventListener("test",Mi,Mi),window.removeEventListener("test",Mi,Mi)}catch{Au=!1}var Rn=null,Nu=null,Ga=null;function $c(){if(Ga)return Ga;var e,t=Nu,l=t.length,r,o="value"in Rn?Rn.value:Rn.textContent,h=o.length;for(e=0;e<l&&t[e]===o[e];e++);var y=l-e;for(r=1;r<=y&&t[l-r]===o[h-r];r++);return Ga=o.slice(e,1<r?1-r:void 0)}function Qa(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Xa(){return!0}function Wc(){return!1}function kt(e){function t(l,r,o,h,y){this._reactName=l,this._targetInst=o,this.type=r,this.nativeEvent=h,this.target=y,this.currentTarget=null;for(var S in e)e.hasOwnProperty(S)&&(l=e[S],this[S]=l?l(h):h[S]);return this.isDefaultPrevented=(h.defaultPrevented!=null?h.defaultPrevented:h.returnValue===!1)?Xa:Wc,this.isPropagationStopped=Wc,this}return g(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=Xa)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=Xa)},persist:function(){},isPersistent:Xa}),t}var sl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Za=kt(sl),ji=g({},sl,{view:0,detail:0}),pg=kt(ji),_u,Mu,Oi,Fa=g({},ji,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ou,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Oi&&(Oi&&e.type==="mousemove"?(_u=e.screenX-Oi.screenX,Mu=e.screenY-Oi.screenY):Mu=_u=0,Oi=e),_u)},movementY:function(e){return"movementY"in e?e.movementY:Mu}}),Pc=kt(Fa),gg=g({},Fa,{dataTransfer:0}),yg=kt(gg),xg=g({},ji,{relatedTarget:0}),ju=kt(xg),bg=g({},sl,{animationName:0,elapsedTime:0,pseudoElement:0}),vg=kt(bg),Sg=g({},sl,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),zg=kt(Sg),kg=g({},sl,{data:0}),ef=kt(kg),Eg={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},wg={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"},Cg={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Tg(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Cg[e])?!!t[e]:!1}function Ou(){return Tg}var Ag=g({},ji,{key:function(e){if(e.key){var t=Eg[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Qa(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?wg[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ou,charCode:function(e){return e.type==="keypress"?Qa(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Qa(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Ng=kt(Ag),_g=g({},Fa,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),tf=kt(_g),Mg=g({},ji,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ou}),jg=kt(Mg),Og=g({},sl,{propertyName:0,elapsedTime:0,pseudoElement:0}),Dg=kt(Og),Rg=g({},Fa,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Lg=kt(Rg),Bg=g({},sl,{newState:0,oldState:0}),Ug=kt(Bg),Hg=[9,13,27,32],Du=gn&&"CompositionEvent"in window,Di=null;gn&&"documentMode"in document&&(Di=document.documentMode);var qg=gn&&"TextEvent"in window&&!Di,nf=gn&&(!Du||Di&&8<Di&&11>=Di),lf=" ",af=!1;function rf(e,t){switch(e){case"keyup":return Hg.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function uf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ql=!1;function Yg(e,t){switch(e){case"compositionend":return uf(t);case"keypress":return t.which!==32?null:(af=!0,lf);case"textInput":return e=t.data,e===lf&&af?null:e;default:return null}}function Vg(e,t){if(ql)return e==="compositionend"||!Du&&rf(e,t)?(e=$c(),Ga=Nu=Rn=null,ql=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return nf&&t.locale!=="ko"?null:t.data;default:return null}}var Gg={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function sf(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Gg[e.type]:t==="textarea"}function of(e,t,l,r){Ul?Hl?Hl.push(r):Hl=[r]:Ul=r,t=Lr(t,"onChange"),0<t.length&&(l=new Za("onChange","change",null,l,r),e.push({event:l,listeners:t}))}var Ri=null,Li=null;function Qg(e){Xd(e,0)}function Ka(e){var t=Ni(e);if(Gc(t))return e}function cf(e,t){if(e==="change")return t}var ff=!1;if(gn){var Ru;if(gn){var Lu="oninput"in document;if(!Lu){var hf=document.createElement("div");hf.setAttribute("oninput","return;"),Lu=typeof hf.oninput=="function"}Ru=Lu}else Ru=!1;ff=Ru&&(!document.documentMode||9<document.documentMode)}function df(){Ri&&(Ri.detachEvent("onpropertychange",mf),Li=Ri=null)}function mf(e){if(e.propertyName==="value"&&Ka(Li)){var t=[];of(t,Li,e,Cu(e)),Ic(Qg,t)}}function Xg(e,t,l){e==="focusin"?(df(),Ri=t,Li=l,Ri.attachEvent("onpropertychange",mf)):e==="focusout"&&df()}function Zg(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ka(Li)}function Fg(e,t){if(e==="click")return Ka(t)}function Kg(e,t){if(e==="input"||e==="change")return Ka(t)}function Jg(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var jt=typeof Object.is=="function"?Object.is:Jg;function Bi(e,t){if(jt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var l=Object.keys(e),r=Object.keys(t);if(l.length!==r.length)return!1;for(r=0;r<l.length;r++){var o=l[r];if(!Nl.call(t,o)||!jt(e[o],t[o]))return!1}return!0}function pf(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function gf(e,t){var l=pf(e);e=0;for(var r;l;){if(l.nodeType===3){if(r=e+l.textContent.length,e<=t&&r>=t)return{node:l,offset:t-e};e=r}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=pf(l)}}function yf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?yf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function xf(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Ya(e.document);t instanceof e.HTMLIFrameElement;){try{var l=typeof t.contentWindow.location.href=="string"}catch{l=!1}if(l)e=t.contentWindow;else break;t=Ya(e.document)}return t}function Bu(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var Ig=gn&&"documentMode"in document&&11>=document.documentMode,Yl=null,Uu=null,Ui=null,Hu=!1;function bf(e,t,l){var r=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Hu||Yl==null||Yl!==Ya(r)||(r=Yl,"selectionStart"in r&&Bu(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Ui&&Bi(Ui,r)||(Ui=r,r=Lr(Uu,"onSelect"),0<r.length&&(t=new Za("onSelect","select",null,t,l),e.push({event:t,listeners:r}),t.target=Yl)))}function ol(e,t){var l={};return l[e.toLowerCase()]=t.toLowerCase(),l["Webkit"+e]="webkit"+t,l["Moz"+e]="moz"+t,l}var Vl={animationend:ol("Animation","AnimationEnd"),animationiteration:ol("Animation","AnimationIteration"),animationstart:ol("Animation","AnimationStart"),transitionrun:ol("Transition","TransitionRun"),transitionstart:ol("Transition","TransitionStart"),transitioncancel:ol("Transition","TransitionCancel"),transitionend:ol("Transition","TransitionEnd")},qu={},vf={};gn&&(vf=document.createElement("div").style,"AnimationEvent"in window||(delete Vl.animationend.animation,delete Vl.animationiteration.animation,delete Vl.animationstart.animation),"TransitionEvent"in window||delete Vl.transitionend.transition);function cl(e){if(qu[e])return qu[e];if(!Vl[e])return e;var t=Vl[e],l;for(l in t)if(t.hasOwnProperty(l)&&l in vf)return qu[e]=t[l];return e}var Sf=cl("animationend"),zf=cl("animationiteration"),kf=cl("animationstart"),$g=cl("transitionrun"),Wg=cl("transitionstart"),Pg=cl("transitioncancel"),Ef=cl("transitionend"),wf=new Map,Yu="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(" ");Yu.push("scrollEnd");function en(e,t){wf.set(e,t),ul(t,[e])}var Ja=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},Qt=[],Gl=0,Vu=0;function Ia(){for(var e=Gl,t=Vu=Gl=0;t<e;){var l=Qt[t];Qt[t++]=null;var r=Qt[t];Qt[t++]=null;var o=Qt[t];Qt[t++]=null;var h=Qt[t];if(Qt[t++]=null,r!==null&&o!==null){var y=r.pending;y===null?o.next=o:(o.next=y.next,y.next=o),r.pending=o}h!==0&&Cf(l,o,h)}}function $a(e,t,l,r){Qt[Gl++]=e,Qt[Gl++]=t,Qt[Gl++]=l,Qt[Gl++]=r,Vu|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function Gu(e,t,l,r){return $a(e,t,l,r),Wa(e)}function fl(e,t){return $a(e,null,null,t),Wa(e)}function Cf(e,t,l){e.lanes|=l;var r=e.alternate;r!==null&&(r.lanes|=l);for(var o=!1,h=e.return;h!==null;)h.childLanes|=l,r=h.alternate,r!==null&&(r.childLanes|=l),h.tag===22&&(e=h.stateNode,e===null||e._visibility&1||(o=!0)),e=h,h=h.return;return e.tag===3?(h=e.stateNode,o&&t!==null&&(o=31-Ve(l),e=h.hiddenUpdates,r=e[o],r===null?e[o]=[t]:r.push(t),t.lane=l|536870912),h):null}function Wa(e){if(50<ra)throw ra=0,Ws=null,Error(u(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Ql={};function ey(e,t,l,r){this.tag=e,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ot(e,t,l,r){return new ey(e,t,l,r)}function Qu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function yn(e,t){var l=e.alternate;return l===null?(l=Ot(e.tag,t,e.key,e.mode),l.elementType=e.elementType,l.type=e.type,l.stateNode=e.stateNode,l.alternate=e,e.alternate=l):(l.pendingProps=t,l.type=e.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=e.flags&65011712,l.childLanes=e.childLanes,l.lanes=e.lanes,l.child=e.child,l.memoizedProps=e.memoizedProps,l.memoizedState=e.memoizedState,l.updateQueue=e.updateQueue,t=e.dependencies,l.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},l.sibling=e.sibling,l.index=e.index,l.ref=e.ref,l.refCleanup=e.refCleanup,l}function Tf(e,t){e.flags&=65011714;var l=e.alternate;return l===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=l.childLanes,e.lanes=l.lanes,e.child=l.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=l.memoizedProps,e.memoizedState=l.memoizedState,e.updateQueue=l.updateQueue,e.type=l.type,t=l.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Pa(e,t,l,r,o,h){var y=0;if(r=e,typeof e=="function")Qu(e)&&(y=1);else if(typeof e=="string")y=a1(e,l,ee.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case pe:return e=Ot(31,l,t,o),e.elementType=pe,e.lanes=h,e;case N:return hl(l.children,o,h,t);case Y:y=8,o|=24;break;case M:return e=Ot(12,l,t,o|2),e.elementType=M,e.lanes=h,e;case J:return e=Ot(13,l,t,o),e.elementType=J,e.lanes=h,e;case B:return e=Ot(19,l,t,o),e.elementType=B,e.lanes=h,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case L:y=10;break e;case H:y=9;break e;case I:y=11;break e;case P:y=14;break e;case ue:y=16,r=null;break e}y=29,l=Error(u(130,e===null?"null":typeof e,"")),r=null}return t=Ot(y,l,t,o),t.elementType=e,t.type=r,t.lanes=h,t}function hl(e,t,l,r){return e=Ot(7,e,r,t),e.lanes=l,e}function Xu(e,t,l){return e=Ot(6,e,null,t),e.lanes=l,e}function Af(e){var t=Ot(18,null,null,0);return t.stateNode=e,t}function Zu(e,t,l){return t=Ot(4,e.children!==null?e.children:[],e.key,t),t.lanes=l,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Nf=new WeakMap;function Xt(e,t){if(typeof e=="object"&&e!==null){var l=Nf.get(e);return l!==void 0?l:(t={value:e,source:t,stack:Da(t)},Nf.set(e,t),t)}return{value:e,source:t,stack:Da(t)}}var Xl=[],Zl=0,er=null,Hi=0,Zt=[],Ft=0,Ln=null,an=1,rn="";function xn(e,t){Xl[Zl++]=Hi,Xl[Zl++]=er,er=e,Hi=t}function _f(e,t,l){Zt[Ft++]=an,Zt[Ft++]=rn,Zt[Ft++]=Ln,Ln=e;var r=an;e=rn;var o=32-Ve(r)-1;r&=~(1<<o),l+=1;var h=32-Ve(t)+o;if(30<h){var y=o-o%5;h=(r&(1<<y)-1).toString(32),r>>=y,o-=y,an=1<<32-Ve(t)+o|l<<o|r,rn=h+e}else an=1<<h|l<<o|r,rn=e}function Fu(e){e.return!==null&&(xn(e,1),_f(e,1,0))}function Ku(e){for(;e===er;)er=Xl[--Zl],Xl[Zl]=null,Hi=Xl[--Zl],Xl[Zl]=null;for(;e===Ln;)Ln=Zt[--Ft],Zt[Ft]=null,rn=Zt[--Ft],Zt[Ft]=null,an=Zt[--Ft],Zt[Ft]=null}function Mf(e,t){Zt[Ft++]=an,Zt[Ft++]=rn,Zt[Ft++]=Ln,an=t.id,rn=t.overflow,Ln=e}var ct=null,Ze=null,Ne=!1,Bn=null,Kt=!1,Ju=Error(u(519));function Un(e){var t=Error(u(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw qi(Xt(t,e)),Ju}function jf(e){var t=e.stateNode,l=e.type,r=e.memoizedProps;switch(t[ot]=e,t[zt]=r,l){case"dialog":Ee("cancel",t),Ee("close",t);break;case"iframe":case"object":case"embed":Ee("load",t);break;case"video":case"audio":for(l=0;l<sa.length;l++)Ee(sa[l],t);break;case"source":Ee("error",t);break;case"img":case"image":case"link":Ee("error",t),Ee("load",t);break;case"details":Ee("toggle",t);break;case"input":Ee("invalid",t),Qc(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case"select":Ee("invalid",t);break;case"textarea":Ee("invalid",t),Zc(t,r.value,r.defaultValue,r.children)}l=r.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||t.textContent===""+l||r.suppressHydrationWarning===!0||Jd(t.textContent,l)?(r.popover!=null&&(Ee("beforetoggle",t),Ee("toggle",t)),r.onScroll!=null&&Ee("scroll",t),r.onScrollEnd!=null&&Ee("scrollend",t),r.onClick!=null&&(t.onclick=pn),t=!0):t=!1,t||Un(e,!0)}function Of(e){for(ct=e.return;ct;)switch(ct.tag){case 5:case 31:case 13:Kt=!1;return;case 27:case 3:Kt=!0;return;default:ct=ct.return}}function Fl(e){if(e!==ct)return!1;if(!Ne)return Of(e),Ne=!0,!1;var t=e.tag,l;if((l=t!==3&&t!==27)&&((l=t===5)&&(l=e.type,l=!(l!=="form"&&l!=="button")||mo(e.type,e.memoizedProps)),l=!l),l&&Ze&&Un(e),Of(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(u(317));Ze=im(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(u(317));Ze=im(e)}else t===27?(t=Ze,Wn(e.type)?(e=bo,bo=null,Ze=e):Ze=t):Ze=ct?It(e.stateNode.nextSibling):null;return!0}function dl(){Ze=ct=null,Ne=!1}function Iu(){var e=Bn;return e!==null&&(Tt===null?Tt=e:Tt.push.apply(Tt,e),Bn=null),e}function qi(e){Bn===null?Bn=[e]:Bn.push(e)}var $u=T(null),ml=null,bn=null;function Hn(e,t,l){k($u,t._currentValue),t._currentValue=l}function vn(e){e._currentValue=$u.current,G($u)}function Wu(e,t,l){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===l)break;e=e.return}}function Pu(e,t,l,r){var o=e.child;for(o!==null&&(o.return=e);o!==null;){var h=o.dependencies;if(h!==null){var y=o.child;h=h.firstContext;e:for(;h!==null;){var S=h;h=o;for(var w=0;w<t.length;w++)if(S.context===t[w]){h.lanes|=l,S=h.alternate,S!==null&&(S.lanes|=l),Wu(h.return,l,e),r||(y=null);break e}h=S.next}}else if(o.tag===18){if(y=o.return,y===null)throw Error(u(341));y.lanes|=l,h=y.alternate,h!==null&&(h.lanes|=l),Wu(y,l,e),y=null}else y=o.child;if(y!==null)y.return=o;else for(y=o;y!==null;){if(y===e){y=null;break}if(o=y.sibling,o!==null){o.return=y.return,y=o;break}y=y.return}o=y}}function Kl(e,t,l,r){e=null;for(var o=t,h=!1;o!==null;){if(!h){if((o.flags&524288)!==0)h=!0;else if((o.flags&262144)!==0)break}if(o.tag===10){var y=o.alternate;if(y===null)throw Error(u(387));if(y=y.memoizedProps,y!==null){var S=o.type;jt(o.pendingProps.value,y.value)||(e!==null?e.push(S):e=[S])}}else if(o===Ce.current){if(y=o.alternate,y===null)throw Error(u(387));y.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(e!==null?e.push(da):e=[da])}o=o.return}e!==null&&Pu(t,e,l,r),t.flags|=262144}function tr(e){for(e=e.firstContext;e!==null;){if(!jt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function pl(e){ml=e,bn=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function ft(e){return Df(ml,e)}function nr(e,t){return ml===null&&pl(e),Df(e,t)}function Df(e,t){var l=t._currentValue;if(t={context:t,memoizedValue:l,next:null},bn===null){if(e===null)throw Error(u(308));bn=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else bn=bn.next=t;return l}var ty=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(l,r){e.push(r)}};this.abort=function(){t.aborted=!0,e.forEach(function(l){return l()})}},ny=n.unstable_scheduleCallback,ly=n.unstable_NormalPriority,et={$$typeof:L,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function es(){return{controller:new ty,data:new Map,refCount:0}}function Yi(e){e.refCount--,e.refCount===0&&ny(ly,function(){e.controller.abort()})}var Vi=null,ts=0,Jl=0,Il=null;function iy(e,t){if(Vi===null){var l=Vi=[];ts=0,Jl=io(),Il={status:"pending",value:void 0,then:function(r){l.push(r)}}}return ts++,t.then(Rf,Rf),t}function Rf(){if(--ts===0&&Vi!==null){Il!==null&&(Il.status="fulfilled");var e=Vi;Vi=null,Jl=0,Il=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function ay(e,t){var l=[],r={status:"pending",value:null,reason:null,then:function(o){l.push(o)}};return e.then(function(){r.status="fulfilled",r.value=t;for(var o=0;o<l.length;o++)(0,l[o])(t)},function(o){for(r.status="rejected",r.reason=o,o=0;o<l.length;o++)(0,l[o])(void 0)}),r}var Lf=R.S;R.S=function(e,t){bd=yt(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&iy(e,t),Lf!==null&&Lf(e,t)};var gl=T(null);function ns(){var e=gl.current;return e!==null?e:Ge.pooledCache}function lr(e,t){t===null?k(gl,gl.current):k(gl,t.pool)}function Bf(){var e=ns();return e===null?null:{parent:et._currentValue,pool:e}}var $l=Error(u(460)),ls=Error(u(474)),ir=Error(u(542)),ar={then:function(){}};function Uf(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Hf(e,t,l){switch(l=e[l],l===void 0?e.push(t):l!==t&&(t.then(pn,pn),t=l),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Yf(e),e;default:if(typeof t.status=="string")t.then(pn,pn);else{if(e=Ge,e!==null&&100<e.shellSuspendCounter)throw Error(u(482));e=t,e.status="pending",e.then(function(r){if(t.status==="pending"){var o=t;o.status="fulfilled",o.value=r}},function(r){if(t.status==="pending"){var o=t;o.status="rejected",o.reason=r}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Yf(e),e}throw xl=t,$l}}function yl(e){try{var t=e._init;return t(e._payload)}catch(l){throw l!==null&&typeof l=="object"&&typeof l.then=="function"?(xl=l,$l):l}}var xl=null;function qf(){if(xl===null)throw Error(u(459));var e=xl;return xl=null,e}function Yf(e){if(e===$l||e===ir)throw Error(u(483))}var Wl=null,Gi=0;function rr(e){var t=Gi;return Gi+=1,Wl===null&&(Wl=[]),Hf(Wl,e,t)}function Qi(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function ur(e,t){throw t.$$typeof===b?Error(u(525)):(e=Object.prototype.toString.call(t),Error(u(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function Vf(e){function t(_,A){if(e){var j=_.deletions;j===null?(_.deletions=[A],_.flags|=16):j.push(A)}}function l(_,A){if(!e)return null;for(;A!==null;)t(_,A),A=A.sibling;return null}function r(_){for(var A=new Map;_!==null;)_.key!==null?A.set(_.key,_):A.set(_.index,_),_=_.sibling;return A}function o(_,A){return _=yn(_,A),_.index=0,_.sibling=null,_}function h(_,A,j){return _.index=j,e?(j=_.alternate,j!==null?(j=j.index,j<A?(_.flags|=67108866,A):j):(_.flags|=67108866,A)):(_.flags|=1048576,A)}function y(_){return e&&_.alternate===null&&(_.flags|=67108866),_}function S(_,A,j,X){return A===null||A.tag!==6?(A=Xu(j,_.mode,X),A.return=_,A):(A=o(A,j),A.return=_,A)}function w(_,A,j,X){var oe=j.type;return oe===N?V(_,A,j.props.children,X,j.key):A!==null&&(A.elementType===oe||typeof oe=="object"&&oe!==null&&oe.$$typeof===ue&&yl(oe)===A.type)?(A=o(A,j.props),Qi(A,j),A.return=_,A):(A=Pa(j.type,j.key,j.props,null,_.mode,X),Qi(A,j),A.return=_,A)}function O(_,A,j,X){return A===null||A.tag!==4||A.stateNode.containerInfo!==j.containerInfo||A.stateNode.implementation!==j.implementation?(A=Zu(j,_.mode,X),A.return=_,A):(A=o(A,j.children||[]),A.return=_,A)}function V(_,A,j,X,oe){return A===null||A.tag!==7?(A=hl(j,_.mode,X,oe),A.return=_,A):(A=o(A,j),A.return=_,A)}function Z(_,A,j){if(typeof A=="string"&&A!==""||typeof A=="number"||typeof A=="bigint")return A=Xu(""+A,_.mode,j),A.return=_,A;if(typeof A=="object"&&A!==null){switch(A.$$typeof){case v:return j=Pa(A.type,A.key,A.props,null,_.mode,j),Qi(j,A),j.return=_,j;case C:return A=Zu(A,_.mode,j),A.return=_,A;case ue:return A=yl(A),Z(_,A,j)}if($(A)||ne(A))return A=hl(A,_.mode,j,null),A.return=_,A;if(typeof A.then=="function")return Z(_,rr(A),j);if(A.$$typeof===L)return Z(_,nr(_,A),j);ur(_,A)}return null}function D(_,A,j,X){var oe=A!==null?A.key:null;if(typeof j=="string"&&j!==""||typeof j=="number"||typeof j=="bigint")return oe!==null?null:S(_,A,""+j,X);if(typeof j=="object"&&j!==null){switch(j.$$typeof){case v:return j.key===oe?w(_,A,j,X):null;case C:return j.key===oe?O(_,A,j,X):null;case ue:return j=yl(j),D(_,A,j,X)}if($(j)||ne(j))return oe!==null?null:V(_,A,j,X,null);if(typeof j.then=="function")return D(_,A,rr(j),X);if(j.$$typeof===L)return D(_,A,nr(_,j),X);ur(_,j)}return null}function q(_,A,j,X,oe){if(typeof X=="string"&&X!==""||typeof X=="number"||typeof X=="bigint")return _=_.get(j)||null,S(A,_,""+X,oe);if(typeof X=="object"&&X!==null){switch(X.$$typeof){case v:return _=_.get(X.key===null?j:X.key)||null,w(A,_,X,oe);case C:return _=_.get(X.key===null?j:X.key)||null,O(A,_,X,oe);case ue:return X=yl(X),q(_,A,j,X,oe)}if($(X)||ne(X))return _=_.get(j)||null,V(A,_,X,oe,null);if(typeof X.then=="function")return q(_,A,j,rr(X),oe);if(X.$$typeof===L)return q(_,A,j,nr(A,X),oe);ur(A,X)}return null}function le(_,A,j,X){for(var oe=null,je=null,ae=A,xe=A=0,Ae=null;ae!==null&&xe<j.length;xe++){ae.index>xe?(Ae=ae,ae=null):Ae=ae.sibling;var Oe=D(_,ae,j[xe],X);if(Oe===null){ae===null&&(ae=Ae);break}e&&ae&&Oe.alternate===null&&t(_,ae),A=h(Oe,A,xe),je===null?oe=Oe:je.sibling=Oe,je=Oe,ae=Ae}if(xe===j.length)return l(_,ae),Ne&&xn(_,xe),oe;if(ae===null){for(;xe<j.length;xe++)ae=Z(_,j[xe],X),ae!==null&&(A=h(ae,A,xe),je===null?oe=ae:je.sibling=ae,je=ae);return Ne&&xn(_,xe),oe}for(ae=r(ae);xe<j.length;xe++)Ae=q(ae,_,xe,j[xe],X),Ae!==null&&(e&&Ae.alternate!==null&&ae.delete(Ae.key===null?xe:Ae.key),A=h(Ae,A,xe),je===null?oe=Ae:je.sibling=Ae,je=Ae);return e&&ae.forEach(function(ll){return t(_,ll)}),Ne&&xn(_,xe),oe}function fe(_,A,j,X){if(j==null)throw Error(u(151));for(var oe=null,je=null,ae=A,xe=A=0,Ae=null,Oe=j.next();ae!==null&&!Oe.done;xe++,Oe=j.next()){ae.index>xe?(Ae=ae,ae=null):Ae=ae.sibling;var ll=D(_,ae,Oe.value,X);if(ll===null){ae===null&&(ae=Ae);break}e&&ae&&ll.alternate===null&&t(_,ae),A=h(ll,A,xe),je===null?oe=ll:je.sibling=ll,je=ll,ae=Ae}if(Oe.done)return l(_,ae),Ne&&xn(_,xe),oe;if(ae===null){for(;!Oe.done;xe++,Oe=j.next())Oe=Z(_,Oe.value,X),Oe!==null&&(A=h(Oe,A,xe),je===null?oe=Oe:je.sibling=Oe,je=Oe);return Ne&&xn(_,xe),oe}for(ae=r(ae);!Oe.done;xe++,Oe=j.next())Oe=q(ae,_,xe,Oe.value,X),Oe!==null&&(e&&Oe.alternate!==null&&ae.delete(Oe.key===null?xe:Oe.key),A=h(Oe,A,xe),je===null?oe=Oe:je.sibling=Oe,je=Oe);return e&&ae.forEach(function(g1){return t(_,g1)}),Ne&&xn(_,xe),oe}function Ye(_,A,j,X){if(typeof j=="object"&&j!==null&&j.type===N&&j.key===null&&(j=j.props.children),typeof j=="object"&&j!==null){switch(j.$$typeof){case v:e:{for(var oe=j.key;A!==null;){if(A.key===oe){if(oe=j.type,oe===N){if(A.tag===7){l(_,A.sibling),X=o(A,j.props.children),X.return=_,_=X;break e}}else if(A.elementType===oe||typeof oe=="object"&&oe!==null&&oe.$$typeof===ue&&yl(oe)===A.type){l(_,A.sibling),X=o(A,j.props),Qi(X,j),X.return=_,_=X;break e}l(_,A);break}else t(_,A);A=A.sibling}j.type===N?(X=hl(j.props.children,_.mode,X,j.key),X.return=_,_=X):(X=Pa(j.type,j.key,j.props,null,_.mode,X),Qi(X,j),X.return=_,_=X)}return y(_);case C:e:{for(oe=j.key;A!==null;){if(A.key===oe)if(A.tag===4&&A.stateNode.containerInfo===j.containerInfo&&A.stateNode.implementation===j.implementation){l(_,A.sibling),X=o(A,j.children||[]),X.return=_,_=X;break e}else{l(_,A);break}else t(_,A);A=A.sibling}X=Zu(j,_.mode,X),X.return=_,_=X}return y(_);case ue:return j=yl(j),Ye(_,A,j,X)}if($(j))return le(_,A,j,X);if(ne(j)){if(oe=ne(j),typeof oe!="function")throw Error(u(150));return j=oe.call(j),fe(_,A,j,X)}if(typeof j.then=="function")return Ye(_,A,rr(j),X);if(j.$$typeof===L)return Ye(_,A,nr(_,j),X);ur(_,j)}return typeof j=="string"&&j!==""||typeof j=="number"||typeof j=="bigint"?(j=""+j,A!==null&&A.tag===6?(l(_,A.sibling),X=o(A,j),X.return=_,_=X):(l(_,A),X=Xu(j,_.mode,X),X.return=_,_=X),y(_)):l(_,A)}return function(_,A,j,X){try{Gi=0;var oe=Ye(_,A,j,X);return Wl=null,oe}catch(ae){if(ae===$l||ae===ir)throw ae;var je=Ot(29,ae,null,_.mode);return je.lanes=X,je.return=_,je}finally{}}}var bl=Vf(!0),Gf=Vf(!1),qn=!1;function is(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function as(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Yn(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Vn(e,t,l){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,(De&2)!==0){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,t=Wa(e),Cf(e,null,l),t}return $a(e,r,t,l),Wa(e)}function Xi(e,t,l){if(t=t.updateQueue,t!==null&&(t=t.shared,(l&4194048)!==0)){var r=t.lanes;r&=e.pendingLanes,l|=r,t.lanes=l,Oc(e,l)}}function rs(e,t){var l=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,l===r)){var o=null,h=null;if(l=l.firstBaseUpdate,l!==null){do{var y={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};h===null?o=h=y:h=h.next=y,l=l.next}while(l!==null);h===null?o=h=t:h=h.next=t}else o=h=t;l={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:h,shared:r.shared,callbacks:r.callbacks},e.updateQueue=l;return}e=l.lastBaseUpdate,e===null?l.firstBaseUpdate=t:e.next=t,l.lastBaseUpdate=t}var us=!1;function Zi(){if(us){var e=Il;if(e!==null)throw e}}function Fi(e,t,l,r){us=!1;var o=e.updateQueue;qn=!1;var h=o.firstBaseUpdate,y=o.lastBaseUpdate,S=o.shared.pending;if(S!==null){o.shared.pending=null;var w=S,O=w.next;w.next=null,y===null?h=O:y.next=O,y=w;var V=e.alternate;V!==null&&(V=V.updateQueue,S=V.lastBaseUpdate,S!==y&&(S===null?V.firstBaseUpdate=O:S.next=O,V.lastBaseUpdate=w))}if(h!==null){var Z=o.baseState;y=0,V=O=w=null,S=h;do{var D=S.lane&-536870913,q=D!==S.lane;if(q?(Te&D)===D:(r&D)===D){D!==0&&D===Jl&&(us=!0),V!==null&&(V=V.next={lane:0,tag:S.tag,payload:S.payload,callback:null,next:null});e:{var le=e,fe=S;D=t;var Ye=l;switch(fe.tag){case 1:if(le=fe.payload,typeof le=="function"){Z=le.call(Ye,Z,D);break e}Z=le;break e;case 3:le.flags=le.flags&-65537|128;case 0:if(le=fe.payload,D=typeof le=="function"?le.call(Ye,Z,D):le,D==null)break e;Z=g({},Z,D);break e;case 2:qn=!0}}D=S.callback,D!==null&&(e.flags|=64,q&&(e.flags|=8192),q=o.callbacks,q===null?o.callbacks=[D]:q.push(D))}else q={lane:D,tag:S.tag,payload:S.payload,callback:S.callback,next:null},V===null?(O=V=q,w=Z):V=V.next=q,y|=D;if(S=S.next,S===null){if(S=o.shared.pending,S===null)break;q=S,S=q.next,q.next=null,o.lastBaseUpdate=q,o.shared.pending=null}}while(!0);V===null&&(w=Z),o.baseState=w,o.firstBaseUpdate=O,o.lastBaseUpdate=V,h===null&&(o.shared.lanes=0),Fn|=y,e.lanes=y,e.memoizedState=Z}}function Qf(e,t){if(typeof e!="function")throw Error(u(191,e));e.call(t)}function Xf(e,t){var l=e.callbacks;if(l!==null)for(e.callbacks=null,e=0;e<l.length;e++)Qf(l[e],t)}var Pl=T(null),sr=T(0);function Zf(e,t){e=Nn,k(sr,e),k(Pl,t),Nn=e|t.baseLanes}function ss(){k(sr,Nn),k(Pl,Pl.current)}function os(){Nn=sr.current,G(Pl),G(sr)}var Dt=T(null),Jt=null;function Gn(e){var t=e.alternate;k(We,We.current&1),k(Dt,e),Jt===null&&(t===null||Pl.current!==null||t.memoizedState!==null)&&(Jt=e)}function cs(e){k(We,We.current),k(Dt,e),Jt===null&&(Jt=e)}function Ff(e){e.tag===22?(k(We,We.current),k(Dt,e),Jt===null&&(Jt=e)):Qn()}function Qn(){k(We,We.current),k(Dt,Dt.current)}function Rt(e){G(Dt),Jt===e&&(Jt=null),G(We)}var We=T(0);function or(e){for(var t=e;t!==null;){if(t.tag===13){var l=t.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||yo(l)||xo(l)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Sn=0,ye=null,He=null,tt=null,cr=!1,ei=!1,vl=!1,fr=0,Ki=0,ti=null,ry=0;function Ie(){throw Error(u(321))}function fs(e,t){if(t===null)return!1;for(var l=0;l<t.length&&l<e.length;l++)if(!jt(e[l],t[l]))return!1;return!0}function hs(e,t,l,r,o,h){return Sn=h,ye=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,R.H=e===null||e.memoizedState===null?_h:Ts,vl=!1,h=l(r,o),vl=!1,ei&&(h=Jf(t,l,r,o)),Kf(e),h}function Kf(e){R.H=$i;var t=He!==null&&He.next!==null;if(Sn=0,tt=He=ye=null,cr=!1,Ki=0,ti=null,t)throw Error(u(300));e===null||nt||(e=e.dependencies,e!==null&&tr(e)&&(nt=!0))}function Jf(e,t,l,r){ye=e;var o=0;do{if(ei&&(ti=null),Ki=0,ei=!1,25<=o)throw Error(u(301));if(o+=1,tt=He=null,e.updateQueue!=null){var h=e.updateQueue;h.lastEffect=null,h.events=null,h.stores=null,h.memoCache!=null&&(h.memoCache.index=0)}R.H=Mh,h=t(l,r)}while(ei);return h}function uy(){var e=R.H,t=e.useState()[0];return t=typeof t.then=="function"?Ji(t):t,e=e.useState()[0],(He!==null?He.memoizedState:null)!==e&&(ye.flags|=1024),t}function ds(){var e=fr!==0;return fr=0,e}function ms(e,t,l){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l}function ps(e){if(cr){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}cr=!1}Sn=0,tt=He=ye=null,ei=!1,Ki=fr=0,ti=null}function bt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return tt===null?ye.memoizedState=tt=e:tt=tt.next=e,tt}function Pe(){if(He===null){var e=ye.alternate;e=e!==null?e.memoizedState:null}else e=He.next;var t=tt===null?ye.memoizedState:tt.next;if(t!==null)tt=t,He=e;else{if(e===null)throw ye.alternate===null?Error(u(467)):Error(u(310));He=e,e={memoizedState:He.memoizedState,baseState:He.baseState,baseQueue:He.baseQueue,queue:He.queue,next:null},tt===null?ye.memoizedState=tt=e:tt=tt.next=e}return tt}function hr(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ji(e){var t=Ki;return Ki+=1,ti===null&&(ti=[]),e=Hf(ti,e,t),t=ye,(tt===null?t.memoizedState:tt.next)===null&&(t=t.alternate,R.H=t===null||t.memoizedState===null?_h:Ts),e}function dr(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Ji(e);if(e.$$typeof===L)return ft(e)}throw Error(u(438,String(e)))}function gs(e){var t=null,l=ye.updateQueue;if(l!==null&&(t=l.memoCache),t==null){var r=ye.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(t={data:r.data.map(function(o){return o.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),l===null&&(l=hr(),ye.updateQueue=l),l.memoCache=t,l=t.data[t.index],l===void 0)for(l=t.data[t.index]=Array(e),r=0;r<e;r++)l[r]=U;return t.index++,l}function zn(e,t){return typeof t=="function"?t(e):t}function mr(e){var t=Pe();return ys(t,He,e)}function ys(e,t,l){var r=e.queue;if(r===null)throw Error(u(311));r.lastRenderedReducer=l;var o=e.baseQueue,h=r.pending;if(h!==null){if(o!==null){var y=o.next;o.next=h.next,h.next=y}t.baseQueue=o=h,r.pending=null}if(h=e.baseState,o===null)e.memoizedState=h;else{t=o.next;var S=y=null,w=null,O=t,V=!1;do{var Z=O.lane&-536870913;if(Z!==O.lane?(Te&Z)===Z:(Sn&Z)===Z){var D=O.revertLane;if(D===0)w!==null&&(w=w.next={lane:0,revertLane:0,gesture:null,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null}),Z===Jl&&(V=!0);else if((Sn&D)===D){O=O.next,D===Jl&&(V=!0);continue}else Z={lane:0,revertLane:O.revertLane,gesture:null,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null},w===null?(S=w=Z,y=h):w=w.next=Z,ye.lanes|=D,Fn|=D;Z=O.action,vl&&l(h,Z),h=O.hasEagerState?O.eagerState:l(h,Z)}else D={lane:Z,revertLane:O.revertLane,gesture:O.gesture,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null},w===null?(S=w=D,y=h):w=w.next=D,ye.lanes|=Z,Fn|=Z;O=O.next}while(O!==null&&O!==t);if(w===null?y=h:w.next=S,!jt(h,e.memoizedState)&&(nt=!0,V&&(l=Il,l!==null)))throw l;e.memoizedState=h,e.baseState=y,e.baseQueue=w,r.lastRenderedState=h}return o===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function xs(e){var t=Pe(),l=t.queue;if(l===null)throw Error(u(311));l.lastRenderedReducer=e;var r=l.dispatch,o=l.pending,h=t.memoizedState;if(o!==null){l.pending=null;var y=o=o.next;do h=e(h,y.action),y=y.next;while(y!==o);jt(h,t.memoizedState)||(nt=!0),t.memoizedState=h,t.baseQueue===null&&(t.baseState=h),l.lastRenderedState=h}return[h,r]}function If(e,t,l){var r=ye,o=Pe(),h=Ne;if(h){if(l===void 0)throw Error(u(407));l=l()}else l=t();var y=!jt((He||o).memoizedState,l);if(y&&(o.memoizedState=l,nt=!0),o=o.queue,Ss(Pf.bind(null,r,o,e),[e]),o.getSnapshot!==t||y||tt!==null&&tt.memoizedState.tag&1){if(r.flags|=2048,ni(9,{destroy:void 0},Wf.bind(null,r,o,l,t),null),Ge===null)throw Error(u(349));h||(Sn&127)!==0||$f(r,t,l)}return l}function $f(e,t,l){e.flags|=16384,e={getSnapshot:t,value:l},t=ye.updateQueue,t===null?(t=hr(),ye.updateQueue=t,t.stores=[e]):(l=t.stores,l===null?t.stores=[e]:l.push(e))}function Wf(e,t,l,r){t.value=l,t.getSnapshot=r,eh(t)&&th(e)}function Pf(e,t,l){return l(function(){eh(t)&&th(e)})}function eh(e){var t=e.getSnapshot;e=e.value;try{var l=t();return!jt(e,l)}catch{return!0}}function th(e){var t=fl(e,2);t!==null&&At(t,e,2)}function bs(e){var t=bt();if(typeof e=="function"){var l=e;if(e=l(),vl){St(!0);try{l()}finally{St(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:zn,lastRenderedState:e},t}function nh(e,t,l,r){return e.baseState=l,ys(e,He,typeof r=="function"?r:zn)}function sy(e,t,l,r,o){if(yr(e))throw Error(u(485));if(e=t.action,e!==null){var h={payload:o,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(y){h.listeners.push(y)}};R.T!==null?l(!0):h.isTransition=!1,r(h),l=t.pending,l===null?(h.next=t.pending=h,lh(t,h)):(h.next=l.next,t.pending=l.next=h)}}function lh(e,t){var l=t.action,r=t.payload,o=e.state;if(t.isTransition){var h=R.T,y={};R.T=y;try{var S=l(o,r),w=R.S;w!==null&&w(y,S),ih(e,t,S)}catch(O){vs(e,t,O)}finally{h!==null&&y.types!==null&&(h.types=y.types),R.T=h}}else try{h=l(o,r),ih(e,t,h)}catch(O){vs(e,t,O)}}function ih(e,t,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(r){ah(e,t,r)},function(r){return vs(e,t,r)}):ah(e,t,l)}function ah(e,t,l){t.status="fulfilled",t.value=l,rh(t),e.state=l,t=e.pending,t!==null&&(l=t.next,l===t?e.pending=null:(l=l.next,t.next=l,lh(e,l)))}function vs(e,t,l){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status="rejected",t.reason=l,rh(t),t=t.next;while(t!==r)}e.action=null}function rh(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function uh(e,t){return t}function sh(e,t){if(Ne){var l=Ge.formState;if(l!==null){e:{var r=ye;if(Ne){if(Ze){t:{for(var o=Ze,h=Kt;o.nodeType!==8;){if(!h){o=null;break t}if(o=It(o.nextSibling),o===null){o=null;break t}}h=o.data,o=h==="F!"||h==="F"?o:null}if(o){Ze=It(o.nextSibling),r=o.data==="F!";break e}}Un(r)}r=!1}r&&(t=l[0])}}return l=bt(),l.memoizedState=l.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:uh,lastRenderedState:t},l.queue=r,l=Th.bind(null,ye,r),r.dispatch=l,r=bs(!1),h=Cs.bind(null,ye,!1,r.queue),r=bt(),o={state:t,dispatch:null,action:e,pending:null},r.queue=o,l=sy.bind(null,ye,o,h,l),o.dispatch=l,r.memoizedState=e,[t,l,!1]}function oh(e){var t=Pe();return ch(t,He,e)}function ch(e,t,l){if(t=ys(e,t,uh)[0],e=mr(zn)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var r=Ji(t)}catch(y){throw y===$l?ir:y}else r=t;t=Pe();var o=t.queue,h=o.dispatch;return l!==t.memoizedState&&(ye.flags|=2048,ni(9,{destroy:void 0},oy.bind(null,o,l),null)),[r,h,e]}function oy(e,t){e.action=t}function fh(e){var t=Pe(),l=He;if(l!==null)return ch(t,l,e);Pe(),t=t.memoizedState,l=Pe();var r=l.queue.dispatch;return l.memoizedState=e,[t,r,!1]}function ni(e,t,l,r){return e={tag:e,create:l,deps:r,inst:t,next:null},t=ye.updateQueue,t===null&&(t=hr(),ye.updateQueue=t),l=t.lastEffect,l===null?t.lastEffect=e.next=e:(r=l.next,l.next=e,e.next=r,t.lastEffect=e),e}function hh(){return Pe().memoizedState}function pr(e,t,l,r){var o=bt();ye.flags|=e,o.memoizedState=ni(1|t,{destroy:void 0},l,r===void 0?null:r)}function gr(e,t,l,r){var o=Pe();r=r===void 0?null:r;var h=o.memoizedState.inst;He!==null&&r!==null&&fs(r,He.memoizedState.deps)?o.memoizedState=ni(t,h,l,r):(ye.flags|=e,o.memoizedState=ni(1|t,h,l,r))}function dh(e,t){pr(8390656,8,e,t)}function Ss(e,t){gr(2048,8,e,t)}function cy(e){ye.flags|=4;var t=ye.updateQueue;if(t===null)t=hr(),ye.updateQueue=t,t.events=[e];else{var l=t.events;l===null?t.events=[e]:l.push(e)}}function mh(e){var t=Pe().memoizedState;return cy({ref:t,nextImpl:e}),function(){if((De&2)!==0)throw Error(u(440));return t.impl.apply(void 0,arguments)}}function ph(e,t){return gr(4,2,e,t)}function gh(e,t){return gr(4,4,e,t)}function yh(e,t){if(typeof t=="function"){e=e();var l=t(e);return function(){typeof l=="function"?l():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function xh(e,t,l){l=l!=null?l.concat([e]):null,gr(4,4,yh.bind(null,t,e),l)}function zs(){}function bh(e,t){var l=Pe();t=t===void 0?null:t;var r=l.memoizedState;return t!==null&&fs(t,r[1])?r[0]:(l.memoizedState=[e,t],e)}function vh(e,t){var l=Pe();t=t===void 0?null:t;var r=l.memoizedState;if(t!==null&&fs(t,r[1]))return r[0];if(r=e(),vl){St(!0);try{e()}finally{St(!1)}}return l.memoizedState=[r,t],r}function ks(e,t,l){return l===void 0||(Sn&1073741824)!==0&&(Te&261930)===0?e.memoizedState=t:(e.memoizedState=l,e=Sd(),ye.lanes|=e,Fn|=e,l)}function Sh(e,t,l,r){return jt(l,t)?l:Pl.current!==null?(e=ks(e,l,r),jt(e,t)||(nt=!0),e):(Sn&42)===0||(Sn&1073741824)!==0&&(Te&261930)===0?(nt=!0,e.memoizedState=l):(e=Sd(),ye.lanes|=e,Fn|=e,t)}function zh(e,t,l,r,o){var h=F.p;F.p=h!==0&&8>h?h:8;var y=R.T,S={};R.T=S,Cs(e,!1,t,l);try{var w=o(),O=R.S;if(O!==null&&O(S,w),w!==null&&typeof w=="object"&&typeof w.then=="function"){var V=ay(w,r);Ii(e,t,V,Ut(e))}else Ii(e,t,r,Ut(e))}catch(Z){Ii(e,t,{then:function(){},status:"rejected",reason:Z},Ut())}finally{F.p=h,y!==null&&S.types!==null&&(y.types=S.types),R.T=y}}function fy(){}function Es(e,t,l,r){if(e.tag!==5)throw Error(u(476));var o=kh(e).queue;zh(e,o,t,re,l===null?fy:function(){return Eh(e),l(r)})}function kh(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:re,baseState:re,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:zn,lastRenderedState:re},next:null};var l={};return t.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:zn,lastRenderedState:l},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Eh(e){var t=kh(e);t.next===null&&(t=e.alternate.memoizedState),Ii(e,t.next.queue,{},Ut())}function ws(){return ft(da)}function wh(){return Pe().memoizedState}function Ch(){return Pe().memoizedState}function hy(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var l=Ut();e=Yn(l);var r=Vn(t,e,l);r!==null&&(At(r,t,l),Xi(r,t,l)),t={cache:es()},e.payload=t;return}t=t.return}}function dy(e,t,l){var r=Ut();l={lane:r,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},yr(e)?Ah(t,l):(l=Gu(e,t,l,r),l!==null&&(At(l,e,r),Nh(l,t,r)))}function Th(e,t,l){var r=Ut();Ii(e,t,l,r)}function Ii(e,t,l,r){var o={lane:r,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(yr(e))Ah(t,o);else{var h=e.alternate;if(e.lanes===0&&(h===null||h.lanes===0)&&(h=t.lastRenderedReducer,h!==null))try{var y=t.lastRenderedState,S=h(y,l);if(o.hasEagerState=!0,o.eagerState=S,jt(S,y))return $a(e,t,o,0),Ge===null&&Ia(),!1}catch{}finally{}if(l=Gu(e,t,o,r),l!==null)return At(l,e,r),Nh(l,t,r),!0}return!1}function Cs(e,t,l,r){if(r={lane:2,revertLane:io(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},yr(e)){if(t)throw Error(u(479))}else t=Gu(e,l,r,2),t!==null&&At(t,e,2)}function yr(e){var t=e.alternate;return e===ye||t!==null&&t===ye}function Ah(e,t){ei=cr=!0;var l=e.pending;l===null?t.next=t:(t.next=l.next,l.next=t),e.pending=t}function Nh(e,t,l){if((l&4194048)!==0){var r=t.lanes;r&=e.pendingLanes,l|=r,t.lanes=l,Oc(e,l)}}var $i={readContext:ft,use:dr,useCallback:Ie,useContext:Ie,useEffect:Ie,useImperativeHandle:Ie,useLayoutEffect:Ie,useInsertionEffect:Ie,useMemo:Ie,useReducer:Ie,useRef:Ie,useState:Ie,useDebugValue:Ie,useDeferredValue:Ie,useTransition:Ie,useSyncExternalStore:Ie,useId:Ie,useHostTransitionStatus:Ie,useFormState:Ie,useActionState:Ie,useOptimistic:Ie,useMemoCache:Ie,useCacheRefresh:Ie};$i.useEffectEvent=Ie;var _h={readContext:ft,use:dr,useCallback:function(e,t){return bt().memoizedState=[e,t===void 0?null:t],e},useContext:ft,useEffect:dh,useImperativeHandle:function(e,t,l){l=l!=null?l.concat([e]):null,pr(4194308,4,yh.bind(null,t,e),l)},useLayoutEffect:function(e,t){return pr(4194308,4,e,t)},useInsertionEffect:function(e,t){pr(4,2,e,t)},useMemo:function(e,t){var l=bt();t=t===void 0?null:t;var r=e();if(vl){St(!0);try{e()}finally{St(!1)}}return l.memoizedState=[r,t],r},useReducer:function(e,t,l){var r=bt();if(l!==void 0){var o=l(t);if(vl){St(!0);try{l(t)}finally{St(!1)}}}else o=t;return r.memoizedState=r.baseState=o,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:o},r.queue=e,e=e.dispatch=dy.bind(null,ye,e),[r.memoizedState,e]},useRef:function(e){var t=bt();return e={current:e},t.memoizedState=e},useState:function(e){e=bs(e);var t=e.queue,l=Th.bind(null,ye,t);return t.dispatch=l,[e.memoizedState,l]},useDebugValue:zs,useDeferredValue:function(e,t){var l=bt();return ks(l,e,t)},useTransition:function(){var e=bs(!1);return e=zh.bind(null,ye,e.queue,!0,!1),bt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,l){var r=ye,o=bt();if(Ne){if(l===void 0)throw Error(u(407));l=l()}else{if(l=t(),Ge===null)throw Error(u(349));(Te&127)!==0||$f(r,t,l)}o.memoizedState=l;var h={value:l,getSnapshot:t};return o.queue=h,dh(Pf.bind(null,r,h,e),[e]),r.flags|=2048,ni(9,{destroy:void 0},Wf.bind(null,r,h,l,t),null),l},useId:function(){var e=bt(),t=Ge.identifierPrefix;if(Ne){var l=rn,r=an;l=(r&~(1<<32-Ve(r)-1)).toString(32)+l,t="_"+t+"R_"+l,l=fr++,0<l&&(t+="H"+l.toString(32)),t+="_"}else l=ry++,t="_"+t+"r_"+l.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:ws,useFormState:sh,useActionState:sh,useOptimistic:function(e){var t=bt();t.memoizedState=t.baseState=e;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=l,t=Cs.bind(null,ye,!0,l),l.dispatch=t,[e,t]},useMemoCache:gs,useCacheRefresh:function(){return bt().memoizedState=hy.bind(null,ye)},useEffectEvent:function(e){var t=bt(),l={impl:e};return t.memoizedState=l,function(){if((De&2)!==0)throw Error(u(440));return l.impl.apply(void 0,arguments)}}},Ts={readContext:ft,use:dr,useCallback:bh,useContext:ft,useEffect:Ss,useImperativeHandle:xh,useInsertionEffect:ph,useLayoutEffect:gh,useMemo:vh,useReducer:mr,useRef:hh,useState:function(){return mr(zn)},useDebugValue:zs,useDeferredValue:function(e,t){var l=Pe();return Sh(l,He.memoizedState,e,t)},useTransition:function(){var e=mr(zn)[0],t=Pe().memoizedState;return[typeof e=="boolean"?e:Ji(e),t]},useSyncExternalStore:If,useId:wh,useHostTransitionStatus:ws,useFormState:oh,useActionState:oh,useOptimistic:function(e,t){var l=Pe();return nh(l,He,e,t)},useMemoCache:gs,useCacheRefresh:Ch};Ts.useEffectEvent=mh;var Mh={readContext:ft,use:dr,useCallback:bh,useContext:ft,useEffect:Ss,useImperativeHandle:xh,useInsertionEffect:ph,useLayoutEffect:gh,useMemo:vh,useReducer:xs,useRef:hh,useState:function(){return xs(zn)},useDebugValue:zs,useDeferredValue:function(e,t){var l=Pe();return He===null?ks(l,e,t):Sh(l,He.memoizedState,e,t)},useTransition:function(){var e=xs(zn)[0],t=Pe().memoizedState;return[typeof e=="boolean"?e:Ji(e),t]},useSyncExternalStore:If,useId:wh,useHostTransitionStatus:ws,useFormState:fh,useActionState:fh,useOptimistic:function(e,t){var l=Pe();return He!==null?nh(l,He,e,t):(l.baseState=e,[e,l.queue.dispatch])},useMemoCache:gs,useCacheRefresh:Ch};Mh.useEffectEvent=mh;function As(e,t,l,r){t=e.memoizedState,l=l(r,t),l=l==null?t:g({},t,l),e.memoizedState=l,e.lanes===0&&(e.updateQueue.baseState=l)}var Ns={enqueueSetState:function(e,t,l){e=e._reactInternals;var r=Ut(),o=Yn(r);o.payload=t,l!=null&&(o.callback=l),t=Vn(e,o,r),t!==null&&(At(t,e,r),Xi(t,e,r))},enqueueReplaceState:function(e,t,l){e=e._reactInternals;var r=Ut(),o=Yn(r);o.tag=1,o.payload=t,l!=null&&(o.callback=l),t=Vn(e,o,r),t!==null&&(At(t,e,r),Xi(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var l=Ut(),r=Yn(l);r.tag=2,t!=null&&(r.callback=t),t=Vn(e,r,l),t!==null&&(At(t,e,l),Xi(t,e,l))}};function jh(e,t,l,r,o,h,y){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,h,y):t.prototype&&t.prototype.isPureReactComponent?!Bi(l,r)||!Bi(o,h):!0}function Oh(e,t,l,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(l,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(l,r),t.state!==e&&Ns.enqueueReplaceState(t,t.state,null)}function Sl(e,t){var l=t;if("ref"in t){l={};for(var r in t)r!=="ref"&&(l[r]=t[r])}if(e=e.defaultProps){l===t&&(l=g({},l));for(var o in e)l[o]===void 0&&(l[o]=e[o])}return l}function Dh(e){Ja(e)}function Rh(e){console.error(e)}function Lh(e){Ja(e)}function xr(e,t){try{var l=e.onUncaughtError;l(t.value,{componentStack:t.stack})}catch(r){setTimeout(function(){throw r})}}function Bh(e,t,l){try{var r=e.onCaughtError;r(l.value,{componentStack:l.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(o){setTimeout(function(){throw o})}}function _s(e,t,l){return l=Yn(l),l.tag=3,l.payload={element:null},l.callback=function(){xr(e,t)},l}function Uh(e){return e=Yn(e),e.tag=3,e}function Hh(e,t,l,r){var o=l.type.getDerivedStateFromError;if(typeof o=="function"){var h=r.value;e.payload=function(){return o(h)},e.callback=function(){Bh(t,l,r)}}var y=l.stateNode;y!==null&&typeof y.componentDidCatch=="function"&&(e.callback=function(){Bh(t,l,r),typeof o!="function"&&(Kn===null?Kn=new Set([this]):Kn.add(this));var S=r.stack;this.componentDidCatch(r.value,{componentStack:S!==null?S:""})})}function my(e,t,l,r,o){if(l.flags|=32768,r!==null&&typeof r=="object"&&typeof r.then=="function"){if(t=l.alternate,t!==null&&Kl(t,l,o,!0),l=Dt.current,l!==null){switch(l.tag){case 31:case 13:return Jt===null?_r():l.alternate===null&&$e===0&&($e=3),l.flags&=-257,l.flags|=65536,l.lanes=o,r===ar?l.flags|=16384:(t=l.updateQueue,t===null?l.updateQueue=new Set([r]):t.add(r),to(e,r,o)),!1;case 22:return l.flags|=65536,r===ar?l.flags|=16384:(t=l.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},l.updateQueue=t):(l=t.retryQueue,l===null?t.retryQueue=new Set([r]):l.add(r)),to(e,r,o)),!1}throw Error(u(435,l.tag))}return to(e,r,o),_r(),!1}if(Ne)return t=Dt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=o,r!==Ju&&(e=Error(u(422),{cause:r}),qi(Xt(e,l)))):(r!==Ju&&(t=Error(u(423),{cause:r}),qi(Xt(t,l))),e=e.current.alternate,e.flags|=65536,o&=-o,e.lanes|=o,r=Xt(r,l),o=_s(e.stateNode,r,o),rs(e,o),$e!==4&&($e=2)),!1;var h=Error(u(520),{cause:r});if(h=Xt(h,l),aa===null?aa=[h]:aa.push(h),$e!==4&&($e=2),t===null)return!0;r=Xt(r,l),l=t;do{switch(l.tag){case 3:return l.flags|=65536,e=o&-o,l.lanes|=e,e=_s(l.stateNode,r,e),rs(l,e),!1;case 1:if(t=l.type,h=l.stateNode,(l.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||h!==null&&typeof h.componentDidCatch=="function"&&(Kn===null||!Kn.has(h))))return l.flags|=65536,o&=-o,l.lanes|=o,o=Uh(o),Hh(o,e,l,r),rs(l,o),!1}l=l.return}while(l!==null);return!1}var Ms=Error(u(461)),nt=!1;function ht(e,t,l,r){t.child=e===null?Gf(t,null,l,r):bl(t,e.child,l,r)}function qh(e,t,l,r,o){l=l.render;var h=t.ref;if("ref"in r){var y={};for(var S in r)S!=="ref"&&(y[S]=r[S])}else y=r;return pl(t),r=hs(e,t,l,y,h,o),S=ds(),e!==null&&!nt?(ms(e,t,o),kn(e,t,o)):(Ne&&S&&Fu(t),t.flags|=1,ht(e,t,r,o),t.child)}function Yh(e,t,l,r,o){if(e===null){var h=l.type;return typeof h=="function"&&!Qu(h)&&h.defaultProps===void 0&&l.compare===null?(t.tag=15,t.type=h,Vh(e,t,h,r,o)):(e=Pa(l.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(h=e.child,!Hs(e,o)){var y=h.memoizedProps;if(l=l.compare,l=l!==null?l:Bi,l(y,r)&&e.ref===t.ref)return kn(e,t,o)}return t.flags|=1,e=yn(h,r),e.ref=t.ref,e.return=t,t.child=e}function Vh(e,t,l,r,o){if(e!==null){var h=e.memoizedProps;if(Bi(h,r)&&e.ref===t.ref)if(nt=!1,t.pendingProps=r=h,Hs(e,o))(e.flags&131072)!==0&&(nt=!0);else return t.lanes=e.lanes,kn(e,t,o)}return js(e,t,l,r,o)}function Gh(e,t,l,r){var o=r.children,h=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode==="hidden"){if((t.flags&128)!==0){if(h=h!==null?h.baseLanes|l:l,e!==null){for(r=t.child=e.child,o=0;r!==null;)o=o|r.lanes|r.childLanes,r=r.sibling;r=o&~h}else r=0,t.child=null;return Qh(e,t,h,l,r)}if((l&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&lr(t,h!==null?h.cachePool:null),h!==null?Zf(t,h):ss(),Ff(t);else return r=t.lanes=536870912,Qh(e,t,h!==null?h.baseLanes|l:l,l,r)}else h!==null?(lr(t,h.cachePool),Zf(t,h),Qn(),t.memoizedState=null):(e!==null&&lr(t,null),ss(),Qn());return ht(e,t,o,l),t.child}function Wi(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Qh(e,t,l,r,o){var h=ns();return h=h===null?null:{parent:et._currentValue,pool:h},t.memoizedState={baseLanes:l,cachePool:h},e!==null&&lr(t,null),ss(),Ff(t),e!==null&&Kl(e,t,r,!0),t.childLanes=o,null}function br(e,t){return t=Sr({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function Xh(e,t,l){return bl(t,e.child,null,l),e=br(t,t.pendingProps),e.flags|=2,Rt(t),t.memoizedState=null,e}function py(e,t,l){var r=t.pendingProps,o=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(Ne){if(r.mode==="hidden")return e=br(t,r),t.lanes=536870912,Wi(null,e);if(cs(t),(e=Ze)?(e=lm(e,Kt),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Ln!==null?{id:an,overflow:rn}:null,retryLane:536870912,hydrationErrors:null},l=Af(e),l.return=t,t.child=l,ct=t,Ze=null)):e=null,e===null)throw Un(t);return t.lanes=536870912,null}return br(t,r)}var h=e.memoizedState;if(h!==null){var y=h.dehydrated;if(cs(t),o)if(t.flags&256)t.flags&=-257,t=Xh(e,t,l);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(u(558));else if(nt||Kl(e,t,l,!1),o=(l&e.childLanes)!==0,nt||o){if(r=Ge,r!==null&&(y=Dc(r,l),y!==0&&y!==h.retryLane))throw h.retryLane=y,fl(e,y),At(r,e,y),Ms;_r(),t=Xh(e,t,l)}else e=h.treeContext,Ze=It(y.nextSibling),ct=t,Ne=!0,Bn=null,Kt=!1,e!==null&&Mf(t,e),t=br(t,r),t.flags|=4096;return t}return e=yn(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}function vr(e,t){var l=t.ref;if(l===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(u(284));(e===null||e.ref!==l)&&(t.flags|=4194816)}}function js(e,t,l,r,o){return pl(t),l=hs(e,t,l,r,void 0,o),r=ds(),e!==null&&!nt?(ms(e,t,o),kn(e,t,o)):(Ne&&r&&Fu(t),t.flags|=1,ht(e,t,l,o),t.child)}function Zh(e,t,l,r,o,h){return pl(t),t.updateQueue=null,l=Jf(t,r,l,o),Kf(e),r=ds(),e!==null&&!nt?(ms(e,t,h),kn(e,t,h)):(Ne&&r&&Fu(t),t.flags|=1,ht(e,t,l,h),t.child)}function Fh(e,t,l,r,o){if(pl(t),t.stateNode===null){var h=Ql,y=l.contextType;typeof y=="object"&&y!==null&&(h=ft(y)),h=new l(r,h),t.memoizedState=h.state!==null&&h.state!==void 0?h.state:null,h.updater=Ns,t.stateNode=h,h._reactInternals=t,h=t.stateNode,h.props=r,h.state=t.memoizedState,h.refs={},is(t),y=l.contextType,h.context=typeof y=="object"&&y!==null?ft(y):Ql,h.state=t.memoizedState,y=l.getDerivedStateFromProps,typeof y=="function"&&(As(t,l,y,r),h.state=t.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof h.getSnapshotBeforeUpdate=="function"||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(y=h.state,typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount(),y!==h.state&&Ns.enqueueReplaceState(h,h.state,null),Fi(t,r,h,o),Zi(),h.state=t.memoizedState),typeof h.componentDidMount=="function"&&(t.flags|=4194308),r=!0}else if(e===null){h=t.stateNode;var S=t.memoizedProps,w=Sl(l,S);h.props=w;var O=h.context,V=l.contextType;y=Ql,typeof V=="object"&&V!==null&&(y=ft(V));var Z=l.getDerivedStateFromProps;V=typeof Z=="function"||typeof h.getSnapshotBeforeUpdate=="function",S=t.pendingProps!==S,V||typeof h.UNSAFE_componentWillReceiveProps!="function"&&typeof h.componentWillReceiveProps!="function"||(S||O!==y)&&Oh(t,h,r,y),qn=!1;var D=t.memoizedState;h.state=D,Fi(t,r,h,o),Zi(),O=t.memoizedState,S||D!==O||qn?(typeof Z=="function"&&(As(t,l,Z,r),O=t.memoizedState),(w=qn||jh(t,l,w,r,D,O,y))?(V||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount()),typeof h.componentDidMount=="function"&&(t.flags|=4194308)):(typeof h.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=O),h.props=r,h.state=O,h.context=y,r=w):(typeof h.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{h=t.stateNode,as(e,t),y=t.memoizedProps,V=Sl(l,y),h.props=V,Z=t.pendingProps,D=h.context,O=l.contextType,w=Ql,typeof O=="object"&&O!==null&&(w=ft(O)),S=l.getDerivedStateFromProps,(O=typeof S=="function"||typeof h.getSnapshotBeforeUpdate=="function")||typeof h.UNSAFE_componentWillReceiveProps!="function"&&typeof h.componentWillReceiveProps!="function"||(y!==Z||D!==w)&&Oh(t,h,r,w),qn=!1,D=t.memoizedState,h.state=D,Fi(t,r,h,o),Zi();var q=t.memoizedState;y!==Z||D!==q||qn||e!==null&&e.dependencies!==null&&tr(e.dependencies)?(typeof S=="function"&&(As(t,l,S,r),q=t.memoizedState),(V=qn||jh(t,l,V,r,D,q,w)||e!==null&&e.dependencies!==null&&tr(e.dependencies))?(O||typeof h.UNSAFE_componentWillUpdate!="function"&&typeof h.componentWillUpdate!="function"||(typeof h.componentWillUpdate=="function"&&h.componentWillUpdate(r,q,w),typeof h.UNSAFE_componentWillUpdate=="function"&&h.UNSAFE_componentWillUpdate(r,q,w)),typeof h.componentDidUpdate=="function"&&(t.flags|=4),typeof h.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof h.componentDidUpdate!="function"||y===e.memoizedProps&&D===e.memoizedState||(t.flags|=4),typeof h.getSnapshotBeforeUpdate!="function"||y===e.memoizedProps&&D===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=q),h.props=r,h.state=q,h.context=w,r=V):(typeof h.componentDidUpdate!="function"||y===e.memoizedProps&&D===e.memoizedState||(t.flags|=4),typeof h.getSnapshotBeforeUpdate!="function"||y===e.memoizedProps&&D===e.memoizedState||(t.flags|=1024),r=!1)}return h=r,vr(e,t),r=(t.flags&128)!==0,h||r?(h=t.stateNode,l=r&&typeof l.getDerivedStateFromError!="function"?null:h.render(),t.flags|=1,e!==null&&r?(t.child=bl(t,e.child,null,o),t.child=bl(t,null,l,o)):ht(e,t,l,o),t.memoizedState=h.state,e=t.child):e=kn(e,t,o),e}function Kh(e,t,l,r){return dl(),t.flags|=256,ht(e,t,l,r),t.child}var Os={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Ds(e){return{baseLanes:e,cachePool:Bf()}}function Rs(e,t,l){return e=e!==null?e.childLanes&~l:0,t&&(e|=Bt),e}function Jh(e,t,l){var r=t.pendingProps,o=!1,h=(t.flags&128)!==0,y;if((y=h)||(y=e!==null&&e.memoizedState===null?!1:(We.current&2)!==0),y&&(o=!0,t.flags&=-129),y=(t.flags&32)!==0,t.flags&=-33,e===null){if(Ne){if(o?Gn(t):Qn(),(e=Ze)?(e=lm(e,Kt),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Ln!==null?{id:an,overflow:rn}:null,retryLane:536870912,hydrationErrors:null},l=Af(e),l.return=t,t.child=l,ct=t,Ze=null)):e=null,e===null)throw Un(t);return xo(e)?t.lanes=32:t.lanes=536870912,null}var S=r.children;return r=r.fallback,o?(Qn(),o=t.mode,S=Sr({mode:"hidden",children:S},o),r=hl(r,o,l,null),S.return=t,r.return=t,S.sibling=r,t.child=S,r=t.child,r.memoizedState=Ds(l),r.childLanes=Rs(e,y,l),t.memoizedState=Os,Wi(null,r)):(Gn(t),Ls(t,S))}var w=e.memoizedState;if(w!==null&&(S=w.dehydrated,S!==null)){if(h)t.flags&256?(Gn(t),t.flags&=-257,t=Bs(e,t,l)):t.memoizedState!==null?(Qn(),t.child=e.child,t.flags|=128,t=null):(Qn(),S=r.fallback,o=t.mode,r=Sr({mode:"visible",children:r.children},o),S=hl(S,o,l,null),S.flags|=2,r.return=t,S.return=t,r.sibling=S,t.child=r,bl(t,e.child,null,l),r=t.child,r.memoizedState=Ds(l),r.childLanes=Rs(e,y,l),t.memoizedState=Os,t=Wi(null,r));else if(Gn(t),xo(S)){if(y=S.nextSibling&&S.nextSibling.dataset,y)var O=y.dgst;y=O,r=Error(u(419)),r.stack="",r.digest=y,qi({value:r,source:null,stack:null}),t=Bs(e,t,l)}else if(nt||Kl(e,t,l,!1),y=(l&e.childLanes)!==0,nt||y){if(y=Ge,y!==null&&(r=Dc(y,l),r!==0&&r!==w.retryLane))throw w.retryLane=r,fl(e,r),At(y,e,r),Ms;yo(S)||_r(),t=Bs(e,t,l)}else yo(S)?(t.flags|=192,t.child=e.child,t=null):(e=w.treeContext,Ze=It(S.nextSibling),ct=t,Ne=!0,Bn=null,Kt=!1,e!==null&&Mf(t,e),t=Ls(t,r.children),t.flags|=4096);return t}return o?(Qn(),S=r.fallback,o=t.mode,w=e.child,O=w.sibling,r=yn(w,{mode:"hidden",children:r.children}),r.subtreeFlags=w.subtreeFlags&65011712,O!==null?S=yn(O,S):(S=hl(S,o,l,null),S.flags|=2),S.return=t,r.return=t,r.sibling=S,t.child=r,Wi(null,r),r=t.child,S=e.child.memoizedState,S===null?S=Ds(l):(o=S.cachePool,o!==null?(w=et._currentValue,o=o.parent!==w?{parent:w,pool:w}:o):o=Bf(),S={baseLanes:S.baseLanes|l,cachePool:o}),r.memoizedState=S,r.childLanes=Rs(e,y,l),t.memoizedState=Os,Wi(e.child,r)):(Gn(t),l=e.child,e=l.sibling,l=yn(l,{mode:"visible",children:r.children}),l.return=t,l.sibling=null,e!==null&&(y=t.deletions,y===null?(t.deletions=[e],t.flags|=16):y.push(e)),t.child=l,t.memoizedState=null,l)}function Ls(e,t){return t=Sr({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Sr(e,t){return e=Ot(22,e,null,t),e.lanes=0,e}function Bs(e,t,l){return bl(t,e.child,null,l),e=Ls(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Ih(e,t,l){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Wu(e.return,t,l)}function Us(e,t,l,r,o,h){var y=e.memoizedState;y===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:l,tailMode:o,treeForkCount:h}:(y.isBackwards=t,y.rendering=null,y.renderingStartTime=0,y.last=r,y.tail=l,y.tailMode=o,y.treeForkCount=h)}function $h(e,t,l){var r=t.pendingProps,o=r.revealOrder,h=r.tail;r=r.children;var y=We.current,S=(y&2)!==0;if(S?(y=y&1|2,t.flags|=128):y&=1,k(We,y),ht(e,t,r,l),r=Ne?Hi:0,!S&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Ih(e,l,t);else if(e.tag===19)Ih(e,l,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(o){case"forwards":for(l=t.child,o=null;l!==null;)e=l.alternate,e!==null&&or(e)===null&&(o=l),l=l.sibling;l=o,l===null?(o=t.child,t.child=null):(o=l.sibling,l.sibling=null),Us(t,!1,o,l,h,r);break;case"backwards":case"unstable_legacy-backwards":for(l=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&or(e)===null){t.child=o;break}e=o.sibling,o.sibling=l,l=o,o=e}Us(t,!0,l,null,h,r);break;case"together":Us(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function kn(e,t,l){if(e!==null&&(t.dependencies=e.dependencies),Fn|=t.lanes,(l&t.childLanes)===0)if(e!==null){if(Kl(e,t,l,!1),(l&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(u(153));if(t.child!==null){for(e=t.child,l=yn(e,e.pendingProps),t.child=l,l.return=t;e.sibling!==null;)e=e.sibling,l=l.sibling=yn(e,e.pendingProps),l.return=t;l.sibling=null}return t.child}function Hs(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&tr(e)))}function gy(e,t,l){switch(t.tag){case 3:Ke(t,t.stateNode.containerInfo),Hn(t,et,e.memoizedState.cache),dl();break;case 27:case 5:Yt(t);break;case 4:Ke(t,t.stateNode.containerInfo);break;case 10:Hn(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,cs(t),null;break;case 13:var r=t.memoizedState;if(r!==null)return r.dehydrated!==null?(Gn(t),t.flags|=128,null):(l&t.child.childLanes)!==0?Jh(e,t,l):(Gn(t),e=kn(e,t,l),e!==null?e.sibling:null);Gn(t);break;case 19:var o=(e.flags&128)!==0;if(r=(l&t.childLanes)!==0,r||(Kl(e,t,l,!1),r=(l&t.childLanes)!==0),o){if(r)return $h(e,t,l);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),k(We,We.current),r)break;return null;case 22:return t.lanes=0,Gh(e,t,l,t.pendingProps);case 24:Hn(t,et,e.memoizedState.cache)}return kn(e,t,l)}function Wh(e,t,l){if(e!==null)if(e.memoizedProps!==t.pendingProps)nt=!0;else{if(!Hs(e,l)&&(t.flags&128)===0)return nt=!1,gy(e,t,l);nt=(e.flags&131072)!==0}else nt=!1,Ne&&(t.flags&1048576)!==0&&_f(t,Hi,t.index);switch(t.lanes=0,t.tag){case 16:e:{var r=t.pendingProps;if(e=yl(t.elementType),t.type=e,typeof e=="function")Qu(e)?(r=Sl(e,r),t.tag=1,t=Fh(null,t,e,r,l)):(t.tag=0,t=js(null,t,e,r,l));else{if(e!=null){var o=e.$$typeof;if(o===I){t.tag=11,t=qh(null,t,e,r,l);break e}else if(o===P){t.tag=14,t=Yh(null,t,e,r,l);break e}}throw t=ie(e)||e,Error(u(306,t,""))}}return t;case 0:return js(e,t,t.type,t.pendingProps,l);case 1:return r=t.type,o=Sl(r,t.pendingProps),Fh(e,t,r,o,l);case 3:e:{if(Ke(t,t.stateNode.containerInfo),e===null)throw Error(u(387));r=t.pendingProps;var h=t.memoizedState;o=h.element,as(e,t),Fi(t,r,null,l);var y=t.memoizedState;if(r=y.cache,Hn(t,et,r),r!==h.cache&&Pu(t,[et],l,!0),Zi(),r=y.element,h.isDehydrated)if(h={element:r,isDehydrated:!1,cache:y.cache},t.updateQueue.baseState=h,t.memoizedState=h,t.flags&256){t=Kh(e,t,r,l);break e}else if(r!==o){o=Xt(Error(u(424)),t),qi(o),t=Kh(e,t,r,l);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Ze=It(e.firstChild),ct=t,Ne=!0,Bn=null,Kt=!0,l=Gf(t,null,r,l),t.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling}else{if(dl(),r===o){t=kn(e,t,l);break e}ht(e,t,r,l)}t=t.child}return t;case 26:return vr(e,t),e===null?(l=om(t.type,null,t.pendingProps,null))?t.memoizedState=l:Ne||(l=t.type,e=t.pendingProps,r=Br(se.current).createElement(l),r[ot]=t,r[zt]=e,dt(r,l,e),ut(r),t.stateNode=r):t.memoizedState=om(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Yt(t),e===null&&Ne&&(r=t.stateNode=rm(t.type,t.pendingProps,se.current),ct=t,Kt=!0,o=Ze,Wn(t.type)?(bo=o,Ze=It(r.firstChild)):Ze=o),ht(e,t,t.pendingProps.children,l),vr(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Ne&&((o=r=Ze)&&(r=Zy(r,t.type,t.pendingProps,Kt),r!==null?(t.stateNode=r,ct=t,Ze=It(r.firstChild),Kt=!1,o=!0):o=!1),o||Un(t)),Yt(t),o=t.type,h=t.pendingProps,y=e!==null?e.memoizedProps:null,r=h.children,mo(o,h)?r=null:y!==null&&mo(o,y)&&(t.flags|=32),t.memoizedState!==null&&(o=hs(e,t,uy,null,null,l),da._currentValue=o),vr(e,t),ht(e,t,r,l),t.child;case 6:return e===null&&Ne&&((e=l=Ze)&&(l=Fy(l,t.pendingProps,Kt),l!==null?(t.stateNode=l,ct=t,Ze=null,e=!0):e=!1),e||Un(t)),null;case 13:return Jh(e,t,l);case 4:return Ke(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=bl(t,null,r,l):ht(e,t,r,l),t.child;case 11:return qh(e,t,t.type,t.pendingProps,l);case 7:return ht(e,t,t.pendingProps,l),t.child;case 8:return ht(e,t,t.pendingProps.children,l),t.child;case 12:return ht(e,t,t.pendingProps.children,l),t.child;case 10:return r=t.pendingProps,Hn(t,t.type,r.value),ht(e,t,r.children,l),t.child;case 9:return o=t.type._context,r=t.pendingProps.children,pl(t),o=ft(o),r=r(o),t.flags|=1,ht(e,t,r,l),t.child;case 14:return Yh(e,t,t.type,t.pendingProps,l);case 15:return Vh(e,t,t.type,t.pendingProps,l);case 19:return $h(e,t,l);case 31:return py(e,t,l);case 22:return Gh(e,t,l,t.pendingProps);case 24:return pl(t),r=ft(et),e===null?(o=ns(),o===null&&(o=Ge,h=es(),o.pooledCache=h,h.refCount++,h!==null&&(o.pooledCacheLanes|=l),o=h),t.memoizedState={parent:r,cache:o},is(t),Hn(t,et,o)):((e.lanes&l)!==0&&(as(e,t),Fi(t,null,null,l),Zi()),o=e.memoizedState,h=t.memoizedState,o.parent!==r?(o={parent:r,cache:r},t.memoizedState=o,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=o),Hn(t,et,r)):(r=h.cache,Hn(t,et,r),r!==o.cache&&Pu(t,[et],l,!0))),ht(e,t,t.pendingProps.children,l),t.child;case 29:throw t.pendingProps}throw Error(u(156,t.tag))}function En(e){e.flags|=4}function qs(e,t,l,r,o){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(o&335544128)===o)if(e.stateNode.complete)e.flags|=8192;else if(wd())e.flags|=8192;else throw xl=ar,ls}else e.flags&=-16777217}function Ph(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!mm(t))if(wd())e.flags|=8192;else throw xl=ar,ls}function zr(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Mc():536870912,e.lanes|=t,ri|=t)}function Pi(e,t){if(!Ne)switch(e.tailMode){case"hidden":t=e.tail;for(var l=null;t!==null;)t.alternate!==null&&(l=t),t=t.sibling;l===null?e.tail=null:l.sibling=null;break;case"collapsed":l=e.tail;for(var r=null;l!==null;)l.alternate!==null&&(r=l),l=l.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Fe(e){var t=e.alternate!==null&&e.alternate.child===e.child,l=0,r=0;if(t)for(var o=e.child;o!==null;)l|=o.lanes|o.childLanes,r|=o.subtreeFlags&65011712,r|=o.flags&65011712,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)l|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=l,t}function yy(e,t,l){var r=t.pendingProps;switch(Ku(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Fe(t),null;case 1:return Fe(t),null;case 3:return l=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),vn(et),Ue(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(e===null||e.child===null)&&(Fl(t)?En(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Iu())),Fe(t),null;case 26:var o=t.type,h=t.memoizedState;return e===null?(En(t),h!==null?(Fe(t),Ph(t,h)):(Fe(t),qs(t,o,null,r,l))):h?h!==e.memoizedState?(En(t),Fe(t),Ph(t,h)):(Fe(t),t.flags&=-16777217):(e=e.memoizedProps,e!==r&&En(t),Fe(t),qs(t,o,e,r,l)),null;case 27:if(fn(t),l=se.current,o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&En(t);else{if(!r){if(t.stateNode===null)throw Error(u(166));return Fe(t),null}e=ee.current,Fl(t)?jf(t):(e=rm(o,r,l),t.stateNode=e,En(t))}return Fe(t),null;case 5:if(fn(t),o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&En(t);else{if(!r){if(t.stateNode===null)throw Error(u(166));return Fe(t),null}if(h=ee.current,Fl(t))jf(t);else{var y=Br(se.current);switch(h){case 1:h=y.createElementNS("http://www.w3.org/2000/svg",o);break;case 2:h=y.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;default:switch(o){case"svg":h=y.createElementNS("http://www.w3.org/2000/svg",o);break;case"math":h=y.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;case"script":h=y.createElement("div"),h.innerHTML="<script><\/script>",h=h.removeChild(h.firstChild);break;case"select":h=typeof r.is=="string"?y.createElement("select",{is:r.is}):y.createElement("select"),r.multiple?h.multiple=!0:r.size&&(h.size=r.size);break;default:h=typeof r.is=="string"?y.createElement(o,{is:r.is}):y.createElement(o)}}h[ot]=t,h[zt]=r;e:for(y=t.child;y!==null;){if(y.tag===5||y.tag===6)h.appendChild(y.stateNode);else if(y.tag!==4&&y.tag!==27&&y.child!==null){y.child.return=y,y=y.child;continue}if(y===t)break e;for(;y.sibling===null;){if(y.return===null||y.return===t)break e;y=y.return}y.sibling.return=y.return,y=y.sibling}t.stateNode=h;e:switch(dt(h,o,r),o){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}r&&En(t)}}return Fe(t),qs(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,l),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&En(t);else{if(typeof r!="string"&&t.stateNode===null)throw Error(u(166));if(e=se.current,Fl(t)){if(e=t.stateNode,l=t.memoizedProps,r=null,o=ct,o!==null)switch(o.tag){case 27:case 5:r=o.memoizedProps}e[ot]=t,e=!!(e.nodeValue===l||r!==null&&r.suppressHydrationWarning===!0||Jd(e.nodeValue,l)),e||Un(t,!0)}else e=Br(e).createTextNode(r),e[ot]=t,t.stateNode=e}return Fe(t),null;case 31:if(l=t.memoizedState,e===null||e.memoizedState!==null){if(r=Fl(t),l!==null){if(e===null){if(!r)throw Error(u(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(u(557));e[ot]=t}else dl(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Fe(t),e=!1}else l=Iu(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),e=!0;if(!e)return t.flags&256?(Rt(t),t):(Rt(t),null);if((t.flags&128)!==0)throw Error(u(558))}return Fe(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(o=Fl(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(u(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(u(317));o[ot]=t}else dl(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Fe(t),o=!1}else o=Iu(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=o),o=!0;if(!o)return t.flags&256?(Rt(t),t):(Rt(t),null)}return Rt(t),(t.flags&128)!==0?(t.lanes=l,t):(l=r!==null,e=e!==null&&e.memoizedState!==null,l&&(r=t.child,o=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(o=r.alternate.memoizedState.cachePool.pool),h=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(h=r.memoizedState.cachePool.pool),h!==o&&(r.flags|=2048)),l!==e&&l&&(t.child.flags|=8192),zr(t,t.updateQueue),Fe(t),null);case 4:return Ue(),e===null&&so(t.stateNode.containerInfo),Fe(t),null;case 10:return vn(t.type),Fe(t),null;case 19:if(G(We),r=t.memoizedState,r===null)return Fe(t),null;if(o=(t.flags&128)!==0,h=r.rendering,h===null)if(o)Pi(r,!1);else{if($e!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(h=or(e),h!==null){for(t.flags|=128,Pi(r,!1),e=h.updateQueue,t.updateQueue=e,zr(t,e),t.subtreeFlags=0,e=l,l=t.child;l!==null;)Tf(l,e),l=l.sibling;return k(We,We.current&1|2),Ne&&xn(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&yt()>Tr&&(t.flags|=128,o=!0,Pi(r,!1),t.lanes=4194304)}else{if(!o)if(e=or(h),e!==null){if(t.flags|=128,o=!0,e=e.updateQueue,t.updateQueue=e,zr(t,e),Pi(r,!0),r.tail===null&&r.tailMode==="hidden"&&!h.alternate&&!Ne)return Fe(t),null}else 2*yt()-r.renderingStartTime>Tr&&l!==536870912&&(t.flags|=128,o=!0,Pi(r,!1),t.lanes=4194304);r.isBackwards?(h.sibling=t.child,t.child=h):(e=r.last,e!==null?e.sibling=h:t.child=h,r.last=h)}return r.tail!==null?(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=yt(),e.sibling=null,l=We.current,k(We,o?l&1|2:l&1),Ne&&xn(t,r.treeForkCount),e):(Fe(t),null);case 22:case 23:return Rt(t),os(),r=t.memoizedState!==null,e!==null?e.memoizedState!==null!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?(l&536870912)!==0&&(t.flags&128)===0&&(Fe(t),t.subtreeFlags&6&&(t.flags|=8192)):Fe(t),l=t.updateQueue,l!==null&&zr(t,l.retryQueue),l=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==l&&(t.flags|=2048),e!==null&&G(gl),null;case 24:return l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),vn(et),Fe(t),null;case 25:return null;case 30:return null}throw Error(u(156,t.tag))}function xy(e,t){switch(Ku(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return vn(et),Ue(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return fn(t),null;case 31:if(t.memoizedState!==null){if(Rt(t),t.alternate===null)throw Error(u(340));dl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Rt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(u(340));dl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return G(We),null;case 4:return Ue(),null;case 10:return vn(t.type),null;case 22:case 23:return Rt(t),os(),e!==null&&G(gl),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return vn(et),null;case 25:return null;default:return null}}function ed(e,t){switch(Ku(t),t.tag){case 3:vn(et),Ue();break;case 26:case 27:case 5:fn(t);break;case 4:Ue();break;case 31:t.memoizedState!==null&&Rt(t);break;case 13:Rt(t);break;case 19:G(We);break;case 10:vn(t.type);break;case 22:case 23:Rt(t),os(),e!==null&&G(gl);break;case 24:vn(et)}}function ea(e,t){try{var l=t.updateQueue,r=l!==null?l.lastEffect:null;if(r!==null){var o=r.next;l=o;do{if((l.tag&e)===e){r=void 0;var h=l.create,y=l.inst;r=h(),y.destroy=r}l=l.next}while(l!==o)}}catch(S){Be(t,t.return,S)}}function Xn(e,t,l){try{var r=t.updateQueue,o=r!==null?r.lastEffect:null;if(o!==null){var h=o.next;r=h;do{if((r.tag&e)===e){var y=r.inst,S=y.destroy;if(S!==void 0){y.destroy=void 0,o=t;var w=l,O=S;try{O()}catch(V){Be(o,w,V)}}}r=r.next}while(r!==h)}}catch(V){Be(t,t.return,V)}}function td(e){var t=e.updateQueue;if(t!==null){var l=e.stateNode;try{Xf(t,l)}catch(r){Be(e,e.return,r)}}}function nd(e,t,l){l.props=Sl(e.type,e.memoizedProps),l.state=e.memoizedState;try{l.componentWillUnmount()}catch(r){Be(e,t,r)}}function ta(e,t){try{var l=e.ref;if(l!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:r=e.stateNode;break;default:r=e.stateNode}typeof l=="function"?e.refCleanup=l(r):l.current=r}}catch(o){Be(e,t,o)}}function un(e,t){var l=e.ref,r=e.refCleanup;if(l!==null)if(typeof r=="function")try{r()}catch(o){Be(e,t,o)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(o){Be(e,t,o)}else l.current=null}function ld(e){var t=e.type,l=e.memoizedProps,r=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":l.autoFocus&&r.focus();break e;case"img":l.src?r.src=l.src:l.srcSet&&(r.srcset=l.srcSet)}}catch(o){Be(e,e.return,o)}}function Ys(e,t,l){try{var r=e.stateNode;qy(r,e.type,l,t),r[zt]=t}catch(o){Be(e,e.return,o)}}function id(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Wn(e.type)||e.tag===4}function Vs(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||id(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Wn(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Gs(e,t,l){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(e,t):(t=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,t.appendChild(e),l=l._reactRootContainer,l!=null||t.onclick!==null||(t.onclick=pn));else if(r!==4&&(r===27&&Wn(e.type)&&(l=e.stateNode,t=null),e=e.child,e!==null))for(Gs(e,t,l),e=e.sibling;e!==null;)Gs(e,t,l),e=e.sibling}function kr(e,t,l){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?l.insertBefore(e,t):l.appendChild(e);else if(r!==4&&(r===27&&Wn(e.type)&&(l=e.stateNode),e=e.child,e!==null))for(kr(e,t,l),e=e.sibling;e!==null;)kr(e,t,l),e=e.sibling}function ad(e){var t=e.stateNode,l=e.memoizedProps;try{for(var r=e.type,o=t.attributes;o.length;)t.removeAttributeNode(o[0]);dt(t,r,l),t[ot]=e,t[zt]=l}catch(h){Be(e,e.return,h)}}var wn=!1,lt=!1,Qs=!1,rd=typeof WeakSet=="function"?WeakSet:Set,st=null;function by(e,t){if(e=e.containerInfo,fo=Qr,e=xf(e),Bu(e)){if("selectionStart"in e)var l={start:e.selectionStart,end:e.selectionEnd};else e:{l=(l=e.ownerDocument)&&l.defaultView||window;var r=l.getSelection&&l.getSelection();if(r&&r.rangeCount!==0){l=r.anchorNode;var o=r.anchorOffset,h=r.focusNode;r=r.focusOffset;try{l.nodeType,h.nodeType}catch{l=null;break e}var y=0,S=-1,w=-1,O=0,V=0,Z=e,D=null;t:for(;;){for(var q;Z!==l||o!==0&&Z.nodeType!==3||(S=y+o),Z!==h||r!==0&&Z.nodeType!==3||(w=y+r),Z.nodeType===3&&(y+=Z.nodeValue.length),(q=Z.firstChild)!==null;)D=Z,Z=q;for(;;){if(Z===e)break t;if(D===l&&++O===o&&(S=y),D===h&&++V===r&&(w=y),(q=Z.nextSibling)!==null)break;Z=D,D=Z.parentNode}Z=q}l=S===-1||w===-1?null:{start:S,end:w}}else l=null}l=l||{start:0,end:0}}else l=null;for(ho={focusedElem:e,selectionRange:l},Qr=!1,st=t;st!==null;)if(t=st,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,st=e;else for(;st!==null;){switch(t=st,h=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(l=0;l<e.length;l++)o=e[l],o.ref.impl=o.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&h!==null){e=void 0,l=t,o=h.memoizedProps,h=h.memoizedState,r=l.stateNode;try{var le=Sl(l.type,o);e=r.getSnapshotBeforeUpdate(le,h),r.__reactInternalSnapshotBeforeUpdate=e}catch(fe){Be(l,l.return,fe)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,l=e.nodeType,l===9)go(e);else if(l===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":go(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(u(163))}if(e=t.sibling,e!==null){e.return=t.return,st=e;break}st=t.return}}function ud(e,t,l){var r=l.flags;switch(l.tag){case 0:case 11:case 15:Tn(e,l),r&4&&ea(5,l);break;case 1:if(Tn(e,l),r&4)if(e=l.stateNode,t===null)try{e.componentDidMount()}catch(y){Be(l,l.return,y)}else{var o=Sl(l.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(o,t,e.__reactInternalSnapshotBeforeUpdate)}catch(y){Be(l,l.return,y)}}r&64&&td(l),r&512&&ta(l,l.return);break;case 3:if(Tn(e,l),r&64&&(e=l.updateQueue,e!==null)){if(t=null,l.child!==null)switch(l.child.tag){case 27:case 5:t=l.child.stateNode;break;case 1:t=l.child.stateNode}try{Xf(e,t)}catch(y){Be(l,l.return,y)}}break;case 27:t===null&&r&4&&ad(l);case 26:case 5:Tn(e,l),t===null&&r&4&&ld(l),r&512&&ta(l,l.return);break;case 12:Tn(e,l);break;case 31:Tn(e,l),r&4&&cd(e,l);break;case 13:Tn(e,l),r&4&&fd(e,l),r&64&&(e=l.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(l=Ay.bind(null,l),Ky(e,l))));break;case 22:if(r=l.memoizedState!==null||wn,!r){t=t!==null&&t.memoizedState!==null||lt,o=wn;var h=lt;wn=r,(lt=t)&&!h?An(e,l,(l.subtreeFlags&8772)!==0):Tn(e,l),wn=o,lt=h}break;case 30:break;default:Tn(e,l)}}function sd(e){var t=e.alternate;t!==null&&(e.alternate=null,sd(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&vu(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Je=null,Et=!1;function Cn(e,t,l){for(l=l.child;l!==null;)od(e,t,l),l=l.sibling}function od(e,t,l){if(at&&typeof at.onCommitFiberUnmount=="function")try{at.onCommitFiberUnmount(xt,l)}catch{}switch(l.tag){case 26:lt||un(l,t),Cn(e,t,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:lt||un(l,t);var r=Je,o=Et;Wn(l.type)&&(Je=l.stateNode,Et=!1),Cn(e,t,l),ca(l.stateNode),Je=r,Et=o;break;case 5:lt||un(l,t);case 6:if(r=Je,o=Et,Je=null,Cn(e,t,l),Je=r,Et=o,Je!==null)if(Et)try{(Je.nodeType===9?Je.body:Je.nodeName==="HTML"?Je.ownerDocument.body:Je).removeChild(l.stateNode)}catch(h){Be(l,t,h)}else try{Je.removeChild(l.stateNode)}catch(h){Be(l,t,h)}break;case 18:Je!==null&&(Et?(e=Je,tm(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,l.stateNode),mi(e)):tm(Je,l.stateNode));break;case 4:r=Je,o=Et,Je=l.stateNode.containerInfo,Et=!0,Cn(e,t,l),Je=r,Et=o;break;case 0:case 11:case 14:case 15:Xn(2,l,t),lt||Xn(4,l,t),Cn(e,t,l);break;case 1:lt||(un(l,t),r=l.stateNode,typeof r.componentWillUnmount=="function"&&nd(l,t,r)),Cn(e,t,l);break;case 21:Cn(e,t,l);break;case 22:lt=(r=lt)||l.memoizedState!==null,Cn(e,t,l),lt=r;break;default:Cn(e,t,l)}}function cd(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{mi(e)}catch(l){Be(t,t.return,l)}}}function fd(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{mi(e)}catch(l){Be(t,t.return,l)}}function vy(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new rd),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new rd),t;default:throw Error(u(435,e.tag))}}function Er(e,t){var l=vy(e);t.forEach(function(r){if(!l.has(r)){l.add(r);var o=Ny.bind(null,e,r);r.then(o,o)}})}function wt(e,t){var l=t.deletions;if(l!==null)for(var r=0;r<l.length;r++){var o=l[r],h=e,y=t,S=y;e:for(;S!==null;){switch(S.tag){case 27:if(Wn(S.type)){Je=S.stateNode,Et=!1;break e}break;case 5:Je=S.stateNode,Et=!1;break e;case 3:case 4:Je=S.stateNode.containerInfo,Et=!0;break e}S=S.return}if(Je===null)throw Error(u(160));od(h,y,o),Je=null,Et=!1,h=o.alternate,h!==null&&(h.return=null),o.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)hd(t,e),t=t.sibling}var tn=null;function hd(e,t){var l=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:wt(t,e),Ct(e),r&4&&(Xn(3,e,e.return),ea(3,e),Xn(5,e,e.return));break;case 1:wt(t,e),Ct(e),r&512&&(lt||l===null||un(l,l.return)),r&64&&wn&&(e=e.updateQueue,e!==null&&(r=e.callbacks,r!==null&&(l=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=l===null?r:l.concat(r))));break;case 26:var o=tn;if(wt(t,e),Ct(e),r&512&&(lt||l===null||un(l,l.return)),r&4){var h=l!==null?l.memoizedState:null;if(r=e.memoizedState,l===null)if(r===null)if(e.stateNode===null){e:{r=e.type,l=e.memoizedProps,o=o.ownerDocument||o;t:switch(r){case"title":h=o.getElementsByTagName("title")[0],(!h||h[Ai]||h[ot]||h.namespaceURI==="http://www.w3.org/2000/svg"||h.hasAttribute("itemprop"))&&(h=o.createElement(r),o.head.insertBefore(h,o.querySelector("head > title"))),dt(h,r,l),h[ot]=e,ut(h),r=h;break e;case"link":var y=hm("link","href",o).get(r+(l.href||""));if(y){for(var S=0;S<y.length;S++)if(h=y[S],h.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&h.getAttribute("rel")===(l.rel==null?null:l.rel)&&h.getAttribute("title")===(l.title==null?null:l.title)&&h.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){y.splice(S,1);break t}}h=o.createElement(r),dt(h,r,l),o.head.appendChild(h);break;case"meta":if(y=hm("meta","content",o).get(r+(l.content||""))){for(S=0;S<y.length;S++)if(h=y[S],h.getAttribute("content")===(l.content==null?null:""+l.content)&&h.getAttribute("name")===(l.name==null?null:l.name)&&h.getAttribute("property")===(l.property==null?null:l.property)&&h.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&h.getAttribute("charset")===(l.charSet==null?null:l.charSet)){y.splice(S,1);break t}}h=o.createElement(r),dt(h,r,l),o.head.appendChild(h);break;default:throw Error(u(468,r))}h[ot]=e,ut(h),r=h}e.stateNode=r}else dm(o,e.type,e.stateNode);else e.stateNode=fm(o,r,e.memoizedProps);else h!==r?(h===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):h.count--,r===null?dm(o,e.type,e.stateNode):fm(o,r,e.memoizedProps)):r===null&&e.stateNode!==null&&Ys(e,e.memoizedProps,l.memoizedProps)}break;case 27:wt(t,e),Ct(e),r&512&&(lt||l===null||un(l,l.return)),l!==null&&r&4&&Ys(e,e.memoizedProps,l.memoizedProps);break;case 5:if(wt(t,e),Ct(e),r&512&&(lt||l===null||un(l,l.return)),e.flags&32){o=e.stateNode;try{Bl(o,"")}catch(le){Be(e,e.return,le)}}r&4&&e.stateNode!=null&&(o=e.memoizedProps,Ys(e,o,l!==null?l.memoizedProps:o)),r&1024&&(Qs=!0);break;case 6:if(wt(t,e),Ct(e),r&4){if(e.stateNode===null)throw Error(u(162));r=e.memoizedProps,l=e.stateNode;try{l.nodeValue=r}catch(le){Be(e,e.return,le)}}break;case 3:if(qr=null,o=tn,tn=Ur(t.containerInfo),wt(t,e),tn=o,Ct(e),r&4&&l!==null&&l.memoizedState.isDehydrated)try{mi(t.containerInfo)}catch(le){Be(e,e.return,le)}Qs&&(Qs=!1,dd(e));break;case 4:r=tn,tn=Ur(e.stateNode.containerInfo),wt(t,e),Ct(e),tn=r;break;case 12:wt(t,e),Ct(e);break;case 31:wt(t,e),Ct(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,Er(e,r)));break;case 13:wt(t,e),Ct(e),e.child.flags&8192&&e.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(Cr=yt()),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,Er(e,r)));break;case 22:o=e.memoizedState!==null;var w=l!==null&&l.memoizedState!==null,O=wn,V=lt;if(wn=O||o,lt=V||w,wt(t,e),lt=V,wn=O,Ct(e),r&8192)e:for(t=e.stateNode,t._visibility=o?t._visibility&-2:t._visibility|1,o&&(l===null||w||wn||lt||zl(e)),l=null,t=e;;){if(t.tag===5||t.tag===26){if(l===null){w=l=t;try{if(h=w.stateNode,o)y=h.style,typeof y.setProperty=="function"?y.setProperty("display","none","important"):y.display="none";else{S=w.stateNode;var Z=w.memoizedProps.style,D=Z!=null&&Z.hasOwnProperty("display")?Z.display:null;S.style.display=D==null||typeof D=="boolean"?"":(""+D).trim()}}catch(le){Be(w,w.return,le)}}}else if(t.tag===6){if(l===null){w=t;try{w.stateNode.nodeValue=o?"":w.memoizedProps}catch(le){Be(w,w.return,le)}}}else if(t.tag===18){if(l===null){w=t;try{var q=w.stateNode;o?nm(q,!0):nm(w.stateNode,!1)}catch(le){Be(w,w.return,le)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;l===t&&(l=null),t=t.return}l===t&&(l=null),t.sibling.return=t.return,t=t.sibling}r&4&&(r=e.updateQueue,r!==null&&(l=r.retryQueue,l!==null&&(r.retryQueue=null,Er(e,l))));break;case 19:wt(t,e),Ct(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,Er(e,r)));break;case 30:break;case 21:break;default:wt(t,e),Ct(e)}}function Ct(e){var t=e.flags;if(t&2){try{for(var l,r=e.return;r!==null;){if(id(r)){l=r;break}r=r.return}if(l==null)throw Error(u(160));switch(l.tag){case 27:var o=l.stateNode,h=Vs(e);kr(e,h,o);break;case 5:var y=l.stateNode;l.flags&32&&(Bl(y,""),l.flags&=-33);var S=Vs(e);kr(e,S,y);break;case 3:case 4:var w=l.stateNode.containerInfo,O=Vs(e);Gs(e,O,w);break;default:throw Error(u(161))}}catch(V){Be(e,e.return,V)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function dd(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;dd(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Tn(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)ud(e,t.alternate,t),t=t.sibling}function zl(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Xn(4,t,t.return),zl(t);break;case 1:un(t,t.return);var l=t.stateNode;typeof l.componentWillUnmount=="function"&&nd(t,t.return,l),zl(t);break;case 27:ca(t.stateNode);case 26:case 5:un(t,t.return),zl(t);break;case 22:t.memoizedState===null&&zl(t);break;case 30:zl(t);break;default:zl(t)}e=e.sibling}}function An(e,t,l){for(l=l&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var r=t.alternate,o=e,h=t,y=h.flags;switch(h.tag){case 0:case 11:case 15:An(o,h,l),ea(4,h);break;case 1:if(An(o,h,l),r=h,o=r.stateNode,typeof o.componentDidMount=="function")try{o.componentDidMount()}catch(O){Be(r,r.return,O)}if(r=h,o=r.updateQueue,o!==null){var S=r.stateNode;try{var w=o.shared.hiddenCallbacks;if(w!==null)for(o.shared.hiddenCallbacks=null,o=0;o<w.length;o++)Qf(w[o],S)}catch(O){Be(r,r.return,O)}}l&&y&64&&td(h),ta(h,h.return);break;case 27:ad(h);case 26:case 5:An(o,h,l),l&&r===null&&y&4&&ld(h),ta(h,h.return);break;case 12:An(o,h,l);break;case 31:An(o,h,l),l&&y&4&&cd(o,h);break;case 13:An(o,h,l),l&&y&4&&fd(o,h);break;case 22:h.memoizedState===null&&An(o,h,l),ta(h,h.return);break;case 30:break;default:An(o,h,l)}t=t.sibling}}function Xs(e,t){var l=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==l&&(e!=null&&e.refCount++,l!=null&&Yi(l))}function Zs(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Yi(e))}function nn(e,t,l,r){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)md(e,t,l,r),t=t.sibling}function md(e,t,l,r){var o=t.flags;switch(t.tag){case 0:case 11:case 15:nn(e,t,l,r),o&2048&&ea(9,t);break;case 1:nn(e,t,l,r);break;case 3:nn(e,t,l,r),o&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Yi(e)));break;case 12:if(o&2048){nn(e,t,l,r),e=t.stateNode;try{var h=t.memoizedProps,y=h.id,S=h.onPostCommit;typeof S=="function"&&S(y,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(w){Be(t,t.return,w)}}else nn(e,t,l,r);break;case 31:nn(e,t,l,r);break;case 13:nn(e,t,l,r);break;case 23:break;case 22:h=t.stateNode,y=t.alternate,t.memoizedState!==null?h._visibility&2?nn(e,t,l,r):na(e,t):h._visibility&2?nn(e,t,l,r):(h._visibility|=2,li(e,t,l,r,(t.subtreeFlags&10256)!==0||!1)),o&2048&&Xs(y,t);break;case 24:nn(e,t,l,r),o&2048&&Zs(t.alternate,t);break;default:nn(e,t,l,r)}}function li(e,t,l,r,o){for(o=o&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var h=e,y=t,S=l,w=r,O=y.flags;switch(y.tag){case 0:case 11:case 15:li(h,y,S,w,o),ea(8,y);break;case 23:break;case 22:var V=y.stateNode;y.memoizedState!==null?V._visibility&2?li(h,y,S,w,o):na(h,y):(V._visibility|=2,li(h,y,S,w,o)),o&&O&2048&&Xs(y.alternate,y);break;case 24:li(h,y,S,w,o),o&&O&2048&&Zs(y.alternate,y);break;default:li(h,y,S,w,o)}t=t.sibling}}function na(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var l=e,r=t,o=r.flags;switch(r.tag){case 22:na(l,r),o&2048&&Xs(r.alternate,r);break;case 24:na(l,r),o&2048&&Zs(r.alternate,r);break;default:na(l,r)}t=t.sibling}}var la=8192;function ii(e,t,l){if(e.subtreeFlags&la)for(e=e.child;e!==null;)pd(e,t,l),e=e.sibling}function pd(e,t,l){switch(e.tag){case 26:ii(e,t,l),e.flags&la&&e.memoizedState!==null&&r1(l,tn,e.memoizedState,e.memoizedProps);break;case 5:ii(e,t,l);break;case 3:case 4:var r=tn;tn=Ur(e.stateNode.containerInfo),ii(e,t,l),tn=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=la,la=16777216,ii(e,t,l),la=r):ii(e,t,l));break;default:ii(e,t,l)}}function gd(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function ia(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var l=0;l<t.length;l++){var r=t[l];st=r,xd(r,e)}gd(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)yd(e),e=e.sibling}function yd(e){switch(e.tag){case 0:case 11:case 15:ia(e),e.flags&2048&&Xn(9,e,e.return);break;case 3:ia(e);break;case 12:ia(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,wr(e)):ia(e);break;default:ia(e)}}function wr(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var l=0;l<t.length;l++){var r=t[l];st=r,xd(r,e)}gd(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Xn(8,t,t.return),wr(t);break;case 22:l=t.stateNode,l._visibility&2&&(l._visibility&=-3,wr(t));break;default:wr(t)}e=e.sibling}}function xd(e,t){for(;st!==null;){var l=st;switch(l.tag){case 0:case 11:case 15:Xn(8,l,t);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var r=l.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:Yi(l.memoizedState.cache)}if(r=l.child,r!==null)r.return=l,st=r;else e:for(l=e;st!==null;){r=st;var o=r.sibling,h=r.return;if(sd(r),r===l){st=null;break e}if(o!==null){o.return=h,st=o;break e}st=h}}}var Sy={getCacheForType:function(e){var t=ft(et),l=t.data.get(e);return l===void 0&&(l=e(),t.data.set(e,l)),l},cacheSignal:function(){return ft(et).controller.signal}},zy=typeof WeakMap=="function"?WeakMap:Map,De=0,Ge=null,ke=null,Te=0,Le=0,Lt=null,Zn=!1,ai=!1,Fs=!1,Nn=0,$e=0,Fn=0,kl=0,Ks=0,Bt=0,ri=0,aa=null,Tt=null,Js=!1,Cr=0,bd=0,Tr=1/0,Ar=null,Kn=null,rt=0,Jn=null,ui=null,_n=0,Is=0,$s=null,vd=null,ra=0,Ws=null;function Ut(){return(De&2)!==0&&Te!==0?Te&-Te:R.T!==null?io():Rc()}function Sd(){if(Bt===0)if((Te&536870912)===0||Ne){var e=La;La<<=1,(La&3932160)===0&&(La=262144),Bt=e}else Bt=536870912;return e=Dt.current,e!==null&&(e.flags|=32),Bt}function At(e,t,l){(e===Ge&&(Le===2||Le===9)||e.cancelPendingCommit!==null)&&(si(e,0),In(e,Te,Bt,!1)),Ti(e,l),((De&2)===0||e!==Ge)&&(e===Ge&&((De&2)===0&&(kl|=l),$e===4&&In(e,Te,Bt,!1)),sn(e))}function zd(e,t,l){if((De&6)!==0)throw Error(u(327));var r=!l&&(t&127)===0&&(t&e.expiredLanes)===0||Ci(e,t),o=r?wy(e,t):eo(e,t,!0),h=r;do{if(o===0){ai&&!r&&In(e,t,0,!1);break}else{if(l=e.current.alternate,h&&!ky(l)){o=eo(e,t,!1),h=!1;continue}if(o===2){if(h=t,e.errorRecoveryDisabledLanes&h)var y=0;else y=e.pendingLanes&-536870913,y=y!==0?y:y&536870912?536870912:0;if(y!==0){t=y;e:{var S=e;o=aa;var w=S.current.memoizedState.isDehydrated;if(w&&(si(S,y).flags|=256),y=eo(S,y,!1),y!==2){if(Fs&&!w){S.errorRecoveryDisabledLanes|=h,kl|=h,o=4;break e}h=Tt,Tt=o,h!==null&&(Tt===null?Tt=h:Tt.push.apply(Tt,h))}o=y}if(h=!1,o!==2)continue}}if(o===1){si(e,0),In(e,t,0,!0);break}e:{switch(r=e,h=o,h){case 0:case 1:throw Error(u(345));case 4:if((t&4194048)!==t)break;case 6:In(r,t,Bt,!Zn);break e;case 2:Tt=null;break;case 3:case 5:break;default:throw Error(u(329))}if((t&62914560)===t&&(o=Cr+300-yt(),10<o)){if(In(r,t,Bt,!Zn),Ua(r,0,!0)!==0)break e;_n=t,r.timeoutHandle=Pd(kd.bind(null,r,l,Tt,Ar,Js,t,Bt,kl,ri,Zn,h,"Throttled",-0,0),o);break e}kd(r,l,Tt,Ar,Js,t,Bt,kl,ri,Zn,h,null,-0,0)}}break}while(!0);sn(e)}function kd(e,t,l,r,o,h,y,S,w,O,V,Z,D,q){if(e.timeoutHandle=-1,Z=t.subtreeFlags,Z&8192||(Z&16785408)===16785408){Z={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:pn},pd(t,h,Z);var le=(h&62914560)===h?Cr-yt():(h&4194048)===h?bd-yt():0;if(le=u1(Z,le),le!==null){_n=h,e.cancelPendingCommit=le(Md.bind(null,e,t,h,l,r,o,y,S,w,V,Z,null,D,q)),In(e,h,y,!O);return}}Md(e,t,h,l,r,o,y,S,w)}function ky(e){for(var t=e;;){var l=t.tag;if((l===0||l===11||l===15)&&t.flags&16384&&(l=t.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var r=0;r<l.length;r++){var o=l[r],h=o.getSnapshot;o=o.value;try{if(!jt(h(),o))return!1}catch{return!1}}if(l=t.child,t.subtreeFlags&16384&&l!==null)l.return=t,t=l;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function In(e,t,l,r){t&=~Ks,t&=~kl,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var o=t;0<o;){var h=31-Ve(o),y=1<<h;r[h]=-1,o&=~y}l!==0&&jc(e,l,t)}function Nr(){return(De&6)===0?(ua(0),!1):!0}function Ps(){if(ke!==null){if(Le===0)var e=ke.return;else e=ke,bn=ml=null,ps(e),Wl=null,Gi=0,e=ke;for(;e!==null;)ed(e.alternate,e),e=e.return;ke=null}}function si(e,t){var l=e.timeoutHandle;l!==-1&&(e.timeoutHandle=-1,Gy(l)),l=e.cancelPendingCommit,l!==null&&(e.cancelPendingCommit=null,l()),_n=0,Ps(),Ge=e,ke=l=yn(e.current,null),Te=t,Le=0,Lt=null,Zn=!1,ai=Ci(e,t),Fs=!1,ri=Bt=Ks=kl=Fn=$e=0,Tt=aa=null,Js=!1,(t&8)!==0&&(t|=t&32);var r=e.entangledLanes;if(r!==0)for(e=e.entanglements,r&=t;0<r;){var o=31-Ve(r),h=1<<o;t|=e[o],r&=~h}return Nn=t,Ia(),l}function Ed(e,t){ye=null,R.H=$i,t===$l||t===ir?(t=qf(),Le=3):t===ls?(t=qf(),Le=4):Le=t===Ms?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Lt=t,ke===null&&($e=1,xr(e,Xt(t,e.current)))}function wd(){var e=Dt.current;return e===null?!0:(Te&4194048)===Te?Jt===null:(Te&62914560)===Te||(Te&536870912)!==0?e===Jt:!1}function Cd(){var e=R.H;return R.H=$i,e===null?$i:e}function Td(){var e=R.A;return R.A=Sy,e}function _r(){$e=4,Zn||(Te&4194048)!==Te&&Dt.current!==null||(ai=!0),(Fn&134217727)===0&&(kl&134217727)===0||Ge===null||In(Ge,Te,Bt,!1)}function eo(e,t,l){var r=De;De|=2;var o=Cd(),h=Td();(Ge!==e||Te!==t)&&(Ar=null,si(e,t)),t=!1;var y=$e;e:do try{if(Le!==0&&ke!==null){var S=ke,w=Lt;switch(Le){case 8:Ps(),y=6;break e;case 3:case 2:case 9:case 6:Dt.current===null&&(t=!0);var O=Le;if(Le=0,Lt=null,oi(e,S,w,O),l&&ai){y=0;break e}break;default:O=Le,Le=0,Lt=null,oi(e,S,w,O)}}Ey(),y=$e;break}catch(V){Ed(e,V)}while(!0);return t&&e.shellSuspendCounter++,bn=ml=null,De=r,R.H=o,R.A=h,ke===null&&(Ge=null,Te=0,Ia()),y}function Ey(){for(;ke!==null;)Ad(ke)}function wy(e,t){var l=De;De|=2;var r=Cd(),o=Td();Ge!==e||Te!==t?(Ar=null,Tr=yt()+500,si(e,t)):ai=Ci(e,t);e:do try{if(Le!==0&&ke!==null){t=ke;var h=Lt;t:switch(Le){case 1:Le=0,Lt=null,oi(e,t,h,1);break;case 2:case 9:if(Uf(h)){Le=0,Lt=null,Nd(t);break}t=function(){Le!==2&&Le!==9||Ge!==e||(Le=7),sn(e)},h.then(t,t);break e;case 3:Le=7;break e;case 4:Le=5;break e;case 7:Uf(h)?(Le=0,Lt=null,Nd(t)):(Le=0,Lt=null,oi(e,t,h,7));break;case 5:var y=null;switch(ke.tag){case 26:y=ke.memoizedState;case 5:case 27:var S=ke;if(y?mm(y):S.stateNode.complete){Le=0,Lt=null;var w=S.sibling;if(w!==null)ke=w;else{var O=S.return;O!==null?(ke=O,Mr(O)):ke=null}break t}}Le=0,Lt=null,oi(e,t,h,5);break;case 6:Le=0,Lt=null,oi(e,t,h,6);break;case 8:Ps(),$e=6;break e;default:throw Error(u(462))}}Cy();break}catch(V){Ed(e,V)}while(!0);return bn=ml=null,R.H=r,R.A=o,De=l,ke!==null?0:(Ge=null,Te=0,Ia(),$e)}function Cy(){for(;ke!==null&&!du();)Ad(ke)}function Ad(e){var t=Wh(e.alternate,e,Nn);e.memoizedProps=e.pendingProps,t===null?Mr(e):ke=t}function Nd(e){var t=e,l=t.alternate;switch(t.tag){case 15:case 0:t=Zh(l,t,t.pendingProps,t.type,void 0,Te);break;case 11:t=Zh(l,t,t.pendingProps,t.type.render,t.ref,Te);break;case 5:ps(t);default:ed(l,t),t=ke=Tf(t,Nn),t=Wh(l,t,Nn)}e.memoizedProps=e.pendingProps,t===null?Mr(e):ke=t}function oi(e,t,l,r){bn=ml=null,ps(t),Wl=null,Gi=0;var o=t.return;try{if(my(e,o,t,l,Te)){$e=1,xr(e,Xt(l,e.current)),ke=null;return}}catch(h){if(o!==null)throw ke=o,h;$e=1,xr(e,Xt(l,e.current)),ke=null;return}t.flags&32768?(Ne||r===1?e=!0:ai||(Te&536870912)!==0?e=!1:(Zn=e=!0,(r===2||r===9||r===3||r===6)&&(r=Dt.current,r!==null&&r.tag===13&&(r.flags|=16384))),_d(t,e)):Mr(t)}function Mr(e){var t=e;do{if((t.flags&32768)!==0){_d(t,Zn);return}e=t.return;var l=yy(t.alternate,t,Nn);if(l!==null){ke=l;return}if(t=t.sibling,t!==null){ke=t;return}ke=t=e}while(t!==null);$e===0&&($e=5)}function _d(e,t){do{var l=xy(e.alternate,e);if(l!==null){l.flags&=32767,ke=l;return}if(l=e.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!t&&(e=e.sibling,e!==null)){ke=e;return}ke=e=l}while(e!==null);$e=6,ke=null}function Md(e,t,l,r,o,h,y,S,w){e.cancelPendingCommit=null;do jr();while(rt!==0);if((De&6)!==0)throw Error(u(327));if(t!==null){if(t===e.current)throw Error(u(177));if(h=t.lanes|t.childLanes,h|=Vu,ag(e,l,h,y,S,w),e===Ge&&(ke=Ge=null,Te=0),ui=t,Jn=e,_n=l,Is=h,$s=o,vd=r,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,_y(me,function(){return Ld(),null})):(e.callbackNode=null,e.callbackPriority=0),r=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||r){r=R.T,R.T=null,o=F.p,F.p=2,y=De,De|=4;try{by(e,t,l)}finally{De=y,F.p=o,R.T=r}}rt=1,jd(),Od(),Dd()}}function jd(){if(rt===1){rt=0;var e=Jn,t=ui,l=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||l){l=R.T,R.T=null;var r=F.p;F.p=2;var o=De;De|=4;try{hd(t,e);var h=ho,y=xf(e.containerInfo),S=h.focusedElem,w=h.selectionRange;if(y!==S&&S&&S.ownerDocument&&yf(S.ownerDocument.documentElement,S)){if(w!==null&&Bu(S)){var O=w.start,V=w.end;if(V===void 0&&(V=O),"selectionStart"in S)S.selectionStart=O,S.selectionEnd=Math.min(V,S.value.length);else{var Z=S.ownerDocument||document,D=Z&&Z.defaultView||window;if(D.getSelection){var q=D.getSelection(),le=S.textContent.length,fe=Math.min(w.start,le),Ye=w.end===void 0?fe:Math.min(w.end,le);!q.extend&&fe>Ye&&(y=Ye,Ye=fe,fe=y);var _=gf(S,fe),A=gf(S,Ye);if(_&&A&&(q.rangeCount!==1||q.anchorNode!==_.node||q.anchorOffset!==_.offset||q.focusNode!==A.node||q.focusOffset!==A.offset)){var j=Z.createRange();j.setStart(_.node,_.offset),q.removeAllRanges(),fe>Ye?(q.addRange(j),q.extend(A.node,A.offset)):(j.setEnd(A.node,A.offset),q.addRange(j))}}}}for(Z=[],q=S;q=q.parentNode;)q.nodeType===1&&Z.push({element:q,left:q.scrollLeft,top:q.scrollTop});for(typeof S.focus=="function"&&S.focus(),S=0;S<Z.length;S++){var X=Z[S];X.element.scrollLeft=X.left,X.element.scrollTop=X.top}}Qr=!!fo,ho=fo=null}finally{De=o,F.p=r,R.T=l}}e.current=t,rt=2}}function Od(){if(rt===2){rt=0;var e=Jn,t=ui,l=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||l){l=R.T,R.T=null;var r=F.p;F.p=2;var o=De;De|=4;try{ud(e,t.alternate,t)}finally{De=o,F.p=r,R.T=l}}rt=3}}function Dd(){if(rt===4||rt===3){rt=0,mu();var e=Jn,t=ui,l=_n,r=vd;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?rt=5:(rt=0,ui=Jn=null,Rd(e,e.pendingLanes));var o=e.pendingLanes;if(o===0&&(Kn=null),xu(l),t=t.stateNode,at&&typeof at.onCommitFiberRoot=="function")try{at.onCommitFiberRoot(xt,t,void 0,(t.current.flags&128)===128)}catch{}if(r!==null){t=R.T,o=F.p,F.p=2,R.T=null;try{for(var h=e.onRecoverableError,y=0;y<r.length;y++){var S=r[y];h(S.value,{componentStack:S.stack})}}finally{R.T=t,F.p=o}}(_n&3)!==0&&jr(),sn(e),o=e.pendingLanes,(l&261930)!==0&&(o&42)!==0?e===Ws?ra++:(ra=0,Ws=e):ra=0,ua(0)}}function Rd(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Yi(t)))}function jr(){return jd(),Od(),Dd(),Ld()}function Ld(){if(rt!==5)return!1;var e=Jn,t=Is;Is=0;var l=xu(_n),r=R.T,o=F.p;try{F.p=32>l?32:l,R.T=null,l=$s,$s=null;var h=Jn,y=_n;if(rt=0,ui=Jn=null,_n=0,(De&6)!==0)throw Error(u(331));var S=De;if(De|=4,yd(h.current),md(h,h.current,y,l),De=S,ua(0,!1),at&&typeof at.onPostCommitFiberRoot=="function")try{at.onPostCommitFiberRoot(xt,h)}catch{}return!0}finally{F.p=o,R.T=r,Rd(e,t)}}function Bd(e,t,l){t=Xt(l,t),t=_s(e.stateNode,t,2),e=Vn(e,t,2),e!==null&&(Ti(e,2),sn(e))}function Be(e,t,l){if(e.tag===3)Bd(e,e,l);else for(;t!==null;){if(t.tag===3){Bd(t,e,l);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Kn===null||!Kn.has(r))){e=Xt(l,e),l=Uh(2),r=Vn(t,l,2),r!==null&&(Hh(l,r,t,e),Ti(r,2),sn(r));break}}t=t.return}}function to(e,t,l){var r=e.pingCache;if(r===null){r=e.pingCache=new zy;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(l)||(Fs=!0,o.add(l),e=Ty.bind(null,e,t,l),t.then(e,e))}function Ty(e,t,l){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&l,e.warmLanes&=~l,Ge===e&&(Te&l)===l&&($e===4||$e===3&&(Te&62914560)===Te&&300>yt()-Cr?(De&2)===0&&si(e,0):Ks|=l,ri===Te&&(ri=0)),sn(e)}function Ud(e,t){t===0&&(t=Mc()),e=fl(e,t),e!==null&&(Ti(e,t),sn(e))}function Ay(e){var t=e.memoizedState,l=0;t!==null&&(l=t.retryLane),Ud(e,l)}function Ny(e,t){var l=0;switch(e.tag){case 31:case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(l=o.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(u(314))}r!==null&&r.delete(t),Ud(e,l)}function _y(e,t){return _l(e,t)}var Or=null,ci=null,no=!1,Dr=!1,lo=!1,$n=0;function sn(e){e!==ci&&e.next===null&&(ci===null?Or=ci=e:ci=ci.next=e),Dr=!0,no||(no=!0,jy())}function ua(e,t){if(!lo&&Dr){lo=!0;do for(var l=!1,r=Or;r!==null;){if(e!==0){var o=r.pendingLanes;if(o===0)var h=0;else{var y=r.suspendedLanes,S=r.pingedLanes;h=(1<<31-Ve(42|e)+1)-1,h&=o&~(y&~S),h=h&201326741?h&201326741|1:h?h|2:0}h!==0&&(l=!0,Vd(r,h))}else h=Te,h=Ua(r,r===Ge?h:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),(h&3)===0||Ci(r,h)||(l=!0,Vd(r,h));r=r.next}while(l);lo=!1}}function My(){Hd()}function Hd(){Dr=no=!1;var e=0;$n!==0&&Vy()&&(e=$n);for(var t=yt(),l=null,r=Or;r!==null;){var o=r.next,h=qd(r,t);h===0?(r.next=null,l===null?Or=o:l.next=o,o===null&&(ci=l)):(l=r,(e!==0||(h&3)!==0)&&(Dr=!0)),r=o}rt!==0&&rt!==5||ua(e),$n!==0&&($n=0)}function qd(e,t){for(var l=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,h=e.pendingLanes&-62914561;0<h;){var y=31-Ve(h),S=1<<y,w=o[y];w===-1?((S&l)===0||(S&r)!==0)&&(o[y]=ig(S,t)):w<=t&&(e.expiredLanes|=S),h&=~S}if(t=Ge,l=Te,l=Ua(e,e===t?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,l===0||e===t&&(Le===2||Le===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&wi(r),e.callbackNode=null,e.callbackPriority=0;if((l&3)===0||Ci(e,l)){if(t=l&-l,t===e.callbackPriority)return t;switch(r!==null&&wi(r),xu(l)){case 2:case 8:l=W;break;case 32:l=me;break;case 268435456:l=Re;break;default:l=me}return r=Yd.bind(null,e),l=_l(l,r),e.callbackPriority=t,e.callbackNode=l,t}return r!==null&&r!==null&&wi(r),e.callbackPriority=2,e.callbackNode=null,2}function Yd(e,t){if(rt!==0&&rt!==5)return e.callbackNode=null,e.callbackPriority=0,null;var l=e.callbackNode;if(jr()&&e.callbackNode!==l)return null;var r=Te;return r=Ua(e,e===Ge?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(zd(e,r,t),qd(e,yt()),e.callbackNode!=null&&e.callbackNode===l?Yd.bind(null,e):null)}function Vd(e,t){if(jr())return null;zd(e,t,!0)}function jy(){Qy(function(){(De&6)!==0?_l(Q,My):Hd()})}function io(){if($n===0){var e=Jl;e===0&&(e=Ra,Ra<<=1,(Ra&261888)===0&&(Ra=256)),$n=e}return $n}function Gd(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Va(""+e)}function Qd(e,t){var l=t.ownerDocument.createElement("input");return l.name=t.name,l.value=t.value,e.id&&l.setAttribute("form",e.id),t.parentNode.insertBefore(l,t),e=new FormData(e),l.parentNode.removeChild(l),e}function Oy(e,t,l,r,o){if(t==="submit"&&l&&l.stateNode===o){var h=Gd((o[zt]||null).action),y=r.submitter;y&&(t=(t=y[zt]||null)?Gd(t.formAction):y.getAttribute("formAction"),t!==null&&(h=t,y=null));var S=new Za("action","action",null,r,o);e.push({event:S,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if($n!==0){var w=y?Qd(o,y):new FormData(o);Es(l,{pending:!0,data:w,method:o.method,action:h},null,w)}}else typeof h=="function"&&(S.preventDefault(),w=y?Qd(o,y):new FormData(o),Es(l,{pending:!0,data:w,method:o.method,action:h},h,w))},currentTarget:o}]})}}for(var ao=0;ao<Yu.length;ao++){var ro=Yu[ao],Dy=ro.toLowerCase(),Ry=ro[0].toUpperCase()+ro.slice(1);en(Dy,"on"+Ry)}en(Sf,"onAnimationEnd"),en(zf,"onAnimationIteration"),en(kf,"onAnimationStart"),en("dblclick","onDoubleClick"),en("focusin","onFocus"),en("focusout","onBlur"),en($g,"onTransitionRun"),en(Wg,"onTransitionStart"),en(Pg,"onTransitionCancel"),en(Ef,"onTransitionEnd"),Rl("onMouseEnter",["mouseout","mouseover"]),Rl("onMouseLeave",["mouseout","mouseover"]),Rl("onPointerEnter",["pointerout","pointerover"]),Rl("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 sa="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(" "),Ly=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(sa));function Xd(e,t){t=(t&4)!==0;for(var l=0;l<e.length;l++){var r=e[l],o=r.event;r=r.listeners;e:{var h=void 0;if(t)for(var y=r.length-1;0<=y;y--){var S=r[y],w=S.instance,O=S.currentTarget;if(S=S.listener,w!==h&&o.isPropagationStopped())break e;h=S,o.currentTarget=O;try{h(o)}catch(V){Ja(V)}o.currentTarget=null,h=w}else for(y=0;y<r.length;y++){if(S=r[y],w=S.instance,O=S.currentTarget,S=S.listener,w!==h&&o.isPropagationStopped())break e;h=S,o.currentTarget=O;try{h(o)}catch(V){Ja(V)}o.currentTarget=null,h=w}}}}function Ee(e,t){var l=t[bu];l===void 0&&(l=t[bu]=new Set);var r=e+"__bubble";l.has(r)||(Zd(t,e,2,!1),l.add(r))}function uo(e,t,l){var r=0;t&&(r|=4),Zd(l,e,r,t)}var Rr="_reactListening"+Math.random().toString(36).slice(2);function so(e){if(!e[Rr]){e[Rr]=!0,Uc.forEach(function(l){l!=="selectionchange"&&(Ly.has(l)||uo(l,!1,e),uo(l,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Rr]||(t[Rr]=!0,uo("selectionchange",!1,t))}}function Zd(e,t,l,r){switch(Sm(t)){case 2:var o=c1;break;case 8:o=f1;break;default:o=Eo}l=o.bind(null,t,l,e),o=void 0,!Au||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),r?o!==void 0?e.addEventListener(t,l,{capture:!0,passive:o}):e.addEventListener(t,l,!0):o!==void 0?e.addEventListener(t,l,{passive:o}):e.addEventListener(t,l,!1)}function oo(e,t,l,r,o){var h=r;if((t&1)===0&&(t&2)===0&&r!==null)e:for(;;){if(r===null)return;var y=r.tag;if(y===3||y===4){var S=r.stateNode.containerInfo;if(S===o)break;if(y===4)for(y=r.return;y!==null;){var w=y.tag;if((w===3||w===4)&&y.stateNode.containerInfo===o)return;y=y.return}for(;S!==null;){if(y=jl(S),y===null)return;if(w=y.tag,w===5||w===6||w===26||w===27){r=h=y;continue e}S=S.parentNode}}r=r.return}Ic(function(){var O=h,V=Cu(l),Z=[];e:{var D=wf.get(e);if(D!==void 0){var q=Za,le=e;switch(e){case"keypress":if(Qa(l)===0)break e;case"keydown":case"keyup":q=Ng;break;case"focusin":le="focus",q=ju;break;case"focusout":le="blur",q=ju;break;case"beforeblur":case"afterblur":q=ju;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":q=Pc;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":q=yg;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":q=jg;break;case Sf:case zf:case kf:q=vg;break;case Ef:q=Dg;break;case"scroll":case"scrollend":q=pg;break;case"wheel":q=Lg;break;case"copy":case"cut":case"paste":q=zg;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":q=tf;break;case"toggle":case"beforetoggle":q=Ug}var fe=(t&4)!==0,Ye=!fe&&(e==="scroll"||e==="scrollend"),_=fe?D!==null?D+"Capture":null:D;fe=[];for(var A=O,j;A!==null;){var X=A;if(j=X.stateNode,X=X.tag,X!==5&&X!==26&&X!==27||j===null||_===null||(X=_i(A,_),X!=null&&fe.push(oa(A,X,j))),Ye)break;A=A.return}0<fe.length&&(D=new q(D,le,null,l,V),Z.push({event:D,listeners:fe}))}}if((t&7)===0){e:{if(D=e==="mouseover"||e==="pointerover",q=e==="mouseout"||e==="pointerout",D&&l!==wu&&(le=l.relatedTarget||l.fromElement)&&(jl(le)||le[Ml]))break e;if((q||D)&&(D=V.window===V?V:(D=V.ownerDocument)?D.defaultView||D.parentWindow:window,q?(le=l.relatedTarget||l.toElement,q=O,le=le?jl(le):null,le!==null&&(Ye=c(le),fe=le.tag,le!==Ye||fe!==5&&fe!==27&&fe!==6)&&(le=null)):(q=null,le=O),q!==le)){if(fe=Pc,X="onMouseLeave",_="onMouseEnter",A="mouse",(e==="pointerout"||e==="pointerover")&&(fe=tf,X="onPointerLeave",_="onPointerEnter",A="pointer"),Ye=q==null?D:Ni(q),j=le==null?D:Ni(le),D=new fe(X,A+"leave",q,l,V),D.target=Ye,D.relatedTarget=j,X=null,jl(V)===O&&(fe=new fe(_,A+"enter",le,l,V),fe.target=j,fe.relatedTarget=Ye,X=fe),Ye=X,q&&le)t:{for(fe=By,_=q,A=le,j=0,X=_;X;X=fe(X))j++;X=0;for(var oe=A;oe;oe=fe(oe))X++;for(;0<j-X;)_=fe(_),j--;for(;0<X-j;)A=fe(A),X--;for(;j--;){if(_===A||A!==null&&_===A.alternate){fe=_;break t}_=fe(_),A=fe(A)}fe=null}else fe=null;q!==null&&Fd(Z,D,q,fe,!1),le!==null&&Ye!==null&&Fd(Z,Ye,le,fe,!0)}}e:{if(D=O?Ni(O):window,q=D.nodeName&&D.nodeName.toLowerCase(),q==="select"||q==="input"&&D.type==="file")var je=cf;else if(sf(D))if(ff)je=Kg;else{je=Zg;var ae=Xg}else q=D.nodeName,!q||q.toLowerCase()!=="input"||D.type!=="checkbox"&&D.type!=="radio"?O&&Eu(O.elementType)&&(je=cf):je=Fg;if(je&&(je=je(e,O))){of(Z,je,l,V);break e}ae&&ae(e,D,O),e==="focusout"&&O&&D.type==="number"&&O.memoizedProps.value!=null&&ku(D,"number",D.value)}switch(ae=O?Ni(O):window,e){case"focusin":(sf(ae)||ae.contentEditable==="true")&&(Yl=ae,Uu=O,Ui=null);break;case"focusout":Ui=Uu=Yl=null;break;case"mousedown":Hu=!0;break;case"contextmenu":case"mouseup":case"dragend":Hu=!1,bf(Z,l,V);break;case"selectionchange":if(Ig)break;case"keydown":case"keyup":bf(Z,l,V)}var xe;if(Du)e:{switch(e){case"compositionstart":var Ae="onCompositionStart";break e;case"compositionend":Ae="onCompositionEnd";break e;case"compositionupdate":Ae="onCompositionUpdate";break e}Ae=void 0}else ql?rf(e,l)&&(Ae="onCompositionEnd"):e==="keydown"&&l.keyCode===229&&(Ae="onCompositionStart");Ae&&(nf&&l.locale!=="ko"&&(ql||Ae!=="onCompositionStart"?Ae==="onCompositionEnd"&&ql&&(xe=$c()):(Rn=V,Nu="value"in Rn?Rn.value:Rn.textContent,ql=!0)),ae=Lr(O,Ae),0<ae.length&&(Ae=new ef(Ae,e,null,l,V),Z.push({event:Ae,listeners:ae}),xe?Ae.data=xe:(xe=uf(l),xe!==null&&(Ae.data=xe)))),(xe=qg?Yg(e,l):Vg(e,l))&&(Ae=Lr(O,"onBeforeInput"),0<Ae.length&&(ae=new ef("onBeforeInput","beforeinput",null,l,V),Z.push({event:ae,listeners:Ae}),ae.data=xe)),Oy(Z,e,O,l,V)}Xd(Z,t)})}function oa(e,t,l){return{instance:e,listener:t,currentTarget:l}}function Lr(e,t){for(var l=t+"Capture",r=[];e!==null;){var o=e,h=o.stateNode;if(o=o.tag,o!==5&&o!==26&&o!==27||h===null||(o=_i(e,l),o!=null&&r.unshift(oa(e,o,h)),o=_i(e,t),o!=null&&r.push(oa(e,o,h))),e.tag===3)return r;e=e.return}return[]}function By(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Fd(e,t,l,r,o){for(var h=t._reactName,y=[];l!==null&&l!==r;){var S=l,w=S.alternate,O=S.stateNode;if(S=S.tag,w!==null&&w===r)break;S!==5&&S!==26&&S!==27||O===null||(w=O,o?(O=_i(l,h),O!=null&&y.unshift(oa(l,O,w))):o||(O=_i(l,h),O!=null&&y.push(oa(l,O,w)))),l=l.return}y.length!==0&&e.push({event:t,listeners:y})}var Uy=/\r\n?/g,Hy=/\u0000|\uFFFD/g;function Kd(e){return(typeof e=="string"?e:""+e).replace(Uy,`
|
|
49
|
-
`).replace(Hy,"")}function Jd(e,t){return t=Kd(t),Kd(e)===t}function qe(e,t,l,r,o,h){switch(l){case"children":typeof r=="string"?t==="body"||t==="textarea"&&r===""||Bl(e,r):(typeof r=="number"||typeof r=="bigint")&&t!=="body"&&Bl(e,""+r);break;case"className":qa(e,"class",r);break;case"tabIndex":qa(e,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":qa(e,l,r);break;case"style":Kc(e,r,h);break;case"data":if(t!=="object"){qa(e,"data",r);break}case"src":case"href":if(r===""&&(t!=="a"||l!=="href")){e.removeAttribute(l);break}if(r==null||typeof r=="function"||typeof r=="symbol"||typeof r=="boolean"){e.removeAttribute(l);break}r=Va(""+r),e.setAttribute(l,r);break;case"action":case"formAction":if(typeof r=="function"){e.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof h=="function"&&(l==="formAction"?(t!=="input"&&qe(e,t,"name",o.name,o,null),qe(e,t,"formEncType",o.formEncType,o,null),qe(e,t,"formMethod",o.formMethod,o,null),qe(e,t,"formTarget",o.formTarget,o,null)):(qe(e,t,"encType",o.encType,o,null),qe(e,t,"method",o.method,o,null),qe(e,t,"target",o.target,o,null)));if(r==null||typeof r=="symbol"||typeof r=="boolean"){e.removeAttribute(l);break}r=Va(""+r),e.setAttribute(l,r);break;case"onClick":r!=null&&(e.onclick=pn);break;case"onScroll":r!=null&&Ee("scroll",e);break;case"onScrollEnd":r!=null&&Ee("scrollend",e);break;case"dangerouslySetInnerHTML":if(r!=null){if(typeof r!="object"||!("__html"in r))throw Error(u(61));if(l=r.__html,l!=null){if(o.children!=null)throw Error(u(60));e.innerHTML=l}}break;case"multiple":e.multiple=r&&typeof r!="function"&&typeof r!="symbol";break;case"muted":e.muted=r&&typeof r!="function"&&typeof r!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(r==null||typeof r=="function"||typeof r=="boolean"||typeof r=="symbol"){e.removeAttribute("xlink:href");break}l=Va(""+r),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":r!=null&&typeof r!="function"&&typeof r!="symbol"?e.setAttribute(l,""+r):e.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&typeof r!="function"&&typeof r!="symbol"?e.setAttribute(l,""):e.removeAttribute(l);break;case"capture":case"download":r===!0?e.setAttribute(l,""):r!==!1&&r!=null&&typeof r!="function"&&typeof r!="symbol"?e.setAttribute(l,r):e.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":r!=null&&typeof r!="function"&&typeof r!="symbol"&&!isNaN(r)&&1<=r?e.setAttribute(l,r):e.removeAttribute(l);break;case"rowSpan":case"start":r==null||typeof r=="function"||typeof r=="symbol"||isNaN(r)?e.removeAttribute(l):e.setAttribute(l,r);break;case"popover":Ee("beforetoggle",e),Ee("toggle",e),Ha(e,"popover",r);break;case"xlinkActuate":mn(e,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":mn(e,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":mn(e,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":mn(e,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":mn(e,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":mn(e,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":mn(e,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":mn(e,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":mn(e,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":Ha(e,"is",r);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=dg.get(l)||l,Ha(e,l,r))}}function co(e,t,l,r,o,h){switch(l){case"style":Kc(e,r,h);break;case"dangerouslySetInnerHTML":if(r!=null){if(typeof r!="object"||!("__html"in r))throw Error(u(61));if(l=r.__html,l!=null){if(o.children!=null)throw Error(u(60));e.innerHTML=l}}break;case"children":typeof r=="string"?Bl(e,r):(typeof r=="number"||typeof r=="bigint")&&Bl(e,""+r);break;case"onScroll":r!=null&&Ee("scroll",e);break;case"onScrollEnd":r!=null&&Ee("scrollend",e);break;case"onClick":r!=null&&(e.onclick=pn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Hc.hasOwnProperty(l))e:{if(l[0]==="o"&&l[1]==="n"&&(o=l.endsWith("Capture"),t=l.slice(2,o?l.length-7:void 0),h=e[zt]||null,h=h!=null?h[l]:null,typeof h=="function"&&e.removeEventListener(t,h,o),typeof r=="function")){typeof h!="function"&&h!==null&&(l in e?e[l]=null:e.hasAttribute(l)&&e.removeAttribute(l)),e.addEventListener(t,r,o);break e}l in e?e[l]=r:r===!0?e.setAttribute(l,""):Ha(e,l,r)}}}function dt(e,t,l){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ee("error",e),Ee("load",e);var r=!1,o=!1,h;for(h in l)if(l.hasOwnProperty(h)){var y=l[h];if(y!=null)switch(h){case"src":r=!0;break;case"srcSet":o=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(u(137,t));default:qe(e,t,h,y,l,null)}}o&&qe(e,t,"srcSet",l.srcSet,l,null),r&&qe(e,t,"src",l.src,l,null);return;case"input":Ee("invalid",e);var S=h=y=o=null,w=null,O=null;for(r in l)if(l.hasOwnProperty(r)){var V=l[r];if(V!=null)switch(r){case"name":o=V;break;case"type":y=V;break;case"checked":w=V;break;case"defaultChecked":O=V;break;case"value":h=V;break;case"defaultValue":S=V;break;case"children":case"dangerouslySetInnerHTML":if(V!=null)throw Error(u(137,t));break;default:qe(e,t,r,V,l,null)}}Qc(e,h,S,w,O,y,o,!1);return;case"select":Ee("invalid",e),r=y=h=null;for(o in l)if(l.hasOwnProperty(o)&&(S=l[o],S!=null))switch(o){case"value":h=S;break;case"defaultValue":y=S;break;case"multiple":r=S;default:qe(e,t,o,S,l,null)}t=h,l=y,e.multiple=!!r,t!=null?Ll(e,!!r,t,!1):l!=null&&Ll(e,!!r,l,!0);return;case"textarea":Ee("invalid",e),h=o=r=null;for(y in l)if(l.hasOwnProperty(y)&&(S=l[y],S!=null))switch(y){case"value":r=S;break;case"defaultValue":o=S;break;case"children":h=S;break;case"dangerouslySetInnerHTML":if(S!=null)throw Error(u(91));break;default:qe(e,t,y,S,l,null)}Zc(e,r,o,h);return;case"option":for(w in l)if(l.hasOwnProperty(w)&&(r=l[w],r!=null))switch(w){case"selected":e.selected=r&&typeof r!="function"&&typeof r!="symbol";break;default:qe(e,t,w,r,l,null)}return;case"dialog":Ee("beforetoggle",e),Ee("toggle",e),Ee("cancel",e),Ee("close",e);break;case"iframe":case"object":Ee("load",e);break;case"video":case"audio":for(r=0;r<sa.length;r++)Ee(sa[r],e);break;case"image":Ee("error",e),Ee("load",e);break;case"details":Ee("toggle",e);break;case"embed":case"source":case"link":Ee("error",e),Ee("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(O in l)if(l.hasOwnProperty(O)&&(r=l[O],r!=null))switch(O){case"children":case"dangerouslySetInnerHTML":throw Error(u(137,t));default:qe(e,t,O,r,l,null)}return;default:if(Eu(t)){for(V in l)l.hasOwnProperty(V)&&(r=l[V],r!==void 0&&co(e,t,V,r,l,void 0));return}}for(S in l)l.hasOwnProperty(S)&&(r=l[S],r!=null&&qe(e,t,S,r,l,null))}function qy(e,t,l,r){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var o=null,h=null,y=null,S=null,w=null,O=null,V=null;for(q in l){var Z=l[q];if(l.hasOwnProperty(q)&&Z!=null)switch(q){case"checked":break;case"value":break;case"defaultValue":w=Z;default:r.hasOwnProperty(q)||qe(e,t,q,null,r,Z)}}for(var D in r){var q=r[D];if(Z=l[D],r.hasOwnProperty(D)&&(q!=null||Z!=null))switch(D){case"type":h=q;break;case"name":o=q;break;case"checked":O=q;break;case"defaultChecked":V=q;break;case"value":y=q;break;case"defaultValue":S=q;break;case"children":case"dangerouslySetInnerHTML":if(q!=null)throw Error(u(137,t));break;default:q!==Z&&qe(e,t,D,q,r,Z)}}zu(e,y,S,w,O,V,h,o);return;case"select":q=y=S=D=null;for(h in l)if(w=l[h],l.hasOwnProperty(h)&&w!=null)switch(h){case"value":break;case"multiple":q=w;default:r.hasOwnProperty(h)||qe(e,t,h,null,r,w)}for(o in r)if(h=r[o],w=l[o],r.hasOwnProperty(o)&&(h!=null||w!=null))switch(o){case"value":D=h;break;case"defaultValue":S=h;break;case"multiple":y=h;default:h!==w&&qe(e,t,o,h,r,w)}t=S,l=y,r=q,D!=null?Ll(e,!!l,D,!1):!!r!=!!l&&(t!=null?Ll(e,!!l,t,!0):Ll(e,!!l,l?[]:"",!1));return;case"textarea":q=D=null;for(S in l)if(o=l[S],l.hasOwnProperty(S)&&o!=null&&!r.hasOwnProperty(S))switch(S){case"value":break;case"children":break;default:qe(e,t,S,null,r,o)}for(y in r)if(o=r[y],h=l[y],r.hasOwnProperty(y)&&(o!=null||h!=null))switch(y){case"value":D=o;break;case"defaultValue":q=o;break;case"children":break;case"dangerouslySetInnerHTML":if(o!=null)throw Error(u(91));break;default:o!==h&&qe(e,t,y,o,r,h)}Xc(e,D,q);return;case"option":for(var le in l)if(D=l[le],l.hasOwnProperty(le)&&D!=null&&!r.hasOwnProperty(le))switch(le){case"selected":e.selected=!1;break;default:qe(e,t,le,null,r,D)}for(w in r)if(D=r[w],q=l[w],r.hasOwnProperty(w)&&D!==q&&(D!=null||q!=null))switch(w){case"selected":e.selected=D&&typeof D!="function"&&typeof D!="symbol";break;default:qe(e,t,w,D,r,q)}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 fe in l)D=l[fe],l.hasOwnProperty(fe)&&D!=null&&!r.hasOwnProperty(fe)&&qe(e,t,fe,null,r,D);for(O in r)if(D=r[O],q=l[O],r.hasOwnProperty(O)&&D!==q&&(D!=null||q!=null))switch(O){case"children":case"dangerouslySetInnerHTML":if(D!=null)throw Error(u(137,t));break;default:qe(e,t,O,D,r,q)}return;default:if(Eu(t)){for(var Ye in l)D=l[Ye],l.hasOwnProperty(Ye)&&D!==void 0&&!r.hasOwnProperty(Ye)&&co(e,t,Ye,void 0,r,D);for(V in r)D=r[V],q=l[V],!r.hasOwnProperty(V)||D===q||D===void 0&&q===void 0||co(e,t,V,D,r,q);return}}for(var _ in l)D=l[_],l.hasOwnProperty(_)&&D!=null&&!r.hasOwnProperty(_)&&qe(e,t,_,null,r,D);for(Z in r)D=r[Z],q=l[Z],!r.hasOwnProperty(Z)||D===q||D==null&&q==null||qe(e,t,Z,D,r,q)}function Id(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Yy(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,l=performance.getEntriesByType("resource"),r=0;r<l.length;r++){var o=l[r],h=o.transferSize,y=o.initiatorType,S=o.duration;if(h&&S&&Id(y)){for(y=0,S=o.responseEnd,r+=1;r<l.length;r++){var w=l[r],O=w.startTime;if(O>S)break;var V=w.transferSize,Z=w.initiatorType;V&&Id(Z)&&(w=w.responseEnd,y+=V*(w<S?1:(S-O)/(w-O)))}if(--r,t+=8*(h+y)/(o.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var fo=null,ho=null;function Br(e){return e.nodeType===9?e:e.ownerDocument}function $d(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Wd(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function mo(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var po=null;function Vy(){var e=window.event;return e&&e.type==="popstate"?e===po?!1:(po=e,!0):(po=null,!1)}var Pd=typeof setTimeout=="function"?setTimeout:void 0,Gy=typeof clearTimeout=="function"?clearTimeout:void 0,em=typeof Promise=="function"?Promise:void 0,Qy=typeof queueMicrotask=="function"?queueMicrotask:typeof em<"u"?function(e){return em.resolve(null).then(e).catch(Xy)}:Pd;function Xy(e){setTimeout(function(){throw e})}function Wn(e){return e==="head"}function tm(e,t){var l=t,r=0;do{var o=l.nextSibling;if(e.removeChild(l),o&&o.nodeType===8)if(l=o.data,l==="/$"||l==="/&"){if(r===0){e.removeChild(o),mi(t);return}r--}else if(l==="$"||l==="$?"||l==="$~"||l==="$!"||l==="&")r++;else if(l==="html")ca(e.ownerDocument.documentElement);else if(l==="head"){l=e.ownerDocument.head,ca(l);for(var h=l.firstChild;h;){var y=h.nextSibling,S=h.nodeName;h[Ai]||S==="SCRIPT"||S==="STYLE"||S==="LINK"&&h.rel.toLowerCase()==="stylesheet"||l.removeChild(h),h=y}}else l==="body"&&ca(e.ownerDocument.body);l=o}while(l);mi(t)}function nm(e,t){var l=e;e=0;do{var r=l.nextSibling;if(l.nodeType===1?t?(l._stashedDisplay=l.style.display,l.style.display="none"):(l.style.display=l._stashedDisplay||"",l.getAttribute("style")===""&&l.removeAttribute("style")):l.nodeType===3&&(t?(l._stashedText=l.nodeValue,l.nodeValue=""):l.nodeValue=l._stashedText||""),r&&r.nodeType===8)if(l=r.data,l==="/$"){if(e===0)break;e--}else l!=="$"&&l!=="$?"&&l!=="$~"&&l!=="$!"||e++;l=r}while(l)}function go(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var l=t;switch(t=t.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":go(l),vu(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}e.removeChild(l)}}function Zy(e,t,l,r){for(;e.nodeType===1;){var o=l;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(r){if(!e[Ai])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(h=e.getAttribute("rel"),h==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(h!==o.rel||e.getAttribute("href")!==(o.href==null||o.href===""?null:o.href)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin)||e.getAttribute("title")!==(o.title==null?null:o.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(h=e.getAttribute("src"),(h!==(o.src==null?null:o.src)||e.getAttribute("type")!==(o.type==null?null:o.type)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin))&&h&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var h=o.name==null?null:""+o.name;if(o.type==="hidden"&&e.getAttribute("name")===h)return e}else return e;if(e=It(e.nextSibling),e===null)break}return null}function Fy(e,t,l){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!l||(e=It(e.nextSibling),e===null))return null;return e}function lm(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=It(e.nextSibling),e===null))return null;return e}function yo(e){return e.data==="$?"||e.data==="$~"}function xo(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function Ky(e,t){var l=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||l.readyState!=="loading")t();else{var r=function(){t(),l.removeEventListener("DOMContentLoaded",r)};l.addEventListener("DOMContentLoaded",r),e._reactRetry=r}}function It(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var bo=null;function im(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var l=e.data;if(l==="/$"||l==="/&"){if(t===0)return It(e.nextSibling);t--}else l!=="$"&&l!=="$!"&&l!=="$?"&&l!=="$~"&&l!=="&"||t++}e=e.nextSibling}return null}function am(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var l=e.data;if(l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"){if(t===0)return e;t--}else l!=="/$"&&l!=="/&"||t++}e=e.previousSibling}return null}function rm(e,t,l){switch(t=Br(l),e){case"html":if(e=t.documentElement,!e)throw Error(u(452));return e;case"head":if(e=t.head,!e)throw Error(u(453));return e;case"body":if(e=t.body,!e)throw Error(u(454));return e;default:throw Error(u(451))}}function ca(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);vu(e)}var $t=new Map,um=new Set;function Ur(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Mn=F.d;F.d={f:Jy,r:Iy,D:$y,C:Wy,L:Py,m:e1,X:n1,S:t1,M:l1};function Jy(){var e=Mn.f(),t=Nr();return e||t}function Iy(e){var t=Ol(e);t!==null&&t.tag===5&&t.type==="form"?Eh(t):Mn.r(e)}var fi=typeof document>"u"?null:document;function sm(e,t,l){var r=fi;if(r&&typeof t=="string"&&t){var o=Gt(t);o='link[rel="'+e+'"][href="'+o+'"]',typeof l=="string"&&(o+='[crossorigin="'+l+'"]'),um.has(o)||(um.add(o),e={rel:e,crossOrigin:l,href:t},r.querySelector(o)===null&&(t=r.createElement("link"),dt(t,"link",e),ut(t),r.head.appendChild(t)))}}function $y(e){Mn.D(e),sm("dns-prefetch",e,null)}function Wy(e,t){Mn.C(e,t),sm("preconnect",e,t)}function Py(e,t,l){Mn.L(e,t,l);var r=fi;if(r&&e&&t){var o='link[rel="preload"][as="'+Gt(t)+'"]';t==="image"&&l&&l.imageSrcSet?(o+='[imagesrcset="'+Gt(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(o+='[imagesizes="'+Gt(l.imageSizes)+'"]')):o+='[href="'+Gt(e)+'"]';var h=o;switch(t){case"style":h=hi(e);break;case"script":h=di(e)}$t.has(h)||(e=g({rel:"preload",href:t==="image"&&l&&l.imageSrcSet?void 0:e,as:t},l),$t.set(h,e),r.querySelector(o)!==null||t==="style"&&r.querySelector(fa(h))||t==="script"&&r.querySelector(ha(h))||(t=r.createElement("link"),dt(t,"link",e),ut(t),r.head.appendChild(t)))}}function e1(e,t){Mn.m(e,t);var l=fi;if(l&&e){var r=t&&typeof t.as=="string"?t.as:"script",o='link[rel="modulepreload"][as="'+Gt(r)+'"][href="'+Gt(e)+'"]',h=o;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":h=di(e)}if(!$t.has(h)&&(e=g({rel:"modulepreload",href:e},t),$t.set(h,e),l.querySelector(o)===null)){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(ha(h)))return}r=l.createElement("link"),dt(r,"link",e),ut(r),l.head.appendChild(r)}}}function t1(e,t,l){Mn.S(e,t,l);var r=fi;if(r&&e){var o=Dl(r).hoistableStyles,h=hi(e);t=t||"default";var y=o.get(h);if(!y){var S={loading:0,preload:null};if(y=r.querySelector(fa(h)))S.loading=5;else{e=g({rel:"stylesheet",href:e,"data-precedence":t},l),(l=$t.get(h))&&vo(e,l);var w=y=r.createElement("link");ut(w),dt(w,"link",e),w._p=new Promise(function(O,V){w.onload=O,w.onerror=V}),w.addEventListener("load",function(){S.loading|=1}),w.addEventListener("error",function(){S.loading|=2}),S.loading|=4,Hr(y,t,r)}y={type:"stylesheet",instance:y,count:1,state:S},o.set(h,y)}}}function n1(e,t){Mn.X(e,t);var l=fi;if(l&&e){var r=Dl(l).hoistableScripts,o=di(e),h=r.get(o);h||(h=l.querySelector(ha(o)),h||(e=g({src:e,async:!0},t),(t=$t.get(o))&&So(e,t),h=l.createElement("script"),ut(h),dt(h,"link",e),l.head.appendChild(h)),h={type:"script",instance:h,count:1,state:null},r.set(o,h))}}function l1(e,t){Mn.M(e,t);var l=fi;if(l&&e){var r=Dl(l).hoistableScripts,o=di(e),h=r.get(o);h||(h=l.querySelector(ha(o)),h||(e=g({src:e,async:!0,type:"module"},t),(t=$t.get(o))&&So(e,t),h=l.createElement("script"),ut(h),dt(h,"link",e),l.head.appendChild(h)),h={type:"script",instance:h,count:1,state:null},r.set(o,h))}}function om(e,t,l,r){var o=(o=se.current)?Ur(o):null;if(!o)throw Error(u(446));switch(e){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(t=hi(l.href),l=Dl(o).hoistableStyles,r=l.get(t),r||(r={type:"style",instance:null,count:0,state:null},l.set(t,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){e=hi(l.href);var h=Dl(o).hoistableStyles,y=h.get(e);if(y||(o=o.ownerDocument||o,y={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},h.set(e,y),(h=o.querySelector(fa(e)))&&!h._p&&(y.instance=h,y.state.loading=5),$t.has(e)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},$t.set(e,l),h||i1(o,e,l,y.state))),t&&r===null)throw Error(u(528,""));return y}if(t&&r!==null)throw Error(u(529,""));return null;case"script":return t=l.async,l=l.src,typeof l=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=di(l),l=Dl(o).hoistableScripts,r=l.get(t),r||(r={type:"script",instance:null,count:0,state:null},l.set(t,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error(u(444,e))}}function hi(e){return'href="'+Gt(e)+'"'}function fa(e){return'link[rel="stylesheet"]['+e+"]"}function cm(e){return g({},e,{"data-precedence":e.precedence,precedence:null})}function i1(e,t,l,r){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?r.loading=1:(t=e.createElement("link"),r.preload=t,t.addEventListener("load",function(){return r.loading|=1}),t.addEventListener("error",function(){return r.loading|=2}),dt(t,"link",l),ut(t),e.head.appendChild(t))}function di(e){return'[src="'+Gt(e)+'"]'}function ha(e){return"script[async]"+e}function fm(e,t,l){if(t.count++,t.instance===null)switch(t.type){case"style":var r=e.querySelector('style[data-href~="'+Gt(l.href)+'"]');if(r)return t.instance=r,ut(r),r;var o=g({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement("style"),ut(r),dt(r,"style",o),Hr(r,l.precedence,e),t.instance=r;case"stylesheet":o=hi(l.href);var h=e.querySelector(fa(o));if(h)return t.state.loading|=4,t.instance=h,ut(h),h;r=cm(l),(o=$t.get(o))&&vo(r,o),h=(e.ownerDocument||e).createElement("link"),ut(h);var y=h;return y._p=new Promise(function(S,w){y.onload=S,y.onerror=w}),dt(h,"link",r),t.state.loading|=4,Hr(h,l.precedence,e),t.instance=h;case"script":return h=di(l.src),(o=e.querySelector(ha(h)))?(t.instance=o,ut(o),o):(r=l,(o=$t.get(h))&&(r=g({},l),So(r,o)),e=e.ownerDocument||e,o=e.createElement("script"),ut(o),dt(o,"link",r),e.head.appendChild(o),t.instance=o);case"void":return null;default:throw Error(u(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(r=t.instance,t.state.loading|=4,Hr(r,l.precedence,e));return t.instance}function Hr(e,t,l){for(var r=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=r.length?r[r.length-1]:null,h=o,y=0;y<r.length;y++){var S=r[y];if(S.dataset.precedence===t)h=S;else if(h!==o)break}h?h.parentNode.insertBefore(e,h.nextSibling):(t=l.nodeType===9?l.head:l,t.insertBefore(e,t.firstChild))}function vo(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function So(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var qr=null;function hm(e,t,l){if(qr===null){var r=new Map,o=qr=new Map;o.set(l,r)}else o=qr,r=o.get(l),r||(r=new Map,o.set(l,r));if(r.has(e))return r;for(r.set(e,null),l=l.getElementsByTagName(e),o=0;o<l.length;o++){var h=l[o];if(!(h[Ai]||h[ot]||e==="link"&&h.getAttribute("rel")==="stylesheet")&&h.namespaceURI!=="http://www.w3.org/2000/svg"){var y=h.getAttribute(t)||"";y=e+y;var S=r.get(y);S?S.push(h):r.set(y,[h])}}return r}function dm(e,t,l){e=e.ownerDocument||e,e.head.insertBefore(l,t==="title"?e.querySelector("head > title"):null)}function a1(e,t,l){if(l===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function mm(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function r1(e,t,l,r){if(l.type==="stylesheet"&&(typeof r.media!="string"||matchMedia(r.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var o=hi(r.href),h=t.querySelector(fa(o));if(h){t=h._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Yr.bind(e),t.then(e,e)),l.state.loading|=4,l.instance=h,ut(h);return}h=t.ownerDocument||t,r=cm(r),(o=$t.get(o))&&vo(r,o),h=h.createElement("link"),ut(h);var y=h;y._p=new Promise(function(S,w){y.onload=S,y.onerror=w}),dt(h,"link",r),l.instance=h}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(l,t),(t=l.state.preload)&&(l.state.loading&3)===0&&(e.count++,l=Yr.bind(e),t.addEventListener("load",l),t.addEventListener("error",l))}}var zo=0;function u1(e,t){return e.stylesheets&&e.count===0&&Gr(e,e.stylesheets),0<e.count||0<e.imgCount?function(l){var r=setTimeout(function(){if(e.stylesheets&&Gr(e,e.stylesheets),e.unsuspend){var h=e.unsuspend;e.unsuspend=null,h()}},6e4+t);0<e.imgBytes&&zo===0&&(zo=62500*Yy());var o=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Gr(e,e.stylesheets),e.unsuspend)){var h=e.unsuspend;e.unsuspend=null,h()}},(e.imgBytes>zo?50:800)+t);return e.unsuspend=l,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(o)}}:null}function Yr(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Gr(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Vr=null;function Gr(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Vr=new Map,t.forEach(s1,e),Vr=null,Yr.call(e))}function s1(e,t){if(!(t.state.loading&4)){var l=Vr.get(e);if(l)var r=l.get(null);else{l=new Map,Vr.set(e,l);for(var o=e.querySelectorAll("link[data-precedence],style[data-precedence]"),h=0;h<o.length;h++){var y=o[h];(y.nodeName==="LINK"||y.getAttribute("media")!=="not all")&&(l.set(y.dataset.precedence,y),r=y)}r&&l.set(null,r)}o=t.instance,y=o.getAttribute("data-precedence"),h=l.get(y)||r,h===r&&l.set(null,o),l.set(y,o),this.count++,r=Yr.bind(this),o.addEventListener("load",r),o.addEventListener("error",r),h?h.parentNode.insertBefore(o,h.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(o,e.firstChild)),t.state.loading|=4}}var da={$$typeof:L,Provider:null,Consumer:null,_currentValue:re,_currentValue2:re,_threadCount:0};function o1(e,t,l,r,o,h,y,S,w){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=gu(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gu(0),this.hiddenUpdates=gu(null),this.identifierPrefix=r,this.onUncaughtError=o,this.onCaughtError=h,this.onRecoverableError=y,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=w,this.incompleteTransitions=new Map}function pm(e,t,l,r,o,h,y,S,w,O,V,Z){return e=new o1(e,t,l,y,w,O,V,Z,S),t=1,h===!0&&(t|=24),h=Ot(3,null,null,t),e.current=h,h.stateNode=e,t=es(),t.refCount++,e.pooledCache=t,t.refCount++,h.memoizedState={element:r,isDehydrated:l,cache:t},is(h),e}function gm(e){return e?(e=Ql,e):Ql}function ym(e,t,l,r,o,h){o=gm(o),r.context===null?r.context=o:r.pendingContext=o,r=Yn(t),r.payload={element:l},h=h===void 0?null:h,h!==null&&(r.callback=h),l=Vn(e,r,t),l!==null&&(At(l,e,t),Xi(l,e,t))}function xm(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var l=e.retryLane;e.retryLane=l!==0&&l<t?l:t}}function ko(e,t){xm(e,t),(e=e.alternate)&&xm(e,t)}function bm(e){if(e.tag===13||e.tag===31){var t=fl(e,67108864);t!==null&&At(t,e,67108864),ko(e,67108864)}}function vm(e){if(e.tag===13||e.tag===31){var t=Ut();t=yu(t);var l=fl(e,t);l!==null&&At(l,e,t),ko(e,t)}}var Qr=!0;function c1(e,t,l,r){var o=R.T;R.T=null;var h=F.p;try{F.p=2,Eo(e,t,l,r)}finally{F.p=h,R.T=o}}function f1(e,t,l,r){var o=R.T;R.T=null;var h=F.p;try{F.p=8,Eo(e,t,l,r)}finally{F.p=h,R.T=o}}function Eo(e,t,l,r){if(Qr){var o=wo(r);if(o===null)oo(e,t,r,Xr,l),zm(e,r);else if(d1(o,e,t,l,r))r.stopPropagation();else if(zm(e,r),t&4&&-1<h1.indexOf(e)){for(;o!==null;){var h=Ol(o);if(h!==null)switch(h.tag){case 3:if(h=h.stateNode,h.current.memoizedState.isDehydrated){var y=rl(h.pendingLanes);if(y!==0){var S=h;for(S.pendingLanes|=2,S.entangledLanes|=2;y;){var w=1<<31-Ve(y);S.entanglements[1]|=w,y&=~w}sn(h),(De&6)===0&&(Tr=yt()+500,ua(0))}}break;case 31:case 13:S=fl(h,2),S!==null&&At(S,h,2),Nr(),ko(h,2)}if(h=wo(r),h===null&&oo(e,t,r,Xr,l),h===o)break;o=h}o!==null&&r.stopPropagation()}else oo(e,t,r,null,l)}}function wo(e){return e=Cu(e),Co(e)}var Xr=null;function Co(e){if(Xr=null,e=jl(e),e!==null){var t=c(e);if(t===null)e=null;else{var l=t.tag;if(l===13){if(e=f(t),e!==null)return e;e=null}else if(l===31){if(e=d(t),e!==null)return e;e=null}else if(l===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Xr=e,null}function Sm(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(pu()){case Q:return 2;case W:return 8;case me:case ze:return 32;case Re:return 268435456;default:return 32}default:return 32}}var To=!1,Pn=null,el=null,tl=null,ma=new Map,pa=new Map,nl=[],h1="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 zm(e,t){switch(e){case"focusin":case"focusout":Pn=null;break;case"dragenter":case"dragleave":el=null;break;case"mouseover":case"mouseout":tl=null;break;case"pointerover":case"pointerout":ma.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":pa.delete(t.pointerId)}}function ga(e,t,l,r,o,h){return e===null||e.nativeEvent!==h?(e={blockedOn:t,domEventName:l,eventSystemFlags:r,nativeEvent:h,targetContainers:[o]},t!==null&&(t=Ol(t),t!==null&&bm(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function d1(e,t,l,r,o){switch(t){case"focusin":return Pn=ga(Pn,e,t,l,r,o),!0;case"dragenter":return el=ga(el,e,t,l,r,o),!0;case"mouseover":return tl=ga(tl,e,t,l,r,o),!0;case"pointerover":var h=o.pointerId;return ma.set(h,ga(ma.get(h)||null,e,t,l,r,o)),!0;case"gotpointercapture":return h=o.pointerId,pa.set(h,ga(pa.get(h)||null,e,t,l,r,o)),!0}return!1}function km(e){var t=jl(e.target);if(t!==null){var l=c(t);if(l!==null){if(t=l.tag,t===13){if(t=f(l),t!==null){e.blockedOn=t,Lc(e.priority,function(){vm(l)});return}}else if(t===31){if(t=d(l),t!==null){e.blockedOn=t,Lc(e.priority,function(){vm(l)});return}}else if(t===3&&l.stateNode.current.memoizedState.isDehydrated){e.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Zr(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var l=wo(e.nativeEvent);if(l===null){l=e.nativeEvent;var r=new l.constructor(l.type,l);wu=r,l.target.dispatchEvent(r),wu=null}else return t=Ol(l),t!==null&&bm(t),e.blockedOn=l,!1;t.shift()}return!0}function Em(e,t,l){Zr(e)&&l.delete(t)}function m1(){To=!1,Pn!==null&&Zr(Pn)&&(Pn=null),el!==null&&Zr(el)&&(el=null),tl!==null&&Zr(tl)&&(tl=null),ma.forEach(Em),pa.forEach(Em)}function Fr(e,t){e.blockedOn===t&&(e.blockedOn=null,To||(To=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,m1)))}var Kr=null;function wm(e){Kr!==e&&(Kr=e,n.unstable_scheduleCallback(n.unstable_NormalPriority,function(){Kr===e&&(Kr=null);for(var t=0;t<e.length;t+=3){var l=e[t],r=e[t+1],o=e[t+2];if(typeof r!="function"){if(Co(r||l)===null)continue;break}var h=Ol(l);h!==null&&(e.splice(t,3),t-=3,Es(h,{pending:!0,data:o,method:l.method,action:r},r,o))}}))}function mi(e){function t(w){return Fr(w,e)}Pn!==null&&Fr(Pn,e),el!==null&&Fr(el,e),tl!==null&&Fr(tl,e),ma.forEach(t),pa.forEach(t);for(var l=0;l<nl.length;l++){var r=nl[l];r.blockedOn===e&&(r.blockedOn=null)}for(;0<nl.length&&(l=nl[0],l.blockedOn===null);)km(l),l.blockedOn===null&&nl.shift();if(l=(e.ownerDocument||e).$$reactFormReplay,l!=null)for(r=0;r<l.length;r+=3){var o=l[r],h=l[r+1],y=o[zt]||null;if(typeof h=="function")y||wm(l);else if(y){var S=null;if(h&&h.hasAttribute("formAction")){if(o=h,y=h[zt]||null)S=y.formAction;else if(Co(o)!==null)continue}else S=y.action;typeof S=="function"?l[r+1]=S:(l.splice(r,3),r-=3),wm(l)}}}function Cm(){function e(h){h.canIntercept&&h.info==="react-transition"&&h.intercept({handler:function(){return new Promise(function(y){return o=y})},focusReset:"manual",scroll:"manual"})}function t(){o!==null&&(o(),o=null),r||setTimeout(l,20)}function l(){if(!r&&!navigation.transition){var h=navigation.currentEntry;h&&h.url!=null&&navigation.navigate(h.url,{state:h.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var r=!1,o=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(l,100),function(){r=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),o!==null&&(o(),o=null)}}}function Ao(e){this._internalRoot=e}Jr.prototype.render=Ao.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(u(409));var l=t.current,r=Ut();ym(l,r,e,t,null,null)},Jr.prototype.unmount=Ao.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;ym(e.current,2,null,e,null,null),Nr(),t[Ml]=null}};function Jr(e){this._internalRoot=e}Jr.prototype.unstable_scheduleHydration=function(e){if(e){var t=Rc();e={blockedOn:null,target:e,priority:t};for(var l=0;l<nl.length&&t!==0&&t<nl[l].priority;l++);nl.splice(l,0,e),l===0&&km(e)}};var Tm=a.version;if(Tm!=="19.2.3")throw Error(u(527,Tm,"19.2.3"));F.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(u(188)):(e=Object.keys(e).join(","),Error(u(268,e)));return e=m(t),e=e!==null?x(e):null,e=e===null?null:e.stateNode,e};var p1={bundleType:0,version:"19.2.3",rendererPackageName:"react-dom",currentDispatcherRef:R,reconcilerVersion:"19.2.3"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ir=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ir.isDisabled&&Ir.supportsFiber)try{xt=Ir.inject(p1),at=Ir}catch{}}return xa.createRoot=function(e,t){if(!s(e))throw Error(u(299));var l=!1,r="",o=Dh,h=Rh,y=Lh;return t!=null&&(t.unstable_strictMode===!0&&(l=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(h=t.onCaughtError),t.onRecoverableError!==void 0&&(y=t.onRecoverableError)),t=pm(e,1,!1,null,null,l,r,null,o,h,y,Cm),e[Ml]=t.current,so(e),new Ao(t)},xa.hydrateRoot=function(e,t,l){if(!s(e))throw Error(u(299));var r=!1,o="",h=Dh,y=Rh,S=Lh,w=null;return l!=null&&(l.unstable_strictMode===!0&&(r=!0),l.identifierPrefix!==void 0&&(o=l.identifierPrefix),l.onUncaughtError!==void 0&&(h=l.onUncaughtError),l.onCaughtError!==void 0&&(y=l.onCaughtError),l.onRecoverableError!==void 0&&(S=l.onRecoverableError),l.formState!==void 0&&(w=l.formState)),t=pm(e,1,!0,t,l??null,r,o,w,h,y,S,Cm),t.context=gm(null),l=t.current,r=Ut(),r=yu(r),o=Yn(r),o.callback=null,Vn(l,o,r),l=r,t.current.lanes=l,Ti(t,l),sn(t),e[Ml]=t.current,so(e),new Jr(t)},xa.version="19.2.3",xa}var Bm;function E1(){if(Bm)return Mo.exports;Bm=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(a){console.error(a)}}return n(),Mo.exports=k1(),Mo.exports}var w1=E1(),C1=Bp();function pi(n,a,i){let u=i.initialDeps??[],s,c=!0;function f(){var d,p,m;let x;i.key&&((d=i.debug)!=null&&d.call(i))&&(x=Date.now());const g=n();if(!(g.length!==u.length||g.some((C,N)=>u[N]!==C)))return s;u=g;let v;if(i.key&&((p=i.debug)!=null&&p.call(i))&&(v=Date.now()),s=a(...g),i.key&&((m=i.debug)!=null&&m.call(i))){const C=Math.round((Date.now()-x)*100)/100,N=Math.round((Date.now()-v)*100)/100,Y=N/16,M=(H,L)=>{for(H=String(H);H.length<L;)H=" "+H;return H};console.info(`%c⏱ ${M(N,5)} /${M(C,5)} ms`,`
|
|
50
|
-
font-size: .6rem;
|
|
51
|
-
font-weight: bold;
|
|
52
|
-
color: hsl(${Math.max(0,Math.min(120-120*Y,120))}deg 100% 31%);`,i==null?void 0:i.key)}return i!=null&&i.onChange&&!(c&&i.skipInitialOnChange)&&i.onChange(s),c=!1,s}return f.updateDeps=d=>{u=d},f}function Um(n,a){if(n===void 0)throw new Error("Unexpected undefined");return n}const T1=(n,a)=>Math.abs(n-a)<1.01,A1=(n,a,i)=>{let u;return function(...s){n.clearTimeout(u),u=n.setTimeout(()=>a.apply(this,s),i)}},Hm=n=>{const{offsetWidth:a,offsetHeight:i}=n;return{width:a,height:i}},N1=n=>n,_1=n=>{const a=Math.max(n.startIndex-n.overscan,0),i=Math.min(n.endIndex+n.overscan,n.count-1),u=[];for(let s=a;s<=i;s++)u.push(s);return u},M1=(n,a)=>{const i=n.scrollElement;if(!i)return;const u=n.targetWindow;if(!u)return;const s=f=>{const{width:d,height:p}=f;a({width:Math.round(d),height:Math.round(p)})};if(s(Hm(i)),!u.ResizeObserver)return()=>{};const c=new u.ResizeObserver(f=>{const d=()=>{const p=f[0];if(p!=null&&p.borderBoxSize){const m=p.borderBoxSize[0];if(m){s({width:m.inlineSize,height:m.blockSize});return}}s(Hm(i))};n.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(d):d()});return c.observe(i,{box:"border-box"}),()=>{c.unobserve(i)}},qm={passive:!0},Ym=typeof window>"u"?!0:"onscrollend"in window,j1=(n,a)=>{const i=n.scrollElement;if(!i)return;const u=n.targetWindow;if(!u)return;let s=0;const c=n.options.useScrollendEvent&&Ym?()=>{}:A1(u,()=>{a(s,!1)},n.options.isScrollingResetDelay),f=x=>()=>{const{horizontal:g,isRtl:b}=n.options;s=g?i.scrollLeft*(b&&-1||1):i.scrollTop,c(),a(s,x)},d=f(!0),p=f(!1);p(),i.addEventListener("scroll",d,qm);const m=n.options.useScrollendEvent&&Ym;return m&&i.addEventListener("scrollend",p,qm),()=>{i.removeEventListener("scroll",d),m&&i.removeEventListener("scrollend",p)}},O1=(n,a,i)=>{if(a!=null&&a.borderBoxSize){const u=a.borderBoxSize[0];if(u)return Math.round(u[i.options.horizontal?"inlineSize":"blockSize"])}return n[i.options.horizontal?"offsetWidth":"offsetHeight"]},D1=(n,{adjustments:a=0,behavior:i},u)=>{var s,c;const f=n+a;(c=(s=u.scrollElement)==null?void 0:s.scrollTo)==null||c.call(s,{[u.options.horizontal?"left":"top"]:f,behavior:i})};class R1{constructor(a){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.measurementsCache=[],this.itemSizeCache=new Map,this.laneAssignments=new Map,this.pendingMeasuredCacheIndexes=[],this.prevLanes=void 0,this.lanesChangedFlag=!1,this.lanesSettling=!1,this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let i=null;const u=()=>i||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:i=new this.targetWindow.ResizeObserver(s=>{s.forEach(c=>{const f=()=>{this._measureElement(c.target,c)};this.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(f):f()})}));return{disconnect:()=>{var s;(s=u())==null||s.disconnect(),i=null},observe:s=>{var c;return(c=u())==null?void 0:c.observe(s,{box:"border-box"})},unobserve:s=>{var c;return(c=u())==null?void 0:c.unobserve(s)}}})(),this.range=null,this.setOptions=i=>{Object.entries(i).forEach(([u,s])=>{typeof s>"u"&&delete i[u]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:N1,rangeExtractor:_1,onChange:()=>{},measureElement:O1,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!1,useAnimationFrameWithResizeObserver:!1,...i}},this.notify=i=>{var u,s;(s=(u=this.options).onChange)==null||s.call(u,this,i)},this.maybeNotify=pi(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),i=>{this.notify(i)},{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(i=>i()),this.unsubs=[],this.observer.disconnect(),this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var i;const u=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==u){if(this.cleanup(),!u){this.maybeNotify();return}this.scrollElement=u,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=((i=this.scrollElement)==null?void 0:i.window)??null,this.elementsCache.forEach(s=>{this.observer.observe(s)}),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,s=>{this.scrollRect=s,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(s,c)=>{this.scrollAdjustments=0,this.scrollDirection=c?this.getScrollOffset()<s?"forward":"backward":null,this.scrollOffset=s,this.isScrolling=c,this.maybeNotify()}))}},this.getSize=()=>this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??(typeof this.options.initialOffset=="function"?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getFurthestMeasurement=(i,u)=>{const s=new Map,c=new Map;for(let f=u-1;f>=0;f--){const d=i[f];if(s.has(d.lane))continue;const p=c.get(d.lane);if(p==null||d.end>p.end?c.set(d.lane,d):d.end<p.end&&s.set(d.lane,!0),s.size===this.options.lanes)break}return c.size===this.options.lanes?Array.from(c.values()).sort((f,d)=>f.end===d.end?f.index-d.index:f.end-d.end)[0]:void 0},this.getMeasurementOptions=pi(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled,this.options.lanes],(i,u,s,c,f,d)=>(this.prevLanes!==void 0&&this.prevLanes!==d&&(this.lanesChangedFlag=!0),this.prevLanes=d,this.pendingMeasuredCacheIndexes=[],{count:i,paddingStart:u,scrollMargin:s,getItemKey:c,enabled:f,lanes:d}),{key:!1,skipInitialOnChange:!0,onChange:()=>{this.notify(this.isScrolling)}}),this.getMeasurements=pi(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:i,paddingStart:u,scrollMargin:s,getItemKey:c,enabled:f,lanes:d},p)=>{if(!f)return this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),[];if(this.laneAssignments.size>i)for(const b of this.laneAssignments.keys())b>=i&&this.laneAssignments.delete(b);this.lanesChangedFlag&&(this.lanesChangedFlag=!1,this.lanesSettling=!0,this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),this.pendingMeasuredCacheIndexes=[]),this.measurementsCache.length===0&&!this.lanesSettling&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(b=>{this.itemSizeCache.set(b.key,b.size)}));const m=this.lanesSettling?0:this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[],this.lanesSettling&&this.measurementsCache.length===i&&(this.lanesSettling=!1);const x=this.measurementsCache.slice(0,m),g=new Array(d).fill(void 0);for(let b=0;b<m;b++){const v=x[b];v&&(g[v.lane]=b)}for(let b=m;b<i;b++){const v=c(b),C=this.laneAssignments.get(b);let N,Y;if(C!==void 0&&this.options.lanes>1){N=C;const I=g[N],J=I!==void 0?x[I]:void 0;Y=J?J.end+this.options.gap:u+s}else{const I=this.options.lanes===1?x[b-1]:this.getFurthestMeasurement(x,b);Y=I?I.end+this.options.gap:u+s,N=I?I.lane:b%this.options.lanes,this.options.lanes>1&&this.laneAssignments.set(b,N)}const M=p.get(v),H=typeof M=="number"?M:this.options.estimateSize(b),L=Y+H;x[b]={index:b,start:Y,size:H,end:L,key:v,lane:N},g[N]=b}return this.measurementsCache=x,x},{key:!1,debug:()=>this.options.debug}),this.calculateRange=pi(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset(),this.options.lanes],(i,u,s,c)=>this.range=i.length>0&&u>0?L1({measurements:i,outerSize:u,scrollOffset:s,lanes:c}):null,{key:!1,debug:()=>this.options.debug}),this.getVirtualIndexes=pi(()=>{let i=null,u=null;const s=this.calculateRange();return s&&(i=s.startIndex,u=s.endIndex),this.maybeNotify.updateDeps([this.isScrolling,i,u]),[this.options.rangeExtractor,this.options.overscan,this.options.count,i,u]},(i,u,s,c,f)=>c===null||f===null?[]:i({startIndex:c,endIndex:f,overscan:u,count:s}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=i=>{const u=this.options.indexAttribute,s=i.getAttribute(u);return s?parseInt(s,10):(console.warn(`Missing attribute name '${u}={index}' on measured element.`),-1)},this._measureElement=(i,u)=>{const s=this.indexFromElement(i),c=this.measurementsCache[s];if(!c)return;const f=c.key,d=this.elementsCache.get(f);d!==i&&(d&&this.observer.unobserve(d),this.observer.observe(i),this.elementsCache.set(f,i)),i.isConnected&&this.resizeItem(s,this.options.measureElement(i,u,this))},this.resizeItem=(i,u)=>{const s=this.measurementsCache[i];if(!s)return;const c=this.itemSizeCache.get(s.key)??s.size,f=u-c;f!==0&&((this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(s,f,this):s.start<this.getScrollOffset()+this.scrollAdjustments)&&this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=f,behavior:void 0}),this.pendingMeasuredCacheIndexes.push(s.index),this.itemSizeCache=new Map(this.itemSizeCache.set(s.key,u)),this.notify(!1))},this.measureElement=i=>{if(!i){this.elementsCache.forEach((u,s)=>{u.isConnected||(this.observer.unobserve(u),this.elementsCache.delete(s))});return}this._measureElement(i,void 0)},this.getVirtualItems=pi(()=>[this.getVirtualIndexes(),this.getMeasurements()],(i,u)=>{const s=[];for(let c=0,f=i.length;c<f;c++){const d=i[c],p=u[d];s.push(p)}return s},{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=i=>{const u=this.getMeasurements();if(u.length!==0)return Um(u[Up(0,u.length-1,s=>Um(u[s]).start,i)])},this.getOffsetForAlignment=(i,u,s=0)=>{const c=this.getSize(),f=this.getScrollOffset();u==="auto"&&(u=i>=f+c?"end":"start"),u==="center"?i+=(s-c)/2:u==="end"&&(i-=c);const d=this.getTotalSize()+this.options.scrollMargin-c;return Math.max(Math.min(d,i),0)},this.getOffsetForIndex=(i,u="auto")=>{i=Math.max(0,Math.min(i,this.options.count-1));const s=this.measurementsCache[i];if(!s)return;const c=this.getSize(),f=this.getScrollOffset();if(u==="auto")if(s.end>=f+c-this.options.scrollPaddingEnd)u="end";else if(s.start<=f+this.options.scrollPaddingStart)u="start";else return[f,u];const d=u==="end"?s.end+this.options.scrollPaddingEnd:s.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(d,u,s.size),u]},this.isDynamicMode=()=>this.elementsCache.size>0,this.scrollToOffset=(i,{align:u="start",behavior:s}={})=>{s==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(i,u),{adjustments:void 0,behavior:s})},this.scrollToIndex=(i,{align:u="auto",behavior:s}={})=>{s==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),i=Math.max(0,Math.min(i,this.options.count-1));let c=0;const f=10,d=m=>{if(!this.targetWindow)return;const x=this.getOffsetForIndex(i,m);if(!x){console.warn("Failed to get offset for index:",i);return}const[g,b]=x;this._scrollToOffset(g,{adjustments:void 0,behavior:s}),this.targetWindow.requestAnimationFrame(()=>{const v=this.getScrollOffset(),C=this.getOffsetForIndex(i,b);if(!C){console.warn("Failed to get offset for index:",i);return}T1(C[0],v)||p(b)})},p=m=>{this.targetWindow&&(c++,c<f?this.targetWindow.requestAnimationFrame(()=>d(m)):console.warn(`Failed to scroll to index ${i} after ${f} attempts.`))};d(u)},this.scrollBy=(i,{behavior:u}={})=>{u==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+i,{adjustments:void 0,behavior:u})},this.getTotalSize=()=>{var i;const u=this.getMeasurements();let s;if(u.length===0)s=this.options.paddingStart;else if(this.options.lanes===1)s=((i=u[u.length-1])==null?void 0:i.end)??0;else{const c=Array(this.options.lanes).fill(null);let f=u.length-1;for(;f>=0&&c.some(d=>d===null);){const d=u[f];c[d.lane]===null&&(c[d.lane]=d.end),f--}s=Math.max(...c.filter(d=>d!==null))}return Math.max(s-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(i,{adjustments:u,behavior:s})=>{this.options.scrollToFn(i,{behavior:s,adjustments:u},this)},this.measure=()=>{this.itemSizeCache=new Map,this.laneAssignments=new Map,this.notify(!1)},this.setOptions(a)}}const Up=(n,a,i,u)=>{for(;n<=a;){const s=(n+a)/2|0,c=i(s);if(c<u)n=s+1;else if(c>u)a=s-1;else return s}return n>0?n-1:0};function L1({measurements:n,outerSize:a,scrollOffset:i,lanes:u}){const s=n.length-1,c=p=>n[p].start;if(n.length<=u)return{startIndex:0,endIndex:s};let f=Up(0,s,c,i),d=f;if(u===1)for(;d<s&&n[d].end<i+a;)d++;else if(u>1){const p=Array(u).fill(0);for(;d<s&&p.some(x=>x<i+a);){const x=n[d];p[x.lane]=x.end,d++}const m=Array(u).fill(i+a);for(;f>=0&&m.some(x=>x>=i);){const x=n[f];m[x.lane]=x.start,f--}f=Math.max(0,f-f%u),d=Math.min(s,d+(u-1-d%u))}return{startIndex:f,endIndex:d}}const Vm=typeof document<"u"?de.useLayoutEffect:de.useEffect;function B1(n){const a=de.useReducer(()=>({}),{})[1],i={...n,onChange:(s,c)=>{var f;c?C1.flushSync(a):a(),(f=n.onChange)==null||f.call(n,s,c)}},[u]=de.useState(()=>new R1(i));return u.setOptions(i),Vm(()=>u._didMount(),[]),Vm(()=>u._willUpdate()),u}function U1(n){return B1({observeElementRect:M1,observeElementOffset:j1,scrollToFn:D1,...n})}function H1(n){const a=new Date(n),u=new Date().getTime()-a.getTime(),s=Math.floor(u/6e4),c=Math.floor(u/36e5),f=Math.floor(u/864e5);return s<1?"Just now":s<60?`${s}m`:c<24?`${c}h`:f<7?`${f}d`:a.toLocaleDateString()}const q1=[/<command-name>[^<]*<\/command-name>/g,/<command-message>[^<]*<\/command-message>/g,/<command-args>[^<]*<\/command-args>/g,/<local-command-stdout>[^<]*<\/local-command-stdout>/g,/<system-reminder>[\s\S]*?<\/system-reminder>/g,/^\s*Caveat:.*?unless the user explicitly asks you to\./s];function bi(n){let a=n;for(const i of q1)a=a.replace(i,"");return a.trim()}const Y1=de.memo(function(a){const{sessions:i,selectedSession:u,onSelectSession:s,loading:c}=a,[f,d]=de.useState(""),p=de.useRef(null),m=de.useMemo(()=>{if(!f.trim())return i;const g=f.toLowerCase();return i.filter(b=>b.display.toLowerCase().includes(g)||b.projectName.toLowerCase().includes(g))},[i,f]),x=U1({count:m.length,getScrollElement:()=>p.current,estimateSize:()=>76,overscan:10,measureElement:g=>g.getBoundingClientRect().height});return z.jsxs("div",{className:"h-full overflow-hidden bg-zinc-950 flex flex-col",children:[z.jsx("div",{className:"px-3 py-2 border-b border-zinc-800/60",children:z.jsxs("div",{className:"flex items-center gap-2 text-zinc-500",children:[z.jsx("svg",{className:"w-4 h-4 flex-shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:z.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})}),z.jsx("input",{type:"text",value:f,onChange:g=>d(g.target.value),placeholder:"Search...",className:"flex-1 bg-transparent text-sm text-zinc-200 placeholder-zinc-600 focus:outline-none"}),f&&z.jsx("button",{onClick:()=>d(""),className:"text-zinc-600 hover:text-zinc-400 transition-colors",children:z.jsx("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:z.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]})}),z.jsx("div",{ref:p,className:"flex-1 overflow-y-auto",children:c?z.jsx("div",{className:"flex items-center justify-center py-8",children:z.jsxs("svg",{className:"w-5 h-5 text-zinc-600 animate-spin",fill:"none",viewBox:"0 0 24 24",children:[z.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),z.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})}):m.length===0?z.jsx("p",{className:"py-8 text-center text-xs text-zinc-600",children:f?"No sessions match":"No sessions found"}):z.jsx("div",{style:{height:`${x.getTotalSize()}px`,width:"100%",position:"relative"},children:x.getVirtualItems().map(g=>{const b=m[g.index];return z.jsxs("button",{"data-index":g.index,ref:x.measureElement,onClick:()=>s(b.id),style:{position:"absolute",top:0,left:0,width:"100%",transform:`translateY(${g.start}px)`},className:`px-3 py-3.5 text-left transition-colors overflow-hidden border-b border-zinc-800/40 ${u===b.id?"bg-cyan-700/30":"hover:bg-zinc-900/60"} ${g.index===0?"border-t border-t-zinc-800/40":""}`,children:[z.jsxs("div",{className:"flex items-center justify-between mb-1",children:[z.jsx("span",{className:"text-[10px] text-zinc-500 font-medium",children:b.projectName}),z.jsx("span",{className:"text-[10px] text-zinc-600",children:H1(b.timestamp)})]}),z.jsx("p",{className:"text-[12px] text-zinc-300 leading-snug line-clamp-2 break-words",children:b.display})]},b.id)})})}),z.jsx("div",{className:"px-3 py-2 border-t border-zinc-800/60",children:z.jsxs("div",{className:"text-[10px] text-zinc-600 text-center",children:[i.length," session",i.length!==1?"s":""]})})]})});/**
|
|
53
|
-
* @license lucide-react v0.562.0 - ISC
|
|
54
|
-
*
|
|
55
|
-
* This source code is licensed under the ISC license.
|
|
56
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
57
|
-
*/const V1=n=>n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),G1=n=>n.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,i,u)=>u?u.toUpperCase():i.toLowerCase()),Gm=n=>{const a=G1(n);return a.charAt(0).toUpperCase()+a.slice(1)},Hp=(...n)=>n.filter((a,i,u)=>!!a&&a.trim()!==""&&u.indexOf(a)===i).join(" ").trim(),Q1=n=>{for(const a in n)if(a.startsWith("aria-")||a==="role"||a==="title")return!0};/**
|
|
58
|
-
* @license lucide-react v0.562.0 - ISC
|
|
59
|
-
*
|
|
60
|
-
* This source code is licensed under the ISC license.
|
|
61
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
62
|
-
*/var X1={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
|
|
63
|
-
* @license lucide-react v0.562.0 - ISC
|
|
64
|
-
*
|
|
65
|
-
* This source code is licensed under the ISC license.
|
|
66
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
67
|
-
*/const Z1=de.forwardRef(({color:n="currentColor",size:a=24,strokeWidth:i=2,absoluteStrokeWidth:u,className:s="",children:c,iconNode:f,...d},p)=>de.createElement("svg",{ref:p,...X1,width:a,height:a,stroke:n,strokeWidth:u?Number(i)*24/Number(a):i,className:Hp("lucide",s),...!c&&!Q1(d)&&{"aria-hidden":"true"},...d},[...f.map(([m,x])=>de.createElement(m,x)),...Array.isArray(c)?c:[c]]));/**
|
|
68
|
-
* @license lucide-react v0.562.0 - ISC
|
|
69
|
-
*
|
|
70
|
-
* This source code is licensed under the ISC license.
|
|
71
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
72
|
-
*/const Me=(n,a)=>{const i=de.forwardRef(({className:u,...s},c)=>de.createElement(Z1,{ref:c,iconNode:a,className:Hp(`lucide-${V1(Gm(n))}`,`lucide-${n}`,u),...s}));return i.displayName=Gm(n),i};/**
|
|
73
|
-
* @license lucide-react v0.562.0 - ISC
|
|
74
|
-
*
|
|
75
|
-
* This source code is licensed under the ISC license.
|
|
76
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
77
|
-
*/const F1=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],K1=Me("arrow-right",F1);/**
|
|
78
|
-
* @license lucide-react v0.562.0 - ISC
|
|
79
|
-
*
|
|
80
|
-
* This source code is licensed under the ISC license.
|
|
81
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
82
|
-
*/const J1=[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]],qp=Me("bot",J1);/**
|
|
83
|
-
* @license lucide-react v0.562.0 - ISC
|
|
84
|
-
*
|
|
85
|
-
* This source code is licensed under the ISC license.
|
|
86
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
87
|
-
*/const I1=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],uu=Me("check",I1);/**
|
|
88
|
-
* @license lucide-react v0.562.0 - ISC
|
|
89
|
-
*
|
|
90
|
-
* This source code is licensed under the ISC license.
|
|
91
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
92
|
-
*/const $1=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],Yp=Me("circle-check",$1);/**
|
|
93
|
-
* @license lucide-react v0.562.0 - ISC
|
|
94
|
-
*
|
|
95
|
-
* This source code is licensed under the ISC license.
|
|
96
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
97
|
-
*/const W1=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]],P1=Me("circle-question-mark",W1);/**
|
|
98
|
-
* @license lucide-react v0.562.0 - ISC
|
|
99
|
-
*
|
|
100
|
-
* This source code is licensed under the ISC license.
|
|
101
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
102
|
-
*/const ex=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],tx=Me("circle",ex);/**
|
|
103
|
-
* @license lucide-react v0.562.0 - ISC
|
|
104
|
-
*
|
|
105
|
-
* This source code is licensed under the ISC license.
|
|
106
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
107
|
-
*/const nx=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],Vp=Me("copy",nx);/**
|
|
108
|
-
* @license lucide-react v0.562.0 - ISC
|
|
109
|
-
*
|
|
110
|
-
* This source code is licensed under the ISC license.
|
|
111
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
112
|
-
*/const lx=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]],ix=Me("database",lx);/**
|
|
113
|
-
* @license lucide-react v0.562.0 - ISC
|
|
114
|
-
*
|
|
115
|
-
* This source code is licensed under the ISC license.
|
|
116
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
117
|
-
*/const ax=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 12.5 8 15l2 2.5",key:"1tg20x"}],["path",{d:"m14 12.5 2 2.5-2 2.5",key:"yinavb"}]],Gp=Me("file-code",ax);/**
|
|
118
|
-
* @license lucide-react v0.562.0 - ISC
|
|
119
|
-
*
|
|
120
|
-
* This source code is licensed under the ISC license.
|
|
121
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
122
|
-
*/const rx=[["path",{d:"M12.659 22H18a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v9.34",key:"o6klzx"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10.378 12.622a1 1 0 0 1 3 3.003L8.36 20.637a2 2 0 0 1-.854.506l-2.867.837a.5.5 0 0 1-.62-.62l.836-2.869a2 2 0 0 1 .506-.853z",key:"zhnas1"}]],ux=Me("file-pen",rx);/**
|
|
123
|
-
* @license lucide-react v0.562.0 - ISC
|
|
124
|
-
*
|
|
125
|
-
* This source code is licensed under the ISC license.
|
|
126
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
127
|
-
*/const sx=[["path",{d:"M11.35 22H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v5.35",key:"17jvcc"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M14 19h6",key:"bvotb8"}],["path",{d:"M17 16v6",key:"18yu1i"}]],Qp=Me("file-plus-corner",sx);/**
|
|
128
|
-
* @license lucide-react v0.562.0 - ISC
|
|
129
|
-
*
|
|
130
|
-
* This source code is licensed under the ISC license.
|
|
131
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
132
|
-
*/const ox=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],Xp=Me("file-text",ox);/**
|
|
133
|
-
* @license lucide-react v0.562.0 - ISC
|
|
134
|
-
*
|
|
135
|
-
* This source code is licensed under the ISC license.
|
|
136
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
137
|
-
*/const cx=[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]],hc=Me("folder-open",cx);/**
|
|
138
|
-
* @license lucide-react v0.562.0 - ISC
|
|
139
|
-
*
|
|
140
|
-
* This source code is licensed under the ISC license.
|
|
141
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
142
|
-
*/const fx=[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]],hx=Me("git-branch",fx);/**
|
|
143
|
-
* @license lucide-react v0.562.0 - ISC
|
|
144
|
-
*
|
|
145
|
-
* This source code is licensed under the ISC license.
|
|
146
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
147
|
-
*/const dx=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],mx=Me("globe",dx);/**
|
|
148
|
-
* @license lucide-react v0.562.0 - ISC
|
|
149
|
-
*
|
|
150
|
-
* This source code is licensed under the ISC license.
|
|
151
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
152
|
-
*/const px=[["line",{x1:"22",x2:"2",y1:"12",y2:"12",key:"1y58io"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}],["line",{x1:"6",x2:"6.01",y1:"16",y2:"16",key:"sgf278"}],["line",{x1:"10",x2:"10.01",y1:"16",y2:"16",key:"1l4acy"}]],gx=Me("hard-drive",px);/**
|
|
153
|
-
* @license lucide-react v0.562.0 - ISC
|
|
154
|
-
*
|
|
155
|
-
* This source code is licensed under the ISC license.
|
|
156
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
157
|
-
*/const yx=[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]],xx=Me("lightbulb",yx);/**
|
|
158
|
-
* @license lucide-react v0.562.0 - ISC
|
|
159
|
-
*
|
|
160
|
-
* This source code is licensed under the ISC license.
|
|
161
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
162
|
-
*/const bx=[["path",{d:"M13 5h8",key:"a7qcls"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 19h8",key:"c3s6r1"}],["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["rect",{x:"3",y:"4",width:"6",height:"6",rx:"1",key:"cif1o7"}]],Zp=Me("list-todo",bx);/**
|
|
163
|
-
* @license lucide-react v0.562.0 - ISC
|
|
164
|
-
*
|
|
165
|
-
* This source code is licensed under the ISC license.
|
|
166
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
167
|
-
*/const vx=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],Sx=Me("loader-circle",vx);/**
|
|
168
|
-
* @license lucide-react v0.562.0 - ISC
|
|
169
|
-
*
|
|
170
|
-
* This source code is licensed under the ISC license.
|
|
171
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
172
|
-
*/const zx=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]],kx=Me("message-square",zx);/**
|
|
173
|
-
* @license lucide-react v0.562.0 - ISC
|
|
174
|
-
*
|
|
175
|
-
* This source code is licensed under the ISC license.
|
|
176
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
177
|
-
*/const Ex=[["path",{d:"M5 12h14",key:"1ays0h"}]],wx=Me("minus",Ex);/**
|
|
178
|
-
* @license lucide-react v0.562.0 - ISC
|
|
179
|
-
*
|
|
180
|
-
* This source code is licensed under the ISC license.
|
|
181
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
182
|
-
*/const Cx=[["rect",{x:"14",y:"3",width:"5",height:"18",rx:"1",key:"kaeet6"}],["rect",{x:"5",y:"3",width:"5",height:"18",rx:"1",key:"1wsw3u"}]],Tx=Me("pause",Cx);/**
|
|
183
|
-
* @license lucide-react v0.562.0 - ISC
|
|
184
|
-
*
|
|
185
|
-
* This source code is licensed under the ISC license.
|
|
186
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
187
|
-
*/const Ax=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]],Nx=Me("pencil",Ax);/**
|
|
188
|
-
* @license lucide-react v0.562.0 - ISC
|
|
189
|
-
*
|
|
190
|
-
* This source code is licensed under the ISC license.
|
|
191
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
192
|
-
*/const _x=[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]],Fp=Me("play",_x);/**
|
|
193
|
-
* @license lucide-react v0.562.0 - ISC
|
|
194
|
-
*
|
|
195
|
-
* This source code is licensed under the ISC license.
|
|
196
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
197
|
-
*/const Mx=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],jx=Me("plus",Mx);/**
|
|
198
|
-
* @license lucide-react v0.562.0 - ISC
|
|
199
|
-
*
|
|
200
|
-
* This source code is licensed under the ISC license.
|
|
201
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
202
|
-
*/const Ox=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],Dx=Me("refresh-cw",Ox);/**
|
|
203
|
-
* @license lucide-react v0.562.0 - ISC
|
|
204
|
-
*
|
|
205
|
-
* This source code is licensed under the ISC license.
|
|
206
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
207
|
-
*/const Rx=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],nu=Me("search",Rx);/**
|
|
208
|
-
* @license lucide-react v0.562.0 - ISC
|
|
209
|
-
*
|
|
210
|
-
* This source code is licensed under the ISC license.
|
|
211
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
212
|
-
*/const Lx=[["path",{d:"M21 10.656V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.344",key:"2acyp4"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],Bx=Me("square-check-big",Lx);/**
|
|
213
|
-
* @license lucide-react v0.562.0 - ISC
|
|
214
|
-
*
|
|
215
|
-
* This source code is licensed under the ISC license.
|
|
216
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
217
|
-
*/const Ux=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],Hx=Me("square",Ux);/**
|
|
218
|
-
* @license lucide-react v0.562.0 - ISC
|
|
219
|
-
*
|
|
220
|
-
* This source code is licensed under the ISC license.
|
|
221
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
222
|
-
*/const qx=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],Kp=Me("terminal",qx);/**
|
|
223
|
-
* @license lucide-react v0.562.0 - ISC
|
|
224
|
-
*
|
|
225
|
-
* This source code is licensed under the ISC license.
|
|
226
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
227
|
-
*/const Yx=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],Vx=Me("triangle-alert",Yx);/**
|
|
228
|
-
* @license lucide-react v0.562.0 - ISC
|
|
229
|
-
*
|
|
230
|
-
* This source code is licensed under the ISC license.
|
|
231
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
232
|
-
*/const Gx=[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]],Qx=Me("wrench",Gx);/**
|
|
233
|
-
* @license lucide-react v0.562.0 - ISC
|
|
234
|
-
*
|
|
235
|
-
* This source code is licensed under the ISC license.
|
|
236
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
237
|
-
*/const Xx=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Zx=Me("x",Xx);function Fx(n,a){const i={};return(n[n.length-1]===""?[...n,""]:n).join((i.padRight?" ":"")+","+(i.padLeft===!1?"":" ")).trim()}const Kx=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Jx=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Ix={};function Qm(n,a){return(Ix.jsx?Jx:Kx).test(n)}const $x=/[ \t\n\f\r]/g;function Wx(n){return typeof n=="object"?n.type==="text"?Xm(n.value):!1:Xm(n)}function Xm(n){return n.replace($x,"")===""}class Aa{constructor(a,i,u){this.normal=i,this.property=a,u&&(this.space=u)}}Aa.prototype.normal={};Aa.prototype.property={};Aa.prototype.space=void 0;function Jp(n,a){const i={},u={};for(const s of n)Object.assign(i,s.property),Object.assign(u,s.normal);return new Aa(i,u,a)}function Po(n){return n.toLowerCase()}class _t{constructor(a,i){this.attribute=i,this.property=a}}_t.prototype.attribute="";_t.prototype.booleanish=!1;_t.prototype.boolean=!1;_t.prototype.commaOrSpaceSeparated=!1;_t.prototype.commaSeparated=!1;_t.prototype.defined=!1;_t.prototype.mustUseProperty=!1;_t.prototype.number=!1;_t.prototype.overloadedBoolean=!1;_t.prototype.property="";_t.prototype.spaceSeparated=!1;_t.prototype.space=void 0;let Px=0;const be=Cl(),it=Cl(),ec=Cl(),K=Cl(),Xe=Cl(),vi=Cl(),Ht=Cl();function Cl(){return 2**++Px}const tc=Object.freeze(Object.defineProperty({__proto__:null,boolean:be,booleanish:it,commaOrSpaceSeparated:Ht,commaSeparated:vi,number:K,overloadedBoolean:ec,spaceSeparated:Xe},Symbol.toStringTag,{value:"Module"})),Ro=Object.keys(tc);class dc extends _t{constructor(a,i,u,s){let c=-1;if(super(a,i),Zm(this,"space",s),typeof u=="number")for(;++c<Ro.length;){const f=Ro[c];Zm(this,Ro[c],(u&tc[f])===tc[f])}}}dc.prototype.defined=!0;function Zm(n,a,i){i&&(n[a]=i)}function zi(n){const a={},i={};for(const[u,s]of Object.entries(n.properties)){const c=new dc(u,n.transform(n.attributes||{},u),s,n.space);n.mustUseProperty&&n.mustUseProperty.includes(u)&&(c.mustUseProperty=!0),a[u]=c,i[Po(u)]=u,i[Po(c.attribute)]=u}return new Aa(a,i,n.space)}const Ip=zi({properties:{ariaActiveDescendant:null,ariaAtomic:it,ariaAutoComplete:null,ariaBusy:it,ariaChecked:it,ariaColCount:K,ariaColIndex:K,ariaColSpan:K,ariaControls:Xe,ariaCurrent:null,ariaDescribedBy:Xe,ariaDetails:null,ariaDisabled:it,ariaDropEffect:Xe,ariaErrorMessage:null,ariaExpanded:it,ariaFlowTo:Xe,ariaGrabbed:it,ariaHasPopup:null,ariaHidden:it,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Xe,ariaLevel:K,ariaLive:null,ariaModal:it,ariaMultiLine:it,ariaMultiSelectable:it,ariaOrientation:null,ariaOwns:Xe,ariaPlaceholder:null,ariaPosInSet:K,ariaPressed:it,ariaReadOnly:it,ariaRelevant:null,ariaRequired:it,ariaRoleDescription:Xe,ariaRowCount:K,ariaRowIndex:K,ariaRowSpan:K,ariaSelected:it,ariaSetSize:K,ariaSort:null,ariaValueMax:K,ariaValueMin:K,ariaValueNow:K,ariaValueText:null,role:null},transform(n,a){return a==="role"?a:"aria-"+a.slice(4).toLowerCase()}});function $p(n,a){return a in n?n[a]:a}function Wp(n,a){return $p(n,a.toLowerCase())}const eb=zi({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:vi,acceptCharset:Xe,accessKey:Xe,action:null,allow:null,allowFullScreen:be,allowPaymentRequest:be,allowUserMedia:be,alt:null,as:null,async:be,autoCapitalize:null,autoComplete:Xe,autoFocus:be,autoPlay:be,blocking:Xe,capture:null,charSet:null,checked:be,cite:null,className:Xe,cols:K,colSpan:null,content:null,contentEditable:it,controls:be,controlsList:Xe,coords:K|vi,crossOrigin:null,data:null,dateTime:null,decoding:null,default:be,defer:be,dir:null,dirName:null,disabled:be,download:ec,draggable:it,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:be,formTarget:null,headers:Xe,height:K,hidden:ec,high:K,href:null,hrefLang:null,htmlFor:Xe,httpEquiv:Xe,id:null,imageSizes:null,imageSrcSet:null,inert:be,inputMode:null,integrity:null,is:null,isMap:be,itemId:null,itemProp:Xe,itemRef:Xe,itemScope:be,itemType:Xe,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:be,low:K,manifest:null,max:null,maxLength:K,media:null,method:null,min:null,minLength:K,multiple:be,muted:be,name:null,nonce:null,noModule:be,noValidate:be,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:be,optimum:K,pattern:null,ping:Xe,placeholder:null,playsInline:be,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:be,referrerPolicy:null,rel:Xe,required:be,reversed:be,rows:K,rowSpan:K,sandbox:Xe,scope:null,scoped:be,seamless:be,selected:be,shadowRootClonable:be,shadowRootDelegatesFocus:be,shadowRootMode:null,shape:null,size:K,sizes:null,slot:null,span:K,spellCheck:it,src:null,srcDoc:null,srcLang:null,srcSet:null,start:K,step:null,style:null,tabIndex:K,target:null,title:null,translate:null,type:null,typeMustMatch:be,useMap:null,value:it,width:K,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Xe,axis:null,background:null,bgColor:null,border:K,borderColor:null,bottomMargin:K,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:be,declare:be,event:null,face:null,frame:null,frameBorder:null,hSpace:K,leftMargin:K,link:null,longDesc:null,lowSrc:null,marginHeight:K,marginWidth:K,noResize:be,noHref:be,noShade:be,noWrap:be,object:null,profile:null,prompt:null,rev:null,rightMargin:K,rules:null,scheme:null,scrolling:it,standby:null,summary:null,text:null,topMargin:K,valueType:null,version:null,vAlign:null,vLink:null,vSpace:K,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:be,disableRemotePlayback:be,prefix:null,property:null,results:K,security:null,unselectable:null},space:"html",transform:Wp}),tb=zi({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Ht,accentHeight:K,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:K,amplitude:K,arabicForm:null,ascent:K,attributeName:null,attributeType:null,azimuth:K,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:K,by:null,calcMode:null,capHeight:K,className:Xe,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:K,diffuseConstant:K,direction:null,display:null,dur:null,divisor:K,dominantBaseline:null,download:be,dx:null,dy:null,edgeMode:null,editable:null,elevation:K,enableBackground:null,end:null,event:null,exponent:K,externalResourcesRequired:null,fill:null,fillOpacity:K,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:vi,g2:vi,glyphName:vi,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:K,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:K,horizOriginX:K,horizOriginY:K,id:null,ideographic:K,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:K,k:K,k1:K,k2:K,k3:K,k4:K,kernelMatrix:Ht,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:K,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:K,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:K,overlineThickness:K,paintOrder:null,panose1:null,path:null,pathLength:K,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Xe,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:K,pointsAtY:K,pointsAtZ:K,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Ht,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Ht,rev:Ht,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Ht,requiredFeatures:Ht,requiredFonts:Ht,requiredFormats:Ht,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:K,specularExponent:K,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:K,strikethroughThickness:K,string:null,stroke:null,strokeDashArray:Ht,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:K,strokeOpacity:K,strokeWidth:null,style:null,surfaceScale:K,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Ht,tabIndex:K,tableValues:null,target:null,targetX:K,targetY:K,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Ht,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:K,underlineThickness:K,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:K,values:null,vAlphabetic:K,vMathematical:K,vectorEffect:null,vHanging:K,vIdeographic:K,version:null,vertAdvY:K,vertOriginX:K,vertOriginY:K,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:K,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:$p}),Pp=zi({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(n,a){return"xlink:"+a.slice(5).toLowerCase()}}),e0=zi({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Wp}),t0=zi({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(n,a){return"xml:"+a.slice(3).toLowerCase()}}),nb={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"},lb=/[A-Z]/g,Fm=/-[a-z]/g,ib=/^data[-\w.:]+$/i;function ab(n,a){const i=Po(a);let u=a,s=_t;if(i in n.normal)return n.property[n.normal[i]];if(i.length>4&&i.slice(0,4)==="data"&&ib.test(a)){if(a.charAt(4)==="-"){const c=a.slice(5).replace(Fm,ub);u="data"+c.charAt(0).toUpperCase()+c.slice(1)}else{const c=a.slice(4);if(!Fm.test(c)){let f=c.replace(lb,rb);f.charAt(0)!=="-"&&(f="-"+f),a="data"+f}}s=dc}return new s(u,a)}function rb(n){return"-"+n.toLowerCase()}function ub(n){return n.charAt(1).toUpperCase()}const sb=Jp([Ip,eb,Pp,e0,t0],"html"),mc=Jp([Ip,tb,Pp,e0,t0],"svg");function ob(n){return n.join(" ").trim()}var gi={},Lo,Km;function cb(){if(Km)return Lo;Km=1;var n=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,a=/\n/g,i=/^\s*/,u=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,s=/^:\s*/,c=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,f=/^[;\s]*/,d=/^\s+|\s+$/g,p=`
|
|
238
|
-
`,m="/",x="*",g="",b="comment",v="declaration";function C(Y,M){if(typeof Y!="string")throw new TypeError("First argument must be a string");if(!Y)return[];M=M||{};var H=1,L=1;function I(ie){var $=ie.match(a);$&&(H+=$.length);var R=ie.lastIndexOf(p);L=~R?ie.length-R:L+ie.length}function J(){var ie={line:H,column:L};return function($){return $.position=new B(ie),pe(),$}}function B(ie){this.start=ie,this.end={line:H,column:L},this.source=M.source}B.prototype.content=Y;function P(ie){var $=new Error(M.source+":"+H+":"+L+": "+ie);if($.reason=ie,$.filename=M.source,$.line=H,$.column=L,$.source=Y,!M.silent)throw $}function ue(ie){var $=ie.exec(Y);if($){var R=$[0];return I(R),Y=Y.slice(R.length),$}}function pe(){ue(i)}function U(ie){var $;for(ie=ie||[];$=te();)$!==!1&&ie.push($);return ie}function te(){var ie=J();if(!(m!=Y.charAt(0)||x!=Y.charAt(1))){for(var $=2;g!=Y.charAt($)&&(x!=Y.charAt($)||m!=Y.charAt($+1));)++$;if($+=2,g===Y.charAt($-1))return P("End of comment missing");var R=Y.slice(2,$-2);return L+=2,I(R),Y=Y.slice($),L+=2,ie({type:b,comment:R})}}function ne(){var ie=J(),$=ue(u);if($){if(te(),!ue(s))return P("property missing ':'");var R=ue(c),F=ie({type:v,property:N($[0].replace(n,g)),value:R?N(R[0].replace(n,g)):g});return ue(f),F}}function Se(){var ie=[];U(ie);for(var $;$=ne();)$!==!1&&(ie.push($),U(ie));return ie}return pe(),Se()}function N(Y){return Y?Y.replace(d,g):g}return Lo=C,Lo}var Jm;function fb(){if(Jm)return gi;Jm=1;var n=gi&&gi.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(gi,"__esModule",{value:!0}),gi.default=i;const a=n(cb());function i(u,s){let c=null;if(!u||typeof u!="string")return c;const f=(0,a.default)(u),d=typeof s=="function";return f.forEach(p=>{if(p.type!=="declaration")return;const{property:m,value:x}=p;d?s(m,x,p):x&&(c=c||{},c[m]=x)}),c}return gi}var ba={},Im;function hb(){if(Im)return ba;Im=1,Object.defineProperty(ba,"__esModule",{value:!0}),ba.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,a=/-([a-z])/g,i=/^[^-]+$/,u=/^-(webkit|moz|ms|o|khtml)-/,s=/^-(ms)-/,c=function(m){return!m||i.test(m)||n.test(m)},f=function(m,x){return x.toUpperCase()},d=function(m,x){return"".concat(x,"-")},p=function(m,x){return x===void 0&&(x={}),c(m)?m:(m=m.toLowerCase(),x.reactCompat?m=m.replace(s,d):m=m.replace(u,d),m.replace(a,f))};return ba.camelCase=p,ba}var va,$m;function db(){if($m)return va;$m=1;var n=va&&va.__importDefault||function(s){return s&&s.__esModule?s:{default:s}},a=n(fb()),i=hb();function u(s,c){var f={};return!s||typeof s!="string"||(0,a.default)(s,function(d,p){d&&p&&(f[(0,i.camelCase)(d,c)]=p)}),f}return u.default=u,va=u,va}var mb=db();const pb=Lp(mb),n0=l0("end"),pc=l0("start");function l0(n){return a;function a(i){const u=i&&i.position&&i.position[n]||{};if(typeof u.line=="number"&&u.line>0&&typeof u.column=="number"&&u.column>0)return{line:u.line,column:u.column,offset:typeof u.offset=="number"&&u.offset>-1?u.offset:void 0}}}function gb(n){const a=pc(n),i=n0(n);if(a&&i)return{start:a,end:i}}function ka(n){return!n||typeof n!="object"?"":"position"in n||"type"in n?Wm(n.position):"start"in n||"end"in n?Wm(n):"line"in n||"column"in n?nc(n):""}function nc(n){return Pm(n&&n.line)+":"+Pm(n&&n.column)}function Wm(n){return nc(n&&n.start)+"-"+nc(n&&n.end)}function Pm(n){return n&&typeof n=="number"?n:1}class gt extends Error{constructor(a,i,u){super(),typeof i=="string"&&(u=i,i=void 0);let s="",c={},f=!1;if(i&&("line"in i&&"column"in i?c={place:i}:"start"in i&&"end"in i?c={place:i}:"type"in i?c={ancestors:[i],place:i.position}:c={...i}),typeof a=="string"?s=a:!c.cause&&a&&(f=!0,s=a.message,c.cause=a),!c.ruleId&&!c.source&&typeof u=="string"){const p=u.indexOf(":");p===-1?c.ruleId=u:(c.source=u.slice(0,p),c.ruleId=u.slice(p+1))}if(!c.place&&c.ancestors&&c.ancestors){const p=c.ancestors[c.ancestors.length-1];p&&(c.place=p.position)}const d=c.place&&"start"in c.place?c.place.start:c.place;this.ancestors=c.ancestors||void 0,this.cause=c.cause||void 0,this.column=d?d.column:void 0,this.fatal=void 0,this.file="",this.message=s,this.line=d?d.line:void 0,this.name=ka(c.place)||"1:1",this.place=c.place||void 0,this.reason=this.message,this.ruleId=c.ruleId||void 0,this.source=c.source||void 0,this.stack=f&&c.cause&&typeof c.cause.stack=="string"?c.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}gt.prototype.file="";gt.prototype.name="";gt.prototype.reason="";gt.prototype.message="";gt.prototype.stack="";gt.prototype.column=void 0;gt.prototype.line=void 0;gt.prototype.ancestors=void 0;gt.prototype.cause=void 0;gt.prototype.fatal=void 0;gt.prototype.place=void 0;gt.prototype.ruleId=void 0;gt.prototype.source=void 0;const gc={}.hasOwnProperty,yb=new Map,xb=/[A-Z]/g,bb=new Set(["table","tbody","thead","tfoot","tr"]),vb=new Set(["td","th"]),i0="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function Sb(n,a){if(!a||a.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const i=a.filePath||void 0;let u;if(a.development){if(typeof a.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");u=Nb(i,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");u=Ab(i,a.jsx,a.jsxs)}const s={Fragment:a.Fragment,ancestors:[],components:a.components||{},create:u,elementAttributeNameCase:a.elementAttributeNameCase||"react",evaluater:a.createEvaluater?a.createEvaluater():void 0,filePath:i,ignoreInvalidStyle:a.ignoreInvalidStyle||!1,passKeys:a.passKeys!==!1,passNode:a.passNode||!1,schema:a.space==="svg"?mc:sb,stylePropertyNameCase:a.stylePropertyNameCase||"dom",tableCellAlignToStyle:a.tableCellAlignToStyle!==!1},c=a0(s,n,void 0);return c&&typeof c!="string"?c:s.create(n,s.Fragment,{children:c||void 0},void 0)}function a0(n,a,i){if(a.type==="element")return zb(n,a,i);if(a.type==="mdxFlowExpression"||a.type==="mdxTextExpression")return kb(n,a);if(a.type==="mdxJsxFlowElement"||a.type==="mdxJsxTextElement")return wb(n,a,i);if(a.type==="mdxjsEsm")return Eb(n,a);if(a.type==="root")return Cb(n,a,i);if(a.type==="text")return Tb(n,a)}function zb(n,a,i){const u=n.schema;let s=u;a.tagName.toLowerCase()==="svg"&&u.space==="html"&&(s=mc,n.schema=s),n.ancestors.push(a);const c=u0(n,a.tagName,!1),f=_b(n,a);let d=xc(n,a);return bb.has(a.tagName)&&(d=d.filter(function(p){return typeof p=="string"?!Wx(p):!0})),r0(n,f,c,a),yc(f,d),n.ancestors.pop(),n.schema=u,n.create(a,c,f,i)}function kb(n,a){if(a.data&&a.data.estree&&n.evaluater){const u=a.data.estree.body[0];return u.type,n.evaluater.evaluateExpression(u.expression)}Ca(n,a.position)}function Eb(n,a){if(a.data&&a.data.estree&&n.evaluater)return n.evaluater.evaluateProgram(a.data.estree);Ca(n,a.position)}function wb(n,a,i){const u=n.schema;let s=u;a.name==="svg"&&u.space==="html"&&(s=mc,n.schema=s),n.ancestors.push(a);const c=a.name===null?n.Fragment:u0(n,a.name,!0),f=Mb(n,a),d=xc(n,a);return r0(n,f,c,a),yc(f,d),n.ancestors.pop(),n.schema=u,n.create(a,c,f,i)}function Cb(n,a,i){const u={};return yc(u,xc(n,a)),n.create(a,n.Fragment,u,i)}function Tb(n,a){return a.value}function r0(n,a,i,u){typeof i!="string"&&i!==n.Fragment&&n.passNode&&(a.node=u)}function yc(n,a){if(a.length>0){const i=a.length>1?a:a[0];i&&(n.children=i)}}function Ab(n,a,i){return u;function u(s,c,f,d){const m=Array.isArray(f.children)?i:a;return d?m(c,f,d):m(c,f)}}function Nb(n,a){return i;function i(u,s,c,f){const d=Array.isArray(c.children),p=pc(u);return a(s,c,f,d,{columnNumber:p?p.column-1:void 0,fileName:n,lineNumber:p?p.line:void 0},void 0)}}function _b(n,a){const i={};let u,s;for(s in a.properties)if(s!=="children"&&gc.call(a.properties,s)){const c=jb(n,s,a.properties[s]);if(c){const[f,d]=c;n.tableCellAlignToStyle&&f==="align"&&typeof d=="string"&&vb.has(a.tagName)?u=d:i[f]=d}}if(u){const c=i.style||(i.style={});c[n.stylePropertyNameCase==="css"?"text-align":"textAlign"]=u}return i}function Mb(n,a){const i={};for(const u of a.attributes)if(u.type==="mdxJsxExpressionAttribute")if(u.data&&u.data.estree&&n.evaluater){const c=u.data.estree.body[0];c.type;const f=c.expression;f.type;const d=f.properties[0];d.type,Object.assign(i,n.evaluater.evaluateExpression(d.argument))}else Ca(n,a.position);else{const s=u.name;let c;if(u.value&&typeof u.value=="object")if(u.value.data&&u.value.data.estree&&n.evaluater){const d=u.value.data.estree.body[0];d.type,c=n.evaluater.evaluateExpression(d.expression)}else Ca(n,a.position);else c=u.value===null?!0:u.value;i[s]=c}return i}function xc(n,a){const i=[];let u=-1;const s=n.passKeys?new Map:yb;for(;++u<a.children.length;){const c=a.children[u];let f;if(n.passKeys){const p=c.type==="element"?c.tagName:c.type==="mdxJsxFlowElement"||c.type==="mdxJsxTextElement"?c.name:void 0;if(p){const m=s.get(p)||0;f=p+"-"+m,s.set(p,m+1)}}const d=a0(n,c,f);d!==void 0&&i.push(d)}return i}function jb(n,a,i){const u=ab(n.schema,a);if(!(i==null||typeof i=="number"&&Number.isNaN(i))){if(Array.isArray(i)&&(i=u.commaSeparated?Fx(i):ob(i)),u.property==="style"){let s=typeof i=="object"?i:Ob(n,String(i));return n.stylePropertyNameCase==="css"&&(s=Db(s)),["style",s]}return[n.elementAttributeNameCase==="react"&&u.space?nb[u.property]||u.property:u.attribute,i]}}function Ob(n,a){try{return pb(a,{reactCompat:!0})}catch(i){if(n.ignoreInvalidStyle)return{};const u=i,s=new gt("Cannot parse `style` attribute",{ancestors:n.ancestors,cause:u,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw s.file=n.filePath||void 0,s.url=i0+"#cannot-parse-style-attribute",s}}function u0(n,a,i){let u;if(!i)u={type:"Literal",value:a};else if(a.includes(".")){const s=a.split(".");let c=-1,f;for(;++c<s.length;){const d=Qm(s[c])?{type:"Identifier",name:s[c]}:{type:"Literal",value:s[c]};f=f?{type:"MemberExpression",object:f,property:d,computed:!!(c&&d.type==="Literal"),optional:!1}:d}u=f}else u=Qm(a)&&!/^[a-z]/.test(a)?{type:"Identifier",name:a}:{type:"Literal",value:a};if(u.type==="Literal"){const s=u.value;return gc.call(n.components,s)?n.components[s]:s}if(n.evaluater)return n.evaluater.evaluateExpression(u);Ca(n)}function Ca(n,a){const i=new gt("Cannot handle MDX estrees without `createEvaluater`",{ancestors:n.ancestors,place:a,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw i.file=n.filePath||void 0,i.url=i0+"#cannot-handle-mdx-estrees-without-createevaluater",i}function Db(n){const a={};let i;for(i in n)gc.call(n,i)&&(a[Rb(i)]=n[i]);return a}function Rb(n){let a=n.replace(xb,Lb);return a.slice(0,3)==="ms-"&&(a="-"+a),a}function Lb(n){return"-"+n.toLowerCase()}const Bo={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"]},Bb={};function bc(n,a){const i=Bb,u=typeof i.includeImageAlt=="boolean"?i.includeImageAlt:!0,s=typeof i.includeHtml=="boolean"?i.includeHtml:!0;return s0(n,u,s)}function s0(n,a,i){if(Ub(n)){if("value"in n)return n.type==="html"&&!i?"":n.value;if(a&&"alt"in n&&n.alt)return n.alt;if("children"in n)return ep(n.children,a,i)}return Array.isArray(n)?ep(n,a,i):""}function ep(n,a,i){const u=[];let s=-1;for(;++s<n.length;)u[s]=s0(n[s],a,i);return u.join("")}function Ub(n){return!!(n&&typeof n=="object")}const tp=document.createElement("i");function vc(n){const a="&"+n+";";tp.innerHTML=a;const i=tp.textContent;return i.charCodeAt(i.length-1)===59&&n!=="semi"||i===a?!1:i}function qt(n,a,i,u){const s=n.length;let c=0,f;if(a<0?a=-a>s?0:s+a:a=a>s?s:a,i=i>0?i:0,u.length<1e4)f=Array.from(u),f.unshift(a,i),n.splice(...f);else for(i&&n.splice(a,i);c<u.length;)f=u.slice(c,c+1e4),f.unshift(a,0),n.splice(...f),c+=1e4,a+=1e4}function Wt(n,a){return n.length>0?(qt(n,n.length,0,a),n):a}const np={}.hasOwnProperty;function o0(n){const a={};let i=-1;for(;++i<n.length;)Hb(a,n[i]);return a}function Hb(n,a){let i;for(i in a){const s=(np.call(n,i)?n[i]:void 0)||(n[i]={}),c=a[i];let f;if(c)for(f in c){np.call(s,f)||(s[f]=[]);const d=c[f];qb(s[f],Array.isArray(d)?d:d?[d]:[])}}}function qb(n,a){let i=-1;const u=[];for(;++i<a.length;)(a[i].add==="after"?n:u).push(a[i]);qt(n,0,0,u)}function c0(n,a){const i=Number.parseInt(n,a);return i<9||i===11||i>13&&i<32||i>126&&i<160||i>55295&&i<57344||i>64975&&i<65008||(i&65535)===65535||(i&65535)===65534||i>1114111?"�":String.fromCodePoint(i)}function ln(n){return n.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const vt=al(/[A-Za-z]/),pt=al(/[\dA-Za-z]/),Yb=al(/[#-'*+\--9=?A-Z^-~]/);function lu(n){return n!==null&&(n<32||n===127)}const lc=al(/\d/),Vb=al(/[\dA-Fa-f]/),Gb=al(/[!-/:-@[-`{-~]/);function ce(n){return n!==null&&n<-2}function Qe(n){return n!==null&&(n<0||n===32)}function we(n){return n===-2||n===-1||n===32}const su=al(new RegExp("\\p{P}|\\p{S}","u")),wl=al(/\s/);function al(n){return a;function a(i){return i!==null&&i>-1&&n.test(String.fromCharCode(i))}}function ki(n){const a=[];let i=-1,u=0,s=0;for(;++i<n.length;){const c=n.charCodeAt(i);let f="";if(c===37&&pt(n.charCodeAt(i+1))&&pt(n.charCodeAt(i+2)))s=2;else if(c<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(c))||(f=String.fromCharCode(c));else if(c>55295&&c<57344){const d=n.charCodeAt(i+1);c<56320&&d>56319&&d<57344?(f=String.fromCharCode(c,d),s=1):f="�"}else f=String.fromCharCode(c);f&&(a.push(n.slice(u,i),encodeURIComponent(f)),u=i+s+1,f=""),s&&(i+=s,s=0)}return a.join("")+n.slice(u)}function _e(n,a,i,u){const s=u?u-1:Number.POSITIVE_INFINITY;let c=0;return f;function f(p){return we(p)?(n.enter(i),d(p)):a(p)}function d(p){return we(p)&&c++<s?(n.consume(p),d):(n.exit(i),a(p))}}const Qb={tokenize:Xb};function Xb(n){const a=n.attempt(this.parser.constructs.contentInitial,u,s);let i;return a;function u(d){if(d===null){n.consume(d);return}return n.enter("lineEnding"),n.consume(d),n.exit("lineEnding"),_e(n,a,"linePrefix")}function s(d){return n.enter("paragraph"),c(d)}function c(d){const p=n.enter("chunkText",{contentType:"text",previous:i});return i&&(i.next=p),i=p,f(d)}function f(d){if(d===null){n.exit("chunkText"),n.exit("paragraph"),n.consume(d);return}return ce(d)?(n.consume(d),n.exit("chunkText"),c):(n.consume(d),f)}}const Zb={tokenize:Fb},lp={tokenize:Kb};function Fb(n){const a=this,i=[];let u=0,s,c,f;return d;function d(L){if(u<i.length){const I=i[u];return a.containerState=I[1],n.attempt(I[0].continuation,p,m)(L)}return m(L)}function p(L){if(u++,a.containerState._closeFlow){a.containerState._closeFlow=void 0,s&&H();const I=a.events.length;let J=I,B;for(;J--;)if(a.events[J][0]==="exit"&&a.events[J][1].type==="chunkFlow"){B=a.events[J][1].end;break}M(u);let P=I;for(;P<a.events.length;)a.events[P][1].end={...B},P++;return qt(a.events,J+1,0,a.events.slice(I)),a.events.length=P,m(L)}return d(L)}function m(L){if(u===i.length){if(!s)return b(L);if(s.currentConstruct&&s.currentConstruct.concrete)return C(L);a.interrupt=!!(s.currentConstruct&&!s._gfmTableDynamicInterruptHack)}return a.containerState={},n.check(lp,x,g)(L)}function x(L){return s&&H(),M(u),b(L)}function g(L){return a.parser.lazy[a.now().line]=u!==i.length,f=a.now().offset,C(L)}function b(L){return a.containerState={},n.attempt(lp,v,C)(L)}function v(L){return u++,i.push([a.currentConstruct,a.containerState]),b(L)}function C(L){if(L===null){s&&H(),M(0),n.consume(L);return}return s=s||a.parser.flow(a.now()),n.enter("chunkFlow",{_tokenizer:s,contentType:"flow",previous:c}),N(L)}function N(L){if(L===null){Y(n.exit("chunkFlow"),!0),M(0),n.consume(L);return}return ce(L)?(n.consume(L),Y(n.exit("chunkFlow")),u=0,a.interrupt=void 0,d):(n.consume(L),N)}function Y(L,I){const J=a.sliceStream(L);if(I&&J.push(null),L.previous=c,c&&(c.next=L),c=L,s.defineSkip(L.start),s.write(J),a.parser.lazy[L.start.line]){let B=s.events.length;for(;B--;)if(s.events[B][1].start.offset<f&&(!s.events[B][1].end||s.events[B][1].end.offset>f))return;const P=a.events.length;let ue=P,pe,U;for(;ue--;)if(a.events[ue][0]==="exit"&&a.events[ue][1].type==="chunkFlow"){if(pe){U=a.events[ue][1].end;break}pe=!0}for(M(u),B=P;B<a.events.length;)a.events[B][1].end={...U},B++;qt(a.events,ue+1,0,a.events.slice(P)),a.events.length=B}}function M(L){let I=i.length;for(;I-- >L;){const J=i[I];a.containerState=J[1],J[0].exit.call(a,n)}i.length=L}function H(){s.write([null]),c=void 0,s=void 0,a.containerState._closeFlow=void 0}}function Kb(n,a,i){return _e(n,n.attempt(this.parser.constructs.document,a,i),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Si(n){if(n===null||Qe(n)||wl(n))return 1;if(su(n))return 2}function ou(n,a,i){const u=[];let s=-1;for(;++s<n.length;){const c=n[s].resolveAll;c&&!u.includes(c)&&(a=c(a,i),u.push(c))}return a}const ic={name:"attention",resolveAll:Jb,tokenize:Ib};function Jb(n,a){let i=-1,u,s,c,f,d,p,m,x;for(;++i<n.length;)if(n[i][0]==="enter"&&n[i][1].type==="attentionSequence"&&n[i][1]._close){for(u=i;u--;)if(n[u][0]==="exit"&&n[u][1].type==="attentionSequence"&&n[u][1]._open&&a.sliceSerialize(n[u][1]).charCodeAt(0)===a.sliceSerialize(n[i][1]).charCodeAt(0)){if((n[u][1]._close||n[i][1]._open)&&(n[i][1].end.offset-n[i][1].start.offset)%3&&!((n[u][1].end.offset-n[u][1].start.offset+n[i][1].end.offset-n[i][1].start.offset)%3))continue;p=n[u][1].end.offset-n[u][1].start.offset>1&&n[i][1].end.offset-n[i][1].start.offset>1?2:1;const g={...n[u][1].end},b={...n[i][1].start};ip(g,-p),ip(b,p),f={type:p>1?"strongSequence":"emphasisSequence",start:g,end:{...n[u][1].end}},d={type:p>1?"strongSequence":"emphasisSequence",start:{...n[i][1].start},end:b},c={type:p>1?"strongText":"emphasisText",start:{...n[u][1].end},end:{...n[i][1].start}},s={type:p>1?"strong":"emphasis",start:{...f.start},end:{...d.end}},n[u][1].end={...f.start},n[i][1].start={...d.end},m=[],n[u][1].end.offset-n[u][1].start.offset&&(m=Wt(m,[["enter",n[u][1],a],["exit",n[u][1],a]])),m=Wt(m,[["enter",s,a],["enter",f,a],["exit",f,a],["enter",c,a]]),m=Wt(m,ou(a.parser.constructs.insideSpan.null,n.slice(u+1,i),a)),m=Wt(m,[["exit",c,a],["enter",d,a],["exit",d,a],["exit",s,a]]),n[i][1].end.offset-n[i][1].start.offset?(x=2,m=Wt(m,[["enter",n[i][1],a],["exit",n[i][1],a]])):x=0,qt(n,u-1,i-u+3,m),i=u+m.length-x-2;break}}for(i=-1;++i<n.length;)n[i][1].type==="attentionSequence"&&(n[i][1].type="data");return n}function Ib(n,a){const i=this.parser.constructs.attentionMarkers.null,u=this.previous,s=Si(u);let c;return f;function f(p){return c=p,n.enter("attentionSequence"),d(p)}function d(p){if(p===c)return n.consume(p),d;const m=n.exit("attentionSequence"),x=Si(p),g=!x||x===2&&s||i.includes(p),b=!s||s===2&&x||i.includes(u);return m._open=!!(c===42?g:g&&(s||!b)),m._close=!!(c===42?b:b&&(x||!g)),a(p)}}function ip(n,a){n.column+=a,n.offset+=a,n._bufferIndex+=a}const $b={name:"autolink",tokenize:Wb};function Wb(n,a,i){let u=0;return s;function s(v){return n.enter("autolink"),n.enter("autolinkMarker"),n.consume(v),n.exit("autolinkMarker"),n.enter("autolinkProtocol"),c}function c(v){return vt(v)?(n.consume(v),f):v===64?i(v):m(v)}function f(v){return v===43||v===45||v===46||pt(v)?(u=1,d(v)):m(v)}function d(v){return v===58?(n.consume(v),u=0,p):(v===43||v===45||v===46||pt(v))&&u++<32?(n.consume(v),d):(u=0,m(v))}function p(v){return v===62?(n.exit("autolinkProtocol"),n.enter("autolinkMarker"),n.consume(v),n.exit("autolinkMarker"),n.exit("autolink"),a):v===null||v===32||v===60||lu(v)?i(v):(n.consume(v),p)}function m(v){return v===64?(n.consume(v),x):Yb(v)?(n.consume(v),m):i(v)}function x(v){return pt(v)?g(v):i(v)}function g(v){return v===46?(n.consume(v),u=0,x):v===62?(n.exit("autolinkProtocol").type="autolinkEmail",n.enter("autolinkMarker"),n.consume(v),n.exit("autolinkMarker"),n.exit("autolink"),a):b(v)}function b(v){if((v===45||pt(v))&&u++<63){const C=v===45?b:g;return n.consume(v),C}return i(v)}}const Na={partial:!0,tokenize:Pb};function Pb(n,a,i){return u;function u(c){return we(c)?_e(n,s,"linePrefix")(c):s(c)}function s(c){return c===null||ce(c)?a(c):i(c)}}const f0={continuation:{tokenize:tv},exit:nv,name:"blockQuote",tokenize:ev};function ev(n,a,i){const u=this;return s;function s(f){if(f===62){const d=u.containerState;return d.open||(n.enter("blockQuote",{_container:!0}),d.open=!0),n.enter("blockQuotePrefix"),n.enter("blockQuoteMarker"),n.consume(f),n.exit("blockQuoteMarker"),c}return i(f)}function c(f){return we(f)?(n.enter("blockQuotePrefixWhitespace"),n.consume(f),n.exit("blockQuotePrefixWhitespace"),n.exit("blockQuotePrefix"),a):(n.exit("blockQuotePrefix"),a(f))}}function tv(n,a,i){const u=this;return s;function s(f){return we(f)?_e(n,c,"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(f):c(f)}function c(f){return n.attempt(f0,a,i)(f)}}function nv(n){n.exit("blockQuote")}const h0={name:"characterEscape",tokenize:lv};function lv(n,a,i){return u;function u(c){return n.enter("characterEscape"),n.enter("escapeMarker"),n.consume(c),n.exit("escapeMarker"),s}function s(c){return Gb(c)?(n.enter("characterEscapeValue"),n.consume(c),n.exit("characterEscapeValue"),n.exit("characterEscape"),a):i(c)}}const d0={name:"characterReference",tokenize:iv};function iv(n,a,i){const u=this;let s=0,c,f;return d;function d(g){return n.enter("characterReference"),n.enter("characterReferenceMarker"),n.consume(g),n.exit("characterReferenceMarker"),p}function p(g){return g===35?(n.enter("characterReferenceMarkerNumeric"),n.consume(g),n.exit("characterReferenceMarkerNumeric"),m):(n.enter("characterReferenceValue"),c=31,f=pt,x(g))}function m(g){return g===88||g===120?(n.enter("characterReferenceMarkerHexadecimal"),n.consume(g),n.exit("characterReferenceMarkerHexadecimal"),n.enter("characterReferenceValue"),c=6,f=Vb,x):(n.enter("characterReferenceValue"),c=7,f=lc,x(g))}function x(g){if(g===59&&s){const b=n.exit("characterReferenceValue");return f===pt&&!vc(u.sliceSerialize(b))?i(g):(n.enter("characterReferenceMarker"),n.consume(g),n.exit("characterReferenceMarker"),n.exit("characterReference"),a)}return f(g)&&s++<c?(n.consume(g),x):i(g)}}const ap={partial:!0,tokenize:rv},rp={concrete:!0,name:"codeFenced",tokenize:av};function av(n,a,i){const u=this,s={partial:!0,tokenize:J};let c=0,f=0,d;return p;function p(B){return m(B)}function m(B){const P=u.events[u.events.length-1];return c=P&&P[1].type==="linePrefix"?P[2].sliceSerialize(P[1],!0).length:0,d=B,n.enter("codeFenced"),n.enter("codeFencedFence"),n.enter("codeFencedFenceSequence"),x(B)}function x(B){return B===d?(f++,n.consume(B),x):f<3?i(B):(n.exit("codeFencedFenceSequence"),we(B)?_e(n,g,"whitespace")(B):g(B))}function g(B){return B===null||ce(B)?(n.exit("codeFencedFence"),u.interrupt?a(B):n.check(ap,N,I)(B)):(n.enter("codeFencedFenceInfo"),n.enter("chunkString",{contentType:"string"}),b(B))}function b(B){return B===null||ce(B)?(n.exit("chunkString"),n.exit("codeFencedFenceInfo"),g(B)):we(B)?(n.exit("chunkString"),n.exit("codeFencedFenceInfo"),_e(n,v,"whitespace")(B)):B===96&&B===d?i(B):(n.consume(B),b)}function v(B){return B===null||ce(B)?g(B):(n.enter("codeFencedFenceMeta"),n.enter("chunkString",{contentType:"string"}),C(B))}function C(B){return B===null||ce(B)?(n.exit("chunkString"),n.exit("codeFencedFenceMeta"),g(B)):B===96&&B===d?i(B):(n.consume(B),C)}function N(B){return n.attempt(s,I,Y)(B)}function Y(B){return n.enter("lineEnding"),n.consume(B),n.exit("lineEnding"),M}function M(B){return c>0&&we(B)?_e(n,H,"linePrefix",c+1)(B):H(B)}function H(B){return B===null||ce(B)?n.check(ap,N,I)(B):(n.enter("codeFlowValue"),L(B))}function L(B){return B===null||ce(B)?(n.exit("codeFlowValue"),H(B)):(n.consume(B),L)}function I(B){return n.exit("codeFenced"),a(B)}function J(B,P,ue){let pe=0;return U;function U($){return B.enter("lineEnding"),B.consume($),B.exit("lineEnding"),te}function te($){return B.enter("codeFencedFence"),we($)?_e(B,ne,"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)($):ne($)}function ne($){return $===d?(B.enter("codeFencedFenceSequence"),Se($)):ue($)}function Se($){return $===d?(pe++,B.consume($),Se):pe>=f?(B.exit("codeFencedFenceSequence"),we($)?_e(B,ie,"whitespace")($):ie($)):ue($)}function ie($){return $===null||ce($)?(B.exit("codeFencedFence"),P($)):ue($)}}}function rv(n,a,i){const u=this;return s;function s(f){return f===null?i(f):(n.enter("lineEnding"),n.consume(f),n.exit("lineEnding"),c)}function c(f){return u.parser.lazy[u.now().line]?i(f):a(f)}}const Uo={name:"codeIndented",tokenize:sv},uv={partial:!0,tokenize:ov};function sv(n,a,i){const u=this;return s;function s(m){return n.enter("codeIndented"),_e(n,c,"linePrefix",5)(m)}function c(m){const x=u.events[u.events.length-1];return x&&x[1].type==="linePrefix"&&x[2].sliceSerialize(x[1],!0).length>=4?f(m):i(m)}function f(m){return m===null?p(m):ce(m)?n.attempt(uv,f,p)(m):(n.enter("codeFlowValue"),d(m))}function d(m){return m===null||ce(m)?(n.exit("codeFlowValue"),f(m)):(n.consume(m),d)}function p(m){return n.exit("codeIndented"),a(m)}}function ov(n,a,i){const u=this;return s;function s(f){return u.parser.lazy[u.now().line]?i(f):ce(f)?(n.enter("lineEnding"),n.consume(f),n.exit("lineEnding"),s):_e(n,c,"linePrefix",5)(f)}function c(f){const d=u.events[u.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?a(f):ce(f)?s(f):i(f)}}const cv={name:"codeText",previous:hv,resolve:fv,tokenize:dv};function fv(n){let a=n.length-4,i=3,u,s;if((n[i][1].type==="lineEnding"||n[i][1].type==="space")&&(n[a][1].type==="lineEnding"||n[a][1].type==="space")){for(u=i;++u<a;)if(n[u][1].type==="codeTextData"){n[i][1].type="codeTextPadding",n[a][1].type="codeTextPadding",i+=2,a-=2;break}}for(u=i-1,a++;++u<=a;)s===void 0?u!==a&&n[u][1].type!=="lineEnding"&&(s=u):(u===a||n[u][1].type==="lineEnding")&&(n[s][1].type="codeTextData",u!==s+2&&(n[s][1].end=n[u-1][1].end,n.splice(s+2,u-s-2),a-=u-s-2,u=s+2),s=void 0);return n}function hv(n){return n!==96||this.events[this.events.length-1][1].type==="characterEscape"}function dv(n,a,i){let u=0,s,c;return f;function f(g){return n.enter("codeText"),n.enter("codeTextSequence"),d(g)}function d(g){return g===96?(n.consume(g),u++,d):(n.exit("codeTextSequence"),p(g))}function p(g){return g===null?i(g):g===32?(n.enter("space"),n.consume(g),n.exit("space"),p):g===96?(c=n.enter("codeTextSequence"),s=0,x(g)):ce(g)?(n.enter("lineEnding"),n.consume(g),n.exit("lineEnding"),p):(n.enter("codeTextData"),m(g))}function m(g){return g===null||g===32||g===96||ce(g)?(n.exit("codeTextData"),p(g)):(n.consume(g),m)}function x(g){return g===96?(n.consume(g),s++,x):s===u?(n.exit("codeTextSequence"),n.exit("codeText"),a(g)):(c.type="codeTextData",m(g))}}class mv{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,i){const u=i??Number.POSITIVE_INFINITY;return u<this.left.length?this.left.slice(a,u):a>this.left.length?this.right.slice(this.right.length-u+this.left.length,this.right.length-a+this.left.length).reverse():this.left.slice(a).concat(this.right.slice(this.right.length-u+this.left.length).reverse())}splice(a,i,u){const s=i||0;this.setCursor(Math.trunc(a));const c=this.right.splice(this.right.length-s,Number.POSITIVE_INFINITY);return u&&Sa(this.left,u),c.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),Sa(this.left,a)}unshift(a){this.setCursor(0),this.right.push(a)}unshiftMany(a){this.setCursor(0),Sa(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 i=this.left.splice(a,Number.POSITIVE_INFINITY);Sa(this.right,i.reverse())}else{const i=this.right.splice(this.left.length+this.right.length-a,Number.POSITIVE_INFINITY);Sa(this.left,i.reverse())}}}function Sa(n,a){let i=0;if(a.length<1e4)n.push(...a);else for(;i<a.length;)n.push(...a.slice(i,i+1e4)),i+=1e4}function m0(n){const a={};let i=-1,u,s,c,f,d,p,m;const x=new mv(n);for(;++i<x.length;){for(;i in a;)i=a[i];if(u=x.get(i),i&&u[1].type==="chunkFlow"&&x.get(i-1)[1].type==="listItemPrefix"&&(p=u[1]._tokenizer.events,c=0,c<p.length&&p[c][1].type==="lineEndingBlank"&&(c+=2),c<p.length&&p[c][1].type==="content"))for(;++c<p.length&&p[c][1].type!=="content";)p[c][1].type==="chunkText"&&(p[c][1]._isInFirstContentOfListItem=!0,c++);if(u[0]==="enter")u[1].contentType&&(Object.assign(a,pv(x,i)),i=a[i],m=!0);else if(u[1]._container){for(c=i,s=void 0;c--;)if(f=x.get(c),f[1].type==="lineEnding"||f[1].type==="lineEndingBlank")f[0]==="enter"&&(s&&(x.get(s)[1].type="lineEndingBlank"),f[1].type="lineEnding",s=c);else if(!(f[1].type==="linePrefix"||f[1].type==="listItemIndent"))break;s&&(u[1].end={...x.get(s)[1].start},d=x.slice(s,i),d.unshift(u),x.splice(s,i-s+1,d))}}return qt(n,0,Number.POSITIVE_INFINITY,x.slice(0)),!m}function pv(n,a){const i=n.get(a)[1],u=n.get(a)[2];let s=a-1;const c=[];let f=i._tokenizer;f||(f=u.parser[i.contentType](i.start),i._contentTypeTextTrailing&&(f._contentTypeTextTrailing=!0));const d=f.events,p=[],m={};let x,g,b=-1,v=i,C=0,N=0;const Y=[N];for(;v;){for(;n.get(++s)[1]!==v;);c.push(s),v._tokenizer||(x=u.sliceStream(v),v.next||x.push(null),g&&f.defineSkip(v.start),v._isInFirstContentOfListItem&&(f._gfmTasklistFirstContentOfListItem=!0),f.write(x),v._isInFirstContentOfListItem&&(f._gfmTasklistFirstContentOfListItem=void 0)),g=v,v=v.next}for(v=i;++b<d.length;)d[b][0]==="exit"&&d[b-1][0]==="enter"&&d[b][1].type===d[b-1][1].type&&d[b][1].start.line!==d[b][1].end.line&&(N=b+1,Y.push(N),v._tokenizer=void 0,v.previous=void 0,v=v.next);for(f.events=[],v?(v._tokenizer=void 0,v.previous=void 0):Y.pop(),b=Y.length;b--;){const M=d.slice(Y[b],Y[b+1]),H=c.pop();p.push([H,H+M.length-1]),n.splice(H,2,M)}for(p.reverse(),b=-1;++b<p.length;)m[C+p[b][0]]=C+p[b][1],C+=p[b][1]-p[b][0]-1;return m}const gv={resolve:xv,tokenize:bv},yv={partial:!0,tokenize:vv};function xv(n){return m0(n),n}function bv(n,a){let i;return u;function u(d){return n.enter("content"),i=n.enter("chunkContent",{contentType:"content"}),s(d)}function s(d){return d===null?c(d):ce(d)?n.check(yv,f,c)(d):(n.consume(d),s)}function c(d){return n.exit("chunkContent"),n.exit("content"),a(d)}function f(d){return n.consume(d),n.exit("chunkContent"),i.next=n.enter("chunkContent",{contentType:"content",previous:i}),i=i.next,s}}function vv(n,a,i){const u=this;return s;function s(f){return n.exit("chunkContent"),n.enter("lineEnding"),n.consume(f),n.exit("lineEnding"),_e(n,c,"linePrefix")}function c(f){if(f===null||ce(f))return i(f);const d=u.events[u.events.length-1];return!u.parser.constructs.disable.null.includes("codeIndented")&&d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?a(f):n.interrupt(u.parser.constructs.flow,i,a)(f)}}function p0(n,a,i,u,s,c,f,d,p){const m=p||Number.POSITIVE_INFINITY;let x=0;return g;function g(M){return M===60?(n.enter(u),n.enter(s),n.enter(c),n.consume(M),n.exit(c),b):M===null||M===32||M===41||lu(M)?i(M):(n.enter(u),n.enter(f),n.enter(d),n.enter("chunkString",{contentType:"string"}),N(M))}function b(M){return M===62?(n.enter(c),n.consume(M),n.exit(c),n.exit(s),n.exit(u),a):(n.enter(d),n.enter("chunkString",{contentType:"string"}),v(M))}function v(M){return M===62?(n.exit("chunkString"),n.exit(d),b(M)):M===null||M===60||ce(M)?i(M):(n.consume(M),M===92?C:v)}function C(M){return M===60||M===62||M===92?(n.consume(M),v):v(M)}function N(M){return!x&&(M===null||M===41||Qe(M))?(n.exit("chunkString"),n.exit(d),n.exit(f),n.exit(u),a(M)):x<m&&M===40?(n.consume(M),x++,N):M===41?(n.consume(M),x--,N):M===null||M===32||M===40||lu(M)?i(M):(n.consume(M),M===92?Y:N)}function Y(M){return M===40||M===41||M===92?(n.consume(M),N):N(M)}}function g0(n,a,i,u,s,c){const f=this;let d=0,p;return m;function m(v){return n.enter(u),n.enter(s),n.consume(v),n.exit(s),n.enter(c),x}function x(v){return d>999||v===null||v===91||v===93&&!p||v===94&&!d&&"_hiddenFootnoteSupport"in f.parser.constructs?i(v):v===93?(n.exit(c),n.enter(s),n.consume(v),n.exit(s),n.exit(u),a):ce(v)?(n.enter("lineEnding"),n.consume(v),n.exit("lineEnding"),x):(n.enter("chunkString",{contentType:"string"}),g(v))}function g(v){return v===null||v===91||v===93||ce(v)||d++>999?(n.exit("chunkString"),x(v)):(n.consume(v),p||(p=!we(v)),v===92?b:g)}function b(v){return v===91||v===92||v===93?(n.consume(v),d++,g):g(v)}}function y0(n,a,i,u,s,c){let f;return d;function d(b){return b===34||b===39||b===40?(n.enter(u),n.enter(s),n.consume(b),n.exit(s),f=b===40?41:b,p):i(b)}function p(b){return b===f?(n.enter(s),n.consume(b),n.exit(s),n.exit(u),a):(n.enter(c),m(b))}function m(b){return b===f?(n.exit(c),p(f)):b===null?i(b):ce(b)?(n.enter("lineEnding"),n.consume(b),n.exit("lineEnding"),_e(n,m,"linePrefix")):(n.enter("chunkString",{contentType:"string"}),x(b))}function x(b){return b===f||b===null||ce(b)?(n.exit("chunkString"),m(b)):(n.consume(b),b===92?g:x)}function g(b){return b===f||b===92?(n.consume(b),x):x(b)}}function Ea(n,a){let i;return u;function u(s){return ce(s)?(n.enter("lineEnding"),n.consume(s),n.exit("lineEnding"),i=!0,u):we(s)?_e(n,u,i?"linePrefix":"lineSuffix")(s):a(s)}}const Sv={name:"definition",tokenize:kv},zv={partial:!0,tokenize:Ev};function kv(n,a,i){const u=this;let s;return c;function c(v){return n.enter("definition"),f(v)}function f(v){return g0.call(u,n,d,i,"definitionLabel","definitionLabelMarker","definitionLabelString")(v)}function d(v){return s=ln(u.sliceSerialize(u.events[u.events.length-1][1]).slice(1,-1)),v===58?(n.enter("definitionMarker"),n.consume(v),n.exit("definitionMarker"),p):i(v)}function p(v){return Qe(v)?Ea(n,m)(v):m(v)}function m(v){return p0(n,x,i,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(v)}function x(v){return n.attempt(zv,g,g)(v)}function g(v){return we(v)?_e(n,b,"whitespace")(v):b(v)}function b(v){return v===null||ce(v)?(n.exit("definition"),u.parser.defined.push(s),a(v)):i(v)}}function Ev(n,a,i){return u;function u(d){return Qe(d)?Ea(n,s)(d):i(d)}function s(d){return y0(n,c,i,"definitionTitle","definitionTitleMarker","definitionTitleString")(d)}function c(d){return we(d)?_e(n,f,"whitespace")(d):f(d)}function f(d){return d===null||ce(d)?a(d):i(d)}}const wv={name:"hardBreakEscape",tokenize:Cv};function Cv(n,a,i){return u;function u(c){return n.enter("hardBreakEscape"),n.consume(c),s}function s(c){return ce(c)?(n.exit("hardBreakEscape"),a(c)):i(c)}}const Tv={name:"headingAtx",resolve:Av,tokenize:Nv};function Av(n,a){let i=n.length-2,u=3,s,c;return n[u][1].type==="whitespace"&&(u+=2),i-2>u&&n[i][1].type==="whitespace"&&(i-=2),n[i][1].type==="atxHeadingSequence"&&(u===i-1||i-4>u&&n[i-2][1].type==="whitespace")&&(i-=u+1===i?2:4),i>u&&(s={type:"atxHeadingText",start:n[u][1].start,end:n[i][1].end},c={type:"chunkText",start:n[u][1].start,end:n[i][1].end,contentType:"text"},qt(n,u,i-u+1,[["enter",s,a],["enter",c,a],["exit",c,a],["exit",s,a]])),n}function Nv(n,a,i){let u=0;return s;function s(x){return n.enter("atxHeading"),c(x)}function c(x){return n.enter("atxHeadingSequence"),f(x)}function f(x){return x===35&&u++<6?(n.consume(x),f):x===null||Qe(x)?(n.exit("atxHeadingSequence"),d(x)):i(x)}function d(x){return x===35?(n.enter("atxHeadingSequence"),p(x)):x===null||ce(x)?(n.exit("atxHeading"),a(x)):we(x)?_e(n,d,"whitespace")(x):(n.enter("atxHeadingText"),m(x))}function p(x){return x===35?(n.consume(x),p):(n.exit("atxHeadingSequence"),d(x))}function m(x){return x===null||x===35||Qe(x)?(n.exit("atxHeadingText"),d(x)):(n.consume(x),m)}}const _v=["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"],up=["pre","script","style","textarea"],Mv={concrete:!0,name:"htmlFlow",resolveTo:Dv,tokenize:Rv},jv={partial:!0,tokenize:Bv},Ov={partial:!0,tokenize:Lv};function Dv(n){let a=n.length;for(;a--&&!(n[a][0]==="enter"&&n[a][1].type==="htmlFlow"););return a>1&&n[a-2][1].type==="linePrefix"&&(n[a][1].start=n[a-2][1].start,n[a+1][1].start=n[a-2][1].start,n.splice(a-2,2)),n}function Rv(n,a,i){const u=this;let s,c,f,d,p;return m;function m(k){return x(k)}function x(k){return n.enter("htmlFlow"),n.enter("htmlFlowData"),n.consume(k),g}function g(k){return k===33?(n.consume(k),b):k===47?(n.consume(k),c=!0,N):k===63?(n.consume(k),s=3,u.interrupt?a:E):vt(k)?(n.consume(k),f=String.fromCharCode(k),Y):i(k)}function b(k){return k===45?(n.consume(k),s=2,v):k===91?(n.consume(k),s=5,d=0,C):vt(k)?(n.consume(k),s=4,u.interrupt?a:E):i(k)}function v(k){return k===45?(n.consume(k),u.interrupt?a:E):i(k)}function C(k){const ee="CDATA[";return k===ee.charCodeAt(d++)?(n.consume(k),d===ee.length?u.interrupt?a:ne:C):i(k)}function N(k){return vt(k)?(n.consume(k),f=String.fromCharCode(k),Y):i(k)}function Y(k){if(k===null||k===47||k===62||Qe(k)){const ee=k===47,he=f.toLowerCase();return!ee&&!c&&up.includes(he)?(s=1,u.interrupt?a(k):ne(k)):_v.includes(f.toLowerCase())?(s=6,ee?(n.consume(k),M):u.interrupt?a(k):ne(k)):(s=7,u.interrupt&&!u.parser.lazy[u.now().line]?i(k):c?H(k):L(k))}return k===45||pt(k)?(n.consume(k),f+=String.fromCharCode(k),Y):i(k)}function M(k){return k===62?(n.consume(k),u.interrupt?a:ne):i(k)}function H(k){return we(k)?(n.consume(k),H):U(k)}function L(k){return k===47?(n.consume(k),U):k===58||k===95||vt(k)?(n.consume(k),I):we(k)?(n.consume(k),L):U(k)}function I(k){return k===45||k===46||k===58||k===95||pt(k)?(n.consume(k),I):J(k)}function J(k){return k===61?(n.consume(k),B):we(k)?(n.consume(k),J):L(k)}function B(k){return k===null||k===60||k===61||k===62||k===96?i(k):k===34||k===39?(n.consume(k),p=k,P):we(k)?(n.consume(k),B):ue(k)}function P(k){return k===p?(n.consume(k),p=null,pe):k===null||ce(k)?i(k):(n.consume(k),P)}function ue(k){return k===null||k===34||k===39||k===47||k===60||k===61||k===62||k===96||Qe(k)?J(k):(n.consume(k),ue)}function pe(k){return k===47||k===62||we(k)?L(k):i(k)}function U(k){return k===62?(n.consume(k),te):i(k)}function te(k){return k===null||ce(k)?ne(k):we(k)?(n.consume(k),te):i(k)}function ne(k){return k===45&&s===2?(n.consume(k),R):k===60&&s===1?(n.consume(k),F):k===62&&s===4?(n.consume(k),T):k===63&&s===3?(n.consume(k),E):k===93&&s===5?(n.consume(k),ve):ce(k)&&(s===6||s===7)?(n.exit("htmlFlowData"),n.check(jv,G,Se)(k)):k===null||ce(k)?(n.exit("htmlFlowData"),Se(k)):(n.consume(k),ne)}function Se(k){return n.check(Ov,ie,G)(k)}function ie(k){return n.enter("lineEnding"),n.consume(k),n.exit("lineEnding"),$}function $(k){return k===null||ce(k)?Se(k):(n.enter("htmlFlowData"),ne(k))}function R(k){return k===45?(n.consume(k),E):ne(k)}function F(k){return k===47?(n.consume(k),f="",re):ne(k)}function re(k){if(k===62){const ee=f.toLowerCase();return up.includes(ee)?(n.consume(k),T):ne(k)}return vt(k)&&f.length<8?(n.consume(k),f+=String.fromCharCode(k),re):ne(k)}function ve(k){return k===93?(n.consume(k),E):ne(k)}function E(k){return k===62?(n.consume(k),T):k===45&&s===2?(n.consume(k),E):ne(k)}function T(k){return k===null||ce(k)?(n.exit("htmlFlowData"),G(k)):(n.consume(k),T)}function G(k){return n.exit("htmlFlow"),a(k)}}function Lv(n,a,i){const u=this;return s;function s(f){return ce(f)?(n.enter("lineEnding"),n.consume(f),n.exit("lineEnding"),c):i(f)}function c(f){return u.parser.lazy[u.now().line]?i(f):a(f)}}function Bv(n,a,i){return u;function u(s){return n.enter("lineEnding"),n.consume(s),n.exit("lineEnding"),n.attempt(Na,a,i)}}const Uv={name:"htmlText",tokenize:Hv};function Hv(n,a,i){const u=this;let s,c,f;return d;function d(E){return n.enter("htmlText"),n.enter("htmlTextData"),n.consume(E),p}function p(E){return E===33?(n.consume(E),m):E===47?(n.consume(E),J):E===63?(n.consume(E),L):vt(E)?(n.consume(E),ue):i(E)}function m(E){return E===45?(n.consume(E),x):E===91?(n.consume(E),c=0,C):vt(E)?(n.consume(E),H):i(E)}function x(E){return E===45?(n.consume(E),v):i(E)}function g(E){return E===null?i(E):E===45?(n.consume(E),b):ce(E)?(f=g,F(E)):(n.consume(E),g)}function b(E){return E===45?(n.consume(E),v):g(E)}function v(E){return E===62?R(E):E===45?b(E):g(E)}function C(E){const T="CDATA[";return E===T.charCodeAt(c++)?(n.consume(E),c===T.length?N:C):i(E)}function N(E){return E===null?i(E):E===93?(n.consume(E),Y):ce(E)?(f=N,F(E)):(n.consume(E),N)}function Y(E){return E===93?(n.consume(E),M):N(E)}function M(E){return E===62?R(E):E===93?(n.consume(E),M):N(E)}function H(E){return E===null||E===62?R(E):ce(E)?(f=H,F(E)):(n.consume(E),H)}function L(E){return E===null?i(E):E===63?(n.consume(E),I):ce(E)?(f=L,F(E)):(n.consume(E),L)}function I(E){return E===62?R(E):L(E)}function J(E){return vt(E)?(n.consume(E),B):i(E)}function B(E){return E===45||pt(E)?(n.consume(E),B):P(E)}function P(E){return ce(E)?(f=P,F(E)):we(E)?(n.consume(E),P):R(E)}function ue(E){return E===45||pt(E)?(n.consume(E),ue):E===47||E===62||Qe(E)?pe(E):i(E)}function pe(E){return E===47?(n.consume(E),R):E===58||E===95||vt(E)?(n.consume(E),U):ce(E)?(f=pe,F(E)):we(E)?(n.consume(E),pe):R(E)}function U(E){return E===45||E===46||E===58||E===95||pt(E)?(n.consume(E),U):te(E)}function te(E){return E===61?(n.consume(E),ne):ce(E)?(f=te,F(E)):we(E)?(n.consume(E),te):pe(E)}function ne(E){return E===null||E===60||E===61||E===62||E===96?i(E):E===34||E===39?(n.consume(E),s=E,Se):ce(E)?(f=ne,F(E)):we(E)?(n.consume(E),ne):(n.consume(E),ie)}function Se(E){return E===s?(n.consume(E),s=void 0,$):E===null?i(E):ce(E)?(f=Se,F(E)):(n.consume(E),Se)}function ie(E){return E===null||E===34||E===39||E===60||E===61||E===96?i(E):E===47||E===62||Qe(E)?pe(E):(n.consume(E),ie)}function $(E){return E===47||E===62||Qe(E)?pe(E):i(E)}function R(E){return E===62?(n.consume(E),n.exit("htmlTextData"),n.exit("htmlText"),a):i(E)}function F(E){return n.exit("htmlTextData"),n.enter("lineEnding"),n.consume(E),n.exit("lineEnding"),re}function re(E){return we(E)?_e(n,ve,"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(E):ve(E)}function ve(E){return n.enter("htmlTextData"),f(E)}}const Sc={name:"labelEnd",resolveAll:Gv,resolveTo:Qv,tokenize:Xv},qv={tokenize:Zv},Yv={tokenize:Fv},Vv={tokenize:Kv};function Gv(n){let a=-1;const i=[];for(;++a<n.length;){const u=n[a][1];if(i.push(n[a]),u.type==="labelImage"||u.type==="labelLink"||u.type==="labelEnd"){const s=u.type==="labelImage"?4:2;u.type="data",a+=s}}return n.length!==i.length&&qt(n,0,n.length,i),n}function Qv(n,a){let i=n.length,u=0,s,c,f,d;for(;i--;)if(s=n[i][1],c){if(s.type==="link"||s.type==="labelLink"&&s._inactive)break;n[i][0]==="enter"&&s.type==="labelLink"&&(s._inactive=!0)}else if(f){if(n[i][0]==="enter"&&(s.type==="labelImage"||s.type==="labelLink")&&!s._balanced&&(c=i,s.type!=="labelLink")){u=2;break}}else s.type==="labelEnd"&&(f=i);const p={type:n[c][1].type==="labelLink"?"link":"image",start:{...n[c][1].start},end:{...n[n.length-1][1].end}},m={type:"label",start:{...n[c][1].start},end:{...n[f][1].end}},x={type:"labelText",start:{...n[c+u+2][1].end},end:{...n[f-2][1].start}};return d=[["enter",p,a],["enter",m,a]],d=Wt(d,n.slice(c+1,c+u+3)),d=Wt(d,[["enter",x,a]]),d=Wt(d,ou(a.parser.constructs.insideSpan.null,n.slice(c+u+4,f-3),a)),d=Wt(d,[["exit",x,a],n[f-2],n[f-1],["exit",m,a]]),d=Wt(d,n.slice(f+1)),d=Wt(d,[["exit",p,a]]),qt(n,c,n.length,d),n}function Xv(n,a,i){const u=this;let s=u.events.length,c,f;for(;s--;)if((u.events[s][1].type==="labelImage"||u.events[s][1].type==="labelLink")&&!u.events[s][1]._balanced){c=u.events[s][1];break}return d;function d(b){return c?c._inactive?g(b):(f=u.parser.defined.includes(ln(u.sliceSerialize({start:c.end,end:u.now()}))),n.enter("labelEnd"),n.enter("labelMarker"),n.consume(b),n.exit("labelMarker"),n.exit("labelEnd"),p):i(b)}function p(b){return b===40?n.attempt(qv,x,f?x:g)(b):b===91?n.attempt(Yv,x,f?m:g)(b):f?x(b):g(b)}function m(b){return n.attempt(Vv,x,g)(b)}function x(b){return a(b)}function g(b){return c._balanced=!0,i(b)}}function Zv(n,a,i){return u;function u(g){return n.enter("resource"),n.enter("resourceMarker"),n.consume(g),n.exit("resourceMarker"),s}function s(g){return Qe(g)?Ea(n,c)(g):c(g)}function c(g){return g===41?x(g):p0(n,f,d,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(g)}function f(g){return Qe(g)?Ea(n,p)(g):x(g)}function d(g){return i(g)}function p(g){return g===34||g===39||g===40?y0(n,m,i,"resourceTitle","resourceTitleMarker","resourceTitleString")(g):x(g)}function m(g){return Qe(g)?Ea(n,x)(g):x(g)}function x(g){return g===41?(n.enter("resourceMarker"),n.consume(g),n.exit("resourceMarker"),n.exit("resource"),a):i(g)}}function Fv(n,a,i){const u=this;return s;function s(d){return g0.call(u,n,c,f,"reference","referenceMarker","referenceString")(d)}function c(d){return u.parser.defined.includes(ln(u.sliceSerialize(u.events[u.events.length-1][1]).slice(1,-1)))?a(d):i(d)}function f(d){return i(d)}}function Kv(n,a,i){return u;function u(c){return n.enter("reference"),n.enter("referenceMarker"),n.consume(c),n.exit("referenceMarker"),s}function s(c){return c===93?(n.enter("referenceMarker"),n.consume(c),n.exit("referenceMarker"),n.exit("reference"),a):i(c)}}const Jv={name:"labelStartImage",resolveAll:Sc.resolveAll,tokenize:Iv};function Iv(n,a,i){const u=this;return s;function s(d){return n.enter("labelImage"),n.enter("labelImageMarker"),n.consume(d),n.exit("labelImageMarker"),c}function c(d){return d===91?(n.enter("labelMarker"),n.consume(d),n.exit("labelMarker"),n.exit("labelImage"),f):i(d)}function f(d){return d===94&&"_hiddenFootnoteSupport"in u.parser.constructs?i(d):a(d)}}const $v={name:"labelStartLink",resolveAll:Sc.resolveAll,tokenize:Wv};function Wv(n,a,i){const u=this;return s;function s(f){return n.enter("labelLink"),n.enter("labelMarker"),n.consume(f),n.exit("labelMarker"),n.exit("labelLink"),c}function c(f){return f===94&&"_hiddenFootnoteSupport"in u.parser.constructs?i(f):a(f)}}const Ho={name:"lineEnding",tokenize:Pv};function Pv(n,a){return i;function i(u){return n.enter("lineEnding"),n.consume(u),n.exit("lineEnding"),_e(n,a,"linePrefix")}}const tu={name:"thematicBreak",tokenize:e2};function e2(n,a,i){let u=0,s;return c;function c(m){return n.enter("thematicBreak"),f(m)}function f(m){return s=m,d(m)}function d(m){return m===s?(n.enter("thematicBreakSequence"),p(m)):u>=3&&(m===null||ce(m))?(n.exit("thematicBreak"),a(m)):i(m)}function p(m){return m===s?(n.consume(m),u++,p):(n.exit("thematicBreakSequence"),we(m)?_e(n,d,"whitespace")(m):d(m))}}const Nt={continuation:{tokenize:i2},exit:r2,name:"list",tokenize:l2},t2={partial:!0,tokenize:u2},n2={partial:!0,tokenize:a2};function l2(n,a,i){const u=this,s=u.events[u.events.length-1];let c=s&&s[1].type==="linePrefix"?s[2].sliceSerialize(s[1],!0).length:0,f=0;return d;function d(v){const C=u.containerState.type||(v===42||v===43||v===45?"listUnordered":"listOrdered");if(C==="listUnordered"?!u.containerState.marker||v===u.containerState.marker:lc(v)){if(u.containerState.type||(u.containerState.type=C,n.enter(C,{_container:!0})),C==="listUnordered")return n.enter("listItemPrefix"),v===42||v===45?n.check(tu,i,m)(v):m(v);if(!u.interrupt||v===49)return n.enter("listItemPrefix"),n.enter("listItemValue"),p(v)}return i(v)}function p(v){return lc(v)&&++f<10?(n.consume(v),p):(!u.interrupt||f<2)&&(u.containerState.marker?v===u.containerState.marker:v===41||v===46)?(n.exit("listItemValue"),m(v)):i(v)}function m(v){return n.enter("listItemMarker"),n.consume(v),n.exit("listItemMarker"),u.containerState.marker=u.containerState.marker||v,n.check(Na,u.interrupt?i:x,n.attempt(t2,b,g))}function x(v){return u.containerState.initialBlankLine=!0,c++,b(v)}function g(v){return we(v)?(n.enter("listItemPrefixWhitespace"),n.consume(v),n.exit("listItemPrefixWhitespace"),b):i(v)}function b(v){return u.containerState.size=c+u.sliceSerialize(n.exit("listItemPrefix"),!0).length,a(v)}}function i2(n,a,i){const u=this;return u.containerState._closeFlow=void 0,n.check(Na,s,c);function s(d){return u.containerState.furtherBlankLines=u.containerState.furtherBlankLines||u.containerState.initialBlankLine,_e(n,a,"listItemIndent",u.containerState.size+1)(d)}function c(d){return u.containerState.furtherBlankLines||!we(d)?(u.containerState.furtherBlankLines=void 0,u.containerState.initialBlankLine=void 0,f(d)):(u.containerState.furtherBlankLines=void 0,u.containerState.initialBlankLine=void 0,n.attempt(n2,a,f)(d))}function f(d){return u.containerState._closeFlow=!0,u.interrupt=void 0,_e(n,n.attempt(Nt,a,i),"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(d)}}function a2(n,a,i){const u=this;return _e(n,s,"listItemIndent",u.containerState.size+1);function s(c){const f=u.events[u.events.length-1];return f&&f[1].type==="listItemIndent"&&f[2].sliceSerialize(f[1],!0).length===u.containerState.size?a(c):i(c)}}function r2(n){n.exit(this.containerState.type)}function u2(n,a,i){const u=this;return _e(n,s,"listItemPrefixWhitespace",u.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function s(c){const f=u.events[u.events.length-1];return!we(c)&&f&&f[1].type==="listItemPrefixWhitespace"?a(c):i(c)}}const sp={name:"setextUnderline",resolveTo:s2,tokenize:o2};function s2(n,a){let i=n.length,u,s,c;for(;i--;)if(n[i][0]==="enter"){if(n[i][1].type==="content"){u=i;break}n[i][1].type==="paragraph"&&(s=i)}else n[i][1].type==="content"&&n.splice(i,1),!c&&n[i][1].type==="definition"&&(c=i);const f={type:"setextHeading",start:{...n[u][1].start},end:{...n[n.length-1][1].end}};return n[s][1].type="setextHeadingText",c?(n.splice(s,0,["enter",f,a]),n.splice(c+1,0,["exit",n[u][1],a]),n[u][1].end={...n[c][1].end}):n[u][1]=f,n.push(["exit",f,a]),n}function o2(n,a,i){const u=this;let s;return c;function c(m){let x=u.events.length,g;for(;x--;)if(u.events[x][1].type!=="lineEnding"&&u.events[x][1].type!=="linePrefix"&&u.events[x][1].type!=="content"){g=u.events[x][1].type==="paragraph";break}return!u.parser.lazy[u.now().line]&&(u.interrupt||g)?(n.enter("setextHeadingLine"),s=m,f(m)):i(m)}function f(m){return n.enter("setextHeadingLineSequence"),d(m)}function d(m){return m===s?(n.consume(m),d):(n.exit("setextHeadingLineSequence"),we(m)?_e(n,p,"lineSuffix")(m):p(m))}function p(m){return m===null||ce(m)?(n.exit("setextHeadingLine"),a(m)):i(m)}}const c2={tokenize:f2};function f2(n){const a=this,i=n.attempt(Na,u,n.attempt(this.parser.constructs.flowInitial,s,_e(n,n.attempt(this.parser.constructs.flow,s,n.attempt(gv,s)),"linePrefix")));return i;function u(c){if(c===null){n.consume(c);return}return n.enter("lineEndingBlank"),n.consume(c),n.exit("lineEndingBlank"),a.currentConstruct=void 0,i}function s(c){if(c===null){n.consume(c);return}return n.enter("lineEnding"),n.consume(c),n.exit("lineEnding"),a.currentConstruct=void 0,i}}const h2={resolveAll:b0()},d2=x0("string"),m2=x0("text");function x0(n){return{resolveAll:b0(n==="text"?p2:void 0),tokenize:a};function a(i){const u=this,s=this.parser.constructs[n],c=i.attempt(s,f,d);return f;function f(x){return m(x)?c(x):d(x)}function d(x){if(x===null){i.consume(x);return}return i.enter("data"),i.consume(x),p}function p(x){return m(x)?(i.exit("data"),c(x)):(i.consume(x),p)}function m(x){if(x===null)return!0;const g=s[x];let b=-1;if(g)for(;++b<g.length;){const v=g[b];if(!v.previous||v.previous.call(u,u.previous))return!0}return!1}}}function b0(n){return a;function a(i,u){let s=-1,c;for(;++s<=i.length;)c===void 0?i[s]&&i[s][1].type==="data"&&(c=s,s++):(!i[s]||i[s][1].type!=="data")&&(s!==c+2&&(i[c][1].end=i[s-1][1].end,i.splice(c+2,s-c-2),s=c+2),c=void 0);return n?n(i,u):i}}function p2(n,a){let i=0;for(;++i<=n.length;)if((i===n.length||n[i][1].type==="lineEnding")&&n[i-1][1].type==="data"){const u=n[i-1][1],s=a.sliceStream(u);let c=s.length,f=-1,d=0,p;for(;c--;){const m=s[c];if(typeof m=="string"){for(f=m.length;m.charCodeAt(f-1)===32;)d++,f--;if(f)break;f=-1}else if(m===-2)p=!0,d++;else if(m!==-1){c++;break}}if(a._contentTypeTextTrailing&&i===n.length&&(d=0),d){const m={type:i===n.length||p||d<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:c?f:u.start._bufferIndex+f,_index:u.start._index+c,line:u.end.line,column:u.end.column-d,offset:u.end.offset-d},end:{...u.end}};u.end={...m.start},u.start.offset===u.end.offset?Object.assign(u,m):(n.splice(i,0,["enter",m,a],["exit",m,a]),i+=2)}i++}return n}const g2={42:Nt,43:Nt,45:Nt,48:Nt,49:Nt,50:Nt,51:Nt,52:Nt,53:Nt,54:Nt,55:Nt,56:Nt,57:Nt,62:f0},y2={91:Sv},x2={[-2]:Uo,[-1]:Uo,32:Uo},b2={35:Tv,42:tu,45:[sp,tu],60:Mv,61:sp,95:tu,96:rp,126:rp},v2={38:d0,92:h0},S2={[-5]:Ho,[-4]:Ho,[-3]:Ho,33:Jv,38:d0,42:ic,60:[$b,Uv],91:$v,92:[wv,h0],93:Sc,95:ic,96:cv},z2={null:[ic,h2]},k2={null:[42,95]},E2={null:[]},w2=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:k2,contentInitial:y2,disable:E2,document:g2,flow:b2,flowInitial:x2,insideSpan:z2,string:v2,text:S2},Symbol.toStringTag,{value:"Module"}));function C2(n,a,i){let u={_bufferIndex:-1,_index:0,line:i&&i.line||1,column:i&&i.column||1,offset:i&&i.offset||0};const s={},c=[];let f=[],d=[];const p={attempt:P(J),check:P(B),consume:H,enter:L,exit:I,interrupt:P(B,{interrupt:!0})},m={code:null,containerState:{},defineSkip:N,events:[],now:C,parser:n,previous:null,sliceSerialize:b,sliceStream:v,write:g};let x=a.tokenize.call(m,p);return a.resolveAll&&c.push(a),m;function g(te){return f=Wt(f,te),Y(),f[f.length-1]!==null?[]:(ue(a,0),m.events=ou(c,m.events,m),m.events)}function b(te,ne){return A2(v(te),ne)}function v(te){return T2(f,te)}function C(){const{_bufferIndex:te,_index:ne,line:Se,column:ie,offset:$}=u;return{_bufferIndex:te,_index:ne,line:Se,column:ie,offset:$}}function N(te){s[te.line]=te.column,U()}function Y(){let te;for(;u._index<f.length;){const ne=f[u._index];if(typeof ne=="string")for(te=u._index,u._bufferIndex<0&&(u._bufferIndex=0);u._index===te&&u._bufferIndex<ne.length;)M(ne.charCodeAt(u._bufferIndex));else M(ne)}}function M(te){x=x(te)}function H(te){ce(te)?(u.line++,u.column=1,u.offset+=te===-3?2:1,U()):te!==-1&&(u.column++,u.offset++),u._bufferIndex<0?u._index++:(u._bufferIndex++,u._bufferIndex===f[u._index].length&&(u._bufferIndex=-1,u._index++)),m.previous=te}function L(te,ne){const Se=ne||{};return Se.type=te,Se.start=C(),m.events.push(["enter",Se,m]),d.push(Se),Se}function I(te){const ne=d.pop();return ne.end=C(),m.events.push(["exit",ne,m]),ne}function J(te,ne){ue(te,ne.from)}function B(te,ne){ne.restore()}function P(te,ne){return Se;function Se(ie,$,R){let F,re,ve,E;return Array.isArray(ie)?G(ie):"tokenize"in ie?G([ie]):T(ie);function T(se){return Ce;function Ce(Ke){const Ue=Ke!==null&&se[Ke],Yt=Ke!==null&&se.null,fn=[...Array.isArray(Ue)?Ue:Ue?[Ue]:[],...Array.isArray(Yt)?Yt:Yt?[Yt]:[]];return G(fn)(Ke)}}function G(se){return F=se,re=0,se.length===0?R:k(se[re])}function k(se){return Ce;function Ce(Ke){return E=pe(),ve=se,se.partial||(m.currentConstruct=se),se.name&&m.parser.constructs.disable.null.includes(se.name)?he():se.tokenize.call(ne?Object.assign(Object.create(m),ne):m,p,ee,he)(Ke)}}function ee(se){return te(ve,E),$}function he(se){return E.restore(),++re<F.length?k(F[re]):R}}}function ue(te,ne){te.resolveAll&&!c.includes(te)&&c.push(te),te.resolve&&qt(m.events,ne,m.events.length-ne,te.resolve(m.events.slice(ne),m)),te.resolveTo&&(m.events=te.resolveTo(m.events,m))}function pe(){const te=C(),ne=m.previous,Se=m.currentConstruct,ie=m.events.length,$=Array.from(d);return{from:ie,restore:R};function R(){u=te,m.previous=ne,m.currentConstruct=Se,m.events.length=ie,d=$,U()}}function U(){u.line in s&&u.column<2&&(u.column=s[u.line],u.offset+=s[u.line]-1)}}function T2(n,a){const i=a.start._index,u=a.start._bufferIndex,s=a.end._index,c=a.end._bufferIndex;let f;if(i===s)f=[n[i].slice(u,c)];else{if(f=n.slice(i,s),u>-1){const d=f[0];typeof d=="string"?f[0]=d.slice(u):f.shift()}c>0&&f.push(n[s].slice(0,c))}return f}function A2(n,a){let i=-1;const u=[];let s;for(;++i<n.length;){const c=n[i];let f;if(typeof c=="string")f=c;else switch(c){case-5:{f="\r";break}case-4:{f=`
|
|
239
|
-
`;break}case-3:{f=`\r
|
|
240
|
-
`;break}case-2:{f=a?" ":" ";break}case-1:{if(!a&&s)continue;f=" ";break}default:f=String.fromCharCode(c)}s=c===-2,u.push(f)}return u.join("")}function N2(n){const u={constructs:o0([w2,...(n||{}).extensions||[]]),content:s(Qb),defined:[],document:s(Zb),flow:s(c2),lazy:{},string:s(d2),text:s(m2)};return u;function s(c){return f;function f(d){return C2(u,c,d)}}}function _2(n){for(;!m0(n););return n}const op=/[\0\t\n\r]/g;function M2(){let n=1,a="",i=!0,u;return s;function s(c,f,d){const p=[];let m,x,g,b,v;for(c=a+(typeof c=="string"?c.toString():new TextDecoder(f||void 0).decode(c)),g=0,a="",i&&(c.charCodeAt(0)===65279&&g++,i=void 0);g<c.length;){if(op.lastIndex=g,m=op.exec(c),b=m&&m.index!==void 0?m.index:c.length,v=c.charCodeAt(b),!m){a=c.slice(g);break}if(v===10&&g===b&&u)p.push(-3),u=void 0;else switch(u&&(p.push(-5),u=void 0),g<b&&(p.push(c.slice(g,b)),n+=b-g),v){case 0:{p.push(65533),n++;break}case 9:{for(x=Math.ceil(n/4)*4,p.push(-2);n++<x;)p.push(-1);break}case 10:{p.push(-4),n=1;break}default:u=!0,n=1}g=b+1}return d&&(u&&p.push(-5),a&&p.push(a),p.push(null)),p}}const j2=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function O2(n){return n.replace(j2,D2)}function D2(n,a,i){if(a)return a;if(i.charCodeAt(0)===35){const s=i.charCodeAt(1),c=s===120||s===88;return c0(i.slice(c?2:1),c?16:10)}return vc(i)||n}const v0={}.hasOwnProperty;function R2(n,a,i){return typeof a!="string"&&(i=a,a=void 0),L2(i)(_2(N2(i).document().write(M2()(n,a,!0))))}function L2(n){const a={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:c(Nl),autolinkProtocol:pe,autolinkEmail:pe,atxHeading:c(Tl),blockQuote:c(Yt),characterEscape:pe,characterReference:pe,codeFenced:c(fn),codeFencedFenceInfo:f,codeFencedFenceMeta:f,codeIndented:c(fn,f),codeText:c(Ei,f),codeTextData:pe,data:pe,codeFlowValue:pe,definition:c(ja),definitionDestinationString:f,definitionLabelString:f,definitionTitleString:f,emphasis:c(hn),hardBreakEscape:c(Al),hardBreakTrailing:c(Al),htmlFlow:c(Oa,f),htmlFlowData:pe,htmlText:c(Oa,f),htmlTextData:pe,image:c(Da),label:f,link:c(Nl),listItem:c(wi),listItemValue:b,listOrdered:c(_l,g),listUnordered:c(_l),paragraph:c(du),reference:k,referenceString:f,resourceDestinationString:f,resourceTitleString:f,setextHeading:c(Tl),strong:c(mu),thematicBreak:c(pu)},exit:{atxHeading:p(),atxHeadingSequence:J,autolink:p(),autolinkEmail:Ue,autolinkProtocol:Ke,blockQuote:p(),characterEscapeValue:U,characterReferenceMarkerHexadecimal:he,characterReferenceMarkerNumeric:he,characterReferenceValue:se,characterReference:Ce,codeFenced:p(Y),codeFencedFence:N,codeFencedFenceInfo:v,codeFencedFenceMeta:C,codeFlowValue:U,codeIndented:p(M),codeText:p($),codeTextData:U,data:U,definition:p(),definitionDestinationString:I,definitionLabelString:H,definitionTitleString:L,emphasis:p(),hardBreakEscape:p(ne),hardBreakTrailing:p(ne),htmlFlow:p(Se),htmlFlowData:U,htmlText:p(ie),htmlTextData:U,image:p(F),label:ve,labelText:re,lineEnding:te,link:p(R),listItem:p(),listOrdered:p(),listUnordered:p(),paragraph:p(),referenceString:ee,resourceDestinationString:E,resourceTitleString:T,resource:G,setextHeading:p(ue),setextHeadingLineSequence:P,setextHeadingText:B,strong:p(),thematicBreak:p()}};S0(a,(n||{}).mdastExtensions||[]);const i={};return u;function u(Q){let W={type:"root",children:[]};const me={stack:[W],tokenStack:[],config:a,enter:d,exit:m,buffer:f,resume:x,data:i},ze=[];let Re=-1;for(;++Re<Q.length;)if(Q[Re][1].type==="listOrdered"||Q[Re][1].type==="listUnordered")if(Q[Re][0]==="enter")ze.push(Re);else{const Mt=ze.pop();Re=s(Q,Mt,Re)}for(Re=-1;++Re<Q.length;){const Mt=a[Q[Re][0]];v0.call(Mt,Q[Re][1].type)&&Mt[Q[Re][1].type].call(Object.assign({sliceSerialize:Q[Re][2].sliceSerialize},me),Q[Re][1])}if(me.tokenStack.length>0){const Mt=me.tokenStack[me.tokenStack.length-1];(Mt[1]||cp).call(me,void 0,Mt[0])}for(W.position={start:il(Q.length>0?Q[0][1].start:{line:1,column:1,offset:0}),end:il(Q.length>0?Q[Q.length-2][1].end:{line:1,column:1,offset:0})},Re=-1;++Re<a.transforms.length;)W=a.transforms[Re](W)||W;return W}function s(Q,W,me){let ze=W-1,Re=-1,Mt=!1,dn,xt,at,St;for(;++ze<=me;){const Ve=Q[ze];switch(Ve[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Ve[0]==="enter"?Re++:Re--,St=void 0;break}case"lineEndingBlank":{Ve[0]==="enter"&&(dn&&!St&&!Re&&!at&&(at=ze),St=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:St=void 0}if(!Re&&Ve[0]==="enter"&&Ve[1].type==="listItemPrefix"||Re===-1&&Ve[0]==="exit"&&(Ve[1].type==="listUnordered"||Ve[1].type==="listOrdered")){if(dn){let On=ze;for(xt=void 0;On--;){const Pt=Q[On];if(Pt[1].type==="lineEnding"||Pt[1].type==="lineEndingBlank"){if(Pt[0]==="exit")continue;xt&&(Q[xt][1].type="lineEndingBlank",Mt=!0),Pt[1].type="lineEnding",xt=On}else if(!(Pt[1].type==="linePrefix"||Pt[1].type==="blockQuotePrefix"||Pt[1].type==="blockQuotePrefixWhitespace"||Pt[1].type==="blockQuoteMarker"||Pt[1].type==="listItemIndent"))break}at&&(!xt||at<xt)&&(dn._spread=!0),dn.end=Object.assign({},xt?Q[xt][1].start:Ve[1].end),Q.splice(xt||ze,0,["exit",dn,Ve[2]]),ze++,me++}if(Ve[1].type==="listItemPrefix"){const On={type:"listItem",_spread:!1,start:Object.assign({},Ve[1].start),end:void 0};dn=On,Q.splice(ze,0,["enter",On,Ve[2]]),ze++,me++,at=void 0,St=!0}}}return Q[W][1]._spread=Mt,me}function c(Q,W){return me;function me(ze){d.call(this,Q(ze),ze),W&&W.call(this,ze)}}function f(){this.stack.push({type:"fragment",children:[]})}function d(Q,W,me){this.stack[this.stack.length-1].children.push(Q),this.stack.push(Q),this.tokenStack.push([W,me||void 0]),Q.position={start:il(W.start),end:void 0}}function p(Q){return W;function W(me){Q&&Q.call(this,me),m.call(this,me)}}function m(Q,W){const me=this.stack.pop(),ze=this.tokenStack.pop();if(ze)ze[0].type!==Q.type&&(W?W.call(this,Q,ze[0]):(ze[1]||cp).call(this,Q,ze[0]));else throw new Error("Cannot close `"+Q.type+"` ("+ka({start:Q.start,end:Q.end})+"): it’s not open");me.position.end=il(Q.end)}function x(){return bc(this.stack.pop())}function g(){this.data.expectingFirstListItemValue=!0}function b(Q){if(this.data.expectingFirstListItemValue){const W=this.stack[this.stack.length-2];W.start=Number.parseInt(this.sliceSerialize(Q),10),this.data.expectingFirstListItemValue=void 0}}function v(){const Q=this.resume(),W=this.stack[this.stack.length-1];W.lang=Q}function C(){const Q=this.resume(),W=this.stack[this.stack.length-1];W.meta=Q}function N(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function Y(){const Q=this.resume(),W=this.stack[this.stack.length-1];W.value=Q.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function M(){const Q=this.resume(),W=this.stack[this.stack.length-1];W.value=Q.replace(/(\r?\n|\r)$/g,"")}function H(Q){const W=this.resume(),me=this.stack[this.stack.length-1];me.label=W,me.identifier=ln(this.sliceSerialize(Q)).toLowerCase()}function L(){const Q=this.resume(),W=this.stack[this.stack.length-1];W.title=Q}function I(){const Q=this.resume(),W=this.stack[this.stack.length-1];W.url=Q}function J(Q){const W=this.stack[this.stack.length-1];if(!W.depth){const me=this.sliceSerialize(Q).length;W.depth=me}}function B(){this.data.setextHeadingSlurpLineEnding=!0}function P(Q){const W=this.stack[this.stack.length-1];W.depth=this.sliceSerialize(Q).codePointAt(0)===61?1:2}function ue(){this.data.setextHeadingSlurpLineEnding=void 0}function pe(Q){const me=this.stack[this.stack.length-1].children;let ze=me[me.length-1];(!ze||ze.type!=="text")&&(ze=yt(),ze.position={start:il(Q.start),end:void 0},me.push(ze)),this.stack.push(ze)}function U(Q){const W=this.stack.pop();W.value+=this.sliceSerialize(Q),W.position.end=il(Q.end)}function te(Q){const W=this.stack[this.stack.length-1];if(this.data.atHardBreak){const me=W.children[W.children.length-1];me.position.end=il(Q.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&a.canContainEols.includes(W.type)&&(pe.call(this,Q),U.call(this,Q))}function ne(){this.data.atHardBreak=!0}function Se(){const Q=this.resume(),W=this.stack[this.stack.length-1];W.value=Q}function ie(){const Q=this.resume(),W=this.stack[this.stack.length-1];W.value=Q}function $(){const Q=this.resume(),W=this.stack[this.stack.length-1];W.value=Q}function R(){const Q=this.stack[this.stack.length-1];if(this.data.inReference){const W=this.data.referenceType||"shortcut";Q.type+="Reference",Q.referenceType=W,delete Q.url,delete Q.title}else delete Q.identifier,delete Q.label;this.data.referenceType=void 0}function F(){const Q=this.stack[this.stack.length-1];if(this.data.inReference){const W=this.data.referenceType||"shortcut";Q.type+="Reference",Q.referenceType=W,delete Q.url,delete Q.title}else delete Q.identifier,delete Q.label;this.data.referenceType=void 0}function re(Q){const W=this.sliceSerialize(Q),me=this.stack[this.stack.length-2];me.label=O2(W),me.identifier=ln(W).toLowerCase()}function ve(){const Q=this.stack[this.stack.length-1],W=this.resume(),me=this.stack[this.stack.length-1];if(this.data.inReference=!0,me.type==="link"){const ze=Q.children;me.children=ze}else me.alt=W}function E(){const Q=this.resume(),W=this.stack[this.stack.length-1];W.url=Q}function T(){const Q=this.resume(),W=this.stack[this.stack.length-1];W.title=Q}function G(){this.data.inReference=void 0}function k(){this.data.referenceType="collapsed"}function ee(Q){const W=this.resume(),me=this.stack[this.stack.length-1];me.label=W,me.identifier=ln(this.sliceSerialize(Q)).toLowerCase(),this.data.referenceType="full"}function he(Q){this.data.characterReferenceType=Q.type}function se(Q){const W=this.sliceSerialize(Q),me=this.data.characterReferenceType;let ze;me?(ze=c0(W,me==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):ze=vc(W);const Re=this.stack[this.stack.length-1];Re.value+=ze}function Ce(Q){const W=this.stack.pop();W.position.end=il(Q.end)}function Ke(Q){U.call(this,Q);const W=this.stack[this.stack.length-1];W.url=this.sliceSerialize(Q)}function Ue(Q){U.call(this,Q);const W=this.stack[this.stack.length-1];W.url="mailto:"+this.sliceSerialize(Q)}function Yt(){return{type:"blockquote",children:[]}}function fn(){return{type:"code",lang:null,meta:null,value:""}}function Ei(){return{type:"inlineCode",value:""}}function ja(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function hn(){return{type:"emphasis",children:[]}}function Tl(){return{type:"heading",depth:0,children:[]}}function Al(){return{type:"break"}}function Oa(){return{type:"html",value:""}}function Da(){return{type:"image",title:null,url:"",alt:null}}function Nl(){return{type:"link",title:null,url:"",children:[]}}function _l(Q){return{type:"list",ordered:Q.type==="listOrdered",start:null,spread:Q._spread,children:[]}}function wi(Q){return{type:"listItem",spread:Q._spread,checked:null,children:[]}}function du(){return{type:"paragraph",children:[]}}function mu(){return{type:"strong",children:[]}}function yt(){return{type:"text",value:""}}function pu(){return{type:"thematicBreak"}}}function il(n){return{line:n.line,column:n.column,offset:n.offset}}function S0(n,a){let i=-1;for(;++i<a.length;){const u=a[i];Array.isArray(u)?S0(n,u):B2(n,u)}}function B2(n,a){let i;for(i in a)if(v0.call(a,i))switch(i){case"canContainEols":{const u=a[i];u&&n[i].push(...u);break}case"transforms":{const u=a[i];u&&n[i].push(...u);break}case"enter":case"exit":{const u=a[i];u&&Object.assign(n[i],u);break}}}function cp(n,a){throw n?new Error("Cannot close `"+n.type+"` ("+ka({start:n.start,end:n.end})+"): a different token (`"+a.type+"`, "+ka({start:a.start,end:a.end})+") is open"):new Error("Cannot close document, a token (`"+a.type+"`, "+ka({start:a.start,end:a.end})+") is still open")}function U2(n){const a=this;a.parser=i;function i(u){return R2(u,{...a.data("settings"),...n,extensions:a.data("micromarkExtensions")||[],mdastExtensions:a.data("fromMarkdownExtensions")||[]})}}function H2(n,a){const i={type:"element",tagName:"blockquote",properties:{},children:n.wrap(n.all(a),!0)};return n.patch(a,i),n.applyData(a,i)}function q2(n,a){const i={type:"element",tagName:"br",properties:{},children:[]};return n.patch(a,i),[n.applyData(a,i),{type:"text",value:`
|
|
241
|
-
`}]}function Y2(n,a){const i=a.value?a.value+`
|
|
242
|
-
`:"",u={},s=a.lang?a.lang.split(/\s+/):[];s.length>0&&(u.className=["language-"+s[0]]);let c={type:"element",tagName:"code",properties:u,children:[{type:"text",value:i}]};return a.meta&&(c.data={meta:a.meta}),n.patch(a,c),c=n.applyData(a,c),c={type:"element",tagName:"pre",properties:{},children:[c]},n.patch(a,c),c}function V2(n,a){const i={type:"element",tagName:"del",properties:{},children:n.all(a)};return n.patch(a,i),n.applyData(a,i)}function G2(n,a){const i={type:"element",tagName:"em",properties:{},children:n.all(a)};return n.patch(a,i),n.applyData(a,i)}function Q2(n,a){const i=typeof n.options.clobberPrefix=="string"?n.options.clobberPrefix:"user-content-",u=String(a.identifier).toUpperCase(),s=ki(u.toLowerCase()),c=n.footnoteOrder.indexOf(u);let f,d=n.footnoteCounts.get(u);d===void 0?(d=0,n.footnoteOrder.push(u),f=n.footnoteOrder.length):f=c+1,d+=1,n.footnoteCounts.set(u,d);const p={type:"element",tagName:"a",properties:{href:"#"+i+"fn-"+s,id:i+"fnref-"+s+(d>1?"-"+d:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(f)}]};n.patch(a,p);const m={type:"element",tagName:"sup",properties:{},children:[p]};return n.patch(a,m),n.applyData(a,m)}function X2(n,a){const i={type:"element",tagName:"h"+a.depth,properties:{},children:n.all(a)};return n.patch(a,i),n.applyData(a,i)}function Z2(n,a){if(n.options.allowDangerousHtml){const i={type:"raw",value:a.value};return n.patch(a,i),n.applyData(a,i)}}function z0(n,a){const i=a.referenceType;let u="]";if(i==="collapsed"?u+="[]":i==="full"&&(u+="["+(a.label||a.identifier)+"]"),a.type==="imageReference")return[{type:"text",value:"!["+a.alt+u}];const s=n.all(a),c=s[0];c&&c.type==="text"?c.value="["+c.value:s.unshift({type:"text",value:"["});const f=s[s.length-1];return f&&f.type==="text"?f.value+=u:s.push({type:"text",value:u}),s}function F2(n,a){const i=String(a.identifier).toUpperCase(),u=n.definitionById.get(i);if(!u)return z0(n,a);const s={src:ki(u.url||""),alt:a.alt};u.title!==null&&u.title!==void 0&&(s.title=u.title);const c={type:"element",tagName:"img",properties:s,children:[]};return n.patch(a,c),n.applyData(a,c)}function K2(n,a){const i={src:ki(a.url)};a.alt!==null&&a.alt!==void 0&&(i.alt=a.alt),a.title!==null&&a.title!==void 0&&(i.title=a.title);const u={type:"element",tagName:"img",properties:i,children:[]};return n.patch(a,u),n.applyData(a,u)}function J2(n,a){const i={type:"text",value:a.value.replace(/\r?\n|\r/g," ")};n.patch(a,i);const u={type:"element",tagName:"code",properties:{},children:[i]};return n.patch(a,u),n.applyData(a,u)}function I2(n,a){const i=String(a.identifier).toUpperCase(),u=n.definitionById.get(i);if(!u)return z0(n,a);const s={href:ki(u.url||"")};u.title!==null&&u.title!==void 0&&(s.title=u.title);const c={type:"element",tagName:"a",properties:s,children:n.all(a)};return n.patch(a,c),n.applyData(a,c)}function $2(n,a){const i={href:ki(a.url)};a.title!==null&&a.title!==void 0&&(i.title=a.title);const u={type:"element",tagName:"a",properties:i,children:n.all(a)};return n.patch(a,u),n.applyData(a,u)}function W2(n,a,i){const u=n.all(a),s=i?P2(i):k0(a),c={},f=[];if(typeof a.checked=="boolean"){const x=u[0];let g;x&&x.type==="element"&&x.tagName==="p"?g=x:(g={type:"element",tagName:"p",properties:{},children:[]},u.unshift(g)),g.children.length>0&&g.children.unshift({type:"text",value:" "}),g.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:a.checked,disabled:!0},children:[]}),c.className=["task-list-item"]}let d=-1;for(;++d<u.length;){const x=u[d];(s||d!==0||x.type!=="element"||x.tagName!=="p")&&f.push({type:"text",value:`
|
|
243
|
-
`}),x.type==="element"&&x.tagName==="p"&&!s?f.push(...x.children):f.push(x)}const p=u[u.length-1];p&&(s||p.type!=="element"||p.tagName!=="p")&&f.push({type:"text",value:`
|
|
244
|
-
`});const m={type:"element",tagName:"li",properties:c,children:f};return n.patch(a,m),n.applyData(a,m)}function P2(n){let a=!1;if(n.type==="list"){a=n.spread||!1;const i=n.children;let u=-1;for(;!a&&++u<i.length;)a=k0(i[u])}return a}function k0(n){const a=n.spread;return a??n.children.length>1}function eS(n,a){const i={},u=n.all(a);let s=-1;for(typeof a.start=="number"&&a.start!==1&&(i.start=a.start);++s<u.length;){const f=u[s];if(f.type==="element"&&f.tagName==="li"&&f.properties&&Array.isArray(f.properties.className)&&f.properties.className.includes("task-list-item")){i.className=["contains-task-list"];break}}const c={type:"element",tagName:a.ordered?"ol":"ul",properties:i,children:n.wrap(u,!0)};return n.patch(a,c),n.applyData(a,c)}function tS(n,a){const i={type:"element",tagName:"p",properties:{},children:n.all(a)};return n.patch(a,i),n.applyData(a,i)}function nS(n,a){const i={type:"root",children:n.wrap(n.all(a))};return n.patch(a,i),n.applyData(a,i)}function lS(n,a){const i={type:"element",tagName:"strong",properties:{},children:n.all(a)};return n.patch(a,i),n.applyData(a,i)}function iS(n,a){const i=n.all(a),u=i.shift(),s=[];if(u){const f={type:"element",tagName:"thead",properties:{},children:n.wrap([u],!0)};n.patch(a.children[0],f),s.push(f)}if(i.length>0){const f={type:"element",tagName:"tbody",properties:{},children:n.wrap(i,!0)},d=pc(a.children[1]),p=n0(a.children[a.children.length-1]);d&&p&&(f.position={start:d,end:p}),s.push(f)}const c={type:"element",tagName:"table",properties:{},children:n.wrap(s,!0)};return n.patch(a,c),n.applyData(a,c)}function aS(n,a,i){const u=i?i.children:void 0,c=(u?u.indexOf(a):1)===0?"th":"td",f=i&&i.type==="table"?i.align:void 0,d=f?f.length:a.children.length;let p=-1;const m=[];for(;++p<d;){const g=a.children[p],b={},v=f?f[p]:void 0;v&&(b.align=v);let C={type:"element",tagName:c,properties:b,children:[]};g&&(C.children=n.all(g),n.patch(g,C),C=n.applyData(g,C)),m.push(C)}const x={type:"element",tagName:"tr",properties:{},children:n.wrap(m,!0)};return n.patch(a,x),n.applyData(a,x)}function rS(n,a){const i={type:"element",tagName:"td",properties:{},children:n.all(a)};return n.patch(a,i),n.applyData(a,i)}const fp=9,hp=32;function uS(n){const a=String(n),i=/\r?\n|\r/g;let u=i.exec(a),s=0;const c=[];for(;u;)c.push(dp(a.slice(s,u.index),s>0,!0),u[0]),s=u.index+u[0].length,u=i.exec(a);return c.push(dp(a.slice(s),s>0,!1)),c.join("")}function dp(n,a,i){let u=0,s=n.length;if(a){let c=n.codePointAt(u);for(;c===fp||c===hp;)u++,c=n.codePointAt(u)}if(i){let c=n.codePointAt(s-1);for(;c===fp||c===hp;)s--,c=n.codePointAt(s-1)}return s>u?n.slice(u,s):""}function sS(n,a){const i={type:"text",value:uS(String(a.value))};return n.patch(a,i),n.applyData(a,i)}function oS(n,a){const i={type:"element",tagName:"hr",properties:{},children:[]};return n.patch(a,i),n.applyData(a,i)}const cS={blockquote:H2,break:q2,code:Y2,delete:V2,emphasis:G2,footnoteReference:Q2,heading:X2,html:Z2,imageReference:F2,image:K2,inlineCode:J2,linkReference:I2,link:$2,listItem:W2,list:eS,paragraph:tS,root:nS,strong:lS,table:iS,tableCell:rS,tableRow:aS,text:sS,thematicBreak:oS,toml:$r,yaml:$r,definition:$r,footnoteDefinition:$r};function $r(){}const E0=-1,cu=0,wa=1,iu=2,zc=3,kc=4,Ec=5,wc=6,w0=7,C0=8,mp=typeof self=="object"?self:globalThis,fS=(n,a)=>{const i=(s,c)=>(n.set(c,s),s),u=s=>{if(n.has(s))return n.get(s);const[c,f]=a[s];switch(c){case cu:case E0:return i(f,s);case wa:{const d=i([],s);for(const p of f)d.push(u(p));return d}case iu:{const d=i({},s);for(const[p,m]of f)d[u(p)]=u(m);return d}case zc:return i(new Date(f),s);case kc:{const{source:d,flags:p}=f;return i(new RegExp(d,p),s)}case Ec:{const d=i(new Map,s);for(const[p,m]of f)d.set(u(p),u(m));return d}case wc:{const d=i(new Set,s);for(const p of f)d.add(u(p));return d}case w0:{const{name:d,message:p}=f;return i(new mp[d](p),s)}case C0:return i(BigInt(f),s);case"BigInt":return i(Object(BigInt(f)),s);case"ArrayBuffer":return i(new Uint8Array(f).buffer,f);case"DataView":{const{buffer:d}=new Uint8Array(f);return i(new DataView(d),f)}}return i(new mp[c](f),s)};return u},pp=n=>fS(new Map,n)(0),yi="",{toString:hS}={},{keys:dS}=Object,za=n=>{const a=typeof n;if(a!=="object"||!n)return[cu,a];const i=hS.call(n).slice(8,-1);switch(i){case"Array":return[wa,yi];case"Object":return[iu,yi];case"Date":return[zc,yi];case"RegExp":return[kc,yi];case"Map":return[Ec,yi];case"Set":return[wc,yi];case"DataView":return[wa,i]}return i.includes("Array")?[wa,i]:i.includes("Error")?[w0,i]:[iu,i]},Wr=([n,a])=>n===cu&&(a==="function"||a==="symbol"),mS=(n,a,i,u)=>{const s=(f,d)=>{const p=u.push(f)-1;return i.set(d,p),p},c=f=>{if(i.has(f))return i.get(f);let[d,p]=za(f);switch(d){case cu:{let x=f;switch(p){case"bigint":d=C0,x=f.toString();break;case"function":case"symbol":if(n)throw new TypeError("unable to serialize "+p);x=null;break;case"undefined":return s([E0],f)}return s([d,x],f)}case wa:{if(p){let b=f;return p==="DataView"?b=new Uint8Array(f.buffer):p==="ArrayBuffer"&&(b=new Uint8Array(f)),s([p,[...b]],f)}const x=[],g=s([d,x],f);for(const b of f)x.push(c(b));return g}case iu:{if(p)switch(p){case"BigInt":return s([p,f.toString()],f);case"Boolean":case"Number":case"String":return s([p,f.valueOf()],f)}if(a&&"toJSON"in f)return c(f.toJSON());const x=[],g=s([d,x],f);for(const b of dS(f))(n||!Wr(za(f[b])))&&x.push([c(b),c(f[b])]);return g}case zc:return s([d,f.toISOString()],f);case kc:{const{source:x,flags:g}=f;return s([d,{source:x,flags:g}],f)}case Ec:{const x=[],g=s([d,x],f);for(const[b,v]of f)(n||!(Wr(za(b))||Wr(za(v))))&&x.push([c(b),c(v)]);return g}case wc:{const x=[],g=s([d,x],f);for(const b of f)(n||!Wr(za(b)))&&x.push(c(b));return g}}const{message:m}=f;return s([d,{name:p,message:m}],f)};return c},gp=(n,{json:a,lossy:i}={})=>{const u=[];return mS(!(a||i),!!a,new Map,u)(n),u},au=typeof structuredClone=="function"?(n,a)=>a&&("json"in a||"lossy"in a)?pp(gp(n,a)):structuredClone(n):(n,a)=>pp(gp(n,a));function pS(n,a){const i=[{type:"text",value:"↩"}];return a>1&&i.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(a)}]}),i}function gS(n,a){return"Back to reference "+(n+1)+(a>1?"-"+a:"")}function yS(n){const a=typeof n.options.clobberPrefix=="string"?n.options.clobberPrefix:"user-content-",i=n.options.footnoteBackContent||pS,u=n.options.footnoteBackLabel||gS,s=n.options.footnoteLabel||"Footnotes",c=n.options.footnoteLabelTagName||"h2",f=n.options.footnoteLabelProperties||{className:["sr-only"]},d=[];let p=-1;for(;++p<n.footnoteOrder.length;){const m=n.footnoteById.get(n.footnoteOrder[p]);if(!m)continue;const x=n.all(m),g=String(m.identifier).toUpperCase(),b=ki(g.toLowerCase());let v=0;const C=[],N=n.footnoteCounts.get(g);for(;N!==void 0&&++v<=N;){C.length>0&&C.push({type:"text",value:" "});let H=typeof i=="string"?i:i(p,v);typeof H=="string"&&(H={type:"text",value:H}),C.push({type:"element",tagName:"a",properties:{href:"#"+a+"fnref-"+b+(v>1?"-"+v:""),dataFootnoteBackref:"",ariaLabel:typeof u=="string"?u:u(p,v),className:["data-footnote-backref"]},children:Array.isArray(H)?H:[H]})}const Y=x[x.length-1];if(Y&&Y.type==="element"&&Y.tagName==="p"){const H=Y.children[Y.children.length-1];H&&H.type==="text"?H.value+=" ":Y.children.push({type:"text",value:" "}),Y.children.push(...C)}else x.push(...C);const M={type:"element",tagName:"li",properties:{id:a+"fn-"+b},children:n.wrap(x,!0)};n.patch(m,M),d.push(M)}if(d.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:c,properties:{...au(f),id:"footnote-label"},children:[{type:"text",value:s}]},{type:"text",value:`
|
|
245
|
-
`},{type:"element",tagName:"ol",properties:{},children:n.wrap(d,!0)},{type:"text",value:`
|
|
246
|
-
`}]}}const fu=(function(n){if(n==null)return SS;if(typeof n=="function")return hu(n);if(typeof n=="object")return Array.isArray(n)?xS(n):bS(n);if(typeof n=="string")return vS(n);throw new Error("Expected function, string, or object as test")});function xS(n){const a=[];let i=-1;for(;++i<n.length;)a[i]=fu(n[i]);return hu(u);function u(...s){let c=-1;for(;++c<a.length;)if(a[c].apply(this,s))return!0;return!1}}function bS(n){const a=n;return hu(i);function i(u){const s=u;let c;for(c in n)if(s[c]!==a[c])return!1;return!0}}function vS(n){return hu(a);function a(i){return i&&i.type===n}}function hu(n){return a;function a(i,u,s){return!!(zS(i)&&n.call(this,i,typeof u=="number"?u:void 0,s||void 0))}}function SS(){return!0}function zS(n){return n!==null&&typeof n=="object"&&"type"in n}const T0=[],kS=!0,ac=!1,ES="skip";function A0(n,a,i,u){let s;typeof a=="function"&&typeof i!="function"?(u=i,i=a):s=a;const c=fu(s),f=u?-1:1;d(n,void 0,[])();function d(p,m,x){const g=p&&typeof p=="object"?p:{};if(typeof g.type=="string"){const v=typeof g.tagName=="string"?g.tagName:typeof g.name=="string"?g.name:void 0;Object.defineProperty(b,"name",{value:"node ("+(p.type+(v?"<"+v+">":""))+")"})}return b;function b(){let v=T0,C,N,Y;if((!a||c(p,m,x[x.length-1]||void 0))&&(v=wS(i(p,x)),v[0]===ac))return v;if("children"in p&&p.children){const M=p;if(M.children&&v[0]!==ES)for(N=(u?M.children.length:-1)+f,Y=x.concat(M);N>-1&&N<M.children.length;){const H=M.children[N];if(C=d(H,N,Y)(),C[0]===ac)return C;N=typeof C[1]=="number"?C[1]:N+f}}return v}}}function wS(n){return Array.isArray(n)?n:typeof n=="number"?[kS,n]:n==null?T0:[n]}function Cc(n,a,i,u){let s,c,f;typeof a=="function"&&typeof i!="function"?(c=void 0,f=a,s=i):(c=a,f=i,s=u),A0(n,c,d,s);function d(p,m){const x=m[m.length-1],g=x?x.children.indexOf(p):void 0;return f(p,g,x)}}const rc={}.hasOwnProperty,CS={};function TS(n,a){const i=a||CS,u=new Map,s=new Map,c=new Map,f={...cS,...i.handlers},d={all:m,applyData:NS,definitionById:u,footnoteById:s,footnoteCounts:c,footnoteOrder:[],handlers:f,one:p,options:i,patch:AS,wrap:MS};return Cc(n,function(x){if(x.type==="definition"||x.type==="footnoteDefinition"){const g=x.type==="definition"?u:s,b=String(x.identifier).toUpperCase();g.has(b)||g.set(b,x)}}),d;function p(x,g){const b=x.type,v=d.handlers[b];if(rc.call(d.handlers,b)&&v)return v(d,x,g);if(d.options.passThrough&&d.options.passThrough.includes(b)){if("children"in x){const{children:N,...Y}=x,M=au(Y);return M.children=d.all(x),M}return au(x)}return(d.options.unknownHandler||_S)(d,x,g)}function m(x){const g=[];if("children"in x){const b=x.children;let v=-1;for(;++v<b.length;){const C=d.one(b[v],x);if(C){if(v&&b[v-1].type==="break"&&(!Array.isArray(C)&&C.type==="text"&&(C.value=yp(C.value)),!Array.isArray(C)&&C.type==="element")){const N=C.children[0];N&&N.type==="text"&&(N.value=yp(N.value))}Array.isArray(C)?g.push(...C):g.push(C)}}}return g}}function AS(n,a){n.position&&(a.position=gb(n))}function NS(n,a){let i=a;if(n&&n.data){const u=n.data.hName,s=n.data.hChildren,c=n.data.hProperties;if(typeof u=="string")if(i.type==="element")i.tagName=u;else{const f="children"in i?i.children:[i];i={type:"element",tagName:u,properties:{},children:f}}i.type==="element"&&c&&Object.assign(i.properties,au(c)),"children"in i&&i.children&&s!==null&&s!==void 0&&(i.children=s)}return i}function _S(n,a){const i=a.data||{},u="value"in a&&!(rc.call(i,"hProperties")||rc.call(i,"hChildren"))?{type:"text",value:a.value}:{type:"element",tagName:"div",properties:{},children:n.all(a)};return n.patch(a,u),n.applyData(a,u)}function MS(n,a){const i=[];let u=-1;for(a&&i.push({type:"text",value:`
|
|
247
|
-
`});++u<n.length;)u&&i.push({type:"text",value:`
|
|
248
|
-
`}),i.push(n[u]);return a&&n.length>0&&i.push({type:"text",value:`
|
|
249
|
-
`}),i}function yp(n){let a=0,i=n.charCodeAt(a);for(;i===9||i===32;)a++,i=n.charCodeAt(a);return n.slice(a)}function xp(n,a){const i=TS(n,a),u=i.one(n,void 0),s=yS(i),c=Array.isArray(u)?{type:"root",children:u}:u||{type:"root",children:[]};return s&&c.children.push({type:"text",value:`
|
|
250
|
-
`},s),c}function jS(n,a){return n&&"run"in n?async function(i,u){const s=xp(i,{file:u,...a});await n.run(s,u)}:function(i,u){return xp(i,{file:u,...n||a})}}function bp(n){if(n)throw n}var qo,vp;function OS(){if(vp)return qo;vp=1;var n=Object.prototype.hasOwnProperty,a=Object.prototype.toString,i=Object.defineProperty,u=Object.getOwnPropertyDescriptor,s=function(m){return typeof Array.isArray=="function"?Array.isArray(m):a.call(m)==="[object Array]"},c=function(m){if(!m||a.call(m)!=="[object Object]")return!1;var x=n.call(m,"constructor"),g=m.constructor&&m.constructor.prototype&&n.call(m.constructor.prototype,"isPrototypeOf");if(m.constructor&&!x&&!g)return!1;var b;for(b in m);return typeof b>"u"||n.call(m,b)},f=function(m,x){i&&x.name==="__proto__"?i(m,x.name,{enumerable:!0,configurable:!0,value:x.newValue,writable:!0}):m[x.name]=x.newValue},d=function(m,x){if(x==="__proto__")if(n.call(m,x)){if(u)return u(m,x).value}else return;return m[x]};return qo=function p(){var m,x,g,b,v,C,N=arguments[0],Y=1,M=arguments.length,H=!1;for(typeof N=="boolean"&&(H=N,N=arguments[1]||{},Y=2),(N==null||typeof N!="object"&&typeof N!="function")&&(N={});Y<M;++Y)if(m=arguments[Y],m!=null)for(x in m)g=d(N,x),b=d(m,x),N!==b&&(H&&b&&(c(b)||(v=s(b)))?(v?(v=!1,C=g&&s(g)?g:[]):C=g&&c(g)?g:{},f(N,{name:x,newValue:p(H,C,b)})):typeof b<"u"&&f(N,{name:x,newValue:b}));return N},qo}var DS=OS();const Yo=Lp(DS);function uc(n){if(typeof n!="object"||n===null)return!1;const a=Object.getPrototypeOf(n);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(Symbol.toStringTag in n)&&!(Symbol.iterator in n)}function RS(){const n=[],a={run:i,use:u};return a;function i(...s){let c=-1;const f=s.pop();if(typeof f!="function")throw new TypeError("Expected function as last argument, not "+f);d(null,...s);function d(p,...m){const x=n[++c];let g=-1;if(p){f(p);return}for(;++g<s.length;)(m[g]===null||m[g]===void 0)&&(m[g]=s[g]);s=m,x?LS(x,d)(...m):f(null,...m)}}function u(s){if(typeof s!="function")throw new TypeError("Expected `middelware` to be a function, not "+s);return n.push(s),a}}function LS(n,a){let i;return u;function u(...f){const d=n.length>f.length;let p;d&&f.push(s);try{p=n.apply(this,f)}catch(m){const x=m;if(d&&i)throw x;return s(x)}d||(p&&p.then&&typeof p.then=="function"?p.then(c,s):p instanceof Error?s(p):c(p))}function s(f,...d){i||(i=!0,a(f,...d))}function c(f){s(null,f)}}const on={basename:BS,dirname:US,extname:HS,join:qS,sep:"/"};function BS(n,a){if(a!==void 0&&typeof a!="string")throw new TypeError('"ext" argument must be a string');_a(n);let i=0,u=-1,s=n.length,c;if(a===void 0||a.length===0||a.length>n.length){for(;s--;)if(n.codePointAt(s)===47){if(c){i=s+1;break}}else u<0&&(c=!0,u=s+1);return u<0?"":n.slice(i,u)}if(a===n)return"";let f=-1,d=a.length-1;for(;s--;)if(n.codePointAt(s)===47){if(c){i=s+1;break}}else f<0&&(c=!0,f=s+1),d>-1&&(n.codePointAt(s)===a.codePointAt(d--)?d<0&&(u=s):(d=-1,u=f));return i===u?u=f:u<0&&(u=n.length),n.slice(i,u)}function US(n){if(_a(n),n.length===0)return".";let a=-1,i=n.length,u;for(;--i;)if(n.codePointAt(i)===47){if(u){a=i;break}}else u||(u=!0);return a<0?n.codePointAt(0)===47?"/":".":a===1&&n.codePointAt(0)===47?"//":n.slice(0,a)}function HS(n){_a(n);let a=n.length,i=-1,u=0,s=-1,c=0,f;for(;a--;){const d=n.codePointAt(a);if(d===47){if(f){u=a+1;break}continue}i<0&&(f=!0,i=a+1),d===46?s<0?s=a:c!==1&&(c=1):s>-1&&(c=-1)}return s<0||i<0||c===0||c===1&&s===i-1&&s===u+1?"":n.slice(s,i)}function qS(...n){let a=-1,i;for(;++a<n.length;)_a(n[a]),n[a]&&(i=i===void 0?n[a]:i+"/"+n[a]);return i===void 0?".":YS(i)}function YS(n){_a(n);const a=n.codePointAt(0)===47;let i=VS(n,!a);return i.length===0&&!a&&(i="."),i.length>0&&n.codePointAt(n.length-1)===47&&(i+="/"),a?"/"+i:i}function VS(n,a){let i="",u=0,s=-1,c=0,f=-1,d,p;for(;++f<=n.length;){if(f<n.length)d=n.codePointAt(f);else{if(d===47)break;d=47}if(d===47){if(!(s===f-1||c===1))if(s!==f-1&&c===2){if(i.length<2||u!==2||i.codePointAt(i.length-1)!==46||i.codePointAt(i.length-2)!==46){if(i.length>2){if(p=i.lastIndexOf("/"),p!==i.length-1){p<0?(i="",u=0):(i=i.slice(0,p),u=i.length-1-i.lastIndexOf("/")),s=f,c=0;continue}}else if(i.length>0){i="",u=0,s=f,c=0;continue}}a&&(i=i.length>0?i+"/..":"..",u=2)}else i.length>0?i+="/"+n.slice(s+1,f):i=n.slice(s+1,f),u=f-s-1;s=f,c=0}else d===46&&c>-1?c++:c=-1}return i}function _a(n){if(typeof n!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(n))}const GS={cwd:QS};function QS(){return"/"}function sc(n){return!!(n!==null&&typeof n=="object"&&"href"in n&&n.href&&"protocol"in n&&n.protocol&&n.auth===void 0)}function XS(n){if(typeof n=="string")n=new URL(n);else if(!sc(n)){const a=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+n+"`");throw a.code="ERR_INVALID_ARG_TYPE",a}if(n.protocol!=="file:"){const a=new TypeError("The URL must be of scheme file");throw a.code="ERR_INVALID_URL_SCHEME",a}return ZS(n)}function ZS(n){if(n.hostname!==""){const u=new TypeError('File URL host must be "localhost" or empty on darwin');throw u.code="ERR_INVALID_FILE_URL_HOST",u}const a=n.pathname;let i=-1;for(;++i<a.length;)if(a.codePointAt(i)===37&&a.codePointAt(i+1)===50){const u=a.codePointAt(i+2);if(u===70||u===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 Vo=["history","path","basename","stem","extname","dirname"];class N0{constructor(a){let i;a?sc(a)?i={path:a}:typeof a=="string"||FS(a)?i={value:a}:i=a:i={},this.cwd="cwd"in i?"":GS.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let u=-1;for(;++u<Vo.length;){const c=Vo[u];c in i&&i[c]!==void 0&&i[c]!==null&&(this[c]=c==="history"?[...i[c]]:i[c])}let s;for(s in i)Vo.includes(s)||(this[s]=i[s])}get basename(){return typeof this.path=="string"?on.basename(this.path):void 0}set basename(a){Qo(a,"basename"),Go(a,"basename"),this.path=on.join(this.dirname||"",a)}get dirname(){return typeof this.path=="string"?on.dirname(this.path):void 0}set dirname(a){Sp(this.basename,"dirname"),this.path=on.join(a||"",this.basename)}get extname(){return typeof this.path=="string"?on.extname(this.path):void 0}set extname(a){if(Go(a,"extname"),Sp(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=on.join(this.dirname,this.stem+(a||""))}get path(){return this.history[this.history.length-1]}set path(a){sc(a)&&(a=XS(a)),Qo(a,"path"),this.path!==a&&this.history.push(a)}get stem(){return typeof this.path=="string"?on.basename(this.path,this.extname):void 0}set stem(a){Qo(a,"stem"),Go(a,"stem"),this.path=on.join(this.dirname||"",a+(this.extname||""))}fail(a,i,u){const s=this.message(a,i,u);throw s.fatal=!0,s}info(a,i,u){const s=this.message(a,i,u);return s.fatal=void 0,s}message(a,i,u){const s=new gt(a,i,u);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 Go(n,a){if(n&&n.includes(on.sep))throw new Error("`"+a+"` cannot be a path: did not expect `"+on.sep+"`")}function Qo(n,a){if(!n)throw new Error("`"+a+"` cannot be empty")}function Sp(n,a){if(!n)throw new Error("Setting `"+a+"` requires `path` to be set too")}function FS(n){return!!(n&&typeof n=="object"&&"byteLength"in n&&"byteOffset"in n)}const KS=(function(n){const u=this.constructor.prototype,s=u[n],c=function(){return s.apply(c,arguments)};return Object.setPrototypeOf(c,u),c}),JS={}.hasOwnProperty;class Tc extends KS{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=RS()}copy(){const a=new Tc;let i=-1;for(;++i<this.attachers.length;){const u=this.attachers[i];a.use(...u)}return a.data(Yo(!0,{},this.namespace)),a}data(a,i){return typeof a=="string"?arguments.length===2?(Fo("data",this.frozen),this.namespace[a]=i,this):JS.call(this.namespace,a)&&this.namespace[a]||void 0:a?(Fo("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[i,...u]=this.attachers[this.freezeIndex];if(u[0]===!1)continue;u[0]===!0&&(u[0]=void 0);const s=i.call(a,...u);typeof s=="function"&&this.transformers.use(s)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(a){this.freeze();const i=Pr(a),u=this.parser||this.Parser;return Xo("parse",u),u(String(i),i)}process(a,i){const u=this;return this.freeze(),Xo("process",this.parser||this.Parser),Zo("process",this.compiler||this.Compiler),i?s(void 0,i):new Promise(s);function s(c,f){const d=Pr(a),p=u.parse(d);u.run(p,d,function(x,g,b){if(x||!g||!b)return m(x);const v=g,C=u.stringify(v,b);WS(C)?b.value=C:b.result=C,m(x,b)});function m(x,g){x||!g?f(x):c?c(g):i(void 0,g)}}}processSync(a){let i=!1,u;return this.freeze(),Xo("processSync",this.parser||this.Parser),Zo("processSync",this.compiler||this.Compiler),this.process(a,s),kp("processSync","process",i),u;function s(c,f){i=!0,bp(c),u=f}}run(a,i,u){zp(a),this.freeze();const s=this.transformers;return!u&&typeof i=="function"&&(u=i,i=void 0),u?c(void 0,u):new Promise(c);function c(f,d){const p=Pr(i);s.run(a,p,m);function m(x,g,b){const v=g||a;x?d(x):f?f(v):u(void 0,v,b)}}}runSync(a,i){let u=!1,s;return this.run(a,i,c),kp("runSync","run",u),s;function c(f,d){bp(f),s=d,u=!0}}stringify(a,i){this.freeze();const u=Pr(i),s=this.compiler||this.Compiler;return Zo("stringify",s),zp(a),s(a,u)}use(a,...i){const u=this.attachers,s=this.namespace;if(Fo("use",this.frozen),a!=null)if(typeof a=="function")p(a,i);else if(typeof a=="object")Array.isArray(a)?d(a):f(a);else throw new TypeError("Expected usable value, not `"+a+"`");return this;function c(m){if(typeof m=="function")p(m,[]);else if(typeof m=="object")if(Array.isArray(m)){const[x,...g]=m;p(x,g)}else f(m);else throw new TypeError("Expected usable value, not `"+m+"`")}function f(m){if(!("plugins"in m)&&!("settings"in m))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");d(m.plugins),m.settings&&(s.settings=Yo(!0,s.settings,m.settings))}function d(m){let x=-1;if(m!=null)if(Array.isArray(m))for(;++x<m.length;){const g=m[x];c(g)}else throw new TypeError("Expected a list of plugins, not `"+m+"`")}function p(m,x){let g=-1,b=-1;for(;++g<u.length;)if(u[g][0]===m){b=g;break}if(b===-1)u.push([m,...x]);else if(x.length>0){let[v,...C]=x;const N=u[b][1];uc(N)&&uc(v)&&(v=Yo(!0,N,v)),u[b]=[m,v,...C]}}}}const IS=new Tc().freeze();function Xo(n,a){if(typeof a!="function")throw new TypeError("Cannot `"+n+"` without `parser`")}function Zo(n,a){if(typeof a!="function")throw new TypeError("Cannot `"+n+"` without `compiler`")}function Fo(n,a){if(a)throw new Error("Cannot call `"+n+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function zp(n){if(!uc(n)||typeof n.type!="string")throw new TypeError("Expected node, got `"+n+"`")}function kp(n,a,i){if(!i)throw new Error("`"+n+"` finished async. Use `"+a+"` instead")}function Pr(n){return $S(n)?n:new N0(n)}function $S(n){return!!(n&&typeof n=="object"&&"message"in n&&"messages"in n)}function WS(n){return typeof n=="string"||PS(n)}function PS(n){return!!(n&&typeof n=="object"&&"byteLength"in n&&"byteOffset"in n)}const ez="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Ep=[],wp={allowDangerousHtml:!0},tz=/^(https?|ircs?|mailto|xmpp)$/i,nz=[{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 lz(n){const a=iz(n),i=az(n);return rz(a.runSync(a.parse(i),i),n)}function iz(n){const a=n.rehypePlugins||Ep,i=n.remarkPlugins||Ep,u=n.remarkRehypeOptions?{...n.remarkRehypeOptions,...wp}:wp;return IS().use(U2).use(i).use(jS,u).use(a)}function az(n){const a=n.children||"",i=new N0;return typeof a=="string"&&(i.value=a),i}function rz(n,a){const i=a.allowedElements,u=a.allowElement,s=a.components,c=a.disallowedElements,f=a.skipHtml,d=a.unwrapDisallowed,p=a.urlTransform||uz;for(const x of nz)Object.hasOwn(a,x.from)&&(""+x.from+(x.to?"use `"+x.to+"` instead":"remove it")+ez+x.id,void 0);return Cc(n,m),Sb(n,{Fragment:z.Fragment,components:s,ignoreInvalidStyle:!0,jsx:z.jsx,jsxs:z.jsxs,passKeys:!0,passNode:!0});function m(x,g,b){if(x.type==="raw"&&b&&typeof g=="number")return f?b.children.splice(g,1):b.children[g]={type:"text",value:x.value},g;if(x.type==="element"){let v;for(v in Bo)if(Object.hasOwn(Bo,v)&&Object.hasOwn(x.properties,v)){const C=x.properties[v],N=Bo[v];(N===null||N.includes(x.tagName))&&(x.properties[v]=p(String(C||""),v,x))}}if(x.type==="element"){let v=i?!i.includes(x.tagName):c?c.includes(x.tagName):!1;if(!v&&u&&typeof g=="number"&&(v=!u(x,g,b)),v&&b&&typeof g=="number")return d&&x.children?b.children.splice(g,1,...x.children):b.children.splice(g,1),g}}}function uz(n){const a=n.indexOf(":"),i=n.indexOf("?"),u=n.indexOf("#"),s=n.indexOf("/");return a===-1||s!==-1&&a>s||i!==-1&&a>i||u!==-1&&a>u||tz.test(n.slice(0,a))?n:""}function Cp(n,a){const i=String(n);if(typeof a!="string")throw new TypeError("Expected character");let u=0,s=i.indexOf(a);for(;s!==-1;)u++,s=i.indexOf(a,s+a.length);return u}function sz(n){if(typeof n!="string")throw new TypeError("Expected a string");return n.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function oz(n,a,i){const s=fu((i||{}).ignore||[]),c=cz(a);let f=-1;for(;++f<c.length;)A0(n,"text",d);function d(m,x){let g=-1,b;for(;++g<x.length;){const v=x[g],C=b?b.children:void 0;if(s(v,C?C.indexOf(v):void 0,b))return;b=v}if(b)return p(m,x)}function p(m,x){const g=x[x.length-1],b=c[f][0],v=c[f][1];let C=0;const Y=g.children.indexOf(m);let M=!1,H=[];b.lastIndex=0;let L=b.exec(m.value);for(;L;){const I=L.index,J={index:L.index,input:L.input,stack:[...x,m]};let B=v(...L,J);if(typeof B=="string"&&(B=B.length>0?{type:"text",value:B}:void 0),B===!1?b.lastIndex=I+1:(C!==I&&H.push({type:"text",value:m.value.slice(C,I)}),Array.isArray(B)?H.push(...B):B&&H.push(B),C=I+L[0].length,M=!0),!b.global)break;L=b.exec(m.value)}return M?(C<m.value.length&&H.push({type:"text",value:m.value.slice(C)}),g.children.splice(Y,1,...H)):H=[m],Y+H.length}}function cz(n){const a=[];if(!Array.isArray(n))throw new TypeError("Expected find and replace tuple or list of tuples");const i=!n[0]||Array.isArray(n[0])?n:[n];let u=-1;for(;++u<i.length;){const s=i[u];a.push([fz(s[0]),hz(s[1])])}return a}function fz(n){return typeof n=="string"?new RegExp(sz(n),"g"):n}function hz(n){return typeof n=="function"?n:function(){return n}}const Ko="phrasing",Jo=["autolink","link","image","label"];function dz(){return{transforms:[vz],enter:{literalAutolink:pz,literalAutolinkEmail:Io,literalAutolinkHttp:Io,literalAutolinkWww:Io},exit:{literalAutolink:bz,literalAutolinkEmail:xz,literalAutolinkHttp:gz,literalAutolinkWww:yz}}}function mz(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Ko,notInConstruct:Jo},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Ko,notInConstruct:Jo},{character:":",before:"[ps]",after:"\\/",inConstruct:Ko,notInConstruct:Jo}]}}function pz(n){this.enter({type:"link",title:null,url:"",children:[]},n)}function Io(n){this.config.enter.autolinkProtocol.call(this,n)}function gz(n){this.config.exit.autolinkProtocol.call(this,n)}function yz(n){this.config.exit.data.call(this,n);const a=this.stack[this.stack.length-1];a.type,a.url="http://"+this.sliceSerialize(n)}function xz(n){this.config.exit.autolinkEmail.call(this,n)}function bz(n){this.exit(n)}function vz(n){oz(n,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,Sz],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),zz]],{ignore:["link","linkReference"]})}function Sz(n,a,i,u,s){let c="";if(!_0(s)||(/^w/i.test(a)&&(i=a+i,a="",c="http://"),!kz(i)))return!1;const f=Ez(i+u);if(!f[0])return!1;const d={type:"link",title:null,url:c+a+f[0],children:[{type:"text",value:a+f[0]}]};return f[1]?[d,{type:"text",value:f[1]}]:d}function zz(n,a,i,u){return!_0(u,!0)||/[-\d_]$/.test(i)?!1:{type:"link",title:null,url:"mailto:"+a+"@"+i,children:[{type:"text",value:a+"@"+i}]}}function kz(n){const a=n.split(".");return!(a.length<2||a[a.length-1]&&(/_/.test(a[a.length-1])||!/[a-zA-Z\d]/.test(a[a.length-1]))||a[a.length-2]&&(/_/.test(a[a.length-2])||!/[a-zA-Z\d]/.test(a[a.length-2])))}function Ez(n){const a=/[!"&'),.:;<>?\]}]+$/.exec(n);if(!a)return[n,void 0];n=n.slice(0,a.index);let i=a[0],u=i.indexOf(")");const s=Cp(n,"(");let c=Cp(n,")");for(;u!==-1&&s>c;)n+=i.slice(0,u+1),i=i.slice(u+1),u=i.indexOf(")"),c++;return[n,i]}function _0(n,a){const i=n.input.charCodeAt(n.index-1);return(n.index===0||wl(i)||su(i))&&(!a||i!==47)}M0.peek=Oz;function wz(){this.buffer()}function Cz(n){this.enter({type:"footnoteReference",identifier:"",label:""},n)}function Tz(){this.buffer()}function Az(n){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},n)}function Nz(n){const a=this.resume(),i=this.stack[this.stack.length-1];i.type,i.identifier=ln(this.sliceSerialize(n)).toLowerCase(),i.label=a}function _z(n){this.exit(n)}function Mz(n){const a=this.resume(),i=this.stack[this.stack.length-1];i.type,i.identifier=ln(this.sliceSerialize(n)).toLowerCase(),i.label=a}function jz(n){this.exit(n)}function Oz(){return"["}function M0(n,a,i,u){const s=i.createTracker(u);let c=s.move("[^");const f=i.enter("footnoteReference"),d=i.enter("reference");return c+=s.move(i.safe(i.associationId(n),{after:"]",before:c})),d(),f(),c+=s.move("]"),c}function Dz(){return{enter:{gfmFootnoteCallString:wz,gfmFootnoteCall:Cz,gfmFootnoteDefinitionLabelString:Tz,gfmFootnoteDefinition:Az},exit:{gfmFootnoteCallString:Nz,gfmFootnoteCall:_z,gfmFootnoteDefinitionLabelString:Mz,gfmFootnoteDefinition:jz}}}function Rz(n){let a=!1;return n&&n.firstLineBlank&&(a=!0),{handlers:{footnoteDefinition:i,footnoteReference:M0},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function i(u,s,c,f){const d=c.createTracker(f);let p=d.move("[^");const m=c.enter("footnoteDefinition"),x=c.enter("label");return p+=d.move(c.safe(c.associationId(u),{before:p,after:"]"})),x(),p+=d.move("]:"),u.children&&u.children.length>0&&(d.shift(4),p+=d.move((a?`
|
|
251
|
-
`:" ")+c.indentLines(c.containerFlow(u,d.current()),a?j0:Lz))),m(),p}}function Lz(n,a,i){return a===0?n:j0(n,a,i)}function j0(n,a,i){return(i?"":" ")+n}const Bz=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];O0.peek=Vz;function Uz(){return{canContainEols:["delete"],enter:{strikethrough:qz},exit:{strikethrough:Yz}}}function Hz(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Bz}],handlers:{delete:O0}}}function qz(n){this.enter({type:"delete",children:[]},n)}function Yz(n){this.exit(n)}function O0(n,a,i,u){const s=i.createTracker(u),c=i.enter("strikethrough");let f=s.move("~~");return f+=i.containerPhrasing(n,{...s.current(),before:f,after:"~"}),f+=s.move("~~"),c(),f}function Vz(){return"~"}function Gz(n){return n.length}function Qz(n,a){const i=a||{},u=(i.align||[]).concat(),s=i.stringLength||Gz,c=[],f=[],d=[],p=[];let m=0,x=-1;for(;++x<n.length;){const N=[],Y=[];let M=-1;for(n[x].length>m&&(m=n[x].length);++M<n[x].length;){const H=Xz(n[x][M]);if(i.alignDelimiters!==!1){const L=s(H);Y[M]=L,(p[M]===void 0||L>p[M])&&(p[M]=L)}N.push(H)}f[x]=N,d[x]=Y}let g=-1;if(typeof u=="object"&&"length"in u)for(;++g<m;)c[g]=Tp(u[g]);else{const N=Tp(u);for(;++g<m;)c[g]=N}g=-1;const b=[],v=[];for(;++g<m;){const N=c[g];let Y="",M="";N===99?(Y=":",M=":"):N===108?Y=":":N===114&&(M=":");let H=i.alignDelimiters===!1?1:Math.max(1,p[g]-Y.length-M.length);const L=Y+"-".repeat(H)+M;i.alignDelimiters!==!1&&(H=Y.length+H+M.length,H>p[g]&&(p[g]=H),v[g]=H),b[g]=L}f.splice(1,0,b),d.splice(1,0,v),x=-1;const C=[];for(;++x<f.length;){const N=f[x],Y=d[x];g=-1;const M=[];for(;++g<m;){const H=N[g]||"";let L="",I="";if(i.alignDelimiters!==!1){const J=p[g]-(Y[g]||0),B=c[g];B===114?L=" ".repeat(J):B===99?J%2?(L=" ".repeat(J/2+.5),I=" ".repeat(J/2-.5)):(L=" ".repeat(J/2),I=L):I=" ".repeat(J)}i.delimiterStart!==!1&&!g&&M.push("|"),i.padding!==!1&&!(i.alignDelimiters===!1&&H==="")&&(i.delimiterStart!==!1||g)&&M.push(" "),i.alignDelimiters!==!1&&M.push(L),M.push(H),i.alignDelimiters!==!1&&M.push(I),i.padding!==!1&&M.push(" "),(i.delimiterEnd!==!1||g!==m-1)&&M.push("|")}C.push(i.delimiterEnd===!1?M.join("").replace(/ +$/,""):M.join(""))}return C.join(`
|
|
252
|
-
`)}function Xz(n){return n==null?"":String(n)}function Tp(n){const a=typeof n=="string"?n.codePointAt(0):0;return a===67||a===99?99:a===76||a===108?108:a===82||a===114?114:0}function Zz(n,a,i,u){const s=i.enter("blockquote"),c=i.createTracker(u);c.move("> "),c.shift(2);const f=i.indentLines(i.containerFlow(n,c.current()),Fz);return s(),f}function Fz(n,a,i){return">"+(i?"":" ")+n}function Kz(n,a){return Ap(n,a.inConstruct,!0)&&!Ap(n,a.notInConstruct,!1)}function Ap(n,a,i){if(typeof a=="string"&&(a=[a]),!a||a.length===0)return i;let u=-1;for(;++u<a.length;)if(n.includes(a[u]))return!0;return!1}function Np(n,a,i,u){let s=-1;for(;++s<i.unsafe.length;)if(i.unsafe[s].character===`
|
|
253
|
-
`&&Kz(i.stack,i.unsafe[s]))return/[ \t]/.test(u.before)?"":" ";return`\\
|
|
254
|
-
`}function Jz(n,a){const i=String(n);let u=i.indexOf(a),s=u,c=0,f=0;if(typeof a!="string")throw new TypeError("Expected substring");for(;u!==-1;)u===s?++c>f&&(f=c):c=1,s=u+a.length,u=i.indexOf(a,s);return f}function Iz(n,a){return!!(a.options.fences===!1&&n.value&&!n.lang&&/[^ \r\n]/.test(n.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(n.value))}function $z(n){const a=n.options.fence||"`";if(a!=="`"&&a!=="~")throw new Error("Cannot serialize code with `"+a+"` for `options.fence`, expected `` ` `` or `~`");return a}function Wz(n,a,i,u){const s=$z(i),c=n.value||"",f=s==="`"?"GraveAccent":"Tilde";if(Iz(n,i)){const g=i.enter("codeIndented"),b=i.indentLines(c,Pz);return g(),b}const d=i.createTracker(u),p=s.repeat(Math.max(Jz(c,s)+1,3)),m=i.enter("codeFenced");let x=d.move(p);if(n.lang){const g=i.enter(`codeFencedLang${f}`);x+=d.move(i.safe(n.lang,{before:x,after:" ",encode:["`"],...d.current()})),g()}if(n.lang&&n.meta){const g=i.enter(`codeFencedMeta${f}`);x+=d.move(" "),x+=d.move(i.safe(n.meta,{before:x,after:`
|
|
255
|
-
`,encode:["`"],...d.current()})),g()}return x+=d.move(`
|
|
256
|
-
`),c&&(x+=d.move(c+`
|
|
257
|
-
`)),x+=d.move(p),m(),x}function Pz(n,a,i){return(i?"":" ")+n}function Ac(n){const a=n.options.quote||'"';if(a!=='"'&&a!=="'")throw new Error("Cannot serialize title with `"+a+"` for `options.quote`, expected `\"`, or `'`");return a}function e3(n,a,i,u){const s=Ac(i),c=s==='"'?"Quote":"Apostrophe",f=i.enter("definition");let d=i.enter("label");const p=i.createTracker(u);let m=p.move("[");return m+=p.move(i.safe(i.associationId(n),{before:m,after:"]",...p.current()})),m+=p.move("]: "),d(),!n.url||/[\0- \u007F]/.test(n.url)?(d=i.enter("destinationLiteral"),m+=p.move("<"),m+=p.move(i.safe(n.url,{before:m,after:">",...p.current()})),m+=p.move(">")):(d=i.enter("destinationRaw"),m+=p.move(i.safe(n.url,{before:m,after:n.title?" ":`
|
|
258
|
-
`,...p.current()}))),d(),n.title&&(d=i.enter(`title${c}`),m+=p.move(" "+s),m+=p.move(i.safe(n.title,{before:m,after:s,...p.current()})),m+=p.move(s),d()),f(),m}function t3(n){const a=n.options.emphasis||"*";if(a!=="*"&&a!=="_")throw new Error("Cannot serialize emphasis with `"+a+"` for `options.emphasis`, expected `*`, or `_`");return a}function Ta(n){return"&#x"+n.toString(16).toUpperCase()+";"}function ru(n,a,i){const u=Si(n),s=Si(a);return u===void 0?s===void 0?i==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:s===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:u===1?s===void 0?{inside:!1,outside:!1}:s===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:s===void 0?{inside:!1,outside:!1}:s===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}D0.peek=n3;function D0(n,a,i,u){const s=t3(i),c=i.enter("emphasis"),f=i.createTracker(u),d=f.move(s);let p=f.move(i.containerPhrasing(n,{after:s,before:d,...f.current()}));const m=p.charCodeAt(0),x=ru(u.before.charCodeAt(u.before.length-1),m,s);x.inside&&(p=Ta(m)+p.slice(1));const g=p.charCodeAt(p.length-1),b=ru(u.after.charCodeAt(0),g,s);b.inside&&(p=p.slice(0,-1)+Ta(g));const v=f.move(s);return c(),i.attentionEncodeSurroundingInfo={after:b.outside,before:x.outside},d+p+v}function n3(n,a,i){return i.options.emphasis||"*"}function l3(n,a){let i=!1;return Cc(n,function(u){if("value"in u&&/\r?\n|\r/.test(u.value)||u.type==="break")return i=!0,ac}),!!((!n.depth||n.depth<3)&&bc(n)&&(a.options.setext||i))}function i3(n,a,i,u){const s=Math.max(Math.min(6,n.depth||1),1),c=i.createTracker(u);if(l3(n,i)){const x=i.enter("headingSetext"),g=i.enter("phrasing"),b=i.containerPhrasing(n,{...c.current(),before:`
|
|
259
|
-
`,after:`
|
|
260
|
-
`});return g(),x(),b+`
|
|
261
|
-
`+(s===1?"=":"-").repeat(b.length-(Math.max(b.lastIndexOf("\r"),b.lastIndexOf(`
|
|
262
|
-
`))+1))}const f="#".repeat(s),d=i.enter("headingAtx"),p=i.enter("phrasing");c.move(f+" ");let m=i.containerPhrasing(n,{before:"# ",after:`
|
|
263
|
-
`,...c.current()});return/^[\t ]/.test(m)&&(m=Ta(m.charCodeAt(0))+m.slice(1)),m=m?f+" "+m:f,i.options.closeAtx&&(m+=" "+f),p(),d(),m}R0.peek=a3;function R0(n){return n.value||""}function a3(){return"<"}L0.peek=r3;function L0(n,a,i,u){const s=Ac(i),c=s==='"'?"Quote":"Apostrophe",f=i.enter("image");let d=i.enter("label");const p=i.createTracker(u);let m=p.move("![");return m+=p.move(i.safe(n.alt,{before:m,after:"]",...p.current()})),m+=p.move("]("),d(),!n.url&&n.title||/[\0- \u007F]/.test(n.url)?(d=i.enter("destinationLiteral"),m+=p.move("<"),m+=p.move(i.safe(n.url,{before:m,after:">",...p.current()})),m+=p.move(">")):(d=i.enter("destinationRaw"),m+=p.move(i.safe(n.url,{before:m,after:n.title?" ":")",...p.current()}))),d(),n.title&&(d=i.enter(`title${c}`),m+=p.move(" "+s),m+=p.move(i.safe(n.title,{before:m,after:s,...p.current()})),m+=p.move(s),d()),m+=p.move(")"),f(),m}function r3(){return"!"}B0.peek=u3;function B0(n,a,i,u){const s=n.referenceType,c=i.enter("imageReference");let f=i.enter("label");const d=i.createTracker(u);let p=d.move("![");const m=i.safe(n.alt,{before:p,after:"]",...d.current()});p+=d.move(m+"]["),f();const x=i.stack;i.stack=[],f=i.enter("reference");const g=i.safe(i.associationId(n),{before:p,after:"]",...d.current()});return f(),i.stack=x,c(),s==="full"||!m||m!==g?p+=d.move(g+"]"):s==="shortcut"?p=p.slice(0,-1):p+=d.move("]"),p}function u3(){return"!"}U0.peek=s3;function U0(n,a,i){let u=n.value||"",s="`",c=-1;for(;new RegExp("(^|[^`])"+s+"([^`]|$)").test(u);)s+="`";for(/[^ \r\n]/.test(u)&&(/^[ \r\n]/.test(u)&&/[ \r\n]$/.test(u)||/^`|`$/.test(u))&&(u=" "+u+" ");++c<i.unsafe.length;){const f=i.unsafe[c],d=i.compilePattern(f);let p;if(f.atBreak)for(;p=d.exec(u);){let m=p.index;u.charCodeAt(m)===10&&u.charCodeAt(m-1)===13&&m--,u=u.slice(0,m)+" "+u.slice(p.index+1)}}return s+u+s}function s3(){return"`"}function H0(n,a){const i=bc(n);return!!(!a.options.resourceLink&&n.url&&!n.title&&n.children&&n.children.length===1&&n.children[0].type==="text"&&(i===n.url||"mailto:"+i===n.url)&&/^[a-z][a-z+.-]+:/i.test(n.url)&&!/[\0- <>\u007F]/.test(n.url))}q0.peek=o3;function q0(n,a,i,u){const s=Ac(i),c=s==='"'?"Quote":"Apostrophe",f=i.createTracker(u);let d,p;if(H0(n,i)){const x=i.stack;i.stack=[],d=i.enter("autolink");let g=f.move("<");return g+=f.move(i.containerPhrasing(n,{before:g,after:">",...f.current()})),g+=f.move(">"),d(),i.stack=x,g}d=i.enter("link"),p=i.enter("label");let m=f.move("[");return m+=f.move(i.containerPhrasing(n,{before:m,after:"](",...f.current()})),m+=f.move("]("),p(),!n.url&&n.title||/[\0- \u007F]/.test(n.url)?(p=i.enter("destinationLiteral"),m+=f.move("<"),m+=f.move(i.safe(n.url,{before:m,after:">",...f.current()})),m+=f.move(">")):(p=i.enter("destinationRaw"),m+=f.move(i.safe(n.url,{before:m,after:n.title?" ":")",...f.current()}))),p(),n.title&&(p=i.enter(`title${c}`),m+=f.move(" "+s),m+=f.move(i.safe(n.title,{before:m,after:s,...f.current()})),m+=f.move(s),p()),m+=f.move(")"),d(),m}function o3(n,a,i){return H0(n,i)?"<":"["}Y0.peek=c3;function Y0(n,a,i,u){const s=n.referenceType,c=i.enter("linkReference");let f=i.enter("label");const d=i.createTracker(u);let p=d.move("[");const m=i.containerPhrasing(n,{before:p,after:"]",...d.current()});p+=d.move(m+"]["),f();const x=i.stack;i.stack=[],f=i.enter("reference");const g=i.safe(i.associationId(n),{before:p,after:"]",...d.current()});return f(),i.stack=x,c(),s==="full"||!m||m!==g?p+=d.move(g+"]"):s==="shortcut"?p=p.slice(0,-1):p+=d.move("]"),p}function c3(){return"["}function Nc(n){const a=n.options.bullet||"*";if(a!=="*"&&a!=="+"&&a!=="-")throw new Error("Cannot serialize items with `"+a+"` for `options.bullet`, expected `*`, `+`, or `-`");return a}function f3(n){const a=Nc(n),i=n.options.bulletOther;if(!i)return a==="*"?"-":"*";if(i!=="*"&&i!=="+"&&i!=="-")throw new Error("Cannot serialize items with `"+i+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(i===a)throw new Error("Expected `bullet` (`"+a+"`) and `bulletOther` (`"+i+"`) to be different");return i}function h3(n){const a=n.options.bulletOrdered||".";if(a!=="."&&a!==")")throw new Error("Cannot serialize items with `"+a+"` for `options.bulletOrdered`, expected `.` or `)`");return a}function V0(n){const a=n.options.rule||"*";if(a!=="*"&&a!=="-"&&a!=="_")throw new Error("Cannot serialize rules with `"+a+"` for `options.rule`, expected `*`, `-`, or `_`");return a}function d3(n,a,i,u){const s=i.enter("list"),c=i.bulletCurrent;let f=n.ordered?h3(i):Nc(i);const d=n.ordered?f==="."?")":".":f3(i);let p=a&&i.bulletLastUsed?f===i.bulletLastUsed:!1;if(!n.ordered){const x=n.children?n.children[0]:void 0;if((f==="*"||f==="-")&&x&&(!x.children||!x.children[0])&&i.stack[i.stack.length-1]==="list"&&i.stack[i.stack.length-2]==="listItem"&&i.stack[i.stack.length-3]==="list"&&i.stack[i.stack.length-4]==="listItem"&&i.indexStack[i.indexStack.length-1]===0&&i.indexStack[i.indexStack.length-2]===0&&i.indexStack[i.indexStack.length-3]===0&&(p=!0),V0(i)===f&&x){let g=-1;for(;++g<n.children.length;){const b=n.children[g];if(b&&b.type==="listItem"&&b.children&&b.children[0]&&b.children[0].type==="thematicBreak"){p=!0;break}}}}p&&(f=d),i.bulletCurrent=f;const m=i.containerFlow(n,u);return i.bulletLastUsed=f,i.bulletCurrent=c,s(),m}function m3(n){const a=n.options.listItemIndent||"one";if(a!=="tab"&&a!=="one"&&a!=="mixed")throw new Error("Cannot serialize items with `"+a+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return a}function p3(n,a,i,u){const s=m3(i);let c=i.bulletCurrent||Nc(i);a&&a.type==="list"&&a.ordered&&(c=(typeof a.start=="number"&&a.start>-1?a.start:1)+(i.options.incrementListMarker===!1?0:a.children.indexOf(n))+c);let f=c.length+1;(s==="tab"||s==="mixed"&&(a&&a.type==="list"&&a.spread||n.spread))&&(f=Math.ceil(f/4)*4);const d=i.createTracker(u);d.move(c+" ".repeat(f-c.length)),d.shift(f);const p=i.enter("listItem"),m=i.indentLines(i.containerFlow(n,d.current()),x);return p(),m;function x(g,b,v){return b?(v?"":" ".repeat(f))+g:(v?c:c+" ".repeat(f-c.length))+g}}function g3(n,a,i,u){const s=i.enter("paragraph"),c=i.enter("phrasing"),f=i.containerPhrasing(n,u);return c(),s(),f}const y3=fu(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function x3(n,a,i,u){return(n.children.some(function(f){return y3(f)})?i.containerPhrasing:i.containerFlow).call(i,n,u)}function b3(n){const a=n.options.strong||"*";if(a!=="*"&&a!=="_")throw new Error("Cannot serialize strong with `"+a+"` for `options.strong`, expected `*`, or `_`");return a}G0.peek=v3;function G0(n,a,i,u){const s=b3(i),c=i.enter("strong"),f=i.createTracker(u),d=f.move(s+s);let p=f.move(i.containerPhrasing(n,{after:s,before:d,...f.current()}));const m=p.charCodeAt(0),x=ru(u.before.charCodeAt(u.before.length-1),m,s);x.inside&&(p=Ta(m)+p.slice(1));const g=p.charCodeAt(p.length-1),b=ru(u.after.charCodeAt(0),g,s);b.inside&&(p=p.slice(0,-1)+Ta(g));const v=f.move(s+s);return c(),i.attentionEncodeSurroundingInfo={after:b.outside,before:x.outside},d+p+v}function v3(n,a,i){return i.options.strong||"*"}function S3(n,a,i,u){return i.safe(n.value,u)}function z3(n){const a=n.options.ruleRepetition||3;if(a<3)throw new Error("Cannot serialize rules with repetition `"+a+"` for `options.ruleRepetition`, expected `3` or more");return a}function k3(n,a,i){const u=(V0(i)+(i.options.ruleSpaces?" ":"")).repeat(z3(i));return i.options.ruleSpaces?u.slice(0,-1):u}const Q0={blockquote:Zz,break:Np,code:Wz,definition:e3,emphasis:D0,hardBreak:Np,heading:i3,html:R0,image:L0,imageReference:B0,inlineCode:U0,link:q0,linkReference:Y0,list:d3,listItem:p3,paragraph:g3,root:x3,strong:G0,text:S3,thematicBreak:k3};function E3(){return{enter:{table:w3,tableData:_p,tableHeader:_p,tableRow:T3},exit:{codeText:A3,table:C3,tableData:$o,tableHeader:$o,tableRow:$o}}}function w3(n){const a=n._align;this.enter({type:"table",align:a.map(function(i){return i==="none"?null:i}),children:[]},n),this.data.inTable=!0}function C3(n){this.exit(n),this.data.inTable=void 0}function T3(n){this.enter({type:"tableRow",children:[]},n)}function $o(n){this.exit(n)}function _p(n){this.enter({type:"tableCell",children:[]},n)}function A3(n){let a=this.resume();this.data.inTable&&(a=a.replace(/\\([\\|])/g,N3));const i=this.stack[this.stack.length-1];i.type,i.value=a,this.exit(n)}function N3(n,a){return a==="|"?a:n}function _3(n){const a=n||{},i=a.tableCellPadding,u=a.tablePipeAlign,s=a.stringLength,c=i?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
|
|
264
|
-
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:b,table:f,tableCell:p,tableRow:d}};function f(v,C,N,Y){return m(x(v,N,Y),v.align)}function d(v,C,N,Y){const M=g(v,N,Y),H=m([M]);return H.slice(0,H.indexOf(`
|
|
265
|
-
`))}function p(v,C,N,Y){const M=N.enter("tableCell"),H=N.enter("phrasing"),L=N.containerPhrasing(v,{...Y,before:c,after:c});return H(),M(),L}function m(v,C){return Qz(v,{align:C,alignDelimiters:u,padding:i,stringLength:s})}function x(v,C,N){const Y=v.children;let M=-1;const H=[],L=C.enter("table");for(;++M<Y.length;)H[M]=g(Y[M],C,N);return L(),H}function g(v,C,N){const Y=v.children;let M=-1;const H=[],L=C.enter("tableRow");for(;++M<Y.length;)H[M]=p(Y[M],v,C,N);return L(),H}function b(v,C,N){let Y=Q0.inlineCode(v,C,N);return N.stack.includes("tableCell")&&(Y=Y.replace(/\|/g,"\\$&")),Y}}function M3(){return{exit:{taskListCheckValueChecked:Mp,taskListCheckValueUnchecked:Mp,paragraph:O3}}}function j3(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:D3}}}function Mp(n){const a=this.stack[this.stack.length-2];a.type,a.checked=n.type==="taskListCheckValueChecked"}function O3(n){const a=this.stack[this.stack.length-2];if(a&&a.type==="listItem"&&typeof a.checked=="boolean"){const i=this.stack[this.stack.length-1];i.type;const u=i.children[0];if(u&&u.type==="text"){const s=a.children;let c=-1,f;for(;++c<s.length;){const d=s[c];if(d.type==="paragraph"){f=d;break}}f===i&&(u.value=u.value.slice(1),u.value.length===0?i.children.shift():i.position&&u.position&&typeof u.position.start.offset=="number"&&(u.position.start.column++,u.position.start.offset++,i.position.start=Object.assign({},u.position.start)))}}this.exit(n)}function D3(n,a,i,u){const s=n.children[0],c=typeof n.checked=="boolean"&&s&&s.type==="paragraph",f="["+(n.checked?"x":" ")+"] ",d=i.createTracker(u);c&&d.move(f);let p=Q0.listItem(n,a,i,{...u,...d.current()});return c&&(p=p.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,m)),p;function m(x){return x+f}}function R3(){return[dz(),Dz(),Uz(),E3(),M3()]}function L3(n){return{extensions:[mz(),Rz(n),Hz(),_3(n),j3()]}}const B3={tokenize:G3,partial:!0},X0={tokenize:Q3,partial:!0},Z0={tokenize:X3,partial:!0},F0={tokenize:Z3,partial:!0},U3={tokenize:F3,partial:!0},K0={name:"wwwAutolink",tokenize:Y3,previous:I0},J0={name:"protocolAutolink",tokenize:V3,previous:$0},jn={name:"emailAutolink",tokenize:q3,previous:W0},cn={};function H3(){return{text:cn}}let El=48;for(;El<123;)cn[El]=jn,El++,El===58?El=65:El===91&&(El=97);cn[43]=jn;cn[45]=jn;cn[46]=jn;cn[95]=jn;cn[72]=[jn,J0];cn[104]=[jn,J0];cn[87]=[jn,K0];cn[119]=[jn,K0];function q3(n,a,i){const u=this;let s,c;return f;function f(g){return!oc(g)||!W0.call(u,u.previous)||_c(u.events)?i(g):(n.enter("literalAutolink"),n.enter("literalAutolinkEmail"),d(g))}function d(g){return oc(g)?(n.consume(g),d):g===64?(n.consume(g),p):i(g)}function p(g){return g===46?n.check(U3,x,m)(g):g===45||g===95||pt(g)?(c=!0,n.consume(g),p):x(g)}function m(g){return n.consume(g),s=!0,p}function x(g){return c&&s&&vt(u.previous)?(n.exit("literalAutolinkEmail"),n.exit("literalAutolink"),a(g)):i(g)}}function Y3(n,a,i){const u=this;return s;function s(f){return f!==87&&f!==119||!I0.call(u,u.previous)||_c(u.events)?i(f):(n.enter("literalAutolink"),n.enter("literalAutolinkWww"),n.check(B3,n.attempt(X0,n.attempt(Z0,c),i),i)(f))}function c(f){return n.exit("literalAutolinkWww"),n.exit("literalAutolink"),a(f)}}function V3(n,a,i){const u=this;let s="",c=!1;return f;function f(g){return(g===72||g===104)&&$0.call(u,u.previous)&&!_c(u.events)?(n.enter("literalAutolink"),n.enter("literalAutolinkHttp"),s+=String.fromCodePoint(g),n.consume(g),d):i(g)}function d(g){if(vt(g)&&s.length<5)return s+=String.fromCodePoint(g),n.consume(g),d;if(g===58){const b=s.toLowerCase();if(b==="http"||b==="https")return n.consume(g),p}return i(g)}function p(g){return g===47?(n.consume(g),c?m:(c=!0,p)):i(g)}function m(g){return g===null||lu(g)||Qe(g)||wl(g)||su(g)?i(g):n.attempt(X0,n.attempt(Z0,x),i)(g)}function x(g){return n.exit("literalAutolinkHttp"),n.exit("literalAutolink"),a(g)}}function G3(n,a,i){let u=0;return s;function s(f){return(f===87||f===119)&&u<3?(u++,n.consume(f),s):f===46&&u===3?(n.consume(f),c):i(f)}function c(f){return f===null?i(f):a(f)}}function Q3(n,a,i){let u,s,c;return f;function f(m){return m===46||m===95?n.check(F0,p,d)(m):m===null||Qe(m)||wl(m)||m!==45&&su(m)?p(m):(c=!0,n.consume(m),f)}function d(m){return m===95?u=!0:(s=u,u=void 0),n.consume(m),f}function p(m){return s||u||!c?i(m):a(m)}}function X3(n,a){let i=0,u=0;return s;function s(f){return f===40?(i++,n.consume(f),s):f===41&&u<i?c(f):f===33||f===34||f===38||f===39||f===41||f===42||f===44||f===46||f===58||f===59||f===60||f===63||f===93||f===95||f===126?n.check(F0,a,c)(f):f===null||Qe(f)||wl(f)?a(f):(n.consume(f),s)}function c(f){return f===41&&u++,n.consume(f),s}}function Z3(n,a,i){return u;function u(d){return d===33||d===34||d===39||d===41||d===42||d===44||d===46||d===58||d===59||d===63||d===95||d===126?(n.consume(d),u):d===38?(n.consume(d),c):d===93?(n.consume(d),s):d===60||d===null||Qe(d)||wl(d)?a(d):i(d)}function s(d){return d===null||d===40||d===91||Qe(d)||wl(d)?a(d):u(d)}function c(d){return vt(d)?f(d):i(d)}function f(d){return d===59?(n.consume(d),u):vt(d)?(n.consume(d),f):i(d)}}function F3(n,a,i){return u;function u(c){return n.consume(c),s}function s(c){return pt(c)?i(c):a(c)}}function I0(n){return n===null||n===40||n===42||n===95||n===91||n===93||n===126||Qe(n)}function $0(n){return!vt(n)}function W0(n){return!(n===47||oc(n))}function oc(n){return n===43||n===45||n===46||n===95||pt(n)}function _c(n){let a=n.length,i=!1;for(;a--;){const u=n[a][1];if((u.type==="labelLink"||u.type==="labelImage")&&!u._balanced){i=!0;break}if(u._gfmAutolinkLiteralWalkedInto){i=!1;break}}return n.length>0&&!i&&(n[n.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),i}const K3={tokenize:nk,partial:!0};function J3(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:P3,continuation:{tokenize:ek},exit:tk}},text:{91:{name:"gfmFootnoteCall",tokenize:W3},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:I3,resolveTo:$3}}}}function I3(n,a,i){const u=this;let s=u.events.length;const c=u.parser.gfmFootnotes||(u.parser.gfmFootnotes=[]);let f;for(;s--;){const p=u.events[s][1];if(p.type==="labelImage"){f=p;break}if(p.type==="gfmFootnoteCall"||p.type==="labelLink"||p.type==="label"||p.type==="image"||p.type==="link")break}return d;function d(p){if(!f||!f._balanced)return i(p);const m=ln(u.sliceSerialize({start:f.end,end:u.now()}));return m.codePointAt(0)!==94||!c.includes(m.slice(1))?i(p):(n.enter("gfmFootnoteCallLabelMarker"),n.consume(p),n.exit("gfmFootnoteCallLabelMarker"),a(p))}}function $3(n,a){let i=n.length;for(;i--;)if(n[i][1].type==="labelImage"&&n[i][0]==="enter"){n[i][1];break}n[i+1][1].type="data",n[i+3][1].type="gfmFootnoteCallLabelMarker";const u={type:"gfmFootnoteCall",start:Object.assign({},n[i+3][1].start),end:Object.assign({},n[n.length-1][1].end)},s={type:"gfmFootnoteCallMarker",start:Object.assign({},n[i+3][1].end),end:Object.assign({},n[i+3][1].end)};s.end.column++,s.end.offset++,s.end._bufferIndex++;const c={type:"gfmFootnoteCallString",start:Object.assign({},s.end),end:Object.assign({},n[n.length-1][1].start)},f={type:"chunkString",contentType:"string",start:Object.assign({},c.start),end:Object.assign({},c.end)},d=[n[i+1],n[i+2],["enter",u,a],n[i+3],n[i+4],["enter",s,a],["exit",s,a],["enter",c,a],["enter",f,a],["exit",f,a],["exit",c,a],n[n.length-2],n[n.length-1],["exit",u,a]];return n.splice(i,n.length-i+1,...d),n}function W3(n,a,i){const u=this,s=u.parser.gfmFootnotes||(u.parser.gfmFootnotes=[]);let c=0,f;return d;function d(g){return n.enter("gfmFootnoteCall"),n.enter("gfmFootnoteCallLabelMarker"),n.consume(g),n.exit("gfmFootnoteCallLabelMarker"),p}function p(g){return g!==94?i(g):(n.enter("gfmFootnoteCallMarker"),n.consume(g),n.exit("gfmFootnoteCallMarker"),n.enter("gfmFootnoteCallString"),n.enter("chunkString").contentType="string",m)}function m(g){if(c>999||g===93&&!f||g===null||g===91||Qe(g))return i(g);if(g===93){n.exit("chunkString");const b=n.exit("gfmFootnoteCallString");return s.includes(ln(u.sliceSerialize(b)))?(n.enter("gfmFootnoteCallLabelMarker"),n.consume(g),n.exit("gfmFootnoteCallLabelMarker"),n.exit("gfmFootnoteCall"),a):i(g)}return Qe(g)||(f=!0),c++,n.consume(g),g===92?x:m}function x(g){return g===91||g===92||g===93?(n.consume(g),c++,m):m(g)}}function P3(n,a,i){const u=this,s=u.parser.gfmFootnotes||(u.parser.gfmFootnotes=[]);let c,f=0,d;return p;function p(C){return n.enter("gfmFootnoteDefinition")._container=!0,n.enter("gfmFootnoteDefinitionLabel"),n.enter("gfmFootnoteDefinitionLabelMarker"),n.consume(C),n.exit("gfmFootnoteDefinitionLabelMarker"),m}function m(C){return C===94?(n.enter("gfmFootnoteDefinitionMarker"),n.consume(C),n.exit("gfmFootnoteDefinitionMarker"),n.enter("gfmFootnoteDefinitionLabelString"),n.enter("chunkString").contentType="string",x):i(C)}function x(C){if(f>999||C===93&&!d||C===null||C===91||Qe(C))return i(C);if(C===93){n.exit("chunkString");const N=n.exit("gfmFootnoteDefinitionLabelString");return c=ln(u.sliceSerialize(N)),n.enter("gfmFootnoteDefinitionLabelMarker"),n.consume(C),n.exit("gfmFootnoteDefinitionLabelMarker"),n.exit("gfmFootnoteDefinitionLabel"),b}return Qe(C)||(d=!0),f++,n.consume(C),C===92?g:x}function g(C){return C===91||C===92||C===93?(n.consume(C),f++,x):x(C)}function b(C){return C===58?(n.enter("definitionMarker"),n.consume(C),n.exit("definitionMarker"),s.includes(c)||s.push(c),_e(n,v,"gfmFootnoteDefinitionWhitespace")):i(C)}function v(C){return a(C)}}function ek(n,a,i){return n.check(Na,a,n.attempt(K3,a,i))}function tk(n){n.exit("gfmFootnoteDefinition")}function nk(n,a,i){const u=this;return _e(n,s,"gfmFootnoteDefinitionIndent",5);function s(c){const f=u.events[u.events.length-1];return f&&f[1].type==="gfmFootnoteDefinitionIndent"&&f[2].sliceSerialize(f[1],!0).length===4?a(c):i(c)}}function lk(n){let i=(n||{}).singleTilde;const u={name:"strikethrough",tokenize:c,resolveAll:s};return i==null&&(i=!0),{text:{126:u},insideSpan:{null:[u]},attentionMarkers:{null:[126]}};function s(f,d){let p=-1;for(;++p<f.length;)if(f[p][0]==="enter"&&f[p][1].type==="strikethroughSequenceTemporary"&&f[p][1]._close){let m=p;for(;m--;)if(f[m][0]==="exit"&&f[m][1].type==="strikethroughSequenceTemporary"&&f[m][1]._open&&f[p][1].end.offset-f[p][1].start.offset===f[m][1].end.offset-f[m][1].start.offset){f[p][1].type="strikethroughSequence",f[m][1].type="strikethroughSequence";const x={type:"strikethrough",start:Object.assign({},f[m][1].start),end:Object.assign({},f[p][1].end)},g={type:"strikethroughText",start:Object.assign({},f[m][1].end),end:Object.assign({},f[p][1].start)},b=[["enter",x,d],["enter",f[m][1],d],["exit",f[m][1],d],["enter",g,d]],v=d.parser.constructs.insideSpan.null;v&&qt(b,b.length,0,ou(v,f.slice(m+1,p),d)),qt(b,b.length,0,[["exit",g,d],["enter",f[p][1],d],["exit",f[p][1],d],["exit",x,d]]),qt(f,m-1,p-m+3,b),p=m+b.length-2;break}}for(p=-1;++p<f.length;)f[p][1].type==="strikethroughSequenceTemporary"&&(f[p][1].type="data");return f}function c(f,d,p){const m=this.previous,x=this.events;let g=0;return b;function b(C){return m===126&&x[x.length-1][1].type!=="characterEscape"?p(C):(f.enter("strikethroughSequenceTemporary"),v(C))}function v(C){const N=Si(m);if(C===126)return g>1?p(C):(f.consume(C),g++,v);if(g<2&&!i)return p(C);const Y=f.exit("strikethroughSequenceTemporary"),M=Si(C);return Y._open=!M||M===2&&!!N,Y._close=!N||N===2&&!!M,d(C)}}}class ik{constructor(){this.map=[]}add(a,i,u){ak(this,a,i,u)}consume(a){if(this.map.sort(function(c,f){return c[0]-f[0]}),this.map.length===0)return;let i=this.map.length;const u=[];for(;i>0;)i-=1,u.push(a.slice(this.map[i][0]+this.map[i][1]),this.map[i][2]),a.length=this.map[i][0];u.push(a.slice()),a.length=0;let s=u.pop();for(;s;){for(const c of s)a.push(c);s=u.pop()}this.map.length=0}}function ak(n,a,i,u){let s=0;if(!(i===0&&u.length===0)){for(;s<n.map.length;){if(n.map[s][0]===a){n.map[s][1]+=i,n.map[s][2].push(...u);return}s+=1}n.map.push([a,i,u])}}function rk(n,a){let i=!1;const u=[];for(;a<n.length;){const s=n[a];if(i){if(s[0]==="enter")s[1].type==="tableContent"&&u.push(n[a+1][1].type==="tableDelimiterMarker"?"left":"none");else if(s[1].type==="tableContent"){if(n[a-1][1].type==="tableDelimiterMarker"){const c=u.length-1;u[c]=u[c]==="left"?"center":"right"}}else if(s[1].type==="tableDelimiterRow")break}else s[0]==="enter"&&s[1].type==="tableDelimiterRow"&&(i=!0);a+=1}return u}function uk(){return{flow:{null:{name:"table",tokenize:sk,resolveAll:ok}}}}function sk(n,a,i){const u=this;let s=0,c=0,f;return d;function d(U){let te=u.events.length-1;for(;te>-1;){const ie=u.events[te][1].type;if(ie==="lineEnding"||ie==="linePrefix")te--;else break}const ne=te>-1?u.events[te][1].type:null,Se=ne==="tableHead"||ne==="tableRow"?B:p;return Se===B&&u.parser.lazy[u.now().line]?i(U):Se(U)}function p(U){return n.enter("tableHead"),n.enter("tableRow"),m(U)}function m(U){return U===124||(f=!0,c+=1),x(U)}function x(U){return U===null?i(U):ce(U)?c>1?(c=0,u.interrupt=!0,n.exit("tableRow"),n.enter("lineEnding"),n.consume(U),n.exit("lineEnding"),v):i(U):we(U)?_e(n,x,"whitespace")(U):(c+=1,f&&(f=!1,s+=1),U===124?(n.enter("tableCellDivider"),n.consume(U),n.exit("tableCellDivider"),f=!0,x):(n.enter("data"),g(U)))}function g(U){return U===null||U===124||Qe(U)?(n.exit("data"),x(U)):(n.consume(U),U===92?b:g)}function b(U){return U===92||U===124?(n.consume(U),g):g(U)}function v(U){return u.interrupt=!1,u.parser.lazy[u.now().line]?i(U):(n.enter("tableDelimiterRow"),f=!1,we(U)?_e(n,C,"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(U):C(U))}function C(U){return U===45||U===58?Y(U):U===124?(f=!0,n.enter("tableCellDivider"),n.consume(U),n.exit("tableCellDivider"),N):J(U)}function N(U){return we(U)?_e(n,Y,"whitespace")(U):Y(U)}function Y(U){return U===58?(c+=1,f=!0,n.enter("tableDelimiterMarker"),n.consume(U),n.exit("tableDelimiterMarker"),M):U===45?(c+=1,M(U)):U===null||ce(U)?I(U):J(U)}function M(U){return U===45?(n.enter("tableDelimiterFiller"),H(U)):J(U)}function H(U){return U===45?(n.consume(U),H):U===58?(f=!0,n.exit("tableDelimiterFiller"),n.enter("tableDelimiterMarker"),n.consume(U),n.exit("tableDelimiterMarker"),L):(n.exit("tableDelimiterFiller"),L(U))}function L(U){return we(U)?_e(n,I,"whitespace")(U):I(U)}function I(U){return U===124?C(U):U===null||ce(U)?!f||s!==c?J(U):(n.exit("tableDelimiterRow"),n.exit("tableHead"),a(U)):J(U)}function J(U){return i(U)}function B(U){return n.enter("tableRow"),P(U)}function P(U){return U===124?(n.enter("tableCellDivider"),n.consume(U),n.exit("tableCellDivider"),P):U===null||ce(U)?(n.exit("tableRow"),a(U)):we(U)?_e(n,P,"whitespace")(U):(n.enter("data"),ue(U))}function ue(U){return U===null||U===124||Qe(U)?(n.exit("data"),P(U)):(n.consume(U),U===92?pe:ue)}function pe(U){return U===92||U===124?(n.consume(U),ue):ue(U)}}function ok(n,a){let i=-1,u=!0,s=0,c=[0,0,0,0],f=[0,0,0,0],d=!1,p=0,m,x,g;const b=new ik;for(;++i<n.length;){const v=n[i],C=v[1];v[0]==="enter"?C.type==="tableHead"?(d=!1,p!==0&&(jp(b,a,p,m,x),x=void 0,p=0),m={type:"table",start:Object.assign({},C.start),end:Object.assign({},C.end)},b.add(i,0,[["enter",m,a]])):C.type==="tableRow"||C.type==="tableDelimiterRow"?(u=!0,g=void 0,c=[0,0,0,0],f=[0,i+1,0,0],d&&(d=!1,x={type:"tableBody",start:Object.assign({},C.start),end:Object.assign({},C.end)},b.add(i,0,[["enter",x,a]])),s=C.type==="tableDelimiterRow"?2:x?3:1):s&&(C.type==="data"||C.type==="tableDelimiterMarker"||C.type==="tableDelimiterFiller")?(u=!1,f[2]===0&&(c[1]!==0&&(f[0]=f[1],g=eu(b,a,c,s,void 0,g),c=[0,0,0,0]),f[2]=i)):C.type==="tableCellDivider"&&(u?u=!1:(c[1]!==0&&(f[0]=f[1],g=eu(b,a,c,s,void 0,g)),c=f,f=[c[1],i,0,0])):C.type==="tableHead"?(d=!0,p=i):C.type==="tableRow"||C.type==="tableDelimiterRow"?(p=i,c[1]!==0?(f[0]=f[1],g=eu(b,a,c,s,i,g)):f[1]!==0&&(g=eu(b,a,f,s,i,g)),s=0):s&&(C.type==="data"||C.type==="tableDelimiterMarker"||C.type==="tableDelimiterFiller")&&(f[3]=i)}for(p!==0&&jp(b,a,p,m,x),b.consume(a.events),i=-1;++i<a.events.length;){const v=a.events[i];v[0]==="enter"&&v[1].type==="table"&&(v[1]._align=rk(a.events,i))}return n}function eu(n,a,i,u,s,c){const f=u===1?"tableHeader":u===2?"tableDelimiter":"tableData",d="tableContent";i[0]!==0&&(c.end=Object.assign({},xi(a.events,i[0])),n.add(i[0],0,[["exit",c,a]]));const p=xi(a.events,i[1]);if(c={type:f,start:Object.assign({},p),end:Object.assign({},p)},n.add(i[1],0,[["enter",c,a]]),i[2]!==0){const m=xi(a.events,i[2]),x=xi(a.events,i[3]),g={type:d,start:Object.assign({},m),end:Object.assign({},x)};if(n.add(i[2],0,[["enter",g,a]]),u!==2){const b=a.events[i[2]],v=a.events[i[3]];if(b[1].end=Object.assign({},v[1].end),b[1].type="chunkText",b[1].contentType="text",i[3]>i[2]+1){const C=i[2]+1,N=i[3]-i[2]-1;n.add(C,N,[])}}n.add(i[3]+1,0,[["exit",g,a]])}return s!==void 0&&(c.end=Object.assign({},xi(a.events,s)),n.add(s,0,[["exit",c,a]]),c=void 0),c}function jp(n,a,i,u,s){const c=[],f=xi(a.events,i);s&&(s.end=Object.assign({},f),c.push(["exit",s,a])),u.end=Object.assign({},f),c.push(["exit",u,a]),n.add(i+1,0,c)}function xi(n,a){const i=n[a],u=i[0]==="enter"?"start":"end";return i[1][u]}const ck={name:"tasklistCheck",tokenize:hk};function fk(){return{text:{91:ck}}}function hk(n,a,i){const u=this;return s;function s(p){return u.previous!==null||!u._gfmTasklistFirstContentOfListItem?i(p):(n.enter("taskListCheck"),n.enter("taskListCheckMarker"),n.consume(p),n.exit("taskListCheckMarker"),c)}function c(p){return Qe(p)?(n.enter("taskListCheckValueUnchecked"),n.consume(p),n.exit("taskListCheckValueUnchecked"),f):p===88||p===120?(n.enter("taskListCheckValueChecked"),n.consume(p),n.exit("taskListCheckValueChecked"),f):i(p)}function f(p){return p===93?(n.enter("taskListCheckMarker"),n.consume(p),n.exit("taskListCheckMarker"),n.exit("taskListCheck"),d):i(p)}function d(p){return ce(p)?a(p):we(p)?n.check({tokenize:dk},a,i)(p):i(p)}}function dk(n,a,i){return _e(n,u,"whitespace");function u(s){return s===null?i(s):a(s)}}function mk(n){return o0([H3(),J3(),lk(n),uk(),fk()])}const pk={};function gk(n){const a=this,i=n||pk,u=a.data(),s=u.micromarkExtensions||(u.micromarkExtensions=[]),c=u.fromMarkdownExtensions||(u.fromMarkdownExtensions=[]),f=u.toMarkdownExtensions||(u.toMarkdownExtensions=[]);s.push(mk(i)),c.push(R3()),f.push(L3(i))}function yk(n){return n==="completed"?z.jsx(Yp,{size:14,className:"text-emerald-400"}):n==="in_progress"?z.jsx(Sx,{size:14,className:"text-amber-400 animate-spin"}):z.jsx(tx,{size:14,className:"text-zinc-500"})}function xk(n){return n==="completed"?"text-zinc-400 line-through":n==="in_progress"?"text-amber-200":"text-zinc-300"}function bk(n){const{todos:a}=n;if(!a||a.length===0)return null;const i=a.filter(s=>s.status==="completed").length,u=a.length;return z.jsx("div",{className:"w-full mt-2",children:z.jsxs("div",{className:"bg-zinc-900/70 border border-zinc-700/50 rounded-lg overflow-hidden",children:[z.jsxs("div",{className:"flex items-center gap-2 px-3 py-2 border-b border-zinc-700/50 bg-zinc-800/30",children:[z.jsx(Zp,{size:14,className:"text-violet-400"}),z.jsx("span",{className:"text-xs font-medium text-zinc-300",children:"Tasks"}),z.jsxs("span",{className:"text-xs text-zinc-500 ml-auto",children:[i,"/",u]}),z.jsx("div",{className:"w-16 h-1.5 bg-zinc-700 rounded-full overflow-hidden",children:z.jsx("div",{className:"h-full bg-violet-500 transition-all duration-300",style:{width:`${i/u*100}%`}})})]}),z.jsx("ul",{className:"divide-y divide-zinc-800/50",children:a.map((s,c)=>z.jsxs("li",{className:"flex items-start gap-2.5 px-3 py-2 hover:bg-zinc-800/20 transition-colors",children:[z.jsx("span",{className:"mt-0.5 flex-shrink-0",children:yk(s.status)}),z.jsx("span",{className:`text-xs leading-relaxed ${xk(s.status)}`,children:s.content})]},c))})]})})}class vk{diff(a,i,u={}){let s;typeof u=="function"?(s=u,u={}):"callback"in u&&(s=u.callback);const c=this.castInput(a,u),f=this.castInput(i,u),d=this.removeEmpty(this.tokenize(c,u)),p=this.removeEmpty(this.tokenize(f,u));return this.diffWithOptionsObj(d,p,u,s)}diffWithOptionsObj(a,i,u,s){var c;const f=H=>{if(H=this.postProcess(H,u),s){setTimeout(function(){s(H)},0);return}else return H},d=i.length,p=a.length;let m=1,x=d+p;u.maxEditLength!=null&&(x=Math.min(x,u.maxEditLength));const g=(c=u.timeout)!==null&&c!==void 0?c:1/0,b=Date.now()+g,v=[{oldPos:-1,lastComponent:void 0}];let C=this.extractCommon(v[0],i,a,0,u);if(v[0].oldPos+1>=p&&C+1>=d)return f(this.buildValues(v[0].lastComponent,i,a));let N=-1/0,Y=1/0;const M=()=>{for(let H=Math.max(N,-m);H<=Math.min(Y,m);H+=2){let L;const I=v[H-1],J=v[H+1];I&&(v[H-1]=void 0);let B=!1;if(J){const ue=J.oldPos-H;B=J&&0<=ue&&ue<d}const P=I&&I.oldPos+1<p;if(!B&&!P){v[H]=void 0;continue}if(!P||B&&I.oldPos<J.oldPos?L=this.addToPath(J,!0,!1,0,u):L=this.addToPath(I,!1,!0,1,u),C=this.extractCommon(L,i,a,H,u),L.oldPos+1>=p&&C+1>=d)return f(this.buildValues(L.lastComponent,i,a))||!0;v[H]=L,L.oldPos+1>=p&&(Y=Math.min(Y,H-1)),C+1>=d&&(N=Math.max(N,H+1))}m++};if(s)(function H(){setTimeout(function(){if(m>x||Date.now()>b)return s(void 0);M()||H()},0)})();else for(;m<=x&&Date.now()<=b;){const H=M();if(H)return H}}addToPath(a,i,u,s,c){const f=a.lastComponent;return f&&!c.oneChangePerToken&&f.added===i&&f.removed===u?{oldPos:a.oldPos+s,lastComponent:{count:f.count+1,added:i,removed:u,previousComponent:f.previousComponent}}:{oldPos:a.oldPos+s,lastComponent:{count:1,added:i,removed:u,previousComponent:f}}}extractCommon(a,i,u,s,c){const f=i.length,d=u.length;let p=a.oldPos,m=p-s,x=0;for(;m+1<f&&p+1<d&&this.equals(u[p+1],i[m+1],c);)m++,p++,x++,c.oneChangePerToken&&(a.lastComponent={count:1,previousComponent:a.lastComponent,added:!1,removed:!1});return x&&!c.oneChangePerToken&&(a.lastComponent={count:x,previousComponent:a.lastComponent,added:!1,removed:!1}),a.oldPos=p,m}equals(a,i,u){return u.comparator?u.comparator(a,i):a===i||!!u.ignoreCase&&a.toLowerCase()===i.toLowerCase()}removeEmpty(a){const i=[];for(let u=0;u<a.length;u++)a[u]&&i.push(a[u]);return i}castInput(a,i){return a}tokenize(a,i){return Array.from(a)}join(a){return a.join("")}postProcess(a,i){return a}get useLongestToken(){return!1}buildValues(a,i,u){const s=[];let c;for(;a;)s.push(a),c=a.previousComponent,delete a.previousComponent,a=c;s.reverse();const f=s.length;let d=0,p=0,m=0;for(;d<f;d++){const x=s[d];if(x.removed)x.value=this.join(u.slice(m,m+x.count)),m+=x.count;else{if(!x.added&&this.useLongestToken){let g=i.slice(p,p+x.count);g=g.map(function(b,v){const C=u[m+v];return C.length>b.length?C:b}),x.value=this.join(g)}else x.value=this.join(i.slice(p,p+x.count));p+=x.count,x.added||(m+=x.count)}}return s}}class Sk extends vk{constructor(){super(...arguments),this.tokenize=kk}equals(a,i,u){return u.ignoreWhitespace?((!u.newlineIsToken||!a.includes(`
|
|
266
|
-
`))&&(a=a.trim()),(!u.newlineIsToken||!i.includes(`
|
|
267
|
-
`))&&(i=i.trim())):u.ignoreNewlineAtEof&&!u.newlineIsToken&&(a.endsWith(`
|
|
268
|
-
`)&&(a=a.slice(0,-1)),i.endsWith(`
|
|
269
|
-
`)&&(i=i.slice(0,-1))),super.equals(a,i,u)}}const zk=new Sk;function Op(n,a,i){return zk.diff(n,a,i)}function kk(n,a){a.stripTrailingCr&&(n=n.replace(/\r\n/g,`
|
|
270
|
-
`));const i=[],u=n.split(/(\n|\r\n)/);u[u.length-1]||u.pop();for(let s=0;s<u.length;s++){const c=u[s];s%2&&!a.newlineIsToken?i[i.length-1]+=c:i.push(c)}return i}function Dp(n,a,i,u,s,c,f){let d;f?typeof f=="function"?d={callback:f}:d=f:d={},typeof d.context>"u"&&(d.context=4);const p=d.context;if(d.newlineIsToken)throw new Error("newlineIsToken may not be used with patch-generation functions, only with diffing functions");if(d.callback){const{callback:x}=d;Op(i,u,Object.assign(Object.assign({},d),{callback:g=>{const b=m(g);x(b)}}))}else return m(Op(i,u,d));function m(x){if(!x)return;x.push({value:"",lines:[]});function g(H){return H.map(function(L){return" "+L})}const b=[];let v=0,C=0,N=[],Y=1,M=1;for(let H=0;H<x.length;H++){const L=x[H],I=L.lines||wk(L.value);if(L.lines=I,L.added||L.removed){if(!v){const J=x[H-1];v=Y,C=M,J&&(N=p>0?g(J.lines.slice(-p)):[],v-=N.length,C-=N.length)}for(const J of I)N.push((L.added?"+":"-")+J);L.added?M+=I.length:Y+=I.length}else{if(v)if(I.length<=p*2&&H<x.length-2)for(const J of g(I))N.push(J);else{const J=Math.min(I.length,p);for(const P of g(I.slice(0,J)))N.push(P);const B={oldStart:v,oldLines:Y-v+J,newStart:C,newLines:M-C+J,lines:N};b.push(B),v=0,C=0,N=[]}Y+=I.length,M+=I.length}}for(const H of b)for(let L=0;L<H.lines.length;L++)H.lines[L].endsWith(`
|
|
271
|
-
`)?H.lines[L]=H.lines[L].slice(0,-1):(H.lines.splice(L+1,0,"\"),L++);return{oldFileName:n,newFileName:a,oldHeader:s,newHeader:c,hunks:b}}}function cc(n){if(Array.isArray(n))return n.map(cc).join(`
|
|
272
|
-
`);const a=[];n.oldFileName==n.newFileName&&a.push("Index: "+n.oldFileName),a.push("==================================================================="),a.push("--- "+n.oldFileName+(typeof n.oldHeader>"u"?"":" "+n.oldHeader)),a.push("+++ "+n.newFileName+(typeof n.newHeader>"u"?"":" "+n.newHeader));for(let i=0;i<n.hunks.length;i++){const u=n.hunks[i];u.oldLines===0&&(u.oldStart-=1),u.newLines===0&&(u.newStart-=1),a.push("@@ -"+u.oldStart+","+u.oldLines+" +"+u.newStart+","+u.newLines+" @@");for(const s of u.lines)a.push(s)}return a.join(`
|
|
273
|
-
`)+`
|
|
274
|
-
`}function Ek(n,a,i,u,s,c,f){if(typeof f=="function"&&(f={callback:f}),f!=null&&f.callback){const{callback:d}=f;Dp(n,a,i,u,s,c,Object.assign(Object.assign({},f),{callback:p=>{d(p?cc(p):void 0)}}))}else{const d=Dp(n,a,i,u,s,c,f);return d?cc(d):void 0}}function wk(n){const a=n.endsWith(`
|
|
275
|
-
`),i=n.split(`
|
|
276
|
-
`).map(u=>u+`
|
|
277
|
-
`);return a?i.pop():i.push(i.pop().slice(0,-1)),i}function Ma(n){const{text:a,className:i=""}=n,[u,s]=de.useState(!1),c=async f=>{f.stopPropagation();try{await navigator.clipboard.writeText(a),s(!0),setTimeout(()=>s(!1),1500)}catch{const d=document.createElement("textarea");d.value=a,document.body.appendChild(d),d.select(),document.execCommand("copy"),document.body.removeChild(d),s(!0),setTimeout(()=>s(!1),1500)}};return z.jsx("button",{onClick:c,className:`p-1 rounded hover:bg-zinc-700/50 transition-colors ${i}`,title:u?"Copied!":"Copy path",children:u?z.jsx(uu,{size:12,className:"text-emerald-400"}):z.jsx(Vp,{size:12,className:"text-zinc-500 hover:text-zinc-300"})})}function P0(n){return n.split("/").slice(-2).join("/")}function Ck(n){const a=n.split(`
|
|
278
|
-
`),i=[];for(const u of a)u.startsWith("@@")?i.push({type:"header",content:u}):u.startsWith("+")&&!u.startsWith("+++")?i.push({type:"add",content:u.slice(1)}):u.startsWith("-")&&!u.startsWith("---")?i.push({type:"remove",content:u.slice(1)}):u.startsWith(" ")&&i.push({type:"context",content:u.slice(1)});return i}function Tk(n){const{input:a}=n;if(!a||!a.file_path)return null;const i=a.old_string||"",u=a.new_string||"",s=P0(a.file_path),c=Ek("a/"+s,"b/"+s,i,u,"","",{context:3}),f=Ck(c),d=f.filter(m=>m.type==="add").length,p=f.filter(m=>m.type==="remove").length;return z.jsx("div",{className:"w-full mt-2",children:z.jsxs("div",{className:"bg-zinc-900/70 border border-zinc-700/50 rounded-lg overflow-hidden",children:[z.jsxs("div",{className:"flex items-center gap-2 px-3 py-2 border-b border-zinc-700/50 bg-zinc-800/30",children:[z.jsx(ux,{size:14,className:"text-blue-400"}),z.jsx("span",{className:"text-xs font-mono text-zinc-300",children:s}),z.jsxs("div",{className:"flex items-center gap-2 ml-auto text-xs",children:[d>0&&z.jsxs("span",{className:"flex items-center gap-0.5 text-emerald-400",children:[z.jsx(jx,{size:12}),d]}),p>0&&z.jsxs("span",{className:"flex items-center gap-0.5 text-rose-400",children:[z.jsx(wx,{size:12}),p]}),z.jsx(Ma,{text:a.file_path})]})]}),z.jsx("div",{className:"overflow-x-auto max-h-80 overflow-y-auto",children:z.jsx("pre",{className:"text-xs font-mono p-0",children:f.map((m,x)=>m.type==="header"?z.jsx("div",{className:"px-3 py-1 bg-blue-900/20 text-blue-300 border-y border-blue-900/30",children:m.content},x):m.type==="add"?z.jsxs("div",{className:"px-3 py-0.5 bg-emerald-900/20 text-emerald-300 border-l-2 border-emerald-500",children:[z.jsx("span",{className:"select-none text-emerald-600 mr-2",children:"+"}),m.content||" "]},x):m.type==="remove"?z.jsxs("div",{className:"px-3 py-0.5 bg-rose-900/20 text-rose-300 border-l-2 border-rose-500",children:[z.jsx("span",{className:"select-none text-rose-600 mr-2",children:"-"}),m.content||" "]},x):z.jsxs("div",{className:"px-3 py-0.5 text-zinc-400",children:[z.jsx("span",{className:"select-none text-zinc-600 mr-2",children:" "}),m.content||" "]},x))})})]})})}function Ak(n){const{input:a}=n;if(!a||!a.file_path)return null;const i=a.content||"",u=P0(a.file_path),s=i.split(`
|
|
279
|
-
`).length,c=i.slice(0,500),f=i.length>500;return z.jsx("div",{className:"w-full mt-2",children:z.jsxs("div",{className:"bg-zinc-900/70 border border-zinc-700/50 rounded-lg overflow-hidden",children:[z.jsxs("div",{className:"flex items-center gap-2 px-3 py-2 border-b border-zinc-700/50 bg-zinc-800/30",children:[z.jsx(Qp,{size:14,className:"text-emerald-400"}),z.jsx("span",{className:"text-xs font-mono text-zinc-300",children:u}),z.jsxs("div",{className:"flex items-center gap-1 ml-auto",children:[z.jsxs("span",{className:"text-xs text-zinc-500",children:[s," lines"]}),z.jsx(Ma,{text:a.file_path})]})]}),z.jsx("div",{className:"overflow-x-auto max-h-60 overflow-y-auto",children:z.jsxs("pre",{className:"text-xs font-mono p-3 text-zinc-300",children:[c,f&&z.jsxs("span",{className:"text-zinc-500",children:["... (",i.length-500," more chars)"]})]})})]})})}function Nk(n){const{input:a}=n,[i,u]=de.useState(!1);if(!a||!a.command)return null;const s=a.command,c=a.description,f=()=>{navigator.clipboard.writeText(s),u(!0),setTimeout(()=>u(!1),2e3)};return z.jsx("div",{className:"w-full mt-2",children:z.jsxs("div",{className:"bg-zinc-900/70 border border-zinc-700/50 rounded-lg overflow-hidden",children:[z.jsxs("div",{className:"flex items-center gap-2 px-3 py-2 border-b border-zinc-700/50 bg-zinc-800/30",children:[z.jsx(Kp,{size:14,className:"text-green-400"}),z.jsx("span",{className:"text-xs font-medium text-zinc-300",children:"Command"}),c&&z.jsxs("span",{className:"text-xs text-zinc-500 truncate ml-1",children:["— ",c]}),z.jsx("button",{onClick:f,className:"ml-auto p-1 hover:bg-zinc-700/50 rounded transition-colors",title:"Copy command",children:i?z.jsx(uu,{size:12,className:"text-green-400"}):z.jsx(Vp,{size:12,className:"text-zinc-500"})})]}),z.jsx("div",{className:"p-3 overflow-x-auto",children:z.jsx("div",{className:"flex items-start gap-2",children:z.jsx("pre",{className:"text-xs font-mono m-0 p-0 bg-transparent! text-zinc-200 whitespace-pre-wrap break-all",children:s})})})]})})}function _k(n){const{content:a,isError:i}=n;if(!a||a.trim().length===0)return z.jsx("div",{className:"w-full mt-2",children:z.jsxs("div",{className:"flex items-center gap-2 px-3 py-2 bg-zinc-800/30 border border-zinc-700/50 rounded-lg",children:[z.jsx(Yp,{size:14,className:"text-teal-400"}),z.jsx("span",{className:"text-xs text-zinc-400",children:"Command completed successfully (no output)"})]})});const u=a.split(`
|
|
280
|
-
`),s=30,c=u.length>s,f=c?u.slice(0,s):u;return z.jsx("div",{className:"w-full mt-2",children:z.jsxs("div",{className:`border rounded-lg overflow-hidden ${i?"bg-rose-950/20 border-rose-900/30":"bg-zinc-900/70 border-zinc-700/50"}`,children:[z.jsxs("div",{className:`flex items-center gap-2 px-3 py-2 border-b ${i?"border-rose-900/30 bg-rose-900/20":"border-zinc-700/50 bg-zinc-800/30"}`,children:[i?z.jsxs(z.Fragment,{children:[z.jsx(Vx,{size:14,className:"text-rose-400"}),z.jsx("span",{className:"text-xs font-medium text-rose-300",children:"Error Output"})]}):z.jsxs(z.Fragment,{children:[z.jsx(Fp,{size:14,className:"text-teal-400"}),z.jsx("span",{className:"text-xs font-medium text-zinc-300",children:"Output"})]}),z.jsxs("span",{className:"text-xs text-zinc-500 ml-auto",children:[u.length," lines"]})]}),z.jsx("div",{className:"overflow-x-auto max-h-80 overflow-y-auto",children:z.jsxs("pre",{className:`text-xs font-mono p-3 whitespace-pre-wrap break-all ${i?"text-rose-200/80":"text-zinc-300"}`,children:[f.join(`
|
|
281
|
-
`),c&&z.jsxs("div",{className:"text-zinc-500 mt-2 pt-2 border-t border-zinc-700/50",children:["... ",u.length-s," more lines"]})]})})]})})}function Mk(n){const{input:a}=n;return!a||!a.pattern?null:z.jsx("div",{className:"w-full mt-2",children:z.jsxs("div",{className:"bg-zinc-900/70 border border-zinc-700/50 rounded-lg overflow-hidden",children:[z.jsxs("div",{className:"flex items-center gap-2 px-3 py-2 border-b border-zinc-700/50 bg-zinc-800/30",children:[z.jsx(nu,{size:14,className:"text-amber-400"}),z.jsx("span",{className:"text-xs font-medium text-zinc-300",children:"Search"})]}),z.jsxs("div",{className:"p-3 space-y-2",children:[z.jsxs("div",{className:"flex items-center gap-2",children:[z.jsx("span",{className:"text-xs text-zinc-500",children:"Pattern:"}),z.jsx("code",{className:"text-xs font-mono text-amber-300 bg-amber-500/10 px-1.5 py-0.5 rounded",children:a.pattern})]}),a.path&&z.jsxs("div",{className:"flex items-center gap-2",children:[z.jsx("span",{className:"text-xs text-zinc-500",children:"Path:"}),z.jsx("span",{className:"text-xs font-mono text-zinc-300",children:a.path})]}),a.glob&&z.jsxs("div",{className:"flex items-center gap-2",children:[z.jsx("span",{className:"text-xs text-zinc-500",children:"Glob:"}),z.jsx("span",{className:"text-xs font-mono text-zinc-300",children:a.glob})]}),a.type&&z.jsxs("div",{className:"flex items-center gap-2",children:[z.jsx("span",{className:"text-xs text-zinc-500",children:"Type:"}),z.jsx("span",{className:"text-xs font-mono text-zinc-300",children:a.type})]})]})]})})}function jk(n){const{input:a}=n;return!a||!a.pattern?null:z.jsx("div",{className:"w-full mt-2",children:z.jsxs("div",{className:"bg-zinc-900/70 border border-zinc-700/50 rounded-lg overflow-hidden",children:[z.jsxs("div",{className:"flex items-center gap-2 px-3 py-2 border-b border-zinc-700/50 bg-zinc-800/30",children:[z.jsx(hc,{size:14,className:"text-cyan-400"}),z.jsx("span",{className:"text-xs font-medium text-zinc-300",children:"Find Files"})]}),z.jsxs("div",{className:"p-3 space-y-2",children:[z.jsxs("div",{className:"flex items-center gap-2",children:[z.jsx("span",{className:"text-xs text-zinc-500",children:"Pattern:"}),z.jsx("code",{className:"text-xs font-mono text-cyan-300 bg-cyan-500/10 px-1.5 py-0.5 rounded",children:a.pattern})]}),a.path&&z.jsxs("div",{className:"flex items-center gap-2",children:[z.jsx("span",{className:"text-xs text-zinc-500",children:"Path:"}),z.jsx("span",{className:"text-xs font-mono text-zinc-300",children:a.path})]})]})]})})}function Rp(n){const{content:a,isFileList:i}=n;if(!a||a.trim().length===0)return z.jsx("div",{className:"w-full mt-2",children:z.jsxs("div",{className:"flex items-center gap-2 px-3 py-2 bg-zinc-800/30 border border-zinc-700/50 rounded-lg",children:[z.jsx(nu,{size:14,className:"text-zinc-500"}),z.jsx("span",{className:"text-xs text-zinc-400",children:"No matches found"})]})});const u=a.split(`
|
|
282
|
-
`).filter(d=>d.trim()),s=25,c=u.length>s,f=c?u.slice(0,s):u;return i?z.jsx("div",{className:"w-full mt-2",children:z.jsxs("div",{className:"bg-zinc-900/70 border border-zinc-700/50 rounded-lg overflow-hidden",children:[z.jsxs("div",{className:"flex items-center gap-2 px-3 py-2 border-b border-zinc-700/50 bg-zinc-800/30",children:[z.jsx(hc,{size:14,className:"text-cyan-400"}),z.jsx("span",{className:"text-xs font-medium text-zinc-300",children:"Files Found"}),z.jsxs("span",{className:"text-xs text-zinc-500 ml-auto",children:[u.length," files"]})]}),z.jsxs("div",{className:"overflow-y-auto max-h-60",children:[z.jsx("ul",{className:"divide-y divide-zinc-800/50",children:f.map((d,p)=>z.jsxs("li",{className:"group flex items-center gap-2 px-3 py-1.5 hover:bg-zinc-800/30",children:[z.jsx(Xp,{size:12,className:"text-zinc-500 flex-shrink-0"}),z.jsx("span",{className:"text-xs font-mono text-zinc-300 truncate flex-1",children:d}),z.jsx("div",{className:"opacity-0 group-hover:opacity-100 transition-opacity",children:z.jsx(Ma,{text:d})})]},p))}),c&&z.jsxs("div",{className:"px-3 py-2 text-xs text-zinc-500 border-t border-zinc-700/50",children:["... ",u.length-s," more files"]})]})]})}):z.jsx("div",{className:"w-full mt-2",children:z.jsxs("div",{className:"bg-zinc-900/70 border border-zinc-700/50 rounded-lg overflow-hidden",children:[z.jsxs("div",{className:"flex items-center gap-2 px-3 py-2 border-b border-zinc-700/50 bg-zinc-800/30",children:[z.jsx(nu,{size:14,className:"text-amber-400"}),z.jsx("span",{className:"text-xs font-medium text-zinc-300",children:"Results"}),z.jsxs("span",{className:"text-xs text-zinc-500 ml-auto",children:[u.length," matches"]})]}),z.jsx("div",{className:"overflow-x-auto max-h-80 overflow-y-auto",children:z.jsxs("pre",{className:"text-xs font-mono p-3 text-zinc-300 whitespace-pre-wrap",children:[f.join(`
|
|
283
|
-
`),c&&z.jsxs("div",{className:"text-zinc-500 mt-2 pt-2 border-t border-zinc-700/50",children:["... ",u.length-s," more matches"]})]})})]})})}function Ok(n){return n.split("/").slice(-2).join("/")}function eg(n){var i;const a=n.split(".");return a.length>1?(i=a.pop())==null?void 0:i.toLowerCase():""}function tg(n){return{ts:"TypeScript",tsx:"TypeScript React",js:"JavaScript",jsx:"JavaScript React",py:"Python",rb:"Ruby",go:"Go",rs:"Rust",java:"Java",cpp:"C++",c:"C",css:"CSS",scss:"SCSS",html:"HTML",json:"JSON",yaml:"YAML",yml:"YAML",md:"Markdown",sql:"SQL",sh:"Shell",bash:"Bash"}[n]||null}function Dk(n){const{input:a}=n;if(!a||!a.file_path)return null;const i=Ok(a.file_path),u=eg(a.file_path),s=u?tg(u):null;return z.jsx("div",{className:"w-full mt-2",children:z.jsx("div",{className:"bg-zinc-900/70 border border-zinc-700/50 rounded-lg overflow-hidden",children:z.jsxs("div",{className:"flex items-center gap-2 px-3 py-2 border-b border-zinc-700/50 bg-zinc-800/30",children:[z.jsx(Gp,{size:14,className:"text-sky-400"}),z.jsx("span",{className:"text-xs font-mono text-zinc-300",children:i}),s&&z.jsx("span",{className:"text-xs text-zinc-500 bg-zinc-700/50 px-1.5 py-0.5 rounded",children:s}),z.jsxs("div",{className:"flex items-center gap-1 ml-auto",children:[(a.offset||a.limit)&&z.jsxs("span",{className:"text-xs text-zinc-500 mr-1",children:[a.offset&&`from line ${a.offset}`,a.offset&&a.limit&&", ",a.limit&&`${a.limit} lines`]}),z.jsx(Ma,{text:a.file_path})]})]})})})}function Rk(n){const{content:a,fileName:i}=n;if(!a)return null;const u=a.split(`
|
|
284
|
-
`),s=50,c=u.length>s,f=c?u.slice(0,s):u,d=i?eg(i):"",p=d?tg(d):null;return z.jsx("div",{className:"w-full mt-2",children:z.jsxs("div",{className:"bg-zinc-900/70 border border-zinc-700/50 rounded-lg overflow-hidden",children:[z.jsxs("div",{className:"flex items-center gap-2 px-3 py-2 border-b border-zinc-700/50 bg-zinc-800/30",children:[z.jsx(Xp,{size:14,className:"text-sky-400"}),z.jsx("span",{className:"text-xs font-medium text-zinc-300",children:"File Content"}),p&&z.jsx("span",{className:"text-xs text-zinc-500 bg-zinc-700/50 px-1.5 py-0.5 rounded",children:p}),z.jsxs("span",{className:"text-xs text-zinc-500 ml-auto",children:[u.length," lines"]})]}),z.jsxs("div",{className:"overflow-x-auto max-h-96 overflow-y-auto",children:[z.jsx("table",{className:"w-full text-xs font-mono",children:z.jsx("tbody",{children:f.map((m,x)=>z.jsxs("tr",{className:"hover:bg-zinc-800/30",children:[z.jsx("td",{className:"select-none text-right pr-3 pl-3 py-0.5 text-zinc-600 border-r border-zinc-800 w-10 sticky left-0 bg-zinc-900/70",children:x+1}),z.jsx("td",{className:"pl-3 pr-3 py-0.5 text-zinc-300 whitespace-pre",children:m||" "})]},x))})}),c&&z.jsxs("div",{className:"px-3 py-2 text-xs text-zinc-500 border-t border-zinc-700/50",children:["... ",u.length-s," more lines"]})]})]})})}function Lk(n){const{input:a}=n;return!a||!a.questions||a.questions.length===0?null:z.jsx("div",{className:"w-full mt-2 space-y-3",children:a.questions.map((i,u)=>z.jsxs("div",{className:"bg-zinc-900/70 border border-zinc-700/50 rounded-lg overflow-hidden",children:[z.jsxs("div",{className:"flex items-center gap-2 px-3 py-2 border-b border-zinc-700/50 bg-zinc-800/30",children:[z.jsx(P1,{size:14,className:"text-violet-400"}),z.jsx("span",{className:"text-xs font-medium text-zinc-300",children:i.header||"Question"}),i.multiSelect&&z.jsx("span",{className:"text-[10px] text-zinc-500 bg-zinc-700/50 px-1.5 py-0.5 rounded ml-auto",children:"Multi-select"})]}),z.jsxs("div",{className:"p-3 space-y-3",children:[z.jsx("p",{className:"text-sm text-zinc-200",children:i.question}),i.options&&i.options.length>0&&z.jsx("div",{className:"space-y-2",children:i.options.map((s,c)=>{const f=i.multiSelect?Bx:Hx;return z.jsxs("div",{className:"flex items-start gap-2 px-2 py-1.5 rounded bg-zinc-800/40 border border-zinc-700/30",children:[z.jsx(f,{size:14,className:"text-violet-400/70 mt-0.5 flex-shrink-0"}),z.jsxs("div",{className:"min-w-0",children:[z.jsx("div",{className:"text-xs font-medium text-zinc-200",children:s.label}),s.description&&z.jsx("div",{className:"text-xs text-zinc-500 mt-0.5",children:s.description})]})]},c)})})]})]},u))})}function Bk(n){const a=n.toLowerCase();return a==="explore"?"text-cyan-400":a==="plan"?"text-violet-400":a==="claude-code-guide"?"text-amber-400":a==="general-purpose"?"text-emerald-400":"text-blue-400"}function Uk(n){const a=n.toLowerCase();return a==="explore"?"bg-cyan-500/10 border-cyan-500/20":a==="plan"?"bg-violet-500/10 border-violet-500/20":a==="claude-code-guide"?"bg-amber-500/10 border-amber-500/20":a==="general-purpose"?"bg-emerald-500/10 border-emerald-500/20":"bg-blue-500/10 border-blue-500/20"}function Hk(n){const{input:a}=n;if(!a)return null;const i=Bk(a.subagent_type),u=Uk(a.subagent_type);return z.jsx("div",{className:"w-full mt-2",children:z.jsxs("div",{className:"bg-zinc-900/70 border border-zinc-700/50 rounded-lg overflow-hidden",children:[z.jsxs("div",{className:"flex items-center gap-2 px-3 py-2 border-b border-zinc-700/50 bg-zinc-800/30",children:[z.jsx(qp,{size:14,className:i}),z.jsx("span",{className:`text-xs font-medium ${i}`,children:a.subagent_type}),a.description&&z.jsxs(z.Fragment,{children:[z.jsx(K1,{size:10,className:"text-zinc-600"}),z.jsx("span",{className:"text-xs text-zinc-400",children:a.description})]}),z.jsxs("div",{className:"flex items-center gap-1.5 ml-auto",children:[a.resume&&z.jsxs("span",{className:"inline-flex items-center gap-1 text-[10px] text-zinc-500 bg-zinc-700/50 px-1.5 py-0.5 rounded",children:[z.jsx(Dx,{size:10}),"resume"]}),a.run_in_background&&z.jsxs("span",{className:"inline-flex items-center gap-1 text-[10px] text-zinc-500 bg-zinc-700/50 px-1.5 py-0.5 rounded",children:[z.jsx(Tx,{size:10}),"background"]}),a.model&&z.jsx("span",{className:"text-[10px] text-zinc-500 bg-zinc-700/50 px-1.5 py-0.5 rounded",children:a.model})]})]}),z.jsx("div",{className:"p-3",children:z.jsxs("div",{className:`flex items-start gap-2 px-3 py-2 rounded-lg border ${u}`,children:[z.jsx(Fp,{size:12,className:`${i} mt-0.5 flex-shrink-0`}),z.jsx("p",{className:"text-xs text-zinc-300 leading-relaxed whitespace-pre-wrap",children:a.prompt})]})})]})})}const ng=de.memo(function(a){const{content:i,className:u=""}=a;return z.jsx("div",{className:`break-words ${u}`,children:z.jsx(lz,{remarkPlugins:[gk],components:{h1:s=>{const{children:c}=s;return z.jsx("div",{className:"text-base font-semibold text-zinc-100 mt-3 mb-1.5",children:c})},h2:s=>{const{children:c}=s;return z.jsx("div",{className:"text-sm font-semibold text-zinc-100 mt-3 mb-1.5",children:c})},h3:s=>{const{children:c}=s;return z.jsx("div",{className:"text-[13px] font-medium text-zinc-100 mt-3 mb-1.5",children:c})},h4:s=>{const{children:c}=s;return z.jsx("div",{className:"text-[13px] font-medium text-zinc-100 mt-2 mb-1",children:c})},h5:s=>{const{children:c}=s;return z.jsx("div",{className:"text-[13px] font-medium text-zinc-100 mt-2 mb-1",children:c})},h6:s=>{const{children:c}=s;return z.jsx("div",{className:"text-[13px] font-medium text-zinc-100 mt-2 mb-1",children:c})},p:s=>{const{children:c}=s;return z.jsx("p",{className:"text-[13px] leading-relaxed text-zinc-200 whitespace-pre-wrap my-2",children:c})},a:s=>{const{href:c,children:f}=s;return z.jsx("a",{href:c,target:"_blank",rel:"noopener noreferrer",className:"text-cyan-400 hover:text-cyan-300 underline underline-offset-2",children:f})},strong:s=>{const{children:c}=s;return z.jsx("strong",{className:"font-semibold text-zinc-50",children:c})},em:s=>{const{children:c}=s;return z.jsx("em",{className:"italic text-zinc-200",children:c})},code:s=>{const{children:c}=s;return z.jsx("code",{className:"px-1.5 py-0.5 rounded bg-zinc-800/80 text-cyan-300 text-[12px] font-mono",children:c})},pre:s=>{var p,m,x;const{node:c}=s,f=(p=c==null?void 0:c.children)==null?void 0:p[0];if((f==null?void 0:f.tagName)==="code"){const b=(((m=f.properties)==null?void 0:m.className)||[]).find(N=>N.startsWith("language-")),v=(b==null?void 0:b.replace("language-",""))||"code",C=((x=f.children)==null?void 0:x.map(N=>N.value).join(""))||"";return z.jsxs("div",{className:"relative group my-2 rounded-lg overflow-hidden border border-zinc-700/50",children:[z.jsxs("div",{className:"flex items-center justify-between px-3 py-1.5 bg-zinc-900 border-b border-zinc-700/50",children:[z.jsx("span",{className:"text-[10px] text-zinc-500 font-mono",children:v}),z.jsx(Ma,{text:C})]}),z.jsx("pre",{className:"text-xs text-zinc-300 bg-zinc-900/80 p-3 overflow-x-auto",children:z.jsx("code",{children:C})})]})}const{children:d}=s;return z.jsx("pre",{children:d})},ul:s=>{const{children:c}=s;return z.jsx("ul",{className:"my-2 ml-3 space-y-1 list-disc list-inside text-zinc-200",children:c})},ol:s=>{const{children:c}=s;return z.jsx("ol",{className:"my-2 ml-3 space-y-1 list-decimal list-inside text-zinc-200",children:c})},li:s=>{const{children:c}=s;return z.jsx("li",{className:"text-[13px] leading-relaxed",children:c})},blockquote:s=>{const{children:c}=s;return z.jsx("div",{className:"border-l-2 border-zinc-600 pl-3 my-2 text-zinc-400 italic",children:c})},hr:()=>z.jsx("hr",{className:"border-zinc-700 my-4"}),table:s=>{const{children:c}=s;return z.jsx("div",{className:"my-2 overflow-x-auto rounded-lg border border-zinc-700/50",children:z.jsx("table",{className:"w-full text-[13px]",children:c})})},thead:s=>{const{children:c}=s;return z.jsx("thead",{className:"bg-zinc-900",children:c})},tr:s=>{const{children:c}=s;return z.jsx("tr",{className:"border-b border-zinc-700/50 last:border-b-0",children:c})},th:s=>{const{children:c}=s;return z.jsx("th",{className:"px-3 py-2 text-left font-medium text-zinc-200",children:c})},td:s=>{const{children:c}=s;return z.jsx("td",{className:"px-3 py-2 text-zinc-300",children:c})}},children:i})})});function qk(n){const a=new Map;for(const i of n)i.type==="tool_use"&&i.id&&i.name&&a.set(i.id,i.name);return a}const Yk=de.memo(function(a){var C;const{message:i}=a,u=i.type==="user",s=(C=i.message)==null?void 0:C.content,c=()=>!s||typeof s=="string"?[]:s.filter(N=>N.type==="text"),f=()=>!s||typeof s=="string"?[]:s.filter(N=>N.type==="tool_use"||N.type==="tool_result"||N.type==="thinking"),d=()=>c().filter(N=>N.text&&bi(N.text).length>0),p=()=>typeof s=="string"?bi(s).length>0:d().length>0,m=f(),x=d(),g=p(),b=m.length>0,v=Array.isArray(s)?qk(s):new Map;return!g&&b?z.jsx("div",{className:"flex flex-col gap-1 py-0.5",children:m.map((N,Y)=>z.jsx(Wo,{block:N,toolMap:v},Y))}):!g&&!b?null:z.jsx("div",{className:`flex ${u?"justify-end":"justify-start"} min-w-0`,children:z.jsxs("div",{className:"max-w-[85%] min-w-0",children:[z.jsx("div",{className:`px-3.5 py-2.5 rounded-2xl overflow-hidden ${u?"bg-indigo-600/80 text-indigo-50 rounded-br-md":"bg-cyan-700/50 text-zinc-100 rounded-bl-md"}`,children:typeof s=="string"?u?z.jsx("div",{className:"whitespace-pre-wrap break-words text-[13px] leading-relaxed",children:bi(s)}):z.jsx(ng,{content:bi(s)}):z.jsx("div",{className:"flex flex-col gap-1",children:x.map((N,Y)=>z.jsx(Wo,{block:N,isUser:u,toolMap:v},Y))})}),b&&z.jsx("div",{className:"flex flex-col gap-1 mt-1.5",children:m.map((N,Y)=>z.jsx(Wo,{block:N,toolMap:v},Y))})]})})});function Vk(n){const a=n.toLowerCase();return a==="todowrite"?Zp:a==="read"?Gp:a==="bash"?Kp:a==="grep"?nu:a==="edit"?Nx:a==="write"?Qp:a==="glob"?hc:a==="task"?qp:a.includes("web")||a.includes("fetch")||a.includes("url")?mx:a.includes("ask")||a.includes("question")?kx:a.includes("git")||a.includes("commit")?hx:a.includes("sql")||a.includes("database")||a.includes("query")?ix:a.includes("file")||a.includes("disk")?gx:Qx}function Gk(n,a){if(!a)return null;const i=n.toLowerCase();if(i==="read"&&a.file_path)return String(a.file_path).split("/").slice(-2).join("/");if(i==="bash"&&a.command){const u=String(a.command);return u.length>50?u.slice(0,50)+"...":u}if(i==="grep"&&a.pattern)return`"${String(a.pattern)}"`;if(i==="glob"&&a.pattern)return String(a.pattern);if((i==="edit"||i==="write")&&a.file_path)return String(a.file_path).split("/").slice(-2).join("/");if(i==="task"&&a.description)return String(a.description);if(i.includes("web")&&a.url)try{return new URL(String(a.url)).hostname}catch{return String(a.url).slice(0,30)}return null}function Qk(n){const{toolName:a,input:i}=n,u=a.toLowerCase();return u==="todowrite"&&i.todos?z.jsx(bk,{todos:i.todos}):u==="edit"&&i.file_path?z.jsx(Tk,{input:i}):u==="write"&&i.file_path?z.jsx(Ak,{input:i}):u==="bash"&&i.command?z.jsx(Nk,{input:i}):u==="grep"&&i.pattern?z.jsx(Mk,{input:i}):u==="glob"&&i.pattern?z.jsx(jk,{input:i}):u==="read"&&i.file_path?z.jsx(Dk,{input:i}):u==="askuserquestion"&&i.questions?z.jsx(Lk,{input:i}):u==="task"&&i.prompt?z.jsx(Hk,{input:i}):z.jsx("pre",{className:"text-xs text-slate-300 bg-slate-900/50 border border-slate-700/50 rounded-lg p-3 mt-2 overflow-x-auto whitespace-pre-wrap break-all max-h-80 overflow-y-auto",children:JSON.stringify(i,null,2)})}function Xk(n){const{toolName:a,content:i,isError:u}=n,s=a.toLowerCase();if(s==="bash")return z.jsx(_k,{content:i,isError:u});if(s==="glob")return z.jsx(Rp,{content:i,isFileList:!0});if(s==="grep")return z.jsx(Rp,{content:i});if(s==="read")return z.jsx(Rk,{content:i});if(!i||i.trim().length===0)return z.jsxs("div",{className:"flex items-center gap-2 px-3 py-2 bg-teal-500/10 border border-teal-500/20 rounded-lg mt-2",children:[z.jsx(uu,{size:14,className:"text-teal-400"}),z.jsx("span",{className:"text-xs text-teal-300",children:"Completed successfully"})]});const c=2e3,f=i.length>c,d=f?i.slice(0,c):i;return z.jsxs("pre",{className:`text-xs rounded-lg p-3 mt-2 overflow-x-auto whitespace-pre-wrap break-all max-h-80 overflow-y-auto border ${u?"bg-rose-950/30 text-rose-200/80 border-rose-900/30":"bg-teal-950/30 text-teal-200/80 border-teal-900/30"}`,children:[d,f&&z.jsxs("span",{className:"text-zinc-500",children:["... (",i.length-c," more chars)"]})]})}function Wo(n){var f;const{block:a,isUser:i,toolMap:u}=n,[s,c]=de.useState(!1);if(a.type==="text"&&a.text){const d=bi(a.text);return d?i?z.jsx("div",{className:"whitespace-pre-wrap break-words text-[13px] leading-relaxed",children:d}):z.jsx(ng,{content:d}):null}if(a.type==="thinking"&&a.thinking)return z.jsxs("div",{className:s?"w-full":"",children:[z.jsxs("button",{onClick:()=>c(!s),className:"inline-flex items-center gap-1.5 px-2.5 py-1 rounded-lg bg-amber-500/10 hover:bg-amber-500/15 text-[11px] text-amber-400/90 transition-colors border border-amber-500/20",children:[z.jsx(xx,{size:12,className:"opacity-70"}),z.jsx("span",{className:"font-medium",children:"thinking"}),z.jsx("span",{className:"text-[10px] opacity-50 ml-0.5",children:s?"▼":"▶"})]}),s&&z.jsx("pre",{className:"text-xs text-zinc-400 bg-zinc-900/80 border border-zinc-800 rounded-lg p-3 mt-2 whitespace-pre-wrap max-h-80 overflow-y-auto",children:a.thinking})]});if(a.type==="tool_use"){const d=a.input&&typeof a.input=="object"?a.input:void 0,p=d&&Object.keys(d).length>0,m=Vk(a.name||""),x=Gk(a.name||"",d),g=((f=a.name)==null?void 0:f.toLowerCase())||"",b=g==="todowrite"||g==="edit"||g==="write"||g==="bash"||g==="grep"||g==="glob"||g==="read"||g==="askuserquestion"||g==="task",v=g==="todowrite"||g==="askuserquestion"||g==="task",C=s||v;return z.jsxs("div",{className:C?"w-full":"",children:[z.jsxs("button",{onClick:()=>p&&!v&&c(!s),className:"inline-flex items-center gap-1.5 px-2.5 py-1 rounded-lg bg-slate-500/10 hover:bg-slate-500/15 text-[11px] text-slate-300 transition-colors border border-slate-500/20",children:[z.jsx(m,{size:12,className:"opacity-60"}),z.jsx("span",{className:"font-medium text-slate-200",children:a.name}),x&&z.jsx("span",{className:"text-slate-500 font-normal truncate max-w-[200px]",children:x}),p&&!v&&z.jsx("span",{className:"text-[10px] opacity-40 ml-0.5",children:s?"▼":"▶"})]}),C&&p&&b?z.jsx(Qk,{toolName:a.name||"",input:d}):s&&p&&z.jsx("pre",{className:"text-xs text-slate-300 bg-slate-900/50 border border-slate-700/50 rounded-lg p-3 mt-2 overflow-x-auto whitespace-pre-wrap break-all max-h-80 overflow-y-auto",children:JSON.stringify(d,null,2)})]})}if(a.type==="tool_result"){const d=a.is_error,p=typeof a.content=="string"?a.content:JSON.stringify(a.content,null,2),m=bi(p),x=m.length>0,g=60,b=x&&!s?m.slice(0,g)+(m.length>g?"...":""):null,v=a.tool_use_id&&u&&u.get(a.tool_use_id)||"";return z.jsxs("div",{className:s?"w-full":"",children:[z.jsxs("button",{onClick:()=>x&&c(!s),className:`inline-flex items-center gap-1.5 px-2.5 py-1 rounded-lg text-[11px] transition-colors border ${d?"bg-rose-500/10 hover:bg-rose-500/15 text-rose-400/90 border-rose-500/20":"bg-teal-500/10 hover:bg-teal-500/15 text-teal-400/90 border-teal-500/20"}`,children:[d?z.jsx(Zx,{size:12,className:"opacity-70"}):z.jsx(uu,{size:12,className:"opacity-70"}),z.jsx("span",{className:"font-medium",children:d?"error":"result"}),b&&!s&&z.jsx("span",{className:`font-normal truncate max-w-[200px] ${d?"text-rose-500/70":"text-teal-500/70"}`,children:b}),x&&z.jsx("span",{className:"text-[10px] opacity-40 ml-0.5",children:s?"▼":"▶"})]}),s&&x&&z.jsx(Xk,{toolName:v,content:m,isError:d})]})}return null}function Zk(n){const{sessionId:a}=n,[i,u]=de.useState([]),[s,c]=de.useState(!0),[f,d]=de.useState(!0),p=de.useRef(null),m=de.useRef(null),x=de.useRef(0),g=de.useRef(0),b=de.useRef(null),v=de.useRef(null),C=de.useRef(!0),N=10,Y=1e3,M=de.useCallback(()=>{if(!C.current)return;b.current&&b.current.close();const J=new EventSource(`/api/conversation/${a}/stream?offset=${x.current}`);b.current=J,J.addEventListener("messages",B=>{g.current=0;const P=JSON.parse(B.data);c(!1),u(ue=>{const pe=new Set(ue.map(te=>te.uuid).filter(Boolean)),U=P.filter(te=>!pe.has(te.uuid));return U.length===0?ue:(x.current+=U.length,[...ue,...U])})}),J.onerror=()=>{if(J.close(),c(!1),!!C.current&&g.current<N){const B=Math.min(Y*Math.pow(2,g.current),3e4);g.current++,v.current=setTimeout(()=>M(),B)}}},[a]);de.useEffect(()=>(C.current=!0,c(!0),u([]),x.current=0,g.current=0,M(),()=>{C.current=!1,v.current&&clearTimeout(v.current),b.current&&b.current.close()}),[M]),de.useEffect(()=>{f&&m.current&&m.current.scrollIntoView({behavior:"instant"})},[i,f]);const H=()=>{if(!p.current)return;const{scrollTop:J,scrollHeight:B,clientHeight:P}=p.current,ue=B-J-P<100;d(ue)},L=i.find(J=>J.type==="summary"),I=i.filter(J=>J.type==="user"||J.type==="assistant");return s?z.jsx("div",{className:"flex h-full items-center justify-center text-zinc-500",children:"Loading..."}):z.jsx("div",{ref:p,onScroll:H,className:"h-full overflow-y-auto bg-zinc-950",children:z.jsxs("div",{className:"mx-auto max-w-3xl px-4 py-4",children:[L&&z.jsxs("div",{className:"mb-6 rounded-xl border border-zinc-800/60 bg-zinc-900/50 p-4",children:[z.jsx("h2",{className:"text-sm font-medium text-zinc-200 leading-relaxed",children:L.summary}),z.jsxs("p",{className:"mt-2 text-[11px] text-zinc-500",children:[I.length," messages"]})]}),z.jsx("div",{className:"flex flex-col gap-2",children:I.map((J,B)=>z.jsx("div",{ref:B===I.length-1?m:void 0,children:z.jsx(Yk,{message:J})},J.uuid||B))}),!f&&z.jsxs("button",{onClick:()=>{var J;d(!0),(J=m.current)==null||J.scrollIntoView({behavior:"instant"})},className:"fixed bottom-4 right-6 rounded-full bg-zinc-200/90 px-3.5 py-2 text-xs font-medium text-zinc-900 shadow-lg transition-all hover:bg-zinc-100 flex items-center gap-1.5 backdrop-blur-sm",children:[z.jsx("svg",{className:"w-3.5 h-3.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:z.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 14l-7 7m0 0l-7-7m7 7V3"})}),z.jsx("span",{children:"Latest"})]})]})})}function Fk(n,a){const{events:i,onError:u,maxRetries:s=10,baseDelay:c=1e3}=a,f=de.useRef(null),d=de.useRef(0),p=de.useRef(null),m=de.useRef(!0),x=de.useRef(i);x.current=i;const g=de.useCallback(()=>{if(!m.current)return;f.current&&f.current.close();const b=new EventSource(n);f.current=b;for(const v of x.current)b.addEventListener(v.eventName,C=>{d.current=0,v.onMessage(C)});b.onerror=()=>{if(b.close(),!!m.current)if(d.current<s){const v=Math.min(c*Math.pow(2,d.current),3e4);d.current++,p.current=setTimeout(()=>{g()},v)}else u==null||u()}},[n,u,s,c]);de.useEffect(()=>(m.current=!0,g(),()=>{m.current=!1,p.current&&clearTimeout(p.current),f.current&&f.current.close()}),[g])}function Kk(){const[n,a]=de.useState([]),[i,u]=de.useState([]),[s,c]=de.useState(null),[f,d]=de.useState(null),[p,m]=de.useState(!0);de.useEffect(()=>{fetch("/api/projects").then(N=>N.json()).then(u).catch(console.error)},[]);const x=de.useCallback(N=>{const Y=JSON.parse(N.data);a(Y),m(!1)},[]),g=de.useCallback(N=>{const Y=JSON.parse(N.data);a(M=>{const H=new Map(M.map(L=>[L.id,L]));for(const L of Y)H.set(L.id,L);return Array.from(H.values()).sort((L,I)=>I.timestamp-L.timestamp)})},[]),b=de.useCallback(()=>{m(!1)},[]);Fk("/api/sessions/stream",{events:[{eventName:"sessions",onMessage:x},{eventName:"sessionsUpdate",onMessage:g}],onError:b});const v=de.useMemo(()=>s?n.filter(N=>N.project===s):n,[n,s]),C=de.useCallback(N=>{d(N)},[]);return z.jsxs("div",{className:"flex h-screen bg-zinc-950 text-zinc-100",children:[z.jsxs("aside",{className:"w-80 border-r border-zinc-800/60 flex flex-col bg-zinc-950",children:[z.jsx("div",{className:"border-b border-zinc-800/60",children:z.jsxs("select",{value:s||"",onChange:N=>c(N.target.value||null),className:"w-full bg-transparent text-zinc-300 text-sm focus:outline-none cursor-pointer px-3 py-4",children:[z.jsx("option",{value:"",children:"All Projects"}),i.map(N=>{const Y=N.split("/").pop()||N;return z.jsx("option",{value:N,children:Y},N)})]})}),z.jsx(Y1,{sessions:v,selectedSession:f,onSelectSession:C,loading:p})]}),z.jsx("main",{className:"flex-1 overflow-hidden bg-zinc-950",children:f?z.jsx(Zk,{sessionId:f}):z.jsx("div",{className:"flex h-full items-center justify-center text-zinc-600",children:z.jsxs("div",{className:"text-center",children:[z.jsx("div",{className:"text-base mb-2 text-zinc-500",children:"Select a session"}),z.jsx("div",{className:"text-sm text-zinc-600",children:"Choose a session from the list to view the conversation"})]})})})]})}w1.createRoot(document.getElementById("root")).render(z.jsx(de.StrictMode,{children:z.jsx(Kk,{})}));
|