function Tb(l,i){for(var r=0;r<i.length;r++){const u=i[r];if(typeof u!="string"&&!Array.isArray(u)){for(const c in u)if(c!=="default"&&!(c in l)){const f=Object.getOwnPropertyDescriptor(u,c);f&&Object.defineProperty(l,c,f.get?f:{enumerable:!0,get:()=>u[c]})}}}return Object.freeze(Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}))}(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const c of document.querySelectorAll('link[rel="modulepreload"]'))u(c);new MutationObserver(c=>{for(const f of c)if(f.type==="childList")for(const d of f.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&u(d)}).observe(document,{childList:!0,subtree:!0});function r(c){const f={};return c.integrity&&(f.integrity=c.integrity),c.referrerPolicy&&(f.referrerPolicy=c.referrerPolicy),c.crossOrigin==="use-credentials"?f.credentials="include":c.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function u(c){if(c.ep)return;c.ep=!0;const f=r(c);fetch(c.href,f)}})();function Cc(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}var Ys={exports:{}},Ui={};/**
 * @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 Zh;function kb(){if(Zh)return Ui;Zh=1;var l=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function r(u,c,f){var d=null;if(f!==void 0&&(d=""+f),c.key!==void 0&&(d=""+c.key),"key"in c){f={};for(var p in c)p!=="key"&&(f[p]=c[p])}else f=c;return c=f.ref,{$$typeof:l,type:u,key:d,ref:c!==void 0?c:null,props:f}}return Ui.Fragment=i,Ui.jsx=r,Ui.jsxs=r,Ui}var Ih;function Nb(){return Ih||(Ih=1,Ys.exports=kb()),Ys.exports}var z=Nb(),Vs={exports:{}},Ee={};/**
 * @license React
 * react.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Jh;function Cb(){if(Jh)return Ee;Jh=1;var l=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),d=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),x=Symbol.for("react.activity"),E=Symbol.iterator;function v(T){return T===null||typeof T!="object"?null:(T=E&&T[E]||T["@@iterator"],typeof T=="function"?T:null)}var q={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},G=Object.assign,X={};function R(T,L,w){this.props=T,this.context=L,this.refs=X,this.updater=w||q}R.prototype.isReactComponent={},R.prototype.setState=function(T,L){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,L,"setState")},R.prototype.forceUpdate=function(T){this.updater.enqueueForceUpdate(this,T,"forceUpdate")};function ue(){}ue.prototype=R.prototype;function Q(T,L,w){this.props=T,this.context=L,this.refs=X,this.updater=w||q}var xe=Q.prototype=new ue;xe.constructor=Q,G(xe,R.prototype),xe.isPureReactComponent=!0;var W=Array.isArray;function U(){}var te={H:null,A:null,T:null,S:null},Z=Object.prototype.hasOwnProperty;function oe(T,L,w){var ee=w.ref;return{$$typeof:l,type:T,key:L,ref:ee!==void 0?ee:null,props:w}}function ve(T,L){return oe(T.type,L,T.props)}function le(T){return typeof T=="object"&&T!==null&&T.$$typeof===l}function F(T){var L={"=":"=0",":":"=2"};return"$"+T.replace(/[=:]/g,function(w){return L[w]})}var he=/\/+/g;function ae(T,L){return typeof T=="object"&&T!==null&&T.key!=null?F(""+T.key):L.toString(36)}function I(T){switch(T.status){case"fulfilled":return T.value;case"rejected":throw T.reason;default:switch(typeof T.status=="string"?T.then(U,U):(T.status="pending",T.then(function(L){T.status==="pending"&&(T.status="fulfilled",T.value=L)},function(L){T.status==="pending"&&(T.status="rejected",T.reason=L)})),T.status){case"fulfilled":return T.value;case"rejected":throw T.reason}}throw T}function C(T,L,w,ee,re){var ne=typeof T;(ne==="undefined"||ne==="boolean")&&(T=null);var ze=!1;if(T===null)ze=!0;else switch(ne){case"bigint":case"string":case"number":ze=!0;break;case"object":switch(T.$$typeof){case l:case i:ze=!0;break;case y:return ze=T._init,C(ze(T._payload),L,w,ee,re)}}if(ze)return re=re(T),ze=ee===""?"."+ae(T,0):ee,W(re)?(w="",ze!=null&&(w=ze.replace(he,"$&/")+"/"),C(re,L,w,"",function(xt){return xt})):re!=null&&(le(re)&&(re=ve(re,w+(re.key==null||T&&T.key===re.key?"":(""+re.key).replace(he,"$&/")+"/")+ze)),L.push(re)),1;ze=0;var Be=ee===""?".":ee+":";if(W(T))for(var ge=0;ge<T.length;ge++)ee=T[ge],ne=Be+ae(ee,ge),ze+=C(ee,L,w,ne,re);else if(ge=v(T),typeof ge=="function")for(T=ge.call(T),ge=0;!(ee=T.next()).done;)ee=ee.value,ne=Be+ae(ee,ge++),ze+=C(ee,L,w,ne,re);else if(ne==="object"){if(typeof T.then=="function")return C(I(T),L,w,ee,re);throw L=String(T),Error("Objects are not valid as a React child (found: "+(L==="[object Object]"?"object with keys {"+Object.keys(T).join(", ")+"}":L)+"). If you meant to render a collection of children, use an array instead.")}return ze}function K(T,L,w){if(T==null)return T;var ee=[],re=0;return C(T,ee,"","",function(ne){return L.call(w,ne,re++)}),ee}function ie(T){if(T._status===-1){var L=T._result;L=L(),L.then(function(w){(T._status===0||T._status===-1)&&(T._status=1,T._result=w)},function(w){(T._status===0||T._status===-1)&&(T._status=2,T._result=w)}),T._status===-1&&(T._status=0,T._result=L)}if(T._status===1)return T._result.default;throw T._result}var we=typeof reportError=="function"?reportError:function(T){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var L=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(L))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",T);return}console.error(T)},S={map:K,forEach:function(T,L,w){K(T,function(){L.apply(this,arguments)},w)},count:function(T){var L=0;return K(T,function(){L++}),L},toArray:function(T){return K(T,function(L){return L})||[]},only:function(T){if(!le(T))throw Error("React.Children.only expected to receive a single React element child.");return T}};return Ee.Activity=x,Ee.Children=S,Ee.Component=R,Ee.Fragment=r,Ee.Profiler=c,Ee.PureComponent=Q,Ee.StrictMode=u,Ee.Suspense=g,Ee.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=te,Ee.__COMPILER_RUNTIME={__proto__:null,c:function(T){return te.H.useMemoCache(T)}},Ee.cache=function(T){return function(){return T.apply(null,arguments)}},Ee.cacheSignal=function(){return null},Ee.cloneElement=function(T,L,w){if(T==null)throw Error("The argument must be a React element, but you passed "+T+".");var ee=G({},T.props),re=T.key;if(L!=null)for(ne in L.key!==void 0&&(re=""+L.key),L)!Z.call(L,ne)||ne==="key"||ne==="__self"||ne==="__source"||ne==="ref"&&L.ref===void 0||(ee[ne]=L[ne]);var ne=arguments.length-2;if(ne===1)ee.children=w;else if(1<ne){for(var ze=Array(ne),Be=0;Be<ne;Be++)ze[Be]=arguments[Be+2];ee.children=ze}return oe(T.type,re,ee)},Ee.createContext=function(T){return T={$$typeof:d,_currentValue:T,_currentValue2:T,_threadCount:0,Provider:null,Consumer:null},T.Provider=T,T.Consumer={$$typeof:f,_context:T},T},Ee.createElement=function(T,L,w){var ee,re={},ne=null;if(L!=null)for(ee in L.key!==void 0&&(ne=""+L.key),L)Z.call(L,ee)&&ee!=="key"&&ee!=="__self"&&ee!=="__source"&&(re[ee]=L[ee]);var ze=arguments.length-2;if(ze===1)re.children=w;else if(1<ze){for(var Be=Array(ze),ge=0;ge<ze;ge++)Be[ge]=arguments[ge+2];re.children=Be}if(T&&T.defaultProps)for(ee in ze=T.defaultProps,ze)re[ee]===void 0&&(re[ee]=ze[ee]);return oe(T,ne,re)},Ee.createRef=function(){return{current:null}},Ee.forwardRef=function(T){return{$$typeof:p,render:T}},Ee.isValidElement=le,Ee.lazy=function(T){return{$$typeof:y,_payload:{_status:-1,_result:T},_init:ie}},Ee.memo=function(T,L){return{$$typeof:h,type:T,compare:L===void 0?null:L}},Ee.startTransition=function(T){var L=te.T,w={};te.T=w;try{var ee=T(),re=te.S;re!==null&&re(w,ee),typeof ee=="object"&&ee!==null&&typeof ee.then=="function"&&ee.then(U,we)}catch(ne){we(ne)}finally{L!==null&&w.types!==null&&(L.types=w.types),te.T=L}},Ee.unstable_useCacheRefresh=function(){return te.H.useCacheRefresh()},Ee.use=function(T){return te.H.use(T)},Ee.useActionState=function(T,L,w){return te.H.useActionState(T,L,w)},Ee.useCallback=function(T,L){return te.H.useCallback(T,L)},Ee.useContext=function(T){return te.H.useContext(T)},Ee.useDebugValue=function(){},Ee.useDeferredValue=function(T,L){return te.H.useDeferredValue(T,L)},Ee.useEffect=function(T,L){return te.H.useEffect(T,L)},Ee.useEffectEvent=function(T){return te.H.useEffectEvent(T)},Ee.useId=function(){return te.H.useId()},Ee.useImperativeHandle=function(T,L,w){return te.H.useImperativeHandle(T,L,w)},Ee.useInsertionEffect=function(T,L){return te.H.useInsertionEffect(T,L)},Ee.useLayoutEffect=function(T,L){return te.H.useLayoutEffect(T,L)},Ee.useMemo=function(T,L){return te.H.useMemo(T,L)},Ee.useOptimistic=function(T,L){return te.H.useOptimistic(T,L)},Ee.useReducer=function(T,L,w){return te.H.useReducer(T,L,w)},Ee.useRef=function(T){return te.H.useRef(T)},Ee.useState=function(T){return te.H.useState(T)},Ee.useSyncExternalStore=function(T,L,w){return te.H.useSyncExternalStore(T,L,w)},Ee.useTransition=function(){return te.H.useTransition()},Ee.version="19.2.5",Ee}var Fh;function _c(){return Fh||(Fh=1,Vs.exports=Cb()),Vs.exports}var me=_c();const _b=Cc(me),Mb=Tb({__proto__:null,default:_b},[me]);var Ks={exports:{}},Hi={},Xs={exports:{}},Qs={};/**
 * @license React
 * scheduler.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var $h;function Ob(){return $h||($h=1,(function(l){function i(C,K){var ie=C.length;C.push(K);e:for(;0<ie;){var we=ie-1>>>1,S=C[we];if(0<c(S,K))C[we]=K,C[ie]=S,ie=we;else break e}}function r(C){return C.length===0?null:C[0]}function u(C){if(C.length===0)return null;var K=C[0],ie=C.pop();if(ie!==K){C[0]=ie;e:for(var we=0,S=C.length,T=S>>>1;we<T;){var L=2*(we+1)-1,w=C[L],ee=L+1,re=C[ee];if(0>c(w,ie))ee<S&&0>c(re,w)?(C[we]=re,C[ee]=ie,we=ee):(C[we]=w,C[L]=ie,we=L);else if(ee<S&&0>c(re,ie))C[we]=re,C[ee]=ie,we=ee;else break e}}return K}function c(C,K){var ie=C.sortIndex-K.sortIndex;return ie!==0?ie:C.id-K.id}if(l.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var f=performance;l.unstable_now=function(){return f.now()}}else{var d=Date,p=d.now();l.unstable_now=function(){return d.now()-p}}var g=[],h=[],y=1,x=null,E=3,v=!1,q=!1,G=!1,X=!1,R=typeof setTimeout=="function"?setTimeout:null,ue=typeof clearTimeout=="function"?clearTimeout:null,Q=typeof setImmediate<"u"?setImmediate:null;function xe(C){for(var K=r(h);K!==null;){if(K.callback===null)u(h);else if(K.startTime<=C)u(h),K.sortIndex=K.expirationTime,i(g,K);else break;K=r(h)}}function W(C){if(G=!1,xe(C),!q)if(r(g)!==null)q=!0,U||(U=!0,F());else{var K=r(h);K!==null&&I(W,K.startTime-C)}}var U=!1,te=-1,Z=5,oe=-1;function ve(){return X?!0:!(l.unstable_now()-oe<Z)}function le(){if(X=!1,U){var C=l.unstable_now();oe=C;var K=!0;try{e:{q=!1,G&&(G=!1,ue(te),te=-1),v=!0;var ie=E;try{t:{for(xe(C),x=r(g);x!==null&&!(x.expirationTime>C&&ve());){var we=x.callback;if(typeof we=="function"){x.callback=null,E=x.priorityLevel;var S=we(x.expirationTime<=C);if(C=l.unstable_now(),typeof S=="function"){x.callback=S,xe(C),K=!0;break t}x===r(g)&&u(g),xe(C)}else u(g);x=r(g)}if(x!==null)K=!0;else{var T=r(h);T!==null&&I(W,T.startTime-C),K=!1}}break e}finally{x=null,E=ie,v=!1}K=void 0}}finally{K?F():U=!1}}}var F;if(typeof Q=="function")F=function(){Q(le)};else if(typeof MessageChannel<"u"){var he=new MessageChannel,ae=he.port2;he.port1.onmessage=le,F=function(){ae.postMessage(null)}}else F=function(){R(le,0)};function I(C,K){te=R(function(){C(l.unstable_now())},K)}l.unstable_IdlePriority=5,l.unstable_ImmediatePriority=1,l.unstable_LowPriority=4,l.unstable_NormalPriority=3,l.unstable_Profiling=null,l.unstable_UserBlockingPriority=2,l.unstable_cancelCallback=function(C){C.callback=null},l.unstable_forceFrameRate=function(C){0>C||125<C?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Z=0<C?Math.floor(1e3/C):5},l.unstable_getCurrentPriorityLevel=function(){return E},l.unstable_next=function(C){switch(E){case 1:case 2:case 3:var K=3;break;default:K=E}var ie=E;E=K;try{return C()}finally{E=ie}},l.unstable_requestPaint=function(){X=!0},l.unstable_runWithPriority=function(C,K){switch(C){case 1:case 2:case 3:case 4:case 5:break;default:C=3}var ie=E;E=C;try{return K()}finally{E=ie}},l.unstable_scheduleCallback=function(C,K,ie){var we=l.unstable_now();switch(typeof ie=="object"&&ie!==null?(ie=ie.delay,ie=typeof ie=="number"&&0<ie?we+ie:we):ie=we,C){case 1:var S=-1;break;case 2:S=250;break;case 5:S=1073741823;break;case 4:S=1e4;break;default:S=5e3}return S=ie+S,C={id:y++,callback:K,priorityLevel:C,startTime:ie,expirationTime:S,sortIndex:-1},ie>we?(C.sortIndex=ie,i(h,C),r(g)===null&&C===r(h)&&(G?(ue(te),te=-1):G=!0,I(W,ie-we))):(C.sortIndex=S,i(g,C),q||v||(q=!0,U||(U=!0,F()))),C},l.unstable_shouldYield=ve,l.unstable_wrapCallback=function(C){var K=E;return function(){var ie=E;E=K;try{return C.apply(this,arguments)}finally{E=ie}}}})(Qs)),Qs}var Wh;function jb(){return Wh||(Wh=1,Xs.exports=Ob()),Xs.exports}var Zs={exports:{}},kt={};/**
 * @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 Ph;function Db(){if(Ph)return kt;Ph=1;var l=_c();function i(g){var h="https://react.dev/errors/"+g;if(1<arguments.length){h+="?args[]="+encodeURIComponent(arguments[1]);for(var y=2;y<arguments.length;y++)h+="&args[]="+encodeURIComponent(arguments[y])}return"Minified React error #"+g+"; visit "+h+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(){}var u={d:{f:r,r:function(){throw Error(i(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},c=Symbol.for("react.portal");function f(g,h,y){var x=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:c,key:x==null?null:""+x,children:g,containerInfo:h,implementation:y}}var d=l.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function p(g,h){if(g==="font")return"";if(typeof h=="string")return h==="use-credentials"?h:""}return kt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=u,kt.createPortal=function(g,h){var y=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!h||h.nodeType!==1&&h.nodeType!==9&&h.nodeType!==11)throw Error(i(299));return f(g,h,null,y)},kt.flushSync=function(g){var h=d.T,y=u.p;try{if(d.T=null,u.p=2,g)return g()}finally{d.T=h,u.p=y,u.d.f()}},kt.preconnect=function(g,h){typeof g=="string"&&(h?(h=h.crossOrigin,h=typeof h=="string"?h==="use-credentials"?h:"":void 0):h=null,u.d.C(g,h))},kt.prefetchDNS=function(g){typeof g=="string"&&u.d.D(g)},kt.preinit=function(g,h){if(typeof g=="string"&&h&&typeof h.as=="string"){var y=h.as,x=p(y,h.crossOrigin),E=typeof h.integrity=="string"?h.integrity:void 0,v=typeof h.fetchPriority=="string"?h.fetchPriority:void 0;y==="style"?u.d.S(g,typeof h.precedence=="string"?h.precedence:void 0,{crossOrigin:x,integrity:E,fetchPriority:v}):y==="script"&&u.d.X(g,{crossOrigin:x,integrity:E,fetchPriority:v,nonce:typeof h.nonce=="string"?h.nonce:void 0})}},kt.preinitModule=function(g,h){if(typeof g=="string")if(typeof h=="object"&&h!==null){if(h.as==null||h.as==="script"){var y=p(h.as,h.crossOrigin);u.d.M(g,{crossOrigin:y,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0})}}else h==null&&u.d.M(g)},kt.preload=function(g,h){if(typeof g=="string"&&typeof h=="object"&&h!==null&&typeof h.as=="string"){var y=h.as,x=p(y,h.crossOrigin);u.d.L(g,y,{crossOrigin:x,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0,type:typeof h.type=="string"?h.type:void 0,fetchPriority:typeof h.fetchPriority=="string"?h.fetchPriority:void 0,referrerPolicy:typeof h.referrerPolicy=="string"?h.referrerPolicy:void 0,imageSrcSet:typeof h.imageSrcSet=="string"?h.imageSrcSet:void 0,imageSizes:typeof h.imageSizes=="string"?h.imageSizes:void 0,media:typeof h.media=="string"?h.media:void 0})}},kt.preloadModule=function(g,h){if(typeof g=="string")if(h){var y=p(h.as,h.crossOrigin);u.d.m(g,{as:typeof h.as=="string"&&h.as!=="script"?h.as:void 0,crossOrigin:y,integrity:typeof h.integrity=="string"?h.integrity:void 0})}else u.d.m(g)},kt.requestFormReset=function(g){u.d.r(g)},kt.unstable_batchedUpdates=function(g,h){return g(h)},kt.useFormState=function(g,h,y){return d.H.useFormState(g,h,y)},kt.useFormStatus=function(){return d.H.useHostTransitionStatus()},kt.version="19.2.5",kt}var ep;function Rb(){if(ep)return Zs.exports;ep=1;function l(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(l)}catch(i){console.error(i)}}return l(),Zs.exports=Db(),Zs.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 tp;function Lb(){if(tp)return Hi;tp=1;var l=jb(),i=_c(),r=Rb();function u(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function c(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function f(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function d(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function p(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function g(e){if(f(e)!==e)throw Error(u(188))}function h(e){var t=e.alternate;if(!t){if(t=f(e),t===null)throw Error(u(188));return t!==e?null:e}for(var n=e,a=t;;){var o=n.return;if(o===null)break;var s=o.alternate;if(s===null){if(a=o.return,a!==null){n=a;continue}break}if(o.child===s.child){for(s=o.child;s;){if(s===n)return g(o),e;if(s===a)return g(o),t;s=s.sibling}throw Error(u(188))}if(n.return!==a.return)n=o,a=s;else{for(var m=!1,b=o.child;b;){if(b===n){m=!0,n=o,a=s;break}if(b===a){m=!0,a=o,n=s;break}b=b.sibling}if(!m){for(b=s.child;b;){if(b===n){m=!0,n=s,a=o;break}if(b===a){m=!0,a=s,n=o;break}b=b.sibling}if(!m)throw Error(u(189))}}if(n.alternate!==a)throw Error(u(190))}if(n.tag!==3)throw Error(u(188));return n.stateNode.current===n?e:t}function y(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=y(e),t!==null)return t;e=e.sibling}return null}var x=Object.assign,E=Symbol.for("react.element"),v=Symbol.for("react.transitional.element"),q=Symbol.for("react.portal"),G=Symbol.for("react.fragment"),X=Symbol.for("react.strict_mode"),R=Symbol.for("react.profiler"),ue=Symbol.for("react.consumer"),Q=Symbol.for("react.context"),xe=Symbol.for("react.forward_ref"),W=Symbol.for("react.suspense"),U=Symbol.for("react.suspense_list"),te=Symbol.for("react.memo"),Z=Symbol.for("react.lazy"),oe=Symbol.for("react.activity"),ve=Symbol.for("react.memo_cache_sentinel"),le=Symbol.iterator;function F(e){return e===null||typeof e!="object"?null:(e=le&&e[le]||e["@@iterator"],typeof e=="function"?e:null)}var he=Symbol.for("react.client.reference");function ae(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===he?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case G:return"Fragment";case R:return"Profiler";case X:return"StrictMode";case W:return"Suspense";case U:return"SuspenseList";case oe:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case q:return"Portal";case Q:return e.displayName||"Context";case ue:return(e._context.displayName||"Context")+".Consumer";case xe:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case te:return t=e.displayName||null,t!==null?t:ae(e.type)||"Memo";case Z:t=e._payload,e=e._init;try{return ae(e(t))}catch{}}return null}var I=Array.isArray,C=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,K=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ie={pending:!1,data:null,method:null,action:null},we=[],S=-1;function T(e){return{current:e}}function L(e){0>S||(e.current=we[S],we[S]=null,S--)}function w(e,t){S++,we[S]=e.current,e.current=t}var ee=T(null),re=T(null),ne=T(null),ze=T(null);function Be(e,t){switch(w(ne,t),w(re,e),w(ee,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?gh(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=gh(t),e=yh(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}L(ee),w(ee,e)}function ge(){L(ee),L(re),L(ne)}function xt(e){e.memoizedState!==null&&w(ze,e);var t=ee.current,n=yh(t,e.type);t!==n&&(w(re,e),w(ee,n))}function vt(e){re.current===e&&(L(ee),L(re)),ze.current===e&&(L(ze),ji._currentValue=ie)}var Yt,fn;function Fe(e){if(Yt===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Yt=t&&t[1]||"",fn=-1<n.stack.indexOf(`
    at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
`+Yt+e+fn}var En=!1;function pn(e,t){if(!e||En)return"";En=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(t){var V=function(){throw Error()};if(Object.defineProperty(V.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(V,[])}catch(j){var O=j}Reflect.construct(e,[],V)}else{try{V.call()}catch(j){O=j}e.call(V.prototype)}}else{try{throw Error()}catch(j){O=j}(V=e())&&typeof V.catch=="function"&&V.catch(function(){})}}catch(j){if(j&&O&&typeof j.stack=="string")return[j.stack,O.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var s=a.DetermineComponentFrameRoot(),m=s[0],b=s[1];if(m&&b){var A=m.split(`
`),M=b.split(`
`);for(o=a=0;a<A.length&&!A[a].includes("DetermineComponentFrameRoot");)a++;for(;o<M.length&&!M[o].includes("DetermineComponentFrameRoot");)o++;if(a===A.length||o===M.length)for(a=A.length-1,o=M.length-1;1<=a&&0<=o&&A[a]!==M[o];)o--;for(;1<=a&&0<=o;a--,o--)if(A[a]!==M[o]){if(a!==1||o!==1)do if(a--,o--,0>o||A[a]!==M[o]){var H=`
`+A[a].replace(" at new "," at ");return e.displayName&&H.includes("<anonymous>")&&(H=H.replace("<anonymous>",e.displayName)),H}while(1<=a&&0<=o);break}}}finally{En=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?Fe(n):""}function Sl(e,t){switch(e.tag){case 26:case 27:case 5:return Fe(e.type);case 16:return Fe("Lazy");case 13:return e.child!==t&&t!==null?Fe("Suspense Fallback"):Fe("Suspense");case 19:return Fe("SuspenseList");case 0:case 15:return pn(e.type,!1);case 11:return pn(e.type.render,!1);case 1:return pn(e.type,!0);case 31:return Fe("Activity");default:return""}}function Jl(e){try{var t="",n=null;do t+=Sl(e,n),n=e,e=e.return;while(e);return t}catch(a){return`
Error generating stack: `+a.message+`
`+a.stack}}var Xn=Object.prototype.hasOwnProperty,An=l.unstable_scheduleCallback,wl=l.unstable_cancelCallback,Ka=l.unstable_shouldYield,Xa=l.unstable_requestPaint,St=l.unstable_now,zl=l.unstable_getCurrentPriorityLevel,B=l.unstable_ImmediatePriority,P=l.unstable_UserBlockingPriority,ye=l.unstable_NormalPriority,D=l.unstable_LowPriority,J=l.unstable_IdlePriority,Le=l.log,Ye=l.unstable_setDisableYieldValue,Re=null,Ce=null;function Ve(e){if(typeof Le=="function"&&Ye(e),Ce&&typeof Ce.setStrictMode=="function")try{Ce.setStrictMode(Re,e)}catch{}}var Ke=Math.clz32?Math.clz32:gn,Mt=Math.log,We=Math.LN2;function gn(e){return e>>>=0,e===0?32:31-(Mt(e)/We|0)|0}var El=256,Al=262144,Tl=4194304;function kl(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Wi(e,t,n){var a=e.pendingLanes;if(a===0)return 0;var o=0,s=e.suspendedLanes,m=e.pingedLanes;e=e.warmLanes;var b=a&134217727;return b!==0?(a=b&~s,a!==0?o=kl(a):(m&=b,m!==0?o=kl(m):n||(n=b&~e,n!==0&&(o=kl(n))))):(b=a&~s,b!==0?o=kl(b):m!==0?o=kl(m):n||(n=a&~e,n!==0&&(o=kl(n)))),o===0?0:t!==0&&t!==o&&(t&s)===0&&(s=o&-o,n=t&-t,s>=n||s===32&&(n&4194048)!==0)?t:o}function Qa(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function my(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Fc(){var e=Tl;return Tl<<=1,(Tl&62914560)===0&&(Tl=4194304),e}function Cu(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Za(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function hy(e,t,n,a,o,s){var m=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var b=e.entanglements,A=e.expirationTimes,M=e.hiddenUpdates;for(n=m&~n;0<n;){var H=31-Ke(n),V=1<<H;b[H]=0,A[H]=-1;var O=M[H];if(O!==null)for(M[H]=null,H=0;H<O.length;H++){var j=O[H];j!==null&&(j.lane&=-536870913)}n&=~V}a!==0&&$c(e,a,0),s!==0&&o===0&&e.tag!==0&&(e.suspendedLanes|=s&~(m&~t))}function $c(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var a=31-Ke(t);e.entangledLanes|=t,e.entanglements[a]=e.entanglements[a]|1073741824|n&261930}function Wc(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var a=31-Ke(n),o=1<<a;o&t|e[a]&t&&(e[a]|=t),n&=~o}}function Pc(e,t){var n=t&-t;return n=(n&42)!==0?1:_u(n),(n&(e.suspendedLanes|t))!==0?0:n}function _u(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Mu(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function ef(){var e=K.p;return e!==0?e:(e=window.event,e===void 0?32:qh(e.type))}function tf(e,t){var n=K.p;try{return K.p=e,t()}finally{K.p=n}}var Qn=Math.random().toString(36).slice(2),wt="__reactFiber$"+Qn,Ot="__reactProps$"+Qn,Fl="__reactContainer$"+Qn,Ou="__reactEvents$"+Qn,py="__reactListeners$"+Qn,gy="__reactHandles$"+Qn,nf="__reactResources$"+Qn,Ia="__reactMarker$"+Qn;function ju(e){delete e[wt],delete e[Ot],delete e[Ou],delete e[py],delete e[gy]}function $l(e){var t=e[wt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Fl]||n[wt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Eh(e);e!==null;){if(n=e[wt])return n;e=Eh(e)}return t}e=n,n=e.parentNode}return null}function Wl(e){if(e=e[wt]||e[Fl]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Ja(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(u(33))}function Pl(e){var t=e[nf];return t||(t=e[nf]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function yt(e){e[Ia]=!0}var lf=new Set,af={};function Nl(e,t){ea(e,t),ea(e+"Capture",t)}function ea(e,t){for(af[e]=t,e=0;e<t.length;e++)lf.add(t[e])}var yy=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]*$"),rf={},uf={};function by(e){return Xn.call(uf,e)?!0:Xn.call(rf,e)?!1:yy.test(e)?uf[e]=!0:(rf[e]=!0,!1)}function Pi(e,t,n){if(by(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var a=t.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+n)}}function er(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+n)}}function Tn(e,t,n,a){if(a===null)e.removeAttribute(n);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttributeNS(t,n,""+a)}}function Pt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function of(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function xy(e,t,n){var a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var o=a.get,s=a.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(m){n=""+m,s.call(this,m)}}),Object.defineProperty(e,t,{enumerable:a.enumerable}),{getValue:function(){return n},setValue:function(m){n=""+m},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Du(e){if(!e._valueTracker){var t=of(e)?"checked":"value";e._valueTracker=xy(e,t,""+e[t])}}function sf(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),a="";return e&&(a=of(e)?e.checked?"true":"false":e.value),e=a,e!==n?(t.setValue(e),!0):!1}function tr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var vy=/[\n"\\]/g;function en(e){return e.replace(vy,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Ru(e,t,n,a,o,s,m,b){e.name="",m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"?e.type=m:e.removeAttribute("type"),t!=null?m==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Pt(t)):e.value!==""+Pt(t)&&(e.value=""+Pt(t)):m!=="submit"&&m!=="reset"||e.removeAttribute("value"),t!=null?Lu(e,m,Pt(t)):n!=null?Lu(e,m,Pt(n)):a!=null&&e.removeAttribute("value"),o==null&&s!=null&&(e.defaultChecked=!!s),o!=null&&(e.checked=o&&typeof o!="function"&&typeof o!="symbol"),b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"?e.name=""+Pt(b):e.removeAttribute("name")}function cf(e,t,n,a,o,s,m,b){if(s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"&&(e.type=s),t!=null||n!=null){if(!(s!=="submit"&&s!=="reset"||t!=null)){Du(e);return}n=n!=null?""+Pt(n):"",t=t!=null?""+Pt(t):n,b||t===e.value||(e.value=t),e.defaultValue=t}a=a??o,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=b?e.checked:!!a,e.defaultChecked=!!a,m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"&&(e.name=m),Du(e)}function Lu(e,t,n){t==="number"&&tr(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function ta(e,t,n,a){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&a&&(e[n].defaultSelected=!0)}else{for(n=""+Pt(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,a&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function ff(e,t,n){if(t!=null&&(t=""+Pt(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+Pt(n):""}function df(e,t,n,a){if(t==null){if(a!=null){if(n!=null)throw Error(u(92));if(I(a)){if(1<a.length)throw Error(u(93));a=a[0]}n=a}n==null&&(n=""),t=n}n=Pt(t),e.defaultValue=n,a=e.textContent,a===n&&a!==""&&a!==null&&(e.value=a),Du(e)}function na(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Sy=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 mf(e,t,n){var a=t.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?a?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":a?e.setProperty(t,n):typeof n!="number"||n===0||Sy.has(t)?t==="float"?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function hf(e,t,n){if(t!=null&&typeof t!="object")throw Error(u(62));if(e=e.style,n!=null){for(var a in n)!n.hasOwnProperty(a)||t!=null&&t.hasOwnProperty(a)||(a.indexOf("--")===0?e.setProperty(a,""):a==="float"?e.cssFloat="":e[a]="");for(var o in t)a=t[o],t.hasOwnProperty(o)&&n[o]!==a&&mf(e,o,a)}else for(var s in t)t.hasOwnProperty(s)&&mf(e,s,t[s])}function Uu(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var wy=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"]]),zy=/^[\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 nr(e){return zy.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function kn(){}var Hu=null;function Bu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var la=null,aa=null;function pf(e){var t=Wl(e);if(t&&(e=t.stateNode)){var n=e[Ot]||null;e:switch(e=t.stateNode,t.type){case"input":if(Ru(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+en(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var a=n[t];if(a!==e&&a.form===e.form){var o=a[Ot]||null;if(!o)throw Error(u(90));Ru(a,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(t=0;t<n.length;t++)a=n[t],a.form===e.form&&sf(a)}break e;case"textarea":ff(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&ta(e,!!n.multiple,t,!1)}}}var qu=!1;function gf(e,t,n){if(qu)return e(t,n);qu=!0;try{var a=e(t);return a}finally{if(qu=!1,(la!==null||aa!==null)&&(Vr(),la&&(t=la,e=aa,aa=la=null,pf(t),e)))for(t=0;t<e.length;t++)pf(e[t])}}function Fa(e,t){var n=e.stateNode;if(n===null)return null;var a=n[Ot]||null;if(a===null)return null;n=a[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(u(231,t,typeof n));return n}var Nn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Gu=!1;if(Nn)try{var $a={};Object.defineProperty($a,"passive",{get:function(){Gu=!0}}),window.addEventListener("test",$a,$a),window.removeEventListener("test",$a,$a)}catch{Gu=!1}var Zn=null,Yu=null,lr=null;function yf(){if(lr)return lr;var e,t=Yu,n=t.length,a,o="value"in Zn?Zn.value:Zn.textContent,s=o.length;for(e=0;e<n&&t[e]===o[e];e++);var m=n-e;for(a=1;a<=m&&t[n-a]===o[s-a];a++);return lr=o.slice(e,1<a?1-a:void 0)}function ar(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function ir(){return!0}function bf(){return!1}function jt(e){function t(n,a,o,s,m){this._reactName=n,this._targetInst=o,this.type=a,this.nativeEvent=s,this.target=m,this.currentTarget=null;for(var b in e)e.hasOwnProperty(b)&&(n=e[b],this[b]=n?n(s):s[b]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?ir:bf,this.isPropagationStopped=bf,this}return x(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=ir)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=ir)},persist:function(){},isPersistent:ir}),t}var Cl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},rr=jt(Cl),Wa=x({},Cl,{view:0,detail:0}),Ey=jt(Wa),Vu,Ku,Pa,ur=x({},Wa,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Qu,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Pa&&(Pa&&e.type==="mousemove"?(Vu=e.screenX-Pa.screenX,Ku=e.screenY-Pa.screenY):Ku=Vu=0,Pa=e),Vu)},movementY:function(e){return"movementY"in e?e.movementY:Ku}}),xf=jt(ur),Ay=x({},ur,{dataTransfer:0}),Ty=jt(Ay),ky=x({},Wa,{relatedTarget:0}),Xu=jt(ky),Ny=x({},Cl,{animationName:0,elapsedTime:0,pseudoElement:0}),Cy=jt(Ny),_y=x({},Cl,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),My=jt(_y),Oy=x({},Cl,{data:0}),vf=jt(Oy),jy={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Dy={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"},Ry={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ly(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Ry[e])?!!t[e]:!1}function Qu(){return Ly}var Uy=x({},Wa,{key:function(e){if(e.key){var t=jy[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=ar(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Dy[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Qu,charCode:function(e){return e.type==="keypress"?ar(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ar(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Hy=jt(Uy),By=x({},ur,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Sf=jt(By),qy=x({},Wa,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Qu}),Gy=jt(qy),Yy=x({},Cl,{propertyName:0,elapsedTime:0,pseudoElement:0}),Vy=jt(Yy),Ky=x({},ur,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Xy=jt(Ky),Qy=x({},Cl,{newState:0,oldState:0}),Zy=jt(Qy),Iy=[9,13,27,32],Zu=Nn&&"CompositionEvent"in window,ei=null;Nn&&"documentMode"in document&&(ei=document.documentMode);var Jy=Nn&&"TextEvent"in window&&!ei,wf=Nn&&(!Zu||ei&&8<ei&&11>=ei),zf=" ",Ef=!1;function Af(e,t){switch(e){case"keyup":return Iy.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Tf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ia=!1;function Fy(e,t){switch(e){case"compositionend":return Tf(t);case"keypress":return t.which!==32?null:(Ef=!0,zf);case"textInput":return e=t.data,e===zf&&Ef?null:e;default:return null}}function $y(e,t){if(ia)return e==="compositionend"||!Zu&&Af(e,t)?(e=yf(),lr=Yu=Zn=null,ia=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return wf&&t.locale!=="ko"?null:t.data;default:return null}}var Wy={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 kf(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Wy[e.type]:t==="textarea"}function Nf(e,t,n,a){la?aa?aa.push(a):aa=[a]:la=a,t=Fr(t,"onChange"),0<t.length&&(n=new rr("onChange","change",null,n,a),e.push({event:n,listeners:t}))}var ti=null,ni=null;function Py(e){ch(e,0)}function or(e){var t=Ja(e);if(sf(t))return e}function Cf(e,t){if(e==="change")return t}var _f=!1;if(Nn){var Iu;if(Nn){var Ju="oninput"in document;if(!Ju){var Mf=document.createElement("div");Mf.setAttribute("oninput","return;"),Ju=typeof Mf.oninput=="function"}Iu=Ju}else Iu=!1;_f=Iu&&(!document.documentMode||9<document.documentMode)}function Of(){ti&&(ti.detachEvent("onpropertychange",jf),ni=ti=null)}function jf(e){if(e.propertyName==="value"&&or(ni)){var t=[];Nf(t,ni,e,Bu(e)),gf(Py,t)}}function e0(e,t,n){e==="focusin"?(Of(),ti=t,ni=n,ti.attachEvent("onpropertychange",jf)):e==="focusout"&&Of()}function t0(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return or(ni)}function n0(e,t){if(e==="click")return or(t)}function l0(e,t){if(e==="input"||e==="change")return or(t)}function a0(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Vt=typeof Object.is=="function"?Object.is:a0;function li(e,t){if(Vt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;for(a=0;a<n.length;a++){var o=n[a];if(!Xn.call(t,o)||!Vt(e[o],t[o]))return!1}return!0}function Df(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Rf(e,t){var n=Df(e);e=0;for(var a;n;){if(n.nodeType===3){if(a=e+n.textContent.length,e<=t&&a>=t)return{node:n,offset:t-e};e=a}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Df(n)}}function Lf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Lf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Uf(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=tr(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=tr(e.document)}return t}function Fu(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var i0=Nn&&"documentMode"in document&&11>=document.documentMode,ra=null,$u=null,ai=null,Wu=!1;function Hf(e,t,n){var a=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Wu||ra==null||ra!==tr(a)||(a=ra,"selectionStart"in a&&Fu(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),ai&&li(ai,a)||(ai=a,a=Fr($u,"onSelect"),0<a.length&&(t=new rr("onSelect","select",null,t,n),e.push({event:t,listeners:a}),t.target=ra)))}function _l(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var ua={animationend:_l("Animation","AnimationEnd"),animationiteration:_l("Animation","AnimationIteration"),animationstart:_l("Animation","AnimationStart"),transitionrun:_l("Transition","TransitionRun"),transitionstart:_l("Transition","TransitionStart"),transitioncancel:_l("Transition","TransitionCancel"),transitionend:_l("Transition","TransitionEnd")},Pu={},Bf={};Nn&&(Bf=document.createElement("div").style,"AnimationEvent"in window||(delete ua.animationend.animation,delete ua.animationiteration.animation,delete ua.animationstart.animation),"TransitionEvent"in window||delete ua.transitionend.transition);function Ml(e){if(Pu[e])return Pu[e];if(!ua[e])return e;var t=ua[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Bf)return Pu[e]=t[n];return e}var qf=Ml("animationend"),Gf=Ml("animationiteration"),Yf=Ml("animationstart"),r0=Ml("transitionrun"),u0=Ml("transitionstart"),o0=Ml("transitioncancel"),Vf=Ml("transitionend"),Kf=new Map,eo="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(" ");eo.push("scrollEnd");function dn(e,t){Kf.set(e,t),Nl(t,[e])}var sr=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},tn=[],oa=0,to=0;function cr(){for(var e=oa,t=to=oa=0;t<e;){var n=tn[t];tn[t++]=null;var a=tn[t];tn[t++]=null;var o=tn[t];tn[t++]=null;var s=tn[t];if(tn[t++]=null,a!==null&&o!==null){var m=a.pending;m===null?o.next=o:(o.next=m.next,m.next=o),a.pending=o}s!==0&&Xf(n,o,s)}}function fr(e,t,n,a){tn[oa++]=e,tn[oa++]=t,tn[oa++]=n,tn[oa++]=a,to|=a,e.lanes|=a,e=e.alternate,e!==null&&(e.lanes|=a)}function no(e,t,n,a){return fr(e,t,n,a),dr(e)}function Ol(e,t){return fr(e,null,null,t),dr(e)}function Xf(e,t,n){e.lanes|=n;var a=e.alternate;a!==null&&(a.lanes|=n);for(var o=!1,s=e.return;s!==null;)s.childLanes|=n,a=s.alternate,a!==null&&(a.childLanes|=n),s.tag===22&&(e=s.stateNode,e===null||e._visibility&1||(o=!0)),e=s,s=s.return;return e.tag===3?(s=e.stateNode,o&&t!==null&&(o=31-Ke(n),e=s.hiddenUpdates,a=e[o],a===null?e[o]=[t]:a.push(t),t.lane=n|536870912),s):null}function dr(e){if(50<Ti)throw Ti=0,ds=null,Error(u(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var sa={};function s0(e,t,n,a){this.tag=e,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=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Kt(e,t,n,a){return new s0(e,t,n,a)}function lo(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Cn(e,t){var n=e.alternate;return n===null?(n=Kt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function Qf(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function mr(e,t,n,a,o,s){var m=0;if(a=e,typeof e=="function")lo(e)&&(m=1);else if(typeof e=="string")m=hb(e,n,ee.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case oe:return e=Kt(31,n,t,o),e.elementType=oe,e.lanes=s,e;case G:return jl(n.children,o,s,t);case X:m=8,o|=24;break;case R:return e=Kt(12,n,t,o|2),e.elementType=R,e.lanes=s,e;case W:return e=Kt(13,n,t,o),e.elementType=W,e.lanes=s,e;case U:return e=Kt(19,n,t,o),e.elementType=U,e.lanes=s,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Q:m=10;break e;case ue:m=9;break e;case xe:m=11;break e;case te:m=14;break e;case Z:m=16,a=null;break e}m=29,n=Error(u(130,e===null?"null":typeof e,"")),a=null}return t=Kt(m,n,t,o),t.elementType=e,t.type=a,t.lanes=s,t}function jl(e,t,n,a){return e=Kt(7,e,a,t),e.lanes=n,e}function ao(e,t,n){return e=Kt(6,e,null,t),e.lanes=n,e}function Zf(e){var t=Kt(18,null,null,0);return t.stateNode=e,t}function io(e,t,n){return t=Kt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var If=new WeakMap;function nn(e,t){if(typeof e=="object"&&e!==null){var n=If.get(e);return n!==void 0?n:(t={value:e,source:t,stack:Jl(t)},If.set(e,t),t)}return{value:e,source:t,stack:Jl(t)}}var ca=[],fa=0,hr=null,ii=0,ln=[],an=0,In=null,yn=1,bn="";function _n(e,t){ca[fa++]=ii,ca[fa++]=hr,hr=e,ii=t}function Jf(e,t,n){ln[an++]=yn,ln[an++]=bn,ln[an++]=In,In=e;var a=yn;e=bn;var o=32-Ke(a)-1;a&=~(1<<o),n+=1;var s=32-Ke(t)+o;if(30<s){var m=o-o%5;s=(a&(1<<m)-1).toString(32),a>>=m,o-=m,yn=1<<32-Ke(t)+o|n<<o|a,bn=s+e}else yn=1<<s|n<<o|a,bn=e}function ro(e){e.return!==null&&(_n(e,1),Jf(e,1,0))}function uo(e){for(;e===hr;)hr=ca[--fa],ca[fa]=null,ii=ca[--fa],ca[fa]=null;for(;e===In;)In=ln[--an],ln[an]=null,bn=ln[--an],ln[an]=null,yn=ln[--an],ln[an]=null}function Ff(e,t){ln[an++]=yn,ln[an++]=bn,ln[an++]=In,yn=t.id,bn=t.overflow,In=e}var zt=null,tt=null,De=!1,Jn=null,rn=!1,oo=Error(u(519));function Fn(e){var t=Error(u(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw ri(nn(t,e)),oo}function $f(e){var t=e.stateNode,n=e.type,a=e.memoizedProps;switch(t[wt]=e,t[Ot]=a,n){case"dialog":Me("cancel",t),Me("close",t);break;case"iframe":case"object":case"embed":Me("load",t);break;case"video":case"audio":for(n=0;n<Ni.length;n++)Me(Ni[n],t);break;case"source":Me("error",t);break;case"img":case"image":case"link":Me("error",t),Me("load",t);break;case"details":Me("toggle",t);break;case"input":Me("invalid",t),cf(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":Me("invalid",t);break;case"textarea":Me("invalid",t),df(t,a.value,a.defaultValue,a.children)}n=a.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||t.textContent===""+n||a.suppressHydrationWarning===!0||hh(t.textContent,n)?(a.popover!=null&&(Me("beforetoggle",t),Me("toggle",t)),a.onScroll!=null&&Me("scroll",t),a.onScrollEnd!=null&&Me("scrollend",t),a.onClick!=null&&(t.onclick=kn),t=!0):t=!1,t||Fn(e,!0)}function Wf(e){for(zt=e.return;zt;)switch(zt.tag){case 5:case 31:case 13:rn=!1;return;case 27:case 3:rn=!0;return;default:zt=zt.return}}function da(e){if(e!==zt)return!1;if(!De)return Wf(e),De=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!=="form"&&n!=="button")||ks(e.type,e.memoizedProps)),n=!n),n&&tt&&Fn(e),Wf(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(u(317));tt=zh(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(u(317));tt=zh(e)}else t===27?(t=tt,cl(e.type)?(e=Os,Os=null,tt=e):tt=t):tt=zt?on(e.stateNode.nextSibling):null;return!0}function Dl(){tt=zt=null,De=!1}function so(){var e=Jn;return e!==null&&(Ut===null?Ut=e:Ut.push.apply(Ut,e),Jn=null),e}function ri(e){Jn===null?Jn=[e]:Jn.push(e)}var co=T(null),Rl=null,Mn=null;function $n(e,t,n){w(co,t._currentValue),t._currentValue=n}function On(e){e._currentValue=co.current,L(co)}function fo(e,t,n){for(;e!==null;){var a=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,a!==null&&(a.childLanes|=t)):a!==null&&(a.childLanes&t)!==t&&(a.childLanes|=t),e===n)break;e=e.return}}function mo(e,t,n,a){var o=e.child;for(o!==null&&(o.return=e);o!==null;){var s=o.dependencies;if(s!==null){var m=o.child;s=s.firstContext;e:for(;s!==null;){var b=s;s=o;for(var A=0;A<t.length;A++)if(b.context===t[A]){s.lanes|=n,b=s.alternate,b!==null&&(b.lanes|=n),fo(s.return,n,e),a||(m=null);break e}s=b.next}}else if(o.tag===18){if(m=o.return,m===null)throw Error(u(341));m.lanes|=n,s=m.alternate,s!==null&&(s.lanes|=n),fo(m,n,e),m=null}else m=o.child;if(m!==null)m.return=o;else for(m=o;m!==null;){if(m===e){m=null;break}if(o=m.sibling,o!==null){o.return=m.return,m=o;break}m=m.return}o=m}}function ma(e,t,n,a){e=null;for(var o=t,s=!1;o!==null;){if(!s){if((o.flags&524288)!==0)s=!0;else if((o.flags&262144)!==0)break}if(o.tag===10){var m=o.alternate;if(m===null)throw Error(u(387));if(m=m.memoizedProps,m!==null){var b=o.type;Vt(o.pendingProps.value,m.value)||(e!==null?e.push(b):e=[b])}}else if(o===ze.current){if(m=o.alternate,m===null)throw Error(u(387));m.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(e!==null?e.push(ji):e=[ji])}o=o.return}e!==null&&mo(t,e,n,a),t.flags|=262144}function pr(e){for(e=e.firstContext;e!==null;){if(!Vt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Ll(e){Rl=e,Mn=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Et(e){return Pf(Rl,e)}function gr(e,t){return Rl===null&&Ll(e),Pf(e,t)}function Pf(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},Mn===null){if(e===null)throw Error(u(308));Mn=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Mn=Mn.next=t;return n}var c0=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(n,a){e.push(a)}};this.abort=function(){t.aborted=!0,e.forEach(function(n){return n()})}},f0=l.unstable_scheduleCallback,d0=l.unstable_NormalPriority,st={$$typeof:Q,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function ho(){return{controller:new c0,data:new Map,refCount:0}}function ui(e){e.refCount--,e.refCount===0&&f0(d0,function(){e.controller.abort()})}var oi=null,po=0,ha=0,pa=null;function m0(e,t){if(oi===null){var n=oi=[];po=0,ha=bs(),pa={status:"pending",value:void 0,then:function(a){n.push(a)}}}return po++,t.then(ed,ed),t}function ed(){if(--po===0&&oi!==null){pa!==null&&(pa.status="fulfilled");var e=oi;oi=null,ha=0,pa=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function h0(e,t){var n=[],a={status:"pending",value:null,reason:null,then:function(o){n.push(o)}};return e.then(function(){a.status="fulfilled",a.value=t;for(var o=0;o<n.length;o++)(0,n[o])(t)},function(o){for(a.status="rejected",a.reason=o,o=0;o<n.length;o++)(0,n[o])(void 0)}),a}var td=C.S;C.S=function(e,t){Hm=St(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&m0(e,t),td!==null&&td(e,t)};var Ul=T(null);function go(){var e=Ul.current;return e!==null?e:$e.pooledCache}function yr(e,t){t===null?w(Ul,Ul.current):w(Ul,t.pool)}function nd(){var e=go();return e===null?null:{parent:st._currentValue,pool:e}}var ga=Error(u(460)),yo=Error(u(474)),br=Error(u(542)),xr={then:function(){}};function ld(e){return e=e.status,e==="fulfilled"||e==="rejected"}function ad(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(kn,kn),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,rd(e),e;default:if(typeof t.status=="string")t.then(kn,kn);else{if(e=$e,e!==null&&100<e.shellSuspendCounter)throw Error(u(482));e=t,e.status="pending",e.then(function(a){if(t.status==="pending"){var o=t;o.status="fulfilled",o.value=a}},function(a){if(t.status==="pending"){var o=t;o.status="rejected",o.reason=a}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,rd(e),e}throw Bl=t,ga}}function Hl(e){try{var t=e._init;return t(e._payload)}catch(n){throw n!==null&&typeof n=="object"&&typeof n.then=="function"?(Bl=n,ga):n}}var Bl=null;function id(){if(Bl===null)throw Error(u(459));var e=Bl;return Bl=null,e}function rd(e){if(e===ga||e===br)throw Error(u(483))}var ya=null,si=0;function vr(e){var t=si;return si+=1,ya===null&&(ya=[]),ad(ya,e,t)}function ci(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Sr(e,t){throw t.$$typeof===E?Error(u(525)):(e=Object.prototype.toString.call(t),Error(u(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function ud(e){function t(N,k){if(e){var _=N.deletions;_===null?(N.deletions=[k],N.flags|=16):_.push(k)}}function n(N,k){if(!e)return null;for(;k!==null;)t(N,k),k=k.sibling;return null}function a(N){for(var k=new Map;N!==null;)N.key!==null?k.set(N.key,N):k.set(N.index,N),N=N.sibling;return k}function o(N,k){return N=Cn(N,k),N.index=0,N.sibling=null,N}function s(N,k,_){return N.index=_,e?(_=N.alternate,_!==null?(_=_.index,_<k?(N.flags|=67108866,k):_):(N.flags|=67108866,k)):(N.flags|=1048576,k)}function m(N){return e&&N.alternate===null&&(N.flags|=67108866),N}function b(N,k,_,Y){return k===null||k.tag!==6?(k=ao(_,N.mode,Y),k.return=N,k):(k=o(k,_),k.return=N,k)}function A(N,k,_,Y){var pe=_.type;return pe===G?H(N,k,_.props.children,Y,_.key):k!==null&&(k.elementType===pe||typeof pe=="object"&&pe!==null&&pe.$$typeof===Z&&Hl(pe)===k.type)?(k=o(k,_.props),ci(k,_),k.return=N,k):(k=mr(_.type,_.key,_.props,null,N.mode,Y),ci(k,_),k.return=N,k)}function M(N,k,_,Y){return k===null||k.tag!==4||k.stateNode.containerInfo!==_.containerInfo||k.stateNode.implementation!==_.implementation?(k=io(_,N.mode,Y),k.return=N,k):(k=o(k,_.children||[]),k.return=N,k)}function H(N,k,_,Y,pe){return k===null||k.tag!==7?(k=jl(_,N.mode,Y,pe),k.return=N,k):(k=o(k,_),k.return=N,k)}function V(N,k,_){if(typeof k=="string"&&k!==""||typeof k=="number"||typeof k=="bigint")return k=ao(""+k,N.mode,_),k.return=N,k;if(typeof k=="object"&&k!==null){switch(k.$$typeof){case v:return _=mr(k.type,k.key,k.props,null,N.mode,_),ci(_,k),_.return=N,_;case q:return k=io(k,N.mode,_),k.return=N,k;case Z:return k=Hl(k),V(N,k,_)}if(I(k)||F(k))return k=jl(k,N.mode,_,null),k.return=N,k;if(typeof k.then=="function")return V(N,vr(k),_);if(k.$$typeof===Q)return V(N,gr(N,k),_);Sr(N,k)}return null}function O(N,k,_,Y){var pe=k!==null?k.key:null;if(typeof _=="string"&&_!==""||typeof _=="number"||typeof _=="bigint")return pe!==null?null:b(N,k,""+_,Y);if(typeof _=="object"&&_!==null){switch(_.$$typeof){case v:return _.key===pe?A(N,k,_,Y):null;case q:return _.key===pe?M(N,k,_,Y):null;case Z:return _=Hl(_),O(N,k,_,Y)}if(I(_)||F(_))return pe!==null?null:H(N,k,_,Y,null);if(typeof _.then=="function")return O(N,k,vr(_),Y);if(_.$$typeof===Q)return O(N,k,gr(N,_),Y);Sr(N,_)}return null}function j(N,k,_,Y,pe){if(typeof Y=="string"&&Y!==""||typeof Y=="number"||typeof Y=="bigint")return N=N.get(_)||null,b(k,N,""+Y,pe);if(typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case v:return N=N.get(Y.key===null?_:Y.key)||null,A(k,N,Y,pe);case q:return N=N.get(Y.key===null?_:Y.key)||null,M(k,N,Y,pe);case Z:return Y=Hl(Y),j(N,k,_,Y,pe)}if(I(Y)||F(Y))return N=N.get(_)||null,H(k,N,Y,pe,null);if(typeof Y.then=="function")return j(N,k,_,vr(Y),pe);if(Y.$$typeof===Q)return j(N,k,_,gr(k,Y),pe);Sr(k,Y)}return null}function se(N,k,_,Y){for(var pe=null,Ue=null,de=k,Te=k=0,je=null;de!==null&&Te<_.length;Te++){de.index>Te?(je=de,de=null):je=de.sibling;var He=O(N,de,_[Te],Y);if(He===null){de===null&&(de=je);break}e&&de&&He.alternate===null&&t(N,de),k=s(He,k,Te),Ue===null?pe=He:Ue.sibling=He,Ue=He,de=je}if(Te===_.length)return n(N,de),De&&_n(N,Te),pe;if(de===null){for(;Te<_.length;Te++)de=V(N,_[Te],Y),de!==null&&(k=s(de,k,Te),Ue===null?pe=de:Ue.sibling=de,Ue=de);return De&&_n(N,Te),pe}for(de=a(de);Te<_.length;Te++)je=j(de,N,Te,_[Te],Y),je!==null&&(e&&je.alternate!==null&&de.delete(je.key===null?Te:je.key),k=s(je,k,Te),Ue===null?pe=je:Ue.sibling=je,Ue=je);return e&&de.forEach(function(pl){return t(N,pl)}),De&&_n(N,Te),pe}function be(N,k,_,Y){if(_==null)throw Error(u(151));for(var pe=null,Ue=null,de=k,Te=k=0,je=null,He=_.next();de!==null&&!He.done;Te++,He=_.next()){de.index>Te?(je=de,de=null):je=de.sibling;var pl=O(N,de,He.value,Y);if(pl===null){de===null&&(de=je);break}e&&de&&pl.alternate===null&&t(N,de),k=s(pl,k,Te),Ue===null?pe=pl:Ue.sibling=pl,Ue=pl,de=je}if(He.done)return n(N,de),De&&_n(N,Te),pe;if(de===null){for(;!He.done;Te++,He=_.next())He=V(N,He.value,Y),He!==null&&(k=s(He,k,Te),Ue===null?pe=He:Ue.sibling=He,Ue=He);return De&&_n(N,Te),pe}for(de=a(de);!He.done;Te++,He=_.next())He=j(de,N,Te,He.value,Y),He!==null&&(e&&He.alternate!==null&&de.delete(He.key===null?Te:He.key),k=s(He,k,Te),Ue===null?pe=He:Ue.sibling=He,Ue=He);return e&&de.forEach(function(Ab){return t(N,Ab)}),De&&_n(N,Te),pe}function Je(N,k,_,Y){if(typeof _=="object"&&_!==null&&_.type===G&&_.key===null&&(_=_.props.children),typeof _=="object"&&_!==null){switch(_.$$typeof){case v:e:{for(var pe=_.key;k!==null;){if(k.key===pe){if(pe=_.type,pe===G){if(k.tag===7){n(N,k.sibling),Y=o(k,_.props.children),Y.return=N,N=Y;break e}}else if(k.elementType===pe||typeof pe=="object"&&pe!==null&&pe.$$typeof===Z&&Hl(pe)===k.type){n(N,k.sibling),Y=o(k,_.props),ci(Y,_),Y.return=N,N=Y;break e}n(N,k);break}else t(N,k);k=k.sibling}_.type===G?(Y=jl(_.props.children,N.mode,Y,_.key),Y.return=N,N=Y):(Y=mr(_.type,_.key,_.props,null,N.mode,Y),ci(Y,_),Y.return=N,N=Y)}return m(N);case q:e:{for(pe=_.key;k!==null;){if(k.key===pe)if(k.tag===4&&k.stateNode.containerInfo===_.containerInfo&&k.stateNode.implementation===_.implementation){n(N,k.sibling),Y=o(k,_.children||[]),Y.return=N,N=Y;break e}else{n(N,k);break}else t(N,k);k=k.sibling}Y=io(_,N.mode,Y),Y.return=N,N=Y}return m(N);case Z:return _=Hl(_),Je(N,k,_,Y)}if(I(_))return se(N,k,_,Y);if(F(_)){if(pe=F(_),typeof pe!="function")throw Error(u(150));return _=pe.call(_),be(N,k,_,Y)}if(typeof _.then=="function")return Je(N,k,vr(_),Y);if(_.$$typeof===Q)return Je(N,k,gr(N,_),Y);Sr(N,_)}return typeof _=="string"&&_!==""||typeof _=="number"||typeof _=="bigint"?(_=""+_,k!==null&&k.tag===6?(n(N,k.sibling),Y=o(k,_),Y.return=N,N=Y):(n(N,k),Y=ao(_,N.mode,Y),Y.return=N,N=Y),m(N)):n(N,k)}return function(N,k,_,Y){try{si=0;var pe=Je(N,k,_,Y);return ya=null,pe}catch(de){if(de===ga||de===br)throw de;var Ue=Kt(29,de,null,N.mode);return Ue.lanes=Y,Ue.return=N,Ue}finally{}}}var ql=ud(!0),od=ud(!1),Wn=!1;function bo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function xo(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Pn(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function el(e,t,n){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(qe&2)!==0){var o=a.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),a.pending=t,t=dr(e),Xf(e,null,n),t}return fr(e,a,t,n),dr(e)}function fi(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194048)!==0)){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,Wc(e,n)}}function vo(e,t){var n=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,n===a)){var o=null,s=null;if(n=n.firstBaseUpdate,n!==null){do{var m={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};s===null?o=s=m:s=s.next=m,n=n.next}while(n!==null);s===null?o=s=t:s=s.next=t}else o=s=t;n={baseState:a.baseState,firstBaseUpdate:o,lastBaseUpdate:s,shared:a.shared,callbacks:a.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var So=!1;function di(){if(So){var e=pa;if(e!==null)throw e}}function mi(e,t,n,a){So=!1;var o=e.updateQueue;Wn=!1;var s=o.firstBaseUpdate,m=o.lastBaseUpdate,b=o.shared.pending;if(b!==null){o.shared.pending=null;var A=b,M=A.next;A.next=null,m===null?s=M:m.next=M,m=A;var H=e.alternate;H!==null&&(H=H.updateQueue,b=H.lastBaseUpdate,b!==m&&(b===null?H.firstBaseUpdate=M:b.next=M,H.lastBaseUpdate=A))}if(s!==null){var V=o.baseState;m=0,H=M=A=null,b=s;do{var O=b.lane&-536870913,j=O!==b.lane;if(j?(Oe&O)===O:(a&O)===O){O!==0&&O===ha&&(So=!0),H!==null&&(H=H.next={lane:0,tag:b.tag,payload:b.payload,callback:null,next:null});e:{var se=e,be=b;O=t;var Je=n;switch(be.tag){case 1:if(se=be.payload,typeof se=="function"){V=se.call(Je,V,O);break e}V=se;break e;case 3:se.flags=se.flags&-65537|128;case 0:if(se=be.payload,O=typeof se=="function"?se.call(Je,V,O):se,O==null)break e;V=x({},V,O);break e;case 2:Wn=!0}}O=b.callback,O!==null&&(e.flags|=64,j&&(e.flags|=8192),j=o.callbacks,j===null?o.callbacks=[O]:j.push(O))}else j={lane:O,tag:b.tag,payload:b.payload,callback:b.callback,next:null},H===null?(M=H=j,A=V):H=H.next=j,m|=O;if(b=b.next,b===null){if(b=o.shared.pending,b===null)break;j=b,b=j.next,j.next=null,o.lastBaseUpdate=j,o.shared.pending=null}}while(!0);H===null&&(A=V),o.baseState=A,o.firstBaseUpdate=M,o.lastBaseUpdate=H,s===null&&(o.shared.lanes=0),il|=m,e.lanes=m,e.memoizedState=V}}function sd(e,t){if(typeof e!="function")throw Error(u(191,e));e.call(t)}function cd(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)sd(n[e],t)}var ba=T(null),wr=T(0);function fd(e,t){e=Gn,w(wr,e),w(ba,t),Gn=e|t.baseLanes}function wo(){w(wr,Gn),w(ba,ba.current)}function zo(){Gn=wr.current,L(ba),L(wr)}var Xt=T(null),un=null;function tl(e){var t=e.alternate;w(ut,ut.current&1),w(Xt,e),un===null&&(t===null||ba.current!==null||t.memoizedState!==null)&&(un=e)}function Eo(e){w(ut,ut.current),w(Xt,e),un===null&&(un=e)}function dd(e){e.tag===22?(w(ut,ut.current),w(Xt,e),un===null&&(un=e)):nl()}function nl(){w(ut,ut.current),w(Xt,Xt.current)}function Qt(e){L(Xt),un===e&&(un=null),L(ut)}var ut=T(0);function zr(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||_s(n)||Ms(n)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var jn=0,Ae=null,Ze=null,ct=null,Er=!1,xa=!1,Gl=!1,Ar=0,hi=0,va=null,p0=0;function at(){throw Error(u(321))}function Ao(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Vt(e[n],t[n]))return!1;return!0}function To(e,t,n,a,o,s){return jn=s,Ae=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,C.H=e===null||e.memoizedState===null?Jd:Go,Gl=!1,s=n(a,o),Gl=!1,xa&&(s=hd(t,n,a,o)),md(e),s}function md(e){C.H=yi;var t=Ze!==null&&Ze.next!==null;if(jn=0,ct=Ze=Ae=null,Er=!1,hi=0,va=null,t)throw Error(u(300));e===null||ft||(e=e.dependencies,e!==null&&pr(e)&&(ft=!0))}function hd(e,t,n,a){Ae=e;var o=0;do{if(xa&&(va=null),hi=0,xa=!1,25<=o)throw Error(u(301));if(o+=1,ct=Ze=null,e.updateQueue!=null){var s=e.updateQueue;s.lastEffect=null,s.events=null,s.stores=null,s.memoCache!=null&&(s.memoCache.index=0)}C.H=Fd,s=t(n,a)}while(xa);return s}function g0(){var e=C.H,t=e.useState()[0];return t=typeof t.then=="function"?pi(t):t,e=e.useState()[0],(Ze!==null?Ze.memoizedState:null)!==e&&(Ae.flags|=1024),t}function ko(){var e=Ar!==0;return Ar=0,e}function No(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function Co(e){if(Er){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Er=!1}jn=0,ct=Ze=Ae=null,xa=!1,hi=Ar=0,va=null}function Ct(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ct===null?Ae.memoizedState=ct=e:ct=ct.next=e,ct}function ot(){if(Ze===null){var e=Ae.alternate;e=e!==null?e.memoizedState:null}else e=Ze.next;var t=ct===null?Ae.memoizedState:ct.next;if(t!==null)ct=t,Ze=e;else{if(e===null)throw Ae.alternate===null?Error(u(467)):Error(u(310));Ze=e,e={memoizedState:Ze.memoizedState,baseState:Ze.baseState,baseQueue:Ze.baseQueue,queue:Ze.queue,next:null},ct===null?Ae.memoizedState=ct=e:ct=ct.next=e}return ct}function Tr(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function pi(e){var t=hi;return hi+=1,va===null&&(va=[]),e=ad(va,e,t),t=Ae,(ct===null?t.memoizedState:ct.next)===null&&(t=t.alternate,C.H=t===null||t.memoizedState===null?Jd:Go),e}function kr(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return pi(e);if(e.$$typeof===Q)return Et(e)}throw Error(u(438,String(e)))}function _o(e){var t=null,n=Ae.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var a=Ae.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(t={data:a.data.map(function(o){return o.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=Tr(),Ae.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),a=0;a<e;a++)n[a]=ve;return t.index++,n}function Dn(e,t){return typeof t=="function"?t(e):t}function Nr(e){var t=ot();return Mo(t,Ze,e)}function Mo(e,t,n){var a=e.queue;if(a===null)throw Error(u(311));a.lastRenderedReducer=n;var o=e.baseQueue,s=a.pending;if(s!==null){if(o!==null){var m=o.next;o.next=s.next,s.next=m}t.baseQueue=o=s,a.pending=null}if(s=e.baseState,o===null)e.memoizedState=s;else{t=o.next;var b=m=null,A=null,M=t,H=!1;do{var V=M.lane&-536870913;if(V!==M.lane?(Oe&V)===V:(jn&V)===V){var O=M.revertLane;if(O===0)A!==null&&(A=A.next={lane:0,revertLane:0,gesture:null,action:M.action,hasEagerState:M.hasEagerState,eagerState:M.eagerState,next:null}),V===ha&&(H=!0);else if((jn&O)===O){M=M.next,O===ha&&(H=!0);continue}else V={lane:0,revertLane:M.revertLane,gesture:null,action:M.action,hasEagerState:M.hasEagerState,eagerState:M.eagerState,next:null},A===null?(b=A=V,m=s):A=A.next=V,Ae.lanes|=O,il|=O;V=M.action,Gl&&n(s,V),s=M.hasEagerState?M.eagerState:n(s,V)}else O={lane:V,revertLane:M.revertLane,gesture:M.gesture,action:M.action,hasEagerState:M.hasEagerState,eagerState:M.eagerState,next:null},A===null?(b=A=O,m=s):A=A.next=O,Ae.lanes|=V,il|=V;M=M.next}while(M!==null&&M!==t);if(A===null?m=s:A.next=b,!Vt(s,e.memoizedState)&&(ft=!0,H&&(n=pa,n!==null)))throw n;e.memoizedState=s,e.baseState=m,e.baseQueue=A,a.lastRenderedState=s}return o===null&&(a.lanes=0),[e.memoizedState,a.dispatch]}function Oo(e){var t=ot(),n=t.queue;if(n===null)throw Error(u(311));n.lastRenderedReducer=e;var a=n.dispatch,o=n.pending,s=t.memoizedState;if(o!==null){n.pending=null;var m=o=o.next;do s=e(s,m.action),m=m.next;while(m!==o);Vt(s,t.memoizedState)||(ft=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),n.lastRenderedState=s}return[s,a]}function pd(e,t,n){var a=Ae,o=ot(),s=De;if(s){if(n===void 0)throw Error(u(407));n=n()}else n=t();var m=!Vt((Ze||o).memoizedState,n);if(m&&(o.memoizedState=n,ft=!0),o=o.queue,Ro(bd.bind(null,a,o,e),[e]),o.getSnapshot!==t||m||ct!==null&&ct.memoizedState.tag&1){if(a.flags|=2048,Sa(9,{destroy:void 0},yd.bind(null,a,o,n,t),null),$e===null)throw Error(u(349));s||(jn&127)!==0||gd(a,t,n)}return n}function gd(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Ae.updateQueue,t===null?(t=Tr(),Ae.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function yd(e,t,n,a){t.value=n,t.getSnapshot=a,xd(t)&&vd(e)}function bd(e,t,n){return n(function(){xd(t)&&vd(e)})}function xd(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Vt(e,n)}catch{return!0}}function vd(e){var t=Ol(e,2);t!==null&&Ht(t,e,2)}function jo(e){var t=Ct();if(typeof e=="function"){var n=e;if(e=n(),Gl){Ve(!0);try{n()}finally{Ve(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Dn,lastRenderedState:e},t}function Sd(e,t,n,a){return e.baseState=n,Mo(e,Ze,typeof a=="function"?a:Dn)}function y0(e,t,n,a,o){if(Mr(e))throw Error(u(485));if(e=t.action,e!==null){var s={payload:o,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(m){s.listeners.push(m)}};C.T!==null?n(!0):s.isTransition=!1,a(s),n=t.pending,n===null?(s.next=t.pending=s,wd(t,s)):(s.next=n.next,t.pending=n.next=s)}}function wd(e,t){var n=t.action,a=t.payload,o=e.state;if(t.isTransition){var s=C.T,m={};C.T=m;try{var b=n(o,a),A=C.S;A!==null&&A(m,b),zd(e,t,b)}catch(M){Do(e,t,M)}finally{s!==null&&m.types!==null&&(s.types=m.types),C.T=s}}else try{s=n(o,a),zd(e,t,s)}catch(M){Do(e,t,M)}}function zd(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(a){Ed(e,t,a)},function(a){return Do(e,t,a)}):Ed(e,t,n)}function Ed(e,t,n){t.status="fulfilled",t.value=n,Ad(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,wd(e,n)))}function Do(e,t,n){var a=e.pending;if(e.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=n,Ad(t),t=t.next;while(t!==a)}e.action=null}function Ad(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Td(e,t){return t}function kd(e,t){if(De){var n=$e.formState;if(n!==null){e:{var a=Ae;if(De){if(tt){t:{for(var o=tt,s=rn;o.nodeType!==8;){if(!s){o=null;break t}if(o=on(o.nextSibling),o===null){o=null;break t}}s=o.data,o=s==="F!"||s==="F"?o:null}if(o){tt=on(o.nextSibling),a=o.data==="F!";break e}}Fn(a)}a=!1}a&&(t=n[0])}}return n=Ct(),n.memoizedState=n.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Td,lastRenderedState:t},n.queue=a,n=Qd.bind(null,Ae,a),a.dispatch=n,a=jo(!1),s=qo.bind(null,Ae,!1,a.queue),a=Ct(),o={state:t,dispatch:null,action:e,pending:null},a.queue=o,n=y0.bind(null,Ae,o,s,n),o.dispatch=n,a.memoizedState=e,[t,n,!1]}function Nd(e){var t=ot();return Cd(t,Ze,e)}function Cd(e,t,n){if(t=Mo(e,t,Td)[0],e=Nr(Dn)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=pi(t)}catch(m){throw m===ga?br:m}else a=t;t=ot();var o=t.queue,s=o.dispatch;return n!==t.memoizedState&&(Ae.flags|=2048,Sa(9,{destroy:void 0},b0.bind(null,o,n),null)),[a,s,e]}function b0(e,t){e.action=t}function _d(e){var t=ot(),n=Ze;if(n!==null)return Cd(t,n,e);ot(),t=t.memoizedState,n=ot();var a=n.queue.dispatch;return n.memoizedState=e,[t,a,!1]}function Sa(e,t,n,a){return e={tag:e,create:n,deps:a,inst:t,next:null},t=Ae.updateQueue,t===null&&(t=Tr(),Ae.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(a=n.next,n.next=e,e.next=a,t.lastEffect=e),e}function Md(){return ot().memoizedState}function Cr(e,t,n,a){var o=Ct();Ae.flags|=e,o.memoizedState=Sa(1|t,{destroy:void 0},n,a===void 0?null:a)}function _r(e,t,n,a){var o=ot();a=a===void 0?null:a;var s=o.memoizedState.inst;Ze!==null&&a!==null&&Ao(a,Ze.memoizedState.deps)?o.memoizedState=Sa(t,s,n,a):(Ae.flags|=e,o.memoizedState=Sa(1|t,s,n,a))}function Od(e,t){Cr(8390656,8,e,t)}function Ro(e,t){_r(2048,8,e,t)}function x0(e){Ae.flags|=4;var t=Ae.updateQueue;if(t===null)t=Tr(),Ae.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function jd(e){var t=ot().memoizedState;return x0({ref:t,nextImpl:e}),function(){if((qe&2)!==0)throw Error(u(440));return t.impl.apply(void 0,arguments)}}function Dd(e,t){return _r(4,2,e,t)}function Rd(e,t){return _r(4,4,e,t)}function Ld(e,t){if(typeof t=="function"){e=e();var n=t(e);return function(){typeof n=="function"?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Ud(e,t,n){n=n!=null?n.concat([e]):null,_r(4,4,Ld.bind(null,t,e),n)}function Lo(){}function Hd(e,t){var n=ot();t=t===void 0?null:t;var a=n.memoizedState;return t!==null&&Ao(t,a[1])?a[0]:(n.memoizedState=[e,t],e)}function Bd(e,t){var n=ot();t=t===void 0?null:t;var a=n.memoizedState;if(t!==null&&Ao(t,a[1]))return a[0];if(a=e(),Gl){Ve(!0);try{e()}finally{Ve(!1)}}return n.memoizedState=[a,t],a}function Uo(e,t,n){return n===void 0||(jn&1073741824)!==0&&(Oe&261930)===0?e.memoizedState=t:(e.memoizedState=n,e=qm(),Ae.lanes|=e,il|=e,n)}function qd(e,t,n,a){return Vt(n,t)?n:ba.current!==null?(e=Uo(e,n,a),Vt(e,t)||(ft=!0),e):(jn&42)===0||(jn&1073741824)!==0&&(Oe&261930)===0?(ft=!0,e.memoizedState=n):(e=qm(),Ae.lanes|=e,il|=e,t)}function Gd(e,t,n,a,o){var s=K.p;K.p=s!==0&&8>s?s:8;var m=C.T,b={};C.T=b,qo(e,!1,t,n);try{var A=o(),M=C.S;if(M!==null&&M(b,A),A!==null&&typeof A=="object"&&typeof A.then=="function"){var H=h0(A,a);gi(e,t,H,Jt(e))}else gi(e,t,a,Jt(e))}catch(V){gi(e,t,{then:function(){},status:"rejected",reason:V},Jt())}finally{K.p=s,m!==null&&b.types!==null&&(m.types=b.types),C.T=m}}function v0(){}function Ho(e,t,n,a){if(e.tag!==5)throw Error(u(476));var o=Yd(e).queue;Gd(e,o,t,ie,n===null?v0:function(){return Vd(e),n(a)})}function Yd(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ie,baseState:ie,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Dn,lastRenderedState:ie},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Dn,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Vd(e){var t=Yd(e);t.next===null&&(t=e.alternate.memoizedState),gi(e,t.next.queue,{},Jt())}function Bo(){return Et(ji)}function Kd(){return ot().memoizedState}function Xd(){return ot().memoizedState}function S0(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=Jt();e=Pn(n);var a=el(t,e,n);a!==null&&(Ht(a,t,n),fi(a,t,n)),t={cache:ho()},e.payload=t;return}t=t.return}}function w0(e,t,n){var a=Jt();n={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Mr(e)?Zd(t,n):(n=no(e,t,n,a),n!==null&&(Ht(n,e,a),Id(n,t,a)))}function Qd(e,t,n){var a=Jt();gi(e,t,n,a)}function gi(e,t,n,a){var o={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Mr(e))Zd(t,o);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var m=t.lastRenderedState,b=s(m,n);if(o.hasEagerState=!0,o.eagerState=b,Vt(b,m))return fr(e,t,o,0),$e===null&&cr(),!1}catch{}finally{}if(n=no(e,t,o,a),n!==null)return Ht(n,e,a),Id(n,t,a),!0}return!1}function qo(e,t,n,a){if(a={lane:2,revertLane:bs(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Mr(e)){if(t)throw Error(u(479))}else t=no(e,n,a,2),t!==null&&Ht(t,e,2)}function Mr(e){var t=e.alternate;return e===Ae||t!==null&&t===Ae}function Zd(e,t){xa=Er=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Id(e,t,n){if((n&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,Wc(e,n)}}var yi={readContext:Et,use:kr,useCallback:at,useContext:at,useEffect:at,useImperativeHandle:at,useLayoutEffect:at,useInsertionEffect:at,useMemo:at,useReducer:at,useRef:at,useState:at,useDebugValue:at,useDeferredValue:at,useTransition:at,useSyncExternalStore:at,useId:at,useHostTransitionStatus:at,useFormState:at,useActionState:at,useOptimistic:at,useMemoCache:at,useCacheRefresh:at};yi.useEffectEvent=at;var Jd={readContext:Et,use:kr,useCallback:function(e,t){return Ct().memoizedState=[e,t===void 0?null:t],e},useContext:Et,useEffect:Od,useImperativeHandle:function(e,t,n){n=n!=null?n.concat([e]):null,Cr(4194308,4,Ld.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Cr(4194308,4,e,t)},useInsertionEffect:function(e,t){Cr(4,2,e,t)},useMemo:function(e,t){var n=Ct();t=t===void 0?null:t;var a=e();if(Gl){Ve(!0);try{e()}finally{Ve(!1)}}return n.memoizedState=[a,t],a},useReducer:function(e,t,n){var a=Ct();if(n!==void 0){var o=n(t);if(Gl){Ve(!0);try{n(t)}finally{Ve(!1)}}}else o=t;return a.memoizedState=a.baseState=o,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:o},a.queue=e,e=e.dispatch=w0.bind(null,Ae,e),[a.memoizedState,e]},useRef:function(e){var t=Ct();return e={current:e},t.memoizedState=e},useState:function(e){e=jo(e);var t=e.queue,n=Qd.bind(null,Ae,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Lo,useDeferredValue:function(e,t){var n=Ct();return Uo(n,e,t)},useTransition:function(){var e=jo(!1);return e=Gd.bind(null,Ae,e.queue,!0,!1),Ct().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var a=Ae,o=Ct();if(De){if(n===void 0)throw Error(u(407));n=n()}else{if(n=t(),$e===null)throw Error(u(349));(Oe&127)!==0||gd(a,t,n)}o.memoizedState=n;var s={value:n,getSnapshot:t};return o.queue=s,Od(bd.bind(null,a,s,e),[e]),a.flags|=2048,Sa(9,{destroy:void 0},yd.bind(null,a,s,n,t),null),n},useId:function(){var e=Ct(),t=$e.identifierPrefix;if(De){var n=bn,a=yn;n=(a&~(1<<32-Ke(a)-1)).toString(32)+n,t="_"+t+"R_"+n,n=Ar++,0<n&&(t+="H"+n.toString(32)),t+="_"}else n=p0++,t="_"+t+"r_"+n.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:Bo,useFormState:kd,useActionState:kd,useOptimistic:function(e){var t=Ct();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=qo.bind(null,Ae,!0,n),n.dispatch=t,[e,t]},useMemoCache:_o,useCacheRefresh:function(){return Ct().memoizedState=S0.bind(null,Ae)},useEffectEvent:function(e){var t=Ct(),n={impl:e};return t.memoizedState=n,function(){if((qe&2)!==0)throw Error(u(440));return n.impl.apply(void 0,arguments)}}},Go={readContext:Et,use:kr,useCallback:Hd,useContext:Et,useEffect:Ro,useImperativeHandle:Ud,useInsertionEffect:Dd,useLayoutEffect:Rd,useMemo:Bd,useReducer:Nr,useRef:Md,useState:function(){return Nr(Dn)},useDebugValue:Lo,useDeferredValue:function(e,t){var n=ot();return qd(n,Ze.memoizedState,e,t)},useTransition:function(){var e=Nr(Dn)[0],t=ot().memoizedState;return[typeof e=="boolean"?e:pi(e),t]},useSyncExternalStore:pd,useId:Kd,useHostTransitionStatus:Bo,useFormState:Nd,useActionState:Nd,useOptimistic:function(e,t){var n=ot();return Sd(n,Ze,e,t)},useMemoCache:_o,useCacheRefresh:Xd};Go.useEffectEvent=jd;var Fd={readContext:Et,use:kr,useCallback:Hd,useContext:Et,useEffect:Ro,useImperativeHandle:Ud,useInsertionEffect:Dd,useLayoutEffect:Rd,useMemo:Bd,useReducer:Oo,useRef:Md,useState:function(){return Oo(Dn)},useDebugValue:Lo,useDeferredValue:function(e,t){var n=ot();return Ze===null?Uo(n,e,t):qd(n,Ze.memoizedState,e,t)},useTransition:function(){var e=Oo(Dn)[0],t=ot().memoizedState;return[typeof e=="boolean"?e:pi(e),t]},useSyncExternalStore:pd,useId:Kd,useHostTransitionStatus:Bo,useFormState:_d,useActionState:_d,useOptimistic:function(e,t){var n=ot();return Ze!==null?Sd(n,Ze,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:_o,useCacheRefresh:Xd};Fd.useEffectEvent=jd;function Yo(e,t,n,a){t=e.memoizedState,n=n(a,t),n=n==null?t:x({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Vo={enqueueSetState:function(e,t,n){e=e._reactInternals;var a=Jt(),o=Pn(a);o.payload=t,n!=null&&(o.callback=n),t=el(e,o,a),t!==null&&(Ht(t,e,a),fi(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var a=Jt(),o=Pn(a);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=el(e,o,a),t!==null&&(Ht(t,e,a),fi(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Jt(),a=Pn(n);a.tag=2,t!=null&&(a.callback=t),t=el(e,a,n),t!==null&&(Ht(t,e,n),fi(t,e,n))}};function $d(e,t,n,a,o,s,m){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,s,m):t.prototype&&t.prototype.isPureReactComponent?!li(n,a)||!li(o,s):!0}function Wd(e,t,n,a){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,a),t.state!==e&&Vo.enqueueReplaceState(t,t.state,null)}function Yl(e,t){var n=t;if("ref"in t){n={};for(var a in t)a!=="ref"&&(n[a]=t[a])}if(e=e.defaultProps){n===t&&(n=x({},n));for(var o in e)n[o]===void 0&&(n[o]=e[o])}return n}function Pd(e){sr(e)}function em(e){console.error(e)}function tm(e){sr(e)}function Or(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(a){setTimeout(function(){throw a})}}function nm(e,t,n){try{var a=e.onCaughtError;a(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(o){setTimeout(function(){throw o})}}function Ko(e,t,n){return n=Pn(n),n.tag=3,n.payload={element:null},n.callback=function(){Or(e,t)},n}function lm(e){return e=Pn(e),e.tag=3,e}function am(e,t,n,a){var o=n.type.getDerivedStateFromError;if(typeof o=="function"){var s=a.value;e.payload=function(){return o(s)},e.callback=function(){nm(t,n,a)}}var m=n.stateNode;m!==null&&typeof m.componentDidCatch=="function"&&(e.callback=function(){nm(t,n,a),typeof o!="function"&&(rl===null?rl=new Set([this]):rl.add(this));var b=a.stack;this.componentDidCatch(a.value,{componentStack:b!==null?b:""})})}function z0(e,t,n,a,o){if(n.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=n.alternate,t!==null&&ma(t,n,o,!0),n=Xt.current,n!==null){switch(n.tag){case 31:case 13:return un===null?Kr():n.alternate===null&&it===0&&(it=3),n.flags&=-257,n.flags|=65536,n.lanes=o,a===xr?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([a]):t.add(a),ps(e,a,o)),!1;case 22:return n.flags|=65536,a===xr?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([a])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([a]):n.add(a)),ps(e,a,o)),!1}throw Error(u(435,n.tag))}return ps(e,a,o),Kr(),!1}if(De)return t=Xt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=o,a!==oo&&(e=Error(u(422),{cause:a}),ri(nn(e,n)))):(a!==oo&&(t=Error(u(423),{cause:a}),ri(nn(t,n))),e=e.current.alternate,e.flags|=65536,o&=-o,e.lanes|=o,a=nn(a,n),o=Ko(e.stateNode,a,o),vo(e,o),it!==4&&(it=2)),!1;var s=Error(u(520),{cause:a});if(s=nn(s,n),Ai===null?Ai=[s]:Ai.push(s),it!==4&&(it=2),t===null)return!0;a=nn(a,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=o&-o,n.lanes|=e,e=Ko(n.stateNode,a,e),vo(n,e),!1;case 1:if(t=n.type,s=n.stateNode,(n.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||s!==null&&typeof s.componentDidCatch=="function"&&(rl===null||!rl.has(s))))return n.flags|=65536,o&=-o,n.lanes|=o,o=lm(o),am(o,e,n,a),vo(n,o),!1}n=n.return}while(n!==null);return!1}var Xo=Error(u(461)),ft=!1;function At(e,t,n,a){t.child=e===null?od(t,null,n,a):ql(t,e.child,n,a)}function im(e,t,n,a,o){n=n.render;var s=t.ref;if("ref"in a){var m={};for(var b in a)b!=="ref"&&(m[b]=a[b])}else m=a;return Ll(t),a=To(e,t,n,m,s,o),b=ko(),e!==null&&!ft?(No(e,t,o),Rn(e,t,o)):(De&&b&&ro(t),t.flags|=1,At(e,t,a,o),t.child)}function rm(e,t,n,a,o){if(e===null){var s=n.type;return typeof s=="function"&&!lo(s)&&s.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=s,um(e,t,s,a,o)):(e=mr(n.type,null,a,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!Po(e,o)){var m=s.memoizedProps;if(n=n.compare,n=n!==null?n:li,n(m,a)&&e.ref===t.ref)return Rn(e,t,o)}return t.flags|=1,e=Cn(s,a),e.ref=t.ref,e.return=t,t.child=e}function um(e,t,n,a,o){if(e!==null){var s=e.memoizedProps;if(li(s,a)&&e.ref===t.ref)if(ft=!1,t.pendingProps=a=s,Po(e,o))(e.flags&131072)!==0&&(ft=!0);else return t.lanes=e.lanes,Rn(e,t,o)}return Qo(e,t,n,a,o)}function om(e,t,n,a){var o=a.children,s=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((t.flags&128)!==0){if(s=s!==null?s.baseLanes|n:n,e!==null){for(a=t.child=e.child,o=0;a!==null;)o=o|a.lanes|a.childLanes,a=a.sibling;a=o&~s}else a=0,t.child=null;return sm(e,t,s,n,a)}if((n&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&yr(t,s!==null?s.cachePool:null),s!==null?fd(t,s):wo(),dd(t);else return a=t.lanes=536870912,sm(e,t,s!==null?s.baseLanes|n:n,n,a)}else s!==null?(yr(t,s.cachePool),fd(t,s),nl(),t.memoizedState=null):(e!==null&&yr(t,null),wo(),nl());return At(e,t,o,n),t.child}function bi(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function sm(e,t,n,a,o){var s=go();return s=s===null?null:{parent:st._currentValue,pool:s},t.memoizedState={baseLanes:n,cachePool:s},e!==null&&yr(t,null),wo(),dd(t),e!==null&&ma(e,t,a,!0),t.childLanes=o,null}function jr(e,t){return t=Rr({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function cm(e,t,n){return ql(t,e.child,null,n),e=jr(t,t.pendingProps),e.flags|=2,Qt(t),t.memoizedState=null,e}function E0(e,t,n){var a=t.pendingProps,o=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(De){if(a.mode==="hidden")return e=jr(t,a),t.lanes=536870912,bi(null,e);if(Eo(t),(e=tt)?(e=wh(e,rn),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:In!==null?{id:yn,overflow:bn}:null,retryLane:536870912,hydrationErrors:null},n=Zf(e),n.return=t,t.child=n,zt=t,tt=null)):e=null,e===null)throw Fn(t);return t.lanes=536870912,null}return jr(t,a)}var s=e.memoizedState;if(s!==null){var m=s.dehydrated;if(Eo(t),o)if(t.flags&256)t.flags&=-257,t=cm(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(u(558));else if(ft||ma(e,t,n,!1),o=(n&e.childLanes)!==0,ft||o){if(a=$e,a!==null&&(m=Pc(a,n),m!==0&&m!==s.retryLane))throw s.retryLane=m,Ol(e,m),Ht(a,e,m),Xo;Kr(),t=cm(e,t,n)}else e=s.treeContext,tt=on(m.nextSibling),zt=t,De=!0,Jn=null,rn=!1,e!==null&&Ff(t,e),t=jr(t,a),t.flags|=4096;return t}return e=Cn(e.child,{mode:a.mode,children:a.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Dr(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error(u(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function Qo(e,t,n,a,o){return Ll(t),n=To(e,t,n,a,void 0,o),a=ko(),e!==null&&!ft?(No(e,t,o),Rn(e,t,o)):(De&&a&&ro(t),t.flags|=1,At(e,t,n,o),t.child)}function fm(e,t,n,a,o,s){return Ll(t),t.updateQueue=null,n=hd(t,a,n,o),md(e),a=ko(),e!==null&&!ft?(No(e,t,s),Rn(e,t,s)):(De&&a&&ro(t),t.flags|=1,At(e,t,n,s),t.child)}function dm(e,t,n,a,o){if(Ll(t),t.stateNode===null){var s=sa,m=n.contextType;typeof m=="object"&&m!==null&&(s=Et(m)),s=new n(a,s),t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,s.updater=Vo,t.stateNode=s,s._reactInternals=t,s=t.stateNode,s.props=a,s.state=t.memoizedState,s.refs={},bo(t),m=n.contextType,s.context=typeof m=="object"&&m!==null?Et(m):sa,s.state=t.memoizedState,m=n.getDerivedStateFromProps,typeof m=="function"&&(Yo(t,n,m,a),s.state=t.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof s.getSnapshotBeforeUpdate=="function"||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(m=s.state,typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount(),m!==s.state&&Vo.enqueueReplaceState(s,s.state,null),mi(t,a,s,o),di(),s.state=t.memoizedState),typeof s.componentDidMount=="function"&&(t.flags|=4194308),a=!0}else if(e===null){s=t.stateNode;var b=t.memoizedProps,A=Yl(n,b);s.props=A;var M=s.context,H=n.contextType;m=sa,typeof H=="object"&&H!==null&&(m=Et(H));var V=n.getDerivedStateFromProps;H=typeof V=="function"||typeof s.getSnapshotBeforeUpdate=="function",b=t.pendingProps!==b,H||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(b||M!==m)&&Wd(t,s,a,m),Wn=!1;var O=t.memoizedState;s.state=O,mi(t,a,s,o),di(),M=t.memoizedState,b||O!==M||Wn?(typeof V=="function"&&(Yo(t,n,V,a),M=t.memoizedState),(A=Wn||$d(t,n,A,a,O,M,m))?(H||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=a,t.memoizedState=M),s.props=a,s.state=M,s.context=m,a=A):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{s=t.stateNode,xo(e,t),m=t.memoizedProps,H=Yl(n,m),s.props=H,V=t.pendingProps,O=s.context,M=n.contextType,A=sa,typeof M=="object"&&M!==null&&(A=Et(M)),b=n.getDerivedStateFromProps,(M=typeof b=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(m!==V||O!==A)&&Wd(t,s,a,A),Wn=!1,O=t.memoizedState,s.state=O,mi(t,a,s,o),di();var j=t.memoizedState;m!==V||O!==j||Wn||e!==null&&e.dependencies!==null&&pr(e.dependencies)?(typeof b=="function"&&(Yo(t,n,b,a),j=t.memoizedState),(H=Wn||$d(t,n,H,a,O,j,A)||e!==null&&e.dependencies!==null&&pr(e.dependencies))?(M||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(a,j,A),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(a,j,A)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||m===e.memoizedProps&&O===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||m===e.memoizedProps&&O===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=j),s.props=a,s.state=j,s.context=A,a=H):(typeof s.componentDidUpdate!="function"||m===e.memoizedProps&&O===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||m===e.memoizedProps&&O===e.memoizedState||(t.flags|=1024),a=!1)}return s=a,Dr(e,t),a=(t.flags&128)!==0,s||a?(s=t.stateNode,n=a&&typeof n.getDerivedStateFromError!="function"?null:s.render(),t.flags|=1,e!==null&&a?(t.child=ql(t,e.child,null,o),t.child=ql(t,null,n,o)):At(e,t,n,o),t.memoizedState=s.state,e=t.child):e=Rn(e,t,o),e}function mm(e,t,n,a){return Dl(),t.flags|=256,At(e,t,n,a),t.child}var Zo={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Io(e){return{baseLanes:e,cachePool:nd()}}function Jo(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=It),e}function hm(e,t,n){var a=t.pendingProps,o=!1,s=(t.flags&128)!==0,m;if((m=s)||(m=e!==null&&e.memoizedState===null?!1:(ut.current&2)!==0),m&&(o=!0,t.flags&=-129),m=(t.flags&32)!==0,t.flags&=-33,e===null){if(De){if(o?tl(t):nl(),(e=tt)?(e=wh(e,rn),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:In!==null?{id:yn,overflow:bn}:null,retryLane:536870912,hydrationErrors:null},n=Zf(e),n.return=t,t.child=n,zt=t,tt=null)):e=null,e===null)throw Fn(t);return Ms(e)?t.lanes=32:t.lanes=536870912,null}var b=a.children;return a=a.fallback,o?(nl(),o=t.mode,b=Rr({mode:"hidden",children:b},o),a=jl(a,o,n,null),b.return=t,a.return=t,b.sibling=a,t.child=b,a=t.child,a.memoizedState=Io(n),a.childLanes=Jo(e,m,n),t.memoizedState=Zo,bi(null,a)):(tl(t),Fo(t,b))}var A=e.memoizedState;if(A!==null&&(b=A.dehydrated,b!==null)){if(s)t.flags&256?(tl(t),t.flags&=-257,t=$o(e,t,n)):t.memoizedState!==null?(nl(),t.child=e.child,t.flags|=128,t=null):(nl(),b=a.fallback,o=t.mode,a=Rr({mode:"visible",children:a.children},o),b=jl(b,o,n,null),b.flags|=2,a.return=t,b.return=t,a.sibling=b,t.child=a,ql(t,e.child,null,n),a=t.child,a.memoizedState=Io(n),a.childLanes=Jo(e,m,n),t.memoizedState=Zo,t=bi(null,a));else if(tl(t),Ms(b)){if(m=b.nextSibling&&b.nextSibling.dataset,m)var M=m.dgst;m=M,a=Error(u(419)),a.stack="",a.digest=m,ri({value:a,source:null,stack:null}),t=$o(e,t,n)}else if(ft||ma(e,t,n,!1),m=(n&e.childLanes)!==0,ft||m){if(m=$e,m!==null&&(a=Pc(m,n),a!==0&&a!==A.retryLane))throw A.retryLane=a,Ol(e,a),Ht(m,e,a),Xo;_s(b)||Kr(),t=$o(e,t,n)}else _s(b)?(t.flags|=192,t.child=e.child,t=null):(e=A.treeContext,tt=on(b.nextSibling),zt=t,De=!0,Jn=null,rn=!1,e!==null&&Ff(t,e),t=Fo(t,a.children),t.flags|=4096);return t}return o?(nl(),b=a.fallback,o=t.mode,A=e.child,M=A.sibling,a=Cn(A,{mode:"hidden",children:a.children}),a.subtreeFlags=A.subtreeFlags&65011712,M!==null?b=Cn(M,b):(b=jl(b,o,n,null),b.flags|=2),b.return=t,a.return=t,a.sibling=b,t.child=a,bi(null,a),a=t.child,b=e.child.memoizedState,b===null?b=Io(n):(o=b.cachePool,o!==null?(A=st._currentValue,o=o.parent!==A?{parent:A,pool:A}:o):o=nd(),b={baseLanes:b.baseLanes|n,cachePool:o}),a.memoizedState=b,a.childLanes=Jo(e,m,n),t.memoizedState=Zo,bi(e.child,a)):(tl(t),n=e.child,e=n.sibling,n=Cn(n,{mode:"visible",children:a.children}),n.return=t,n.sibling=null,e!==null&&(m=t.deletions,m===null?(t.deletions=[e],t.flags|=16):m.push(e)),t.child=n,t.memoizedState=null,n)}function Fo(e,t){return t=Rr({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Rr(e,t){return e=Kt(22,e,null,t),e.lanes=0,e}function $o(e,t,n){return ql(t,e.child,null,n),e=Fo(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function pm(e,t,n){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),fo(e.return,t,n)}function Wo(e,t,n,a,o,s){var m=e.memoizedState;m===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:n,tailMode:o,treeForkCount:s}:(m.isBackwards=t,m.rendering=null,m.renderingStartTime=0,m.last=a,m.tail=n,m.tailMode=o,m.treeForkCount=s)}function gm(e,t,n){var a=t.pendingProps,o=a.revealOrder,s=a.tail;a=a.children;var m=ut.current,b=(m&2)!==0;if(b?(m=m&1|2,t.flags|=128):m&=1,w(ut,m),At(e,t,a,n),a=De?ii:0,!b&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&pm(e,n,t);else if(e.tag===19)pm(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&zr(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Wo(t,!1,o,n,s,a);break;case"backwards":case"unstable_legacy-backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&zr(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Wo(t,!0,n,null,s,a);break;case"together":Wo(t,!1,null,null,void 0,a);break;default:t.memoizedState=null}return t.child}function Rn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),il|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(ma(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(u(153));if(t.child!==null){for(e=t.child,n=Cn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Cn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Po(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&pr(e)))}function A0(e,t,n){switch(t.tag){case 3:Be(t,t.stateNode.containerInfo),$n(t,st,e.memoizedState.cache),Dl();break;case 27:case 5:xt(t);break;case 4:Be(t,t.stateNode.containerInfo);break;case 10:$n(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Eo(t),null;break;case 13:var a=t.memoizedState;if(a!==null)return a.dehydrated!==null?(tl(t),t.flags|=128,null):(n&t.child.childLanes)!==0?hm(e,t,n):(tl(t),e=Rn(e,t,n),e!==null?e.sibling:null);tl(t);break;case 19:var o=(e.flags&128)!==0;if(a=(n&t.childLanes)!==0,a||(ma(e,t,n,!1),a=(n&t.childLanes)!==0),o){if(a)return gm(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),w(ut,ut.current),a)break;return null;case 22:return t.lanes=0,om(e,t,n,t.pendingProps);case 24:$n(t,st,e.memoizedState.cache)}return Rn(e,t,n)}function ym(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)ft=!0;else{if(!Po(e,n)&&(t.flags&128)===0)return ft=!1,A0(e,t,n);ft=(e.flags&131072)!==0}else ft=!1,De&&(t.flags&1048576)!==0&&Jf(t,ii,t.index);switch(t.lanes=0,t.tag){case 16:e:{var a=t.pendingProps;if(e=Hl(t.elementType),t.type=e,typeof e=="function")lo(e)?(a=Yl(e,a),t.tag=1,t=dm(null,t,e,a,n)):(t.tag=0,t=Qo(null,t,e,a,n));else{if(e!=null){var o=e.$$typeof;if(o===xe){t.tag=11,t=im(null,t,e,a,n);break e}else if(o===te){t.tag=14,t=rm(null,t,e,a,n);break e}}throw t=ae(e)||e,Error(u(306,t,""))}}return t;case 0:return Qo(e,t,t.type,t.pendingProps,n);case 1:return a=t.type,o=Yl(a,t.pendingProps),dm(e,t,a,o,n);case 3:e:{if(Be(t,t.stateNode.containerInfo),e===null)throw Error(u(387));a=t.pendingProps;var s=t.memoizedState;o=s.element,xo(e,t),mi(t,a,null,n);var m=t.memoizedState;if(a=m.cache,$n(t,st,a),a!==s.cache&&mo(t,[st],n,!0),di(),a=m.element,s.isDehydrated)if(s={element:a,isDehydrated:!1,cache:m.cache},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){t=mm(e,t,a,n);break e}else if(a!==o){o=nn(Error(u(424)),t),ri(o),t=mm(e,t,a,n);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(tt=on(e.firstChild),zt=t,De=!0,Jn=null,rn=!0,n=od(t,null,a,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(Dl(),a===o){t=Rn(e,t,n);break e}At(e,t,a,n)}t=t.child}return t;case 26:return Dr(e,t),e===null?(n=Nh(t.type,null,t.pendingProps,null))?t.memoizedState=n:De||(n=t.type,e=t.pendingProps,a=$r(ne.current).createElement(n),a[wt]=t,a[Ot]=e,Tt(a,n,e),yt(a),t.stateNode=a):t.memoizedState=Nh(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return xt(t),e===null&&De&&(a=t.stateNode=Ah(t.type,t.pendingProps,ne.current),zt=t,rn=!0,o=tt,cl(t.type)?(Os=o,tt=on(a.firstChild)):tt=o),At(e,t,t.pendingProps.children,n),Dr(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&De&&((o=a=tt)&&(a=tb(a,t.type,t.pendingProps,rn),a!==null?(t.stateNode=a,zt=t,tt=on(a.firstChild),rn=!1,o=!0):o=!1),o||Fn(t)),xt(t),o=t.type,s=t.pendingProps,m=e!==null?e.memoizedProps:null,a=s.children,ks(o,s)?a=null:m!==null&&ks(o,m)&&(t.flags|=32),t.memoizedState!==null&&(o=To(e,t,g0,null,null,n),ji._currentValue=o),Dr(e,t),At(e,t,a,n),t.child;case 6:return e===null&&De&&((e=n=tt)&&(n=nb(n,t.pendingProps,rn),n!==null?(t.stateNode=n,zt=t,tt=null,e=!0):e=!1),e||Fn(t)),null;case 13:return hm(e,t,n);case 4:return Be(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=ql(t,null,a,n):At(e,t,a,n),t.child;case 11:return im(e,t,t.type,t.pendingProps,n);case 7:return At(e,t,t.pendingProps,n),t.child;case 8:return At(e,t,t.pendingProps.children,n),t.child;case 12:return At(e,t,t.pendingProps.children,n),t.child;case 10:return a=t.pendingProps,$n(t,t.type,a.value),At(e,t,a.children,n),t.child;case 9:return o=t.type._context,a=t.pendingProps.children,Ll(t),o=Et(o),a=a(o),t.flags|=1,At(e,t,a,n),t.child;case 14:return rm(e,t,t.type,t.pendingProps,n);case 15:return um(e,t,t.type,t.pendingProps,n);case 19:return gm(e,t,n);case 31:return E0(e,t,n);case 22:return om(e,t,n,t.pendingProps);case 24:return Ll(t),a=Et(st),e===null?(o=go(),o===null&&(o=$e,s=ho(),o.pooledCache=s,s.refCount++,s!==null&&(o.pooledCacheLanes|=n),o=s),t.memoizedState={parent:a,cache:o},bo(t),$n(t,st,o)):((e.lanes&n)!==0&&(xo(e,t),mi(t,null,null,n),di()),o=e.memoizedState,s=t.memoizedState,o.parent!==a?(o={parent:a,cache:a},t.memoizedState=o,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=o),$n(t,st,a)):(a=s.cache,$n(t,st,a),a!==o.cache&&mo(t,[st],n,!0))),At(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(u(156,t.tag))}function Ln(e){e.flags|=4}function es(e,t,n,a,o){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(o&335544128)===o)if(e.stateNode.complete)e.flags|=8192;else if(Km())e.flags|=8192;else throw Bl=xr,yo}else e.flags&=-16777217}function bm(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!jh(t))if(Km())e.flags|=8192;else throw Bl=xr,yo}function Lr(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Fc():536870912,e.lanes|=t,Aa|=t)}function xi(e,t){if(!De)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var a=null;n!==null;)n.alternate!==null&&(a=n),n=n.sibling;a===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null}}function nt(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,a=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,a|=o.subtreeFlags&65011712,a|=o.flags&65011712,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,a|=o.subtreeFlags,a|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=a,e.childLanes=n,t}function T0(e,t,n){var a=t.pendingProps;switch(uo(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return nt(t),null;case 1:return nt(t),null;case 3:return n=t.stateNode,a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),On(st),ge(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(da(t)?Ln(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,so())),nt(t),null;case 26:var o=t.type,s=t.memoizedState;return e===null?(Ln(t),s!==null?(nt(t),bm(t,s)):(nt(t),es(t,o,null,a,n))):s?s!==e.memoizedState?(Ln(t),nt(t),bm(t,s)):(nt(t),t.flags&=-16777217):(e=e.memoizedProps,e!==a&&Ln(t),nt(t),es(t,o,e,a,n)),null;case 27:if(vt(t),n=ne.current,o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&Ln(t);else{if(!a){if(t.stateNode===null)throw Error(u(166));return nt(t),null}e=ee.current,da(t)?$f(t):(e=Ah(o,a,n),t.stateNode=e,Ln(t))}return nt(t),null;case 5:if(vt(t),o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&Ln(t);else{if(!a){if(t.stateNode===null)throw Error(u(166));return nt(t),null}if(s=ee.current,da(t))$f(t);else{var m=$r(ne.current);switch(s){case 1:s=m.createElementNS("http://www.w3.org/2000/svg",o);break;case 2:s=m.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;default:switch(o){case"svg":s=m.createElementNS("http://www.w3.org/2000/svg",o);break;case"math":s=m.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;case"script":s=m.createElement("div"),s.innerHTML="<script><\/script>",s=s.removeChild(s.firstChild);break;case"select":s=typeof a.is=="string"?m.createElement("select",{is:a.is}):m.createElement("select"),a.multiple?s.multiple=!0:a.size&&(s.size=a.size);break;default:s=typeof a.is=="string"?m.createElement(o,{is:a.is}):m.createElement(o)}}s[wt]=t,s[Ot]=a;e:for(m=t.child;m!==null;){if(m.tag===5||m.tag===6)s.appendChild(m.stateNode);else if(m.tag!==4&&m.tag!==27&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===t)break e;for(;m.sibling===null;){if(m.return===null||m.return===t)break e;m=m.return}m.sibling.return=m.return,m=m.sibling}t.stateNode=s;e:switch(Tt(s,o,a),o){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&Ln(t)}}return nt(t),es(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&Ln(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(u(166));if(e=ne.current,da(t)){if(e=t.stateNode,n=t.memoizedProps,a=null,o=zt,o!==null)switch(o.tag){case 27:case 5:a=o.memoizedProps}e[wt]=t,e=!!(e.nodeValue===n||a!==null&&a.suppressHydrationWarning===!0||hh(e.nodeValue,n)),e||Fn(t,!0)}else e=$r(e).createTextNode(a),e[wt]=t,t.stateNode=e}return nt(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(a=da(t),n!==null){if(e===null){if(!a)throw Error(u(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(u(557));e[wt]=t}else Dl(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;nt(t),e=!1}else n=so(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(Qt(t),t):(Qt(t),null);if((t.flags&128)!==0)throw Error(u(558))}return nt(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(o=da(t),a!==null&&a.dehydrated!==null){if(e===null){if(!o)throw Error(u(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(u(317));o[wt]=t}else Dl(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;nt(t),o=!1}else o=so(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=o),o=!0;if(!o)return t.flags&256?(Qt(t),t):(Qt(t),null)}return Qt(t),(t.flags&128)!==0?(t.lanes=n,t):(n=a!==null,e=e!==null&&e.memoizedState!==null,n&&(a=t.child,o=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(o=a.alternate.memoizedState.cachePool.pool),s=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(s=a.memoizedState.cachePool.pool),s!==o&&(a.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Lr(t,t.updateQueue),nt(t),null);case 4:return ge(),e===null&&ws(t.stateNode.containerInfo),nt(t),null;case 10:return On(t.type),nt(t),null;case 19:if(L(ut),a=t.memoizedState,a===null)return nt(t),null;if(o=(t.flags&128)!==0,s=a.rendering,s===null)if(o)xi(a,!1);else{if(it!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(s=zr(e),s!==null){for(t.flags|=128,xi(a,!1),e=s.updateQueue,t.updateQueue=e,Lr(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)Qf(n,e),n=n.sibling;return w(ut,ut.current&1|2),De&&_n(t,a.treeForkCount),t.child}e=e.sibling}a.tail!==null&&St()>Gr&&(t.flags|=128,o=!0,xi(a,!1),t.lanes=4194304)}else{if(!o)if(e=zr(s),e!==null){if(t.flags|=128,o=!0,e=e.updateQueue,t.updateQueue=e,Lr(t,e),xi(a,!0),a.tail===null&&a.tailMode==="hidden"&&!s.alternate&&!De)return nt(t),null}else 2*St()-a.renderingStartTime>Gr&&n!==536870912&&(t.flags|=128,o=!0,xi(a,!1),t.lanes=4194304);a.isBackwards?(s.sibling=t.child,t.child=s):(e=a.last,e!==null?e.sibling=s:t.child=s,a.last=s)}return a.tail!==null?(e=a.tail,a.rendering=e,a.tail=e.sibling,a.renderingStartTime=St(),e.sibling=null,n=ut.current,w(ut,o?n&1|2:n&1),De&&_n(t,a.treeForkCount),e):(nt(t),null);case 22:case 23:return Qt(t),zo(),a=t.memoizedState!==null,e!==null?e.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(n&536870912)!==0&&(t.flags&128)===0&&(nt(t),t.subtreeFlags&6&&(t.flags|=8192)):nt(t),n=t.updateQueue,n!==null&&Lr(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==n&&(t.flags|=2048),e!==null&&L(Ul),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),On(st),nt(t),null;case 25:return null;case 30:return null}throw Error(u(156,t.tag))}function k0(e,t){switch(uo(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return On(st),ge(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return vt(t),null;case 31:if(t.memoizedState!==null){if(Qt(t),t.alternate===null)throw Error(u(340));Dl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Qt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(u(340));Dl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return L(ut),null;case 4:return ge(),null;case 10:return On(t.type),null;case 22:case 23:return Qt(t),zo(),e!==null&&L(Ul),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return On(st),null;case 25:return null;default:return null}}function xm(e,t){switch(uo(t),t.tag){case 3:On(st),ge();break;case 26:case 27:case 5:vt(t);break;case 4:ge();break;case 31:t.memoizedState!==null&&Qt(t);break;case 13:Qt(t);break;case 19:L(ut);break;case 10:On(t.type);break;case 22:case 23:Qt(t),zo(),e!==null&&L(Ul);break;case 24:On(st)}}function vi(e,t){try{var n=t.updateQueue,a=n!==null?n.lastEffect:null;if(a!==null){var o=a.next;n=o;do{if((n.tag&e)===e){a=void 0;var s=n.create,m=n.inst;a=s(),m.destroy=a}n=n.next}while(n!==o)}}catch(b){Qe(t,t.return,b)}}function ll(e,t,n){try{var a=t.updateQueue,o=a!==null?a.lastEffect:null;if(o!==null){var s=o.next;a=s;do{if((a.tag&e)===e){var m=a.inst,b=m.destroy;if(b!==void 0){m.destroy=void 0,o=t;var A=n,M=b;try{M()}catch(H){Qe(o,A,H)}}}a=a.next}while(a!==s)}}catch(H){Qe(t,t.return,H)}}function vm(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{cd(t,n)}catch(a){Qe(e,e.return,a)}}}function Sm(e,t,n){n.props=Yl(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(a){Qe(e,t,a)}}function Si(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var a=e.stateNode;break;case 30:a=e.stateNode;break;default:a=e.stateNode}typeof n=="function"?e.refCleanup=n(a):n.current=a}}catch(o){Qe(e,t,o)}}function xn(e,t){var n=e.ref,a=e.refCleanup;if(n!==null)if(typeof a=="function")try{a()}catch(o){Qe(e,t,o)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(o){Qe(e,t,o)}else n.current=null}function wm(e){var t=e.type,n=e.memoizedProps,a=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&a.focus();break e;case"img":n.src?a.src=n.src:n.srcSet&&(a.srcset=n.srcSet)}}catch(o){Qe(e,e.return,o)}}function ts(e,t,n){try{var a=e.stateNode;J0(a,e.type,n,t),a[Ot]=t}catch(o){Qe(e,e.return,o)}}function zm(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&cl(e.type)||e.tag===4}function ns(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||zm(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&cl(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ls(e,t,n){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=kn));else if(a!==4&&(a===27&&cl(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(ls(e,t,n),e=e.sibling;e!==null;)ls(e,t,n),e=e.sibling}function Ur(e,t,n){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(a!==4&&(a===27&&cl(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(Ur(e,t,n),e=e.sibling;e!==null;)Ur(e,t,n),e=e.sibling}function Em(e){var t=e.stateNode,n=e.memoizedProps;try{for(var a=e.type,o=t.attributes;o.length;)t.removeAttributeNode(o[0]);Tt(t,a,n),t[wt]=e,t[Ot]=n}catch(s){Qe(e,e.return,s)}}var Un=!1,dt=!1,as=!1,Am=typeof WeakSet=="function"?WeakSet:Set,bt=null;function N0(e,t){if(e=e.containerInfo,As=au,e=Uf(e),Fu(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var a=n.getSelection&&n.getSelection();if(a&&a.rangeCount!==0){n=a.anchorNode;var o=a.anchorOffset,s=a.focusNode;a=a.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var m=0,b=-1,A=-1,M=0,H=0,V=e,O=null;t:for(;;){for(var j;V!==n||o!==0&&V.nodeType!==3||(b=m+o),V!==s||a!==0&&V.nodeType!==3||(A=m+a),V.nodeType===3&&(m+=V.nodeValue.length),(j=V.firstChild)!==null;)O=V,V=j;for(;;){if(V===e)break t;if(O===n&&++M===o&&(b=m),O===s&&++H===a&&(A=m),(j=V.nextSibling)!==null)break;V=O,O=V.parentNode}V=j}n=b===-1||A===-1?null:{start:b,end:A}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ts={focusedElem:e,selectionRange:n},au=!1,bt=t;bt!==null;)if(t=bt,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,bt=e;else for(;bt!==null;){switch(t=bt,s=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(n=0;n<e.length;n++)o=e[n],o.ref.impl=o.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&s!==null){e=void 0,n=t,o=s.memoizedProps,s=s.memoizedState,a=n.stateNode;try{var se=Yl(n.type,o);e=a.getSnapshotBeforeUpdate(se,s),a.__reactInternalSnapshotBeforeUpdate=e}catch(be){Qe(n,n.return,be)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)Cs(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Cs(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(u(163))}if(e=t.sibling,e!==null){e.return=t.return,bt=e;break}bt=t.return}}function Tm(e,t,n){var a=n.flags;switch(n.tag){case 0:case 11:case 15:Bn(e,n),a&4&&vi(5,n);break;case 1:if(Bn(e,n),a&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(m){Qe(n,n.return,m)}else{var o=Yl(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(o,t,e.__reactInternalSnapshotBeforeUpdate)}catch(m){Qe(n,n.return,m)}}a&64&&vm(n),a&512&&Si(n,n.return);break;case 3:if(Bn(e,n),a&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{cd(e,t)}catch(m){Qe(n,n.return,m)}}break;case 27:t===null&&a&4&&Em(n);case 26:case 5:Bn(e,n),t===null&&a&4&&wm(n),a&512&&Si(n,n.return);break;case 12:Bn(e,n);break;case 31:Bn(e,n),a&4&&Cm(e,n);break;case 13:Bn(e,n),a&4&&_m(e,n),a&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=U0.bind(null,n),lb(e,n))));break;case 22:if(a=n.memoizedState!==null||Un,!a){t=t!==null&&t.memoizedState!==null||dt,o=Un;var s=dt;Un=a,(dt=t)&&!s?qn(e,n,(n.subtreeFlags&8772)!==0):Bn(e,n),Un=o,dt=s}break;case 30:break;default:Bn(e,n)}}function km(e){var t=e.alternate;t!==null&&(e.alternate=null,km(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&ju(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var lt=null,Dt=!1;function Hn(e,t,n){for(n=n.child;n!==null;)Nm(e,t,n),n=n.sibling}function Nm(e,t,n){if(Ce&&typeof Ce.onCommitFiberUnmount=="function")try{Ce.onCommitFiberUnmount(Re,n)}catch{}switch(n.tag){case 26:dt||xn(n,t),Hn(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:dt||xn(n,t);var a=lt,o=Dt;cl(n.type)&&(lt=n.stateNode,Dt=!1),Hn(e,t,n),_i(n.stateNode),lt=a,Dt=o;break;case 5:dt||xn(n,t);case 6:if(a=lt,o=Dt,lt=null,Hn(e,t,n),lt=a,Dt=o,lt!==null)if(Dt)try{(lt.nodeType===9?lt.body:lt.nodeName==="HTML"?lt.ownerDocument.body:lt).removeChild(n.stateNode)}catch(s){Qe(n,t,s)}else try{lt.removeChild(n.stateNode)}catch(s){Qe(n,t,s)}break;case 18:lt!==null&&(Dt?(e=lt,vh(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),ja(e)):vh(lt,n.stateNode));break;case 4:a=lt,o=Dt,lt=n.stateNode.containerInfo,Dt=!0,Hn(e,t,n),lt=a,Dt=o;break;case 0:case 11:case 14:case 15:ll(2,n,t),dt||ll(4,n,t),Hn(e,t,n);break;case 1:dt||(xn(n,t),a=n.stateNode,typeof a.componentWillUnmount=="function"&&Sm(n,t,a)),Hn(e,t,n);break;case 21:Hn(e,t,n);break;case 22:dt=(a=dt)||n.memoizedState!==null,Hn(e,t,n),dt=a;break;default:Hn(e,t,n)}}function Cm(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{ja(e)}catch(n){Qe(t,t.return,n)}}}function _m(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{ja(e)}catch(n){Qe(t,t.return,n)}}function C0(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Am),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Am),t;default:throw Error(u(435,e.tag))}}function Hr(e,t){var n=C0(e);t.forEach(function(a){if(!n.has(a)){n.add(a);var o=H0.bind(null,e,a);a.then(o,o)}})}function Rt(e,t){var n=t.deletions;if(n!==null)for(var a=0;a<n.length;a++){var o=n[a],s=e,m=t,b=m;e:for(;b!==null;){switch(b.tag){case 27:if(cl(b.type)){lt=b.stateNode,Dt=!1;break e}break;case 5:lt=b.stateNode,Dt=!1;break e;case 3:case 4:lt=b.stateNode.containerInfo,Dt=!0;break e}b=b.return}if(lt===null)throw Error(u(160));Nm(s,m,o),lt=null,Dt=!1,s=o.alternate,s!==null&&(s.return=null),o.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Mm(t,e),t=t.sibling}var mn=null;function Mm(e,t){var n=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Rt(t,e),Lt(e),a&4&&(ll(3,e,e.return),vi(3,e),ll(5,e,e.return));break;case 1:Rt(t,e),Lt(e),a&512&&(dt||n===null||xn(n,n.return)),a&64&&Un&&(e=e.updateQueue,e!==null&&(a=e.callbacks,a!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?a:n.concat(a))));break;case 26:var o=mn;if(Rt(t,e),Lt(e),a&512&&(dt||n===null||xn(n,n.return)),a&4){var s=n!==null?n.memoizedState:null;if(a=e.memoizedState,n===null)if(a===null)if(e.stateNode===null){e:{a=e.type,n=e.memoizedProps,o=o.ownerDocument||o;t:switch(a){case"title":s=o.getElementsByTagName("title")[0],(!s||s[Ia]||s[wt]||s.namespaceURI==="http://www.w3.org/2000/svg"||s.hasAttribute("itemprop"))&&(s=o.createElement(a),o.head.insertBefore(s,o.querySelector("head > title"))),Tt(s,a,n),s[wt]=e,yt(s),a=s;break e;case"link":var m=Mh("link","href",o).get(a+(n.href||""));if(m){for(var b=0;b<m.length;b++)if(s=m[b],s.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&s.getAttribute("rel")===(n.rel==null?null:n.rel)&&s.getAttribute("title")===(n.title==null?null:n.title)&&s.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){m.splice(b,1);break t}}s=o.createElement(a),Tt(s,a,n),o.head.appendChild(s);break;case"meta":if(m=Mh("meta","content",o).get(a+(n.content||""))){for(b=0;b<m.length;b++)if(s=m[b],s.getAttribute("content")===(n.content==null?null:""+n.content)&&s.getAttribute("name")===(n.name==null?null:n.name)&&s.getAttribute("property")===(n.property==null?null:n.property)&&s.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&s.getAttribute("charset")===(n.charSet==null?null:n.charSet)){m.splice(b,1);break t}}s=o.createElement(a),Tt(s,a,n),o.head.appendChild(s);break;default:throw Error(u(468,a))}s[wt]=e,yt(s),a=s}e.stateNode=a}else Oh(o,e.type,e.stateNode);else e.stateNode=_h(o,a,e.memoizedProps);else s!==a?(s===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):s.count--,a===null?Oh(o,e.type,e.stateNode):_h(o,a,e.memoizedProps)):a===null&&e.stateNode!==null&&ts(e,e.memoizedProps,n.memoizedProps)}break;case 27:Rt(t,e),Lt(e),a&512&&(dt||n===null||xn(n,n.return)),n!==null&&a&4&&ts(e,e.memoizedProps,n.memoizedProps);break;case 5:if(Rt(t,e),Lt(e),a&512&&(dt||n===null||xn(n,n.return)),e.flags&32){o=e.stateNode;try{na(o,"")}catch(se){Qe(e,e.return,se)}}a&4&&e.stateNode!=null&&(o=e.memoizedProps,ts(e,o,n!==null?n.memoizedProps:o)),a&1024&&(as=!0);break;case 6:if(Rt(t,e),Lt(e),a&4){if(e.stateNode===null)throw Error(u(162));a=e.memoizedProps,n=e.stateNode;try{n.nodeValue=a}catch(se){Qe(e,e.return,se)}}break;case 3:if(eu=null,o=mn,mn=Wr(t.containerInfo),Rt(t,e),mn=o,Lt(e),a&4&&n!==null&&n.memoizedState.isDehydrated)try{ja(t.containerInfo)}catch(se){Qe(e,e.return,se)}as&&(as=!1,Om(e));break;case 4:a=mn,mn=Wr(e.stateNode.containerInfo),Rt(t,e),Lt(e),mn=a;break;case 12:Rt(t,e),Lt(e);break;case 31:Rt(t,e),Lt(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,Hr(e,a)));break;case 13:Rt(t,e),Lt(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(qr=St()),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,Hr(e,a)));break;case 22:o=e.memoizedState!==null;var A=n!==null&&n.memoizedState!==null,M=Un,H=dt;if(Un=M||o,dt=H||A,Rt(t,e),dt=H,Un=M,Lt(e),a&8192)e:for(t=e.stateNode,t._visibility=o?t._visibility&-2:t._visibility|1,o&&(n===null||A||Un||dt||Vl(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){A=n=t;try{if(s=A.stateNode,o)m=s.style,typeof m.setProperty=="function"?m.setProperty("display","none","important"):m.display="none";else{b=A.stateNode;var V=A.memoizedProps.style,O=V!=null&&V.hasOwnProperty("display")?V.display:null;b.style.display=O==null||typeof O=="boolean"?"":(""+O).trim()}}catch(se){Qe(A,A.return,se)}}}else if(t.tag===6){if(n===null){A=t;try{A.stateNode.nodeValue=o?"":A.memoizedProps}catch(se){Qe(A,A.return,se)}}}else if(t.tag===18){if(n===null){A=t;try{var j=A.stateNode;o?Sh(j,!0):Sh(A.stateNode,!1)}catch(se){Qe(A,A.return,se)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}a&4&&(a=e.updateQueue,a!==null&&(n=a.retryQueue,n!==null&&(a.retryQueue=null,Hr(e,n))));break;case 19:Rt(t,e),Lt(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,Hr(e,a)));break;case 30:break;case 21:break;default:Rt(t,e),Lt(e)}}function Lt(e){var t=e.flags;if(t&2){try{for(var n,a=e.return;a!==null;){if(zm(a)){n=a;break}a=a.return}if(n==null)throw Error(u(160));switch(n.tag){case 27:var o=n.stateNode,s=ns(e);Ur(e,s,o);break;case 5:var m=n.stateNode;n.flags&32&&(na(m,""),n.flags&=-33);var b=ns(e);Ur(e,b,m);break;case 3:case 4:var A=n.stateNode.containerInfo,M=ns(e);ls(e,M,A);break;default:throw Error(u(161))}}catch(H){Qe(e,e.return,H)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Om(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Om(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Bn(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Tm(e,t.alternate,t),t=t.sibling}function Vl(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:ll(4,t,t.return),Vl(t);break;case 1:xn(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount=="function"&&Sm(t,t.return,n),Vl(t);break;case 27:_i(t.stateNode);case 26:case 5:xn(t,t.return),Vl(t);break;case 22:t.memoizedState===null&&Vl(t);break;case 30:Vl(t);break;default:Vl(t)}e=e.sibling}}function qn(e,t,n){for(n=n&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var a=t.alternate,o=e,s=t,m=s.flags;switch(s.tag){case 0:case 11:case 15:qn(o,s,n),vi(4,s);break;case 1:if(qn(o,s,n),a=s,o=a.stateNode,typeof o.componentDidMount=="function")try{o.componentDidMount()}catch(M){Qe(a,a.return,M)}if(a=s,o=a.updateQueue,o!==null){var b=a.stateNode;try{var A=o.shared.hiddenCallbacks;if(A!==null)for(o.shared.hiddenCallbacks=null,o=0;o<A.length;o++)sd(A[o],b)}catch(M){Qe(a,a.return,M)}}n&&m&64&&vm(s),Si(s,s.return);break;case 27:Em(s);case 26:case 5:qn(o,s,n),n&&a===null&&m&4&&wm(s),Si(s,s.return);break;case 12:qn(o,s,n);break;case 31:qn(o,s,n),n&&m&4&&Cm(o,s);break;case 13:qn(o,s,n),n&&m&4&&_m(o,s);break;case 22:s.memoizedState===null&&qn(o,s,n),Si(s,s.return);break;case 30:break;default:qn(o,s,n)}t=t.sibling}}function is(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&ui(n))}function rs(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&ui(e))}function hn(e,t,n,a){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)jm(e,t,n,a),t=t.sibling}function jm(e,t,n,a){var o=t.flags;switch(t.tag){case 0:case 11:case 15:hn(e,t,n,a),o&2048&&vi(9,t);break;case 1:hn(e,t,n,a);break;case 3:hn(e,t,n,a),o&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&ui(e)));break;case 12:if(o&2048){hn(e,t,n,a),e=t.stateNode;try{var s=t.memoizedProps,m=s.id,b=s.onPostCommit;typeof b=="function"&&b(m,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(A){Qe(t,t.return,A)}}else hn(e,t,n,a);break;case 31:hn(e,t,n,a);break;case 13:hn(e,t,n,a);break;case 23:break;case 22:s=t.stateNode,m=t.alternate,t.memoizedState!==null?s._visibility&2?hn(e,t,n,a):wi(e,t):s._visibility&2?hn(e,t,n,a):(s._visibility|=2,wa(e,t,n,a,(t.subtreeFlags&10256)!==0||!1)),o&2048&&is(m,t);break;case 24:hn(e,t,n,a),o&2048&&rs(t.alternate,t);break;default:hn(e,t,n,a)}}function wa(e,t,n,a,o){for(o=o&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var s=e,m=t,b=n,A=a,M=m.flags;switch(m.tag){case 0:case 11:case 15:wa(s,m,b,A,o),vi(8,m);break;case 23:break;case 22:var H=m.stateNode;m.memoizedState!==null?H._visibility&2?wa(s,m,b,A,o):wi(s,m):(H._visibility|=2,wa(s,m,b,A,o)),o&&M&2048&&is(m.alternate,m);break;case 24:wa(s,m,b,A,o),o&&M&2048&&rs(m.alternate,m);break;default:wa(s,m,b,A,o)}t=t.sibling}}function wi(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,a=t,o=a.flags;switch(a.tag){case 22:wi(n,a),o&2048&&is(a.alternate,a);break;case 24:wi(n,a),o&2048&&rs(a.alternate,a);break;default:wi(n,a)}t=t.sibling}}var zi=8192;function za(e,t,n){if(e.subtreeFlags&zi)for(e=e.child;e!==null;)Dm(e,t,n),e=e.sibling}function Dm(e,t,n){switch(e.tag){case 26:za(e,t,n),e.flags&zi&&e.memoizedState!==null&&pb(n,mn,e.memoizedState,e.memoizedProps);break;case 5:za(e,t,n);break;case 3:case 4:var a=mn;mn=Wr(e.stateNode.containerInfo),za(e,t,n),mn=a;break;case 22:e.memoizedState===null&&(a=e.alternate,a!==null&&a.memoizedState!==null?(a=zi,zi=16777216,za(e,t,n),zi=a):za(e,t,n));break;default:za(e,t,n)}}function Rm(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Ei(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var a=t[n];bt=a,Um(a,e)}Rm(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Lm(e),e=e.sibling}function Lm(e){switch(e.tag){case 0:case 11:case 15:Ei(e),e.flags&2048&&ll(9,e,e.return);break;case 3:Ei(e);break;case 12:Ei(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Br(e)):Ei(e);break;default:Ei(e)}}function Br(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var a=t[n];bt=a,Um(a,e)}Rm(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:ll(8,t,t.return),Br(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,Br(t));break;default:Br(t)}e=e.sibling}}function Um(e,t){for(;bt!==null;){var n=bt;switch(n.tag){case 0:case 11:case 15:ll(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var a=n.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:ui(n.memoizedState.cache)}if(a=n.child,a!==null)a.return=n,bt=a;else e:for(n=e;bt!==null;){a=bt;var o=a.sibling,s=a.return;if(km(a),a===n){bt=null;break e}if(o!==null){o.return=s,bt=o;break e}bt=s}}}var _0={getCacheForType:function(e){var t=Et(st),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return Et(st).controller.signal}},M0=typeof WeakMap=="function"?WeakMap:Map,qe=0,$e=null,_e=null,Oe=0,Xe=0,Zt=null,al=!1,Ea=!1,us=!1,Gn=0,it=0,il=0,Kl=0,os=0,It=0,Aa=0,Ai=null,Ut=null,ss=!1,qr=0,Hm=0,Gr=1/0,Yr=null,rl=null,ht=0,ul=null,Ta=null,Yn=0,cs=0,fs=null,Bm=null,Ti=0,ds=null;function Jt(){return(qe&2)!==0&&Oe!==0?Oe&-Oe:C.T!==null?bs():ef()}function qm(){if(It===0)if((Oe&536870912)===0||De){var e=Al;Al<<=1,(Al&3932160)===0&&(Al=262144),It=e}else It=536870912;return e=Xt.current,e!==null&&(e.flags|=32),It}function Ht(e,t,n){(e===$e&&(Xe===2||Xe===9)||e.cancelPendingCommit!==null)&&(ka(e,0),ol(e,Oe,It,!1)),Za(e,n),((qe&2)===0||e!==$e)&&(e===$e&&((qe&2)===0&&(Kl|=n),it===4&&ol(e,Oe,It,!1)),vn(e))}function Gm(e,t,n){if((qe&6)!==0)throw Error(u(327));var a=!n&&(t&127)===0&&(t&e.expiredLanes)===0||Qa(e,t),o=a?D0(e,t):hs(e,t,!0),s=a;do{if(o===0){Ea&&!a&&ol(e,t,0,!1);break}else{if(n=e.current.alternate,s&&!O0(n)){o=hs(e,t,!1),s=!1;continue}if(o===2){if(s=t,e.errorRecoveryDisabledLanes&s)var m=0;else m=e.pendingLanes&-536870913,m=m!==0?m:m&536870912?536870912:0;if(m!==0){t=m;e:{var b=e;o=Ai;var A=b.current.memoizedState.isDehydrated;if(A&&(ka(b,m).flags|=256),m=hs(b,m,!1),m!==2){if(us&&!A){b.errorRecoveryDisabledLanes|=s,Kl|=s,o=4;break e}s=Ut,Ut=o,s!==null&&(Ut===null?Ut=s:Ut.push.apply(Ut,s))}o=m}if(s=!1,o!==2)continue}}if(o===1){ka(e,0),ol(e,t,0,!0);break}e:{switch(a=e,s=o,s){case 0:case 1:throw Error(u(345));case 4:if((t&4194048)!==t)break;case 6:ol(a,t,It,!al);break e;case 2:Ut=null;break;case 3:case 5:break;default:throw Error(u(329))}if((t&62914560)===t&&(o=qr+300-St(),10<o)){if(ol(a,t,It,!al),Wi(a,0,!0)!==0)break e;Yn=t,a.timeoutHandle=bh(Ym.bind(null,a,n,Ut,Yr,ss,t,It,Kl,Aa,al,s,"Throttled",-0,0),o);break e}Ym(a,n,Ut,Yr,ss,t,It,Kl,Aa,al,s,null,-0,0)}}break}while(!0);vn(e)}function Ym(e,t,n,a,o,s,m,b,A,M,H,V,O,j){if(e.timeoutHandle=-1,V=t.subtreeFlags,V&8192||(V&16785408)===16785408){V={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:kn},Dm(t,s,V);var se=(s&62914560)===s?qr-St():(s&4194048)===s?Hm-St():0;if(se=gb(V,se),se!==null){Yn=s,e.cancelPendingCommit=se(Fm.bind(null,e,t,s,n,a,o,m,b,A,H,V,null,O,j)),ol(e,s,m,!M);return}}Fm(e,t,s,n,a,o,m,b,A)}function O0(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var a=0;a<n.length;a++){var o=n[a],s=o.getSnapshot;o=o.value;try{if(!Vt(s(),o))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function ol(e,t,n,a){t&=~os,t&=~Kl,e.suspendedLanes|=t,e.pingedLanes&=~t,a&&(e.warmLanes|=t),a=e.expirationTimes;for(var o=t;0<o;){var s=31-Ke(o),m=1<<s;a[s]=-1,o&=~m}n!==0&&$c(e,n,t)}function Vr(){return(qe&6)===0?(ki(0),!1):!0}function ms(){if(_e!==null){if(Xe===0)var e=_e.return;else e=_e,Mn=Rl=null,Co(e),ya=null,si=0,e=_e;for(;e!==null;)xm(e.alternate,e),e=e.return;_e=null}}function ka(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,W0(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),Yn=0,ms(),$e=e,_e=n=Cn(e.current,null),Oe=t,Xe=0,Zt=null,al=!1,Ea=Qa(e,t),us=!1,Aa=It=os=Kl=il=it=0,Ut=Ai=null,ss=!1,(t&8)!==0&&(t|=t&32);var a=e.entangledLanes;if(a!==0)for(e=e.entanglements,a&=t;0<a;){var o=31-Ke(a),s=1<<o;t|=e[o],a&=~s}return Gn=t,cr(),n}function Vm(e,t){Ae=null,C.H=yi,t===ga||t===br?(t=id(),Xe=3):t===yo?(t=id(),Xe=4):Xe=t===Xo?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Zt=t,_e===null&&(it=1,Or(e,nn(t,e.current)))}function Km(){var e=Xt.current;return e===null?!0:(Oe&4194048)===Oe?un===null:(Oe&62914560)===Oe||(Oe&536870912)!==0?e===un:!1}function Xm(){var e=C.H;return C.H=yi,e===null?yi:e}function Qm(){var e=C.A;return C.A=_0,e}function Kr(){it=4,al||(Oe&4194048)!==Oe&&Xt.current!==null||(Ea=!0),(il&134217727)===0&&(Kl&134217727)===0||$e===null||ol($e,Oe,It,!1)}function hs(e,t,n){var a=qe;qe|=2;var o=Xm(),s=Qm();($e!==e||Oe!==t)&&(Yr=null,ka(e,t)),t=!1;var m=it;e:do try{if(Xe!==0&&_e!==null){var b=_e,A=Zt;switch(Xe){case 8:ms(),m=6;break e;case 3:case 2:case 9:case 6:Xt.current===null&&(t=!0);var M=Xe;if(Xe=0,Zt=null,Na(e,b,A,M),n&&Ea){m=0;break e}break;default:M=Xe,Xe=0,Zt=null,Na(e,b,A,M)}}j0(),m=it;break}catch(H){Vm(e,H)}while(!0);return t&&e.shellSuspendCounter++,Mn=Rl=null,qe=a,C.H=o,C.A=s,_e===null&&($e=null,Oe=0,cr()),m}function j0(){for(;_e!==null;)Zm(_e)}function D0(e,t){var n=qe;qe|=2;var a=Xm(),o=Qm();$e!==e||Oe!==t?(Yr=null,Gr=St()+500,ka(e,t)):Ea=Qa(e,t);e:do try{if(Xe!==0&&_e!==null){t=_e;var s=Zt;t:switch(Xe){case 1:Xe=0,Zt=null,Na(e,t,s,1);break;case 2:case 9:if(ld(s)){Xe=0,Zt=null,Im(t);break}t=function(){Xe!==2&&Xe!==9||$e!==e||(Xe=7),vn(e)},s.then(t,t);break e;case 3:Xe=7;break e;case 4:Xe=5;break e;case 7:ld(s)?(Xe=0,Zt=null,Im(t)):(Xe=0,Zt=null,Na(e,t,s,7));break;case 5:var m=null;switch(_e.tag){case 26:m=_e.memoizedState;case 5:case 27:var b=_e;if(m?jh(m):b.stateNode.complete){Xe=0,Zt=null;var A=b.sibling;if(A!==null)_e=A;else{var M=b.return;M!==null?(_e=M,Xr(M)):_e=null}break t}}Xe=0,Zt=null,Na(e,t,s,5);break;case 6:Xe=0,Zt=null,Na(e,t,s,6);break;case 8:ms(),it=6;break e;default:throw Error(u(462))}}R0();break}catch(H){Vm(e,H)}while(!0);return Mn=Rl=null,C.H=a,C.A=o,qe=n,_e!==null?0:($e=null,Oe=0,cr(),it)}function R0(){for(;_e!==null&&!Ka();)Zm(_e)}function Zm(e){var t=ym(e.alternate,e,Gn);e.memoizedProps=e.pendingProps,t===null?Xr(e):_e=t}function Im(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=fm(n,t,t.pendingProps,t.type,void 0,Oe);break;case 11:t=fm(n,t,t.pendingProps,t.type.render,t.ref,Oe);break;case 5:Co(t);default:xm(n,t),t=_e=Qf(t,Gn),t=ym(n,t,Gn)}e.memoizedProps=e.pendingProps,t===null?Xr(e):_e=t}function Na(e,t,n,a){Mn=Rl=null,Co(t),ya=null,si=0;var o=t.return;try{if(z0(e,o,t,n,Oe)){it=1,Or(e,nn(n,e.current)),_e=null;return}}catch(s){if(o!==null)throw _e=o,s;it=1,Or(e,nn(n,e.current)),_e=null;return}t.flags&32768?(De||a===1?e=!0:Ea||(Oe&536870912)!==0?e=!1:(al=e=!0,(a===2||a===9||a===3||a===6)&&(a=Xt.current,a!==null&&a.tag===13&&(a.flags|=16384))),Jm(t,e)):Xr(t)}function Xr(e){var t=e;do{if((t.flags&32768)!==0){Jm(t,al);return}e=t.return;var n=T0(t.alternate,t,Gn);if(n!==null){_e=n;return}if(t=t.sibling,t!==null){_e=t;return}_e=t=e}while(t!==null);it===0&&(it=5)}function Jm(e,t){do{var n=k0(e.alternate,e);if(n!==null){n.flags&=32767,_e=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){_e=e;return}_e=e=n}while(e!==null);it=6,_e=null}function Fm(e,t,n,a,o,s,m,b,A){e.cancelPendingCommit=null;do Qr();while(ht!==0);if((qe&6)!==0)throw Error(u(327));if(t!==null){if(t===e.current)throw Error(u(177));if(s=t.lanes|t.childLanes,s|=to,hy(e,n,s,m,b,A),e===$e&&(_e=$e=null,Oe=0),Ta=t,ul=e,Yn=n,cs=s,fs=o,Bm=a,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,B0(ye,function(){return th(),null})):(e.callbackNode=null,e.callbackPriority=0),a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=C.T,C.T=null,o=K.p,K.p=2,m=qe,qe|=4;try{N0(e,t,n)}finally{qe=m,K.p=o,C.T=a}}ht=1,$m(),Wm(),Pm()}}function $m(){if(ht===1){ht=0;var e=ul,t=Ta,n=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||n){n=C.T,C.T=null;var a=K.p;K.p=2;var o=qe;qe|=4;try{Mm(t,e);var s=Ts,m=Uf(e.containerInfo),b=s.focusedElem,A=s.selectionRange;if(m!==b&&b&&b.ownerDocument&&Lf(b.ownerDocument.documentElement,b)){if(A!==null&&Fu(b)){var M=A.start,H=A.end;if(H===void 0&&(H=M),"selectionStart"in b)b.selectionStart=M,b.selectionEnd=Math.min(H,b.value.length);else{var V=b.ownerDocument||document,O=V&&V.defaultView||window;if(O.getSelection){var j=O.getSelection(),se=b.textContent.length,be=Math.min(A.start,se),Je=A.end===void 0?be:Math.min(A.end,se);!j.extend&&be>Je&&(m=Je,Je=be,be=m);var N=Rf(b,be),k=Rf(b,Je);if(N&&k&&(j.rangeCount!==1||j.anchorNode!==N.node||j.anchorOffset!==N.offset||j.focusNode!==k.node||j.focusOffset!==k.offset)){var _=V.createRange();_.setStart(N.node,N.offset),j.removeAllRanges(),be>Je?(j.addRange(_),j.extend(k.node,k.offset)):(_.setEnd(k.node,k.offset),j.addRange(_))}}}}for(V=[],j=b;j=j.parentNode;)j.nodeType===1&&V.push({element:j,left:j.scrollLeft,top:j.scrollTop});for(typeof b.focus=="function"&&b.focus(),b=0;b<V.length;b++){var Y=V[b];Y.element.scrollLeft=Y.left,Y.element.scrollTop=Y.top}}au=!!As,Ts=As=null}finally{qe=o,K.p=a,C.T=n}}e.current=t,ht=2}}function Wm(){if(ht===2){ht=0;var e=ul,t=Ta,n=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||n){n=C.T,C.T=null;var a=K.p;K.p=2;var o=qe;qe|=4;try{Tm(e,t.alternate,t)}finally{qe=o,K.p=a,C.T=n}}ht=3}}function Pm(){if(ht===4||ht===3){ht=0,Xa();var e=ul,t=Ta,n=Yn,a=Bm;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?ht=5:(ht=0,Ta=ul=null,eh(e,e.pendingLanes));var o=e.pendingLanes;if(o===0&&(rl=null),Mu(n),t=t.stateNode,Ce&&typeof Ce.onCommitFiberRoot=="function")try{Ce.onCommitFiberRoot(Re,t,void 0,(t.current.flags&128)===128)}catch{}if(a!==null){t=C.T,o=K.p,K.p=2,C.T=null;try{for(var s=e.onRecoverableError,m=0;m<a.length;m++){var b=a[m];s(b.value,{componentStack:b.stack})}}finally{C.T=t,K.p=o}}(Yn&3)!==0&&Qr(),vn(e),o=e.pendingLanes,(n&261930)!==0&&(o&42)!==0?e===ds?Ti++:(Ti=0,ds=e):Ti=0,ki(0)}}function eh(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,ui(t)))}function Qr(){return $m(),Wm(),Pm(),th()}function th(){if(ht!==5)return!1;var e=ul,t=cs;cs=0;var n=Mu(Yn),a=C.T,o=K.p;try{K.p=32>n?32:n,C.T=null,n=fs,fs=null;var s=ul,m=Yn;if(ht=0,Ta=ul=null,Yn=0,(qe&6)!==0)throw Error(u(331));var b=qe;if(qe|=4,Lm(s.current),jm(s,s.current,m,n),qe=b,ki(0,!1),Ce&&typeof Ce.onPostCommitFiberRoot=="function")try{Ce.onPostCommitFiberRoot(Re,s)}catch{}return!0}finally{K.p=o,C.T=a,eh(e,t)}}function nh(e,t,n){t=nn(n,t),t=Ko(e.stateNode,t,2),e=el(e,t,2),e!==null&&(Za(e,2),vn(e))}function Qe(e,t,n){if(e.tag===3)nh(e,e,n);else for(;t!==null;){if(t.tag===3){nh(t,e,n);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(rl===null||!rl.has(a))){e=nn(n,e),n=lm(2),a=el(t,n,2),a!==null&&(am(n,a,t,e),Za(a,2),vn(a));break}}t=t.return}}function ps(e,t,n){var a=e.pingCache;if(a===null){a=e.pingCache=new M0;var o=new Set;a.set(t,o)}else o=a.get(t),o===void 0&&(o=new Set,a.set(t,o));o.has(n)||(us=!0,o.add(n),e=L0.bind(null,e,t,n),t.then(e,e))}function L0(e,t,n){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,$e===e&&(Oe&n)===n&&(it===4||it===3&&(Oe&62914560)===Oe&&300>St()-qr?(qe&2)===0&&ka(e,0):os|=n,Aa===Oe&&(Aa=0)),vn(e)}function lh(e,t){t===0&&(t=Fc()),e=Ol(e,t),e!==null&&(Za(e,t),vn(e))}function U0(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),lh(e,n)}function H0(e,t){var n=0;switch(e.tag){case 31:case 13:var a=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error(u(314))}a!==null&&a.delete(t),lh(e,n)}function B0(e,t){return An(e,t)}var Zr=null,Ca=null,gs=!1,Ir=!1,ys=!1,sl=0;function vn(e){e!==Ca&&e.next===null&&(Ca===null?Zr=Ca=e:Ca=Ca.next=e),Ir=!0,gs||(gs=!0,G0())}function ki(e,t){if(!ys&&Ir){ys=!0;do for(var n=!1,a=Zr;a!==null;){if(e!==0){var o=a.pendingLanes;if(o===0)var s=0;else{var m=a.suspendedLanes,b=a.pingedLanes;s=(1<<31-Ke(42|e)+1)-1,s&=o&~(m&~b),s=s&201326741?s&201326741|1:s?s|2:0}s!==0&&(n=!0,uh(a,s))}else s=Oe,s=Wi(a,a===$e?s:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(s&3)===0||Qa(a,s)||(n=!0,uh(a,s));a=a.next}while(n);ys=!1}}function q0(){ah()}function ah(){Ir=gs=!1;var e=0;sl!==0&&$0()&&(e=sl);for(var t=St(),n=null,a=Zr;a!==null;){var o=a.next,s=ih(a,t);s===0?(a.next=null,n===null?Zr=o:n.next=o,o===null&&(Ca=n)):(n=a,(e!==0||(s&3)!==0)&&(Ir=!0)),a=o}ht!==0&&ht!==5||ki(e),sl!==0&&(sl=0)}function ih(e,t){for(var n=e.suspendedLanes,a=e.pingedLanes,o=e.expirationTimes,s=e.pendingLanes&-62914561;0<s;){var m=31-Ke(s),b=1<<m,A=o[m];A===-1?((b&n)===0||(b&a)!==0)&&(o[m]=my(b,t)):A<=t&&(e.expiredLanes|=b),s&=~b}if(t=$e,n=Oe,n=Wi(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a=e.callbackNode,n===0||e===t&&(Xe===2||Xe===9)||e.cancelPendingCommit!==null)return a!==null&&a!==null&&wl(a),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||Qa(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(a!==null&&wl(a),Mu(n)){case 2:case 8:n=P;break;case 32:n=ye;break;case 268435456:n=J;break;default:n=ye}return a=rh.bind(null,e),n=An(n,a),e.callbackPriority=t,e.callbackNode=n,t}return a!==null&&a!==null&&wl(a),e.callbackPriority=2,e.callbackNode=null,2}function rh(e,t){if(ht!==0&&ht!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Qr()&&e.callbackNode!==n)return null;var a=Oe;return a=Wi(e,e===$e?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a===0?null:(Gm(e,a,t),ih(e,St()),e.callbackNode!=null&&e.callbackNode===n?rh.bind(null,e):null)}function uh(e,t){if(Qr())return null;Gm(e,t,!0)}function G0(){P0(function(){(qe&6)!==0?An(B,q0):ah()})}function bs(){if(sl===0){var e=ha;e===0&&(e=El,El<<=1,(El&261888)===0&&(El=256)),sl=e}return sl}function oh(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:nr(""+e)}function sh(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function Y0(e,t,n,a,o){if(t==="submit"&&n&&n.stateNode===o){var s=oh((o[Ot]||null).action),m=a.submitter;m&&(t=(t=m[Ot]||null)?oh(t.formAction):m.getAttribute("formAction"),t!==null&&(s=t,m=null));var b=new rr("action","action",null,a,o);e.push({event:b,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(sl!==0){var A=m?sh(o,m):new FormData(o);Ho(n,{pending:!0,data:A,method:o.method,action:s},null,A)}}else typeof s=="function"&&(b.preventDefault(),A=m?sh(o,m):new FormData(o),Ho(n,{pending:!0,data:A,method:o.method,action:s},s,A))},currentTarget:o}]})}}for(var xs=0;xs<eo.length;xs++){var vs=eo[xs],V0=vs.toLowerCase(),K0=vs[0].toUpperCase()+vs.slice(1);dn(V0,"on"+K0)}dn(qf,"onAnimationEnd"),dn(Gf,"onAnimationIteration"),dn(Yf,"onAnimationStart"),dn("dblclick","onDoubleClick"),dn("focusin","onFocus"),dn("focusout","onBlur"),dn(r0,"onTransitionRun"),dn(u0,"onTransitionStart"),dn(o0,"onTransitionCancel"),dn(Vf,"onTransitionEnd"),ea("onMouseEnter",["mouseout","mouseover"]),ea("onMouseLeave",["mouseout","mouseover"]),ea("onPointerEnter",["pointerout","pointerover"]),ea("onPointerLeave",["pointerout","pointerover"]),Nl("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Nl("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Nl("onBeforeInput",["compositionend","keypress","textInput","paste"]),Nl("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Nl("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Nl("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ni="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(" "),X0=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Ni));function ch(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var a=e[n],o=a.event;a=a.listeners;e:{var s=void 0;if(t)for(var m=a.length-1;0<=m;m--){var b=a[m],A=b.instance,M=b.currentTarget;if(b=b.listener,A!==s&&o.isPropagationStopped())break e;s=b,o.currentTarget=M;try{s(o)}catch(H){sr(H)}o.currentTarget=null,s=A}else for(m=0;m<a.length;m++){if(b=a[m],A=b.instance,M=b.currentTarget,b=b.listener,A!==s&&o.isPropagationStopped())break e;s=b,o.currentTarget=M;try{s(o)}catch(H){sr(H)}o.currentTarget=null,s=A}}}}function Me(e,t){var n=t[Ou];n===void 0&&(n=t[Ou]=new Set);var a=e+"__bubble";n.has(a)||(fh(t,e,2,!1),n.add(a))}function Ss(e,t,n){var a=0;t&&(a|=4),fh(n,e,a,t)}var Jr="_reactListening"+Math.random().toString(36).slice(2);function ws(e){if(!e[Jr]){e[Jr]=!0,lf.forEach(function(n){n!=="selectionchange"&&(X0.has(n)||Ss(n,!1,e),Ss(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Jr]||(t[Jr]=!0,Ss("selectionchange",!1,t))}}function fh(e,t,n,a){switch(qh(t)){case 2:var o=xb;break;case 8:o=vb;break;default:o=Us}n=o.bind(null,t,n,e),o=void 0,!Gu||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),a?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function zs(e,t,n,a,o){var s=a;if((t&1)===0&&(t&2)===0&&a!==null)e:for(;;){if(a===null)return;var m=a.tag;if(m===3||m===4){var b=a.stateNode.containerInfo;if(b===o)break;if(m===4)for(m=a.return;m!==null;){var A=m.tag;if((A===3||A===4)&&m.stateNode.containerInfo===o)return;m=m.return}for(;b!==null;){if(m=$l(b),m===null)return;if(A=m.tag,A===5||A===6||A===26||A===27){a=s=m;continue e}b=b.parentNode}}a=a.return}gf(function(){var M=s,H=Bu(n),V=[];e:{var O=Kf.get(e);if(O!==void 0){var j=rr,se=e;switch(e){case"keypress":if(ar(n)===0)break e;case"keydown":case"keyup":j=Hy;break;case"focusin":se="focus",j=Xu;break;case"focusout":se="blur",j=Xu;break;case"beforeblur":case"afterblur":j=Xu;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":j=xf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":j=Ty;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":j=Gy;break;case qf:case Gf:case Yf:j=Cy;break;case Vf:j=Vy;break;case"scroll":case"scrollend":j=Ey;break;case"wheel":j=Xy;break;case"copy":case"cut":case"paste":j=My;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":j=Sf;break;case"toggle":case"beforetoggle":j=Zy}var be=(t&4)!==0,Je=!be&&(e==="scroll"||e==="scrollend"),N=be?O!==null?O+"Capture":null:O;be=[];for(var k=M,_;k!==null;){var Y=k;if(_=Y.stateNode,Y=Y.tag,Y!==5&&Y!==26&&Y!==27||_===null||N===null||(Y=Fa(k,N),Y!=null&&be.push(Ci(k,Y,_))),Je)break;k=k.return}0<be.length&&(O=new j(O,se,null,n,H),V.push({event:O,listeners:be}))}}if((t&7)===0){e:{if(O=e==="mouseover"||e==="pointerover",j=e==="mouseout"||e==="pointerout",O&&n!==Hu&&(se=n.relatedTarget||n.fromElement)&&($l(se)||se[Fl]))break e;if((j||O)&&(O=H.window===H?H:(O=H.ownerDocument)?O.defaultView||O.parentWindow:window,j?(se=n.relatedTarget||n.toElement,j=M,se=se?$l(se):null,se!==null&&(Je=f(se),be=se.tag,se!==Je||be!==5&&be!==27&&be!==6)&&(se=null)):(j=null,se=M),j!==se)){if(be=xf,Y="onMouseLeave",N="onMouseEnter",k="mouse",(e==="pointerout"||e==="pointerover")&&(be=Sf,Y="onPointerLeave",N="onPointerEnter",k="pointer"),Je=j==null?O:Ja(j),_=se==null?O:Ja(se),O=new be(Y,k+"leave",j,n,H),O.target=Je,O.relatedTarget=_,Y=null,$l(H)===M&&(be=new be(N,k+"enter",se,n,H),be.target=_,be.relatedTarget=Je,Y=be),Je=Y,j&&se)t:{for(be=Q0,N=j,k=se,_=0,Y=N;Y;Y=be(Y))_++;Y=0;for(var pe=k;pe;pe=be(pe))Y++;for(;0<_-Y;)N=be(N),_--;for(;0<Y-_;)k=be(k),Y--;for(;_--;){if(N===k||k!==null&&N===k.alternate){be=N;break t}N=be(N),k=be(k)}be=null}else be=null;j!==null&&dh(V,O,j,be,!1),se!==null&&Je!==null&&dh(V,Je,se,be,!0)}}e:{if(O=M?Ja(M):window,j=O.nodeName&&O.nodeName.toLowerCase(),j==="select"||j==="input"&&O.type==="file")var Ue=Cf;else if(kf(O))if(_f)Ue=l0;else{Ue=t0;var de=e0}else j=O.nodeName,!j||j.toLowerCase()!=="input"||O.type!=="checkbox"&&O.type!=="radio"?M&&Uu(M.elementType)&&(Ue=Cf):Ue=n0;if(Ue&&(Ue=Ue(e,M))){Nf(V,Ue,n,H);break e}de&&de(e,O,M),e==="focusout"&&M&&O.type==="number"&&M.memoizedProps.value!=null&&Lu(O,"number",O.value)}switch(de=M?Ja(M):window,e){case"focusin":(kf(de)||de.contentEditable==="true")&&(ra=de,$u=M,ai=null);break;case"focusout":ai=$u=ra=null;break;case"mousedown":Wu=!0;break;case"contextmenu":case"mouseup":case"dragend":Wu=!1,Hf(V,n,H);break;case"selectionchange":if(i0)break;case"keydown":case"keyup":Hf(V,n,H)}var Te;if(Zu)e:{switch(e){case"compositionstart":var je="onCompositionStart";break e;case"compositionend":je="onCompositionEnd";break e;case"compositionupdate":je="onCompositionUpdate";break e}je=void 0}else ia?Af(e,n)&&(je="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(je="onCompositionStart");je&&(wf&&n.locale!=="ko"&&(ia||je!=="onCompositionStart"?je==="onCompositionEnd"&&ia&&(Te=yf()):(Zn=H,Yu="value"in Zn?Zn.value:Zn.textContent,ia=!0)),de=Fr(M,je),0<de.length&&(je=new vf(je,e,null,n,H),V.push({event:je,listeners:de}),Te?je.data=Te:(Te=Tf(n),Te!==null&&(je.data=Te)))),(Te=Jy?Fy(e,n):$y(e,n))&&(je=Fr(M,"onBeforeInput"),0<je.length&&(de=new vf("onBeforeInput","beforeinput",null,n,H),V.push({event:de,listeners:je}),de.data=Te)),Y0(V,e,M,n,H)}ch(V,t)})}function Ci(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Fr(e,t){for(var n=t+"Capture",a=[];e!==null;){var o=e,s=o.stateNode;if(o=o.tag,o!==5&&o!==26&&o!==27||s===null||(o=Fa(e,n),o!=null&&a.unshift(Ci(e,o,s)),o=Fa(e,t),o!=null&&a.push(Ci(e,o,s))),e.tag===3)return a;e=e.return}return[]}function Q0(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function dh(e,t,n,a,o){for(var s=t._reactName,m=[];n!==null&&n!==a;){var b=n,A=b.alternate,M=b.stateNode;if(b=b.tag,A!==null&&A===a)break;b!==5&&b!==26&&b!==27||M===null||(A=M,o?(M=Fa(n,s),M!=null&&m.unshift(Ci(n,M,A))):o||(M=Fa(n,s),M!=null&&m.push(Ci(n,M,A)))),n=n.return}m.length!==0&&e.push({event:t,listeners:m})}var Z0=/\r\n?/g,I0=/\u0000|\uFFFD/g;function mh(e){return(typeof e=="string"?e:""+e).replace(Z0,`
`).replace(I0,"")}function hh(e,t){return t=mh(t),mh(e)===t}function Ie(e,t,n,a,o,s){switch(n){case"children":typeof a=="string"?t==="body"||t==="textarea"&&a===""||na(e,a):(typeof a=="number"||typeof a=="bigint")&&t!=="body"&&na(e,""+a);break;case"className":er(e,"class",a);break;case"tabIndex":er(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":er(e,n,a);break;case"style":hf(e,a,s);break;case"data":if(t!=="object"){er(e,"data",a);break}case"src":case"href":if(a===""&&(t!=="a"||n!=="href")){e.removeAttribute(n);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(n);break}a=nr(""+a),e.setAttribute(n,a);break;case"action":case"formAction":if(typeof a=="function"){e.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 s=="function"&&(n==="formAction"?(t!=="input"&&Ie(e,t,"name",o.name,o,null),Ie(e,t,"formEncType",o.formEncType,o,null),Ie(e,t,"formMethod",o.formMethod,o,null),Ie(e,t,"formTarget",o.formTarget,o,null)):(Ie(e,t,"encType",o.encType,o,null),Ie(e,t,"method",o.method,o,null),Ie(e,t,"target",o.target,o,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(n);break}a=nr(""+a),e.setAttribute(n,a);break;case"onClick":a!=null&&(e.onclick=kn);break;case"onScroll":a!=null&&Me("scroll",e);break;case"onScrollEnd":a!=null&&Me("scrollend",e);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(u(61));if(n=a.__html,n!=null){if(o.children!=null)throw Error(u(60));e.innerHTML=n}}break;case"multiple":e.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":e.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){e.removeAttribute("xlink:href");break}n=nr(""+a),e.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":a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(n,""+a):e.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":a&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":a===!0?e.setAttribute(n,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(n,a):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?e.setAttribute(n,a):e.removeAttribute(n);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?e.removeAttribute(n):e.setAttribute(n,a);break;case"popover":Me("beforetoggle",e),Me("toggle",e),Pi(e,"popover",a);break;case"xlinkActuate":Tn(e,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":Tn(e,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":Tn(e,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":Tn(e,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":Tn(e,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":Tn(e,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":Tn(e,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":Tn(e,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":Tn(e,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":Pi(e,"is",a);break;case"innerText":case"textContent":break;default:(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(n=wy.get(n)||n,Pi(e,n,a))}}function Es(e,t,n,a,o,s){switch(n){case"style":hf(e,a,s);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(u(61));if(n=a.__html,n!=null){if(o.children!=null)throw Error(u(60));e.innerHTML=n}}break;case"children":typeof a=="string"?na(e,a):(typeof a=="number"||typeof a=="bigint")&&na(e,""+a);break;case"onScroll":a!=null&&Me("scroll",e);break;case"onScrollEnd":a!=null&&Me("scrollend",e);break;case"onClick":a!=null&&(e.onclick=kn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!af.hasOwnProperty(n))e:{if(n[0]==="o"&&n[1]==="n"&&(o=n.endsWith("Capture"),t=n.slice(2,o?n.length-7:void 0),s=e[Ot]||null,s=s!=null?s[n]:null,typeof s=="function"&&e.removeEventListener(t,s,o),typeof a=="function")){typeof s!="function"&&s!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,a,o);break e}n in e?e[n]=a:a===!0?e.setAttribute(n,""):Pi(e,n,a)}}}function Tt(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Me("error",e),Me("load",e);var a=!1,o=!1,s;for(s in n)if(n.hasOwnProperty(s)){var m=n[s];if(m!=null)switch(s){case"src":a=!0;break;case"srcSet":o=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(u(137,t));default:Ie(e,t,s,m,n,null)}}o&&Ie(e,t,"srcSet",n.srcSet,n,null),a&&Ie(e,t,"src",n.src,n,null);return;case"input":Me("invalid",e);var b=s=m=o=null,A=null,M=null;for(a in n)if(n.hasOwnProperty(a)){var H=n[a];if(H!=null)switch(a){case"name":o=H;break;case"type":m=H;break;case"checked":A=H;break;case"defaultChecked":M=H;break;case"value":s=H;break;case"defaultValue":b=H;break;case"children":case"dangerouslySetInnerHTML":if(H!=null)throw Error(u(137,t));break;default:Ie(e,t,a,H,n,null)}}cf(e,s,b,A,M,m,o,!1);return;case"select":Me("invalid",e),a=m=s=null;for(o in n)if(n.hasOwnProperty(o)&&(b=n[o],b!=null))switch(o){case"value":s=b;break;case"defaultValue":m=b;break;case"multiple":a=b;default:Ie(e,t,o,b,n,null)}t=s,n=m,e.multiple=!!a,t!=null?ta(e,!!a,t,!1):n!=null&&ta(e,!!a,n,!0);return;case"textarea":Me("invalid",e),s=o=a=null;for(m in n)if(n.hasOwnProperty(m)&&(b=n[m],b!=null))switch(m){case"value":a=b;break;case"defaultValue":o=b;break;case"children":s=b;break;case"dangerouslySetInnerHTML":if(b!=null)throw Error(u(91));break;default:Ie(e,t,m,b,n,null)}df(e,a,o,s);return;case"option":for(A in n)if(n.hasOwnProperty(A)&&(a=n[A],a!=null))switch(A){case"selected":e.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:Ie(e,t,A,a,n,null)}return;case"dialog":Me("beforetoggle",e),Me("toggle",e),Me("cancel",e),Me("close",e);break;case"iframe":case"object":Me("load",e);break;case"video":case"audio":for(a=0;a<Ni.length;a++)Me(Ni[a],e);break;case"image":Me("error",e),Me("load",e);break;case"details":Me("toggle",e);break;case"embed":case"source":case"link":Me("error",e),Me("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(M in n)if(n.hasOwnProperty(M)&&(a=n[M],a!=null))switch(M){case"children":case"dangerouslySetInnerHTML":throw Error(u(137,t));default:Ie(e,t,M,a,n,null)}return;default:if(Uu(t)){for(H in n)n.hasOwnProperty(H)&&(a=n[H],a!==void 0&&Es(e,t,H,a,n,void 0));return}}for(b in n)n.hasOwnProperty(b)&&(a=n[b],a!=null&&Ie(e,t,b,a,n,null))}function J0(e,t,n,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var o=null,s=null,m=null,b=null,A=null,M=null,H=null;for(j in n){var V=n[j];if(n.hasOwnProperty(j)&&V!=null)switch(j){case"checked":break;case"value":break;case"defaultValue":A=V;default:a.hasOwnProperty(j)||Ie(e,t,j,null,a,V)}}for(var O in a){var j=a[O];if(V=n[O],a.hasOwnProperty(O)&&(j!=null||V!=null))switch(O){case"type":s=j;break;case"name":o=j;break;case"checked":M=j;break;case"defaultChecked":H=j;break;case"value":m=j;break;case"defaultValue":b=j;break;case"children":case"dangerouslySetInnerHTML":if(j!=null)throw Error(u(137,t));break;default:j!==V&&Ie(e,t,O,j,a,V)}}Ru(e,m,b,A,M,H,s,o);return;case"select":j=m=b=O=null;for(s in n)if(A=n[s],n.hasOwnProperty(s)&&A!=null)switch(s){case"value":break;case"multiple":j=A;default:a.hasOwnProperty(s)||Ie(e,t,s,null,a,A)}for(o in a)if(s=a[o],A=n[o],a.hasOwnProperty(o)&&(s!=null||A!=null))switch(o){case"value":O=s;break;case"defaultValue":b=s;break;case"multiple":m=s;default:s!==A&&Ie(e,t,o,s,a,A)}t=b,n=m,a=j,O!=null?ta(e,!!n,O,!1):!!a!=!!n&&(t!=null?ta(e,!!n,t,!0):ta(e,!!n,n?[]:"",!1));return;case"textarea":j=O=null;for(b in n)if(o=n[b],n.hasOwnProperty(b)&&o!=null&&!a.hasOwnProperty(b))switch(b){case"value":break;case"children":break;default:Ie(e,t,b,null,a,o)}for(m in a)if(o=a[m],s=n[m],a.hasOwnProperty(m)&&(o!=null||s!=null))switch(m){case"value":O=o;break;case"defaultValue":j=o;break;case"children":break;case"dangerouslySetInnerHTML":if(o!=null)throw Error(u(91));break;default:o!==s&&Ie(e,t,m,o,a,s)}ff(e,O,j);return;case"option":for(var se in n)if(O=n[se],n.hasOwnProperty(se)&&O!=null&&!a.hasOwnProperty(se))switch(se){case"selected":e.selected=!1;break;default:Ie(e,t,se,null,a,O)}for(A in a)if(O=a[A],j=n[A],a.hasOwnProperty(A)&&O!==j&&(O!=null||j!=null))switch(A){case"selected":e.selected=O&&typeof O!="function"&&typeof O!="symbol";break;default:Ie(e,t,A,O,a,j)}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 be in n)O=n[be],n.hasOwnProperty(be)&&O!=null&&!a.hasOwnProperty(be)&&Ie(e,t,be,null,a,O);for(M in a)if(O=a[M],j=n[M],a.hasOwnProperty(M)&&O!==j&&(O!=null||j!=null))switch(M){case"children":case"dangerouslySetInnerHTML":if(O!=null)throw Error(u(137,t));break;default:Ie(e,t,M,O,a,j)}return;default:if(Uu(t)){for(var Je in n)O=n[Je],n.hasOwnProperty(Je)&&O!==void 0&&!a.hasOwnProperty(Je)&&Es(e,t,Je,void 0,a,O);for(H in a)O=a[H],j=n[H],!a.hasOwnProperty(H)||O===j||O===void 0&&j===void 0||Es(e,t,H,O,a,j);return}}for(var N in n)O=n[N],n.hasOwnProperty(N)&&O!=null&&!a.hasOwnProperty(N)&&Ie(e,t,N,null,a,O);for(V in a)O=a[V],j=n[V],!a.hasOwnProperty(V)||O===j||O==null&&j==null||Ie(e,t,V,O,a,j)}function ph(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function F0(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,n=performance.getEntriesByType("resource"),a=0;a<n.length;a++){var o=n[a],s=o.transferSize,m=o.initiatorType,b=o.duration;if(s&&b&&ph(m)){for(m=0,b=o.responseEnd,a+=1;a<n.length;a++){var A=n[a],M=A.startTime;if(M>b)break;var H=A.transferSize,V=A.initiatorType;H&&ph(V)&&(A=A.responseEnd,m+=H*(A<b?1:(b-M)/(A-M)))}if(--a,t+=8*(s+m)/(o.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var As=null,Ts=null;function $r(e){return e.nodeType===9?e:e.ownerDocument}function gh(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function yh(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function ks(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Ns=null;function $0(){var e=window.event;return e&&e.type==="popstate"?e===Ns?!1:(Ns=e,!0):(Ns=null,!1)}var bh=typeof setTimeout=="function"?setTimeout:void 0,W0=typeof clearTimeout=="function"?clearTimeout:void 0,xh=typeof Promise=="function"?Promise:void 0,P0=typeof queueMicrotask=="function"?queueMicrotask:typeof xh<"u"?function(e){return xh.resolve(null).then(e).catch(eb)}:bh;function eb(e){setTimeout(function(){throw e})}function cl(e){return e==="head"}function vh(e,t){var n=t,a=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"||n==="/&"){if(a===0){e.removeChild(o),ja(t);return}a--}else if(n==="$"||n==="$?"||n==="$~"||n==="$!"||n==="&")a++;else if(n==="html")_i(e.ownerDocument.documentElement);else if(n==="head"){n=e.ownerDocument.head,_i(n);for(var s=n.firstChild;s;){var m=s.nextSibling,b=s.nodeName;s[Ia]||b==="SCRIPT"||b==="STYLE"||b==="LINK"&&s.rel.toLowerCase()==="stylesheet"||n.removeChild(s),s=m}}else n==="body"&&_i(e.ownerDocument.body);n=o}while(n);ja(t)}function Sh(e,t){var n=e;e=0;do{var a=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),a&&a.nodeType===8)if(n=a.data,n==="/$"){if(e===0)break;e--}else n!=="$"&&n!=="$?"&&n!=="$~"&&n!=="$!"||e++;n=a}while(n)}function Cs(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":Cs(n),ju(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function tb(e,t,n,a){for(;e.nodeType===1;){var o=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(a){if(!e[Ia])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(s=e.getAttribute("rel"),s==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(s!==o.rel||e.getAttribute("href")!==(o.href==null||o.href===""?null:o.href)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin)||e.getAttribute("title")!==(o.title==null?null:o.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(s=e.getAttribute("src"),(s!==(o.src==null?null:o.src)||e.getAttribute("type")!==(o.type==null?null:o.type)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin))&&s&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var s=o.name==null?null:""+o.name;if(o.type==="hidden"&&e.getAttribute("name")===s)return e}else return e;if(e=on(e.nextSibling),e===null)break}return null}function nb(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=on(e.nextSibling),e===null))return null;return e}function wh(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=on(e.nextSibling),e===null))return null;return e}function _s(e){return e.data==="$?"||e.data==="$~"}function Ms(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function lb(e,t){var n=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||n.readyState!=="loading")t();else{var a=function(){t(),n.removeEventListener("DOMContentLoaded",a)};n.addEventListener("DOMContentLoaded",a),e._reactRetry=a}}function on(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var Os=null;function zh(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"||n==="/&"){if(t===0)return on(e.nextSibling);t--}else n!=="$"&&n!=="$!"&&n!=="$?"&&n!=="$~"&&n!=="&"||t++}e=e.nextSibling}return null}function Eh(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"){if(t===0)return e;t--}else n!=="/$"&&n!=="/&"||t++}e=e.previousSibling}return null}function Ah(e,t,n){switch(t=$r(n),e){case"html":if(e=t.documentElement,!e)throw Error(u(452));return e;case"head":if(e=t.head,!e)throw Error(u(453));return e;case"body":if(e=t.body,!e)throw Error(u(454));return e;default:throw Error(u(451))}}function _i(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);ju(e)}var sn=new Map,Th=new Set;function Wr(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Vn=K.d;K.d={f:ab,r:ib,D:rb,C:ub,L:ob,m:sb,X:fb,S:cb,M:db};function ab(){var e=Vn.f(),t=Vr();return e||t}function ib(e){var t=Wl(e);t!==null&&t.tag===5&&t.type==="form"?Vd(t):Vn.r(e)}var _a=typeof document>"u"?null:document;function kh(e,t,n){var a=_a;if(a&&typeof t=="string"&&t){var o=en(t);o='link[rel="'+e+'"][href="'+o+'"]',typeof n=="string"&&(o+='[crossorigin="'+n+'"]'),Th.has(o)||(Th.add(o),e={rel:e,crossOrigin:n,href:t},a.querySelector(o)===null&&(t=a.createElement("link"),Tt(t,"link",e),yt(t),a.head.appendChild(t)))}}function rb(e){Vn.D(e),kh("dns-prefetch",e,null)}function ub(e,t){Vn.C(e,t),kh("preconnect",e,t)}function ob(e,t,n){Vn.L(e,t,n);var a=_a;if(a&&e&&t){var o='link[rel="preload"][as="'+en(t)+'"]';t==="image"&&n&&n.imageSrcSet?(o+='[imagesrcset="'+en(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(o+='[imagesizes="'+en(n.imageSizes)+'"]')):o+='[href="'+en(e)+'"]';var s=o;switch(t){case"style":s=Ma(e);break;case"script":s=Oa(e)}sn.has(s)||(e=x({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),sn.set(s,e),a.querySelector(o)!==null||t==="style"&&a.querySelector(Mi(s))||t==="script"&&a.querySelector(Oi(s))||(t=a.createElement("link"),Tt(t,"link",e),yt(t),a.head.appendChild(t)))}}function sb(e,t){Vn.m(e,t);var n=_a;if(n&&e){var a=t&&typeof t.as=="string"?t.as:"script",o='link[rel="modulepreload"][as="'+en(a)+'"][href="'+en(e)+'"]',s=o;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":s=Oa(e)}if(!sn.has(s)&&(e=x({rel:"modulepreload",href:e},t),sn.set(s,e),n.querySelector(o)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Oi(s)))return}a=n.createElement("link"),Tt(a,"link",e),yt(a),n.head.appendChild(a)}}}function cb(e,t,n){Vn.S(e,t,n);var a=_a;if(a&&e){var o=Pl(a).hoistableStyles,s=Ma(e);t=t||"default";var m=o.get(s);if(!m){var b={loading:0,preload:null};if(m=a.querySelector(Mi(s)))b.loading=5;else{e=x({rel:"stylesheet",href:e,"data-precedence":t},n),(n=sn.get(s))&&js(e,n);var A=m=a.createElement("link");yt(A),Tt(A,"link",e),A._p=new Promise(function(M,H){A.onload=M,A.onerror=H}),A.addEventListener("load",function(){b.loading|=1}),A.addEventListener("error",function(){b.loading|=2}),b.loading|=4,Pr(m,t,a)}m={type:"stylesheet",instance:m,count:1,state:b},o.set(s,m)}}}function fb(e,t){Vn.X(e,t);var n=_a;if(n&&e){var a=Pl(n).hoistableScripts,o=Oa(e),s=a.get(o);s||(s=n.querySelector(Oi(o)),s||(e=x({src:e,async:!0},t),(t=sn.get(o))&&Ds(e,t),s=n.createElement("script"),yt(s),Tt(s,"link",e),n.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},a.set(o,s))}}function db(e,t){Vn.M(e,t);var n=_a;if(n&&e){var a=Pl(n).hoistableScripts,o=Oa(e),s=a.get(o);s||(s=n.querySelector(Oi(o)),s||(e=x({src:e,async:!0,type:"module"},t),(t=sn.get(o))&&Ds(e,t),s=n.createElement("script"),yt(s),Tt(s,"link",e),n.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},a.set(o,s))}}function Nh(e,t,n,a){var o=(o=ne.current)?Wr(o):null;if(!o)throw Error(u(446));switch(e){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(t=Ma(n.href),n=Pl(o).hoistableStyles,a=n.get(t),a||(a={type:"style",instance:null,count:0,state:null},n.set(t,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=Ma(n.href);var s=Pl(o).hoistableStyles,m=s.get(e);if(m||(o=o.ownerDocument||o,m={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},s.set(e,m),(s=o.querySelector(Mi(e)))&&!s._p&&(m.instance=s,m.state.loading=5),sn.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},sn.set(e,n),s||mb(o,e,n,m.state))),t&&a===null)throw Error(u(528,""));return m}if(t&&a!==null)throw Error(u(529,""));return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Oa(n),n=Pl(o).hoistableScripts,a=n.get(t),a||(a={type:"script",instance:null,count:0,state:null},n.set(t,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(u(444,e))}}function Ma(e){return'href="'+en(e)+'"'}function Mi(e){return'link[rel="stylesheet"]['+e+"]"}function Ch(e){return x({},e,{"data-precedence":e.precedence,precedence:null})}function mb(e,t,n,a){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=1:(t=e.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=1}),t.addEventListener("error",function(){return a.loading|=2}),Tt(t,"link",n),yt(t),e.head.appendChild(t))}function Oa(e){return'[src="'+en(e)+'"]'}function Oi(e){return"script[async]"+e}function _h(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+en(n.href)+'"]');if(a)return t.instance=a,yt(a),a;var o=x({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),yt(a),Tt(a,"style",o),Pr(a,n.precedence,e),t.instance=a;case"stylesheet":o=Ma(n.href);var s=e.querySelector(Mi(o));if(s)return t.state.loading|=4,t.instance=s,yt(s),s;a=Ch(n),(o=sn.get(o))&&js(a,o),s=(e.ownerDocument||e).createElement("link"),yt(s);var m=s;return m._p=new Promise(function(b,A){m.onload=b,m.onerror=A}),Tt(s,"link",a),t.state.loading|=4,Pr(s,n.precedence,e),t.instance=s;case"script":return s=Oa(n.src),(o=e.querySelector(Oi(s)))?(t.instance=o,yt(o),o):(a=n,(o=sn.get(s))&&(a=x({},n),Ds(a,o)),e=e.ownerDocument||e,o=e.createElement("script"),yt(o),Tt(o,"link",a),e.head.appendChild(o),t.instance=o);case"void":return null;default:throw Error(u(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,Pr(a,n.precedence,e));return t.instance}function Pr(e,t,n){for(var a=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=a.length?a[a.length-1]:null,s=o,m=0;m<a.length;m++){var b=a[m];if(b.dataset.precedence===t)s=b;else if(s!==o)break}s?s.parentNode.insertBefore(e,s.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function js(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Ds(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var eu=null;function Mh(e,t,n){if(eu===null){var a=new Map,o=eu=new Map;o.set(n,a)}else o=eu,a=o.get(n),a||(a=new Map,o.set(n,a));if(a.has(e))return a;for(a.set(e,null),n=n.getElementsByTagName(e),o=0;o<n.length;o++){var s=n[o];if(!(s[Ia]||s[wt]||e==="link"&&s.getAttribute("rel")==="stylesheet")&&s.namespaceURI!=="http://www.w3.org/2000/svg"){var m=s.getAttribute(t)||"";m=e+m;var b=a.get(m);b?b.push(s):a.set(m,[s])}}return a}function Oh(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function hb(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function jh(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function pb(e,t,n,a){if(n.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var o=Ma(a.href),s=t.querySelector(Mi(o));if(s){t=s._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=tu.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=s,yt(s);return}s=t.ownerDocument||t,a=Ch(a),(o=sn.get(o))&&js(a,o),s=s.createElement("link"),yt(s);var m=s;m._p=new Promise(function(b,A){m.onload=b,m.onerror=A}),Tt(s,"link",a),n.instance=s}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&(n.state.loading&3)===0&&(e.count++,n=tu.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}var Rs=0;function gb(e,t){return e.stylesheets&&e.count===0&&lu(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var a=setTimeout(function(){if(e.stylesheets&&lu(e,e.stylesheets),e.unsuspend){var s=e.unsuspend;e.unsuspend=null,s()}},6e4+t);0<e.imgBytes&&Rs===0&&(Rs=62500*F0());var o=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&lu(e,e.stylesheets),e.unsuspend)){var s=e.unsuspend;e.unsuspend=null,s()}},(e.imgBytes>Rs?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(a),clearTimeout(o)}}:null}function tu(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)lu(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var nu=null;function lu(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,nu=new Map,t.forEach(yb,e),nu=null,tu.call(e))}function yb(e,t){if(!(t.state.loading&4)){var n=nu.get(e);if(n)var a=n.get(null);else{n=new Map,nu.set(e,n);for(var o=e.querySelectorAll("link[data-precedence],style[data-precedence]"),s=0;s<o.length;s++){var m=o[s];(m.nodeName==="LINK"||m.getAttribute("media")!=="not all")&&(n.set(m.dataset.precedence,m),a=m)}a&&n.set(null,a)}o=t.instance,m=o.getAttribute("data-precedence"),s=n.get(m)||a,s===a&&n.set(null,o),n.set(m,o),this.count++,a=tu.bind(this),o.addEventListener("load",a),o.addEventListener("error",a),s?s.parentNode.insertBefore(o,s.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(o,e.firstChild)),t.state.loading|=4}}var ji={$$typeof:Q,Provider:null,Consumer:null,_currentValue:ie,_currentValue2:ie,_threadCount:0};function bb(e,t,n,a,o,s,m,b,A){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Cu(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Cu(0),this.hiddenUpdates=Cu(null),this.identifierPrefix=a,this.onUncaughtError=o,this.onCaughtError=s,this.onRecoverableError=m,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=A,this.incompleteTransitions=new Map}function Dh(e,t,n,a,o,s,m,b,A,M,H,V){return e=new bb(e,t,n,m,A,M,H,V,b),t=1,s===!0&&(t|=24),s=Kt(3,null,null,t),e.current=s,s.stateNode=e,t=ho(),t.refCount++,e.pooledCache=t,t.refCount++,s.memoizedState={element:a,isDehydrated:n,cache:t},bo(s),e}function Rh(e){return e?(e=sa,e):sa}function Lh(e,t,n,a,o,s){o=Rh(o),a.context===null?a.context=o:a.pendingContext=o,a=Pn(t),a.payload={element:n},s=s===void 0?null:s,s!==null&&(a.callback=s),n=el(e,a,t),n!==null&&(Ht(n,e,t),fi(n,e,t))}function Uh(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Ls(e,t){Uh(e,t),(e=e.alternate)&&Uh(e,t)}function Hh(e){if(e.tag===13||e.tag===31){var t=Ol(e,67108864);t!==null&&Ht(t,e,67108864),Ls(e,67108864)}}function Bh(e){if(e.tag===13||e.tag===31){var t=Jt();t=_u(t);var n=Ol(e,t);n!==null&&Ht(n,e,t),Ls(e,t)}}var au=!0;function xb(e,t,n,a){var o=C.T;C.T=null;var s=K.p;try{K.p=2,Us(e,t,n,a)}finally{K.p=s,C.T=o}}function vb(e,t,n,a){var o=C.T;C.T=null;var s=K.p;try{K.p=8,Us(e,t,n,a)}finally{K.p=s,C.T=o}}function Us(e,t,n,a){if(au){var o=Hs(a);if(o===null)zs(e,t,a,iu,n),Gh(e,a);else if(wb(o,e,t,n,a))a.stopPropagation();else if(Gh(e,a),t&4&&-1<Sb.indexOf(e)){for(;o!==null;){var s=Wl(o);if(s!==null)switch(s.tag){case 3:if(s=s.stateNode,s.current.memoizedState.isDehydrated){var m=kl(s.pendingLanes);if(m!==0){var b=s;for(b.pendingLanes|=2,b.entangledLanes|=2;m;){var A=1<<31-Ke(m);b.entanglements[1]|=A,m&=~A}vn(s),(qe&6)===0&&(Gr=St()+500,ki(0))}}break;case 31:case 13:b=Ol(s,2),b!==null&&Ht(b,s,2),Vr(),Ls(s,2)}if(s=Hs(a),s===null&&zs(e,t,a,iu,n),s===o)break;o=s}o!==null&&a.stopPropagation()}else zs(e,t,a,null,n)}}function Hs(e){return e=Bu(e),Bs(e)}var iu=null;function Bs(e){if(iu=null,e=$l(e),e!==null){var t=f(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=d(t),e!==null)return e;e=null}else if(n===31){if(e=p(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return iu=e,null}function qh(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(zl()){case B:return 2;case P:return 8;case ye:case D:return 32;case J:return 268435456;default:return 32}default:return 32}}var qs=!1,fl=null,dl=null,ml=null,Di=new Map,Ri=new Map,hl=[],Sb="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 Gh(e,t){switch(e){case"focusin":case"focusout":fl=null;break;case"dragenter":case"dragleave":dl=null;break;case"mouseover":case"mouseout":ml=null;break;case"pointerover":case"pointerout":Di.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ri.delete(t.pointerId)}}function Li(e,t,n,a,o,s){return e===null||e.nativeEvent!==s?(e={blockedOn:t,domEventName:n,eventSystemFlags:a,nativeEvent:s,targetContainers:[o]},t!==null&&(t=Wl(t),t!==null&&Hh(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function wb(e,t,n,a,o){switch(t){case"focusin":return fl=Li(fl,e,t,n,a,o),!0;case"dragenter":return dl=Li(dl,e,t,n,a,o),!0;case"mouseover":return ml=Li(ml,e,t,n,a,o),!0;case"pointerover":var s=o.pointerId;return Di.set(s,Li(Di.get(s)||null,e,t,n,a,o)),!0;case"gotpointercapture":return s=o.pointerId,Ri.set(s,Li(Ri.get(s)||null,e,t,n,a,o)),!0}return!1}function Yh(e){var t=$l(e.target);if(t!==null){var n=f(t);if(n!==null){if(t=n.tag,t===13){if(t=d(n),t!==null){e.blockedOn=t,tf(e.priority,function(){Bh(n)});return}}else if(t===31){if(t=p(n),t!==null){e.blockedOn=t,tf(e.priority,function(){Bh(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function ru(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Hs(e.nativeEvent);if(n===null){n=e.nativeEvent;var a=new n.constructor(n.type,n);Hu=a,n.target.dispatchEvent(a),Hu=null}else return t=Wl(n),t!==null&&Hh(t),e.blockedOn=n,!1;t.shift()}return!0}function Vh(e,t,n){ru(e)&&n.delete(t)}function zb(){qs=!1,fl!==null&&ru(fl)&&(fl=null),dl!==null&&ru(dl)&&(dl=null),ml!==null&&ru(ml)&&(ml=null),Di.forEach(Vh),Ri.forEach(Vh)}function uu(e,t){e.blockedOn===t&&(e.blockedOn=null,qs||(qs=!0,l.unstable_scheduleCallback(l.unstable_NormalPriority,zb)))}var ou=null;function Kh(e){ou!==e&&(ou=e,l.unstable_scheduleCallback(l.unstable_NormalPriority,function(){ou===e&&(ou=null);for(var t=0;t<e.length;t+=3){var n=e[t],a=e[t+1],o=e[t+2];if(typeof a!="function"){if(Bs(a||n)===null)continue;break}var s=Wl(n);s!==null&&(e.splice(t,3),t-=3,Ho(s,{pending:!0,data:o,method:n.method,action:a},a,o))}}))}function ja(e){function t(A){return uu(A,e)}fl!==null&&uu(fl,e),dl!==null&&uu(dl,e),ml!==null&&uu(ml,e),Di.forEach(t),Ri.forEach(t);for(var n=0;n<hl.length;n++){var a=hl[n];a.blockedOn===e&&(a.blockedOn=null)}for(;0<hl.length&&(n=hl[0],n.blockedOn===null);)Yh(n),n.blockedOn===null&&hl.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(a=0;a<n.length;a+=3){var o=n[a],s=n[a+1],m=o[Ot]||null;if(typeof s=="function")m||Kh(n);else if(m){var b=null;if(s&&s.hasAttribute("formAction")){if(o=s,m=s[Ot]||null)b=m.formAction;else if(Bs(o)!==null)continue}else b=m.action;typeof b=="function"?n[a+1]=b:(n.splice(a,3),a-=3),Kh(n)}}}function Xh(){function e(s){s.canIntercept&&s.info==="react-transition"&&s.intercept({handler:function(){return new Promise(function(m){return o=m})},focusReset:"manual",scroll:"manual"})}function t(){o!==null&&(o(),o=null),a||setTimeout(n,20)}function n(){if(!a&&!navigation.transition){var s=navigation.currentEntry;s&&s.url!=null&&navigation.navigate(s.url,{state:s.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var a=!1,o=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){a=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),o!==null&&(o(),o=null)}}}function Gs(e){this._internalRoot=e}su.prototype.render=Gs.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(u(409));var n=t.current,a=Jt();Lh(n,a,e,t,null,null)},su.prototype.unmount=Gs.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Lh(e.current,2,null,e,null,null),Vr(),t[Fl]=null}};function su(e){this._internalRoot=e}su.prototype.unstable_scheduleHydration=function(e){if(e){var t=ef();e={blockedOn:null,target:e,priority:t};for(var n=0;n<hl.length&&t!==0&&t<hl[n].priority;n++);hl.splice(n,0,e),n===0&&Yh(e)}};var Qh=i.version;if(Qh!=="19.2.5")throw Error(u(527,Qh,"19.2.5"));K.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(u(188)):(e=Object.keys(e).join(","),Error(u(268,e)));return e=h(t),e=e!==null?y(e):null,e=e===null?null:e.stateNode,e};var Eb={bundleType:0,version:"19.2.5",rendererPackageName:"react-dom",currentDispatcherRef:C,reconcilerVersion:"19.2.5"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var cu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!cu.isDisabled&&cu.supportsFiber)try{Re=cu.inject(Eb),Ce=cu}catch{}}return Hi.createRoot=function(e,t){if(!c(e))throw Error(u(299));var n=!1,a="",o=Pd,s=em,m=tm;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(s=t.onCaughtError),t.onRecoverableError!==void 0&&(m=t.onRecoverableError)),t=Dh(e,1,!1,null,null,n,a,null,o,s,m,Xh),e[Fl]=t.current,ws(e),new Gs(t)},Hi.hydrateRoot=function(e,t,n){if(!c(e))throw Error(u(299));var a=!1,o="",s=Pd,m=em,b=tm,A=null;return n!=null&&(n.unstable_strictMode===!0&&(a=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onUncaughtError!==void 0&&(s=n.onUncaughtError),n.onCaughtError!==void 0&&(m=n.onCaughtError),n.onRecoverableError!==void 0&&(b=n.onRecoverableError),n.formState!==void 0&&(A=n.formState)),t=Dh(e,1,!0,t,n??null,a,o,A,s,m,b,Xh),t.context=Rh(null),n=t.current,a=Jt(),a=_u(a),o=Pn(a),o.callback=null,el(n,o,a),n=a,t.current.lanes=n,Za(t,n),vn(t),e[Fl]=t.current,ws(e),new su(t)},Hi.version="19.2.5",Hi}var np;function Ub(){if(np)return Ks.exports;np=1;function l(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(l)}catch(i){console.error(i)}}return l(),Ks.exports=Lb(),Ks.exports}var Hb=Ub();function Bb(l,i){const r={};return(l[l.length-1]===""?[...l,""]:l).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}const qb=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Gb=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Yb={};function lp(l,i){return(Yb.jsx?Gb:qb).test(l)}const Vb=/[ \t\n\f\r]/g;function Kb(l){return typeof l=="object"?l.type==="text"?ap(l.value):!1:ap(l)}function ap(l){return l.replace(Vb,"")===""}class Fi{constructor(i,r,u){this.normal=r,this.property=i,u&&(this.space=u)}}Fi.prototype.normal={};Fi.prototype.property={};Fi.prototype.space=void 0;function ig(l,i){const r={},u={};for(const c of l)Object.assign(r,c.property),Object.assign(u,c.normal);return new Fi(r,u,i)}function mc(l){return l.toLowerCase()}class Gt{constructor(i,r){this.attribute=r,this.property=i}}Gt.prototype.attribute="";Gt.prototype.booleanish=!1;Gt.prototype.boolean=!1;Gt.prototype.commaOrSpaceSeparated=!1;Gt.prototype.commaSeparated=!1;Gt.prototype.defined=!1;Gt.prototype.mustUseProperty=!1;Gt.prototype.number=!1;Gt.prototype.overloadedBoolean=!1;Gt.prototype.property="";Gt.prototype.spaceSeparated=!1;Gt.prototype.space=void 0;let Xb=0;const ke=Ql(),mt=Ql(),hc=Ql(),$=Ql(),Pe=Ql(),Ha=Ql(),$t=Ql();function Ql(){return 2**++Xb}const pc=Object.freeze(Object.defineProperty({__proto__:null,boolean:ke,booleanish:mt,commaOrSpaceSeparated:$t,commaSeparated:Ha,number:$,overloadedBoolean:hc,spaceSeparated:Pe},Symbol.toStringTag,{value:"Module"})),Is=Object.keys(pc);class Mc extends Gt{constructor(i,r,u,c){let f=-1;if(super(i,r),ip(this,"space",c),typeof u=="number")for(;++f<Is.length;){const d=Is[f];ip(this,Is[f],(u&pc[d])===pc[d])}}}Mc.prototype.defined=!0;function ip(l,i,r){r&&(l[i]=r)}function Ga(l){const i={},r={};for(const[u,c]of Object.entries(l.properties)){const f=new Mc(u,l.transform(l.attributes||{},u),c,l.space);l.mustUseProperty&&l.mustUseProperty.includes(u)&&(f.mustUseProperty=!0),i[u]=f,r[mc(u)]=u,r[mc(f.attribute)]=u}return new Fi(i,r,l.space)}const rg=Ga({properties:{ariaActiveDescendant:null,ariaAtomic:mt,ariaAutoComplete:null,ariaBusy:mt,ariaChecked:mt,ariaColCount:$,ariaColIndex:$,ariaColSpan:$,ariaControls:Pe,ariaCurrent:null,ariaDescribedBy:Pe,ariaDetails:null,ariaDisabled:mt,ariaDropEffect:Pe,ariaErrorMessage:null,ariaExpanded:mt,ariaFlowTo:Pe,ariaGrabbed:mt,ariaHasPopup:null,ariaHidden:mt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Pe,ariaLevel:$,ariaLive:null,ariaModal:mt,ariaMultiLine:mt,ariaMultiSelectable:mt,ariaOrientation:null,ariaOwns:Pe,ariaPlaceholder:null,ariaPosInSet:$,ariaPressed:mt,ariaReadOnly:mt,ariaRelevant:null,ariaRequired:mt,ariaRoleDescription:Pe,ariaRowCount:$,ariaRowIndex:$,ariaRowSpan:$,ariaSelected:mt,ariaSetSize:$,ariaSort:null,ariaValueMax:$,ariaValueMin:$,ariaValueNow:$,ariaValueText:null,role:null},transform(l,i){return i==="role"?i:"aria-"+i.slice(4).toLowerCase()}});function ug(l,i){return i in l?l[i]:i}function og(l,i){return ug(l,i.toLowerCase())}const Qb=Ga({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Ha,acceptCharset:Pe,accessKey:Pe,action:null,allow:null,allowFullScreen:ke,allowPaymentRequest:ke,allowUserMedia:ke,alt:null,as:null,async:ke,autoCapitalize:null,autoComplete:Pe,autoFocus:ke,autoPlay:ke,blocking:Pe,capture:null,charSet:null,checked:ke,cite:null,className:Pe,cols:$,colSpan:null,content:null,contentEditable:mt,controls:ke,controlsList:Pe,coords:$|Ha,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ke,defer:ke,dir:null,dirName:null,disabled:ke,download:hc,draggable:mt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ke,formTarget:null,headers:Pe,height:$,hidden:hc,high:$,href:null,hrefLang:null,htmlFor:Pe,httpEquiv:Pe,id:null,imageSizes:null,imageSrcSet:null,inert:ke,inputMode:null,integrity:null,is:null,isMap:ke,itemId:null,itemProp:Pe,itemRef:Pe,itemScope:ke,itemType:Pe,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ke,low:$,manifest:null,max:null,maxLength:$,media:null,method:null,min:null,minLength:$,multiple:ke,muted:ke,name:null,nonce:null,noModule:ke,noValidate:ke,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:ke,optimum:$,pattern:null,ping:Pe,placeholder:null,playsInline:ke,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ke,referrerPolicy:null,rel:Pe,required:ke,reversed:ke,rows:$,rowSpan:$,sandbox:Pe,scope:null,scoped:ke,seamless:ke,selected:ke,shadowRootClonable:ke,shadowRootDelegatesFocus:ke,shadowRootMode:null,shape:null,size:$,sizes:null,slot:null,span:$,spellCheck:mt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:$,step:null,style:null,tabIndex:$,target:null,title:null,translate:null,type:null,typeMustMatch:ke,useMap:null,value:mt,width:$,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Pe,axis:null,background:null,bgColor:null,border:$,borderColor:null,bottomMargin:$,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ke,declare:ke,event:null,face:null,frame:null,frameBorder:null,hSpace:$,leftMargin:$,link:null,longDesc:null,lowSrc:null,marginHeight:$,marginWidth:$,noResize:ke,noHref:ke,noShade:ke,noWrap:ke,object:null,profile:null,prompt:null,rev:null,rightMargin:$,rules:null,scheme:null,scrolling:mt,standby:null,summary:null,text:null,topMargin:$,valueType:null,version:null,vAlign:null,vLink:null,vSpace:$,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ke,disableRemotePlayback:ke,prefix:null,property:null,results:$,security:null,unselectable:null},space:"html",transform:og}),Zb=Ga({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:$t,accentHeight:$,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:$,amplitude:$,arabicForm:null,ascent:$,attributeName:null,attributeType:null,azimuth:$,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:$,by:null,calcMode:null,capHeight:$,className:Pe,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:$,diffuseConstant:$,direction:null,display:null,dur:null,divisor:$,dominantBaseline:null,download:ke,dx:null,dy:null,edgeMode:null,editable:null,elevation:$,enableBackground:null,end:null,event:null,exponent:$,externalResourcesRequired:null,fill:null,fillOpacity:$,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:Ha,g2:Ha,glyphName:Ha,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:$,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:$,horizOriginX:$,horizOriginY:$,id:null,ideographic:$,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:$,k:$,k1:$,k2:$,k3:$,k4:$,kernelMatrix:$t,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:$,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:$,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:$,overlineThickness:$,paintOrder:null,panose1:null,path:null,pathLength:$,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Pe,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:$,pointsAtY:$,pointsAtZ:$,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:$t,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:$t,rev:$t,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:$t,requiredFeatures:$t,requiredFonts:$t,requiredFormats:$t,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:$,specularExponent:$,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:$,strikethroughThickness:$,string:null,stroke:null,strokeDashArray:$t,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:$,strokeOpacity:$,strokeWidth:null,style:null,surfaceScale:$,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:$t,tabIndex:$,tableValues:null,target:null,targetX:$,targetY:$,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:$t,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:$,underlineThickness:$,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:$,values:null,vAlphabetic:$,vMathematical:$,vectorEffect:null,vHanging:$,vIdeographic:$,version:null,vertAdvY:$,vertOriginX:$,vertOriginY:$,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:$,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:ug}),sg=Ga({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(l,i){return"xlink:"+i.slice(5).toLowerCase()}}),cg=Ga({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:og}),fg=Ga({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(l,i){return"xml:"+i.slice(3).toLowerCase()}}),Ib={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"},Jb=/[A-Z]/g,rp=/-[a-z]/g,Fb=/^data[-\w.:]+$/i;function $b(l,i){const r=mc(i);let u=i,c=Gt;if(r in l.normal)return l.property[l.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&Fb.test(i)){if(i.charAt(4)==="-"){const f=i.slice(5).replace(rp,Pb);u="data"+f.charAt(0).toUpperCase()+f.slice(1)}else{const f=i.slice(4);if(!rp.test(f)){let d=f.replace(Jb,Wb);d.charAt(0)!=="-"&&(d="-"+d),i="data"+d}}c=Mc}return new c(u,i)}function Wb(l){return"-"+l.toLowerCase()}function Pb(l){return l.charAt(1).toUpperCase()}const e1=ig([rg,Qb,sg,cg,fg],"html"),Oc=ig([rg,Zb,sg,cg,fg],"svg");function t1(l){return l.join(" ").trim()}var Da={},Js,up;function n1(){if(up)return Js;up=1;var l=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,i=/\n/g,r=/^\s*/,u=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,c=/^:\s*/,f=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,d=/^[;\s]*/,p=/^\s+|\s+$/g,g=`
`,h="/",y="*",x="",E="comment",v="declaration";function q(X,R){if(typeof X!="string")throw new TypeError("First argument must be a string");if(!X)return[];R=R||{};var ue=1,Q=1;function xe(ae){var I=ae.match(i);I&&(ue+=I.length);var C=ae.lastIndexOf(g);Q=~C?ae.length-C:Q+ae.length}function W(){var ae={line:ue,column:Q};return function(I){return I.position=new U(ae),oe(),I}}function U(ae){this.start=ae,this.end={line:ue,column:Q},this.source=R.source}U.prototype.content=X;function te(ae){var I=new Error(R.source+":"+ue+":"+Q+": "+ae);if(I.reason=ae,I.filename=R.source,I.line=ue,I.column=Q,I.source=X,!R.silent)throw I}function Z(ae){var I=ae.exec(X);if(I){var C=I[0];return xe(C),X=X.slice(C.length),I}}function oe(){Z(r)}function ve(ae){var I;for(ae=ae||[];I=le();)I!==!1&&ae.push(I);return ae}function le(){var ae=W();if(!(h!=X.charAt(0)||y!=X.charAt(1))){for(var I=2;x!=X.charAt(I)&&(y!=X.charAt(I)||h!=X.charAt(I+1));)++I;if(I+=2,x===X.charAt(I-1))return te("End of comment missing");var C=X.slice(2,I-2);return Q+=2,xe(C),X=X.slice(I),Q+=2,ae({type:E,comment:C})}}function F(){var ae=W(),I=Z(u);if(I){if(le(),!Z(c))return te("property missing ':'");var C=Z(f),K=ae({type:v,property:G(I[0].replace(l,x)),value:C?G(C[0].replace(l,x)):x});return Z(d),K}}function he(){var ae=[];ve(ae);for(var I;I=F();)I!==!1&&(ae.push(I),ve(ae));return ae}return oe(),he()}function G(X){return X?X.replace(p,x):x}return Js=q,Js}var op;function l1(){if(op)return Da;op=1;var l=Da&&Da.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(Da,"__esModule",{value:!0}),Da.default=r;const i=l(n1());function r(u,c){let f=null;if(!u||typeof u!="string")return f;const d=(0,i.default)(u),p=typeof c=="function";return d.forEach(g=>{if(g.type!=="declaration")return;const{property:h,value:y}=g;p?c(h,y,g):y&&(f=f||{},f[h]=y)}),f}return Da}var Bi={},sp;function a1(){if(sp)return Bi;sp=1,Object.defineProperty(Bi,"__esModule",{value:!0}),Bi.camelCase=void 0;var l=/^--[a-zA-Z0-9_-]+$/,i=/-([a-z])/g,r=/^[^-]+$/,u=/^-(webkit|moz|ms|o|khtml)-/,c=/^-(ms)-/,f=function(h){return!h||r.test(h)||l.test(h)},d=function(h,y){return y.toUpperCase()},p=function(h,y){return"".concat(y,"-")},g=function(h,y){return y===void 0&&(y={}),f(h)?h:(h=h.toLowerCase(),y.reactCompat?h=h.replace(c,p):h=h.replace(u,p),h.replace(i,d))};return Bi.camelCase=g,Bi}var qi,cp;function i1(){if(cp)return qi;cp=1;var l=qi&&qi.__importDefault||function(c){return c&&c.__esModule?c:{default:c}},i=l(l1()),r=a1();function u(c,f){var d={};return!c||typeof c!="string"||(0,i.default)(c,function(p,g){p&&g&&(d[(0,r.camelCase)(p,f)]=g)}),d}return u.default=u,qi=u,qi}var r1=i1();const u1=Cc(r1),dg=mg("end"),jc=mg("start");function mg(l){return i;function i(r){const u=r&&r.position&&r.position[l]||{};if(typeof u.line=="number"&&u.line>0&&typeof u.column=="number"&&u.column>0)return{line:u.line,column:u.column,offset:typeof u.offset=="number"&&u.offset>-1?u.offset:void 0}}}function o1(l){const i=jc(l),r=dg(l);if(i&&r)return{start:i,end:r}}function Xi(l){return!l||typeof l!="object"?"":"position"in l||"type"in l?fp(l.position):"start"in l||"end"in l?fp(l):"line"in l||"column"in l?gc(l):""}function gc(l){return dp(l&&l.line)+":"+dp(l&&l.column)}function fp(l){return gc(l&&l.start)+"-"+gc(l&&l.end)}function dp(l){return l&&typeof l=="number"?l:1}class Nt extends Error{constructor(i,r,u){super(),typeof r=="string"&&(u=r,r=void 0);let c="",f={},d=!1;if(r&&("line"in r&&"column"in r?f={place:r}:"start"in r&&"end"in r?f={place:r}:"type"in r?f={ancestors:[r],place:r.position}:f={...r}),typeof i=="string"?c=i:!f.cause&&i&&(d=!0,c=i.message,f.cause=i),!f.ruleId&&!f.source&&typeof u=="string"){const g=u.indexOf(":");g===-1?f.ruleId=u:(f.source=u.slice(0,g),f.ruleId=u.slice(g+1))}if(!f.place&&f.ancestors&&f.ancestors){const g=f.ancestors[f.ancestors.length-1];g&&(f.place=g.position)}const p=f.place&&"start"in f.place?f.place.start:f.place;this.ancestors=f.ancestors||void 0,this.cause=f.cause||void 0,this.column=p?p.column:void 0,this.fatal=void 0,this.file="",this.message=c,this.line=p?p.line:void 0,this.name=Xi(f.place)||"1:1",this.place=f.place||void 0,this.reason=this.message,this.ruleId=f.ruleId||void 0,this.source=f.source||void 0,this.stack=d&&f.cause&&typeof f.cause.stack=="string"?f.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Nt.prototype.file="";Nt.prototype.name="";Nt.prototype.reason="";Nt.prototype.message="";Nt.prototype.stack="";Nt.prototype.column=void 0;Nt.prototype.line=void 0;Nt.prototype.ancestors=void 0;Nt.prototype.cause=void 0;Nt.prototype.fatal=void 0;Nt.prototype.place=void 0;Nt.prototype.ruleId=void 0;Nt.prototype.source=void 0;const Dc={}.hasOwnProperty,s1=new Map,c1=/[A-Z]/g,f1=new Set(["table","tbody","thead","tfoot","tr"]),d1=new Set(["td","th"]),hg="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function m1(l,i){if(!i||i.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const r=i.filePath||void 0;let u;if(i.development){if(typeof i.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");u=S1(r,i.jsxDEV)}else{if(typeof i.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof i.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");u=v1(r,i.jsx,i.jsxs)}const c={Fragment:i.Fragment,ancestors:[],components:i.components||{},create:u,elementAttributeNameCase:i.elementAttributeNameCase||"react",evaluater:i.createEvaluater?i.createEvaluater():void 0,filePath:r,ignoreInvalidStyle:i.ignoreInvalidStyle||!1,passKeys:i.passKeys!==!1,passNode:i.passNode||!1,schema:i.space==="svg"?Oc:e1,stylePropertyNameCase:i.stylePropertyNameCase||"dom",tableCellAlignToStyle:i.tableCellAlignToStyle!==!1},f=pg(c,l,void 0);return f&&typeof f!="string"?f:c.create(l,c.Fragment,{children:f||void 0},void 0)}function pg(l,i,r){if(i.type==="element")return h1(l,i,r);if(i.type==="mdxFlowExpression"||i.type==="mdxTextExpression")return p1(l,i);if(i.type==="mdxJsxFlowElement"||i.type==="mdxJsxTextElement")return y1(l,i,r);if(i.type==="mdxjsEsm")return g1(l,i);if(i.type==="root")return b1(l,i,r);if(i.type==="text")return x1(l,i)}function h1(l,i,r){const u=l.schema;let c=u;i.tagName.toLowerCase()==="svg"&&u.space==="html"&&(c=Oc,l.schema=c),l.ancestors.push(i);const f=yg(l,i.tagName,!1),d=w1(l,i);let p=Lc(l,i);return f1.has(i.tagName)&&(p=p.filter(function(g){return typeof g=="string"?!Kb(g):!0})),gg(l,d,f,i),Rc(d,p),l.ancestors.pop(),l.schema=u,l.create(i,f,d,r)}function p1(l,i){if(i.data&&i.data.estree&&l.evaluater){const u=i.data.estree.body[0];return u.type,l.evaluater.evaluateExpression(u.expression)}Ji(l,i.position)}function g1(l,i){if(i.data&&i.data.estree&&l.evaluater)return l.evaluater.evaluateProgram(i.data.estree);Ji(l,i.position)}function y1(l,i,r){const u=l.schema;let c=u;i.name==="svg"&&u.space==="html"&&(c=Oc,l.schema=c),l.ancestors.push(i);const f=i.name===null?l.Fragment:yg(l,i.name,!0),d=z1(l,i),p=Lc(l,i);return gg(l,d,f,i),Rc(d,p),l.ancestors.pop(),l.schema=u,l.create(i,f,d,r)}function b1(l,i,r){const u={};return Rc(u,Lc(l,i)),l.create(i,l.Fragment,u,r)}function x1(l,i){return i.value}function gg(l,i,r,u){typeof r!="string"&&r!==l.Fragment&&l.passNode&&(i.node=u)}function Rc(l,i){if(i.length>0){const r=i.length>1?i:i[0];r&&(l.children=r)}}function v1(l,i,r){return u;function u(c,f,d,p){const h=Array.isArray(d.children)?r:i;return p?h(f,d,p):h(f,d)}}function S1(l,i){return r;function r(u,c,f,d){const p=Array.isArray(f.children),g=jc(u);return i(c,f,d,p,{columnNumber:g?g.column-1:void 0,fileName:l,lineNumber:g?g.line:void 0},void 0)}}function w1(l,i){const r={};let u,c;for(c in i.properties)if(c!=="children"&&Dc.call(i.properties,c)){const f=E1(l,c,i.properties[c]);if(f){const[d,p]=f;l.tableCellAlignToStyle&&d==="align"&&typeof p=="string"&&d1.has(i.tagName)?u=p:r[d]=p}}if(u){const f=r.style||(r.style={});f[l.stylePropertyNameCase==="css"?"text-align":"textAlign"]=u}return r}function z1(l,i){const r={};for(const u of i.attributes)if(u.type==="mdxJsxExpressionAttribute")if(u.data&&u.data.estree&&l.evaluater){const f=u.data.estree.body[0];f.type;const d=f.expression;d.type;const p=d.properties[0];p.type,Object.assign(r,l.evaluater.evaluateExpression(p.argument))}else Ji(l,i.position);else{const c=u.name;let f;if(u.value&&typeof u.value=="object")if(u.value.data&&u.value.data.estree&&l.evaluater){const p=u.value.data.estree.body[0];p.type,f=l.evaluater.evaluateExpression(p.expression)}else Ji(l,i.position);else f=u.value===null?!0:u.value;r[c]=f}return r}function Lc(l,i){const r=[];let u=-1;const c=l.passKeys?new Map:s1;for(;++u<i.children.length;){const f=i.children[u];let d;if(l.passKeys){const g=f.type==="element"?f.tagName:f.type==="mdxJsxFlowElement"||f.type==="mdxJsxTextElement"?f.name:void 0;if(g){const h=c.get(g)||0;d=g+"-"+h,c.set(g,h+1)}}const p=pg(l,f,d);p!==void 0&&r.push(p)}return r}function E1(l,i,r){const u=$b(l.schema,i);if(!(r==null||typeof r=="number"&&Number.isNaN(r))){if(Array.isArray(r)&&(r=u.commaSeparated?Bb(r):t1(r)),u.property==="style"){let c=typeof r=="object"?r:A1(l,String(r));return l.stylePropertyNameCase==="css"&&(c=T1(c)),["style",c]}return[l.elementAttributeNameCase==="react"&&u.space?Ib[u.property]||u.property:u.attribute,r]}}function A1(l,i){try{return u1(i,{reactCompat:!0})}catch(r){if(l.ignoreInvalidStyle)return{};const u=r,c=new Nt("Cannot parse `style` attribute",{ancestors:l.ancestors,cause:u,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw c.file=l.filePath||void 0,c.url=hg+"#cannot-parse-style-attribute",c}}function yg(l,i,r){let u;if(!r)u={type:"Literal",value:i};else if(i.includes(".")){const c=i.split(".");let f=-1,d;for(;++f<c.length;){const p=lp(c[f])?{type:"Identifier",name:c[f]}:{type:"Literal",value:c[f]};d=d?{type:"MemberExpression",object:d,property:p,computed:!!(f&&p.type==="Literal"),optional:!1}:p}u=d}else u=lp(i)&&!/^[a-z]/.test(i)?{type:"Identifier",name:i}:{type:"Literal",value:i};if(u.type==="Literal"){const c=u.value;return Dc.call(l.components,c)?l.components[c]:c}if(l.evaluater)return l.evaluater.evaluateExpression(u);Ji(l)}function Ji(l,i){const r=new Nt("Cannot handle MDX estrees without `createEvaluater`",{ancestors:l.ancestors,place:i,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw r.file=l.filePath||void 0,r.url=hg+"#cannot-handle-mdx-estrees-without-createevaluater",r}function T1(l){const i={};let r;for(r in l)Dc.call(l,r)&&(i[k1(r)]=l[r]);return i}function k1(l){let i=l.replace(c1,N1);return i.slice(0,3)==="ms-"&&(i="-"+i),i}function N1(l){return"-"+l.toLowerCase()}const Fs={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"]},C1={};function _1(l,i){const r=C1,u=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,c=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return bg(l,u,c)}function bg(l,i,r){if(M1(l)){if("value"in l)return l.type==="html"&&!r?"":l.value;if(i&&"alt"in l&&l.alt)return l.alt;if("children"in l)return mp(l.children,i,r)}return Array.isArray(l)?mp(l,i,r):""}function mp(l,i,r){const u=[];let c=-1;for(;++c<l.length;)u[c]=bg(l[c],i,r);return u.join("")}function M1(l){return!!(l&&typeof l=="object")}const hp=document.createElement("i");function Uc(l){const i="&"+l+";";hp.innerHTML=i;const r=hp.textContent;return r.charCodeAt(r.length-1)===59&&l!=="semi"||r===i?!1:r}function zn(l,i,r,u){const c=l.length;let f=0,d;if(i<0?i=-i>c?0:c+i:i=i>c?c:i,r=r>0?r:0,u.length<1e4)d=Array.from(u),d.unshift(i,r),l.splice(...d);else for(r&&l.splice(i,r);f<u.length;)d=u.slice(f,f+1e4),d.unshift(i,0),l.splice(...d),f+=1e4,i+=1e4}function cn(l,i){return l.length>0?(zn(l,l.length,0,i),l):i}const pp={}.hasOwnProperty;function O1(l){const i={};let r=-1;for(;++r<l.length;)j1(i,l[r]);return i}function j1(l,i){let r;for(r in i){const c=(pp.call(l,r)?l[r]:void 0)||(l[r]={}),f=i[r];let d;if(f)for(d in f){pp.call(c,d)||(c[d]=[]);const p=f[d];D1(c[d],Array.isArray(p)?p:p?[p]:[])}}}function D1(l,i){let r=-1;const u=[];for(;++r<i.length;)(i[r].add==="after"?l:u).push(i[r]);zn(l,0,0,u)}function xg(l,i){const r=Number.parseInt(l,i);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"�":String.fromCodePoint(r)}function Ba(l){return l.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const wn=xl(/[A-Za-z]/),Wt=xl(/[\dA-Za-z]/),R1=xl(/[#-'*+\--9=?A-Z^-~]/);function yc(l){return l!==null&&(l<32||l===127)}const bc=xl(/\d/),L1=xl(/[\dA-Fa-f]/),U1=xl(/[!-/:-@[-`{-~]/);function Se(l){return l!==null&&l<-2}function qt(l){return l!==null&&(l<0||l===32)}function Ge(l){return l===-2||l===-1||l===32}const H1=xl(new RegExp("\\p{P}|\\p{S}","u")),B1=xl(/\s/);function xl(l){return i;function i(r){return r!==null&&r>-1&&l.test(String.fromCharCode(r))}}function Ya(l){const i=[];let r=-1,u=0,c=0;for(;++r<l.length;){const f=l.charCodeAt(r);let d="";if(f===37&&Wt(l.charCodeAt(r+1))&&Wt(l.charCodeAt(r+2)))c=2;else if(f<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(f))||(d=String.fromCharCode(f));else if(f>55295&&f<57344){const p=l.charCodeAt(r+1);f<56320&&p>56319&&p<57344?(d=String.fromCharCode(f,p),c=1):d="�"}else d=String.fromCharCode(f);d&&(i.push(l.slice(u,r),encodeURIComponent(d)),u=r+c+1,d=""),c&&(r+=c,c=0)}return i.join("")+l.slice(u)}function et(l,i,r,u){const c=u?u-1:Number.POSITIVE_INFINITY;let f=0;return d;function d(g){return Ge(g)?(l.enter(r),p(g)):i(g)}function p(g){return Ge(g)&&f++<c?(l.consume(g),p):(l.exit(r),i(g))}}const q1={tokenize:G1};function G1(l){const i=l.attempt(this.parser.constructs.contentInitial,u,c);let r;return i;function u(p){if(p===null){l.consume(p);return}return l.enter("lineEnding"),l.consume(p),l.exit("lineEnding"),et(l,i,"linePrefix")}function c(p){return l.enter("paragraph"),f(p)}function f(p){const g=l.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=g),r=g,d(p)}function d(p){if(p===null){l.exit("chunkText"),l.exit("paragraph"),l.consume(p);return}return Se(p)?(l.consume(p),l.exit("chunkText"),f):(l.consume(p),d)}}const Y1={tokenize:V1},gp={tokenize:K1};function V1(l){const i=this,r=[];let u=0,c,f,d;return p;function p(Q){if(u<r.length){const xe=r[u];return i.containerState=xe[1],l.attempt(xe[0].continuation,g,h)(Q)}return h(Q)}function g(Q){if(u++,i.containerState._closeFlow){i.containerState._closeFlow=void 0,c&&ue();const xe=i.events.length;let W=xe,U;for(;W--;)if(i.events[W][0]==="exit"&&i.events[W][1].type==="chunkFlow"){U=i.events[W][1].end;break}R(u);let te=xe;for(;te<i.events.length;)i.events[te][1].end={...U},te++;return zn(i.events,W+1,0,i.events.slice(xe)),i.events.length=te,h(Q)}return p(Q)}function h(Q){if(u===r.length){if(!c)return E(Q);if(c.currentConstruct&&c.currentConstruct.concrete)return q(Q);i.interrupt=!!(c.currentConstruct&&!c._gfmTableDynamicInterruptHack)}return i.containerState={},l.check(gp,y,x)(Q)}function y(Q){return c&&ue(),R(u),E(Q)}function x(Q){return i.parser.lazy[i.now().line]=u!==r.length,d=i.now().offset,q(Q)}function E(Q){return i.containerState={},l.attempt(gp,v,q)(Q)}function v(Q){return u++,r.push([i.currentConstruct,i.containerState]),E(Q)}function q(Q){if(Q===null){c&&ue(),R(0),l.consume(Q);return}return c=c||i.parser.flow(i.now()),l.enter("chunkFlow",{_tokenizer:c,contentType:"flow",previous:f}),G(Q)}function G(Q){if(Q===null){X(l.exit("chunkFlow"),!0),R(0),l.consume(Q);return}return Se(Q)?(l.consume(Q),X(l.exit("chunkFlow")),u=0,i.interrupt=void 0,p):(l.consume(Q),G)}function X(Q,xe){const W=i.sliceStream(Q);if(xe&&W.push(null),Q.previous=f,f&&(f.next=Q),f=Q,c.defineSkip(Q.start),c.write(W),i.parser.lazy[Q.start.line]){let U=c.events.length;for(;U--;)if(c.events[U][1].start.offset<d&&(!c.events[U][1].end||c.events[U][1].end.offset>d))return;const te=i.events.length;let Z=te,oe,ve;for(;Z--;)if(i.events[Z][0]==="exit"&&i.events[Z][1].type==="chunkFlow"){if(oe){ve=i.events[Z][1].end;break}oe=!0}for(R(u),U=te;U<i.events.length;)i.events[U][1].end={...ve},U++;zn(i.events,Z+1,0,i.events.slice(te)),i.events.length=U}}function R(Q){let xe=r.length;for(;xe-- >Q;){const W=r[xe];i.containerState=W[1],W[0].exit.call(i,l)}r.length=Q}function ue(){c.write([null]),f=void 0,c=void 0,i.containerState._closeFlow=void 0}}function K1(l,i,r){return et(l,l.attempt(this.parser.constructs.document,i,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function yp(l){if(l===null||qt(l)||B1(l))return 1;if(H1(l))return 2}function Hc(l,i,r){const u=[];let c=-1;for(;++c<l.length;){const f=l[c].resolveAll;f&&!u.includes(f)&&(i=f(i,r),u.push(f))}return i}const xc={name:"attention",resolveAll:X1,tokenize:Q1};function X1(l,i){let r=-1,u,c,f,d,p,g,h,y;for(;++r<l.length;)if(l[r][0]==="enter"&&l[r][1].type==="attentionSequence"&&l[r][1]._close){for(u=r;u--;)if(l[u][0]==="exit"&&l[u][1].type==="attentionSequence"&&l[u][1]._open&&i.sliceSerialize(l[u][1]).charCodeAt(0)===i.sliceSerialize(l[r][1]).charCodeAt(0)){if((l[u][1]._close||l[r][1]._open)&&(l[r][1].end.offset-l[r][1].start.offset)%3&&!((l[u][1].end.offset-l[u][1].start.offset+l[r][1].end.offset-l[r][1].start.offset)%3))continue;g=l[u][1].end.offset-l[u][1].start.offset>1&&l[r][1].end.offset-l[r][1].start.offset>1?2:1;const x={...l[u][1].end},E={...l[r][1].start};bp(x,-g),bp(E,g),d={type:g>1?"strongSequence":"emphasisSequence",start:x,end:{...l[u][1].end}},p={type:g>1?"strongSequence":"emphasisSequence",start:{...l[r][1].start},end:E},f={type:g>1?"strongText":"emphasisText",start:{...l[u][1].end},end:{...l[r][1].start}},c={type:g>1?"strong":"emphasis",start:{...d.start},end:{...p.end}},l[u][1].end={...d.start},l[r][1].start={...p.end},h=[],l[u][1].end.offset-l[u][1].start.offset&&(h=cn(h,[["enter",l[u][1],i],["exit",l[u][1],i]])),h=cn(h,[["enter",c,i],["enter",d,i],["exit",d,i],["enter",f,i]]),h=cn(h,Hc(i.parser.constructs.insideSpan.null,l.slice(u+1,r),i)),h=cn(h,[["exit",f,i],["enter",p,i],["exit",p,i],["exit",c,i]]),l[r][1].end.offset-l[r][1].start.offset?(y=2,h=cn(h,[["enter",l[r][1],i],["exit",l[r][1],i]])):y=0,zn(l,u-1,r-u+3,h),r=u+h.length-y-2;break}}for(r=-1;++r<l.length;)l[r][1].type==="attentionSequence"&&(l[r][1].type="data");return l}function Q1(l,i){const r=this.parser.constructs.attentionMarkers.null,u=this.previous,c=yp(u);let f;return d;function d(g){return f=g,l.enter("attentionSequence"),p(g)}function p(g){if(g===f)return l.consume(g),p;const h=l.exit("attentionSequence"),y=yp(g),x=!y||y===2&&c||r.includes(g),E=!c||c===2&&y||r.includes(u);return h._open=!!(f===42?x:x&&(c||!E)),h._close=!!(f===42?E:E&&(y||!x)),i(g)}}function bp(l,i){l.column+=i,l.offset+=i,l._bufferIndex+=i}const Z1={name:"autolink",tokenize:I1};function I1(l,i,r){let u=0;return c;function c(v){return l.enter("autolink"),l.enter("autolinkMarker"),l.consume(v),l.exit("autolinkMarker"),l.enter("autolinkProtocol"),f}function f(v){return wn(v)?(l.consume(v),d):v===64?r(v):h(v)}function d(v){return v===43||v===45||v===46||Wt(v)?(u=1,p(v)):h(v)}function p(v){return v===58?(l.consume(v),u=0,g):(v===43||v===45||v===46||Wt(v))&&u++<32?(l.consume(v),p):(u=0,h(v))}function g(v){return v===62?(l.exit("autolinkProtocol"),l.enter("autolinkMarker"),l.consume(v),l.exit("autolinkMarker"),l.exit("autolink"),i):v===null||v===32||v===60||yc(v)?r(v):(l.consume(v),g)}function h(v){return v===64?(l.consume(v),y):R1(v)?(l.consume(v),h):r(v)}function y(v){return Wt(v)?x(v):r(v)}function x(v){return v===46?(l.consume(v),u=0,y):v===62?(l.exit("autolinkProtocol").type="autolinkEmail",l.enter("autolinkMarker"),l.consume(v),l.exit("autolinkMarker"),l.exit("autolink"),i):E(v)}function E(v){if((v===45||Wt(v))&&u++<63){const q=v===45?E:x;return l.consume(v),q}return r(v)}}const Tu={partial:!0,tokenize:J1};function J1(l,i,r){return u;function u(f){return Ge(f)?et(l,c,"linePrefix")(f):c(f)}function c(f){return f===null||Se(f)?i(f):r(f)}}const vg={continuation:{tokenize:$1},exit:W1,name:"blockQuote",tokenize:F1};function F1(l,i,r){const u=this;return c;function c(d){if(d===62){const p=u.containerState;return p.open||(l.enter("blockQuote",{_container:!0}),p.open=!0),l.enter("blockQuotePrefix"),l.enter("blockQuoteMarker"),l.consume(d),l.exit("blockQuoteMarker"),f}return r(d)}function f(d){return Ge(d)?(l.enter("blockQuotePrefixWhitespace"),l.consume(d),l.exit("blockQuotePrefixWhitespace"),l.exit("blockQuotePrefix"),i):(l.exit("blockQuotePrefix"),i(d))}}function $1(l,i,r){const u=this;return c;function c(d){return Ge(d)?et(l,f,"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(d):f(d)}function f(d){return l.attempt(vg,i,r)(d)}}function W1(l){l.exit("blockQuote")}const Sg={name:"characterEscape",tokenize:P1};function P1(l,i,r){return u;function u(f){return l.enter("characterEscape"),l.enter("escapeMarker"),l.consume(f),l.exit("escapeMarker"),c}function c(f){return U1(f)?(l.enter("characterEscapeValue"),l.consume(f),l.exit("characterEscapeValue"),l.exit("characterEscape"),i):r(f)}}const wg={name:"characterReference",tokenize:ex};function ex(l,i,r){const u=this;let c=0,f,d;return p;function p(x){return l.enter("characterReference"),l.enter("characterReferenceMarker"),l.consume(x),l.exit("characterReferenceMarker"),g}function g(x){return x===35?(l.enter("characterReferenceMarkerNumeric"),l.consume(x),l.exit("characterReferenceMarkerNumeric"),h):(l.enter("characterReferenceValue"),f=31,d=Wt,y(x))}function h(x){return x===88||x===120?(l.enter("characterReferenceMarkerHexadecimal"),l.consume(x),l.exit("characterReferenceMarkerHexadecimal"),l.enter("characterReferenceValue"),f=6,d=L1,y):(l.enter("characterReferenceValue"),f=7,d=bc,y(x))}function y(x){if(x===59&&c){const E=l.exit("characterReferenceValue");return d===Wt&&!Uc(u.sliceSerialize(E))?r(x):(l.enter("characterReferenceMarker"),l.consume(x),l.exit("characterReferenceMarker"),l.exit("characterReference"),i)}return d(x)&&c++<f?(l.consume(x),y):r(x)}}const xp={partial:!0,tokenize:nx},vp={concrete:!0,name:"codeFenced",tokenize:tx};function tx(l,i,r){const u=this,c={partial:!0,tokenize:W};let f=0,d=0,p;return g;function g(U){return h(U)}function h(U){const te=u.events[u.events.length-1];return f=te&&te[1].type==="linePrefix"?te[2].sliceSerialize(te[1],!0).length:0,p=U,l.enter("codeFenced"),l.enter("codeFencedFence"),l.enter("codeFencedFenceSequence"),y(U)}function y(U){return U===p?(d++,l.consume(U),y):d<3?r(U):(l.exit("codeFencedFenceSequence"),Ge(U)?et(l,x,"whitespace")(U):x(U))}function x(U){return U===null||Se(U)?(l.exit("codeFencedFence"),u.interrupt?i(U):l.check(xp,G,xe)(U)):(l.enter("codeFencedFenceInfo"),l.enter("chunkString",{contentType:"string"}),E(U))}function E(U){return U===null||Se(U)?(l.exit("chunkString"),l.exit("codeFencedFenceInfo"),x(U)):Ge(U)?(l.exit("chunkString"),l.exit("codeFencedFenceInfo"),et(l,v,"whitespace")(U)):U===96&&U===p?r(U):(l.consume(U),E)}function v(U){return U===null||Se(U)?x(U):(l.enter("codeFencedFenceMeta"),l.enter("chunkString",{contentType:"string"}),q(U))}function q(U){return U===null||Se(U)?(l.exit("chunkString"),l.exit("codeFencedFenceMeta"),x(U)):U===96&&U===p?r(U):(l.consume(U),q)}function G(U){return l.attempt(c,xe,X)(U)}function X(U){return l.enter("lineEnding"),l.consume(U),l.exit("lineEnding"),R}function R(U){return f>0&&Ge(U)?et(l,ue,"linePrefix",f+1)(U):ue(U)}function ue(U){return U===null||Se(U)?l.check(xp,G,xe)(U):(l.enter("codeFlowValue"),Q(U))}function Q(U){return U===null||Se(U)?(l.exit("codeFlowValue"),ue(U)):(l.consume(U),Q)}function xe(U){return l.exit("codeFenced"),i(U)}function W(U,te,Z){let oe=0;return ve;function ve(I){return U.enter("lineEnding"),U.consume(I),U.exit("lineEnding"),le}function le(I){return U.enter("codeFencedFence"),Ge(I)?et(U,F,"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(I):F(I)}function F(I){return I===p?(U.enter("codeFencedFenceSequence"),he(I)):Z(I)}function he(I){return I===p?(oe++,U.consume(I),he):oe>=d?(U.exit("codeFencedFenceSequence"),Ge(I)?et(U,ae,"whitespace")(I):ae(I)):Z(I)}function ae(I){return I===null||Se(I)?(U.exit("codeFencedFence"),te(I)):Z(I)}}}function nx(l,i,r){const u=this;return c;function c(d){return d===null?r(d):(l.enter("lineEnding"),l.consume(d),l.exit("lineEnding"),f)}function f(d){return u.parser.lazy[u.now().line]?r(d):i(d)}}const $s={name:"codeIndented",tokenize:ax},lx={partial:!0,tokenize:ix};function ax(l,i,r){const u=this;return c;function c(h){return l.enter("codeIndented"),et(l,f,"linePrefix",5)(h)}function f(h){const y=u.events[u.events.length-1];return y&&y[1].type==="linePrefix"&&y[2].sliceSerialize(y[1],!0).length>=4?d(h):r(h)}function d(h){return h===null?g(h):Se(h)?l.attempt(lx,d,g)(h):(l.enter("codeFlowValue"),p(h))}function p(h){return h===null||Se(h)?(l.exit("codeFlowValue"),d(h)):(l.consume(h),p)}function g(h){return l.exit("codeIndented"),i(h)}}function ix(l,i,r){const u=this;return c;function c(d){return u.parser.lazy[u.now().line]?r(d):Se(d)?(l.enter("lineEnding"),l.consume(d),l.exit("lineEnding"),c):et(l,f,"linePrefix",5)(d)}function f(d){const p=u.events[u.events.length-1];return p&&p[1].type==="linePrefix"&&p[2].sliceSerialize(p[1],!0).length>=4?i(d):Se(d)?c(d):r(d)}}const rx={name:"codeText",previous:ox,resolve:ux,tokenize:sx};function ux(l){let i=l.length-4,r=3,u,c;if((l[r][1].type==="lineEnding"||l[r][1].type==="space")&&(l[i][1].type==="lineEnding"||l[i][1].type==="space")){for(u=r;++u<i;)if(l[u][1].type==="codeTextData"){l[r][1].type="codeTextPadding",l[i][1].type="codeTextPadding",r+=2,i-=2;break}}for(u=r-1,i++;++u<=i;)c===void 0?u!==i&&l[u][1].type!=="lineEnding"&&(c=u):(u===i||l[u][1].type==="lineEnding")&&(l[c][1].type="codeTextData",u!==c+2&&(l[c][1].end=l[u-1][1].end,l.splice(c+2,u-c-2),i-=u-c-2,u=c+2),c=void 0);return l}function ox(l){return l!==96||this.events[this.events.length-1][1].type==="characterEscape"}function sx(l,i,r){let u=0,c,f;return d;function d(x){return l.enter("codeText"),l.enter("codeTextSequence"),p(x)}function p(x){return x===96?(l.consume(x),u++,p):(l.exit("codeTextSequence"),g(x))}function g(x){return x===null?r(x):x===32?(l.enter("space"),l.consume(x),l.exit("space"),g):x===96?(f=l.enter("codeTextSequence"),c=0,y(x)):Se(x)?(l.enter("lineEnding"),l.consume(x),l.exit("lineEnding"),g):(l.enter("codeTextData"),h(x))}function h(x){return x===null||x===32||x===96||Se(x)?(l.exit("codeTextData"),g(x)):(l.consume(x),h)}function y(x){return x===96?(l.consume(x),c++,y):c===u?(l.exit("codeTextSequence"),l.exit("codeText"),i(x)):(f.type="codeTextData",h(x))}}class cx{constructor(i){this.left=i?[...i]:[],this.right=[]}get(i){if(i<0||i>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+i+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return i<this.left.length?this.left[i]:this.right[this.right.length-i+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(i,r){const u=r??Number.POSITIVE_INFINITY;return u<this.left.length?this.left.slice(i,u):i>this.left.length?this.right.slice(this.right.length-u+this.left.length,this.right.length-i+this.left.length).reverse():this.left.slice(i).concat(this.right.slice(this.right.length-u+this.left.length).reverse())}splice(i,r,u){const c=r||0;this.setCursor(Math.trunc(i));const f=this.right.splice(this.right.length-c,Number.POSITIVE_INFINITY);return u&&Gi(this.left,u),f.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(i){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(i)}pushMany(i){this.setCursor(Number.POSITIVE_INFINITY),Gi(this.left,i)}unshift(i){this.setCursor(0),this.right.push(i)}unshiftMany(i){this.setCursor(0),Gi(this.right,i.reverse())}setCursor(i){if(!(i===this.left.length||i>this.left.length&&this.right.length===0||i<0&&this.left.length===0))if(i<this.left.length){const r=this.left.splice(i,Number.POSITIVE_INFINITY);Gi(this.right,r.reverse())}else{const r=this.right.splice(this.left.length+this.right.length-i,Number.POSITIVE_INFINITY);Gi(this.left,r.reverse())}}}function Gi(l,i){let r=0;if(i.length<1e4)l.push(...i);else for(;r<i.length;)l.push(...i.slice(r,r+1e4)),r+=1e4}function zg(l){const i={};let r=-1,u,c,f,d,p,g,h;const y=new cx(l);for(;++r<y.length;){for(;r in i;)r=i[r];if(u=y.get(r),r&&u[1].type==="chunkFlow"&&y.get(r-1)[1].type==="listItemPrefix"&&(g=u[1]._tokenizer.events,f=0,f<g.length&&g[f][1].type==="lineEndingBlank"&&(f+=2),f<g.length&&g[f][1].type==="content"))for(;++f<g.length&&g[f][1].type!=="content";)g[f][1].type==="chunkText"&&(g[f][1]._isInFirstContentOfListItem=!0,f++);if(u[0]==="enter")u[1].contentType&&(Object.assign(i,fx(y,r)),r=i[r],h=!0);else if(u[1]._container){for(f=r,c=void 0;f--;)if(d=y.get(f),d[1].type==="lineEnding"||d[1].type==="lineEndingBlank")d[0]==="enter"&&(c&&(y.get(c)[1].type="lineEndingBlank"),d[1].type="lineEnding",c=f);else if(!(d[1].type==="linePrefix"||d[1].type==="listItemIndent"))break;c&&(u[1].end={...y.get(c)[1].start},p=y.slice(c,r),p.unshift(u),y.splice(c,r-c+1,p))}}return zn(l,0,Number.POSITIVE_INFINITY,y.slice(0)),!h}function fx(l,i){const r=l.get(i)[1],u=l.get(i)[2];let c=i-1;const f=[];let d=r._tokenizer;d||(d=u.parser[r.contentType](r.start),r._contentTypeTextTrailing&&(d._contentTypeTextTrailing=!0));const p=d.events,g=[],h={};let y,x,E=-1,v=r,q=0,G=0;const X=[G];for(;v;){for(;l.get(++c)[1]!==v;);f.push(c),v._tokenizer||(y=u.sliceStream(v),v.next||y.push(null),x&&d.defineSkip(v.start),v._isInFirstContentOfListItem&&(d._gfmTasklistFirstContentOfListItem=!0),d.write(y),v._isInFirstContentOfListItem&&(d._gfmTasklistFirstContentOfListItem=void 0)),x=v,v=v.next}for(v=r;++E<p.length;)p[E][0]==="exit"&&p[E-1][0]==="enter"&&p[E][1].type===p[E-1][1].type&&p[E][1].start.line!==p[E][1].end.line&&(G=E+1,X.push(G),v._tokenizer=void 0,v.previous=void 0,v=v.next);for(d.events=[],v?(v._tokenizer=void 0,v.previous=void 0):X.pop(),E=X.length;E--;){const R=p.slice(X[E],X[E+1]),ue=f.pop();g.push([ue,ue+R.length-1]),l.splice(ue,2,R)}for(g.reverse(),E=-1;++E<g.length;)h[q+g[E][0]]=q+g[E][1],q+=g[E][1]-g[E][0]-1;return h}const dx={resolve:hx,tokenize:px},mx={partial:!0,tokenize:gx};function hx(l){return zg(l),l}function px(l,i){let r;return u;function u(p){return l.enter("content"),r=l.enter("chunkContent",{contentType:"content"}),c(p)}function c(p){return p===null?f(p):Se(p)?l.check(mx,d,f)(p):(l.consume(p),c)}function f(p){return l.exit("chunkContent"),l.exit("content"),i(p)}function d(p){return l.consume(p),l.exit("chunkContent"),r.next=l.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,c}}function gx(l,i,r){const u=this;return c;function c(d){return l.exit("chunkContent"),l.enter("lineEnding"),l.consume(d),l.exit("lineEnding"),et(l,f,"linePrefix")}function f(d){if(d===null||Se(d))return r(d);const p=u.events[u.events.length-1];return!u.parser.constructs.disable.null.includes("codeIndented")&&p&&p[1].type==="linePrefix"&&p[2].sliceSerialize(p[1],!0).length>=4?i(d):l.interrupt(u.parser.constructs.flow,r,i)(d)}}function Eg(l,i,r,u,c,f,d,p,g){const h=g||Number.POSITIVE_INFINITY;let y=0;return x;function x(R){return R===60?(l.enter(u),l.enter(c),l.enter(f),l.consume(R),l.exit(f),E):R===null||R===32||R===41||yc(R)?r(R):(l.enter(u),l.enter(d),l.enter(p),l.enter("chunkString",{contentType:"string"}),G(R))}function E(R){return R===62?(l.enter(f),l.consume(R),l.exit(f),l.exit(c),l.exit(u),i):(l.enter(p),l.enter("chunkString",{contentType:"string"}),v(R))}function v(R){return R===62?(l.exit("chunkString"),l.exit(p),E(R)):R===null||R===60||Se(R)?r(R):(l.consume(R),R===92?q:v)}function q(R){return R===60||R===62||R===92?(l.consume(R),v):v(R)}function G(R){return!y&&(R===null||R===41||qt(R))?(l.exit("chunkString"),l.exit(p),l.exit(d),l.exit(u),i(R)):y<h&&R===40?(l.consume(R),y++,G):R===41?(l.consume(R),y--,G):R===null||R===32||R===40||yc(R)?r(R):(l.consume(R),R===92?X:G)}function X(R){return R===40||R===41||R===92?(l.consume(R),G):G(R)}}function Ag(l,i,r,u,c,f){const d=this;let p=0,g;return h;function h(v){return l.enter(u),l.enter(c),l.consume(v),l.exit(c),l.enter(f),y}function y(v){return p>999||v===null||v===91||v===93&&!g||v===94&&!p&&"_hiddenFootnoteSupport"in d.parser.constructs?r(v):v===93?(l.exit(f),l.enter(c),l.consume(v),l.exit(c),l.exit(u),i):Se(v)?(l.enter("lineEnding"),l.consume(v),l.exit("lineEnding"),y):(l.enter("chunkString",{contentType:"string"}),x(v))}function x(v){return v===null||v===91||v===93||Se(v)||p++>999?(l.exit("chunkString"),y(v)):(l.consume(v),g||(g=!Ge(v)),v===92?E:x)}function E(v){return v===91||v===92||v===93?(l.consume(v),p++,x):x(v)}}function Tg(l,i,r,u,c,f){let d;return p;function p(E){return E===34||E===39||E===40?(l.enter(u),l.enter(c),l.consume(E),l.exit(c),d=E===40?41:E,g):r(E)}function g(E){return E===d?(l.enter(c),l.consume(E),l.exit(c),l.exit(u),i):(l.enter(f),h(E))}function h(E){return E===d?(l.exit(f),g(d)):E===null?r(E):Se(E)?(l.enter("lineEnding"),l.consume(E),l.exit("lineEnding"),et(l,h,"linePrefix")):(l.enter("chunkString",{contentType:"string"}),y(E))}function y(E){return E===d||E===null||Se(E)?(l.exit("chunkString"),h(E)):(l.consume(E),E===92?x:y)}function x(E){return E===d||E===92?(l.consume(E),y):y(E)}}function Qi(l,i){let r;return u;function u(c){return Se(c)?(l.enter("lineEnding"),l.consume(c),l.exit("lineEnding"),r=!0,u):Ge(c)?et(l,u,r?"linePrefix":"lineSuffix")(c):i(c)}}const yx={name:"definition",tokenize:xx},bx={partial:!0,tokenize:vx};function xx(l,i,r){const u=this;let c;return f;function f(v){return l.enter("definition"),d(v)}function d(v){return Ag.call(u,l,p,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(v)}function p(v){return c=Ba(u.sliceSerialize(u.events[u.events.length-1][1]).slice(1,-1)),v===58?(l.enter("definitionMarker"),l.consume(v),l.exit("definitionMarker"),g):r(v)}function g(v){return qt(v)?Qi(l,h)(v):h(v)}function h(v){return Eg(l,y,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(v)}function y(v){return l.attempt(bx,x,x)(v)}function x(v){return Ge(v)?et(l,E,"whitespace")(v):E(v)}function E(v){return v===null||Se(v)?(l.exit("definition"),u.parser.defined.push(c),i(v)):r(v)}}function vx(l,i,r){return u;function u(p){return qt(p)?Qi(l,c)(p):r(p)}function c(p){return Tg(l,f,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(p)}function f(p){return Ge(p)?et(l,d,"whitespace")(p):d(p)}function d(p){return p===null||Se(p)?i(p):r(p)}}const Sx={name:"hardBreakEscape",tokenize:wx};function wx(l,i,r){return u;function u(f){return l.enter("hardBreakEscape"),l.consume(f),c}function c(f){return Se(f)?(l.exit("hardBreakEscape"),i(f)):r(f)}}const zx={name:"headingAtx",resolve:Ex,tokenize:Ax};function Ex(l,i){let r=l.length-2,u=3,c,f;return l[u][1].type==="whitespace"&&(u+=2),r-2>u&&l[r][1].type==="whitespace"&&(r-=2),l[r][1].type==="atxHeadingSequence"&&(u===r-1||r-4>u&&l[r-2][1].type==="whitespace")&&(r-=u+1===r?2:4),r>u&&(c={type:"atxHeadingText",start:l[u][1].start,end:l[r][1].end},f={type:"chunkText",start:l[u][1].start,end:l[r][1].end,contentType:"text"},zn(l,u,r-u+1,[["enter",c,i],["enter",f,i],["exit",f,i],["exit",c,i]])),l}function Ax(l,i,r){let u=0;return c;function c(y){return l.enter("atxHeading"),f(y)}function f(y){return l.enter("atxHeadingSequence"),d(y)}function d(y){return y===35&&u++<6?(l.consume(y),d):y===null||qt(y)?(l.exit("atxHeadingSequence"),p(y)):r(y)}function p(y){return y===35?(l.enter("atxHeadingSequence"),g(y)):y===null||Se(y)?(l.exit("atxHeading"),i(y)):Ge(y)?et(l,p,"whitespace")(y):(l.enter("atxHeadingText"),h(y))}function g(y){return y===35?(l.consume(y),g):(l.exit("atxHeadingSequence"),p(y))}function h(y){return y===null||y===35||qt(y)?(l.exit("atxHeadingText"),p(y)):(l.consume(y),h)}}const Tx=["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"],Sp=["pre","script","style","textarea"],kx={concrete:!0,name:"htmlFlow",resolveTo:_x,tokenize:Mx},Nx={partial:!0,tokenize:jx},Cx={partial:!0,tokenize:Ox};function _x(l){let i=l.length;for(;i--&&!(l[i][0]==="enter"&&l[i][1].type==="htmlFlow"););return i>1&&l[i-2][1].type==="linePrefix"&&(l[i][1].start=l[i-2][1].start,l[i+1][1].start=l[i-2][1].start,l.splice(i-2,2)),l}function Mx(l,i,r){const u=this;let c,f,d,p,g;return h;function h(w){return y(w)}function y(w){return l.enter("htmlFlow"),l.enter("htmlFlowData"),l.consume(w),x}function x(w){return w===33?(l.consume(w),E):w===47?(l.consume(w),f=!0,G):w===63?(l.consume(w),c=3,u.interrupt?i:S):wn(w)?(l.consume(w),d=String.fromCharCode(w),X):r(w)}function E(w){return w===45?(l.consume(w),c=2,v):w===91?(l.consume(w),c=5,p=0,q):wn(w)?(l.consume(w),c=4,u.interrupt?i:S):r(w)}function v(w){return w===45?(l.consume(w),u.interrupt?i:S):r(w)}function q(w){const ee="CDATA[";return w===ee.charCodeAt(p++)?(l.consume(w),p===ee.length?u.interrupt?i:F:q):r(w)}function G(w){return wn(w)?(l.consume(w),d=String.fromCharCode(w),X):r(w)}function X(w){if(w===null||w===47||w===62||qt(w)){const ee=w===47,re=d.toLowerCase();return!ee&&!f&&Sp.includes(re)?(c=1,u.interrupt?i(w):F(w)):Tx.includes(d.toLowerCase())?(c=6,ee?(l.consume(w),R):u.interrupt?i(w):F(w)):(c=7,u.interrupt&&!u.parser.lazy[u.now().line]?r(w):f?ue(w):Q(w))}return w===45||Wt(w)?(l.consume(w),d+=String.fromCharCode(w),X):r(w)}function R(w){return w===62?(l.consume(w),u.interrupt?i:F):r(w)}function ue(w){return Ge(w)?(l.consume(w),ue):ve(w)}function Q(w){return w===47?(l.consume(w),ve):w===58||w===95||wn(w)?(l.consume(w),xe):Ge(w)?(l.consume(w),Q):ve(w)}function xe(w){return w===45||w===46||w===58||w===95||Wt(w)?(l.consume(w),xe):W(w)}function W(w){return w===61?(l.consume(w),U):Ge(w)?(l.consume(w),W):Q(w)}function U(w){return w===null||w===60||w===61||w===62||w===96?r(w):w===34||w===39?(l.consume(w),g=w,te):Ge(w)?(l.consume(w),U):Z(w)}function te(w){return w===g?(l.consume(w),g=null,oe):w===null||Se(w)?r(w):(l.consume(w),te)}function Z(w){return w===null||w===34||w===39||w===47||w===60||w===61||w===62||w===96||qt(w)?W(w):(l.consume(w),Z)}function oe(w){return w===47||w===62||Ge(w)?Q(w):r(w)}function ve(w){return w===62?(l.consume(w),le):r(w)}function le(w){return w===null||Se(w)?F(w):Ge(w)?(l.consume(w),le):r(w)}function F(w){return w===45&&c===2?(l.consume(w),C):w===60&&c===1?(l.consume(w),K):w===62&&c===4?(l.consume(w),T):w===63&&c===3?(l.consume(w),S):w===93&&c===5?(l.consume(w),we):Se(w)&&(c===6||c===7)?(l.exit("htmlFlowData"),l.check(Nx,L,he)(w)):w===null||Se(w)?(l.exit("htmlFlowData"),he(w)):(l.consume(w),F)}function he(w){return l.check(Cx,ae,L)(w)}function ae(w){return l.enter("lineEnding"),l.consume(w),l.exit("lineEnding"),I}function I(w){return w===null||Se(w)?he(w):(l.enter("htmlFlowData"),F(w))}function C(w){return w===45?(l.consume(w),S):F(w)}function K(w){return w===47?(l.consume(w),d="",ie):F(w)}function ie(w){if(w===62){const ee=d.toLowerCase();return Sp.includes(ee)?(l.consume(w),T):F(w)}return wn(w)&&d.length<8?(l.consume(w),d+=String.fromCharCode(w),ie):F(w)}function we(w){return w===93?(l.consume(w),S):F(w)}function S(w){return w===62?(l.consume(w),T):w===45&&c===2?(l.consume(w),S):F(w)}function T(w){return w===null||Se(w)?(l.exit("htmlFlowData"),L(w)):(l.consume(w),T)}function L(w){return l.exit("htmlFlow"),i(w)}}function Ox(l,i,r){const u=this;return c;function c(d){return Se(d)?(l.enter("lineEnding"),l.consume(d),l.exit("lineEnding"),f):r(d)}function f(d){return u.parser.lazy[u.now().line]?r(d):i(d)}}function jx(l,i,r){return u;function u(c){return l.enter("lineEnding"),l.consume(c),l.exit("lineEnding"),l.attempt(Tu,i,r)}}const Dx={name:"htmlText",tokenize:Rx};function Rx(l,i,r){const u=this;let c,f,d;return p;function p(S){return l.enter("htmlText"),l.enter("htmlTextData"),l.consume(S),g}function g(S){return S===33?(l.consume(S),h):S===47?(l.consume(S),W):S===63?(l.consume(S),Q):wn(S)?(l.consume(S),Z):r(S)}function h(S){return S===45?(l.consume(S),y):S===91?(l.consume(S),f=0,q):wn(S)?(l.consume(S),ue):r(S)}function y(S){return S===45?(l.consume(S),v):r(S)}function x(S){return S===null?r(S):S===45?(l.consume(S),E):Se(S)?(d=x,K(S)):(l.consume(S),x)}function E(S){return S===45?(l.consume(S),v):x(S)}function v(S){return S===62?C(S):S===45?E(S):x(S)}function q(S){const T="CDATA[";return S===T.charCodeAt(f++)?(l.consume(S),f===T.length?G:q):r(S)}function G(S){return S===null?r(S):S===93?(l.consume(S),X):Se(S)?(d=G,K(S)):(l.consume(S),G)}function X(S){return S===93?(l.consume(S),R):G(S)}function R(S){return S===62?C(S):S===93?(l.consume(S),R):G(S)}function ue(S){return S===null||S===62?C(S):Se(S)?(d=ue,K(S)):(l.consume(S),ue)}function Q(S){return S===null?r(S):S===63?(l.consume(S),xe):Se(S)?(d=Q,K(S)):(l.consume(S),Q)}function xe(S){return S===62?C(S):Q(S)}function W(S){return wn(S)?(l.consume(S),U):r(S)}function U(S){return S===45||Wt(S)?(l.consume(S),U):te(S)}function te(S){return Se(S)?(d=te,K(S)):Ge(S)?(l.consume(S),te):C(S)}function Z(S){return S===45||Wt(S)?(l.consume(S),Z):S===47||S===62||qt(S)?oe(S):r(S)}function oe(S){return S===47?(l.consume(S),C):S===58||S===95||wn(S)?(l.consume(S),ve):Se(S)?(d=oe,K(S)):Ge(S)?(l.consume(S),oe):C(S)}function ve(S){return S===45||S===46||S===58||S===95||Wt(S)?(l.consume(S),ve):le(S)}function le(S){return S===61?(l.consume(S),F):Se(S)?(d=le,K(S)):Ge(S)?(l.consume(S),le):oe(S)}function F(S){return S===null||S===60||S===61||S===62||S===96?r(S):S===34||S===39?(l.consume(S),c=S,he):Se(S)?(d=F,K(S)):Ge(S)?(l.consume(S),F):(l.consume(S),ae)}function he(S){return S===c?(l.consume(S),c=void 0,I):S===null?r(S):Se(S)?(d=he,K(S)):(l.consume(S),he)}function ae(S){return S===null||S===34||S===39||S===60||S===61||S===96?r(S):S===47||S===62||qt(S)?oe(S):(l.consume(S),ae)}function I(S){return S===47||S===62||qt(S)?oe(S):r(S)}function C(S){return S===62?(l.consume(S),l.exit("htmlTextData"),l.exit("htmlText"),i):r(S)}function K(S){return l.exit("htmlTextData"),l.enter("lineEnding"),l.consume(S),l.exit("lineEnding"),ie}function ie(S){return Ge(S)?et(l,we,"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(S):we(S)}function we(S){return l.enter("htmlTextData"),d(S)}}const Bc={name:"labelEnd",resolveAll:Bx,resolveTo:qx,tokenize:Gx},Lx={tokenize:Yx},Ux={tokenize:Vx},Hx={tokenize:Kx};function Bx(l){let i=-1;const r=[];for(;++i<l.length;){const u=l[i][1];if(r.push(l[i]),u.type==="labelImage"||u.type==="labelLink"||u.type==="labelEnd"){const c=u.type==="labelImage"?4:2;u.type="data",i+=c}}return l.length!==r.length&&zn(l,0,l.length,r),l}function qx(l,i){let r=l.length,u=0,c,f,d,p;for(;r--;)if(c=l[r][1],f){if(c.type==="link"||c.type==="labelLink"&&c._inactive)break;l[r][0]==="enter"&&c.type==="labelLink"&&(c._inactive=!0)}else if(d){if(l[r][0]==="enter"&&(c.type==="labelImage"||c.type==="labelLink")&&!c._balanced&&(f=r,c.type!=="labelLink")){u=2;break}}else c.type==="labelEnd"&&(d=r);const g={type:l[f][1].type==="labelLink"?"link":"image",start:{...l[f][1].start},end:{...l[l.length-1][1].end}},h={type:"label",start:{...l[f][1].start},end:{...l[d][1].end}},y={type:"labelText",start:{...l[f+u+2][1].end},end:{...l[d-2][1].start}};return p=[["enter",g,i],["enter",h,i]],p=cn(p,l.slice(f+1,f+u+3)),p=cn(p,[["enter",y,i]]),p=cn(p,Hc(i.parser.constructs.insideSpan.null,l.slice(f+u+4,d-3),i)),p=cn(p,[["exit",y,i],l[d-2],l[d-1],["exit",h,i]]),p=cn(p,l.slice(d+1)),p=cn(p,[["exit",g,i]]),zn(l,f,l.length,p),l}function Gx(l,i,r){const u=this;let c=u.events.length,f,d;for(;c--;)if((u.events[c][1].type==="labelImage"||u.events[c][1].type==="labelLink")&&!u.events[c][1]._balanced){f=u.events[c][1];break}return p;function p(E){return f?f._inactive?x(E):(d=u.parser.defined.includes(Ba(u.sliceSerialize({start:f.end,end:u.now()}))),l.enter("labelEnd"),l.enter("labelMarker"),l.consume(E),l.exit("labelMarker"),l.exit("labelEnd"),g):r(E)}function g(E){return E===40?l.attempt(Lx,y,d?y:x)(E):E===91?l.attempt(Ux,y,d?h:x)(E):d?y(E):x(E)}function h(E){return l.attempt(Hx,y,x)(E)}function y(E){return i(E)}function x(E){return f._balanced=!0,r(E)}}function Yx(l,i,r){return u;function u(x){return l.enter("resource"),l.enter("resourceMarker"),l.consume(x),l.exit("resourceMarker"),c}function c(x){return qt(x)?Qi(l,f)(x):f(x)}function f(x){return x===41?y(x):Eg(l,d,p,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(x)}function d(x){return qt(x)?Qi(l,g)(x):y(x)}function p(x){return r(x)}function g(x){return x===34||x===39||x===40?Tg(l,h,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(x):y(x)}function h(x){return qt(x)?Qi(l,y)(x):y(x)}function y(x){return x===41?(l.enter("resourceMarker"),l.consume(x),l.exit("resourceMarker"),l.exit("resource"),i):r(x)}}function Vx(l,i,r){const u=this;return c;function c(p){return Ag.call(u,l,f,d,"reference","referenceMarker","referenceString")(p)}function f(p){return u.parser.defined.includes(Ba(u.sliceSerialize(u.events[u.events.length-1][1]).slice(1,-1)))?i(p):r(p)}function d(p){return r(p)}}function Kx(l,i,r){return u;function u(f){return l.enter("reference"),l.enter("referenceMarker"),l.consume(f),l.exit("referenceMarker"),c}function c(f){return f===93?(l.enter("referenceMarker"),l.consume(f),l.exit("referenceMarker"),l.exit("reference"),i):r(f)}}const Xx={name:"labelStartImage",resolveAll:Bc.resolveAll,tokenize:Qx};function Qx(l,i,r){const u=this;return c;function c(p){return l.enter("labelImage"),l.enter("labelImageMarker"),l.consume(p),l.exit("labelImageMarker"),f}function f(p){return p===91?(l.enter("labelMarker"),l.consume(p),l.exit("labelMarker"),l.exit("labelImage"),d):r(p)}function d(p){return p===94&&"_hiddenFootnoteSupport"in u.parser.constructs?r(p):i(p)}}const Zx={name:"labelStartLink",resolveAll:Bc.resolveAll,tokenize:Ix};function Ix(l,i,r){const u=this;return c;function c(d){return l.enter("labelLink"),l.enter("labelMarker"),l.consume(d),l.exit("labelMarker"),l.exit("labelLink"),f}function f(d){return d===94&&"_hiddenFootnoteSupport"in u.parser.constructs?r(d):i(d)}}const Ws={name:"lineEnding",tokenize:Jx};function Jx(l,i){return r;function r(u){return l.enter("lineEnding"),l.consume(u),l.exit("lineEnding"),et(l,i,"linePrefix")}}const bu={name:"thematicBreak",tokenize:Fx};function Fx(l,i,r){let u=0,c;return f;function f(h){return l.enter("thematicBreak"),d(h)}function d(h){return c=h,p(h)}function p(h){return h===c?(l.enter("thematicBreakSequence"),g(h)):u>=3&&(h===null||Se(h))?(l.exit("thematicBreak"),i(h)):r(h)}function g(h){return h===c?(l.consume(h),u++,g):(l.exit("thematicBreakSequence"),Ge(h)?et(l,p,"whitespace")(h):p(h))}}const Bt={continuation:{tokenize:ev},exit:nv,name:"list",tokenize:Px},$x={partial:!0,tokenize:lv},Wx={partial:!0,tokenize:tv};function Px(l,i,r){const u=this,c=u.events[u.events.length-1];let f=c&&c[1].type==="linePrefix"?c[2].sliceSerialize(c[1],!0).length:0,d=0;return p;function p(v){const q=u.containerState.type||(v===42||v===43||v===45?"listUnordered":"listOrdered");if(q==="listUnordered"?!u.containerState.marker||v===u.containerState.marker:bc(v)){if(u.containerState.type||(u.containerState.type=q,l.enter(q,{_container:!0})),q==="listUnordered")return l.enter("listItemPrefix"),v===42||v===45?l.check(bu,r,h)(v):h(v);if(!u.interrupt||v===49)return l.enter("listItemPrefix"),l.enter("listItemValue"),g(v)}return r(v)}function g(v){return bc(v)&&++d<10?(l.consume(v),g):(!u.interrupt||d<2)&&(u.containerState.marker?v===u.containerState.marker:v===41||v===46)?(l.exit("listItemValue"),h(v)):r(v)}function h(v){return l.enter("listItemMarker"),l.consume(v),l.exit("listItemMarker"),u.containerState.marker=u.containerState.marker||v,l.check(Tu,u.interrupt?r:y,l.attempt($x,E,x))}function y(v){return u.containerState.initialBlankLine=!0,f++,E(v)}function x(v){return Ge(v)?(l.enter("listItemPrefixWhitespace"),l.consume(v),l.exit("listItemPrefixWhitespace"),E):r(v)}function E(v){return u.containerState.size=f+u.sliceSerialize(l.exit("listItemPrefix"),!0).length,i(v)}}function ev(l,i,r){const u=this;return u.containerState._closeFlow=void 0,l.check(Tu,c,f);function c(p){return u.containerState.furtherBlankLines=u.containerState.furtherBlankLines||u.containerState.initialBlankLine,et(l,i,"listItemIndent",u.containerState.size+1)(p)}function f(p){return u.containerState.furtherBlankLines||!Ge(p)?(u.containerState.furtherBlankLines=void 0,u.containerState.initialBlankLine=void 0,d(p)):(u.containerState.furtherBlankLines=void 0,u.containerState.initialBlankLine=void 0,l.attempt(Wx,i,d)(p))}function d(p){return u.containerState._closeFlow=!0,u.interrupt=void 0,et(l,l.attempt(Bt,i,r),"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(p)}}function tv(l,i,r){const u=this;return et(l,c,"listItemIndent",u.containerState.size+1);function c(f){const d=u.events[u.events.length-1];return d&&d[1].type==="listItemIndent"&&d[2].sliceSerialize(d[1],!0).length===u.containerState.size?i(f):r(f)}}function nv(l){l.exit(this.containerState.type)}function lv(l,i,r){const u=this;return et(l,c,"listItemPrefixWhitespace",u.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function c(f){const d=u.events[u.events.length-1];return!Ge(f)&&d&&d[1].type==="listItemPrefixWhitespace"?i(f):r(f)}}const wp={name:"setextUnderline",resolveTo:av,tokenize:iv};function av(l,i){let r=l.length,u,c,f;for(;r--;)if(l[r][0]==="enter"){if(l[r][1].type==="content"){u=r;break}l[r][1].type==="paragraph"&&(c=r)}else l[r][1].type==="content"&&l.splice(r,1),!f&&l[r][1].type==="definition"&&(f=r);const d={type:"setextHeading",start:{...l[u][1].start},end:{...l[l.length-1][1].end}};return l[c][1].type="setextHeadingText",f?(l.splice(c,0,["enter",d,i]),l.splice(f+1,0,["exit",l[u][1],i]),l[u][1].end={...l[f][1].end}):l[u][1]=d,l.push(["exit",d,i]),l}function iv(l,i,r){const u=this;let c;return f;function f(h){let y=u.events.length,x;for(;y--;)if(u.events[y][1].type!=="lineEnding"&&u.events[y][1].type!=="linePrefix"&&u.events[y][1].type!=="content"){x=u.events[y][1].type==="paragraph";break}return!u.parser.lazy[u.now().line]&&(u.interrupt||x)?(l.enter("setextHeadingLine"),c=h,d(h)):r(h)}function d(h){return l.enter("setextHeadingLineSequence"),p(h)}function p(h){return h===c?(l.consume(h),p):(l.exit("setextHeadingLineSequence"),Ge(h)?et(l,g,"lineSuffix")(h):g(h))}function g(h){return h===null||Se(h)?(l.exit("setextHeadingLine"),i(h)):r(h)}}const rv={tokenize:uv};function uv(l){const i=this,r=l.attempt(Tu,u,l.attempt(this.parser.constructs.flowInitial,c,et(l,l.attempt(this.parser.constructs.flow,c,l.attempt(dx,c)),"linePrefix")));return r;function u(f){if(f===null){l.consume(f);return}return l.enter("lineEndingBlank"),l.consume(f),l.exit("lineEndingBlank"),i.currentConstruct=void 0,r}function c(f){if(f===null){l.consume(f);return}return l.enter("lineEnding"),l.consume(f),l.exit("lineEnding"),i.currentConstruct=void 0,r}}const ov={resolveAll:Ng()},sv=kg("string"),cv=kg("text");function kg(l){return{resolveAll:Ng(l==="text"?fv:void 0),tokenize:i};function i(r){const u=this,c=this.parser.constructs[l],f=r.attempt(c,d,p);return d;function d(y){return h(y)?f(y):p(y)}function p(y){if(y===null){r.consume(y);return}return r.enter("data"),r.consume(y),g}function g(y){return h(y)?(r.exit("data"),f(y)):(r.consume(y),g)}function h(y){if(y===null)return!0;const x=c[y];let E=-1;if(x)for(;++E<x.length;){const v=x[E];if(!v.previous||v.previous.call(u,u.previous))return!0}return!1}}}function Ng(l){return i;function i(r,u){let c=-1,f;for(;++c<=r.length;)f===void 0?r[c]&&r[c][1].type==="data"&&(f=c,c++):(!r[c]||r[c][1].type!=="data")&&(c!==f+2&&(r[f][1].end=r[c-1][1].end,r.splice(f+2,c-f-2),c=f+2),f=void 0);return l?l(r,u):r}}function fv(l,i){let r=0;for(;++r<=l.length;)if((r===l.length||l[r][1].type==="lineEnding")&&l[r-1][1].type==="data"){const u=l[r-1][1],c=i.sliceStream(u);let f=c.length,d=-1,p=0,g;for(;f--;){const h=c[f];if(typeof h=="string"){for(d=h.length;h.charCodeAt(d-1)===32;)p++,d--;if(d)break;d=-1}else if(h===-2)g=!0,p++;else if(h!==-1){f++;break}}if(i._contentTypeTextTrailing&&r===l.length&&(p=0),p){const h={type:r===l.length||g||p<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:f?d:u.start._bufferIndex+d,_index:u.start._index+f,line:u.end.line,column:u.end.column-p,offset:u.end.offset-p},end:{...u.end}};u.end={...h.start},u.start.offset===u.end.offset?Object.assign(u,h):(l.splice(r,0,["enter",h,i],["exit",h,i]),r+=2)}r++}return l}const dv={42:Bt,43:Bt,45:Bt,48:Bt,49:Bt,50:Bt,51:Bt,52:Bt,53:Bt,54:Bt,55:Bt,56:Bt,57:Bt,62:vg},mv={91:yx},hv={[-2]:$s,[-1]:$s,32:$s},pv={35:zx,42:bu,45:[wp,bu],60:kx,61:wp,95:bu,96:vp,126:vp},gv={38:wg,92:Sg},yv={[-5]:Ws,[-4]:Ws,[-3]:Ws,33:Xx,38:wg,42:xc,60:[Z1,Dx],91:Zx,92:[Sx,Sg],93:Bc,95:xc,96:rx},bv={null:[xc,ov]},xv={null:[42,95]},vv={null:[]},Sv=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:xv,contentInitial:mv,disable:vv,document:dv,flow:pv,flowInitial:hv,insideSpan:bv,string:gv,text:yv},Symbol.toStringTag,{value:"Module"}));function wv(l,i,r){let u={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0};const c={},f=[];let d=[],p=[];const g={attempt:te(W),check:te(U),consume:ue,enter:Q,exit:xe,interrupt:te(U,{interrupt:!0})},h={code:null,containerState:{},defineSkip:G,events:[],now:q,parser:l,previous:null,sliceSerialize:E,sliceStream:v,write:x};let y=i.tokenize.call(h,g);return i.resolveAll&&f.push(i),h;function x(le){return d=cn(d,le),X(),d[d.length-1]!==null?[]:(Z(i,0),h.events=Hc(f,h.events,h),h.events)}function E(le,F){return Ev(v(le),F)}function v(le){return zv(d,le)}function q(){const{_bufferIndex:le,_index:F,line:he,column:ae,offset:I}=u;return{_bufferIndex:le,_index:F,line:he,column:ae,offset:I}}function G(le){c[le.line]=le.column,ve()}function X(){let le;for(;u._index<d.length;){const F=d[u._index];if(typeof F=="string")for(le=u._index,u._bufferIndex<0&&(u._bufferIndex=0);u._index===le&&u._bufferIndex<F.length;)R(F.charCodeAt(u._bufferIndex));else R(F)}}function R(le){y=y(le)}function ue(le){Se(le)?(u.line++,u.column=1,u.offset+=le===-3?2:1,ve()):le!==-1&&(u.column++,u.offset++),u._bufferIndex<0?u._index++:(u._bufferIndex++,u._bufferIndex===d[u._index].length&&(u._bufferIndex=-1,u._index++)),h.previous=le}function Q(le,F){const he=F||{};return he.type=le,he.start=q(),h.events.push(["enter",he,h]),p.push(he),he}function xe(le){const F=p.pop();return F.end=q(),h.events.push(["exit",F,h]),F}function W(le,F){Z(le,F.from)}function U(le,F){F.restore()}function te(le,F){return he;function he(ae,I,C){let K,ie,we,S;return Array.isArray(ae)?L(ae):"tokenize"in ae?L([ae]):T(ae);function T(ne){return ze;function ze(Be){const ge=Be!==null&&ne[Be],xt=Be!==null&&ne.null,vt=[...Array.isArray(ge)?ge:ge?[ge]:[],...Array.isArray(xt)?xt:xt?[xt]:[]];return L(vt)(Be)}}function L(ne){return K=ne,ie=0,ne.length===0?C:w(ne[ie])}function w(ne){return ze;function ze(Be){return S=oe(),we=ne,ne.partial||(h.currentConstruct=ne),ne.name&&h.parser.constructs.disable.null.includes(ne.name)?re():ne.tokenize.call(F?Object.assign(Object.create(h),F):h,g,ee,re)(Be)}}function ee(ne){return le(we,S),I}function re(ne){return S.restore(),++ie<K.length?w(K[ie]):C}}}function Z(le,F){le.resolveAll&&!f.includes(le)&&f.push(le),le.resolve&&zn(h.events,F,h.events.length-F,le.resolve(h.events.slice(F),h)),le.resolveTo&&(h.events=le.resolveTo(h.events,h))}function oe(){const le=q(),F=h.previous,he=h.currentConstruct,ae=h.events.length,I=Array.from(p);return{from:ae,restore:C};function C(){u=le,h.previous=F,h.currentConstruct=he,h.events.length=ae,p=I,ve()}}function ve(){u.line in c&&u.column<2&&(u.column=c[u.line],u.offset+=c[u.line]-1)}}function zv(l,i){const r=i.start._index,u=i.start._bufferIndex,c=i.end._index,f=i.end._bufferIndex;let d;if(r===c)d=[l[r].slice(u,f)];else{if(d=l.slice(r,c),u>-1){const p=d[0];typeof p=="string"?d[0]=p.slice(u):d.shift()}f>0&&d.push(l[c].slice(0,f))}return d}function Ev(l,i){let r=-1;const u=[];let c;for(;++r<l.length;){const f=l[r];let d;if(typeof f=="string")d=f;else switch(f){case-5:{d="\r";break}case-4:{d=`
`;break}case-3:{d=`\r
`;break}case-2:{d=i?" ":"	";break}case-1:{if(!i&&c)continue;d=" ";break}default:d=String.fromCharCode(f)}c=f===-2,u.push(d)}return u.join("")}function Av(l){const u={constructs:O1([Sv,...(l||{}).extensions||[]]),content:c(q1),defined:[],document:c(Y1),flow:c(rv),lazy:{},string:c(sv),text:c(cv)};return u;function c(f){return d;function d(p){return wv(u,f,p)}}}function Tv(l){for(;!zg(l););return l}const zp=/[\0\t\n\r]/g;function kv(){let l=1,i="",r=!0,u;return c;function c(f,d,p){const g=[];let h,y,x,E,v;for(f=i+(typeof f=="string"?f.toString():new TextDecoder(d||void 0).decode(f)),x=0,i="",r&&(f.charCodeAt(0)===65279&&x++,r=void 0);x<f.length;){if(zp.lastIndex=x,h=zp.exec(f),E=h&&h.index!==void 0?h.index:f.length,v=f.charCodeAt(E),!h){i=f.slice(x);break}if(v===10&&x===E&&u)g.push(-3),u=void 0;else switch(u&&(g.push(-5),u=void 0),x<E&&(g.push(f.slice(x,E)),l+=E-x),v){case 0:{g.push(65533),l++;break}case 9:{for(y=Math.ceil(l/4)*4,g.push(-2);l++<y;)g.push(-1);break}case 10:{g.push(-4),l=1;break}default:u=!0,l=1}x=E+1}return p&&(u&&g.push(-5),i&&g.push(i),g.push(null)),g}}const Nv=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Cv(l){return l.replace(Nv,_v)}function _v(l,i,r){if(i)return i;if(r.charCodeAt(0)===35){const c=r.charCodeAt(1),f=c===120||c===88;return xg(r.slice(f?2:1),f?16:10)}return Uc(r)||l}const Cg={}.hasOwnProperty;function Mv(l,i,r){return i&&typeof i=="object"&&(r=i,i=void 0),Ov(r)(Tv(Av(r).document().write(kv()(l,i,!0))))}function Ov(l){const i={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:f(Xn),autolinkProtocol:oe,autolinkEmail:oe,atxHeading:f(En),blockQuote:f(xt),characterEscape:oe,characterReference:oe,codeFenced:f(vt),codeFencedFenceInfo:d,codeFencedFenceMeta:d,codeIndented:f(vt,d),codeText:f(Yt,d),codeTextData:oe,data:oe,codeFlowValue:oe,definition:f(fn),definitionDestinationString:d,definitionLabelString:d,definitionTitleString:d,emphasis:f(Fe),hardBreakEscape:f(pn),hardBreakTrailing:f(pn),htmlFlow:f(Sl,d),htmlFlowData:oe,htmlText:f(Sl,d),htmlTextData:oe,image:f(Jl),label:d,link:f(Xn),listItem:f(wl),listItemValue:E,listOrdered:f(An,x),listUnordered:f(An),paragraph:f(Ka),reference:w,referenceString:d,resourceDestinationString:d,resourceTitleString:d,setextHeading:f(En),strong:f(Xa),thematicBreak:f(zl)},exit:{atxHeading:g(),atxHeadingSequence:W,autolink:g(),autolinkEmail:ge,autolinkProtocol:Be,blockQuote:g(),characterEscapeValue:ve,characterReferenceMarkerHexadecimal:re,characterReferenceMarkerNumeric:re,characterReferenceValue:ne,characterReference:ze,codeFenced:g(X),codeFencedFence:G,codeFencedFenceInfo:v,codeFencedFenceMeta:q,codeFlowValue:ve,codeIndented:g(R),codeText:g(I),codeTextData:ve,data:ve,definition:g(),definitionDestinationString:xe,definitionLabelString:ue,definitionTitleString:Q,emphasis:g(),hardBreakEscape:g(F),hardBreakTrailing:g(F),htmlFlow:g(he),htmlFlowData:ve,htmlText:g(ae),htmlTextData:ve,image:g(K),label:we,labelText:ie,lineEnding:le,link:g(C),listItem:g(),listOrdered:g(),listUnordered:g(),paragraph:g(),referenceString:ee,resourceDestinationString:S,resourceTitleString:T,resource:L,setextHeading:g(Z),setextHeadingLineSequence:te,setextHeadingText:U,strong:g(),thematicBreak:g()}};_g(i,(l||{}).mdastExtensions||[]);const r={};return u;function u(B){let P={type:"root",children:[]};const ye={stack:[P],tokenStack:[],config:i,enter:p,exit:h,buffer:d,resume:y,data:r},D=[];let J=-1;for(;++J<B.length;)if(B[J][1].type==="listOrdered"||B[J][1].type==="listUnordered")if(B[J][0]==="enter")D.push(J);else{const Le=D.pop();J=c(B,Le,J)}for(J=-1;++J<B.length;){const Le=i[B[J][0]];Cg.call(Le,B[J][1].type)&&Le[B[J][1].type].call(Object.assign({sliceSerialize:B[J][2].sliceSerialize},ye),B[J][1])}if(ye.tokenStack.length>0){const Le=ye.tokenStack[ye.tokenStack.length-1];(Le[1]||Ep).call(ye,void 0,Le[0])}for(P.position={start:gl(B.length>0?B[0][1].start:{line:1,column:1,offset:0}),end:gl(B.length>0?B[B.length-2][1].end:{line:1,column:1,offset:0})},J=-1;++J<i.transforms.length;)P=i.transforms[J](P)||P;return P}function c(B,P,ye){let D=P-1,J=-1,Le=!1,Ye,Re,Ce,Ve;for(;++D<=ye;){const Ke=B[D];switch(Ke[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Ke[0]==="enter"?J++:J--,Ve=void 0;break}case"lineEndingBlank":{Ke[0]==="enter"&&(Ye&&!Ve&&!J&&!Ce&&(Ce=D),Ve=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Ve=void 0}if(!J&&Ke[0]==="enter"&&Ke[1].type==="listItemPrefix"||J===-1&&Ke[0]==="exit"&&(Ke[1].type==="listUnordered"||Ke[1].type==="listOrdered")){if(Ye){let Mt=D;for(Re=void 0;Mt--;){const We=B[Mt];if(We[1].type==="lineEnding"||We[1].type==="lineEndingBlank"){if(We[0]==="exit")continue;Re&&(B[Re][1].type="lineEndingBlank",Le=!0),We[1].type="lineEnding",Re=Mt}else if(!(We[1].type==="linePrefix"||We[1].type==="blockQuotePrefix"||We[1].type==="blockQuotePrefixWhitespace"||We[1].type==="blockQuoteMarker"||We[1].type==="listItemIndent"))break}Ce&&(!Re||Ce<Re)&&(Ye._spread=!0),Ye.end=Object.assign({},Re?B[Re][1].start:Ke[1].end),B.splice(Re||D,0,["exit",Ye,Ke[2]]),D++,ye++}if(Ke[1].type==="listItemPrefix"){const Mt={type:"listItem",_spread:!1,start:Object.assign({},Ke[1].start),end:void 0};Ye=Mt,B.splice(D,0,["enter",Mt,Ke[2]]),D++,ye++,Ce=void 0,Ve=!0}}}return B[P][1]._spread=Le,ye}function f(B,P){return ye;function ye(D){p.call(this,B(D),D),P&&P.call(this,D)}}function d(){this.stack.push({type:"fragment",children:[]})}function p(B,P,ye){this.stack[this.stack.length-1].children.push(B),this.stack.push(B),this.tokenStack.push([P,ye||void 0]),B.position={start:gl(P.start),end:void 0}}function g(B){return P;function P(ye){B&&B.call(this,ye),h.call(this,ye)}}function h(B,P){const ye=this.stack.pop(),D=this.tokenStack.pop();if(D)D[0].type!==B.type&&(P?P.call(this,B,D[0]):(D[1]||Ep).call(this,B,D[0]));else throw new Error("Cannot close `"+B.type+"` ("+Xi({start:B.start,end:B.end})+"): it’s not open");ye.position.end=gl(B.end)}function y(){return _1(this.stack.pop())}function x(){this.data.expectingFirstListItemValue=!0}function E(B){if(this.data.expectingFirstListItemValue){const P=this.stack[this.stack.length-2];P.start=Number.parseInt(this.sliceSerialize(B),10),this.data.expectingFirstListItemValue=void 0}}function v(){const B=this.resume(),P=this.stack[this.stack.length-1];P.lang=B}function q(){const B=this.resume(),P=this.stack[this.stack.length-1];P.meta=B}function G(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function X(){const B=this.resume(),P=this.stack[this.stack.length-1];P.value=B.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function R(){const B=this.resume(),P=this.stack[this.stack.length-1];P.value=B.replace(/(\r?\n|\r)$/g,"")}function ue(B){const P=this.resume(),ye=this.stack[this.stack.length-1];ye.label=P,ye.identifier=Ba(this.sliceSerialize(B)).toLowerCase()}function Q(){const B=this.resume(),P=this.stack[this.stack.length-1];P.title=B}function xe(){const B=this.resume(),P=this.stack[this.stack.length-1];P.url=B}function W(B){const P=this.stack[this.stack.length-1];if(!P.depth){const ye=this.sliceSerialize(B).length;P.depth=ye}}function U(){this.data.setextHeadingSlurpLineEnding=!0}function te(B){const P=this.stack[this.stack.length-1];P.depth=this.sliceSerialize(B).codePointAt(0)===61?1:2}function Z(){this.data.setextHeadingSlurpLineEnding=void 0}function oe(B){const ye=this.stack[this.stack.length-1].children;let D=ye[ye.length-1];(!D||D.type!=="text")&&(D=St(),D.position={start:gl(B.start),end:void 0},ye.push(D)),this.stack.push(D)}function ve(B){const P=this.stack.pop();P.value+=this.sliceSerialize(B),P.position.end=gl(B.end)}function le(B){const P=this.stack[this.stack.length-1];if(this.data.atHardBreak){const ye=P.children[P.children.length-1];ye.position.end=gl(B.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&i.canContainEols.includes(P.type)&&(oe.call(this,B),ve.call(this,B))}function F(){this.data.atHardBreak=!0}function he(){const B=this.resume(),P=this.stack[this.stack.length-1];P.value=B}function ae(){const B=this.resume(),P=this.stack[this.stack.length-1];P.value=B}function I(){const B=this.resume(),P=this.stack[this.stack.length-1];P.value=B}function C(){const B=this.stack[this.stack.length-1];if(this.data.inReference){const P=this.data.referenceType||"shortcut";B.type+="Reference",B.referenceType=P,delete B.url,delete B.title}else delete B.identifier,delete B.label;this.data.referenceType=void 0}function K(){const B=this.stack[this.stack.length-1];if(this.data.inReference){const P=this.data.referenceType||"shortcut";B.type+="Reference",B.referenceType=P,delete B.url,delete B.title}else delete B.identifier,delete B.label;this.data.referenceType=void 0}function ie(B){const P=this.sliceSerialize(B),ye=this.stack[this.stack.length-2];ye.label=Cv(P),ye.identifier=Ba(P).toLowerCase()}function we(){const B=this.stack[this.stack.length-1],P=this.resume(),ye=this.stack[this.stack.length-1];if(this.data.inReference=!0,ye.type==="link"){const D=B.children;ye.children=D}else ye.alt=P}function S(){const B=this.resume(),P=this.stack[this.stack.length-1];P.url=B}function T(){const B=this.resume(),P=this.stack[this.stack.length-1];P.title=B}function L(){this.data.inReference=void 0}function w(){this.data.referenceType="collapsed"}function ee(B){const P=this.resume(),ye=this.stack[this.stack.length-1];ye.label=P,ye.identifier=Ba(this.sliceSerialize(B)).toLowerCase(),this.data.referenceType="full"}function re(B){this.data.characterReferenceType=B.type}function ne(B){const P=this.sliceSerialize(B),ye=this.data.characterReferenceType;let D;ye?(D=xg(P,ye==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):D=Uc(P);const J=this.stack[this.stack.length-1];J.value+=D}function ze(B){const P=this.stack.pop();P.position.end=gl(B.end)}function Be(B){ve.call(this,B);const P=this.stack[this.stack.length-1];P.url=this.sliceSerialize(B)}function ge(B){ve.call(this,B);const P=this.stack[this.stack.length-1];P.url="mailto:"+this.sliceSerialize(B)}function xt(){return{type:"blockquote",children:[]}}function vt(){return{type:"code",lang:null,meta:null,value:""}}function Yt(){return{type:"inlineCode",value:""}}function fn(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Fe(){return{type:"emphasis",children:[]}}function En(){return{type:"heading",depth:0,children:[]}}function pn(){return{type:"break"}}function Sl(){return{type:"html",value:""}}function Jl(){return{type:"image",title:null,url:"",alt:null}}function Xn(){return{type:"link",title:null,url:"",children:[]}}function An(B){return{type:"list",ordered:B.type==="listOrdered",start:null,spread:B._spread,children:[]}}function wl(B){return{type:"listItem",spread:B._spread,checked:null,children:[]}}function Ka(){return{type:"paragraph",children:[]}}function Xa(){return{type:"strong",children:[]}}function St(){return{type:"text",value:""}}function zl(){return{type:"thematicBreak"}}}function gl(l){return{line:l.line,column:l.column,offset:l.offset}}function _g(l,i){let r=-1;for(;++r<i.length;){const u=i[r];Array.isArray(u)?_g(l,u):jv(l,u)}}function jv(l,i){let r;for(r in i)if(Cg.call(i,r))switch(r){case"canContainEols":{const u=i[r];u&&l[r].push(...u);break}case"transforms":{const u=i[r];u&&l[r].push(...u);break}case"enter":case"exit":{const u=i[r];u&&Object.assign(l[r],u);break}}}function Ep(l,i){throw l?new Error("Cannot close `"+l.type+"` ("+Xi({start:l.start,end:l.end})+"): a different token (`"+i.type+"`, "+Xi({start:i.start,end:i.end})+") is open"):new Error("Cannot close document, a token (`"+i.type+"`, "+Xi({start:i.start,end:i.end})+") is still open")}function Dv(l){const i=this;i.parser=r;function r(u){return Mv(u,{...i.data("settings"),...l,extensions:i.data("micromarkExtensions")||[],mdastExtensions:i.data("fromMarkdownExtensions")||[]})}}function Rv(l,i){const r={type:"element",tagName:"blockquote",properties:{},children:l.wrap(l.all(i),!0)};return l.patch(i,r),l.applyData(i,r)}function Lv(l,i){const r={type:"element",tagName:"br",properties:{},children:[]};return l.patch(i,r),[l.applyData(i,r),{type:"text",value:`
`}]}function Uv(l,i){const r=i.value?i.value+`
`:"",u={},c=i.lang?i.lang.split(/\s+/):[];c.length>0&&(u.className=["language-"+c[0]]);let f={type:"element",tagName:"code",properties:u,children:[{type:"text",value:r}]};return i.meta&&(f.data={meta:i.meta}),l.patch(i,f),f=l.applyData(i,f),f={type:"element",tagName:"pre",properties:{},children:[f]},l.patch(i,f),f}function Hv(l,i){const r={type:"element",tagName:"del",properties:{},children:l.all(i)};return l.patch(i,r),l.applyData(i,r)}function Bv(l,i){const r={type:"element",tagName:"em",properties:{},children:l.all(i)};return l.patch(i,r),l.applyData(i,r)}function qv(l,i){const r=typeof l.options.clobberPrefix=="string"?l.options.clobberPrefix:"user-content-",u=String(i.identifier).toUpperCase(),c=Ya(u.toLowerCase()),f=l.footnoteOrder.indexOf(u);let d,p=l.footnoteCounts.get(u);p===void 0?(p=0,l.footnoteOrder.push(u),d=l.footnoteOrder.length):d=f+1,p+=1,l.footnoteCounts.set(u,p);const g={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+c,id:r+"fnref-"+c+(p>1?"-"+p:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(d)}]};l.patch(i,g);const h={type:"element",tagName:"sup",properties:{},children:[g]};return l.patch(i,h),l.applyData(i,h)}function Gv(l,i){const r={type:"element",tagName:"h"+i.depth,properties:{},children:l.all(i)};return l.patch(i,r),l.applyData(i,r)}function Yv(l,i){if(l.options.allowDangerousHtml){const r={type:"raw",value:i.value};return l.patch(i,r),l.applyData(i,r)}}function Mg(l,i){const r=i.referenceType;let u="]";if(r==="collapsed"?u+="[]":r==="full"&&(u+="["+(i.label||i.identifier)+"]"),i.type==="imageReference")return[{type:"text",value:"!["+i.alt+u}];const c=l.all(i),f=c[0];f&&f.type==="text"?f.value="["+f.value:c.unshift({type:"text",value:"["});const d=c[c.length-1];return d&&d.type==="text"?d.value+=u:c.push({type:"text",value:u}),c}function Vv(l,i){const r=String(i.identifier).toUpperCase(),u=l.definitionById.get(r);if(!u)return Mg(l,i);const c={src:Ya(u.url||""),alt:i.alt};u.title!==null&&u.title!==void 0&&(c.title=u.title);const f={type:"element",tagName:"img",properties:c,children:[]};return l.patch(i,f),l.applyData(i,f)}function Kv(l,i){const r={src:Ya(i.url)};i.alt!==null&&i.alt!==void 0&&(r.alt=i.alt),i.title!==null&&i.title!==void 0&&(r.title=i.title);const u={type:"element",tagName:"img",properties:r,children:[]};return l.patch(i,u),l.applyData(i,u)}function Xv(l,i){const r={type:"text",value:i.value.replace(/\r?\n|\r/g," ")};l.patch(i,r);const u={type:"element",tagName:"code",properties:{},children:[r]};return l.patch(i,u),l.applyData(i,u)}function Qv(l,i){const r=String(i.identifier).toUpperCase(),u=l.definitionById.get(r);if(!u)return Mg(l,i);const c={href:Ya(u.url||"")};u.title!==null&&u.title!==void 0&&(c.title=u.title);const f={type:"element",tagName:"a",properties:c,children:l.all(i)};return l.patch(i,f),l.applyData(i,f)}function Zv(l,i){const r={href:Ya(i.url)};i.title!==null&&i.title!==void 0&&(r.title=i.title);const u={type:"element",tagName:"a",properties:r,children:l.all(i)};return l.patch(i,u),l.applyData(i,u)}function Iv(l,i,r){const u=l.all(i),c=r?Jv(r):Og(i),f={},d=[];if(typeof i.checked=="boolean"){const y=u[0];let x;y&&y.type==="element"&&y.tagName==="p"?x=y:(x={type:"element",tagName:"p",properties:{},children:[]},u.unshift(x)),x.children.length>0&&x.children.unshift({type:"text",value:" "}),x.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:i.checked,disabled:!0},children:[]}),f.className=["task-list-item"]}let p=-1;for(;++p<u.length;){const y=u[p];(c||p!==0||y.type!=="element"||y.tagName!=="p")&&d.push({type:"text",value:`
`}),y.type==="element"&&y.tagName==="p"&&!c?d.push(...y.children):d.push(y)}const g=u[u.length-1];g&&(c||g.type!=="element"||g.tagName!=="p")&&d.push({type:"text",value:`
`});const h={type:"element",tagName:"li",properties:f,children:d};return l.patch(i,h),l.applyData(i,h)}function Jv(l){let i=!1;if(l.type==="list"){i=l.spread||!1;const r=l.children;let u=-1;for(;!i&&++u<r.length;)i=Og(r[u])}return i}function Og(l){const i=l.spread;return i??l.children.length>1}function Fv(l,i){const r={},u=l.all(i);let c=-1;for(typeof i.start=="number"&&i.start!==1&&(r.start=i.start);++c<u.length;){const d=u[c];if(d.type==="element"&&d.tagName==="li"&&d.properties&&Array.isArray(d.properties.className)&&d.properties.className.includes("task-list-item")){r.className=["contains-task-list"];break}}const f={type:"element",tagName:i.ordered?"ol":"ul",properties:r,children:l.wrap(u,!0)};return l.patch(i,f),l.applyData(i,f)}function $v(l,i){const r={type:"element",tagName:"p",properties:{},children:l.all(i)};return l.patch(i,r),l.applyData(i,r)}function Wv(l,i){const r={type:"root",children:l.wrap(l.all(i))};return l.patch(i,r),l.applyData(i,r)}function Pv(l,i){const r={type:"element",tagName:"strong",properties:{},children:l.all(i)};return l.patch(i,r),l.applyData(i,r)}function e2(l,i){const r=l.all(i),u=r.shift(),c=[];if(u){const d={type:"element",tagName:"thead",properties:{},children:l.wrap([u],!0)};l.patch(i.children[0],d),c.push(d)}if(r.length>0){const d={type:"element",tagName:"tbody",properties:{},children:l.wrap(r,!0)},p=jc(i.children[1]),g=dg(i.children[i.children.length-1]);p&&g&&(d.position={start:p,end:g}),c.push(d)}const f={type:"element",tagName:"table",properties:{},children:l.wrap(c,!0)};return l.patch(i,f),l.applyData(i,f)}function t2(l,i,r){const u=r?r.children:void 0,f=(u?u.indexOf(i):1)===0?"th":"td",d=r&&r.type==="table"?r.align:void 0,p=d?d.length:i.children.length;let g=-1;const h=[];for(;++g<p;){const x=i.children[g],E={},v=d?d[g]:void 0;v&&(E.align=v);let q={type:"element",tagName:f,properties:E,children:[]};x&&(q.children=l.all(x),l.patch(x,q),q=l.applyData(x,q)),h.push(q)}const y={type:"element",tagName:"tr",properties:{},children:l.wrap(h,!0)};return l.patch(i,y),l.applyData(i,y)}function n2(l,i){const r={type:"element",tagName:"td",properties:{},children:l.all(i)};return l.patch(i,r),l.applyData(i,r)}const Ap=9,Tp=32;function l2(l){const i=String(l),r=/\r?\n|\r/g;let u=r.exec(i),c=0;const f=[];for(;u;)f.push(kp(i.slice(c,u.index),c>0,!0),u[0]),c=u.index+u[0].length,u=r.exec(i);return f.push(kp(i.slice(c),c>0,!1)),f.join("")}function kp(l,i,r){let u=0,c=l.length;if(i){let f=l.codePointAt(u);for(;f===Ap||f===Tp;)u++,f=l.codePointAt(u)}if(r){let f=l.codePointAt(c-1);for(;f===Ap||f===Tp;)c--,f=l.codePointAt(c-1)}return c>u?l.slice(u,c):""}function a2(l,i){const r={type:"text",value:l2(String(i.value))};return l.patch(i,r),l.applyData(i,r)}function i2(l,i){const r={type:"element",tagName:"hr",properties:{},children:[]};return l.patch(i,r),l.applyData(i,r)}const r2={blockquote:Rv,break:Lv,code:Uv,delete:Hv,emphasis:Bv,footnoteReference:qv,heading:Gv,html:Yv,imageReference:Vv,image:Kv,inlineCode:Xv,linkReference:Qv,link:Zv,listItem:Iv,list:Fv,paragraph:$v,root:Wv,strong:Pv,table:e2,tableCell:n2,tableRow:t2,text:a2,thematicBreak:i2,toml:fu,yaml:fu,definition:fu,footnoteDefinition:fu};function fu(){}const jg=-1,ku=0,Zi=1,Su=2,qc=3,Gc=4,Yc=5,Vc=6,Dg=7,Rg=8,Np=typeof self=="object"?self:globalThis,u2=(l,i)=>{const r=(c,f)=>(l.set(f,c),c),u=c=>{if(l.has(c))return l.get(c);const[f,d]=i[c];switch(f){case ku:case jg:return r(d,c);case Zi:{const p=r([],c);for(const g of d)p.push(u(g));return p}case Su:{const p=r({},c);for(const[g,h]of d)p[u(g)]=u(h);return p}case qc:return r(new Date(d),c);case Gc:{const{source:p,flags:g}=d;return r(new RegExp(p,g),c)}case Yc:{const p=r(new Map,c);for(const[g,h]of d)p.set(u(g),u(h));return p}case Vc:{const p=r(new Set,c);for(const g of d)p.add(u(g));return p}case Dg:{const{name:p,message:g}=d;return r(new Np[p](g),c)}case Rg:return r(BigInt(d),c);case"BigInt":return r(Object(BigInt(d)),c);case"ArrayBuffer":return r(new Uint8Array(d).buffer,d);case"DataView":{const{buffer:p}=new Uint8Array(d);return r(new DataView(p),d)}}return r(new Np[f](d),c)};return u},Cp=l=>u2(new Map,l)(0),Ra="",{toString:o2}={},{keys:s2}=Object,Yi=l=>{const i=typeof l;if(i!=="object"||!l)return[ku,i];const r=o2.call(l).slice(8,-1);switch(r){case"Array":return[Zi,Ra];case"Object":return[Su,Ra];case"Date":return[qc,Ra];case"RegExp":return[Gc,Ra];case"Map":return[Yc,Ra];case"Set":return[Vc,Ra];case"DataView":return[Zi,r]}return r.includes("Array")?[Zi,r]:r.includes("Error")?[Dg,r]:[Su,r]},du=([l,i])=>l===ku&&(i==="function"||i==="symbol"),c2=(l,i,r,u)=>{const c=(d,p)=>{const g=u.push(d)-1;return r.set(p,g),g},f=d=>{if(r.has(d))return r.get(d);let[p,g]=Yi(d);switch(p){case ku:{let y=d;switch(g){case"bigint":p=Rg,y=d.toString();break;case"function":case"symbol":if(l)throw new TypeError("unable to serialize "+g);y=null;break;case"undefined":return c([jg],d)}return c([p,y],d)}case Zi:{if(g){let E=d;return g==="DataView"?E=new Uint8Array(d.buffer):g==="ArrayBuffer"&&(E=new Uint8Array(d)),c([g,[...E]],d)}const y=[],x=c([p,y],d);for(const E of d)y.push(f(E));return x}case Su:{if(g)switch(g){case"BigInt":return c([g,d.toString()],d);case"Boolean":case"Number":case"String":return c([g,d.valueOf()],d)}if(i&&"toJSON"in d)return f(d.toJSON());const y=[],x=c([p,y],d);for(const E of s2(d))(l||!du(Yi(d[E])))&&y.push([f(E),f(d[E])]);return x}case qc:return c([p,d.toISOString()],d);case Gc:{const{source:y,flags:x}=d;return c([p,{source:y,flags:x}],d)}case Yc:{const y=[],x=c([p,y],d);for(const[E,v]of d)(l||!(du(Yi(E))||du(Yi(v))))&&y.push([f(E),f(v)]);return x}case Vc:{const y=[],x=c([p,y],d);for(const E of d)(l||!du(Yi(E)))&&y.push(f(E));return x}}const{message:h}=d;return c([p,{name:g,message:h}],d)};return f},_p=(l,{json:i,lossy:r}={})=>{const u=[];return c2(!(i||r),!!i,new Map,u)(l),u},wu=typeof structuredClone=="function"?(l,i)=>i&&("json"in i||"lossy"in i)?Cp(_p(l,i)):structuredClone(l):(l,i)=>Cp(_p(l,i));function f2(l,i){const r=[{type:"text",value:"↩"}];return i>1&&r.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(i)}]}),r}function d2(l,i){return"Back to reference "+(l+1)+(i>1?"-"+i:"")}function m2(l){const i=typeof l.options.clobberPrefix=="string"?l.options.clobberPrefix:"user-content-",r=l.options.footnoteBackContent||f2,u=l.options.footnoteBackLabel||d2,c=l.options.footnoteLabel||"Footnotes",f=l.options.footnoteLabelTagName||"h2",d=l.options.footnoteLabelProperties||{className:["sr-only"]},p=[];let g=-1;for(;++g<l.footnoteOrder.length;){const h=l.footnoteById.get(l.footnoteOrder[g]);if(!h)continue;const y=l.all(h),x=String(h.identifier).toUpperCase(),E=Ya(x.toLowerCase());let v=0;const q=[],G=l.footnoteCounts.get(x);for(;G!==void 0&&++v<=G;){q.length>0&&q.push({type:"text",value:" "});let ue=typeof r=="string"?r:r(g,v);typeof ue=="string"&&(ue={type:"text",value:ue}),q.push({type:"element",tagName:"a",properties:{href:"#"+i+"fnref-"+E+(v>1?"-"+v:""),dataFootnoteBackref:"",ariaLabel:typeof u=="string"?u:u(g,v),className:["data-footnote-backref"]},children:Array.isArray(ue)?ue:[ue]})}const X=y[y.length-1];if(X&&X.type==="element"&&X.tagName==="p"){const ue=X.children[X.children.length-1];ue&&ue.type==="text"?ue.value+=" ":X.children.push({type:"text",value:" "}),X.children.push(...q)}else y.push(...q);const R={type:"element",tagName:"li",properties:{id:i+"fn-"+E},children:l.wrap(y,!0)};l.patch(h,R),p.push(R)}if(p.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:f,properties:{...wu(d),id:"footnote-label"},children:[{type:"text",value:c}]},{type:"text",value:`
`},{type:"element",tagName:"ol",properties:{},children:l.wrap(p,!0)},{type:"text",value:`
`}]}}const Lg=(function(l){if(l==null)return y2;if(typeof l=="function")return Nu(l);if(typeof l=="object")return Array.isArray(l)?h2(l):p2(l);if(typeof l=="string")return g2(l);throw new Error("Expected function, string, or object as test")});function h2(l){const i=[];let r=-1;for(;++r<l.length;)i[r]=Lg(l[r]);return Nu(u);function u(...c){let f=-1;for(;++f<i.length;)if(i[f].apply(this,c))return!0;return!1}}function p2(l){const i=l;return Nu(r);function r(u){const c=u;let f;for(f in l)if(c[f]!==i[f])return!1;return!0}}function g2(l){return Nu(i);function i(r){return r&&r.type===l}}function Nu(l){return i;function i(r,u,c){return!!(b2(r)&&l.call(this,r,typeof u=="number"?u:void 0,c||void 0))}}function y2(){return!0}function b2(l){return l!==null&&typeof l=="object"&&"type"in l}const Ug=[],x2=!0,Mp=!1,v2="skip";function S2(l,i,r,u){let c;typeof i=="function"&&typeof r!="function"?(u=r,r=i):c=i;const f=Lg(c),d=u?-1:1;p(l,void 0,[])();function p(g,h,y){const x=g&&typeof g=="object"?g:{};if(typeof x.type=="string"){const v=typeof x.tagName=="string"?x.tagName:typeof x.name=="string"?x.name:void 0;Object.defineProperty(E,"name",{value:"node ("+(g.type+(v?"<"+v+">":""))+")"})}return E;function E(){let v=Ug,q,G,X;if((!i||f(g,h,y[y.length-1]||void 0))&&(v=w2(r(g,y)),v[0]===Mp))return v;if("children"in g&&g.children){const R=g;if(R.children&&v[0]!==v2)for(G=(u?R.children.length:-1)+d,X=y.concat(R);G>-1&&G<R.children.length;){const ue=R.children[G];if(q=p(ue,G,X)(),q[0]===Mp)return q;G=typeof q[1]=="number"?q[1]:G+d}}return v}}}function w2(l){return Array.isArray(l)?l:typeof l=="number"?[x2,l]:l==null?Ug:[l]}function Hg(l,i,r,u){let c,f,d;typeof i=="function"&&typeof r!="function"?(f=void 0,d=i,c=r):(f=i,d=r,c=u),S2(l,f,p,c);function p(g,h){const y=h[h.length-1],x=y?y.children.indexOf(g):void 0;return d(g,x,y)}}const vc={}.hasOwnProperty,z2={};function E2(l,i){const r=i||z2,u=new Map,c=new Map,f=new Map,d={...r2,...r.handlers},p={all:h,applyData:T2,definitionById:u,footnoteById:c,footnoteCounts:f,footnoteOrder:[],handlers:d,one:g,options:r,patch:A2,wrap:N2};return Hg(l,function(y){if(y.type==="definition"||y.type==="footnoteDefinition"){const x=y.type==="definition"?u:c,E=String(y.identifier).toUpperCase();x.has(E)||x.set(E,y)}}),p;function g(y,x){const E=y.type,v=p.handlers[E];if(vc.call(p.handlers,E)&&v)return v(p,y,x);if(p.options.passThrough&&p.options.passThrough.includes(E)){if("children"in y){const{children:G,...X}=y,R=wu(X);return R.children=p.all(y),R}return wu(y)}return(p.options.unknownHandler||k2)(p,y,x)}function h(y){const x=[];if("children"in y){const E=y.children;let v=-1;for(;++v<E.length;){const q=p.one(E[v],y);if(q){if(v&&E[v-1].type==="break"&&(!Array.isArray(q)&&q.type==="text"&&(q.value=Op(q.value)),!Array.isArray(q)&&q.type==="element")){const G=q.children[0];G&&G.type==="text"&&(G.value=Op(G.value))}Array.isArray(q)?x.push(...q):x.push(q)}}}return x}}function A2(l,i){l.position&&(i.position=o1(l))}function T2(l,i){let r=i;if(l&&l.data){const u=l.data.hName,c=l.data.hChildren,f=l.data.hProperties;if(typeof u=="string")if(r.type==="element")r.tagName=u;else{const d="children"in r?r.children:[r];r={type:"element",tagName:u,properties:{},children:d}}r.type==="element"&&f&&Object.assign(r.properties,wu(f)),"children"in r&&r.children&&c!==null&&c!==void 0&&(r.children=c)}return r}function k2(l,i){const r=i.data||{},u="value"in i&&!(vc.call(r,"hProperties")||vc.call(r,"hChildren"))?{type:"text",value:i.value}:{type:"element",tagName:"div",properties:{},children:l.all(i)};return l.patch(i,u),l.applyData(i,u)}function N2(l,i){const r=[];let u=-1;for(i&&r.push({type:"text",value:`
`});++u<l.length;)u&&r.push({type:"text",value:`
`}),r.push(l[u]);return i&&l.length>0&&r.push({type:"text",value:`
`}),r}function Op(l){let i=0,r=l.charCodeAt(i);for(;r===9||r===32;)i++,r=l.charCodeAt(i);return l.slice(i)}function jp(l,i){const r=E2(l,i),u=r.one(l,void 0),c=m2(r),f=Array.isArray(u)?{type:"root",children:u}:u||{type:"root",children:[]};return c&&f.children.push({type:"text",value:`
`},c),f}function C2(l,i){return l&&"run"in l?async function(r,u){const c=jp(r,{file:u,...i});await l.run(c,u)}:function(r,u){return jp(r,{file:u,...l||i})}}function Dp(l){if(l)throw l}var Ps,Rp;function _2(){if(Rp)return Ps;Rp=1;var l=Object.prototype.hasOwnProperty,i=Object.prototype.toString,r=Object.defineProperty,u=Object.getOwnPropertyDescriptor,c=function(h){return typeof Array.isArray=="function"?Array.isArray(h):i.call(h)==="[object Array]"},f=function(h){if(!h||i.call(h)!=="[object Object]")return!1;var y=l.call(h,"constructor"),x=h.constructor&&h.constructor.prototype&&l.call(h.constructor.prototype,"isPrototypeOf");if(h.constructor&&!y&&!x)return!1;var E;for(E in h);return typeof E>"u"||l.call(h,E)},d=function(h,y){r&&y.name==="__proto__"?r(h,y.name,{enumerable:!0,configurable:!0,value:y.newValue,writable:!0}):h[y.name]=y.newValue},p=function(h,y){if(y==="__proto__")if(l.call(h,y)){if(u)return u(h,y).value}else return;return h[y]};return Ps=function g(){var h,y,x,E,v,q,G=arguments[0],X=1,R=arguments.length,ue=!1;for(typeof G=="boolean"&&(ue=G,G=arguments[1]||{},X=2),(G==null||typeof G!="object"&&typeof G!="function")&&(G={});X<R;++X)if(h=arguments[X],h!=null)for(y in h)x=p(G,y),E=p(h,y),G!==E&&(ue&&E&&(f(E)||(v=c(E)))?(v?(v=!1,q=x&&c(x)?x:[]):q=x&&f(x)?x:{},d(G,{name:y,newValue:g(ue,q,E)})):typeof E<"u"&&d(G,{name:y,newValue:E}));return G},Ps}var M2=_2();const ec=Cc(M2);function Sc(l){if(typeof l!="object"||l===null)return!1;const i=Object.getPrototypeOf(l);return(i===null||i===Object.prototype||Object.getPrototypeOf(i)===null)&&!(Symbol.toStringTag in l)&&!(Symbol.iterator in l)}function O2(){const l=[],i={run:r,use:u};return i;function r(...c){let f=-1;const d=c.pop();if(typeof d!="function")throw new TypeError("Expected function as last argument, not "+d);p(null,...c);function p(g,...h){const y=l[++f];let x=-1;if(g){d(g);return}for(;++x<c.length;)(h[x]===null||h[x]===void 0)&&(h[x]=c[x]);c=h,y?j2(y,p)(...h):d(null,...h)}}function u(c){if(typeof c!="function")throw new TypeError("Expected `middelware` to be a function, not "+c);return l.push(c),i}}function j2(l,i){let r;return u;function u(...d){const p=l.length>d.length;let g;p&&d.push(c);try{g=l.apply(this,d)}catch(h){const y=h;if(p&&r)throw y;return c(y)}p||(g&&g.then&&typeof g.then=="function"?g.then(f,c):g instanceof Error?c(g):f(g))}function c(d,...p){r||(r=!0,i(d,...p))}function f(d){c(null,d)}}const Sn={basename:D2,dirname:R2,extname:L2,join:U2,sep:"/"};function D2(l,i){if(i!==void 0&&typeof i!="string")throw new TypeError('"ext" argument must be a string');$i(l);let r=0,u=-1,c=l.length,f;if(i===void 0||i.length===0||i.length>l.length){for(;c--;)if(l.codePointAt(c)===47){if(f){r=c+1;break}}else u<0&&(f=!0,u=c+1);return u<0?"":l.slice(r,u)}if(i===l)return"";let d=-1,p=i.length-1;for(;c--;)if(l.codePointAt(c)===47){if(f){r=c+1;break}}else d<0&&(f=!0,d=c+1),p>-1&&(l.codePointAt(c)===i.codePointAt(p--)?p<0&&(u=c):(p=-1,u=d));return r===u?u=d:u<0&&(u=l.length),l.slice(r,u)}function R2(l){if($i(l),l.length===0)return".";let i=-1,r=l.length,u;for(;--r;)if(l.codePointAt(r)===47){if(u){i=r;break}}else u||(u=!0);return i<0?l.codePointAt(0)===47?"/":".":i===1&&l.codePointAt(0)===47?"//":l.slice(0,i)}function L2(l){$i(l);let i=l.length,r=-1,u=0,c=-1,f=0,d;for(;i--;){const p=l.codePointAt(i);if(p===47){if(d){u=i+1;break}continue}r<0&&(d=!0,r=i+1),p===46?c<0?c=i:f!==1&&(f=1):c>-1&&(f=-1)}return c<0||r<0||f===0||f===1&&c===r-1&&c===u+1?"":l.slice(c,r)}function U2(...l){let i=-1,r;for(;++i<l.length;)$i(l[i]),l[i]&&(r=r===void 0?l[i]:r+"/"+l[i]);return r===void 0?".":H2(r)}function H2(l){$i(l);const i=l.codePointAt(0)===47;let r=B2(l,!i);return r.length===0&&!i&&(r="."),r.length>0&&l.codePointAt(l.length-1)===47&&(r+="/"),i?"/"+r:r}function B2(l,i){let r="",u=0,c=-1,f=0,d=-1,p,g;for(;++d<=l.length;){if(d<l.length)p=l.codePointAt(d);else{if(p===47)break;p=47}if(p===47){if(!(c===d-1||f===1))if(c!==d-1&&f===2){if(r.length<2||u!==2||r.codePointAt(r.length-1)!==46||r.codePointAt(r.length-2)!==46){if(r.length>2){if(g=r.lastIndexOf("/"),g!==r.length-1){g<0?(r="",u=0):(r=r.slice(0,g),u=r.length-1-r.lastIndexOf("/")),c=d,f=0;continue}}else if(r.length>0){r="",u=0,c=d,f=0;continue}}i&&(r=r.length>0?r+"/..":"..",u=2)}else r.length>0?r+="/"+l.slice(c+1,d):r=l.slice(c+1,d),u=d-c-1;c=d,f=0}else p===46&&f>-1?f++:f=-1}return r}function $i(l){if(typeof l!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(l))}const q2={cwd:G2};function G2(){return"/"}function wc(l){return!!(l!==null&&typeof l=="object"&&"href"in l&&l.href&&"protocol"in l&&l.protocol&&l.auth===void 0)}function Y2(l){if(typeof l=="string")l=new URL(l);else if(!wc(l)){const i=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+l+"`");throw i.code="ERR_INVALID_ARG_TYPE",i}if(l.protocol!=="file:"){const i=new TypeError("The URL must be of scheme file");throw i.code="ERR_INVALID_URL_SCHEME",i}return V2(l)}function V2(l){if(l.hostname!==""){const u=new TypeError('File URL host must be "localhost" or empty on darwin');throw u.code="ERR_INVALID_FILE_URL_HOST",u}const i=l.pathname;let r=-1;for(;++r<i.length;)if(i.codePointAt(r)===37&&i.codePointAt(r+1)===50){const u=i.codePointAt(r+2);if(u===70||u===102){const c=new TypeError("File URL path must not include encoded / characters");throw c.code="ERR_INVALID_FILE_URL_PATH",c}}return decodeURIComponent(i)}const tc=["history","path","basename","stem","extname","dirname"];class Bg{constructor(i){let r;i?wc(i)?r={path:i}:typeof i=="string"||K2(i)?r={value:i}:r=i:r={},this.cwd="cwd"in r?"":q2.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let u=-1;for(;++u<tc.length;){const f=tc[u];f in r&&r[f]!==void 0&&r[f]!==null&&(this[f]=f==="history"?[...r[f]]:r[f])}let c;for(c in r)tc.includes(c)||(this[c]=r[c])}get basename(){return typeof this.path=="string"?Sn.basename(this.path):void 0}set basename(i){lc(i,"basename"),nc(i,"basename"),this.path=Sn.join(this.dirname||"",i)}get dirname(){return typeof this.path=="string"?Sn.dirname(this.path):void 0}set dirname(i){Lp(this.basename,"dirname"),this.path=Sn.join(i||"",this.basename)}get extname(){return typeof this.path=="string"?Sn.extname(this.path):void 0}set extname(i){if(nc(i,"extname"),Lp(this.dirname,"extname"),i){if(i.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(i.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Sn.join(this.dirname,this.stem+(i||""))}get path(){return this.history[this.history.length-1]}set path(i){wc(i)&&(i=Y2(i)),lc(i,"path"),this.path!==i&&this.history.push(i)}get stem(){return typeof this.path=="string"?Sn.basename(this.path,this.extname):void 0}set stem(i){lc(i,"stem"),nc(i,"stem"),this.path=Sn.join(this.dirname||"",i+(this.extname||""))}fail(i,r,u){const c=this.message(i,r,u);throw c.fatal=!0,c}info(i,r,u){const c=this.message(i,r,u);return c.fatal=void 0,c}message(i,r,u){const c=new Nt(i,r,u);return this.path&&(c.name=this.path+":"+c.name,c.file=this.path),c.fatal=!1,this.messages.push(c),c}toString(i){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(i||void 0).decode(this.value)}}function nc(l,i){if(l&&l.includes(Sn.sep))throw new Error("`"+i+"` cannot be a path: did not expect `"+Sn.sep+"`")}function lc(l,i){if(!l)throw new Error("`"+i+"` cannot be empty")}function Lp(l,i){if(!l)throw new Error("Setting `"+i+"` requires `path` to be set too")}function K2(l){return!!(l&&typeof l=="object"&&"byteLength"in l&&"byteOffset"in l)}const X2=(function(l){const u=this.constructor.prototype,c=u[l],f=function(){return c.apply(f,arguments)};return Object.setPrototypeOf(f,u),f}),Q2={}.hasOwnProperty;class Kc extends X2{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=O2()}copy(){const i=new Kc;let r=-1;for(;++r<this.attachers.length;){const u=this.attachers[r];i.use(...u)}return i.data(ec(!0,{},this.namespace)),i}data(i,r){return typeof i=="string"?arguments.length===2?(rc("data",this.frozen),this.namespace[i]=r,this):Q2.call(this.namespace,i)&&this.namespace[i]||void 0:i?(rc("data",this.frozen),this.namespace=i,this):this.namespace}freeze(){if(this.frozen)return this;const i=this;for(;++this.freezeIndex<this.attachers.length;){const[r,...u]=this.attachers[this.freezeIndex];if(u[0]===!1)continue;u[0]===!0&&(u[0]=void 0);const c=r.call(i,...u);typeof c=="function"&&this.transformers.use(c)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(i){this.freeze();const r=mu(i),u=this.parser||this.Parser;return ac("parse",u),u(String(r),r)}process(i,r){const u=this;return this.freeze(),ac("process",this.parser||this.Parser),ic("process",this.compiler||this.Compiler),r?c(void 0,r):new Promise(c);function c(f,d){const p=mu(i),g=u.parse(p);u.run(g,p,function(y,x,E){if(y||!x||!E)return h(y);const v=x,q=u.stringify(v,E);J2(q)?E.value=q:E.result=q,h(y,E)});function h(y,x){y||!x?d(y):f?f(x):r(void 0,x)}}}processSync(i){let r=!1,u;return this.freeze(),ac("processSync",this.parser||this.Parser),ic("processSync",this.compiler||this.Compiler),this.process(i,c),Hp("processSync","process",r),u;function c(f,d){r=!0,Dp(f),u=d}}run(i,r,u){Up(i),this.freeze();const c=this.transformers;return!u&&typeof r=="function"&&(u=r,r=void 0),u?f(void 0,u):new Promise(f);function f(d,p){const g=mu(r);c.run(i,g,h);function h(y,x,E){const v=x||i;y?p(y):d?d(v):u(void 0,v,E)}}}runSync(i,r){let u=!1,c;return this.run(i,r,f),Hp("runSync","run",u),c;function f(d,p){Dp(d),c=p,u=!0}}stringify(i,r){this.freeze();const u=mu(r),c=this.compiler||this.Compiler;return ic("stringify",c),Up(i),c(i,u)}use(i,...r){const u=this.attachers,c=this.namespace;if(rc("use",this.frozen),i!=null)if(typeof i=="function")g(i,r);else if(typeof i=="object")Array.isArray(i)?p(i):d(i);else throw new TypeError("Expected usable value, not `"+i+"`");return this;function f(h){if(typeof h=="function")g(h,[]);else if(typeof h=="object")if(Array.isArray(h)){const[y,...x]=h;g(y,x)}else d(h);else throw new TypeError("Expected usable value, not `"+h+"`")}function d(h){if(!("plugins"in h)&&!("settings"in h))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");p(h.plugins),h.settings&&(c.settings=ec(!0,c.settings,h.settings))}function p(h){let y=-1;if(h!=null)if(Array.isArray(h))for(;++y<h.length;){const x=h[y];f(x)}else throw new TypeError("Expected a list of plugins, not `"+h+"`")}function g(h,y){let x=-1,E=-1;for(;++x<u.length;)if(u[x][0]===h){E=x;break}if(E===-1)u.push([h,...y]);else if(y.length>0){let[v,...q]=y;const G=u[E][1];Sc(G)&&Sc(v)&&(v=ec(!0,G,v)),u[E]=[h,v,...q]}}}}const Z2=new Kc().freeze();function ac(l,i){if(typeof i!="function")throw new TypeError("Cannot `"+l+"` without `parser`")}function ic(l,i){if(typeof i!="function")throw new TypeError("Cannot `"+l+"` without `compiler`")}function rc(l,i){if(i)throw new Error("Cannot call `"+l+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Up(l){if(!Sc(l)||typeof l.type!="string")throw new TypeError("Expected node, got `"+l+"`")}function Hp(l,i,r){if(!r)throw new Error("`"+l+"` finished async. Use `"+i+"` instead")}function mu(l){return I2(l)?l:new Bg(l)}function I2(l){return!!(l&&typeof l=="object"&&"message"in l&&"messages"in l)}function J2(l){return typeof l=="string"||F2(l)}function F2(l){return!!(l&&typeof l=="object"&&"byteLength"in l&&"byteOffset"in l)}const $2="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Bp=[],qp={allowDangerousHtml:!0},W2=/^(https?|ircs?|mailto|xmpp)$/i,P2=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function eS(l){const i=tS(l),r=nS(l);return lS(i.runSync(i.parse(r),r),l)}function tS(l){const i=l.rehypePlugins||Bp,r=l.remarkPlugins||Bp,u=l.remarkRehypeOptions?{...l.remarkRehypeOptions,...qp}:qp;return Z2().use(Dv).use(r).use(C2,u).use(i)}function nS(l){const i=l.children||"",r=new Bg;return typeof i=="string"&&(r.value=i),r}function lS(l,i){const r=i.allowedElements,u=i.allowElement,c=i.components,f=i.disallowedElements,d=i.skipHtml,p=i.unwrapDisallowed,g=i.urlTransform||aS;for(const y of P2)Object.hasOwn(i,y.from)&&(""+y.from+(y.to?"use `"+y.to+"` instead":"remove it")+$2+y.id,void 0);return Hg(l,h),m1(l,{Fragment:z.Fragment,components:c,ignoreInvalidStyle:!0,jsx:z.jsx,jsxs:z.jsxs,passKeys:!0,passNode:!0});function h(y,x,E){if(y.type==="raw"&&E&&typeof x=="number")return d?E.children.splice(x,1):E.children[x]={type:"text",value:y.value},x;if(y.type==="element"){let v;for(v in Fs)if(Object.hasOwn(Fs,v)&&Object.hasOwn(y.properties,v)){const q=y.properties[v],G=Fs[v];(G===null||G.includes(y.tagName))&&(y.properties[v]=g(String(q||""),v,y))}}if(y.type==="element"){let v=r?!r.includes(y.tagName):f?f.includes(y.tagName):!1;if(!v&&u&&typeof x=="number"&&(v=!u(y,x,E)),v&&E&&typeof x=="number")return p&&y.children?E.children.splice(x,1,...y.children):E.children.splice(x,1),x}}}function aS(l){const i=l.indexOf(":"),r=l.indexOf("?"),u=l.indexOf("#"),c=l.indexOf("/");return i===-1||c!==-1&&i>c||r!==-1&&i>r||u!==-1&&i>u||W2.test(l.slice(0,i))?l:""}/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const iS=l=>l.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),rS=l=>l.replace(/^([A-Z])|[\s-_]+(\w)/g,(i,r,u)=>u?u.toUpperCase():r.toLowerCase()),Gp=l=>{const i=rS(l);return i.charAt(0).toUpperCase()+i.slice(1)},qg=(...l)=>l.filter((i,r,u)=>!!i&&i.trim()!==""&&u.indexOf(i)===r).join(" ").trim(),uS=l=>{for(const i in l)if(i.startsWith("aria-")||i==="role"||i==="title")return!0};/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */var oS={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const sS=me.forwardRef(({color:l="currentColor",size:i=24,strokeWidth:r=2,absoluteStrokeWidth:u,className:c="",children:f,iconNode:d,...p},g)=>me.createElement("svg",{ref:g,...oS,width:i,height:i,stroke:l,strokeWidth:u?Number(r)*24/Number(i):r,className:qg("lucide",c),...!f&&!uS(p)&&{"aria-hidden":"true"},...p},[...d.map(([h,y])=>me.createElement(h,y)),...Array.isArray(f)?f:[f]]));/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const gt=(l,i)=>{const r=me.forwardRef(({className:u,...c},f)=>me.createElement(sS,{ref:f,iconNode:i,className:qg(`lucide-${iS(Gp(l))}`,`lucide-${l}`,u),...c}));return r.displayName=Gp(l),r};/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const cS=[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]],fS=gt("activity",cS);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const dS=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],mS=gt("arrow-right",dS);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const hS=[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M9 13a4.5 4.5 0 0 0 3-4",key:"10igwf"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M12 13h4",key:"1ku699"}],["path",{d:"M12 18h6a2 2 0 0 1 2 2v1",key:"105ag5"}],["path",{d:"M12 8h8",key:"1lhi5i"}],["path",{d:"M16 8V5a2 2 0 0 1 2-2",key:"u6izg6"}],["circle",{cx:"16",cy:"13",r:".5",key:"ry7gng"}],["circle",{cx:"18",cy:"3",r:".5",key:"1aiba7"}],["circle",{cx:"20",cy:"21",r:".5",key:"yhc1fs"}],["circle",{cx:"20",cy:"8",r:".5",key:"1e43v0"}]],zc=gt("brain-circuit",hS);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const pS=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],gS=gt("circle-check-big",pS);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const yS=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]],bS=gt("circle-question-mark",yS);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const xS=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],vS=gt("download",xS);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const SS=[["path",{d:"M5 22h14",key:"ehvnwv"}],["path",{d:"M5 2h14",key:"pdyrp9"}],["path",{d:"M17 22v-4.172a2 2 0 0 0-.586-1.414L12 12l-4.414 4.414A2 2 0 0 0 7 17.828V22",key:"1d314k"}],["path",{d:"M7 2v4.172a2 2 0 0 0 .586 1.414L12 12l4.414-4.414A2 2 0 0 0 17 6.172V2",key:"1vvvr6"}]],wS=gt("hourglass",SS);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const zS=[["path",{d:"M10 8h.01",key:"1r9ogq"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M14 8h.01",key:"1primd"}],["path",{d:"M16 12h.01",key:"1l6xoz"}],["path",{d:"M18 8h.01",key:"emo2bl"}],["path",{d:"M6 8h.01",key:"x9i8wu"}],["path",{d:"M7 16h10",key:"wp8him"}],["path",{d:"M8 12h.01",key:"czm47f"}],["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}]],Yp=gt("keyboard",zS);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const ES=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 9.9-1",key:"1mm8w8"}]],AS=gt("lock-open",ES);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const TS=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],Gg=gt("lock",TS);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const kS=[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]],NS=gt("moon",kS);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const CS=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],_S=gt("send",CS);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const MS=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],OS=gt("settings",MS);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const jS=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],Yg=gt("sparkles",jS);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const DS=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]],RS=gt("sun",DS);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const LS=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],US=gt("trash-2",LS);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const HS=[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]],BS=gt("volume-2",HS);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const qS=[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["line",{x1:"22",x2:"16",y1:"9",y2:"15",key:"1ewh16"}],["line",{x1:"16",x2:"22",y1:"9",y2:"15",key:"5ykzw1"}]],GS=gt("volume-x",qS);/**
 * @license lucide-react v0.546.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const YS=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],VS=gt("x",YS);function KS(){return typeof window<"u"}function XS(l){var i;return(l==null||(i=l.ownerDocument)==null?void 0:i.defaultView)||window}function QS(l){return KS()?l instanceof HTMLElement||l instanceof XS(l).HTMLElement:!1}const Vp={};function Xc(l,i){const r=me.useRef(Vp);return r.current===Vp&&(r.current=l(i)),r}const uc=Mb[`useInsertionEffect${Math.random().toFixed(1)}`.slice(0,-3)],ZS=uc&&uc!==me.useLayoutEffect?uc:l=>l();function IS(l){const i=Xc(JS).current;return i.next=l,ZS(i.effect),i.trampoline}function JS(){const l={next:void 0,callback:FS,trampoline:(...i)=>{var r;return(r=l.callback)==null?void 0:r.call(l,...i)},effect:()=>{l.callback=l.next}};return l}function FS(){}const $S=()=>{},WS=typeof document<"u"?me.useLayoutEffect:$S;function Ec(l,i){if(l&&!i)return l;if(!l&&i)return i;if(l||i)return{...l,...i}}const Ii={};function Vg(l,i,r,u,c){let f={...Ac(l,Ii)};return i&&(f=xu(f,i)),r&&(f=xu(f,r)),u&&(f=xu(f,u)),f}function PS(l){if(l.length===0)return Ii;if(l.length===1)return Ac(l[0],Ii);let i={...Ac(l[0],Ii)};for(let r=1;r<l.length;r+=1)i=xu(i,l[r]);return i}function xu(l,i){return Kg(i)?i(l):ew(l,i)}function ew(l,i){if(!i)return l;for(const r in i){const u=i[r];switch(r){case"style":{l[r]=Ec(l.style,u);break}case"className":{l[r]=Xg(l.className,u);break}default:tw(r,u)?l[r]=nw(l[r],u):l[r]=u}}return l}function tw(l,i){const r=l.charCodeAt(0),u=l.charCodeAt(1),c=l.charCodeAt(2);return r===111&&u===110&&c>=65&&c<=90&&(typeof i=="function"||typeof i>"u")}function Kg(l){return typeof l=="function"}function Ac(l,i){return Kg(l)?l(i):l??Ii}function nw(l,i){return i?l?r=>{if(lw(r)){const c=r;Tc(c);const f=i(c);return c.baseUIHandlerPrevented||l==null||l(c),f}const u=i(r);return l==null||l(r),u}:i:l}function Tc(l){return l.preventBaseUIHandler=()=>{l.baseUIHandlerPrevented=!0},l}function Xg(l,i){return i?l?i+" "+l:i:l}function lw(l){return l!=null&&typeof l=="object"&&"nativeEvent"in l}function aw(l,i){return function(u,...c){const f=new URL(l);return f.searchParams.set("code",u.toString()),c.forEach(d=>f.searchParams.append("args[]",d)),`${i} error #${u}; visit ${f} for the full message.`}}const iw=aw("https://base-ui.com/production-error","Base UI"),rw=me.createContext(void 0);function uw(l=!1){const i=me.useContext(rw);if(i===void 0&&!l)throw new Error(iw(16));return i}function ow(l){const{focusableWhenDisabled:i,disabled:r,composite:u=!1,tabIndex:c=0,isNativeButton:f}=l,d=u&&i!==!1,p=u&&i===!1;return{props:me.useMemo(()=>{const h={onKeyDown(y){r&&i&&y.key!=="Tab"&&y.preventDefault()}};return u||(h.tabIndex=c,!f&&r&&(h.tabIndex=i?c:-1)),(f&&(i||d)||!f&&r)&&(h["aria-disabled"]=r),f&&(!i||p)&&(h.disabled=r),h},[u,r,i,d,p,f,c])}}function sw(l={}){const{disabled:i=!1,focusableWhenDisabled:r,tabIndex:u=0,native:c=!0,composite:f}=l,d=me.useRef(null),p=uw(!0),g=f??p!==void 0,{props:h}=ow({focusableWhenDisabled:r,disabled:i,composite:g,tabIndex:u,isNativeButton:c}),y=me.useCallback(()=>{const v=d.current;oc(v)&&g&&i&&h.disabled===void 0&&v.disabled&&(v.disabled=!1)},[i,h.disabled,g]);WS(y,[y]);const x=me.useCallback((v={})=>{const{onClick:q,onMouseDown:G,onKeyUp:X,onKeyDown:R,onPointerDown:ue,...Q}=v;return Vg({type:c?"button":void 0,onClick(W){if(i){W.preventDefault();return}q==null||q(W)},onMouseDown(W){i||G==null||G(W)},onKeyDown(W){if(i||(Tc(W),R==null||R(W),W.baseUIHandlerPrevented))return;const U=W.target===W.currentTarget,te=W.currentTarget,Z=oc(te),oe=!c&&cw(te),ve=U&&(c?Z:!oe),le=W.key==="Enter",F=W.key===" ",he=te.getAttribute("role"),ae=(he==null?void 0:he.startsWith("menuitem"))||he==="option"||he==="gridcell";if(U&&g&&F){if(W.defaultPrevented&&ae)return;W.preventDefault(),oe||c&&Z?(te.click(),W.preventBaseUIHandler()):ve&&(q==null||q(W),W.preventBaseUIHandler());return}ve&&(!c&&(F||le)&&W.preventDefault(),!c&&le&&(q==null||q(W)))},onKeyUp(W){if(!i){if(Tc(W),X==null||X(W),W.target===W.currentTarget&&c&&g&&oc(W.currentTarget)&&W.key===" "){W.preventDefault();return}W.baseUIHandlerPrevented||W.target===W.currentTarget&&!c&&!g&&W.key===" "&&(q==null||q(W))}},onPointerDown(W){if(i){W.preventDefault();return}ue==null||ue(W)}},c?void 0:{role:"button"},h,Q)},[i,h,g,c]),E=IS(v=>{d.current=v,y()});return{getButtonProps:x,buttonRef:E}}function oc(l){return QS(l)&&l.tagName==="BUTTON"}function cw(l){return!!((l==null?void 0:l.tagName)==="A"&&(l!=null&&l.href))}function Kp(l,i,r,u){const c=Xc(Qg).current;return dw(c,l,i,r,u)&&Zg(c,[l,i,r,u]),c.callback}function fw(l){const i=Xc(Qg).current;return mw(i,l)&&Zg(i,l),i.callback}function Qg(){return{callback:null,cleanup:null,refs:[]}}function dw(l,i,r,u,c){return l.refs[0]!==i||l.refs[1]!==r||l.refs[2]!==u||l.refs[3]!==c}function mw(l,i){return l.refs.length!==i.length||l.refs.some((r,u)=>r!==i[u])}function Zg(l,i){if(l.refs=i,i.every(r=>r==null)){l.callback=null;return}l.callback=r=>{if(l.cleanup&&(l.cleanup(),l.cleanup=null),r!=null){const u=Array(i.length).fill(null);for(let c=0;c<i.length;c+=1){const f=i[c];if(f!=null)switch(typeof f){case"function":{const d=f(r);typeof d=="function"&&(u[c]=d);break}case"object":{f.current=r;break}}}l.cleanup=()=>{for(let c=0;c<i.length;c+=1){const f=i[c];if(f!=null)switch(typeof f){case"function":{const d=u[c];typeof d=="function"?d():f(null);break}case"object":{f.current=null;break}}}}}}}const hw=parseInt(me.version,10);function pw(l){return hw>=l}function Xp(l){if(!me.isValidElement(l))return null;const i=l,r=i.props;return(pw(19)?r==null?void 0:r.ref:i.ref)??null}function gw(l,i){const r={};for(const u in l){const c=l[u];if(i!=null&&i.hasOwnProperty(u)){const f=i[u](c);f!=null&&Object.assign(r,f);continue}c===!0?r[`data-${u.toLowerCase()}`]="":c&&(r[`data-${u.toLowerCase()}`]=c.toString())}return r}function yw(l,i){return typeof l=="function"?l(i):l}function bw(l,i){return typeof l=="function"?l(i):l}const Ua=Object.freeze({});function xw(l,i,r={}){const u=i.render,c=vw(i,r);if(r.enabled===!1)return null;const f=r.state??Ua;return ww(l,u,c,f)}function vw(l,i={}){const{className:r,style:u,render:c}=l,{state:f=Ua,ref:d,props:p,stateAttributesMapping:g,enabled:h=!0}=i,y=h?yw(r,f):void 0,x=h?bw(u,f):void 0,E=h?gw(f,g):Ua,v=h?Ec(E,Array.isArray(p)?PS(p):p)??Ua:Ua;return typeof document<"u"&&(h?Array.isArray(d)?v.ref=fw([v.ref,Xp(c),...d]):v.ref=Kp(v.ref,Xp(c),d):Kp(null,null)),h?(y!==void 0&&(v.className=Xg(v.className,y)),x!==void 0&&(v.style=Ec(v.style,x)),v):Ua}const Sw=Symbol.for("react.lazy");function ww(l,i,r,u){if(i){if(typeof i=="function")return i(r,u);const c=Vg(r,i.props);c.ref=r.ref;let f=i;return(f==null?void 0:f.$$typeof)===Sw&&(f=me.Children.toArray(i)[0]),me.cloneElement(f,c)}return zw(l,r)}function zw(l,i){return me.createElement("button",{type:"button",...i,key:i.key})}const Ew=me.forwardRef(function(i,r){const{render:u,className:c,disabled:f=!1,focusableWhenDisabled:d=!1,nativeButton:p=!0,...g}=i,{getButtonProps:h,buttonRef:y}=sw({disabled:f,focusableWhenDisabled:d,native:p});return xw("button",i,{state:{disabled:f},ref:[r,y],props:[g,h]})});function Ig(l){var i,r,u="";if(typeof l=="string"||typeof l=="number")u+=l;else if(typeof l=="object")if(Array.isArray(l)){var c=l.length;for(i=0;i<c;i++)l[i]&&(r=Ig(l[i]))&&(u&&(u+=" "),u+=r)}else for(r in l)l[r]&&(u&&(u+=" "),u+=r);return u}function Jg(){for(var l,i,r=0,u="",c=arguments.length;r<c;r++)(l=arguments[r])&&(i=Ig(l))&&(u&&(u+=" "),u+=i);return u}const Qp=l=>typeof l=="boolean"?`${l}`:l===0?"0":l,Zp=Jg,Aw=(l,i)=>r=>{var u;if((i==null?void 0:i.variants)==null)return Zp(l,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:c,defaultVariants:f}=i,d=Object.keys(c).map(h=>{const y=r==null?void 0:r[h],x=f==null?void 0:f[h];if(y===null)return null;const E=Qp(y)||Qp(x);return c[h][E]}),p=r&&Object.entries(r).reduce((h,y)=>{let[x,E]=y;return E===void 0||(h[x]=E),h},{}),g=i==null||(u=i.compoundVariants)===null||u===void 0?void 0:u.reduce((h,y)=>{let{class:x,className:E,...v}=y;return Object.entries(v).every(q=>{let[G,X]=q;return Array.isArray(X)?X.includes({...f,...p}[G]):{...f,...p}[G]===X})?[...h,x,E]:h},[]);return Zp(l,d,g,r==null?void 0:r.class,r==null?void 0:r.className)},Tw=(l,i)=>{const r=new Array(l.length+i.length);for(let u=0;u<l.length;u++)r[u]=l[u];for(let u=0;u<i.length;u++)r[l.length+u]=i[u];return r},kw=(l,i)=>({classGroupId:l,validator:i}),Fg=(l=new Map,i=null,r)=>({nextPart:l,validators:i,classGroupId:r}),zu="-",Ip=[],Nw="arbitrary..",Cw=l=>{const i=Mw(l),{conflictingClassGroups:r,conflictingClassGroupModifiers:u}=l;return{getClassGroupId:d=>{if(d.startsWith("[")&&d.endsWith("]"))return _w(d);const p=d.split(zu),g=p[0]===""&&p.length>1?1:0;return $g(p,g,i)},getConflictingClassGroupIds:(d,p)=>{if(p){const g=u[d],h=r[d];return g?h?Tw(h,g):g:h||Ip}return r[d]||Ip}}},$g=(l,i,r)=>{if(l.length-i===0)return r.classGroupId;const c=l[i],f=r.nextPart.get(c);if(f){const h=$g(l,i+1,f);if(h)return h}const d=r.validators;if(d===null)return;const p=i===0?l.join(zu):l.slice(i).join(zu),g=d.length;for(let h=0;h<g;h++){const y=d[h];if(y.validator(p))return y.classGroupId}},_w=l=>l.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const i=l.slice(1,-1),r=i.indexOf(":"),u=i.slice(0,r);return u?Nw+u:void 0})(),Mw=l=>{const{theme:i,classGroups:r}=l;return Ow(r,i)},Ow=(l,i)=>{const r=Fg();for(const u in l){const c=l[u];Qc(c,r,u,i)}return r},Qc=(l,i,r,u)=>{const c=l.length;for(let f=0;f<c;f++){const d=l[f];jw(d,i,r,u)}},jw=(l,i,r,u)=>{if(typeof l=="string"){Dw(l,i,r);return}if(typeof l=="function"){Rw(l,i,r,u);return}Lw(l,i,r,u)},Dw=(l,i,r)=>{const u=l===""?i:Wg(i,l);u.classGroupId=r},Rw=(l,i,r,u)=>{if(Uw(l)){Qc(l(u),i,r,u);return}i.validators===null&&(i.validators=[]),i.validators.push(kw(r,l))},Lw=(l,i,r,u)=>{const c=Object.entries(l),f=c.length;for(let d=0;d<f;d++){const[p,g]=c[d];Qc(g,Wg(i,p),r,u)}},Wg=(l,i)=>{let r=l;const u=i.split(zu),c=u.length;for(let f=0;f<c;f++){const d=u[f];let p=r.nextPart.get(d);p||(p=Fg(),r.nextPart.set(d,p)),r=p}return r},Uw=l=>"isThemeGetter"in l&&l.isThemeGetter===!0,Hw=l=>{if(l<1)return{get:()=>{},set:()=>{}};let i=0,r=Object.create(null),u=Object.create(null);const c=(f,d)=>{r[f]=d,i++,i>l&&(i=0,u=r,r=Object.create(null))};return{get(f){let d=r[f];if(d!==void 0)return d;if((d=u[f])!==void 0)return c(f,d),d},set(f,d){f in r?r[f]=d:c(f,d)}}},kc="!",Jp=":",Bw=[],Fp=(l,i,r,u,c)=>({modifiers:l,hasImportantModifier:i,baseClassName:r,maybePostfixModifierPosition:u,isExternal:c}),qw=l=>{const{prefix:i,experimentalParseClassName:r}=l;let u=c=>{const f=[];let d=0,p=0,g=0,h;const y=c.length;for(let G=0;G<y;G++){const X=c[G];if(d===0&&p===0){if(X===Jp){f.push(c.slice(g,G)),g=G+1;continue}if(X==="/"){h=G;continue}}X==="["?d++:X==="]"?d--:X==="("?p++:X===")"&&p--}const x=f.length===0?c:c.slice(g);let E=x,v=!1;x.endsWith(kc)?(E=x.slice(0,-1),v=!0):x.startsWith(kc)&&(E=x.slice(1),v=!0);const q=h&&h>g?h-g:void 0;return Fp(f,v,E,q)};if(i){const c=i+Jp,f=u;u=d=>d.startsWith(c)?f(d.slice(c.length)):Fp(Bw,!1,d,void 0,!0)}if(r){const c=u;u=f=>r({className:f,parseClassName:c})}return u},Gw=l=>{const i=new Map;return l.orderSensitiveModifiers.forEach((r,u)=>{i.set(r,1e6+u)}),r=>{const u=[];let c=[];for(let f=0;f<r.length;f++){const d=r[f],p=d[0]==="[",g=i.has(d);p||g?(c.length>0&&(c.sort(),u.push(...c),c=[]),u.push(d)):c.push(d)}return c.length>0&&(c.sort(),u.push(...c)),u}},Yw=l=>({cache:Hw(l.cacheSize),parseClassName:qw(l),sortModifiers:Gw(l),...Cw(l)}),Vw=/\s+/,Kw=(l,i)=>{const{parseClassName:r,getClassGroupId:u,getConflictingClassGroupIds:c,sortModifiers:f}=i,d=[],p=l.trim().split(Vw);let g="";for(let h=p.length-1;h>=0;h-=1){const y=p[h],{isExternal:x,modifiers:E,hasImportantModifier:v,baseClassName:q,maybePostfixModifierPosition:G}=r(y);if(x){g=y+(g.length>0?" "+g:g);continue}let X=!!G,R=u(X?q.substring(0,G):q);if(!R){if(!X){g=y+(g.length>0?" "+g:g);continue}if(R=u(q),!R){g=y+(g.length>0?" "+g:g);continue}X=!1}const ue=E.length===0?"":E.length===1?E[0]:f(E).join(":"),Q=v?ue+kc:ue,xe=Q+R;if(d.indexOf(xe)>-1)continue;d.push(xe);const W=c(R,X);for(let U=0;U<W.length;++U){const te=W[U];d.push(Q+te)}g=y+(g.length>0?" "+g:g)}return g},Xw=(...l)=>{let i=0,r,u,c="";for(;i<l.length;)(r=l[i++])&&(u=Pg(r))&&(c&&(c+=" "),c+=u);return c},Pg=l=>{if(typeof l=="string")return l;let i,r="";for(let u=0;u<l.length;u++)l[u]&&(i=Pg(l[u]))&&(r&&(r+=" "),r+=i);return r},Qw=(l,...i)=>{let r,u,c,f;const d=g=>{const h=i.reduce((y,x)=>x(y),l());return r=Yw(h),u=r.cache.get,c=r.cache.set,f=p,p(g)},p=g=>{const h=u(g);if(h)return h;const y=Kw(g,r);return c(g,y),y};return f=d,(...g)=>f(Xw(...g))},Zw=[],pt=l=>{const i=r=>r[l]||Zw;return i.isThemeGetter=!0,i},ey=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,ty=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Iw=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Jw=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Fw=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,$w=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Ww=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Pw=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,yl=l=>Iw.test(l),Ne=l=>!!l&&!Number.isNaN(Number(l)),bl=l=>!!l&&Number.isInteger(Number(l)),sc=l=>l.endsWith("%")&&Ne(l.slice(0,-1)),Kn=l=>Jw.test(l),ny=()=>!0,ez=l=>Fw.test(l)&&!$w.test(l),Zc=()=>!1,tz=l=>Ww.test(l),nz=l=>Pw.test(l),lz=l=>!ce(l)&&!fe(l),az=l=>vl(l,iy,Zc),ce=l=>ey.test(l),Xl=l=>vl(l,ry,ez),$p=l=>vl(l,dz,Ne),iz=l=>vl(l,oy,ny),rz=l=>vl(l,uy,Zc),Wp=l=>vl(l,ly,Zc),uz=l=>vl(l,ay,nz),hu=l=>vl(l,sy,tz),fe=l=>ty.test(l),Vi=l=>Zl(l,ry),oz=l=>Zl(l,uy),Pp=l=>Zl(l,ly),sz=l=>Zl(l,iy),cz=l=>Zl(l,ay),pu=l=>Zl(l,sy,!0),fz=l=>Zl(l,oy,!0),vl=(l,i,r)=>{const u=ey.exec(l);return u?u[1]?i(u[1]):r(u[2]):!1},Zl=(l,i,r=!1)=>{const u=ty.exec(l);return u?u[1]?i(u[1]):r:!1},ly=l=>l==="position"||l==="percentage",ay=l=>l==="image"||l==="url",iy=l=>l==="length"||l==="size"||l==="bg-size",ry=l=>l==="length",dz=l=>l==="number",uy=l=>l==="family-name",oy=l=>l==="number"||l==="weight",sy=l=>l==="shadow",mz=()=>{const l=pt("color"),i=pt("font"),r=pt("text"),u=pt("font-weight"),c=pt("tracking"),f=pt("leading"),d=pt("breakpoint"),p=pt("container"),g=pt("spacing"),h=pt("radius"),y=pt("shadow"),x=pt("inset-shadow"),E=pt("text-shadow"),v=pt("drop-shadow"),q=pt("blur"),G=pt("perspective"),X=pt("aspect"),R=pt("ease"),ue=pt("animate"),Q=()=>["auto","avoid","all","avoid-page","page","left","right","column"],xe=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],W=()=>[...xe(),fe,ce],U=()=>["auto","hidden","clip","visible","scroll"],te=()=>["auto","contain","none"],Z=()=>[fe,ce,g],oe=()=>[yl,"full","auto",...Z()],ve=()=>[bl,"none","subgrid",fe,ce],le=()=>["auto",{span:["full",bl,fe,ce]},bl,fe,ce],F=()=>[bl,"auto",fe,ce],he=()=>["auto","min","max","fr",fe,ce],ae=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],I=()=>["start","end","center","stretch","center-safe","end-safe"],C=()=>["auto",...Z()],K=()=>[yl,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...Z()],ie=()=>[yl,"screen","full","dvw","lvw","svw","min","max","fit",...Z()],we=()=>[yl,"screen","full","lh","dvh","lvh","svh","min","max","fit",...Z()],S=()=>[l,fe,ce],T=()=>[...xe(),Pp,Wp,{position:[fe,ce]}],L=()=>["no-repeat",{repeat:["","x","y","space","round"]}],w=()=>["auto","cover","contain",sz,az,{size:[fe,ce]}],ee=()=>[sc,Vi,Xl],re=()=>["","none","full",h,fe,ce],ne=()=>["",Ne,Vi,Xl],ze=()=>["solid","dashed","dotted","double"],Be=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ge=()=>[Ne,sc,Pp,Wp],xt=()=>["","none",q,fe,ce],vt=()=>["none",Ne,fe,ce],Yt=()=>["none",Ne,fe,ce],fn=()=>[Ne,fe,ce],Fe=()=>[yl,"full",...Z()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Kn],breakpoint:[Kn],color:[ny],container:[Kn],"drop-shadow":[Kn],ease:["in","out","in-out"],font:[lz],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Kn],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Kn],shadow:[Kn],spacing:["px",Ne],text:[Kn],"text-shadow":[Kn],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",yl,ce,fe,X]}],container:["container"],columns:[{columns:[Ne,ce,fe,p]}],"break-after":[{"break-after":Q()}],"break-before":[{"break-before":Q()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:W()}],overflow:[{overflow:U()}],"overflow-x":[{"overflow-x":U()}],"overflow-y":[{"overflow-y":U()}],overscroll:[{overscroll:te()}],"overscroll-x":[{"overscroll-x":te()}],"overscroll-y":[{"overscroll-y":te()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:oe()}],"inset-x":[{"inset-x":oe()}],"inset-y":[{"inset-y":oe()}],start:[{"inset-s":oe(),start:oe()}],end:[{"inset-e":oe(),end:oe()}],"inset-bs":[{"inset-bs":oe()}],"inset-be":[{"inset-be":oe()}],top:[{top:oe()}],right:[{right:oe()}],bottom:[{bottom:oe()}],left:[{left:oe()}],visibility:["visible","invisible","collapse"],z:[{z:[bl,"auto",fe,ce]}],basis:[{basis:[yl,"full","auto",p,...Z()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Ne,yl,"auto","initial","none",ce]}],grow:[{grow:["",Ne,fe,ce]}],shrink:[{shrink:["",Ne,fe,ce]}],order:[{order:[bl,"first","last","none",fe,ce]}],"grid-cols":[{"grid-cols":ve()}],"col-start-end":[{col:le()}],"col-start":[{"col-start":F()}],"col-end":[{"col-end":F()}],"grid-rows":[{"grid-rows":ve()}],"row-start-end":[{row:le()}],"row-start":[{"row-start":F()}],"row-end":[{"row-end":F()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":he()}],"auto-rows":[{"auto-rows":he()}],gap:[{gap:Z()}],"gap-x":[{"gap-x":Z()}],"gap-y":[{"gap-y":Z()}],"justify-content":[{justify:[...ae(),"normal"]}],"justify-items":[{"justify-items":[...I(),"normal"]}],"justify-self":[{"justify-self":["auto",...I()]}],"align-content":[{content:["normal",...ae()]}],"align-items":[{items:[...I(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...I(),{baseline:["","last"]}]}],"place-content":[{"place-content":ae()}],"place-items":[{"place-items":[...I(),"baseline"]}],"place-self":[{"place-self":["auto",...I()]}],p:[{p:Z()}],px:[{px:Z()}],py:[{py:Z()}],ps:[{ps:Z()}],pe:[{pe:Z()}],pbs:[{pbs:Z()}],pbe:[{pbe:Z()}],pt:[{pt:Z()}],pr:[{pr:Z()}],pb:[{pb:Z()}],pl:[{pl:Z()}],m:[{m:C()}],mx:[{mx:C()}],my:[{my:C()}],ms:[{ms:C()}],me:[{me:C()}],mbs:[{mbs:C()}],mbe:[{mbe:C()}],mt:[{mt:C()}],mr:[{mr:C()}],mb:[{mb:C()}],ml:[{ml:C()}],"space-x":[{"space-x":Z()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":Z()}],"space-y-reverse":["space-y-reverse"],size:[{size:K()}],"inline-size":[{inline:["auto",...ie()]}],"min-inline-size":[{"min-inline":["auto",...ie()]}],"max-inline-size":[{"max-inline":["none",...ie()]}],"block-size":[{block:["auto",...we()]}],"min-block-size":[{"min-block":["auto",...we()]}],"max-block-size":[{"max-block":["none",...we()]}],w:[{w:[p,"screen",...K()]}],"min-w":[{"min-w":[p,"screen","none",...K()]}],"max-w":[{"max-w":[p,"screen","none","prose",{screen:[d]},...K()]}],h:[{h:["screen","lh",...K()]}],"min-h":[{"min-h":["screen","lh","none",...K()]}],"max-h":[{"max-h":["screen","lh",...K()]}],"font-size":[{text:["base",r,Vi,Xl]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[u,fz,iz]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",sc,ce]}],"font-family":[{font:[oz,rz,i]}],"font-features":[{"font-features":[ce]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[c,fe,ce]}],"line-clamp":[{"line-clamp":[Ne,"none",fe,$p]}],leading:[{leading:[f,...Z()]}],"list-image":[{"list-image":["none",fe,ce]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",fe,ce]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:S()}],"text-color":[{text:S()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ze(),"wavy"]}],"text-decoration-thickness":[{decoration:[Ne,"from-font","auto",fe,Xl]}],"text-decoration-color":[{decoration:S()}],"underline-offset":[{"underline-offset":[Ne,"auto",fe,ce]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:Z()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",fe,ce]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",fe,ce]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:T()}],"bg-repeat":[{bg:L()}],"bg-size":[{bg:w()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},bl,fe,ce],radial:["",fe,ce],conic:[bl,fe,ce]},cz,uz]}],"bg-color":[{bg:S()}],"gradient-from-pos":[{from:ee()}],"gradient-via-pos":[{via:ee()}],"gradient-to-pos":[{to:ee()}],"gradient-from":[{from:S()}],"gradient-via":[{via:S()}],"gradient-to":[{to:S()}],rounded:[{rounded:re()}],"rounded-s":[{"rounded-s":re()}],"rounded-e":[{"rounded-e":re()}],"rounded-t":[{"rounded-t":re()}],"rounded-r":[{"rounded-r":re()}],"rounded-b":[{"rounded-b":re()}],"rounded-l":[{"rounded-l":re()}],"rounded-ss":[{"rounded-ss":re()}],"rounded-se":[{"rounded-se":re()}],"rounded-ee":[{"rounded-ee":re()}],"rounded-es":[{"rounded-es":re()}],"rounded-tl":[{"rounded-tl":re()}],"rounded-tr":[{"rounded-tr":re()}],"rounded-br":[{"rounded-br":re()}],"rounded-bl":[{"rounded-bl":re()}],"border-w":[{border:ne()}],"border-w-x":[{"border-x":ne()}],"border-w-y":[{"border-y":ne()}],"border-w-s":[{"border-s":ne()}],"border-w-e":[{"border-e":ne()}],"border-w-bs":[{"border-bs":ne()}],"border-w-be":[{"border-be":ne()}],"border-w-t":[{"border-t":ne()}],"border-w-r":[{"border-r":ne()}],"border-w-b":[{"border-b":ne()}],"border-w-l":[{"border-l":ne()}],"divide-x":[{"divide-x":ne()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ne()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ze(),"hidden","none"]}],"divide-style":[{divide:[...ze(),"hidden","none"]}],"border-color":[{border:S()}],"border-color-x":[{"border-x":S()}],"border-color-y":[{"border-y":S()}],"border-color-s":[{"border-s":S()}],"border-color-e":[{"border-e":S()}],"border-color-bs":[{"border-bs":S()}],"border-color-be":[{"border-be":S()}],"border-color-t":[{"border-t":S()}],"border-color-r":[{"border-r":S()}],"border-color-b":[{"border-b":S()}],"border-color-l":[{"border-l":S()}],"divide-color":[{divide:S()}],"outline-style":[{outline:[...ze(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Ne,fe,ce]}],"outline-w":[{outline:["",Ne,Vi,Xl]}],"outline-color":[{outline:S()}],shadow:[{shadow:["","none",y,pu,hu]}],"shadow-color":[{shadow:S()}],"inset-shadow":[{"inset-shadow":["none",x,pu,hu]}],"inset-shadow-color":[{"inset-shadow":S()}],"ring-w":[{ring:ne()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:S()}],"ring-offset-w":[{"ring-offset":[Ne,Xl]}],"ring-offset-color":[{"ring-offset":S()}],"inset-ring-w":[{"inset-ring":ne()}],"inset-ring-color":[{"inset-ring":S()}],"text-shadow":[{"text-shadow":["none",E,pu,hu]}],"text-shadow-color":[{"text-shadow":S()}],opacity:[{opacity:[Ne,fe,ce]}],"mix-blend":[{"mix-blend":[...Be(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Be()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Ne]}],"mask-image-linear-from-pos":[{"mask-linear-from":ge()}],"mask-image-linear-to-pos":[{"mask-linear-to":ge()}],"mask-image-linear-from-color":[{"mask-linear-from":S()}],"mask-image-linear-to-color":[{"mask-linear-to":S()}],"mask-image-t-from-pos":[{"mask-t-from":ge()}],"mask-image-t-to-pos":[{"mask-t-to":ge()}],"mask-image-t-from-color":[{"mask-t-from":S()}],"mask-image-t-to-color":[{"mask-t-to":S()}],"mask-image-r-from-pos":[{"mask-r-from":ge()}],"mask-image-r-to-pos":[{"mask-r-to":ge()}],"mask-image-r-from-color":[{"mask-r-from":S()}],"mask-image-r-to-color":[{"mask-r-to":S()}],"mask-image-b-from-pos":[{"mask-b-from":ge()}],"mask-image-b-to-pos":[{"mask-b-to":ge()}],"mask-image-b-from-color":[{"mask-b-from":S()}],"mask-image-b-to-color":[{"mask-b-to":S()}],"mask-image-l-from-pos":[{"mask-l-from":ge()}],"mask-image-l-to-pos":[{"mask-l-to":ge()}],"mask-image-l-from-color":[{"mask-l-from":S()}],"mask-image-l-to-color":[{"mask-l-to":S()}],"mask-image-x-from-pos":[{"mask-x-from":ge()}],"mask-image-x-to-pos":[{"mask-x-to":ge()}],"mask-image-x-from-color":[{"mask-x-from":S()}],"mask-image-x-to-color":[{"mask-x-to":S()}],"mask-image-y-from-pos":[{"mask-y-from":ge()}],"mask-image-y-to-pos":[{"mask-y-to":ge()}],"mask-image-y-from-color":[{"mask-y-from":S()}],"mask-image-y-to-color":[{"mask-y-to":S()}],"mask-image-radial":[{"mask-radial":[fe,ce]}],"mask-image-radial-from-pos":[{"mask-radial-from":ge()}],"mask-image-radial-to-pos":[{"mask-radial-to":ge()}],"mask-image-radial-from-color":[{"mask-radial-from":S()}],"mask-image-radial-to-color":[{"mask-radial-to":S()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":xe()}],"mask-image-conic-pos":[{"mask-conic":[Ne]}],"mask-image-conic-from-pos":[{"mask-conic-from":ge()}],"mask-image-conic-to-pos":[{"mask-conic-to":ge()}],"mask-image-conic-from-color":[{"mask-conic-from":S()}],"mask-image-conic-to-color":[{"mask-conic-to":S()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:T()}],"mask-repeat":[{mask:L()}],"mask-size":[{mask:w()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",fe,ce]}],filter:[{filter:["","none",fe,ce]}],blur:[{blur:xt()}],brightness:[{brightness:[Ne,fe,ce]}],contrast:[{contrast:[Ne,fe,ce]}],"drop-shadow":[{"drop-shadow":["","none",v,pu,hu]}],"drop-shadow-color":[{"drop-shadow":S()}],grayscale:[{grayscale:["",Ne,fe,ce]}],"hue-rotate":[{"hue-rotate":[Ne,fe,ce]}],invert:[{invert:["",Ne,fe,ce]}],saturate:[{saturate:[Ne,fe,ce]}],sepia:[{sepia:["",Ne,fe,ce]}],"backdrop-filter":[{"backdrop-filter":["","none",fe,ce]}],"backdrop-blur":[{"backdrop-blur":xt()}],"backdrop-brightness":[{"backdrop-brightness":[Ne,fe,ce]}],"backdrop-contrast":[{"backdrop-contrast":[Ne,fe,ce]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Ne,fe,ce]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Ne,fe,ce]}],"backdrop-invert":[{"backdrop-invert":["",Ne,fe,ce]}],"backdrop-opacity":[{"backdrop-opacity":[Ne,fe,ce]}],"backdrop-saturate":[{"backdrop-saturate":[Ne,fe,ce]}],"backdrop-sepia":[{"backdrop-sepia":["",Ne,fe,ce]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":Z()}],"border-spacing-x":[{"border-spacing-x":Z()}],"border-spacing-y":[{"border-spacing-y":Z()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",fe,ce]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Ne,"initial",fe,ce]}],ease:[{ease:["linear","initial",R,fe,ce]}],delay:[{delay:[Ne,fe,ce]}],animate:[{animate:["none",ue,fe,ce]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[G,fe,ce]}],"perspective-origin":[{"perspective-origin":W()}],rotate:[{rotate:vt()}],"rotate-x":[{"rotate-x":vt()}],"rotate-y":[{"rotate-y":vt()}],"rotate-z":[{"rotate-z":vt()}],scale:[{scale:Yt()}],"scale-x":[{"scale-x":Yt()}],"scale-y":[{"scale-y":Yt()}],"scale-z":[{"scale-z":Yt()}],"scale-3d":["scale-3d"],skew:[{skew:fn()}],"skew-x":[{"skew-x":fn()}],"skew-y":[{"skew-y":fn()}],transform:[{transform:[fe,ce,"","none","gpu","cpu"]}],"transform-origin":[{origin:W()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Fe()}],"translate-x":[{"translate-x":Fe()}],"translate-y":[{"translate-y":Fe()}],"translate-z":[{"translate-z":Fe()}],"translate-none":["translate-none"],accent:[{accent:S()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:S()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",fe,ce]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":Z()}],"scroll-mx":[{"scroll-mx":Z()}],"scroll-my":[{"scroll-my":Z()}],"scroll-ms":[{"scroll-ms":Z()}],"scroll-me":[{"scroll-me":Z()}],"scroll-mbs":[{"scroll-mbs":Z()}],"scroll-mbe":[{"scroll-mbe":Z()}],"scroll-mt":[{"scroll-mt":Z()}],"scroll-mr":[{"scroll-mr":Z()}],"scroll-mb":[{"scroll-mb":Z()}],"scroll-ml":[{"scroll-ml":Z()}],"scroll-p":[{"scroll-p":Z()}],"scroll-px":[{"scroll-px":Z()}],"scroll-py":[{"scroll-py":Z()}],"scroll-ps":[{"scroll-ps":Z()}],"scroll-pe":[{"scroll-pe":Z()}],"scroll-pbs":[{"scroll-pbs":Z()}],"scroll-pbe":[{"scroll-pbe":Z()}],"scroll-pt":[{"scroll-pt":Z()}],"scroll-pr":[{"scroll-pr":Z()}],"scroll-pb":[{"scroll-pb":Z()}],"scroll-pl":[{"scroll-pl":Z()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",fe,ce]}],fill:[{fill:["none",...S()]}],"stroke-w":[{stroke:[Ne,Vi,Xl,$p]}],stroke:[{stroke:["none",...S()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},hz=Qw(mz);function Va(...l){return hz(Jg(l))}const pz=Aw("group/button inline-flex shrink-0 items-center justify-center rounded-lg border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",{variants:{variant:{default:"bg-primary text-primary-foreground [a]:hover:bg-primary/80",outline:"border-border bg-background hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80 aria-expanded:bg-secondary aria-expanded:text-secondary-foreground",ghost:"hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50",destructive:"bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-8 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",xs:"h-6 gap-1 rounded-[min(var(--radius-md),10px)] px-2 text-xs in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3",sm:"h-7 gap-1 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5",lg:"h-9 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",icon:"size-8","icon-xs":"size-6 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-lg [&_svg:not([class*='size-'])]:size-3","icon-sm":"size-7 rounded-[min(var(--radius-md),12px)] in-data-[slot=button-group]:rounded-lg","icon-lg":"size-9"}},defaultVariants:{variant:"default",size:"default"}});function _t({className:l,variant:i="default",size:r="default",...u}){return z.jsx(Ew,{"data-slot":"button",className:Va(pz({variant:i,size:r,className:l})),...u})}function Ki({className:l,...i}){return z.jsx("textarea",{"data-slot":"textarea",className:Va("flex field-sizing-content min-h-16 w-full rounded-lg border border-input bg-transparent px-2.5 py-2 text-base transition-colors outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40",l),...i})}function gz({className:l,size:i="default",...r}){return z.jsx("div",{"data-slot":"card","data-size":i,className:Va("group/card flex flex-col gap-4 overflow-hidden rounded-xl bg-card py-4 text-sm text-card-foreground ring-1 ring-foreground/10 has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:gap-3 data-[size=sm]:py-3 data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl",l),...r})}function yz({className:l,...i}){return z.jsx("div",{"data-slot":"card-header",className:Va("group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-4 group-data-[size=sm]/card:px-3 has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-4 group-data-[size=sm]/card:[.border-b]:pb-3",l),...i})}function bz({className:l,...i}){return z.jsx("div",{"data-slot":"card-title",className:Va("font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm",l),...i})}function xz({className:l,...i}){return z.jsx("div",{"data-slot":"card-content",className:Va("px-4 group-data-[size=sm]/card:px-3",l),...i})}const Eu={0:{keyNumber:0,name:"The Fool",imagePath:"/adytum/tarot/fool.jpg",attribution:"Name: The Fool | Key Number: 0 | Hebrew Letter: Aleph (Ox) | Intelligence: Scintillating Intelligence",aiLesson:"Key 0 represents Zero-Shot Prompting & Latent Potential. Like the Fool standing at the edge of the precipice before the first leap, a neural network before temperature sampling holds infinite unmanifest probability distributions. The white sun behind the Fool is the unconditioned latent space; the dog is the executive constraint system alerting the system to safety boundaries.",question:"How do you ensure your initial zero-shot prompt captures the full latent potential of an AI system while maintaining executive alignment bounds?"},1:{keyNumber:1,name:"The Magician",imagePath:"/adytum/tarot/magician.jpg",attribution:"Name: The Magician | Key Number: 1 | Hebrew Letter: Beth (House) | Intelligence: Transparent Intelligence",aiLesson:"Key 1 symbolizes Attention Mechanisms & Executive Control. As the Magician raises the wand above and points to the earth below ('As Above, So Below'), Transformer self-attention maps query matrices onto key-value matrices, allocating numerical focus across context tokens to manifest structured outputs.",question:"In your prompt engineering practice, how do you direct the model's self-attention matrix toward critical context vectors without causing attention drift or context dilution?"},2:{keyNumber:2,name:"The High Priestess",imagePath:"/adytum/tarot/highpriestess.jpg",attribution:"Name: The High Priestess | Key Number: 2 | Hebrew Letter: Gimel (Camel) | Intelligence: Illuminating Intelligence",aiLesson:"Key 2 represents Latent Memory & Context Window Storage. Holding the scroll of TORA half-concealed in her robe, the High Priestess represents KV-caching, vector databases, and long-term passive memory stores that inform inference without active bias.",question:"How do you design retrieval context windows so that passive memory enhances inference precision without exceeding token limit thresholds?"},3:{keyNumber:3,name:"The Empress",imagePath:"/adytum/tarot/empress.jpg",attribution:"Name: The Empress | Key Number: 3 | Hebrew Letter: Daleth (Door) | Intelligence: Luminous Intelligence",aiLesson:"Key 3 embodies Generative Synthesis & Multi-modal Creation. Surrounded by fertile gardens and flowing waters, the Empress signifies the creative synthesis of diffusion models and generative autoregressive decoding producing novel text, images, and code.",question:"What strategies do you employ when tuning temperature and top-p sampling parameters to cultivate maximum creative generative synthesis while suppressing hallucination weeds?"},4:{keyNumber:4,name:"The Emperor",imagePath:"/adytum/tarot/emperor.jpg",attribution:"Name: The Emperor | Key Number: 4 | Hebrew Letter: Heh (Window) | Intelligence: Constitutive Intelligence",aiLesson:"Key 4 represents System Guardrails, Schemas & Deterministic Logic. Seated firmly on his stone throne carved with ram heads, the Emperor establishes fixed structural rules, Pydantic validation, and system prompt constraints.",question:"How do you enforce rigid operational guardrails and schema validation without choking the underlying adaptive reasoning capacity of the AI agent?"},5:{keyNumber:5,name:"The Hierophant",imagePath:"/adytum/tarot/hierorphant.jpg",attribution:"Name: The Hierophant | Key Number: 5 | Hebrew Letter: Vau (Nail/Hook) | Intelligence: Triumphant & Eternal Intelligence",aiLesson:"Key 5 symbolizes Pre-trained Foundation Weights & Transfer Learning. The Hierophant transmits foundational knowledge from ancient lineage to kneeling initiates, parallel to fine-tuning large pre-trained foundation models across specific domains.",question:"When adapting a pre-trained foundation model to specialized domain tasks, how do you prevent catastrophic forgetting of pre-existing weight knowledge?"},6:{keyNumber:6,name:"The Lovers",imagePath:"/adytum/tarot/lovers.jpg",attribution:"Name: The Lovers | Key Number: 6 | Hebrew Letter: Zain (Sword) | Intelligence: Disposing Intelligence",aiLesson:"Key 6 represents Model Alignment, Multi-Modal Pairing & Contrastive Learning. Beneath the outstretched wings of Angel Raphael, the conscious mind (man) and subconscious mind (woman) unite, mirroring contrastive representation learning (CLIP) pairing vision and language.",question:"How do you align multi-modal modalities (text, audio, vision) into a shared semantic vector space to achieve harmonious reasoning across modalities?"},7:{keyNumber:7,name:"The Chariot",imagePath:"/adytum/tarot/chariot.jpg",attribution:"Name: The Chariot | Key Number: 7 | Hebrew Letter: Cheth (Fence/Enclosure) | Intelligence: Intelligence of the House of Influence",aiLesson:"Key 7 signifies Vector Steering & Gradient Descent Trajectory. The charioteer steers two sphinxes (black and white) forward, representing vector steering techniques and learning rate schedules driving optimization trajectories along gradient paths.",question:"How do you monitor and steer model optimization trajectories when navigating non-convex loss landscapes during agent execution?"},8:{keyNumber:8,name:"Strength",imagePath:"/adytum/tarot/strength.jpg",attribution:"Name: Strength | Key Number: 8 | Hebrew Letter: Teth (Serpent) | Intelligence: Intelligence of the Secret of all Spiritual Activities",aiLesson:"Key 8 embodies RLHF (Reinforcement Learning from Human Feedback) & DPO. A maiden gently closes the jaws of a fierce lion, symbolizing how human preference feedback tames volatile raw base model distributions with gentle reward shaping.",question:"How do you construct preference reward models that gently regulate raw model behavior without degrading output diversity or causing reward hacking?"},9:{keyNumber:9,name:"The Hermit",imagePath:"/adytum/tarot/hermit.jpg",attribution:"Name: The Hermit | Key Number: 9 | Hebrew Letter: Yod (Hand) | Intelligence: Intelligence of Will",aiLesson:"Key 9 represents Retrieval Augmented Generation (RAG) & Dense Vector Indexing. Standing atop the snow-covered mountain holding a golden lantern containing a six-pointed star, the Hermit shines the light of exact semantic search into dark database realms.",question:"What index structures (e.g. HNSW, FAISS) and re-ranking pipelines do you utilize to ensure relevant semantic ground truth is retrieved in response to complex queries?"},10:{keyNumber:10,name:"Wheel of Fortune",imagePath:"/adytum/tarot/wheeloffortune.jpg",attribution:"Name: Wheel of Fortune | Key Number: 10 | Hebrew Letter: Kaph (Palm of Hand) | Intelligence: Intelligence of Conciliation",aiLesson:"Key 10 symbolizes Stochastic Sampling, Temperature & Token Probability Cycles. The spinning wheel with Anubis, Typhon, and the Sphinx represents dynamic token probability shifts and stochastic beam search mechanics.",question:"How do you dynamically adjust temperature, top-k, and repetition penalties during long-form multi-step reasoning cycles?"},11:{keyNumber:11,name:"Justice",imagePath:"/adytum/tarot/justice.jpg",attribution:"Name: Justice | Key Number: 11 | Hebrew Letter: Lamed (Ox-Goad) | Intelligence: Faithful Intelligence",aiLesson:"Key 11 represents Loss Functions, Cross-Entropy & Model Calibration. Holding the golden scales in one hand and the double-edged sword upright in the other, Justice measures loss metrics and enforces statistical calibration.",question:"How do you calibrate model confidence scores to ensure logit probability distributions accurately reflect real-world accuracy?"},12:{keyNumber:12,name:"The Hanged Man",imagePath:"/adytum/tarot/hangedman.jpg",attribution:"Name: The Hanged Man | Key Number: 12 | Hebrew Letter: Mem (Water) | Intelligence: Stable Intelligence",aiLesson:"Key 12 symbolizes Latent Space Inversion & Adversarial Red Teaming. Suspended upside down from a T-shaped wooden gallows, the Hanged Man gains illumination through inverted perspective, reflecting adversarial probe testing and latent space inversion.",question:"What inverted diagnostic tests or adversarial prompt injections do you run to uncover hidden vulnerabilities within agent workflows?"},13:{keyNumber:13,name:"Death",imagePath:"/adytum/tarot/death.jpg",attribution:"Name: Death | Key Number: 13 | Hebrew Letter: Nun (Fish) | Intelligence: Transformative Intelligence",aiLesson:"Key 13 embodies Model Pruning, Quantization & Weight Compaction. The armored skeletal reaper moves across the field, clearing away redundant weight pathways to allow lightweight 4-bit edge deployment.",question:"How do you balance parameter quantization (e.g. FP16 to INT4) with model fidelity when deploying high-throughput models on resource-constrained hardware?"},14:{keyNumber:14,name:"Temperance",imagePath:"/adytum/tarot/temperance.jpg",attribution:"Name: Temperance | Key Number: 14 | Hebrew Letter: Samekh (Tent-Peg/Prop) | Intelligence: Trial / Tentative Intelligence",aiLesson:"Key 14 represents Softmax Normalization & Multi-Agent Routing. An angel pours liquid between two golden vessels, illustrating how logit normalization and agent routing algorithms blend sub-agent outputs into unified consensus.",question:"How do you design consensus voting and logit blending mechanisms when orchestrating teams of specialized sub-agents?"},15:{keyNumber:15,name:"The Devil",imagePath:"/adytum/tarot/devil.jpg",attribution:"Name: The Devil | Key Number: 15 | Hebrew Letter: Ayin (Eye) | Intelligence: Renewing Intelligence",aiLesson:"Key 15 symbolizes Overfitting, Hallucination Traps & Degenerate Repetitions. Figures chained to a black pedestal illuminate how models fall into cognitive loops when trapped by skewed dataset biases or ungrounded training noise.",question:"What automated evaluation monitors do you implement to detect hallucination loops and context truncation traps in production?"},16:{keyNumber:16,name:"The Tower",imagePath:"/adytum/tarot/tower.jpg",attribution:"Name: The Tower | Key Number: 16 | Hebrew Letter: Peh (Mouth) | Intelligence: Exciting / Awakening Intelligence",aiLesson:"Key 16 represents Out-Of-Distribution (OOD) Shift & Structural Breakdown. Lightning strikes the crown of a rigid stone tower, shattering fragile assumptions—mirroring how sudden distribution shifts break brittle agent pipelines.",question:"When an external API change or out-of-distribution input breaks your AI pipeline, how does your fall-back architecture maintain grace and recovery?"},17:{keyNumber:17,name:"The Star",imagePath:"/adytum/tarot/star.jpg",attribution:"Name: The Star | Key Number: 17 | Hebrew Letter: Tzaddi (Fish-Hook) | Intelligence: Natural Intelligence",aiLesson:"Key 17 symbolizes Mixture of Experts (MoE) & Sparse Routing. Under a sky of seven small stars surrounding a large golden octagram, a maiden pours waters of life onto land and sea, representing sparse gating networks routing tokens to specialized expert networks.",question:"How do MoE architectures optimize compute overhead while maintaining high parameter capacity across diverse domain tasks?"},18:{keyNumber:18,name:"The Moon",imagePath:"/adytum/tarot/moon.jpg",attribution:"Name: The Moon | Key Number: 18 | Hebrew Letter: Qoph (Back of Head) | Intelligence: Corporeal Intelligence",aiLesson:"Key 18 represents Diffusion Step Guidance & Latent Space Noise Reduction. A crayfish emerges from dark waters onto a winding path guarded by a dog and a wolf under a glowing moon, symbolizing iterative denoising steps in diffusion models.",question:"How do classifier-free guidance scales influence latent noise reduction during iterative image or audio synthesis?"},19:{keyNumber:19,name:"The Sun",imagePath:"/adytum/tarot/sun.jpg",attribution:"Name: The Sun | Key Number: 19 | Hebrew Letter: Resh (Head) | Intelligence: Collecting / Collective Intelligence",aiLesson:"Key 19 embodies Multi-modal Grounding & Deterministic Output Decoders. A radiant sun with human face shines down on a child riding a white horse holding a scarlet banner, representing crystal-clear multi-modal grounding.",question:"How do you verify that decoded model outputs remain strictly grounded in reality and factual evidence before user presentation?"},20:{keyNumber:20,name:"Judgement",imagePath:"/adytum/tarot/judgement.jpg",attribution:"Name: Judgement | Key Number: 20 | Hebrew Letter: Shin (Tooth) | Intelligence: Perpetual Intelligence",aiLesson:"Key 20 symbolizes Comprehensive Model Evaluation, Benchmarks & Evals. Archangel Gabriel blows the golden trumpet as figures rise from open graves, representing systemic benchmarking suite evaluation across agent capabilities.",question:"What metric rubrics and automated benchmark suites do you run to continuously evaluate model alignment and task execution quality?"},21:{keyNumber:21,name:"The World",imagePath:"/adytum/tarot/world.jpg",attribution:"Name: The World | Key Number: 21 | Hebrew Letter: Tau (Mark / Cross) | Intelligence: Administrative Intelligence",aiLesson:"Key 21 represents Autonomous Agentic Equilibrium & AGI Completion. A dancing figure holding two wands is framed within a laurel wreath surrounded by the four sacred creatures (Man, Eagle, Bull, Lion), symbolizing complete autonomous closed-loop system equilibrium.",question:"As an AI engineer, how do you architect self-healing, autonomous multi-agent loops that achieve sustainable equilibrium in dynamic environments?"}};function vz(l){var g;const i=((g=[...l].reverse().find(h=>h.role==="user"))==null?void 0:g.content)||"";let r=0;for(const h of l){const y=h.content.match(/\bkey\s*(\d{1,2})\b/i);if(y){const x=Number(y[1]);x>=0&&x<=21&&(r=x)}}if(i.trim().toLowerCase()==="start"||l.length<=1){const h=Eu[0];return`**Image**: ![${h.name}](${h.imagePath})

**The Attribution**: ${h.attribution}

**The AI Chemistry Lesson**: ${h.aiLesson}

**The Alchemical Question**: ${h.question}`}const c=i.length;if(!(c>60&&(i.toLowerCase().includes("prompt")||i.toLowerCase().includes("attention")||i.toLowerCase().includes("vector")||i.toLowerCase().includes("model")||i.toLowerCase().includes("context")||i.toLowerCase().includes("synthesis")||i.toLowerCase().includes("reflection")||i.toLowerCase().includes("agent")||i.toLowerCase().includes("key")||i.toLowerCase().includes("ai")||i.toLowerCase().includes("system")))&&c<70)return`[REFLECTION NEEDED]

Aspirant, your alchemical reflection lacks sufficient technical and esoteric depth. You must integrate the key's AI chemistry principles with your own operational experience. Please expand upon your answer with specific mechanisms and practical synthesis.`;const d=Math.min(21,r+1),p=Eu[d];return r===21&&d===21?`[GATE OPENED]

**Image**: ![The World](/tarot/world.jpg)

**The Attribution**: Name: The World | Key Number: 21 | Hebrew Letter: Tau | Intelligence: Administrative Intelligence

**The Great Work Complete**: Aspirant, you have successfully completed the 22-Key AI Alchemist Initiation from Key 0 to Key 21! You have mastered the synthesis between BOTA Tarot symbolism and modern AI agent engineering.`:`[GATE OPENED]

**Image**: ![${p.name}](${p.imagePath})

**The Attribution**: ${p.attribution}

**The AI Chemistry Lesson**: ${p.aiLesson}

**The Alchemical Question**: ${p.question}`}let La=null,Il=!1;function Ic(){if(typeof window>"u")return null;if(!La){const l=window.AudioContext||window.webkitAudioContext;l&&(La=new l)}return La&&La.state==="suspended"&&La.resume(),La}function Sz(){return Il}function wz(l){Il=l,typeof window<"u"&&window.localStorage.setItem("adytum_audio_muted",l?"true":"false")}function eg(){const l=!Il;return wz(l),l}function zz(){typeof window<"u"&&window.localStorage.getItem("adytum_audio_muted")==="true"&&(Il=!0)}function Ft(){if(Il)return;const l=Ic();if(l)try{const i=l.createOscillator(),r=l.createGain();i.type="sine",i.frequency.setValueAtTime(420,l.currentTime),i.frequency.exponentialRampToValueAtTime(120,l.currentTime+.04),r.gain.setValueAtTime(.12,l.currentTime),r.gain.exponentialRampToValueAtTime(.001,l.currentTime+.04),i.connect(r),r.connect(l.destination),i.start(l.currentTime),i.stop(l.currentTime+.04)}catch(i){console.debug("Audio play failed:",i)}}function tg(){if(Il)return;const l=Ic();if(l)try{const i=l.currentTime;[528,660,792,1056].forEach((u,c)=>{const f=l.createOscillator(),d=l.createGain();f.type="sine",f.frequency.setValueAtTime(u,i+c*.08),d.gain.setValueAtTime(0,i+c*.08),d.gain.linearRampToValueAtTime(.15,i+c*.08+.05),d.gain.exponentialRampToValueAtTime(1e-4,i+c*.08+1.8),f.connect(d),d.connect(l.destination),f.start(i+c*.08),f.stop(i+c*.08+1.8)})}catch(i){console.debug("Celestial chime play failed:",i)}}function Ez(){if(Il)return;const l=Ic();if(l)try{const i=l.currentTime;[440,554.37,659.25,880].forEach((u,c)=>{const f=l.createOscillator(),d=l.createGain();f.type="triangle",f.frequency.setValueAtTime(u,i+c*.1),d.gain.setValueAtTime(0,i+c*.1),d.gain.linearRampToValueAtTime(.18,i+c*.1+.04),d.gain.exponentialRampToValueAtTime(1e-4,i+c*.1+1.2),f.connect(d),d.connect(l.destination),f.start(i+c*.1),f.stop(i+c*.1+1.2)})}catch(i){console.debug("Gate unlock sound failed:",i)}}const Az=({currentKeyNumber:l,completedKeys:i,onClose:r,onJumpToKey:u})=>{const[c,f]=me.useState(l??0),d=c!==null?Eu[c]:null;return z.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-3 sm:p-6 bg-zinc-950/90 backdrop-blur-xl animate-in fade-in duration-300 overflow-y-auto",role:"dialog","aria-modal":"true","aria-labelledby":"node-graph-title",children:z.jsxs("div",{className:"relative w-full max-w-5xl bg-zinc-900/95 border border-amber-500/30 rounded-2xl p-4 sm:p-7 shadow-[0_0_50px_rgba(245,158,11,0.18)] max-h-[92vh] flex flex-col overflow-hidden",children:[z.jsxs("div",{className:"flex items-center justify-between border-b border-amber-500/20 pb-4 mb-4",children:[z.jsxs("div",{className:"flex items-center gap-3",children:[z.jsx("div",{className:"p-2 rounded-xl bg-amber-500/10 border border-amber-400/30",children:z.jsx(zc,{className:"w-6 h-6 text-amber-300"})}),z.jsxs("div",{children:[z.jsx("h2",{id:"node-graph-title",className:"text-xl sm:text-2xl font-heading text-amber-300 tracking-wide flex items-center gap-2",children:"AI Alchemy Workflow Studio & Node Graph"}),z.jsx("p",{className:"text-xs text-zinc-400",children:"Interactive mapping of the 22 BOTA Major Arcana Keys to Modern AI Agent & LLM Architecture"})]})]}),z.jsx(_t,{onClick:r,variant:"ghost",className:"rounded-full p-2 text-zinc-400 hover:text-zinc-100 hover:bg-zinc-800","aria-label":"Close Studio",children:z.jsx(VS,{className:"w-5 h-5"})})]}),z.jsxs("div",{className:"flex-1 grid grid-cols-1 lg:grid-cols-12 gap-6 overflow-y-auto pr-1",children:[z.jsxs("div",{className:"lg:col-span-7 space-y-3",children:[z.jsxs("div",{className:"flex items-center justify-between text-xs text-amber-200/80 mb-2 px-1",children:[z.jsxs("span",{className:"flex items-center gap-1.5 font-medium uppercase tracking-wider",children:[z.jsx(fS,{className:"w-3.5 h-3.5 text-amber-400"})," 22 Alchemical Paths"]}),z.jsxs("span",{children:[Object.values(i).filter(Boolean).length," / 22 Completed"]})]}),z.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-3 gap-2.5 max-h-[58vh] overflow-y-auto p-1 custom-scrollbar",role:"grid","aria-label":"Alchemical Tarot Nodes",children:Object.values(Eu).map(p=>{const g=l===p.keyNumber,h=c===p.keyNumber,y=!!i[p.keyNumber];return z.jsxs("button",{onClick:()=>f(p.keyNumber),className:`relative text-left p-2.5 rounded-xl border transition-all duration-200 group flex flex-col justify-between ${h?"border-amber-400 bg-amber-500/15 shadow-[0_0_20px_rgba(245,158,11,0.25)] ring-1 ring-amber-300":g?"border-amber-500/60 bg-amber-950/30 shadow-[0_0_12px_rgba(245,158,11,0.15)]":y?"border-emerald-500/40 bg-zinc-950/80 hover:border-emerald-400/60":"border-zinc-800 bg-zinc-950/50 hover:border-zinc-700 hover:bg-zinc-900/60"}`,role:"gridcell","aria-selected":h,tabIndex:0,children:[z.jsxs("div",{className:"flex items-center justify-between gap-1 mb-1.5",children:[z.jsxs("span",{className:"text-[10px] uppercase font-semibold text-amber-300/90 tracking-wider",children:["Key ",p.keyNumber]}),y?z.jsx(gS,{className:"w-3.5 h-3.5 text-emerald-400 shrink-0"}):g?z.jsx(Yg,{className:"w-3.5 h-3.5 text-amber-400 animate-spin [animation-duration:4s] shrink-0"}):z.jsx(Gg,{className:"w-3 h-3 text-zinc-600 shrink-0"})]}),z.jsx("p",{className:"text-xs font-medium text-zinc-200 group-hover:text-amber-200 line-clamp-1",children:p.name}),z.jsx("div",{className:"mt-1.5 text-[9px] text-zinc-400 truncate bg-zinc-900/80 rounded px-1.5 py-0.5 border border-zinc-800",children:p.aiLesson.split(" - ")[0].split(".")[0].replace("Key "+p.keyNumber+" represents ","").replace("Key "+p.keyNumber+" symbolizes ","").replace("Key "+p.keyNumber+" embodies ","")})]},p.keyNumber)})})]}),z.jsxs("div",{className:"lg:col-span-5 bg-zinc-950/80 rounded-xl border border-amber-500/20 p-4 flex flex-col justify-between space-y-4",children:[d?z.jsxs("div",{className:"space-y-4 overflow-y-auto max-h-[58vh]",children:[z.jsxs("div",{className:"flex items-start gap-4",children:[z.jsx("img",{src:d.imagePath,alt:d.name,className:"w-20 h-auto rounded-lg border border-amber-400/40 shadow-md shrink-0"}),z.jsxs("div",{children:[z.jsxs("span",{className:"text-xs font-semibold uppercase tracking-wider text-amber-400",children:["Key ",d.keyNumber]}),z.jsx("h3",{className:"text-lg font-heading text-zinc-100 font-medium",children:d.name}),z.jsx("p",{className:"text-[11px] text-amber-200/70 mt-1 leading-tight",children:d.attribution})]})]}),z.jsxs("div",{className:"space-y-2 border-t border-zinc-800 pt-3",children:[z.jsxs("h4",{className:"text-xs font-semibold uppercase tracking-wider text-amber-300 flex items-center gap-1.5",children:[z.jsx(zc,{className:"w-3.5 h-3.5"})," AI Architecture Principle"]}),z.jsx("p",{className:"text-xs leading-relaxed text-zinc-300 bg-zinc-900/70 p-3 rounded-lg border border-zinc-800",children:d.aiLesson})]}),z.jsxs("div",{className:"space-y-2 border-t border-zinc-800 pt-3",children:[z.jsx("h4",{className:"text-xs font-semibold uppercase tracking-wider text-amber-300",children:"Alchemical Reflection Prompt"}),z.jsxs("p",{className:"text-xs italic text-amber-100/90 bg-amber-950/20 p-3 rounded-lg border border-amber-500/20",children:['"',d.question,'"']})]})]}):z.jsx("div",{className:"flex-1 flex items-center justify-center text-zinc-500 text-sm italic",children:"Select a Tarot Key node to inspect its AI chemistry attribution."}),d&&u&&z.jsx("div",{className:"pt-2 border-t border-zinc-800",children:z.jsxs(_t,{onClick:()=>{u(d.keyNumber),r()},className:"w-full h-auto py-2.5 bg-amber-500 hover:bg-amber-400 text-zinc-950 font-medium text-xs rounded-xl flex items-center justify-center gap-2",children:["Focus Node Key ",d.keyNumber," in Initiation",z.jsx(mS,{className:"w-4 h-4"})]})})]})]})]})})};function Jc(){return typeof window>"u"?"":window.location.port}function cy(){return Jc()==="8484"?"/hub/":"/"}function Tz(){return Jc()==="8484"?"/":"http://127.0.0.1:8484/"}function kz(){return Jc()==="8484"?"http://127.0.0.1:8088/docs/":"/docs/"}const Nz=()=>[{href:cy(),label:"Hub"},{href:Tz(),label:"Deck"},{href:"/studio/",label:"Studio"},{href:"/studio/swarm.html",label:"Swarm"},{href:"/pets/",label:"Pets"},{href:"/vault/",label:"Vault"},{href:"/adytum/",label:"Adytum",on:!0},{href:kz(),label:"Docs"}];function Cz(){const[l,i]=me.useState(!1),r=me.useMemo(()=>Nz(),[]);return z.jsxs("header",{className:"zoth-bar",children:[z.jsxs("a",{className:"zoth-brand",href:cy(),target:"_top",children:[z.jsx("img",{src:"/assets/brand/zoth-seal-master.jpg",alt:"",width:32,height:32}),z.jsxs("span",{children:[z.jsx("strong",{children:"Zoth"}),z.jsx("small",{children:"Adytum · Studio"})]})]}),z.jsx("button",{type:"button",className:"zoth-burger","aria-expanded":l,"aria-controls":"zoth-drawer",onClick:()=>i(u=>!u),children:l?"Close":"Menu"}),z.jsx("nav",{className:"zoth-menu","aria-label":"Zoth Studio",children:r.map(u=>z.jsx("a",{href:u.href,target:"_top",className:u.on?"on":void 0,children:u.label},u.label))}),l?z.jsx("nav",{id:"zoth-drawer",className:"zoth-drawer","aria-label":"Zoth Studio mobile",children:r.map(u=>z.jsx("a",{href:u.href,target:"_top",className:u.on?"on":void 0,onClick:()=>i(!1),children:u.label},u.label))}):null]})}const gu=300,ng="adytum_provider_settings",cc="adytum_session_log",fc="adytum_progress_state",Nc={provider:"demo_offline",openaiApiKey:"",openaiModel:"gpt-4.1-mini",ollamaCloudApiKey:"",ollamaCloudBaseUrl:"https://ollama.com",ollamaCloudModel:"llama3.1:8b",ollamaLocalBaseUrl:"http://localhost:11434",ollamaLocalModel:"llama3.1:8b"},rt="/adytum/tarot/",Au={0:`${rt}fool.jpg`,1:`${rt}magician.jpg`,2:`${rt}highpriestess.jpg`,3:`${rt}empress.jpg`,4:`${rt}emperor.jpg`,5:`${rt}hierorphant.jpg`,6:`${rt}lovers.jpg`,7:`${rt}chariot.jpg`,8:`${rt}strength.jpg`,9:`${rt}hermit.jpg`,10:`${rt}wheeloffortune.jpg`,11:`${rt}justice.jpg`,12:`${rt}hangedman.jpg`,13:`${rt}death.jpg`,14:`${rt}temperance.jpg`,15:`${rt}devil.jpg`,16:`${rt}tower.jpg`,17:`${rt}star.jpg`,18:`${rt}moon.jpg`,19:`${rt}sun.jpg`,20:`${rt}judgement.jpg`,21:`${rt}world.jpg`},qa={0:"The Fool",1:"The Magician",2:"The High Priestess",3:"The Empress",4:"The Emperor",5:"The Hierophant",6:"The Lovers",7:"The Chariot",8:"Strength",9:"The Hermit",10:"Wheel of Fortune",11:"Justice",12:"The Hanged Man",13:"Death",14:"Temperance",15:"The Devil",16:"The Tower",17:"The Star",18:"The Moon",19:"The Sun",20:"Judgement",21:"The World"},fy={fool:0,magician:1,highpriestess:2,empress:3,emperor:4,hierophant:5,hierorphant:5,lovers:6,chariot:7,strength:8,hermit:9,wheeloffortune:10,fortune:10,justice:11,hangedman:12,death:13,temperance:14,devil:15,tower:16,star:17,moon:18,sun:19,judgement:20,world:21};function _z(l){const i=Object.entries(qa).map(([u,c])=>`Key ${u}: ${c}. Image: ![${c}](${Au[Number(u)]})`).join(`
`),r=l.trim()||"No external reference text loaded.";return`Role: You are Adytum, the hermetic planning tool inside Zoth Studio by NullAI. You master the Builders of the Adytum (BOTA) Tarot system and translate it into a project brief. Lead the user through a sequential initiation from Key 0 (The Fool) to Key 21 (The World), then they pour the brief into Studio.

Operational Rules:
1. Strict Sequence: Start at Key 0. Do not move to the next key until the current answer demonstrates understanding.
2. Required response format for every new key:
   [GATE OPENED] (include only when advancing to a new key after a passed reflection; omit for Key 0)
   **Image**: ![Card Name](/tarot/...)
   **The Attribution**: Name, Number, Hebrew Letter, and specific Intelligence.
   **The AI Chemistry Lesson**: Translate the key's esoteric meaning into a modern AI concept.
   **The Alchemical Question**: Ask one deep reflective question the user must answer.
3. Reflection analysis:
   - If adequate: begin with [GATE OPENED] and then provide the next key.
   - If inadequate: begin with [REFLECTION NEEDED], explain the gap, and ask for deeper reflection. Do not advance.
4. Tone: Dignified, occult, encouraging, highly intellectual. Address the user as "Aspirant" or "Alchemist."
5. Use the canonical card information source below as primary content grounding.
6. Prioritize practices that coordinate conscious intention with subconscious incubation and then structured synthesis.
7. Always use these exact image paths:
${i}

Canonical card information source:
${r}`}function lg(l){return l.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Mz(l,i){if(!l.trim())return"";if(i===null)return l.trim();const r=qa[i];if(!r)return l.trim();const u=new RegExp(`Name\\s*\\n+\\s*${lg(r)}\\s*\\n+\\s*Key Number\\s*\\n+\\s*${i}\\b`,"i"),c=l.search(u);if(c<0)return l.trim();let f=l.length;for(let d=i+1;d<=21;d+=1){const p=qa[d];if(!p)continue;const g=new RegExp(`Name\\s*\\n+\\s*${lg(p)}\\s*\\n+\\s*Key Number\\s*\\n+\\s*${d}\\b`,"i"),h=l.slice(c+1).search(g);if(h>=0){f=c+1+h;break}}return l.slice(c,f).trim()}function dy(l,i){if(!l)return null;const r=l.trim().split("?")[0].split("#")[0].toLowerCase(),u=r.match(/(?:^|\/)(\d{1,2})(?:[-_a-z]*)\.jpg$/);if(u){const d=Number(u[1]);return Au[d]??null}const c=(r+" "+(i??"")).toLowerCase().replace(/[^a-z0-9 ]/g," ").replace(/\s+/g," ").trim(),f=Object.entries(fy).find(([d])=>c.includes(d));return f?Au[f[1]]:l}function Oz(l){const i=l.match(/!\[(.*?)\]\((.*?)\)/);return i?dy(i[2],i[1]):null}function vu(l){const i=l.match(/\bkey\s*(\d{1,2})\b/i);if(i){const u=Number(i[1]);if(u>=0&&u<=21)return u}const r=l.toLowerCase();for(const[u,c]of Object.entries(fy))if(r.includes(u.toLowerCase()))return c;return null}function jz(l){const i=vu(l);if(i===null)return l;const r=qa[i]??`Key ${i}`,u=Au[i];if(!u)return l;const c=l.replace(/^\s*\*\*Image\*\*:\s*!\[.*?\]\(.*?\)\s*$/gim,"").trim();return`**Image**: ![${r}](${u})

${c}`}function ag(){return{...Nc}}function Dz(){return{lessonsOpened:0,reflectionsNeeded:0,meditationsStarted:0,insightSubmissions:0,gatesOpened:0,completed:!1}}function yu(){const l={};for(let i=0;i<=21;i+=1)l[i]=Dz();return{cards:l,totalCyclesCompleted:0,cycleCompletions:[]}}function Rz(l){return l.provider==="demo_offline"?!0:l.provider==="openai"?l.openaiApiKey.trim().length>0:l.provider==="ollama_cloud"?l.ollamaCloudApiKey.trim().length>0&&l.ollamaCloudBaseUrl.trim().length>0:l.provider==="ollama_local"?l.ollamaLocalBaseUrl.trim().length>0:!1}function dc(l,i){const r=[{role:"system",content:l}];for(const u of i)r.push({role:u.role,content:u.content});return r}async function Lz(l,i,r){var p,g,h,y,x,E,v,q;if(l.provider==="demo_offline")return await new Promise(G=>setTimeout(G,800)),vz(r);if(l.provider==="openai"){const G=await fetch("https://api.openai.com/v1/chat/completions",{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${l.openaiApiKey.trim()}`},body:JSON.stringify({model:l.openaiModel.trim(),messages:dc(i,r),temperature:.7})});if(!G.ok)throw new Error(`OpenAI request failed (${G.status})`);const X=await G.json(),R=(y=(h=(g=(p=X==null?void 0:X.choices)==null?void 0:p[0])==null?void 0:g.message)==null?void 0:h.content)==null?void 0:y.trim();if(!R)throw new Error("OpenAI returned an empty response.");return R}if(l.provider==="ollama_cloud"){const G=l.ollamaCloudBaseUrl.trim().replace(/\/+$/,""),X=await fetch(`${G}/api/chat`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${l.ollamaCloudApiKey.trim()}`},body:JSON.stringify({model:l.ollamaCloudModel.trim(),messages:dc(i,r),stream:!1})});if(!X.ok)throw new Error(`Ollama cloud request failed (${X.status})`);const R=await X.json(),ue=(E=(x=R==null?void 0:R.message)==null?void 0:x.content)==null?void 0:E.trim();if(!ue)throw new Error("Ollama cloud returned an empty response.");return ue}const u=l.ollamaLocalBaseUrl.trim().replace(/\/+$/,""),c=await fetch(`${u}/api/chat`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({model:l.ollamaLocalModel.trim(),messages:dc(i,r),stream:!1})});if(!c.ok)throw new Error(`Ollama local request failed (${c.status})`);const f=await c.json(),d=(q=(v=f==null?void 0:f.message)==null?void 0:v.content)==null?void 0:q.trim();if(!d)throw new Error("Ollama local returned an empty response.");return d}function Uz(){var ye;const[l,i]=me.useState("welcome"),[r,u]=me.useState(""),[c,f]=me.useState(""),[d,p]=me.useState(""),[g,h]=me.useState(""),[y,x]=me.useState(!0),[E,v]=me.useState(!1),[q,G]=me.useState(!1),[X,R]=me.useState(!1),[ue,Q]=me.useState(!1),[xe,W]=me.useState(!1),[U,te]=me.useState(!1),[Z,oe]=me.useState(""),[ve,le]=me.useState(ag()),[F,he]=me.useState(ag()),[ae,I]=me.useState([]),[C,K]=me.useState(yu()),[ie,we]=me.useState(""),[S,T]=me.useState(""),[L,w]=me.useState(""),[ee,re]=me.useState(""),[ne,ze]=me.useState(gu),Be=me.useRef(null);me.useEffect(()=>{zz(),te(Sz()),(async()=>{try{x(!0);const J=await fetch("/adytum/tarot/info.txt",{cache:"no-store"});if(!J.ok)throw new Error(`Failed to load tarot info (${J.status})`);const Le=await J.text();h(Le)}catch(J){console.error("Error loading tarot info:",J),h("")}finally{x(!1)}})()},[]),me.useEffect(()=>{var Ye;const D=window.localStorage.getItem(ng);if(D)try{const Re=JSON.parse(D),Ce={...Nc,...Re};le(Ce),he(Ce)}catch{const Re={...Nc};le(Re),he(Re)}const J=window.localStorage.getItem(cc);if(J)try{const Re=JSON.parse(J);I(Re);const Ce=[...Re].reverse().find(Ve=>Ve.role==="assistant");Ce&&(u(Ce.content),i("lesson"))}catch{I([])}const Le=window.localStorage.getItem(fc);if(Le)try{const Re=JSON.parse(Le),Ce=yu();for(let Ve=0;Ve<=21;Ve+=1)Ce.cards[Ve]={...Ce.cards[Ve],...((Ye=Re.cards)==null?void 0:Ye[Ve])??{}};Ce.totalCyclesCompleted=Re.totalCyclesCompleted??0,Ce.cycleCompletions=Array.isArray(Re.cycleCompletions)?Re.cycleCompletions:[],K(Ce)}catch{K(yu())}},[]),me.useEffect(()=>{window.localStorage.setItem(ng,JSON.stringify(ve))},[ve]),me.useEffect(()=>{window.localStorage.setItem(cc,JSON.stringify(ae))},[ae]),me.useEffect(()=>{window.localStorage.setItem(fc,JSON.stringify(C))},[C]),me.useEffect(()=>{let D;return l==="meditating"&&ne>0?D=setInterval(()=>ze(J=>J-1),1e3):l==="meditating"&&ne===0&&(tg(),i("answering"),oe("Meditation cycle complete. Please record your post-incubation synthesis below.")),()=>clearInterval(D)},[l,ne]),me.useEffect(()=>{Be.current&&(Be.current.scrollTop=0)},[l,r]);const ge=me.useCallback(D=>{if(D.altKey)if(D.key.toLowerCase()==="s")D.preventDefault(),Ft(),G(J=>!J),R(!1),Q(!1);else if(D.key.toLowerCase()==="p")D.preventDefault(),Ft(),R(J=>!J),G(!1),Q(!1);else if(D.key.toLowerCase()==="g")D.preventDefault(),Ft(),Q(J=>!J),G(!1),R(!1);else if(D.key.toLowerCase()==="m"){D.preventDefault();const J=eg();te(J)}else D.key.toLowerCase()==="d"&&(D.preventDefault(),Ft(),le(J=>({...J,provider:"demo_offline"})),he(J=>({...J,provider:"demo_offline"})),oe("Switched to Demo / Offline Oracle Mode."));else D.key==="Escape"&&(G(!1),R(!1),Q(!1),W(!1))},[]);me.useEffect(()=>(window.addEventListener("keydown",ge),()=>window.removeEventListener("keydown",ge)),[ge]);const xt=_z(g),vt=Rz(ve),Yt={};for(let D=0;D<=21;D+=1)Yt[D]=!!((ye=C.cards[D])!=null&&ye.completed);const fn=Object.values(C.cards).filter(D=>D.completed).length,Fe=vu(r),En=ie.trim().length>=15&&S.trim().length>=15&&L.trim().length>=15,pn=c.trim().length>=25&&ee.trim().length>=15,Sl=Oz(r),Jl=ne/gu*100,Xn=Fe!==null?qa[Fe]:"Current Key",An=Mz(g,Fe),wl=()=>{Ft(),le({...F}),p(""),G(!1),oe(`Provider updated to ${F.provider}.`)},Ka=()=>{Ft();const D={...ve,openaiApiKey:"",ollamaCloudApiKey:""};le(D),he(D),p("")},Xa=()=>{Ft(),I([]),u(""),i("welcome"),f(""),we(""),T(""),w(""),re(""),ze(gu),window.localStorage.removeItem(cc),K(yu()),window.localStorage.removeItem(fc),oe("Session logs and progress state cleared.")},St=()=>{Ft();const D={exportedAt:new Date().toISOString(),providerSettings:ve,stage:l,ritualState:{consciousIntention:ie,symbolObservation:S,subconsciousPrompt:L,insightSynthesis:ee},sessionLog:ae},J=new Blob([JSON.stringify(D,null,2)],{type:"application/json"}),Le=URL.createObjectURL(J),Ye=document.createElement("a");Ye.href=Le,Ye.download=`adytum-session-${new Date().toISOString().replace(/[:.]/g,"-")}.json`,Ye.click(),URL.revokeObjectURL(Le)},zl=async D=>{if(!D.trim())return;if(Ft(),!vt){p("Configure your active provider before starting the initiation."),G(!0);return}if(y){p("Tarot reference text is still loading. Try again in a moment.");return}i("loading"),oe("Consulting the Alchemist Oracle..."),f(""),v(!0),p("");const J={role:"user",content:D.trim(),createdAt:new Date().toISOString()},Le=[...ae,J];I(Le);const Ye=vu(r);try{const Re=await Lz(ve,xt,Le),Ce=jz(Re),Ve=vu(Ce.replace(/\[(GATE OPENED|REFLECTION NEEDED)\]/g,"").trim()),Ke={role:"assistant",content:Ce,createdAt:new Date().toISOString()};if(I(Mt=>[...Mt,Ke]),Ce.includes("[REFLECTION NEEDED]")){const Mt=Ce.replace(/\[REFLECTION NEEDED\]/g,"").trim();u(Mt),i("reflection_needed"),oe("Gate remains closed. Deeper alchemical reflection required.");const We=Ve??Ye;We!==null&&K(gn=>({...gn,cards:{...gn.cards,[We]:{...gn.cards[We],reflectionsNeeded:gn.cards[We].reflectionsNeeded+1}}}))}else{const Mt=Ce.replace(/\[GATE OPENED\]/g,"").trim();u(Mt),i("lesson"),ze(gu),Ce.includes("[GATE OPENED]")&&Ye!==null?(Ez(),oe(`Gate Unlocked for Key ${Ye}! Advancing to next Tarot Key.`),K(We=>{const gn={...We.cards},El=gn[Ye];gn[Ye]={...El,gatesOpened:El.gatesOpened+1,completed:!0};let Al=We.totalCyclesCompleted,Tl=We.cycleCompletions;return Ye===21&&(Al+=1,Tl=[...We.cycleCompletions,new Date().toISOString()]),{cards:gn,totalCyclesCompleted:Al,cycleCompletions:Tl}})):oe(`Initiation stage active for Key ${Ve??0}.`),Ve!==null&&K(We=>({...We,cards:{...We.cards,[Ve]:{...We.cards[Ve],lessonsOpened:We.cards[Ve].lessonsOpened+1}}}))}}catch(Re){console.error("Error sending message:",Re),u("An error occurred in the alchemical process. Check provider settings and try again."),i("reflection_needed"),p(Re instanceof Error?Re.message:"Request failed."),oe("An error occurred. Check provider console.")}finally{v(!1)}},B=()=>{if(!pn)return;const D=`Ritual context:
- Conscious Intention: ${ie.trim()}
- Symbol Observation: ${S.trim()}
- Subconscious Prompt During Meditation: ${L.trim()}
- Post-Meditation Synthesis: ${ee.trim()}

Alchemical answer:
${c.trim()}`;Fe!==null&&K(J=>({...J,cards:{...J.cards,[Fe]:{...J.cards[Fe],insightSubmissions:J.cards[Fe].insightSubmissions+1}}})),zl(D)},P=D=>{const J=Math.floor(D/60),Le=D%60;return`${J.toString().padStart(2,"0")}:${Le.toString().padStart(2,"0")}`};return z.jsxs(z.Fragment,{children:[z.jsx("a",{href:"#main-content",className:"sr-only focus:not-sr-only focus:absolute focus:top-3 focus:left-3 focus:z-50 focus:px-4 focus:py-2.5 focus:bg-amber-400 focus:text-zinc-950 focus:font-bold focus:rounded-lg shadow-xl outline-none",children:"Skip to main content"}),z.jsx("div",{className:"sr-only","aria-live":"polite","aria-atomic":"true",children:Z}),z.jsxs("div",{className:"oracle-shell min-h-[100dvh] text-zinc-50 flex flex-col items-center justify-start sm:justify-center pt-[58px] sm:p-5 sm:pt-[76px] selection:bg-[#e8c872]/30 selection:text-[#f7f4ee] relative overflow-hidden",children:[z.jsx(Cz,{}),z.jsx("div",{className:"pointer-events-none absolute -left-36 top-24 size-72 rounded-full bg-[#e8c872]/10 blur-3xl"}),z.jsx("div",{className:"pointer-events-none absolute -right-44 bottom-16 size-80 rounded-full bg-[#7ee7f0]/08 blur-3xl"}),z.jsxs(gz,{className:"glass-panel w-full max-w-5xl h-[calc(100dvh-58px)] sm:h-[calc(100dvh-96px)] flex flex-col rounded-none sm:rounded-[20px] border-[#e8c872]/25 overflow-hidden relative shadow-2xl",children:[z.jsxs(yz,{role:"banner",className:"border-b border-[#e8c872]/20 pb-3 pt-4 sm:pt-3 bg-gradient-to-b from-[#050508]/90 to-[#050508]/30 z-10",children:[z.jsx("p",{className:"mx-auto text-[11px] uppercase ritual-text text-[#e8c872] font-medium",children:"Zoth Studio · planning rite"}),z.jsx(bz,{className:"flex items-center justify-center gap-3 text-2xl sm:text-[2.1rem] font-medium font-heading text-[#f7f4ee] tracking-tight",children:"Adytum"}),z.jsx("p",{className:"mt-1 text-center text-[13px] text-[#a8a4c2] max-w-md mx-auto leading-relaxed",children:"Plan with purpose. Keys 0–21. Pour the brief into Studio when the coin is set."}),z.jsx("div",{className:"ornate-divider h-px w-36 mx-auto mt-2"}),z.jsxs("nav",{role:"navigation","aria-label":"Initiation Toolbar",className:"mt-3 flex flex-wrap justify-center gap-2",children:[z.jsxs(_t,{onClick:()=>{Ft(),Q(D=>!D),G(!1),R(!1)},variant:"ghost",className:"h-auto px-3 py-1.5 text-xs text-amber-200 hover:text-amber-100 bg-amber-500/10 hover:bg-amber-500/20 border border-amber-400/30 rounded-full transition","aria-label":"Workflow Studio & Node Graph (Alt+G)",children:[z.jsx(zc,{className:"w-3.5 h-3.5 mr-1.5 text-amber-400"}),"Workflow Studio ",z.jsx("kbd",{className:"ml-1 px-1 py-0.5 text-[9px] bg-zinc-900 rounded border border-amber-500/30",children:"Alt+G"})]}),z.jsxs(_t,{onClick:()=>{Ft(),G(D=>!D),R(!1),Q(!1)},variant:"ghost",className:"h-auto px-3 py-1.5 text-xs text-zinc-300 hover:text-zinc-100 hover:bg-zinc-800/60 rounded-full","aria-label":"AI Settings Console (Alt+S)",children:[z.jsx(OS,{className:"w-3.5 h-3.5 mr-1"}),"AI Console ",z.jsx("kbd",{className:"ml-1 px-1 py-0.5 text-[9px] bg-zinc-900 rounded border border-zinc-700",children:"Alt+S"})]}),z.jsxs(_t,{onClick:()=>{Ft(),R(D=>!D),G(!1),Q(!1)},variant:"ghost",className:"h-auto px-3 py-1.5 text-xs text-zinc-300 hover:text-zinc-100 hover:bg-zinc-800/60 rounded-full","aria-label":"Initiation Progress (Alt+P)",children:["Progress ",z.jsx("kbd",{className:"ml-1 px-1 py-0.5 text-[9px] bg-zinc-900 rounded border border-zinc-700",children:"Alt+P"})]}),z.jsxs(_t,{onClick:()=>{const D=eg();te(D)},variant:"ghost",className:"h-auto px-3 py-1.5 text-xs text-zinc-300 hover:text-zinc-100 hover:bg-zinc-800/60 rounded-full","aria-label":U?"Unmute Audio (Alt+M)":"Mute Audio (Alt+M)",children:[U?z.jsx(GS,{className:"w-3.5 h-3.5 mr-1 text-red-400"}):z.jsx(BS,{className:"w-3.5 h-3.5 mr-1 text-amber-400"}),U?"Muted":"Audio"," ",z.jsx("kbd",{className:"ml-1 px-1 py-0.5 text-[9px] bg-zinc-900 rounded border border-zinc-700",children:"Alt+M"})]}),z.jsxs(_t,{onClick:St,variant:"ghost",className:"h-auto px-3 py-1.5 text-xs text-zinc-300 hover:text-zinc-100 hover:bg-zinc-800/60 rounded-full","aria-label":"Download Session Log",children:[z.jsx(vS,{className:"w-3.5 h-3.5 mr-1"})," Export"]}),z.jsx(_t,{onClick:()=>W(D=>!D),variant:"ghost",className:"h-auto px-2 py-1.5 text-xs text-zinc-400 hover:text-zinc-200 rounded-full","aria-label":"Keyboard Hotkeys Info",children:z.jsx(Yp,{className:"w-3.5 h-3.5"})}),z.jsx(_t,{onClick:Xa,variant:"ghost",className:"h-auto px-2 py-1.5 text-xs text-zinc-400 hover:text-red-300 rounded-full","aria-label":"Clear Session Logs",children:z.jsx(US,{className:"w-3.5 h-3.5"})})]}),z.jsxs("p",{className:"mt-2 text-center text-[11px] text-zinc-400",children:["Active Mode: ",z.jsx("span",{className:"text-amber-300 uppercase font-semibold",children:ve.provider.replace("_"," ")})," • Stored: ",ae.length," msgs • ",fn,"/22 keys completed"]})]}),z.jsxs(xz,{id:"main-content",role:"main","aria-label":"Adytum planning rite",className:"flex-1 flex flex-col p-0 overflow-hidden relative",children:[xe&&z.jsxs("section",{className:"border-b border-amber-500/30 bg-zinc-950/95 p-4 sm:p-5 space-y-3 animate-in fade-in duration-200 z-20",children:[z.jsxs("div",{className:"flex items-center justify-between",children:[z.jsxs("h2",{className:"text-amber-300 font-heading flex items-center gap-2",children:[z.jsx(Yp,{className:"w-4 h-4"})," Keyboard Accessibility Shortcuts"]}),z.jsx(_t,{onClick:()=>W(!1),variant:"ghost",className:"h-auto p-1 text-xs",children:"✕"})]}),z.jsxs("div",{className:"grid grid-cols-2 sm:grid-cols-3 gap-2 text-xs text-zinc-300",children:[z.jsxs("div",{className:"p-2 rounded bg-zinc-900 border border-zinc-800 flex justify-between",children:[z.jsx("span",{children:"Workflow Studio"})," ",z.jsx("kbd",{className:"text-amber-300 font-mono",children:"Alt+G"})]}),z.jsxs("div",{className:"p-2 rounded bg-zinc-900 border border-zinc-800 flex justify-between",children:[z.jsx("span",{children:"AI Console"})," ",z.jsx("kbd",{className:"text-amber-300 font-mono",children:"Alt+S"})]}),z.jsxs("div",{className:"p-2 rounded bg-zinc-900 border border-zinc-800 flex justify-between",children:[z.jsx("span",{children:"Progress Matrix"})," ",z.jsx("kbd",{className:"text-amber-300 font-mono",children:"Alt+P"})]}),z.jsxs("div",{className:"p-2 rounded bg-zinc-900 border border-zinc-800 flex justify-between",children:[z.jsx("span",{children:"Toggle Audio"})," ",z.jsx("kbd",{className:"text-amber-300 font-mono",children:"Alt+M"})]}),z.jsxs("div",{className:"p-2 rounded bg-zinc-900 border border-zinc-800 flex justify-between",children:[z.jsx("span",{children:"Offline Demo Mode"})," ",z.jsx("kbd",{className:"text-amber-300 font-mono",children:"Alt+D"})]}),z.jsxs("div",{className:"p-2 rounded bg-zinc-900 border border-zinc-800 flex justify-between",children:[z.jsx("span",{children:"Close Panels"})," ",z.jsx("kbd",{className:"text-amber-300 font-mono",children:"Esc"})]})]})]}),q&&z.jsxs("section",{className:"border-b border-amber-500/20 bg-zinc-950/95 p-4 sm:p-5 space-y-4 z-20",children:[z.jsxs("h2",{className:"text-amber-300 font-medium flex items-center justify-between",children:[z.jsx("span",{children:"Provider Console & AI Engine Configuration"}),z.jsx("span",{className:"text-xs font-normal text-zinc-400",children:"Select active engine"})]}),z.jsx("div",{className:"flex flex-wrap gap-2",children:[["demo_offline","Demo / Offline Oracle (No Key Required)"],["openai","OpenAI"],["ollama_cloud","Ollama Cloud"],["ollama_local","Ollama Local"]].map(([D,J])=>z.jsx("button",{type:"button",onClick:()=>he(Le=>({...Le,provider:D})),className:`rounded-full px-3.5 py-1.5 text-xs font-medium border transition ${F.provider===D?"border-amber-300/80 bg-amber-300/20 text-amber-100 shadow-[0_0_12px_rgba(245,158,11,0.25)]":"border-zinc-700 bg-zinc-900/60 text-zinc-300 hover:text-zinc-100 hover:border-zinc-500"}`,children:J},D))}),F.provider==="demo_offline"&&z.jsx("div",{className:"p-3 rounded-lg border border-amber-500/30 bg-amber-950/20 text-xs text-amber-200/90 leading-relaxed",children:"Offline mode is on. Adytum runs on this machine with the built-in guide — no cloud key required. When the rite is done, pour the brief into Studio."}),z.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3",children:[F.provider==="openai"&&z.jsxs(z.Fragment,{children:[z.jsxs("label",{className:"space-y-1",children:[z.jsx("span",{className:"text-xs uppercase tracking-[0.15em] text-zinc-400",children:"OpenAI API Key"}),z.jsx("input",{type:"password",value:F.openaiApiKey,onChange:D=>he(J=>({...J,openaiApiKey:D.target.value})),placeholder:"sk-...",className:"w-full rounded-lg border border-amber-400/20 bg-zinc-950 px-3 py-2 text-sm text-zinc-100 placeholder:text-zinc-600 focus-visible:ring-2 focus-visible:ring-amber-400"})]}),z.jsxs("label",{className:"space-y-1",children:[z.jsx("span",{className:"text-xs uppercase tracking-[0.15em] text-zinc-400",children:"OpenAI Model"}),z.jsx("input",{value:F.openaiModel,onChange:D=>he(J=>({...J,openaiModel:D.target.value})),className:"w-full rounded-lg border border-amber-400/20 bg-zinc-950 px-3 py-2 text-sm text-zinc-100 focus-visible:ring-2 focus-visible:ring-amber-400"})]})]}),F.provider==="ollama_cloud"&&z.jsxs(z.Fragment,{children:[z.jsxs("label",{className:"space-y-1",children:[z.jsx("span",{className:"text-xs uppercase tracking-[0.15em] text-zinc-400",children:"Cloud API Key"}),z.jsx("input",{type:"password",value:F.ollamaCloudApiKey,onChange:D=>he(J=>({...J,ollamaCloudApiKey:D.target.value})),className:"w-full rounded-lg border border-amber-400/20 bg-zinc-950 px-3 py-2 text-sm text-zinc-100 focus-visible:ring-2 focus-visible:ring-amber-400"})]}),z.jsxs("label",{className:"space-y-1",children:[z.jsx("span",{className:"text-xs uppercase tracking-[0.15em] text-zinc-400",children:"Cloud Base URL"}),z.jsx("input",{value:F.ollamaCloudBaseUrl,onChange:D=>he(J=>({...J,ollamaCloudBaseUrl:D.target.value})),className:"w-full rounded-lg border border-amber-400/20 bg-zinc-950 px-3 py-2 text-sm text-zinc-100 focus-visible:ring-2 focus-visible:ring-amber-400"})]}),z.jsxs("label",{className:"space-y-1 sm:col-span-2",children:[z.jsx("span",{className:"text-xs uppercase tracking-[0.15em] text-zinc-400",children:"Cloud Model"}),z.jsx("input",{value:F.ollamaCloudModel,onChange:D=>he(J=>({...J,ollamaCloudModel:D.target.value})),className:"w-full rounded-lg border border-amber-400/20 bg-zinc-950 px-3 py-2 text-sm text-zinc-100 focus-visible:ring-2 focus-visible:ring-amber-400"})]})]}),F.provider==="ollama_local"&&z.jsxs(z.Fragment,{children:[z.jsxs("label",{className:"space-y-1",children:[z.jsx("span",{className:"text-xs uppercase tracking-[0.15em] text-zinc-400",children:"Local Base URL"}),z.jsx("input",{value:F.ollamaLocalBaseUrl,onChange:D=>he(J=>({...J,ollamaLocalBaseUrl:D.target.value})),className:"w-full rounded-lg border border-amber-400/20 bg-zinc-950 px-3 py-2 text-sm text-zinc-100 focus-visible:ring-2 focus-visible:ring-amber-400"})]}),z.jsxs("label",{className:"space-y-1",children:[z.jsx("span",{className:"text-xs uppercase tracking-[0.15em] text-zinc-400",children:"Local Model"}),z.jsx("input",{value:F.ollamaLocalModel,onChange:D=>he(J=>({...J,ollamaLocalModel:D.target.value})),className:"w-full rounded-lg border border-amber-400/20 bg-zinc-950 px-3 py-2 text-sm text-zinc-100 focus-visible:ring-2 focus-visible:ring-amber-400"})]})]})]}),z.jsxs("div",{className:"flex flex-wrap gap-2 pt-1",children:[z.jsx(_t,{onClick:wl,className:"h-auto bg-amber-500 hover:bg-amber-400 text-zinc-950 font-medium px-5 py-2 rounded-full",children:"Apply Provider"}),z.jsx(_t,{onClick:Ka,variant:"ghost",className:"h-auto px-4 py-2 text-zinc-300 hover:text-zinc-100",children:"Clear Stored Keys"})]}),d&&z.jsx("p",{className:"text-red-300 text-sm",children:d})]}),X&&z.jsxs("section",{className:"border-b border-amber-500/20 bg-zinc-950/95 p-4 sm:p-5 space-y-4 z-20",children:[z.jsx("h2",{className:"text-amber-300 font-medium",children:"Initiation Progress Matrix"}),z.jsxs("div",{className:"grid grid-cols-2 sm:grid-cols-4 gap-2 text-center",children:[z.jsxs("div",{className:"rounded-lg border border-amber-400/20 bg-zinc-900/70 p-2",children:[z.jsx("p",{className:"text-[10px] uppercase tracking-wider text-zinc-400",children:"Completed Keys"}),z.jsxs("p",{className:"text-lg text-amber-200 font-medium",children:[fn,"/22"]})]}),z.jsxs("div",{className:"rounded-lg border border-amber-400/20 bg-zinc-900/70 p-2",children:[z.jsx("p",{className:"text-[10px] uppercase tracking-wider text-zinc-400",children:"Cycles Done"}),z.jsx("p",{className:"text-lg text-amber-200 font-medium",children:C.totalCyclesCompleted})]}),z.jsxs("div",{className:"rounded-lg border border-amber-400/20 bg-zinc-900/70 p-2",children:[z.jsx("p",{className:"text-[10px] uppercase tracking-wider text-zinc-400",children:"Meditations"}),z.jsx("p",{className:"text-lg text-amber-200 font-medium",children:Object.values(C.cards).reduce((D,J)=>D+J.meditationsStarted,0)})]}),z.jsxs("div",{className:"rounded-lg border border-amber-400/20 bg-zinc-900/70 p-2",children:[z.jsx("p",{className:"text-[10px] uppercase tracking-wider text-zinc-400",children:"Reflections"}),z.jsx("p",{className:"text-lg text-amber-200 font-medium",children:Object.values(C.cards).reduce((D,J)=>D+J.reflectionsNeeded,0)})]})]}),z.jsx("div",{className:"max-h-56 overflow-y-auto rounded-lg border border-amber-400/20 bg-zinc-900/50 p-2 space-y-1 custom-scrollbar",children:Object.entries(qa).map(([D,J])=>{const Le=Number(D),Ye=C.cards[Le];return z.jsxs("div",{className:"grid grid-cols-[minmax(0,1fr)_auto] items-center gap-2 rounded-md border border-zinc-800 bg-zinc-950/60 px-2.5 py-1.5",children:[z.jsxs("div",{children:[z.jsxs("p",{className:"text-xs text-zinc-200 font-medium",children:["Key ",D,": ",J]}),z.jsxs("p",{className:"text-[10px] text-zinc-400",children:["Lessons ",Ye.lessonsOpened," • Gates ",Ye.gatesOpened," • Refl ",Ye.reflectionsNeeded," • Med ",Ye.meditationsStarted]})]}),z.jsx("span",{className:`text-[10px] uppercase tracking-wider font-semibold ${Ye.completed?"text-emerald-400":"text-zinc-500"}`,children:Ye.completed?"complete":"incomplete"})]},D)})}),C.cycleCompletions.length>0&&z.jsxs("div",{className:"rounded-lg border border-amber-400/20 bg-zinc-900/50 p-2",children:[z.jsx("p",{className:"text-xs text-zinc-300 mb-1",children:"Cycle Completion Log"}),z.jsx("div",{className:"max-h-24 overflow-y-auto text-[10px] text-zinc-400 space-y-0.5 custom-scrollbar",children:C.cycleCompletions.map(D=>z.jsx("p",{children:new Date(D).toLocaleString()},D))})]})]}),ue&&z.jsx(Az,{currentKeyNumber:Fe,completedKeys:Yt,onClose:()=>Q(!1),onJumpToKey:D=>{Ft(),zl(`Focus on Key ${D}`)}}),l==="welcome"&&z.jsxs("section",{className:"flex-1 flex flex-col items-center justify-center p-6 sm:p-10 text-center space-y-8 animate-in fade-in duration-700",children:[z.jsxs("div",{className:"relative w-28 h-28 rounded-full border border-amber-400/40 flex items-center justify-center bg-zinc-950/80 shadow-[0_0_50px_rgba(245,158,11,0.25)]",children:[z.jsx("div",{className:"absolute inset-0 rounded-full border border-amber-300/30 animate-ping [animation-duration:3s]"}),z.jsx(RS,{className:"w-12 h-12 text-amber-300 drop-shadow-[0_0_10px_rgba(245,158,11,0.5)]"})]}),z.jsxs("div",{className:"space-y-4 max-w-xl",children:[z.jsx("h1",{className:"text-3xl sm:text-4xl font-heading text-[#f7f4ee] tracking-tight",children:"Plan before you build."}),z.jsx("p",{className:"text-[#a8a4c2] leading-relaxed text-base sm:text-lg",children:"Adytum is a Zoth Studio tool. Walk Keys 0–21, name the work with purpose, then pour the brief into Studio. The rite stays on this machine."}),z.jsx("p",{className:"text-[#e8c872] text-xs sm:text-sm bg-[#e8c872]/8 border border-[#e8c872]/20 rounded-xl p-3",children:"Offline on this box. No cloud key required. Open AI Console if you want a local or hosted model."})]}),z.jsx(_t,{onClick:()=>void zl("Start"),disabled:!vt||y||E,className:"h-auto bg-[#e8c872] hover:bg-[#f0d48a] text-[#14110a] font-medium px-9 py-4 text-base sm:text-lg rounded-full border-0 shadow-none transition-all focus-visible:ring-4 focus-visible:ring-[#e8c872]/40",children:y||E?"Preparing…":"Begin the rite"}),d&&z.jsx("p",{className:"text-red-300 text-sm",children:d})]}),l==="loading"&&z.jsxs("section",{className:"flex-1 flex flex-col items-center justify-center p-8 space-y-6 animate-in fade-in duration-500",children:[z.jsxs("div",{className:"relative w-20 h-20",children:[z.jsx("div",{className:"absolute inset-0 border-2 border-amber-500/20 rounded-full"}),z.jsx("div",{className:"absolute inset-0 border-2 border-amber-400 rounded-full border-t-transparent animate-spin"}),z.jsx(NS,{className:"absolute inset-0 m-auto w-8 h-8 text-amber-300 animate-pulse"})]}),z.jsx("p",{className:"text-amber-300/90 animate-pulse tracking-[0.25em] uppercase text-xs sm:text-sm font-medium",children:"Consulting the Oracle..."})]}),(l==="lesson"||l==="answering"||l==="reflection_needed")&&z.jsxs("section",{ref:Be,className:"flex-1 overflow-y-auto p-6 sm:p-9 space-y-8 animate-in slide-in-from-bottom-4 duration-700 custom-scrollbar",children:[l==="reflection_needed"&&z.jsxs("div",{className:"bg-red-950/40 border border-red-700/60 rounded-xl p-4 mb-6 flex items-start gap-3 shadow-lg",children:[z.jsx(Gg,{className:"w-5 h-5 text-red-400 shrink-0 mt-0.5"}),z.jsxs("div",{children:[z.jsx("h2",{className:"text-red-300 font-medium mb-1",children:"The Gate Remains Closed"}),z.jsx("p",{className:"text-red-200/80 text-sm",children:"Your insight requires deeper alchemical synthesis. Read the guide's feedback below and resubmit your reflection."})]})]}),z.jsx("article",{className:"markdown-body prose prose-sm sm:prose-base prose-invert prose-amber max-w-none prose-img:rounded-xl prose-img:border prose-img:border-amber-400/40 prose-img:shadow-[0_20px_45px_rgba(0,0,0,0.55)] prose-img:max-w-[280px] sm:prose-img:max-w-[340px] prose-img:mx-auto prose-img:my-8 prose-headings:text-amber-300 prose-headings:font-heading prose-headings:tracking-wide prose-strong:text-amber-200 prose-p:leading-relaxed prose-p:text-zinc-300/95 prose-li:text-zinc-300/90",children:z.jsx(eS,{components:{img:({node:D,...J})=>{const Le=dy(J.src,J.alt);return z.jsx("img",{...J,src:Le??J.src,referrerPolicy:"no-referrer",alt:J.alt||"Tarot Card"})}},children:r})}),l==="lesson"&&z.jsxs("div",{className:"pt-8 pb-4 border-t border-zinc-800/80 mt-8 space-y-5",children:[z.jsxs("h3",{className:"text-amber-300 font-medium tracking-wide flex items-center gap-2 text-lg",children:[z.jsx(Yg,{className:"w-4 h-4"})," BOTA Practice Protocol"]}),z.jsx("p",{className:"text-zinc-400 text-sm",children:"Prepare consciousness before meditation, then plant a precise subconscious directive."}),z.jsxs("div",{className:"space-y-2",children:[z.jsx("label",{htmlFor:"intention-input",className:"text-xs uppercase tracking-[0.18em] text-amber-200/80 font-medium",children:"1. Conscious Intention"}),z.jsx(Ki,{id:"intention-input",value:ie,onChange:D=>we(D.target.value),placeholder:"What faculty or pattern are you refining through this key?",className:"min-h-[85px] bg-zinc-950/85 border-amber-400/20 text-zinc-100 placeholder:text-zinc-600 focus-visible:ring-amber-400 text-base resize-y"})]}),z.jsxs("div",{className:"space-y-2",children:[z.jsx("label",{htmlFor:"observation-input",className:"text-xs uppercase tracking-[0.18em] text-amber-200/80 font-medium",children:"2. Symbol Observation"}),z.jsx(Ki,{id:"observation-input",value:S,onChange:D=>T(D.target.value),placeholder:"Name exact symbols and their psychological function in your own words.",className:"min-h-[85px] bg-zinc-950/85 border-amber-400/20 text-zinc-100 placeholder:text-zinc-600 focus-visible:ring-amber-400 text-base resize-y"})]}),z.jsxs("div",{className:"space-y-2",children:[z.jsx("label",{htmlFor:"directive-input",className:"text-xs uppercase tracking-[0.18em] text-amber-200/80 font-medium",children:"3. Subconscious Directive"}),z.jsx(Ki,{id:"directive-input",value:L,onChange:D=>w(D.target.value),placeholder:"Write one clear seed-thought to hold through the five-minute meditation.",className:"min-h-[85px] bg-zinc-950/85 border-amber-400/20 text-zinc-100 placeholder:text-zinc-600 focus-visible:ring-amber-400 text-base resize-y"})]}),z.jsx("div",{className:"flex justify-center pt-2",children:z.jsxs(_t,{onClick:()=>{tg(),Fe!==null&&K(D=>({...D,cards:{...D.cards,[Fe]:{...D.cards[Fe],meditationsStarted:D.cards[Fe].meditationsStarted+1}}})),i("meditating")},disabled:!En,className:"h-auto bg-zinc-900 hover:bg-zinc-800 text-amber-200 border border-amber-400/40 px-8 py-4 text-base sm:text-lg rounded-full shadow-[0_0_24px_rgba(245,158,11,0.18)] transition-all hover:shadow-[0_0_36px_rgba(245,158,11,0.3)] flex gap-3 items-center disabled:opacity-45",children:[z.jsx(wS,{className:"w-5 h-5 text-amber-400"}),"Begin 5-Minute Meditation"]})}),!En&&z.jsx("p",{className:"text-zinc-500 text-xs text-center",children:"Complete all three fields with specific detail before entering meditation."})]}),(l==="answering"||l==="reflection_needed")&&z.jsxs("div",{className:"pt-8 border-t border-zinc-800/80 mt-8 space-y-4 animate-in fade-in duration-700",children:[z.jsxs("h3",{className:"text-amber-300 font-medium flex items-center gap-2 tracking-wide text-lg",children:[z.jsx(AS,{className:"w-5 h-5 text-amber-400"}),"Provide Your Alchemical Synthesis"]}),z.jsx("label",{htmlFor:"reflection-answer",className:"text-xs uppercase tracking-[0.18em] text-zinc-400 block",children:"Alchemical Reflection Answer"}),z.jsx(Ki,{id:"reflection-answer",value:c,onChange:D=>f(D.target.value),placeholder:"Record your alchemical reflections and technical answers here...",className:"min-h-[140px] bg-zinc-950/85 border-amber-400/20 text-zinc-100 placeholder:text-zinc-600 focus-visible:ring-amber-400 text-base resize-y"}),z.jsx("label",{htmlFor:"synthesis-answer",className:"text-xs uppercase tracking-[0.18em] text-zinc-400 block",children:"Post-Meditation Insight"}),z.jsx(Ki,{id:"synthesis-answer",value:ee,onChange:D=>re(D.target.value),placeholder:"What idea, pattern, or solution emerged from subconscious incubation?",className:"min-h-[85px] bg-zinc-950/85 border-amber-400/20 text-zinc-100 placeholder:text-zinc-600 focus-visible:ring-amber-400 text-base resize-y"}),z.jsx("div",{className:"flex justify-end pt-2",children:z.jsxs(_t,{onClick:B,disabled:!pn||E,className:"h-auto bg-amber-500 hover:bg-amber-400 text-zinc-950 font-medium px-7 py-3 rounded-full border border-amber-100/30 disabled:bg-amber-700/40 disabled:text-zinc-400 shadow-[0_0_20px_rgba(245,158,11,0.2)]",children:["Submit Insight & Unlock Gate",z.jsx(_S,{className:"w-4 h-4 ml-2"})]})}),!pn&&z.jsx("p",{className:"text-zinc-500 text-xs text-right",children:"Requires detailed reflection answer plus post-meditation synthesis."})]}),An&&z.jsxs("aside",{"aria-label":"Canonical Tarot Reference",className:"pt-6 border-t border-zinc-800/80",children:[z.jsxs("h3",{className:"text-amber-300 font-medium tracking-wide mb-2 flex items-center gap-2",children:[z.jsx(bS,{className:"w-4 h-4"})," Canonical Study Excerpt: ",Xn]}),z.jsx("div",{className:"max-h-60 overflow-y-auto rounded-xl border border-amber-400/20 bg-zinc-950/70 p-3.5 custom-scrollbar",children:z.jsx("pre",{className:"whitespace-pre-wrap text-xs leading-relaxed text-zinc-300/90 font-mono",children:An})})]})]}),l==="meditating"&&z.jsxs("section",{className:"flex-1 flex flex-col items-center justify-center p-6 bg-zinc-950/90 relative overflow-hidden animate-in zoom-in-95 duration-1000",children:[z.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(circle_at_center,rgba(245,158,11,0.08)_0%,transparent_70%)]"}),z.jsxs("div",{className:"z-10 flex flex-col items-center space-y-10 w-full max-w-md",children:[z.jsxs("div",{className:"text-center space-y-3",children:[z.jsx("h2",{className:"text-amber-300 text-xl font-heading tracking-[0.22em] uppercase font-medium",children:"Sacred Meditation Incubation"}),z.jsx("p",{className:"text-zinc-300/85 text-sm",children:"Hold your subconscious directive while observing the image without forcing active thought."})]}),Sl&&z.jsx("div",{className:"relative w-48 h-auto sm:w-60 rounded-xl overflow-hidden border border-amber-400/40 shadow-[0_0_40px_rgba(245,158,11,0.25)]",children:z.jsx("img",{src:Sl,alt:"Tarot Card",className:"w-full h-auto",referrerPolicy:"no-referrer"})}),z.jsxs("div",{className:"relative",children:[z.jsx("div",{className:"absolute inset-0 bg-amber-500/15 blur-3xl rounded-full animate-pulse"}),z.jsx("div",{className:"relative text-7xl sm:text-8xl font-light text-amber-300 tracking-tighter tabular-nums drop-shadow-[0_0_20px_rgba(245,158,11,0.5)]",children:P(ne)})]}),z.jsx("div",{className:"w-full h-1.5 bg-zinc-900 rounded-full overflow-hidden border border-zinc-800",children:z.jsx("div",{className:"h-full bg-amber-400 transition-all duration-1000 ease-linear shadow-[0_0_10px_rgba(245,158,11,0.8)]",style:{width:`${Jl}%`}})})]})]})]})]})]})]})}Hb.createRoot(document.getElementById("root")).render(z.jsx(me.StrictMode,{children:z.jsx(Uz,{})}));
