Files
agent-evals/frontend/dist/assets/index-DBLy_rVI.js
Evan Reichard 114fa556eb fix: fix light/dark/system theme switcher
- Add darkMode: class to tailwind config for class-based dark mode
- Load saved theme from localStorage on mount and apply immediately
- Add media query listener for system theme changes in system mode
2026-02-06 17:13:18 -05:00

80 lines
348 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))l(i);new MutationObserver(i=>{for(const a of i)if(a.type==="childList")for(const u of a.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&l(u)}).observe(document,{childList:!0,subtree:!0});function n(i){const a={};return i.integrity&&(a.integrity=i.integrity),i.referrerPolicy&&(a.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?a.credentials="include":i.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function l(i){if(i.ep)return;i.ep=!0;const a=n(i);fetch(i.href,a)}})();var iu=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Hu(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var hm={exports:{}},ju={};/**
* @license React
* react-jsx-runtime.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var wy=Symbol.for("react.transitional.element"),Dy=Symbol.for("react.fragment");function mm(t,e,n){var l=null;if(n!==void 0&&(l=""+n),e.key!==void 0&&(l=""+e.key),"key"in e){n={};for(var i in e)i!=="key"&&(n[i]=e[i])}else n=e;return e=n.ref,{$$typeof:wy,type:t,key:l,ref:e!==void 0?e:null,props:n}}ju.Fragment=Dy;ju.jsx=mm;ju.jsxs=mm;hm.exports=ju;var X=hm.exports,pm={exports:{}},Y={};/**
* @license React
* react.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var yc=Symbol.for("react.transitional.element"),_y=Symbol.for("react.portal"),Oy=Symbol.for("react.fragment"),My=Symbol.for("react.strict_mode"),Ny=Symbol.for("react.profiler"),Ry=Symbol.for("react.consumer"),Uy=Symbol.for("react.context"),Ly=Symbol.for("react.forward_ref"),By=Symbol.for("react.suspense"),Hy=Symbol.for("react.memo"),dm=Symbol.for("react.lazy"),jy=Symbol.for("react.activity"),Vs=Symbol.iterator;function qy(t){return t===null||typeof t!="object"?null:(t=Vs&&t[Vs]||t["@@iterator"],typeof t=="function"?t:null)}var gm={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ym=Object.assign,bm={};function Pl(t,e,n){this.props=t,this.context=e,this.refs=bm,this.updater=n||gm}Pl.prototype.isReactComponent={};Pl.prototype.setState=function(t,e){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,e,"setState")};Pl.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function vm(){}vm.prototype=Pl.prototype;function bc(t,e,n){this.props=t,this.context=e,this.refs=bm,this.updater=n||gm}var vc=bc.prototype=new vm;vc.constructor=bc;ym(vc,Pl.prototype);vc.isPureReactComponent=!0;var Gs=Array.isArray;function oo(){}var dt={H:null,A:null,T:null,S:null},Sm=Object.prototype.hasOwnProperty;function Sc(t,e,n){var l=n.ref;return{$$typeof:yc,type:t,key:e,ref:l!==void 0?l:null,props:n}}function Yy(t,e){return Sc(t.type,e,t.props)}function xc(t){return typeof t=="object"&&t!==null&&t.$$typeof===yc}function Vy(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(n){return e[n]})}var Xs=/\/+/g;function sr(t,e){return typeof t=="object"&&t!==null&&t.key!=null?Vy(""+t.key):e.toString(36)}function Gy(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status=="string"?t.then(oo,oo):(t.status="pending",t.then(function(e){t.status==="pending"&&(t.status="fulfilled",t.value=e)},function(e){t.status==="pending"&&(t.status="rejected",t.reason=e)})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}}throw t}function yl(t,e,n,l,i){var a=typeof t;(a==="undefined"||a==="boolean")&&(t=null);var u=!1;if(t===null)u=!0;else switch(a){case"bigint":case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case yc:case _y:u=!0;break;case dm:return u=t._init,yl(u(t._payload),e,n,l,i)}}if(u)return i=i(t),u=l===""?"."+sr(t,0):l,Gs(i)?(n="",u!=null&&(n=u.replace(Xs,"$&/")+"/"),yl(i,e,n,"",function(c){return c})):i!=null&&(xc(i)&&(i=Yy(i,n+(i.key==null||t&&t.key===i.key?"":(""+i.key).replace(Xs,"$&/")+"/")+u)),e.push(i)),1;u=0;var r=l===""?".":l+":";if(Gs(t))for(var o=0;o<t.length;o++)l=t[o],a=r+sr(l,o),u+=yl(l,e,n,a,i);else if(o=qy(t),typeof o=="function")for(t=o.call(t),o=0;!(l=t.next()).done;)l=l.value,a=r+sr(l,o++),u+=yl(l,e,n,a,i);else if(a==="object"){if(typeof t.then=="function")return yl(Gy(t),e,n,l,i);throw e=String(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.")}return u}function xa(t,e,n){if(t==null)return t;var l=[],i=0;return yl(t,l,"","",function(a){return e.call(n,a,i++)}),l}function Xy(t){if(t._status===-1){var e=t._result;e=e(),e.then(function(n){(t._status===0||t._status===-1)&&(t._status=1,t._result=n)},function(n){(t._status===0||t._status===-1)&&(t._status=2,t._result=n)}),t._status===-1&&(t._status=0,t._result=e)}if(t._status===1)return t._result.default;throw t._result}var Qs=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},Qy={map:xa,forEach:function(t,e,n){xa(t,function(){e.apply(this,arguments)},n)},count:function(t){var e=0;return xa(t,function(){e++}),e},toArray:function(t){return xa(t,function(e){return e})||[]},only:function(t){if(!xc(t))throw Error("React.Children.only expected to receive a single React element child.");return t}};Y.Activity=jy;Y.Children=Qy;Y.Component=Pl;Y.Fragment=Oy;Y.Profiler=Ny;Y.PureComponent=bc;Y.StrictMode=My;Y.Suspense=By;Y.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=dt;Y.__COMPILER_RUNTIME={__proto__:null,c:function(t){return dt.H.useMemoCache(t)}};Y.cache=function(t){return function(){return t.apply(null,arguments)}};Y.cacheSignal=function(){return null};Y.cloneElement=function(t,e,n){if(t==null)throw Error("The argument must be a React element, but you passed "+t+".");var l=ym({},t.props),i=t.key;if(e!=null)for(a in e.key!==void 0&&(i=""+e.key),e)!Sm.call(e,a)||a==="key"||a==="__self"||a==="__source"||a==="ref"&&e.ref===void 0||(l[a]=e[a]);var a=arguments.length-2;if(a===1)l.children=n;else if(1<a){for(var u=Array(a),r=0;r<a;r++)u[r]=arguments[r+2];l.children=u}return Sc(t.type,i,l)};Y.createContext=function(t){return t={$$typeof:Uy,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider=t,t.Consumer={$$typeof:Ry,_context:t},t};Y.createElement=function(t,e,n){var l,i={},a=null;if(e!=null)for(l in e.key!==void 0&&(a=""+e.key),e)Sm.call(e,l)&&l!=="key"&&l!=="__self"&&l!=="__source"&&(i[l]=e[l]);var u=arguments.length-2;if(u===1)i.children=n;else if(1<u){for(var r=Array(u),o=0;o<u;o++)r[o]=arguments[o+2];i.children=r}if(t&&t.defaultProps)for(l in u=t.defaultProps,u)i[l]===void 0&&(i[l]=u[l]);return Sc(t,a,i)};Y.createRef=function(){return{current:null}};Y.forwardRef=function(t){return{$$typeof:Ly,render:t}};Y.isValidElement=xc;Y.lazy=function(t){return{$$typeof:dm,_payload:{_status:-1,_result:t},_init:Xy}};Y.memo=function(t,e){return{$$typeof:Hy,type:t,compare:e===void 0?null:e}};Y.startTransition=function(t){var e=dt.T,n={};dt.T=n;try{var l=t(),i=dt.S;i!==null&&i(n,l),typeof l=="object"&&l!==null&&typeof l.then=="function"&&l.then(oo,Qs)}catch(a){Qs(a)}finally{e!==null&&n.types!==null&&(e.types=n.types),dt.T=e}};Y.unstable_useCacheRefresh=function(){return dt.H.useCacheRefresh()};Y.use=function(t){return dt.H.use(t)};Y.useActionState=function(t,e,n){return dt.H.useActionState(t,e,n)};Y.useCallback=function(t,e){return dt.H.useCallback(t,e)};Y.useContext=function(t){return dt.H.useContext(t)};Y.useDebugValue=function(){};Y.useDeferredValue=function(t,e){return dt.H.useDeferredValue(t,e)};Y.useEffect=function(t,e){return dt.H.useEffect(t,e)};Y.useEffectEvent=function(t){return dt.H.useEffectEvent(t)};Y.useId=function(){return dt.H.useId()};Y.useImperativeHandle=function(t,e,n){return dt.H.useImperativeHandle(t,e,n)};Y.useInsertionEffect=function(t,e){return dt.H.useInsertionEffect(t,e)};Y.useLayoutEffect=function(t,e){return dt.H.useLayoutEffect(t,e)};Y.useMemo=function(t,e){return dt.H.useMemo(t,e)};Y.useOptimistic=function(t,e){return dt.H.useOptimistic(t,e)};Y.useReducer=function(t,e,n){return dt.H.useReducer(t,e,n)};Y.useRef=function(t){return dt.H.useRef(t)};Y.useState=function(t){return dt.H.useState(t)};Y.useSyncExternalStore=function(t,e,n){return dt.H.useSyncExternalStore(t,e,n)};Y.useTransition=function(){return dt.H.useTransition()};Y.version="19.2.4";pm.exports=Y;var ie=pm.exports;const Zy=Hu(ie);var xm={exports:{}},qu={},Em={exports:{}},Tm={};/**
* @license React
* scheduler.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/(function(t){function e(_,L){var H=_.length;_.push(L);t:for(;0<H;){var P=H-1>>>1,b=_[P];if(0<i(b,L))_[P]=L,_[H]=b,H=P;else break t}}function n(_){return _.length===0?null:_[0]}function l(_){if(_.length===0)return null;var L=_[0],H=_.pop();if(H!==L){_[0]=H;t:for(var P=0,b=_.length,jt=b>>>1;P<jt;){var Zt=2*(P+1)-1,v=_[Zt],Ct=Zt+1,ge=_[Ct];if(0>i(v,H))Ct<b&&0>i(ge,v)?(_[P]=ge,_[Ct]=H,P=Ct):(_[P]=v,_[Zt]=H,P=Zt);else if(Ct<b&&0>i(ge,H))_[P]=ge,_[Ct]=H,P=Ct;else break t}}return L}function i(_,L){var H=_.sortIndex-L.sortIndex;return H!==0?H:_.id-L.id}if(t.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var a=performance;t.unstable_now=function(){return a.now()}}else{var u=Date,r=u.now();t.unstable_now=function(){return u.now()-r}}var o=[],c=[],f=1,s=null,m=3,h=!1,g=!1,S=!1,k=!1,p=typeof setTimeout=="function"?setTimeout:null,d=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate<"u"?setImmediate:null;function E(_){for(var L=n(c);L!==null;){if(L.callback===null)l(c);else if(L.startTime<=_)l(c),L.sortIndex=L.expirationTime,e(o,L);else break;L=n(c)}}function w(_){if(S=!1,E(_),!g)if(n(o)!==null)g=!0,T||(T=!0,U());else{var L=n(c);L!==null&&Q(w,L.startTime-_)}}var T=!1,C=-1,M=5,N=-1;function x(){return k?!0:!(t.unstable_now()-N<M)}function R(){if(k=!1,T){var _=t.unstable_now();N=_;var L=!0;try{t:{g=!1,S&&(S=!1,d(C),C=-1),h=!0;var H=m;try{e:{for(E(_),s=n(o);s!==null&&!(s.expirationTime>_&&x());){var P=s.callback;if(typeof P=="function"){s.callback=null,m=s.priorityLevel;var b=P(s.expirationTime<=_);if(_=t.unstable_now(),typeof b=="function"){s.callback=b,E(_),L=!0;break e}s===n(o)&&l(o),E(_)}else l(o);s=n(o)}if(s!==null)L=!0;else{var jt=n(c);jt!==null&&Q(w,jt.startTime-_),L=!1}}break t}finally{s=null,m=H,h=!1}L=void 0}}finally{L?U():T=!1}}}var U;if(typeof y=="function")U=function(){y(R)};else if(typeof MessageChannel<"u"){var nt=new MessageChannel,ht=nt.port2;nt.port1.onmessage=R,U=function(){ht.postMessage(null)}}else U=function(){p(R,0)};function Q(_,L){C=p(function(){_(t.unstable_now())},L)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(_){_.callback=null},t.unstable_forceFrameRate=function(_){0>_||125<_?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):M=0<_?Math.floor(1e3/_):5},t.unstable_getCurrentPriorityLevel=function(){return m},t.unstable_next=function(_){switch(m){case 1:case 2:case 3:var L=3;break;default:L=m}var H=m;m=L;try{return _()}finally{m=H}},t.unstable_requestPaint=function(){k=!0},t.unstable_runWithPriority=function(_,L){switch(_){case 1:case 2:case 3:case 4:case 5:break;default:_=3}var H=m;m=_;try{return L()}finally{m=H}},t.unstable_scheduleCallback=function(_,L,H){var P=t.unstable_now();switch(typeof H=="object"&&H!==null?(H=H.delay,H=typeof H=="number"&&0<H?P+H:P):H=P,_){case 1:var b=-1;break;case 2:b=250;break;case 5:b=1073741823;break;case 4:b=1e4;break;default:b=5e3}return b=H+b,_={id:f++,callback:L,priorityLevel:_,startTime:H,expirationTime:b,sortIndex:-1},H>P?(_.sortIndex=H,e(c,_),n(o)===null&&_===n(c)&&(S?(d(C),C=-1):S=!0,Q(w,H-P))):(_.sortIndex=b,e(o,_),g||h||(g=!0,T||(T=!0,U()))),_},t.unstable_shouldYield=x,t.unstable_wrapCallback=function(_){var L=m;return function(){var H=m;m=L;try{return _.apply(this,arguments)}finally{m=H}}}})(Tm);Em.exports=Tm;var Ky=Em.exports,km={exports:{}},Qt={};/**
* @license React
* react-dom.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Fy=ie;function zm(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function fn(){}var Xt={d:{f:fn,r:function(){throw Error(zm(522))},D:fn,C:fn,L:fn,m:fn,X:fn,S:fn,M:fn},p:0,findDOMNode:null},Jy=Symbol.for("react.portal");function Iy(t,e,n){var l=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Jy,key:l==null?null:""+l,children:t,containerInfo:e,implementation:n}}var Ai=Fy.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function Yu(t,e){if(t==="font")return"";if(typeof e=="string")return e==="use-credentials"?e:""}Qt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Xt;Qt.createPortal=function(t,e){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)throw Error(zm(299));return Iy(t,e,null,n)};Qt.flushSync=function(t){var e=Ai.T,n=Xt.p;try{if(Ai.T=null,Xt.p=2,t)return t()}finally{Ai.T=e,Xt.p=n,Xt.d.f()}};Qt.preconnect=function(t,e){typeof t=="string"&&(e?(e=e.crossOrigin,e=typeof e=="string"?e==="use-credentials"?e:"":void 0):e=null,Xt.d.C(t,e))};Qt.prefetchDNS=function(t){typeof t=="string"&&Xt.d.D(t)};Qt.preinit=function(t,e){if(typeof t=="string"&&e&&typeof e.as=="string"){var n=e.as,l=Yu(n,e.crossOrigin),i=typeof e.integrity=="string"?e.integrity:void 0,a=typeof e.fetchPriority=="string"?e.fetchPriority:void 0;n==="style"?Xt.d.S(t,typeof e.precedence=="string"?e.precedence:void 0,{crossOrigin:l,integrity:i,fetchPriority:a}):n==="script"&&Xt.d.X(t,{crossOrigin:l,integrity:i,fetchPriority:a,nonce:typeof e.nonce=="string"?e.nonce:void 0})}};Qt.preinitModule=function(t,e){if(typeof t=="string")if(typeof e=="object"&&e!==null){if(e.as==null||e.as==="script"){var n=Yu(e.as,e.crossOrigin);Xt.d.M(t,{crossOrigin:n,integrity:typeof e.integrity=="string"?e.integrity:void 0,nonce:typeof e.nonce=="string"?e.nonce:void 0})}}else e==null&&Xt.d.M(t)};Qt.preload=function(t,e){if(typeof t=="string"&&typeof e=="object"&&e!==null&&typeof e.as=="string"){var n=e.as,l=Yu(n,e.crossOrigin);Xt.d.L(t,n,{crossOrigin:l,integrity:typeof e.integrity=="string"?e.integrity:void 0,nonce:typeof e.nonce=="string"?e.nonce:void 0,type:typeof e.type=="string"?e.type:void 0,fetchPriority:typeof e.fetchPriority=="string"?e.fetchPriority:void 0,referrerPolicy:typeof e.referrerPolicy=="string"?e.referrerPolicy:void 0,imageSrcSet:typeof e.imageSrcSet=="string"?e.imageSrcSet:void 0,imageSizes:typeof e.imageSizes=="string"?e.imageSizes:void 0,media:typeof e.media=="string"?e.media:void 0})}};Qt.preloadModule=function(t,e){if(typeof t=="string")if(e){var n=Yu(e.as,e.crossOrigin);Xt.d.m(t,{as:typeof e.as=="string"&&e.as!=="script"?e.as:void 0,crossOrigin:n,integrity:typeof e.integrity=="string"?e.integrity:void 0})}else Xt.d.m(t)};Qt.requestFormReset=function(t){Xt.d.r(t)};Qt.unstable_batchedUpdates=function(t,e){return t(e)};Qt.useFormState=function(t,e,n){return Ai.H.useFormState(t,e,n)};Qt.useFormStatus=function(){return Ai.H.useHostTransitionStatus()};Qt.version="19.2.4";function Am(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Am)}catch(t){console.error(t)}}Am(),km.exports=Qt;var $y=km.exports;/**
* @license React
* react-dom-client.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Dt=Ky,Cm=ie,Wy=$y;function A(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function wm(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function aa(t){var e=t,n=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,e.flags&4098&&(n=e.return),t=e.return;while(t)}return e.tag===3?n:null}function Dm(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function _m(t){if(t.tag===31){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function Zs(t){if(aa(t)!==t)throw Error(A(188))}function Py(t){var e=t.alternate;if(!e){if(e=aa(t),e===null)throw Error(A(188));return e!==t?null:t}for(var n=t,l=e;;){var i=n.return;if(i===null)break;var a=i.alternate;if(a===null){if(l=i.return,l!==null){n=l;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===n)return Zs(i),t;if(a===l)return Zs(i),e;a=a.sibling}throw Error(A(188))}if(n.return!==l.return)n=i,l=a;else{for(var u=!1,r=i.child;r;){if(r===n){u=!0,n=i,l=a;break}if(r===l){u=!0,l=i,n=a;break}r=r.sibling}if(!u){for(r=a.child;r;){if(r===n){u=!0,n=a,l=i;break}if(r===l){u=!0,l=a,n=i;break}r=r.sibling}if(!u)throw Error(A(189))}}if(n.alternate!==l)throw Error(A(190))}if(n.tag!==3)throw Error(A(188));return n.stateNode.current===n?t:e}function Om(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=Om(t),e!==null)return e;t=t.sibling}return null}var gt=Object.assign,t1=Symbol.for("react.element"),Ea=Symbol.for("react.transitional.element"),xi=Symbol.for("react.portal"),xl=Symbol.for("react.fragment"),Mm=Symbol.for("react.strict_mode"),co=Symbol.for("react.profiler"),Nm=Symbol.for("react.consumer"),Ie=Symbol.for("react.context"),Ec=Symbol.for("react.forward_ref"),so=Symbol.for("react.suspense"),fo=Symbol.for("react.suspense_list"),Tc=Symbol.for("react.memo"),mn=Symbol.for("react.lazy"),ho=Symbol.for("react.activity"),e1=Symbol.for("react.memo_cache_sentinel"),Ks=Symbol.iterator;function hi(t){return t===null||typeof t!="object"?null:(t=Ks&&t[Ks]||t["@@iterator"],typeof t=="function"?t:null)}var n1=Symbol.for("react.client.reference");function mo(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===n1?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case xl:return"Fragment";case co:return"Profiler";case Mm:return"StrictMode";case so:return"Suspense";case fo:return"SuspenseList";case ho:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case xi:return"Portal";case Ie:return t.displayName||"Context";case Nm:return(t._context.displayName||"Context")+".Consumer";case Ec:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case Tc:return e=t.displayName||null,e!==null?e:mo(t.type)||"Memo";case mn:e=t._payload,t=t._init;try{return mo(t(e))}catch{}}return null}var Ei=Array.isArray,j=Cm.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,et=Wy.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Fn={pending:!1,data:null,method:null,action:null},po=[],El=-1;function He(t){return{current:t}}function Mt(t){0>El||(t.current=po[El],po[El]=null,El--)}function ft(t,e){El++,po[El]=t.current,t.current=e}var Be=He(null),Gi=He(null),kn=He(null),au=He(null);function uu(t,e){switch(ft(kn,e),ft(Gi,t),ft(Be,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?th(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=th(e),t=Pd(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}Mt(Be),ft(Be,t)}function Yl(){Mt(Be),Mt(Gi),Mt(kn)}function go(t){t.memoizedState!==null&&ft(au,t);var e=Be.current,n=Pd(e,t.type);e!==n&&(ft(Gi,t),ft(Be,n))}function ru(t){Gi.current===t&&(Mt(Be),Mt(Gi)),au.current===t&&(Mt(au),ta._currentValue=Fn)}var fr,Fs;function Gn(t){if(fr===void 0)try{throw Error()}catch(n){var e=n.stack.trim().match(/\n( *(at )?)/);fr=e&&e[1]||"",Fs=-1<n.stack.indexOf(`
at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
`+fr+t+Fs}var hr=!1;function mr(t,e){if(!t||hr)return"";hr=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(e){var s=function(){throw Error()};if(Object.defineProperty(s.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(s,[])}catch(h){var m=h}Reflect.construct(t,[],s)}else{try{s.call()}catch(h){m=h}t.call(s.prototype)}}else{try{throw Error()}catch(h){m=h}(s=t())&&typeof s.catch=="function"&&s.catch(function(){})}}catch(h){if(h&&m&&typeof h.stack=="string")return[h.stack,m.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var i=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");i&&i.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var a=l.DetermineComponentFrameRoot(),u=a[0],r=a[1];if(u&&r){var o=u.split(`
`),c=r.split(`
`);for(i=l=0;l<o.length&&!o[l].includes("DetermineComponentFrameRoot");)l++;for(;i<c.length&&!c[i].includes("DetermineComponentFrameRoot");)i++;if(l===o.length||i===c.length)for(l=o.length-1,i=c.length-1;1<=l&&0<=i&&o[l]!==c[i];)i--;for(;1<=l&&0<=i;l--,i--)if(o[l]!==c[i]){if(l!==1||i!==1)do if(l--,i--,0>i||o[l]!==c[i]){var f=`
`+o[l].replace(" at new "," at ");return t.displayName&&f.includes("<anonymous>")&&(f=f.replace("<anonymous>",t.displayName)),f}while(1<=l&&0<=i);break}}}finally{hr=!1,Error.prepareStackTrace=n}return(n=t?t.displayName||t.name:"")?Gn(n):""}function l1(t,e){switch(t.tag){case 26:case 27:case 5:return Gn(t.type);case 16:return Gn("Lazy");case 13:return t.child!==e&&e!==null?Gn("Suspense Fallback"):Gn("Suspense");case 19:return Gn("SuspenseList");case 0:case 15:return mr(t.type,!1);case 11:return mr(t.type.render,!1);case 1:return mr(t.type,!0);case 31:return Gn("Activity");default:return""}}function Js(t){try{var e="",n=null;do e+=l1(t,n),n=t,t=t.return;while(t);return e}catch(l){return`
Error generating stack: `+l.message+`
`+l.stack}}var yo=Object.prototype.hasOwnProperty,kc=Dt.unstable_scheduleCallback,pr=Dt.unstable_cancelCallback,i1=Dt.unstable_shouldYield,a1=Dt.unstable_requestPaint,ce=Dt.unstable_now,u1=Dt.unstable_getCurrentPriorityLevel,Rm=Dt.unstable_ImmediatePriority,Um=Dt.unstable_UserBlockingPriority,ou=Dt.unstable_NormalPriority,r1=Dt.unstable_LowPriority,Lm=Dt.unstable_IdlePriority,o1=Dt.log,c1=Dt.unstable_setDisableYieldValue,ua=null,se=null;function vn(t){if(typeof o1=="function"&&c1(t),se&&typeof se.setStrictMode=="function")try{se.setStrictMode(ua,t)}catch{}}var fe=Math.clz32?Math.clz32:h1,s1=Math.log,f1=Math.LN2;function h1(t){return t>>>=0,t===0?32:31-(s1(t)/f1|0)|0}var Ta=256,ka=262144,za=4194304;function Xn(t){var e=t&42;if(e!==0)return e;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function Vu(t,e,n){var l=t.pendingLanes;if(l===0)return 0;var i=0,a=t.suspendedLanes,u=t.pingedLanes;t=t.warmLanes;var r=l&134217727;return r!==0?(l=r&~a,l!==0?i=Xn(l):(u&=r,u!==0?i=Xn(u):n||(n=r&~t,n!==0&&(i=Xn(n))))):(r=l&~a,r!==0?i=Xn(r):u!==0?i=Xn(u):n||(n=l&~t,n!==0&&(i=Xn(n)))),i===0?0:e!==0&&e!==i&&!(e&a)&&(a=i&-i,n=e&-e,a>=n||a===32&&(n&4194048)!==0)?e:i}function ra(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function m1(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Bm(){var t=za;return za<<=1,!(za&62914560)&&(za=4194304),t}function dr(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function oa(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function p1(t,e,n,l,i,a){var u=t.pendingLanes;t.pendingLanes=n,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=n,t.entangledLanes&=n,t.errorRecoveryDisabledLanes&=n,t.shellSuspendCounter=0;var r=t.entanglements,o=t.expirationTimes,c=t.hiddenUpdates;for(n=u&~n;0<n;){var f=31-fe(n),s=1<<f;r[f]=0,o[f]=-1;var m=c[f];if(m!==null)for(c[f]=null,f=0;f<m.length;f++){var h=m[f];h!==null&&(h.lane&=-536870913)}n&=~s}l!==0&&Hm(t,l,0),a!==0&&i===0&&t.tag!==0&&(t.suspendedLanes|=a&~(u&~e))}function Hm(t,e,n){t.pendingLanes|=e,t.suspendedLanes&=~e;var l=31-fe(e);t.entangledLanes|=e,t.entanglements[l]=t.entanglements[l]|1073741824|n&261930}function jm(t,e){var n=t.entangledLanes|=e;for(t=t.entanglements;n;){var l=31-fe(n),i=1<<l;i&e|t[l]&e&&(t[l]|=e),n&=~i}}function qm(t,e){var n=e&-e;return n=n&42?1:zc(n),n&(t.suspendedLanes|e)?0:n}function zc(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function Ac(t){return t&=-t,2<t?8<t?t&134217727?32:268435456:8:2}function Ym(){var t=et.p;return t!==0?t:(t=window.event,t===void 0?32:sg(t.type))}function Is(t,e){var n=et.p;try{return et.p=t,e()}finally{et.p=n}}var Bn=Math.random().toString(36).slice(2),Ut="__reactFiber$"+Bn,Pt="__reactProps$"+Bn,ti="__reactContainer$"+Bn,bo="__reactEvents$"+Bn,d1="__reactListeners$"+Bn,g1="__reactHandles$"+Bn,$s="__reactResources$"+Bn,ca="__reactMarker$"+Bn;function Cc(t){delete t[Ut],delete t[Pt],delete t[bo],delete t[d1],delete t[g1]}function Tl(t){var e=t[Ut];if(e)return e;for(var n=t.parentNode;n;){if(e=n[ti]||n[Ut]){if(n=e.alternate,e.child!==null||n!==null&&n.child!==null)for(t=ah(t);t!==null;){if(n=t[Ut])return n;t=ah(t)}return e}t=n,n=t.parentNode}return null}function ei(t){if(t=t[Ut]||t[ti]){var e=t.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return t}return null}function Ti(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(A(33))}function Nl(t){var e=t[$s];return e||(e=t[$s]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function Ot(t){t[ca]=!0}var Vm=new Set,Gm={};function al(t,e){Vl(t,e),Vl(t+"Capture",e)}function Vl(t,e){for(Gm[t]=e,t=0;t<e.length;t++)Vm.add(e[t])}var y1=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]*$"),Ws={},Ps={};function b1(t){return yo.call(Ps,t)?!0:yo.call(Ws,t)?!1:y1.test(t)?Ps[t]=!0:(Ws[t]=!0,!1)}function Ya(t,e,n){if(b1(e))if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var l=e.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+n)}}function Aa(t,e,n){if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,""+n)}}function Ge(t,e,n,l){if(l===null)t.removeAttribute(n);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(n);return}t.setAttributeNS(e,n,""+l)}}function be(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Xm(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function v1(t,e,n){var l=Object.getOwnPropertyDescriptor(t.constructor.prototype,e);if(!t.hasOwnProperty(e)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var i=l.get,a=l.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return i.call(this)},set:function(u){n=""+u,a.call(this,u)}}),Object.defineProperty(t,e,{enumerable:l.enumerable}),{getValue:function(){return n},setValue:function(u){n=""+u},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function vo(t){if(!t._valueTracker){var e=Xm(t)?"checked":"value";t._valueTracker=v1(t,e,""+t[e])}}function Qm(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),l="";return t&&(l=Xm(t)?t.checked?"true":"false":t.value),t=l,t!==n?(e.setValue(t),!0):!1}function cu(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var S1=/[\n"\\]/g;function Ee(t){return t.replace(S1,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function So(t,e,n,l,i,a,u,r){t.name="",u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"?t.type=u:t.removeAttribute("type"),e!=null?u==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+be(e)):t.value!==""+be(e)&&(t.value=""+be(e)):u!=="submit"&&u!=="reset"||t.removeAttribute("value"),e!=null?xo(t,u,be(e)):n!=null?xo(t,u,be(n)):l!=null&&t.removeAttribute("value"),i==null&&a!=null&&(t.defaultChecked=!!a),i!=null&&(t.checked=i&&typeof i!="function"&&typeof i!="symbol"),r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"?t.name=""+be(r):t.removeAttribute("name")}function Zm(t,e,n,l,i,a,u,r){if(a!=null&&typeof a!="function"&&typeof a!="symbol"&&typeof a!="boolean"&&(t.type=a),e!=null||n!=null){if(!(a!=="submit"&&a!=="reset"||e!=null)){vo(t);return}n=n!=null?""+be(n):"",e=e!=null?""+be(e):n,r||e===t.value||(t.value=e),t.defaultValue=e}l=l??i,l=typeof l!="function"&&typeof l!="symbol"&&!!l,t.checked=r?t.checked:!!l,t.defaultChecked=!!l,u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(t.name=u),vo(t)}function xo(t,e,n){e==="number"&&cu(t.ownerDocument)===t||t.defaultValue===""+n||(t.defaultValue=""+n)}function Rl(t,e,n,l){if(t=t.options,e){e={};for(var i=0;i<n.length;i++)e["$"+n[i]]=!0;for(n=0;n<t.length;n++)i=e.hasOwnProperty("$"+t[n].value),t[n].selected!==i&&(t[n].selected=i),i&&l&&(t[n].defaultSelected=!0)}else{for(n=""+be(n),e=null,i=0;i<t.length;i++){if(t[i].value===n){t[i].selected=!0,l&&(t[i].defaultSelected=!0);return}e!==null||t[i].disabled||(e=t[i])}e!==null&&(e.selected=!0)}}function Km(t,e,n){if(e!=null&&(e=""+be(e),e!==t.value&&(t.value=e),n==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=n!=null?""+be(n):""}function Fm(t,e,n,l){if(e==null){if(l!=null){if(n!=null)throw Error(A(92));if(Ei(l)){if(1<l.length)throw Error(A(93));l=l[0]}n=l}n==null&&(n=""),e=n}n=be(e),t.defaultValue=n,l=t.textContent,l===n&&l!==""&&l!==null&&(t.value=l),vo(t)}function Gl(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&n.nodeType===3){n.nodeValue=e;return}}t.textContent=e}var x1=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 tf(t,e,n){var l=e.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?l?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":l?t.setProperty(e,n):typeof n!="number"||n===0||x1.has(e)?e==="float"?t.cssFloat=n:t[e]=(""+n).trim():t[e]=n+"px"}function Jm(t,e,n){if(e!=null&&typeof e!="object")throw Error(A(62));if(t=t.style,n!=null){for(var l in n)!n.hasOwnProperty(l)||e!=null&&e.hasOwnProperty(l)||(l.indexOf("--")===0?t.setProperty(l,""):l==="float"?t.cssFloat="":t[l]="");for(var i in e)l=e[i],e.hasOwnProperty(i)&&n[i]!==l&&tf(t,i,l)}else for(var a in e)e.hasOwnProperty(a)&&tf(t,a,e[a])}function wc(t){if(t.indexOf("-")===-1)return!1;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var E1=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"]]),T1=/^[\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(t){return T1.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function $e(){}var Eo=null;function Dc(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var kl=null,Ul=null;function ef(t){var e=ei(t);if(e&&(t=e.stateNode)){var n=t[Pt]||null;t:switch(t=e.stateNode,e.type){case"input":if(So(t,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),e=n.name,n.type==="radio"&&e!=null){for(n=t;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+Ee(""+e)+'"][type="radio"]'),e=0;e<n.length;e++){var l=n[e];if(l!==t&&l.form===t.form){var i=l[Pt]||null;if(!i)throw Error(A(90));So(l,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name)}}for(e=0;e<n.length;e++)l=n[e],l.form===t.form&&Qm(l)}break t;case"textarea":Km(t,n.value,n.defaultValue);break t;case"select":e=n.value,e!=null&&Rl(t,!!n.multiple,e,!1)}}}var gr=!1;function Im(t,e,n){if(gr)return t(e,n);gr=!0;try{var l=t(e);return l}finally{if(gr=!1,(kl!==null||Ul!==null)&&(tr(),kl&&(e=kl,t=Ul,Ul=kl=null,ef(e),t)))for(e=0;e<t.length;e++)ef(t[e])}}function Xi(t,e){var n=t.stateNode;if(n===null)return null;var l=n[Pt]||null;if(l===null)return null;n=l[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(t=t.type,l=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!l;break t;default:t=!1}if(t)return null;if(n&&typeof n!="function")throw Error(A(231,e,typeof n));return n}var nn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),To=!1;if(nn)try{var mi={};Object.defineProperty(mi,"passive",{get:function(){To=!0}}),window.addEventListener("test",mi,mi),window.removeEventListener("test",mi,mi)}catch{To=!1}var Sn=null,_c=null,Ga=null;function $m(){if(Ga)return Ga;var t,e=_c,n=e.length,l,i="value"in Sn?Sn.value:Sn.textContent,a=i.length;for(t=0;t<n&&e[t]===i[t];t++);var u=n-t;for(l=1;l<=u&&e[n-l]===i[a-l];l++);return Ga=i.slice(t,1<l?1-l:void 0)}function Xa(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function Ca(){return!0}function nf(){return!1}function te(t){function e(n,l,i,a,u){this._reactName=n,this._targetInst=i,this.type=l,this.nativeEvent=a,this.target=u,this.currentTarget=null;for(var r in t)t.hasOwnProperty(r)&&(n=t[r],this[r]=n?n(a):a[r]);return this.isDefaultPrevented=(a.defaultPrevented!=null?a.defaultPrevented:a.returnValue===!1)?Ca:nf,this.isPropagationStopped=nf,this}return gt(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Ca)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Ca)},persist:function(){},isPersistent:Ca}),e}var ul={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Gu=te(ul),sa=gt({},ul,{view:0,detail:0}),k1=te(sa),yr,br,pi,Xu=gt({},sa,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Oc,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==pi&&(pi&&t.type==="mousemove"?(yr=t.screenX-pi.screenX,br=t.screenY-pi.screenY):br=yr=0,pi=t),yr)},movementY:function(t){return"movementY"in t?t.movementY:br}}),lf=te(Xu),z1=gt({},Xu,{dataTransfer:0}),A1=te(z1),C1=gt({},sa,{relatedTarget:0}),vr=te(C1),w1=gt({},ul,{animationName:0,elapsedTime:0,pseudoElement:0}),D1=te(w1),_1=gt({},ul,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),O1=te(_1),M1=gt({},ul,{data:0}),af=te(M1),N1={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},R1={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"},U1={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function L1(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=U1[t])?!!e[t]:!1}function Oc(){return L1}var B1=gt({},sa,{key:function(t){if(t.key){var e=N1[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=Xa(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?R1[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Oc,charCode:function(t){return t.type==="keypress"?Xa(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Xa(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),H1=te(B1),j1=gt({},Xu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),uf=te(j1),q1=gt({},sa,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Oc}),Y1=te(q1),V1=gt({},ul,{propertyName:0,elapsedTime:0,pseudoElement:0}),G1=te(V1),X1=gt({},Xu,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),Q1=te(X1),Z1=gt({},ul,{newState:0,oldState:0}),K1=te(Z1),F1=[9,13,27,32],Mc=nn&&"CompositionEvent"in window,Ci=null;nn&&"documentMode"in document&&(Ci=document.documentMode);var J1=nn&&"TextEvent"in window&&!Ci,Wm=nn&&(!Mc||Ci&&8<Ci&&11>=Ci),rf=" ",of=!1;function Pm(t,e){switch(t){case"keyup":return F1.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function tp(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var zl=!1;function I1(t,e){switch(t){case"compositionend":return tp(e);case"keypress":return e.which!==32?null:(of=!0,rf);case"textInput":return t=e.data,t===rf&&of?null:t;default:return null}}function $1(t,e){if(zl)return t==="compositionend"||!Mc&&Pm(t,e)?(t=$m(),Ga=_c=Sn=null,zl=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return Wm&&e.locale!=="ko"?null:e.data;default:return null}}var W1={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 cf(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!W1[t.type]:e==="textarea"}function ep(t,e,n,l){kl?Ul?Ul.push(l):Ul=[l]:kl=l,e=Cu(e,"onChange"),0<e.length&&(n=new Gu("onChange","change",null,n,l),t.push({event:n,listeners:e}))}var wi=null,Qi=null;function P1(t){Id(t,0)}function Qu(t){var e=Ti(t);if(Qm(e))return t}function sf(t,e){if(t==="change")return e}var np=!1;if(nn){var Sr;if(nn){var xr="oninput"in document;if(!xr){var ff=document.createElement("div");ff.setAttribute("oninput","return;"),xr=typeof ff.oninput=="function"}Sr=xr}else Sr=!1;np=Sr&&(!document.documentMode||9<document.documentMode)}function hf(){wi&&(wi.detachEvent("onpropertychange",lp),Qi=wi=null)}function lp(t){if(t.propertyName==="value"&&Qu(Qi)){var e=[];ep(e,Qi,t,Dc(t)),Im(P1,e)}}function t0(t,e,n){t==="focusin"?(hf(),wi=e,Qi=n,wi.attachEvent("onpropertychange",lp)):t==="focusout"&&hf()}function e0(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Qu(Qi)}function n0(t,e){if(t==="click")return Qu(e)}function l0(t,e){if(t==="input"||t==="change")return Qu(e)}function i0(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var pe=typeof Object.is=="function"?Object.is:i0;function Zi(t,e){if(pe(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var n=Object.keys(t),l=Object.keys(e);if(n.length!==l.length)return!1;for(l=0;l<n.length;l++){var i=n[l];if(!yo.call(e,i)||!pe(t[i],e[i]))return!1}return!0}function mf(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function pf(t,e){var n=mf(t);t=0;for(var l;n;){if(n.nodeType===3){if(l=t+n.textContent.length,t<=e&&l>=e)return{node:n,offset:e-t};t=l}t:{for(;n;){if(n.nextSibling){n=n.nextSibling;break t}n=n.parentNode}n=void 0}n=mf(n)}}function ip(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?ip(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function ap(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=cu(t.document);e instanceof t.HTMLIFrameElement;){try{var n=typeof e.contentWindow.location.href=="string"}catch{n=!1}if(n)t=e.contentWindow;else break;e=cu(t.document)}return e}function Nc(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var a0=nn&&"documentMode"in document&&11>=document.documentMode,Al=null,ko=null,Di=null,zo=!1;function df(t,e,n){var l=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;zo||Al==null||Al!==cu(l)||(l=Al,"selectionStart"in l&&Nc(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),Di&&Zi(Di,l)||(Di=l,l=Cu(ko,"onSelect"),0<l.length&&(e=new Gu("onSelect","select",null,e,n),t.push({event:e,listeners:l}),e.target=Al)))}function Yn(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n}var Cl={animationend:Yn("Animation","AnimationEnd"),animationiteration:Yn("Animation","AnimationIteration"),animationstart:Yn("Animation","AnimationStart"),transitionrun:Yn("Transition","TransitionRun"),transitionstart:Yn("Transition","TransitionStart"),transitioncancel:Yn("Transition","TransitionCancel"),transitionend:Yn("Transition","TransitionEnd")},Er={},up={};nn&&(up=document.createElement("div").style,"AnimationEvent"in window||(delete Cl.animationend.animation,delete Cl.animationiteration.animation,delete Cl.animationstart.animation),"TransitionEvent"in window||delete Cl.transitionend.transition);function rl(t){if(Er[t])return Er[t];if(!Cl[t])return t;var e=Cl[t],n;for(n in e)if(e.hasOwnProperty(n)&&n in up)return Er[t]=e[n];return t}var rp=rl("animationend"),op=rl("animationiteration"),cp=rl("animationstart"),u0=rl("transitionrun"),r0=rl("transitionstart"),o0=rl("transitioncancel"),sp=rl("transitionend"),fp=new Map,Ao="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(" ");Ao.push("scrollEnd");function Me(t,e){fp.set(t,e),al(e,[t])}var su=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},ye=[],wl=0,Rc=0;function Zu(){for(var t=wl,e=Rc=wl=0;e<t;){var n=ye[e];ye[e++]=null;var l=ye[e];ye[e++]=null;var i=ye[e];ye[e++]=null;var a=ye[e];if(ye[e++]=null,l!==null&&i!==null){var u=l.pending;u===null?i.next=i:(i.next=u.next,u.next=i),l.pending=i}a!==0&&hp(n,i,a)}}function Ku(t,e,n,l){ye[wl++]=t,ye[wl++]=e,ye[wl++]=n,ye[wl++]=l,Rc|=l,t.lanes|=l,t=t.alternate,t!==null&&(t.lanes|=l)}function Uc(t,e,n,l){return Ku(t,e,n,l),fu(t)}function ol(t,e){return Ku(t,null,null,e),fu(t)}function hp(t,e,n){t.lanes|=n;var l=t.alternate;l!==null&&(l.lanes|=n);for(var i=!1,a=t.return;a!==null;)a.childLanes|=n,l=a.alternate,l!==null&&(l.childLanes|=n),a.tag===22&&(t=a.stateNode,t===null||t._visibility&1||(i=!0)),t=a,a=a.return;return t.tag===3?(a=t.stateNode,i&&e!==null&&(i=31-fe(n),t=a.hiddenUpdates,l=t[i],l===null?t[i]=[e]:l.push(e),e.lane=n|536870912),a):null}function fu(t){if(50<Hi)throw Hi=0,Ko=null,Error(A(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var Dl={};function c0(t,e,n,l){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function re(t,e,n,l){return new c0(t,e,n,l)}function Lc(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Pe(t,e){var n=t.alternate;return n===null?(n=re(t.tag,e,t.key,t.mode),n.elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=e,n.type=t.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=t.flags&65011712,n.childLanes=t.childLanes,n.lanes=t.lanes,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n.refCleanup=t.refCleanup,n}function mp(t,e){t.flags&=65011714;var n=t.alternate;return n===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=n.childLanes,t.lanes=n.lanes,t.child=n.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=n.memoizedProps,t.memoizedState=n.memoizedState,t.updateQueue=n.updateQueue,t.type=n.type,e=n.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t}function Qa(t,e,n,l,i,a){var u=0;if(l=t,typeof t=="function")Lc(t)&&(u=1);else if(typeof t=="string")u=pb(t,n,Be.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case ho:return t=re(31,n,e,i),t.elementType=ho,t.lanes=a,t;case xl:return Jn(n.children,i,a,e);case Mm:u=8,i|=24;break;case co:return t=re(12,n,e,i|2),t.elementType=co,t.lanes=a,t;case so:return t=re(13,n,e,i),t.elementType=so,t.lanes=a,t;case fo:return t=re(19,n,e,i),t.elementType=fo,t.lanes=a,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case Ie:u=10;break t;case Nm:u=9;break t;case Ec:u=11;break t;case Tc:u=14;break t;case mn:u=16,l=null;break t}u=29,n=Error(A(130,t===null?"null":typeof t,"")),l=null}return e=re(u,n,e,i),e.elementType=t,e.type=l,e.lanes=a,e}function Jn(t,e,n,l){return t=re(7,t,l,e),t.lanes=n,t}function Tr(t,e,n){return t=re(6,t,null,e),t.lanes=n,t}function pp(t){var e=re(18,null,null,0);return e.stateNode=t,e}function kr(t,e,n){return e=re(4,t.children!==null?t.children:[],t.key,e),e.lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var gf=new WeakMap;function Te(t,e){if(typeof t=="object"&&t!==null){var n=gf.get(t);return n!==void 0?n:(e={value:t,source:e,stack:Js(e)},gf.set(t,e),e)}return{value:t,source:e,stack:Js(e)}}var _l=[],Ol=0,hu=null,Ki=0,ve=[],Se=0,Nn=null,Re=1,Ue="";function Fe(t,e){_l[Ol++]=Ki,_l[Ol++]=hu,hu=t,Ki=e}function dp(t,e,n){ve[Se++]=Re,ve[Se++]=Ue,ve[Se++]=Nn,Nn=t;var l=Re;t=Ue;var i=32-fe(l)-1;l&=~(1<<i),n+=1;var a=32-fe(e)+i;if(30<a){var u=i-i%5;a=(l&(1<<u)-1).toString(32),l>>=u,i-=u,Re=1<<32-fe(e)+i|n<<i|l,Ue=a+t}else Re=1<<a|n<<i|l,Ue=t}function Bc(t){t.return!==null&&(Fe(t,1),dp(t,1,0))}function Hc(t){for(;t===hu;)hu=_l[--Ol],_l[Ol]=null,Ki=_l[--Ol],_l[Ol]=null;for(;t===Nn;)Nn=ve[--Se],ve[Se]=null,Ue=ve[--Se],ve[Se]=null,Re=ve[--Se],ve[Se]=null}function gp(t,e){ve[Se++]=Re,ve[Se++]=Ue,ve[Se++]=Nn,Re=e.id,Ue=e.overflow,Nn=t}var Lt=null,pt=null,$=!1,zn=null,ke=!1,Co=Error(A(519));function Rn(t){var e=Error(A(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Fi(Te(e,t)),Co}function yf(t){var e=t.stateNode,n=t.type,l=t.memoizedProps;switch(e[Ut]=t,e[Pt]=l,n){case"dialog":Z("cancel",e),Z("close",e);break;case"iframe":case"object":case"embed":Z("load",e);break;case"video":case"audio":for(n=0;n<Wi.length;n++)Z(Wi[n],e);break;case"source":Z("error",e);break;case"img":case"image":case"link":Z("error",e),Z("load",e);break;case"details":Z("toggle",e);break;case"input":Z("invalid",e),Zm(e,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0);break;case"select":Z("invalid",e);break;case"textarea":Z("invalid",e),Fm(e,l.value,l.defaultValue,l.children)}n=l.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||e.textContent===""+n||l.suppressHydrationWarning===!0||Wd(e.textContent,n)?(l.popover!=null&&(Z("beforetoggle",e),Z("toggle",e)),l.onScroll!=null&&Z("scroll",e),l.onScrollEnd!=null&&Z("scrollend",e),l.onClick!=null&&(e.onclick=$e),e=!0):e=!1,e||Rn(t,!0)}function bf(t){for(Lt=t.return;Lt;)switch(Lt.tag){case 5:case 31:case 13:ke=!1;return;case 27:case 3:ke=!0;return;default:Lt=Lt.return}}function pl(t){if(t!==Lt)return!1;if(!$)return bf(t),$=!0,!1;var e=t.tag,n;if((n=e!==3&&e!==27)&&((n=e===5)&&(n=t.type,n=!(n!=="form"&&n!=="button")||Wo(t.type,t.memoizedProps)),n=!n),n&&pt&&Rn(t),bf(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(A(317));pt=ih(t)}else if(e===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(A(317));pt=ih(t)}else e===27?(e=pt,Hn(t.type)?(t=nc,nc=null,pt=t):pt=e):pt=Lt?Ae(t.stateNode.nextSibling):null;return!0}function Pn(){pt=Lt=null,$=!1}function zr(){var t=zn;return t!==null&&($t===null?$t=t:$t.push.apply($t,t),zn=null),t}function Fi(t){zn===null?zn=[t]:zn.push(t)}var wo=He(null),cl=null,We=null;function dn(t,e,n){ft(wo,e._currentValue),e._currentValue=n}function tn(t){t._currentValue=wo.current,Mt(wo)}function Do(t,e,n){for(;t!==null;){var l=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,l!==null&&(l.childLanes|=e)):l!==null&&(l.childLanes&e)!==e&&(l.childLanes|=e),t===n)break;t=t.return}}function _o(t,e,n,l){var i=t.child;for(i!==null&&(i.return=t);i!==null;){var a=i.dependencies;if(a!==null){var u=i.child;a=a.firstContext;t:for(;a!==null;){var r=a;a=i;for(var o=0;o<e.length;o++)if(r.context===e[o]){a.lanes|=n,r=a.alternate,r!==null&&(r.lanes|=n),Do(a.return,n,t),l||(u=null);break t}a=r.next}}else if(i.tag===18){if(u=i.return,u===null)throw Error(A(341));u.lanes|=n,a=u.alternate,a!==null&&(a.lanes|=n),Do(u,n,t),u=null}else u=i.child;if(u!==null)u.return=i;else for(u=i;u!==null;){if(u===t){u=null;break}if(i=u.sibling,i!==null){i.return=u.return,u=i;break}u=u.return}i=u}}function ni(t,e,n,l){t=null;for(var i=e,a=!1;i!==null;){if(!a){if(i.flags&524288)a=!0;else if(i.flags&262144)break}if(i.tag===10){var u=i.alternate;if(u===null)throw Error(A(387));if(u=u.memoizedProps,u!==null){var r=i.type;pe(i.pendingProps.value,u.value)||(t!==null?t.push(r):t=[r])}}else if(i===au.current){if(u=i.alternate,u===null)throw Error(A(387));u.memoizedState.memoizedState!==i.memoizedState.memoizedState&&(t!==null?t.push(ta):t=[ta])}i=i.return}t!==null&&_o(e,t,n,l),e.flags|=262144}function mu(t){for(t=t.firstContext;t!==null;){if(!pe(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function tl(t){cl=t,We=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function Bt(t){return yp(cl,t)}function wa(t,e){return cl===null&&tl(t),yp(t,e)}function yp(t,e){var n=e._currentValue;if(e={context:e,memoizedValue:n,next:null},We===null){if(t===null)throw Error(A(308));We=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else We=We.next=e;return n}var s0=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(n,l){t.push(l)}};this.abort=function(){e.aborted=!0,t.forEach(function(n){return n()})}},f0=Dt.unstable_scheduleCallback,h0=Dt.unstable_NormalPriority,zt={$$typeof:Ie,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function jc(){return{controller:new s0,data:new Map,refCount:0}}function fa(t){t.refCount--,t.refCount===0&&f0(h0,function(){t.controller.abort()})}var _i=null,Oo=0,Xl=0,Ll=null;function m0(t,e){if(_i===null){var n=_i=[];Oo=0,Xl=ss(),Ll={status:"pending",value:void 0,then:function(l){n.push(l)}}}return Oo++,e.then(vf,vf),e}function vf(){if(--Oo===0&&_i!==null){Ll!==null&&(Ll.status="fulfilled");var t=_i;_i=null,Xl=0,Ll=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function p0(t,e){var n=[],l={status:"pending",value:null,reason:null,then:function(i){n.push(i)}};return t.then(function(){l.status="fulfilled",l.value=e;for(var i=0;i<n.length;i++)(0,n[i])(e)},function(i){for(l.status="rejected",l.reason=i,i=0;i<n.length;i++)(0,n[i])(void 0)}),l}var Sf=j.S;j.S=function(t,e){Od=ce(),typeof e=="object"&&e!==null&&typeof e.then=="function"&&m0(t,e),Sf!==null&&Sf(t,e)};var In=He(null);function qc(){var t=In.current;return t!==null?t:ot.pooledCache}function Za(t,e){e===null?ft(In,In.current):ft(In,e.pool)}function bp(){var t=qc();return t===null?null:{parent:zt._currentValue,pool:t}}var li=Error(A(460)),Yc=Error(A(474)),Fu=Error(A(542)),pu={then:function(){}};function xf(t){return t=t.status,t==="fulfilled"||t==="rejected"}function vp(t,e,n){switch(n=t[n],n===void 0?t.push(e):n!==e&&(e.then($e,$e),e=n),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,Tf(t),t;default:if(typeof e.status=="string")e.then($e,$e);else{if(t=ot,t!==null&&100<t.shellSuspendCounter)throw Error(A(482));t=e,t.status="pending",t.then(function(l){if(e.status==="pending"){var i=e;i.status="fulfilled",i.value=l}},function(l){if(e.status==="pending"){var i=e;i.status="rejected",i.reason=l}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,Tf(t),t}throw $n=e,li}}function Qn(t){try{var e=t._init;return e(t._payload)}catch(n){throw n!==null&&typeof n=="object"&&typeof n.then=="function"?($n=n,li):n}}var $n=null;function Ef(){if($n===null)throw Error(A(459));var t=$n;return $n=null,t}function Tf(t){if(t===li||t===Fu)throw Error(A(483))}var Bl=null,Ji=0;function Da(t){var e=Ji;return Ji+=1,Bl===null&&(Bl=[]),vp(Bl,t,e)}function di(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function _a(t,e){throw e.$$typeof===t1?Error(A(525)):(t=Object.prototype.toString.call(e),Error(A(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function Sp(t){function e(p,d){if(t){var y=p.deletions;y===null?(p.deletions=[d],p.flags|=16):y.push(d)}}function n(p,d){if(!t)return null;for(;d!==null;)e(p,d),d=d.sibling;return null}function l(p){for(var d=new Map;p!==null;)p.key!==null?d.set(p.key,p):d.set(p.index,p),p=p.sibling;return d}function i(p,d){return p=Pe(p,d),p.index=0,p.sibling=null,p}function a(p,d,y){return p.index=y,t?(y=p.alternate,y!==null?(y=y.index,y<d?(p.flags|=67108866,d):y):(p.flags|=67108866,d)):(p.flags|=1048576,d)}function u(p){return t&&p.alternate===null&&(p.flags|=67108866),p}function r(p,d,y,E){return d===null||d.tag!==6?(d=Tr(y,p.mode,E),d.return=p,d):(d=i(d,y),d.return=p,d)}function o(p,d,y,E){var w=y.type;return w===xl?f(p,d,y.props.children,E,y.key):d!==null&&(d.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===mn&&Qn(w)===d.type)?(d=i(d,y.props),di(d,y),d.return=p,d):(d=Qa(y.type,y.key,y.props,null,p.mode,E),di(d,y),d.return=p,d)}function c(p,d,y,E){return d===null||d.tag!==4||d.stateNode.containerInfo!==y.containerInfo||d.stateNode.implementation!==y.implementation?(d=kr(y,p.mode,E),d.return=p,d):(d=i(d,y.children||[]),d.return=p,d)}function f(p,d,y,E,w){return d===null||d.tag!==7?(d=Jn(y,p.mode,E,w),d.return=p,d):(d=i(d,y),d.return=p,d)}function s(p,d,y){if(typeof d=="string"&&d!==""||typeof d=="number"||typeof d=="bigint")return d=Tr(""+d,p.mode,y),d.return=p,d;if(typeof d=="object"&&d!==null){switch(d.$$typeof){case Ea:return y=Qa(d.type,d.key,d.props,null,p.mode,y),di(y,d),y.return=p,y;case xi:return d=kr(d,p.mode,y),d.return=p,d;case mn:return d=Qn(d),s(p,d,y)}if(Ei(d)||hi(d))return d=Jn(d,p.mode,y,null),d.return=p,d;if(typeof d.then=="function")return s(p,Da(d),y);if(d.$$typeof===Ie)return s(p,wa(p,d),y);_a(p,d)}return null}function m(p,d,y,E){var w=d!==null?d.key:null;if(typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint")return w!==null?null:r(p,d,""+y,E);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case Ea:return y.key===w?o(p,d,y,E):null;case xi:return y.key===w?c(p,d,y,E):null;case mn:return y=Qn(y),m(p,d,y,E)}if(Ei(y)||hi(y))return w!==null?null:f(p,d,y,E,null);if(typeof y.then=="function")return m(p,d,Da(y),E);if(y.$$typeof===Ie)return m(p,d,wa(p,y),E);_a(p,y)}return null}function h(p,d,y,E,w){if(typeof E=="string"&&E!==""||typeof E=="number"||typeof E=="bigint")return p=p.get(y)||null,r(d,p,""+E,w);if(typeof E=="object"&&E!==null){switch(E.$$typeof){case Ea:return p=p.get(E.key===null?y:E.key)||null,o(d,p,E,w);case xi:return p=p.get(E.key===null?y:E.key)||null,c(d,p,E,w);case mn:return E=Qn(E),h(p,d,y,E,w)}if(Ei(E)||hi(E))return p=p.get(y)||null,f(d,p,E,w,null);if(typeof E.then=="function")return h(p,d,y,Da(E),w);if(E.$$typeof===Ie)return h(p,d,y,wa(d,E),w);_a(d,E)}return null}function g(p,d,y,E){for(var w=null,T=null,C=d,M=d=0,N=null;C!==null&&M<y.length;M++){C.index>M?(N=C,C=null):N=C.sibling;var x=m(p,C,y[M],E);if(x===null){C===null&&(C=N);break}t&&C&&x.alternate===null&&e(p,C),d=a(x,d,M),T===null?w=x:T.sibling=x,T=x,C=N}if(M===y.length)return n(p,C),$&&Fe(p,M),w;if(C===null){for(;M<y.length;M++)C=s(p,y[M],E),C!==null&&(d=a(C,d,M),T===null?w=C:T.sibling=C,T=C);return $&&Fe(p,M),w}for(C=l(C);M<y.length;M++)N=h(C,p,M,y[M],E),N!==null&&(t&&N.alternate!==null&&C.delete(N.key===null?M:N.key),d=a(N,d,M),T===null?w=N:T.sibling=N,T=N);return t&&C.forEach(function(R){return e(p,R)}),$&&Fe(p,M),w}function S(p,d,y,E){if(y==null)throw Error(A(151));for(var w=null,T=null,C=d,M=d=0,N=null,x=y.next();C!==null&&!x.done;M++,x=y.next()){C.index>M?(N=C,C=null):N=C.sibling;var R=m(p,C,x.value,E);if(R===null){C===null&&(C=N);break}t&&C&&R.alternate===null&&e(p,C),d=a(R,d,M),T===null?w=R:T.sibling=R,T=R,C=N}if(x.done)return n(p,C),$&&Fe(p,M),w;if(C===null){for(;!x.done;M++,x=y.next())x=s(p,x.value,E),x!==null&&(d=a(x,d,M),T===null?w=x:T.sibling=x,T=x);return $&&Fe(p,M),w}for(C=l(C);!x.done;M++,x=y.next())x=h(C,p,M,x.value,E),x!==null&&(t&&x.alternate!==null&&C.delete(x.key===null?M:x.key),d=a(x,d,M),T===null?w=x:T.sibling=x,T=x);return t&&C.forEach(function(U){return e(p,U)}),$&&Fe(p,M),w}function k(p,d,y,E){if(typeof y=="object"&&y!==null&&y.type===xl&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case Ea:t:{for(var w=y.key;d!==null;){if(d.key===w){if(w=y.type,w===xl){if(d.tag===7){n(p,d.sibling),E=i(d,y.props.children),E.return=p,p=E;break t}}else if(d.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===mn&&Qn(w)===d.type){n(p,d.sibling),E=i(d,y.props),di(E,y),E.return=p,p=E;break t}n(p,d);break}else e(p,d);d=d.sibling}y.type===xl?(E=Jn(y.props.children,p.mode,E,y.key),E.return=p,p=E):(E=Qa(y.type,y.key,y.props,null,p.mode,E),di(E,y),E.return=p,p=E)}return u(p);case xi:t:{for(w=y.key;d!==null;){if(d.key===w)if(d.tag===4&&d.stateNode.containerInfo===y.containerInfo&&d.stateNode.implementation===y.implementation){n(p,d.sibling),E=i(d,y.children||[]),E.return=p,p=E;break t}else{n(p,d);break}else e(p,d);d=d.sibling}E=kr(y,p.mode,E),E.return=p,p=E}return u(p);case mn:return y=Qn(y),k(p,d,y,E)}if(Ei(y))return g(p,d,y,E);if(hi(y)){if(w=hi(y),typeof w!="function")throw Error(A(150));return y=w.call(y),S(p,d,y,E)}if(typeof y.then=="function")return k(p,d,Da(y),E);if(y.$$typeof===Ie)return k(p,d,wa(p,y),E);_a(p,y)}return typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint"?(y=""+y,d!==null&&d.tag===6?(n(p,d.sibling),E=i(d,y),E.return=p,p=E):(n(p,d),E=Tr(y,p.mode,E),E.return=p,p=E),u(p)):n(p,d)}return function(p,d,y,E){try{Ji=0;var w=k(p,d,y,E);return Bl=null,w}catch(C){if(C===li||C===Fu)throw C;var T=re(29,C,null,p.mode);return T.lanes=E,T.return=p,T}finally{}}}var el=Sp(!0),xp=Sp(!1),pn=!1;function Vc(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Mo(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function An(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function Cn(t,e,n){var l=t.updateQueue;if(l===null)return null;if(l=l.shared,tt&2){var i=l.pending;return i===null?e.next=e:(e.next=i.next,i.next=e),l.pending=e,e=fu(t),hp(t,null,n),e}return Ku(t,l,e,n),fu(t)}function Oi(t,e,n){if(e=e.updateQueue,e!==null&&(e=e.shared,(n&4194048)!==0)){var l=e.lanes;l&=t.pendingLanes,n|=l,e.lanes=n,jm(t,n)}}function Ar(t,e){var n=t.updateQueue,l=t.alternate;if(l!==null&&(l=l.updateQueue,n===l)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var u={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=u:a=a.next=u,n=n.next}while(n!==null);a===null?i=a=e:a=a.next=e}else i=a=e;n={baseState:l.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:l.shared,callbacks:l.callbacks},t.updateQueue=n;return}t=n.lastBaseUpdate,t===null?n.firstBaseUpdate=e:t.next=e,n.lastBaseUpdate=e}var No=!1;function Mi(){if(No){var t=Ll;if(t!==null)throw t}}function Ni(t,e,n,l){No=!1;var i=t.updateQueue;pn=!1;var a=i.firstBaseUpdate,u=i.lastBaseUpdate,r=i.shared.pending;if(r!==null){i.shared.pending=null;var o=r,c=o.next;o.next=null,u===null?a=c:u.next=c,u=o;var f=t.alternate;f!==null&&(f=f.updateQueue,r=f.lastBaseUpdate,r!==u&&(r===null?f.firstBaseUpdate=c:r.next=c,f.lastBaseUpdate=o))}if(a!==null){var s=i.baseState;u=0,f=c=o=null,r=a;do{var m=r.lane&-536870913,h=m!==r.lane;if(h?(J&m)===m:(l&m)===m){m!==0&&m===Xl&&(No=!0),f!==null&&(f=f.next={lane:0,tag:r.tag,payload:r.payload,callback:null,next:null});t:{var g=t,S=r;m=e;var k=n;switch(S.tag){case 1:if(g=S.payload,typeof g=="function"){s=g.call(k,s,m);break t}s=g;break t;case 3:g.flags=g.flags&-65537|128;case 0:if(g=S.payload,m=typeof g=="function"?g.call(k,s,m):g,m==null)break t;s=gt({},s,m);break t;case 2:pn=!0}}m=r.callback,m!==null&&(t.flags|=64,h&&(t.flags|=8192),h=i.callbacks,h===null?i.callbacks=[m]:h.push(m))}else h={lane:m,tag:r.tag,payload:r.payload,callback:r.callback,next:null},f===null?(c=f=h,o=s):f=f.next=h,u|=m;if(r=r.next,r===null){if(r=i.shared.pending,r===null)break;h=r,r=h.next,h.next=null,i.lastBaseUpdate=h,i.shared.pending=null}}while(!0);f===null&&(o=s),i.baseState=o,i.firstBaseUpdate=c,i.lastBaseUpdate=f,a===null&&(i.shared.lanes=0),Ln|=u,t.lanes=u,t.memoizedState=s}}function Ep(t,e){if(typeof t!="function")throw Error(A(191,t));t.call(e)}function Tp(t,e){var n=t.callbacks;if(n!==null)for(t.callbacks=null,t=0;t<n.length;t++)Ep(n[t],e)}var Ql=He(null),du=He(0);function kf(t,e){t=rn,ft(du,t),ft(Ql,e),rn=t|e.baseLanes}function Ro(){ft(du,rn),ft(Ql,Ql.current)}function Gc(){rn=du.current,Mt(Ql),Mt(du)}var de=He(null),ze=null;function gn(t){var e=t.alternate;ft(St,St.current&1),ft(de,t),ze===null&&(e===null||Ql.current!==null||e.memoizedState!==null)&&(ze=t)}function Uo(t){ft(St,St.current),ft(de,t),ze===null&&(ze=t)}function kp(t){t.tag===22?(ft(St,St.current),ft(de,t),ze===null&&(ze=t)):yn()}function yn(){ft(St,St.current),ft(de,de.current)}function ue(t){Mt(de),ze===t&&(ze=null),Mt(St)}var St=He(0);function gu(t){for(var e=t;e!==null;){if(e.tag===13){var n=e.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||tc(n)||ec(n)))return e}else if(e.tag===19&&(e.memoizedProps.revealOrder==="forwards"||e.memoizedProps.revealOrder==="backwards"||e.memoizedProps.revealOrder==="unstable_legacy-backwards"||e.memoizedProps.revealOrder==="together")){if(e.flags&128)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var ln=0,V=null,ut=null,Tt=null,yu=!1,Hl=!1,nl=!1,bu=0,Ii=0,jl=null,d0=0;function bt(){throw Error(A(321))}function Xc(t,e){if(e===null)return!1;for(var n=0;n<e.length&&n<t.length;n++)if(!pe(t[n],e[n]))return!1;return!0}function Qc(t,e,n,l,i,a){return ln=a,V=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,j.H=t===null||t.memoizedState===null?ed:ns,nl=!1,a=n(l,i),nl=!1,Hl&&(a=Ap(e,n,l,i)),zp(t),a}function zp(t){j.H=$i;var e=ut!==null&&ut.next!==null;if(ln=0,Tt=ut=V=null,yu=!1,Ii=0,jl=null,e)throw Error(A(300));t===null||At||(t=t.dependencies,t!==null&&mu(t)&&(At=!0))}function Ap(t,e,n,l){V=t;var i=0;do{if(Hl&&(jl=null),Ii=0,Hl=!1,25<=i)throw Error(A(301));if(i+=1,Tt=ut=null,t.updateQueue!=null){var a=t.updateQueue;a.lastEffect=null,a.events=null,a.stores=null,a.memoCache!=null&&(a.memoCache.index=0)}j.H=nd,a=e(n,l)}while(Hl);return a}function g0(){var t=j.H,e=t.useState()[0];return e=typeof e.then=="function"?ha(e):e,t=t.useState()[0],(ut!==null?ut.memoizedState:null)!==t&&(V.flags|=1024),e}function Zc(){var t=bu!==0;return bu=0,t}function Kc(t,e,n){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~n}function Fc(t){if(yu){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}yu=!1}ln=0,Tt=ut=V=null,Hl=!1,Ii=bu=0,jl=null}function Vt(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Tt===null?V.memoizedState=Tt=t:Tt=Tt.next=t,Tt}function xt(){if(ut===null){var t=V.alternate;t=t!==null?t.memoizedState:null}else t=ut.next;var e=Tt===null?V.memoizedState:Tt.next;if(e!==null)Tt=e,ut=t;else{if(t===null)throw V.alternate===null?Error(A(467)):Error(A(310));ut=t,t={memoizedState:ut.memoizedState,baseState:ut.baseState,baseQueue:ut.baseQueue,queue:ut.queue,next:null},Tt===null?V.memoizedState=Tt=t:Tt=Tt.next=t}return Tt}function Ju(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ha(t){var e=Ii;return Ii+=1,jl===null&&(jl=[]),t=vp(jl,t,e),e=V,(Tt===null?e.memoizedState:Tt.next)===null&&(e=e.alternate,j.H=e===null||e.memoizedState===null?ed:ns),t}function Iu(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return ha(t);if(t.$$typeof===Ie)return Bt(t)}throw Error(A(438,String(t)))}function Jc(t){var e=null,n=V.updateQueue;if(n!==null&&(e=n.memoCache),e==null){var l=V.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(e={data:l.data.map(function(i){return i.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),n===null&&(n=Ju(),V.updateQueue=n),n.memoCache=e,n=e.data[e.index],n===void 0)for(n=e.data[e.index]=Array(t),l=0;l<t;l++)n[l]=e1;return e.index++,n}function an(t,e){return typeof e=="function"?e(t):e}function Ka(t){var e=xt();return Ic(e,ut,t)}function Ic(t,e,n){var l=t.queue;if(l===null)throw Error(A(311));l.lastRenderedReducer=n;var i=t.baseQueue,a=l.pending;if(a!==null){if(i!==null){var u=i.next;i.next=a.next,a.next=u}e.baseQueue=i=a,l.pending=null}if(a=t.baseState,i===null)t.memoizedState=a;else{e=i.next;var r=u=null,o=null,c=e,f=!1;do{var s=c.lane&-536870913;if(s!==c.lane?(J&s)===s:(ln&s)===s){var m=c.revertLane;if(m===0)o!==null&&(o=o.next={lane:0,revertLane:0,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),s===Xl&&(f=!0);else if((ln&m)===m){c=c.next,m===Xl&&(f=!0);continue}else s={lane:0,revertLane:c.revertLane,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},o===null?(r=o=s,u=a):o=o.next=s,V.lanes|=m,Ln|=m;s=c.action,nl&&n(a,s),a=c.hasEagerState?c.eagerState:n(a,s)}else m={lane:s,revertLane:c.revertLane,gesture:c.gesture,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},o===null?(r=o=m,u=a):o=o.next=m,V.lanes|=s,Ln|=s;c=c.next}while(c!==null&&c!==e);if(o===null?u=a:o.next=r,!pe(a,t.memoizedState)&&(At=!0,f&&(n=Ll,n!==null)))throw n;t.memoizedState=a,t.baseState=u,t.baseQueue=o,l.lastRenderedState=a}return i===null&&(l.lanes=0),[t.memoizedState,l.dispatch]}function Cr(t){var e=xt(),n=e.queue;if(n===null)throw Error(A(311));n.lastRenderedReducer=t;var l=n.dispatch,i=n.pending,a=e.memoizedState;if(i!==null){n.pending=null;var u=i=i.next;do a=t(a,u.action),u=u.next;while(u!==i);pe(a,e.memoizedState)||(At=!0),e.memoizedState=a,e.baseQueue===null&&(e.baseState=a),n.lastRenderedState=a}return[a,l]}function Cp(t,e,n){var l=V,i=xt(),a=$;if(a){if(n===void 0)throw Error(A(407));n=n()}else n=e();var u=!pe((ut||i).memoizedState,n);if(u&&(i.memoizedState=n,At=!0),i=i.queue,$c(_p.bind(null,l,i,t),[t]),i.getSnapshot!==e||u||Tt!==null&&Tt.memoizedState.tag&1){if(l.flags|=2048,Zl(9,{destroy:void 0},Dp.bind(null,l,i,n,e),null),ot===null)throw Error(A(349));a||ln&127||wp(l,e,n)}return n}function wp(t,e,n){t.flags|=16384,t={getSnapshot:e,value:n},e=V.updateQueue,e===null?(e=Ju(),V.updateQueue=e,e.stores=[t]):(n=e.stores,n===null?e.stores=[t]:n.push(t))}function Dp(t,e,n,l){e.value=n,e.getSnapshot=l,Op(e)&&Mp(t)}function _p(t,e,n){return n(function(){Op(e)&&Mp(t)})}function Op(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!pe(t,n)}catch{return!0}}function Mp(t){var e=ol(t,2);e!==null&&Wt(e,t,2)}function Lo(t){var e=Vt();if(typeof t=="function"){var n=t;if(t=n(),nl){vn(!0);try{n()}finally{vn(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:an,lastRenderedState:t},e}function Np(t,e,n,l){return t.baseState=n,Ic(t,ut,typeof l=="function"?l:an)}function y0(t,e,n,l,i){if(Wu(t))throw Error(A(485));if(t=e.action,t!==null){var a={payload:i,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(u){a.listeners.push(u)}};j.T!==null?n(!0):a.isTransition=!1,l(a),n=e.pending,n===null?(a.next=e.pending=a,Rp(e,a)):(a.next=n.next,e.pending=n.next=a)}}function Rp(t,e){var n=e.action,l=e.payload,i=t.state;if(e.isTransition){var a=j.T,u={};j.T=u;try{var r=n(i,l),o=j.S;o!==null&&o(u,r),zf(t,e,r)}catch(c){Bo(t,e,c)}finally{a!==null&&u.types!==null&&(a.types=u.types),j.T=a}}else try{a=n(i,l),zf(t,e,a)}catch(c){Bo(t,e,c)}}function zf(t,e,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(l){Af(t,e,l)},function(l){return Bo(t,e,l)}):Af(t,e,n)}function Af(t,e,n){e.status="fulfilled",e.value=n,Up(e),t.state=n,e=t.pending,e!==null&&(n=e.next,n===e?t.pending=null:(n=n.next,e.next=n,Rp(t,n)))}function Bo(t,e,n){var l=t.pending;if(t.pending=null,l!==null){l=l.next;do e.status="rejected",e.reason=n,Up(e),e=e.next;while(e!==l)}t.action=null}function Up(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function Lp(t,e){return e}function Cf(t,e){if($){var n=ot.formState;if(n!==null){t:{var l=V;if($){if(pt){e:{for(var i=pt,a=ke;i.nodeType!==8;){if(!a){i=null;break e}if(i=Ae(i.nextSibling),i===null){i=null;break e}}a=i.data,i=a==="F!"||a==="F"?i:null}if(i){pt=Ae(i.nextSibling),l=i.data==="F!";break t}}Rn(l)}l=!1}l&&(e=n[0])}}return n=Vt(),n.memoizedState=n.baseState=e,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Lp,lastRenderedState:e},n.queue=l,n=Wp.bind(null,V,l),l.dispatch=n,l=Lo(!1),a=es.bind(null,V,!1,l.queue),l=Vt(),i={state:e,dispatch:null,action:t,pending:null},l.queue=i,n=y0.bind(null,V,i,a,n),i.dispatch=n,l.memoizedState=t,[e,n,!1]}function wf(t){var e=xt();return Bp(e,ut,t)}function Bp(t,e,n){if(e=Ic(t,e,Lp)[0],t=Ka(an)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var l=ha(e)}catch(u){throw u===li?Fu:u}else l=e;e=xt();var i=e.queue,a=i.dispatch;return n!==e.memoizedState&&(V.flags|=2048,Zl(9,{destroy:void 0},b0.bind(null,i,n),null)),[l,a,t]}function b0(t,e){t.action=e}function Df(t){var e=xt(),n=ut;if(n!==null)return Bp(e,n,t);xt(),e=e.memoizedState,n=xt();var l=n.queue.dispatch;return n.memoizedState=t,[e,l,!1]}function Zl(t,e,n,l){return t={tag:t,create:n,deps:l,inst:e,next:null},e=V.updateQueue,e===null&&(e=Ju(),V.updateQueue=e),n=e.lastEffect,n===null?e.lastEffect=t.next=t:(l=n.next,n.next=t,t.next=l,e.lastEffect=t),t}function Hp(){return xt().memoizedState}function Fa(t,e,n,l){var i=Vt();V.flags|=t,i.memoizedState=Zl(1|e,{destroy:void 0},n,l===void 0?null:l)}function $u(t,e,n,l){var i=xt();l=l===void 0?null:l;var a=i.memoizedState.inst;ut!==null&&l!==null&&Xc(l,ut.memoizedState.deps)?i.memoizedState=Zl(e,a,n,l):(V.flags|=t,i.memoizedState=Zl(1|e,a,n,l))}function _f(t,e){Fa(8390656,8,t,e)}function $c(t,e){$u(2048,8,t,e)}function v0(t){V.flags|=4;var e=V.updateQueue;if(e===null)e=Ju(),V.updateQueue=e,e.events=[t];else{var n=e.events;n===null?e.events=[t]:n.push(t)}}function jp(t){var e=xt().memoizedState;return v0({ref:e,nextImpl:t}),function(){if(tt&2)throw Error(A(440));return e.impl.apply(void 0,arguments)}}function qp(t,e){return $u(4,2,t,e)}function Yp(t,e){return $u(4,4,t,e)}function Vp(t,e){if(typeof e=="function"){t=t();var n=e(t);return function(){typeof n=="function"?n():e(null)}}if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function Gp(t,e,n){n=n!=null?n.concat([t]):null,$u(4,4,Vp.bind(null,e,t),n)}function Wc(){}function Xp(t,e){var n=xt();e=e===void 0?null:e;var l=n.memoizedState;return e!==null&&Xc(e,l[1])?l[0]:(n.memoizedState=[t,e],t)}function Qp(t,e){var n=xt();e=e===void 0?null:e;var l=n.memoizedState;if(e!==null&&Xc(e,l[1]))return l[0];if(l=t(),nl){vn(!0);try{t()}finally{vn(!1)}}return n.memoizedState=[l,e],l}function Pc(t,e,n){return n===void 0||ln&1073741824&&!(J&261930)?t.memoizedState=e:(t.memoizedState=n,t=Nd(),V.lanes|=t,Ln|=t,n)}function Zp(t,e,n,l){return pe(n,e)?n:Ql.current!==null?(t=Pc(t,n,l),pe(t,e)||(At=!0),t):!(ln&42)||ln&1073741824&&!(J&261930)?(At=!0,t.memoizedState=n):(t=Nd(),V.lanes|=t,Ln|=t,e)}function Kp(t,e,n,l,i){var a=et.p;et.p=a!==0&&8>a?a:8;var u=j.T,r={};j.T=r,es(t,!1,e,n);try{var o=i(),c=j.S;if(c!==null&&c(r,o),o!==null&&typeof o=="object"&&typeof o.then=="function"){var f=p0(o,l);Ri(t,e,f,he(t))}else Ri(t,e,l,he(t))}catch(s){Ri(t,e,{then:function(){},status:"rejected",reason:s},he())}finally{et.p=a,u!==null&&r.types!==null&&(u.types=r.types),j.T=u}}function S0(){}function Ho(t,e,n,l){if(t.tag!==5)throw Error(A(476));var i=Fp(t).queue;Kp(t,i,e,Fn,n===null?S0:function(){return Jp(t),n(l)})}function Fp(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:Fn,baseState:Fn,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:an,lastRenderedState:Fn},next:null};var n={};return e.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:an,lastRenderedState:n},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function Jp(t){var e=Fp(t);e.next===null&&(e=t.alternate.memoizedState),Ri(t,e.next.queue,{},he())}function ts(){return Bt(ta)}function Ip(){return xt().memoizedState}function $p(){return xt().memoizedState}function x0(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var n=he();t=An(n);var l=Cn(e,t,n);l!==null&&(Wt(l,e,n),Oi(l,e,n)),e={cache:jc()},t.payload=e;return}e=e.return}}function E0(t,e,n){var l=he();n={lane:l,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Wu(t)?Pp(e,n):(n=Uc(t,e,n,l),n!==null&&(Wt(n,t,l),td(n,e,l)))}function Wp(t,e,n){var l=he();Ri(t,e,n,l)}function Ri(t,e,n,l){var i={lane:l,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Wu(t))Pp(e,i);else{var a=t.alternate;if(t.lanes===0&&(a===null||a.lanes===0)&&(a=e.lastRenderedReducer,a!==null))try{var u=e.lastRenderedState,r=a(u,n);if(i.hasEagerState=!0,i.eagerState=r,pe(r,u))return Ku(t,e,i,0),ot===null&&Zu(),!1}catch{}finally{}if(n=Uc(t,e,i,l),n!==null)return Wt(n,t,l),td(n,e,l),!0}return!1}function es(t,e,n,l){if(l={lane:2,revertLane:ss(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Wu(t)){if(e)throw Error(A(479))}else e=Uc(t,n,l,2),e!==null&&Wt(e,t,2)}function Wu(t){var e=t.alternate;return t===V||e!==null&&e===V}function Pp(t,e){Hl=yu=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function td(t,e,n){if(n&4194048){var l=e.lanes;l&=t.pendingLanes,n|=l,e.lanes=n,jm(t,n)}}var $i={readContext:Bt,use:Iu,useCallback:bt,useContext:bt,useEffect:bt,useImperativeHandle:bt,useLayoutEffect:bt,useInsertionEffect:bt,useMemo:bt,useReducer:bt,useRef:bt,useState:bt,useDebugValue:bt,useDeferredValue:bt,useTransition:bt,useSyncExternalStore:bt,useId:bt,useHostTransitionStatus:bt,useFormState:bt,useActionState:bt,useOptimistic:bt,useMemoCache:bt,useCacheRefresh:bt};$i.useEffectEvent=bt;var ed={readContext:Bt,use:Iu,useCallback:function(t,e){return Vt().memoizedState=[t,e===void 0?null:e],t},useContext:Bt,useEffect:_f,useImperativeHandle:function(t,e,n){n=n!=null?n.concat([t]):null,Fa(4194308,4,Vp.bind(null,e,t),n)},useLayoutEffect:function(t,e){return Fa(4194308,4,t,e)},useInsertionEffect:function(t,e){Fa(4,2,t,e)},useMemo:function(t,e){var n=Vt();e=e===void 0?null:e;var l=t();if(nl){vn(!0);try{t()}finally{vn(!1)}}return n.memoizedState=[l,e],l},useReducer:function(t,e,n){var l=Vt();if(n!==void 0){var i=n(e);if(nl){vn(!0);try{n(e)}finally{vn(!1)}}}else i=e;return l.memoizedState=l.baseState=i,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:i},l.queue=t,t=t.dispatch=E0.bind(null,V,t),[l.memoizedState,t]},useRef:function(t){var e=Vt();return t={current:t},e.memoizedState=t},useState:function(t){t=Lo(t);var e=t.queue,n=Wp.bind(null,V,e);return e.dispatch=n,[t.memoizedState,n]},useDebugValue:Wc,useDeferredValue:function(t,e){var n=Vt();return Pc(n,t,e)},useTransition:function(){var t=Lo(!1);return t=Kp.bind(null,V,t.queue,!0,!1),Vt().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,n){var l=V,i=Vt();if($){if(n===void 0)throw Error(A(407));n=n()}else{if(n=e(),ot===null)throw Error(A(349));J&127||wp(l,e,n)}i.memoizedState=n;var a={value:n,getSnapshot:e};return i.queue=a,_f(_p.bind(null,l,a,t),[t]),l.flags|=2048,Zl(9,{destroy:void 0},Dp.bind(null,l,a,n,e),null),n},useId:function(){var t=Vt(),e=ot.identifierPrefix;if($){var n=Ue,l=Re;n=(l&~(1<<32-fe(l)-1)).toString(32)+n,e="_"+e+"R_"+n,n=bu++,0<n&&(e+="H"+n.toString(32)),e+="_"}else n=d0++,e="_"+e+"r_"+n.toString(32)+"_";return t.memoizedState=e},useHostTransitionStatus:ts,useFormState:Cf,useActionState:Cf,useOptimistic:function(t){var e=Vt();e.memoizedState=e.baseState=t;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=n,e=es.bind(null,V,!0,n),n.dispatch=e,[t,e]},useMemoCache:Jc,useCacheRefresh:function(){return Vt().memoizedState=x0.bind(null,V)},useEffectEvent:function(t){var e=Vt(),n={impl:t};return e.memoizedState=n,function(){if(tt&2)throw Error(A(440));return n.impl.apply(void 0,arguments)}}},ns={readContext:Bt,use:Iu,useCallback:Xp,useContext:Bt,useEffect:$c,useImperativeHandle:Gp,useInsertionEffect:qp,useLayoutEffect:Yp,useMemo:Qp,useReducer:Ka,useRef:Hp,useState:function(){return Ka(an)},useDebugValue:Wc,useDeferredValue:function(t,e){var n=xt();return Zp(n,ut.memoizedState,t,e)},useTransition:function(){var t=Ka(an)[0],e=xt().memoizedState;return[typeof t=="boolean"?t:ha(t),e]},useSyncExternalStore:Cp,useId:Ip,useHostTransitionStatus:ts,useFormState:wf,useActionState:wf,useOptimistic:function(t,e){var n=xt();return Np(n,ut,t,e)},useMemoCache:Jc,useCacheRefresh:$p};ns.useEffectEvent=jp;var nd={readContext:Bt,use:Iu,useCallback:Xp,useContext:Bt,useEffect:$c,useImperativeHandle:Gp,useInsertionEffect:qp,useLayoutEffect:Yp,useMemo:Qp,useReducer:Cr,useRef:Hp,useState:function(){return Cr(an)},useDebugValue:Wc,useDeferredValue:function(t,e){var n=xt();return ut===null?Pc(n,t,e):Zp(n,ut.memoizedState,t,e)},useTransition:function(){var t=Cr(an)[0],e=xt().memoizedState;return[typeof t=="boolean"?t:ha(t),e]},useSyncExternalStore:Cp,useId:Ip,useHostTransitionStatus:ts,useFormState:Df,useActionState:Df,useOptimistic:function(t,e){var n=xt();return ut!==null?Np(n,ut,t,e):(n.baseState=t,[t,n.queue.dispatch])},useMemoCache:Jc,useCacheRefresh:$p};nd.useEffectEvent=jp;function wr(t,e,n,l){e=t.memoizedState,n=n(l,e),n=n==null?e:gt({},e,n),t.memoizedState=n,t.lanes===0&&(t.updateQueue.baseState=n)}var jo={enqueueSetState:function(t,e,n){t=t._reactInternals;var l=he(),i=An(l);i.payload=e,n!=null&&(i.callback=n),e=Cn(t,i,l),e!==null&&(Wt(e,t,l),Oi(e,t,l))},enqueueReplaceState:function(t,e,n){t=t._reactInternals;var l=he(),i=An(l);i.tag=1,i.payload=e,n!=null&&(i.callback=n),e=Cn(t,i,l),e!==null&&(Wt(e,t,l),Oi(e,t,l))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var n=he(),l=An(n);l.tag=2,e!=null&&(l.callback=e),e=Cn(t,l,n),e!==null&&(Wt(e,t,n),Oi(e,t,n))}};function Of(t,e,n,l,i,a,u){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(l,a,u):e.prototype&&e.prototype.isPureReactComponent?!Zi(n,l)||!Zi(i,a):!0}function Mf(t,e,n,l){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(n,l),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(n,l),e.state!==t&&jo.enqueueReplaceState(e,e.state,null)}function ll(t,e){var n=e;if("ref"in e){n={};for(var l in e)l!=="ref"&&(n[l]=e[l])}if(t=t.defaultProps){n===e&&(n=gt({},n));for(var i in t)n[i]===void 0&&(n[i]=t[i])}return n}function ld(t){su(t)}function id(t){console.error(t)}function ad(t){su(t)}function vu(t,e){try{var n=t.onUncaughtError;n(e.value,{componentStack:e.stack})}catch(l){setTimeout(function(){throw l})}}function Nf(t,e,n){try{var l=t.onCaughtError;l(n.value,{componentStack:n.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(i){setTimeout(function(){throw i})}}function qo(t,e,n){return n=An(n),n.tag=3,n.payload={element:null},n.callback=function(){vu(t,e)},n}function ud(t){return t=An(t),t.tag=3,t}function rd(t,e,n,l){var i=n.type.getDerivedStateFromError;if(typeof i=="function"){var a=l.value;t.payload=function(){return i(a)},t.callback=function(){Nf(e,n,l)}}var u=n.stateNode;u!==null&&typeof u.componentDidCatch=="function"&&(t.callback=function(){Nf(e,n,l),typeof i!="function"&&(wn===null?wn=new Set([this]):wn.add(this));var r=l.stack;this.componentDidCatch(l.value,{componentStack:r!==null?r:""})})}function T0(t,e,n,l,i){if(n.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(e=n.alternate,e!==null&&ni(e,n,i,!0),n=de.current,n!==null){switch(n.tag){case 31:case 13:return ze===null?ku():n.alternate===null&&vt===0&&(vt=3),n.flags&=-257,n.flags|=65536,n.lanes=i,l===pu?n.flags|=16384:(e=n.updateQueue,e===null?n.updateQueue=new Set([l]):e.add(l),jr(t,l,i)),!1;case 22:return n.flags|=65536,l===pu?n.flags|=16384:(e=n.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([l])},n.updateQueue=e):(n=e.retryQueue,n===null?e.retryQueue=new Set([l]):n.add(l)),jr(t,l,i)),!1}throw Error(A(435,n.tag))}return jr(t,l,i),ku(),!1}if($)return e=de.current,e!==null?(!(e.flags&65536)&&(e.flags|=256),e.flags|=65536,e.lanes=i,l!==Co&&(t=Error(A(422),{cause:l}),Fi(Te(t,n)))):(l!==Co&&(e=Error(A(423),{cause:l}),Fi(Te(e,n))),t=t.current.alternate,t.flags|=65536,i&=-i,t.lanes|=i,l=Te(l,n),i=qo(t.stateNode,l,i),Ar(t,i),vt!==4&&(vt=2)),!1;var a=Error(A(520),{cause:l});if(a=Te(a,n),Bi===null?Bi=[a]:Bi.push(a),vt!==4&&(vt=2),e===null)return!0;l=Te(l,n),n=e;do{switch(n.tag){case 3:return n.flags|=65536,t=i&-i,n.lanes|=t,t=qo(n.stateNode,l,t),Ar(n,t),!1;case 1:if(e=n.type,a=n.stateNode,(n.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||a!==null&&typeof a.componentDidCatch=="function"&&(wn===null||!wn.has(a))))return n.flags|=65536,i&=-i,n.lanes|=i,i=ud(i),rd(i,t,n,l),Ar(n,i),!1}n=n.return}while(n!==null);return!1}var ls=Error(A(461)),At=!1;function Rt(t,e,n,l){e.child=t===null?xp(e,null,n,l):el(e,t.child,n,l)}function Rf(t,e,n,l,i){n=n.render;var a=e.ref;if("ref"in l){var u={};for(var r in l)r!=="ref"&&(u[r]=l[r])}else u=l;return tl(e),l=Qc(t,e,n,u,a,i),r=Zc(),t!==null&&!At?(Kc(t,e,i),un(t,e,i)):($&&r&&Bc(e),e.flags|=1,Rt(t,e,l,i),e.child)}function Uf(t,e,n,l,i){if(t===null){var a=n.type;return typeof a=="function"&&!Lc(a)&&a.defaultProps===void 0&&n.compare===null?(e.tag=15,e.type=a,od(t,e,a,l,i)):(t=Qa(n.type,null,l,e,e.mode,i),t.ref=e.ref,t.return=e,e.child=t)}if(a=t.child,!is(t,i)){var u=a.memoizedProps;if(n=n.compare,n=n!==null?n:Zi,n(u,l)&&t.ref===e.ref)return un(t,e,i)}return e.flags|=1,t=Pe(a,l),t.ref=e.ref,t.return=e,e.child=t}function od(t,e,n,l,i){if(t!==null){var a=t.memoizedProps;if(Zi(a,l)&&t.ref===e.ref)if(At=!1,e.pendingProps=l=a,is(t,i))t.flags&131072&&(At=!0);else return e.lanes=t.lanes,un(t,e,i)}return Yo(t,e,n,l,i)}function cd(t,e,n,l){var i=l.children,a=t!==null?t.memoizedState:null;if(t===null&&e.stateNode===null&&(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.mode==="hidden"){if(e.flags&128){if(a=a!==null?a.baseLanes|n:n,t!==null){for(l=e.child=t.child,i=0;l!==null;)i=i|l.lanes|l.childLanes,l=l.sibling;l=i&~a}else l=0,e.child=null;return Lf(t,e,a,n,l)}if(n&536870912)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&Za(e,a!==null?a.cachePool:null),a!==null?kf(e,a):Ro(),kp(e);else return l=e.lanes=536870912,Lf(t,e,a!==null?a.baseLanes|n:n,n,l)}else a!==null?(Za(e,a.cachePool),kf(e,a),yn(),e.memoizedState=null):(t!==null&&Za(e,null),Ro(),yn());return Rt(t,e,i,n),e.child}function ki(t,e){return t!==null&&t.tag===22||e.stateNode!==null||(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function Lf(t,e,n,l,i){var a=qc();return a=a===null?null:{parent:zt._currentValue,pool:a},e.memoizedState={baseLanes:n,cachePool:a},t!==null&&Za(e,null),Ro(),kp(e),t!==null&&ni(t,e,l,!0),e.childLanes=i,null}function Ja(t,e){return e=Su({mode:e.mode,children:e.children},t.mode),e.ref=t.ref,t.child=e,e.return=t,e}function Bf(t,e,n){return el(e,t.child,null,n),t=Ja(e,e.pendingProps),t.flags|=2,ue(e),e.memoizedState=null,t}function k0(t,e,n){var l=e.pendingProps,i=(e.flags&128)!==0;if(e.flags&=-129,t===null){if($){if(l.mode==="hidden")return t=Ja(e,l),e.lanes=536870912,ki(null,t);if(Uo(e),(t=pt)?(t=eg(t,ke),t=t!==null&&t.data==="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:Nn!==null?{id:Re,overflow:Ue}:null,retryLane:536870912,hydrationErrors:null},n=pp(t),n.return=e,e.child=n,Lt=e,pt=null)):t=null,t===null)throw Rn(e);return e.lanes=536870912,null}return Ja(e,l)}var a=t.memoizedState;if(a!==null){var u=a.dehydrated;if(Uo(e),i)if(e.flags&256)e.flags&=-257,e=Bf(t,e,n);else if(e.memoizedState!==null)e.child=t.child,e.flags|=128,e=null;else throw Error(A(558));else if(At||ni(t,e,n,!1),i=(n&t.childLanes)!==0,At||i){if(l=ot,l!==null&&(u=qm(l,n),u!==0&&u!==a.retryLane))throw a.retryLane=u,ol(t,u),Wt(l,t,u),ls;ku(),e=Bf(t,e,n)}else t=a.treeContext,pt=Ae(u.nextSibling),Lt=e,$=!0,zn=null,ke=!1,t!==null&&gp(e,t),e=Ja(e,l),e.flags|=4096;return e}return t=Pe(t.child,{mode:l.mode,children:l.children}),t.ref=e.ref,e.child=t,t.return=e,t}function Ia(t,e){var n=e.ref;if(n===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error(A(284));(t===null||t.ref!==n)&&(e.flags|=4194816)}}function Yo(t,e,n,l,i){return tl(e),n=Qc(t,e,n,l,void 0,i),l=Zc(),t!==null&&!At?(Kc(t,e,i),un(t,e,i)):($&&l&&Bc(e),e.flags|=1,Rt(t,e,n,i),e.child)}function Hf(t,e,n,l,i,a){return tl(e),e.updateQueue=null,n=Ap(e,l,n,i),zp(t),l=Zc(),t!==null&&!At?(Kc(t,e,a),un(t,e,a)):($&&l&&Bc(e),e.flags|=1,Rt(t,e,n,a),e.child)}function jf(t,e,n,l,i){if(tl(e),e.stateNode===null){var a=Dl,u=n.contextType;typeof u=="object"&&u!==null&&(a=Bt(u)),a=new n(l,a),e.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=jo,e.stateNode=a,a._reactInternals=e,a=e.stateNode,a.props=l,a.state=e.memoizedState,a.refs={},Vc(e),u=n.contextType,a.context=typeof u=="object"&&u!==null?Bt(u):Dl,a.state=e.memoizedState,u=n.getDerivedStateFromProps,typeof u=="function"&&(wr(e,n,u,l),a.state=e.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof a.getSnapshotBeforeUpdate=="function"||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(u=a.state,typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount(),u!==a.state&&jo.enqueueReplaceState(a,a.state,null),Ni(e,l,a,i),Mi(),a.state=e.memoizedState),typeof a.componentDidMount=="function"&&(e.flags|=4194308),l=!0}else if(t===null){a=e.stateNode;var r=e.memoizedProps,o=ll(n,r);a.props=o;var c=a.context,f=n.contextType;u=Dl,typeof f=="object"&&f!==null&&(u=Bt(f));var s=n.getDerivedStateFromProps;f=typeof s=="function"||typeof a.getSnapshotBeforeUpdate=="function",r=e.pendingProps!==r,f||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(r||c!==u)&&Mf(e,a,l,u),pn=!1;var m=e.memoizedState;a.state=m,Ni(e,l,a,i),Mi(),c=e.memoizedState,r||m!==c||pn?(typeof s=="function"&&(wr(e,n,s,l),c=e.memoizedState),(o=pn||Of(e,n,o,l,m,c,u))?(f||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(e.flags|=4194308)):(typeof a.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=l,e.memoizedState=c),a.props=l,a.state=c,a.context=u,l=o):(typeof a.componentDidMount=="function"&&(e.flags|=4194308),l=!1)}else{a=e.stateNode,Mo(t,e),u=e.memoizedProps,f=ll(n,u),a.props=f,s=e.pendingProps,m=a.context,c=n.contextType,o=Dl,typeof c=="object"&&c!==null&&(o=Bt(c)),r=n.getDerivedStateFromProps,(c=typeof r=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(u!==s||m!==o)&&Mf(e,a,l,o),pn=!1,m=e.memoizedState,a.state=m,Ni(e,l,a,i),Mi();var h=e.memoizedState;u!==s||m!==h||pn||t!==null&&t.dependencies!==null&&mu(t.dependencies)?(typeof r=="function"&&(wr(e,n,r,l),h=e.memoizedState),(f=pn||Of(e,n,f,l,m,h,o)||t!==null&&t.dependencies!==null&&mu(t.dependencies))?(c||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(l,h,o),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(l,h,o)),typeof a.componentDidUpdate=="function"&&(e.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof a.componentDidUpdate!="function"||u===t.memoizedProps&&m===t.memoizedState||(e.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||u===t.memoizedProps&&m===t.memoizedState||(e.flags|=1024),e.memoizedProps=l,e.memoizedState=h),a.props=l,a.state=h,a.context=o,l=f):(typeof a.componentDidUpdate!="function"||u===t.memoizedProps&&m===t.memoizedState||(e.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||u===t.memoizedProps&&m===t.memoizedState||(e.flags|=1024),l=!1)}return a=l,Ia(t,e),l=(e.flags&128)!==0,a||l?(a=e.stateNode,n=l&&typeof n.getDerivedStateFromError!="function"?null:a.render(),e.flags|=1,t!==null&&l?(e.child=el(e,t.child,null,i),e.child=el(e,null,n,i)):Rt(t,e,n,i),e.memoizedState=a.state,t=e.child):t=un(t,e,i),t}function qf(t,e,n,l){return Pn(),e.flags|=256,Rt(t,e,n,l),e.child}var Dr={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function _r(t){return{baseLanes:t,cachePool:bp()}}function Or(t,e,n){return t=t!==null?t.childLanes&~n:0,e&&(t|=oe),t}function sd(t,e,n){var l=e.pendingProps,i=!1,a=(e.flags&128)!==0,u;if((u=a)||(u=t!==null&&t.memoizedState===null?!1:(St.current&2)!==0),u&&(i=!0,e.flags&=-129),u=(e.flags&32)!==0,e.flags&=-33,t===null){if($){if(i?gn(e):yn(),(t=pt)?(t=eg(t,ke),t=t!==null&&t.data!=="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:Nn!==null?{id:Re,overflow:Ue}:null,retryLane:536870912,hydrationErrors:null},n=pp(t),n.return=e,e.child=n,Lt=e,pt=null)):t=null,t===null)throw Rn(e);return ec(t)?e.lanes=32:e.lanes=536870912,null}var r=l.children;return l=l.fallback,i?(yn(),i=e.mode,r=Su({mode:"hidden",children:r},i),l=Jn(l,i,n,null),r.return=e,l.return=e,r.sibling=l,e.child=r,l=e.child,l.memoizedState=_r(n),l.childLanes=Or(t,u,n),e.memoizedState=Dr,ki(null,l)):(gn(e),Vo(e,r))}var o=t.memoizedState;if(o!==null&&(r=o.dehydrated,r!==null)){if(a)e.flags&256?(gn(e),e.flags&=-257,e=Mr(t,e,n)):e.memoizedState!==null?(yn(),e.child=t.child,e.flags|=128,e=null):(yn(),r=l.fallback,i=e.mode,l=Su({mode:"visible",children:l.children},i),r=Jn(r,i,n,null),r.flags|=2,l.return=e,r.return=e,l.sibling=r,e.child=l,el(e,t.child,null,n),l=e.child,l.memoizedState=_r(n),l.childLanes=Or(t,u,n),e.memoizedState=Dr,e=ki(null,l));else if(gn(e),ec(r)){if(u=r.nextSibling&&r.nextSibling.dataset,u)var c=u.dgst;u=c,l=Error(A(419)),l.stack="",l.digest=u,Fi({value:l,source:null,stack:null}),e=Mr(t,e,n)}else if(At||ni(t,e,n,!1),u=(n&t.childLanes)!==0,At||u){if(u=ot,u!==null&&(l=qm(u,n),l!==0&&l!==o.retryLane))throw o.retryLane=l,ol(t,l),Wt(u,t,l),ls;tc(r)||ku(),e=Mr(t,e,n)}else tc(r)?(e.flags|=192,e.child=t.child,e=null):(t=o.treeContext,pt=Ae(r.nextSibling),Lt=e,$=!0,zn=null,ke=!1,t!==null&&gp(e,t),e=Vo(e,l.children),e.flags|=4096);return e}return i?(yn(),r=l.fallback,i=e.mode,o=t.child,c=o.sibling,l=Pe(o,{mode:"hidden",children:l.children}),l.subtreeFlags=o.subtreeFlags&65011712,c!==null?r=Pe(c,r):(r=Jn(r,i,n,null),r.flags|=2),r.return=e,l.return=e,l.sibling=r,e.child=l,ki(null,l),l=e.child,r=t.child.memoizedState,r===null?r=_r(n):(i=r.cachePool,i!==null?(o=zt._currentValue,i=i.parent!==o?{parent:o,pool:o}:i):i=bp(),r={baseLanes:r.baseLanes|n,cachePool:i}),l.memoizedState=r,l.childLanes=Or(t,u,n),e.memoizedState=Dr,ki(t.child,l)):(gn(e),n=t.child,t=n.sibling,n=Pe(n,{mode:"visible",children:l.children}),n.return=e,n.sibling=null,t!==null&&(u=e.deletions,u===null?(e.deletions=[t],e.flags|=16):u.push(t)),e.child=n,e.memoizedState=null,n)}function Vo(t,e){return e=Su({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function Su(t,e){return t=re(22,t,null,e),t.lanes=0,t}function Mr(t,e,n){return el(e,t.child,null,n),t=Vo(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function Yf(t,e,n){t.lanes|=e;var l=t.alternate;l!==null&&(l.lanes|=e),Do(t.return,e,n)}function Nr(t,e,n,l,i,a){var u=t.memoizedState;u===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:l,tail:n,tailMode:i,treeForkCount:a}:(u.isBackwards=e,u.rendering=null,u.renderingStartTime=0,u.last=l,u.tail=n,u.tailMode=i,u.treeForkCount=a)}function fd(t,e,n){var l=e.pendingProps,i=l.revealOrder,a=l.tail;l=l.children;var u=St.current,r=(u&2)!==0;if(r?(u=u&1|2,e.flags|=128):u&=1,ft(St,u),Rt(t,e,l,n),l=$?Ki:0,!r&&t!==null&&t.flags&128)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Yf(t,n,e);else if(t.tag===19)Yf(t,n,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(i){case"forwards":for(n=e.child,i=null;n!==null;)t=n.alternate,t!==null&&gu(t)===null&&(i=n),n=n.sibling;n=i,n===null?(i=e.child,e.child=null):(i=n.sibling,n.sibling=null),Nr(e,!1,i,n,a,l);break;case"backwards":case"unstable_legacy-backwards":for(n=null,i=e.child,e.child=null;i!==null;){if(t=i.alternate,t!==null&&gu(t)===null){e.child=i;break}t=i.sibling,i.sibling=n,n=i,i=t}Nr(e,!0,n,null,a,l);break;case"together":Nr(e,!1,null,null,void 0,l);break;default:e.memoizedState=null}return e.child}function un(t,e,n){if(t!==null&&(e.dependencies=t.dependencies),Ln|=e.lanes,!(n&e.childLanes))if(t!==null){if(ni(t,e,n,!1),(n&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(A(153));if(e.child!==null){for(t=e.child,n=Pe(t,t.pendingProps),e.child=n,n.return=e;t.sibling!==null;)t=t.sibling,n=n.sibling=Pe(t,t.pendingProps),n.return=e;n.sibling=null}return e.child}function is(t,e){return t.lanes&e?!0:(t=t.dependencies,!!(t!==null&&mu(t)))}function z0(t,e,n){switch(e.tag){case 3:uu(e,e.stateNode.containerInfo),dn(e,zt,t.memoizedState.cache),Pn();break;case 27:case 5:go(e);break;case 4:uu(e,e.stateNode.containerInfo);break;case 10:dn(e,e.type,e.memoizedProps.value);break;case 31:if(e.memoizedState!==null)return e.flags|=128,Uo(e),null;break;case 13:var l=e.memoizedState;if(l!==null)return l.dehydrated!==null?(gn(e),e.flags|=128,null):n&e.child.childLanes?sd(t,e,n):(gn(e),t=un(t,e,n),t!==null?t.sibling:null);gn(e);break;case 19:var i=(t.flags&128)!==0;if(l=(n&e.childLanes)!==0,l||(ni(t,e,n,!1),l=(n&e.childLanes)!==0),i){if(l)return fd(t,e,n);e.flags|=128}if(i=e.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),ft(St,St.current),l)break;return null;case 22:return e.lanes=0,cd(t,e,n,e.pendingProps);case 24:dn(e,zt,t.memoizedState.cache)}return un(t,e,n)}function hd(t,e,n){if(t!==null)if(t.memoizedProps!==e.pendingProps)At=!0;else{if(!is(t,n)&&!(e.flags&128))return At=!1,z0(t,e,n);At=!!(t.flags&131072)}else At=!1,$&&e.flags&1048576&&dp(e,Ki,e.index);switch(e.lanes=0,e.tag){case 16:t:{var l=e.pendingProps;if(t=Qn(e.elementType),e.type=t,typeof t=="function")Lc(t)?(l=ll(t,l),e.tag=1,e=jf(null,e,t,l,n)):(e.tag=0,e=Yo(null,e,t,l,n));else{if(t!=null){var i=t.$$typeof;if(i===Ec){e.tag=11,e=Rf(null,e,t,l,n);break t}else if(i===Tc){e.tag=14,e=Uf(null,e,t,l,n);break t}}throw e=mo(t)||t,Error(A(306,e,""))}}return e;case 0:return Yo(t,e,e.type,e.pendingProps,n);case 1:return l=e.type,i=ll(l,e.pendingProps),jf(t,e,l,i,n);case 3:t:{if(uu(e,e.stateNode.containerInfo),t===null)throw Error(A(387));l=e.pendingProps;var a=e.memoizedState;i=a.element,Mo(t,e),Ni(e,l,null,n);var u=e.memoizedState;if(l=u.cache,dn(e,zt,l),l!==a.cache&&_o(e,[zt],n,!0),Mi(),l=u.element,a.isDehydrated)if(a={element:l,isDehydrated:!1,cache:u.cache},e.updateQueue.baseState=a,e.memoizedState=a,e.flags&256){e=qf(t,e,l,n);break t}else if(l!==i){i=Te(Error(A(424)),e),Fi(i),e=qf(t,e,l,n);break t}else{switch(t=e.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(pt=Ae(t.firstChild),Lt=e,$=!0,zn=null,ke=!0,n=xp(e,null,l,n),e.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(Pn(),l===i){e=un(t,e,n);break t}Rt(t,e,l,n)}e=e.child}return e;case 26:return Ia(t,e),t===null?(n=rh(e.type,null,e.pendingProps,null))?e.memoizedState=n:$||(n=e.type,t=e.pendingProps,l=wu(kn.current).createElement(n),l[Ut]=e,l[Pt]=t,Ht(l,n,t),Ot(l),e.stateNode=l):e.memoizedState=rh(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return go(e),t===null&&$&&(l=e.stateNode=ng(e.type,e.pendingProps,kn.current),Lt=e,ke=!0,i=pt,Hn(e.type)?(nc=i,pt=Ae(l.firstChild)):pt=i),Rt(t,e,e.pendingProps.children,n),Ia(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&$&&((i=l=pt)&&(l=eb(l,e.type,e.pendingProps,ke),l!==null?(e.stateNode=l,Lt=e,pt=Ae(l.firstChild),ke=!1,i=!0):i=!1),i||Rn(e)),go(e),i=e.type,a=e.pendingProps,u=t!==null?t.memoizedProps:null,l=a.children,Wo(i,a)?l=null:u!==null&&Wo(i,u)&&(e.flags|=32),e.memoizedState!==null&&(i=Qc(t,e,g0,null,null,n),ta._currentValue=i),Ia(t,e),Rt(t,e,l,n),e.child;case 6:return t===null&&$&&((t=n=pt)&&(n=nb(n,e.pendingProps,ke),n!==null?(e.stateNode=n,Lt=e,pt=null,t=!0):t=!1),t||Rn(e)),null;case 13:return sd(t,e,n);case 4:return uu(e,e.stateNode.containerInfo),l=e.pendingProps,t===null?e.child=el(e,null,l,n):Rt(t,e,l,n),e.child;case 11:return Rf(t,e,e.type,e.pendingProps,n);case 7:return Rt(t,e,e.pendingProps,n),e.child;case 8:return Rt(t,e,e.pendingProps.children,n),e.child;case 12:return Rt(t,e,e.pendingProps.children,n),e.child;case 10:return l=e.pendingProps,dn(e,e.type,l.value),Rt(t,e,l.children,n),e.child;case 9:return i=e.type._context,l=e.pendingProps.children,tl(e),i=Bt(i),l=l(i),e.flags|=1,Rt(t,e,l,n),e.child;case 14:return Uf(t,e,e.type,e.pendingProps,n);case 15:return od(t,e,e.type,e.pendingProps,n);case 19:return fd(t,e,n);case 31:return k0(t,e,n);case 22:return cd(t,e,n,e.pendingProps);case 24:return tl(e),l=Bt(zt),t===null?(i=qc(),i===null&&(i=ot,a=jc(),i.pooledCache=a,a.refCount++,a!==null&&(i.pooledCacheLanes|=n),i=a),e.memoizedState={parent:l,cache:i},Vc(e),dn(e,zt,i)):(t.lanes&n&&(Mo(t,e),Ni(e,null,null,n),Mi()),i=t.memoizedState,a=e.memoizedState,i.parent!==l?(i={parent:l,cache:l},e.memoizedState=i,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=i),dn(e,zt,l)):(l=a.cache,dn(e,zt,l),l!==i.cache&&_o(e,[zt],n,!0))),Rt(t,e,e.pendingProps.children,n),e.child;case 29:throw e.pendingProps}throw Error(A(156,e.tag))}function Xe(t){t.flags|=4}function Rr(t,e,n,l,i){if((e=(t.mode&32)!==0)&&(e=!1),e){if(t.flags|=16777216,(i&335544128)===i)if(t.stateNode.complete)t.flags|=8192;else if(Ld())t.flags|=8192;else throw $n=pu,Yc}else t.flags&=-16777217}function Vf(t,e){if(e.type!=="stylesheet"||e.state.loading&4)t.flags&=-16777217;else if(t.flags|=16777216,!ag(e))if(Ld())t.flags|=8192;else throw $n=pu,Yc}function Oa(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?Bm():536870912,t.lanes|=e,Kl|=e)}function gi(t,e){if(!$)switch(t.tailMode){case"hidden":e=t.tail;for(var n=null;e!==null;)e.alternate!==null&&(n=e),e=e.sibling;n===null?t.tail=null:n.sibling=null;break;case"collapsed":n=t.tail;for(var l=null;n!==null;)n.alternate!==null&&(l=n),n=n.sibling;l===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:l.sibling=null}}function mt(t){var e=t.alternate!==null&&t.alternate.child===t.child,n=0,l=0;if(e)for(var i=t.child;i!==null;)n|=i.lanes|i.childLanes,l|=i.subtreeFlags&65011712,l|=i.flags&65011712,i.return=t,i=i.sibling;else for(i=t.child;i!==null;)n|=i.lanes|i.childLanes,l|=i.subtreeFlags,l|=i.flags,i.return=t,i=i.sibling;return t.subtreeFlags|=l,t.childLanes=n,e}function A0(t,e,n){var l=e.pendingProps;switch(Hc(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return mt(e),null;case 1:return mt(e),null;case 3:return n=e.stateNode,l=null,t!==null&&(l=t.memoizedState.cache),e.memoizedState.cache!==l&&(e.flags|=2048),tn(zt),Yl(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(t===null||t.child===null)&&(pl(e)?Xe(e):t===null||t.memoizedState.isDehydrated&&!(e.flags&256)||(e.flags|=1024,zr())),mt(e),null;case 26:var i=e.type,a=e.memoizedState;return t===null?(Xe(e),a!==null?(mt(e),Vf(e,a)):(mt(e),Rr(e,i,null,l,n))):a?a!==t.memoizedState?(Xe(e),mt(e),Vf(e,a)):(mt(e),e.flags&=-16777217):(t=t.memoizedProps,t!==l&&Xe(e),mt(e),Rr(e,i,t,l,n)),null;case 27:if(ru(e),n=kn.current,i=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==l&&Xe(e);else{if(!l){if(e.stateNode===null)throw Error(A(166));return mt(e),null}t=Be.current,pl(e)?yf(e):(t=ng(i,l,n),e.stateNode=t,Xe(e))}return mt(e),null;case 5:if(ru(e),i=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==l&&Xe(e);else{if(!l){if(e.stateNode===null)throw Error(A(166));return mt(e),null}if(a=Be.current,pl(e))yf(e);else{var u=wu(kn.current);switch(a){case 1:a=u.createElementNS("http://www.w3.org/2000/svg",i);break;case 2:a=u.createElementNS("http://www.w3.org/1998/Math/MathML",i);break;default:switch(i){case"svg":a=u.createElementNS("http://www.w3.org/2000/svg",i);break;case"math":a=u.createElementNS("http://www.w3.org/1998/Math/MathML",i);break;case"script":a=u.createElement("div"),a.innerHTML="<script><\/script>",a=a.removeChild(a.firstChild);break;case"select":a=typeof l.is=="string"?u.createElement("select",{is:l.is}):u.createElement("select"),l.multiple?a.multiple=!0:l.size&&(a.size=l.size);break;default:a=typeof l.is=="string"?u.createElement(i,{is:l.is}):u.createElement(i)}}a[Ut]=e,a[Pt]=l;t:for(u=e.child;u!==null;){if(u.tag===5||u.tag===6)a.appendChild(u.stateNode);else if(u.tag!==4&&u.tag!==27&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===e)break t;for(;u.sibling===null;){if(u.return===null||u.return===e)break t;u=u.return}u.sibling.return=u.return,u=u.sibling}e.stateNode=a;t:switch(Ht(a,i,l),i){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break t;case"img":l=!0;break t;default:l=!1}l&&Xe(e)}}return mt(e),Rr(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,n),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==l&&Xe(e);else{if(typeof l!="string"&&e.stateNode===null)throw Error(A(166));if(t=kn.current,pl(e)){if(t=e.stateNode,n=e.memoizedProps,l=null,i=Lt,i!==null)switch(i.tag){case 27:case 5:l=i.memoizedProps}t[Ut]=e,t=!!(t.nodeValue===n||l!==null&&l.suppressHydrationWarning===!0||Wd(t.nodeValue,n)),t||Rn(e,!0)}else t=wu(t).createTextNode(l),t[Ut]=e,e.stateNode=t}return mt(e),null;case 31:if(n=e.memoizedState,t===null||t.memoizedState!==null){if(l=pl(e),n!==null){if(t===null){if(!l)throw Error(A(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(A(557));t[Ut]=e}else Pn(),!(e.flags&128)&&(e.memoizedState=null),e.flags|=4;mt(e),t=!1}else n=zr(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=n),t=!0;if(!t)return e.flags&256?(ue(e),e):(ue(e),null);if(e.flags&128)throw Error(A(558))}return mt(e),null;case 13:if(l=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(i=pl(e),l!==null&&l.dehydrated!==null){if(t===null){if(!i)throw Error(A(318));if(i=e.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(A(317));i[Ut]=e}else Pn(),!(e.flags&128)&&(e.memoizedState=null),e.flags|=4;mt(e),i=!1}else i=zr(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=i),i=!0;if(!i)return e.flags&256?(ue(e),e):(ue(e),null)}return ue(e),e.flags&128?(e.lanes=n,e):(n=l!==null,t=t!==null&&t.memoizedState!==null,n&&(l=e.child,i=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(i=l.alternate.memoizedState.cachePool.pool),a=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(a=l.memoizedState.cachePool.pool),a!==i&&(l.flags|=2048)),n!==t&&n&&(e.child.flags|=8192),Oa(e,e.updateQueue),mt(e),null);case 4:return Yl(),t===null&&fs(e.stateNode.containerInfo),mt(e),null;case 10:return tn(e.type),mt(e),null;case 19:if(Mt(St),l=e.memoizedState,l===null)return mt(e),null;if(i=(e.flags&128)!==0,a=l.rendering,a===null)if(i)gi(l,!1);else{if(vt!==0||t!==null&&t.flags&128)for(t=e.child;t!==null;){if(a=gu(t),a!==null){for(e.flags|=128,gi(l,!1),t=a.updateQueue,e.updateQueue=t,Oa(e,t),e.subtreeFlags=0,t=n,n=e.child;n!==null;)mp(n,t),n=n.sibling;return ft(St,St.current&1|2),$&&Fe(e,l.treeForkCount),e.child}t=t.sibling}l.tail!==null&&ce()>Eu&&(e.flags|=128,i=!0,gi(l,!1),e.lanes=4194304)}else{if(!i)if(t=gu(a),t!==null){if(e.flags|=128,i=!0,t=t.updateQueue,e.updateQueue=t,Oa(e,t),gi(l,!0),l.tail===null&&l.tailMode==="hidden"&&!a.alternate&&!$)return mt(e),null}else 2*ce()-l.renderingStartTime>Eu&&n!==536870912&&(e.flags|=128,i=!0,gi(l,!1),e.lanes=4194304);l.isBackwards?(a.sibling=e.child,e.child=a):(t=l.last,t!==null?t.sibling=a:e.child=a,l.last=a)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=ce(),t.sibling=null,n=St.current,ft(St,i?n&1|2:n&1),$&&Fe(e,l.treeForkCount),t):(mt(e),null);case 22:case 23:return ue(e),Gc(),l=e.memoizedState!==null,t!==null?t.memoizedState!==null!==l&&(e.flags|=8192):l&&(e.flags|=8192),l?n&536870912&&!(e.flags&128)&&(mt(e),e.subtreeFlags&6&&(e.flags|=8192)):mt(e),n=e.updateQueue,n!==null&&Oa(e,n.retryQueue),n=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),l=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),l!==n&&(e.flags|=2048),t!==null&&Mt(In),null;case 24:return n=null,t!==null&&(n=t.memoizedState.cache),e.memoizedState.cache!==n&&(e.flags|=2048),tn(zt),mt(e),null;case 25:return null;case 30:return null}throw Error(A(156,e.tag))}function C0(t,e){switch(Hc(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return tn(zt),Yl(),t=e.flags,t&65536&&!(t&128)?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return ru(e),null;case 31:if(e.memoizedState!==null){if(ue(e),e.alternate===null)throw Error(A(340));Pn()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(ue(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(A(340));Pn()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return Mt(St),null;case 4:return Yl(),null;case 10:return tn(e.type),null;case 22:case 23:return ue(e),Gc(),t!==null&&Mt(In),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return tn(zt),null;case 25:return null;default:return null}}function md(t,e){switch(Hc(e),e.tag){case 3:tn(zt),Yl();break;case 26:case 27:case 5:ru(e);break;case 4:Yl();break;case 31:e.memoizedState!==null&&ue(e);break;case 13:ue(e);break;case 19:Mt(St);break;case 10:tn(e.type);break;case 22:case 23:ue(e),Gc(),t!==null&&Mt(In);break;case 24:tn(zt)}}function ma(t,e){try{var n=e.updateQueue,l=n!==null?n.lastEffect:null;if(l!==null){var i=l.next;n=i;do{if((n.tag&t)===t){l=void 0;var a=n.create,u=n.inst;l=a(),u.destroy=l}n=n.next}while(n!==i)}}catch(r){it(e,e.return,r)}}function Un(t,e,n){try{var l=e.updateQueue,i=l!==null?l.lastEffect:null;if(i!==null){var a=i.next;l=a;do{if((l.tag&t)===t){var u=l.inst,r=u.destroy;if(r!==void 0){u.destroy=void 0,i=e;var o=n,c=r;try{c()}catch(f){it(i,o,f)}}}l=l.next}while(l!==a)}}catch(f){it(e,e.return,f)}}function pd(t){var e=t.updateQueue;if(e!==null){var n=t.stateNode;try{Tp(e,n)}catch(l){it(t,t.return,l)}}}function dd(t,e,n){n.props=ll(t.type,t.memoizedProps),n.state=t.memoizedState;try{n.componentWillUnmount()}catch(l){it(t,e,l)}}function Ui(t,e){try{var n=t.ref;if(n!==null){switch(t.tag){case 26:case 27:case 5:var l=t.stateNode;break;case 30:l=t.stateNode;break;default:l=t.stateNode}typeof n=="function"?t.refCleanup=n(l):n.current=l}}catch(i){it(t,e,i)}}function Le(t,e){var n=t.ref,l=t.refCleanup;if(n!==null)if(typeof l=="function")try{l()}catch(i){it(t,e,i)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(i){it(t,e,i)}else n.current=null}function gd(t){var e=t.type,n=t.memoizedProps,l=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":n.autoFocus&&l.focus();break t;case"img":n.src?l.src=n.src:n.srcSet&&(l.srcset=n.srcSet)}}catch(i){it(t,t.return,i)}}function Ur(t,e,n){try{var l=t.stateNode;J0(l,t.type,n,e),l[Pt]=e}catch(i){it(t,t.return,i)}}function yd(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&Hn(t.type)||t.tag===4}function Lr(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||yd(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&Hn(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Go(t,e,n){var l=t.tag;if(l===5||l===6)t=t.stateNode,e?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(t,e):(e=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,e.appendChild(t),n=n._reactRootContainer,n!=null||e.onclick!==null||(e.onclick=$e));else if(l!==4&&(l===27&&Hn(t.type)&&(n=t.stateNode,e=null),t=t.child,t!==null))for(Go(t,e,n),t=t.sibling;t!==null;)Go(t,e,n),t=t.sibling}function xu(t,e,n){var l=t.tag;if(l===5||l===6)t=t.stateNode,e?n.insertBefore(t,e):n.appendChild(t);else if(l!==4&&(l===27&&Hn(t.type)&&(n=t.stateNode),t=t.child,t!==null))for(xu(t,e,n),t=t.sibling;t!==null;)xu(t,e,n),t=t.sibling}function bd(t){var e=t.stateNode,n=t.memoizedProps;try{for(var l=t.type,i=e.attributes;i.length;)e.removeAttributeNode(i[0]);Ht(e,l,n),e[Ut]=t,e[Pt]=n}catch(a){it(t,t.return,a)}}var Je=!1,kt=!1,Br=!1,Gf=typeof WeakSet=="function"?WeakSet:Set,_t=null;function w0(t,e){if(t=t.containerInfo,Io=Mu,t=ap(t),Nc(t)){if("selectionStart"in t)var n={start:t.selectionStart,end:t.selectionEnd};else t:{n=(n=t.ownerDocument)&&n.defaultView||window;var l=n.getSelection&&n.getSelection();if(l&&l.rangeCount!==0){n=l.anchorNode;var i=l.anchorOffset,a=l.focusNode;l=l.focusOffset;try{n.nodeType,a.nodeType}catch{n=null;break t}var u=0,r=-1,o=-1,c=0,f=0,s=t,m=null;e:for(;;){for(var h;s!==n||i!==0&&s.nodeType!==3||(r=u+i),s!==a||l!==0&&s.nodeType!==3||(o=u+l),s.nodeType===3&&(u+=s.nodeValue.length),(h=s.firstChild)!==null;)m=s,s=h;for(;;){if(s===t)break e;if(m===n&&++c===i&&(r=u),m===a&&++f===l&&(o=u),(h=s.nextSibling)!==null)break;s=m,m=s.parentNode}s=h}n=r===-1||o===-1?null:{start:r,end:o}}else n=null}n=n||{start:0,end:0}}else n=null;for($o={focusedElem:t,selectionRange:n},Mu=!1,_t=e;_t!==null;)if(e=_t,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,_t=t;else for(;_t!==null;){switch(e=_t,a=e.alternate,t=e.flags,e.tag){case 0:if(t&4&&(t=e.updateQueue,t=t!==null?t.events:null,t!==null))for(n=0;n<t.length;n++)i=t[n],i.ref.impl=i.nextImpl;break;case 11:case 15:break;case 1:if(t&1024&&a!==null){t=void 0,n=e,i=a.memoizedProps,a=a.memoizedState,l=n.stateNode;try{var g=ll(n.type,i);t=l.getSnapshotBeforeUpdate(g,a),l.__reactInternalSnapshotBeforeUpdate=t}catch(S){it(n,n.return,S)}}break;case 3:if(t&1024){if(t=e.stateNode.containerInfo,n=t.nodeType,n===9)Po(t);else if(n===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Po(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(t&1024)throw Error(A(163))}if(t=e.sibling,t!==null){t.return=e.return,_t=t;break}_t=e.return}}function vd(t,e,n){var l=n.flags;switch(n.tag){case 0:case 11:case 15:Ze(t,n),l&4&&ma(5,n);break;case 1:if(Ze(t,n),l&4)if(t=n.stateNode,e===null)try{t.componentDidMount()}catch(u){it(n,n.return,u)}else{var i=ll(n.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(i,e,t.__reactInternalSnapshotBeforeUpdate)}catch(u){it(n,n.return,u)}}l&64&&pd(n),l&512&&Ui(n,n.return);break;case 3:if(Ze(t,n),l&64&&(t=n.updateQueue,t!==null)){if(e=null,n.child!==null)switch(n.child.tag){case 27:case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}try{Tp(t,e)}catch(u){it(n,n.return,u)}}break;case 27:e===null&&l&4&&bd(n);case 26:case 5:Ze(t,n),e===null&&l&4&&gd(n),l&512&&Ui(n,n.return);break;case 12:Ze(t,n);break;case 31:Ze(t,n),l&4&&Ed(t,n);break;case 13:Ze(t,n),l&4&&Td(t,n),l&64&&(t=n.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(n=B0.bind(null,n),lb(t,n))));break;case 22:if(l=n.memoizedState!==null||Je,!l){e=e!==null&&e.memoizedState!==null||kt,i=Je;var a=kt;Je=l,(kt=e)&&!a?Ke(t,n,(n.subtreeFlags&8772)!==0):Ze(t,n),Je=i,kt=a}break;case 30:break;default:Ze(t,n)}}function Sd(t){var e=t.alternate;e!==null&&(t.alternate=null,Sd(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&Cc(e)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var yt=null,It=!1;function Qe(t,e,n){for(n=n.child;n!==null;)xd(t,e,n),n=n.sibling}function xd(t,e,n){if(se&&typeof se.onCommitFiberUnmount=="function")try{se.onCommitFiberUnmount(ua,n)}catch{}switch(n.tag){case 26:kt||Le(n,e),Qe(t,e,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:kt||Le(n,e);var l=yt,i=It;Hn(n.type)&&(yt=n.stateNode,It=!1),Qe(t,e,n),ji(n.stateNode),yt=l,It=i;break;case 5:kt||Le(n,e);case 6:if(l=yt,i=It,yt=null,Qe(t,e,n),yt=l,It=i,yt!==null)if(It)try{(yt.nodeType===9?yt.body:yt.nodeName==="HTML"?yt.ownerDocument.body:yt).removeChild(n.stateNode)}catch(a){it(n,e,a)}else try{yt.removeChild(n.stateNode)}catch(a){it(n,e,a)}break;case 18:yt!==null&&(It?(t=yt,nh(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,n.stateNode),$l(t)):nh(yt,n.stateNode));break;case 4:l=yt,i=It,yt=n.stateNode.containerInfo,It=!0,Qe(t,e,n),yt=l,It=i;break;case 0:case 11:case 14:case 15:Un(2,n,e),kt||Un(4,n,e),Qe(t,e,n);break;case 1:kt||(Le(n,e),l=n.stateNode,typeof l.componentWillUnmount=="function"&&dd(n,e,l)),Qe(t,e,n);break;case 21:Qe(t,e,n);break;case 22:kt=(l=kt)||n.memoizedState!==null,Qe(t,e,n),kt=l;break;default:Qe(t,e,n)}}function Ed(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{$l(t)}catch(n){it(e,e.return,n)}}}function Td(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{$l(t)}catch(n){it(e,e.return,n)}}function D0(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new Gf),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new Gf),e;default:throw Error(A(435,t.tag))}}function Ma(t,e){var n=D0(t);e.forEach(function(l){if(!n.has(l)){n.add(l);var i=H0.bind(null,t,l);l.then(i,i)}})}function Kt(t,e){var n=e.deletions;if(n!==null)for(var l=0;l<n.length;l++){var i=n[l],a=t,u=e,r=u;t:for(;r!==null;){switch(r.tag){case 27:if(Hn(r.type)){yt=r.stateNode,It=!1;break t}break;case 5:yt=r.stateNode,It=!1;break t;case 3:case 4:yt=r.stateNode.containerInfo,It=!0;break t}r=r.return}if(yt===null)throw Error(A(160));xd(a,u,i),yt=null,It=!1,a=i.alternate,a!==null&&(a.return=null),i.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)kd(e,t),e=e.sibling}var _e=null;function kd(t,e){var n=t.alternate,l=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:Kt(e,t),Ft(t),l&4&&(Un(3,t,t.return),ma(3,t),Un(5,t,t.return));break;case 1:Kt(e,t),Ft(t),l&512&&(kt||n===null||Le(n,n.return)),l&64&&Je&&(t=t.updateQueue,t!==null&&(l=t.callbacks,l!==null&&(n=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=n===null?l:n.concat(l))));break;case 26:var i=_e;if(Kt(e,t),Ft(t),l&512&&(kt||n===null||Le(n,n.return)),l&4){var a=n!==null?n.memoizedState:null;if(l=t.memoizedState,n===null)if(l===null)if(t.stateNode===null){t:{l=t.type,n=t.memoizedProps,i=i.ownerDocument||i;e:switch(l){case"title":a=i.getElementsByTagName("title")[0],(!a||a[ca]||a[Ut]||a.namespaceURI==="http://www.w3.org/2000/svg"||a.hasAttribute("itemprop"))&&(a=i.createElement(l),i.head.insertBefore(a,i.querySelector("head > title"))),Ht(a,l,n),a[Ut]=t,Ot(a),l=a;break t;case"link":var u=ch("link","href",i).get(l+(n.href||""));if(u){for(var r=0;r<u.length;r++)if(a=u[r],a.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&a.getAttribute("rel")===(n.rel==null?null:n.rel)&&a.getAttribute("title")===(n.title==null?null:n.title)&&a.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){u.splice(r,1);break e}}a=i.createElement(l),Ht(a,l,n),i.head.appendChild(a);break;case"meta":if(u=ch("meta","content",i).get(l+(n.content||""))){for(r=0;r<u.length;r++)if(a=u[r],a.getAttribute("content")===(n.content==null?null:""+n.content)&&a.getAttribute("name")===(n.name==null?null:n.name)&&a.getAttribute("property")===(n.property==null?null:n.property)&&a.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&a.getAttribute("charset")===(n.charSet==null?null:n.charSet)){u.splice(r,1);break e}}a=i.createElement(l),Ht(a,l,n),i.head.appendChild(a);break;default:throw Error(A(468,l))}a[Ut]=t,Ot(a),l=a}t.stateNode=l}else sh(i,t.type,t.stateNode);else t.stateNode=oh(i,l,t.memoizedProps);else a!==l?(a===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):a.count--,l===null?sh(i,t.type,t.stateNode):oh(i,l,t.memoizedProps)):l===null&&t.stateNode!==null&&Ur(t,t.memoizedProps,n.memoizedProps)}break;case 27:Kt(e,t),Ft(t),l&512&&(kt||n===null||Le(n,n.return)),n!==null&&l&4&&Ur(t,t.memoizedProps,n.memoizedProps);break;case 5:if(Kt(e,t),Ft(t),l&512&&(kt||n===null||Le(n,n.return)),t.flags&32){i=t.stateNode;try{Gl(i,"")}catch(g){it(t,t.return,g)}}l&4&&t.stateNode!=null&&(i=t.memoizedProps,Ur(t,i,n!==null?n.memoizedProps:i)),l&1024&&(Br=!0);break;case 6:if(Kt(e,t),Ft(t),l&4){if(t.stateNode===null)throw Error(A(162));l=t.memoizedProps,n=t.stateNode;try{n.nodeValue=l}catch(g){it(t,t.return,g)}}break;case 3:if(Pa=null,i=_e,_e=Du(e.containerInfo),Kt(e,t),_e=i,Ft(t),l&4&&n!==null&&n.memoizedState.isDehydrated)try{$l(e.containerInfo)}catch(g){it(t,t.return,g)}Br&&(Br=!1,zd(t));break;case 4:l=_e,_e=Du(t.stateNode.containerInfo),Kt(e,t),Ft(t),_e=l;break;case 12:Kt(e,t),Ft(t);break;case 31:Kt(e,t),Ft(t),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,Ma(t,l)));break;case 13:Kt(e,t),Ft(t),t.child.flags&8192&&t.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(Pu=ce()),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,Ma(t,l)));break;case 22:i=t.memoizedState!==null;var o=n!==null&&n.memoizedState!==null,c=Je,f=kt;if(Je=c||i,kt=f||o,Kt(e,t),kt=f,Je=c,Ft(t),l&8192)t:for(e=t.stateNode,e._visibility=i?e._visibility&-2:e._visibility|1,i&&(n===null||o||Je||kt||Zn(t)),n=null,e=t;;){if(e.tag===5||e.tag===26){if(n===null){o=n=e;try{if(a=o.stateNode,i)u=a.style,typeof u.setProperty=="function"?u.setProperty("display","none","important"):u.display="none";else{r=o.stateNode;var s=o.memoizedProps.style,m=s!=null&&s.hasOwnProperty("display")?s.display:null;r.style.display=m==null||typeof m=="boolean"?"":(""+m).trim()}}catch(g){it(o,o.return,g)}}}else if(e.tag===6){if(n===null){o=e;try{o.stateNode.nodeValue=i?"":o.memoizedProps}catch(g){it(o,o.return,g)}}}else if(e.tag===18){if(n===null){o=e;try{var h=o.stateNode;i?lh(h,!0):lh(o.stateNode,!1)}catch(g){it(o,o.return,g)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===t)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break t;for(;e.sibling===null;){if(e.return===null||e.return===t)break t;n===e&&(n=null),e=e.return}n===e&&(n=null),e.sibling.return=e.return,e=e.sibling}l&4&&(l=t.updateQueue,l!==null&&(n=l.retryQueue,n!==null&&(l.retryQueue=null,Ma(t,n))));break;case 19:Kt(e,t),Ft(t),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,Ma(t,l)));break;case 30:break;case 21:break;default:Kt(e,t),Ft(t)}}function Ft(t){var e=t.flags;if(e&2){try{for(var n,l=t.return;l!==null;){if(yd(l)){n=l;break}l=l.return}if(n==null)throw Error(A(160));switch(n.tag){case 27:var i=n.stateNode,a=Lr(t);xu(t,a,i);break;case 5:var u=n.stateNode;n.flags&32&&(Gl(u,""),n.flags&=-33);var r=Lr(t);xu(t,r,u);break;case 3:case 4:var o=n.stateNode.containerInfo,c=Lr(t);Go(t,c,o);break;default:throw Error(A(161))}}catch(f){it(t,t.return,f)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function zd(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;zd(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function Ze(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)vd(t,e.alternate,e),e=e.sibling}function Zn(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:Un(4,e,e.return),Zn(e);break;case 1:Le(e,e.return);var n=e.stateNode;typeof n.componentWillUnmount=="function"&&dd(e,e.return,n),Zn(e);break;case 27:ji(e.stateNode);case 26:case 5:Le(e,e.return),Zn(e);break;case 22:e.memoizedState===null&&Zn(e);break;case 30:Zn(e);break;default:Zn(e)}t=t.sibling}}function Ke(t,e,n){for(n=n&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var l=e.alternate,i=t,a=e,u=a.flags;switch(a.tag){case 0:case 11:case 15:Ke(i,a,n),ma(4,a);break;case 1:if(Ke(i,a,n),l=a,i=l.stateNode,typeof i.componentDidMount=="function")try{i.componentDidMount()}catch(c){it(l,l.return,c)}if(l=a,i=l.updateQueue,i!==null){var r=l.stateNode;try{var o=i.shared.hiddenCallbacks;if(o!==null)for(i.shared.hiddenCallbacks=null,i=0;i<o.length;i++)Ep(o[i],r)}catch(c){it(l,l.return,c)}}n&&u&64&&pd(a),Ui(a,a.return);break;case 27:bd(a);case 26:case 5:Ke(i,a,n),n&&l===null&&u&4&&gd(a),Ui(a,a.return);break;case 12:Ke(i,a,n);break;case 31:Ke(i,a,n),n&&u&4&&Ed(i,a);break;case 13:Ke(i,a,n),n&&u&4&&Td(i,a);break;case 22:a.memoizedState===null&&Ke(i,a,n),Ui(a,a.return);break;case 30:break;default:Ke(i,a,n)}e=e.sibling}}function as(t,e){var n=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==n&&(t!=null&&t.refCount++,n!=null&&fa(n))}function us(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&fa(t))}function De(t,e,n,l){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Ad(t,e,n,l),e=e.sibling}function Ad(t,e,n,l){var i=e.flags;switch(e.tag){case 0:case 11:case 15:De(t,e,n,l),i&2048&&ma(9,e);break;case 1:De(t,e,n,l);break;case 3:De(t,e,n,l),i&2048&&(t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&fa(t)));break;case 12:if(i&2048){De(t,e,n,l),t=e.stateNode;try{var a=e.memoizedProps,u=a.id,r=a.onPostCommit;typeof r=="function"&&r(u,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(o){it(e,e.return,o)}}else De(t,e,n,l);break;case 31:De(t,e,n,l);break;case 13:De(t,e,n,l);break;case 23:break;case 22:a=e.stateNode,u=e.alternate,e.memoizedState!==null?a._visibility&2?De(t,e,n,l):Li(t,e):a._visibility&2?De(t,e,n,l):(a._visibility|=2,bl(t,e,n,l,(e.subtreeFlags&10256)!==0||!1)),i&2048&&as(u,e);break;case 24:De(t,e,n,l),i&2048&&us(e.alternate,e);break;default:De(t,e,n,l)}}function bl(t,e,n,l,i){for(i=i&&((e.subtreeFlags&10256)!==0||!1),e=e.child;e!==null;){var a=t,u=e,r=n,o=l,c=u.flags;switch(u.tag){case 0:case 11:case 15:bl(a,u,r,o,i),ma(8,u);break;case 23:break;case 22:var f=u.stateNode;u.memoizedState!==null?f._visibility&2?bl(a,u,r,o,i):Li(a,u):(f._visibility|=2,bl(a,u,r,o,i)),i&&c&2048&&as(u.alternate,u);break;case 24:bl(a,u,r,o,i),i&&c&2048&&us(u.alternate,u);break;default:bl(a,u,r,o,i)}e=e.sibling}}function Li(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var n=t,l=e,i=l.flags;switch(l.tag){case 22:Li(n,l),i&2048&&as(l.alternate,l);break;case 24:Li(n,l),i&2048&&us(l.alternate,l);break;default:Li(n,l)}e=e.sibling}}var zi=8192;function dl(t,e,n){if(t.subtreeFlags&zi)for(t=t.child;t!==null;)Cd(t,e,n),t=t.sibling}function Cd(t,e,n){switch(t.tag){case 26:dl(t,e,n),t.flags&zi&&t.memoizedState!==null&&db(n,_e,t.memoizedState,t.memoizedProps);break;case 5:dl(t,e,n);break;case 3:case 4:var l=_e;_e=Du(t.stateNode.containerInfo),dl(t,e,n),_e=l;break;case 22:t.memoizedState===null&&(l=t.alternate,l!==null&&l.memoizedState!==null?(l=zi,zi=16777216,dl(t,e,n),zi=l):dl(t,e,n));break;default:dl(t,e,n)}}function wd(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function yi(t){var e=t.deletions;if(t.flags&16){if(e!==null)for(var n=0;n<e.length;n++){var l=e[n];_t=l,_d(l,t)}wd(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Dd(t),t=t.sibling}function Dd(t){switch(t.tag){case 0:case 11:case 15:yi(t),t.flags&2048&&Un(9,t,t.return);break;case 3:yi(t);break;case 12:yi(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,$a(t)):yi(t);break;default:yi(t)}}function $a(t){var e=t.deletions;if(t.flags&16){if(e!==null)for(var n=0;n<e.length;n++){var l=e[n];_t=l,_d(l,t)}wd(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:Un(8,e,e.return),$a(e);break;case 22:n=e.stateNode,n._visibility&2&&(n._visibility&=-3,$a(e));break;default:$a(e)}t=t.sibling}}function _d(t,e){for(;_t!==null;){var n=_t;switch(n.tag){case 0:case 11:case 15:Un(8,n,e);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var l=n.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:fa(n.memoizedState.cache)}if(l=n.child,l!==null)l.return=n,_t=l;else t:for(n=t;_t!==null;){l=_t;var i=l.sibling,a=l.return;if(Sd(l),l===n){_t=null;break t}if(i!==null){i.return=a,_t=i;break t}_t=a}}}var _0={getCacheForType:function(t){var e=Bt(zt),n=e.data.get(t);return n===void 0&&(n=t(),e.data.set(t,n)),n},cacheSignal:function(){return Bt(zt).controller.signal}},O0=typeof WeakMap=="function"?WeakMap:Map,tt=0,ot=null,K=null,J=0,lt=0,ae=null,xn=!1,ii=!1,rs=!1,rn=0,vt=0,Ln=0,Wn=0,os=0,oe=0,Kl=0,Bi=null,$t=null,Xo=!1,Pu=0,Od=0,Eu=1/0,Tu=null,wn=null,wt=0,Dn=null,Fl=null,en=0,Qo=0,Zo=null,Md=null,Hi=0,Ko=null;function he(){return tt&2&&J!==0?J&-J:j.T!==null?ss():Ym()}function Nd(){if(oe===0)if(!(J&536870912)||$){var t=ka;ka<<=1,!(ka&3932160)&&(ka=262144),oe=t}else oe=536870912;return t=de.current,t!==null&&(t.flags|=32),oe}function Wt(t,e,n){(t===ot&&(lt===2||lt===9)||t.cancelPendingCommit!==null)&&(Jl(t,0),En(t,J,oe,!1)),oa(t,n),(!(tt&2)||t!==ot)&&(t===ot&&(!(tt&2)&&(Wn|=n),vt===4&&En(t,J,oe,!1)),je(t))}function Rd(t,e,n){if(tt&6)throw Error(A(327));var l=!n&&(e&127)===0&&(e&t.expiredLanes)===0||ra(t,e),i=l?R0(t,e):Hr(t,e,!0),a=l;do{if(i===0){ii&&!l&&En(t,e,0,!1);break}else{if(n=t.current.alternate,a&&!M0(n)){i=Hr(t,e,!1),a=!1;continue}if(i===2){if(a=e,t.errorRecoveryDisabledLanes&a)var u=0;else u=t.pendingLanes&-536870913,u=u!==0?u:u&536870912?536870912:0;if(u!==0){e=u;t:{var r=t;i=Bi;var o=r.current.memoizedState.isDehydrated;if(o&&(Jl(r,u).flags|=256),u=Hr(r,u,!1),u!==2){if(rs&&!o){r.errorRecoveryDisabledLanes|=a,Wn|=a,i=4;break t}a=$t,$t=i,a!==null&&($t===null?$t=a:$t.push.apply($t,a))}i=u}if(a=!1,i!==2)continue}}if(i===1){Jl(t,0),En(t,e,0,!0);break}t:{switch(l=t,a=i,a){case 0:case 1:throw Error(A(345));case 4:if((e&4194048)!==e)break;case 6:En(l,e,oe,!xn);break t;case 2:$t=null;break;case 3:case 5:break;default:throw Error(A(329))}if((e&62914560)===e&&(i=Pu+300-ce(),10<i)){if(En(l,e,oe,!xn),Vu(l,0,!0)!==0)break t;en=e,l.timeoutHandle=tg(Xf.bind(null,l,n,$t,Tu,Xo,e,oe,Wn,Kl,xn,a,"Throttled",-0,0),i);break t}Xf(l,n,$t,Tu,Xo,e,oe,Wn,Kl,xn,a,null,-0,0)}}break}while(!0);je(t)}function Xf(t,e,n,l,i,a,u,r,o,c,f,s,m,h){if(t.timeoutHandle=-1,s=e.subtreeFlags,s&8192||(s&16785408)===16785408){s={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:$e},Cd(e,a,s);var g=(a&62914560)===a?Pu-ce():(a&4194048)===a?Od-ce():0;if(g=gb(s,g),g!==null){en=a,t.cancelPendingCommit=g(Zf.bind(null,t,e,a,n,l,i,u,r,o,f,s,null,m,h)),En(t,a,u,!c);return}}Zf(t,e,a,n,l,i,u,r,o)}function M0(t){for(var e=t;;){var n=e.tag;if((n===0||n===11||n===15)&&e.flags&16384&&(n=e.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var l=0;l<n.length;l++){var i=n[l],a=i.getSnapshot;i=i.value;try{if(!pe(a(),i))return!1}catch{return!1}}if(n=e.child,e.subtreeFlags&16384&&n!==null)n.return=e,e=n;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function En(t,e,n,l){e&=~os,e&=~Wn,t.suspendedLanes|=e,t.pingedLanes&=~e,l&&(t.warmLanes|=e),l=t.expirationTimes;for(var i=e;0<i;){var a=31-fe(i),u=1<<a;l[a]=-1,i&=~u}n!==0&&Hm(t,n,e)}function tr(){return tt&6?!0:(pa(0),!1)}function cs(){if(K!==null){if(lt===0)var t=K.return;else t=K,We=cl=null,Fc(t),Bl=null,Ji=0,t=K;for(;t!==null;)md(t.alternate,t),t=t.return;K=null}}function Jl(t,e){var n=t.timeoutHandle;n!==-1&&(t.timeoutHandle=-1,W0(n)),n=t.cancelPendingCommit,n!==null&&(t.cancelPendingCommit=null,n()),en=0,cs(),ot=t,K=n=Pe(t.current,null),J=e,lt=0,ae=null,xn=!1,ii=ra(t,e),rs=!1,Kl=oe=os=Wn=Ln=vt=0,$t=Bi=null,Xo=!1,e&8&&(e|=e&32);var l=t.entangledLanes;if(l!==0)for(t=t.entanglements,l&=e;0<l;){var i=31-fe(l),a=1<<i;e|=t[i],l&=~a}return rn=e,Zu(),n}function Ud(t,e){V=null,j.H=$i,e===li||e===Fu?(e=Ef(),lt=3):e===Yc?(e=Ef(),lt=4):lt=e===ls?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,ae=e,K===null&&(vt=1,vu(t,Te(e,t.current)))}function Ld(){var t=de.current;return t===null?!0:(J&4194048)===J?ze===null:(J&62914560)===J||J&536870912?t===ze:!1}function Bd(){var t=j.H;return j.H=$i,t===null?$i:t}function Hd(){var t=j.A;return j.A=_0,t}function ku(){vt=4,xn||(J&4194048)!==J&&de.current!==null||(ii=!0),!(Ln&134217727)&&!(Wn&134217727)||ot===null||En(ot,J,oe,!1)}function Hr(t,e,n){var l=tt;tt|=2;var i=Bd(),a=Hd();(ot!==t||J!==e)&&(Tu=null,Jl(t,e)),e=!1;var u=vt;t:do try{if(lt!==0&&K!==null){var r=K,o=ae;switch(lt){case 8:cs(),u=6;break t;case 3:case 2:case 9:case 6:de.current===null&&(e=!0);var c=lt;if(lt=0,ae=null,Ml(t,r,o,c),n&&ii){u=0;break t}break;default:c=lt,lt=0,ae=null,Ml(t,r,o,c)}}N0(),u=vt;break}catch(f){Ud(t,f)}while(!0);return e&&t.shellSuspendCounter++,We=cl=null,tt=l,j.H=i,j.A=a,K===null&&(ot=null,J=0,Zu()),u}function N0(){for(;K!==null;)jd(K)}function R0(t,e){var n=tt;tt|=2;var l=Bd(),i=Hd();ot!==t||J!==e?(Tu=null,Eu=ce()+500,Jl(t,e)):ii=ra(t,e);t:do try{if(lt!==0&&K!==null){e=K;var a=ae;e:switch(lt){case 1:lt=0,ae=null,Ml(t,e,a,1);break;case 2:case 9:if(xf(a)){lt=0,ae=null,Qf(e);break}e=function(){lt!==2&&lt!==9||ot!==t||(lt=7),je(t)},a.then(e,e);break t;case 3:lt=7;break t;case 4:lt=5;break t;case 7:xf(a)?(lt=0,ae=null,Qf(e)):(lt=0,ae=null,Ml(t,e,a,7));break;case 5:var u=null;switch(K.tag){case 26:u=K.memoizedState;case 5:case 27:var r=K;if(u?ag(u):r.stateNode.complete){lt=0,ae=null;var o=r.sibling;if(o!==null)K=o;else{var c=r.return;c!==null?(K=c,er(c)):K=null}break e}}lt=0,ae=null,Ml(t,e,a,5);break;case 6:lt=0,ae=null,Ml(t,e,a,6);break;case 8:cs(),vt=6;break t;default:throw Error(A(462))}}U0();break}catch(f){Ud(t,f)}while(!0);return We=cl=null,j.H=l,j.A=i,tt=n,K!==null?0:(ot=null,J=0,Zu(),vt)}function U0(){for(;K!==null&&!i1();)jd(K)}function jd(t){var e=hd(t.alternate,t,rn);t.memoizedProps=t.pendingProps,e===null?er(t):K=e}function Qf(t){var e=t,n=e.alternate;switch(e.tag){case 15:case 0:e=Hf(n,e,e.pendingProps,e.type,void 0,J);break;case 11:e=Hf(n,e,e.pendingProps,e.type.render,e.ref,J);break;case 5:Fc(e);default:md(n,e),e=K=mp(e,rn),e=hd(n,e,rn)}t.memoizedProps=t.pendingProps,e===null?er(t):K=e}function Ml(t,e,n,l){We=cl=null,Fc(e),Bl=null,Ji=0;var i=e.return;try{if(T0(t,i,e,n,J)){vt=1,vu(t,Te(n,t.current)),K=null;return}}catch(a){if(i!==null)throw K=i,a;vt=1,vu(t,Te(n,t.current)),K=null;return}e.flags&32768?($||l===1?t=!0:ii||J&536870912?t=!1:(xn=t=!0,(l===2||l===9||l===3||l===6)&&(l=de.current,l!==null&&l.tag===13&&(l.flags|=16384))),qd(e,t)):er(e)}function er(t){var e=t;do{if(e.flags&32768){qd(e,xn);return}t=e.return;var n=A0(e.alternate,e,rn);if(n!==null){K=n;return}if(e=e.sibling,e!==null){K=e;return}K=e=t}while(e!==null);vt===0&&(vt=5)}function qd(t,e){do{var n=C0(t.alternate,t);if(n!==null){n.flags&=32767,K=n;return}if(n=t.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!e&&(t=t.sibling,t!==null)){K=t;return}K=t=n}while(t!==null);vt=6,K=null}function Zf(t,e,n,l,i,a,u,r,o){t.cancelPendingCommit=null;do nr();while(wt!==0);if(tt&6)throw Error(A(327));if(e!==null){if(e===t.current)throw Error(A(177));if(a=e.lanes|e.childLanes,a|=Rc,p1(t,n,a,u,r,o),t===ot&&(K=ot=null,J=0),Fl=e,Dn=t,en=n,Qo=a,Zo=i,Md=l,e.subtreeFlags&10256||e.flags&10256?(t.callbackNode=null,t.callbackPriority=0,j0(ou,function(){return Qd(),null})):(t.callbackNode=null,t.callbackPriority=0),l=(e.flags&13878)!==0,e.subtreeFlags&13878||l){l=j.T,j.T=null,i=et.p,et.p=2,u=tt,tt|=4;try{w0(t,e,n)}finally{tt=u,et.p=i,j.T=l}}wt=1,Yd(),Vd(),Gd()}}function Yd(){if(wt===1){wt=0;var t=Dn,e=Fl,n=(e.flags&13878)!==0;if(e.subtreeFlags&13878||n){n=j.T,j.T=null;var l=et.p;et.p=2;var i=tt;tt|=4;try{kd(e,t);var a=$o,u=ap(t.containerInfo),r=a.focusedElem,o=a.selectionRange;if(u!==r&&r&&r.ownerDocument&&ip(r.ownerDocument.documentElement,r)){if(o!==null&&Nc(r)){var c=o.start,f=o.end;if(f===void 0&&(f=c),"selectionStart"in r)r.selectionStart=c,r.selectionEnd=Math.min(f,r.value.length);else{var s=r.ownerDocument||document,m=s&&s.defaultView||window;if(m.getSelection){var h=m.getSelection(),g=r.textContent.length,S=Math.min(o.start,g),k=o.end===void 0?S:Math.min(o.end,g);!h.extend&&S>k&&(u=k,k=S,S=u);var p=pf(r,S),d=pf(r,k);if(p&&d&&(h.rangeCount!==1||h.anchorNode!==p.node||h.anchorOffset!==p.offset||h.focusNode!==d.node||h.focusOffset!==d.offset)){var y=s.createRange();y.setStart(p.node,p.offset),h.removeAllRanges(),S>k?(h.addRange(y),h.extend(d.node,d.offset)):(y.setEnd(d.node,d.offset),h.addRange(y))}}}}for(s=[],h=r;h=h.parentNode;)h.nodeType===1&&s.push({element:h,left:h.scrollLeft,top:h.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r<s.length;r++){var E=s[r];E.element.scrollLeft=E.left,E.element.scrollTop=E.top}}Mu=!!Io,$o=Io=null}finally{tt=i,et.p=l,j.T=n}}t.current=e,wt=2}}function Vd(){if(wt===2){wt=0;var t=Dn,e=Fl,n=(e.flags&8772)!==0;if(e.subtreeFlags&8772||n){n=j.T,j.T=null;var l=et.p;et.p=2;var i=tt;tt|=4;try{vd(t,e.alternate,e)}finally{tt=i,et.p=l,j.T=n}}wt=3}}function Gd(){if(wt===4||wt===3){wt=0,a1();var t=Dn,e=Fl,n=en,l=Md;e.subtreeFlags&10256||e.flags&10256?wt=5:(wt=0,Fl=Dn=null,Xd(t,t.pendingLanes));var i=t.pendingLanes;if(i===0&&(wn=null),Ac(n),e=e.stateNode,se&&typeof se.onCommitFiberRoot=="function")try{se.onCommitFiberRoot(ua,e,void 0,(e.current.flags&128)===128)}catch{}if(l!==null){e=j.T,i=et.p,et.p=2,j.T=null;try{for(var a=t.onRecoverableError,u=0;u<l.length;u++){var r=l[u];a(r.value,{componentStack:r.stack})}}finally{j.T=e,et.p=i}}en&3&&nr(),je(t),i=t.pendingLanes,n&261930&&i&42?t===Ko?Hi++:(Hi=0,Ko=t):Hi=0,pa(0)}}function Xd(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,fa(e)))}function nr(){return Yd(),Vd(),Gd(),Qd()}function Qd(){if(wt!==5)return!1;var t=Dn,e=Qo;Qo=0;var n=Ac(en),l=j.T,i=et.p;try{et.p=32>n?32:n,j.T=null,n=Zo,Zo=null;var a=Dn,u=en;if(wt=0,Fl=Dn=null,en=0,tt&6)throw Error(A(331));var r=tt;if(tt|=4,Dd(a.current),Ad(a,a.current,u,n),tt=r,pa(0,!1),se&&typeof se.onPostCommitFiberRoot=="function")try{se.onPostCommitFiberRoot(ua,a)}catch{}return!0}finally{et.p=i,j.T=l,Xd(t,e)}}function Kf(t,e,n){e=Te(n,e),e=qo(t.stateNode,e,2),t=Cn(t,e,2),t!==null&&(oa(t,2),je(t))}function it(t,e,n){if(t.tag===3)Kf(t,t,n);else for(;e!==null;){if(e.tag===3){Kf(e,t,n);break}else if(e.tag===1){var l=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(wn===null||!wn.has(l))){t=Te(n,t),n=ud(2),l=Cn(e,n,2),l!==null&&(rd(n,l,e,t),oa(l,2),je(l));break}}e=e.return}}function jr(t,e,n){var l=t.pingCache;if(l===null){l=t.pingCache=new O0;var i=new Set;l.set(e,i)}else i=l.get(e),i===void 0&&(i=new Set,l.set(e,i));i.has(n)||(rs=!0,i.add(n),t=L0.bind(null,t,e,n),e.then(t,t))}function L0(t,e,n){var l=t.pingCache;l!==null&&l.delete(e),t.pingedLanes|=t.suspendedLanes&n,t.warmLanes&=~n,ot===t&&(J&n)===n&&(vt===4||vt===3&&(J&62914560)===J&&300>ce()-Pu?!(tt&2)&&Jl(t,0):os|=n,Kl===J&&(Kl=0)),je(t)}function Zd(t,e){e===0&&(e=Bm()),t=ol(t,e),t!==null&&(oa(t,e),je(t))}function B0(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),Zd(t,n)}function H0(t,e){var n=0;switch(t.tag){case 31:case 13:var l=t.stateNode,i=t.memoizedState;i!==null&&(n=i.retryLane);break;case 19:l=t.stateNode;break;case 22:l=t.stateNode._retryCache;break;default:throw Error(A(314))}l!==null&&l.delete(e),Zd(t,n)}function j0(t,e){return kc(t,e)}var zu=null,vl=null,Fo=!1,Au=!1,qr=!1,Tn=0;function je(t){t!==vl&&t.next===null&&(vl===null?zu=vl=t:vl=vl.next=t),Au=!0,Fo||(Fo=!0,Y0())}function pa(t,e){if(!qr&&Au){qr=!0;do for(var n=!1,l=zu;l!==null;){if(t!==0){var i=l.pendingLanes;if(i===0)var a=0;else{var u=l.suspendedLanes,r=l.pingedLanes;a=(1<<31-fe(42|t)+1)-1,a&=i&~(u&~r),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,Ff(l,a))}else a=J,a=Vu(l,l===ot?a:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),!(a&3)||ra(l,a)||(n=!0,Ff(l,a));l=l.next}while(n);qr=!1}}function q0(){Kd()}function Kd(){Au=Fo=!1;var t=0;Tn!==0&&$0()&&(t=Tn);for(var e=ce(),n=null,l=zu;l!==null;){var i=l.next,a=Fd(l,e);a===0?(l.next=null,n===null?zu=i:n.next=i,i===null&&(vl=n)):(n=l,(t!==0||a&3)&&(Au=!0)),l=i}wt!==0&&wt!==5||pa(t),Tn!==0&&(Tn=0)}function Fd(t,e){for(var n=t.suspendedLanes,l=t.pingedLanes,i=t.expirationTimes,a=t.pendingLanes&-62914561;0<a;){var u=31-fe(a),r=1<<u,o=i[u];o===-1?(!(r&n)||r&l)&&(i[u]=m1(r,e)):o<=e&&(t.expiredLanes|=r),a&=~r}if(e=ot,n=J,n=Vu(t,t===e?n:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l=t.callbackNode,n===0||t===e&&(lt===2||lt===9)||t.cancelPendingCommit!==null)return l!==null&&l!==null&&pr(l),t.callbackNode=null,t.callbackPriority=0;if(!(n&3)||ra(t,n)){if(e=n&-n,e===t.callbackPriority)return e;switch(l!==null&&pr(l),Ac(n)){case 2:case 8:n=Um;break;case 32:n=ou;break;case 268435456:n=Lm;break;default:n=ou}return l=Jd.bind(null,t),n=kc(n,l),t.callbackPriority=e,t.callbackNode=n,e}return l!==null&&l!==null&&pr(l),t.callbackPriority=2,t.callbackNode=null,2}function Jd(t,e){if(wt!==0&&wt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var n=t.callbackNode;if(nr()&&t.callbackNode!==n)return null;var l=J;return l=Vu(t,t===ot?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l===0?null:(Rd(t,l,e),Fd(t,ce()),t.callbackNode!=null&&t.callbackNode===n?Jd.bind(null,t):null)}function Ff(t,e){if(nr())return null;Rd(t,e,!0)}function Y0(){P0(function(){tt&6?kc(Rm,q0):Kd()})}function ss(){if(Tn===0){var t=Xl;t===0&&(t=Ta,Ta<<=1,!(Ta&261888)&&(Ta=256)),Tn=t}return Tn}function Jf(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Va(""+t)}function If(t,e){var n=e.ownerDocument.createElement("input");return n.name=e.name,n.value=e.value,t.id&&n.setAttribute("form",t.id),e.parentNode.insertBefore(n,e),t=new FormData(t),n.parentNode.removeChild(n),t}function V0(t,e,n,l,i){if(e==="submit"&&n&&n.stateNode===i){var a=Jf((i[Pt]||null).action),u=l.submitter;u&&(e=(e=u[Pt]||null)?Jf(e.formAction):u.getAttribute("formAction"),e!==null&&(a=e,u=null));var r=new Gu("action","action",null,l,i);t.push({event:r,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(Tn!==0){var o=u?If(i,u):new FormData(i);Ho(n,{pending:!0,data:o,method:i.method,action:a},null,o)}}else typeof a=="function"&&(r.preventDefault(),o=u?If(i,u):new FormData(i),Ho(n,{pending:!0,data:o,method:i.method,action:a},a,o))},currentTarget:i}]})}}for(var Yr=0;Yr<Ao.length;Yr++){var Vr=Ao[Yr],G0=Vr.toLowerCase(),X0=Vr[0].toUpperCase()+Vr.slice(1);Me(G0,"on"+X0)}Me(rp,"onAnimationEnd");Me(op,"onAnimationIteration");Me(cp,"onAnimationStart");Me("dblclick","onDoubleClick");Me("focusin","onFocus");Me("focusout","onBlur");Me(u0,"onTransitionRun");Me(r0,"onTransitionStart");Me(o0,"onTransitionCancel");Me(sp,"onTransitionEnd");Vl("onMouseEnter",["mouseout","mouseover"]);Vl("onMouseLeave",["mouseout","mouseover"]);Vl("onPointerEnter",["pointerout","pointerover"]);Vl("onPointerLeave",["pointerout","pointerover"]);al("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));al("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));al("onBeforeInput",["compositionend","keypress","textInput","paste"]);al("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));al("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));al("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Wi="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(" "),Q0=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Wi));function Id(t,e){e=(e&4)!==0;for(var n=0;n<t.length;n++){var l=t[n],i=l.event;l=l.listeners;t:{var a=void 0;if(e)for(var u=l.length-1;0<=u;u--){var r=l[u],o=r.instance,c=r.currentTarget;if(r=r.listener,o!==a&&i.isPropagationStopped())break t;a=r,i.currentTarget=c;try{a(i)}catch(f){su(f)}i.currentTarget=null,a=o}else for(u=0;u<l.length;u++){if(r=l[u],o=r.instance,c=r.currentTarget,r=r.listener,o!==a&&i.isPropagationStopped())break t;a=r,i.currentTarget=c;try{a(i)}catch(f){su(f)}i.currentTarget=null,a=o}}}}function Z(t,e){var n=e[bo];n===void 0&&(n=e[bo]=new Set);var l=t+"__bubble";n.has(l)||($d(e,t,2,!1),n.add(l))}function Gr(t,e,n){var l=0;e&&(l|=4),$d(n,t,l,e)}var Na="_reactListening"+Math.random().toString(36).slice(2);function fs(t){if(!t[Na]){t[Na]=!0,Vm.forEach(function(n){n!=="selectionchange"&&(Q0.has(n)||Gr(n,!1,t),Gr(n,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[Na]||(e[Na]=!0,Gr("selectionchange",!1,e))}}function $d(t,e,n,l){switch(sg(e)){case 2:var i=vb;break;case 8:i=Sb;break;default:i=ds}n=i.bind(null,e,n,t),i=void 0,!To||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(i=!0),l?i!==void 0?t.addEventListener(e,n,{capture:!0,passive:i}):t.addEventListener(e,n,!0):i!==void 0?t.addEventListener(e,n,{passive:i}):t.addEventListener(e,n,!1)}function Xr(t,e,n,l,i){var a=l;if(!(e&1)&&!(e&2)&&l!==null)t:for(;;){if(l===null)return;var u=l.tag;if(u===3||u===4){var r=l.stateNode.containerInfo;if(r===i)break;if(u===4)for(u=l.return;u!==null;){var o=u.tag;if((o===3||o===4)&&u.stateNode.containerInfo===i)return;u=u.return}for(;r!==null;){if(u=Tl(r),u===null)return;if(o=u.tag,o===5||o===6||o===26||o===27){l=a=u;continue t}r=r.parentNode}}l=l.return}Im(function(){var c=a,f=Dc(n),s=[];t:{var m=fp.get(t);if(m!==void 0){var h=Gu,g=t;switch(t){case"keypress":if(Xa(n)===0)break t;case"keydown":case"keyup":h=H1;break;case"focusin":g="focus",h=vr;break;case"focusout":g="blur",h=vr;break;case"beforeblur":case"afterblur":h=vr;break;case"click":if(n.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":h=lf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":h=A1;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":h=Y1;break;case rp:case op:case cp:h=D1;break;case sp:h=G1;break;case"scroll":case"scrollend":h=k1;break;case"wheel":h=Q1;break;case"copy":case"cut":case"paste":h=O1;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":h=uf;break;case"toggle":case"beforetoggle":h=K1}var S=(e&4)!==0,k=!S&&(t==="scroll"||t==="scrollend"),p=S?m!==null?m+"Capture":null:m;S=[];for(var d=c,y;d!==null;){var E=d;if(y=E.stateNode,E=E.tag,E!==5&&E!==26&&E!==27||y===null||p===null||(E=Xi(d,p),E!=null&&S.push(Pi(d,E,y))),k)break;d=d.return}0<S.length&&(m=new h(m,g,null,n,f),s.push({event:m,listeners:S}))}}if(!(e&7)){t:{if(m=t==="mouseover"||t==="pointerover",h=t==="mouseout"||t==="pointerout",m&&n!==Eo&&(g=n.relatedTarget||n.fromElement)&&(Tl(g)||g[ti]))break t;if((h||m)&&(m=f.window===f?f:(m=f.ownerDocument)?m.defaultView||m.parentWindow:window,h?(g=n.relatedTarget||n.toElement,h=c,g=g?Tl(g):null,g!==null&&(k=aa(g),S=g.tag,g!==k||S!==5&&S!==27&&S!==6)&&(g=null)):(h=null,g=c),h!==g)){if(S=lf,E="onMouseLeave",p="onMouseEnter",d="mouse",(t==="pointerout"||t==="pointerover")&&(S=uf,E="onPointerLeave",p="onPointerEnter",d="pointer"),k=h==null?m:Ti(h),y=g==null?m:Ti(g),m=new S(E,d+"leave",h,n,f),m.target=k,m.relatedTarget=y,E=null,Tl(f)===c&&(S=new S(p,d+"enter",g,n,f),S.target=y,S.relatedTarget=k,E=S),k=E,h&&g)e:{for(S=Z0,p=h,d=g,y=0,E=p;E;E=S(E))y++;E=0;for(var w=d;w;w=S(w))E++;for(;0<y-E;)p=S(p),y--;for(;0<E-y;)d=S(d),E--;for(;y--;){if(p===d||d!==null&&p===d.alternate){S=p;break e}p=S(p),d=S(d)}S=null}else S=null;h!==null&&$f(s,m,h,S,!1),g!==null&&k!==null&&$f(s,k,g,S,!0)}}t:{if(m=c?Ti(c):window,h=m.nodeName&&m.nodeName.toLowerCase(),h==="select"||h==="input"&&m.type==="file")var T=sf;else if(cf(m))if(np)T=l0;else{T=e0;var C=t0}else h=m.nodeName,!h||h.toLowerCase()!=="input"||m.type!=="checkbox"&&m.type!=="radio"?c&&wc(c.elementType)&&(T=sf):T=n0;if(T&&(T=T(t,c))){ep(s,T,n,f);break t}C&&C(t,m,c),t==="focusout"&&c&&m.type==="number"&&c.memoizedProps.value!=null&&xo(m,"number",m.value)}switch(C=c?Ti(c):window,t){case"focusin":(cf(C)||C.contentEditable==="true")&&(Al=C,ko=c,Di=null);break;case"focusout":Di=ko=Al=null;break;case"mousedown":zo=!0;break;case"contextmenu":case"mouseup":case"dragend":zo=!1,df(s,n,f);break;case"selectionchange":if(a0)break;case"keydown":case"keyup":df(s,n,f)}var M;if(Mc)t:{switch(t){case"compositionstart":var N="onCompositionStart";break t;case"compositionend":N="onCompositionEnd";break t;case"compositionupdate":N="onCompositionUpdate";break t}N=void 0}else zl?Pm(t,n)&&(N="onCompositionEnd"):t==="keydown"&&n.keyCode===229&&(N="onCompositionStart");N&&(Wm&&n.locale!=="ko"&&(zl||N!=="onCompositionStart"?N==="onCompositionEnd"&&zl&&(M=$m()):(Sn=f,_c="value"in Sn?Sn.value:Sn.textContent,zl=!0)),C=Cu(c,N),0<C.length&&(N=new af(N,t,null,n,f),s.push({event:N,listeners:C}),M?N.data=M:(M=tp(n),M!==null&&(N.data=M)))),(M=J1?I1(t,n):$1(t,n))&&(N=Cu(c,"onBeforeInput"),0<N.length&&(C=new af("onBeforeInput","beforeinput",null,n,f),s.push({event:C,listeners:N}),C.data=M)),V0(s,t,c,n,f)}Id(s,e)})}function Pi(t,e,n){return{instance:t,listener:e,currentTarget:n}}function Cu(t,e){for(var n=e+"Capture",l=[];t!==null;){var i=t,a=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||a===null||(i=Xi(t,n),i!=null&&l.unshift(Pi(t,i,a)),i=Xi(t,e),i!=null&&l.push(Pi(t,i,a))),t.tag===3)return l;t=t.return}return[]}function Z0(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function $f(t,e,n,l,i){for(var a=e._reactName,u=[];n!==null&&n!==l;){var r=n,o=r.alternate,c=r.stateNode;if(r=r.tag,o!==null&&o===l)break;r!==5&&r!==26&&r!==27||c===null||(o=c,i?(c=Xi(n,a),c!=null&&u.unshift(Pi(n,c,o))):i||(c=Xi(n,a),c!=null&&u.push(Pi(n,c,o)))),n=n.return}u.length!==0&&t.push({event:e,listeners:u})}var K0=/\r\n?/g,F0=/\u0000|\uFFFD/g;function Wf(t){return(typeof t=="string"?t:""+t).replace(K0,`
`).replace(F0,"")}function Wd(t,e){return e=Wf(e),Wf(t)===e}function at(t,e,n,l,i,a){switch(n){case"children":typeof l=="string"?e==="body"||e==="textarea"&&l===""||Gl(t,l):(typeof l=="number"||typeof l=="bigint")&&e!=="body"&&Gl(t,""+l);break;case"className":Aa(t,"class",l);break;case"tabIndex":Aa(t,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":Aa(t,n,l);break;case"style":Jm(t,l,a);break;case"data":if(e!=="object"){Aa(t,"data",l);break}case"src":case"href":if(l===""&&(e!=="a"||n!=="href")){t.removeAttribute(n);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(n);break}l=Va(""+l),t.setAttribute(n,l);break;case"action":case"formAction":if(typeof l=="function"){t.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof a=="function"&&(n==="formAction"?(e!=="input"&&at(t,e,"name",i.name,i,null),at(t,e,"formEncType",i.formEncType,i,null),at(t,e,"formMethod",i.formMethod,i,null),at(t,e,"formTarget",i.formTarget,i,null)):(at(t,e,"encType",i.encType,i,null),at(t,e,"method",i.method,i,null),at(t,e,"target",i.target,i,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(n);break}l=Va(""+l),t.setAttribute(n,l);break;case"onClick":l!=null&&(t.onclick=$e);break;case"onScroll":l!=null&&Z("scroll",t);break;case"onScrollEnd":l!=null&&Z("scrollend",t);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(A(61));if(n=l.__html,n!=null){if(i.children!=null)throw Error(A(60));t.innerHTML=n}}break;case"multiple":t.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":t.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){t.removeAttribute("xlink:href");break}n=Va(""+l),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(n,""+l):t.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":l&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(n,""):t.removeAttribute(n);break;case"capture":case"download":l===!0?t.setAttribute(n,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(n,l):t.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?t.setAttribute(n,l):t.removeAttribute(n);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?t.removeAttribute(n):t.setAttribute(n,l);break;case"popover":Z("beforetoggle",t),Z("toggle",t),Ya(t,"popover",l);break;case"xlinkActuate":Ge(t,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":Ge(t,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":Ge(t,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":Ge(t,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":Ge(t,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":Ge(t,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":Ge(t,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":Ge(t,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":Ge(t,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":Ya(t,"is",l);break;case"innerText":case"textContent":break;default:(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(n=E1.get(n)||n,Ya(t,n,l))}}function Jo(t,e,n,l,i,a){switch(n){case"style":Jm(t,l,a);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(A(61));if(n=l.__html,n!=null){if(i.children!=null)throw Error(A(60));t.innerHTML=n}}break;case"children":typeof l=="string"?Gl(t,l):(typeof l=="number"||typeof l=="bigint")&&Gl(t,""+l);break;case"onScroll":l!=null&&Z("scroll",t);break;case"onScrollEnd":l!=null&&Z("scrollend",t);break;case"onClick":l!=null&&(t.onclick=$e);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Gm.hasOwnProperty(n))t:{if(n[0]==="o"&&n[1]==="n"&&(i=n.endsWith("Capture"),e=n.slice(2,i?n.length-7:void 0),a=t[Pt]||null,a=a!=null?a[n]:null,typeof a=="function"&&t.removeEventListener(e,a,i),typeof l=="function")){typeof a!="function"&&a!==null&&(n in t?t[n]=null:t.hasAttribute(n)&&t.removeAttribute(n)),t.addEventListener(e,l,i);break t}n in t?t[n]=l:l===!0?t.setAttribute(n,""):Ya(t,n,l)}}}function Ht(t,e,n){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Z("error",t),Z("load",t);var l=!1,i=!1,a;for(a in n)if(n.hasOwnProperty(a)){var u=n[a];if(u!=null)switch(a){case"src":l=!0;break;case"srcSet":i=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(A(137,e));default:at(t,e,a,u,n,null)}}i&&at(t,e,"srcSet",n.srcSet,n,null),l&&at(t,e,"src",n.src,n,null);return;case"input":Z("invalid",t);var r=a=u=i=null,o=null,c=null;for(l in n)if(n.hasOwnProperty(l)){var f=n[l];if(f!=null)switch(l){case"name":i=f;break;case"type":u=f;break;case"checked":o=f;break;case"defaultChecked":c=f;break;case"value":a=f;break;case"defaultValue":r=f;break;case"children":case"dangerouslySetInnerHTML":if(f!=null)throw Error(A(137,e));break;default:at(t,e,l,f,n,null)}}Zm(t,a,r,o,c,u,i,!1);return;case"select":Z("invalid",t),l=u=a=null;for(i in n)if(n.hasOwnProperty(i)&&(r=n[i],r!=null))switch(i){case"value":a=r;break;case"defaultValue":u=r;break;case"multiple":l=r;default:at(t,e,i,r,n,null)}e=a,n=u,t.multiple=!!l,e!=null?Rl(t,!!l,e,!1):n!=null&&Rl(t,!!l,n,!0);return;case"textarea":Z("invalid",t),a=i=l=null;for(u in n)if(n.hasOwnProperty(u)&&(r=n[u],r!=null))switch(u){case"value":l=r;break;case"defaultValue":i=r;break;case"children":a=r;break;case"dangerouslySetInnerHTML":if(r!=null)throw Error(A(91));break;default:at(t,e,u,r,n,null)}Fm(t,l,i,a);return;case"option":for(o in n)if(n.hasOwnProperty(o)&&(l=n[o],l!=null))switch(o){case"selected":t.selected=l&&typeof l!="function"&&typeof l!="symbol";break;default:at(t,e,o,l,n,null)}return;case"dialog":Z("beforetoggle",t),Z("toggle",t),Z("cancel",t),Z("close",t);break;case"iframe":case"object":Z("load",t);break;case"video":case"audio":for(l=0;l<Wi.length;l++)Z(Wi[l],t);break;case"image":Z("error",t),Z("load",t);break;case"details":Z("toggle",t);break;case"embed":case"source":case"link":Z("error",t),Z("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(c in n)if(n.hasOwnProperty(c)&&(l=n[c],l!=null))switch(c){case"children":case"dangerouslySetInnerHTML":throw Error(A(137,e));default:at(t,e,c,l,n,null)}return;default:if(wc(e)){for(f in n)n.hasOwnProperty(f)&&(l=n[f],l!==void 0&&Jo(t,e,f,l,n,void 0));return}}for(r in n)n.hasOwnProperty(r)&&(l=n[r],l!=null&&at(t,e,r,l,n,null))}function J0(t,e,n,l){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var i=null,a=null,u=null,r=null,o=null,c=null,f=null;for(h in n){var s=n[h];if(n.hasOwnProperty(h)&&s!=null)switch(h){case"checked":break;case"value":break;case"defaultValue":o=s;default:l.hasOwnProperty(h)||at(t,e,h,null,l,s)}}for(var m in l){var h=l[m];if(s=n[m],l.hasOwnProperty(m)&&(h!=null||s!=null))switch(m){case"type":a=h;break;case"name":i=h;break;case"checked":c=h;break;case"defaultChecked":f=h;break;case"value":u=h;break;case"defaultValue":r=h;break;case"children":case"dangerouslySetInnerHTML":if(h!=null)throw Error(A(137,e));break;default:h!==s&&at(t,e,m,h,l,s)}}So(t,u,r,o,c,f,a,i);return;case"select":h=u=r=m=null;for(a in n)if(o=n[a],n.hasOwnProperty(a)&&o!=null)switch(a){case"value":break;case"multiple":h=o;default:l.hasOwnProperty(a)||at(t,e,a,null,l,o)}for(i in l)if(a=l[i],o=n[i],l.hasOwnProperty(i)&&(a!=null||o!=null))switch(i){case"value":m=a;break;case"defaultValue":r=a;break;case"multiple":u=a;default:a!==o&&at(t,e,i,a,l,o)}e=r,n=u,l=h,m!=null?Rl(t,!!n,m,!1):!!l!=!!n&&(e!=null?Rl(t,!!n,e,!0):Rl(t,!!n,n?[]:"",!1));return;case"textarea":h=m=null;for(r in n)if(i=n[r],n.hasOwnProperty(r)&&i!=null&&!l.hasOwnProperty(r))switch(r){case"value":break;case"children":break;default:at(t,e,r,null,l,i)}for(u in l)if(i=l[u],a=n[u],l.hasOwnProperty(u)&&(i!=null||a!=null))switch(u){case"value":m=i;break;case"defaultValue":h=i;break;case"children":break;case"dangerouslySetInnerHTML":if(i!=null)throw Error(A(91));break;default:i!==a&&at(t,e,u,i,l,a)}Km(t,m,h);return;case"option":for(var g in n)if(m=n[g],n.hasOwnProperty(g)&&m!=null&&!l.hasOwnProperty(g))switch(g){case"selected":t.selected=!1;break;default:at(t,e,g,null,l,m)}for(o in l)if(m=l[o],h=n[o],l.hasOwnProperty(o)&&m!==h&&(m!=null||h!=null))switch(o){case"selected":t.selected=m&&typeof m!="function"&&typeof m!="symbol";break;default:at(t,e,o,m,l,h)}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 S in n)m=n[S],n.hasOwnProperty(S)&&m!=null&&!l.hasOwnProperty(S)&&at(t,e,S,null,l,m);for(c in l)if(m=l[c],h=n[c],l.hasOwnProperty(c)&&m!==h&&(m!=null||h!=null))switch(c){case"children":case"dangerouslySetInnerHTML":if(m!=null)throw Error(A(137,e));break;default:at(t,e,c,m,l,h)}return;default:if(wc(e)){for(var k in n)m=n[k],n.hasOwnProperty(k)&&m!==void 0&&!l.hasOwnProperty(k)&&Jo(t,e,k,void 0,l,m);for(f in l)m=l[f],h=n[f],!l.hasOwnProperty(f)||m===h||m===void 0&&h===void 0||Jo(t,e,f,m,l,h);return}}for(var p in n)m=n[p],n.hasOwnProperty(p)&&m!=null&&!l.hasOwnProperty(p)&&at(t,e,p,null,l,m);for(s in l)m=l[s],h=n[s],!l.hasOwnProperty(s)||m===h||m==null&&h==null||at(t,e,s,m,l,h)}function Pf(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function I0(){if(typeof performance.getEntriesByType=="function"){for(var t=0,e=0,n=performance.getEntriesByType("resource"),l=0;l<n.length;l++){var i=n[l],a=i.transferSize,u=i.initiatorType,r=i.duration;if(a&&r&&Pf(u)){for(u=0,r=i.responseEnd,l+=1;l<n.length;l++){var o=n[l],c=o.startTime;if(c>r)break;var f=o.transferSize,s=o.initiatorType;f&&Pf(s)&&(o=o.responseEnd,u+=f*(o<r?1:(r-c)/(o-c)))}if(--l,e+=8*(a+u)/(i.duration/1e3),t++,10<t)break}}if(0<t)return e/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var Io=null,$o=null;function wu(t){return t.nodeType===9?t:t.ownerDocument}function th(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Pd(t,e){if(t===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&e==="foreignObject"?0:t}function Wo(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var Qr=null;function $0(){var t=window.event;return t&&t.type==="popstate"?t===Qr?!1:(Qr=t,!0):(Qr=null,!1)}var tg=typeof setTimeout=="function"?setTimeout:void 0,W0=typeof clearTimeout=="function"?clearTimeout:void 0,eh=typeof Promise=="function"?Promise:void 0,P0=typeof queueMicrotask=="function"?queueMicrotask:typeof eh<"u"?function(t){return eh.resolve(null).then(t).catch(tb)}:tg;function tb(t){setTimeout(function(){throw t})}function Hn(t){return t==="head"}function nh(t,e){var n=e,l=0;do{var i=n.nextSibling;if(t.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"||n==="/&"){if(l===0){t.removeChild(i),$l(e);return}l--}else if(n==="$"||n==="$?"||n==="$~"||n==="$!"||n==="&")l++;else if(n==="html")ji(t.ownerDocument.documentElement);else if(n==="head"){n=t.ownerDocument.head,ji(n);for(var a=n.firstChild;a;){var u=a.nextSibling,r=a.nodeName;a[ca]||r==="SCRIPT"||r==="STYLE"||r==="LINK"&&a.rel.toLowerCase()==="stylesheet"||n.removeChild(a),a=u}}else n==="body"&&ji(t.ownerDocument.body);n=i}while(n);$l(e)}function lh(t,e){var n=t;t=0;do{var l=n.nextSibling;if(n.nodeType===1?e?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(e?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),l&&l.nodeType===8)if(n=l.data,n==="/$"){if(t===0)break;t--}else n!=="$"&&n!=="$?"&&n!=="$~"&&n!=="$!"||t++;n=l}while(n)}function Po(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var n=e;switch(e=e.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":Po(n),Cc(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}t.removeChild(n)}}function eb(t,e,n,l){for(;t.nodeType===1;){var i=n;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!l&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(l){if(!t[ca])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(a=t.getAttribute("rel"),a==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(a!==i.rel||t.getAttribute("href")!==(i.href==null||i.href===""?null:i.href)||t.getAttribute("crossorigin")!==(i.crossOrigin==null?null:i.crossOrigin)||t.getAttribute("title")!==(i.title==null?null:i.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(a=t.getAttribute("src"),(a!==(i.src==null?null:i.src)||t.getAttribute("type")!==(i.type==null?null:i.type)||t.getAttribute("crossorigin")!==(i.crossOrigin==null?null:i.crossOrigin))&&a&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var a=i.name==null?null:""+i.name;if(i.type==="hidden"&&t.getAttribute("name")===a)return t}else return t;if(t=Ae(t.nextSibling),t===null)break}return null}function nb(t,e,n){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!n||(t=Ae(t.nextSibling),t===null))return null;return t}function eg(t,e){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=Ae(t.nextSibling),t===null))return null;return t}function tc(t){return t.data==="$?"||t.data==="$~"}function ec(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function lb(t,e){var n=t.ownerDocument;if(t.data==="$~")t._reactRetry=e;else if(t.data!=="$?"||n.readyState!=="loading")e();else{var l=function(){e(),n.removeEventListener("DOMContentLoaded",l)};n.addEventListener("DOMContentLoaded",l),t._reactRetry=l}}function Ae(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"||e==="F!"||e==="F")break;if(e==="/$"||e==="/&")return null}}return t}var nc=null;function ih(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="/$"||n==="/&"){if(e===0)return Ae(t.nextSibling);e--}else n!=="$"&&n!=="$!"&&n!=="$?"&&n!=="$~"&&n!=="&"||e++}t=t.nextSibling}return null}function ah(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var n=t.data;if(n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"){if(e===0)return t;e--}else n!=="/$"&&n!=="/&"||e++}t=t.previousSibling}return null}function ng(t,e,n){switch(e=wu(n),t){case"html":if(t=e.documentElement,!t)throw Error(A(452));return t;case"head":if(t=e.head,!t)throw Error(A(453));return t;case"body":if(t=e.body,!t)throw Error(A(454));return t;default:throw Error(A(451))}}function ji(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);Cc(t)}var Ce=new Map,uh=new Set;function Du(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var on=et.d;et.d={f:ib,r:ab,D:ub,C:rb,L:ob,m:cb,X:fb,S:sb,M:hb};function ib(){var t=on.f(),e=tr();return t||e}function ab(t){var e=ei(t);e!==null&&e.tag===5&&e.type==="form"?Jp(e):on.r(t)}var ai=typeof document>"u"?null:document;function lg(t,e,n){var l=ai;if(l&&typeof e=="string"&&e){var i=Ee(e);i='link[rel="'+t+'"][href="'+i+'"]',typeof n=="string"&&(i+='[crossorigin="'+n+'"]'),uh.has(i)||(uh.add(i),t={rel:t,crossOrigin:n,href:e},l.querySelector(i)===null&&(e=l.createElement("link"),Ht(e,"link",t),Ot(e),l.head.appendChild(e)))}}function ub(t){on.D(t),lg("dns-prefetch",t,null)}function rb(t,e){on.C(t,e),lg("preconnect",t,e)}function ob(t,e,n){on.L(t,e,n);var l=ai;if(l&&t&&e){var i='link[rel="preload"][as="'+Ee(e)+'"]';e==="image"&&n&&n.imageSrcSet?(i+='[imagesrcset="'+Ee(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(i+='[imagesizes="'+Ee(n.imageSizes)+'"]')):i+='[href="'+Ee(t)+'"]';var a=i;switch(e){case"style":a=Il(t);break;case"script":a=ui(t)}Ce.has(a)||(t=gt({rel:"preload",href:e==="image"&&n&&n.imageSrcSet?void 0:t,as:e},n),Ce.set(a,t),l.querySelector(i)!==null||e==="style"&&l.querySelector(da(a))||e==="script"&&l.querySelector(ga(a))||(e=l.createElement("link"),Ht(e,"link",t),Ot(e),l.head.appendChild(e)))}}function cb(t,e){on.m(t,e);var n=ai;if(n&&t){var l=e&&typeof e.as=="string"?e.as:"script",i='link[rel="modulepreload"][as="'+Ee(l)+'"][href="'+Ee(t)+'"]',a=i;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":a=ui(t)}if(!Ce.has(a)&&(t=gt({rel:"modulepreload",href:t},e),Ce.set(a,t),n.querySelector(i)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(ga(a)))return}l=n.createElement("link"),Ht(l,"link",t),Ot(l),n.head.appendChild(l)}}}function sb(t,e,n){on.S(t,e,n);var l=ai;if(l&&t){var i=Nl(l).hoistableStyles,a=Il(t);e=e||"default";var u=i.get(a);if(!u){var r={loading:0,preload:null};if(u=l.querySelector(da(a)))r.loading=5;else{t=gt({rel:"stylesheet",href:t,"data-precedence":e},n),(n=Ce.get(a))&&hs(t,n);var o=u=l.createElement("link");Ot(o),Ht(o,"link",t),o._p=new Promise(function(c,f){o.onload=c,o.onerror=f}),o.addEventListener("load",function(){r.loading|=1}),o.addEventListener("error",function(){r.loading|=2}),r.loading|=4,Wa(u,e,l)}u={type:"stylesheet",instance:u,count:1,state:r},i.set(a,u)}}}function fb(t,e){on.X(t,e);var n=ai;if(n&&t){var l=Nl(n).hoistableScripts,i=ui(t),a=l.get(i);a||(a=n.querySelector(ga(i)),a||(t=gt({src:t,async:!0},e),(e=Ce.get(i))&&ms(t,e),a=n.createElement("script"),Ot(a),Ht(a,"link",t),n.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},l.set(i,a))}}function hb(t,e){on.M(t,e);var n=ai;if(n&&t){var l=Nl(n).hoistableScripts,i=ui(t),a=l.get(i);a||(a=n.querySelector(ga(i)),a||(t=gt({src:t,async:!0,type:"module"},e),(e=Ce.get(i))&&ms(t,e),a=n.createElement("script"),Ot(a),Ht(a,"link",t),n.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},l.set(i,a))}}function rh(t,e,n,l){var i=(i=kn.current)?Du(i):null;if(!i)throw Error(A(446));switch(t){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(e=Il(n.href),n=Nl(i).hoistableStyles,l=n.get(e),l||(l={type:"style",instance:null,count:0,state:null},n.set(e,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){t=Il(n.href);var a=Nl(i).hoistableStyles,u=a.get(t);if(u||(i=i.ownerDocument||i,u={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},a.set(t,u),(a=i.querySelector(da(t)))&&!a._p&&(u.instance=a,u.state.loading=5),Ce.has(t)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Ce.set(t,n),a||mb(i,t,n,u.state))),e&&l===null)throw Error(A(528,""));return u}if(e&&l!==null)throw Error(A(529,""));return null;case"script":return e=n.async,n=n.src,typeof n=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=ui(n),n=Nl(i).hoistableScripts,l=n.get(e),l||(l={type:"script",instance:null,count:0,state:null},n.set(e,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(A(444,t))}}function Il(t){return'href="'+Ee(t)+'"'}function da(t){return'link[rel="stylesheet"]['+t+"]"}function ig(t){return gt({},t,{"data-precedence":t.precedence,precedence:null})}function mb(t,e,n,l){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?l.loading=1:(e=t.createElement("link"),l.preload=e,e.addEventListener("load",function(){return l.loading|=1}),e.addEventListener("error",function(){return l.loading|=2}),Ht(e,"link",n),Ot(e),t.head.appendChild(e))}function ui(t){return'[src="'+Ee(t)+'"]'}function ga(t){return"script[async]"+t}function oh(t,e,n){if(e.count++,e.instance===null)switch(e.type){case"style":var l=t.querySelector('style[data-href~="'+Ee(n.href)+'"]');if(l)return e.instance=l,Ot(l),l;var i=gt({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return l=(t.ownerDocument||t).createElement("style"),Ot(l),Ht(l,"style",i),Wa(l,n.precedence,t),e.instance=l;case"stylesheet":i=Il(n.href);var a=t.querySelector(da(i));if(a)return e.state.loading|=4,e.instance=a,Ot(a),a;l=ig(n),(i=Ce.get(i))&&hs(l,i),a=(t.ownerDocument||t).createElement("link"),Ot(a);var u=a;return u._p=new Promise(function(r,o){u.onload=r,u.onerror=o}),Ht(a,"link",l),e.state.loading|=4,Wa(a,n.precedence,t),e.instance=a;case"script":return a=ui(n.src),(i=t.querySelector(ga(a)))?(e.instance=i,Ot(i),i):(l=n,(i=Ce.get(a))&&(l=gt({},n),ms(l,i)),t=t.ownerDocument||t,i=t.createElement("script"),Ot(i),Ht(i,"link",l),t.head.appendChild(i),e.instance=i);case"void":return null;default:throw Error(A(443,e.type))}else e.type==="stylesheet"&&!(e.state.loading&4)&&(l=e.instance,e.state.loading|=4,Wa(l,n.precedence,t));return e.instance}function Wa(t,e,n){for(var l=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),i=l.length?l[l.length-1]:null,a=i,u=0;u<l.length;u++){var r=l[u];if(r.dataset.precedence===e)a=r;else if(a!==i)break}a?a.parentNode.insertBefore(t,a.nextSibling):(e=n.nodeType===9?n.head:n,e.insertBefore(t,e.firstChild))}function hs(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function ms(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var Pa=null;function ch(t,e,n){if(Pa===null){var l=new Map,i=Pa=new Map;i.set(n,l)}else i=Pa,l=i.get(n),l||(l=new Map,i.set(n,l));if(l.has(t))return l;for(l.set(t,null),n=n.getElementsByTagName(t),i=0;i<n.length;i++){var a=n[i];if(!(a[ca]||a[Ut]||t==="link"&&a.getAttribute("rel")==="stylesheet")&&a.namespaceURI!=="http://www.w3.org/2000/svg"){var u=a.getAttribute(e)||"";u=t+u;var r=l.get(u);r?r.push(a):l.set(u,[a])}}return l}function sh(t,e,n){t=t.ownerDocument||t,t.head.insertBefore(n,e==="title"?t.querySelector("head > title"):null)}function pb(t,e,n){if(n===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence=="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function ag(t){return!(t.type==="stylesheet"&&!(t.state.loading&3))}function db(t,e,n,l){if(n.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&!(n.state.loading&4)){if(n.instance===null){var i=Il(l.href),a=e.querySelector(da(i));if(a){e=a._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=_u.bind(t),e.then(t,t)),n.state.loading|=4,n.instance=a,Ot(a);return}a=e.ownerDocument||e,l=ig(l),(i=Ce.get(i))&&hs(l,i),a=a.createElement("link"),Ot(a);var u=a;u._p=new Promise(function(r,o){u.onload=r,u.onerror=o}),Ht(a,"link",l),n.instance=a}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(n,e),(e=n.state.preload)&&!(n.state.loading&3)&&(t.count++,n=_u.bind(t),e.addEventListener("load",n),e.addEventListener("error",n))}}var Zr=0;function gb(t,e){return t.stylesheets&&t.count===0&&tu(t,t.stylesheets),0<t.count||0<t.imgCount?function(n){var l=setTimeout(function(){if(t.stylesheets&&tu(t,t.stylesheets),t.unsuspend){var a=t.unsuspend;t.unsuspend=null,a()}},6e4+e);0<t.imgBytes&&Zr===0&&(Zr=62500*I0());var i=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&tu(t,t.stylesheets),t.unsuspend)){var a=t.unsuspend;t.unsuspend=null,a()}},(t.imgBytes>Zr?50:800)+e);return t.unsuspend=n,function(){t.unsuspend=null,clearTimeout(l),clearTimeout(i)}}:null}function _u(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)tu(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var Ou=null;function tu(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Ou=new Map,e.forEach(yb,t),Ou=null,_u.call(t))}function yb(t,e){if(!(e.state.loading&4)){var n=Ou.get(t);if(n)var l=n.get(null);else{n=new Map,Ou.set(t,n);for(var i=t.querySelectorAll("link[data-precedence],style[data-precedence]"),a=0;a<i.length;a++){var u=i[a];(u.nodeName==="LINK"||u.getAttribute("media")!=="not all")&&(n.set(u.dataset.precedence,u),l=u)}l&&n.set(null,l)}i=e.instance,u=i.getAttribute("data-precedence"),a=n.get(u)||l,a===l&&n.set(null,i),n.set(u,i),this.count++,l=_u.bind(this),i.addEventListener("load",l),i.addEventListener("error",l),a?a.parentNode.insertBefore(i,a.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(i,t.firstChild)),e.state.loading|=4}}var ta={$$typeof:Ie,Provider:null,Consumer:null,_currentValue:Fn,_currentValue2:Fn,_threadCount:0};function bb(t,e,n,l,i,a,u,r,o){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=dr(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=dr(0),this.hiddenUpdates=dr(null),this.identifierPrefix=l,this.onUncaughtError=i,this.onCaughtError=a,this.onRecoverableError=u,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=o,this.incompleteTransitions=new Map}function ug(t,e,n,l,i,a,u,r,o,c,f,s){return t=new bb(t,e,n,u,o,c,f,s,r),e=1,a===!0&&(e|=24),a=re(3,null,null,e),t.current=a,a.stateNode=t,e=jc(),e.refCount++,t.pooledCache=e,e.refCount++,a.memoizedState={element:l,isDehydrated:n,cache:e},Vc(a),t}function rg(t){return t?(t=Dl,t):Dl}function og(t,e,n,l,i,a){i=rg(i),l.context===null?l.context=i:l.pendingContext=i,l=An(e),l.payload={element:n},a=a===void 0?null:a,a!==null&&(l.callback=a),n=Cn(t,l,e),n!==null&&(Wt(n,t,e),Oi(n,t,e))}function fh(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var n=t.retryLane;t.retryLane=n!==0&&n<e?n:e}}function ps(t,e){fh(t,e),(t=t.alternate)&&fh(t,e)}function cg(t){if(t.tag===13||t.tag===31){var e=ol(t,67108864);e!==null&&Wt(e,t,67108864),ps(t,67108864)}}function hh(t){if(t.tag===13||t.tag===31){var e=he();e=zc(e);var n=ol(t,e);n!==null&&Wt(n,t,e),ps(t,e)}}var Mu=!0;function vb(t,e,n,l){var i=j.T;j.T=null;var a=et.p;try{et.p=2,ds(t,e,n,l)}finally{et.p=a,j.T=i}}function Sb(t,e,n,l){var i=j.T;j.T=null;var a=et.p;try{et.p=8,ds(t,e,n,l)}finally{et.p=a,j.T=i}}function ds(t,e,n,l){if(Mu){var i=lc(l);if(i===null)Xr(t,e,l,Nu,n),mh(t,l);else if(Eb(i,t,e,n,l))l.stopPropagation();else if(mh(t,l),e&4&&-1<xb.indexOf(t)){for(;i!==null;){var a=ei(i);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var u=Xn(a.pendingLanes);if(u!==0){var r=a;for(r.pendingLanes|=2,r.entangledLanes|=2;u;){var o=1<<31-fe(u);r.entanglements[1]|=o,u&=~o}je(a),!(tt&6)&&(Eu=ce()+500,pa(0))}}break;case 31:case 13:r=ol(a,2),r!==null&&Wt(r,a,2),tr(),ps(a,2)}if(a=lc(l),a===null&&Xr(t,e,l,Nu,n),a===i)break;i=a}i!==null&&l.stopPropagation()}else Xr(t,e,l,null,n)}}function lc(t){return t=Dc(t),gs(t)}var Nu=null;function gs(t){if(Nu=null,t=Tl(t),t!==null){var e=aa(t);if(e===null)t=null;else{var n=e.tag;if(n===13){if(t=Dm(e),t!==null)return t;t=null}else if(n===31){if(t=_m(e),t!==null)return t;t=null}else if(n===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return Nu=t,null}function sg(t){switch(t){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(u1()){case Rm:return 2;case Um:return 8;case ou:case r1:return 32;case Lm:return 268435456;default:return 32}default:return 32}}var ic=!1,_n=null,On=null,Mn=null,ea=new Map,na=new Map,bn=[],xb="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 mh(t,e){switch(t){case"focusin":case"focusout":_n=null;break;case"dragenter":case"dragleave":On=null;break;case"mouseover":case"mouseout":Mn=null;break;case"pointerover":case"pointerout":ea.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":na.delete(e.pointerId)}}function bi(t,e,n,l,i,a){return t===null||t.nativeEvent!==a?(t={blockedOn:e,domEventName:n,eventSystemFlags:l,nativeEvent:a,targetContainers:[i]},e!==null&&(e=ei(e),e!==null&&cg(e)),t):(t.eventSystemFlags|=l,e=t.targetContainers,i!==null&&e.indexOf(i)===-1&&e.push(i),t)}function Eb(t,e,n,l,i){switch(e){case"focusin":return _n=bi(_n,t,e,n,l,i),!0;case"dragenter":return On=bi(On,t,e,n,l,i),!0;case"mouseover":return Mn=bi(Mn,t,e,n,l,i),!0;case"pointerover":var a=i.pointerId;return ea.set(a,bi(ea.get(a)||null,t,e,n,l,i)),!0;case"gotpointercapture":return a=i.pointerId,na.set(a,bi(na.get(a)||null,t,e,n,l,i)),!0}return!1}function fg(t){var e=Tl(t.target);if(e!==null){var n=aa(e);if(n!==null){if(e=n.tag,e===13){if(e=Dm(n),e!==null){t.blockedOn=e,Is(t.priority,function(){hh(n)});return}}else if(e===31){if(e=_m(n),e!==null){t.blockedOn=e,Is(t.priority,function(){hh(n)});return}}else if(e===3&&n.stateNode.current.memoizedState.isDehydrated){t.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}t.blockedOn=null}function eu(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var n=lc(t.nativeEvent);if(n===null){n=t.nativeEvent;var l=new n.constructor(n.type,n);Eo=l,n.target.dispatchEvent(l),Eo=null}else return e=ei(n),e!==null&&cg(e),t.blockedOn=n,!1;e.shift()}return!0}function ph(t,e,n){eu(t)&&n.delete(e)}function Tb(){ic=!1,_n!==null&&eu(_n)&&(_n=null),On!==null&&eu(On)&&(On=null),Mn!==null&&eu(Mn)&&(Mn=null),ea.forEach(ph),na.forEach(ph)}function Ra(t,e){t.blockedOn===e&&(t.blockedOn=null,ic||(ic=!0,Dt.unstable_scheduleCallback(Dt.unstable_NormalPriority,Tb)))}var Ua=null;function dh(t){Ua!==t&&(Ua=t,Dt.unstable_scheduleCallback(Dt.unstable_NormalPriority,function(){Ua===t&&(Ua=null);for(var e=0;e<t.length;e+=3){var n=t[e],l=t[e+1],i=t[e+2];if(typeof l!="function"){if(gs(l||n)===null)continue;break}var a=ei(n);a!==null&&(t.splice(e,3),e-=3,Ho(a,{pending:!0,data:i,method:n.method,action:l},l,i))}}))}function $l(t){function e(o){return Ra(o,t)}_n!==null&&Ra(_n,t),On!==null&&Ra(On,t),Mn!==null&&Ra(Mn,t),ea.forEach(e),na.forEach(e);for(var n=0;n<bn.length;n++){var l=bn[n];l.blockedOn===t&&(l.blockedOn=null)}for(;0<bn.length&&(n=bn[0],n.blockedOn===null);)fg(n),n.blockedOn===null&&bn.shift();if(n=(t.ownerDocument||t).$$reactFormReplay,n!=null)for(l=0;l<n.length;l+=3){var i=n[l],a=n[l+1],u=i[Pt]||null;if(typeof a=="function")u||dh(n);else if(u){var r=null;if(a&&a.hasAttribute("formAction")){if(i=a,u=a[Pt]||null)r=u.formAction;else if(gs(i)!==null)continue}else r=u.action;typeof r=="function"?n[l+1]=r:(n.splice(l,3),l-=3),dh(n)}}}function hg(){function t(a){a.canIntercept&&a.info==="react-transition"&&a.intercept({handler:function(){return new Promise(function(u){return i=u})},focusReset:"manual",scroll:"manual"})}function e(){i!==null&&(i(),i=null),l||setTimeout(n,20)}function n(){if(!l&&!navigation.transition){var a=navigation.currentEntry;a&&a.url!=null&&navigation.navigate(a.url,{state:a.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var l=!1,i=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(n,100),function(){l=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),i!==null&&(i(),i=null)}}}function ys(t){this._internalRoot=t}lr.prototype.render=ys.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(A(409));var n=e.current,l=he();og(n,l,t,e,null,null)};lr.prototype.unmount=ys.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;og(t.current,2,null,t,null,null),tr(),e[ti]=null}};function lr(t){this._internalRoot=t}lr.prototype.unstable_scheduleHydration=function(t){if(t){var e=Ym();t={blockedOn:null,target:t,priority:e};for(var n=0;n<bn.length&&e!==0&&e<bn[n].priority;n++);bn.splice(n,0,t),n===0&&fg(t)}};var gh=Cm.version;if(gh!=="19.2.4")throw Error(A(527,gh,"19.2.4"));et.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(A(188)):(t=Object.keys(t).join(","),Error(A(268,t)));return t=Py(e),t=t!==null?Om(t):null,t=t===null?null:t.stateNode,t};var kb={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:j,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var La=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!La.isDisabled&&La.supportsFiber)try{ua=La.inject(kb),se=La}catch{}}qu.createRoot=function(t,e){if(!wm(t))throw Error(A(299));var n=!1,l="",i=ld,a=id,u=ad;return e!=null&&(e.unstable_strictMode===!0&&(n=!0),e.identifierPrefix!==void 0&&(l=e.identifierPrefix),e.onUncaughtError!==void 0&&(i=e.onUncaughtError),e.onCaughtError!==void 0&&(a=e.onCaughtError),e.onRecoverableError!==void 0&&(u=e.onRecoverableError)),e=ug(t,1,!1,null,null,n,l,null,i,a,u,hg),t[ti]=e.current,fs(t),new ys(e)};qu.hydrateRoot=function(t,e,n){if(!wm(t))throw Error(A(299));var l=!1,i="",a=ld,u=id,r=ad,o=null;return n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onUncaughtError!==void 0&&(a=n.onUncaughtError),n.onCaughtError!==void 0&&(u=n.onCaughtError),n.onRecoverableError!==void 0&&(r=n.onRecoverableError),n.formState!==void 0&&(o=n.formState)),e=ug(t,1,!0,e,n??null,l,i,o,a,u,r,hg),e.context=rg(null),n=e.current,l=he(),l=zc(l),i=An(l),i.callback=null,Cn(n,i,l),n=l,e.current.lanes=n,oa(e,n),je(e),t[ti]=e.current,fs(t),new lr(e)};qu.version="19.2.4";function mg(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(mg)}catch(t){console.error(t)}}mg(),xm.exports=qu;var zb=xm.exports;const Ab=Hu(zb);function Cb(t,e){const n={};return(t[t.length-1]===""?[...t,""]:t).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const wb=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Db=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,_b={};function yh(t,e){return(_b.jsx?Db:wb).test(t)}const Ob=/[ \t\n\f\r]/g;function Mb(t){return typeof t=="object"?t.type==="text"?bh(t.value):!1:bh(t)}function bh(t){return t.replace(Ob,"")===""}class ya{constructor(e,n,l){this.normal=n,this.property=e,l&&(this.space=l)}}ya.prototype.normal={};ya.prototype.property={};ya.prototype.space=void 0;function pg(t,e){const n={},l={};for(const i of t)Object.assign(n,i.property),Object.assign(l,i.normal);return new ya(n,l,e)}function ac(t){return t.toLowerCase()}class ee{constructor(e,n){this.attribute=n,this.property=e}}ee.prototype.attribute="";ee.prototype.booleanish=!1;ee.prototype.boolean=!1;ee.prototype.commaOrSpaceSeparated=!1;ee.prototype.commaSeparated=!1;ee.prototype.defined=!1;ee.prototype.mustUseProperty=!1;ee.prototype.number=!1;ee.prototype.overloadedBoolean=!1;ee.prototype.property="";ee.prototype.spaceSeparated=!1;ee.prototype.space=void 0;let Nb=0;const G=sl(),Et=sl(),uc=sl(),D=sl(),st=sl(),ql=sl(),le=sl();function sl(){return 2**++Nb}const rc=Object.freeze(Object.defineProperty({__proto__:null,boolean:G,booleanish:Et,commaOrSpaceSeparated:le,commaSeparated:ql,number:D,overloadedBoolean:uc,spaceSeparated:st},Symbol.toStringTag,{value:"Module"})),Kr=Object.keys(rc);class bs extends ee{constructor(e,n,l,i){let a=-1;if(super(e,n),vh(this,"space",i),typeof l=="number")for(;++a<Kr.length;){const u=Kr[a];vh(this,Kr[a],(l&rc[u])===rc[u])}}}bs.prototype.defined=!0;function vh(t,e,n){n&&(t[e]=n)}function ri(t){const e={},n={};for(const[l,i]of Object.entries(t.properties)){const a=new bs(l,t.transform(t.attributes||{},l),i,t.space);t.mustUseProperty&&t.mustUseProperty.includes(l)&&(a.mustUseProperty=!0),e[l]=a,n[ac(l)]=l,n[ac(a.attribute)]=l}return new ya(e,n,t.space)}const dg=ri({properties:{ariaActiveDescendant:null,ariaAtomic:Et,ariaAutoComplete:null,ariaBusy:Et,ariaChecked:Et,ariaColCount:D,ariaColIndex:D,ariaColSpan:D,ariaControls:st,ariaCurrent:null,ariaDescribedBy:st,ariaDetails:null,ariaDisabled:Et,ariaDropEffect:st,ariaErrorMessage:null,ariaExpanded:Et,ariaFlowTo:st,ariaGrabbed:Et,ariaHasPopup:null,ariaHidden:Et,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:st,ariaLevel:D,ariaLive:null,ariaModal:Et,ariaMultiLine:Et,ariaMultiSelectable:Et,ariaOrientation:null,ariaOwns:st,ariaPlaceholder:null,ariaPosInSet:D,ariaPressed:Et,ariaReadOnly:Et,ariaRelevant:null,ariaRequired:Et,ariaRoleDescription:st,ariaRowCount:D,ariaRowIndex:D,ariaRowSpan:D,ariaSelected:Et,ariaSetSize:D,ariaSort:null,ariaValueMax:D,ariaValueMin:D,ariaValueNow:D,ariaValueText:null,role:null},transform(t,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()}});function gg(t,e){return e in t?t[e]:e}function yg(t,e){return gg(t,e.toLowerCase())}const Rb=ri({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ql,acceptCharset:st,accessKey:st,action:null,allow:null,allowFullScreen:G,allowPaymentRequest:G,allowUserMedia:G,alt:null,as:null,async:G,autoCapitalize:null,autoComplete:st,autoFocus:G,autoPlay:G,blocking:st,capture:null,charSet:null,checked:G,cite:null,className:st,cols:D,colSpan:null,content:null,contentEditable:Et,controls:G,controlsList:st,coords:D|ql,crossOrigin:null,data:null,dateTime:null,decoding:null,default:G,defer:G,dir:null,dirName:null,disabled:G,download:uc,draggable:Et,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:G,formTarget:null,headers:st,height:D,hidden:uc,high:D,href:null,hrefLang:null,htmlFor:st,httpEquiv:st,id:null,imageSizes:null,imageSrcSet:null,inert:G,inputMode:null,integrity:null,is:null,isMap:G,itemId:null,itemProp:st,itemRef:st,itemScope:G,itemType:st,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:G,low:D,manifest:null,max:null,maxLength:D,media:null,method:null,min:null,minLength:D,multiple:G,muted:G,name:null,nonce:null,noModule:G,noValidate:G,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:G,optimum:D,pattern:null,ping:st,placeholder:null,playsInline:G,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:G,referrerPolicy:null,rel:st,required:G,reversed:G,rows:D,rowSpan:D,sandbox:st,scope:null,scoped:G,seamless:G,selected:G,shadowRootClonable:G,shadowRootDelegatesFocus:G,shadowRootMode:null,shape:null,size:D,sizes:null,slot:null,span:D,spellCheck:Et,src:null,srcDoc:null,srcLang:null,srcSet:null,start:D,step:null,style:null,tabIndex:D,target:null,title:null,translate:null,type:null,typeMustMatch:G,useMap:null,value:Et,width:D,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:st,axis:null,background:null,bgColor:null,border:D,borderColor:null,bottomMargin:D,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:G,declare:G,event:null,face:null,frame:null,frameBorder:null,hSpace:D,leftMargin:D,link:null,longDesc:null,lowSrc:null,marginHeight:D,marginWidth:D,noResize:G,noHref:G,noShade:G,noWrap:G,object:null,profile:null,prompt:null,rev:null,rightMargin:D,rules:null,scheme:null,scrolling:Et,standby:null,summary:null,text:null,topMargin:D,valueType:null,version:null,vAlign:null,vLink:null,vSpace:D,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:G,disableRemotePlayback:G,prefix:null,property:null,results:D,security:null,unselectable:null},space:"html",transform:yg}),Ub=ri({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:le,accentHeight:D,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:D,amplitude:D,arabicForm:null,ascent:D,attributeName:null,attributeType:null,azimuth:D,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:D,by:null,calcMode:null,capHeight:D,className:st,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:D,diffuseConstant:D,direction:null,display:null,dur:null,divisor:D,dominantBaseline:null,download:G,dx:null,dy:null,edgeMode:null,editable:null,elevation:D,enableBackground:null,end:null,event:null,exponent:D,externalResourcesRequired:null,fill:null,fillOpacity:D,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:ql,g2:ql,glyphName:ql,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:D,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:D,horizOriginX:D,horizOriginY:D,id:null,ideographic:D,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:D,k:D,k1:D,k2:D,k3:D,k4:D,kernelMatrix:le,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:D,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:D,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:D,overlineThickness:D,paintOrder:null,panose1:null,path:null,pathLength:D,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:st,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:D,pointsAtY:D,pointsAtZ:D,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:le,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:le,rev:le,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:le,requiredFeatures:le,requiredFonts:le,requiredFormats:le,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:D,specularExponent:D,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:D,strikethroughThickness:D,string:null,stroke:null,strokeDashArray:le,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:D,strokeOpacity:D,strokeWidth:null,style:null,surfaceScale:D,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:le,tabIndex:D,tableValues:null,target:null,targetX:D,targetY:D,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:le,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:D,underlineThickness:D,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:D,values:null,vAlphabetic:D,vMathematical:D,vectorEffect:null,vHanging:D,vIdeographic:D,version:null,vertAdvY:D,vertOriginX:D,vertOriginY:D,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:D,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:gg}),bg=ri({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(t,e){return"xlink:"+e.slice(5).toLowerCase()}}),vg=ri({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:yg}),Sg=ri({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(t,e){return"xml:"+e.slice(3).toLowerCase()}}),Lb={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"},Bb=/[A-Z]/g,Sh=/-[a-z]/g,Hb=/^data[-\w.:]+$/i;function jb(t,e){const n=ac(e);let l=e,i=ee;if(n in t.normal)return t.property[t.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Hb.test(e)){if(e.charAt(4)==="-"){const a=e.slice(5).replace(Sh,Yb);l="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=e.slice(4);if(!Sh.test(a)){let u=a.replace(Bb,qb);u.charAt(0)!=="-"&&(u="-"+u),e="data"+u}}i=bs}return new i(l,e)}function qb(t){return"-"+t.toLowerCase()}function Yb(t){return t.charAt(1).toUpperCase()}const Vb=pg([dg,Rb,bg,vg,Sg],"html"),vs=pg([dg,Ub,bg,vg,Sg],"svg");function Gb(t){return t.join(" ").trim()}var Ss={},xh=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Xb=/\n/g,Qb=/^\s*/,Zb=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Kb=/^:\s*/,Fb=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Jb=/^[;\s]*/,Ib=/^\s+|\s+$/g,$b=`
`,Eh="/",Th="*",Kn="",Wb="comment",Pb="declaration";function tv(t,e){if(typeof t!="string")throw new TypeError("First argument must be a string");if(!t)return[];e=e||{};var n=1,l=1;function i(g){var S=g.match(Xb);S&&(n+=S.length);var k=g.lastIndexOf($b);l=~k?g.length-k:l+g.length}function a(){var g={line:n,column:l};return function(S){return S.position=new u(g),c(),S}}function u(g){this.start=g,this.end={line:n,column:l},this.source=e.source}u.prototype.content=t;function r(g){var S=new Error(e.source+":"+n+":"+l+": "+g);if(S.reason=g,S.filename=e.source,S.line=n,S.column=l,S.source=t,!e.silent)throw S}function o(g){var S=g.exec(t);if(S){var k=S[0];return i(k),t=t.slice(k.length),S}}function c(){o(Qb)}function f(g){var S;for(g=g||[];S=s();)S!==!1&&g.push(S);return g}function s(){var g=a();if(!(Eh!=t.charAt(0)||Th!=t.charAt(1))){for(var S=2;Kn!=t.charAt(S)&&(Th!=t.charAt(S)||Eh!=t.charAt(S+1));)++S;if(S+=2,Kn===t.charAt(S-1))return r("End of comment missing");var k=t.slice(2,S-2);return l+=2,i(k),t=t.slice(S),l+=2,g({type:Wb,comment:k})}}function m(){var g=a(),S=o(Zb);if(S){if(s(),!o(Kb))return r("property missing ':'");var k=o(Fb),p=g({type:Pb,property:kh(S[0].replace(xh,Kn)),value:k?kh(k[0].replace(xh,Kn)):Kn});return o(Jb),p}}function h(){var g=[];f(g);for(var S;S=m();)S!==!1&&(g.push(S),f(g));return g}return c(),h()}function kh(t){return t?t.replace(Ib,Kn):Kn}var ev=tv,nv=iu&&iu.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Ss,"__esModule",{value:!0});Ss.default=iv;const lv=nv(ev);function iv(t,e){let n=null;if(!t||typeof t!="string")return n;const l=(0,lv.default)(t),i=typeof e=="function";return l.forEach(a=>{if(a.type!=="declaration")return;const{property:u,value:r}=a;i?e(u,r,a):r&&(n=n||{},n[u]=r)}),n}var ir={};Object.defineProperty(ir,"__esModule",{value:!0});ir.camelCase=void 0;var av=/^--[a-zA-Z0-9_-]+$/,uv=/-([a-z])/g,rv=/^[^-]+$/,ov=/^-(webkit|moz|ms|o|khtml)-/,cv=/^-(ms)-/,sv=function(t){return!t||rv.test(t)||av.test(t)},fv=function(t,e){return e.toUpperCase()},zh=function(t,e){return"".concat(e,"-")},hv=function(t,e){return e===void 0&&(e={}),sv(t)?t:(t=t.toLowerCase(),e.reactCompat?t=t.replace(cv,zh):t=t.replace(ov,zh),t.replace(uv,fv))};ir.camelCase=hv;var mv=iu&&iu.__importDefault||function(t){return t&&t.__esModule?t:{default:t}},pv=mv(Ss),dv=ir;function oc(t,e){var n={};return!t||typeof t!="string"||(0,pv.default)(t,function(l,i){l&&i&&(n[(0,dv.camelCase)(l,e)]=i)}),n}oc.default=oc;var gv=oc;const yv=Hu(gv),xg=Eg("end"),xs=Eg("start");function Eg(t){return e;function e(n){const l=n&&n.position&&n.position[t]||{};if(typeof l.line=="number"&&l.line>0&&typeof l.column=="number"&&l.column>0)return{line:l.line,column:l.column,offset:typeof l.offset=="number"&&l.offset>-1?l.offset:void 0}}}function bv(t){const e=xs(t),n=xg(t);if(e&&n)return{start:e,end:n}}function qi(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?Ah(t.position):"start"in t||"end"in t?Ah(t):"line"in t||"column"in t?cc(t):""}function cc(t){return Ch(t&&t.line)+":"+Ch(t&&t.column)}function Ah(t){return cc(t&&t.start)+"-"+cc(t&&t.end)}function Ch(t){return t&&typeof t=="number"?t:1}class Yt extends Error{constructor(e,n,l){super(),typeof n=="string"&&(l=n,n=void 0);let i="",a={},u=!1;if(n&&("line"in n&&"column"in n?a={place:n}:"start"in n&&"end"in n?a={place:n}:"type"in n?a={ancestors:[n],place:n.position}:a={...n}),typeof e=="string"?i=e:!a.cause&&e&&(u=!0,i=e.message,a.cause=e),!a.ruleId&&!a.source&&typeof l=="string"){const o=l.indexOf(":");o===-1?a.ruleId=l:(a.source=l.slice(0,o),a.ruleId=l.slice(o+1))}if(!a.place&&a.ancestors&&a.ancestors){const o=a.ancestors[a.ancestors.length-1];o&&(a.place=o.position)}const r=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=r?r.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=r?r.line:void 0,this.name=qi(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=u&&a.cause&&typeof a.cause.stack=="string"?a.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Yt.prototype.file="";Yt.prototype.name="";Yt.prototype.reason="";Yt.prototype.message="";Yt.prototype.stack="";Yt.prototype.column=void 0;Yt.prototype.line=void 0;Yt.prototype.ancestors=void 0;Yt.prototype.cause=void 0;Yt.prototype.fatal=void 0;Yt.prototype.place=void 0;Yt.prototype.ruleId=void 0;Yt.prototype.source=void 0;const Es={}.hasOwnProperty,vv=new Map,Sv=/[A-Z]/g,xv=new Set(["table","tbody","thead","tfoot","tr"]),Ev=new Set(["td","th"]),Tg="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function Tv(t,e){if(!e||e.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=e.filePath||void 0;let l;if(e.development){if(typeof e.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");l=Ov(n,e.jsxDEV)}else{if(typeof e.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof e.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");l=_v(n,e.jsx,e.jsxs)}const i={Fragment:e.Fragment,ancestors:[],components:e.components||{},create:l,elementAttributeNameCase:e.elementAttributeNameCase||"react",evaluater:e.createEvaluater?e.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:e.ignoreInvalidStyle||!1,passKeys:e.passKeys!==!1,passNode:e.passNode||!1,schema:e.space==="svg"?vs:Vb,stylePropertyNameCase:e.stylePropertyNameCase||"dom",tableCellAlignToStyle:e.tableCellAlignToStyle!==!1},a=kg(i,t,void 0);return a&&typeof a!="string"?a:i.create(t,i.Fragment,{children:a||void 0},void 0)}function kg(t,e,n){if(e.type==="element")return kv(t,e,n);if(e.type==="mdxFlowExpression"||e.type==="mdxTextExpression")return zv(t,e);if(e.type==="mdxJsxFlowElement"||e.type==="mdxJsxTextElement")return Cv(t,e,n);if(e.type==="mdxjsEsm")return Av(t,e);if(e.type==="root")return wv(t,e,n);if(e.type==="text")return Dv(t,e)}function kv(t,e,n){const l=t.schema;let i=l;e.tagName.toLowerCase()==="svg"&&l.space==="html"&&(i=vs,t.schema=i),t.ancestors.push(e);const a=Ag(t,e.tagName,!1),u=Mv(t,e);let r=ks(t,e);return xv.has(e.tagName)&&(r=r.filter(function(o){return typeof o=="string"?!Mb(o):!0})),zg(t,u,a,e),Ts(u,r),t.ancestors.pop(),t.schema=l,t.create(e,a,u,n)}function zv(t,e){if(e.data&&e.data.estree&&t.evaluater){const l=e.data.estree.body[0];return l.type,t.evaluater.evaluateExpression(l.expression)}la(t,e.position)}function Av(t,e){if(e.data&&e.data.estree&&t.evaluater)return t.evaluater.evaluateProgram(e.data.estree);la(t,e.position)}function Cv(t,e,n){const l=t.schema;let i=l;e.name==="svg"&&l.space==="html"&&(i=vs,t.schema=i),t.ancestors.push(e);const a=e.name===null?t.Fragment:Ag(t,e.name,!0),u=Nv(t,e),r=ks(t,e);return zg(t,u,a,e),Ts(u,r),t.ancestors.pop(),t.schema=l,t.create(e,a,u,n)}function wv(t,e,n){const l={};return Ts(l,ks(t,e)),t.create(e,t.Fragment,l,n)}function Dv(t,e){return e.value}function zg(t,e,n,l){typeof n!="string"&&n!==t.Fragment&&t.passNode&&(e.node=l)}function Ts(t,e){if(e.length>0){const n=e.length>1?e:e[0];n&&(t.children=n)}}function _v(t,e,n){return l;function l(i,a,u,r){const c=Array.isArray(u.children)?n:e;return r?c(a,u,r):c(a,u)}}function Ov(t,e){return n;function n(l,i,a,u){const r=Array.isArray(a.children),o=xs(l);return e(i,a,u,r,{columnNumber:o?o.column-1:void 0,fileName:t,lineNumber:o?o.line:void 0},void 0)}}function Mv(t,e){const n={};let l,i;for(i in e.properties)if(i!=="children"&&Es.call(e.properties,i)){const a=Rv(t,i,e.properties[i]);if(a){const[u,r]=a;t.tableCellAlignToStyle&&u==="align"&&typeof r=="string"&&Ev.has(e.tagName)?l=r:n[u]=r}}if(l){const a=n.style||(n.style={});a[t.stylePropertyNameCase==="css"?"text-align":"textAlign"]=l}return n}function Nv(t,e){const n={};for(const l of e.attributes)if(l.type==="mdxJsxExpressionAttribute")if(l.data&&l.data.estree&&t.evaluater){const a=l.data.estree.body[0];a.type;const u=a.expression;u.type;const r=u.properties[0];r.type,Object.assign(n,t.evaluater.evaluateExpression(r.argument))}else la(t,e.position);else{const i=l.name;let a;if(l.value&&typeof l.value=="object")if(l.value.data&&l.value.data.estree&&t.evaluater){const r=l.value.data.estree.body[0];r.type,a=t.evaluater.evaluateExpression(r.expression)}else la(t,e.position);else a=l.value===null?!0:l.value;n[i]=a}return n}function ks(t,e){const n=[];let l=-1;const i=t.passKeys?new Map:vv;for(;++l<e.children.length;){const a=e.children[l];let u;if(t.passKeys){const o=a.type==="element"?a.tagName:a.type==="mdxJsxFlowElement"||a.type==="mdxJsxTextElement"?a.name:void 0;if(o){const c=i.get(o)||0;u=o+"-"+c,i.set(o,c+1)}}const r=kg(t,a,u);r!==void 0&&n.push(r)}return n}function Rv(t,e,n){const l=jb(t.schema,e);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=l.commaSeparated?Cb(n):Gb(n)),l.property==="style"){let i=typeof n=="object"?n:Uv(t,String(n));return t.stylePropertyNameCase==="css"&&(i=Lv(i)),["style",i]}return[t.elementAttributeNameCase==="react"&&l.space?Lb[l.property]||l.property:l.attribute,n]}}function Uv(t,e){try{return yv(e,{reactCompat:!0})}catch(n){if(t.ignoreInvalidStyle)return{};const l=n,i=new Yt("Cannot parse `style` attribute",{ancestors:t.ancestors,cause:l,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw i.file=t.filePath||void 0,i.url=Tg+"#cannot-parse-style-attribute",i}}function Ag(t,e,n){let l;if(!n)l={type:"Literal",value:e};else if(e.includes(".")){const i=e.split(".");let a=-1,u;for(;++a<i.length;){const r=yh(i[a])?{type:"Identifier",name:i[a]}:{type:"Literal",value:i[a]};u=u?{type:"MemberExpression",object:u,property:r,computed:!!(a&&r.type==="Literal"),optional:!1}:r}l=u}else l=yh(e)&&!/^[a-z]/.test(e)?{type:"Identifier",name:e}:{type:"Literal",value:e};if(l.type==="Literal"){const i=l.value;return Es.call(t.components,i)?t.components[i]:i}if(t.evaluater)return t.evaluater.evaluateExpression(l);la(t)}function la(t,e){const n=new Yt("Cannot handle MDX estrees without `createEvaluater`",{ancestors:t.ancestors,place:e,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=t.filePath||void 0,n.url=Tg+"#cannot-handle-mdx-estrees-without-createevaluater",n}function Lv(t){const e={};let n;for(n in t)Es.call(t,n)&&(e[Bv(n)]=t[n]);return e}function Bv(t){let e=t.replace(Sv,Hv);return e.slice(0,3)==="ms-"&&(e="-"+e),e}function Hv(t){return"-"+t.toLowerCase()}const Fr={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"]},jv={};function zs(t,e){const n=jv,l=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Cg(t,l,i)}function Cg(t,e,n){if(qv(t)){if("value"in t)return t.type==="html"&&!n?"":t.value;if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return wh(t.children,e,n)}return Array.isArray(t)?wh(t,e,n):""}function wh(t,e,n){const l=[];let i=-1;for(;++i<t.length;)l[i]=Cg(t[i],e,n);return l.join("")}function qv(t){return!!(t&&typeof t=="object")}const Dh=document.createElement("i");function As(t){const e="&"+t+";";Dh.innerHTML=e;const n=Dh.textContent;return n.charCodeAt(n.length-1)===59&&t!=="semi"||n===e?!1:n}function me(t,e,n,l){const i=t.length;let a=0,u;if(e<0?e=-e>i?0:i+e:e=e>i?i:e,n=n>0?n:0,l.length<1e4)u=Array.from(l),u.unshift(e,n),t.splice(...u);else for(n&&t.splice(e,n);a<l.length;)u=l.slice(a,a+1e4),u.unshift(e,0),t.splice(...u),a+=1e4,e+=1e4}function xe(t,e){return t.length>0?(me(t,t.length,0,e),t):e}const _h={}.hasOwnProperty;function wg(t){const e={};let n=-1;for(;++n<t.length;)Yv(e,t[n]);return e}function Yv(t,e){let n;for(n in e){const i=(_h.call(t,n)?t[n]:void 0)||(t[n]={}),a=e[n];let u;if(a)for(u in a){_h.call(i,u)||(i[u]=[]);const r=a[u];Vv(i[u],Array.isArray(r)?r:r?[r]:[])}}}function Vv(t,e){let n=-1;const l=[];for(;++n<e.length;)(e[n].add==="after"?t:l).push(e[n]);me(t,0,0,l)}function Dg(t,e){const n=Number.parseInt(t,e);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"<22>":String.fromCodePoint(n)}function Oe(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Gt=jn(/[A-Za-z]/),qt=jn(/[\dA-Za-z]/),Gv=jn(/[#-'*+\--9=?A-Z^-~]/);function Ru(t){return t!==null&&(t<32||t===127)}const sc=jn(/\d/),Xv=jn(/[\dA-Fa-f]/),Qv=jn(/[!-/:-@[-`{-~]/);function B(t){return t!==null&&t<-2}function ct(t){return t!==null&&(t<0||t===32)}function F(t){return t===-2||t===-1||t===32}const ar=jn(new RegExp("\\p{P}|\\p{S}","u")),il=jn(/\s/);function jn(t){return e;function e(n){return n!==null&&n>-1&&t.test(String.fromCharCode(n))}}function oi(t){const e=[];let n=-1,l=0,i=0;for(;++n<t.length;){const a=t.charCodeAt(n);let u="";if(a===37&&qt(t.charCodeAt(n+1))&&qt(t.charCodeAt(n+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(u=String.fromCharCode(a));else if(a>55295&&a<57344){const r=t.charCodeAt(n+1);a<56320&&r>56319&&r<57344?(u=String.fromCharCode(a,r),i=1):u="<22>"}else u=String.fromCharCode(a);u&&(e.push(t.slice(l,n),encodeURIComponent(u)),l=n+i+1,u=""),i&&(n+=i,i=0)}return e.join("")+t.slice(l)}function W(t,e,n,l){const i=l?l-1:Number.POSITIVE_INFINITY;let a=0;return u;function u(o){return F(o)?(t.enter(n),r(o)):e(o)}function r(o){return F(o)&&a++<i?(t.consume(o),r):(t.exit(n),e(o))}}const Zv={tokenize:Kv};function Kv(t){const e=t.attempt(this.parser.constructs.contentInitial,l,i);let n;return e;function l(r){if(r===null){t.consume(r);return}return t.enter("lineEnding"),t.consume(r),t.exit("lineEnding"),W(t,e,"linePrefix")}function i(r){return t.enter("paragraph"),a(r)}function a(r){const o=t.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=o),n=o,u(r)}function u(r){if(r===null){t.exit("chunkText"),t.exit("paragraph"),t.consume(r);return}return B(r)?(t.consume(r),t.exit("chunkText"),a):(t.consume(r),u)}}const Fv={tokenize:Jv},Oh={tokenize:Iv};function Jv(t){const e=this,n=[];let l=0,i,a,u;return r;function r(y){if(l<n.length){const E=n[l];return e.containerState=E[1],t.attempt(E[0].continuation,o,c)(y)}return c(y)}function o(y){if(l++,e.containerState._closeFlow){e.containerState._closeFlow=void 0,i&&d();const E=e.events.length;let w=E,T;for(;w--;)if(e.events[w][0]==="exit"&&e.events[w][1].type==="chunkFlow"){T=e.events[w][1].end;break}p(l);let C=E;for(;C<e.events.length;)e.events[C][1].end={...T},C++;return me(e.events,w+1,0,e.events.slice(E)),e.events.length=C,c(y)}return r(y)}function c(y){if(l===n.length){if(!i)return m(y);if(i.currentConstruct&&i.currentConstruct.concrete)return g(y);e.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return e.containerState={},t.check(Oh,f,s)(y)}function f(y){return i&&d(),p(l),m(y)}function s(y){return e.parser.lazy[e.now().line]=l!==n.length,u=e.now().offset,g(y)}function m(y){return e.containerState={},t.attempt(Oh,h,g)(y)}function h(y){return l++,n.push([e.currentConstruct,e.containerState]),m(y)}function g(y){if(y===null){i&&d(),p(0),t.consume(y);return}return i=i||e.parser.flow(e.now()),t.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:a}),S(y)}function S(y){if(y===null){k(t.exit("chunkFlow"),!0),p(0),t.consume(y);return}return B(y)?(t.consume(y),k(t.exit("chunkFlow")),l=0,e.interrupt=void 0,r):(t.consume(y),S)}function k(y,E){const w=e.sliceStream(y);if(E&&w.push(null),y.previous=a,a&&(a.next=y),a=y,i.defineSkip(y.start),i.write(w),e.parser.lazy[y.start.line]){let T=i.events.length;for(;T--;)if(i.events[T][1].start.offset<u&&(!i.events[T][1].end||i.events[T][1].end.offset>u))return;const C=e.events.length;let M=C,N,x;for(;M--;)if(e.events[M][0]==="exit"&&e.events[M][1].type==="chunkFlow"){if(N){x=e.events[M][1].end;break}N=!0}for(p(l),T=C;T<e.events.length;)e.events[T][1].end={...x},T++;me(e.events,M+1,0,e.events.slice(C)),e.events.length=T}}function p(y){let E=n.length;for(;E-- >y;){const w=n[E];e.containerState=w[1],w[0].exit.call(e,t)}n.length=y}function d(){i.write([null]),a=void 0,i=void 0,e.containerState._closeFlow=void 0}}function Iv(t,e,n){return W(t,t.attempt(this.parser.constructs.document,e,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Wl(t){if(t===null||ct(t)||il(t))return 1;if(ar(t))return 2}function ur(t,e,n){const l=[];let i=-1;for(;++i<t.length;){const a=t[i].resolveAll;a&&!l.includes(a)&&(e=a(e,n),l.push(a))}return e}const fc={name:"attention",resolveAll:$v,tokenize:Wv};function $v(t,e){let n=-1,l,i,a,u,r,o,c,f;for(;++n<t.length;)if(t[n][0]==="enter"&&t[n][1].type==="attentionSequence"&&t[n][1]._close){for(l=n;l--;)if(t[l][0]==="exit"&&t[l][1].type==="attentionSequence"&&t[l][1]._open&&e.sliceSerialize(t[l][1]).charCodeAt(0)===e.sliceSerialize(t[n][1]).charCodeAt(0)){if((t[l][1]._close||t[n][1]._open)&&(t[n][1].end.offset-t[n][1].start.offset)%3&&!((t[l][1].end.offset-t[l][1].start.offset+t[n][1].end.offset-t[n][1].start.offset)%3))continue;o=t[l][1].end.offset-t[l][1].start.offset>1&&t[n][1].end.offset-t[n][1].start.offset>1?2:1;const s={...t[l][1].end},m={...t[n][1].start};Mh(s,-o),Mh(m,o),u={type:o>1?"strongSequence":"emphasisSequence",start:s,end:{...t[l][1].end}},r={type:o>1?"strongSequence":"emphasisSequence",start:{...t[n][1].start},end:m},a={type:o>1?"strongText":"emphasisText",start:{...t[l][1].end},end:{...t[n][1].start}},i={type:o>1?"strong":"emphasis",start:{...u.start},end:{...r.end}},t[l][1].end={...u.start},t[n][1].start={...r.end},c=[],t[l][1].end.offset-t[l][1].start.offset&&(c=xe(c,[["enter",t[l][1],e],["exit",t[l][1],e]])),c=xe(c,[["enter",i,e],["enter",u,e],["exit",u,e],["enter",a,e]]),c=xe(c,ur(e.parser.constructs.insideSpan.null,t.slice(l+1,n),e)),c=xe(c,[["exit",a,e],["enter",r,e],["exit",r,e],["exit",i,e]]),t[n][1].end.offset-t[n][1].start.offset?(f=2,c=xe(c,[["enter",t[n][1],e],["exit",t[n][1],e]])):f=0,me(t,l-1,n-l+3,c),n=l+c.length-f-2;break}}for(n=-1;++n<t.length;)t[n][1].type==="attentionSequence"&&(t[n][1].type="data");return t}function Wv(t,e){const n=this.parser.constructs.attentionMarkers.null,l=this.previous,i=Wl(l);let a;return u;function u(o){return a=o,t.enter("attentionSequence"),r(o)}function r(o){if(o===a)return t.consume(o),r;const c=t.exit("attentionSequence"),f=Wl(o),s=!f||f===2&&i||n.includes(o),m=!i||i===2&&f||n.includes(l);return c._open=!!(a===42?s:s&&(i||!m)),c._close=!!(a===42?m:m&&(f||!s)),e(o)}}function Mh(t,e){t.column+=e,t.offset+=e,t._bufferIndex+=e}const Pv={name:"autolink",tokenize:tS};function tS(t,e,n){let l=0;return i;function i(h){return t.enter("autolink"),t.enter("autolinkMarker"),t.consume(h),t.exit("autolinkMarker"),t.enter("autolinkProtocol"),a}function a(h){return Gt(h)?(t.consume(h),u):h===64?n(h):c(h)}function u(h){return h===43||h===45||h===46||qt(h)?(l=1,r(h)):c(h)}function r(h){return h===58?(t.consume(h),l=0,o):(h===43||h===45||h===46||qt(h))&&l++<32?(t.consume(h),r):(l=0,c(h))}function o(h){return h===62?(t.exit("autolinkProtocol"),t.enter("autolinkMarker"),t.consume(h),t.exit("autolinkMarker"),t.exit("autolink"),e):h===null||h===32||h===60||Ru(h)?n(h):(t.consume(h),o)}function c(h){return h===64?(t.consume(h),f):Gv(h)?(t.consume(h),c):n(h)}function f(h){return qt(h)?s(h):n(h)}function s(h){return h===46?(t.consume(h),l=0,f):h===62?(t.exit("autolinkProtocol").type="autolinkEmail",t.enter("autolinkMarker"),t.consume(h),t.exit("autolinkMarker"),t.exit("autolink"),e):m(h)}function m(h){if((h===45||qt(h))&&l++<63){const g=h===45?m:s;return t.consume(h),g}return n(h)}}const ba={partial:!0,tokenize:eS};function eS(t,e,n){return l;function l(a){return F(a)?W(t,i,"linePrefix")(a):i(a)}function i(a){return a===null||B(a)?e(a):n(a)}}const _g={continuation:{tokenize:lS},exit:iS,name:"blockQuote",tokenize:nS};function nS(t,e,n){const l=this;return i;function i(u){if(u===62){const r=l.containerState;return r.open||(t.enter("blockQuote",{_container:!0}),r.open=!0),t.enter("blockQuotePrefix"),t.enter("blockQuoteMarker"),t.consume(u),t.exit("blockQuoteMarker"),a}return n(u)}function a(u){return F(u)?(t.enter("blockQuotePrefixWhitespace"),t.consume(u),t.exit("blockQuotePrefixWhitespace"),t.exit("blockQuotePrefix"),e):(t.exit("blockQuotePrefix"),e(u))}}function lS(t,e,n){const l=this;return i;function i(u){return F(u)?W(t,a,"linePrefix",l.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u):a(u)}function a(u){return t.attempt(_g,e,n)(u)}}function iS(t){t.exit("blockQuote")}const Og={name:"characterEscape",tokenize:aS};function aS(t,e,n){return l;function l(a){return t.enter("characterEscape"),t.enter("escapeMarker"),t.consume(a),t.exit("escapeMarker"),i}function i(a){return Qv(a)?(t.enter("characterEscapeValue"),t.consume(a),t.exit("characterEscapeValue"),t.exit("characterEscape"),e):n(a)}}const Mg={name:"characterReference",tokenize:uS};function uS(t,e,n){const l=this;let i=0,a,u;return r;function r(s){return t.enter("characterReference"),t.enter("characterReferenceMarker"),t.consume(s),t.exit("characterReferenceMarker"),o}function o(s){return s===35?(t.enter("characterReferenceMarkerNumeric"),t.consume(s),t.exit("characterReferenceMarkerNumeric"),c):(t.enter("characterReferenceValue"),a=31,u=qt,f(s))}function c(s){return s===88||s===120?(t.enter("characterReferenceMarkerHexadecimal"),t.consume(s),t.exit("characterReferenceMarkerHexadecimal"),t.enter("characterReferenceValue"),a=6,u=Xv,f):(t.enter("characterReferenceValue"),a=7,u=sc,f(s))}function f(s){if(s===59&&i){const m=t.exit("characterReferenceValue");return u===qt&&!As(l.sliceSerialize(m))?n(s):(t.enter("characterReferenceMarker"),t.consume(s),t.exit("characterReferenceMarker"),t.exit("characterReference"),e)}return u(s)&&i++<a?(t.consume(s),f):n(s)}}const Nh={partial:!0,tokenize:oS},Rh={concrete:!0,name:"codeFenced",tokenize:rS};function rS(t,e,n){const l=this,i={partial:!0,tokenize:w};let a=0,u=0,r;return o;function o(T){return c(T)}function c(T){const C=l.events[l.events.length-1];return a=C&&C[1].type==="linePrefix"?C[2].sliceSerialize(C[1],!0).length:0,r=T,t.enter("codeFenced"),t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),f(T)}function f(T){return T===r?(u++,t.consume(T),f):u<3?n(T):(t.exit("codeFencedFenceSequence"),F(T)?W(t,s,"whitespace")(T):s(T))}function s(T){return T===null||B(T)?(t.exit("codeFencedFence"),l.interrupt?e(T):t.check(Nh,S,E)(T)):(t.enter("codeFencedFenceInfo"),t.enter("chunkString",{contentType:"string"}),m(T))}function m(T){return T===null||B(T)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),s(T)):F(T)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),W(t,h,"whitespace")(T)):T===96&&T===r?n(T):(t.consume(T),m)}function h(T){return T===null||B(T)?s(T):(t.enter("codeFencedFenceMeta"),t.enter("chunkString",{contentType:"string"}),g(T))}function g(T){return T===null||B(T)?(t.exit("chunkString"),t.exit("codeFencedFenceMeta"),s(T)):T===96&&T===r?n(T):(t.consume(T),g)}function S(T){return t.attempt(i,E,k)(T)}function k(T){return t.enter("lineEnding"),t.consume(T),t.exit("lineEnding"),p}function p(T){return a>0&&F(T)?W(t,d,"linePrefix",a+1)(T):d(T)}function d(T){return T===null||B(T)?t.check(Nh,S,E)(T):(t.enter("codeFlowValue"),y(T))}function y(T){return T===null||B(T)?(t.exit("codeFlowValue"),d(T)):(t.consume(T),y)}function E(T){return t.exit("codeFenced"),e(T)}function w(T,C,M){let N=0;return x;function x(Q){return T.enter("lineEnding"),T.consume(Q),T.exit("lineEnding"),R}function R(Q){return T.enter("codeFencedFence"),F(Q)?W(T,U,"linePrefix",l.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Q):U(Q)}function U(Q){return Q===r?(T.enter("codeFencedFenceSequence"),nt(Q)):M(Q)}function nt(Q){return Q===r?(N++,T.consume(Q),nt):N>=u?(T.exit("codeFencedFenceSequence"),F(Q)?W(T,ht,"whitespace")(Q):ht(Q)):M(Q)}function ht(Q){return Q===null||B(Q)?(T.exit("codeFencedFence"),C(Q)):M(Q)}}}function oS(t,e,n){const l=this;return i;function i(u){return u===null?n(u):(t.enter("lineEnding"),t.consume(u),t.exit("lineEnding"),a)}function a(u){return l.parser.lazy[l.now().line]?n(u):e(u)}}const Jr={name:"codeIndented",tokenize:sS},cS={partial:!0,tokenize:fS};function sS(t,e,n){const l=this;return i;function i(c){return t.enter("codeIndented"),W(t,a,"linePrefix",5)(c)}function a(c){const f=l.events[l.events.length-1];return f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?u(c):n(c)}function u(c){return c===null?o(c):B(c)?t.attempt(cS,u,o)(c):(t.enter("codeFlowValue"),r(c))}function r(c){return c===null||B(c)?(t.exit("codeFlowValue"),u(c)):(t.consume(c),r)}function o(c){return t.exit("codeIndented"),e(c)}}function fS(t,e,n){const l=this;return i;function i(u){return l.parser.lazy[l.now().line]?n(u):B(u)?(t.enter("lineEnding"),t.consume(u),t.exit("lineEnding"),i):W(t,a,"linePrefix",5)(u)}function a(u){const r=l.events[l.events.length-1];return r&&r[1].type==="linePrefix"&&r[2].sliceSerialize(r[1],!0).length>=4?e(u):B(u)?i(u):n(u)}}const hS={name:"codeText",previous:pS,resolve:mS,tokenize:dS};function mS(t){let e=t.length-4,n=3,l,i;if((t[n][1].type==="lineEnding"||t[n][1].type==="space")&&(t[e][1].type==="lineEnding"||t[e][1].type==="space")){for(l=n;++l<e;)if(t[l][1].type==="codeTextData"){t[n][1].type="codeTextPadding",t[e][1].type="codeTextPadding",n+=2,e-=2;break}}for(l=n-1,e++;++l<=e;)i===void 0?l!==e&&t[l][1].type!=="lineEnding"&&(i=l):(l===e||t[l][1].type==="lineEnding")&&(t[i][1].type="codeTextData",l!==i+2&&(t[i][1].end=t[l-1][1].end,t.splice(i+2,l-i-2),e-=l-i-2,l=i+2),i=void 0);return t}function pS(t){return t!==96||this.events[this.events.length-1][1].type==="characterEscape"}function dS(t,e,n){let l=0,i,a;return u;function u(s){return t.enter("codeText"),t.enter("codeTextSequence"),r(s)}function r(s){return s===96?(t.consume(s),l++,r):(t.exit("codeTextSequence"),o(s))}function o(s){return s===null?n(s):s===32?(t.enter("space"),t.consume(s),t.exit("space"),o):s===96?(a=t.enter("codeTextSequence"),i=0,f(s)):B(s)?(t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),o):(t.enter("codeTextData"),c(s))}function c(s){return s===null||s===32||s===96||B(s)?(t.exit("codeTextData"),o(s)):(t.consume(s),c)}function f(s){return s===96?(t.consume(s),i++,f):i===l?(t.exit("codeTextSequence"),t.exit("codeText"),e(s)):(a.type="codeTextData",c(s))}}class gS{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,n){const l=n??Number.POSITIVE_INFINITY;return l<this.left.length?this.left.slice(e,l):e>this.left.length?this.right.slice(this.right.length-l+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-l+this.left.length).reverse())}splice(e,n,l){const i=n||0;this.setCursor(Math.trunc(e));const a=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return l&&vi(this.left,l),a.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),vi(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),vi(this.right,e.reverse())}setCursor(e){if(!(e===this.left.length||e>this.left.length&&this.right.length===0||e<0&&this.left.length===0))if(e<this.left.length){const n=this.left.splice(e,Number.POSITIVE_INFINITY);vi(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);vi(this.left,n.reverse())}}}function vi(t,e){let n=0;if(e.length<1e4)t.push(...e);else for(;n<e.length;)t.push(...e.slice(n,n+1e4)),n+=1e4}function Ng(t){const e={};let n=-1,l,i,a,u,r,o,c;const f=new gS(t);for(;++n<f.length;){for(;n in e;)n=e[n];if(l=f.get(n),n&&l[1].type==="chunkFlow"&&f.get(n-1)[1].type==="listItemPrefix"&&(o=l[1]._tokenizer.events,a=0,a<o.length&&o[a][1].type==="lineEndingBlank"&&(a+=2),a<o.length&&o[a][1].type==="content"))for(;++a<o.length&&o[a][1].type!=="content";)o[a][1].type==="chunkText"&&(o[a][1]._isInFirstContentOfListItem=!0,a++);if(l[0]==="enter")l[1].contentType&&(Object.assign(e,yS(f,n)),n=e[n],c=!0);else if(l[1]._container){for(a=n,i=void 0;a--;)if(u=f.get(a),u[1].type==="lineEnding"||u[1].type==="lineEndingBlank")u[0]==="enter"&&(i&&(f.get(i)[1].type="lineEndingBlank"),u[1].type="lineEnding",i=a);else if(!(u[1].type==="linePrefix"||u[1].type==="listItemIndent"))break;i&&(l[1].end={...f.get(i)[1].start},r=f.slice(i,n),r.unshift(l),f.splice(i,n-i+1,r))}}return me(t,0,Number.POSITIVE_INFINITY,f.slice(0)),!c}function yS(t,e){const n=t.get(e)[1],l=t.get(e)[2];let i=e-1;const a=[];let u=n._tokenizer;u||(u=l.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(u._contentTypeTextTrailing=!0));const r=u.events,o=[],c={};let f,s,m=-1,h=n,g=0,S=0;const k=[S];for(;h;){for(;t.get(++i)[1]!==h;);a.push(i),h._tokenizer||(f=l.sliceStream(h),h.next||f.push(null),s&&u.defineSkip(h.start),h._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=!0),u.write(f),h._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=void 0)),s=h,h=h.next}for(h=n;++m<r.length;)r[m][0]==="exit"&&r[m-1][0]==="enter"&&r[m][1].type===r[m-1][1].type&&r[m][1].start.line!==r[m][1].end.line&&(S=m+1,k.push(S),h._tokenizer=void 0,h.previous=void 0,h=h.next);for(u.events=[],h?(h._tokenizer=void 0,h.previous=void 0):k.pop(),m=k.length;m--;){const p=r.slice(k[m],k[m+1]),d=a.pop();o.push([d,d+p.length-1]),t.splice(d,2,p)}for(o.reverse(),m=-1;++m<o.length;)c[g+o[m][0]]=g+o[m][1],g+=o[m][1]-o[m][0]-1;return c}const bS={resolve:SS,tokenize:xS},vS={partial:!0,tokenize:ES};function SS(t){return Ng(t),t}function xS(t,e){let n;return l;function l(r){return t.enter("content"),n=t.enter("chunkContent",{contentType:"content"}),i(r)}function i(r){return r===null?a(r):B(r)?t.check(vS,u,a)(r):(t.consume(r),i)}function a(r){return t.exit("chunkContent"),t.exit("content"),e(r)}function u(r){return t.consume(r),t.exit("chunkContent"),n.next=t.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function ES(t,e,n){const l=this;return i;function i(u){return t.exit("chunkContent"),t.enter("lineEnding"),t.consume(u),t.exit("lineEnding"),W(t,a,"linePrefix")}function a(u){if(u===null||B(u))return n(u);const r=l.events[l.events.length-1];return!l.parser.constructs.disable.null.includes("codeIndented")&&r&&r[1].type==="linePrefix"&&r[2].sliceSerialize(r[1],!0).length>=4?e(u):t.interrupt(l.parser.constructs.flow,n,e)(u)}}function Rg(t,e,n,l,i,a,u,r,o){const c=o||Number.POSITIVE_INFINITY;let f=0;return s;function s(p){return p===60?(t.enter(l),t.enter(i),t.enter(a),t.consume(p),t.exit(a),m):p===null||p===32||p===41||Ru(p)?n(p):(t.enter(l),t.enter(u),t.enter(r),t.enter("chunkString",{contentType:"string"}),S(p))}function m(p){return p===62?(t.enter(a),t.consume(p),t.exit(a),t.exit(i),t.exit(l),e):(t.enter(r),t.enter("chunkString",{contentType:"string"}),h(p))}function h(p){return p===62?(t.exit("chunkString"),t.exit(r),m(p)):p===null||p===60||B(p)?n(p):(t.consume(p),p===92?g:h)}function g(p){return p===60||p===62||p===92?(t.consume(p),h):h(p)}function S(p){return!f&&(p===null||p===41||ct(p))?(t.exit("chunkString"),t.exit(r),t.exit(u),t.exit(l),e(p)):f<c&&p===40?(t.consume(p),f++,S):p===41?(t.consume(p),f--,S):p===null||p===32||p===40||Ru(p)?n(p):(t.consume(p),p===92?k:S)}function k(p){return p===40||p===41||p===92?(t.consume(p),S):S(p)}}function Ug(t,e,n,l,i,a){const u=this;let r=0,o;return c;function c(h){return t.enter(l),t.enter(i),t.consume(h),t.exit(i),t.enter(a),f}function f(h){return r>999||h===null||h===91||h===93&&!o||h===94&&!r&&"_hiddenFootnoteSupport"in u.parser.constructs?n(h):h===93?(t.exit(a),t.enter(i),t.consume(h),t.exit(i),t.exit(l),e):B(h)?(t.enter("lineEnding"),t.consume(h),t.exit("lineEnding"),f):(t.enter("chunkString",{contentType:"string"}),s(h))}function s(h){return h===null||h===91||h===93||B(h)||r++>999?(t.exit("chunkString"),f(h)):(t.consume(h),o||(o=!F(h)),h===92?m:s)}function m(h){return h===91||h===92||h===93?(t.consume(h),r++,s):s(h)}}function Lg(t,e,n,l,i,a){let u;return r;function r(m){return m===34||m===39||m===40?(t.enter(l),t.enter(i),t.consume(m),t.exit(i),u=m===40?41:m,o):n(m)}function o(m){return m===u?(t.enter(i),t.consume(m),t.exit(i),t.exit(l),e):(t.enter(a),c(m))}function c(m){return m===u?(t.exit(a),o(u)):m===null?n(m):B(m)?(t.enter("lineEnding"),t.consume(m),t.exit("lineEnding"),W(t,c,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),f(m))}function f(m){return m===u||m===null||B(m)?(t.exit("chunkString"),c(m)):(t.consume(m),m===92?s:f)}function s(m){return m===u||m===92?(t.consume(m),f):f(m)}}function Yi(t,e){let n;return l;function l(i){return B(i)?(t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),n=!0,l):F(i)?W(t,l,n?"linePrefix":"lineSuffix")(i):e(i)}}const TS={name:"definition",tokenize:zS},kS={partial:!0,tokenize:AS};function zS(t,e,n){const l=this;let i;return a;function a(h){return t.enter("definition"),u(h)}function u(h){return Ug.call(l,t,r,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(h)}function r(h){return i=Oe(l.sliceSerialize(l.events[l.events.length-1][1]).slice(1,-1)),h===58?(t.enter("definitionMarker"),t.consume(h),t.exit("definitionMarker"),o):n(h)}function o(h){return ct(h)?Yi(t,c)(h):c(h)}function c(h){return Rg(t,f,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(h)}function f(h){return t.attempt(kS,s,s)(h)}function s(h){return F(h)?W(t,m,"whitespace")(h):m(h)}function m(h){return h===null||B(h)?(t.exit("definition"),l.parser.defined.push(i),e(h)):n(h)}}function AS(t,e,n){return l;function l(r){return ct(r)?Yi(t,i)(r):n(r)}function i(r){return Lg(t,a,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(r)}function a(r){return F(r)?W(t,u,"whitespace")(r):u(r)}function u(r){return r===null||B(r)?e(r):n(r)}}const CS={name:"hardBreakEscape",tokenize:wS};function wS(t,e,n){return l;function l(a){return t.enter("hardBreakEscape"),t.consume(a),i}function i(a){return B(a)?(t.exit("hardBreakEscape"),e(a)):n(a)}}const DS={name:"headingAtx",resolve:_S,tokenize:OS};function _S(t,e){let n=t.length-2,l=3,i,a;return t[l][1].type==="whitespace"&&(l+=2),n-2>l&&t[n][1].type==="whitespace"&&(n-=2),t[n][1].type==="atxHeadingSequence"&&(l===n-1||n-4>l&&t[n-2][1].type==="whitespace")&&(n-=l+1===n?2:4),n>l&&(i={type:"atxHeadingText",start:t[l][1].start,end:t[n][1].end},a={type:"chunkText",start:t[l][1].start,end:t[n][1].end,contentType:"text"},me(t,l,n-l+1,[["enter",i,e],["enter",a,e],["exit",a,e],["exit",i,e]])),t}function OS(t,e,n){let l=0;return i;function i(f){return t.enter("atxHeading"),a(f)}function a(f){return t.enter("atxHeadingSequence"),u(f)}function u(f){return f===35&&l++<6?(t.consume(f),u):f===null||ct(f)?(t.exit("atxHeadingSequence"),r(f)):n(f)}function r(f){return f===35?(t.enter("atxHeadingSequence"),o(f)):f===null||B(f)?(t.exit("atxHeading"),e(f)):F(f)?W(t,r,"whitespace")(f):(t.enter("atxHeadingText"),c(f))}function o(f){return f===35?(t.consume(f),o):(t.exit("atxHeadingSequence"),r(f))}function c(f){return f===null||f===35||ct(f)?(t.exit("atxHeadingText"),r(f)):(t.consume(f),c)}}const MS=["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"],Uh=["pre","script","style","textarea"],NS={concrete:!0,name:"htmlFlow",resolveTo:LS,tokenize:BS},RS={partial:!0,tokenize:jS},US={partial:!0,tokenize:HS};function LS(t){let e=t.length;for(;e--&&!(t[e][0]==="enter"&&t[e][1].type==="htmlFlow"););return e>1&&t[e-2][1].type==="linePrefix"&&(t[e][1].start=t[e-2][1].start,t[e+1][1].start=t[e-2][1].start,t.splice(e-2,2)),t}function BS(t,e,n){const l=this;let i,a,u,r,o;return c;function c(v){return f(v)}function f(v){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(v),s}function s(v){return v===33?(t.consume(v),m):v===47?(t.consume(v),a=!0,S):v===63?(t.consume(v),i=3,l.interrupt?e:b):Gt(v)?(t.consume(v),u=String.fromCharCode(v),k):n(v)}function m(v){return v===45?(t.consume(v),i=2,h):v===91?(t.consume(v),i=5,r=0,g):Gt(v)?(t.consume(v),i=4,l.interrupt?e:b):n(v)}function h(v){return v===45?(t.consume(v),l.interrupt?e:b):n(v)}function g(v){const Ct="CDATA[";return v===Ct.charCodeAt(r++)?(t.consume(v),r===Ct.length?l.interrupt?e:U:g):n(v)}function S(v){return Gt(v)?(t.consume(v),u=String.fromCharCode(v),k):n(v)}function k(v){if(v===null||v===47||v===62||ct(v)){const Ct=v===47,ge=u.toLowerCase();return!Ct&&!a&&Uh.includes(ge)?(i=1,l.interrupt?e(v):U(v)):MS.includes(u.toLowerCase())?(i=6,Ct?(t.consume(v),p):l.interrupt?e(v):U(v)):(i=7,l.interrupt&&!l.parser.lazy[l.now().line]?n(v):a?d(v):y(v))}return v===45||qt(v)?(t.consume(v),u+=String.fromCharCode(v),k):n(v)}function p(v){return v===62?(t.consume(v),l.interrupt?e:U):n(v)}function d(v){return F(v)?(t.consume(v),d):x(v)}function y(v){return v===47?(t.consume(v),x):v===58||v===95||Gt(v)?(t.consume(v),E):F(v)?(t.consume(v),y):x(v)}function E(v){return v===45||v===46||v===58||v===95||qt(v)?(t.consume(v),E):w(v)}function w(v){return v===61?(t.consume(v),T):F(v)?(t.consume(v),w):y(v)}function T(v){return v===null||v===60||v===61||v===62||v===96?n(v):v===34||v===39?(t.consume(v),o=v,C):F(v)?(t.consume(v),T):M(v)}function C(v){return v===o?(t.consume(v),o=null,N):v===null||B(v)?n(v):(t.consume(v),C)}function M(v){return v===null||v===34||v===39||v===47||v===60||v===61||v===62||v===96||ct(v)?w(v):(t.consume(v),M)}function N(v){return v===47||v===62||F(v)?y(v):n(v)}function x(v){return v===62?(t.consume(v),R):n(v)}function R(v){return v===null||B(v)?U(v):F(v)?(t.consume(v),R):n(v)}function U(v){return v===45&&i===2?(t.consume(v),_):v===60&&i===1?(t.consume(v),L):v===62&&i===4?(t.consume(v),jt):v===63&&i===3?(t.consume(v),b):v===93&&i===5?(t.consume(v),P):B(v)&&(i===6||i===7)?(t.exit("htmlFlowData"),t.check(RS,Zt,nt)(v)):v===null||B(v)?(t.exit("htmlFlowData"),nt(v)):(t.consume(v),U)}function nt(v){return t.check(US,ht,Zt)(v)}function ht(v){return t.enter("lineEnding"),t.consume(v),t.exit("lineEnding"),Q}function Q(v){return v===null||B(v)?nt(v):(t.enter("htmlFlowData"),U(v))}function _(v){return v===45?(t.consume(v),b):U(v)}function L(v){return v===47?(t.consume(v),u="",H):U(v)}function H(v){if(v===62){const Ct=u.toLowerCase();return Uh.includes(Ct)?(t.consume(v),jt):U(v)}return Gt(v)&&u.length<8?(t.consume(v),u+=String.fromCharCode(v),H):U(v)}function P(v){return v===93?(t.consume(v),b):U(v)}function b(v){return v===62?(t.consume(v),jt):v===45&&i===2?(t.consume(v),b):U(v)}function jt(v){return v===null||B(v)?(t.exit("htmlFlowData"),Zt(v)):(t.consume(v),jt)}function Zt(v){return t.exit("htmlFlow"),e(v)}}function HS(t,e,n){const l=this;return i;function i(u){return B(u)?(t.enter("lineEnding"),t.consume(u),t.exit("lineEnding"),a):n(u)}function a(u){return l.parser.lazy[l.now().line]?n(u):e(u)}}function jS(t,e,n){return l;function l(i){return t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),t.attempt(ba,e,n)}}const qS={name:"htmlText",tokenize:YS};function YS(t,e,n){const l=this;let i,a,u;return r;function r(b){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(b),o}function o(b){return b===33?(t.consume(b),c):b===47?(t.consume(b),w):b===63?(t.consume(b),y):Gt(b)?(t.consume(b),M):n(b)}function c(b){return b===45?(t.consume(b),f):b===91?(t.consume(b),a=0,g):Gt(b)?(t.consume(b),d):n(b)}function f(b){return b===45?(t.consume(b),h):n(b)}function s(b){return b===null?n(b):b===45?(t.consume(b),m):B(b)?(u=s,L(b)):(t.consume(b),s)}function m(b){return b===45?(t.consume(b),h):s(b)}function h(b){return b===62?_(b):b===45?m(b):s(b)}function g(b){const jt="CDATA[";return b===jt.charCodeAt(a++)?(t.consume(b),a===jt.length?S:g):n(b)}function S(b){return b===null?n(b):b===93?(t.consume(b),k):B(b)?(u=S,L(b)):(t.consume(b),S)}function k(b){return b===93?(t.consume(b),p):S(b)}function p(b){return b===62?_(b):b===93?(t.consume(b),p):S(b)}function d(b){return b===null||b===62?_(b):B(b)?(u=d,L(b)):(t.consume(b),d)}function y(b){return b===null?n(b):b===63?(t.consume(b),E):B(b)?(u=y,L(b)):(t.consume(b),y)}function E(b){return b===62?_(b):y(b)}function w(b){return Gt(b)?(t.consume(b),T):n(b)}function T(b){return b===45||qt(b)?(t.consume(b),T):C(b)}function C(b){return B(b)?(u=C,L(b)):F(b)?(t.consume(b),C):_(b)}function M(b){return b===45||qt(b)?(t.consume(b),M):b===47||b===62||ct(b)?N(b):n(b)}function N(b){return b===47?(t.consume(b),_):b===58||b===95||Gt(b)?(t.consume(b),x):B(b)?(u=N,L(b)):F(b)?(t.consume(b),N):_(b)}function x(b){return b===45||b===46||b===58||b===95||qt(b)?(t.consume(b),x):R(b)}function R(b){return b===61?(t.consume(b),U):B(b)?(u=R,L(b)):F(b)?(t.consume(b),R):N(b)}function U(b){return b===null||b===60||b===61||b===62||b===96?n(b):b===34||b===39?(t.consume(b),i=b,nt):B(b)?(u=U,L(b)):F(b)?(t.consume(b),U):(t.consume(b),ht)}function nt(b){return b===i?(t.consume(b),i=void 0,Q):b===null?n(b):B(b)?(u=nt,L(b)):(t.consume(b),nt)}function ht(b){return b===null||b===34||b===39||b===60||b===61||b===96?n(b):b===47||b===62||ct(b)?N(b):(t.consume(b),ht)}function Q(b){return b===47||b===62||ct(b)?N(b):n(b)}function _(b){return b===62?(t.consume(b),t.exit("htmlTextData"),t.exit("htmlText"),e):n(b)}function L(b){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(b),t.exit("lineEnding"),H}function H(b){return F(b)?W(t,P,"linePrefix",l.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(b):P(b)}function P(b){return t.enter("htmlTextData"),u(b)}}const Cs={name:"labelEnd",resolveAll:QS,resolveTo:ZS,tokenize:KS},VS={tokenize:FS},GS={tokenize:JS},XS={tokenize:IS};function QS(t){let e=-1;const n=[];for(;++e<t.length;){const l=t[e][1];if(n.push(t[e]),l.type==="labelImage"||l.type==="labelLink"||l.type==="labelEnd"){const i=l.type==="labelImage"?4:2;l.type="data",e+=i}}return t.length!==n.length&&me(t,0,t.length,n),t}function ZS(t,e){let n=t.length,l=0,i,a,u,r;for(;n--;)if(i=t[n][1],a){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;t[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(u){if(t[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(a=n,i.type!=="labelLink")){l=2;break}}else i.type==="labelEnd"&&(u=n);const o={type:t[a][1].type==="labelLink"?"link":"image",start:{...t[a][1].start},end:{...t[t.length-1][1].end}},c={type:"label",start:{...t[a][1].start},end:{...t[u][1].end}},f={type:"labelText",start:{...t[a+l+2][1].end},end:{...t[u-2][1].start}};return r=[["enter",o,e],["enter",c,e]],r=xe(r,t.slice(a+1,a+l+3)),r=xe(r,[["enter",f,e]]),r=xe(r,ur(e.parser.constructs.insideSpan.null,t.slice(a+l+4,u-3),e)),r=xe(r,[["exit",f,e],t[u-2],t[u-1],["exit",c,e]]),r=xe(r,t.slice(u+1)),r=xe(r,[["exit",o,e]]),me(t,a,t.length,r),t}function KS(t,e,n){const l=this;let i=l.events.length,a,u;for(;i--;)if((l.events[i][1].type==="labelImage"||l.events[i][1].type==="labelLink")&&!l.events[i][1]._balanced){a=l.events[i][1];break}return r;function r(m){return a?a._inactive?s(m):(u=l.parser.defined.includes(Oe(l.sliceSerialize({start:a.end,end:l.now()}))),t.enter("labelEnd"),t.enter("labelMarker"),t.consume(m),t.exit("labelMarker"),t.exit("labelEnd"),o):n(m)}function o(m){return m===40?t.attempt(VS,f,u?f:s)(m):m===91?t.attempt(GS,f,u?c:s)(m):u?f(m):s(m)}function c(m){return t.attempt(XS,f,s)(m)}function f(m){return e(m)}function s(m){return a._balanced=!0,n(m)}}function FS(t,e,n){return l;function l(s){return t.enter("resource"),t.enter("resourceMarker"),t.consume(s),t.exit("resourceMarker"),i}function i(s){return ct(s)?Yi(t,a)(s):a(s)}function a(s){return s===41?f(s):Rg(t,u,r,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(s)}function u(s){return ct(s)?Yi(t,o)(s):f(s)}function r(s){return n(s)}function o(s){return s===34||s===39||s===40?Lg(t,c,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(s):f(s)}function c(s){return ct(s)?Yi(t,f)(s):f(s)}function f(s){return s===41?(t.enter("resourceMarker"),t.consume(s),t.exit("resourceMarker"),t.exit("resource"),e):n(s)}}function JS(t,e,n){const l=this;return i;function i(r){return Ug.call(l,t,a,u,"reference","referenceMarker","referenceString")(r)}function a(r){return l.parser.defined.includes(Oe(l.sliceSerialize(l.events[l.events.length-1][1]).slice(1,-1)))?e(r):n(r)}function u(r){return n(r)}}function IS(t,e,n){return l;function l(a){return t.enter("reference"),t.enter("referenceMarker"),t.consume(a),t.exit("referenceMarker"),i}function i(a){return a===93?(t.enter("referenceMarker"),t.consume(a),t.exit("referenceMarker"),t.exit("reference"),e):n(a)}}const $S={name:"labelStartImage",resolveAll:Cs.resolveAll,tokenize:WS};function WS(t,e,n){const l=this;return i;function i(r){return t.enter("labelImage"),t.enter("labelImageMarker"),t.consume(r),t.exit("labelImageMarker"),a}function a(r){return r===91?(t.enter("labelMarker"),t.consume(r),t.exit("labelMarker"),t.exit("labelImage"),u):n(r)}function u(r){return r===94&&"_hiddenFootnoteSupport"in l.parser.constructs?n(r):e(r)}}const PS={name:"labelStartLink",resolveAll:Cs.resolveAll,tokenize:tx};function tx(t,e,n){const l=this;return i;function i(u){return t.enter("labelLink"),t.enter("labelMarker"),t.consume(u),t.exit("labelMarker"),t.exit("labelLink"),a}function a(u){return u===94&&"_hiddenFootnoteSupport"in l.parser.constructs?n(u):e(u)}}const Ir={name:"lineEnding",tokenize:ex};function ex(t,e){return n;function n(l){return t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),W(t,e,"linePrefix")}}const nu={name:"thematicBreak",tokenize:nx};function nx(t,e,n){let l=0,i;return a;function a(c){return t.enter("thematicBreak"),u(c)}function u(c){return i=c,r(c)}function r(c){return c===i?(t.enter("thematicBreakSequence"),o(c)):l>=3&&(c===null||B(c))?(t.exit("thematicBreak"),e(c)):n(c)}function o(c){return c===i?(t.consume(c),l++,o):(t.exit("thematicBreakSequence"),F(c)?W(t,r,"whitespace")(c):r(c))}}const Jt={continuation:{tokenize:ux},exit:ox,name:"list",tokenize:ax},lx={partial:!0,tokenize:cx},ix={partial:!0,tokenize:rx};function ax(t,e,n){const l=this,i=l.events[l.events.length-1];let a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,u=0;return r;function r(h){const g=l.containerState.type||(h===42||h===43||h===45?"listUnordered":"listOrdered");if(g==="listUnordered"?!l.containerState.marker||h===l.containerState.marker:sc(h)){if(l.containerState.type||(l.containerState.type=g,t.enter(g,{_container:!0})),g==="listUnordered")return t.enter("listItemPrefix"),h===42||h===45?t.check(nu,n,c)(h):c(h);if(!l.interrupt||h===49)return t.enter("listItemPrefix"),t.enter("listItemValue"),o(h)}return n(h)}function o(h){return sc(h)&&++u<10?(t.consume(h),o):(!l.interrupt||u<2)&&(l.containerState.marker?h===l.containerState.marker:h===41||h===46)?(t.exit("listItemValue"),c(h)):n(h)}function c(h){return t.enter("listItemMarker"),t.consume(h),t.exit("listItemMarker"),l.containerState.marker=l.containerState.marker||h,t.check(ba,l.interrupt?n:f,t.attempt(lx,m,s))}function f(h){return l.containerState.initialBlankLine=!0,a++,m(h)}function s(h){return F(h)?(t.enter("listItemPrefixWhitespace"),t.consume(h),t.exit("listItemPrefixWhitespace"),m):n(h)}function m(h){return l.containerState.size=a+l.sliceSerialize(t.exit("listItemPrefix"),!0).length,e(h)}}function ux(t,e,n){const l=this;return l.containerState._closeFlow=void 0,t.check(ba,i,a);function i(r){return l.containerState.furtherBlankLines=l.containerState.furtherBlankLines||l.containerState.initialBlankLine,W(t,e,"listItemIndent",l.containerState.size+1)(r)}function a(r){return l.containerState.furtherBlankLines||!F(r)?(l.containerState.furtherBlankLines=void 0,l.containerState.initialBlankLine=void 0,u(r)):(l.containerState.furtherBlankLines=void 0,l.containerState.initialBlankLine=void 0,t.attempt(ix,e,u)(r))}function u(r){return l.containerState._closeFlow=!0,l.interrupt=void 0,W(t,t.attempt(Jt,e,n),"linePrefix",l.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(r)}}function rx(t,e,n){const l=this;return W(t,i,"listItemIndent",l.containerState.size+1);function i(a){const u=l.events[l.events.length-1];return u&&u[1].type==="listItemIndent"&&u[2].sliceSerialize(u[1],!0).length===l.containerState.size?e(a):n(a)}}function ox(t){t.exit(this.containerState.type)}function cx(t,e,n){const l=this;return W(t,i,"listItemPrefixWhitespace",l.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(a){const u=l.events[l.events.length-1];return!F(a)&&u&&u[1].type==="listItemPrefixWhitespace"?e(a):n(a)}}const Lh={name:"setextUnderline",resolveTo:sx,tokenize:fx};function sx(t,e){let n=t.length,l,i,a;for(;n--;)if(t[n][0]==="enter"){if(t[n][1].type==="content"){l=n;break}t[n][1].type==="paragraph"&&(i=n)}else t[n][1].type==="content"&&t.splice(n,1),!a&&t[n][1].type==="definition"&&(a=n);const u={type:"setextHeading",start:{...t[l][1].start},end:{...t[t.length-1][1].end}};return t[i][1].type="setextHeadingText",a?(t.splice(i,0,["enter",u,e]),t.splice(a+1,0,["exit",t[l][1],e]),t[l][1].end={...t[a][1].end}):t[l][1]=u,t.push(["exit",u,e]),t}function fx(t,e,n){const l=this;let i;return a;function a(c){let f=l.events.length,s;for(;f--;)if(l.events[f][1].type!=="lineEnding"&&l.events[f][1].type!=="linePrefix"&&l.events[f][1].type!=="content"){s=l.events[f][1].type==="paragraph";break}return!l.parser.lazy[l.now().line]&&(l.interrupt||s)?(t.enter("setextHeadingLine"),i=c,u(c)):n(c)}function u(c){return t.enter("setextHeadingLineSequence"),r(c)}function r(c){return c===i?(t.consume(c),r):(t.exit("setextHeadingLineSequence"),F(c)?W(t,o,"lineSuffix")(c):o(c))}function o(c){return c===null||B(c)?(t.exit("setextHeadingLine"),e(c)):n(c)}}const hx={tokenize:mx};function mx(t){const e=this,n=t.attempt(ba,l,t.attempt(this.parser.constructs.flowInitial,i,W(t,t.attempt(this.parser.constructs.flow,i,t.attempt(bS,i)),"linePrefix")));return n;function l(a){if(a===null){t.consume(a);return}return t.enter("lineEndingBlank"),t.consume(a),t.exit("lineEndingBlank"),e.currentConstruct=void 0,n}function i(a){if(a===null){t.consume(a);return}return t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),e.currentConstruct=void 0,n}}const px={resolveAll:Hg()},dx=Bg("string"),gx=Bg("text");function Bg(t){return{resolveAll:Hg(t==="text"?yx:void 0),tokenize:e};function e(n){const l=this,i=this.parser.constructs[t],a=n.attempt(i,u,r);return u;function u(f){return c(f)?a(f):r(f)}function r(f){if(f===null){n.consume(f);return}return n.enter("data"),n.consume(f),o}function o(f){return c(f)?(n.exit("data"),a(f)):(n.consume(f),o)}function c(f){if(f===null)return!0;const s=i[f];let m=-1;if(s)for(;++m<s.length;){const h=s[m];if(!h.previous||h.previous.call(l,l.previous))return!0}return!1}}}function Hg(t){return e;function e(n,l){let i=-1,a;for(;++i<=n.length;)a===void 0?n[i]&&n[i][1].type==="data"&&(a=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==a+2&&(n[a][1].end=n[i-1][1].end,n.splice(a+2,i-a-2),i=a+2),a=void 0);return t?t(n,l):n}}function yx(t,e){let n=0;for(;++n<=t.length;)if((n===t.length||t[n][1].type==="lineEnding")&&t[n-1][1].type==="data"){const l=t[n-1][1],i=e.sliceStream(l);let a=i.length,u=-1,r=0,o;for(;a--;){const c=i[a];if(typeof c=="string"){for(u=c.length;c.charCodeAt(u-1)===32;)r++,u--;if(u)break;u=-1}else if(c===-2)o=!0,r++;else if(c!==-1){a++;break}}if(e._contentTypeTextTrailing&&n===t.length&&(r=0),r){const c={type:n===t.length||o||r<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:a?u:l.start._bufferIndex+u,_index:l.start._index+a,line:l.end.line,column:l.end.column-r,offset:l.end.offset-r},end:{...l.end}};l.end={...c.start},l.start.offset===l.end.offset?Object.assign(l,c):(t.splice(n,0,["enter",c,e],["exit",c,e]),n+=2)}n++}return t}const bx={42:Jt,43:Jt,45:Jt,48:Jt,49:Jt,50:Jt,51:Jt,52:Jt,53:Jt,54:Jt,55:Jt,56:Jt,57:Jt,62:_g},vx={91:TS},Sx={[-2]:Jr,[-1]:Jr,32:Jr},xx={35:DS,42:nu,45:[Lh,nu],60:NS,61:Lh,95:nu,96:Rh,126:Rh},Ex={38:Mg,92:Og},Tx={[-5]:Ir,[-4]:Ir,[-3]:Ir,33:$S,38:Mg,42:fc,60:[Pv,qS],91:PS,92:[CS,Og],93:Cs,95:fc,96:hS},kx={null:[fc,px]},zx={null:[42,95]},Ax={null:[]},Cx=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:zx,contentInitial:vx,disable:Ax,document:bx,flow:xx,flowInitial:Sx,insideSpan:kx,string:Ex,text:Tx},Symbol.toStringTag,{value:"Module"}));function wx(t,e,n){let l={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const i={},a=[];let u=[],r=[];const o={attempt:C(w),check:C(T),consume:d,enter:y,exit:E,interrupt:C(T,{interrupt:!0})},c={code:null,containerState:{},defineSkip:S,events:[],now:g,parser:t,previous:null,sliceSerialize:m,sliceStream:h,write:s};let f=e.tokenize.call(c,o);return e.resolveAll&&a.push(e),c;function s(R){return u=xe(u,R),k(),u[u.length-1]!==null?[]:(M(e,0),c.events=ur(a,c.events,c),c.events)}function m(R,U){return _x(h(R),U)}function h(R){return Dx(u,R)}function g(){const{_bufferIndex:R,_index:U,line:nt,column:ht,offset:Q}=l;return{_bufferIndex:R,_index:U,line:nt,column:ht,offset:Q}}function S(R){i[R.line]=R.column,x()}function k(){let R;for(;l._index<u.length;){const U=u[l._index];if(typeof U=="string")for(R=l._index,l._bufferIndex<0&&(l._bufferIndex=0);l._index===R&&l._bufferIndex<U.length;)p(U.charCodeAt(l._bufferIndex));else p(U)}}function p(R){f=f(R)}function d(R){B(R)?(l.line++,l.column=1,l.offset+=R===-3?2:1,x()):R!==-1&&(l.column++,l.offset++),l._bufferIndex<0?l._index++:(l._bufferIndex++,l._bufferIndex===u[l._index].length&&(l._bufferIndex=-1,l._index++)),c.previous=R}function y(R,U){const nt=U||{};return nt.type=R,nt.start=g(),c.events.push(["enter",nt,c]),r.push(nt),nt}function E(R){const U=r.pop();return U.end=g(),c.events.push(["exit",U,c]),U}function w(R,U){M(R,U.from)}function T(R,U){U.restore()}function C(R,U){return nt;function nt(ht,Q,_){let L,H,P,b;return Array.isArray(ht)?Zt(ht):"tokenize"in ht?Zt([ht]):jt(ht);function jt(Nt){return ci;function ci(sn){const fl=sn!==null&&Nt[sn],hl=sn!==null&&Nt.null,Sa=[...Array.isArray(fl)?fl:fl?[fl]:[],...Array.isArray(hl)?hl:hl?[hl]:[]];return Zt(Sa)(sn)}}function Zt(Nt){return L=Nt,H=0,Nt.length===0?_:v(Nt[H])}function v(Nt){return ci;function ci(sn){return b=N(),P=Nt,Nt.partial||(c.currentConstruct=Nt),Nt.name&&c.parser.constructs.disable.null.includes(Nt.name)?ge():Nt.tokenize.call(U?Object.assign(Object.create(c),U):c,o,Ct,ge)(sn)}}function Ct(Nt){return R(P,b),Q}function ge(Nt){return b.restore(),++H<L.length?v(L[H]):_}}}function M(R,U){R.resolveAll&&!a.includes(R)&&a.push(R),R.resolve&&me(c.events,U,c.events.length-U,R.resolve(c.events.slice(U),c)),R.resolveTo&&(c.events=R.resolveTo(c.events,c))}function N(){const R=g(),U=c.previous,nt=c.currentConstruct,ht=c.events.length,Q=Array.from(r);return{from:ht,restore:_};function _(){l=R,c.previous=U,c.currentConstruct=nt,c.events.length=ht,r=Q,x()}}function x(){l.line in i&&l.column<2&&(l.column=i[l.line],l.offset+=i[l.line]-1)}}function Dx(t,e){const n=e.start._index,l=e.start._bufferIndex,i=e.end._index,a=e.end._bufferIndex;let u;if(n===i)u=[t[n].slice(l,a)];else{if(u=t.slice(n,i),l>-1){const r=u[0];typeof r=="string"?u[0]=r.slice(l):u.shift()}a>0&&u.push(t[i].slice(0,a))}return u}function _x(t,e){let n=-1;const l=[];let i;for(;++n<t.length;){const a=t[n];let u;if(typeof a=="string")u=a;else switch(a){case-5:{u="\r";break}case-4:{u=`
`;break}case-3:{u=`\r
`;break}case-2:{u=e?" ":" ";break}case-1:{if(!e&&i)continue;u=" ";break}default:u=String.fromCharCode(a)}i=a===-2,l.push(u)}return l.join("")}function Ox(t){const l={constructs:wg([Cx,...(t||{}).extensions||[]]),content:i(Zv),defined:[],document:i(Fv),flow:i(hx),lazy:{},string:i(dx),text:i(gx)};return l;function i(a){return u;function u(r){return wx(l,a,r)}}}function Mx(t){for(;!Ng(t););return t}const Bh=/[\0\t\n\r]/g;function Nx(){let t=1,e="",n=!0,l;return i;function i(a,u,r){const o=[];let c,f,s,m,h;for(a=e+(typeof a=="string"?a.toString():new TextDecoder(u||void 0).decode(a)),s=0,e="",n&&(a.charCodeAt(0)===65279&&s++,n=void 0);s<a.length;){if(Bh.lastIndex=s,c=Bh.exec(a),m=c&&c.index!==void 0?c.index:a.length,h=a.charCodeAt(m),!c){e=a.slice(s);break}if(h===10&&s===m&&l)o.push(-3),l=void 0;else switch(l&&(o.push(-5),l=void 0),s<m&&(o.push(a.slice(s,m)),t+=m-s),h){case 0:{o.push(65533),t++;break}case 9:{for(f=Math.ceil(t/4)*4,o.push(-2);t++<f;)o.push(-1);break}case 10:{o.push(-4),t=1;break}default:l=!0,t=1}s=m+1}return r&&(l&&o.push(-5),e&&o.push(e),o.push(null)),o}}const Rx=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Ux(t){return t.replace(Rx,Lx)}function Lx(t,e,n){if(e)return e;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),a=i===120||i===88;return Dg(n.slice(a?2:1),a?16:10)}return As(n)||t}const jg={}.hasOwnProperty;function Bx(t,e,n){return typeof e!="string"&&(n=e,e=void 0),Hx(n)(Mx(Ox(n).document().write(Nx()(t,e,!0))))}function Hx(t){const e={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(qs),autolinkProtocol:N,autolinkEmail:N,atxHeading:a(Bs),blockQuote:a(hl),characterEscape:N,characterReference:N,codeFenced:a(Sa),codeFencedFenceInfo:u,codeFencedFenceMeta:u,codeIndented:a(Sa,u),codeText:a(vy,u),codeTextData:N,data:N,codeFlowValue:N,definition:a(Sy),definitionDestinationString:u,definitionLabelString:u,definitionTitleString:u,emphasis:a(xy),hardBreakEscape:a(Hs),hardBreakTrailing:a(Hs),htmlFlow:a(js,u),htmlFlowData:N,htmlText:a(js,u),htmlTextData:N,image:a(Ey),label:u,link:a(qs),listItem:a(Ty),listItemValue:m,listOrdered:a(Ys,s),listUnordered:a(Ys),paragraph:a(ky),reference:v,referenceString:u,resourceDestinationString:u,resourceTitleString:u,setextHeading:a(Bs),strong:a(zy),thematicBreak:a(Cy)},exit:{atxHeading:o(),atxHeadingSequence:w,autolink:o(),autolinkEmail:fl,autolinkProtocol:sn,blockQuote:o(),characterEscapeValue:x,characterReferenceMarkerHexadecimal:ge,characterReferenceMarkerNumeric:ge,characterReferenceValue:Nt,characterReference:ci,codeFenced:o(k),codeFencedFence:S,codeFencedFenceInfo:h,codeFencedFenceMeta:g,codeFlowValue:x,codeIndented:o(p),codeText:o(Q),codeTextData:x,data:x,definition:o(),definitionDestinationString:E,definitionLabelString:d,definitionTitleString:y,emphasis:o(),hardBreakEscape:o(U),hardBreakTrailing:o(U),htmlFlow:o(nt),htmlFlowData:x,htmlText:o(ht),htmlTextData:x,image:o(L),label:P,labelText:H,lineEnding:R,link:o(_),listItem:o(),listOrdered:o(),listUnordered:o(),paragraph:o(),referenceString:Ct,resourceDestinationString:b,resourceTitleString:jt,resource:Zt,setextHeading:o(M),setextHeadingLineSequence:C,setextHeadingText:T,strong:o(),thematicBreak:o()}};qg(e,(t||{}).mdastExtensions||[]);const n={};return l;function l(z){let O={type:"root",children:[]};const q={stack:[O],tokenStack:[],config:e,enter:r,exit:c,buffer:u,resume:f,data:n},I=[];let rt=-1;for(;++rt<z.length;)if(z[rt][1].type==="listOrdered"||z[rt][1].type==="listUnordered")if(z[rt][0]==="enter")I.push(rt);else{const we=I.pop();rt=i(z,we,rt)}for(rt=-1;++rt<z.length;){const we=e[z[rt][0]];jg.call(we,z[rt][1].type)&&we[z[rt][1].type].call(Object.assign({sliceSerialize:z[rt][2].sliceSerialize},q),z[rt][1])}if(q.tokenStack.length>0){const we=q.tokenStack[q.tokenStack.length-1];(we[1]||Hh).call(q,void 0,we[0])}for(O.position={start:hn(z.length>0?z[0][1].start:{line:1,column:1,offset:0}),end:hn(z.length>0?z[z.length-2][1].end:{line:1,column:1,offset:0})},rt=-1;++rt<e.transforms.length;)O=e.transforms[rt](O)||O;return O}function i(z,O,q){let I=O-1,rt=-1,we=!1,qn,Ye,si,fi;for(;++I<=q;){const ne=z[I];switch(ne[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{ne[0]==="enter"?rt++:rt--,fi=void 0;break}case"lineEndingBlank":{ne[0]==="enter"&&(qn&&!fi&&!rt&&!si&&(si=I),fi=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:fi=void 0}if(!rt&&ne[0]==="enter"&&ne[1].type==="listItemPrefix"||rt===-1&&ne[0]==="exit"&&(ne[1].type==="listUnordered"||ne[1].type==="listOrdered")){if(qn){let ml=I;for(Ye=void 0;ml--;){const Ve=z[ml];if(Ve[1].type==="lineEnding"||Ve[1].type==="lineEndingBlank"){if(Ve[0]==="exit")continue;Ye&&(z[Ye][1].type="lineEndingBlank",we=!0),Ve[1].type="lineEnding",Ye=ml}else if(!(Ve[1].type==="linePrefix"||Ve[1].type==="blockQuotePrefix"||Ve[1].type==="blockQuotePrefixWhitespace"||Ve[1].type==="blockQuoteMarker"||Ve[1].type==="listItemIndent"))break}si&&(!Ye||si<Ye)&&(qn._spread=!0),qn.end=Object.assign({},Ye?z[Ye][1].start:ne[1].end),z.splice(Ye||I,0,["exit",qn,ne[2]]),I++,q++}if(ne[1].type==="listItemPrefix"){const ml={type:"listItem",_spread:!1,start:Object.assign({},ne[1].start),end:void 0};qn=ml,z.splice(I,0,["enter",ml,ne[2]]),I++,q++,si=void 0,fi=!0}}}return z[O][1]._spread=we,q}function a(z,O){return q;function q(I){r.call(this,z(I),I),O&&O.call(this,I)}}function u(){this.stack.push({type:"fragment",children:[]})}function r(z,O,q){this.stack[this.stack.length-1].children.push(z),this.stack.push(z),this.tokenStack.push([O,q||void 0]),z.position={start:hn(O.start),end:void 0}}function o(z){return O;function O(q){z&&z.call(this,q),c.call(this,q)}}function c(z,O){const q=this.stack.pop(),I=this.tokenStack.pop();if(I)I[0].type!==z.type&&(O?O.call(this,z,I[0]):(I[1]||Hh).call(this,z,I[0]));else throw new Error("Cannot close `"+z.type+"` ("+qi({start:z.start,end:z.end})+"): its not open");q.position.end=hn(z.end)}function f(){return zs(this.stack.pop())}function s(){this.data.expectingFirstListItemValue=!0}function m(z){if(this.data.expectingFirstListItemValue){const O=this.stack[this.stack.length-2];O.start=Number.parseInt(this.sliceSerialize(z),10),this.data.expectingFirstListItemValue=void 0}}function h(){const z=this.resume(),O=this.stack[this.stack.length-1];O.lang=z}function g(){const z=this.resume(),O=this.stack[this.stack.length-1];O.meta=z}function S(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function k(){const z=this.resume(),O=this.stack[this.stack.length-1];O.value=z.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function p(){const z=this.resume(),O=this.stack[this.stack.length-1];O.value=z.replace(/(\r?\n|\r)$/g,"")}function d(z){const O=this.resume(),q=this.stack[this.stack.length-1];q.label=O,q.identifier=Oe(this.sliceSerialize(z)).toLowerCase()}function y(){const z=this.resume(),O=this.stack[this.stack.length-1];O.title=z}function E(){const z=this.resume(),O=this.stack[this.stack.length-1];O.url=z}function w(z){const O=this.stack[this.stack.length-1];if(!O.depth){const q=this.sliceSerialize(z).length;O.depth=q}}function T(){this.data.setextHeadingSlurpLineEnding=!0}function C(z){const O=this.stack[this.stack.length-1];O.depth=this.sliceSerialize(z).codePointAt(0)===61?1:2}function M(){this.data.setextHeadingSlurpLineEnding=void 0}function N(z){const q=this.stack[this.stack.length-1].children;let I=q[q.length-1];(!I||I.type!=="text")&&(I=Ay(),I.position={start:hn(z.start),end:void 0},q.push(I)),this.stack.push(I)}function x(z){const O=this.stack.pop();O.value+=this.sliceSerialize(z),O.position.end=hn(z.end)}function R(z){const O=this.stack[this.stack.length-1];if(this.data.atHardBreak){const q=O.children[O.children.length-1];q.position.end=hn(z.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&e.canContainEols.includes(O.type)&&(N.call(this,z),x.call(this,z))}function U(){this.data.atHardBreak=!0}function nt(){const z=this.resume(),O=this.stack[this.stack.length-1];O.value=z}function ht(){const z=this.resume(),O=this.stack[this.stack.length-1];O.value=z}function Q(){const z=this.resume(),O=this.stack[this.stack.length-1];O.value=z}function _(){const z=this.stack[this.stack.length-1];if(this.data.inReference){const O=this.data.referenceType||"shortcut";z.type+="Reference",z.referenceType=O,delete z.url,delete z.title}else delete z.identifier,delete z.label;this.data.referenceType=void 0}function L(){const z=this.stack[this.stack.length-1];if(this.data.inReference){const O=this.data.referenceType||"shortcut";z.type+="Reference",z.referenceType=O,delete z.url,delete z.title}else delete z.identifier,delete z.label;this.data.referenceType=void 0}function H(z){const O=this.sliceSerialize(z),q=this.stack[this.stack.length-2];q.label=Ux(O),q.identifier=Oe(O).toLowerCase()}function P(){const z=this.stack[this.stack.length-1],O=this.resume(),q=this.stack[this.stack.length-1];if(this.data.inReference=!0,q.type==="link"){const I=z.children;q.children=I}else q.alt=O}function b(){const z=this.resume(),O=this.stack[this.stack.length-1];O.url=z}function jt(){const z=this.resume(),O=this.stack[this.stack.length-1];O.title=z}function Zt(){this.data.inReference=void 0}function v(){this.data.referenceType="collapsed"}function Ct(z){const O=this.resume(),q=this.stack[this.stack.length-1];q.label=O,q.identifier=Oe(this.sliceSerialize(z)).toLowerCase(),this.data.referenceType="full"}function ge(z){this.data.characterReferenceType=z.type}function Nt(z){const O=this.sliceSerialize(z),q=this.data.characterReferenceType;let I;q?(I=Dg(O,q==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):I=As(O);const rt=this.stack[this.stack.length-1];rt.value+=I}function ci(z){const O=this.stack.pop();O.position.end=hn(z.end)}function sn(z){x.call(this,z);const O=this.stack[this.stack.length-1];O.url=this.sliceSerialize(z)}function fl(z){x.call(this,z);const O=this.stack[this.stack.length-1];O.url="mailto:"+this.sliceSerialize(z)}function hl(){return{type:"blockquote",children:[]}}function Sa(){return{type:"code",lang:null,meta:null,value:""}}function vy(){return{type:"inlineCode",value:""}}function Sy(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function xy(){return{type:"emphasis",children:[]}}function Bs(){return{type:"heading",depth:0,children:[]}}function Hs(){return{type:"break"}}function js(){return{type:"html",value:""}}function Ey(){return{type:"image",title:null,url:"",alt:null}}function qs(){return{type:"link",title:null,url:"",children:[]}}function Ys(z){return{type:"list",ordered:z.type==="listOrdered",start:null,spread:z._spread,children:[]}}function Ty(z){return{type:"listItem",spread:z._spread,checked:null,children:[]}}function ky(){return{type:"paragraph",children:[]}}function zy(){return{type:"strong",children:[]}}function Ay(){return{type:"text",value:""}}function Cy(){return{type:"thematicBreak"}}}function hn(t){return{line:t.line,column:t.column,offset:t.offset}}function qg(t,e){let n=-1;for(;++n<e.length;){const l=e[n];Array.isArray(l)?qg(t,l):jx(t,l)}}function jx(t,e){let n;for(n in e)if(jg.call(e,n))switch(n){case"canContainEols":{const l=e[n];l&&t[n].push(...l);break}case"transforms":{const l=e[n];l&&t[n].push(...l);break}case"enter":case"exit":{const l=e[n];l&&Object.assign(t[n],l);break}}}function Hh(t,e){throw t?new Error("Cannot close `"+t.type+"` ("+qi({start:t.start,end:t.end})+"): a different token (`"+e.type+"`, "+qi({start:e.start,end:e.end})+") is open"):new Error("Cannot close document, a token (`"+e.type+"`, "+qi({start:e.start,end:e.end})+") is still open")}function qx(t){const e=this;e.parser=n;function n(l){return Bx(l,{...e.data("settings"),...t,extensions:e.data("micromarkExtensions")||[],mdastExtensions:e.data("fromMarkdownExtensions")||[]})}}function Yx(t,e){const n={type:"element",tagName:"blockquote",properties:{},children:t.wrap(t.all(e),!0)};return t.patch(e,n),t.applyData(e,n)}function Vx(t,e){const n={type:"element",tagName:"br",properties:{},children:[]};return t.patch(e,n),[t.applyData(e,n),{type:"text",value:`
`}]}function Gx(t,e){const n=e.value?e.value+`
`:"",l={},i=e.lang?e.lang.split(/\s+/):[];i.length>0&&(l.className=["language-"+i[0]]);let a={type:"element",tagName:"code",properties:l,children:[{type:"text",value:n}]};return e.meta&&(a.data={meta:e.meta}),t.patch(e,a),a=t.applyData(e,a),a={type:"element",tagName:"pre",properties:{},children:[a]},t.patch(e,a),a}function Xx(t,e){const n={type:"element",tagName:"del",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)}function Qx(t,e){const n={type:"element",tagName:"em",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)}function Zx(t,e){const n=typeof t.options.clobberPrefix=="string"?t.options.clobberPrefix:"user-content-",l=String(e.identifier).toUpperCase(),i=oi(l.toLowerCase()),a=t.footnoteOrder.indexOf(l);let u,r=t.footnoteCounts.get(l);r===void 0?(r=0,t.footnoteOrder.push(l),u=t.footnoteOrder.length):u=a+1,r+=1,t.footnoteCounts.set(l,r);const o={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(r>1?"-"+r:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(u)}]};t.patch(e,o);const c={type:"element",tagName:"sup",properties:{},children:[o]};return t.patch(e,c),t.applyData(e,c)}function Kx(t,e){const n={type:"element",tagName:"h"+e.depth,properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)}function Fx(t,e){if(t.options.allowDangerousHtml){const n={type:"raw",value:e.value};return t.patch(e,n),t.applyData(e,n)}}function Yg(t,e){const n=e.referenceType;let l="]";if(n==="collapsed"?l+="[]":n==="full"&&(l+="["+(e.label||e.identifier)+"]"),e.type==="imageReference")return[{type:"text",value:"!["+e.alt+l}];const i=t.all(e),a=i[0];a&&a.type==="text"?a.value="["+a.value:i.unshift({type:"text",value:"["});const u=i[i.length-1];return u&&u.type==="text"?u.value+=l:i.push({type:"text",value:l}),i}function Jx(t,e){const n=String(e.identifier).toUpperCase(),l=t.definitionById.get(n);if(!l)return Yg(t,e);const i={src:oi(l.url||""),alt:e.alt};l.title!==null&&l.title!==void 0&&(i.title=l.title);const a={type:"element",tagName:"img",properties:i,children:[]};return t.patch(e,a),t.applyData(e,a)}function Ix(t,e){const n={src:oi(e.url)};e.alt!==null&&e.alt!==void 0&&(n.alt=e.alt),e.title!==null&&e.title!==void 0&&(n.title=e.title);const l={type:"element",tagName:"img",properties:n,children:[]};return t.patch(e,l),t.applyData(e,l)}function $x(t,e){const n={type:"text",value:e.value.replace(/\r?\n|\r/g," ")};t.patch(e,n);const l={type:"element",tagName:"code",properties:{},children:[n]};return t.patch(e,l),t.applyData(e,l)}function Wx(t,e){const n=String(e.identifier).toUpperCase(),l=t.definitionById.get(n);if(!l)return Yg(t,e);const i={href:oi(l.url||"")};l.title!==null&&l.title!==void 0&&(i.title=l.title);const a={type:"element",tagName:"a",properties:i,children:t.all(e)};return t.patch(e,a),t.applyData(e,a)}function Px(t,e){const n={href:oi(e.url)};e.title!==null&&e.title!==void 0&&(n.title=e.title);const l={type:"element",tagName:"a",properties:n,children:t.all(e)};return t.patch(e,l),t.applyData(e,l)}function t2(t,e,n){const l=t.all(e),i=n?e2(n):Vg(e),a={},u=[];if(typeof e.checked=="boolean"){const f=l[0];let s;f&&f.type==="element"&&f.tagName==="p"?s=f:(s={type:"element",tagName:"p",properties:{},children:[]},l.unshift(s)),s.children.length>0&&s.children.unshift({type:"text",value:" "}),s.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:e.checked,disabled:!0},children:[]}),a.className=["task-list-item"]}let r=-1;for(;++r<l.length;){const f=l[r];(i||r!==0||f.type!=="element"||f.tagName!=="p")&&u.push({type:"text",value:`
`}),f.type==="element"&&f.tagName==="p"&&!i?u.push(...f.children):u.push(f)}const o=l[l.length-1];o&&(i||o.type!=="element"||o.tagName!=="p")&&u.push({type:"text",value:`
`});const c={type:"element",tagName:"li",properties:a,children:u};return t.patch(e,c),t.applyData(e,c)}function e2(t){let e=!1;if(t.type==="list"){e=t.spread||!1;const n=t.children;let l=-1;for(;!e&&++l<n.length;)e=Vg(n[l])}return e}function Vg(t){const e=t.spread;return e??t.children.length>1}function n2(t,e){const n={},l=t.all(e);let i=-1;for(typeof e.start=="number"&&e.start!==1&&(n.start=e.start);++i<l.length;){const u=l[i];if(u.type==="element"&&u.tagName==="li"&&u.properties&&Array.isArray(u.properties.className)&&u.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const a={type:"element",tagName:e.ordered?"ol":"ul",properties:n,children:t.wrap(l,!0)};return t.patch(e,a),t.applyData(e,a)}function l2(t,e){const n={type:"element",tagName:"p",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)}function i2(t,e){const n={type:"root",children:t.wrap(t.all(e))};return t.patch(e,n),t.applyData(e,n)}function a2(t,e){const n={type:"element",tagName:"strong",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)}function u2(t,e){const n=t.all(e),l=n.shift(),i=[];if(l){const u={type:"element",tagName:"thead",properties:{},children:t.wrap([l],!0)};t.patch(e.children[0],u),i.push(u)}if(n.length>0){const u={type:"element",tagName:"tbody",properties:{},children:t.wrap(n,!0)},r=xs(e.children[1]),o=xg(e.children[e.children.length-1]);r&&o&&(u.position={start:r,end:o}),i.push(u)}const a={type:"element",tagName:"table",properties:{},children:t.wrap(i,!0)};return t.patch(e,a),t.applyData(e,a)}function r2(t,e,n){const l=n?n.children:void 0,a=(l?l.indexOf(e):1)===0?"th":"td",u=n&&n.type==="table"?n.align:void 0,r=u?u.length:e.children.length;let o=-1;const c=[];for(;++o<r;){const s=e.children[o],m={},h=u?u[o]:void 0;h&&(m.align=h);let g={type:"element",tagName:a,properties:m,children:[]};s&&(g.children=t.all(s),t.patch(s,g),g=t.applyData(s,g)),c.push(g)}const f={type:"element",tagName:"tr",properties:{},children:t.wrap(c,!0)};return t.patch(e,f),t.applyData(e,f)}function o2(t,e){const n={type:"element",tagName:"td",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)}const jh=9,qh=32;function c2(t){const e=String(t),n=/\r?\n|\r/g;let l=n.exec(e),i=0;const a=[];for(;l;)a.push(Yh(e.slice(i,l.index),i>0,!0),l[0]),i=l.index+l[0].length,l=n.exec(e);return a.push(Yh(e.slice(i),i>0,!1)),a.join("")}function Yh(t,e,n){let l=0,i=t.length;if(e){let a=t.codePointAt(l);for(;a===jh||a===qh;)l++,a=t.codePointAt(l)}if(n){let a=t.codePointAt(i-1);for(;a===jh||a===qh;)i--,a=t.codePointAt(i-1)}return i>l?t.slice(l,i):""}function s2(t,e){const n={type:"text",value:c2(String(e.value))};return t.patch(e,n),t.applyData(e,n)}function f2(t,e){const n={type:"element",tagName:"hr",properties:{},children:[]};return t.patch(e,n),t.applyData(e,n)}const h2={blockquote:Yx,break:Vx,code:Gx,delete:Xx,emphasis:Qx,footnoteReference:Zx,heading:Kx,html:Fx,imageReference:Jx,image:Ix,inlineCode:$x,linkReference:Wx,link:Px,listItem:t2,list:n2,paragraph:l2,root:i2,strong:a2,table:u2,tableCell:o2,tableRow:r2,text:s2,thematicBreak:f2,toml:Ba,yaml:Ba,definition:Ba,footnoteDefinition:Ba};function Ba(){}const Gg=-1,rr=0,Vi=1,Uu=2,ws=3,Ds=4,_s=5,Os=6,Xg=7,Qg=8,Vh=typeof self=="object"?self:globalThis,m2=(t,e)=>{const n=(i,a)=>(t.set(a,i),i),l=i=>{if(t.has(i))return t.get(i);const[a,u]=e[i];switch(a){case rr:case Gg:return n(u,i);case Vi:{const r=n([],i);for(const o of u)r.push(l(o));return r}case Uu:{const r=n({},i);for(const[o,c]of u)r[l(o)]=l(c);return r}case ws:return n(new Date(u),i);case Ds:{const{source:r,flags:o}=u;return n(new RegExp(r,o),i)}case _s:{const r=n(new Map,i);for(const[o,c]of u)r.set(l(o),l(c));return r}case Os:{const r=n(new Set,i);for(const o of u)r.add(l(o));return r}case Xg:{const{name:r,message:o}=u;return n(new Vh[r](o),i)}case Qg:return n(BigInt(u),i);case"BigInt":return n(Object(BigInt(u)),i);case"ArrayBuffer":return n(new Uint8Array(u).buffer,u);case"DataView":{const{buffer:r}=new Uint8Array(u);return n(new DataView(r),u)}}return n(new Vh[a](u),i)};return l},Gh=t=>m2(new Map,t)(0),gl="",{toString:p2}={},{keys:d2}=Object,Si=t=>{const e=typeof t;if(e!=="object"||!t)return[rr,e];const n=p2.call(t).slice(8,-1);switch(n){case"Array":return[Vi,gl];case"Object":return[Uu,gl];case"Date":return[ws,gl];case"RegExp":return[Ds,gl];case"Map":return[_s,gl];case"Set":return[Os,gl];case"DataView":return[Vi,n]}return n.includes("Array")?[Vi,n]:n.includes("Error")?[Xg,n]:[Uu,n]},Ha=([t,e])=>t===rr&&(e==="function"||e==="symbol"),g2=(t,e,n,l)=>{const i=(u,r)=>{const o=l.push(u)-1;return n.set(r,o),o},a=u=>{if(n.has(u))return n.get(u);let[r,o]=Si(u);switch(r){case rr:{let f=u;switch(o){case"bigint":r=Qg,f=u.toString();break;case"function":case"symbol":if(t)throw new TypeError("unable to serialize "+o);f=null;break;case"undefined":return i([Gg],u)}return i([r,f],u)}case Vi:{if(o){let m=u;return o==="DataView"?m=new Uint8Array(u.buffer):o==="ArrayBuffer"&&(m=new Uint8Array(u)),i([o,[...m]],u)}const f=[],s=i([r,f],u);for(const m of u)f.push(a(m));return s}case Uu:{if(o)switch(o){case"BigInt":return i([o,u.toString()],u);case"Boolean":case"Number":case"String":return i([o,u.valueOf()],u)}if(e&&"toJSON"in u)return a(u.toJSON());const f=[],s=i([r,f],u);for(const m of d2(u))(t||!Ha(Si(u[m])))&&f.push([a(m),a(u[m])]);return s}case ws:return i([r,u.toISOString()],u);case Ds:{const{source:f,flags:s}=u;return i([r,{source:f,flags:s}],u)}case _s:{const f=[],s=i([r,f],u);for(const[m,h]of u)(t||!(Ha(Si(m))||Ha(Si(h))))&&f.push([a(m),a(h)]);return s}case Os:{const f=[],s=i([r,f],u);for(const m of u)(t||!Ha(Si(m)))&&f.push(a(m));return s}}const{message:c}=u;return i([r,{name:o,message:c}],u)};return a},Xh=(t,{json:e,lossy:n}={})=>{const l=[];return g2(!(e||n),!!e,new Map,l)(t),l},Lu=typeof structuredClone=="function"?(t,e)=>e&&("json"in e||"lossy"in e)?Gh(Xh(t,e)):structuredClone(t):(t,e)=>Gh(Xh(t,e));function y2(t,e){const n=[{type:"text",value:"↩"}];return e>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(e)}]}),n}function b2(t,e){return"Back to reference "+(t+1)+(e>1?"-"+e:"")}function v2(t){const e=typeof t.options.clobberPrefix=="string"?t.options.clobberPrefix:"user-content-",n=t.options.footnoteBackContent||y2,l=t.options.footnoteBackLabel||b2,i=t.options.footnoteLabel||"Footnotes",a=t.options.footnoteLabelTagName||"h2",u=t.options.footnoteLabelProperties||{className:["sr-only"]},r=[];let o=-1;for(;++o<t.footnoteOrder.length;){const c=t.footnoteById.get(t.footnoteOrder[o]);if(!c)continue;const f=t.all(c),s=String(c.identifier).toUpperCase(),m=oi(s.toLowerCase());let h=0;const g=[],S=t.footnoteCounts.get(s);for(;S!==void 0&&++h<=S;){g.length>0&&g.push({type:"text",value:" "});let d=typeof n=="string"?n:n(o,h);typeof d=="string"&&(d={type:"text",value:d}),g.push({type:"element",tagName:"a",properties:{href:"#"+e+"fnref-"+m+(h>1?"-"+h:""),dataFootnoteBackref:"",ariaLabel:typeof l=="string"?l:l(o,h),className:["data-footnote-backref"]},children:Array.isArray(d)?d:[d]})}const k=f[f.length-1];if(k&&k.type==="element"&&k.tagName==="p"){const d=k.children[k.children.length-1];d&&d.type==="text"?d.value+=" ":k.children.push({type:"text",value:" "}),k.children.push(...g)}else f.push(...g);const p={type:"element",tagName:"li",properties:{id:e+"fn-"+m},children:t.wrap(f,!0)};t.patch(c,p),r.push(p)}if(r.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:a,properties:{...Lu(u),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:`
`},{type:"element",tagName:"ol",properties:{},children:t.wrap(r,!0)},{type:"text",value:`
`}]}}const or=function(t){if(t==null)return T2;if(typeof t=="function")return cr(t);if(typeof t=="object")return Array.isArray(t)?S2(t):x2(t);if(typeof t=="string")return E2(t);throw new Error("Expected function, string, or object as test")};function S2(t){const e=[];let n=-1;for(;++n<t.length;)e[n]=or(t[n]);return cr(l);function l(...i){let a=-1;for(;++a<e.length;)if(e[a].apply(this,i))return!0;return!1}}function x2(t){const e=t;return cr(n);function n(l){const i=l;let a;for(a in t)if(i[a]!==e[a])return!1;return!0}}function E2(t){return cr(e);function e(n){return n&&n.type===t}}function cr(t){return e;function e(n,l,i){return!!(k2(n)&&t.call(this,n,typeof l=="number"?l:void 0,i||void 0))}}function T2(){return!0}function k2(t){return t!==null&&typeof t=="object"&&"type"in t}const Zg=[],z2=!0,hc=!1,A2="skip";function Kg(t,e,n,l){let i;typeof e=="function"&&typeof n!="function"?(l=n,n=e):i=e;const a=or(i),u=l?-1:1;r(t,void 0,[])();function r(o,c,f){const s=o&&typeof o=="object"?o:{};if(typeof s.type=="string"){const h=typeof s.tagName=="string"?s.tagName:typeof s.name=="string"?s.name:void 0;Object.defineProperty(m,"name",{value:"node ("+(o.type+(h?"<"+h+">":""))+")"})}return m;function m(){let h=Zg,g,S,k;if((!e||a(o,c,f[f.length-1]||void 0))&&(h=C2(n(o,f)),h[0]===hc))return h;if("children"in o&&o.children){const p=o;if(p.children&&h[0]!==A2)for(S=(l?p.children.length:-1)+u,k=f.concat(p);S>-1&&S<p.children.length;){const d=p.children[S];if(g=r(d,S,k)(),g[0]===hc)return g;S=typeof g[1]=="number"?g[1]:S+u}}return h}}}function C2(t){return Array.isArray(t)?t:typeof t=="number"?[z2,t]:t==null?Zg:[t]}function Ms(t,e,n,l){let i,a,u;typeof e=="function"&&typeof n!="function"?(a=void 0,u=e,i=n):(a=e,u=n,i=l),Kg(t,a,r,i);function r(o,c){const f=c[c.length-1],s=f?f.children.indexOf(o):void 0;return u(o,s,f)}}const mc={}.hasOwnProperty,w2={};function D2(t,e){const n=e||w2,l=new Map,i=new Map,a=new Map,u={...h2,...n.handlers},r={all:c,applyData:O2,definitionById:l,footnoteById:i,footnoteCounts:a,footnoteOrder:[],handlers:u,one:o,options:n,patch:_2,wrap:N2};return Ms(t,function(f){if(f.type==="definition"||f.type==="footnoteDefinition"){const s=f.type==="definition"?l:i,m=String(f.identifier).toUpperCase();s.has(m)||s.set(m,f)}}),r;function o(f,s){const m=f.type,h=r.handlers[m];if(mc.call(r.handlers,m)&&h)return h(r,f,s);if(r.options.passThrough&&r.options.passThrough.includes(m)){if("children"in f){const{children:S,...k}=f,p=Lu(k);return p.children=r.all(f),p}return Lu(f)}return(r.options.unknownHandler||M2)(r,f,s)}function c(f){const s=[];if("children"in f){const m=f.children;let h=-1;for(;++h<m.length;){const g=r.one(m[h],f);if(g){if(h&&m[h-1].type==="break"&&(!Array.isArray(g)&&g.type==="text"&&(g.value=Qh(g.value)),!Array.isArray(g)&&g.type==="element")){const S=g.children[0];S&&S.type==="text"&&(S.value=Qh(S.value))}Array.isArray(g)?s.push(...g):s.push(g)}}}return s}}function _2(t,e){t.position&&(e.position=bv(t))}function O2(t,e){let n=e;if(t&&t.data){const l=t.data.hName,i=t.data.hChildren,a=t.data.hProperties;if(typeof l=="string")if(n.type==="element")n.tagName=l;else{const u="children"in n?n.children:[n];n={type:"element",tagName:l,properties:{},children:u}}n.type==="element"&&a&&Object.assign(n.properties,Lu(a)),"children"in n&&n.children&&i!==null&&i!==void 0&&(n.children=i)}return n}function M2(t,e){const n=e.data||{},l="value"in e&&!(mc.call(n,"hProperties")||mc.call(n,"hChildren"))?{type:"text",value:e.value}:{type:"element",tagName:"div",properties:{},children:t.all(e)};return t.patch(e,l),t.applyData(e,l)}function N2(t,e){const n=[];let l=-1;for(e&&n.push({type:"text",value:`
`});++l<t.length;)l&&n.push({type:"text",value:`
`}),n.push(t[l]);return e&&t.length>0&&n.push({type:"text",value:`
`}),n}function Qh(t){let e=0,n=t.charCodeAt(e);for(;n===9||n===32;)e++,n=t.charCodeAt(e);return t.slice(e)}function Zh(t,e){const n=D2(t,e),l=n.one(t,void 0),i=v2(n),a=Array.isArray(l)?{type:"root",children:l}:l||{type:"root",children:[]};return i&&a.children.push({type:"text",value:`
`},i),a}function R2(t,e){return t&&"run"in t?async function(n,l){const i=Zh(n,{file:l,...e});await t.run(i,l)}:function(n,l){return Zh(n,{file:l,...t||e})}}function Kh(t){if(t)throw t}var lu=Object.prototype.hasOwnProperty,Fg=Object.prototype.toString,Fh=Object.defineProperty,Jh=Object.getOwnPropertyDescriptor,Ih=function(e){return typeof Array.isArray=="function"?Array.isArray(e):Fg.call(e)==="[object Array]"},$h=function(e){if(!e||Fg.call(e)!=="[object Object]")return!1;var n=lu.call(e,"constructor"),l=e.constructor&&e.constructor.prototype&&lu.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!l)return!1;var i;for(i in e);return typeof i>"u"||lu.call(e,i)},Wh=function(e,n){Fh&&n.name==="__proto__"?Fh(e,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):e[n.name]=n.newValue},Ph=function(e,n){if(n==="__proto__")if(lu.call(e,n)){if(Jh)return Jh(e,n).value}else return;return e[n]},U2=function t(){var e,n,l,i,a,u,r=arguments[0],o=1,c=arguments.length,f=!1;for(typeof r=="boolean"&&(f=r,r=arguments[1]||{},o=2),(r==null||typeof r!="object"&&typeof r!="function")&&(r={});o<c;++o)if(e=arguments[o],e!=null)for(n in e)l=Ph(r,n),i=Ph(e,n),r!==i&&(f&&i&&($h(i)||(a=Ih(i)))?(a?(a=!1,u=l&&Ih(l)?l:[]):u=l&&$h(l)?l:{},Wh(r,{name:n,newValue:t(f,u,i)})):typeof i<"u"&&Wh(r,{name:n,newValue:i}));return r};const $r=Hu(U2);function pc(t){if(typeof t!="object"||t===null)return!1;const e=Object.getPrototypeOf(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function L2(){const t=[],e={run:n,use:l};return e;function n(...i){let a=-1;const u=i.pop();if(typeof u!="function")throw new TypeError("Expected function as last argument, not "+u);r(null,...i);function r(o,...c){const f=t[++a];let s=-1;if(o){u(o);return}for(;++s<i.length;)(c[s]===null||c[s]===void 0)&&(c[s]=i[s]);i=c,f?B2(f,r)(...c):u(null,...c)}}function l(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return t.push(i),e}}function B2(t,e){let n;return l;function l(...u){const r=t.length>u.length;let o;r&&u.push(i);try{o=t.apply(this,u)}catch(c){const f=c;if(r&&n)throw f;return i(f)}r||(o&&o.then&&typeof o.then=="function"?o.then(a,i):o instanceof Error?i(o):a(o))}function i(u,...r){n||(n=!0,e(u,...r))}function a(u){i(null,u)}}const Ne={basename:H2,dirname:j2,extname:q2,join:Y2,sep:"/"};function H2(t,e){if(e!==void 0&&typeof e!="string")throw new TypeError('"ext" argument must be a string');va(t);let n=0,l=-1,i=t.length,a;if(e===void 0||e.length===0||e.length>t.length){for(;i--;)if(t.codePointAt(i)===47){if(a){n=i+1;break}}else l<0&&(a=!0,l=i+1);return l<0?"":t.slice(n,l)}if(e===t)return"";let u=-1,r=e.length-1;for(;i--;)if(t.codePointAt(i)===47){if(a){n=i+1;break}}else u<0&&(a=!0,u=i+1),r>-1&&(t.codePointAt(i)===e.codePointAt(r--)?r<0&&(l=i):(r=-1,l=u));return n===l?l=u:l<0&&(l=t.length),t.slice(n,l)}function j2(t){if(va(t),t.length===0)return".";let e=-1,n=t.length,l;for(;--n;)if(t.codePointAt(n)===47){if(l){e=n;break}}else l||(l=!0);return e<0?t.codePointAt(0)===47?"/":".":e===1&&t.codePointAt(0)===47?"//":t.slice(0,e)}function q2(t){va(t);let e=t.length,n=-1,l=0,i=-1,a=0,u;for(;e--;){const r=t.codePointAt(e);if(r===47){if(u){l=e+1;break}continue}n<0&&(u=!0,n=e+1),r===46?i<0?i=e:a!==1&&(a=1):i>-1&&(a=-1)}return i<0||n<0||a===0||a===1&&i===n-1&&i===l+1?"":t.slice(i,n)}function Y2(...t){let e=-1,n;for(;++e<t.length;)va(t[e]),t[e]&&(n=n===void 0?t[e]:n+"/"+t[e]);return n===void 0?".":V2(n)}function V2(t){va(t);const e=t.codePointAt(0)===47;let n=G2(t,!e);return n.length===0&&!e&&(n="."),n.length>0&&t.codePointAt(t.length-1)===47&&(n+="/"),e?"/"+n:n}function G2(t,e){let n="",l=0,i=-1,a=0,u=-1,r,o;for(;++u<=t.length;){if(u<t.length)r=t.codePointAt(u);else{if(r===47)break;r=47}if(r===47){if(!(i===u-1||a===1))if(i!==u-1&&a===2){if(n.length<2||l!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(o=n.lastIndexOf("/"),o!==n.length-1){o<0?(n="",l=0):(n=n.slice(0,o),l=n.length-1-n.lastIndexOf("/")),i=u,a=0;continue}}else if(n.length>0){n="",l=0,i=u,a=0;continue}}e&&(n=n.length>0?n+"/..":"..",l=2)}else n.length>0?n+="/"+t.slice(i+1,u):n=t.slice(i+1,u),l=u-i-1;i=u,a=0}else r===46&&a>-1?a++:a=-1}return n}function va(t){if(typeof t!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}const X2={cwd:Q2};function Q2(){return"/"}function dc(t){return!!(t!==null&&typeof t=="object"&&"href"in t&&t.href&&"protocol"in t&&t.protocol&&t.auth===void 0)}function Z2(t){if(typeof t=="string")t=new URL(t);else if(!dc(t)){const e=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+t+"`");throw e.code="ERR_INVALID_ARG_TYPE",e}if(t.protocol!=="file:"){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return K2(t)}function K2(t){if(t.hostname!==""){const l=new TypeError('File URL host must be "localhost" or empty on darwin');throw l.code="ERR_INVALID_FILE_URL_HOST",l}const e=t.pathname;let n=-1;for(;++n<e.length;)if(e.codePointAt(n)===37&&e.codePointAt(n+1)===50){const l=e.codePointAt(n+2);if(l===70||l===102){const i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(e)}const Wr=["history","path","basename","stem","extname","dirname"];class Jg{constructor(e){let n;e?dc(e)?n={path:e}:typeof e=="string"||F2(e)?n={value:e}:n=e:n={},this.cwd="cwd"in n?"":X2.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let l=-1;for(;++l<Wr.length;){const a=Wr[l];a in n&&n[a]!==void 0&&n[a]!==null&&(this[a]=a==="history"?[...n[a]]:n[a])}let i;for(i in n)Wr.includes(i)||(this[i]=n[i])}get basename(){return typeof this.path=="string"?Ne.basename(this.path):void 0}set basename(e){to(e,"basename"),Pr(e,"basename"),this.path=Ne.join(this.dirname||"",e)}get dirname(){return typeof this.path=="string"?Ne.dirname(this.path):void 0}set dirname(e){tm(this.basename,"dirname"),this.path=Ne.join(e||"",this.basename)}get extname(){return typeof this.path=="string"?Ne.extname(this.path):void 0}set extname(e){if(Pr(e,"extname"),tm(this.dirname,"extname"),e){if(e.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Ne.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){dc(e)&&(e=Z2(e)),to(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return typeof this.path=="string"?Ne.basename(this.path,this.extname):void 0}set stem(e){to(e,"stem"),Pr(e,"stem"),this.path=Ne.join(this.dirname||"",e+(this.extname||""))}fail(e,n,l){const i=this.message(e,n,l);throw i.fatal=!0,i}info(e,n,l){const i=this.message(e,n,l);return i.fatal=void 0,i}message(e,n,l){const i=new Yt(e,n,l);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(e){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(e||void 0).decode(this.value)}}function Pr(t,e){if(t&&t.includes(Ne.sep))throw new Error("`"+e+"` cannot be a path: did not expect `"+Ne.sep+"`")}function to(t,e){if(!t)throw new Error("`"+e+"` cannot be empty")}function tm(t,e){if(!t)throw new Error("Setting `"+e+"` requires `path` to be set too")}function F2(t){return!!(t&&typeof t=="object"&&"byteLength"in t&&"byteOffset"in t)}const J2=function(t){const l=this.constructor.prototype,i=l[t],a=function(){return i.apply(a,arguments)};return Object.setPrototypeOf(a,l),a},I2={}.hasOwnProperty;class Ns extends J2{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=L2()}copy(){const e=new Ns;let n=-1;for(;++n<this.attachers.length;){const l=this.attachers[n];e.use(...l)}return e.data($r(!0,{},this.namespace)),e}data(e,n){return typeof e=="string"?arguments.length===2?(lo("data",this.frozen),this.namespace[e]=n,this):I2.call(this.namespace,e)&&this.namespace[e]||void 0:e?(lo("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;const e=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...l]=this.attachers[this.freezeIndex];if(l[0]===!1)continue;l[0]===!0&&(l[0]=void 0);const i=n.call(e,...l);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(e){this.freeze();const n=ja(e),l=this.parser||this.Parser;return eo("parse",l),l(String(n),n)}process(e,n){const l=this;return this.freeze(),eo("process",this.parser||this.Parser),no("process",this.compiler||this.Compiler),n?i(void 0,n):new Promise(i);function i(a,u){const r=ja(e),o=l.parse(r);l.run(o,r,function(f,s,m){if(f||!s||!m)return c(f);const h=s,g=l.stringify(h,m);P2(g)?m.value=g:m.result=g,c(f,m)});function c(f,s){f||!s?u(f):a?a(s):n(void 0,s)}}}processSync(e){let n=!1,l;return this.freeze(),eo("processSync",this.parser||this.Parser),no("processSync",this.compiler||this.Compiler),this.process(e,i),nm("processSync","process",n),l;function i(a,u){n=!0,Kh(a),l=u}}run(e,n,l){em(e),this.freeze();const i=this.transformers;return!l&&typeof n=="function"&&(l=n,n=void 0),l?a(void 0,l):new Promise(a);function a(u,r){const o=ja(n);i.run(e,o,c);function c(f,s,m){const h=s||e;f?r(f):u?u(h):l(void 0,h,m)}}}runSync(e,n){let l=!1,i;return this.run(e,n,a),nm("runSync","run",l),i;function a(u,r){Kh(u),i=r,l=!0}}stringify(e,n){this.freeze();const l=ja(n),i=this.compiler||this.Compiler;return no("stringify",i),em(e),i(e,l)}use(e,...n){const l=this.attachers,i=this.namespace;if(lo("use",this.frozen),e!=null)if(typeof e=="function")o(e,n);else if(typeof e=="object")Array.isArray(e)?r(e):u(e);else throw new TypeError("Expected usable value, not `"+e+"`");return this;function a(c){if(typeof c=="function")o(c,[]);else if(typeof c=="object")if(Array.isArray(c)){const[f,...s]=c;o(f,s)}else u(c);else throw new TypeError("Expected usable value, not `"+c+"`")}function u(c){if(!("plugins"in c)&&!("settings"in c))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");r(c.plugins),c.settings&&(i.settings=$r(!0,i.settings,c.settings))}function r(c){let f=-1;if(c!=null)if(Array.isArray(c))for(;++f<c.length;){const s=c[f];a(s)}else throw new TypeError("Expected a list of plugins, not `"+c+"`")}function o(c,f){let s=-1,m=-1;for(;++s<l.length;)if(l[s][0]===c){m=s;break}if(m===-1)l.push([c,...f]);else if(f.length>0){let[h,...g]=f;const S=l[m][1];pc(S)&&pc(h)&&(h=$r(!0,S,h)),l[m]=[c,h,...g]}}}}const $2=new Ns().freeze();function eo(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `parser`")}function no(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `compiler`")}function lo(t,e){if(e)throw new Error("Cannot call `"+t+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function em(t){if(!pc(t)||typeof t.type!="string")throw new TypeError("Expected node, got `"+t+"`")}function nm(t,e,n){if(!n)throw new Error("`"+t+"` finished async. Use `"+e+"` instead")}function ja(t){return W2(t)?t:new Jg(t)}function W2(t){return!!(t&&typeof t=="object"&&"message"in t&&"messages"in t)}function P2(t){return typeof t=="string"||tE(t)}function tE(t){return!!(t&&typeof t=="object"&&"byteLength"in t&&"byteOffset"in t)}const eE="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",lm=[],im={allowDangerousHtml:!0},nE=/^(https?|ircs?|mailto|xmpp)$/i,lE=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function iE(t){const e=aE(t),n=uE(t);return rE(e.runSync(e.parse(n),n),t)}function aE(t){const e=t.rehypePlugins||lm,n=t.remarkPlugins||lm,l=t.remarkRehypeOptions?{...t.remarkRehypeOptions,...im}:im;return $2().use(qx).use(n).use(R2,l).use(e)}function uE(t){const e=t.children||"",n=new Jg;return typeof e=="string"&&(n.value=e),n}function rE(t,e){const n=e.allowedElements,l=e.allowElement,i=e.components,a=e.disallowedElements,u=e.skipHtml,r=e.unwrapDisallowed,o=e.urlTransform||oE;for(const f of lE)Object.hasOwn(e,f.from)&&(""+f.from+(f.to?"use `"+f.to+"` instead":"remove it")+eE+f.id,void 0);return e.className&&(t={type:"element",tagName:"div",properties:{className:e.className},children:t.type==="root"?t.children:[t]}),Ms(t,c),Tv(t,{Fragment:X.Fragment,components:i,ignoreInvalidStyle:!0,jsx:X.jsx,jsxs:X.jsxs,passKeys:!0,passNode:!0});function c(f,s,m){if(f.type==="raw"&&m&&typeof s=="number")return u?m.children.splice(s,1):m.children[s]={type:"text",value:f.value},s;if(f.type==="element"){let h;for(h in Fr)if(Object.hasOwn(Fr,h)&&Object.hasOwn(f.properties,h)){const g=f.properties[h],S=Fr[h];(S===null||S.includes(f.tagName))&&(f.properties[h]=o(String(g||""),h,f))}}if(f.type==="element"){let h=n?!n.includes(f.tagName):a?a.includes(f.tagName):!1;if(!h&&l&&typeof s=="number"&&(h=!l(f,s,m)),h&&m&&typeof s=="number")return r&&f.children?m.children.splice(s,1,...f.children):m.children.splice(s,1),s}}}function oE(t){const e=t.indexOf(":"),n=t.indexOf("?"),l=t.indexOf("#"),i=t.indexOf("/");return e===-1||i!==-1&&e>i||n!==-1&&e>n||l!==-1&&e>l||nE.test(t.slice(0,e))?t:""}function am(t,e){const n=String(t);if(typeof e!="string")throw new TypeError("Expected character");let l=0,i=n.indexOf(e);for(;i!==-1;)l++,i=n.indexOf(e,i+e.length);return l}function cE(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function sE(t,e,n){const i=or((n||{}).ignore||[]),a=fE(e);let u=-1;for(;++u<a.length;)Kg(t,"text",r);function r(c,f){let s=-1,m;for(;++s<f.length;){const h=f[s],g=m?m.children:void 0;if(i(h,g?g.indexOf(h):void 0,m))return;m=h}if(m)return o(c,f)}function o(c,f){const s=f[f.length-1],m=a[u][0],h=a[u][1];let g=0;const k=s.children.indexOf(c);let p=!1,d=[];m.lastIndex=0;let y=m.exec(c.value);for(;y;){const E=y.index,w={index:y.index,input:y.input,stack:[...f,c]};let T=h(...y,w);if(typeof T=="string"&&(T=T.length>0?{type:"text",value:T}:void 0),T===!1?m.lastIndex=E+1:(g!==E&&d.push({type:"text",value:c.value.slice(g,E)}),Array.isArray(T)?d.push(...T):T&&d.push(T),g=E+y[0].length,p=!0),!m.global)break;y=m.exec(c.value)}return p?(g<c.value.length&&d.push({type:"text",value:c.value.slice(g)}),s.children.splice(k,1,...d)):d=[c],k+d.length}}function fE(t){const e=[];if(!Array.isArray(t))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!t[0]||Array.isArray(t[0])?t:[t];let l=-1;for(;++l<n.length;){const i=n[l];e.push([hE(i[0]),mE(i[1])])}return e}function hE(t){return typeof t=="string"?new RegExp(cE(t),"g"):t}function mE(t){return typeof t=="function"?t:function(){return t}}const io="phrasing",ao=["autolink","link","image","label"];function pE(){return{transforms:[xE],enter:{literalAutolink:gE,literalAutolinkEmail:uo,literalAutolinkHttp:uo,literalAutolinkWww:uo},exit:{literalAutolink:SE,literalAutolinkEmail:vE,literalAutolinkHttp:yE,literalAutolinkWww:bE}}}function dE(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:io,notInConstruct:ao},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:io,notInConstruct:ao},{character:":",before:"[ps]",after:"\\/",inConstruct:io,notInConstruct:ao}]}}function gE(t){this.enter({type:"link",title:null,url:"",children:[]},t)}function uo(t){this.config.enter.autolinkProtocol.call(this,t)}function yE(t){this.config.exit.autolinkProtocol.call(this,t)}function bE(t){this.config.exit.data.call(this,t);const e=this.stack[this.stack.length-1];e.type,e.url="http://"+this.sliceSerialize(t)}function vE(t){this.config.exit.autolinkEmail.call(this,t)}function SE(t){this.exit(t)}function xE(t){sE(t,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,EE],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),TE]],{ignore:["link","linkReference"]})}function EE(t,e,n,l,i){let a="";if(!Ig(i)||(/^w/i.test(e)&&(n=e+n,e="",a="http://"),!kE(n)))return!1;const u=zE(n+l);if(!u[0])return!1;const r={type:"link",title:null,url:a+e+u[0],children:[{type:"text",value:e+u[0]}]};return u[1]?[r,{type:"text",value:u[1]}]:r}function TE(t,e,n,l){return!Ig(l,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+e+"@"+n,children:[{type:"text",value:e+"@"+n}]}}function kE(t){const e=t.split(".");return!(e.length<2||e[e.length-1]&&(/_/.test(e[e.length-1])||!/[a-zA-Z\d]/.test(e[e.length-1]))||e[e.length-2]&&(/_/.test(e[e.length-2])||!/[a-zA-Z\d]/.test(e[e.length-2])))}function zE(t){const e=/[!"&'),.:;<>?\]}]+$/.exec(t);if(!e)return[t,void 0];t=t.slice(0,e.index);let n=e[0],l=n.indexOf(")");const i=am(t,"(");let a=am(t,")");for(;l!==-1&&i>a;)t+=n.slice(0,l+1),n=n.slice(l+1),l=n.indexOf(")"),a++;return[t,n]}function Ig(t,e){const n=t.input.charCodeAt(t.index-1);return(t.index===0||il(n)||ar(n))&&(!e||n!==47)}$g.peek=RE;function AE(){this.buffer()}function CE(t){this.enter({type:"footnoteReference",identifier:"",label:""},t)}function wE(){this.buffer()}function DE(t){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},t)}function _E(t){const e=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Oe(this.sliceSerialize(t)).toLowerCase(),n.label=e}function OE(t){this.exit(t)}function ME(t){const e=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Oe(this.sliceSerialize(t)).toLowerCase(),n.label=e}function NE(t){this.exit(t)}function RE(){return"["}function $g(t,e,n,l){const i=n.createTracker(l);let a=i.move("[^");const u=n.enter("footnoteReference"),r=n.enter("reference");return a+=i.move(n.safe(n.associationId(t),{after:"]",before:a})),r(),u(),a+=i.move("]"),a}function UE(){return{enter:{gfmFootnoteCallString:AE,gfmFootnoteCall:CE,gfmFootnoteDefinitionLabelString:wE,gfmFootnoteDefinition:DE},exit:{gfmFootnoteCallString:_E,gfmFootnoteCall:OE,gfmFootnoteDefinitionLabelString:ME,gfmFootnoteDefinition:NE}}}function LE(t){let e=!1;return t&&t.firstLineBlank&&(e=!0),{handlers:{footnoteDefinition:n,footnoteReference:$g},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function n(l,i,a,u){const r=a.createTracker(u);let o=r.move("[^");const c=a.enter("footnoteDefinition"),f=a.enter("label");return o+=r.move(a.safe(a.associationId(l),{before:o,after:"]"})),f(),o+=r.move("]:"),l.children&&l.children.length>0&&(r.shift(4),o+=r.move((e?`
`:" ")+a.indentLines(a.containerFlow(l,r.current()),e?Wg:BE))),c(),o}}function BE(t,e,n){return e===0?t:Wg(t,e,n)}function Wg(t,e,n){return(n?"":" ")+t}const HE=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];Pg.peek=GE;function jE(){return{canContainEols:["delete"],enter:{strikethrough:YE},exit:{strikethrough:VE}}}function qE(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:HE}],handlers:{delete:Pg}}}function YE(t){this.enter({type:"delete",children:[]},t)}function VE(t){this.exit(t)}function Pg(t,e,n,l){const i=n.createTracker(l),a=n.enter("strikethrough");let u=i.move("~~");return u+=n.containerPhrasing(t,{...i.current(),before:u,after:"~"}),u+=i.move("~~"),a(),u}function GE(){return"~"}function XE(t){return t.length}function QE(t,e){const n=e||{},l=(n.align||[]).concat(),i=n.stringLength||XE,a=[],u=[],r=[],o=[];let c=0,f=-1;for(;++f<t.length;){const S=[],k=[];let p=-1;for(t[f].length>c&&(c=t[f].length);++p<t[f].length;){const d=ZE(t[f][p]);if(n.alignDelimiters!==!1){const y=i(d);k[p]=y,(o[p]===void 0||y>o[p])&&(o[p]=y)}S.push(d)}u[f]=S,r[f]=k}let s=-1;if(typeof l=="object"&&"length"in l)for(;++s<c;)a[s]=um(l[s]);else{const S=um(l);for(;++s<c;)a[s]=S}s=-1;const m=[],h=[];for(;++s<c;){const S=a[s];let k="",p="";S===99?(k=":",p=":"):S===108?k=":":S===114&&(p=":");let d=n.alignDelimiters===!1?1:Math.max(1,o[s]-k.length-p.length);const y=k+"-".repeat(d)+p;n.alignDelimiters!==!1&&(d=k.length+d+p.length,d>o[s]&&(o[s]=d),h[s]=d),m[s]=y}u.splice(1,0,m),r.splice(1,0,h),f=-1;const g=[];for(;++f<u.length;){const S=u[f],k=r[f];s=-1;const p=[];for(;++s<c;){const d=S[s]||"";let y="",E="";if(n.alignDelimiters!==!1){const w=o[s]-(k[s]||0),T=a[s];T===114?y=" ".repeat(w):T===99?w%2?(y=" ".repeat(w/2+.5),E=" ".repeat(w/2-.5)):(y=" ".repeat(w/2),E=y):E=" ".repeat(w)}n.delimiterStart!==!1&&!s&&p.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&d==="")&&(n.delimiterStart!==!1||s)&&p.push(" "),n.alignDelimiters!==!1&&p.push(y),p.push(d),n.alignDelimiters!==!1&&p.push(E),n.padding!==!1&&p.push(" "),(n.delimiterEnd!==!1||s!==c-1)&&p.push("|")}g.push(n.delimiterEnd===!1?p.join("").replace(/ +$/,""):p.join(""))}return g.join(`
`)}function ZE(t){return t==null?"":String(t)}function um(t){const e=typeof t=="string"?t.codePointAt(0):0;return e===67||e===99?99:e===76||e===108?108:e===82||e===114?114:0}function KE(t,e,n,l){const i=n.enter("blockquote"),a=n.createTracker(l);a.move("> "),a.shift(2);const u=n.indentLines(n.containerFlow(t,a.current()),FE);return i(),u}function FE(t,e,n){return">"+(n?"":" ")+t}function JE(t,e){return rm(t,e.inConstruct,!0)&&!rm(t,e.notInConstruct,!1)}function rm(t,e,n){if(typeof e=="string"&&(e=[e]),!e||e.length===0)return n;let l=-1;for(;++l<e.length;)if(t.includes(e[l]))return!0;return!1}function om(t,e,n,l){let i=-1;for(;++i<n.unsafe.length;)if(n.unsafe[i].character===`
`&&JE(n.stack,n.unsafe[i]))return/[ \t]/.test(l.before)?"":" ";return`\\
`}function IE(t,e){const n=String(t);let l=n.indexOf(e),i=l,a=0,u=0;if(typeof e!="string")throw new TypeError("Expected substring");for(;l!==-1;)l===i?++a>u&&(u=a):a=1,i=l+e.length,l=n.indexOf(e,i);return u}function $E(t,e){return!!(e.options.fences===!1&&t.value&&!t.lang&&/[^ \r\n]/.test(t.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(t.value))}function WE(t){const e=t.options.fence||"`";if(e!=="`"&&e!=="~")throw new Error("Cannot serialize code with `"+e+"` for `options.fence`, expected `` ` `` or `~`");return e}function PE(t,e,n,l){const i=WE(n),a=t.value||"",u=i==="`"?"GraveAccent":"Tilde";if($E(t,n)){const s=n.enter("codeIndented"),m=n.indentLines(a,tT);return s(),m}const r=n.createTracker(l),o=i.repeat(Math.max(IE(a,i)+1,3)),c=n.enter("codeFenced");let f=r.move(o);if(t.lang){const s=n.enter(`codeFencedLang${u}`);f+=r.move(n.safe(t.lang,{before:f,after:" ",encode:["`"],...r.current()})),s()}if(t.lang&&t.meta){const s=n.enter(`codeFencedMeta${u}`);f+=r.move(" "),f+=r.move(n.safe(t.meta,{before:f,after:`
`,encode:["`"],...r.current()})),s()}return f+=r.move(`
`),a&&(f+=r.move(a+`
`)),f+=r.move(o),c(),f}function tT(t,e,n){return(n?"":" ")+t}function Rs(t){const e=t.options.quote||'"';if(e!=='"'&&e!=="'")throw new Error("Cannot serialize title with `"+e+"` for `options.quote`, expected `\"`, or `'`");return e}function eT(t,e,n,l){const i=Rs(n),a=i==='"'?"Quote":"Apostrophe",u=n.enter("definition");let r=n.enter("label");const o=n.createTracker(l);let c=o.move("[");return c+=o.move(n.safe(n.associationId(t),{before:c,after:"]",...o.current()})),c+=o.move("]: "),r(),!t.url||/[\0- \u007F]/.test(t.url)?(r=n.enter("destinationLiteral"),c+=o.move("<"),c+=o.move(n.safe(t.url,{before:c,after:">",...o.current()})),c+=o.move(">")):(r=n.enter("destinationRaw"),c+=o.move(n.safe(t.url,{before:c,after:t.title?" ":`
`,...o.current()}))),r(),t.title&&(r=n.enter(`title${a}`),c+=o.move(" "+i),c+=o.move(n.safe(t.title,{before:c,after:i,...o.current()})),c+=o.move(i),r()),u(),c}function nT(t){const e=t.options.emphasis||"*";if(e!=="*"&&e!=="_")throw new Error("Cannot serialize emphasis with `"+e+"` for `options.emphasis`, expected `*`, or `_`");return e}function ia(t){return"&#x"+t.toString(16).toUpperCase()+";"}function Bu(t,e,n){const l=Wl(t),i=Wl(e);return l===void 0?i===void 0?n==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:l===1?i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}ty.peek=lT;function ty(t,e,n,l){const i=nT(n),a=n.enter("emphasis"),u=n.createTracker(l),r=u.move(i);let o=u.move(n.containerPhrasing(t,{after:i,before:r,...u.current()}));const c=o.charCodeAt(0),f=Bu(l.before.charCodeAt(l.before.length-1),c,i);f.inside&&(o=ia(c)+o.slice(1));const s=o.charCodeAt(o.length-1),m=Bu(l.after.charCodeAt(0),s,i);m.inside&&(o=o.slice(0,-1)+ia(s));const h=u.move(i);return a(),n.attentionEncodeSurroundingInfo={after:m.outside,before:f.outside},r+o+h}function lT(t,e,n){return n.options.emphasis||"*"}function iT(t,e){let n=!1;return Ms(t,function(l){if("value"in l&&/\r?\n|\r/.test(l.value)||l.type==="break")return n=!0,hc}),!!((!t.depth||t.depth<3)&&zs(t)&&(e.options.setext||n))}function aT(t,e,n,l){const i=Math.max(Math.min(6,t.depth||1),1),a=n.createTracker(l);if(iT(t,n)){const f=n.enter("headingSetext"),s=n.enter("phrasing"),m=n.containerPhrasing(t,{...a.current(),before:`
`,after:`
`});return s(),f(),m+`
`+(i===1?"=":"-").repeat(m.length-(Math.max(m.lastIndexOf("\r"),m.lastIndexOf(`
`))+1))}const u="#".repeat(i),r=n.enter("headingAtx"),o=n.enter("phrasing");a.move(u+" ");let c=n.containerPhrasing(t,{before:"# ",after:`
`,...a.current()});return/^[\t ]/.test(c)&&(c=ia(c.charCodeAt(0))+c.slice(1)),c=c?u+" "+c:u,n.options.closeAtx&&(c+=" "+u),o(),r(),c}ey.peek=uT;function ey(t){return t.value||""}function uT(){return"<"}ny.peek=rT;function ny(t,e,n,l){const i=Rs(n),a=i==='"'?"Quote":"Apostrophe",u=n.enter("image");let r=n.enter("label");const o=n.createTracker(l);let c=o.move("![");return c+=o.move(n.safe(t.alt,{before:c,after:"]",...o.current()})),c+=o.move("]("),r(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(r=n.enter("destinationLiteral"),c+=o.move("<"),c+=o.move(n.safe(t.url,{before:c,after:">",...o.current()})),c+=o.move(">")):(r=n.enter("destinationRaw"),c+=o.move(n.safe(t.url,{before:c,after:t.title?" ":")",...o.current()}))),r(),t.title&&(r=n.enter(`title${a}`),c+=o.move(" "+i),c+=o.move(n.safe(t.title,{before:c,after:i,...o.current()})),c+=o.move(i),r()),c+=o.move(")"),u(),c}function rT(){return"!"}ly.peek=oT;function ly(t,e,n,l){const i=t.referenceType,a=n.enter("imageReference");let u=n.enter("label");const r=n.createTracker(l);let o=r.move("![");const c=n.safe(t.alt,{before:o,after:"]",...r.current()});o+=r.move(c+"]["),u();const f=n.stack;n.stack=[],u=n.enter("reference");const s=n.safe(n.associationId(t),{before:o,after:"]",...r.current()});return u(),n.stack=f,a(),i==="full"||!c||c!==s?o+=r.move(s+"]"):i==="shortcut"?o=o.slice(0,-1):o+=r.move("]"),o}function oT(){return"!"}iy.peek=cT;function iy(t,e,n){let l=t.value||"",i="`",a=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(l);)i+="`";for(/[^ \r\n]/.test(l)&&(/^[ \r\n]/.test(l)&&/[ \r\n]$/.test(l)||/^`|`$/.test(l))&&(l=" "+l+" ");++a<n.unsafe.length;){const u=n.unsafe[a],r=n.compilePattern(u);let o;if(u.atBreak)for(;o=r.exec(l);){let c=o.index;l.charCodeAt(c)===10&&l.charCodeAt(c-1)===13&&c--,l=l.slice(0,c)+" "+l.slice(o.index+1)}}return i+l+i}function cT(){return"`"}function ay(t,e){const n=zs(t);return!!(!e.options.resourceLink&&t.url&&!t.title&&t.children&&t.children.length===1&&t.children[0].type==="text"&&(n===t.url||"mailto:"+n===t.url)&&/^[a-z][a-z+.-]+:/i.test(t.url)&&!/[\0- <>\u007F]/.test(t.url))}uy.peek=sT;function uy(t,e,n,l){const i=Rs(n),a=i==='"'?"Quote":"Apostrophe",u=n.createTracker(l);let r,o;if(ay(t,n)){const f=n.stack;n.stack=[],r=n.enter("autolink");let s=u.move("<");return s+=u.move(n.containerPhrasing(t,{before:s,after:">",...u.current()})),s+=u.move(">"),r(),n.stack=f,s}r=n.enter("link"),o=n.enter("label");let c=u.move("[");return c+=u.move(n.containerPhrasing(t,{before:c,after:"](",...u.current()})),c+=u.move("]("),o(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(o=n.enter("destinationLiteral"),c+=u.move("<"),c+=u.move(n.safe(t.url,{before:c,after:">",...u.current()})),c+=u.move(">")):(o=n.enter("destinationRaw"),c+=u.move(n.safe(t.url,{before:c,after:t.title?" ":")",...u.current()}))),o(),t.title&&(o=n.enter(`title${a}`),c+=u.move(" "+i),c+=u.move(n.safe(t.title,{before:c,after:i,...u.current()})),c+=u.move(i),o()),c+=u.move(")"),r(),c}function sT(t,e,n){return ay(t,n)?"<":"["}ry.peek=fT;function ry(t,e,n,l){const i=t.referenceType,a=n.enter("linkReference");let u=n.enter("label");const r=n.createTracker(l);let o=r.move("[");const c=n.containerPhrasing(t,{before:o,after:"]",...r.current()});o+=r.move(c+"]["),u();const f=n.stack;n.stack=[],u=n.enter("reference");const s=n.safe(n.associationId(t),{before:o,after:"]",...r.current()});return u(),n.stack=f,a(),i==="full"||!c||c!==s?o+=r.move(s+"]"):i==="shortcut"?o=o.slice(0,-1):o+=r.move("]"),o}function fT(){return"["}function Us(t){const e=t.options.bullet||"*";if(e!=="*"&&e!=="+"&&e!=="-")throw new Error("Cannot serialize items with `"+e+"` for `options.bullet`, expected `*`, `+`, or `-`");return e}function hT(t){const e=Us(t),n=t.options.bulletOther;if(!n)return e==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===e)throw new Error("Expected `bullet` (`"+e+"`) and `bulletOther` (`"+n+"`) to be different");return n}function mT(t){const e=t.options.bulletOrdered||".";if(e!=="."&&e!==")")throw new Error("Cannot serialize items with `"+e+"` for `options.bulletOrdered`, expected `.` or `)`");return e}function oy(t){const e=t.options.rule||"*";if(e!=="*"&&e!=="-"&&e!=="_")throw new Error("Cannot serialize rules with `"+e+"` for `options.rule`, expected `*`, `-`, or `_`");return e}function pT(t,e,n,l){const i=n.enter("list"),a=n.bulletCurrent;let u=t.ordered?mT(n):Us(n);const r=t.ordered?u==="."?")":".":hT(n);let o=e&&n.bulletLastUsed?u===n.bulletLastUsed:!1;if(!t.ordered){const f=t.children?t.children[0]:void 0;if((u==="*"||u==="-")&&f&&(!f.children||!f.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(o=!0),oy(n)===u&&f){let s=-1;for(;++s<t.children.length;){const m=t.children[s];if(m&&m.type==="listItem"&&m.children&&m.children[0]&&m.children[0].type==="thematicBreak"){o=!0;break}}}}o&&(u=r),n.bulletCurrent=u;const c=n.containerFlow(t,l);return n.bulletLastUsed=u,n.bulletCurrent=a,i(),c}function dT(t){const e=t.options.listItemIndent||"one";if(e!=="tab"&&e!=="one"&&e!=="mixed")throw new Error("Cannot serialize items with `"+e+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return e}function gT(t,e,n,l){const i=dT(n);let a=n.bulletCurrent||Us(n);e&&e.type==="list"&&e.ordered&&(a=(typeof e.start=="number"&&e.start>-1?e.start:1)+(n.options.incrementListMarker===!1?0:e.children.indexOf(t))+a);let u=a.length+1;(i==="tab"||i==="mixed"&&(e&&e.type==="list"&&e.spread||t.spread))&&(u=Math.ceil(u/4)*4);const r=n.createTracker(l);r.move(a+" ".repeat(u-a.length)),r.shift(u);const o=n.enter("listItem"),c=n.indentLines(n.containerFlow(t,r.current()),f);return o(),c;function f(s,m,h){return m?(h?"":" ".repeat(u))+s:(h?a:a+" ".repeat(u-a.length))+s}}function yT(t,e,n,l){const i=n.enter("paragraph"),a=n.enter("phrasing"),u=n.containerPhrasing(t,l);return a(),i(),u}const bT=or(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function vT(t,e,n,l){return(t.children.some(function(u){return bT(u)})?n.containerPhrasing:n.containerFlow).call(n,t,l)}function ST(t){const e=t.options.strong||"*";if(e!=="*"&&e!=="_")throw new Error("Cannot serialize strong with `"+e+"` for `options.strong`, expected `*`, or `_`");return e}cy.peek=xT;function cy(t,e,n,l){const i=ST(n),a=n.enter("strong"),u=n.createTracker(l),r=u.move(i+i);let o=u.move(n.containerPhrasing(t,{after:i,before:r,...u.current()}));const c=o.charCodeAt(0),f=Bu(l.before.charCodeAt(l.before.length-1),c,i);f.inside&&(o=ia(c)+o.slice(1));const s=o.charCodeAt(o.length-1),m=Bu(l.after.charCodeAt(0),s,i);m.inside&&(o=o.slice(0,-1)+ia(s));const h=u.move(i+i);return a(),n.attentionEncodeSurroundingInfo={after:m.outside,before:f.outside},r+o+h}function xT(t,e,n){return n.options.strong||"*"}function ET(t,e,n,l){return n.safe(t.value,l)}function TT(t){const e=t.options.ruleRepetition||3;if(e<3)throw new Error("Cannot serialize rules with repetition `"+e+"` for `options.ruleRepetition`, expected `3` or more");return e}function kT(t,e,n){const l=(oy(n)+(n.options.ruleSpaces?" ":"")).repeat(TT(n));return n.options.ruleSpaces?l.slice(0,-1):l}const sy={blockquote:KE,break:om,code:PE,definition:eT,emphasis:ty,hardBreak:om,heading:aT,html:ey,image:ny,imageReference:ly,inlineCode:iy,link:uy,linkReference:ry,list:pT,listItem:gT,paragraph:yT,root:vT,strong:cy,text:ET,thematicBreak:kT};function zT(){return{enter:{table:AT,tableData:cm,tableHeader:cm,tableRow:wT},exit:{codeText:DT,table:CT,tableData:ro,tableHeader:ro,tableRow:ro}}}function AT(t){const e=t._align;this.enter({type:"table",align:e.map(function(n){return n==="none"?null:n}),children:[]},t),this.data.inTable=!0}function CT(t){this.exit(t),this.data.inTable=void 0}function wT(t){this.enter({type:"tableRow",children:[]},t)}function ro(t){this.exit(t)}function cm(t){this.enter({type:"tableCell",children:[]},t)}function DT(t){let e=this.resume();this.data.inTable&&(e=e.replace(/\\([\\|])/g,_T));const n=this.stack[this.stack.length-1];n.type,n.value=e,this.exit(t)}function _T(t,e){return e==="|"?e:t}function OT(t){const e=t||{},n=e.tableCellPadding,l=e.tablePipeAlign,i=e.stringLength,a=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:m,table:u,tableCell:o,tableRow:r}};function u(h,g,S,k){return c(f(h,S,k),h.align)}function r(h,g,S,k){const p=s(h,S,k),d=c([p]);return d.slice(0,d.indexOf(`
`))}function o(h,g,S,k){const p=S.enter("tableCell"),d=S.enter("phrasing"),y=S.containerPhrasing(h,{...k,before:a,after:a});return d(),p(),y}function c(h,g){return QE(h,{align:g,alignDelimiters:l,padding:n,stringLength:i})}function f(h,g,S){const k=h.children;let p=-1;const d=[],y=g.enter("table");for(;++p<k.length;)d[p]=s(k[p],g,S);return y(),d}function s(h,g,S){const k=h.children;let p=-1;const d=[],y=g.enter("tableRow");for(;++p<k.length;)d[p]=o(k[p],h,g,S);return y(),d}function m(h,g,S){let k=sy.inlineCode(h,g,S);return S.stack.includes("tableCell")&&(k=k.replace(/\|/g,"\\$&")),k}}function MT(){return{exit:{taskListCheckValueChecked:sm,taskListCheckValueUnchecked:sm,paragraph:RT}}}function NT(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:UT}}}function sm(t){const e=this.stack[this.stack.length-2];e.type,e.checked=t.type==="taskListCheckValueChecked"}function RT(t){const e=this.stack[this.stack.length-2];if(e&&e.type==="listItem"&&typeof e.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const l=n.children[0];if(l&&l.type==="text"){const i=e.children;let a=-1,u;for(;++a<i.length;){const r=i[a];if(r.type==="paragraph"){u=r;break}}u===n&&(l.value=l.value.slice(1),l.value.length===0?n.children.shift():n.position&&l.position&&typeof l.position.start.offset=="number"&&(l.position.start.column++,l.position.start.offset++,n.position.start=Object.assign({},l.position.start)))}}this.exit(t)}function UT(t,e,n,l){const i=t.children[0],a=typeof t.checked=="boolean"&&i&&i.type==="paragraph",u="["+(t.checked?"x":" ")+"] ",r=n.createTracker(l);a&&r.move(u);let o=sy.listItem(t,e,n,{...l,...r.current()});return a&&(o=o.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,c)),o;function c(f){return f+u}}function LT(){return[pE(),UE(),jE(),zT(),MT()]}function BT(t){return{extensions:[dE(),LE(t),qE(),OT(t),NT()]}}const HT={tokenize:XT,partial:!0},fy={tokenize:QT,partial:!0},hy={tokenize:ZT,partial:!0},my={tokenize:KT,partial:!0},jT={tokenize:FT,partial:!0},py={name:"wwwAutolink",tokenize:VT,previous:gy},dy={name:"protocolAutolink",tokenize:GT,previous:yy},cn={name:"emailAutolink",tokenize:YT,previous:by},qe={};function qT(){return{text:qe}}let Vn=48;for(;Vn<123;)qe[Vn]=cn,Vn++,Vn===58?Vn=65:Vn===91&&(Vn=97);qe[43]=cn;qe[45]=cn;qe[46]=cn;qe[95]=cn;qe[72]=[cn,dy];qe[104]=[cn,dy];qe[87]=[cn,py];qe[119]=[cn,py];function YT(t,e,n){const l=this;let i,a;return u;function u(s){return!gc(s)||!by.call(l,l.previous)||Ls(l.events)?n(s):(t.enter("literalAutolink"),t.enter("literalAutolinkEmail"),r(s))}function r(s){return gc(s)?(t.consume(s),r):s===64?(t.consume(s),o):n(s)}function o(s){return s===46?t.check(jT,f,c)(s):s===45||s===95||qt(s)?(a=!0,t.consume(s),o):f(s)}function c(s){return t.consume(s),i=!0,o}function f(s){return a&&i&&Gt(l.previous)?(t.exit("literalAutolinkEmail"),t.exit("literalAutolink"),e(s)):n(s)}}function VT(t,e,n){const l=this;return i;function i(u){return u!==87&&u!==119||!gy.call(l,l.previous)||Ls(l.events)?n(u):(t.enter("literalAutolink"),t.enter("literalAutolinkWww"),t.check(HT,t.attempt(fy,t.attempt(hy,a),n),n)(u))}function a(u){return t.exit("literalAutolinkWww"),t.exit("literalAutolink"),e(u)}}function GT(t,e,n){const l=this;let i="",a=!1;return u;function u(s){return(s===72||s===104)&&yy.call(l,l.previous)&&!Ls(l.events)?(t.enter("literalAutolink"),t.enter("literalAutolinkHttp"),i+=String.fromCodePoint(s),t.consume(s),r):n(s)}function r(s){if(Gt(s)&&i.length<5)return i+=String.fromCodePoint(s),t.consume(s),r;if(s===58){const m=i.toLowerCase();if(m==="http"||m==="https")return t.consume(s),o}return n(s)}function o(s){return s===47?(t.consume(s),a?c:(a=!0,o)):n(s)}function c(s){return s===null||Ru(s)||ct(s)||il(s)||ar(s)?n(s):t.attempt(fy,t.attempt(hy,f),n)(s)}function f(s){return t.exit("literalAutolinkHttp"),t.exit("literalAutolink"),e(s)}}function XT(t,e,n){let l=0;return i;function i(u){return(u===87||u===119)&&l<3?(l++,t.consume(u),i):u===46&&l===3?(t.consume(u),a):n(u)}function a(u){return u===null?n(u):e(u)}}function QT(t,e,n){let l,i,a;return u;function u(c){return c===46||c===95?t.check(my,o,r)(c):c===null||ct(c)||il(c)||c!==45&&ar(c)?o(c):(a=!0,t.consume(c),u)}function r(c){return c===95?l=!0:(i=l,l=void 0),t.consume(c),u}function o(c){return i||l||!a?n(c):e(c)}}function ZT(t,e){let n=0,l=0;return i;function i(u){return u===40?(n++,t.consume(u),i):u===41&&l<n?a(u):u===33||u===34||u===38||u===39||u===41||u===42||u===44||u===46||u===58||u===59||u===60||u===63||u===93||u===95||u===126?t.check(my,e,a)(u):u===null||ct(u)||il(u)?e(u):(t.consume(u),i)}function a(u){return u===41&&l++,t.consume(u),i}}function KT(t,e,n){return l;function l(r){return r===33||r===34||r===39||r===41||r===42||r===44||r===46||r===58||r===59||r===63||r===95||r===126?(t.consume(r),l):r===38?(t.consume(r),a):r===93?(t.consume(r),i):r===60||r===null||ct(r)||il(r)?e(r):n(r)}function i(r){return r===null||r===40||r===91||ct(r)||il(r)?e(r):l(r)}function a(r){return Gt(r)?u(r):n(r)}function u(r){return r===59?(t.consume(r),l):Gt(r)?(t.consume(r),u):n(r)}}function FT(t,e,n){return l;function l(a){return t.consume(a),i}function i(a){return qt(a)?n(a):e(a)}}function gy(t){return t===null||t===40||t===42||t===95||t===91||t===93||t===126||ct(t)}function yy(t){return!Gt(t)}function by(t){return!(t===47||gc(t))}function gc(t){return t===43||t===45||t===46||t===95||qt(t)}function Ls(t){let e=t.length,n=!1;for(;e--;){const l=t[e][1];if((l.type==="labelLink"||l.type==="labelImage")&&!l._balanced){n=!0;break}if(l._gfmAutolinkLiteralWalkedInto){n=!1;break}}return t.length>0&&!n&&(t[t.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const JT={tokenize:lk,partial:!0};function IT(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:tk,continuation:{tokenize:ek},exit:nk}},text:{91:{name:"gfmFootnoteCall",tokenize:PT},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:$T,resolveTo:WT}}}}function $T(t,e,n){const l=this;let i=l.events.length;const a=l.parser.gfmFootnotes||(l.parser.gfmFootnotes=[]);let u;for(;i--;){const o=l.events[i][1];if(o.type==="labelImage"){u=o;break}if(o.type==="gfmFootnoteCall"||o.type==="labelLink"||o.type==="label"||o.type==="image"||o.type==="link")break}return r;function r(o){if(!u||!u._balanced)return n(o);const c=Oe(l.sliceSerialize({start:u.end,end:l.now()}));return c.codePointAt(0)!==94||!a.includes(c.slice(1))?n(o):(t.enter("gfmFootnoteCallLabelMarker"),t.consume(o),t.exit("gfmFootnoteCallLabelMarker"),e(o))}}function WT(t,e){let n=t.length;for(;n--;)if(t[n][1].type==="labelImage"&&t[n][0]==="enter"){t[n][1];break}t[n+1][1].type="data",t[n+3][1].type="gfmFootnoteCallLabelMarker";const l={type:"gfmFootnoteCall",start:Object.assign({},t[n+3][1].start),end:Object.assign({},t[t.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},t[n+3][1].end),end:Object.assign({},t[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},t[t.length-1][1].start)},u={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},r=[t[n+1],t[n+2],["enter",l,e],t[n+3],t[n+4],["enter",i,e],["exit",i,e],["enter",a,e],["enter",u,e],["exit",u,e],["exit",a,e],t[t.length-2],t[t.length-1],["exit",l,e]];return t.splice(n,t.length-n+1,...r),t}function PT(t,e,n){const l=this,i=l.parser.gfmFootnotes||(l.parser.gfmFootnotes=[]);let a=0,u;return r;function r(s){return t.enter("gfmFootnoteCall"),t.enter("gfmFootnoteCallLabelMarker"),t.consume(s),t.exit("gfmFootnoteCallLabelMarker"),o}function o(s){return s!==94?n(s):(t.enter("gfmFootnoteCallMarker"),t.consume(s),t.exit("gfmFootnoteCallMarker"),t.enter("gfmFootnoteCallString"),t.enter("chunkString").contentType="string",c)}function c(s){if(a>999||s===93&&!u||s===null||s===91||ct(s))return n(s);if(s===93){t.exit("chunkString");const m=t.exit("gfmFootnoteCallString");return i.includes(Oe(l.sliceSerialize(m)))?(t.enter("gfmFootnoteCallLabelMarker"),t.consume(s),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),e):n(s)}return ct(s)||(u=!0),a++,t.consume(s),s===92?f:c}function f(s){return s===91||s===92||s===93?(t.consume(s),a++,c):c(s)}}function tk(t,e,n){const l=this,i=l.parser.gfmFootnotes||(l.parser.gfmFootnotes=[]);let a,u=0,r;return o;function o(g){return t.enter("gfmFootnoteDefinition")._container=!0,t.enter("gfmFootnoteDefinitionLabel"),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(g),t.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(g){return g===94?(t.enter("gfmFootnoteDefinitionMarker"),t.consume(g),t.exit("gfmFootnoteDefinitionMarker"),t.enter("gfmFootnoteDefinitionLabelString"),t.enter("chunkString").contentType="string",f):n(g)}function f(g){if(u>999||g===93&&!r||g===null||g===91||ct(g))return n(g);if(g===93){t.exit("chunkString");const S=t.exit("gfmFootnoteDefinitionLabelString");return a=Oe(l.sliceSerialize(S)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(g),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),m}return ct(g)||(r=!0),u++,t.consume(g),g===92?s:f}function s(g){return g===91||g===92||g===93?(t.consume(g),u++,f):f(g)}function m(g){return g===58?(t.enter("definitionMarker"),t.consume(g),t.exit("definitionMarker"),i.includes(a)||i.push(a),W(t,h,"gfmFootnoteDefinitionWhitespace")):n(g)}function h(g){return e(g)}}function ek(t,e,n){return t.check(ba,e,t.attempt(JT,e,n))}function nk(t){t.exit("gfmFootnoteDefinition")}function lk(t,e,n){const l=this;return W(t,i,"gfmFootnoteDefinitionIndent",5);function i(a){const u=l.events[l.events.length-1];return u&&u[1].type==="gfmFootnoteDefinitionIndent"&&u[2].sliceSerialize(u[1],!0).length===4?e(a):n(a)}}function ik(t){let n=(t||{}).singleTilde;const l={name:"strikethrough",tokenize:a,resolveAll:i};return n==null&&(n=!0),{text:{126:l},insideSpan:{null:[l]},attentionMarkers:{null:[126]}};function i(u,r){let o=-1;for(;++o<u.length;)if(u[o][0]==="enter"&&u[o][1].type==="strikethroughSequenceTemporary"&&u[o][1]._close){let c=o;for(;c--;)if(u[c][0]==="exit"&&u[c][1].type==="strikethroughSequenceTemporary"&&u[c][1]._open&&u[o][1].end.offset-u[o][1].start.offset===u[c][1].end.offset-u[c][1].start.offset){u[o][1].type="strikethroughSequence",u[c][1].type="strikethroughSequence";const f={type:"strikethrough",start:Object.assign({},u[c][1].start),end:Object.assign({},u[o][1].end)},s={type:"strikethroughText",start:Object.assign({},u[c][1].end),end:Object.assign({},u[o][1].start)},m=[["enter",f,r],["enter",u[c][1],r],["exit",u[c][1],r],["enter",s,r]],h=r.parser.constructs.insideSpan.null;h&&me(m,m.length,0,ur(h,u.slice(c+1,o),r)),me(m,m.length,0,[["exit",s,r],["enter",u[o][1],r],["exit",u[o][1],r],["exit",f,r]]),me(u,c-1,o-c+3,m),o=c+m.length-2;break}}for(o=-1;++o<u.length;)u[o][1].type==="strikethroughSequenceTemporary"&&(u[o][1].type="data");return u}function a(u,r,o){const c=this.previous,f=this.events;let s=0;return m;function m(g){return c===126&&f[f.length-1][1].type!=="characterEscape"?o(g):(u.enter("strikethroughSequenceTemporary"),h(g))}function h(g){const S=Wl(c);if(g===126)return s>1?o(g):(u.consume(g),s++,h);if(s<2&&!n)return o(g);const k=u.exit("strikethroughSequenceTemporary"),p=Wl(g);return k._open=!p||p===2&&!!S,k._close=!S||S===2&&!!p,r(g)}}}class ak{constructor(){this.map=[]}add(e,n,l){uk(this,e,n,l)}consume(e){if(this.map.sort(function(a,u){return a[0]-u[0]}),this.map.length===0)return;let n=this.map.length;const l=[];for(;n>0;)n-=1,l.push(e.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),e.length=this.map[n][0];l.push(e.slice()),e.length=0;let i=l.pop();for(;i;){for(const a of i)e.push(a);i=l.pop()}this.map.length=0}}function uk(t,e,n,l){let i=0;if(!(n===0&&l.length===0)){for(;i<t.map.length;){if(t.map[i][0]===e){t.map[i][1]+=n,t.map[i][2].push(...l);return}i+=1}t.map.push([e,n,l])}}function rk(t,e){let n=!1;const l=[];for(;e<t.length;){const i=t[e];if(n){if(i[0]==="enter")i[1].type==="tableContent"&&l.push(t[e+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(t[e-1][1].type==="tableDelimiterMarker"){const a=l.length-1;l[a]=l[a]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(n=!0);e+=1}return l}function ok(){return{flow:{null:{name:"table",tokenize:ck,resolveAll:sk}}}}function ck(t,e,n){const l=this;let i=0,a=0,u;return r;function r(x){let R=l.events.length-1;for(;R>-1;){const ht=l.events[R][1].type;if(ht==="lineEnding"||ht==="linePrefix")R--;else break}const U=R>-1?l.events[R][1].type:null,nt=U==="tableHead"||U==="tableRow"?T:o;return nt===T&&l.parser.lazy[l.now().line]?n(x):nt(x)}function o(x){return t.enter("tableHead"),t.enter("tableRow"),c(x)}function c(x){return x===124||(u=!0,a+=1),f(x)}function f(x){return x===null?n(x):B(x)?a>1?(a=0,l.interrupt=!0,t.exit("tableRow"),t.enter("lineEnding"),t.consume(x),t.exit("lineEnding"),h):n(x):F(x)?W(t,f,"whitespace")(x):(a+=1,u&&(u=!1,i+=1),x===124?(t.enter("tableCellDivider"),t.consume(x),t.exit("tableCellDivider"),u=!0,f):(t.enter("data"),s(x)))}function s(x){return x===null||x===124||ct(x)?(t.exit("data"),f(x)):(t.consume(x),x===92?m:s)}function m(x){return x===92||x===124?(t.consume(x),s):s(x)}function h(x){return l.interrupt=!1,l.parser.lazy[l.now().line]?n(x):(t.enter("tableDelimiterRow"),u=!1,F(x)?W(t,g,"linePrefix",l.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(x):g(x))}function g(x){return x===45||x===58?k(x):x===124?(u=!0,t.enter("tableCellDivider"),t.consume(x),t.exit("tableCellDivider"),S):w(x)}function S(x){return F(x)?W(t,k,"whitespace")(x):k(x)}function k(x){return x===58?(a+=1,u=!0,t.enter("tableDelimiterMarker"),t.consume(x),t.exit("tableDelimiterMarker"),p):x===45?(a+=1,p(x)):x===null||B(x)?E(x):w(x)}function p(x){return x===45?(t.enter("tableDelimiterFiller"),d(x)):w(x)}function d(x){return x===45?(t.consume(x),d):x===58?(u=!0,t.exit("tableDelimiterFiller"),t.enter("tableDelimiterMarker"),t.consume(x),t.exit("tableDelimiterMarker"),y):(t.exit("tableDelimiterFiller"),y(x))}function y(x){return F(x)?W(t,E,"whitespace")(x):E(x)}function E(x){return x===124?g(x):x===null||B(x)?!u||i!==a?w(x):(t.exit("tableDelimiterRow"),t.exit("tableHead"),e(x)):w(x)}function w(x){return n(x)}function T(x){return t.enter("tableRow"),C(x)}function C(x){return x===124?(t.enter("tableCellDivider"),t.consume(x),t.exit("tableCellDivider"),C):x===null||B(x)?(t.exit("tableRow"),e(x)):F(x)?W(t,C,"whitespace")(x):(t.enter("data"),M(x))}function M(x){return x===null||x===124||ct(x)?(t.exit("data"),C(x)):(t.consume(x),x===92?N:M)}function N(x){return x===92||x===124?(t.consume(x),M):M(x)}}function sk(t,e){let n=-1,l=!0,i=0,a=[0,0,0,0],u=[0,0,0,0],r=!1,o=0,c,f,s;const m=new ak;for(;++n<t.length;){const h=t[n],g=h[1];h[0]==="enter"?g.type==="tableHead"?(r=!1,o!==0&&(fm(m,e,o,c,f),f=void 0,o=0),c={type:"table",start:Object.assign({},g.start),end:Object.assign({},g.end)},m.add(n,0,[["enter",c,e]])):g.type==="tableRow"||g.type==="tableDelimiterRow"?(l=!0,s=void 0,a=[0,0,0,0],u=[0,n+1,0,0],r&&(r=!1,f={type:"tableBody",start:Object.assign({},g.start),end:Object.assign({},g.end)},m.add(n,0,[["enter",f,e]])),i=g.type==="tableDelimiterRow"?2:f?3:1):i&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")?(l=!1,u[2]===0&&(a[1]!==0&&(u[0]=u[1],s=qa(m,e,a,i,void 0,s),a=[0,0,0,0]),u[2]=n)):g.type==="tableCellDivider"&&(l?l=!1:(a[1]!==0&&(u[0]=u[1],s=qa(m,e,a,i,void 0,s)),a=u,u=[a[1],n,0,0])):g.type==="tableHead"?(r=!0,o=n):g.type==="tableRow"||g.type==="tableDelimiterRow"?(o=n,a[1]!==0?(u[0]=u[1],s=qa(m,e,a,i,n,s)):u[1]!==0&&(s=qa(m,e,u,i,n,s)),i=0):i&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")&&(u[3]=n)}for(o!==0&&fm(m,e,o,c,f),m.consume(e.events),n=-1;++n<e.events.length;){const h=e.events[n];h[0]==="enter"&&h[1].type==="table"&&(h[1]._align=rk(e.events,n))}return t}function qa(t,e,n,l,i,a){const u=l===1?"tableHeader":l===2?"tableDelimiter":"tableData",r="tableContent";n[0]!==0&&(a.end=Object.assign({},Sl(e.events,n[0])),t.add(n[0],0,[["exit",a,e]]));const o=Sl(e.events,n[1]);if(a={type:u,start:Object.assign({},o),end:Object.assign({},o)},t.add(n[1],0,[["enter",a,e]]),n[2]!==0){const c=Sl(e.events,n[2]),f=Sl(e.events,n[3]),s={type:r,start:Object.assign({},c),end:Object.assign({},f)};if(t.add(n[2],0,[["enter",s,e]]),l!==2){const m=e.events[n[2]],h=e.events[n[3]];if(m[1].end=Object.assign({},h[1].end),m[1].type="chunkText",m[1].contentType="text",n[3]>n[2]+1){const g=n[2]+1,S=n[3]-n[2]-1;t.add(g,S,[])}}t.add(n[3]+1,0,[["exit",s,e]])}return i!==void 0&&(a.end=Object.assign({},Sl(e.events,i)),t.add(i,0,[["exit",a,e]]),a=void 0),a}function fm(t,e,n,l,i){const a=[],u=Sl(e.events,n);i&&(i.end=Object.assign({},u),a.push(["exit",i,e])),l.end=Object.assign({},u),a.push(["exit",l,e]),t.add(n+1,0,a)}function Sl(t,e){const n=t[e],l=n[0]==="enter"?"start":"end";return n[1][l]}const fk={name:"tasklistCheck",tokenize:mk};function hk(){return{text:{91:fk}}}function mk(t,e,n){const l=this;return i;function i(o){return l.previous!==null||!l._gfmTasklistFirstContentOfListItem?n(o):(t.enter("taskListCheck"),t.enter("taskListCheckMarker"),t.consume(o),t.exit("taskListCheckMarker"),a)}function a(o){return ct(o)?(t.enter("taskListCheckValueUnchecked"),t.consume(o),t.exit("taskListCheckValueUnchecked"),u):o===88||o===120?(t.enter("taskListCheckValueChecked"),t.consume(o),t.exit("taskListCheckValueChecked"),u):n(o)}function u(o){return o===93?(t.enter("taskListCheckMarker"),t.consume(o),t.exit("taskListCheckMarker"),t.exit("taskListCheck"),r):n(o)}function r(o){return B(o)?e(o):F(o)?t.check({tokenize:pk},e,n)(o):n(o)}}function pk(t,e,n){return W(t,l,"whitespace");function l(i){return i===null?n(i):e(i)}}function dk(t){return wg([qT(),IT(),ik(t),ok(),hk()])}const gk={};function yk(t){const e=this,n=t||gk,l=e.data(),i=l.micromarkExtensions||(l.micromarkExtensions=[]),a=l.fromMarkdownExtensions||(l.fromMarkdownExtensions=[]),u=l.toMarkdownExtensions||(l.toMarkdownExtensions=[]);i.push(dk(n)),a.push(LT()),u.push(BT(n))}function bk(){const[t,e]=ie.useState([]),[n,l]=ie.useState(null),[i,a]=ie.useState(!1),[u,r]=ie.useState("system"),[o,c]=ie.useState("");ie.useEffect(()=>{const p=localStorage.getItem("theme");p&&["light","dark","system"].includes(p)&&(r(p),s(p))},[]),ie.useEffect(()=>{f()},[]),ie.useEffect(()=>{s(u)},[u]),ie.useEffect(()=>{if(u!=="system")return;const p=window.matchMedia("(prefers-color-scheme: dark)"),d=()=>{s("system")};return p.addEventListener("change",d),()=>{p.removeEventListener("change",d)}},[u]),ie.useEffect(()=>{n&&c(n.content)},[n]);const f=async()=>{try{const d=await(await fetch("/api/files")).json();e(d)}catch(p){console.error("Failed to load files:",p)}},s=p=>{const d=document.documentElement;p==="system"?window.matchMedia("(prefers-color-scheme: dark)").matches?d.classList.add("dark"):d.classList.remove("dark"):p==="dark"?d.classList.add("dark"):d.classList.remove("dark")},m=p=>{r(p),localStorage.setItem("theme",p)},h=async p=>{try{const y=await(await fetch(`/api/files/${encodeURIComponent(p)}`)).json();l(y),c(y.content),a(!1)}catch(d){console.error("Failed to load file:",d)}},g=async()=>{const p=prompt("Enter filename:","untitled.md");if(p)try{const d=await fetch("/api/files",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({filename:p,content:`# New File
Start writing here...`,title:p.replace(".md","")})});if(d.ok){const y=await d.json();l(y),c(y.content),a(!0)}}catch(d){console.error("Failed to create new file:",d)}},S=async()=>{if(n)try{const p=await fetch(`/api/files/${encodeURIComponent(n.filename)}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({content:o})});if(p.ok){const d=await p.json();l(d),a(!1)}}catch(p){console.error("Failed to save file:",p)}else{const p=prompt("Enter filename:","untitled.md");if(!p)return;try{const d=await fetch("/api/files",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({filename:p,content:o,title:p.replace(".md","")})});if(d.ok){await f();const y=await d.json();l(y),a(!1)}}catch(d){console.error("Failed to create file:",d)}}},k=async()=>{if(n&&confirm(`Delete ${n.filename}?`))try{await fetch(`/api/files/${encodeURIComponent(n.filename)}`,{method:"DELETE"}),l(null),c(""),await f()}catch(p){console.error("Failed to delete file:",p)}};return X.jsxs("div",{className:"flex flex-col h-screen",children:[X.jsx("header",{className:"bg-white dark:bg-gray-800 border-b border-gray-200 dark:border-gray-700 p-4",children:X.jsxs("div",{className:"flex items-center justify-between max-w-7xl mx-auto",children:[X.jsx("h1",{className:"text-xl font-bold text-gray-900 dark:text-white",children:"Eval Markdown Editor"}),X.jsx("div",{className:"flex items-center space-x-4",children:X.jsx("div",{className:"flex bg-gray-100 dark:bg-gray-700 rounded-lg p-1",children:["light","dark","system"].map(p=>X.jsx("button",{onClick:()=>m(p),className:`px-3 py-1 text-sm rounded-md transition-colors ${u===p?"bg-white dark:bg-gray-600 text-gray-900 dark:text-white shadow":"text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-white"}`,children:p.charAt(0).toUpperCase()+p.slice(1)},p))})})]})}),X.jsxs("div",{className:"flex flex-1 overflow-hidden",children:[X.jsxs("aside",{className:"w-64 bg-gray-50 dark:bg-gray-900 border-r border-gray-200 dark:border-gray-700 flex flex-col",children:[X.jsx("div",{className:"p-4 border-b border-gray-200 dark:border-gray-700",children:X.jsx("button",{onClick:g,className:"w-full bg-blue-600 hover:bg-blue-700 text-white py-2 px-4 rounded-lg transition-colors",children:"New File"})}),X.jsx("div",{className:"flex-1 overflow-y-auto p-2",children:t.length===0?X.jsx("p",{className:"text-gray-500 dark:text-gray-400 text-center py-4",children:"No files yet"}):t.map(p=>X.jsx("button",{onClick:()=>h(p.filename),className:`w-full text-left px-3 py-2 rounded-lg transition-colors ${(n==null?void 0:n.filename)===p.filename?"bg-blue-50 dark:bg-blue-900/20 text-blue-700 dark:text-blue-400":"hover:bg-gray-200 dark:hover:bg-gray-800 text-gray-700 dark:text-gray-300"}`,children:p.title},p.filename))})]}),X.jsx("main",{className:"flex-1 flex flex-col overflow-hidden",children:n?X.jsxs(X.Fragment,{children:[X.jsxs("div",{className:"bg-white dark:bg-gray-800 border-b border-gray-200 dark:border-gray-700 p-2 flex justify-between items-center",children:[X.jsx("span",{className:"text-sm text-gray-600 dark:text-gray-400",children:n.filename}),X.jsx("div",{className:"flex space-x-2",children:i?X.jsxs(X.Fragment,{children:[X.jsx("button",{onClick:S,className:"bg-green-600 hover:bg-green-700 text-white px-4 py-1 rounded-lg transition-colors text-sm",children:"Save"}),X.jsx("button",{onClick:()=>a(!1),className:"bg-gray-600 hover:bg-gray-700 text-white px-4 py-1 rounded-lg transition-colors text-sm",children:"Preview"}),X.jsx("button",{onClick:k,className:"bg-red-600 hover:bg-red-700 text-white px-4 py-1 rounded-lg transition-colors text-sm",children:"Delete"})]}):X.jsx("button",{onClick:()=>a(!0),className:"bg-blue-600 hover:bg-blue-700 text-white px-4 py-1 rounded-lg transition-colors text-sm",children:"Edit"})})]}),X.jsx("div",{className:"flex-1 overflow-hidden bg-white dark:bg-gray-900",children:i?X.jsx("textarea",{value:o,onChange:p=>c(p.target.value),className:"w-full h-full p-4 resize-none focus:outline-none font-mono text-sm bg-gray-50 dark:bg-gray-800 text-gray-900 dark:text-gray-100",spellCheck:!1}):X.jsx("div",{className:"w-full h-full overflow-auto p-6 max-w-4xl mx-auto",children:X.jsx(iE,{remarkPlugins:[yk],className:"prose dark:prose-invert max-w-none",children:o})})})]}):X.jsx("div",{className:"flex-1 flex items-center justify-center bg-gray-50 dark:bg-gray-900",children:X.jsx("div",{className:"text-center text-gray-500 dark:text-gray-400",children:X.jsx("p",{className:"text-lg",children:"Select a file or create a new one"})})})})]})]})}Ab.createRoot(document.getElementById("root")).render(X.jsx(Zy.StrictMode,{children:X.jsx(bk,{})}));