pi-central 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,40 @@
1
+ (function(){const a=document.createElement("link").relList;if(a&&a.supports&&a.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const f of o)if(f.type==="childList")for(const m of f.addedNodes)m.tagName==="LINK"&&m.rel==="modulepreload"&&r(m)}).observe(document,{childList:!0,subtree:!0});function s(o){const f={};return o.integrity&&(f.integrity=o.integrity),o.referrerPolicy&&(f.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?f.credentials="include":o.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function r(o){if(o.ep)return;o.ep=!0;const f=s(o);fetch(o.href,f)}})();var F0={exports:{}},ac={};var C2;function $b(){if(C2)return ac;C2=1;var n=Symbol.for("react.transitional.element"),a=Symbol.for("react.fragment");function s(r,o,f){var m=null;if(f!==void 0&&(m=""+f),o.key!==void 0&&(m=""+o.key),"key"in o){f={};for(var p in o)p!=="key"&&(f[p]=o[p])}else f=o;return o=f.ref,{$$typeof:n,type:r,key:m,ref:o!==void 0?o:null,props:f}}return ac.Fragment=a,ac.jsx=s,ac.jsxs=s,ac}var N2;function Jb(){return N2||(N2=1,F0.exports=$b()),F0.exports}var h=Jb(),B0={exports:{}},xe={};var k2;function Wb(){if(k2)return xe;k2=1;var n=Symbol.for("react.transitional.element"),a=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),m=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),b=Symbol.for("react.suspense"),v=Symbol.for("react.memo"),_=Symbol.for("react.lazy"),y=Symbol.for("react.activity"),C=Symbol.for("react.view_transition"),M=Symbol.iterator;function A(T){return T===null||typeof T!="object"?null:(T=M&&T[M]||T["@@iterator"],typeof T=="function"?T:null)}var L={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Y=Object.assign,J={};function fe(T,G,I){this.props=T,this.context=G,this.refs=J,this.updater=I||L}fe.prototype.isReactComponent={},fe.prototype.setState=function(T,G){if(typeof T!="object"&&typeof T!="function"&&T!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,T,G,"setState")},fe.prototype.forceUpdate=function(T){this.updater.enqueueForceUpdate(this,T,"forceUpdate")};function ae(){}ae.prototype=fe.prototype;function q(T,G,I){this.props=T,this.context=G,this.refs=J,this.updater=I||L}var Q=q.prototype=new ae;Q.constructor=q,Y(Q,fe.prototype),Q.isPureReactComponent=!0;var ue=Array.isArray;function K(){}var ce={H:null,A:null,T:null,S:null},$e=Object.prototype.hasOwnProperty;function de(T,G,I){var ne=I.ref;return{$$typeof:n,type:T,key:G,ref:ne!==void 0?ne:null,props:I}}function ge(T,G){return de(T.type,G,T.props)}function Le(T){return typeof T=="object"&&T!==null&&T.$$typeof===n}function Pe(T){var G={"=":"=0",":":"=2"};return"$"+T.replace(/[=:]/g,function(I){return G[I]})}var Ue=/\/+/g;function ye(T,G){return typeof T=="object"&&T!==null&&T.key!=null?Pe(""+T.key):G.toString(36)}function X(T){switch(T.status){case"fulfilled":return T.value;case"rejected":throw T.reason;default:switch(typeof T.status=="string"?T.then(K,K):(T.status="pending",T.then(function(G){T.status==="pending"&&(T.status="fulfilled",T.value=G)},function(G){T.status==="pending"&&(T.status="rejected",T.reason=G)})),T.status){case"fulfilled":return T.value;case"rejected":throw T.reason}}throw T}function re(T,G,I,ne,De){var Oe=typeof T;(Oe==="undefined"||Oe==="boolean")&&(T=null);var Me=!1;if(T===null)Me=!0;else switch(Oe){case"bigint":case"string":case"number":Me=!0;break;case"object":switch(T.$$typeof){case n:case a:Me=!0;break;case _:return Me=T._init,re(Me(T._payload),G,I,ne,De)}}if(Me)return De=De(T),Me=ne===""?"."+ye(T,0):ne,ue(De)?(I="",Me!=null&&(I=Me.replace(Ue,"$&/")+"/"),re(De,G,I,"",function(W){return W})):De!=null&&(Le(De)&&(De=ge(De,I+(De.key==null||T&&T.key===De.key?"":(""+De.key).replace(Ue,"$&/")+"/")+Me)),G.push(De)),1;Me=0;var ie=ne===""?".":ne+":";if(ue(T))for(var me=0;me<T.length;me++)ne=T[me],Oe=ie+ye(ne,me),Me+=re(ne,G,I,Oe,De);else if(me=A(T),typeof me=="function")for(T=me.call(T),me=0;!(ne=T.next()).done;)ne=ne.value,Oe=ie+ye(ne,me++),Me+=re(ne,G,I,Oe,De);else if(Oe==="object"){if(typeof T.then=="function")return re(X(T),G,I,ne,De);throw G=String(T),Error("Objects are not valid as a React child (found: "+(G==="[object Object]"?"object with keys {"+Object.keys(T).join(", ")+"}":G)+"). If you meant to render a collection of children, use an array instead.")}return Me}function P(T,G,I){if(T==null)return T;var ne=[],De=0;return re(T,ne,"","",function(Oe){return G.call(I,Oe,De++)}),ne}function Z(T){if(T._status===-1){var G=T._result,I=G();I.then(function(ne){(T._status===0||T._status===-1)&&(T._status=1,T._result=ne,I.status===void 0&&(I.status="fulfilled",I.value=ne))},function(ne){(T._status===0||T._status===-1)&&(T._status=2,T._result=ne,I.status===void 0&&(I.status="rejected",I.reason=ne))}),T._status===-1&&(T._status=0,T._result=I)}if(T._status===1)return T._result.default;throw T._result}var _e=typeof reportError=="function"?reportError:function(T){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var G=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof T=="object"&&T!==null&&typeof T.message=="string"?String(T.message):String(T),error:T});if(!window.dispatchEvent(G))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",T);return}console.error(T)};function Su(T){var G=ce.T,I={};I.types=G!==null?G.types:null,ce.T=I;try{var ne=T(),De=ce.S;De!==null&&De(I,ne),typeof ne=="object"&&ne!==null&&typeof ne.then=="function"&&ne.then(K,_e)}catch(Oe){_e(Oe)}finally{G!==null&&I.types!==null&&(G.types=I.types),ce.T=G}}function Qu(T){var G=ce.T;if(G!==null){var I=G.types;I===null?G.types=[T]:I.indexOf(T)===-1&&I.push(T)}else Su(Qu.bind(null,T))}var kt={map:P,forEach:function(T,G,I){P(T,function(){G.apply(this,arguments)},I)},count:function(T){var G=0;return P(T,function(){G++}),G},toArray:function(T){return P(T,function(G){return G})||[]},only:function(T){if(!Le(T))throw Error("React.Children.only expected to receive a single React element child.");return T}};return xe.Activity=y,xe.Children=kt,xe.Component=fe,xe.Fragment=s,xe.Profiler=o,xe.PureComponent=q,xe.StrictMode=r,xe.Suspense=b,xe.ViewTransition=C,xe.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=ce,xe.__COMPILER_RUNTIME={__proto__:null,c:function(T){return ce.H.useMemoCache(T)}},xe.addTransitionType=Qu,xe.cache=function(T){return function(){return T.apply(null,arguments)}},xe.cacheSignal=function(){return null},xe.cloneElement=function(T,G,I){if(T==null)throw Error("The argument must be a React element, but you passed "+T+".");var ne=Y({},T.props),De=T.key;if(G!=null)for(Oe in G.key!==void 0&&(De=""+G.key),G)!$e.call(G,Oe)||Oe==="key"||Oe==="__self"||Oe==="__source"||Oe==="ref"&&G.ref===void 0||(ne[Oe]=G[Oe]);var Oe=arguments.length-2;if(Oe===1)ne.children=I;else if(1<Oe){for(var Me=Array(Oe),ie=0;ie<Oe;ie++)Me[ie]=arguments[ie+2];ne.children=Me}return de(T.type,De,ne)},xe.createContext=function(T){return T={$$typeof:m,_currentValue:T,_currentValue2:T,_threadCount:0,Provider:null,Consumer:null},T.Provider=T,T.Consumer={$$typeof:f,_context:T},T},xe.createElement=function(T,G,I){var ne,De={},Oe=null;if(G!=null)for(ne in G.key!==void 0&&(Oe=""+G.key),G)$e.call(G,ne)&&ne!=="key"&&ne!=="__self"&&ne!=="__source"&&(De[ne]=G[ne]);var Me=arguments.length-2;if(Me===1)De.children=I;else if(1<Me){for(var ie=Array(Me),me=0;me<Me;me++)ie[me]=arguments[me+2];De.children=ie}if(T&&T.defaultProps)for(ne in Me=T.defaultProps,Me)De[ne]===void 0&&(De[ne]=Me[ne]);return de(T,Oe,De)},xe.createRef=function(){return{current:null}},xe.forwardRef=function(T){return{$$typeof:p,render:T}},xe.isValidElement=Le,xe.lazy=function(T){return{$$typeof:_,_payload:{_status:-1,_result:T},_init:Z}},xe.memo=function(T,G){return{$$typeof:v,type:T,compare:G===void 0?null:G}},xe.startTransition=Su,xe.unstable_useCacheRefresh=function(){return ce.H.useCacheRefresh()},xe.use=function(T){return ce.H.use(T)},xe.useActionState=function(T,G,I){return ce.H.useActionState(T,G,I)},xe.useCallback=function(T,G){return ce.H.useCallback(T,G)},xe.useContext=function(T){return ce.H.useContext(T)},xe.useDebugValue=function(){},xe.useDeferredValue=function(T,G){return ce.H.useDeferredValue(T,G)},xe.useEffect=function(T,G){return ce.H.useEffect(T,G)},xe.useEffectEvent=function(T){return ce.H.useEffectEvent(T)},xe.useId=function(){return ce.H.useId()},xe.useImperativeHandle=function(T,G,I){return ce.H.useImperativeHandle(T,G,I)},xe.useInsertionEffect=function(T,G){return ce.H.useInsertionEffect(T,G)},xe.useLayoutEffect=function(T,G){return ce.H.useLayoutEffect(T,G)},xe.useMemo=function(T,G){return ce.H.useMemo(T,G)},xe.useOptimistic=function(T,G){return ce.H.useOptimistic(T,G)},xe.useReducer=function(T,G,I){return ce.H.useReducer(T,G,I)},xe.useRef=function(T){return ce.H.useRef(T)},xe.useState=function(T){return ce.H.useState(T)},xe.useSyncExternalStore=function(T,G,I){return ce.H.useSyncExternalStore(T,G,I)},xe.useTransition=function(){return ce.H.useTransition()},xe.version="19.3.1",xe}var O2;function gf(){return O2||(O2=1,B0.exports=Wb()),B0.exports}var V=gf(),H0={exports:{}},ic={},q0={exports:{}},G0={};var z2;function Pb(){return z2||(z2=1,(function(n){function a(X,re){var P=X.length;X.push(re);e:for(;0<P;){var Z=P-1>>>1,_e=X[Z];if(0<o(_e,re))X[Z]=re,X[P]=_e,P=Z;else break e}}function s(X){return X.length===0?null:X[0]}function r(X){if(X.length===0)return null;var re=X[0],P=X.pop();if(P!==re){X[0]=P;e:for(var Z=0,_e=X.length,Su=_e>>>1;Z<Su;){var Qu=2*(Z+1)-1,kt=X[Qu],T=Qu+1,G=X[T];if(0>o(kt,P))T<_e&&0>o(G,kt)?(X[Z]=G,X[T]=P,Z=T):(X[Z]=kt,X[Qu]=P,Z=Qu);else if(T<_e&&0>o(G,P))X[Z]=G,X[T]=P,Z=T;else break e}}return re}function o(X,re){var P=X.sortIndex-re.sortIndex;return P!==0?P:X.id-re.id}if(n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var f=performance;n.unstable_now=function(){return f.now()}}else{var m=Date,p=m.now();n.unstable_now=function(){return m.now()-p}}var b=[],v=[],_=1,y=null,C=3,M=!1,A=!1,L=!1,Y=!1,J=typeof setTimeout=="function"?setTimeout:null,fe=typeof clearTimeout=="function"?clearTimeout:null,ae=typeof setImmediate<"u"?setImmediate:null;function q(X){for(var re=s(v);re!==null;){if(re.callback===null)r(v);else if(re.startTime<=X)r(v),re.sortIndex=re.expirationTime,a(b,re);else break;re=s(v)}}function Q(X){if(L=!1,q(X),!A)if(s(b)!==null)A=!0,ue||(ue=!0,Le());else{var re=s(v);re!==null&&ye(Q,re.startTime-X)}}var ue=!1,K=-1,ce=5,$e=-1;function de(){return Y?!0:!(n.unstable_now()-$e<ce)}function ge(){if(Y=!1,ue){var X=n.unstable_now();$e=X;var re=!0;try{e:{A=!1,L&&(L=!1,fe(K),K=-1),M=!0;var P=C;try{u:{for(q(X),y=s(b);y!==null&&!(y.expirationTime>X&&de());){var Z=y.callback;if(typeof Z=="function"){y.callback=null,C=y.priorityLevel;var _e=Z(y.expirationTime<=X);if(X=n.unstable_now(),typeof _e=="function"){y.callback=_e,q(X),re=!0;break u}y===s(b)&&r(b),q(X)}else r(b);y=s(b)}if(y!==null)re=!0;else{var Su=s(v);Su!==null&&ye(Q,Su.startTime-X),re=!1}}break e}finally{y=null,C=P,M=!1}re=void 0}}finally{re?Le():ue=!1}}}var Le;if(typeof ae=="function")Le=function(){ae(ge)};else if(typeof MessageChannel<"u"){var Pe=new MessageChannel,Ue=Pe.port2;Pe.port1.onmessage=ge,Le=function(){Ue.postMessage(null)}}else Le=function(){J(ge,0)};function ye(X,re){K=J(function(){X(n.unstable_now())},re)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(X){X.callback=null},n.unstable_forceFrameRate=function(X){0>X||125<X?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ce=0<X?Math.floor(1e3/X):5},n.unstable_getCurrentPriorityLevel=function(){return C},n.unstable_next=function(X){switch(C){case 1:case 2:case 3:var re=3;break;default:re=C}var P=C;C=re;try{return X()}finally{C=P}},n.unstable_requestPaint=function(){Y=!0},n.unstable_runWithPriority=function(X,re){switch(X){case 1:case 2:case 3:case 4:case 5:break;default:X=3}var P=C;C=X;try{return re()}finally{C=P}},n.unstable_scheduleCallback=function(X,re,P){var Z=n.unstable_now();switch(typeof P=="object"&&P!==null?(P=P.delay,P=typeof P=="number"&&0<P?Z+P:Z):P=Z,X){case 1:var _e=-1;break;case 2:_e=250;break;case 5:_e=1073741823;break;case 4:_e=1e4;break;default:_e=5e3}return _e=P+_e,X={id:_++,callback:re,priorityLevel:X,startTime:P,expirationTime:_e,sortIndex:-1},P>Z?(X.sortIndex=P,a(v,X),s(b)===null&&X===s(v)&&(L?(fe(K),K=-1):L=!0,ye(Q,P-Z))):(X.sortIndex=_e,a(b,X),A||M||(A=!0,ue||(ue=!0,Le()))),X},n.unstable_shouldYield=de,n.unstable_wrapCallback=function(X){var re=C;return function(){var P=C;C=re;try{return X.apply(this,arguments)}finally{C=P}}}})(G0)),G0}var j2;function eg(){return j2||(j2=1,q0.exports=Pb()),q0.exports}var Y0={exports:{}},Ou={};var M2;function ug(){if(M2)return Ou;M2=1;var n=gf();function a(_){var y="https://react.dev/errors/"+_;if(1<arguments.length){y+="?args[]="+encodeURIComponent(arguments[1]);for(var C=2;C<arguments.length;C++)y+="&args[]="+encodeURIComponent(arguments[C])}return"Minified React error #"+_+"; visit "+y+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(){}var r={d:{f:s,r:function(){throw Error(a(522))},D:s,C:s,L:s,m:s,X:s,S:s,M:s},p:0,findDOMNode:null},o=Symbol.for("react.portal"),f=Symbol.for("react.recoverable"),m=Symbol.for("react.optimistic_key");function p(_,y,C){var M=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:M==null?null:M===m?m:""+M,children:_,containerInfo:y,implementation:C}}var b=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function v(_,y){if(_==="font")return"";if(typeof y=="string")return y==="use-credentials"?y:""}return Ou.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,Ou.browser=function(_){return{$$typeof:f,_reason:_}},Ou.createPortal=function(_,y){var C=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!y||y.nodeType!==1&&y.nodeType!==9&&y.nodeType!==11)throw Error(a(299));return p(_,y,null,C)},Ou.flushSync=function(_){var y=b.T,C=r.p;try{if(b.T=null,r.p=2,_)return _()}finally{b.T=y,r.p=C,r.d.f()}},Ou.preconnect=function(_,y){typeof _=="string"&&(y?(y=y.crossOrigin,y=typeof y=="string"?y==="use-credentials"?y:"":void 0):y=null,r.d.C(_,y))},Ou.prefetchDNS=function(_){typeof _=="string"&&r.d.D(_)},Ou.preinit=function(_,y){if(typeof _=="string"&&y&&typeof y.as=="string"){var C=y.as,M=v(C,y.crossOrigin),A=typeof y.integrity=="string"?y.integrity:void 0,L=typeof y.fetchPriority=="string"?y.fetchPriority:void 0;C==="style"?r.d.S(_,typeof y.precedence=="string"?y.precedence:void 0,{crossOrigin:M,integrity:A,fetchPriority:L}):C==="script"&&r.d.X(_,{crossOrigin:M,integrity:A,fetchPriority:L,nonce:typeof y.nonce=="string"?y.nonce:void 0})}},Ou.preinitModule=function(_,y){if(typeof _=="string")if(typeof y=="object"&&y!==null){if(y.as==null||y.as==="script"){var C=v(y.as,y.crossOrigin);r.d.M(_,{crossOrigin:C,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0,fetchPriority:typeof y.fetchPriority=="string"?y.fetchPriority:void 0})}}else y==null&&r.d.M(_)},Ou.preload=function(_,y){if(typeof _=="string"&&typeof y=="object"&&y!==null&&typeof y.as=="string"){var C=y.as,M=v(C,y.crossOrigin);r.d.L(_,C,{crossOrigin:M,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0,type:typeof y.type=="string"?y.type:void 0,fetchPriority:typeof y.fetchPriority=="string"?y.fetchPriority:void 0,referrerPolicy:typeof y.referrerPolicy=="string"?y.referrerPolicy:void 0,imageSrcSet:typeof y.imageSrcSet=="string"?y.imageSrcSet:void 0,imageSizes:typeof y.imageSizes=="string"?y.imageSizes:void 0,media:typeof y.media=="string"?y.media:void 0})}},Ou.preloadModule=function(_,y){if(typeof _=="string")if(y){var C=v(y.as,y.crossOrigin);r.d.m(_,{as:typeof y.as=="string"&&y.as!=="script"?y.as:void 0,crossOrigin:C,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0,fetchPriority:typeof y.fetchPriority=="string"?y.fetchPriority:void 0})}else r.d.m(_)},Ou.requestFormReset=function(_){r.d.r(_)},Ou.unstable_batchedUpdates=function(_,y){return _(y)},Ou.useFormState=function(_,y,C){return b.H.useFormState(_,y,C)},Ou.useFormStatus=function(){return b.H.useHostTransitionStatus()},Ou.version="19.3.1",Ou}var R2;function tg(){if(R2)return Y0.exports;R2=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(a){console.error(a)}}return n(),Y0.exports=ug(),Y0.exports}var w2;function ng(){if(w2)return ic;w2=1;var n=eg(),a=gf(),s=tg();function r(e){var u="https://react.dev/errors/"+e;if(1<arguments.length){u+="?args[]="+encodeURIComponent(arguments[1]);for(var t=2;t<arguments.length;t++)u+="&args[]="+encodeURIComponent(arguments[t])}return"Minified React error #"+e+"; visit "+u+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function f(e){for(var u=e,t=u;t&&!t.alternate;)u=t,(u.flags&4098)!==0&&(e=u.return),t=u.return;for(;u.return;)u=u.return;return u.tag===3?e:null}function m(e){if(e.tag===13){var u=e.memoizedState;if(u===null&&(e=e.alternate,e!==null&&(u=e.memoizedState)),u!==null)return u.dehydrated}return null}function p(e){if(e.tag===31){var u=e.memoizedState;if(u===null&&(e=e.alternate,e!==null&&(u=e.memoizedState)),u!==null)return u.dehydrated}return null}function b(e){if(f(e)!==e)throw Error(r(188))}function v(e){var u=e.alternate;if(!u){if(u=f(e),u===null)throw Error(r(188));return u!==e?null:e}for(var t=e,l=u;;){var i=t.return;if(i===null)break;var c=i.alternate;if(c===null){if(l=i.return,l!==null){t=l;continue}break}if(i.child===c.child){for(c=i.child;c;){if(c===t)return b(i),e;if(c===l)return b(i),u;c=c.sibling}throw Error(r(188))}if(t.return!==l.return)t=i,l=c;else{for(var d=!1,g=i.child;g;){if(g===t){d=!0,t=i,l=c;break}if(g===l){d=!0,l=i,t=c;break}g=g.sibling}if(!d){for(g=c.child;g;){if(g===t){d=!0,t=c,l=i;break}if(g===l){d=!0,l=c,t=i;break}g=g.sibling}if(!d)throw Error(r(189))}}if(t.alternate!==l)throw Error(r(190))}if(t.tag!==3)throw Error(r(188));return t.stateNode.current===t?e:u}function _(e){var u=e.tag;if(u===5||u===26||u===27||u===6)return e;for(e=e.child;e!==null;){if(u=_(e),u!==null)return u;e=e.sibling}return null}function y(e,u,t,l,i,c){for(;e!==null;){if((e.tag===5||e.tag===27||e.tag===6)&&t(e,l,i,c)||(e.tag!==22||e.memoizedState===null)&&(u||e.tag!==5&&e.tag!==27)&&y(e.child,u,t,l,i,c))return!0;e=e.sibling}return!1}function C(e){for(e=e.return;e!==null;){if(e.tag===3||e.tag===5||e.tag===27)return e;e=e.return}return null}function M(e){var u=!1;for(e=e.return;e!==null&&(e.tag===4&&(u=!0),!(e.tag===3||e.tag===5||e.tag===27));)e=e.return;return u}function A(e){var u=[null,null],t=C(e);return t===null||L(u,e,t.child,{foundSelf:!1}),u}function L(e,u,t,l){for(;t!==null;){if(t===u)l.foundSelf=!0;else if(t.tag===5||t.tag===27||t.tag===6){if(l.foundSelf)return e[1]=t,!0;e[0]=t}else if((t.tag!==22||t.memoizedState===null)&&L(e,u,t.child,l))return!0;t=t.sibling}return!1}function Y(e){switch(e.tag){case 5:case 27:case 6:return e.stateNode;case 3:return e.stateNode.containerInfo;default:throw Error(r(559))}}var J=null,fe=null;function ae(e,u,t){return e===t?!0:e===u?(J=e,!0):!1}function q(e,u,t){return e===t?(fe=e,!1):e===u?(fe!==null&&(J=e),!0):!1}function Q(e){if(e===null)return null;do e=e===null?null:e.return;while(e&&e.tag!==5&&e.tag!==27&&e.tag!==3);return e||null}function ue(e,u,t){for(var l=0,i=e;i;i=t(i))l++;i=0;for(var c=u;c;c=t(c))i++;for(;0<l-i;)e=t(e),l--;for(;0<i-l;)u=t(u),i--;for(;l--;){if(e===u||u!==null&&e===u.alternate)return e;e=t(e),u=t(u)}return null}var K=Object.assign,ce=Symbol.for("react.element"),$e=Symbol.for("react.transitional.element"),de=Symbol.for("react.portal"),ge=Symbol.for("react.fragment"),Le=Symbol.for("react.strict_mode"),Pe=Symbol.for("react.profiler"),Ue=Symbol.for("react.consumer"),ye=Symbol.for("react.context"),X=Symbol.for("react.forward_ref"),re=Symbol.for("react.suspense"),P=Symbol.for("react.suspense_list"),Z=Symbol.for("react.memo"),_e=Symbol.for("react.lazy"),Su=Symbol.for("react.activity"),Qu=Symbol.for("react.legacy_hidden"),kt=Symbol.for("react.memo_cache_sentinel"),T=Symbol.for("react.view_transition"),G=Symbol.for("react.recoverable"),I=Symbol.iterator;function ne(e){return e===null||typeof e!="object"?null:(e=I&&e[I]||e["@@iterator"],typeof e=="function"?e:null)}var De=Symbol.for("react.client.reference");function Oe(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===De?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case ge:return"Fragment";case Pe:return"Profiler";case Le:return"StrictMode";case re:return"Suspense";case P:return"SuspenseList";case Su:return"Activity";case T:return"ViewTransition"}if(typeof e=="object")switch(e.$$typeof){case de:return"Portal";case ye:return e.displayName||"Context";case Ue:return(e._context.displayName||"Context")+".Consumer";case X:var u=e.render;return e=e.displayName,e||(e=u.displayName||u.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Z:return u=e.displayName||null,u!==null?u:Oe(e.type)||"Memo";case _e:u=e._payload,e=e._init;try{return Oe(e(u))}catch{}}return null}var Me=Array.isArray,ie=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,me=s.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,W={pending:!1,data:null,method:null,action:null},ee=[],Ve=-1;function Ae(e){return{current:e}}function lu(e){0>Ve||(e.current=ee[Ve],ee[Ve]=null,Ve--)}function he(e,u){Ve++,ee[Ve]=e.current,e.current=u}var Iu=Ae(null),Mu=Ae(null),Ku=Ae(null),El=Ae(null);function at(e,u){switch(he(Ku,u),he(Mu,e),he(Iu,null),u.nodeType){case 9:case 11:e=(e=u.documentElement)&&(e=e.namespaceURI)?Lh(e):0;break;default:if(e=u.tagName,u=u.namespaceURI)u=Lh(u),e=Uh(u,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}lu(Iu),he(Iu,e)}function rn(){lu(Iu),lu(Mu),lu(Ku)}function Sl(e){var u=e.memoizedState;u!==null&&($a._currentValue=u.memoizedState,he(El,e)),u=Iu.current;var t=Uh(u,e.type);u!==t&&(he(Mu,e),he(Iu,t))}function Al(e){Mu.current===e&&(lu(Iu),lu(Mu)),El.current===e&&(lu(El),$a._currentValue=W)}var Tl,bt;function Ru(e){if(Tl===void 0)try{throw Error()}catch(t){var u=t.stack.trim().match(/\n( *(at )?)/);Tl=u&&u[1]||"",bt=-1<t.stack.indexOf(`
2
+ at`)?" (<anonymous>)":-1<t.stack.indexOf("@")?"@unknown:0:0":""}return`
3
+ `+Tl+e+bt}var Ot=!1;function Dl(e,u){if(!e||Ot)return"";Ot=!0;var t=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(u){var U=function(){throw Error()};if(Object.defineProperty(U.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(U,[])}catch($){var N=$}Reflect.construct(e,[],U)}else{try{U.call()}catch($){N=$}U=!1;try{var j=Object.getOwnPropertyDescriptor(e.prototype,"props");Object.defineProperty(e.prototype,"props",{configurable:!0,set:function(){throw Error()}}),U=!0,new e}finally{U&&(j!==void 0?Object.defineProperty(e.prototype,"props",j):delete e.prototype.props)}}}else{try{throw Error()}catch($){N=$}(U=e())&&typeof U.catch=="function"&&U.catch(function(){})}}catch($){if($&&N&&typeof $.stack=="string")return[$.stack,N.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var i=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");i&&i.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var c=l.DetermineComponentFrameRoot(),d=c[0],g=c[1];if(d&&g){var E=d.split(`
4
+ `),O=g.split(`
5
+ `);for(i=l=0;l<E.length&&!E[l].includes("DetermineComponentFrameRoot");)l++;for(;i<O.length&&!O[i].includes("DetermineComponentFrameRoot");)i++;if(l===E.length||i===O.length)for(l=E.length-1,i=O.length-1;1<=l&&0<=i&&E[l]!==O[i];)i--;for(;1<=l&&0<=i;l--,i--)if(E[l]!==O[i]){if(l!==1||i!==1)do if(l--,i--,0>i||E[l]!==O[i]){var R=`
6
+ `+E[l].replace(" at new "," at ");return e.displayName&&R.includes("<anonymous>")&&(R=R.replace("<anonymous>",e.displayName)),R}while(1<=l&&0<=i);break}}}finally{Ot=!1,Error.prepareStackTrace=t}return(t=e?e.displayName||e.name:"")?Ru(t):""}function na(e,u){switch(e.tag){case 26:case 27:case 5:return Ru(e.type);case 16:return Ru("Lazy");case 13:return e.child!==u&&u!==null?Ru("Suspense Fallback"):Ru("Suspense");case 19:return Ru("SuspenseList");case 0:case 15:return Dl(e.type,!1);case 11:return Dl(e.type.render,!1);case 1:return Dl(e.type,!0);case 31:return Ru("Activity");case 30:return Ru("ViewTransition");default:return""}}function Cl(e){try{var u="",t=null;do u+=na(e,t),t=e,e=e.return;while(e);return u}catch(l){return`
7
+ Error generating stack: `+l.message+`
8
+ `+l.stack}}var Nl=Object.prototype.hasOwnProperty,Ht=n.unstable_scheduleCallback,kn=n.unstable_cancelCallback,la=n.unstable_shouldYield,Ac=n.unstable_requestPaint,wu=n.unstable_now,Tc=n.unstable_getCurrentPriorityLevel,aa=n.unstable_ImmediatePriority,ia=n.unstable_UserBlockingPriority,gt=n.unstable_NormalPriority,On=n.unstable_LowPriority,qt=n.unstable_IdlePriority,Dc=n.log,Cc=n.unstable_setDisableYieldValue,zn=null,Lu=null;function zt(e){if(typeof Dc=="function"&&Cc(e),Lu&&typeof Lu.setStrictMode=="function")try{Lu.setStrictMode(zn,e)}catch{}}var bu=Math.clz32?Math.clz32:jn,ca=Math.log,yt=Math.LN2;function jn(e){return e>>>=0,e===0?32:31-(ca(e)/yt|0)|0}var Mn=256,Rn=262144,ra=4194304;function Gt(e){var u=e&42;if(u!==0)return u;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&-e;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 wn(e,u,t){var l=e.pendingLanes;if(l===0)return 0;var i=0,c=e.suspendedLanes,d=e.pingedLanes;e=e.warmLanes;var g=l&134217727;return g!==0?(l=g&~c,l!==0?i=Gt(l):(d&=g,d!==0?i=Gt(d):t||(t=g&~e,t!==0&&(i=Gt(t))))):(g=l&~c,g!==0?i=Gt(g):d!==0?i=Gt(d):t||(t=l&~e,t!==0&&(i=Gt(t)))),i===0?0:u!==0&&u!==i&&(u&c)===0&&(c=i&-i,t=u&-u,c>=t||c===32&&(t&4194048)!==0)?u:i}function Ln(e,u){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&u)===0}function sa(e,u){(u&8)!==0&&(u|=u&32);var t=e.entangledLanes;if(t!==0)for(e=e.entanglements,t&=u;0<t;){var l=31-bu(t),i=1<<l;u|=e[l],t&=~i}return u}function ys(e,u){switch(e){case 1:case 2:case 4:case 8:case 64:return u+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 u+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 Un(){var e=ra;return ra<<=1,(ra&62914560)===0&&(ra=4194304),e}function ii(e){for(var u=[],t=0;31>t;t++)u.push(e);return u}function kl(e,u){e.pendingLanes|=u,u!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function eu(e,u,t,l,i,c){var d=e.pendingLanes;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=t,e.entangledLanes&=t,e.errorRecoveryDisabledLanes&=t,e.shellSuspendCounter=0;var g=e.entanglements,E=e.expirationTimes,O=e.hiddenUpdates;for(t=d&~t;0<t;){var R=31-bu(t),U=1<<R;g[R]=0,E[R]=-1;var N=O[R];if(N!==null)for(O[R]=null,R=0;R<N.length;R++){var j=N[R];j!==null&&(j.lane&=-536870913)}t&=~U}l!==0&&sn(e,l,0),c!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=c&~(d&~u))}function sn(e,u,t){e.pendingLanes|=u,e.suspendedLanes&=~u;var l=31-bu(u);e.entangledLanes|=u,e.entanglements[l]=e.entanglements[l]|1073741824|t&261930}function Nc(e,u){var t=e.entangledLanes|=u;for(e=e.entanglements;t;){var l=31-bu(t),i=1<<l;i&u|e[l]&u&&(e[l]|=u),t&=~i}}function ci(e,u){var t=u&-u;return t=(t&42)!==0?1:Ol(t),(t&(e.suspendedLanes|u))!==0?0:t}function Ol(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 oa(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function ri(){var e=me.p;return e!==0?e:(e=window.event,e===void 0?32:v2(e.type))}function kc(e,u){var t=me.p;try{return me.p=e,u()}finally{me.p=t}}var jt=Math.random().toString(36).slice(2),hu="__reactFiber$"+jt,Uu="__reactProps$"+jt,Hu="__reactContainer$"+jt,si="__reactEvents$"+jt,oi="__reactListeners$"+jt,Fn="__reactHandles$"+jt,fi="__reactResources$"+jt,on="__reactMarker$"+jt,Bn="__reactLoad$"+jt;function Hn(e){delete e[hu],delete e[Uu],delete e[oi],delete e[Fn]}function fn(e){var u;if(u=e[hu])return u;for(var t=e.parentNode;t;){if(u=t[Hu]||t[hu]){if(t=u.alternate,u.child!==null||t!==null&&t.child!==null)for(e=e2(e);e!==null;){if(t=e[hu])return t;e=e2(e)}return u}e=t,t=e.parentNode}return null}function dn(e){if(e=e[hu]||e[Hu]){var u=e.tag;if(u===5||u===6||u===13||u===31||u===26||u===27||u===3)return e}return null}function zl(e){var u=e.tag;if(u===5||u===26||u===27||u===6)return e.stateNode;throw Error(r(33))}function qn(e){var u=e[fi];return u||(u=e[fi]={hoistableStyles:new Map,hoistableScripts:new Map}),u}function cu(e){e[on]=!0}function Oc(e){e[Bn]=void 0}var di=new Set,zc={};function Yt(e,u){Vt(e,u),Vt(e+"Capture",u)}function Vt(e,u){for(zc[e]=u,e=0;e<u.length;e++)di.add(u[e])}var fa=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]*$"),da={},hi={};function ha(e){return Nl.call(hi,e)?!0:Nl.call(da,e)?!1:fa.test(e)?hi[e]=!0:(da[e]=!0,!1)}var Te=!1;function Gn(){var e=Te;return Te=!1,e}function Fu(e,u,t){if(ha(u))if(t===null)e.removeAttribute(u);else{switch(typeof t){case"undefined":case"function":case"symbol":e.removeAttribute(u);return;case"boolean":var l=u.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){e.removeAttribute(u);return}}e.setAttribute(u,t)}}function ma(e,u,t){if(t===null)e.removeAttribute(u);else{switch(typeof t){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(u);return}e.setAttribute(u,t)}}function $u(e,u,t,l){if(l===null)e.removeAttribute(t);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttributeNS(u,t,l)}}function qu(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function mi(e){var u=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(u==="checkbox"||u==="radio")}function Yn(e,u,t){var l=Object.getOwnPropertyDescriptor(e.constructor.prototype,u);if(!e.hasOwnProperty(u)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var i=l.get,c=l.set;return Object.defineProperty(e,u,{configurable:!0,get:function(){return i.call(this)},set:function(d){t=""+d,c.call(this,d)}}),Object.defineProperty(e,u,{enumerable:l.enumerable}),{getValue:function(){return t},setValue:function(d){t=""+d},stopTracking:function(){e._valueTracker=null,delete e[u]}}}}function jl(e){if(!e._valueTracker){var u=mi(e)?"checked":"value";e._valueTracker=Yn(e,u,""+e[u])}}function pi(e){if(!e)return!1;var u=e._valueTracker;if(!u)return!0;var t=u.getValue(),l="";return e&&(l=mi(e)?e.checked?"true":"false":e.value),e=l,e!==t?(u.setValue(e),!0):!1}var xs=/[\n"\\]/g;function Gu(e){return e.replace(xs,function(u){return"\\"+u.charCodeAt(0).toString(16)+" "})}function bi(e,u,t,l,i,c,d,g){e.name="",d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?e.type=d:e.removeAttribute("type"),u!=null?d==="number"?(u===0&&e.value===""||e.value!=u)&&(e.value=""+qu(u)):e.value!==""+qu(u)&&(e.value=""+qu(u)):d!=="submit"&&d!=="reset"||e.removeAttribute("value"),u!=null?d==="number"&&e.value==u?pa(e,qu(e.value)):pa(e,qu(u)):t!=null?pa(e,qu(t)):l!=null&&e.removeAttribute("value"),i==null&&c!=null&&(e.defaultChecked=!!c),i!=null&&(e.checked=i&&typeof i!="function"&&typeof i!="symbol"),g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"?e.name=""+qu(g):e.removeAttribute("name")}function jc(e,u,t,l,i,c,d,g){if(c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(e.type=c),u!=null||t!=null){if(!(c!=="submit"&&c!=="reset"||u!=null)){jl(e);return}t=t!=null?""+qu(t):"",u=u!=null?""+qu(u):t,g||u===e.value||(e.value=u),e.defaultValue=u}l=l??i,l=typeof l!="function"&&typeof l!="symbol"&&!!l,e.checked=g?e.checked:!!l,e.defaultChecked=!!l,d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(e.name=d),jl(e)}function pa(e,u){e.defaultValue!==""+u&&(e.defaultValue=""+u)}function Zt(e,u,t,l){if(e=e.options,u){u={};for(var i=0;i<t.length;i++)u["$"+t[i]]=!0;for(t=0;t<e.length;t++)i=u.hasOwnProperty("$"+e[t].value),e[t].selected!==i&&(e[t].selected=i),i&&l&&(e[t].defaultSelected=!0)}else{for(t=""+qu(t),u=null,i=0;i<e.length;i++){if(e[i].value===t){e[i].selected=!0,l&&(e[i].defaultSelected=!0);return}u!==null||e[i].disabled||(u=e[i])}u!==null&&(u.selected=!0)}}function Vn(e,u,t){if(u!=null&&(u=""+qu(u),u!==e.value&&(e.value=u),t==null)){e.defaultValue!==u&&(e.defaultValue=u);return}e.defaultValue=t!=null?""+qu(t):""}function ba(e,u,t,l){if(u==null){if(l!=null){if(t!=null)throw Error(r(92));if(Me(l)){if(1<l.length)throw Error(r(93));l=l[0]}t=l}t==null&&(t=""),u=t}t=qu(u),e.defaultValue=t,l=e.textContent,l===t&&l!==""&&l!==null&&(e.value=l),jl(e)}function H(e,u){if(u){var t=e.firstChild;if(t&&t===e.lastChild&&t.nodeType===3){t.nodeValue=u;return}}e.textContent=u}var x=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 D(e,u,t){var l=u.indexOf("--")===0;t==null||typeof t=="boolean"||t===""?l?e.setProperty(u,""):u==="float"?e.cssFloat="":e[u]="":l?e.setProperty(u,t):typeof t!="number"||t===0||x.has(u)?u==="float"?e.cssFloat=t:e[u]=(""+t).trim():e[u]=t+"px"}function B(e,u,t){if(u!=null&&typeof u!="object")throw Error(r(62));if(e=e.style,t!=null){for(var l in t)!t.hasOwnProperty(l)||u!=null&&u.hasOwnProperty(l)||(l.indexOf("--")===0?e.setProperty(l,""):l==="float"?e.cssFloat="":e[l]="",Te=!0);for(var i in u)l=u[i],u.hasOwnProperty(i)&&t[i]!==l&&(D(e,i,l),Te=!0)}else for(var c in u)u.hasOwnProperty(c)&&D(e,c,u[c])}function F(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 se=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"],["maskType","mask-type"],["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"]]),pe=/^[\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 ve(e){return pe.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Be(){}var Ju=null;function mu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var au=null,it=null;function Au(e){var u=dn(e);if(u&&(e=u.stateNode)){var t=e[Uu]||null;e:switch(e=u.stateNode,u.type){case"input":if(bi(e,t.value,t.defaultValue,t.defaultValue,t.checked,t.defaultChecked,t.type,t.name),u=t.name,t.type==="radio"&&u!=null){for(t=e;t.parentNode;)t=t.parentNode;for(t=t.querySelectorAll('input[name="'+Gu(""+u)+'"][type="radio"]'),u=0;u<t.length;u++){var l=t[u];if(l!==e&&l.form===e.form){var i=l[Uu]||null;if(!i)throw Error(r(90));bi(l,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name)}}for(u=0;u<t.length;u++)l=t[u],l.form===e.form&&pi(l)}break e;case"textarea":Vn(e,t.value,t.defaultValue);break e;case"select":u=t.value,u!=null&&Zt(e,!!t.multiple,u,!1)}}}var ga=!1;function zf(e,u,t){if(ga)return e(u,t);ga=!0;try{var l=e(u);return l}finally{if(ga=!1,(au!==null||it!==null)&&(jr(),au&&(u=au,e=it,it=au=null,Au(u),e)))for(u=0;u<e.length;u++)Au(e[u])}}function gi(e,u){var t=e.stateNode;if(t===null)return null;var l=t[Uu]||null;if(l===null)return null;t=l[u];e:switch(u){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(e=e.type,l=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!l;break e;default:e=!1}if(e)return null;if(t&&typeof t!="function")throw Error(r(231,u,typeof t));return t}var hn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),vs=!1;if(hn)try{var yi={};Object.defineProperty(yi,"passive",{get:function(){vs=!0}}),window.addEventListener("test",yi,yi),window.removeEventListener("test",yi,yi)}catch{vs=!1}var Zn=null,_s=null,Mc=null;function jf(){if(Mc)return Mc;var e,u=_s,t=u.length,l,i="value"in Zn?Zn.value:Zn.textContent,c=i.length;for(e=0;e<t&&u[e]===i[e];e++);var d=t-e;for(l=1;l<=d&&u[t-l]===i[c-l];l++);return Mc=i.slice(e,1<l?1-l:void 0)}function Rc(e){var u=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&u===13&&(e=13)):e=u,e===10&&(e=13),32<=e||e===13?e:0}function wc(){return!0}function Mf(){return!1}function Yu(e){function u(t,l,i,c,d){this._reactName=t,this._targetInst=i,this.type=l,this.nativeEvent=c,this.target=d,this.currentTarget=null;for(var g in e)e.hasOwnProperty(g)&&(t=e[g],this[g]=t?t(c):c[g]);return this.isDefaultPrevented=(c.defaultPrevented!=null?c.defaultPrevented:c.returnValue===!1)?wc:Mf,this.isPropagationStopped=Mf,this}return K(u.prototype,{preventDefault:function(){this.defaultPrevented=!0;var t=this.nativeEvent;t&&(t.preventDefault?t.preventDefault():typeof t.returnValue!="unknown"&&(t.returnValue=!1),this.isDefaultPrevented=wc)},stopPropagation:function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():typeof t.cancelBubble!="unknown"&&(t.cancelBubble=!0),this.isPropagationStopped=wc)},persist:function(){},isPersistent:wc}),u}var Xn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Lc=Yu(Xn),xi=K({},Xn,{view:0,detail:0}),_p=Yu(xi),Es,Ss,vi,Uc=K({},xi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ts,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!==vi&&(vi&&e.type==="mousemove"?(Es=e.screenX-vi.screenX,Ss=e.screenY-vi.screenY):Ss=Es=0,vi=e),Es)},movementY:function(e){return"movementY"in e?e.movementY:Ss}}),Rf=Yu(Uc),Ep=K({},Uc,{dataTransfer:0}),Sp=Yu(Ep),Ap=K({},xi,{relatedTarget:0}),As=Yu(Ap),Tp=K({},Xn,{animationName:0,elapsedTime:0,pseudoElement:0}),Dp=Yu(Tp),Cp=K({},Xn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Np=Yu(Cp),kp=K({},Xn,{data:0}),wf=Yu(kp),Op={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},zp={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"},jp={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Mp(e){var u=this.nativeEvent;return u.getModifierState?u.getModifierState(e):(e=jp[e])?!!u[e]:!1}function Ts(){return Mp}var Rp=K({},xi,{key:function(e){if(e.key){var u=Op[e.key]||e.key;if(u!=="Unidentified")return u}return e.type==="keypress"?(e=Rc(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?zp[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ts,charCode:function(e){return e.type==="keypress"?Rc(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Rc(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),wp=Yu(Rp),Lp=K({},Uc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Lf=Yu(Lp),Up=K({},Xn,{submitter:0}),Fp=Yu(Up),Bp=K({},xi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ts}),Hp=Yu(Bp),qp=K({},Xn,{propertyName:0,elapsedTime:0,pseudoElement:0}),Gp=Yu(qp),Yp=K({},Uc,{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}),Vp=Yu(Yp),Zp=K({},Xn,{newState:0,oldState:0,source:0}),Xp=Yu(Zp),Qp=[9,13,27,32],Ds=hn&&"CompositionEvent"in window,_i=null;hn&&"documentMode"in document&&(_i=document.documentMode);var Ip=hn&&"TextEvent"in window&&!_i,Uf=hn&&(!Ds||_i&&8<_i&&11>=_i),Ff=" ",Bf=!1;function Hf(e,u){switch(e){case"keyup":return Qp.indexOf(u.keyCode)!==-1;case"keydown":return u.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function qf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ya=!1;function Kp(e,u){switch(e){case"compositionend":return qf(u);case"keypress":return u.which!==32?null:(Bf=!0,Ff);case"textInput":return e=u.data,e===Ff&&Bf?null:e;default:return null}}function $p(e,u){if(ya)return e==="compositionend"||!Ds&&Hf(e,u)?(e=jf(),Mc=_s=Zn=null,ya=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(u.ctrlKey||u.altKey||u.metaKey)||u.ctrlKey&&u.altKey){if(u.char&&1<u.char.length)return u.char;if(u.which)return String.fromCharCode(u.which)}return null;case"compositionend":return Uf&&u.locale!=="ko"?null:u.data;default:return null}}var Jp={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 Gf(e){var u=e&&e.nodeName&&e.nodeName.toLowerCase();return u==="input"?!!Jp[e.type]:u==="textarea"}function Yf(e,u,t,l){au?it?it.push(l):it=[l]:au=l,u=Fr(u,"onChange"),0<u.length&&(t=new Lc("onChange","change",null,t,l),e.push({event:t,listeners:u}))}var Ei=null,Si=null;function Wp(e){Oh(e,0)}function Fc(e){var u=zl(e);if(pi(u))return e}function Vf(e,u){if(e==="change")return u}var Zf=!1;if(hn){var Cs;if(hn){var Ns="oninput"in document;if(!Ns){var Xf=document.createElement("div");Xf.setAttribute("oninput","return;"),Ns=typeof Xf.oninput=="function"}Cs=Ns}else Cs=!1;Zf=Cs&&(!document.documentMode||9<document.documentMode)}function Qf(){Ei&&(Ei.detachEvent("onpropertychange",If),Si=Ei=null)}function If(e){if(e.propertyName==="value"&&Fc(Si)){var u=[];Yf(u,Si,e,mu(e)),zf(Wp,u)}}function Pp(e,u,t){e==="focusin"?(Qf(),Ei=u,Si=t,Ei.attachEvent("onpropertychange",If)):e==="focusout"&&Qf()}function e3(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Fc(Si)}function u3(e,u){if(e==="click")return Fc(u)}function t3(e,u){if(e==="input"||e==="change")return Fc(u)}function n3(e,u){return e===u&&(e!==0||1/e===1/u)||e!==e&&u!==u}var ct=typeof Object.is=="function"?Object.is:n3;function Ai(e,u){if(ct(e,u))return!0;if(typeof e!="object"||e===null||typeof u!="object"||u===null)return!1;var t=Object.keys(e),l=Object.keys(u);if(t.length!==l.length)return!1;for(l=0;l<t.length;l++){var i=t[l];if(!Nl.call(u,i)||!ct(e[i],u[i]))return!1}return!0}function ks(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}}function Kf(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function $f(e,u){var t=Kf(e);e=0;for(var l;t;){if(t.nodeType===3){if(l=e+t.textContent.length,e<=u&&l>=u)return{node:t,offset:u-e};e=l}e:{for(;t;){if(t.nextSibling){t=t.nextSibling;break e}t=t.parentNode}t=void 0}t=Kf(t)}}function Jf(e,u){return e&&u?e===u?!0:e&&e.nodeType===3?!1:u&&u.nodeType===3?Jf(e,u.parentNode):"contains"in e?e.contains(u):e.compareDocumentPosition?!!(e.compareDocumentPosition(u)&16):!1:!1}function Wf(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var u=ks(e.document);u instanceof e.HTMLIFrameElement;){try{var t=typeof u.contentWindow.location.href=="string"}catch{t=!1}if(t)e=u.contentWindow;else break;u=ks(e.document)}return u}function Os(e){var u=e&&e.nodeName&&e.nodeName.toLowerCase();return u&&(u==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||u==="textarea"||e.contentEditable==="true")}var l3=hn&&"documentMode"in document&&11>=document.documentMode,xa=null,zs=null,Ti=null,js=!1;function Pf(e,u,t){var l=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;js||xa==null||xa!==ks(l)||(l=xa,"selectionStart"in l&&Os(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),Ti&&Ai(Ti,l)||(Ti=l,l=Fr(zs,"onSelect"),0<l.length&&(u=new Lc("onSelect","select",null,u,t),e.push({event:u,listeners:l}),u.target=xa)))}function Ml(e,u){var t={};return t[e.toLowerCase()]=u.toLowerCase(),t["Webkit"+e]="webkit"+u,t["Moz"+e]="moz"+u,t}var va={animationend:Ml("Animation","AnimationEnd"),animationiteration:Ml("Animation","AnimationIteration"),animationstart:Ml("Animation","AnimationStart"),transitionrun:Ml("Transition","TransitionRun"),transitionstart:Ml("Transition","TransitionStart"),transitioncancel:Ml("Transition","TransitionCancel"),transitionend:Ml("Transition","TransitionEnd")},Ms={},ed={};hn&&(ed=document.createElement("div").style,"AnimationEvent"in window||(delete va.animationend.animation,delete va.animationiteration.animation,delete va.animationstart.animation),"TransitionEvent"in window||delete va.transitionend.transition);function Rl(e){if(Ms[e])return Ms[e];if(!va[e])return e;var u=va[e],t;for(t in u)if(u.hasOwnProperty(t)&&t in ed)return Ms[e]=u[t];return e}var ud=Rl("animationend"),td=Rl("animationiteration"),nd=Rl("animationstart"),a3=Rl("transitionrun"),i3=Rl("transitionstart"),c3=Rl("transitioncancel"),ld=Rl("transitionend"),ad=new Map,Rs="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError 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(" ");Rs.push("scrollEnd");function Mt(e,u){ad.set(e,u),Yt(u,[e])}var r3=0;function mn(e,u){if(e.name!=null&&e.name!=="auto")return e.name;if(u.autoName!==null)return u.autoName;e=Ut.identifierPrefix;var t=r3++;return e="_"+e+"t_"+t.toString(32)+"_",u.autoName=e}function id(e){if(e==null||typeof e=="string")return e;var u=null,t=Ha;if(t!==null)for(var l=0;l<t.length;l++){var i=e[t[l]];if(i!=null){if(i==="none")return"none";u=u==null?i:u+(" "+i)}}return u??e.default}function pn(e,u){return e=id(e),u=id(u),u==null?e==="auto"?null:e:u==="auto"?null:u}var Bc=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var u=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(u))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},xt=[],_a=0,ws=0;function Hc(){for(var e=_a,u=ws=_a=0;u<e;){var t=xt[u];xt[u++]=null;var l=xt[u];xt[u++]=null;var i=xt[u];xt[u++]=null;var c=xt[u];if(xt[u++]=null,l!==null&&i!==null){var d=l.pending;d===null?i.next=i:(i.next=d.next,d.next=i),l.pending=i}c!==0&&cd(t,i,c)}}function qc(e,u,t,l){xt[_a++]=e,xt[_a++]=u,xt[_a++]=t,xt[_a++]=l,ws|=l,e.lanes|=l,e=e.alternate,e!==null&&(e.lanes|=l)}function Ls(e,u,t,l){return qc(e,u,t,l),Gc(e)}function wl(e,u){return qc(e,null,null,u),Gc(e)}function cd(e,u,t){e.lanes|=t;var l=e.alternate;l!==null&&(l.lanes|=t);for(var i=!1,c=e.return;c!==null;)c.childLanes|=t,l=c.alternate,l!==null&&(l.childLanes|=t),c.tag===22&&(e=c.stateNode,e===null||e._visibility&1||(i=!0)),e=c,c=c.return;return e.tag===3?(c=e.stateNode,i&&u!==null&&(i=31-bu(t),e=c.hiddenUpdates,l=e[i],l===null?e[i]=[u]:l.push(u),u.lane=t|536870912),c):null}function Gc(e){if(50<Qi)throw Qi=0,zr=null,Error(r(185));for(var u=e.return;u!==null;)e=u,u=e.return;return e.tag===3?e.stateNode:null}var Ea={};function s3(e,u,t,l){this.tag=e,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=u,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Wu(e,u,t,l){return new s3(e,u,t,l)}function Us(e){return e=e.prototype,!(!e||!e.isReactComponent)}function bn(e,u){var t=e.alternate;return t===null?(t=Wu(e.tag,u,e.key,e.mode),t.elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=u,t.type=e.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=e.flags&1206910976,t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,u=e.dependencies,t.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t.refCleanup=e.refCleanup,t}function rd(e,u){e.flags&=1206910978;var t=e.alternate;return t===null?(e.childLanes=0,e.lanes=u,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=t.childLanes,e.lanes=t.lanes,e.child=t.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=t.memoizedProps,e.memoizedState=t.memoizedState,e.updateQueue=t.updateQueue,e.type=t.type,u=t.dependencies,e.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext}),e}function Yc(e,u,t,l,i,c){var d=0;if(l=e,typeof l=="function")Us(l)&&(d=1);else if(typeof l=="string")d=Ub(e,t,Iu.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(l){case Su:return e=Wu(31,t,u,i),e.elementType=Su,e.lanes=c,e;case ge:return Ll(t.children,i,c,u);case Le:d=8,i|=24;break;case Pe:return e=Wu(12,t,u,i|2),e.elementType=Pe,e.lanes=c,e;case re:return e=Wu(13,t,u,i),e.elementType=re,e.lanes=c,e;case P:return e=Wu(19,t,u,i),e.elementType=P,e.lanes=c,e;case Qu:case T:return e=i|32,e=Wu(30,t,u,e),e.elementType=T,e.lanes=c,e.stateNode={autoName:null,paired:null,clones:null,ref:null},e;default:if(typeof l=="object"&&l!==null)switch(l.$$typeof){case ye:d=10;break e;case Ue:d=9;break e;case X:d=11;break e;case Z:d=14;break e;case _e:d=16,l=null;break e}d=29,t=Error(r(130,e===null?"null":typeof e,"")),l=null}return u=Wu(d,t,u,i),u.elementType=e,u.type=l,u.lanes=c,u}function Ll(e,u,t,l){return e=Wu(7,e,l,u),e.lanes=t,e}function Fs(e,u,t){return e=Wu(6,e,null,u),e.lanes=t,e}function sd(e){var u=Wu(18,null,null,0);return u.stateNode=e,u}function Bs(e,u,t){return u=Wu(4,e.children!==null?e.children:[],e.key,u),u.lanes=t,u.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},u}var od=new WeakMap;function vt(e,u){if(typeof e=="object"&&e!==null){var t=od.get(e);return t!==void 0?t:(u={value:e,source:u,stack:Cl(u)},od.set(e,u),u)}return{value:e,source:u,stack:Cl(u)}}var Sa=[],Aa=0,Vc=null,Di=0,_t=[],Et=0,Qn=null,Xt=1,Qt="";function gn(e,u){Sa[Aa++]=Di,Sa[Aa++]=Vc,Vc=e,Di=u}function fd(e,u,t){_t[Et++]=Xt,_t[Et++]=Qt,_t[Et++]=Qn,Qn=e;var l=Xt;e=Qt;var i=32-bu(l)-1;l&=~(1<<i),t+=1;var c=32-bu(u)+i;if(30<c){var d=i-i%5;c=(l&(1<<d)-1).toString(32),l>>=d,i-=d,Xt=1<<32-bu(u)+i|t<<i|l,Qt=c+e}else Xt=1<<c|t<<i|l,Qt=e}function Zc(e){e.return!==null&&(gn(e,1),fd(e,1,0))}function Hs(e){for(;e===Vc;)Vc=Sa[--Aa],Sa[Aa]=null,Di=Sa[--Aa],Sa[Aa]=null;for(;e===Qn;)Qn=_t[--Et],_t[Et]=null,Qt=_t[--Et],_t[Et]=null,Xt=_t[--Et],_t[Et]=null}function dd(e,u){_t[Et++]=Xt,_t[Et++]=Qt,_t[Et++]=Qn,Xt=u.id,Qt=u.overflow,Qn=e}var gu=null,Qe=null,Ce=!1,In=null,St=!1,qs=Error(r(519));function Kn(e){var u=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Ci(vt(u,e)),qs}function hd(e){var u=e.stateNode,t=e.type,l=e.memoizedProps;switch(u[hu]=e,u[Uu]=l,t){case"dialog":ke("cancel",u),ke("close",u);break;case"iframe":case"object":case"embed":ke("load",u);break;case"video":case"audio":for(t=0;t<Ki.length;t++)ke(Ki[t],u);break;case"source":ke("error",u);break;case"img":case"image":case"link":ke("error",u),ke("load",u);break;case"details":ke("toggle",u);break;case"input":ke("invalid",u),jc(u,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0);break;case"select":ke("invalid",u);break;case"textarea":ke("invalid",u),ba(u,l.value,l.defaultValue,l.children)}t=l.children,typeof t!="string"&&typeof t!="number"&&typeof t!="bigint"||u.textContent===""+t||l.suppressHydrationWarning===!0||Rh(u.textContent,t)?(l.popover!=null&&(ke("beforetoggle",u),ke("toggle",u)),l.onScroll!=null&&ke("scroll",u),l.onScrollEnd!=null&&ke("scrollend",u),l.onClick!=null&&(u.onclick=Be),u=!0):u=!1,u||Kn(e,!0)}function Xc(e){for(gu=e.return;gu;)switch(gu.tag){case 5:case 31:case 13:St=!1;return;case 27:case 3:St=!0;return;default:gu=gu.return}}function Ta(e){if(e!==gu)return!1;if(!Ce)return Xc(e),Ce=!0,!1;var u=e.tag,t;if((t=u!==3&&u!==27)&&((t=u===5)&&(t=e.type,t=!(t!=="form"&&t!=="button")||y0(e.type,e.memoizedProps)),t=!t),t&&Qe&&Kn(e),Xc(e),u===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));Qe=Ph(e)}else if(u===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));Qe=Ph(e)}else u===27?(u=Qe,fl(e.type)?(e=C0,C0=null,Qe=e):Qe=u):Qe=gu?Tt(e.stateNode.nextSibling):null;return!0}function Ul(){Qe=gu=null,Ce=!1}function Gs(){var e=In;return e!==null&&(ut===null?ut=e:ut.push.apply(ut,e),In=null),e}function Ci(e){In===null?In=[e]:In.push(e)}var Ys=Ae(null),Fl=null,yn=null;function $n(e,u,t){he(Ys,u._currentValue),u._currentValue=t}function xn(e){e._currentValue=Ys.current,lu(Ys)}function Qc(e,u,t){for(;e!==null;){var l=e.alternate;if((e.childLanes&u)!==u?(e.childLanes|=u,l!==null&&(l.childLanes|=u)):l!==null&&(l.childLanes&u)!==u&&(l.childLanes|=u),e===t)break;e=e.return}}function Vs(e,u,t,l){var i=e.child;for(i!==null&&(i.return=e);i!==null;){var c=i.dependencies;if(c!==null){var d=i.child;c=c.firstContext;e:for(;c!==null;){var g=c;c=i;for(var E=0;E<u.length;E++)if(g.context===u[E]){c.lanes|=t,g=c.alternate,g!==null&&(g.lanes|=t),Qc(c.return,t,e),l||(d=null);break e}c=g.next}}else if(i.tag===18){if(d=i.return,d===null)throw Error(r(341));d.lanes|=t,c=d.alternate,c!==null&&(c.lanes|=t),Qc(d,t,e),d=null}else i.tag===13&&i.memoizedState!==null&&i.memoizedState.dehydrated===null?(i.lanes|=t,d=i.alternate,d!==null&&(d.lanes|=t),Qc(i.return,t,e),d=i.child,d=d!==null?d.sibling:null):d=i.child;if(d!==null)d.return=i;else for(d=i;d!==null;){if(d===e){d=null;break}if(i=d.sibling,i!==null){i.return=d.return,d=i;break}d=d.return}i=d}}function Bl(e,u,t,l){e=null;for(var i=u,c=!1;i!==null;){if(!c){if((i.flags&524288)!==0)c=!0;else if((i.flags&262144)!==0)break}if(i.tag===10){var d=i.alternate;if(d===null)throw Error(r(387));if(d=d.memoizedProps,d!==null){var g=i.type;ct(i.pendingProps.value,d.value)||(e!==null?e.push(g):e=[g])}}else if(i===El.current){if(d=i.alternate,d===null)throw Error(r(387));d.memoizedState.memoizedState!==i.memoizedState.memoizedState&&(e!==null?e.push($a):e=[$a])}i=i.return}return e!==null&&Vs(u,e,t,l),u.flags|=262144,e!==null}function Ic(e){for(e=e.firstContext;e!==null;){if(!ct(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Hl(e){Fl=e,yn=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Tu(e){return md(Fl,e)}function Kc(e,u){return Fl===null&&Hl(e),md(e,u)}function md(e,u){var t=u._currentValue;if(u={context:u,memoizedValue:t,next:null},yn===null){if(e===null)throw Error(r(308));yn=u,e.dependencies={lanes:0,firstContext:u},e.flags|=524288}else yn=yn.next=u;return t}var o3=typeof AbortController<"u"?AbortController:function(){var e=[],u=this.signal={aborted:!1,addEventListener:function(t,l){e.push(l)}};this.abort=function(){u.aborted=!0,e.forEach(function(t){return t()})}},f3=n.unstable_scheduleCallback,d3=n.unstable_NormalPriority,ru={$$typeof:ye,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Zs(){return{controller:new o3,data:new Map,refCount:0}}function Ni(e){e.refCount--,e.refCount===0&&f3(d3,function(){e.controller.abort()})}function pd(e,u){if((e.pendingLanes&4194048)!==0){var t=e.transitionTypes;for(t===null&&(t=e.transitionTypes=[]),e=0;e<u.length;e++){var l=u[e];t.indexOf(l)===-1&&t.push(l)}}}var ki=null;function h3(e){var u=e.transitionTypes;return e.transitionTypes=null,u}var Oi=null,Xs=0,ql=0,Da=null;function m3(e,u){if(Oi===null){var t=Oi=[];Xs=0,ql=s0(),Da={status:"pending",value:void 0,then:function(l){t.push(l)}}}return Xs++,u.then(bd,bd),u}function bd(){if(--Xs===0&&(ki=null,Oi!==null)){Da!==null&&(Da.status="fulfilled");var e=Oi;Oi=null,ql=0,Da=null;for(var u=0;u<e.length;u++)(0,e[u])()}}function p3(e,u){var t=[],l={status:"pending",value:null,reason:null,then:function(i){t.push(i)}};return e.then(function(){l.status="fulfilled",l.value=u;for(var i=0;i<t.length;i++)(0,t[i])(u)},function(i){for(l.status="rejected",l.reason=i,i=0;i<t.length;i++)(0,t[i])(void 0)}),l}var gd=ie.S;ie.S=function(e,u){if(sh=wu(),typeof u=="object"&&u!==null&&typeof u.then=="function"&&m3(e,u),ki!==null)for(var t=Va;t!==null;)pd(t,ki),t=t.next;if(t=e.types,t!==null){for(var l=Va;l!==null;)pd(l,t),l=l.next;if(ql!==0){l=ki,l===null&&(l=ki=[]);for(var i=0;i<t.length;i++){var c=t[i];l.indexOf(c)===-1&&l.push(c)}}}gd!==null&&gd(e,u)};var Gl=Ae(null);function Qs(){var e=Gl.current;return e!==null?e:Xe.pooledCache}function $c(e,u){u===null?he(Gl,Gl.current):he(Gl,u.pool)}function yd(){var e=Qs();return e===null?null:{parent:ru._currentValue,pool:e}}var Ca=Error(r(460)),Is=Error(r(474)),Jc=Error(r(542)),Wc={then:function(){}};function xd(e){return e=e.status,e==="fulfilled"||e==="rejected"}function vd(e,u,t){switch(t=e[t],t===void 0?e.push(u):t!==u&&(u.then(Be,Be),u=t),u.status){case"fulfilled":return u.value;case"rejected":throw e=u.reason,Ed(e),e===void 0&&!("reason"in u)?Error(r(600)):e;default:if(typeof u.status=="string")u.then(Be,Be);else{if(e=Xe,e!==null&&100<e.shellSuspendCounter)throw Error(r(482));e=u,e.status="pending",e.then(function(l){if(u.status==="pending"){var i=u;i.status="fulfilled",i.value=l}},function(l){if(u.status==="pending"){var i=u;i.status="rejected",i.reason=l}})}switch(u.status){case"fulfilled":return u.value;case"rejected":throw e=u.reason,Ed(e),e}throw Vl=u,Ca}}function Yl(e){try{var u=e._init;return u(e._payload)}catch(t){throw t!==null&&typeof t=="object"&&typeof t.then=="function"?(Vl=t,Ca):t}}var Vl=null;function _d(){if(Vl===null)throw Error(r(459));var e=Vl;return Vl=null,e}function Ed(e){if(e===Ca||e===Jc)throw Error(r(483))}var Na=null,zi=0;function Pc(e){var u=zi;return zi+=1,Na===null&&(Na=[]),vd(Na,e,u)}function Jn(e,u){u=u.props.ref,e.ref=u!==void 0?u:null}function er(e,u){throw u.$$typeof===ce?Error(r(525)):(e=Object.prototype.toString.call(u),Error(r(31,e==="[object Object]"?"object with keys {"+Object.keys(u).join(", ")+"}":e)))}function Sd(e){function u(k,S){if(e){var z=k.deletions;z===null?(k.deletions=[S],k.flags|=16):z.push(S)}}function t(k,S){if(!e)return null;for(;S!==null;)u(k,S),S=S.sibling;return null}function l(k){for(var S=new Map;k!==null;)k.key===null?S.set(k.index,k):S.set(k.key,k),k=k.sibling;return S}function i(k,S){return k=bn(k,S),k.index=0,k.sibling=null,k}function c(k,S,z){return k.index=z,e?(z=k.alternate,z!==null?(z=z.index,z<S?(k.flags|=2,S):z):(k.flags|=134217730,S)):(k.flags|=1048576,S)}function d(k){return e&&k.alternate===null&&(k.flags|=134217730),k}function g(k,S,z,w){return S===null||S.tag!==6?(S=Fs(z,k.mode,w),S.return=k,S):(S=i(S,z),S.return=k,S)}function E(k,S,z,w){var te=z.type;return te===ge?(k=R(k,S,z.props.children,w,z.key),Jn(k,z),k):S!==null&&(S.elementType===te||typeof te=="object"&&te!==null&&te.$$typeof===_e&&Yl(te)===S.type)?(S=i(S,z.props),Jn(S,z),S.return=k,S):(S=Yc(z.type,z.key,z.props,null,k.mode,w),Jn(S,z),S.return=k,S)}function O(k,S,z,w){return S===null||S.tag!==4||S.stateNode.containerInfo!==z.containerInfo||S.stateNode.implementation!==z.implementation?(S=Bs(z,k.mode,w),S.return=k,S):(S=i(S,z.children||[]),S.return=k,S)}function R(k,S,z,w,te){return S===null||S.tag!==7?(S=Ll(z,k.mode,w,te),S.return=k,S):(S=i(S,z),S.return=k,S)}function U(k,S,z){if(typeof S=="string"&&S!==""||typeof S=="number"||typeof S=="bigint")return S=Fs(""+S,k.mode,z),S.return=k,S;if(typeof S=="object"&&S!==null){switch(S.$$typeof){case $e:return z=Yc(S.type,S.key,S.props,null,k.mode,z),Jn(z,S),z.return=k,z;case de:return S=Bs(S,k.mode,z),S.return=k,S;case _e:return S=Yl(S),U(k,S,z)}if(Me(S)||ne(S))return S=Ll(S,k.mode,z,null),S.return=k,S;if(typeof S.then=="function")return U(k,Pc(S),z);if(S.$$typeof===ye)return U(k,Kc(k,S),z);er(k,S)}return null}function N(k,S,z,w){var te=S!==null?S.key:null;if(typeof z=="string"&&z!==""||typeof z=="number"||typeof z=="bigint")return te!==null?null:g(k,S,""+z,w);if(typeof z=="object"&&z!==null){switch(z.$$typeof){case $e:return z.key===te?E(k,S,z,w):null;case de:return z.key===te?O(k,S,z,w):null;case _e:return z=Yl(z),N(k,S,z,w)}if(Me(z)||ne(z))return te!==null?null:R(k,S,z,w,null);if(typeof z.then=="function")return N(k,S,Pc(z),w);if(z.$$typeof===ye)return N(k,S,Kc(k,z),w);er(k,z)}return null}function j(k,S,z,w,te){if(typeof w=="string"&&w!==""||typeof w=="number"||typeof w=="bigint")return k=k.get(z)||null,g(S,k,""+w,te);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case $e:return k=k.get(w.key===null?z:w.key)||null,E(S,k,w,te);case de:return k=k.get(w.key===null?z:w.key)||null,O(S,k,w,te);case _e:return w=Yl(w),j(k,S,z,w,te)}if(Me(w)||ne(w))return k=k.get(z)||null,R(S,k,w,te,null);if(typeof w.then=="function")return j(k,S,z,Pc(w),te);if(w.$$typeof===ye)return j(k,S,z,Kc(S,w),te);er(S,w)}return null}function $(k,S,z,w){for(var te=null,je=null,oe=S,be=S=0,fu=null;oe!==null&&be<z.length;be++){oe.index>be?(fu=oe,oe=null):fu=oe.sibling;var Re=N(k,oe,z[be],w);if(Re===null){oe===null&&(oe=fu);break}e&&oe&&Re.alternate===null&&u(k,oe),S=c(Re,S,be),je===null?te=Re:je.sibling=Re,je=Re,oe=fu}if(be===z.length)return t(k,oe),Ce&&gn(k,be),te;if(oe===null){for(;be<z.length;be++)oe=U(k,z[be],w),oe!==null&&(S=c(oe,S,be),je===null?te=oe:je.sibling=oe,je=oe);return Ce&&gn(k,be),te}for(oe=l(oe);be<z.length;be++)fu=j(oe,k,be,z[be],w),fu!==null&&(e&&(Re=fu.alternate,Re!==null&&oe.delete(Re.key===null?be:Re.key)),S=c(fu,S,be),je===null?te=fu:je.sibling=fu,je=fu);return e&&oe.forEach(function(bl){return u(k,bl)}),Ce&&gn(k,be),te}function le(k,S,z,w){if(z==null)throw Error(r(151));for(var te=null,je=null,oe=S,be=S=0,fu=null,Re=z.next();oe!==null&&!Re.done;be++,Re=z.next()){oe.index>be?(fu=oe,oe=null):fu=oe.sibling;var bl=N(k,oe,Re.value,w);if(bl===null){oe===null&&(oe=fu);break}e&&oe&&bl.alternate===null&&u(k,oe),S=c(bl,S,be),je===null?te=bl:je.sibling=bl,je=bl,oe=fu}if(Re.done)return t(k,oe),Ce&&gn(k,be),te;if(oe===null){for(;!Re.done;be++,Re=z.next())Re=U(k,Re.value,w),Re!==null&&(S=c(Re,S,be),je===null?te=Re:je.sibling=Re,je=Re);return Ce&&gn(k,be),te}for(oe=l(oe);!Re.done;be++,Re=z.next())Re=j(oe,k,be,Re.value,w),Re!==null&&(e&&(fu=Re.alternate,fu!==null&&oe.delete(fu.key===null?be:fu.key)),S=c(Re,S,be),je===null?te=Re:je.sibling=Re,je=Re);return e&&oe.forEach(function(Kb){return u(k,Kb)}),Ce&&gn(k,be),te}function Se(k,S,z,w){if(typeof z=="object"&&z!==null&&z.type===ge&&z.key===null&&z.props.ref===void 0&&(z=z.props.children),typeof z=="object"&&z!==null){switch(z.$$typeof){case $e:e:{for(var te=z.key;S!==null;){if(S.key===te){if(te=z.type,te===ge){if(S.tag===7){t(k,S.sibling),w=i(S,z.props.children),Jn(w,z),w.return=k,k=w;break e}}else if(S.elementType===te||typeof te=="object"&&te!==null&&te.$$typeof===_e&&Yl(te)===S.type){t(k,S.sibling),w=i(S,z.props),Jn(w,z),w.return=k,k=w;break e}t(k,S);break}else u(k,S);S=S.sibling}z.type===ge?(w=Ll(z.props.children,k.mode,w,z.key),Jn(w,z),w.return=k,k=w):(w=Yc(z.type,z.key,z.props,null,k.mode,w),Jn(w,z),w.return=k,k=w)}return d(k);case de:e:{for(te=z.key;S!==null;){if(S.key===te)if(S.tag===4&&S.stateNode.containerInfo===z.containerInfo&&S.stateNode.implementation===z.implementation){t(k,S.sibling),w=i(S,z.children||[]),w.return=k,k=w;break e}else{t(k,S);break}else u(k,S);S=S.sibling}w=Bs(z,k.mode,w),w.return=k,k=w}return d(k);case _e:return z=Yl(z),Se(k,S,z,w)}if(Me(z))return $(k,S,z,w);if(ne(z)){if(te=ne(z),typeof te!="function")throw Error(r(150));return z=te.call(z),le(k,S,z,w)}if(typeof z.then=="function")return Se(k,S,Pc(z),w);if(z.$$typeof===ye)return Se(k,S,Kc(k,z),w);er(k,z)}return typeof z=="string"&&z!==""||typeof z=="number"||typeof z=="bigint"?(z=""+z,S!==null&&S.tag===6?(t(k,S.sibling),w=i(S,z),w.return=k,k=w):(t(k,S),w=Fs(z,k.mode,w),w.return=k,k=w),d(k)):t(k,S)}return function(k,S,z,w){try{zi=0;var te=Se(k,S,z,w);return Na=null,te}catch(oe){if(oe===Ca||oe===Jc)throw oe;var je=Wu(29,oe,null,k.mode);return je.lanes=w,je.return=k,je}}}var Zl=Sd(!0),Ad=Sd(!1),Wn=!1;function Ks(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function $s(e,u){e=e.updateQueue,u.updateQueue===e&&(u.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,u,t){var l=e.updateQueue;if(l===null)return null;if(l=l.shared,(Fe&2)!==0){var i=l.pending;return i===null?u.next=u:(u.next=i.next,i.next=u),l.pending=u,u=Gc(e),cd(e,null,t),u}return qc(e,l,u,t),Gc(e)}function ji(e,u,t){if(u=u.updateQueue,u!==null&&(u=u.shared,(t&4194048)!==0)){var l=u.lanes;l&=e.pendingLanes,t|=l,u.lanes=t,Nc(e,t)}}function Js(e,u){var t=e.updateQueue,l=e.alternate;if(l!==null&&(l=l.updateQueue,t===l)){var i=null,c=null;if(t=t.firstBaseUpdate,t!==null){do{var d={lane:t.lane,tag:t.tag,payload:t.payload,callback:null,next:null};c===null?i=c=d:c=c.next=d,t=t.next}while(t!==null);c===null?i=c=u:c=c.next=u}else i=c=u;t={baseState:l.baseState,firstBaseUpdate:i,lastBaseUpdate:c,shared:l.shared,callbacks:l.callbacks},e.updateQueue=t;return}e=t.lastBaseUpdate,e===null?t.firstBaseUpdate=u:e.next=u,t.lastBaseUpdate=u}var Ws=!1;function Mi(){if(Ws){var e=Da;if(e!==null)throw e}}function Ri(e,u,t,l){Ws=!1;var i=e.updateQueue;Wn=!1;var c=i.firstBaseUpdate,d=i.lastBaseUpdate,g=i.shared.pending;if(g!==null){i.shared.pending=null;var E=g,O=E.next;E.next=null,d===null?c=O:d.next=O,d=E;var R=e.alternate;R!==null&&(R=R.updateQueue,g=R.lastBaseUpdate,g!==d&&(g===null?R.firstBaseUpdate=O:g.next=O,R.lastBaseUpdate=E))}if(c!==null){var U=i.baseState;d=0,R=O=E=null,g=c;do{var N=g.lane&-536870913,j=N!==g.lane;if(j?(ze&N)===N:(l&N)===N){N!==0&&N===ql&&(Ws=!0),R!==null&&(R=R.next={lane:0,tag:g.tag,payload:g.payload,callback:null,next:null});e:{var $=e,le=g;N=u;var Se=t;switch(le.tag){case 1:if($=le.payload,typeof $=="function"){U=$.call(Se,U,N);break e}U=$;break e;case 3:$.flags=$.flags&-65537|128;case 0:if($=le.payload,N=typeof $=="function"?$.call(Se,U,N):$,N==null)break e;U=K({},U,N);break e;case 2:Wn=!0}}N=g.callback,N!==null&&(e.flags|=64,j&&(e.flags|=8192),j=i.callbacks,j===null?i.callbacks=[N]:j.push(N))}else j={lane:N,tag:g.tag,payload:g.payload,callback:g.callback,next:null},R===null?(O=R=j,E=U):R=R.next=j,d|=N;if(g=g.next,g===null){if(g=i.shared.pending,g===null)break;j=g,g=j.next,j.next=null,i.lastBaseUpdate=j,i.shared.pending=null}}while(!0);R===null&&(E=U),i.baseState=E,i.firstBaseUpdate=O,i.lastBaseUpdate=R,c===null&&(i.shared.lanes=0),cl|=d,e.lanes=d,e.memoizedState=U}}function Td(e,u){if(typeof e!="function")throw Error(r(191,e));e.call(u)}function Dd(e,u){var t=e.callbacks;if(t!==null)for(e.callbacks=null,e=0;e<t.length;e++)Td(t[e],u)}var ul=Ae(null),ur=Ae(0);function Cd(e,u){e=An,he(ur,e),he(ul,u),An=e|u.baseLanes}function Ps(){he(ur,An),he(ul,ul.current)}function eo(){An=ur.current,lu(ul),lu(ur)}var Du=Ae(null),Bu=null;function tl(e){var u=e.alternate;he(Cu,Cu.current&1),he(Du,e),Bu===null&&(u===null||ul.current!==null||u.memoizedState!==null)&&(Bu=e)}function uo(e){he(Cu,Cu.current),he(Du,e),Bu===null&&(Bu=e)}function Nd(e){e.tag===22?(he(Cu,Cu.current),he(Du,e),Bu===null&&(Bu=e)):nl()}function nl(){he(Cu,Cu.current),he(Du,Du.current)}function rt(e){lu(Du),Bu===e&&(Bu=null),lu(Cu)}var Cu=Ae(0);function wi(e,u){he(Du,Du.current),he(Cu,u)}function to(e){lu(Cu),lu(Du),Bu===e&&(Bu=null)}function tr(e){for(var u=e;u!==null;){if(u.tag===13){var t=u.memoizedState;if(t!==null&&(t=t.dehydrated,t===null||T0(t)||D0(t)))return u}else if(u.tag===19&&u.memoizedProps.revealOrder!=="independent"){if((u.flags&128)!==0)return u}else if(u.child!==null){u.child.return=u,u=u.child;continue}if(u===e)break;for(;u.sibling===null;){if(u.return===null||u.return===e)return null;u=u.return}u.sibling.return=u.return,u=u.sibling}return null}var vn=0,Ee=null,Ze=null,su=null,nr=!1,ka=!1,Xl=!1,lr=0,Li=0,Oa=null,b3=0;function tu(){throw Error(r(321))}function no(e,u){if(u===null)return!1;for(var t=0;t<u.length&&t<e.length;t++)if(!ct(e[t],u[t]))return!1;return!0}function lo(e,u,t,l,i,c){return vn=c,Ee=u,u.memoizedState=null,u.updateQueue=null,u.lanes=0,ie.H=e===null||e.memoizedState===null?f1:d1,Xl=!1,c=t(l,i),Xl=!1,ka&&(c=Od(u,t,l,i)),kd(e),c}function kd(e){ie.H=fr;var u=Ze!==null&&Ze.next!==null;if(vn=0,su=Ze=Ee=null,nr=!1,Li=0,Oa=null,u)throw Error(r(300));e===null||ou||(e=e.dependencies,e!==null&&Ic(e)&&(ou=!0))}function Od(e,u,t,l){Ee=e;var i=0;do{if(ka&&(Oa=null),Li=0,ka=!1,25<=i)throw Error(r(301));if(i+=1,su=Ze=null,e.updateQueue!=null){var c=e.updateQueue;c.lastEffect=null,c.events=null,c.stores=null,c.memoCache!=null&&(c.memoCache.index=0)}ie.H=A3,c=u(t,l)}while(ka);return c}function g3(){var e=ie.H,u=e.useState()[0];return u=typeof u.then=="function"?Ui(u):u,e=e.useState()[0],(Ze!==null?Ze.memoizedState:null)!==e&&(Ee.flags|=1024),u}function ao(){var e=lr!==0;return lr=0,e}function io(e,u,t){u.updateQueue=e.updateQueue,u.flags&=-2053,e.lanes&=~t}function co(e){if(nr){for(e=e.memoizedState;e!==null;){var u=e.queue;u!==null&&(u.pending=null),e=e.next}nr=!1}vn=0,su=Ze=Ee=null,ka=!1,Li=lr=0,Oa=null}function Vu(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return su===null?Ee.memoizedState=su=e:su=su.next=e,su}function iu(){if(Ze===null){var e=Ee.alternate;e=e!==null?e.memoizedState:null}else e=Ze.next;var u=su===null?Ee.memoizedState:su.next;if(u!==null)su=u,Ze=e;else{if(e===null)throw Ee.alternate===null?Error(r(467)):Error(r(310));Ze=e,e={memoizedState:Ze.memoizedState,baseState:Ze.baseState,baseQueue:Ze.baseQueue,queue:Ze.queue,next:null},su===null?Ee.memoizedState=su=e:su=su.next=e}return su}function ar(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ui(e){var u=Li;return Li+=1,Oa===null&&(Oa=[]),e=vd(Oa,e,u),u=Ee,(su===null?u.memoizedState:su.next)===null&&(u=u.alternate,ie.H=u===null||u.memoizedState===null?f1:d1),e}function ir(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Ui(e);if(e.$$typeof===G)return;if(e.$$typeof===ye)return Tu(e)}throw Error(r(438,String(e)))}function ro(e){var u=null,t=Ee.updateQueue;if(t!==null&&(u=t.memoCache),u==null){var l=Ee.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(u={data:l.data.map(function(i){return i.slice()}),index:0})))}if(u==null&&(u={data:[],index:0}),t===null&&(t=ar(),Ee.updateQueue=t),t.memoCache=u,t=u.data[u.index],t===void 0)for(t=u.data[u.index]=Array(e),l=0;l<e;l++)t[l]=kt;return u.index++,t}function _n(e,u){return typeof u=="function"?u(e):u}function cr(e){var u=iu();return so(u,Ze,e)}function so(e,u,t){var l=e.queue;if(l===null)throw Error(r(311));l.lastRenderedReducer=t;var i=e.baseQueue,c=l.pending;if(c!==null){if(i!==null){var d=i.next;i.next=c.next,c.next=d}u.baseQueue=i=c,l.pending=null}if(c=e.baseState,i===null)e.memoizedState=c;else{u=i.next;var g=d=null,E=null,O=u,R=!1;do{var U=O.lane&-536870913;if(U!==O.lane?(ze&U)===U:(vn&U)===U){var N=O.revertLane;if(N===0)E!==null&&(E=E.next={lane:0,revertLane:0,gesture:null,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null}),U===ql&&(R=!0);else if((vn&N)===N){O=O.next,N===ql&&(R=!0);continue}else U={lane:0,revertLane:O.revertLane,gesture:null,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null},E===null?(g=E=U,d=c):E=E.next=U,Ee.lanes|=N,cl|=N;U=O.action,Xl&&t(c,U),c=O.hasEagerState?O.eagerState:t(c,U)}else N={lane:U,revertLane:O.revertLane,gesture:O.gesture,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null},E===null?(g=E=N,d=c):E=E.next=N,Ee.lanes|=U,cl|=U;O=O.next}while(O!==null&&O!==u);if(E===null?d=c:E.next=g,!ct(c,e.memoizedState)&&(ou=!0,R&&(t=Da,t!==null)))throw t;e.memoizedState=c,e.baseState=d,e.baseQueue=E,l.lastRenderedState=c}return i===null&&(l.lanes=0),[e.memoizedState,l.dispatch]}function oo(e){var u=iu(),t=u.queue;if(t===null)throw Error(r(311));t.lastRenderedReducer=e;var l=t.dispatch,i=t.pending,c=u.memoizedState;if(i!==null){t.pending=null;var d=i=i.next;do c=e(c,d.action),d=d.next;while(d!==i);ct(c,u.memoizedState)||(ou=!0),u.memoizedState=c,u.baseQueue===null&&(u.baseState=c),t.lastRenderedState=c}return[c,l]}function zd(e,u,t){var l=Ee,i=iu(),c=Ce;if(c){if(t===void 0)throw Error(r(407));t=t()}else t=u();var d=!ct((Ze||i).memoizedState,t);if(d&&(i.memoizedState=t,ou=!0),i=i.queue,mo(Rd.bind(null,l,i,e),[e]),e=i.getSnapshot!==u||d||su!==null&&(su.memoizedState.tag&1)!==0,za(e?9:8,{destroy:void 0},Md.bind(null,l,i,t,u),null),e){if(l.flags|=2048,Xe===null)throw Error(r(349));c||(vn&127)!==0||jd(l,u,t)}return t}function jd(e,u,t){e.flags|=16384,e={getSnapshot:u,value:t},u=Ee.updateQueue,u===null?(u=ar(),Ee.updateQueue=u,u.stores=[e]):(t=u.stores,t===null?u.stores=[e]:t.push(e))}function Md(e,u,t,l){u.value=t,u.getSnapshot=l,wd(u)&&Ld(e)}function Rd(e,u,t){return t(function(){wd(u)&&Ld(e)})}function wd(e){var u=e.getSnapshot;e=e.value;try{var t=u();return!ct(e,t)}catch{return!0}}function Ld(e){var u=wl(e,2);u!==null&&tt(u,e,2)}function fo(e){var u=Vu();if(typeof e=="function"){var t=e;if(e=t(),Xl){zt(!0);try{t()}finally{zt(!1)}}}return u.memoizedState=u.baseState=e,u.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:_n,lastRenderedState:e},u}function Ud(e,u,t,l){return e.baseState=t,so(e,Ze,typeof l=="function"?l:_n)}function y3(e,u,t,l,i){if(or(e))throw Error(r(485));if(e=u.action,e!==null){var c={payload:i,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(d){c.listeners.push(d)}};ie.T!==null?t(!0):c.isTransition=!1,l(c),t=u.pending,t===null?(c.next=u.pending=c,Fd(u,c)):(c.next=t.next,u.pending=t.next=c)}}function Fd(e,u){var t=u.action,l=u.payload,i=e.state;if(u.isTransition){var c=ie.T,d={};d.types=c!==null?c.types:null,ie.T=d;try{var g=t(i,l),E=ie.S;E!==null&&E(d,g),Bd(e,u,g)}catch(O){ho(e,u,O)}finally{c!==null&&d.types!==null&&(c.types=d.types),ie.T=c}}else try{c=t(i,l),Bd(e,u,c)}catch(O){ho(e,u,O)}}function Bd(e,u,t){t!==null&&typeof t=="object"&&typeof t.then=="function"?t.then(function(l){Hd(e,u,l)},function(l){return ho(e,u,l)}):Hd(e,u,t)}function Hd(e,u,t){u.status="fulfilled",u.value=t,qd(u),e.state=t,u=e.pending,u!==null&&(t=u.next,t===u?e.pending=null:(t=t.next,u.next=t,Fd(e,t)))}function ho(e,u,t){var l=e.pending;if(e.pending=null,l!==null){l=l.next;do u.status="rejected",u.reason=t,qd(u),u=u.next;while(u!==l)}e.action=null}function qd(e){e=e.listeners;for(var u=0;u<e.length;u++)(0,e[u])()}function Gd(e,u){return u}function Yd(e,u){if(Ce){var t=Xe.formState;if(t!==null){e:{var l=Ee;if(Ce){if(Qe){u:{for(var i=Qe,c=St;i.nodeType!==8;){if(!c){i=null;break u}if(i=Tt(i.nextSibling),i===null){i=null;break u}}c=i.data,i=c==="F!"||c==="F"?i:null}if(i){Qe=Tt(i.nextSibling),l=i.data==="F!";break e}}Kn(l)}l=!1}l&&(u=t[0])}}return t=Vu(),t.memoizedState=t.baseState=u,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Gd,lastRenderedState:u},t.queue=l,t=r1.bind(null,Ee,l),l.dispatch=t,l=fo(!1),c=xo.bind(null,Ee,!1,l.queue),l=Vu(),i={state:u,dispatch:null,action:e,pending:null},l.queue=i,t=y3.bind(null,Ee,i,c,t),i.dispatch=t,l.memoizedState=e,[u,t,!1]}function Vd(e){var u=iu();return Zd(u,Ze,e)}function Zd(e,u,t){if(u=so(e,u,Gd)[0],e=cr(_n)[0],typeof u=="object"&&u!==null&&typeof u.then=="function")try{var l=Ui(u)}catch(d){throw d===Ca?Jc:d}else l=u;u=iu();var i=u.queue,c=i.dispatch;return t!==u.memoizedState&&(Ee.flags|=2048,za(9,{destroy:void 0},x3.bind(null,i,t),null)),[l,c,e]}function x3(e,u){e.action=u}function Xd(e){var u=iu(),t=Ze;if(t!==null)return Zd(u,t,e);iu(),u=u.memoizedState,t=iu();var l=t.queue.dispatch;return t.memoizedState=e,[u,l,!1]}function za(e,u,t,l){return e={tag:e,create:t,deps:l,inst:u,next:null},u=Ee.updateQueue,u===null&&(u=ar(),Ee.updateQueue=u),t=u.lastEffect,t===null?u.lastEffect=e.next=e:(l=t.next,t.next=e,e.next=l,u.lastEffect=e),e}function Qd(){return iu().memoizedState}function rr(e,u,t,l){var i=Vu();Ee.flags|=e,i.memoizedState=za(1|u,{destroy:void 0},t,l===void 0?null:l)}function sr(e,u,t,l){var i=iu();l=l===void 0?null:l;var c=i.memoizedState.inst;Ze!==null&&l!==null&&no(l,Ze.memoizedState.deps)?i.memoizedState=za(u,c,t,l):(Ee.flags|=e,i.memoizedState=za(1|u,c,t,l))}function Id(e,u){rr(8390656,8,e,u)}function mo(e,u){sr(2048,8,e,u)}function v3(e){Ee.flags|=4;var u=Ee.updateQueue;if(u===null)u=ar(),Ee.updateQueue=u,u.events=[e];else{var t=u.events;t===null?u.events=[e]:t.push(e)}}function Kd(e){var u=iu().memoizedState;return v3({ref:u,nextImpl:e}),function(){if((Fe&2)!==0)throw Error(r(440));return u.impl.apply(void 0,arguments)}}function $d(e,u){return sr(4,2,e,u)}function Jd(e,u){return sr(4,4,e,u)}function Wd(e,u){if(typeof u=="function"){e=e();var t=u(e);return function(){typeof t=="function"?t():u(null)}}if(u!=null)return e=e(),u.current=e,function(){u.current=null}}function Pd(e,u,t){t=t!=null?t.concat([e]):null,sr(4,4,Wd.bind(null,u,e),t)}function po(){}function e1(e,u){var t=iu();u=u===void 0?null:u;var l=t.memoizedState;return u!==null&&no(u,l[1])?l[0]:(t.memoizedState=[e,u],e)}function u1(e,u){var t=iu();u=u===void 0?null:u;var l=t.memoizedState;if(u!==null&&no(u,l[1]))return l[0];if(l=e(),Xl){zt(!0);try{e()}finally{zt(!1)}}return t.memoizedState=[l,u],l}function bo(e,u,t){return t===void 0||(vn&1073741824)!==0&&(ze&261930)===0?e.memoizedState=u:(e.memoizedState=t,e=fh(),Ee.lanes|=e,cl|=e,t)}function t1(e,u,t,l){return ct(t,u)?t:ul.current!==null?(e=bo(e,t,l),ct(e,u)||(ou=!0),e):(vn&106)===0||(vn&1073741824)!==0&&(ze&261930)===0?(ou=!0,e.memoizedState=t):(e=fh(),Ee.lanes|=e,cl|=e,u)}function n1(e,u,t,l,i){var c=me.p;me.p=c!==0&&8>c?c:8;var d=ie.T,g={};g.types=d!==null?d.types:null,ie.T=g,xo(e,!1,u,t);try{var E=i(),O=ie.S;if(O!==null&&O(g,E),E!==null&&typeof E=="object"&&typeof E.then=="function"){var R=p3(E,l);Fi(e,u,R,dt(e))}else Fi(e,u,l,dt(e))}catch(U){Fi(e,u,{then:function(){},status:"rejected",reason:U},dt())}finally{me.p=c,d!==null&&g.types!==null&&(d.types=g.types),ie.T=d}}function _3(){}function go(e,u,t,l){if(e.tag!==5)throw Error(r(476));var i=l1(e).queue;n1(e,i,u,W,t===null?_3:function(){return a1(e),t(l)})}function l1(e){var u=e.memoizedState;if(u!==null)return u;u={memoizedState:W,baseState:W,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:_n,lastRenderedState:W},next:null};var t={};return u.next={memoizedState:t,baseState:t,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:_n,lastRenderedState:t},next:null},e.memoizedState=u,e=e.alternate,e!==null&&(e.memoizedState=u),u}function a1(e){var u=l1(e);u.next===null&&(u=e.alternate.memoizedState),Fi(e,u.next.queue,{},dt())}function yo(){return Tu($a)}function i1(){return iu().memoizedState}function c1(){return iu().memoizedState}function E3(e){for(var u=e.return;u!==null;){switch(u.tag){case 24:case 3:var t=dt();e=Pn(t);var l=el(u,e,t);l!==null&&(tt(l,u,t),ji(l,u,t)),u={cache:Zs()},e.payload=u;return}u=u.return}}function S3(e,u,t){var l=dt();t={lane:l,revertLane:0,gesture:null,action:t,hasEagerState:!1,eagerState:null,next:null},or(e)?s1(u,t):(t=Ls(e,u,t,l),t!==null&&(tt(t,e,l),o1(t,u,l)))}function r1(e,u,t){var l=dt();Fi(e,u,t,l)}function Fi(e,u,t,l){var i={lane:l,revertLane:0,gesture:null,action:t,hasEagerState:!1,eagerState:null,next:null};if(or(e))s1(u,i);else{var c=e.alternate;if(e.lanes===0&&(c===null||c.lanes===0)&&(c=u.lastRenderedReducer,c!==null))try{var d=u.lastRenderedState,g=c(d,t);if(i.hasEagerState=!0,i.eagerState=g,ct(g,d))return qc(e,u,i,0),Xe===null&&Hc(),!1}catch{}if(t=Ls(e,u,i,l),t!==null)return tt(t,e,l),o1(t,u,l),!0}return!1}function xo(e,u,t,l){if(l={lane:2,revertLane:s0(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},or(e)){if(u)throw Error(r(479))}else u=Ls(e,t,l,2),u!==null&&tt(u,e,2)}function or(e){var u=e.alternate;return e===Ee||u!==null&&u===Ee}function s1(e,u){ka=nr=!0;var t=e.pending;t===null?u.next=u:(u.next=t.next,t.next=u),e.pending=u}function o1(e,u,t){if((t&4194048)!==0){var l=u.lanes;l&=e.pendingLanes,t|=l,u.lanes=t,Nc(e,t)}}var fr={readContext:Tu,use:ir,useCallback:tu,useContext:tu,useEffect:tu,useImperativeHandle:tu,useLayoutEffect:tu,useInsertionEffect:tu,useMemo:tu,useReducer:tu,useRef:tu,useState:tu,useDebugValue:tu,useDeferredValue:tu,useTransition:tu,useSyncExternalStore:tu,useId:tu,useHostTransitionStatus:tu,useFormState:tu,useActionState:tu,useOptimistic:tu,useMemoCache:tu,useCacheRefresh:tu,useEffectEvent:tu},f1={readContext:Tu,use:ir,useCallback:function(e,u){return Vu().memoizedState=[e,u===void 0?null:u],e},useContext:Tu,useEffect:Id,useImperativeHandle:function(e,u,t){t=t!=null?t.concat([e]):null,rr(4194308,4,Wd.bind(null,u,e),t)},useLayoutEffect:function(e,u){return rr(4194308,4,e,u)},useInsertionEffect:function(e,u){rr(4,2,e,u)},useMemo:function(e,u){var t=Vu();u=u===void 0?null:u;var l=e();if(Xl){zt(!0);try{e()}finally{zt(!1)}}return t.memoizedState=[l,u],l},useReducer:function(e,u,t){var l=Vu();if(t!==void 0){var i=t(u);if(Xl){zt(!0);try{t(u)}finally{zt(!1)}}}else i=u;return l.memoizedState=l.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},l.queue=e,e=e.dispatch=S3.bind(null,Ee,e),[l.memoizedState,e]},useRef:function(e){var u=Vu();return e={current:e},u.memoizedState=e},useState:function(e){e=fo(e);var u=e.queue,t=r1.bind(null,Ee,u);return u.dispatch=t,[e.memoizedState,t]},useDebugValue:po,useDeferredValue:function(e,u){var t=Vu();return bo(t,e,u)},useTransition:function(){var e=fo(!1);return e=n1.bind(null,Ee,e.queue,!0,!1),Vu().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,u,t){var l=Ee,i=Vu();if(Ce){if(t===void 0)throw Error(r(407));t=t()}else{if(t=u(),Xe===null)throw Error(r(349));(ze&127)!==0||jd(l,u,t)}i.memoizedState=t;var c={value:t,getSnapshot:u};return i.queue=c,Id(Rd.bind(null,l,c,e),[e]),l.flags|=2048,za(9,{destroy:void 0},Md.bind(null,l,c,t,u),null),t},useId:function(){var e=Vu(),u=Xe.identifierPrefix;if(Ce){var t=Qt,l=Xt;t=(l&~(1<<32-bu(l)-1)).toString(32)+t,u="_"+u+"R_"+t,t=lr++,0<t&&(u+="H"+t.toString(32)),u+="_"}else t=b3++,u="_"+u+"r_"+t.toString(32)+"_";return e.memoizedState=u},useHostTransitionStatus:yo,useFormState:Yd,useActionState:Yd,useOptimistic:function(e){var u=Vu();u.memoizedState=u.baseState=e;var t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return u.queue=t,u=xo.bind(null,Ee,!0,t),t.dispatch=u,[e,u]},useMemoCache:ro,useCacheRefresh:function(){return Vu().memoizedState=E3.bind(null,Ee)},useEffectEvent:function(e){var u=Vu(),t={impl:e};return u.memoizedState=t,function(){if((Fe&2)!==0)throw Error(r(440));return t.impl.apply(void 0,arguments)}}},d1={readContext:Tu,use:ir,useCallback:e1,useContext:Tu,useEffect:mo,useImperativeHandle:Pd,useInsertionEffect:$d,useLayoutEffect:Jd,useMemo:u1,useReducer:cr,useRef:Qd,useState:function(){return cr(_n)},useDebugValue:po,useDeferredValue:function(e,u){var t=iu();return t1(t,Ze.memoizedState,e,u)},useTransition:function(){var e=cr(_n)[0],u=iu().memoizedState;return[typeof e=="boolean"?e:Ui(e),u]},useSyncExternalStore:zd,useId:i1,useHostTransitionStatus:yo,useFormState:Vd,useActionState:Vd,useOptimistic:function(e,u){var t=iu();return Ud(t,Ze,e,u)},useMemoCache:ro,useCacheRefresh:c1,useEffectEvent:Kd},A3={readContext:Tu,use:ir,useCallback:e1,useContext:Tu,useEffect:mo,useImperativeHandle:Pd,useInsertionEffect:$d,useLayoutEffect:Jd,useMemo:u1,useReducer:oo,useRef:Qd,useState:function(){return oo(_n)},useDebugValue:po,useDeferredValue:function(e,u){var t=iu();return Ze===null?bo(t,e,u):t1(t,Ze.memoizedState,e,u)},useTransition:function(){var e=oo(_n)[0],u=iu().memoizedState;return[typeof e=="boolean"?e:Ui(e),u]},useSyncExternalStore:zd,useId:i1,useHostTransitionStatus:yo,useFormState:Xd,useActionState:Xd,useOptimistic:function(e,u){var t=iu();return Ze!==null?Ud(t,Ze,e,u):(t.baseState=e,[e,t.queue.dispatch])},useMemoCache:ro,useCacheRefresh:c1,useEffectEvent:Kd};function vo(e,u,t,l){u=e.memoizedState,t=t(l,u),t=t==null?u:K({},u,t),e.memoizedState=t,e.lanes===0&&(e.updateQueue.baseState=t)}var _o={enqueueSetState:function(e,u,t){e=e._reactInternals;var l=dt(),i=Pn(l);i.payload=u,t!=null&&(i.callback=t),u=el(e,i,l),u!==null&&(tt(u,e,l),ji(u,e,l))},enqueueReplaceState:function(e,u,t){e=e._reactInternals;var l=dt(),i=Pn(l);i.tag=1,i.payload=u,t!=null&&(i.callback=t),u=el(e,i,l),u!==null&&(tt(u,e,l),ji(u,e,l))},enqueueForceUpdate:function(e,u){e=e._reactInternals;var t=dt(),l=Pn(t);l.tag=2,u!=null&&(l.callback=u),u=el(e,l,t),u!==null&&(tt(u,e,t),ji(u,e,t))}};function h1(e,u,t,l,i,c,d){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(l,c,d):u.prototype&&u.prototype.isPureReactComponent?!Ai(t,l)||!Ai(i,c):!0}function m1(e,u,t,l){e=u.state,typeof u.componentWillReceiveProps=="function"&&u.componentWillReceiveProps(t,l),typeof u.UNSAFE_componentWillReceiveProps=="function"&&u.UNSAFE_componentWillReceiveProps(t,l),u.state!==e&&_o.enqueueReplaceState(u,u.state,null)}function Ql(e,u){var t=u;if("ref"in u){t={};for(var l in u)l!=="ref"&&(t[l]=u[l])}if(e=e.defaultProps){t===u&&(t=K({},t));for(var i in e)t[i]===void 0&&(t[i]=e[i])}return t}function p1(e){Bc(e)}function b1(e){console.error(e)}function g1(e){Bc(e)}function dr(e,u){try{var t=e.onUncaughtError;t(u.value,{componentStack:u.stack})}catch(l){setTimeout(function(){throw l})}}function y1(e,u,t){try{var l=e.onCaughtError;l(t.value,{componentStack:t.stack,errorBoundary:u.tag===1?u.stateNode:null})}catch(i){setTimeout(function(){throw i})}}function Eo(e,u,t){return t=Pn(t),t.tag=3,t.payload={element:null},t.callback=function(){dr(e,u)},t}function x1(e){return e=Pn(e),e.tag=3,e}function v1(e,u,t,l){var i=t.type.getDerivedStateFromError;if(typeof i=="function"){var c=l.value;e.payload=function(){return i(c)},e.callback=function(){y1(u,t,l)}}var d=t.stateNode;d!==null&&typeof d.componentDidCatch=="function"&&(e.callback=function(){y1(u,t,l),typeof i!="function"&&(rl===null?rl=new Set([this]):rl.add(this));var g=l.stack;this.componentDidCatch(l.value,{componentStack:g!==null?g:""})})}function T3(e,u,t,l,i){if(t.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(u=t.alternate,u!==null&&Bl(u,t,i,!0),t=Du.current,t!==null){switch(t.tag){case 31:case 13:case 19:return Bu===null?Mr():t.alternate===null&&nu===0&&(nu=3),t.flags&=-257,t.flags|=65536,t.lanes=i,l===Wc?t.flags|=16384:(u=t.updateQueue,u===null?t.updateQueue=new Set([l]):u.add(l),i0(e,l,i)),!1;case 22:return t.flags|=65536,l===Wc?t.flags|=16384:(u=t.updateQueue,u===null?(u={transitions:null,markerInstances:null,retryQueue:new Set([l])},t.updateQueue=u):(t=u.retryQueue,t===null?u.retryQueue=new Set([l]):t.add(l)),i0(e,l,i)),!1}throw Error(r(435,t.tag))}return i0(e,l,i),Mr(),!1}if(Ce)return u=Du.current,u!==null?((u.flags&65536)===0&&(u.flags|=256),u.flags|=65536,u.lanes=i,l!==qs&&(e=Error(r(422),{cause:l}),Ci(vt(e,t)))):(l!==qs&&(u=Error(r(423),{cause:l}),Ci(vt(u,t))),e=e.current.alternate,e.flags|=65536,i&=-i,e.lanes|=i,l=vt(l,t),i=Eo(e.stateNode,l,i),Js(e,i),nu!==4&&(nu=2)),!1;var c=Error(r(520),{cause:l});if(c=vt(c,t),Xi===null?Xi=[c]:Xi.push(c),nu!==4&&(nu=2),u===null)return!0;l=vt(l,t),t=u;do{switch(t.tag){case 3:return t.flags|=65536,e=i&-i,t.lanes|=e,e=Eo(t.stateNode,l,e),Js(t,e),!1;case 1:if(u=t.type,c=t.stateNode,(t.flags&128)===0&&(typeof u.getDerivedStateFromError=="function"||c!==null&&typeof c.componentDidCatch=="function"&&(rl===null||!rl.has(c))))return t.flags|=65536,i&=-i,t.lanes|=i,i=x1(i),v1(i,e,t,l),Js(t,i),!1;break;case 22:if(t.memoizedState!==null)return t.flags|=65536,!1}t=t.return}while(t!==null);return!1}var So=Error(r(461)),ou=!1;function pu(e,u,t,l){u.child=e===null?Ad(u,null,t,l):Zl(u,e.child,t,l)}function _1(e,u,t,l,i){t=t.render;var c=u.ref;if("ref"in l){var d={};for(var g in l)g!=="ref"&&(d[g]=l[g])}else d=l;return Hl(u),l=lo(e,u,t,d,c,i),g=ao(),e!==null&&!ou?(io(e,u,i),En(e,u,i)):(Ce&&g&&Zc(u),u.flags|=1,pu(e,u,l,i),u.child)}function E1(e,u,t,l,i){if(e===null){var c=t.type;return typeof c=="function"&&!Us(c)&&c.defaultProps===void 0&&t.compare===null?(u.tag=15,u.type=c,S1(e,u,c,l,i)):(e=Yc(t.type,null,l,u,u.mode,i),e.ref=u.ref,e.return=u,u.child=e)}if(c=e.child,!zo(e,i)){var d=c.memoizedProps;if(t=t.compare,t=t!==null?t:Ai,t(d,l)&&e.ref===u.ref)return En(e,u,i)}return u.flags|=1,e=bn(c,l),e.ref=u.ref,e.return=u,u.child=e}function S1(e,u,t,l,i){if(e!==null){var c=e.memoizedProps;if(Ai(c,l)&&e.ref===u.ref)if(ou=!1,u.pendingProps=l=c,zo(e,i))(e.flags&131072)!==0&&(ou=!0);else return u.lanes=e.lanes,En(e,u,i)}return Ao(e,u,t,l,i)}function A1(e,u,t,l){var i=l.children,c=e!==null?e.memoizedState:null;if(e===null&&u.stateNode===null&&(u.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.mode==="hidden"){if((u.flags&128)!==0){if(c=c!==null?c.baseLanes|t:t,e!==null){for(l=u.child=e.child,i=0;l!==null;)i=i|l.lanes|l.childLanes,l=l.sibling;l=i&~c}else l=0,u.child=null;return T1(e,u,c,t,l)}if((t&536870912)!==0)u.memoizedState={baseLanes:0,cachePool:null},e!==null&&$c(u,c!==null?c.cachePool:null),c!==null?Cd(u,c):Ps(),Nd(u);else return l=u.lanes=536870912,T1(e,u,c!==null?c.baseLanes|t:t,t,l)}else c!==null?($c(u,c.cachePool),Cd(u,c),nl(),u.memoizedState=null):(e!==null&&$c(u,null),Ps(),nl());return pu(e,u,i,t),u.child}function Bi(e,u){return e!==null&&e.tag===22||u.stateNode!==null||(u.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),u.sibling}function T1(e,u,t,l,i){var c=Qs();return c=c===null?null:{parent:ru._currentValue,pool:c},u.memoizedState={baseLanes:t,cachePool:c},e!==null&&$c(u,null),Ps(),Nd(u),e!==null&&Bl(e,u,l,!0),u.childLanes=i,null}function hr(e,u){return u=mr({mode:u.mode,children:u.children},e.mode),u.ref=e.ref,e.child=u,u.return=e,u}function D1(e,u,t){return Zl(u,e.child,null,t),e=hr(u,u.pendingProps),e.flags|=2,rt(u),u.memoizedState=null,e}function D3(e,u,t){var l=u.pendingProps,i=(u.flags&128)!==0;if(u.flags&=-129,e===null){if(Ce){if(l.mode==="hidden")return e=hr(u,l),u.lanes=536870912,e.memoizedState={baseLanes:0,cachePool:null},Bi(null,e);if(uo(u),(e=Qe)?(e=Wh(e,St),e=e!==null&&e.data==="&"?e:null,e!==null&&(u.memoizedState={dehydrated:e,treeContext:Qn!==null?{id:Xt,overflow:Qt}:null,retryLane:536870912,hydrationErrors:null},t=sd(e),t.return=u,u.child=t,gu=u,Qe=null)):e=null,e===null)throw Kn(u);return u.lanes=536870912,null}return hr(u,l)}var c=e.memoizedState;if(c!==null){var d=c.dehydrated;if(uo(u),i)if(u.flags&256)u.flags&=-257,u=D1(e,u,t);else if(u.memoizedState!==null)u.child=e.child,u.flags|=128,u=null;else throw Error(r(558));else if(ou||Bl(e,u,t,!1),i=(t&e.childLanes)!==0,ou||i){if(ul.current===null){if(l=Xe,l!==null&&(d=ci(l,t),d!==0&&d!==c.retryLane))throw c.retryLane=d,wl(e,d),tt(l,e,d),So;Mr()}u=D1(e,u,t)}else e=c.treeContext,Qe=Tt(d.nextSibling),gu=u,Ce=!0,In=null,St=!1,e!==null&&dd(u,e),u=hr(u,l),u.flags|=134221824;return u}return e=bn(e.child,{mode:l.mode,children:l.children}),e.ref=u.ref,u.child=e,e.return=u,e}function ja(e,u){var t=u.ref;if(t===null)e!==null&&e.ref!==null&&(u.flags|=4194816);else{if(typeof t!="function"&&typeof t!="object")throw Error(r(284));(e===null||e.ref!==t)&&(u.flags|=4194816)}}function Ao(e,u,t,l,i){return Hl(u),t=lo(e,u,t,l,void 0,i),l=ao(),e!==null&&!ou?(io(e,u,i),En(e,u,i)):(Ce&&l&&Zc(u),u.flags|=1,pu(e,u,t,i),u.child)}function C1(e,u,t,l,i,c){return Hl(u),u.updateQueue=null,t=Od(u,l,t,i),kd(e),l=ao(),e!==null&&!ou?(io(e,u,c),En(e,u,c)):(Ce&&l&&Zc(u),u.flags|=1,pu(e,u,t,c),u.child)}function N1(e,u,t,l,i){if(Hl(u),u.stateNode===null){var c=Ea,d=t.contextType;typeof d=="object"&&d!==null&&(c=Tu(d)),c=new t(l,c),u.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,c.updater=_o,u.stateNode=c,c._reactInternals=u,c=u.stateNode,c.props=l,c.state=u.memoizedState,c.refs={},Ks(u),d=t.contextType,c.context=typeof d=="object"&&d!==null?Tu(d):Ea,c.state=u.memoizedState,d=t.getDerivedStateFromProps,typeof d=="function"&&(vo(u,t,d,l),c.state=u.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(d=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),d!==c.state&&_o.enqueueReplaceState(c,c.state,null),Ri(u,l,c,i),Mi(),c.state=u.memoizedState),typeof c.componentDidMount=="function"&&(u.flags|=4194308),l=!0}else if(e===null){c=u.stateNode;var g=u.memoizedProps,E=Ql(t,g);c.props=E;var O=c.context,R=t.contextType;d=Ea,typeof R=="object"&&R!==null&&(d=Tu(R));var U=t.getDerivedStateFromProps;R=typeof U=="function"||typeof c.getSnapshotBeforeUpdate=="function",g=u.pendingProps!==g,R||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(g||O!==d)&&m1(u,c,l,d),Wn=!1;var N=u.memoizedState;c.state=N,Ri(u,l,c,i),Mi(),O=u.memoizedState,g||N!==O||Wn?(typeof U=="function"&&(vo(u,t,U,l),O=u.memoizedState),(E=Wn||h1(u,t,E,l,N,O,d))?(R||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount()),typeof c.componentDidMount=="function"&&(u.flags|=4194308)):(typeof c.componentDidMount=="function"&&(u.flags|=4194308),u.memoizedProps=l,u.memoizedState=O),c.props=l,c.state=O,c.context=d,l=E):(typeof c.componentDidMount=="function"&&(u.flags|=4194308),l=!1)}else{c=u.stateNode,$s(e,u),d=u.memoizedProps,R=Ql(t,d),c.props=R,U=u.pendingProps,N=c.context,O=t.contextType,E=Ea,typeof O=="object"&&O!==null&&(E=Tu(O)),g=t.getDerivedStateFromProps,(O=typeof g=="function"||typeof c.getSnapshotBeforeUpdate=="function")||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(d!==U||N!==E)&&m1(u,c,l,E),Wn=!1,N=u.memoizedState,c.state=N,Ri(u,l,c,i),Mi();var j=u.memoizedState;d!==U||N!==j||Wn||e!==null&&e.dependencies!==null&&Ic(e.dependencies)?(typeof g=="function"&&(vo(u,t,g,l),j=u.memoizedState),(R=Wn||h1(u,t,R,l,N,j,E)||e!==null&&e.dependencies!==null&&Ic(e.dependencies))?(O||typeof c.UNSAFE_componentWillUpdate!="function"&&typeof c.componentWillUpdate!="function"||(typeof c.componentWillUpdate=="function"&&c.componentWillUpdate(l,j,E),typeof c.UNSAFE_componentWillUpdate=="function"&&c.UNSAFE_componentWillUpdate(l,j,E)),typeof c.componentDidUpdate=="function"&&(u.flags|=4),typeof c.getSnapshotBeforeUpdate=="function"&&(u.flags|=1024)):(typeof c.componentDidUpdate!="function"||d===e.memoizedProps&&N===e.memoizedState||(u.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||d===e.memoizedProps&&N===e.memoizedState||(u.flags|=1024),u.memoizedProps=l,u.memoizedState=j),c.props=l,c.state=j,c.context=E,l=R):(typeof c.componentDidUpdate!="function"||d===e.memoizedProps&&N===e.memoizedState||(u.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||d===e.memoizedProps&&N===e.memoizedState||(u.flags|=1024),l=!1)}return c=l,ja(e,u),l=(u.flags&128)!==0,c||l?(c=u.stateNode,t=l&&typeof t.getDerivedStateFromError!="function"?null:c.render(),u.flags|=1,e!==null&&l?(u.child=Zl(u,e.child,null,i),u.child=Zl(u,null,t,i)):pu(e,u,t,i),u.memoizedState=c.state,e=u.child):e=En(e,u,i),e}function k1(e,u,t,l){return Ul(),u.flags|=256,pu(e,u,t,l),u.child}var To={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Do(e){return{baseLanes:e,cachePool:yd()}}function Co(e,u,t){return e=e!==null?e.childLanes&~t:0,u&&(e|=ft),e}function O1(e,u,t){var l=u.pendingProps,i=!1,c=(u.flags&128)!==0,d;if((d=c)||(d=e!==null&&e.memoizedState===null?!1:(Cu.current&2)!==0),d&&(i=!0,u.flags&=-129),d=(u.flags&32)!==0,u.flags&=-33,e===null){if(Ce){if(i?tl(u):nl(),(e=Qe)?(e=Wh(e,St),e=e!==null&&e.data!=="&"?e:null,e!==null&&(u.memoizedState={dehydrated:e,treeContext:Qn!==null?{id:Xt,overflow:Qt}:null,retryLane:536870912,hydrationErrors:null},t=sd(e),t.return=u,u.child=t,gu=u,Qe=null)):e=null,e===null)throw Kn(u);return D0(e)?u.lanes=32:u.lanes=536870912,null}return c=l.children,l=l.fallback,i?(nl(),i=u.mode,c=mr({mode:"hidden",children:c},i),l=Ll(l,i,t,null),c.return=u,l.return=u,c.sibling=l,u.child=c,l=u.child,l.memoizedState=Do(t),l.childLanes=Co(e,d,t),u.memoizedState=To,Bi(null,l)):(tl(u),No(u,c))}var g=e.memoizedState;if(g!==null){var E=g.dehydrated;if(E!==null)return C3(e,u,c,d,l,E,g,t)}return i?(nl(),i=l.fallback,c=u.mode,g=e.child,E=g.sibling,l=bn(g,{mode:"hidden",children:l.children}),l.subtreeFlags=g.subtreeFlags&1206910976,E!==null?i=bn(E,i):(i=Ll(i,c,t,null),i.flags|=2),i.return=u,l.return=u,l.sibling=i,u.child=l,Bi(null,l),l=u.child,i=e.child.memoizedState,i===null?i=Do(t):(c=i.cachePool,c!==null?(g=ru._currentValue,c=c.parent!==g?{parent:g,pool:g}:c):c=yd(),i={baseLanes:i.baseLanes|t,cachePool:c}),l.memoizedState=i,l.childLanes=Co(e,d,t),u.memoizedState=To,Bi(e.child,l)):(tl(u),t=e.child,e=t.sibling,t=bn(t,{mode:"visible",children:l.children}),t.return=u,t.sibling=null,e!==null&&(d=u.deletions,d===null?(u.deletions=[e],u.flags|=16):d.push(e)),u.child=t,u.memoizedState=null,t)}function No(e,u){return u=mr({mode:"visible",children:u},e.mode),u.return=e,e.child=u}function mr(e,u){return e=Wu(22,e,null,u),e.lanes=0,e}function pr(e,u,t){return Zl(u,e.child,null,t),e=No(u,u.pendingProps.children),e.flags|=2,u.memoizedState=null,e}function C3(e,u,t,l,i,c,d,g){if(t)return u.flags&256?(tl(u),u.flags&=-257,pr(e,u,g)):u.memoizedState!==null?(nl(),u.child=e.child,u.flags|=128,null):(nl(),c=i.fallback,d=u.mode,i=mr({mode:"visible",children:i.children},d),c=Ll(c,d,g,null),c.flags|=2,i.return=u,c.return=u,i.sibling=c,u.child=i,Zl(u,e.child,null,g),i=u.child,i.memoizedState=Do(g),i.childLanes=Co(e,l,g),u.memoizedState=To,Bi(null,i));if(tl(u),D0(c)){if(l=c.nextSibling&&c.nextSibling.dataset,l)var E=l.dgst;return l=E,l!==""&&(i=Error(r(419)),i.stack="",i.digest=l,Ci({value:i,source:null,stack:null})),pr(e,u,g)}if(ou||Bl(e,u,g,!1),l=(g&e.childLanes)!==0,ou||l){if(ul.current!==null)return pr(e,u,g);if(l=Xe,l!==null&&(i=ci(l,g),i!==0&&i!==d.retryLane))throw d.retryLane=i,wl(e,i),tt(l,e,i),So;return T0(c)||Mr(),pr(e,u,g)}return T0(c)?(u.flags|=192,u.child=e.child,null):(e=d.treeContext,Qe=Tt(c.nextSibling),gu=u,Ce=!0,In=null,St=!1,e!==null&&dd(u,e),u=No(u,i.children),u.flags|=134221824,u)}function z1(e,u,t){e.lanes|=u;var l=e.alternate;l!==null&&(l.lanes|=u),Qc(e.return,u,t)}function j1(e){for(var u=null;e!==null;){var t=e.alternate;t!==null&&tr(t)===null&&(u=e),e=e.sibling}return u}function br(e,u,t,l,i,c){var d=e.memoizedState;d===null?e.memoizedState={isBackwards:u,rendering:null,renderingStartTime:0,last:l,tail:t,tailMode:i,treeForkCount:c}:(d.isBackwards=u,d.rendering=null,d.renderingStartTime=0,d.last=l,d.tail=t,d.tailMode=i,d.treeForkCount=c)}function ko(e){var u=e.child;for(e.child=null;u!==null;){var t=u.sibling;u.sibling=e.child,e.child=u,u=t}}function Oo(e,u,t){var l=u.pendingProps,i=l.revealOrder,c=l.tail;l=l.children;var d=Cu.current;if(u.flags&128)return wi(u,d),null;var g=(d&2)!==0;if(g?(d=d&1|2,u.flags|=128):d&=1,wi(u,d),i==="backwards"&&e!==null?(ko(e),pu(e,u,l,t),ko(e)):pu(e,u,l,t),l=Ce?Di:0,!g&&e!==null&&(e.flags&128)!==0)e:for(e=u.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&z1(e,t,u);else if(e.tag===19)z1(e,t,u);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===u)break e;for(;e.sibling===null;){if(e.return===null||e.return===u)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(i){case"backwards":t=j1(u.child),t===null?(i=u.child,u.child=null):(i=t.sibling,t.sibling=null,ko(u)),br(u,!0,i,null,c,l);break;case"unstable_legacy-backwards":for(t=null,i=u.child,u.child=null;i!==null;){if(e=i.alternate,e!==null&&tr(e)===null){u.child=i;break}e=i.sibling,i.sibling=t,t=i,i=e}br(u,!0,t,null,c,l);break;case"together":br(u,!1,null,null,void 0,l);break;case"independent":u.memoizedState=null;break;default:t=j1(u.child),t===null?(i=u.child,u.child=null):(i=t.sibling,t.sibling=null),br(u,!1,i,t,c,l)}return u.child}function M1(e,u,t){var l=u.pendingProps;return $n(u,u.type,l.value),pu(e,u,l.children,t),u.child}function En(e,u,t){if(e!==null&&(u.dependencies=e.dependencies),cl|=u.lanes,(t&u.childLanes)===0)if(e!==null){if(Bl(e,u,t,!1),(t&u.childLanes)===0)return null}else return null;if(e!==null&&u.child!==e.child)throw Error(r(153));if(u.child!==null){for(e=u.child,t=bn(e,e.pendingProps),u.child=t,t.return=u;e.sibling!==null;)e=e.sibling,t=t.sibling=bn(e,e.pendingProps),t.return=u;t.sibling=null}return u.child}function zo(e,u){return(e.lanes&u)!==0?!0:(e=e.dependencies,!!(e!==null&&Ic(e)))}function N3(e,u,t){switch(u.tag){case 3:at(u,u.stateNode.containerInfo),$n(u,ru,e.memoizedState.cache),Ul();break;case 27:case 5:Sl(u);break;case 4:at(u,u.stateNode.containerInfo);break;case 10:$n(u,u.type,u.memoizedProps.value);break;case 31:if(u.memoizedState!==null)return u.flags|=128,uo(u),null;break;case 13:var l=u.memoizedState;if(l!==null){if(l.dehydrated!==null)return tl(u),u.flags|=128,null;l=Bl(e,u,t,!1);var i=u.child.childLanes;return l||(t&i)!==0?O1(e,u,t):(tl(u),e=En(e,u,t),e!==null?e.sibling:null)}tl(u);break;case 19:if(u.flags&128)return Oo(e,u,t);if(i=(e.flags&128)!==0,l=(t&u.childLanes)!==0,l||(Bl(e,u,t,!1),l=(t&u.childLanes)!==0),i){if(l)return Oo(e,u,t);u.flags|=128}if(i=u.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),wi(u,Cu.current),l)break;return null;case 22:return u.lanes=0,A1(e,u,t,u.pendingProps);case 24:$n(u,ru,e.memoizedState.cache)}return En(e,u,t)}function R1(e,u,t){if(e!==null)if(e.memoizedProps!==u.pendingProps)ou=!0;else{if(!zo(e,t)&&(u.flags&128)===0)return ou=!1,N3(e,u,t);ou=(e.flags&131072)!==0}else ou=!1,Ce&&(u.flags&1048576)!==0&&fd(u,Di,u.index);switch(u.lanes=0,u.tag){case 16:e:{var l=u.pendingProps;if(e=Yl(u.elementType),u.type=e,typeof e=="function")Us(e)?(l=Ql(e,l),u.tag=1,u=N1(null,u,e,l,t)):(u.tag=0,u=Ao(null,u,e,l,t));else{if(e!=null){var i=e.$$typeof;if(i===X){u.tag=11,u=_1(null,u,e,l,t);break e}else if(i===Z){u.tag=14,u=E1(null,u,e,l,t);break e}else if(i===ye){u.tag=10,u.type=e,u=M1(null,u,t);break e}}throw u=Oe(e)||e,Error(r(306,u,""))}}return u;case 0:return Ao(e,u,u.type,u.pendingProps,t);case 1:return l=u.type,i=Ql(l,u.pendingProps),N1(e,u,l,i,t);case 3:e:{if(at(u,u.stateNode.containerInfo),e===null)throw Error(r(387));l=u.pendingProps;var c=u.memoizedState;i=c.element,$s(e,u),Ri(u,l,null,t);var d=u.memoizedState;if(l=d.cache,$n(u,ru,l),l!==c.cache&&Vs(u,[ru],t,!0),Mi(),l=d.element,c.isDehydrated)if(c={element:l,isDehydrated:!1,cache:d.cache},u.updateQueue.baseState=c,u.memoizedState=c,u.flags&256){u=k1(e,u,l,t);break e}else if(l!==i){i=vt(Error(r(424)),u),Ci(i),u=k1(e,u,l,t);break e}else for(e=u.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,Qe=Tt(e.firstChild),gu=u,Ce=!0,In=null,St=!0,t=Ad(u,null,l,t),u.child=t;t;)t.flags=t.flags&-3|134221824,t=t.sibling;else{if(Ul(),l===i){u=En(e,u,t);break e}pu(e,u,l,t)}u=u.child}return u;case 26:return ja(e,u),e===null?(t=a2(u.type,null,u.pendingProps,null))?u.memoizedState=t:Ce||(u.stateNode=Fh(u.type,u.pendingProps,Ku.current,u)):u.memoizedState=a2(u.type,e.memoizedProps,u.pendingProps,e.memoizedState),null;case 27:return Sl(u),e===null&&Ce&&(l=u.stateNode=u2(u.type,u.pendingProps,Ku.current),gu=u,St=!0,i=Qe,fl(u.type)?(C0=i,Qe=Tt(l.firstChild)):Qe=i),pu(e,u,u.pendingProps.children,t),ja(e,u),e===null&&(u.flags|=4194304),u.child;case 5:return e===null&&Ce&&((i=l=Qe)&&(l=Eb(l,u.type,u.pendingProps,St),l!==null?(u.stateNode=l,gu=u,Qe=Tt(l.firstChild),St=!1,i=!0):i=!1),i||Kn(u)),Sl(u),i=u.type,c=u.pendingProps,d=e!==null?e.memoizedProps:null,l=c.children,y0(i,c)?l=null:d!==null&&y0(i,d)&&(u.flags|=32),u.memoizedState!==null&&(i=lo(e,u,g3,null,null,t),$a._currentValue=i),ja(e,u),pu(e,u,l,t),u.child;case 6:return e===null&&Ce&&((e=t=Qe)&&(t=Sb(t,u.pendingProps,St),t!==null?(u.stateNode=t,gu=u,Qe=null,e=!0):e=!1),e||Kn(u)),null;case 13:return O1(e,u,t);case 4:return at(u,u.stateNode.containerInfo),l=u.pendingProps,e===null?u.child=Zl(u,null,l,t):pu(e,u,l,t),u.child;case 11:return _1(e,u,u.type,u.pendingProps,t);case 7:return l=u.pendingProps,ja(e,u),pu(e,u,l,t),u.child;case 8:return pu(e,u,u.pendingProps.children,t),u.child;case 12:return pu(e,u,u.pendingProps.children,t),u.child;case 10:return M1(e,u,t);case 9:return i=u.type._context,l=u.pendingProps.children,Hl(u),i=Tu(i),l=l(i),u.flags|=1,pu(e,u,l,t),u.child;case 14:return E1(e,u,u.type,u.pendingProps,t);case 15:return S1(e,u,u.type,u.pendingProps,t);case 19:return Oo(e,u,t);case 31:return D3(e,u,t);case 22:return A1(e,u,t,u.pendingProps);case 24:return Hl(u),l=Tu(ru),e===null?(i=Qs(),i===null&&(i=Xe,c=Zs(),i.pooledCache=c,c.refCount++,c!==null&&(i.pooledCacheLanes|=t),i=c),u.memoizedState={parent:l,cache:i},Ks(u),$n(u,ru,i)):((e.lanes&t)!==0&&($s(e,u),Ri(u,null,null,t),Mi()),i=e.memoizedState,c=u.memoizedState,i.parent!==l?(i={parent:l,cache:l},u.memoizedState=i,u.lanes===0&&(u.memoizedState=u.updateQueue.baseState=i),$n(u,ru,l)):(l=c.cache,$n(u,ru,l),l!==i.cache&&Vs(u,[ru],t,!0))),pu(e,u,u.pendingProps.children,t),u.child;case 30:return u.stateNode===null&&(u.stateNode={autoName:null,paired:null,clones:null,ref:null}),l=u.pendingProps,l.name!=null&&l.name!=="auto"?u.flags|=e===null?18882560:18874368:Ce&&Zc(u),e!==null&&e.memoizedProps.name!==l.name?u.flags|=4194816:ja(e,u),pu(e,u,l.children,t),u.child;case 29:throw u.pendingProps}throw Error(r(156,u.tag))}function Sn(e){e.flags|=4}function jo(e,u,t,l,i){var c;if((c=(e.mode&32)!==0)&&(c=t===null?s2(u,l):s2(u,l)&&(l.src!==t.src||l.srcSet!==t.srcSet)),c){if(e.flags|=16777216,(i&335544128)===i)if(e.stateNode.complete)e.flags|=8192;else if(ph())e.flags|=8192;else throw Vl=Wc,Is}else e.flags&=-16777217}function w1(e,u){if(u.type!=="stylesheet"||(u.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!o2(u))if(ph())e.flags|=8192;else throw Vl=Wc,Is}function gr(e,u){u!==null&&(e.flags|=4),e.flags&16384&&(u=e.tag!==22?Un():536870912,e.lanes|=u,Ua|=u)}function Hi(e,u){if(!Ce)switch(e.tailMode){case"visible":break;case"collapsed":for(var t=e.tail,l=null;t!==null;)t.alternate!==null&&(l=t),t=t.sibling;l===null?u||e.tail===null?e.tail=null:e.tail.sibling=null:l.sibling=null;break;default:for(u=e.tail,t=null;u!==null;)u.alternate!==null&&(t=u),u=u.sibling;t===null?e.tail=null:t.sibling=null}}function Ie(e){var u=e.alternate!==null&&e.alternate.child===e.child,t=0,l=0;if(u)for(var i=e.child;i!==null;)t|=i.lanes|i.childLanes,l|=i.subtreeFlags&1206910976,l|=i.flags&1206910976,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)t|=i.lanes|i.childLanes,l|=i.subtreeFlags,l|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=l,e.childLanes=t,u}function k3(e,u,t){var l=u.pendingProps;switch(Hs(u),u.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ie(u),null;case 1:return Ie(u),null;case 3:return t=u.stateNode,l=null,e!==null&&(l=e.memoizedState.cache),u.memoizedState.cache!==l&&(u.flags|=2048),xn(ru),rn(),t.pendingContext&&(t.context=t.pendingContext,t.pendingContext=null),(e===null||e.child===null)&&(Ta(u)?Sn(u):e===null||e.memoizedState.isDehydrated&&(u.flags&256)===0||(u.flags|=1024,Gs())),Ie(u),null;case 26:var i=u.type,c=u.memoizedState;return e===null?(Sn(u),c!==null?(Ie(u),w1(u,c)):(Ie(u),jo(u,i,null,l,t))):c?c!==e.memoizedState?(Sn(u),Ie(u),w1(u,c)):(Ie(u),u.flags&=-16777217):(e=e.memoizedProps,e!==l&&Sn(u),Ie(u),jo(u,i,e,l,t)),null;case 27:if(Al(u),t=Ku.current,i=u.type,e!==null&&u.stateNode!=null)e.memoizedProps!==l&&Sn(u);else{if(!l){if(u.stateNode===null)throw Error(r(166));return Ie(u),u.subtreeFlags&=-33554433,null}e=Iu.current,Ta(u)?hd(u):(e=u2(i,l,t),u.stateNode=e,Sn(u))}return Ie(u),u.subtreeFlags&=-33554433,null;case 5:if(Al(u),i=u.type,e!==null&&u.stateNode!=null)e.memoizedProps!==l&&Sn(u);else{if(!l){if(u.stateNode===null)throw Error(r(166));return Ie(u),u.subtreeFlags&=-33554433,null}if(c=Iu.current,Ta(u))hd(u);else{var d=Ji(Ku.current);switch(c){case 1:c=d.createElementNS("http://www.w3.org/2000/svg",i);break;case 2:c=d.createElementNS("http://www.w3.org/1998/Math/MathML",i);break;default:switch(i){case"svg":c=d.createElementNS("http://www.w3.org/2000/svg",i);break;case"math":c=d.createElementNS("http://www.w3.org/1998/Math/MathML",i);break;case"script":c=d.createElement("div"),c.innerHTML="<script><\/script>",c=c.removeChild(c.firstChild);break;case"select":c=typeof l.is=="string"?d.createElement("select",{is:l.is}):d.createElement("select"),l.multiple?c.multiple=!0:l.size&&(c.size=l.size);break;default:c=typeof l.is=="string"?d.createElement(i,{is:l.is}):d.createElement(i)}}c[hu]=u,c[Uu]=l;e:for(d=u.child;d!==null;){if(d.tag===5||d.tag===6)c.appendChild(d.stateNode);else if(d.tag!==4&&d.tag!==27&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===u)break e;for(;d.sibling===null;){if(d.return===null||d.return===u)break e;d=d.return}d.sibling.return=d.return,d=d.sibling}u.stateNode=c;e:switch(ku(c,i,l),i){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break e;case"img":l=!0;break e;default:l=!1}l&&Sn(u)}}return Ie(u),u.subtreeFlags&=-33554433,jo(u,u.type,e===null?null:e.memoizedProps,u.pendingProps,t),null;case 6:if(e&&u.stateNode!=null)e.memoizedProps!==l&&Sn(u);else{if(typeof l!="string"&&u.stateNode===null)throw Error(r(166));if(e=Ku.current,Ta(u)){if(e=u.stateNode,t=u.memoizedProps,l=null,i=gu,i!==null)switch(i.tag){case 27:case 5:l=i.memoizedProps}e[hu]=u,e=!!(e.nodeValue===t||l!==null&&l.suppressHydrationWarning===!0||Rh(e.nodeValue,t)),e||Kn(u,!0)}else e=Ji(e).createTextNode(l),e[hu]=u,u.stateNode=e}return Ie(u),null;case 31:if(t=u.memoizedState,e===null||e.memoizedState!==null){if(l=Ta(u),t!==null){if(e===null){if(!l)throw Error(r(318));if(e=u.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(557));e[hu]=u}else Ul(),(u.flags&128)===0&&(u.memoizedState=null),u.flags|=4;Ie(u),e=!1}else t=Gs(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=t),e=!0;if(!e)return u.flags&256?(rt(u),u):(rt(u),null);if((u.flags&128)!==0)throw Error(r(558))}return Ie(u),null;case 13:if(l=u.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(i=Ta(u),l!==null&&l.dehydrated!==null){if(e===null){if(!i)throw Error(r(318));if(i=u.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(r(317));i[hu]=u}else Ul(),(u.flags&128)===0&&(u.memoizedState=null),u.flags|=4;Ie(u),i=!1}else i=Gs(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),i=!0;if(!i)return u.flags&256?(rt(u),u):(rt(u),null)}return rt(u),(u.flags&128)!==0?(u.lanes=t,u):(t=l!==null,e=e!==null&&e.memoizedState!==null,t&&(l=u.child,i=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(i=l.alternate.memoizedState.cachePool.pool),c=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(c=l.memoizedState.cachePool.pool),c!==i&&(l.flags|=2048)),t!==e&&t&&(u.child.flags|=8192),gr(u,u.updateQueue),Ie(u),null);case 4:return rn(),e===null&&h0(u.stateNode.containerInfo),u.flags|=67108864,Ie(u),null;case 10:return xn(u.type),Ie(u),null;case 19:if(to(u),l=u.memoizedState,l===null)return Ie(u),null;if(i=(u.flags&128)!==0,c=l.rendering,c===null)if(i)Hi(l,!1);else{if(nu!==0||e!==null&&(e.flags&128)!==0)for(e=u.child;e!==null;){if(c=tr(e),c!==null){for(u.flags|=128,Hi(l,!1),e=c.updateQueue,u.updateQueue=e,gr(u,e),u.subtreeFlags=0,e=t,t=u.child;t!==null;)rd(t,e),t=t.sibling;return wi(u,Cu.current&1|2),Ce&&gn(u,l.treeForkCount),u.child}e=e.sibling}l.tail!==null&&wu()>kr&&(u.flags|=128,i=!0,Hi(l,!1),u.lanes=4194304)}else{if(!i)if(e=tr(c),e!==null){if(u.flags|=128,i=!0,e=e.updateQueue,u.updateQueue=e,gr(u,e),Hi(l,!0),l.tail===null&&l.tailMode!=="collapsed"&&l.tailMode!=="visible"&&!c.alternate&&!Ce)return Ie(u),null}else 2*wu()-l.renderingStartTime>kr&&t!==536870912&&(u.flags|=128,i=!0,Hi(l,!1),u.lanes=4194304);l.isBackwards?(c.sibling=u.child,u.child=c):(e=l.last,e!==null?e.sibling=c:u.child=c,l.last=c)}if(l.tail!==null){e=l.tail;e:{for(t=e;t!==null;){if(t.alternate!==null){t=!1;break e}t=t.sibling}t=!0}return l.rendering=e,l.tail=e.sibling,l.renderingStartTime=wu(),e.sibling=null,c=Cu.current,c=i?c&1|2:c&1,l.tailMode==="visible"||l.tailMode==="collapsed"||!t||Ce?wi(u,c):(t=c,he(Du,u),he(Cu,t),Bu===null&&(Bu=u)),Ce&&gn(u,l.treeForkCount),e}return Ie(u),null;case 22:case 23:return rt(u),eo(),l=u.memoizedState!==null,e!==null?e.memoizedState!==null!==l&&(u.flags|=8192):l&&(u.flags|=8192),l?(t&536870912)!==0&&(u.flags&128)===0&&(Ie(u),u.subtreeFlags&6&&(u.flags|=8192)):Ie(u),t=u.updateQueue,t!==null&&gr(u,t.retryQueue),t=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),l=null,u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(l=u.memoizedState.cachePool.pool),l!==t&&(u.flags|=2048),e!==null&&lu(Gl),null;case 24:return t=null,e!==null&&(t=e.memoizedState.cache),u.memoizedState.cache!==t&&(u.flags|=2048),xn(ru),Ie(u),null;case 25:return null;case 30:return u.flags|=33554432,Ie(u),null}throw Error(r(156,u.tag))}function O3(e,u){switch(Hs(u),u.tag){case 1:return e=u.flags,e&65536?(u.flags=e&-65537|128,u):null;case 3:return xn(ru),rn(),e=u.flags,(e&65536)!==0&&(e&128)===0?(u.flags=e&-65537|128,u):null;case 26:case 27:case 5:return Al(u),null;case 31:if(u.memoizedState!==null){if(rt(u),u.alternate===null)throw Error(r(340));Ul()}return e=u.flags,e&65536?(u.flags=e&-65537|128,u):null;case 13:if(rt(u),e=u.memoizedState,e!==null&&e.dehydrated!==null){if(u.alternate===null)throw Error(r(340));Ul()}return e=u.flags,e&65536?(u.flags=e&-65537|128,u):null;case 19:return to(u),e=u.flags,e&65536?(u.flags=e&-65537|128,e=u.memoizedState,e!==null&&(e.rendering=null,e.tail=null),u.flags|=4,u):null;case 4:return rn(),null;case 10:return xn(u.type),null;case 22:case 23:return rt(u),eo(),e!==null&&lu(Gl),e=u.flags,e&65536?(u.flags=e&-65537|128,u):null;case 24:return xn(ru),null;case 25:return null;default:return null}}function L1(e,u){switch(Hs(u),u.tag){case 3:xn(ru),rn();break;case 26:case 27:case 5:Al(u);break;case 4:rn();break;case 31:u.memoizedState!==null&&rt(u);break;case 13:rt(u);break;case 19:to(u);break;case 10:xn(u.type);break;case 22:case 23:rt(u),eo(),e!==null&&lu(Gl);break;case 24:xn(ru)}}function qi(e,u){try{var t=u.updateQueue,l=t!==null?t.lastEffect:null;if(l!==null){var i=l.next;t=i;do{if((t.tag&e)===e){l=void 0;var c=t.create,d=t.inst;l=c(),d.destroy=l}t=t.next}while(t!==i)}}catch(g){Ge(u,u.return,g)}}function ll(e,u,t){try{var l=u.updateQueue,i=l!==null?l.lastEffect:null;if(i!==null){var c=i.next;l=c;do{if((l.tag&e)===e){var d=l.inst,g=d.destroy;if(g!==void 0){d.destroy=void 0,i=u;var E=t,O=g;try{O()}catch(R){Ge(i,E,R)}}}l=l.next}while(l!==c)}}catch(R){Ge(u,u.return,R)}}function U1(e){var u=e.updateQueue;if(u!==null){var t=e.stateNode;try{Dd(u,t)}catch(l){Ge(e,e.return,l)}}}function F1(e,u,t){t.props=Ql(e.type,e.memoizedProps),t.state=e.memoizedState;try{t.componentWillUnmount()}catch(l){Ge(e,u,l)}}function It(e,u){try{var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var l=e.stateNode;break;case 30:var i=e.stateNode,c=mn(e.memoizedProps,i);(i.ref===null||i.ref.name!==c)&&(i.ref=Zh(c)),l=i.ref;break;case 7:if(e.stateNode===null){var d=new ht(e);y(e.child,!1,vb,d,void 0,void 0),e.stateNode=d}l=e.stateNode;break;default:l=e.stateNode}typeof t=="function"?e.refCleanup=t(l):t.current=l}}catch(g){Ge(e,u,g)}}function Nu(e,u){var t=e.ref,l=e.refCleanup;if(t!==null)if(typeof l=="function")try{l()}catch(i){Ge(e,u,i)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof t=="function")try{t(null)}catch(i){Ge(e,u,i)}else t.current=null}function yr(e,u){if((e.tag===5||e.tag===27||e.tag===6)&&e.alternate===null&&u!==null)for(var t=0;t<u.length;t++)Jh(e.stateNode,u[t])}function B1(e){for(var u=e.return;u!==null&&(Ro(u)&&Jh(e.stateNode,u.stateNode),!Mo(u));)u=u.return}function Gi(e){for(var u=e.return;u!==null&&(Ro(u)&&_b(e.stateNode,u.stateNode),!Mo(u));)u=u.return}function Mo(e){return e.tag===5||e.tag===3||e.tag===27}function Ro(e){return e&&e.tag===7&&e.stateNode!==null}function wo(e){var u=e.type,t=e.memoizedProps,l=e.stateNode;try{e:switch(u){case"button":case"input":case"select":case"textarea":t.autoFocus&&l.focus();break e;case"img":t.src?l.src=t.src:t.srcSet&&(l.srcset=t.srcSet)}}catch(i){Ge(e,e.return,i)}}function Lo(e,u,t){try{var l=e.stateNode;tb(l,e.type,t,u),l[Uu]=u}catch(i){Ge(e,e.return,i)}}function H1(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&fl(e.type)||e.tag===4}function Uo(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||H1(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&fl(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Fo(e,u,t,l){var i=e.tag;if(i===5||i===6)i=e.stateNode,u?(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t).insertBefore(i,u):(u=t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,u.appendChild(i),t=t._reactRootContainer,t!=null||u.onclick!==null||(u.onclick=Be)),yr(e,l),Te=!0;else if(i!==4&&(i===27&&(yr(e,l),l=null,fl(e.type)&&(t=e.stateNode,u=null)),e=e.child,e!==null))for(Fo(e,u,t,l),e=e.sibling;e!==null;)Fo(e,u,t,l),e=e.sibling}function xr(e,u,t,l){var i=e.tag;if(i===5||i===6)i=e.stateNode,u?t.insertBefore(i,u):t.appendChild(i),yr(e,l),Te=!0;else if(i!==4&&(i===27&&(yr(e,l),l=null,fl(e.type)&&(t=e.stateNode)),e=e.child,e!==null))for(xr(e,u,t,l),e=e.sibling;e!==null;)xr(e,u,t,l),e=e.sibling}function q1(e){var u=e.stateNode,t=e.memoizedProps;try{for(var l=e.type,i=u.attributes;i.length;)u.removeAttributeNode(i[0]);ku(u,l,t),u[hu]=e,u[Uu]=t}catch(c){Ge(e,e.return,c)}}var vr=!1,st=null;function G1(e){(e.tag===30||(e.subtreeFlags&33554432)!==0)&&(vr=!0)}var Kt=null;function Y1(){var e=Kt;return Kt=null,e}var Pu=0;function Ma(e,u,t,l,i){return Pu=0,V1(e.child,u,t,l,i)}function V1(e,u,t,l,i){for(var c=!1;e!==null;){if(e.tag===5){var d=e.stateNode;if(l!==null){var g=_0(d);l.push(g),g.view&&(c=!0)}else c||_0(d).view&&(c=!0);vr=!0,Yh(d,Pu===0?u:u+"_"+Pu,t),Pu++}else(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&i||V1(e.child,u,t,l,i)&&(c=!0));e=e.sibling}return c}function $t(e,u){for(;e!==null;)e.tag===5?Vh(e.stateNode,e.memoizedProps):(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&u||$t(e.child,u)),e=e.sibling}function _r(e){if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if((e.tag!==22||e.memoizedState===null)&&(_r(e),e.tag===30&&(e.flags&18874368)!==0&&e.stateNode.paired)){var u=e.memoizedProps;if(u.name==null||u.name==="auto")throw Error(r(544));var t=u.name;u=pn(u.default,u.share),u!=="none"&&(Ma(e,t,u,null,!1)||$t(e.child,!1))}e=e.sibling}}function Bo(e,u){if(e.tag===30){var t=e.stateNode,l=e.memoizedProps,i=mn(l,t),c=pn(l.default,t.paired?l.share:l.enter);c!=="none"?Ma(e,i,c,null,!1)?(_r(e),t.paired||u||qa(e,l.onEnter)):$t(e.child,!1):_r(e)}else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)Bo(e,u),e=e.sibling;else _r(e)}function Ho(e){if(st!==null&&st.size!==0){var u=st;if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&(e.flags&18874368)!==0){var t=e.memoizedProps,l=t.name;if(l!=null&&l!=="auto"){var i=u.get(l);if(i!==void 0){var c=pn(t.default,t.share);if(c!=="none"&&(Ma(e,l,c,null,!1)?(c=e.stateNode,i.paired=c,c.paired=i,qa(e,t.onShare)):$t(e.child,!1)),u.delete(l),u.size===0)break}}}Ho(e)}e=e.sibling}}}function qo(e){if(e.tag===30){var u=e.memoizedProps,t=mn(u,e.stateNode),l=st!==null?st.get(t):void 0,i=pn(u.default,l!==void 0?u.share:u.exit);i!=="none"&&(Ma(e,t,i,null,!1)?l!==void 0?(i=e.stateNode,l.paired=i,i.paired=l,st.delete(t),qa(e,u.onShare)):qa(e,u.onExit):$t(e.child,!1)),st!==null&&Ho(e)}else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)qo(e),e=e.sibling;else st!==null&&Ho(e)}function Z1(e){for(e=e.child;e!==null;){if(e.tag===30){var u=e.memoizedProps,t=mn(u,e.stateNode);u=pn(u.default,u.update),e.flags&=-5,u!=="none"&&Ma(e,t,u,e.memoizedState=[],!1)}else(e.subtreeFlags&33554432)!==0&&Z1(e);e=e.sibling}}function Go(e){if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&(e.flags&18874368)!==0){var u=e.stateNode;u.paired!==null&&(u.paired=null,$t(e.child,!1))}Go(e)}e=e.sibling}}function Er(e){if(e.tag===30)e.stateNode.paired=null,$t(e.child,!1),Go(e);else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)Er(e),e=e.sibling;else Go(e)}function X1(e){for(e=e.child;e!==null;)e.tag===30?$t(e.child,!1):(e.subtreeFlags&33554432)!==0&&X1(e),e=e.sibling}function Yo(e,u,t,l,i,c,d){for(var g=!1;u!==null;){if(u.tag===5){var E=u.stateNode;if(c!==null&&Pu<c.length){var O=c[Pu],R=_0(E);(O.view||R.view)&&(g=!0);var U;if(U=(e.flags&4)===0)if(R.clip)U=!0;else{U=O.rect;var N=R.rect;U=U.y!==N.y||U.x!==N.x||U.height!==N.height||U.width!==N.width}U&&(e.flags|=4),R.abs?R=!O.abs:(O=O.rect,R=R.rect,R=O.height!==R.height||O.width!==R.width),R&&(e.flags|=32)}else e.flags|=32;(e.flags&4)!==0&&Yh(E,Pu===0?t:t+"_"+Pu,i),g&&(e.flags&4)!==0||(Kt===null&&(Kt=[]),Kt.push(E,Pu===0?l:l+"_"+Pu,u.memoizedProps)),Pu++}else(u.tag!==22||u.memoizedState===null)&&(u.tag===30&&d?e.flags|=u.flags&32:Yo(e,u.child,t,l,i,c,d)&&(g=!0));u=u.sibling}return g}function Q1(e,u){for(e=e.child;e!==null;){if(e.tag===30){var t=e.memoizedProps,l=e.stateNode,i=mn(t,l),c=pn(t.default,t.update),d;d=e.memoizedState,e.memoizedState=null,l=e;var g=e.child;Pu=0,i=Yo(l,g,i,i,c,d,!1),(e.flags&4)!==0&&i&&qa(e,t.onUpdate)}else(e.subtreeFlags&33554432)!==0&&Q1(e);e=e.sibling}}var yu=!1,He=!1,Jt=!1,Vo=!1,I1=typeof WeakSet=="function"?WeakSet:Set,xu=null,Wt=!1,Yi=!1,Sr=!1,Zo=!1;function z3(e,u,t){if(e=e.containerInfo,b0=Ja,e=Wf(e),Os(e)){if("selectionStart"in e)var l={start:e.selectionStart,end:e.selectionEnd};else e:{l=(l=e.ownerDocument)&&l.defaultView||window;var i=l.getSelection&&l.getSelection();if(i&&i.rangeCount!==0){l=i.anchorNode;var c=i.anchorOffset,d=i.focusNode;i=i.focusOffset;try{l.nodeType,d.nodeType}catch{l=null;break e}var g=0,E=-1,O=-1,R=0,U=0,N=e,j=null;u:for(;;){for(var $;N!==l||c!==0&&N.nodeType!==3||(E=g+c),N!==d||i!==0&&N.nodeType!==3||(O=g+i),N.nodeType===3&&(g+=N.nodeValue.length),($=N.firstChild)!==null;)j=N,N=$;for(;;){if(N===e)break u;if(j===l&&++R===c&&(E=g),j===d&&++U===i&&(O=g),($=N.nextSibling)!==null)break;N=j,j=N.parentNode}N=$}l=E===-1||O===-1?null:{start:E,end:O}}else l=null}l=l||{start:0,end:0}}else l=null;for(g0={focusedElem:e,selectionRange:l},Ja=!1,t=(t&335544064)===t,xu=u,u=t?9270:1024;xu!==null;){if(e=xu,t&&(l=e.deletions,l!==null))for(c=0;c<l.length;c++)t&&qo(l[c]);if(e.alternate===null&&(e.flags&2)!==0)t&&G1(e),Ar(t);else{if(e.tag===22){if(l=e.alternate,e.memoizedState!==null){l!==null&&l.memoizedState===null&&t&&qo(l),Ar(t);continue}else if(l!==null&&l.memoizedState!==null){t&&G1(e),Ar(t);continue}}l=e.child,(e.subtreeFlags&u)!==0&&l!==null?(l.return=e,xu=l):(t&&Z1(e),Ar(t))}}st=null}function Ar(e){for(;xu!==null;){var u=xu,t=e,l=u.alternate,i=u.flags;switch(u.tag){case 0:case 11:case 15:break;case 1:if((i&1024)!==0&&l!==null){t=void 0,i=l.memoizedProps,l=l.memoizedState;var c=u.stateNode;try{var d=Ql(u.type,i);t=c.getSnapshotBeforeUpdate(d,l),c.__reactInternalSnapshotBeforeUpdate=t}catch(g){Ge(u,u.return,g)}}break;case 3:if((i&1024)!==0){if(l=u.stateNode.containerInfo,t=l.nodeType,t===9)A0(l);else if(t===1)switch(l.nodeName){case"HEAD":case"HTML":case"BODY":A0(l);break;default:l.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;case 30:t&&l!==null&&(t=mn(l.memoizedProps,l.stateNode),i=u.memoizedProps,i=pn(i.default,i.update),i!=="none"&&Ma(l,t,i,l.memoizedState=[],!0));break;default:if((i&1024)!==0)throw Error(r(163))}if(l=u.sibling,l!==null){l.return=u.return,xu=l;break}xu=u.return}}function K1(e,u,t){var l=t.flags;switch(t.tag){case 0:case 11:case 15:Pt(e,t),l&4&&qi(5,t);break;case 1:if(Pt(e,t),l&4)if(e=t.stateNode,u===null)try{e.componentDidMount()}catch(d){Ge(t,t.return,d)}else{var i=Ql(t.type,u.memoizedProps);u=u.memoizedState;try{e.componentDidUpdate(i,u,e.__reactInternalSnapshotBeforeUpdate)}catch(d){Ge(t,t.return,d)}}l&64&&U1(t),l&512&&It(t,t.return);break;case 3:if(Pt(e,t),l&64&&(e=t.updateQueue,e!==null)){if(u=null,t.child!==null)switch(t.child.tag){case 27:case 5:u=t.child.stateNode;break;case 1:u=t.child.stateNode}try{Dd(e,u)}catch(d){Ge(t,t.return,d)}}break;case 27:u===null&&l&4&&q1(t);case 26:case 5:Pt(e,t),u===null&&l&4&&wo(t),l&512&&It(t,t.return);break;case 12:Pt(e,t);break;case 31:Pt(e,t),l&4&&P1(e,t);break;case 13:Pt(e,t),l&4&&eh(e,t),l&64&&(e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(t=Y3.bind(null,t),Ab(e,t))));break;case 22:if(l=t.memoizedState!==null||yu,!l){var c=u!==null&&u.memoizedState!==null||He;u=yu,i=He,yu=l,(He=c)&&!i?(l=2,(t.subtreeFlags&8772)!==0&&(l|=1),Lt(e,t,l)):Pt(e,t),yu=u,He=i}break;case 30:Pt(e,t),l&512&&It(t,t.return);break;case 7:l&512&&It(t,t.return);default:Pt(e,t)}}function Xo(e,u){for(e=e.child;e!==null;)$1(e,u),e=e.sibling}function $1(e,u){switch(e.tag){case 5:case 26:try{var t=e.stateNode;if(u){var l=t.style;typeof l.setProperty=="function"?l.setProperty("display","none","important"):l.display="none"}else{var i=e.stateNode,c=e.memoizedProps.style,d=c!=null&&c.hasOwnProperty("display")?c.display:null;i.style.display=d==null||typeof d=="boolean"?"":(""+d).trim()}}catch(E){Ge(e,e.return,E)}Qo(e,u);break;case 6:try{e.stateNode.nodeValue=u?"":e.memoizedProps,Te=!0}catch(E){Ge(e,e.return,E)}break;case 18:try{var g=e.stateNode;u?Gh(g,!0):Gh(e.stateNode,!1)}catch(E){Ge(e,e.return,E)}break;case 22:case 23:e.memoizedState===null&&Xo(e,u);break;default:Xo(e,u)}}function Qo(e,u){if(e.subtreeFlags&67108864)for(e=e.child;e!==null;){e:{var t=e,l=u;switch(t.tag){case 4:$1(t,l);break e;case 22:t.memoizedState===null&&Qo(t,l);break e;default:Qo(t,l)}}e=e.sibling}}function J1(e){var u=e.alternate;u!==null&&(e.alternate=null,J1(u)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(u=e.stateNode,u!==null&&Hn(u)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Je=null,et=!1;function Rt(e,u,t){for(t=t.child;t!==null;)W1(e,u,t),t=t.sibling}function W1(e,u,t){if(Lu&&typeof Lu.onCommitFiberUnmount=="function")try{Lu.onCommitFiberUnmount(zn,t)}catch{}switch(t.tag){case 26:He||Nu(t,u),Rt(e,u,t),t.memoizedState?t.memoizedState.count--:t.stateNode&&!He&&(t=t.stateNode,t.parentNode.removeChild(t));break;case 27:He||Nu(t,u),Gi(t);var l=Je,i=et;fl(t.type)&&(Je=t.stateNode,et=!1),Rt(e,u,t),t2(t.stateNode,t.type,t.memoizedProps),Je=l,et=i;break;case 5:He||Nu(t,u),Gi(t);case 6:if(t.tag===6&&Gi(t),l=Je,i=et,Je=null,Rt(e,u,t),Je=l,et=i,Je!==null)if(et)try{(Je.nodeType===9?Je.body:Je.nodeName==="HTML"?Je.ownerDocument.body:Je).removeChild(t.stateNode),Te=!0}catch(c){Ge(t,u,c)}else try{Je.removeChild(t.stateNode),Te=!0}catch(c){Ge(t,u,c)}break;case 18:Je!==null&&(et?(e=Je,qh(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,t.stateNode),Wa(e)):qh(Je,t.stateNode));break;case 4:l=Je,i=et,Je=t.stateNode.containerInfo,et=!0,Rt(e,u,t),Je=l,et=i;break;case 0:case 11:case 14:case 15:ll(2,t,u),He||ll(4,t,u),Rt(e,u,t);break;case 1:He||(Nu(t,u),l=t.stateNode,typeof l.componentWillUnmount=="function"&&F1(t,u,l)),Rt(e,u,t);break;case 21:Rt(e,u,t);break;case 22:He=(l=He)||t.memoizedState!==null,Rt(e,u,t),He=l;break;case 30:Nu(t,u),Rt(e,u,t);break;case 7:He||Nu(t,u),Rt(e,u,t);break;default:Rt(e,u,t)}}function P1(e,u){if(u.memoizedState===null&&(e=u.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Wa(e)}catch(t){Ge(u,u.return,t)}}}function eh(e,u){if(u.memoizedState===null&&(e=u.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Wa(e)}catch(t){Ge(u,u.return,t)}}function j3(e){switch(e.tag){case 31:case 13:case 19:var u=e.stateNode;return u===null&&(u=e.stateNode=new I1),u;case 22:return e=e.stateNode,u=e._retryCache,u===null&&(u=e._retryCache=new I1),u;default:throw Error(r(435,e.tag))}}function Tr(e,u){var t=j3(e);u.forEach(function(l){if(!t.has(l)){t.add(l);var i=V3.bind(null,e,l);l.then(i,i)}})}function Zu(e,u,t){var l=u.deletions;if(l!==null)for(var i=0;i<l.length;i++){var c=l[i],d=e,g=u,E=g;e:for(;E!==null;){switch(E.tag){case 27:if(fl(E.type)){Je=E.stateNode,et=!1;break e}break;case 5:Je=E.stateNode,et=!1;break e;case 3:case 4:Je=E.stateNode.containerInfo,et=!0;break e}E=E.return}if(Je===null)throw Error(r(160));W1(d,g,c),Je=null,et=!1,d=c.alternate,d!==null&&(d.return=null),c.return=null}if(u.subtreeFlags&13886)for(u=u.child;u!==null;)uh(u,e,t),u=u.sibling}var wt=null;function uh(e,u,t){var l=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(i&4&&(l=e.updateQueue,l=l!==null?l.events:null,l!==null))for(var c=0;c<l.length;c++){var d=l[c];d.ref.impl=d.nextImpl}Zu(u,e,t),Xu(e),i&4&&(ll(3,e,e.return),qi(3,e),ll(5,e,e.return));break;case 1:Zu(u,e,t),Xu(e),i&512&&(He||l===null||Nu(l,l.return)),i&64&&yu&&(e=e.updateQueue,e!==null&&(u=e.callbacks,u!==null&&(t=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=t===null?u:t.concat(u))));break;case 26:if(c=wt,Zu(u,e,t),Xu(e),i&512&&(He||l===null||Nu(l,l.return)),i&4)if(i=l!==null?l.memoizedState:null,t=e.memoizedState,l===null)if(t===null)if(e.stateNode===null)if(yu)e.stateNode=Fh(e.type,e.memoizedProps,u.containerInfo,e);else{e:{u=e.type,t=e.memoizedProps,i=c.ownerDocument||c;u:switch(u){case"title":l=i.getElementsByTagName("title")[0],(!l||l[on]||l[hu]||l.namespaceURI==="http://www.w3.org/2000/svg"||l.hasAttribute("itemprop"))&&(l=i.createElement(u),i.head.insertBefore(l,i.querySelector("head > title"))),ku(l,u,t),l[hu]=e,cu(l),u=l;break e;case"link":if(c=r2("link","href",i).get(u+(t.href||""))){for(d=0;d<c.length;d++)if(l=c[d],l.getAttribute("href")===(t.href==null||t.href===""?null:t.href)&&l.getAttribute("rel")===(t.rel==null?null:t.rel)&&l.getAttribute("title")===(t.title==null?null:t.title)&&l.getAttribute("crossorigin")===(t.crossOrigin==null?null:t.crossOrigin)){c.splice(d,1);break u}}l=i.createElement(u),ku(l,u,t),i.head.appendChild(l);break;case"meta":if(c=r2("meta","content",i).get(u+(t.content||""))){for(d=0;d<c.length;d++)if(l=c[d],l.getAttribute("content")===(t.content==null?null:""+t.content)&&l.getAttribute("name")===(t.name==null?null:t.name)&&l.getAttribute("property")===(t.property==null?null:t.property)&&l.getAttribute("http-equiv")===(t.httpEquiv==null?null:t.httpEquiv)&&l.getAttribute("charset")===(t.charSet==null?null:t.charSet)){c.splice(d,1);break u}}l=i.createElement(u),ku(l,u,t),i.head.appendChild(l);break;default:throw Error(r(468,u))}l[hu]=e,cu(l),u=l}e.stateNode=u}else yu||z0(c,e.type,e.stateNode);else e.stateNode=c2(c,t,e.memoizedProps);else i!==t?(i===null?(u=l.stateNode,u===null||He||u.parentNode.removeChild(u)):i.count--,t===null?yu||z0(c,e.type,e.stateNode):c2(c,t,e.memoizedProps)):t===null&&e.stateNode!==null&&Lo(e,e.memoizedProps,l.memoizedProps);break;case 27:Zu(u,e,t),Xu(e),i&512&&(He||l===null||Nu(l,l.return)),l!==null&&i&4&&Lo(e,e.memoizedProps,l.memoizedProps);break;case 5:if(c=Jt,Jt=!1,Zu(u,e,t),Jt=c,Xu(e),i&512&&(He||l===null||Nu(l,l.return)),e.flags&32){u=e.stateNode;try{H(u,""),Te=!0}catch(R){Ge(e,e.return,R)}}i&4&&e.stateNode!=null&&(u=e.memoizedProps,Lo(e,u,l!==null?l.memoizedProps:u)),i&1024&&(Vo=!0);break;case 6:if(Zu(u,e,t),Xu(e),i&4){if(e.stateNode===null)throw Error(r(162));u=e.memoizedProps,t=e.stateNode;try{t.nodeValue=u,Te=!0}catch(R){Ge(e,e.return,R)}}break;case 3:if(Te=!1,Hr=null,c=wt,wt=Wi(u.containerInfo),Zu(u,e,t),wt=c,Xu(e),i&4&&l!==null&&l.memoizedState.isDehydrated)try{Wa(u.containerInfo)}catch(R){Ge(e,e.return,R)}Vo&&(Vo=!1,th(e)),Te=!1;break;case 4:i=Jt,Jt=yu,l=Gn(),c=wt,wt=Wi(e.stateNode.containerInfo),Zu(u,e,t),Xu(e),wt=c,Te&&Yi&&(Sr=!0),Te=l,Jt=i;break;case 12:Zu(u,e,t),Xu(e);break;case 31:Zu(u,e,t),Xu(e),i&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,Tr(e,u)));break;case 13:Zu(u,e,t),Xu(e),e.child.flags&8192&&e.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(Nr=wu()),i&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,Tr(e,u)));break;case 22:c=e.memoizedState!==null,d=l!==null&&l.memoizedState!==null;var g=yu,E=He,O=Jt;yu=g||c,Jt=O||c,He=E||d,Zu(u,e,t),He=E,Jt=O,yu=g,Xu(e),i&8192&&(u=e.stateNode,u._visibility=c?u._visibility&-2:u._visibility|1,!c||l===null||d||yu||He||(u=d||He,t=yu,l=He,yu=c||yu,He=u,al(e,2),yu=t,He=l),!c&&Jt||Xo(e,c)),i&4&&(u=e.updateQueue,u!==null&&(t=u.retryQueue,t!==null&&(u.retryQueue=null,Tr(e,t))));break;case 19:Zu(u,e,t),Xu(e),i&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,Tr(e,u)));break;case 30:i&512&&(He||l===null||Nu(l,l.return)),i=Gn(),c=Yi,d=(t&335544064)===t,g=e.memoizedProps,Yi=d&&pn(g.default,g.update)!=="none",Zu(u,e,t),Xu(e),d&&l!==null&&Te&&(e.flags|=4),Yi=c,Te=i;break;case 21:break;case 7:i&512&&(He||l===null||Nu(l,l.return)),l&&l.stateNode!==null&&(l.stateNode._fragmentFiber=e);default:Zu(u,e,t),Xu(e)}}function Xu(e){var u=e.flags;if(u&2){try{for(var t,l=e.return;l!==null;){if(H1(l)){t=l;break}l=l.return}l=null;for(var i=e.return;i!==null;){if(Ro(i)){var c=i.stateNode;l===null?l=[c]:l.push(c)}if(Mo(i))break;i=i.return}var d=l;if(t==null)throw Error(r(160));switch(t.tag){case 27:var g=t.stateNode,E=Uo(e);xr(e,E,g,d);break;case 5:var O=t.stateNode;t.flags&32&&(H(O,""),t.flags&=-33);var R=Uo(e);xr(e,R,O,d);break;case 3:case 4:var U=t.stateNode.containerInfo,N=Uo(e);Fo(e,N,U,d);break;default:throw Error(r(161))}}catch(j){Ge(e,e.return,j)}e.flags&=-3}u&4096&&(e.flags&=-4097)}function th(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var u=e;th(u),u.tag===5&&u.flags&1024&&(u=u.stateNode,Ja=!0,u.reset(),Ja=!1),e=e.sibling}}function Ra(e,u){if(u.subtreeFlags&9270)for(u=u.child;u!==null;)nh(u,e),u=u.sibling;else Q1(u)}function nh(e,u){var t=e.alternate;if(t===null)Bo(e,!1);else switch(e.tag){case 3:if(Zo=Wt=!1,Y1(),Ra(u,e),!Wt&&!Sr){if(e=Kt,e!==null)for(var l=0;l<e.length;l+=3){t=e[l];var i=e[l+1];Vh(t,e[l+2]),t=t.ownerDocument.documentElement,t!==null&&t.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group("+i+")"})}e=u.containerInfo,e=e.nodeType===9?e.documentElement:e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName===""&&(e.style.viewTransitionName="none",e.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group(root)"}),e.animate({width:[0,0],height:[0,0]},{duration:0,fill:"forwards",pseudoElement:"::view-transition"})),Zo=!0}Kt=null;break;case 5:Ra(u,e);break;case 4:l=Wt,Wt=!1,Ra(u,e),Wt&&(Sr=!0),Wt=l;break;case 22:e.memoizedState===null&&(t.memoizedState!==null?Bo(e,!1):Ra(u,e));break;case 30:l=Wt,i=Y1(),Wt=!1,Ra(u,e),Wt&&(e.flags|=4);var c=e.memoizedProps,d=e.stateNode;u=mn(c,d),d=mn(t.memoizedProps,d);var g=pn(c.default,c.update);g==="none"?u=!1:(c=t.memoizedState,t.memoizedState=null,t=e.child,Pu=0,u=Yo(e,t,u,d,g,c,!0),Pu!==(c===null?0:c.length)&&(e.flags|=32)),(e.flags&4)!==0&&u?(qa(e,e.memoizedProps.onUpdate),Kt=i):i!==null&&(i.push.apply(i,Kt),Kt=i),Wt=(e.flags&32)!==0?!0:l;break;default:Ra(u,e)}}function Pt(e,u){if(u.subtreeFlags&8772)for(u=u.child;u!==null;)K1(e,u.alternate,u),u=u.sibling}function al(e,u){for(e=e.child;e!==null;){var t=e,l=u;switch(t.tag){case 0:case 11:case 14:case 15:ll(4,t,t.return),al(t,l);break;case 1:Nu(t,t.return);var i=t.stateNode;typeof i.componentWillUnmount=="function"&&F1(t,t.return,i),al(t,l);break;case 27:(l&2)!==0&&t2(t.stateNode,t.type,t.memoizedProps);case 5:Nu(t,t.return),t.tag!==5&&t.tag!==27||Gi(t),al(t,l);break;case 6:Gi(t);break;case 26:Nu(t,t.return),i=t.stateNode,t.memoizedState!==null||i===null||He||i.parentNode.removeChild(i),al(t,l);break;case 22:t.memoizedState===null&&al(t,l);break;case 30:Nu(t,t.return),al(t,l);break;case 7:Nu(t,t.return);default:al(t,l)}e=e.sibling}}function Lt(e,u,t){for(t=(u.subtreeFlags&8772)!==0?t:t&-2,u=u.child;u!==null;){var l=u.alternate,i=e,c=u,d=c.flags,g=(t&1)!==0;switch(c.tag){case 0:case 11:case 15:Lt(i,c,t),qi(4,c);break;case 1:if(Lt(i,c,t),l=c,i=l.stateNode,typeof i.componentDidMount=="function")try{i.componentDidMount()}catch(R){Ge(l,l.return,R)}if(l=c,i=l.updateQueue,i!==null){var E=l.stateNode;try{var O=i.shared.hiddenCallbacks;if(O!==null)for(i.shared.hiddenCallbacks=null,i=0;i<O.length;i++)Td(O[i],E)}catch(R){Ge(l,l.return,R)}}g&&d&64&&U1(c),It(c,c.return);break;case 27:(t&2)!==0&&q1(c);case 5:c.tag!==5&&c.tag!==27||B1(c),Lt(i,c,t),g&&l===null&&d&4&&wo(c),It(c,c.return);break;case 6:B1(c);break;case 26:E=c.stateNode,c.memoizedState!==null||E===null||yu||z0(Wi(E.ownerDocument),c.type,E),Lt(i,c,t),g&&l===null&&d&4&&wo(c),It(c,c.return);break;case 12:Lt(i,c,t);break;case 31:Lt(i,c,t),g&&d&4&&P1(i,c);break;case 13:Lt(i,c,t),g&&d&4&&eh(i,c);break;case 22:c.memoizedState===null&&Lt(i,c,t),It(c,c.return);break;case 30:Lt(i,c,t),It(c,c.return);break;case 7:It(c,c.return);default:Lt(i,c,t)}u=u.sibling}}function Io(e,u){var t=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),e=null,u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(e=u.memoizedState.cachePool.pool),e!==t&&(e!=null&&e.refCount++,t!=null&&Ni(t))}function Ko(e,u){e=null,u.alternate!==null&&(e=u.alternate.memoizedState.cache),u=u.memoizedState.cache,u!==e&&(u.refCount++,e!=null&&Ni(e))}function At(e,u,t,l){var i=(t&335544064)===t;if(u.subtreeFlags&(i?10262:10256))for(u=u.child;u!==null;)lh(e,u,t,l),u=u.sibling;else i&&X1(u)}function lh(e,u,t,l){var i=(t&335544064)===t;i&&u.alternate===null&&u.return!==null&&u.return.alternate!==null&&Er(u);var c=u.flags;switch(u.tag){case 0:case 11:case 15:At(e,u,t,l),c&2048&&qi(9,u);break;case 1:At(e,u,t,l);break;case 3:At(e,u,t,l),i&&Zo&&(e=e.containerInfo,e=e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,e.style.viewTransitionName==="root"&&(e.style.viewTransitionName=""),e=e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName==="none"&&(e.style.viewTransitionName="")),c&2048&&(c=null,u.alternate!==null&&(c=u.alternate.memoizedState.cache),u=u.memoizedState.cache,u!==c&&(u.refCount++,c!=null&&Ni(c)));break;case 12:if(c&2048){At(e,u,t,l),c=u.stateNode;try{var d=u.memoizedProps,g=d.id,E=d.onPostCommit;typeof E=="function"&&E(g,u.alternate===null?"mount":"update",c.passiveEffectDuration,-0)}catch(O){Ge(u,u.return,O)}}else At(e,u,t,l);break;case 31:At(e,u,t,l);break;case 13:At(e,u,t,l);break;case 23:break;case 22:d=u.stateNode,g=u.alternate,u.memoizedState!==null?(i&&g!==null&&g.memoizedState===null&&Er(g),d._visibility&2?At(e,u,t,l):Vi(e,u)):(i&&g!==null&&g.memoizedState!==null&&Er(u),d._visibility&2?At(e,u,t,l):(d._visibility|=2,wa(e,u,t,l,(u.subtreeFlags&10256)!==0||!1))),c&2048&&Io(g,u);break;case 24:At(e,u,t,l),c&2048&&Ko(u.alternate,u);break;case 30:i&&(c=u.alternate,c!==null&&($t(c.child,!0),$t(u.child,!0))),At(e,u,t,l);break;default:At(e,u,t,l)}}function wa(e,u,t,l,i){for(i=i&&((u.subtreeFlags&10256)!==0||!1),u=u.child;u!==null;){var c=e,d=u,g=t,E=l,O=d.flags;switch(d.tag){case 0:case 11:case 15:wa(c,d,g,E,i),qi(8,d);break;case 23:break;case 22:var R=d.stateNode;d.memoizedState!==null?R._visibility&2?wa(c,d,g,E,i):Vi(c,d):(R._visibility|=2,wa(c,d,g,E,i)),i&&O&2048&&Io(d.alternate,d);break;case 24:wa(c,d,g,E,i),i&&O&2048&&Ko(d.alternate,d);break;default:wa(c,d,g,E,i)}u=u.sibling}}function Vi(e,u){if(u.subtreeFlags&10256)for(u=u.child;u!==null;){var t=e,l=u,i=l.flags;switch(l.tag){case 22:Vi(t,l),i&2048&&Io(l.alternate,l);break;case 24:Vi(t,l),i&2048&&Ko(l.alternate,l);break;default:Vi(t,l)}u=u.sibling}}var Il=8192;function Kl(e,u,t){if(e.subtreeFlags&Il)for(e=e.child;e!==null;)ah(e,u,t),e=e.sibling}function ah(e,u,t){switch(e.tag){case 26:Kl(e,u,t),e.flags&Il&&(e.memoizedState!==null?Fb(t,wt,e.memoizedState,e.memoizedProps):(e=e.stateNode,(u&335544128)===u&&d2(t,e)));break;case 5:Kl(e,u,t),e.flags&Il&&(e=e.stateNode,(u&335544128)===u&&d2(t,e));break;case 3:case 4:var l=wt;wt=Wi(e.stateNode.containerInfo),Kl(e,u,t),wt=l;break;case 22:e.memoizedState===null&&(l=e.alternate,l!==null&&l.memoizedState!==null?(l=Il,Il=16777216,Kl(e,u,t),Il=l):Kl(e,u,t));break;case 30:if((e.flags&Il)!==0&&(l=e.memoizedProps.name,l!=null&&l!=="auto")){var i=e.stateNode;i.paired=null,st===null&&(st=new Map),st.set(l,i)}Kl(e,u,t);break;default:Kl(e,u,t)}}function ih(e){var u=e.alternate;if(u!==null&&(e=u.child,e!==null)){u.child=null;do u=e.sibling,e.sibling=null,e=u;while(e!==null)}}function Zi(e){var u=e.deletions;if((e.flags&16)!==0){if(u!==null)for(var t=0;t<u.length;t++){var l=u[t];xu=l,rh(l,e)}ih(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)ch(e),e=e.sibling}function ch(e){switch(e.tag){case 0:case 11:case 15:Zi(e),e.flags&2048&&ll(9,e,e.return);break;case 3:Zi(e);break;case 12:Zi(e);break;case 22:var u=e.stateNode;e.memoizedState!==null&&u._visibility&2&&(e.return===null||e.return.tag!==13)?(u._visibility&=-3,Dr(e)):Zi(e);break;default:Zi(e)}}function Dr(e){var u=e.deletions;if((e.flags&16)!==0){if(u!==null)for(var t=0;t<u.length;t++){var l=u[t];xu=l,rh(l,e)}ih(e)}for(e=e.child;e!==null;){switch(u=e,u.tag){case 0:case 11:case 15:ll(8,u,u.return),Dr(u);break;case 22:t=u.stateNode,t._visibility&2&&(t._visibility&=-3,Dr(u));break;default:Dr(u)}e=e.sibling}}function rh(e,u){for(;xu!==null;){var t=xu;switch(t.tag){case 0:case 11:case 15:ll(8,t,u);break;case 23:case 22:if(t.memoizedState!==null&&t.memoizedState.cachePool!==null){var l=t.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:Ni(t.memoizedState.cache)}if(l=t.child,l!==null)l.return=t,xu=l;else e:for(t=e;xu!==null;){l=xu;var i=l.sibling,c=l.return;if(J1(l),l===t){xu=null;break e}if(i!==null){i.return=c,xu=i;break e}xu=c}}}var M3={getCacheForType:function(e){var u=Tu(ru),t=u.data.get(e);return t===void 0&&(t=e(),u.data.set(e,t)),t},cacheSignal:function(){return Tu(ru).controller.signal}},R3=typeof WeakMap=="function"?WeakMap:Map,Fe=0,Xe=null,Ne=null,ze=0,qe=0,ot=null,il=!1,La=!1,$o=!1,An=0,nu=0,cl=0,$l=0,Cr=0,ft=0,Ua=0,Xi=null,ut=null,Jo=!1,Nr=0,sh=0,kr=1/0,Or=null,rl=null,uu=0,Ut=null,Jl=null,en=0,Wo=0,Po=null,oh=null,Fa=null,Ba=null,Ha=null,Qi=0,zr=null;function dt(){return(Fe&2)!==0&&ze!==0?ze&-ze:ie.T!==null?s0():ri()}function fh(){if(ft===0)if((ze&536870912)===0||Ce){var e=Rn;Rn<<=1,(Rn&3932160)===0&&(Rn=262144),ft=e}else ft=536870912;return e=Du.current,e!==null&&(e.flags|=32),ft}function qa(e,u){if(u!=null){var t=e.stateNode,l=t.ref;l===null&&(l=t.ref=Zh(mn(e.memoizedProps,t))),Ba===null&&(Ba=[]),Ba.push(u.bind(null,l))}}function tt(e,u,t){(e===Xe&&(qe===2||qe===9)||e.cancelPendingCommit!==null)&&(Ga(e,0),sl(e,ze,ft,!1)),kl(e,t),((Fe&2)===0||e!==Xe)&&(e===Xe&&((Fe&2)===0&&($l|=t),nu===4&&sl(e,ze,ft,!1)),un(e))}function dh(e,u,t){if((Fe&6)!==0)throw Error(r(327));var l=!t&&(u&127)===0&&(u&e.expiredLanes)===0||Ln(e,u),i=l?U3(e,u):u0(e,u,!0),c=l;do{if(i===0){La&&!l&&sl(e,u,0,!1);break}else{if(t=e.current.alternate,c&&!w3(t)){i=u0(e,u,!1),c=!1;continue}if(i===2){if(c=u,e.errorRecoveryDisabledLanes&c)var d=0;else d=e.pendingLanes&-536870913,d=d!==0?d:d&536870912?536870912:0;if(d!==0){u=d;e:{var g=e;i=Xi;var E=g.current.memoizedState.isDehydrated;if(E&&(Ga(g,d).flags|=256),d=u0(g,d,!1),d!==2&&d!==6){if($o&&!E){g.errorRecoveryDisabledLanes|=c,$l|=c,i=4;break e}c=ut,ut=i,c!==null&&(ut===null?ut=c:ut.push.apply(ut,c))}i=d}if(c=!1,i!==2)continue}}if(i===1){Ga(e,0),sl(e,u,0,!0);break}e:{switch(l=e,c=i,c){case 0:case 1:throw Error(r(345));case 4:if((u&4194048)!==u&&(u&62914560)!==u)break;case 6:sl(l,u,ft,!il);break e;case 2:ut=null;break;case 3:case 5:break;default:throw Error(r(329))}if((u&62914560)===u&&(i=Nr+300-wu(),10<i)){if(sl(l,u,ft,!il),wn(l,0,!0)!==0)break e;en=u,l.timeoutHandle=v0(hh.bind(null,l,t,ut,Or,Jo,u,ft,$l,Ua,il,c,"Throttled",-0,0),i);break e}hh(l,t,ut,Or,Jo,u,ft,$l,Ua,il,c,null,-0,0)}}break}while(!0);un(e)}function hh(e,u,t,l,i,c,d,g,E,O,R,U,N,j){e.timeoutHandle=-1;var $=u.subtreeFlags,le=(c&335544064)===c;if(U=null,(le||$&8192||($&16785408)===16785408)&&(U={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Be},st=null,ah(u,c,U),le&&($=U,le=e.containerInfo,le=(le.nodeType===9?le:le.ownerDocument).__reactViewTransition,le!=null&&($.count++,$.waitingForViewTransition=!0,$=uc.bind($),le.finished.then($,$))),$=(c&62914560)===c?Nr-wu():(c&4194048)===c?sh-wu():0,$=Bb(U,$),$!==null)){en=c,e.cancelPendingCommit=$(_h.bind(null,e,u,c,t,l,i,d,g,E,O,R,U,null,N,j)),sl(e,c,d,!O);return}_h(e,u,c,t,l,i,d,g,E,O,R,U)}function w3(e){for(var u=e;;){var t=u.tag;if((t===0||t===11||t===15)&&u.flags&16384&&(t=u.updateQueue,t!==null&&(t=t.stores,t!==null)))for(var l=0;l<t.length;l++){var i=t[l],c=i.getSnapshot;i=i.value;try{if(!ct(c(),i))return!1}catch{return!1}}if(t=u.child,u.subtreeFlags&16384&&t!==null)t.return=u,u=t;else{if(u===e)break;for(;u.sibling===null;){if(u.return===null||u.return===e)return!0;u=u.return}u.sibling.return=u.return,u=u.sibling}}return!0}function sl(e,u,t,l){u=sa(e,u),u&=~Cr,u&=~$l,e.suspendedLanes|=u,e.pingedLanes&=~u,l&&(e.warmLanes|=u),l=e.expirationTimes;for(var i=u;0<i;){var c=31-bu(i),d=1<<c;l[c]=-1,i&=~d}t!==0&&sn(e,t,u)}function jr(){return(Fe&6)===0?(Ii(0),!1):!0}function e0(){if(Ne!==null){if(qe===0)var e=Ne.return;else e=Ne,yn=Fl=null,co(e),Na=null,zi=0,e=Ne;for(;e!==null;)L1(e.alternate,e),e=e.return;Ne=null}}function Ga(e,u){var t=e.timeoutHandle;return t!==-1&&(e.timeoutHandle=-1,ab(t)),t=e.cancelPendingCommit,t!==null&&(e.cancelPendingCommit=null,t()),en=0,e0(),Xe=e,Ne=t=bn(e.current,null),ze=u,qe=0,ot=null,il=!1,La=Ln(e,u),$o=!1,Ua=ft=Cr=$l=cl=nu=0,ut=Xi=null,Jo=!1,An=sa(e,u),Hc(),t}function mh(e,u){Ee=null,ie.H=fr,u===Ca||u===Jc?(u=_d(),qe=3):u===Is?(u=_d(),qe=4):qe=u===So?8:u!==null&&typeof u=="object"&&typeof u.then=="function"?6:1,ot=u,Ne===null&&(nu=1,dr(e,vt(u,e.current)))}function ph(){var e=Du.current;return e===null?!0:(ze&4194048)===ze?Bu===null:(ze&62914560)===ze||(ze&536870912)!==0?e===Bu:!1}function bh(){var e=ie.H;return ie.H=fr,e===null?fr:e}function gh(){var e=ie.A;return ie.A=M3,e}function Mr(){nu=4,il||(ze&4194048)!==ze&&Du.current!==null||(La=!0),(cl&134217727)===0&&($l&134217727)===0||Xe===null||sl(Xe,ze,ft,!1)}function u0(e,u,t){var l=Fe;Fe|=2;var i=bh(),c=gh();(Xe!==e||ze!==u)&&(Or=null,Ga(e,u)),u=!1;var d=nu;e:do try{if(qe!==0&&Ne!==null){var g=Ne,E=ot;switch(qe){case 8:e0(),d=6;break e;case 3:case 2:case 9:case 6:Du.current===null&&(u=!0);var O=qe;if(qe=0,ot=null,Ya(e,g,E,O),t&&La){d=0;break e}break;default:O=qe,qe=0,ot=null,Ya(e,g,E,O)}}L3(),d=nu;break}catch(R){mh(e,R)}while(!0);return u&&e.shellSuspendCounter++,yn=Fl=null,Fe=l,ie.H=i,ie.A=c,Ne===null&&(Xe=null,ze=0,Hc()),d}function L3(){for(;Ne!==null;)yh(Ne)}function U3(e,u){var t=Fe;Fe|=2;var l=bh(),i=gh();Xe!==e||ze!==u?(Or=null,kr=wu()+500,Ga(e,u)):La=Ln(e,u);e:do try{if(qe!==0&&Ne!==null){u=Ne;var c=ot;u:switch(qe){case 1:qe=0,ot=null,Ya(e,u,c,1);break;case 2:case 9:if(xd(c)){qe=0,ot=null,xh(u);break}u=function(){qe!==2&&qe!==9||Xe!==e||(qe=7),un(e)},c.then(u,u);break e;case 3:qe=7;break e;case 4:qe=5;break e;case 7:xd(c)?(qe=0,ot=null,xh(u)):(qe=0,ot=null,Ya(e,u,c,7));break;case 5:var d=null;switch(Ne.tag){case 26:d=Ne.memoizedState;case 5:case 27:var g=Ne;if(d?o2(d):g.stateNode.complete){qe=0,ot=null;var E=g.sibling;if(E!==null)Ne=E;else{var O=g.return;O!==null?(Ne=O,Rr(O)):Ne=null}break u}}qe=0,ot=null,Ya(e,u,c,5);break;case 6:qe=0,ot=null,Ya(e,u,c,6);break;case 8:e0(),nu=6;break e;default:throw Error(r(462))}}F3();break}catch(R){mh(e,R)}while(!0);return yn=Fl=null,ie.H=l,ie.A=i,Fe=t,Ne!==null?0:(Xe=null,ze=0,Hc(),nu)}function F3(){for(;Ne!==null&&!la();)yh(Ne)}function yh(e){var u=R1(e.alternate,e,An);e.memoizedProps=e.pendingProps,u===null?Rr(e):Ne=u}function xh(e){var u=e,t=u.alternate;switch(u.tag){case 15:case 0:u=C1(t,u,u.pendingProps,u.type,void 0,ze);break;case 11:u=C1(t,u,u.pendingProps,u.type.render,u.ref,ze);break;case 5:co(u);var l=u;l===gu&&(Ce?(Xc(l),l.tag===5&&l.stateNode!=null&&(Qe=l.stateNode)):(Xc(l),Ce=!0));default:L1(t,u),u=Ne=rd(u,An),u=R1(t,u,An)}e.memoizedProps=e.pendingProps,u===null?Rr(e):Ne=u}function Ya(e,u,t,l){yn=Fl=null,co(u),Na=null,zi=0;var i=u.return;try{if(T3(e,i,u,t,ze)){nu=1,dr(e,vt(t,e.current)),Ne=null;return}}catch(c){if(i!==null)throw Ne=i,c;nu=1,dr(e,vt(t,e.current)),Ne=null;return}u.flags&32768?(Ce||l===1?e=!0:La||(ze&536870912)!==0?e=!1:(il=e=!0,(l===2||l===9||l===3||l===6)&&(l=Du.current,l!==null&&l.tag===13&&(l.flags|=16384))),vh(u,e)):Rr(u)}function Rr(e){var u=e;do{if((u.flags&32768)!==0){vh(u,il);return}e=u.return;var t=k3(u.alternate,u,An);if(t!==null){Ne=t;return}if(u=u.sibling,u!==null){Ne=u;return}Ne=u=e}while(u!==null);nu===0&&(nu=5)}function vh(e,u){do{var t=O3(e.alternate,e);if(t!==null){t.flags&=32767,Ne=t;return}if(t=e.return,t!==null&&(t.flags|=32768,t.subtreeFlags=0,t.deletions=null),!u&&(e=e.sibling,e!==null)){Ne=e;return}Ne=e=t}while(e!==null);nu=6,Ne=null}function _h(e,u,t,l,i,c,d,g,E,O,R,U){e.cancelPendingCommit=null;do wr();while(uu!==0);if((Fe&6)!==0)throw Error(r(327));if(u!==null){if(u===e.current)throw Error(r(177));e===Xe&&(Ne=Xe=null,ze=0),Jl=u,Ut=e,en=t,Po=i,oh=l,B3(e,u,t,d,g,E,U)}}function B3(e,u,t,l,i,c,d){var g=u.lanes|u.childLanes;if(Wo=g,g|=ws,eu(e,t,g,l,i,c),Ba=null,(t&335544064)===t?(Ha=h3(e),l=10262):(Ha=null,l=10256),(u.subtreeFlags&l)!==0||(u.flags&l)!==0?(e.callbackNode=null,e.callbackPriority=0,Z3(gt,function(){return a0(),null})):(e.callbackNode=null,e.callbackPriority=0),vr=!1,l=(u.flags&13878)!==0,(u.subtreeFlags&13878)!==0||l){l=ie.T,ie.T=null,i=me.p,me.p=2,c=Fe,Fe|=4;try{z3(e,u,t)}finally{Fe=c,me.p=i,ie.T=l}}uu=1,vr?Fa=fb(d,e.containerInfo,Ha,t0,n0,q3,l0,a0,H3):(t0(),n0(),l0())}function H3(e){if(uu!==0){var u=Ut.onRecoverableError;u(e,{componentStack:null})}}function q3(){uu===3&&(uu=0,nh(Jl,Ut),uu=4)}function t0(){if(uu===1){uu=0;var e=Ut,u=Jl,t=en,l=(u.flags&13878)!==0;if((u.subtreeFlags&13878)!==0||l){l=ie.T,ie.T=null;var i=me.p;me.p=2;var c=Fe;Fe|=4;try{Yi=Sr=!1,uh(u,e,t),t=g0;var d=Wf(e.containerInfo),g=t.focusedElem,E=t.selectionRange;if(d!==g&&g&&g.ownerDocument&&Jf(g.ownerDocument.documentElement,g)){if(E!==null&&Os(g)){var O=E.start,R=E.end;if(R===void 0&&(R=O),"selectionStart"in g)g.selectionStart=O,g.selectionEnd=Math.min(R,g.value.length);else{var U=g.ownerDocument||document,N=U&&U.defaultView||window;if(N.getSelection){var j=N.getSelection(),$=g.textContent.length,le=Math.min(E.start,$),Se=E.end===void 0?le:Math.min(E.end,$);!j.extend&&le>Se&&(d=Se,Se=le,le=d);var k=$f(g,le),S=$f(g,Se);if(k&&S&&(j.rangeCount!==1||j.anchorNode!==k.node||j.anchorOffset!==k.offset||j.focusNode!==S.node||j.focusOffset!==S.offset)){var z=U.createRange();z.setStart(k.node,k.offset),j.removeAllRanges(),le>Se?(j.addRange(z),j.extend(S.node,S.offset)):(z.setEnd(S.node,S.offset),j.addRange(z))}}}}for(U=[],j=g;j=j.parentNode;)j.nodeType===1&&U.push({element:j,left:j.scrollLeft,top:j.scrollTop});for(typeof g.focus=="function"&&g.focus(),g=0;g<U.length;g++){var w=U[g];w.element.scrollLeft=w.left,w.element.scrollTop=w.top}}Ja=!!b0,g0=b0=null}finally{Fe=c,me.p=i,ie.T=l}}e.current=u,uu=2}}function n0(){if(uu===2){uu=0;var e=Ut,u=Jl,t=(u.flags&8772)!==0;if((u.subtreeFlags&8772)!==0||t){t=ie.T,ie.T=null;var l=me.p;me.p=2;var i=Fe;Fe|=4;try{K1(e,u.alternate,u)}finally{Fe=i,me.p=l,ie.T=t}}uu=3}}function l0(){if(uu===4||uu===3){uu=0;var e=Fa;Fa=null,Ac();var u=Ut,t=Jl,l=en,i=oh,c=(l&335544064)===l?10262:10256;if((t.subtreeFlags&c)!==0||(t.flags&c)!==0?uu=5:(uu=0,Jl=Ut=null,Eh(u,u.pendingLanes)),c=u.pendingLanes,c===0&&(rl=null),oa(l),t=t.stateNode,Lu&&typeof Lu.onCommitFiberRoot=="function")try{Lu.onCommitFiberRoot(zn,t,void 0,(t.current.flags&128)===128)}catch{}if(i!==null){t=ie.T,c=me.p,me.p=2,ie.T=null;try{for(var d=u.onRecoverableError,g=0;g<i.length;g++){var E=i[g];d(E.value,{componentStack:E.stack})}}finally{ie.T=t,me.p=c}}if(i=Ba,d=Ha,Ha=null,i!==null&&(Ba=null,d===null&&(d=[]),e!==null))for(E=0;E<i.length;E++)t=(0,i[E])(d),t!==void 0&&e.finished.finally(t);(en&3)!==0&&wr(),un(u),c=u.pendingLanes,(l&261930)!==0&&(c&42)!==0?u===zr?Qi++:(Qi=0,zr=u):(Qi=0,zr=null),Ii(0)}}function Eh(e,u){(e.pooledCacheLanes&=u)===0&&(u=e.pooledCache,u!=null&&(e.pooledCache=null,Ni(u)))}function wr(){return Fa!==null&&(Fa.skipTransition(),Fa=null),t0(),n0(),l0(),a0()}function a0(){if(uu!==5)return!1;var e=Ut,u=Wo;Wo=0;var t=oa(en),l=ie.T,i=me.p;try{me.p=32>t?32:t,ie.T=null,t=Po,Po=null;var c=Ut,d=en;if(uu=0,Jl=Ut=null,en=0,(Fe&6)!==0)throw Error(r(331));var g=Fe;if(Fe|=4,ch(c.current),lh(c,c.current,d,t),Fe=g,Ii(0,!1),Lu&&typeof Lu.onPostCommitFiberRoot=="function")try{Lu.onPostCommitFiberRoot(zn,c)}catch{}return!0}finally{me.p=i,ie.T=l,Eh(e,u)}}function Sh(e,u,t){u=vt(t,u),u=Eo(e.stateNode,u,2),e=el(e,u,2),e!==null&&(kl(e,2),un(e))}function Ge(e,u,t){if(e.tag===3)Sh(e,e,t);else for(;u!==null;){if(u.tag===3){Sh(u,e,t);break}else if(u.tag===1){var l=u.stateNode;if(typeof u.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(rl===null||!rl.has(l))){e=vt(t,e),t=x1(2),l=el(u,t,2),l!==null&&(v1(t,l,u,e),kl(l,2),un(l));break}}u=u.return}}function i0(e,u,t){var l=e.pingCache;if(l===null){l=e.pingCache=new R3;var i=new Set;l.set(u,i)}else i=l.get(u),i===void 0&&(i=new Set,l.set(u,i));i.has(t)||($o=!0,i.add(t),e=G3.bind(null,e,u,t),u.then(e,e))}function G3(e,u,t){var l=e.pingCache;l!==null&&l.delete(u),e.pingedLanes|=e.suspendedLanes&t,e.warmLanes&=~t,Xe===e&&(ze&t)===t&&((nu===4||nu===3&&(ze&62914560)===ze&&300>wu()-Nr)&&(Fe&2)===0?Ga(e,0):Cr|=t,Ua===ze&&(Ua=0)),un(e)}function Ah(e,u){u===0&&(u=Un()),e=wl(e,u),e!==null&&(kl(e,u),un(e))}function Y3(e){var u=e.memoizedState,t=0;u!==null&&(t=u.retryLane),Ah(e,t)}function V3(e,u){var t=0;switch(e.tag){case 31:case 13:var l=e.stateNode,i=e.memoizedState;i!==null&&(t=i.retryLane);break;case 19:l=e.stateNode;break;case 22:l=e.stateNode._retryCache;break;default:throw Error(r(314))}l!==null&&l.delete(u),Ah(e,t)}function Z3(e,u){return Ht(e,u)}var Va=null,Za=null,c0=!1,Lr=!1,r0=!1,ol=0;function un(e){e!==Za&&e.next===null&&(Za===null?Va=Za=e:Za=Za.next=e),Lr=!0,c0||(c0=!0,Q3())}function Ii(e,u){if(!r0&&Lr){r0=!0;do for(var t=!1,l=Va;l!==null;){if(e!==0){var i=l.pendingLanes;if(i===0)var c=0;else{var d=l.suspendedLanes,g=l.pingedLanes;c=(1<<31-bu(42|e)+1)-1,c&=i&~(d&~g),c=c&201326741?c&201326741|1:c?c|2:0}c!==0&&(t=!0,Nh(l,c))}else c=ze,c=wn(l,l===Xe?c:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(c&3)===0||Ln(l,c)||(t=!0,Nh(l,c));l=l.next}while(t);r0=!1}}function X3(){Th()}function Th(){Lr=c0=!1;var e=0;ol!==0&&lb()&&(e=ol);for(var u=wu(),t=null,l=Va;l!==null;){var i=l.next,c=Dh(l,u);c===0?(l.next=null,t===null?Va=i:t.next=i,i===null&&(Za=t)):(t=l,(e!==0||(c&3)!==0)&&(Lr=!0)),l=i}uu!==0&&uu!==5||Ii(e),ol!==0&&(ol=0)}function Dh(e,u){for(var t=e.suspendedLanes,l=e.pingedLanes,i=e.expirationTimes,c=e.pendingLanes&-62914561;0<c;){var d=31-bu(c),g=1<<d,E=i[d];E===-1?((g&t)===0||(g&l)!==0)&&(i[d]=ys(g,u)):E<=u&&(e.expiredLanes|=g),c&=~g}if(u=Xe,t=ze,t=wn(e,e===u?t:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l=e.callbackNode,t===0||e===u&&(qe===2||qe===9)||e.cancelPendingCommit!==null)return l!==null&&l!==null&&kn(l),e.callbackNode=null,e.callbackPriority=0;if((t&3)===0||Ln(e,t)){if(u=t&-t,u===e.callbackPriority)return u;switch(l!==null&&kn(l),oa(t)){case 2:case 8:t=ia;break;case 32:t=gt;break;case 268435456:t=qt;break;default:t=gt}return l=Ch.bind(null,e),t=Ht(t,l),e.callbackPriority=u,e.callbackNode=t,u}return l!==null&&l!==null&&kn(l),e.callbackPriority=2,e.callbackNode=null,2}function Ch(e,u){if(uu!==0&&uu!==5)return e.callbackNode=null,e.callbackPriority=0,null;var t=e.callbackNode;if(wr()&&e.callbackNode!==t)return null;var l=ze;return l=wn(e,e===Xe?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l===0?null:(dh(e,l,u),Dh(e,wu()),e.callbackNode!=null&&e.callbackNode===t?Ch.bind(null,e):null)}function Nh(e,u){if(wr())return null;dh(e,u,!0)}function Q3(){ib(function(){(Fe&6)!==0?Ht(aa,X3):Th()})}function s0(){if(ol===0){var e=ql;e===0&&(e=Mn,Mn<<=1,(Mn&261888)===0&&(Mn=256)),ol=e}return ol}function kh(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:ve(e)}function I3(e,u,t,l,i){if(u==="submit"&&t&&t.stateNode===i){var c=kh((i[Uu]||null).action),d=l.submitter;d&&(u=(u=d[Uu]||null)?kh(u.formAction):d.getAttribute("formAction"),u!==null&&(c=u,d=null));var g=new Lc("action","action",null,l,i);e.push({event:g,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(ol!==0){var E=new FormData(i,d);go(t,{pending:!0,data:E,method:i.method,action:c},null,E)}}else typeof c=="function"&&(g.preventDefault(),E=new FormData(i,d),go(t,{pending:!0,data:E,method:i.method,action:c},c,E))},currentTarget:i}]})}}for(var o0=0;o0<Rs.length;o0++){var f0=Rs[o0],K3=f0.toLowerCase(),$3=f0[0].toUpperCase()+f0.slice(1);Mt(K3,"on"+$3)}Mt(ud,"onAnimationEnd"),Mt(td,"onAnimationIteration"),Mt(nd,"onAnimationStart"),Mt("dblclick","onDoubleClick"),Mt("focusin","onFocus"),Mt("focusout","onBlur"),Mt(a3,"onTransitionRun"),Mt(i3,"onTransitionStart"),Mt(c3,"onTransitionCancel"),Mt(ld,"onTransitionEnd"),Vt("onMouseEnter",["mouseout","mouseover"]),Vt("onMouseLeave",["mouseout","mouseover"]),Vt("onPointerEnter",["pointerout","pointerover"]),Vt("onPointerLeave",["pointerout","pointerover"]),Yt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Yt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Yt("onBeforeInput",["compositionend","keypress","textInput","paste"]),Yt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Yt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Yt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ki="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(" "),J3=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Ki));function Oh(e,u){u=(u&4)!==0;for(var t=0;t<e.length;t++){var l=e[t],i=l.event;l=l.listeners;e:{var c=void 0;if(u)for(var d=l.length-1;0<=d;d--){var g=l[d],E=g.instance,O=g.currentTarget;if(g=g.listener,E!==c&&i.isPropagationStopped())break e;c=g,i.currentTarget=O;try{c(i)}catch(R){Bc(R)}i.currentTarget=null,c=E}else for(d=0;d<l.length;d++){if(g=l[d],E=g.instance,O=g.currentTarget,g=g.listener,E!==c&&i.isPropagationStopped())break e;c=g,i.currentTarget=O;try{c(i)}catch(R){Bc(R)}i.currentTarget=null,c=E}}}}function ke(e,u){var t=u[si];t===void 0&&(t=u[si]=new Set);var l=e+"__bubble";t.has(l)||(zh(u,e,2,!1),t.add(l))}function d0(e,u,t){var l=0;u&&(l|=4),zh(t,e,l,u)}var Ur="_reactListening"+Math.random().toString(36).slice(2);function h0(e){if(!e[Ur]){e[Ur]=!0,di.forEach(function(t){t!=="selectionchange"&&(J3.has(t)||d0(t,!1,e),d0(t,!0,e))});var u=e.nodeType===9?e:e.ownerDocument;u===null||u[Ur]||(u[Ur]=!0,d0("selectionchange",!1,u))}}function zh(e,u,t,l){switch(v2(u)){case 2:var i=Yb;break;case 8:i=Vb;break;default:i=M0}t=i.bind(null,u,t,e),i=void 0,!vs||u!=="touchstart"&&u!=="touchmove"&&u!=="wheel"||(i=!0),l?i!==void 0?e.addEventListener(u,t,{capture:!0,passive:i}):e.addEventListener(u,t,!0):i!==void 0?e.addEventListener(u,t,{passive:i}):e.addEventListener(u,t,!1)}function m0(e,u,t,l,i){var c=l;if((u&1)===0&&(u&2)===0&&l!==null)e:for(;;){if(l===null)return;var d=l.tag;if(d===3||d===4){var g=l.stateNode.containerInfo;if(g===i)break;if(d===4)for(d=l.return;d!==null;){var E=d.tag;if((E===3||E===4)&&d.stateNode.containerInfo===i)return;d=d.return}for(;g!==null;){if(d=fn(g),d===null)return;if(E=d.tag,E===5||E===6||E===26||E===27){l=c=d;continue e}g=g.parentNode}}l=l.return}zf(function(){var O=c,R=mu(t),U=[];e:{var N=ad.get(e);if(N!==void 0){var j=Lc,$=e;switch(e){case"keypress":if(Rc(t)===0)break e;case"keydown":case"keyup":j=wp;break;case"focusin":$="focus",j=As;break;case"focusout":$="blur",j=As;break;case"beforeblur":case"afterblur":j=As;break;case"click":if(t.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":j=Rf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":j=Sp;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":j=Hp;break;case ud:case td:case nd:j=Dp;break;case ld:j=Gp;break;case"scroll":case"scrollend":j=_p;break;case"wheel":j=Vp;break;case"copy":case"cut":case"paste":j=Np;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":j=Lf;break;case"submit":j=Fp;break;case"toggle":case"beforetoggle":j=Xp}var le=(u&4)!==0,Se=!le&&(e==="scroll"||e==="scrollend"),k=le?N!==null?N+"Capture":null:N;le=[];for(var S=O,z;S!==null;){var w=S;if(z=w.stateNode,w=w.tag,w!==5&&w!==26&&w!==27||z===null||k===null||(w=gi(S,k),w!=null&&le.push($i(S,w,z))),Se)break;S=S.return}0<le.length&&(N=new j(N,$,null,t,R),U.push({event:N,listeners:le}))}}if((u&7)===0){e:{if(j=e==="mouseover"||e==="pointerover",N=e==="mouseout"||e==="pointerout",j&&t!==Ju&&($=t.relatedTarget||t.fromElement)&&(fn($)||$[Hu]))break e;(N||j)&&($=R.window===R?R:(j=R.ownerDocument)?j.defaultView||j.parentWindow:window,N?(j=t.relatedTarget||t.toElement,N=O,j=j?fn(j):null,j!==null&&(Se=f(j),le=j.tag,j!==Se||le!==5&&le!==27&&le!==6)&&(j=null)):(N=null,j=O),N!==j&&(le=Rf,w="onMouseLeave",k="onMouseEnter",S="mouse",(e==="pointerout"||e==="pointerover")&&(le=Lf,w="onPointerLeave",k="onPointerEnter",S="pointer"),Se=N==null?$:zl(N),z=j==null?$:zl(j),$=new le(w,S+"leave",N,t,R),$.target=Se,$.relatedTarget=z,w=null,fn(R)===O&&(le=new le(k,S+"enter",j,t,R),le.target=z,le.relatedTarget=Se,w=le),Se=w,le=N&&j?ue(N,j,W3):null,N!==null&&jh(U,$,N,le,!1),j!==null&&Se!==null&&jh(U,Se,j,le,!0)))}e:{if(N=O?zl(O):window,j=N.nodeName&&N.nodeName.toLowerCase(),j==="select"||j==="input"&&N.type==="file")var te=Vf;else if(Gf(N))if(Zf)te=t3;else{te=e3;var je=Pp}else j=N.nodeName,!j||j.toLowerCase()!=="input"||N.type!=="checkbox"&&N.type!=="radio"?O&&F(O.elementType)&&(te=Vf):te=u3;if(te&&(te=te(e,O))){Yf(U,te,t,R);break e}je&&je(e,N,O)}switch(je=O?zl(O):window,e){case"focusin":(Gf(je)||je.contentEditable==="true")&&(xa=je,zs=O,Ti=null);break;case"focusout":Ti=zs=xa=null;break;case"mousedown":js=!0;break;case"contextmenu":case"mouseup":case"dragend":js=!1,Pf(U,t,R);break;case"selectionchange":if(l3)break;case"keydown":case"keyup":Pf(U,t,R)}var oe;if(Ds)e:{switch(e){case"compositionstart":var be="onCompositionStart";break e;case"compositionend":be="onCompositionEnd";break e;case"compositionupdate":be="onCompositionUpdate";break e}be=void 0}else ya?Hf(e,t)&&(be="onCompositionEnd"):e==="keydown"&&t.keyCode===229&&(be="onCompositionStart");be&&(Uf&&t.locale!=="ko"&&(ya||be!=="onCompositionStart"?be==="onCompositionEnd"&&ya&&(oe=jf()):(Zn=R,_s="value"in Zn?Zn.value:Zn.textContent,ya=!0)),je=Fr(O,be),0<je.length&&(be=new wf(be,e,null,t,R),U.push({event:be,listeners:je}),oe?be.data=oe:(oe=qf(t),oe!==null&&(be.data=oe)))),(oe=Ip?Kp(e,t):$p(e,t))&&(be=Fr(O,"onBeforeInput"),0<be.length&&(je=new wf("onBeforeInput","beforeinput",null,t,R),U.push({event:je,listeners:be}),je.data=oe)),I3(U,e,O,t,R)}Oh(U,u)})}function $i(e,u,t){return{instance:e,listener:u,currentTarget:t}}function Fr(e,u){for(var t=u+"Capture",l=[];e!==null;){var i=e,c=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||c===null||(i=gi(e,t),i!=null&&l.unshift($i(e,i,c)),i=gi(e,u),i!=null&&l.push($i(e,i,c))),e.tag===3)return l;e=e.return}return[]}function W3(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function jh(e,u,t,l,i){for(var c=u._reactName,d=[];t!==null&&t!==l;){var g=t,E=g.alternate,O=g.stateNode;if(g=g.tag,E!==null&&E===l)break;g!==5&&g!==26&&g!==27||O===null||(E=O,i?(O=gi(t,c),O!=null&&d.unshift($i(t,O,E))):i||(O=gi(t,c),O!=null&&d.push($i(t,O,E)))),t=t.return}d.length!==0&&e.push({event:u,listeners:d})}var P3=/\r\n?/g,eb=/\u0000|\uFFFD/g;function Mh(e){return(typeof e=="string"?e:""+e).replace(P3,`
9
+ `).replace(eb,"")}function Rh(e,u){return u=Mh(u),Mh(e)===u}function Ye(e,u,t,l,i,c){switch(t){case"children":if(typeof l=="string")u==="body"||u==="textarea"&&l===""||H(e,l);else if(typeof l=="number"||typeof l=="bigint")u!=="body"&&H(e,""+l);else return;break;case"className":ma(e,"class",l);break;case"tabIndex":ma(e,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":ma(e,t,l);break;case"style":B(e,l,c);return;case"data":if(u!=="object"){ma(e,"data",l);break}case"src":case"href":if(l===""&&(u!=="a"||t!=="href")){e.removeAttribute(t);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(t);break}l=ve(l),e.setAttribute(t,l);break;case"action":case"formAction":if(typeof l=="function"){e.setAttribute(t,"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 c=="function"&&(t==="formAction"?(u!=="input"&&Ye(e,u,"name",i.name,i,null),Ye(e,u,"formEncType",i.formEncType,i,null),Ye(e,u,"formMethod",i.formMethod,i,null),Ye(e,u,"formTarget",i.formTarget,i,null)):(Ye(e,u,"encType",i.encType,i,null),Ye(e,u,"method",i.method,i,null),Ye(e,u,"target",i.target,i,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(t);break}l=ve(l),e.setAttribute(t,l);break;case"onClick":l!=null&&(e.onclick=Be);return;case"onScroll":l!=null&&ke("scroll",e);return;case"onScrollEnd":l!=null&&ke("scrollend",e);return;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(r(61));if(t=l.__html,t!=null){if(i.children!=null)throw Error(r(60));c?.__html!==t&&(e.innerHTML=t)}}break;case"multiple":e.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":e.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){e.removeAttribute("xlink:href");break}t=ve(l),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",t);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(t,l):e.removeAttribute(t);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"credentialless":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":l&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(t,""):e.removeAttribute(t);break;case"capture":case"download":l===!0?e.setAttribute(t,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(t,l):e.removeAttribute(t);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?e.setAttribute(t,l):e.removeAttribute(t);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?e.removeAttribute(t):e.setAttribute(t,l);break;case"popover":ke("beforetoggle",e),ke("toggle",e),Fu(e,"popover",l);break;case"xlinkActuate":$u(e,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":$u(e,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":$u(e,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":$u(e,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":$u(e,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":$u(e,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":$u(e,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":$u(e,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":$u(e,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":Fu(e,"is",l);break;case"innerText":case"textContent":return;default:if(!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")t=se.get(t)||t,Fu(e,t,l);else return}Te=!0}function p0(e,u,t,l,i,c){switch(t){case"style":B(e,l,c);return;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(r(61));if(t=l.__html,t!=null){if(i.children!=null)throw Error(r(60));c?.__html!==t&&(e.innerHTML=t)}}break;case"children":if(typeof l=="string")H(e,l);else if(typeof l=="number"||typeof l=="bigint")H(e,""+l);else return;break;case"onScroll":l!=null&&ke("scroll",e);return;case"onScrollEnd":l!=null&&ke("scrollend",e);return;case"onClick":l!=null&&(e.onclick=Be);return;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":return;case"innerText":case"textContent":return;default:if(!zc.hasOwnProperty(t))e:{if(t[0]==="o"&&t[1]==="n"&&(i=t.endsWith("Capture"),c=t.slice(2,i?t.length-7:void 0),u=e[Uu]||null,u=u!=null?u[t]:null,typeof u=="function"&&e.removeEventListener(c,u,i),typeof l=="function")){typeof u!="function"&&u!==null&&(t in e?e[t]=null:e.hasAttribute(t)&&e.removeAttribute(t)),e.addEventListener(c,l,i);break e}Te=!0,t in e?e[t]=l:l===!0?e.setAttribute(t,""):Fu(e,t,l)}return}Te=!0}function ku(e,u,t){switch(u){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ke("error",e),ke("load",e);var l=!1,i=!1,c;for(c in t)if(t.hasOwnProperty(c)){var d=t[c];if(d!=null)switch(c){case"src":l=!0;break;case"srcSet":i=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,u));default:Ye(e,u,c,d,t,null)}}i&&Ye(e,u,"srcSet",t.srcSet,t,null),l&&Ye(e,u,"src",t.src,t,null);return;case"input":ke("invalid",e);var g=c=d=i=null,E=null,O=null;for(l in t)if(t.hasOwnProperty(l)){var R=t[l];if(R!=null)switch(l){case"name":i=R;break;case"type":d=R;break;case"checked":E=R;break;case"defaultChecked":O=R;break;case"value":c=R;break;case"defaultValue":g=R;break;case"children":case"dangerouslySetInnerHTML":if(R!=null)throw Error(r(137,u));break;default:Ye(e,u,l,R,t,null)}}jc(e,c,g,E,O,d,i,!1);return;case"select":ke("invalid",e),l=d=c=null;for(i in t)if(t.hasOwnProperty(i)&&(g=t[i],g!=null))switch(i){case"value":c=g;break;case"defaultValue":d=g;break;case"multiple":l=g;default:Ye(e,u,i,g,t,null)}u=c,t=d,e.multiple=!!l,u!=null?Zt(e,!!l,u,!1):t!=null&&Zt(e,!!l,t,!0);return;case"textarea":ke("invalid",e),c=i=l=null;for(d in t)if(t.hasOwnProperty(d)&&(g=t[d],g!=null))switch(d){case"value":l=g;break;case"defaultValue":i=g;break;case"children":c=g;break;case"dangerouslySetInnerHTML":if(g!=null)throw Error(r(91));break;default:Ye(e,u,d,g,t,null)}ba(e,l,i,c);return;case"option":for(E in t)t.hasOwnProperty(E)&&(l=t[E],l!=null)&&(E==="selected"?e.selected=l&&typeof l!="function"&&typeof l!="symbol":Ye(e,u,E,l,t,null));return;case"dialog":ke("beforetoggle",e),ke("toggle",e),ke("cancel",e),ke("close",e);break;case"iframe":case"object":ke("load",e);break;case"video":case"audio":for(l=0;l<Ki.length;l++)ke(Ki[l],e);break;case"image":ke("error",e),ke("load",e);break;case"details":ke("toggle",e);break;case"embed":case"source":case"link":ke("error",e),ke("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(O in t)if(t.hasOwnProperty(O)&&(l=t[O],l!=null))switch(O){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,u));default:Ye(e,u,O,l,t,null)}return;default:if(F(u)){for(R in t)t.hasOwnProperty(R)&&(l=t[R],l!==void 0&&p0(e,u,R,l,t,void 0));return}}for(g in t)t.hasOwnProperty(g)&&(l=t[g],l!=null&&Ye(e,u,g,l,t,null))}var ub={};function tb(e,u,t,l){switch(u){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var i=null,c=null,d=null,g=null,E=null,O=null,R=null;for(j in t){var U=t[j];if(t.hasOwnProperty(j)&&U!=null)switch(j){case"checked":break;case"value":break;case"defaultValue":E=U;default:l.hasOwnProperty(j)||Ye(e,u,j,null,l,U)}}for(var N in l){var j=l[N];if(U=t[N],l.hasOwnProperty(N)&&(j!=null||U!=null))switch(N){case"type":j!==U&&(Te=!0),c=j;break;case"name":j!==U&&(Te=!0),i=j;break;case"checked":j!==U&&(Te=!0),O=j;break;case"defaultChecked":j!==U&&(Te=!0),R=j;break;case"value":j!==U&&(Te=!0),d=j;break;case"defaultValue":j!==U&&(Te=!0),g=j;break;case"children":case"dangerouslySetInnerHTML":if(j!=null)throw Error(r(137,u));break;default:j!==U&&Ye(e,u,N,j,l,U)}}bi(e,d,g,E,O,R,c,i);return;case"select":j=d=g=N=null;for(c in t)if(E=t[c],t.hasOwnProperty(c)&&E!=null)switch(c){case"value":break;case"multiple":j=E;default:l.hasOwnProperty(c)||Ye(e,u,c,null,l,E)}for(i in l)if(c=l[i],E=t[i],l.hasOwnProperty(i)&&(c!=null||E!=null))switch(i){case"value":c!==E&&(Te=!0),N=c;break;case"defaultValue":c!==E&&(Te=!0),g=c;break;case"multiple":c!==E&&(Te=!0),d=c;default:c!==E&&Ye(e,u,i,c,l,E)}u=g,t=d,l=j,N!=null?Zt(e,!!t,N,!1):!!l!=!!t&&(u!=null?Zt(e,!!t,u,!0):Zt(e,!!t,t?[]:"",!1));return;case"textarea":j=N=null;for(g in t)if(i=t[g],t.hasOwnProperty(g)&&i!=null&&!l.hasOwnProperty(g))switch(g){case"value":break;case"children":break;default:Ye(e,u,g,null,l,i)}for(d in l)if(i=l[d],c=t[d],l.hasOwnProperty(d)&&(i!=null||c!=null))switch(d){case"value":i!==c&&(Te=!0),N=i;break;case"defaultValue":i!==c&&(Te=!0),j=i;break;case"children":break;case"dangerouslySetInnerHTML":if(i!=null)throw Error(r(91));break;default:i!==c&&Ye(e,u,d,i,l,c)}Vn(e,N,j);return;case"option":for(var $ in t)N=t[$],t.hasOwnProperty($)&&N!=null&&!l.hasOwnProperty($)&&($==="selected"?e.selected=!1:Ye(e,u,$,null,l,N));for(E in l)N=l[E],j=t[E],l.hasOwnProperty(E)&&N!==j&&(N!=null||j!=null)&&(E==="selected"?(N!==j&&(Te=!0),e.selected=N&&typeof N!="function"&&typeof N!="symbol"):Ye(e,u,E,N,l,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 le in t)N=t[le],t.hasOwnProperty(le)&&N!=null&&!l.hasOwnProperty(le)&&Ye(e,u,le,null,l,N);for(O in l)if(N=l[O],j=t[O],l.hasOwnProperty(O)&&N!==j&&(N!=null||j!=null))switch(O){case"children":case"dangerouslySetInnerHTML":if(N!=null)throw Error(r(137,u));break;default:Ye(e,u,O,N,l,j)}return;default:if(F(u)){for(var Se in t)N=t[Se],t.hasOwnProperty(Se)&&N!==void 0&&!l.hasOwnProperty(Se)&&p0(e,u,Se,void 0,l,N);for(R in l)N=l[R],j=t[R],!l.hasOwnProperty(R)||N===j||N===void 0&&j===void 0||p0(e,u,R,N,l,j);return}}for(var k in t)N=t[k],t.hasOwnProperty(k)&&N!=null&&!l.hasOwnProperty(k)&&Ye(e,u,k,null,l,N);for(U in l)N=l[U],j=t[U],!l.hasOwnProperty(U)||N===j||N==null&&j==null||Ye(e,u,U,N,l,j)}function wh(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function nb(){if(typeof performance.getEntriesByType=="function"){for(var e=0,u=0,t=performance.getEntriesByType("resource"),l=0;l<t.length;l++){var i=t[l],c=i.transferSize,d=i.initiatorType,g=i.duration;if(c&&g&&wh(d)){for(d=0,g=i.responseEnd,l+=1;l<t.length;l++){var E=t[l],O=E.startTime;if(O>g)break;var R=E.transferSize,U=E.initiatorType;R&&wh(U)&&(E=E.responseEnd,d+=R*(E<g?1:(g-O)/(E-O)))}if(--l,u+=8*(c+d)/(i.duration/1e3),e++,10<e)break}}if(0<e)return u/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var b0=null,g0=null;function Ji(e){return e.nodeType===9?e:e.ownerDocument}function Lh(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 Uh(e,u){if(e===0)switch(u){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&u==="foreignObject"?0:e}function Fh(e,u,t,l){return t=Ji(t).createElement(e),t[hu]=l,t[Uu]=u,ku(t,e,u),cu(t),t}function y0(e,u){return e==="textarea"||e==="noscript"||typeof u.children=="string"||typeof u.children=="number"||typeof u.children=="bigint"||typeof u.dangerouslySetInnerHTML=="object"&&u.dangerouslySetInnerHTML!==null&&u.dangerouslySetInnerHTML.__html!=null}var x0=null;function lb(){var e=window.event;return e&&e.type==="popstate"?e===x0?!1:(x0=e,!0):(x0=null,!1)}var v0=typeof setTimeout=="function"?setTimeout:void 0,ab=typeof clearTimeout=="function"?clearTimeout:void 0,Bh=typeof Promise=="function"?Promise:void 0,Hh=typeof requestAnimationFrame=="function"?requestAnimationFrame:v0,ib=typeof queueMicrotask=="function"?queueMicrotask:typeof Bh<"u"?function(e){return Bh.resolve(null).then(e).catch(cb)}:v0;function cb(e){setTimeout(function(){throw e})}function fl(e){return e==="head"}function qh(e,u){var t=u,l=0;do{var i=t.nextSibling;if(e.removeChild(t),i&&i.nodeType===8)if(t=i.data,t==="/$"||t==="/&"){if(l===0){e.removeChild(i),Wa(u);return}l--}else if(t==="$"||t==="$?"||t==="$~"||t==="$!"||t==="&")l++;else if(t==="html")N0(e.ownerDocument.documentElement);else if(t==="head"){t=e.ownerDocument.head,N0(t);for(var c=t.firstChild;c;){var d=c.nextSibling,g=c.nodeName;c[on]||g==="SCRIPT"||g==="STYLE"||g==="LINK"&&c.rel.toLowerCase()==="stylesheet"||t.removeChild(c),c=d}}else t==="body"&&N0(e.ownerDocument.body);t=i}while(t);Wa(u)}function Gh(e,u){var t=e;e=0;do{var l=t.nextSibling;if(t.nodeType===1?u?(t._stashedDisplay=t.style.display,t.style.display="none"):(t.style.display=t._stashedDisplay||"",t.getAttribute("style")===""&&t.removeAttribute("style")):t.nodeType===3&&(u?(t._stashedText=t.nodeValue,t.nodeValue=""):t.nodeValue=t._stashedText||""),l&&l.nodeType===8)if(t=l.data,t==="/$"){if(e===0)break;e--}else t!=="$"&&t!=="$?"&&t!=="$~"&&t!=="$!"||e++;t=l}while(t)}function Yh(e,u,t){if(u=CSS.escape(u)!==u?"r-"+btoa(u).replace(/=/g,""):u,e.style.viewTransitionName=u,t!=null&&(e.style.viewTransitionClass=t),t=getComputedStyle(e),t.display==="inline"){if(u=e.getClientRects(),u.length===1)var l=1;else for(var i=l=0;i<u.length;i++){var c=u[i];0<c.width&&0<c.height&&l++}l===1&&(e=e.style,e.display=u.length===1?"inline-block":"block",e.marginTop="-"+t.paddingTop,e.marginBottom="-"+t.paddingBottom)}}function Vh(e,u){e=e.style,u=u.style;var t=u!=null?u.hasOwnProperty("viewTransitionName")?u.viewTransitionName:u.hasOwnProperty("view-transition-name")?u["view-transition-name"]:null:null;e.viewTransitionName=t==null||typeof t=="boolean"?"":(""+t).trim(),t=u!=null?u.hasOwnProperty("viewTransitionClass")?u.viewTransitionClass:u.hasOwnProperty("view-transition-class")?u["view-transition-class"]:null:null,e.viewTransitionClass=t==null||typeof t=="boolean"?"":(""+t).trim(),e.display==="inline-block"&&(u==null?e.display=e.margin="":(t=u.display,e.display=t==null||typeof t=="boolean"?"":t,t=u.margin,t!=null?e.margin=t:(t=u.hasOwnProperty("marginTop")?u.marginTop:u["margin-top"],e.marginTop=t==null||typeof t=="boolean"?"":t,u=u.hasOwnProperty("marginBottom")?u.marginBottom:u["margin-bottom"],e.marginBottom=u==null||typeof u=="boolean"?"":u)))}function rb(e,u,t){return t=t.ownerDocument.defaultView,{rect:e,abs:u.position==="absolute"||u.position==="fixed",clip:u.clipPath!=="none"||u.overflow!=="visible"||u.filter!=="none"||u.mask!=="none"||u.mask!=="none"||u.borderRadius!=="0px",view:0<=e.bottom&&0<=e.right&&e.top<=t.innerHeight&&e.left<=t.innerWidth}}function _0(e){var u=e.getBoundingClientRect(),t=getComputedStyle(e);return rb(u,t,e)}function sb(e){return e.documentElement.clientHeight}function ob(e){this.addEventListener("load",e),this.addEventListener("error",e)}function fb(e,u,t,l,i,c,d,g,E){var O=u.nodeType===9?u:u.ownerDocument;try{var R=O.startViewTransition({update:function(){var N=O.defaultView,j=N.navigation&&N.navigation.transition,$=O.fonts.status;l();var le=[];if($==="loaded"&&(sb(O),O.fonts.status==="loading"&&le.push(O.fonts.ready)),$=le.length,e!==null)for(var Se=e.suspenseyImages,k=0,S=0;S<Se.length;S++){var z=Se[S];if(!z.complete){var w=z.getBoundingClientRect();if(0<w.bottom&&0<w.right&&w.top<N.innerHeight&&w.left<N.innerWidth){if(k+=f2(z),k>qr){le.length=$;break}z=new Promise(ob.bind(z)),le.push(z)}}}if(0<le.length)return N=Promise.race([Promise.all(le),new Promise(function(te){return setTimeout(te,500)})]).then(i,i),(j?Promise.allSettled([j.finished,N]):N).then(c,c);if(i(),j)return j.finished.then(c,c);c()},types:t});O.__reactViewTransition=R;var U=[];return R.ready.then(function(){for(var N=O.documentElement.getAnimations({subtree:!0}),j=0;j<N.length;j++){var $=N[j],le=$.effect,Se=le.pseudoElement;if(Se!=null&&Se.startsWith("::view-transition")){U.push($),$=le.getKeyframes();for(var k=Se=void 0,S=!0,z=0;z<$.length;z++){var w=$[z],te=w.width;if(Se===void 0)Se=te;else if(Se!==te){S=!1;break}if(te=w.height,k===void 0)k=te;else if(k!==te){S=!1;break}delete w.width,delete w.height,w.transform==="none"&&delete w.transform}S&&Se!==void 0&&k!==void 0&&(le.setKeyframes($),S=getComputedStyle(le.target,le.pseudoElement),S.width!==Se||S.height!==k)&&(S=$[0],S.width=Se,S.height=k,S=$[$.length-1],S.width=Se,S.height=k,le.setKeyframes($))}}d()},function(N){O.__reactViewTransition===R&&(O.__reactViewTransition=null);try{typeof N=="object"&&N!==null&&N.name==="InvalidStateError"&&(N.message==="View transition was skipped because document visibility state is hidden."||N.message==="Skipping view transition because document visibility state has become hidden."||N.message==="Skipping view transition because viewport size changed."||N.message==="Transition was aborted because of invalid state")&&(N=null),N!==null&&E(N)}finally{l(),i(),d()}}),R.finished.finally(function(){for(var N=0;N<U.length;N++)U[N].cancel();O.__reactViewTransition===R&&(O.__reactViewTransition=null),g()}),R}catch{return l(),i(),d(),null}}function Wl(e,u){this._scope=document.documentElement,this._selector="::view-transition-"+e+"("+u+")"}Wl.prototype.animate=function(e,u){return u=typeof u=="number"?{duration:u}:K({},u),u.pseudoElement=this._selector,this._scope.animate(e,u)},Wl.prototype.getAnimations=function(){for(var e=this._scope,u=this._selector,t=e.getAnimations({subtree:!0}),l=[],i=0;i<t.length;i++){var c=t[i].effect;c!==null&&c.target===e&&c.pseudoElement===u&&l.push(t[i])}return l},Wl.prototype.getComputedStyle=function(){return getComputedStyle(this._scope,this._selector)};function Zh(e){return{name:e,group:new Wl("group",e),imagePair:new Wl("image-pair",e),old:new Wl("old",e),new:new Wl("new",e)}}function ht(e){this._fragmentFiber=e,this._observers=this._eventListeners=null}ht.prototype.addEventListener=function(e,u,t){var l=null,i=null;if(!(t!=null&&typeof t!="boolean"&&(l=t.signal||null,l!==null&&l.aborted))){this._eventListeners===null&&(this._eventListeners=[]);var c=this._eventListeners;if(Qh(c,e,u,t)===-1){var d=this,g=u;t!=null&&typeof t!="boolean"&&t.once===!0&&(g=function(E){d.removeEventListener(e,u,t),typeof u=="function"?u.call(this,E):u.handleEvent(E)}),l!==null&&(i=d.removeEventListener.bind(d,e,u,t),l.addEventListener("abort",i,{once:!0}),i=l.removeEventListener.bind(l,"abort",i)),l=Xa(t),c.push({type:e,listener:u,optionsOrUseCapture:t,attachedListener:g,cleanup:i}),y(this._fragmentFiber.child,!1,db,e,g,l)}this._eventListeners=c}};function db(e,u,t,l){return Y(e).addEventListener(u,t,l),!1}ht.prototype.removeEventListener=function(e,u,t){var l=this._eventListeners;if(l!==null&&(u=Qh(l,e,u,t),u!==-1)){var i=l[u];t=i.attachedListener;var c=i.cleanup;i=Xa(i.optionsOrUseCapture),y(this._fragmentFiber.child,!1,hb,e,t,i),l.splice(u,1),c!==null&&c()}};function hb(e,u,t,l){return Y(e).removeEventListener(u,t,l),!1}function Xa(e){return e!=null&&typeof e!="boolean"&&(e.once===!0||e.signal instanceof AbortSignal)?{capture:e.capture,passive:e.passive}:e}function Xh(e){return e==null?"c=0":typeof e=="boolean"?"c="+(e?"1":"0"):"c="+(e.capture?"1":"0")}function Qh(e,u,t,l){if(e.length===0)return-1;l=Xh(l);for(var i=0;i<e.length;i++){var c=e[i];if(c.type===u&&c.listener===t&&Xh(c.optionsOrUseCapture)===l)return i}return-1}ht.prototype.dispatchEvent=function(e){var u=C(this._fragmentFiber);if(u===null)return!0;u=Y(u);var t=this._eventListeners;if(t!==null&&0<t.length||!e.bubbles){var l=u.nodeType===9?u.createComment(""):document.createTextNode("");if(t)for(var i=0;i<t.length;i++){var c=t[i];l.addEventListener(c.type,c.attachedListener,Xa(c.optionsOrUseCapture))}if(u.appendChild(l),e=l.dispatchEvent(e),t)for(i=0;i<t.length;i++)c=t[i],l.removeEventListener(c.type,c.attachedListener,Xa(c.optionsOrUseCapture));return u.removeChild(l),e}return u.dispatchEvent(e)},ht.prototype.focus=function(e){y(this._fragmentFiber.child,!0,Ih,e,void 0,void 0)};function Ih(e,u){return e.tag===6?!1:(e=Y(e),Tb(e,u))}ht.prototype.focusLast=function(e){var u=[];y(this._fragmentFiber.child,!0,E0,u,void 0,void 0);for(var t=u.length-1;0<=t&&!Ih(u[t],e);t--);};function E0(e,u){return u.push(e),!1}ht.prototype.blur=function(){var e=C(this._fragmentFiber);e!==null&&(e=Y(e),e=Ji(e).activeElement,e!==null&&y(this._fragmentFiber.child,!1,mb,e,void 0,void 0))};function mb(e,u){return e.tag===6?!1:(e=Y(e),e===u||e.contains(u)?(u.blur(),!0):!1)}ht.prototype.observeUsing=function(e){this._observers===null&&(this._observers=new Set),this._observers.add(e),y(this._fragmentFiber.child,!1,pb,e,void 0,void 0)};function pb(e,u){return e.tag===6||(e=Y(e),u.observe(e)),!1}ht.prototype.unobserveUsing=function(e){var u=this._observers;if(u!==null&&u.has(e)){u.delete(e),y(this._fragmentFiber.child,!1,bb,e,void 0,void 0);for(var t=u=0;t<Ft.length;t++){var l=Ft[t];l.fragmentInstance===this&&l.observer===e?e.unobserve(l.instance):Ft[u++]=l}Ft.length=u}};function bb(e,u){return e.tag===6||(e=Y(e),u.unobserve(e)),!1}var Ft=[],S0=!1;function gb(e,u,t){Ft.push({fragmentInstance:e,observer:u,instance:t}),S0||(S0=!0,Db(function(){S0=!1;var l=Ft;Ft=[];for(var i=0;i<l.length;i++){var c=l[i];c.observer.unobserve(c.instance)}}))}ht.prototype.getClientRects=function(){var e=[];return y(this._fragmentFiber.child,!1,yb,e,void 0,void 0),e};function yb(e,u){if(e.tag===6){e=e.stateNode;var t=e.ownerDocument.createRange();t.selectNodeContents(e),u.push.apply(u,t.getClientRects())}else e=Y(e),u.push.apply(u,e.getClientRects());return!1}ht.prototype.getRootNode=function(e){var u=C(this._fragmentFiber);return u===null?this:Y(u).getRootNode(e)},ht.prototype.compareDocumentPosition=function(e){var u=C(this._fragmentFiber);if(u===null)return Node.DOCUMENT_POSITION_DISCONNECTED;var t=[];y(this._fragmentFiber.child,!1,E0,t,void 0,void 0);var l=Y(u);if(t.length===0){if(t=l,M(this._fragmentFiber)){e:{for(u=this._fragmentFiber.return;u!==null;){if(u.tag===4){u=u.stateNode.containerInfo;break e}if(u.tag===3||u.tag===5||u.tag===27)break;u=u.return}u=null}u!=null&&(t=u)}u=this._fragmentFiber;var i=l=t.compareDocumentPosition(e);return t===e?i=Node.DOCUMENT_POSITION_CONTAINS:l&Node.DOCUMENT_POSITION_CONTAINED_BY&&(t=A(u)[1],t===null?i=Node.DOCUMENT_POSITION_PRECEDING:(e=Y(t).compareDocumentPosition(e),i=e===0||e&Node.DOCUMENT_POSITION_FOLLOWING?Node.DOCUMENT_POSITION_FOLLOWING:Node.DOCUMENT_POSITION_PRECEDING)),i|=Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC}u=Y(t[0]),i=Y(t[t.length-1]);var c=M(this._fragmentFiber)?u.parentElement:l;if(c==null)return Node.DOCUMENT_POSITION_DISCONNECTED;l=c.compareDocumentPosition(u)&Node.DOCUMENT_POSITION_CONTAINED_BY,c=c.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_CONTAINED_BY;var d=u.compareDocumentPosition(e),g=i.compareDocumentPosition(e),E=d&Node.DOCUMENT_POSITION_CONTAINED_BY||g&Node.DOCUMENT_POSITION_CONTAINED_BY;return g=l&&c&&d&Node.DOCUMENT_POSITION_FOLLOWING&&g&Node.DOCUMENT_POSITION_PRECEDING,u=l&&u===e||c&&i===e||E||g?Node.DOCUMENT_POSITION_CONTAINED_BY:!l&&u===e||!c&&i===e?Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:d,u&Node.DOCUMENT_POSITION_DISCONNECTED||u&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC||xb(u,this._fragmentFiber,t[0],t[t.length-1],e)?u:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC};function xb(e,u,t,l,i){var c=fn(i);if(e&Node.DOCUMENT_POSITION_CONTAINED_BY){if(t=!!c)e:{for(;c!==null;){if(c.tag===7&&(c===u||c.alternate===u)){t=!0;break e}c=c.return}t=!1}return t}if(e&Node.DOCUMENT_POSITION_CONTAINS){if(c===null)return c=i.ownerDocument,i===c||i===c.documentElement||i===c.body;e:{for(c=u,u=C(u);c!==null;){if(!(c.tag!==5&&c.tag!==3&&c.tag!==27||c!==u&&c.alternate!==u)){c=!0;break e}c=c.return}c=!1}return c}return e&Node.DOCUMENT_POSITION_PRECEDING?((u=!!c)&&!(u=c===t)&&(u=ue(t,c,Q),u===null?u=!1:(y(u,!0,ae,c,t),c=J,J=null,u=c!==null)),u):e&Node.DOCUMENT_POSITION_FOLLOWING?((u=!!c)&&!(u=c===l)&&(u=ue(l,c,Q),u===null?u=!1:(y(u,!0,q,c,l),c=J,fe=J=null,u=c!==null)),u):!1}function Kh(e,u){var t=e.ownerDocument.createRange();t.selectNodeContents(e),e=t.getBoundingClientRect(),window.scrollTo(window.scrollX+e.left,u?window.scrollY+e.top:window.scrollY+e.bottom-window.innerHeight)}ht.prototype.scrollIntoView=function(e){if(typeof e=="object")throw Error(r(566));var u=[];y(this._fragmentFiber.child,!1,E0,u,void 0,void 0);var t=e!==!1;if(u.length===0){var l=A(this._fragmentFiber);if(l=t?l[1]||l[0]||C(this._fragmentFiber):l[0]||l[1],l===null)return;if(l.tag===6){e=Y(l),Kh(e,t);return}if(l=Y(l),l.nodeType!==9){if(l.nodeType===11){t="host"in l?l.host:null,t!==null&&t.scrollIntoView(e);return}l.scrollIntoView(e)}}for(l=t?u.length-1:0;l!==(t?-1:u.length);){var i=u[l];i.tag===6?(i=Y(i),Kh(i,t)):Y(i).scrollIntoView(e),l+=t?-1:1}};function vb(e,u){return e=Y(e),$h(e,u),!1}function $h(e,u){e.reactFragments==null&&(e.reactFragments=new Set),e.reactFragments.add(u)}function Jh(e,u){var t=u._eventListeners;if(t!==null)for(var l=0;l<t.length;l++){var i=t[l];e.addEventListener(i.type,i.attachedListener,Xa(i.optionsOrUseCapture))}e.nodeType!==3&&(t=u._observers,t!==null&&t.forEach(function(c){for(var d=0,g=0;g<Ft.length;g++){var E=Ft[g];(E.fragmentInstance!==u||E.observer!==c||E.instance!==e)&&(Ft[d++]=E)}Ft.length=d,c.observe(e)}),$h(e,u))}function _b(e,u){var t=u._eventListeners;if(t!==null)for(var l=0;l<t.length;l++){var i=t[l];e.removeEventListener(i.type,i.attachedListener,Xa(i.optionsOrUseCapture))}e.nodeType!==3&&(t=u._observers,t!==null&&t.forEach(function(c){typeof c.rootMargin=="string"?gb(u,c,e):c.unobserve(e)}),e.reactFragments!=null&&e.reactFragments.delete(u))}function A0(e){var u=e.firstChild;for(u&&u.nodeType===10&&(u=u.nextSibling);u;){var t=u;switch(u=u.nextSibling,t.nodeName){case"HTML":case"HEAD":case"BODY":A0(t),Hn(t);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(t.rel.toLowerCase()==="stylesheet")continue}e.removeChild(t)}}function Eb(e,u,t,l){for(;e.nodeType===1;){var i=t;if(e.nodeName.toLowerCase()!==u.toLowerCase()){if(!l&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(l){if(!e[on])switch(u){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(c=e.getAttribute("rel"),c==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(c!==i.rel||e.getAttribute("href")!==(i.href==null||i.href===""?null:i.href)||e.getAttribute("crossorigin")!==(i.crossOrigin==null?null:i.crossOrigin)||e.getAttribute("title")!==(i.title==null?null:i.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(c=e.getAttribute("src"),(c!==(i.src==null?null:i.src)||e.getAttribute("type")!==(i.type==null?null:i.type)||e.getAttribute("crossorigin")!==(i.crossOrigin==null?null:i.crossOrigin))&&c&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(u==="input"&&e.type==="hidden"){var c=i.name==null?null:""+i.name;if(i.type==="hidden"&&e.getAttribute("name")===c)return e}else return e;if(e=Tt(e.nextSibling),e===null)break}return null}function Sb(e,u,t){if(u==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Tt(e.nextSibling),e===null))return null;return e}function Wh(e,u){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!u||(e=Tt(e.nextSibling),e===null))return null;return e}function T0(e){return e.data==="$?"||e.data==="$~"}function D0(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function Ab(e,u){var t=e.ownerDocument;if(e.data==="$~")e._reactRetry=u;else if(e.data!=="$?"||t.readyState!=="loading")u();else{var l=function(){u(),t.removeEventListener("DOMContentLoaded",l)};t.addEventListener("DOMContentLoaded",l),e._reactRetry=l}}function Tt(e){for(;e!=null;e=e.nextSibling){var u=e.nodeType;if(u===1||u===3)break;if(u===8){if(u=e.data,u==="$"||u==="$!"||u==="$?"||u==="$~"||u==="&"||u==="F!"||u==="F")break;if(u==="/$"||u==="/&")return null}}return e}var C0=null;function Ph(e){e=e.nextSibling;for(var u=0;e;){if(e.nodeType===8){var t=e.data;if(t==="/$"||t==="/&"){if(u===0)return Tt(e.nextSibling);u--}else t!=="$"&&t!=="$!"&&t!=="$?"&&t!=="$~"&&t!=="&"||u++}e=e.nextSibling}return null}function e2(e){e=e.previousSibling;for(var u=0;e;){if(e.nodeType===8){var t=e.data;if(t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"){if(u===0)return e;u--}else t!=="/$"&&t!=="/&"||u++}e=e.previousSibling}return null}function Tb(e,u){function t(){l=!0}if(e.ownerDocument.activeElement===e)return!0;var l=!1;try{e.ownerDocument.addEventListener("focus",t,!0),(e.focus||HTMLElement.prototype.focus).call(e,u)}finally{e.ownerDocument.removeEventListener("focus",t,!0)}return l}function Db(e){Hh(function(){Hh(function(u){return e(u)})})}function u2(e,u,t){switch(u=Ji(t),e){case"html":if(e=u.documentElement,!e)throw Error(r(452));return e;case"head":if(e=u.head,!e)throw Error(r(453));return e;case"body":if(e=u.body,!e)throw Error(r(454));return e;default:throw Error(r(451))}}function t2(e,u,t){for(var l in t){var i=t[l];t.hasOwnProperty(l)&&i!=null&&Ye(e,u,l,null,ub,i)}t.dangerouslySetInnerHTML!=null&&(e.textContent=""),e.onclick===Be&&(e.onclick=null),Hn(e)}function N0(e){for(var u=e.attributes;u.length;)e.removeAttributeNode(u[0]);Hn(e)}var Dt=new Map,n2=new Set;function Wi(e){if(typeof e.getRootNode=="function"){var u=e.getRootNode();if(u.nodeType===9||u.nodeType===11)return u}return e.nodeType===9?e:e.ownerDocument}var Tn=me.d;me.d={f:Cb,r:Nb,D:kb,C:Ob,L:zb,m:jb,X:Rb,S:Mb,M:wb};function Cb(){var e=Tn.f(),u=jr();return e||u}function Nb(e){var u=dn(e);u!==null&&u.tag===5&&u.type==="form"?a1(u):Tn.r(e)}var Qa=typeof document>"u"?null:document;function l2(e,u,t){var l=Qa;if(l&&typeof u=="string"&&u){var i=Gu(u);i='link[rel="'+e+'"][href="'+i+'"]',typeof t=="string"&&(i+='[crossorigin="'+t+'"]'),n2.has(i)||(n2.add(i),e={rel:e,crossOrigin:t,href:u},l.querySelector(i)===null&&(u=l.createElement("link"),ku(u,"link",e),cu(u),l.head.appendChild(u)))}}function kb(e){Tn.D(e),l2("dns-prefetch",e,null)}function Ob(e,u){Tn.C(e,u),l2("preconnect",e,u)}function zb(e,u,t){Tn.L(e,u,t);var l=Qa;if(l&&e&&u){var i='link[rel="preload"][as="'+Gu(u)+'"]';u==="image"&&t&&t.imageSrcSet?(i+='[imagesrcset="'+Gu(t.imageSrcSet)+'"]',typeof t.imageSizes=="string"&&(i+='[imagesizes="'+Gu(t.imageSizes)+'"]')):i+='[href="'+Gu(e)+'"]';var c=i;switch(u){case"style":c=Ia(e);break;case"script":c=Ka(e)}if(!(Dt.has(c)||(e=K({rel:"preload",href:u==="image"&&t&&t.imageSrcSet?void 0:e,as:u},t),Dt.set(c,e),l.querySelector(i)!==null||u==="style"&&l.querySelector(Pi(c))||u==="script"&&l.querySelector(ec(c))))){var d=l.createElement("link");ku(d,"link",e),u==="style"&&(d[Bn]=!0,d.onload=d.onerror=function(){Oc(d)}),cu(d),l.head.appendChild(d)}}}function jb(e,u){Tn.m(e,u);var t=Qa;if(t&&e){var l=u&&typeof u.as=="string"?u.as:"script",i='link[rel="modulepreload"][as="'+Gu(l)+'"][href="'+Gu(e)+'"]',c=i;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":c=Ka(e)}if(!Dt.has(c)&&(e=K({rel:"modulepreload",href:e},u),Dt.set(c,e),t.querySelector(i)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(t.querySelector(ec(c)))return}l=t.createElement("link"),ku(l,"link",e),cu(l),t.head.appendChild(l)}}}function Mb(e,u,t){Tn.S(e,u,t);var l=Qa;if(l&&e){var i=qn(l).hoistableStyles,c=Ia(e);u=u||"default";var d=i.get(c);if(!d){var g={loading:0,preload:null};if(d=l.querySelector(Pi(c)))g.loading=5;else{e=K({rel:"stylesheet",href:e,"data-precedence":u},t),(t=Dt.get(c))&&k0(e,t);var E=d=l.createElement("link");cu(E),ku(E,"link",e),E._p=new Promise(function(O,R){E.onload=O,E.onerror=R}),E.addEventListener("load",function(){g.loading|=1}),E.addEventListener("error",function(){g.loading|=2}),g.loading|=4,Br(d,u,l)}d={type:"stylesheet",instance:d,count:1,state:g},i.set(c,d)}}}function Rb(e,u){Tn.X(e,u);var t=Qa;if(t&&e){var l=qn(t).hoistableScripts,i=Ka(e),c=l.get(i);c||(c=t.querySelector(ec(i)),c||(e=K({src:e,async:!0},u),(u=Dt.get(i))&&O0(e,u),c=t.createElement("script"),cu(c),ku(c,"link",e),t.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},l.set(i,c))}}function wb(e,u){Tn.M(e,u);var t=Qa;if(t&&e){var l=qn(t).hoistableScripts,i=Ka(e),c=l.get(i);c||(c=t.querySelector(ec(i)),c||(e=K({src:e,async:!0,type:"module"},u),(u=Dt.get(i))&&O0(e,u),c=t.createElement("script"),cu(c),ku(c,"link",e),t.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},l.set(i,c))}}function a2(e,u,t,l){var i=(i=Ku.current)?Wi(i):null;if(!i)throw Error(r(446));switch(e){case"meta":case"title":return null;case"style":return typeof t.precedence=="string"&&typeof t.href=="string"?(t=Ia(t.href),u=qn(i).hoistableStyles,l=u.get(t),l||(l={type:"style",instance:null,count:0,state:null},u.set(t,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(t.rel==="stylesheet"&&typeof t.href=="string"&&typeof t.precedence=="string"){e=Ia(t.href);var c=qn(i).hoistableStyles,d=c.get(e);if(d||(i=i.ownerDocument||i,d={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(e,d),(c=i.querySelector(Pi(e)))?c._p||(d.instance=c,d.state.loading=5):(c=Dt.get(e),c||(c={rel:"preload",as:"style",href:t.href,crossOrigin:t.crossOrigin,integrity:t.integrity,media:t.media,hrefLang:t.hrefLang,referrerPolicy:t.referrerPolicy},Dt.set(e,c)),Lb(i,e,c,d.state))),u&&l===null)throw Error(r(528,""));return d}if(u&&l!==null)throw Error(r(529,""));return null;case"script":return u=t.async,t=t.src,typeof t=="string"&&u&&typeof u!="function"&&typeof u!="symbol"?(t=Ka(t),u=qn(i).hoistableScripts,l=u.get(t),l||(l={type:"script",instance:null,count:0,state:null},u.set(t,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,e))}}function Ia(e){return'href="'+Gu(e)+'"'}function Pi(e){return'link[rel="stylesheet"]['+e+"]"}function i2(e){return K({},e,{"data-precedence":e.precedence,precedence:null})}function Lb(e,u,t,l){if(u=e.querySelector('link[rel="preload"][as="style"]['+u+"]")){if(u[Bn]!==!0){l.loading=1;return}}else u=e.createElement("link"),u[Bn]=!0,u.onload=u.onerror=Oc.bind(null,u),ku(u,"link",t),cu(u),e.head.appendChild(u);l.preload=u,u.addEventListener("load",function(){return l.loading|=1}),u.addEventListener("error",function(){return l.loading|=2})}function Ka(e){return'[src="'+Gu(e)+'"]'}function ec(e){return"script[async]"+e}function c2(e,u,t){if(u.count++,u.instance===null)switch(u.type){case"style":var l=e.querySelector('style[data-href~="'+Gu(t.href)+'"]');if(l)return u.instance=l,cu(l),l;var i=K({},t,{"data-href":t.href,"data-precedence":t.precedence,href:null,precedence:null});return l=(e.ownerDocument||e).createElement("style"),cu(l),ku(l,"style",i),Br(l,t.precedence,e),u.instance=l;case"stylesheet":i=Ia(t.href);var c=e.querySelector(Pi(i));if(c)return u.state.loading|=4,u.instance=c,cu(c),c;l=i2(t),(i=Dt.get(i))&&k0(l,i),c=(e.ownerDocument||e).createElement("link"),cu(c);var d=c;return d._p=new Promise(function(g,E){d.onload=g,d.onerror=E}),ku(c,"link",l),u.state.loading|=4,Br(c,t.precedence,e),u.instance=c;case"script":return c=Ka(t.src),(i=e.querySelector(ec(c)))?(u.instance=i,cu(i),i):(l=t,(i=Dt.get(c))&&(l=K({},t),O0(l,i)),e=e.ownerDocument||e,i=e.createElement("script"),cu(i),ku(i,"link",l),e.head.appendChild(i),u.instance=i);case"void":return null;default:throw Error(r(443,u.type))}else u.type==="stylesheet"&&(u.state.loading&4)===0&&(l=u.instance,u.state.loading|=4,Br(l,t.precedence,e));return u.instance}function Br(e,u,t){for(var l=t.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),i=l.length?l[l.length-1]:null,c=i,d=0;d<l.length;d++){var g=l[d];if(g.dataset.precedence===u)c=g;else if(c!==i)break}c?c.parentNode.insertBefore(e,c.nextSibling):(u=t.nodeType===9?t.head:t,u.insertBefore(e,u.firstChild))}function k0(e,u){e.crossOrigin==null&&(e.crossOrigin=u.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=u.referrerPolicy),e.title==null&&(e.title=u.title)}function O0(e,u){e.crossOrigin==null&&(e.crossOrigin=u.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=u.referrerPolicy),e.integrity==null&&(e.integrity=u.integrity)}var Hr=null;function r2(e,u,t){if(Hr===null){var l=new Map,i=Hr=new Map;i.set(t,l)}else i=Hr,l=i.get(t),l||(l=new Map,i.set(t,l));if(l.has(e))return l;for(l.set(e,null),t=t.getElementsByTagName(e),i=0;i<t.length;i++){var c=t[i];if(!(c[on]||c[hu]||e==="link"&&c.getAttribute("rel")==="stylesheet")&&c.namespaceURI!=="http://www.w3.org/2000/svg"){var d=c.getAttribute(u)||"";d=e+d;var g=l.get(d);g?g.push(c):l.set(d,[c])}}return l}function z0(e,u,t){e=e.ownerDocument||e,e.head.insertBefore(t,u==="title"?e.querySelector("head > title"):null)}function Ub(e,u,t){if(t===1||u.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof u.precedence!="string"||typeof u.href!="string"||u.href==="")break;return!0;case"link":if(typeof u.rel!="string"||typeof u.href!="string"||u.href===""||u.onLoad||u.onError)break;return u.rel==="stylesheet"?(e=u.disabled,typeof u.precedence=="string"&&e==null):!0;case"script":if(u.async&&typeof u.async!="function"&&typeof u.async!="symbol"&&!u.onLoad&&!u.onError&&u.src&&typeof u.src=="string")return!0}return!1}function s2(e,u){return e==="img"&&u.src!=null&&u.src!==""&&u.onLoad==null&&u.loading!=="lazy"}function o2(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function f2(e){return(e.width||100)*(e.height||100)*(typeof devicePixelRatio=="number"?devicePixelRatio:1)*.25}function d2(e,u){typeof u.decode=="function"&&(e.imgCount++,u.complete||(e.imgBytes+=f2(u),e.suspenseyImages.push(u)),e=Hb.bind(e),u.decode().then(e,e))}function Fb(e,u,t,l){if(t.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(t.state.loading&4)===0){if(t.instance===null){var i=Ia(l.href),c=u.querySelector(Pi(i));if(c){u=c._p,u!==null&&typeof u=="object"&&typeof u.then=="function"&&(e.count++,e=uc.bind(e),u.then(e,e)),t.state.loading|=4,t.instance=c,cu(c);return}c=u.ownerDocument||u,l=i2(l),(i=Dt.get(i))&&k0(l,i),c=c.createElement("link"),cu(c);var d=c;d._p=new Promise(function(g,E){d.onload=g,d.onerror=E}),ku(c,"link",l),t.instance=c}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(t,u),(u=t.state.preload)&&(t.state.loading&3)===0&&(e.count++,t=uc.bind(e),u.addEventListener("load",t),u.addEventListener("error",t))}}var qr=0;function Bb(e,u){return e.stylesheets&&e.count===0&&Yr(e,e.stylesheets),0<e.count||0<e.imgCount?function(t){var l=setTimeout(function(){if(e.stylesheets&&Yr(e,e.stylesheets),e.unsuspend){var c=e.unsuspend;e.unsuspend=null,c()}},6e4+u);0<e.imgBytes&&qr===0&&(qr=62500*nb());var i=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Yr(e,e.stylesheets),e.unsuspend)){var c=e.unsuspend;e.unsuspend=null,c()}},(e.imgBytes>qr?50:800)+u);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(l),clearTimeout(i)}}:null}function h2(e){if(e.count===0&&(e.imgCount===0||!e.waitingForImages)){if(e.stylesheets)Yr(e,e.stylesheets);else if(e.unsuspend){var u=e.unsuspend;e.unsuspend=null,u()}}}function uc(){this.count--,h2(this)}function Hb(){this.imgCount--,h2(this)}var Gr=null;function Yr(e,u){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Gr=new Map,u.forEach(qb,e),Gr=null,uc.call(e))}function qb(e,u){if(!(u.state.loading&4)){var t=Gr.get(e);if(t)var l=t.get(null);else{t=new Map,Gr.set(e,t);for(var i=e.querySelectorAll("link[data-precedence],style[data-precedence]"),c=0;c<i.length;c++){var d=i[c];(d.nodeName==="LINK"||d.getAttribute("media")!=="not all")&&(t.set(d.dataset.precedence,d),l=d)}l&&t.set(null,l)}i=u.instance,d=i.getAttribute("data-precedence"),c=t.get(d)||l,c===l&&t.set(null,i),t.set(d,i),this.count++,l=uc.bind(this),i.addEventListener("load",l),i.addEventListener("error",l),c?c.parentNode.insertBefore(i,c.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(i,e.firstChild)),u.state.loading|=4}}var $a={$$typeof:ye,Provider:null,Consumer:null,_currentValue:W,_currentValue2:W,_threadCount:0};function Gb(e,u,t,l,i,c,d,g,E){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=ii(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ii(0),this.hiddenUpdates=ii(null),this.identifierPrefix=l,this.onUncaughtError=i,this.onCaughtError=c,this.onRecoverableError=d,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=E,this.transitionTypes=null,this.incompleteTransitions=new Map}function m2(e,u,t,l,i,c,d,g,E,O,R,U){return e=new Gb(e,u,t,d,E,O,R,U,g),u=1,c===!0&&(u|=24),c=Wu(3,null,null,u),e.current=c,c.stateNode=e,u=Zs(),u.refCount++,e.pooledCache=u,u.refCount++,c.memoizedState={element:l,isDehydrated:t,cache:u},Ks(c),e}function p2(e){return e?(e=Ea,e):Ea}function b2(e,u,t,l,i,c){i=p2(i),l.context===null?l.context=i:l.pendingContext=i,l=Pn(u),l.payload={element:t},c=c===void 0?null:c,c!==null&&(l.callback=c),t=el(e,l,u),t!==null&&(tt(t,e,u),ji(t,e,u))}function g2(e,u){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var t=e.retryLane;e.retryLane=t!==0&&t<u?t:u}}function j0(e,u){g2(e,u),(e=e.alternate)&&g2(e,u)}function y2(e){if(e.tag===13||e.tag===31){var u=wl(e,67108864);u!==null&&tt(u,e,67108864),j0(e,67108864)}}function x2(e){if(e.tag===13||e.tag===31){var u=dt();u=Ol(u);var t=wl(e,u);t!==null&&tt(t,e,u),j0(e,u)}}var Ja=!0;function Yb(e,u,t,l){var i=ie.T;ie.T=null;var c=me.p;try{me.p=2,M0(e,u,t,l)}finally{me.p=c,ie.T=i}}function Vb(e,u,t,l){var i=ie.T;ie.T=null;var c=me.p;try{me.p=8,M0(e,u,t,l)}finally{me.p=c,ie.T=i}}function M0(e,u,t,l){if(Ja){var i=R0(l);if(i===null)m0(e,u,l,Vr,t),_2(e,l);else if(Xb(i,e,u,t,l))l.stopPropagation();else if(_2(e,l),u&4&&-1<Zb.indexOf(e)){for(;i!==null;){var c=dn(i);if(c!==null)switch(c.tag){case 3:if(c=c.stateNode,c.current.memoizedState.isDehydrated){var d=Gt(c.pendingLanes);if(d!==0){var g=c;for(g.pendingLanes|=2,g.entangledLanes|=2;d;){var E=1<<31-bu(d);g.entanglements[1]|=E,d&=~E}un(c),(Fe&6)===0&&(kr=wu()+500,Ii(0))}}break;case 31:case 13:g=wl(c,2),g!==null&&tt(g,c,2),jr(),j0(c,2)}if(c=R0(l),c===null&&m0(e,u,l,Vr,t),c===i)break;i=c}i!==null&&l.stopPropagation()}else m0(e,u,l,null,t)}}function R0(e){return e=mu(e),w0(e)}var Vr=null;function w0(e){if(Vr=null,e=fn(e),e!==null){var u=f(e);if(u===null)e=null;else{var t=u.tag;if(t===13){if(e=m(u),e!==null)return e;e=null}else if(t===31){if(e=p(u),e!==null)return e;e=null}else if(t===3){if(u.stateNode.current.memoizedState.isDehydrated)return u.tag===3?u.stateNode.containerInfo:null;e=null}else u!==e&&(e=null)}}return Vr=e,null}function v2(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"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"fullscreenerror":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"resize":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Tc()){case aa:return 2;case ia:return 8;case gt:case On:return 32;case qt:return 268435456;default:return 32}default:return 32}}var L0=!1,dl=null,hl=null,ml=null,tc=new Map,nc=new Map,pl=[],Zb="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 _2(e,u){switch(e){case"focusin":case"focusout":dl=null;break;case"dragenter":case"dragleave":hl=null;break;case"mouseover":case"mouseout":ml=null;break;case"pointerover":case"pointerout":tc.delete(u.pointerId);break;case"gotpointercapture":case"lostpointercapture":nc.delete(u.pointerId)}}function lc(e,u,t,l,i,c){return e===null||e.nativeEvent!==c?(e={blockedOn:u,domEventName:t,eventSystemFlags:l,nativeEvent:c,targetContainers:[i]},u!==null&&(u=dn(u),u!==null&&y2(u)),e):(e.eventSystemFlags|=l,u=e.targetContainers,i!==null&&u.indexOf(i)===-1&&u.push(i),e)}function Xb(e,u,t,l,i){switch(u){case"focusin":return dl=lc(dl,e,u,t,l,i),!0;case"dragenter":return hl=lc(hl,e,u,t,l,i),!0;case"mouseover":return ml=lc(ml,e,u,t,l,i),!0;case"pointerover":var c=i.pointerId;return tc.set(c,lc(tc.get(c)||null,e,u,t,l,i)),!0;case"gotpointercapture":return c=i.pointerId,nc.set(c,lc(nc.get(c)||null,e,u,t,l,i)),!0}return!1}function E2(e){var u=fn(e.target);if(u!==null){var t=f(u);if(t!==null){if(u=t.tag,u===13){if(u=m(t),u!==null){e.blockedOn=u,kc(e.priority,function(){x2(t)});return}}else if(u===31){if(u=p(t),u!==null){e.blockedOn=u,kc(e.priority,function(){x2(t)});return}}else if(u===3&&t.stateNode.current.memoizedState.isDehydrated){e.blockedOn=t.tag===3?t.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Zr(e){if(e.blockedOn!==null)return!1;for(var u=e.targetContainers;0<u.length;){var t=R0(e.nativeEvent);if(t===null){t=e.nativeEvent;var l=new t.constructor(t.type,t);Ju=l,t.target.dispatchEvent(l),Ju=null}else return u=dn(t),u!==null&&y2(u),e.blockedOn=t,!1;u.shift()}return!0}function S2(e,u,t){Zr(e)&&t.delete(u)}function Qb(){L0=!1,dl!==null&&Zr(dl)&&(dl=null),hl!==null&&Zr(hl)&&(hl=null),ml!==null&&Zr(ml)&&(ml=null),tc.forEach(S2),nc.forEach(S2)}function Xr(e,u){e.blockedOn===u&&(e.blockedOn=null,L0||(L0=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,Qb)))}var Qr=null;function A2(e){Qr!==e&&(Qr=e,n.unstable_scheduleCallback(n.unstable_NormalPriority,function(){Qr===e&&(Qr=null);for(var u=0;u<e.length;u+=3){var t=e[u],l=e[u+1],i=e[u+2];if(typeof l!="function"){if(w0(l||t)===null)continue;break}var c=dn(t);c!==null&&(e.splice(u,3),u-=3,go(c,{pending:!0,data:i,method:t.method,action:l},l,i))}}))}function Wa(e){function u(E){return Xr(E,e)}dl!==null&&Xr(dl,e),hl!==null&&Xr(hl,e),ml!==null&&Xr(ml,e),tc.forEach(u),nc.forEach(u);for(var t=0;t<pl.length;t++){var l=pl[t];l.blockedOn===e&&(l.blockedOn=null)}for(;0<pl.length&&(t=pl[0],t.blockedOn===null);)E2(t),t.blockedOn===null&&pl.shift();if(t=(e.ownerDocument||e).$$reactFormReplay,t!=null)for(l=0;l<t.length;l+=3){var i=t[l],c=t[l+1],d=i[Uu]||null;if(typeof c=="function")d||A2(t);else if(d){var g=null;if(c&&c.hasAttribute("formAction")){if(i=c,d=c[Uu]||null)g=d.formAction;else if(w0(i)!==null)continue}else g=d.action;typeof g=="function"?t[l+1]=g:(t.splice(l,3),l-=3),A2(t)}}}function T2(){function e(c){c.canIntercept&&c.info==="react-transition"&&c.intercept({handler:function(){return new Promise(function(d){return i=d})},focusReset:"manual",scroll:"manual"})}function u(){i!==null&&(i(),i=null),l||setTimeout(t,20)}function t(){if(!l&&!navigation.transition){var c=navigation.currentEntry;c&&c.url!=null&&navigation.navigate(c.url,{state:c.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var l=!1,i=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",u),navigation.addEventListener("navigateerror",u),setTimeout(t,100),function(){l=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",u),navigation.removeEventListener("navigateerror",u),i!==null&&(i(),i=null)}}}function U0(e){this._internalRoot=e}Ir.prototype.render=U0.prototype.render=function(e){var u=this._internalRoot;if(u===null)throw Error(r(409));var t=u.current,l=dt();b2(t,l,e,u,null,null)},Ir.prototype.unmount=U0.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var u=e.containerInfo;b2(e.current,2,null,e,null,null),jr(),u[Hu]=null}};function Ir(e){this._internalRoot=e}Ir.prototype.unstable_scheduleHydration=function(e){if(e){var u=ri();e={blockedOn:null,target:e,priority:u};for(var t=0;t<pl.length&&u!==0&&u<pl[t].priority;t++);pl.splice(t,0,e),t===0&&E2(e)}};var D2=a.version;if(D2!=="19.3.1")throw Error(r(527,D2,"19.3.1"));me.findDOMNode=function(e){var u=e._reactInternals;if(u===void 0)throw typeof e.render=="function"?Error(r(188)):(e=Object.keys(e).join(","),Error(r(268,e)));return e=v(u),e=e!==null?_(e):null,e=e===null?null:e.stateNode,e};var Ib={bundleType:0,version:"19.3.1",rendererPackageName:"react-dom",currentDispatcherRef:ie,reconcilerVersion:"19.3.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Kr=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Kr.isDisabled&&Kr.supportsFiber)try{zn=Kr.inject(Ib),Lu=Kr}catch{}}return ic.createRoot=function(e,u){if(!o(e))throw Error(r(299));var t=!1,l="",i=p1,c=b1,d=g1;return u!=null&&(u.unstable_strictMode===!0&&(t=!0),u.identifierPrefix!==void 0&&(l=u.identifierPrefix),u.onUncaughtError!==void 0&&(i=u.onUncaughtError),u.onCaughtError!==void 0&&(c=u.onCaughtError),u.onRecoverableError!==void 0&&(d=u.onRecoverableError)),u=m2(e,1,!1,null,null,t,l,null,i,c,d,T2),e[Hu]=u.current,h0(e),new U0(u)},ic.hydrateRoot=function(e,u,t){if(!o(e))throw Error(r(299));var l=!1,i="",c=p1,d=b1,g=g1,E=null;return t!=null&&(t.unstable_strictMode===!0&&(l=!0),t.identifierPrefix!==void 0&&(i=t.identifierPrefix),t.onUncaughtError!==void 0&&(c=t.onUncaughtError),t.onCaughtError!==void 0&&(d=t.onCaughtError),t.onRecoverableError!==void 0&&(g=t.onRecoverableError),t.formState!==void 0&&(E=t.formState)),u=m2(e,1,!0,u,t??null,l,i,E,c,d,g,T2),u.context=p2(null),t=u.current,l=dt(),l=Ol(l),i=Pn(l),i.callback=null,el(t,i,l),t=l,u.current.lanes=t,kl(u,t),un(u),e[Hu]=u.current,h0(e),new Ir(u)},ic.version="19.3.1",ic}var L2;function lg(){if(L2)return H0.exports;L2=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(a){console.error(a)}}return n(),H0.exports=ng(),H0.exports}var ag=lg();const ig=["select","confirm","input","editor"],cg=new Set(ig),Dm=["notify","setStatus","setWidget","setTitle","set_editor_text"];new Set(Dm);function rg(n){return cg.has(n)}const ei=2;function U2(n){const a=[];for(const r of n.split("/"))if(!(r===""||r===".")){if(r===".."){a.pop();continue}a.push(r)}const s=a.join("/");return n.startsWith("/")?`/${s}`:s}function sg(n,a){const s=U2(n),r=U2(a);return s.length===0||r.length===0?!1:s===r?!0:F2(s,r)||F2(r,s)}function F2(n,a){return a==="/"?n!=="/":n.startsWith(`${a}/`)}const og="This is the checkout Pi Central is running from. Editing it can hot-reload this UI, desynchronise it from the orchestrator on a branch switch, and leave Pi Central unable to restart if the orchestrator's source is broken — exactly when you need it. Use a separate clone (see docs/DOGFOODING.md).";function fg(n,a){if(a!==void 0)return sg(n,a)?og:void 0}function Cm(n){return!Number.isFinite(n)||n<0?"—":n<1024?`${n} B`:n<1024*1024?`${(n/1024).toFixed(1)} KB`:`${(n/(1024*1024)).toFixed(1)} MB`}const dg={},B2=[500,1e3,2e3,3e3,5e3];function hg(n){if(n!==ei)return`protocol mismatch: the orchestrator speaks v${n} and this UI speaks v${ei}. Reload the UI; if that fails, restart the orchestrator.`}class mg{#e;#u;#i;#l=0;#a=!1;#c="connecting";#n;constructor(a,s){this.#i=a,this.#u=s}get status(){return this.#c}connect(){this.#a=!1,this.#r()}#r(){this.#t("connecting");let a;try{a=new WebSocket(this.#i)}catch(s){this.#t("closed",s.message);return}this.#e=a,a.onopen=()=>{this.#l=0,this.#t("open")},a.onmessage=s=>{let r;try{r=JSON.parse(String(s.data)).payload}catch{this.#u.onEvent({kind:"error",message:"received a malformed frame from the orchestrator"});return}if(r.kind==="hello"){const o=hg(r.protocol);o!==void 0&&this.#u.onEvent({kind:"error",message:o});return}this.#u.onEvent(r)},a.onerror=()=>{},a.onclose=()=>{if(this.#e=void 0,this.#a){this.#t("closed");return}const s=B2[Math.min(this.#l,B2.length-1)];this.#l+=1,this.#t("closed",`reconnecting in ${(s/1e3).toFixed(1)}s`),this.#n=setTimeout(()=>this.#r(),s)}}#t(a,s){this.#c=a,this.#u.onStatus(a,s)}send(a){if(this.#e?.readyState!==WebSocket.OPEN)return!1;const s={dir:"client→orchestrator",protocol:ei,payload:a};return this.#e.send(JSON.stringify(s)),!0}disconnect(){this.#a=!0,this.#n&&clearTimeout(this.#n),this.#n=void 0,this.#e?.close(1e3,"client disconnected"),this.#e=void 0}}function pg(){const n=dg.VITE_PI_CENTRAL_WS;return typeof n=="string"&&n.length>0?n:`${window.location.protocol==="https:"?"wss:":"ws:"}//${window.location.host}/ws`}function bg(){return{directories:{},files:{},expanded:{},openFile:{},showHidden:{},wrapLines:{}}}function tn(n,a){return`${n}\0${a}`}function gg(n){const a=n.indexOf("\0");return{sessionId:n.slice(0,a),path:n.slice(a+1)}}function cs(n,a,s){return n.directories[tn(a,s)]??{status:"unloaded"}}function yg(n,a,s){return n.files[tn(a,s)]??{status:"unloaded"}}function xg(n,a,s){return n.expanded[tn(a,s)]===!0}function as(n,a){return n.showHidden[a]===!0}function vg(n,a){return n.wrapLines[a]!==!1}function _g(n,a){const s=n.openFile[a];if(s!==void 0)return{path:s,state:yg(n,a,s)}}function Eg(n){return n.kind==="directory"?!0:n.kind==="symlink"&&n.linkTarget==="directory"}function H2(n){return n.kind==="symlink"&&n.linkTarget==="missing"}function Sg(n,a){return n===""?a:`${n.replace(/\/+$/,"")}/${a}`}function Ag(n,a){switch(a.kind){case"filesLoading":return{...n,directories:{...n.directories,[tn(a.sessionId,a.path)]:{status:"loading"}}};case"filesLoaded":return{...n,directories:{...n.directories,[tn(a.sessionId,a.path)]:{status:"loaded",entries:a.entries,truncated:a.truncated}}};case"filesFailed":return{...n,directories:{...n.directories,[tn(a.sessionId,a.path)]:{status:"error",reason:a.reason,...a.code===void 0?{}:{code:a.code},message:a.message}}};case"fileLoading":return{...n,files:{...n.files,[tn(a.sessionId,a.path)]:{status:"loading"}}};case"fileLoaded":return{...n,files:{...n.files,[tn(a.sessionId,a.path)]:{status:"loaded",text:a.text,bytes:a.bytes}}};case"fileFailed":return{...n,files:{...n.files,[tn(a.sessionId,a.path)]:{status:"error",reason:a.reason,...a.code===void 0?{}:{code:a.code},message:a.message}}};case"toggleExpanded":case"setExpanded":{const s=tn(a.sessionId,a.path),r=a.kind==="toggleExpanded"?n.expanded[s]!==!0:a.expanded;return{...n,expanded:{...n.expanded,[s]:r}}}case"openFile":return{...n,openFile:{...n.openFile,[a.sessionId]:a.path}};case"closeFile":return{...n,openFile:{...n.openFile,[a.sessionId]:void 0}};case"toggleHidden":return{...n,showHidden:{...n.showHidden,[a.sessionId]:n.showHidden[a.sessionId]!==!0}};case"toggleWrap":return{...n,wrapLines:{...n.wrapLines,[a.sessionId]:n.wrapLines[a.sessionId]===!1}};case"forgetSession":{const s=`${a.sessionId}\0`,r=_=>Object.fromEntries(Object.entries(_).filter(([y])=>!y.startsWith(s))),{[a.sessionId]:o,...f}=n.openFile,{[a.sessionId]:m,...p}=n.showHidden,{[a.sessionId]:b,...v}=n.wrapLines;return{directories:r(n.directories),files:r(n.files),expanded:r(n.expanded),openFile:f,showHidden:p,wrapLines:v}}}}function rs(){return{messages:[],tools:[],notices:[]}}function Tg(n){if(typeof n=="string")return n.length>0?[{kind:"text",text:n,complete:!0}]:[];if(!Array.isArray(n))return[];const a=[];for(const s of n){if(typeof s!="object"||s===null)continue;const r=s;if(r.type==="text"&&typeof r.text=="string")a.push({kind:"text",text:r.text,complete:!0});else if(r.type==="thinking"&&typeof r.thinking=="string")a.push({kind:"thinking",text:r.thinking,complete:!0});else if(r.type==="toolCall"||r.type==="tool_use"||r.type==="tool_call"){const o=r.arguments??r.input;a.push({kind:"toolcall",contentIndex:a.length,...r.id!==void 0?{id:r.id}:{},...r.name!==void 0?{name:r.name}:{},argsText:"",...o!==void 0?{args:o}:{},complete:!0})}}return a}function V0(n,a){const s=n.findIndex(r=>r.toolCallId===a.toolCallId);return s===-1?[...n,a]:n.map((r,o)=>o!==s?r:{...r,toolName:r.toolName&&r.toolName!=="tool"?r.toolName:a.toolName,args:r.args??a.args,result:a.result.length>r.result.length?a.result:r.result,isError:r.isError||a.isError,running:a.running?!0:a.durationMs!==void 0||a.result.length>0?!1:r.running,durationMs:r.durationMs??a.durationMs,afterMessage:r.afterMessage})}function Pl(n,a,s){for(;n.length<=a;)n.push({kind:"text",text:"",complete:!1});const r=n[a];if(r===void 0||r.kind==="text"&&r.text===""&&!r.complete&&s().kind!=="text"){const o=s();return n[a]=o,o}return r}function Nm(n){const a=n.messages[n.messages.length-1];return a?.role==="assistant"?a:void 0}function km(n,a){const s=String(a.type??""),r={...n,messages:[...n.messages],tools:[...n.tools],notices:[...n.notices??[]],lastRecordType:s,lastRecordAt:Date.now()};switch(s){case"compaction_start":return r.notices=[...r.notices,{kind:"compaction",reason:String(a.reason??"unknown"),startedAt:Date.now()}],r;case"compaction_end":{const o=a.result;return r.notices=Z0(r.notices,"compaction",f=>({...f,ended:{aborted:a.aborted===!0,willRetry:a.willRetry===!0,...typeof a.errorMessage=="string"?{errorMessage:a.errorMessage}:{}},...typeof o?.tokensBefore=="number"?{tokensBefore:o.tokensBefore}:{},...typeof o?.tokensAfter=="number"?{tokensAfter:o.tokensAfter}:{}})),r}case"auto_retry_start":return r.notices=[...r.notices,{kind:"retry",attempt:Number(a.attempt??1),maxAttempts:Number(a.maxAttempts??1),delayMs:Number(a.delayMs??0),errorMessage:String(a.errorMessage??"")}],r;case"auto_retry_end":return r.notices=Z0(r.notices,"retry",o=>({...o,ended:{success:a.success===!0,...typeof a.finalError=="string"?{finalError:a.finalError}:{}}})),r;case"summarization_retry_scheduled":return r.notices=[...r.notices,{kind:"summarization",source:"unknown",attempt:Number(a.attempt??1),maxAttempts:Number(a.maxAttempts??1),...typeof a.errorMessage=="string"?{errorMessage:a.errorMessage}:{},finished:!1}],r;case"summarization_retry_attempt_start":{let o=!1;return r.notices=r.notices.map(f=>o||f.kind!=="summarization"||f.finished?f:(o=!0,{...f,source:String(a.source??"unknown")})),o||(r.notices=[...r.notices,{kind:"summarization",source:String(a.source??"unknown"),attempt:1,maxAttempts:1,finished:!1}]),r}case"summarization_retry_finished":return r.notices=Z0(r.notices,"summarization",o=>({...o,finished:!0})),r;case"message_start":{const f=a.message?.role??"assistant";return r.messages=r.messages.map(m=>m.streaming?{...m,streaming:!1}:m),r.messages.push({id:`m${r.messages.length}`,role:f,blocks:[],complete:!1,streaming:!0}),r}case"message_update":{const o=a.assistantMessageEvent;if(!o)return r;const f=a.usage;if(f){const m=Nm(r);m&&(r.messages[r.messages.length-1]={...m,usage:f})}return Dg(r,o)}case"message_end":{const o=a.message,f=o?.role;if(f==="system")return r;if(f==="toolResult"||f==="bashExecution"){const v=o?.toolCallId??`history-${r.tools.length}`;return r.tools=V0(r.tools,{toolCallId:v,toolName:o?.toolName??(f==="bashExecution"?"bash":"tool"),args:o?.command!==void 0?{command:o.command}:void 0,result:hc(o?.content)||String(o?.output??""),isError:o?.isError===!0,running:!1,startedAt:Date.now(),afterMessage:r.messages.length}),r}const m=Tg(o?.content),p=o?Cg(o):void 0;p&&m.push({kind:"text",text:p,complete:!0});const b=r.messages[r.messages.length-1];return b&&b.role==="assistant"&&!b.complete&&f!=="user"?r.messages[r.messages.length-1]={...b,blocks:m.length>0?m:b.blocks,complete:!0,streaming:!1}:o&&r.messages.push({id:`m${r.messages.length}`,role:Ng(f),blocks:m,complete:!0,streaming:!1}),r}case"tool_execution_start":{const o=String(a.toolCallId??"");return r.tools=V0(r.tools,{toolCallId:o,toolName:String(a.toolName??""),args:a.args,result:"",isError:!1,running:!0,startedAt:Date.now(),afterMessage:r.messages.length}),r}case"tool_execution_update":{const o=String(a.toolCallId??"");return r.tools=r.tools.map(f=>f.toolCallId===o?{...f,result:hc(a.partialResult)}:f),r}case"tool_execution_end":{const o=String(a.toolCallId??"");let f=!1;return r.tools=r.tools.map(m=>m.toolCallId!==o?m:(f=!0,{...m,result:hc(a.result),isError:a.isError===!0,running:!1,...typeof a.durationMs=="number"?{durationMs:a.durationMs}:{}})),f||(r.tools=V0(r.tools,{toolCallId:o,toolName:String(a.toolName??""),args:a.args,result:hc(a.result),isError:a.isError===!0,running:!1,...typeof a.durationMs=="number"?{durationMs:a.durationMs}:{},startedAt:Date.now(),afterMessage:r.messages.length})),r}default:return r}}function Dg(n,a){const s=String(a.type??""),r=typeof a.contentIndex=="number"?a.contentIndex:0,o=Nm(n);if(!o)return n;const f=[...n.messages],m=[...o.blocks],p=b=>{f[f.length-1]=b};switch(s){case"text_start":Pl(m,r,()=>({kind:"text",text:"",complete:!1}));break;case"text_delta":{const b=Pl(m,r,()=>({kind:"text",text:"",complete:!1}));b.kind==="text"&&(m[r]={...b,text:b.text+String(a.delta??"")});break}case"text_end":{const b=String(a.content??"");Pl(m,r,()=>({kind:"text",text:"",complete:!1})),m[r]={kind:"text",text:b,complete:!0};break}case"thinking_start":Pl(m,r,()=>({kind:"thinking",text:"",complete:!1}));break;case"thinking_delta":{const b=Pl(m,r,()=>({kind:"thinking",text:"",complete:!1}));b.kind==="thinking"&&(m[r]={...b,text:b.text+String(a.delta??"")});break}case"thinking_end":{m[r]={kind:"thinking",text:String(a.content??""),complete:!0};break}case"toolcall_start":{const b={kind:"toolcall",contentIndex:r,argsText:"",complete:!1,...a.id!==void 0?{id:String(a.id)}:{},...a.toolName!==void 0?{name:String(a.toolName)}:{}};Pl(m,r,()=>b),m[r]=b;break}case"toolcall_delta":{const b=m[r];b?.kind==="toolcall"&&(m[r]={...b,argsText:b.argsText+String(a.delta??"")});break}case"toolcall_end":{const b=m[r],v=a.toolCall,_=b?.kind==="toolcall"?b:{kind:"toolcall",contentIndex:r,argsText:"",complete:!1};m[r]={..._,...v?.id!==void 0?{id:v.id}:{},...v?.name!==void 0?{name:v.name}:{},...v?.input!==void 0?{args:v.input}:{},complete:!0};break}case"error":{const b=Pl(m,r,()=>({kind:"text",text:"",complete:!1})),v=String(a.reason??a.error??"the provider stream ended with an error");b.kind==="text"&&(m[r]={...b,text:`${b.text}
10
+
11
+ [${v}]`,complete:!1});break}default:return n}return p({...o,blocks:m}),{...n,messages:f}}function hc(n){if(n==null)return"";if(typeof n=="string")return n;if(Array.isArray(n))return n.map(a=>{if(typeof a=="string")return a;if(typeof a=="object"&&a!==null){const s=a;if(typeof s.text=="string")return s.text}return""}).filter(Boolean).join(`
12
+ `);if(typeof n=="object"){const a=n;if(typeof a.text=="string")return a.text;if(typeof a.output=="string")return a.output;if(a.content!==void 0)return hc(a.content);try{return JSON.stringify(n,null,2)}catch{return String(n)}}return String(n)}function Cg(n){const a=n.stopReason;if(a!=="error"&&a!=="aborted")return;const s=n.errorMessage?.trim();return`⚠ ${a==="aborted"?"This response was interrupted.":"This response did not complete."}${s?` ${s}`:""}`}function Ng(n){switch(n){case"user":return"user";case"system":return"system";case"toolResult":case"bashExecution":return"tool";default:return"assistant"}}function kg(n){let a=rs();for(const s of n)typeof s!="object"||s===null||(a=km(a,{type:"message_end",message:s}));return Og(a)}function Og(n){const a=new Map;if(n.messages.forEach((f,m)=>{for(const p of f.blocks)p.kind!=="toolcall"||p.id===void 0||a.set(p.id,{name:p.name,args:p.args,index:m})}),a.size===0)return n;const s=new Set(n.tools.map(f=>f.toolCallId)),r=n.tools.map(f=>{const m=a.get(f.toolCallId);return m?{...f,args:f.args??m.args,toolName:f.toolName==="tool"&&m.name?m.name:f.toolName}:f}),o=[];for(const[f,m]of a)s.has(f)||o.push({toolCallId:f,toolName:m.name??"tool",args:m.args,result:"",isError:!1,running:!1,startedAt:Date.now(),afterMessage:m.index+1,unfinished:!0});return{...n,tools:[...r,...o].sort((f,m)=>f.afterMessage-m.afterMessage)}}function zg(n){return n.blocks.filter(a=>a.kind==="text").map(a=>a.text).join("")}function jg(n,a){const s=a+1;return n.tools.filter(r=>r.afterMessage===s)}function Mg(n){return n.tools.filter(a=>a.afterMessage===0)}function Rg(n,a=5){const s=n.length;if(s===0)return[];const r=n.slice(Math.max(0,s-a));return[...n.filter(f=>f.running&&!r.includes(f)),...r]}function q2(n){const a=n.args;if(a==null)return"";if(typeof a=="string")return a;if(typeof a=="object"){const s=a;for(const o of["command","path","file_path","pattern","query","url","prompt","name"]){const f=s[o];if(typeof f=="string"&&f.length>0)return o==="command"?f:`${f}`}const r=Object.keys(s);return r.length>0?r.join(", "):""}return String(a)}function wg(n){const a=[];for(const s of n)a.includes(s.toolName)||a.push(s.toolName);return{count:n.length,names:a,failed:n.filter(s=>s.isError).length}}function Om(n){return n.blocks.some(a=>a.kind==="text"&&a.text.trim().length>0)||n.blocks.some(a=>a.kind==="thinking"&&a.text.trim().length>0)}function Z0(n,a,s){for(let r=n.length-1;r>=0;r-=1){const o=n[r];if(o.kind!==a||("ended"in o?o.ended!==void 0:o.finished===!0))continue;const m=[...n];return m[r]=s(o),m}return n}function Lg(n){return n.kind==="summarization"?!n.finished:n.ended===void 0}function Ug(n){const a=[],s=Mg(n);s.length>0&&a.push({kind:"tools",tools:s});let r=[];return n.messages.forEach((o,f)=>{const m=jg(n,f);Om(o)&&(r.length>0&&(a.push({kind:"tools",tools:r}),r=[]),a.push({kind:"turn",message:o})),r.push(...m)}),r.length>0&&a.push({kind:"tools",tools:r}),a}function zm(){return{live:[],history:[],historyTotal:0,home:void 0,installationRoot:void 0,install:void 0,transcripts:{},transcriptErrors:{},models:{},modelErrors:{},thinkingLevels:{},thinkingLevelErrors:{},queues:{},restoredQueue:{},focusedId:void 0,connection:"connecting",connectionDetail:void 0,errors:[],ready:!1}}const Fg=20;function Bg(n,a){if(a.kind==="queueRestored"){const{[a.sessionId]:s,...r}=n.restoredQueue;return{...n,restoredQueue:r}}return a.kind==="focusSession"?!n.live.some(s=>s.id===a.sessionId)||n.focusedId===a.sessionId?n:{...n,focusedId:a.sessionId}:Hg(n,a)}function Hg(n,a){switch(a.kind){case"snapshot":{const r=n.focusedId&&a.live.some(o=>o.id===n.focusedId)?n.focusedId:a.live[0]?.id;return{...n,live:a.live,history:a.history,historyTotal:a.historyTotal,home:a.home,installationRoot:a.installationRoot,install:a.install,focusedId:r,ready:!0}}case"session":{const r=n.live.findIndex(f=>f.id===a.session.id)===-1?[...n.live,a.session]:n.live.map(f=>f.id===a.session.id?a.session:f),o=n.focusedId??a.session.id;return{...n,live:r,focusedId:o}}case"record":{const s=n.transcripts[a.sessionId]??rs();return{...n,transcripts:{...n.transcripts,[a.sessionId]:km(s,a.record)}}}case"transcript":{const{[a.sessionId]:s,...r}=n.transcriptErrors;return{...n,transcripts:{...n.transcripts,[a.sessionId]:kg(a.messages)},transcriptErrors:r}}case"transcriptError":return{...n,transcriptErrors:{...n.transcriptErrors,[a.sessionId]:a.message}};case"models":{const{[a.sessionId]:s,...r}=n.modelErrors;return{...n,models:{...n.models,[a.sessionId]:a.models},modelErrors:r}}case"modelsError":return{...n,modelErrors:{...n.modelErrors,[a.sessionId]:a.message}};case"thinkingLevels":{const{[a.sessionId]:s,...r}=n.thinkingLevelErrors;return{...n,thinkingLevels:{...n.thinkingLevels,[a.sessionId]:a.levels},thinkingLevelErrors:r}}case"thinkingLevelsError":return{...n,thinkingLevelErrors:{...n.thinkingLevelErrors,[a.sessionId]:a.message}};case"queue":return{...n,queues:{...n.queues,[a.sessionId]:{steering:a.steering,followUp:a.followUp}}};case"queueCleared":{const s=[...a.steering,...a.followUp];return{...n,queues:{...n.queues,[a.sessionId]:{steering:[],followUp:[]}},restoredQueue:{...n.restoredQueue,[a.sessionId]:s}}}case"history":return{...n,history:a.history,historyTotal:a.total,ready:!0};case"files":case"file":case"fileError":return n;case"error":return{...n,errors:[a.message,...n.errors].slice(0,Fg)}}}function qg(n){const a=r=>r.state==="streaming"||r.state==="starting",s=r=>r.state==="awaiting-approval"||r.state==="failed";return{total:n.live.length,running:n.live.filter(a).length,idle:n.live.filter(r=>r.state==="idle").length,needs:n.live.filter(s).length,scratch:n.live.filter(r=>r.scratch).length}}function Gg(n){return n.live.some(a=>a.mode==="direct")}function Yg(n){return n.live.find(a=>a.id===n.focusedId)}function Vg(n,a){return a?n.transcripts[a]??rs():rs()}function Zg(n){return n.live.reduce((a,s)=>a+s.dialogs.length,0)}function Xg(n){if(!n)return{mode:"unavailable",reason:"No session selected."};switch(n.state){case"starting":return{mode:"unavailable",reason:"Starting up. The session will accept a prompt shortly."};case"idle":return{mode:"prompt"};case"streaming":return{mode:"steer"};case"awaiting-approval":return{mode:"unavailable",reason:"Waiting for your answer to a dialog below."};case"failed":return{mode:"unavailable",reason:n.error??"This session failed to start."};case"stopped":return{mode:"unavailable",reason:"This session has stopped."};case"registered":return{mode:"unavailable",reason:"Not yet started."}}}function Qg(n,a){if(!a)return{steering:[],followUp:[],total:0,textsKnown:!0};const s=n.queues[a.id],r=s?.steering??[],o=s?.followUp??[],f=s!==void 0&&r.length+o.length>=a.pending;return{steering:r,followUp:o,total:a.pending,textsKnown:f}}function Ig(n,a,s=200){const r=a.trim().toLowerCase();if(r.length===0)return n.slice(0,s);const o=[];for(const f of n){let m=0;const p=(f.name??"").toLowerCase(),b=f.cwd.toLowerCase(),v=f.firstMessage.toLowerCase();p.includes(r)&&(m+=100),b.includes(r)&&(m+=50),v.includes(r)&&(m+=20),m>0&&o.push({session:f,score:m})}return o.sort((f,m)=>m.score-f.score||m.session.modifiedMs-f.session.modifiedMs),o.slice(0,s).map(f=>f.session)}function jm(n){switch(n.state){case"registered":return"registered";case"starting":return"starting";case"idle":return"idle";case"streaming":return"working";case"awaiting-approval":return"needs you";case"stopped":return"stopped";case"failed":return"failed"}}function Kg(n){const a=[];for(const s of n){const r=a.at(-1);r&&r.provider===s.provider?r.models.push(s):a.push({provider:s.provider,models:[s]})}return a}function Mm(n,a){return n.model===a.id&&(n.provider===void 0||n.provider===a.provider)}function $g(n){return n&&n.state==="streaming"?"Applies to the next turn; this run is already using the current model.":""}function yf(n){return n===null||!Number.isFinite(n)?"—":n===0?"$0.00":n<1?`$${n.toFixed(4)}`:`$${n.toFixed(2)}`}function ss(n){return n===null||!Number.isFinite(n)?"—":n<1e3?`${n}`:n<1e6?`${(n/1e3).toFixed(1)}k`:`${(n/1e6).toFixed(1)}M`}function Rm(n){if(n===null||!Number.isFinite(n))return"ctx —";const a=Math.round(n);return a>=80?`ctx ${a}% full`:`ctx ${a}%`}function Jg(n){return n?n.length>4?n.slice(0,3):n:"—"}function Wg(n,a=Date.now()){const s=Math.max(0,Math.floor((a-n)/1e3));if(s<60)return"just now";const r=Math.floor(s/60);if(r<60)return`${r}m ago`;const o=Math.floor(r/60);if(o<24)return`${o}h ago`;const f=Math.floor(o/24);return f<30?`${f}d ago`:new Date(n).toLocaleDateString()}function xf(n,a){if(n.length<=a)return n;const s=a-1,r=Math.ceil(s*.55),o=s-r;return`${n.slice(0,r)}…${n.slice(n.length-o)}`}function mc(n,a=34,s){let r=n;return s&&s.length>1&&r.startsWith(s)&&(r=`~${r.slice(s.length)}`),xf(r,a)}function Pg(n,a=14){return n?xf(n,a):"model —"}function pc(n){const a=n.name?.trim();return!a||n.scratch&&/^s\d+$/.test(a)?n.scratch?"Scratch session":a??n.id:a}function wm(n,a){return n.scratch?`scratch · ${n.id}`:mc(n.cwd,34,a)}function e6(n,a,s=70){return n.scratch?`${wm(n,a)} · ${mc(n.cwd,s,a)}`:mc(n.cwd,s,a)}async function u6(n){try{return await navigator.clipboard.writeText(n),!0}catch{return!1}}const t6=[{key:"needs",label:"Needs you",match:n=>n.state==="awaiting-approval"},{key:"failed",label:"Failed",match:n=>n.state==="failed"},{key:"running",label:"Running",match:n=>n.state==="streaming"||n.state==="starting"},{key:"idle",label:"Idle",match:n=>n.state==="idle"},{key:"stopped",label:"Stopped",match:n=>n.state==="stopped"||n.state==="registered"}];function n6({sessions:n,focusedId:a,onFocus:s,onStartSession:r,onOpenDirectory:o,home:f,historyTotal:m}){const[p,b]=V.useState(""),v=V.useMemo(()=>{const y=p.trim().toLowerCase();return y.length===0?n:n.filter(C=>pc(C).toLowerCase().includes(y)||C.cwd.toLowerCase().includes(y)||C.id.toLowerCase().includes(y))},[n,p]),_=V.useMemo(()=>t6.map(y=>({...y,items:v.filter(y.match)})).filter(y=>y.items.length>0),[v]);return h.jsxs("nav",{className:"rail","aria-label":"Sessions",children:[h.jsxs("div",{className:"rail-start",children:[h.jsxs("button",{type:"button",className:"btn-primary",onClick:r,children:["New session",h.jsx("small",{children:"runs in a scratch workspace"})]}),h.jsxs("button",{type:"button",className:"btn-quiet",onClick:o,children:[h.jsx("span",{children:"Open in a directory…"}),h.jsx("span",{className:"mono",children:"⌘⇧O"})]})]}),h.jsx("div",{className:"rail-filter",children:h.jsx("input",{type:"search",value:p,placeholder:"Filter sessions","aria-label":"Filter sessions",onChange:y=>b(y.target.value)})}),h.jsxs("div",{className:"rail-list",children:[n.length===0?h.jsxs("p",{className:"rail-empty",children:["No live sessions. Start one with ",h.jsx("kbd",{children:"⌘N"}),"."]}):_.length===0?h.jsxs("p",{className:"rail-empty",children:["No sessions match “",p,"”."]}):_.map(y=>h.jsxs("section",{"aria-label":y.label,children:[h.jsxs("h3",{className:"group-header",children:[h.jsx("span",{children:y.label}),h.jsx("span",{className:"count",children:y.items.length})]}),y.items.map(C=>h.jsx(l6,{session:C,focused:C.id===a,onFocus:()=>s(C.id),home:f},C.id))]},y.key)),m>0&&h.jsx("p",{className:"rail-empty",style:{borderTop:"1px solid var(--line)",marginTop:8},children:`${m} session${m===1?"":"s"} on disk — see the History tab.`})]})]})}function l6({session:n,focused:a,onFocus:s,home:r}){const o=n.dialogs[0]?.message??n.dialogs[0]?.title;return h.jsxs("button",{type:"button",className:`rail-row state-${n.state}`,"aria-current":a?"true":void 0,onClick:s,children:[h.jsxs("span",{className:"r1",children:[h.jsx("span",{className:"name",children:pc(n)}),n.scratch&&h.jsx("span",{className:"chip chip-scratch",children:"scratch"}),h.jsx("span",{className:`chip chip-${n.state}`,children:jm(n)})]}),o?h.jsxs("span",{className:"r2 ask",title:o,children:["⚠ ",o]}):h.jsx("span",{className:"r2",title:n.cwd,children:wm(n,r)}),h.jsxs("span",{className:"r3",children:[h.jsx("span",{children:Pg(n.model)}),h.jsx("span",{children:Jg(n.thinkingLevel)}),h.jsx("span",{children:Rm(n.contextPercent)}),h.jsx("span",{children:yf(n.cost)}),n.pending>0&&h.jsxs("span",{children:["+",n.pending," queued"]})]}),n.warnings.length>0&&h.jsxs("span",{className:"r3",style:{color:"var(--warn-text)"},title:n.warnings.join(`
13
+ `),children:["⚠ ",n.warnings[0]]})]})}const a6="modulepreload",i6=function(n){return"/"+n},G2={},is=function(a,s,r){let o=Promise.resolve();if(s&&s.length>0){let b=function(v){return Promise.all(v.map(_=>Promise.resolve(_).then(y=>({status:"fulfilled",value:y}),y=>({status:"rejected",reason:y}))))};document.getElementsByTagName("link");const m=document.querySelector("meta[property=csp-nonce]"),p=m?.nonce||m?.getAttribute("nonce");o=b(s.map(v=>{if(v=i6(v),v in G2)return;G2[v]=!0;const _=v.endsWith(".css"),y=_?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${v}"]${y}`))return;const C=document.createElement("link");if(C.rel=_?"stylesheet":a6,_||(C.as="script"),C.crossOrigin="",C.href=v,p&&C.setAttribute("nonce",p),document.head.appendChild(C),_)return new Promise((M,A)=>{C.addEventListener("load",M),C.addEventListener("error",()=>A(new Error(`Unable to preload CSS for ${v}`)))})}))}function f(m){const p=new Event("vite:preloadError",{cancelable:!0});if(p.payload=m,window.dispatchEvent(p),!p.defaultPrevented)throw m}return o.then(m=>{for(const p of m||[])p.status==="rejected"&&f(p.reason);return a().catch(f)})},c6="github-dark-default";let $r,Jr;async function Lm(){return $r||(Jr||(Jr=is(()=>import("./grammar-map-D-x_DcfQ.js"),[]).then(n=>($r=n.grammars,$r)).catch(()=>(Jr=void 0,{}))),Jr)}let Wr,Pr;const r6=new Set,X0=new Map;function Um(n){return n.trim().toLowerCase()}async function Fm(n){if(n.length===0)return;const a=await Lm(),s=n.replace(/[^a-z0-9]/g,"");return[`../../../node_modules/@shikijs/langs/dist/${n}.mjs`,`../../../node_modules/@shikijs/langs/dist/${s}.mjs`].find(o=>a[o]!==void 0)}async function s6(n){return await Fm(Um(n))!==void 0}async function o6(n){const a=X0.get(n);if(a)return a;const s=await Fm(n),r=s?(await Lm())[s]:void 0;if(!r)return;const o=r().then(f=>f,()=>{X0.delete(n)});return X0.set(n,o),o}async function f6(){return Wr||(Pr||(Pr=(async()=>{try{const[{createHighlighterCore:n},{createJavaScriptRegexEngine:a},s]=await Promise.all([is(()=>import("./core-CcaQSRDK.js"),[]),is(()=>import("./engine-javascript-CuxHA8oH.js"),[]),is(()=>import("./github-dark-default-Cuk6v7N8.js"),[])]);return Wr=await n({themes:[s],langs:[],engine:a()}),Wr}catch{Pr=void 0;return}})()),Pr)}function d6(n){return typeof n=="number"&&(n&1)===1}async function h6(n,a){if(n.length===0)return;const s=Um(a);if(!await s6(s))return;const r=await f6();if(r)try{if(!r.getLoadedLanguages().includes(s)){const f=await o6(s);if(!f)return;await r.loadLanguage(f.default),r6.add(s)}const{tokens:o}=r.codeToTokens(n,{lang:s,theme:c6});return{lang:s,lines:o.map(f=>f.map(m=>({text:m.content,...m.color!==void 0?{color:m.color}:{},...d6(m.fontStyle)?{italic:!0}:{}})))}}catch{return}}function m6(n){if(!n)return;const a=n.replace(/^#/,"").toLowerCase(),s=a.length===3?a.split("").map(r=>r+r).join(""):a;return/^[0-9a-f]{6}$/.test(s)?`tk-${s}`:void 0}function p6(n){return V.createElement("pre",{className:`shiki shiki-${n.lang}`},V.createElement("code",null,n.lines.map((a,s)=>V.createElement("span",{className:"line",key:s},a.length===0?`
14
+ `:[...a.map((r,o)=>V.createElement("span",{key:o,className:[m6(r.color),r.italic?"tk-i":void 0].filter(Boolean).join(" ")||void 0},r.text)),`
15
+ `]))))}const b6=/^(`{3,}|~{3,})\s*([^`\s]*)\s*$/;function g6(n){if(!n.includes("```")&&!n.includes("~~~"))return[{kind:"prose",text:n}];const a=n.split(`
16
+ `),s=[];let r=[];const o=()=>{r.length>0&&(s.push({kind:"prose",text:r.join(`
17
+ `)}),r=[])};for(let f=0;f<a.length;f+=1){const m=a[f]??"",p=b6.exec(m);if(!p){r.push(m);continue}const b=p[1],v=(p[2]??"").toLowerCase();let _=-1;for(let y=f+1;y<a.length;y+=1){const M=(a[y]??"").trimEnd();if(M.length>=b.length&&/^(`{3,}|~{3,})$/.test(M)&&M[0]===b[0]){_=y;break}}if(_===-1){r.push(m);continue}o(),s.push({kind:"code",lang:v,code:a.slice(f+1,_).join(`
18
+ `)}),f=_}return o(),s.length>0?s:[{kind:"prose",text:n}]}function y6(n){const a=new Set;for(const s of n)s.kind==="code"&&s.lang.length>0&&a.add(s.lang);return[...a].sort()}const Y2={};function x6(n){let a=Y2[n];if(a)return a;a=Y2[n]=[];for(let s=0;s<128;s++){const r=String.fromCharCode(s);a.push(r)}for(let s=0;s<n.length;s++){const r=n.charCodeAt(s);a[r]="%"+("0"+r.toString(16).toUpperCase()).slice(-2)}return a}function ni(n,a){typeof a!="string"&&(a=ni.defaultChars);const s=x6(a);return n.replace(/(%[a-f0-9]{2})+/gi,function(r){let o="";for(let f=0,m=r.length;f<m;f+=3){const p=parseInt(r.slice(f+1,f+3),16);if(p<128){o+=s[p];continue}if((p&224)===192&&f+3<m){const b=parseInt(r.slice(f+4,f+6),16);if((b&192)===128){const v=p<<6&1984|b&63;v<128?o+="��":o+=String.fromCharCode(v),f+=3;continue}}if((p&240)===224&&f+6<m){const b=parseInt(r.slice(f+4,f+6),16),v=parseInt(r.slice(f+7,f+9),16);if((b&192)===128&&(v&192)===128){const _=p<<12&61440|b<<6&4032|v&63;_<2048||_>=55296&&_<=57343?o+="���":o+=String.fromCharCode(_),f+=6;continue}}if((p&248)===240&&f+9<m){const b=parseInt(r.slice(f+4,f+6),16),v=parseInt(r.slice(f+7,f+9),16),_=parseInt(r.slice(f+10,f+12),16);if((b&192)===128&&(v&192)===128&&(_&192)===128){let y=p<<18&1835008|b<<12&258048|v<<6&4032|_&63;y<65536||y>1114111?o+="����":(y-=65536,o+=String.fromCharCode(55296+(y>>10),56320+(y&1023))),f+=9;continue}}o+="�"}return o})}ni.defaultChars=";/?:@&=+$,#";ni.componentChars="";const V2={};function v6(n){let a=V2[n];if(a)return a;a=V2[n]=[];for(let s=0;s<128;s++){const r=String.fromCharCode(s);/^[0-9a-z]$/i.test(r)?a.push(r):a.push("%"+("0"+s.toString(16).toUpperCase()).slice(-2))}for(let s=0;s<n.length;s++)a[n.charCodeAt(s)]=n[s];return a}function _c(n,a,s){typeof a!="string"&&(s=a,a=_c.defaultChars),typeof s>"u"&&(s=!0);const r=v6(a);let o="";for(let f=0,m=n.length;f<m;f++){const p=n.charCodeAt(f);if(s&&p===37&&f+2<m&&/^[0-9a-f]{2}$/i.test(n.slice(f+1,f+3))){o+=n.slice(f,f+3),f+=2;continue}if(p<128){o+=r[p];continue}if(p>=55296&&p<=57343){if(p>=55296&&p<=56319&&f+1<m){const b=n.charCodeAt(f+1);if(b>=56320&&b<=57343){o+=encodeURIComponent(n[f]+n[f+1]),f++;continue}}o+="%EF%BF%BD";continue}o+=encodeURIComponent(n[f])}return o}_c.defaultChars=";/?:@&=+$,-_.!~*'()#";_c.componentChars="-_.!~*'()";function vf(n){let a="";return a+=n.protocol||"",a+=n.slashes?"//":"",a+=n.auth?n.auth+"@":"",n.hostname&&n.hostname.indexOf(":")!==-1?a+="["+n.hostname+"]":a+=n.hostname||"",a+=n.port?":"+n.port:"",a+=n.pathname||"",a+=n.search||"",a+=n.hash||"",a}function os(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const _6=/^([a-z0-9.+-]+:)/i,E6=/:[0-9]*$/,S6=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,A6=["<",">",'"',"`"," ","\r",`
19
+ `," "],T6=["{","}","|","\\","^","`"].concat(A6),D6=["'"].concat(T6),Z2=["%","/","?",";","#"].concat(D6),X2=["/","?","#"],C6=255,Q2=/^[+a-z0-9A-Z_-]{0,63}$/,N6=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,I2={javascript:!0,"javascript:":!0},K2={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function _f(n,a){if(n&&n instanceof os)return n;const s=new os;return s.parse(n,a),s}os.prototype.parse=function(n,a){let s,r,o,f=n;if(f=f.trim(),!a&&n.split("#").length===1){const v=S6.exec(f);if(v)return this.pathname=v[1],v[2]&&(this.search=v[2]),this}let m=_6.exec(f);if(m&&(m=m[0],s=m.toLowerCase(),this.protocol=m,f=f.substr(m.length)),(a||m||f.match(/^\/\/[^@\/]+@[^@\/]+/))&&(o=f.substr(0,2)==="//",o&&!(m&&I2[m])&&(f=f.substr(2),this.slashes=!0)),!I2[m]&&(o||m&&!K2[m])){let v=-1;for(let A=0;A<X2.length;A++)r=f.indexOf(X2[A]),r!==-1&&(v===-1||r<v)&&(v=r);let _,y;v===-1?y=f.lastIndexOf("@"):y=f.lastIndexOf("@",v),y!==-1&&(_=f.slice(0,y),f=f.slice(y+1),this.auth=_),v=-1;for(let A=0;A<Z2.length;A++)r=f.indexOf(Z2[A]),r!==-1&&(v===-1||r<v)&&(v=r);v===-1&&(v=f.length),f[v-1]===":"&&v--;const C=f.slice(0,v);f=f.slice(v),this.parseHost(C),this.hostname=this.hostname||"";const M=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!M){const A=this.hostname.split(/\./);for(let L=0,Y=A.length;L<Y;L++){const J=A[L];if(J&&!J.match(Q2)){let fe="";for(let ae=0,q=J.length;ae<q;ae++)J.charCodeAt(ae)>127?fe+="x":fe+=J[ae];if(!fe.match(Q2)){const ae=A.slice(0,L),q=A.slice(L+1),Q=J.match(N6);Q&&(ae.push(Q[1]),q.unshift(Q[2])),q.length&&(f=q.join(".")+f),this.hostname=ae.join(".");break}}}}this.hostname.length>C6&&(this.hostname=""),M&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const p=f.indexOf("#");p!==-1&&(this.hash=f.substr(p),f=f.slice(0,p));const b=f.indexOf("?");return b!==-1&&(this.search=f.substr(b),f=f.slice(0,b)),f&&(this.pathname=f),K2[s]&&this.hostname&&!this.pathname&&(this.pathname=""),this};os.prototype.parseHost=function(n){let a=E6.exec(n);a&&(a=a[0],a!==":"&&(this.port=a.substr(1)),n=n.substr(0,n.length-a.length)),n&&(this.hostname=n)};const k6=Object.freeze(Object.defineProperty({__proto__:null,decode:ni,encode:_c,format:vf,parse:_f},Symbol.toStringTag,{value:"Module"})),Bm=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Hm=/[\0-\x1F\x7F-\x9F]/,O6=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,Ef=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,qm=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,Gm=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,z6=Object.freeze(Object.defineProperty({__proto__:null,Any:Bm,Cc:Hm,Cf:O6,P:Ef,S:qm,Z:Gm},Symbol.toStringTag,{value:"Module"})),j6=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(n=>n.charCodeAt(0))),M6=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(n=>n.charCodeAt(0)));var Q0;const R6=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),w6=(Q0=String.fromCodePoint)!==null&&Q0!==void 0?Q0:function(n){let a="";return n>65535&&(n-=65536,a+=String.fromCharCode(n>>>10&1023|55296),n=56320|n&1023),a+=String.fromCharCode(n),a};function L6(n){var a;return n>=55296&&n<=57343||n>1114111?65533:(a=R6.get(n))!==null&&a!==void 0?a:n}var _u;(function(n){n[n.NUM=35]="NUM",n[n.SEMI=59]="SEMI",n[n.EQUALS=61]="EQUALS",n[n.ZERO=48]="ZERO",n[n.NINE=57]="NINE",n[n.LOWER_A=97]="LOWER_A",n[n.LOWER_F=102]="LOWER_F",n[n.LOWER_X=120]="LOWER_X",n[n.LOWER_Z=122]="LOWER_Z",n[n.UPPER_A=65]="UPPER_A",n[n.UPPER_F=70]="UPPER_F",n[n.UPPER_Z=90]="UPPER_Z"})(_u||(_u={}));const U6=32;var vl;(function(n){n[n.VALUE_LENGTH=49152]="VALUE_LENGTH",n[n.BRANCH_LENGTH=16256]="BRANCH_LENGTH",n[n.JUMP_TABLE=127]="JUMP_TABLE"})(vl||(vl={}));function hf(n){return n>=_u.ZERO&&n<=_u.NINE}function F6(n){return n>=_u.UPPER_A&&n<=_u.UPPER_F||n>=_u.LOWER_A&&n<=_u.LOWER_F}function B6(n){return n>=_u.UPPER_A&&n<=_u.UPPER_Z||n>=_u.LOWER_A&&n<=_u.LOWER_Z||hf(n)}function H6(n){return n===_u.EQUALS||B6(n)}var vu;(function(n){n[n.EntityStart=0]="EntityStart",n[n.NumericStart=1]="NumericStart",n[n.NumericDecimal=2]="NumericDecimal",n[n.NumericHex=3]="NumericHex",n[n.NamedEntity=4]="NamedEntity"})(vu||(vu={}));var Nn;(function(n){n[n.Legacy=0]="Legacy",n[n.Strict=1]="Strict",n[n.Attribute=2]="Attribute"})(Nn||(Nn={}));class q6{constructor(a,s,r){this.decodeTree=a,this.emitCodePoint=s,this.errors=r,this.state=vu.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Nn.Strict}startEntity(a){this.decodeMode=a,this.state=vu.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(a,s){switch(this.state){case vu.EntityStart:return a.charCodeAt(s)===_u.NUM?(this.state=vu.NumericStart,this.consumed+=1,this.stateNumericStart(a,s+1)):(this.state=vu.NamedEntity,this.stateNamedEntity(a,s));case vu.NumericStart:return this.stateNumericStart(a,s);case vu.NumericDecimal:return this.stateNumericDecimal(a,s);case vu.NumericHex:return this.stateNumericHex(a,s);case vu.NamedEntity:return this.stateNamedEntity(a,s)}}stateNumericStart(a,s){return s>=a.length?-1:(a.charCodeAt(s)|U6)===_u.LOWER_X?(this.state=vu.NumericHex,this.consumed+=1,this.stateNumericHex(a,s+1)):(this.state=vu.NumericDecimal,this.stateNumericDecimal(a,s))}addToNumericResult(a,s,r,o){if(s!==r){const f=r-s;this.result=this.result*Math.pow(o,f)+parseInt(a.substr(s,f),o),this.consumed+=f}}stateNumericHex(a,s){const r=s;for(;s<a.length;){const o=a.charCodeAt(s);if(hf(o)||F6(o))s+=1;else return this.addToNumericResult(a,r,s,16),this.emitNumericEntity(o,3)}return this.addToNumericResult(a,r,s,16),-1}stateNumericDecimal(a,s){const r=s;for(;s<a.length;){const o=a.charCodeAt(s);if(hf(o))s+=1;else return this.addToNumericResult(a,r,s,10),this.emitNumericEntity(o,2)}return this.addToNumericResult(a,r,s,10),-1}emitNumericEntity(a,s){var r;if(this.consumed<=s)return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(a===_u.SEMI)this.consumed+=1;else if(this.decodeMode===Nn.Strict)return 0;return this.emitCodePoint(L6(this.result),this.consumed),this.errors&&(a!==_u.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(a,s){const{decodeTree:r}=this;let o=r[this.treeIndex],f=(o&vl.VALUE_LENGTH)>>14;for(;s<a.length;s++,this.excess++){const m=a.charCodeAt(s);if(this.treeIndex=G6(r,o,this.treeIndex+Math.max(1,f),m),this.treeIndex<0)return this.result===0||this.decodeMode===Nn.Attribute&&(f===0||H6(m))?0:this.emitNotTerminatedNamedEntity();if(o=r[this.treeIndex],f=(o&vl.VALUE_LENGTH)>>14,f!==0){if(m===_u.SEMI)return this.emitNamedEntityData(this.treeIndex,f,this.consumed+this.excess);this.decodeMode!==Nn.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var a;const{result:s,decodeTree:r}=this,o=(r[s]&vl.VALUE_LENGTH)>>14;return this.emitNamedEntityData(s,o,this.consumed),(a=this.errors)===null||a===void 0||a.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(a,s,r){const{decodeTree:o}=this;return this.emitCodePoint(s===1?o[a]&~vl.VALUE_LENGTH:o[a+1],r),s===3&&this.emitCodePoint(o[a+2],r),r}end(){var a;switch(this.state){case vu.NamedEntity:return this.result!==0&&(this.decodeMode!==Nn.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case vu.NumericDecimal:return this.emitNumericEntity(0,2);case vu.NumericHex:return this.emitNumericEntity(0,3);case vu.NumericStart:return(a=this.errors)===null||a===void 0||a.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case vu.EntityStart:return 0}}}function Ym(n){let a="";const s=new q6(n,r=>a+=w6(r));return function(o,f){let m=0,p=0;for(;(p=o.indexOf("&",p))>=0;){a+=o.slice(m,p),s.startEntity(f);const v=s.write(o,p+1);if(v<0){m=p+s.end();break}m=p+v,p=v===0?m+1:m}const b=a+o.slice(m);return a="",b}}function G6(n,a,s,r){const o=(a&vl.BRANCH_LENGTH)>>7,f=a&vl.JUMP_TABLE;if(o===0)return f!==0&&r===f?s:-1;if(f){const b=r-f;return b<0||b>=o?-1:n[s+b]-1}let m=s,p=m+o-1;for(;m<=p;){const b=m+p>>>1,v=n[b];if(v<r)m=b+1;else if(v>r)p=b-1;else return n[b+o]}return-1}const Vm=Ym(j6);Ym(M6);function Y6(n,a=Nn.Legacy){return Vm(n,a)}function V6(n){return Vm(n,Nn.Strict)}function Z6(n){return Object.prototype.toString.call(n)}function Sf(n){return Z6(n)==="[object String]"}const X6=Object.prototype.hasOwnProperty;function Q6(n,a){return X6.call(n,a)}function ds(n){return Array.prototype.slice.call(arguments,1).forEach(function(s){if(s){if(typeof s!="object")throw new TypeError(s+"must be object");Object.keys(s).forEach(function(r){n[r]=s[r]})}}),n}function I6(n,a,s){return[].concat(n.slice(0,a),s,n.slice(a+1))}function Af(n){return!(n>=55296&&n<=57343||n>=64976&&n<=65007||(n&65535)===65535||(n&65535)===65534||n>=0&&n<=8||n===11||n>=14&&n<=31||n>=127&&n<=159||n>1114111)}function bc(n){if(n>65535){n-=65536;const a=55296+(n>>10),s=56320+(n&1023);return String.fromCharCode(a,s)}return String.fromCharCode(n)}const Zm=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,K6=/&([a-z#][a-z0-9]{1,31});/gi,$6=new RegExp(Zm.source+"|"+K6.source,"gi"),J6=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function W6(n,a){if(a.charCodeAt(0)===35&&J6.test(a)){const r=a[1].toLowerCase()==="x"?parseInt(a.slice(2),16):parseInt(a.slice(1),10);return Af(r)?bc(r):n}const s=Y6(n);return s!==n?s:n}function P6(n){return n.indexOf("\\")<0?n:n.replace(Zm,"$1")}function li(n){return n.indexOf("\\")<0&&n.indexOf("&")<0?n:n.replace($6,function(a,s,r){return s||W6(a,r)})}const ey=/[&<>"]/,uy=/[&<>"]/g,ty={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function ny(n){return ty[n]}function _l(n){return ey.test(n)?n.replace(uy,ny):n}const ly=/[.?*+^$[\]\\(){}|-]/g;function ay(n){return n.replace(ly,"\\$&")}function Ke(n){switch(n){case 9:case 32:return!0}return!1}function gc(n){if(n>=8192&&n<=8202)return!0;switch(n){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function Xm(n){return Ef.test(n)||qm.test(n)}function yc(n){return Xm(bc(n))}function xc(n){switch(n){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function hs(n){return n=n.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(n=n.replace(/ẞ/g,"ß")),n.toLowerCase().toUpperCase()}function $2(n){return n===32||n===9||n===10||n===13}function ms(n){let a=0;for(;a<n.length&&$2(n.charCodeAt(a));a++);let s=n.length-1;for(;s>=a&&$2(n.charCodeAt(s));s--);return n.slice(a,s+1)}const iy={mdurl:k6,ucmicro:z6},cy=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:I6,asciiTrim:ms,assign:ds,escapeHtml:_l,escapeRE:ay,fromCodePoint:bc,has:Q6,isMdAsciiPunct:xc,isPunctChar:Xm,isPunctCharCode:yc,isSpace:Ke,isString:Sf,isValidEntityCode:Af,isWhiteSpace:gc,lib:iy,normalizeReference:hs,unescapeAll:li,unescapeMd:P6},Symbol.toStringTag,{value:"Module"}));function ry(n,a,s){let r,o,f,m;const p=n.posMax,b=n.pos;for(n.pos=a+1,r=1;n.pos<p;){if(f=n.src.charCodeAt(n.pos),f===93&&(r--,r===0)){o=!0;break}if(m=n.pos,n.md.inline.skipToken(n),f===91){if(m===n.pos-1)r++;else if(s)return n.pos=b,-1}}let v=-1;return o&&(v=n.pos),n.pos=b,v}function sy(n,a,s){let r,o=a;const f={ok:!1,pos:0,str:""};if(n.charCodeAt(o)===60){for(o++;o<s;){if(r=n.charCodeAt(o),r===10||r===60)return f;if(r===62)return f.pos=o+1,f.str=li(n.slice(a+1,o)),f.ok=!0,f;if(r===92&&o+1<s){o+=2;continue}o++}return f}let m=0;for(;o<s&&(r=n.charCodeAt(o),!(r===32||r<32||r===127));){if(r===92&&o+1<s){if(n.charCodeAt(o+1)===32){o++;continue}o+=2;continue}if(r===40&&(m++,m>32))return f;if(r===41){if(m===0)break;m--}o++}return a===o||m!==0||(f.str=li(n.slice(a,o)),f.pos=o,f.ok=!0),f}function oy(n,a,s,r){let o,f=a;const m={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(r)m.str=r.str,m.marker=r.marker;else{if(f>=s)return m;let p=n.charCodeAt(f);if(p!==34&&p!==39&&p!==40)return m;a++,f++,p===40&&(p=41),m.marker=p}for(;f<s;){if(o=n.charCodeAt(f),o===m.marker)return m.pos=f+1,m.str+=li(n.slice(a,f)),m.ok=!0,m;if(o===40&&m.marker===41)return m;o===92&&f+1<s&&f++,f++}return m.can_continue=!0,m.str+=li(n.slice(a,f)),m}const fy=Object.freeze(Object.defineProperty({__proto__:null,parseLinkDestination:sy,parseLinkLabel:ry,parseLinkTitle:oy},Symbol.toStringTag,{value:"Module"})),an={};an.code_inline=function(n,a,s,r,o){const f=n[a];return"<code"+o.renderAttrs(f)+">"+_l(f.content)+"</code>"};an.code_block=function(n,a,s,r,o){const f=n[a];return"<pre"+o.renderAttrs(f)+"><code>"+_l(n[a].content)+`</code></pre>
20
+ `};an.fence=function(n,a,s,r,o){const f=n[a],m=f.info?li(f.info).trim():"";let p="",b="";if(m){const _=m.split(/(\s+)/g);p=_[0],b=_.slice(2).join("")}let v;if(s.highlight?v=s.highlight(f.content,p,b)||_l(f.content):v=_l(f.content),v.indexOf("<pre")===0)return v+`
21
+ `;if(m){const _=f.attrIndex("class"),y=f.attrs?f.attrs.slice():[];_<0?y.push(["class",s.langPrefix+p]):(y[_]=y[_].slice(),y[_][1]+=" "+s.langPrefix+p);const C={attrs:y};return`<pre><code${o.renderAttrs(C)}>${v}</code></pre>
22
+ `}return`<pre><code${o.renderAttrs(f)}>${v}</code></pre>
23
+ `};an.image=function(n,a,s,r,o){const f=n[a];return f.attrs[f.attrIndex("alt")][1]=o.renderInlineAsText(f.children,s,r),o.renderToken(n,a,s)};an.hardbreak=function(n,a,s){return s.xhtmlOut?`<br />
24
+ `:`<br>
25
+ `};an.softbreak=function(n,a,s){return s.breaks?s.xhtmlOut?`<br />
26
+ `:`<br>
27
+ `:`
28
+ `};an.text=function(n,a){return _l(n[a].content)};an.html_block=function(n,a){return n[a].content};an.html_inline=function(n,a){return n[a].content};function ai(){this.rules=ds({},an)}ai.prototype.renderAttrs=function(a){let s,r,o;if(!a.attrs)return"";for(o="",s=0,r=a.attrs.length;s<r;s++)o+=" "+_l(a.attrs[s][0])+'="'+_l(a.attrs[s][1])+'"';return o};ai.prototype.renderToken=function(a,s,r){const o=a[s];let f="";if(o.hidden)return"";o.block&&o.nesting!==-1&&s&&a[s-1].hidden&&(f+=`
29
+ `),f+=(o.nesting===-1?"</":"<")+o.tag,f+=this.renderAttrs(o),o.nesting===0&&r.xhtmlOut&&(f+=" /");let m=!1;if(o.block&&(m=!0,o.nesting===1&&s+1<a.length)){const p=a[s+1];(p.type==="inline"||p.hidden||p.nesting===-1&&p.tag===o.tag)&&(m=!1)}return f+=m?`>
30
+ `:">",f};ai.prototype.renderInline=function(n,a,s){let r="";const o=this.rules;for(let f=0,m=n.length;f<m;f++){const p=n[f].type;typeof o[p]<"u"?r+=o[p](n,f,a,s,this):r+=this.renderToken(n,f,a)}return r};ai.prototype.renderInlineAsText=function(n,a,s){let r="";for(let o=0,f=n.length;o<f;o++)switch(n[o].type){case"text":r+=n[o].content;break;case"image":r+=this.renderInlineAsText(n[o].children,a,s);break;case"html_inline":case"html_block":r+=n[o].content;break;case"softbreak":case"hardbreak":r+=`
31
+ `;break}return r};ai.prototype.render=function(n,a,s){let r="";const o=this.rules;for(let f=0,m=n.length;f<m;f++){const p=n[f].type;p==="inline"?r+=this.renderInline(n[f].children,a,s):typeof o[p]<"u"?r+=o[p](n,f,a,s,this):r+=this.renderToken(n,f,a,s)}return r};function lt(){this.__rules__=[],this.__cache__=null}lt.prototype.__find__=function(n){for(let a=0;a<this.__rules__.length;a++)if(this.__rules__[a].name===n)return a;return-1};lt.prototype.__compile__=function(){const n=this,a=[""];n.__rules__.forEach(function(s){s.enabled&&s.alt.forEach(function(r){a.indexOf(r)<0&&a.push(r)})}),n.__cache__={},a.forEach(function(s){n.__cache__[s]=[],n.__rules__.forEach(function(r){r.enabled&&(s&&r.alt.indexOf(s)<0||n.__cache__[s].push(r.fn))})})};lt.prototype.at=function(n,a,s){const r=this.__find__(n),o=s||{};if(r===-1)throw new Error("Parser rule not found: "+n);this.__rules__[r].fn=a,this.__rules__[r].alt=o.alt||[],this.__cache__=null};lt.prototype.before=function(n,a,s,r){const o=this.__find__(n),f=r||{};if(o===-1)throw new Error("Parser rule not found: "+n);this.__rules__.splice(o,0,{name:a,enabled:!0,fn:s,alt:f.alt||[]}),this.__cache__=null};lt.prototype.after=function(n,a,s,r){const o=this.__find__(n),f=r||{};if(o===-1)throw new Error("Parser rule not found: "+n);this.__rules__.splice(o+1,0,{name:a,enabled:!0,fn:s,alt:f.alt||[]}),this.__cache__=null};lt.prototype.push=function(n,a,s){const r=s||{};this.__rules__.push({name:n,enabled:!0,fn:a,alt:r.alt||[]}),this.__cache__=null};lt.prototype.enable=function(n,a){Array.isArray(n)||(n=[n]);const s=[];return n.forEach(function(r){const o=this.__find__(r);if(o<0){if(a)return;throw new Error("Rules manager: invalid rule name "+r)}this.__rules__[o].enabled=!0,s.push(r)},this),this.__cache__=null,s};lt.prototype.enableOnly=function(n,a){Array.isArray(n)||(n=[n]),this.__rules__.forEach(function(s){s.enabled=!1}),this.enable(n,a)};lt.prototype.disable=function(n,a){Array.isArray(n)||(n=[n]);const s=[];return n.forEach(function(r){const o=this.__find__(r);if(o<0){if(a)return;throw new Error("Rules manager: invalid rule name "+r)}this.__rules__[o].enabled=!1,s.push(r)},this),this.__cache__=null,s};lt.prototype.getRules=function(n){return this.__cache__===null&&this.__compile__(),this.__cache__[n]||[]};function Bt(n,a,s){this.type=n,this.tag=a,this.attrs=null,this.map=null,this.nesting=s,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}Bt.prototype.attrIndex=function(a){if(!this.attrs)return-1;const s=this.attrs;for(let r=0,o=s.length;r<o;r++)if(s[r][0]===a)return r;return-1};Bt.prototype.attrPush=function(a){this.attrs?this.attrs.push(a):this.attrs=[a]};Bt.prototype.attrSet=function(a,s){const r=this.attrIndex(a),o=[a,s];r<0?this.attrPush(o):this.attrs[r]=o};Bt.prototype.attrGet=function(a){const s=this.attrIndex(a);let r=null;return s>=0&&(r=this.attrs[s][1]),r};Bt.prototype.attrJoin=function(a,s){const r=this.attrIndex(a);r<0?this.attrPush([a,s]):this.attrs[r][1]=this.attrs[r][1]+" "+s};function Qm(n,a,s){this.src=n,this.env=s,this.tokens=[],this.inlineMode=!1,this.md=a}Qm.prototype.Token=Bt;const dy=/\r\n?|\n/g,hy=/\0/g;function my(n){let a;a=n.src.replace(dy,`
32
+ `),a=a.replace(hy,"�"),n.src=a}function py(n){let a;n.inlineMode?(a=new n.Token("inline","",0),a.content=n.src,a.map=[0,1],a.children=[],n.tokens.push(a)):n.md.block.parse(n.src,n.md,n.env,n.tokens)}function by(n){const a=n.tokens;for(let s=0,r=a.length;s<r;s++){const o=a[s];o.type==="inline"&&n.md.inline.parse(o.content,n.md,n.env,o.children)}}function gy(n){return/^<a[>\s]/i.test(n)}function yy(n){return/^<\/a\s*>/i.test(n)}function xy(n){const a=n.tokens;if(n.md.options.linkify)for(let s=0,r=a.length;s<r;s++){if(a[s].type!=="inline"||!n.md.linkify.pretest(a[s].content))continue;const o=a[s].children,f=[];let m=0;for(let p=o.length-1;p>=0;p--){const b=o[p];if(b.type==="link_close"){for(p--;o[p].level!==b.level&&o[p].type!=="link_open";)p--;continue}if(b.type==="html_inline"&&(gy(b.content)&&m>0&&m--,yy(b.content)&&m++),!(m>0)&&b.type==="text"&&n.md.linkify.test(b.content)){const v=b.content;let _=n.md.linkify.match(v);const y=[];let C=b.level,M=0;_.length>0&&_[0].index===0&&p>0&&o[p-1].type==="text_special"&&(_=_.slice(1));for(let A=0;A<_.length;A++){const L=_[A].url,Y=n.md.normalizeLink(L);if(!n.md.validateLink(Y))continue;let J=_[A].text;_[A].schema?_[A].schema==="mailto:"&&!/^mailto:/i.test(J)?J=n.md.normalizeLinkText("mailto:"+J).replace(/^mailto:/,""):J=n.md.normalizeLinkText(J):J=n.md.normalizeLinkText("http://"+J).replace(/^http:\/\//,"");const fe=_[A].index;if(fe>M){const ue=new n.Token("text","",0);ue.content=v.slice(M,fe),ue.level=C,y.push(ue)}const ae=new n.Token("link_open","a",1);ae.attrs=[["href",Y]],ae.level=C++,ae.markup="linkify",ae.info="auto",y.push(ae);const q=new n.Token("text","",0);q.content=J,q.level=C,y.push(q);const Q=new n.Token("link_close","a",-1);Q.level=--C,Q.markup="linkify",Q.info="auto",y.push(Q),M=_[A].lastIndex}if(M<v.length){const A=new n.Token("text","",0);A.content=v.slice(M),A.level=C,y.push(A)}f.push({index:p,nodes:y})}}if(f.length>0){let p=o.length;for(const y of f)p+=y.nodes.length-1;const b=new Array(p);let v=0,_=0;f.reverse();for(let y=0;y<o.length;y++){const C=f[v];if(C?.index===y){for(const M of C.nodes)b[_++]=M;v++}else b[_++]=o[y]}a[s].children=b}}}const Im=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,vy=/\((c|tm|r)\)/i,_y=/\((c|tm|r)\)/ig,Ey={c:"©",r:"®",tm:"™"};function Sy(n,a){return Ey[a.toLowerCase()]}function Ay(n){let a=0;for(let s=n.length-1;s>=0;s--){const r=n[s];r.type==="text"&&!a&&(r.content=r.content.replace(_y,Sy)),r.type==="link_open"&&r.info==="auto"&&a--,r.type==="link_close"&&r.info==="auto"&&a++}}function Ty(n){let a=0;for(let s=n.length-1;s>=0;s--){const r=n[s];r.type==="text"&&!a&&Im.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),r.type==="link_open"&&r.info==="auto"&&a--,r.type==="link_close"&&r.info==="auto"&&a++}}function Dy(n){let a;if(n.md.options.typographer)for(a=n.tokens.length-1;a>=0;a--)n.tokens[a].type==="inline"&&(vy.test(n.tokens[a].content)&&Ay(n.tokens[a].children),Im.test(n.tokens[a].content)&&Ty(n.tokens[a].children))}const Cy=/['"]/,J2=/['"]/g,W2="’",Ny=1e3;function P2(n,a,s){for(;n.length>s;){const r=n.pop();r.isSingleQuote?a.single=r.prevSameQuoteIdx:a.double=r.prevSameQuoteIdx}}function es(n,a,s,r){n[a]||(n[a]=[]),n[a].push({pos:s,ch:r})}function ky(n,a){let s="",r=0;a.sort((o,f)=>o.pos-f.pos);for(let o=0;o<a.length;o++){const f=a[o];s+=n.slice(r,f.pos)+f.ch,r=f.pos+1}return s+n.slice(r)}function Oy(n,a){let s;const r=[],o={single:-1,double:-1},f={};for(let m=0;m<n.length;m++){const p=n[m],b=n[m].level;for(s=r.length-1;s>=0&&!(r[s].level<=b);s--);if(P2(r,o,s+1),p.type!=="text")continue;const v=p.content;let _=0;const y=v.length;e:for(;_<y;){J2.lastIndex=_;const C=J2.exec(v);if(!C)break;let M=!0,A=!0;_=C.index+1;const L=C[0]==="'";let Y=32;if(C.index-1>=0)Y=v.charCodeAt(C.index-1);else for(s=m-1;s>=0&&!(n[s].type==="softbreak"||n[s].type==="hardbreak");s--)if(n[s].content){Y=n[s].content.charCodeAt(n[s].content.length-1);break}let J=32;if(_<y)J=v.charCodeAt(_);else for(s=m+1;s<n.length&&!(n[s].type==="softbreak"||n[s].type==="hardbreak");s++)if(n[s].content){J=n[s].content.charCodeAt(0);break}const fe=xc(Y)||yc(Y),ae=xc(J)||yc(J),q=gc(Y),Q=gc(J);if(Q?M=!1:ae&&(q||fe||(M=!1)),q?A=!1:fe&&(Q||ae||(A=!1)),J===34&&C[0]==='"'&&Y>=48&&Y<=57&&(A=M=!1),M&&A&&(M=fe,A=ae),!M&&!A){L&&es(f,m,C.index,W2);continue}if(A&&(s=L?o.single:o.double,s>=0&&r[s].level===b)){const ue=r[s];let K,ce;L?(K=a.md.options.quotes[2],ce=a.md.options.quotes[3]):(K=a.md.options.quotes[0],ce=a.md.options.quotes[1]),es(f,m,C.index,ce),es(f,ue.tokenIdx,ue.contentPos,K),P2(r,o,s);continue e}if(M){if(r.length>=Ny)return;r.push({tokenIdx:m,contentPos:C.index,isSingleQuote:L,level:b,prevSameQuoteIdx:L?o.single:o.double}),L?o.single=r.length-1:o.double=r.length-1}else A&&L&&es(f,m,C.index,W2)}}Object.keys(f).forEach(function(m){n[m].content=ky(n[m].content,f[m])})}function zy(n){if(n.md.options.typographer)for(let a=n.tokens.length-1;a>=0;a--)n.tokens[a].type!=="inline"||!Cy.test(n.tokens[a].content)||Oy(n.tokens[a].children,n)}function jy(n){let a,s;const r=n.tokens,o=r.length;for(let f=0;f<o;f++){if(r[f].type!=="inline")continue;const m=r[f].children,p=m.length;for(a=0;a<p;a++)m[a].type==="text_special"&&(m[a].type="text");for(a=s=0;a<p;a++)m[a].type==="text"&&a+1<p&&m[a+1].type==="text"?m[a+1].content=m[a].content+m[a+1].content:(a!==s&&(m[s]=m[a]),s++);a!==s&&(m.length=s)}}const I0=[["normalize",my],["block",py],["inline",by],["linkify",xy],["replacements",Dy],["smartquotes",zy],["text_join",jy]];function Tf(){this.ruler=new lt;for(let n=0;n<I0.length;n++)this.ruler.push(I0[n][0],I0[n][1])}Tf.prototype.process=function(n){const a=this.ruler.getRules("");for(let s=0,r=a.length;s<r;s++)a[s](n)};Tf.prototype.State=Qm;function cn(n,a,s,r){this.src=n,this.md=a,this.env=s,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0;const o=this.src;for(let f=0,m=0,p=0,b=0,v=o.length,_=!1;m<v;m++){const y=o.charCodeAt(m);if(!_)if(Ke(y)){p++,y===9?b+=4-b%4:b++;continue}else _=!0;(y===10||m===v-1)&&(y!==10&&m++,this.bMarks.push(f),this.eMarks.push(m),this.tShift.push(p),this.sCount.push(b),this.bsCount.push(0),_=!1,p=0,b=0,f=m+1)}this.bMarks.push(o.length),this.eMarks.push(o.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}cn.prototype.push=function(n,a,s){const r=new Bt(n,a,s);return r.block=!0,s<0&&this.level--,r.level=this.level,s>0&&this.level++,this.tokens.push(r),r};cn.prototype.isEmpty=function(a){return this.bMarks[a]+this.tShift[a]>=this.eMarks[a]};cn.prototype.skipEmptyLines=function(a){for(let s=this.lineMax;a<s&&!(this.bMarks[a]+this.tShift[a]<this.eMarks[a]);a++);return a};cn.prototype.skipSpaces=function(a){for(let s=this.src.length;a<s;a++){const r=this.src.charCodeAt(a);if(!Ke(r))break}return a};cn.prototype.skipSpacesBack=function(a,s){if(a<=s)return a;for(;a>s;)if(!Ke(this.src.charCodeAt(--a)))return a+1;return a};cn.prototype.skipChars=function(a,s){for(let r=this.src.length;a<r&&this.src.charCodeAt(a)===s;a++);return a};cn.prototype.skipCharsBack=function(a,s,r){if(a<=r)return a;for(;a>r;)if(s!==this.src.charCodeAt(--a))return a+1;return a};cn.prototype.getLines=function(a,s,r,o){if(a>=s)return"";const f=new Array(s-a);for(let m=0,p=a;p<s;p++,m++){let b=0;const v=this.bMarks[p];let _=v,y;for(p+1<s||o?y=this.eMarks[p]+1:y=this.eMarks[p];_<y&&b<r;){const C=this.src.charCodeAt(_);if(Ke(C))C===9?b+=4-(b+this.bsCount[p])%4:b++;else if(_-v<this.tShift[p])b++;else break;_++}b>r?f[m]=new Array(b-r+1).join(" ")+this.src.slice(_,y):f[m]=this.src.slice(_,y)}return f.join("")};cn.prototype.Token=Bt;const My=65536;function K0(n,a){const s=n.bMarks[a]+n.tShift[a],r=n.eMarks[a];return n.src.slice(s,r)}function em(n){const a=[],s=n.length;let r=0,o=n.charCodeAt(r),f=!1,m=0,p="";for(;r<s;)o===124&&(f?(p+=n.substring(m,r-1),m=r):(a.push(p+n.substring(m,r)),p="",m=r+1)),f=o===92,r++,o=n.charCodeAt(r);return a.push(p+n.substring(m)),a}function Ry(n,a,s,r){if(a+2>s)return!1;let o=a+1;if(n.sCount[o]<n.blkIndent||n.sCount[o]-n.blkIndent>=4)return!1;let f=n.bMarks[o]+n.tShift[o];if(f>=n.eMarks[o])return!1;const m=n.src.charCodeAt(f++);if(m!==124&&m!==45&&m!==58||f>=n.eMarks[o])return!1;const p=n.src.charCodeAt(f++);if(p!==124&&p!==45&&p!==58&&!Ke(p)||m===45&&Ke(p))return!1;for(;f<n.eMarks[o];){const q=n.src.charCodeAt(f);if(q!==124&&q!==45&&q!==58&&!Ke(q))return!1;f++}let b=K0(n,a+1),v=b.split("|");const _=[];for(let q=0;q<v.length;q++){const Q=v[q].trim();if(!Q){if(q===0||q===v.length-1)continue;return!1}if(!/^:?-+:?$/.test(Q))return!1;Q.charCodeAt(Q.length-1)===58?_.push(Q.charCodeAt(0)===58?"center":"right"):Q.charCodeAt(0)===58?_.push("left"):_.push("")}if(b=K0(n,a).trim(),b.indexOf("|")===-1||n.sCount[a]-n.blkIndent>=4)return!1;v=em(b),v.length&&v[0]===""&&v.shift(),v.length&&v[v.length-1]===""&&v.pop();const y=v.length;if(y===0||y!==_.length)return!1;if(r)return!0;const C=n.parentType;n.parentType="table";const M=n.md.block.ruler.getRules("blockquote"),A=n.push("table_open","table",1),L=[a,0];A.map=L;const Y=n.push("thead_open","thead",1);Y.map=[a,a+1];const J=n.push("tr_open","tr",1);J.map=[a,a+1];for(let q=0;q<v.length;q++){const Q=n.push("th_open","th",1);_[q]&&(Q.attrs=[["style","text-align:"+_[q]]]);const ue=n.push("inline","",0);ue.content=v[q].trim(),ue.children=[],n.push("th_close","th",-1)}n.push("tr_close","tr",-1),n.push("thead_close","thead",-1);let fe,ae=0;for(o=a+2;o<s&&!(n.sCount[o]<n.blkIndent);o++){let q=!1;for(let ue=0,K=M.length;ue<K;ue++)if(M[ue](n,o,s,!0)){q=!0;break}if(q||(b=K0(n,o).trim(),!b)||n.sCount[o]-n.blkIndent>=4||(v=em(b),v.length&&v[0]===""&&v.shift(),v.length&&v[v.length-1]===""&&v.pop(),ae+=y-v.length,ae>My))break;if(o===a+2){const ue=n.push("tbody_open","tbody",1);ue.map=fe=[a+2,0]}const Q=n.push("tr_open","tr",1);Q.map=[o,o+1];for(let ue=0;ue<y;ue++){const K=n.push("td_open","td",1);_[ue]&&(K.attrs=[["style","text-align:"+_[ue]]]);const ce=n.push("inline","",0);ce.content=v[ue]?v[ue].trim():"",ce.children=[],n.push("td_close","td",-1)}n.push("tr_close","tr",-1)}return fe&&(n.push("tbody_close","tbody",-1),fe[1]=o),n.push("table_close","table",-1),L[1]=o,n.parentType=C,n.line=o,!0}function wy(n,a,s){if(n.sCount[a]-n.blkIndent<4)return!1;let r=a+1,o=r;for(;r<s;){if(n.isEmpty(r)){r++;continue}if(n.sCount[r]-n.blkIndent>=4){r++,o=r;continue}break}n.line=o;const f=n.push("code_block","code",0);return f.content=n.getLines(a,o,4+n.blkIndent,!1)+`
33
+ `,f.map=[a,n.line],!0}function Ly(n,a,s,r){let o=n.bMarks[a]+n.tShift[a],f=n.eMarks[a];if(n.sCount[a]-n.blkIndent>=4||o+3>f)return!1;const m=n.src.charCodeAt(o);if(m!==126&&m!==96)return!1;let p=o;o=n.skipChars(o,m);let b=o-p;if(b<3)return!1;const v=n.src.slice(p,o),_=n.src.slice(o,f);if(m===96&&_.indexOf(String.fromCharCode(m))>=0)return!1;if(r)return!0;let y=a,C=!1;for(;y++,!(y>=s||(o=p=n.bMarks[y]+n.tShift[y],f=n.eMarks[y],o<f&&n.sCount[y]<n.blkIndent));)if(n.src.charCodeAt(o)===m&&!(n.sCount[y]-n.blkIndent>=4)&&(o=n.skipChars(o,m),!(o-p<b)&&(o=n.skipSpaces(o),!(o<f)))){C=!0;break}b=n.sCount[a],n.line=y+(C?1:0);const M=n.push("fence","code",0);return M.info=_,M.content=n.getLines(a+1,y,b,!0),M.markup=v,M.map=[a,n.line],!0}function Uy(n,a,s,r){let o=n.bMarks[a]+n.tShift[a],f=n.eMarks[a];const m=n.lineMax;if(n.sCount[a]-n.blkIndent>=4||n.src.charCodeAt(o)!==62)return!1;if(r)return!0;const p=[],b=[],v=[],_=[],y=n.md.block.ruler.getRules("blockquote"),C=n.parentType;n.parentType="blockquote";let M=!1,A;for(A=a;A<s;A++){const ae=n.sCount[A]<n.blkIndent;if(o=n.bMarks[A]+n.tShift[A],f=n.eMarks[A],o>=f)break;if(n.src.charCodeAt(o++)===62&&!ae){let Q=n.sCount[A]+1,ue,K;n.src.charCodeAt(o)===32?(o++,Q++,K=!1,ue=!0):n.src.charCodeAt(o)===9?(ue=!0,(n.bsCount[A]+Q)%4===3?(o++,Q++,K=!1):K=!0):ue=!1;let ce=Q;for(p.push(n.bMarks[A]),n.bMarks[A]=o;o<f;){const $e=n.src.charCodeAt(o);if(Ke($e))$e===9?ce+=4-(ce+n.bsCount[A]+(K?1:0))%4:ce++;else break;o++}M=o>=f,b.push(n.bsCount[A]),n.bsCount[A]=n.sCount[A]+1+(ue?1:0),v.push(n.sCount[A]),n.sCount[A]=ce-Q,_.push(n.tShift[A]),n.tShift[A]=o-n.bMarks[A];continue}if(M)break;let q=!1;for(let Q=0,ue=y.length;Q<ue;Q++)if(y[Q](n,A,s,!0)){q=!0;break}if(q){n.lineMax=A,n.blkIndent!==0&&(p.push(n.bMarks[A]),b.push(n.bsCount[A]),_.push(n.tShift[A]),v.push(n.sCount[A]),n.sCount[A]-=n.blkIndent);break}p.push(n.bMarks[A]),b.push(n.bsCount[A]),_.push(n.tShift[A]),v.push(n.sCount[A]),n.sCount[A]=-1}const L=n.blkIndent;n.blkIndent=0;const Y=n.push("blockquote_open","blockquote",1);Y.markup=">";const J=[a,0];Y.map=J,n.md.block.tokenize(n,a,A);const fe=n.push("blockquote_close","blockquote",-1);fe.markup=">",n.lineMax=m,n.parentType=C,J[1]=n.line;for(let ae=0;ae<_.length;ae++)n.bMarks[ae+a]=p[ae],n.tShift[ae+a]=_[ae],n.sCount[ae+a]=v[ae],n.bsCount[ae+a]=b[ae];return n.blkIndent=L,!0}function Fy(n,a,s,r){const o=n.eMarks[a];if(n.sCount[a]-n.blkIndent>=4)return!1;let f=n.bMarks[a]+n.tShift[a];const m=n.src.charCodeAt(f++);if(m!==42&&m!==45&&m!==95)return!1;let p=1;for(;f<o;){const v=n.src.charCodeAt(f++);if(v!==m&&!Ke(v))return!1;v===m&&p++}if(p<3)return!1;if(r)return!0;n.line=a+1;const b=n.push("hr","hr",0);return b.map=[a,n.line],b.markup=Array(p+1).join(String.fromCharCode(m)),!0}function um(n,a){const s=n.eMarks[a];let r=n.bMarks[a]+n.tShift[a];const o=n.src.charCodeAt(r++);if(o!==42&&o!==45&&o!==43)return-1;if(r<s){const f=n.src.charCodeAt(r);if(!Ke(f))return-1}return r}function tm(n,a){const s=n.bMarks[a]+n.tShift[a],r=n.eMarks[a];let o=s;if(o+1>=r)return-1;let f=n.src.charCodeAt(o++);if(f<48||f>57)return-1;for(;;){if(o>=r)return-1;if(f=n.src.charCodeAt(o++),f>=48&&f<=57){if(o-s>=10)return-1;continue}if(f===41||f===46)break;return-1}return o<r&&(f=n.src.charCodeAt(o),!Ke(f))?-1:o}function By(n,a){const s=n.level+2;for(let r=a+2,o=n.tokens.length-2;r<o;r++)n.tokens[r].level===s&&n.tokens[r].type==="paragraph_open"&&(n.tokens[r+2].hidden=!0,n.tokens[r].hidden=!0,r+=2)}function Hy(n,a,s,r){let o,f,m,p,b=a,v=!0;if(n.sCount[b]-n.blkIndent>=4||n.listIndent>=0&&n.sCount[b]-n.listIndent>=4&&n.sCount[b]<n.blkIndent)return!1;let _=!1;r&&n.parentType==="paragraph"&&n.sCount[b]>=n.blkIndent&&(_=!0);let y,C,M;if((M=tm(n,b))>=0){if(y=!0,m=n.bMarks[b]+n.tShift[b],C=Number(n.src.slice(m,M-1)),_&&C!==1)return!1}else if((M=um(n,b))>=0)y=!1;else return!1;if(_&&n.skipSpaces(M)>=n.eMarks[b])return!1;if(r)return!0;const A=n.src.charCodeAt(M-1),L=n.tokens.length;y?(p=n.push("ordered_list_open","ol",1),C!==1&&(p.attrs=[["start",C]])):p=n.push("bullet_list_open","ul",1);const Y=[b,0];p.map=Y,p.markup=String.fromCharCode(A);let J=!1;const fe=n.md.block.ruler.getRules("list"),ae=n.parentType;for(n.parentType="list";b<s;){f=M,o=n.eMarks[b];const q=n.sCount[b]+M-(n.bMarks[b]+n.tShift[b]);let Q=q;for(;f<o;){const ye=n.src.charCodeAt(f);if(ye===9)Q+=4-(Q+n.bsCount[b])%4;else if(ye===32)Q++;else break;f++}const ue=f;let K;ue>=o?K=1:K=Q-q,K>4&&(K=1);const ce=q+K;p=n.push("list_item_open","li",1),p.markup=String.fromCharCode(A);const $e=[b,0];p.map=$e,y&&(p.info=n.src.slice(m,M-1));const de=n.tight,ge=n.tShift[b],Le=n.sCount[b],Pe=n.listIndent;if(n.listIndent=n.blkIndent,n.blkIndent=ce,n.tight=!0,n.tShift[b]=ue-n.bMarks[b],n.sCount[b]=Q,ue>=o&&n.isEmpty(b+1)?n.line=Math.min(n.line+2,s):n.md.block.tokenize(n,b,s,!0),(!n.tight||J)&&(v=!1),J=n.line-b>1&&n.isEmpty(n.line-1),n.blkIndent=n.listIndent,n.listIndent=Pe,n.tShift[b]=ge,n.sCount[b]=Le,n.tight=de,p=n.push("list_item_close","li",-1),p.markup=String.fromCharCode(A),b=n.line,$e[1]=b,b>=s||n.sCount[b]<n.blkIndent||n.sCount[b]-n.blkIndent>=4)break;let Ue=!1;for(let ye=0,X=fe.length;ye<X;ye++)if(fe[ye](n,b,s,!0)){Ue=!0;break}if(Ue)break;if(y){if(M=tm(n,b),M<0)break;m=n.bMarks[b]+n.tShift[b]}else if(M=um(n,b),M<0)break;if(A!==n.src.charCodeAt(M-1))break}return y?p=n.push("ordered_list_close","ol",-1):p=n.push("bullet_list_close","ul",-1),p.markup=String.fromCharCode(A),Y[1]=b,n.line=b,n.parentType=ae,v&&By(n,L),!0}const $0=999;function qy(n){let a=n.length;for(let s=0;s<n.length-1;s++){const r=n.charCodeAt(s);if(r<55296||r>56319)continue;const o=n.charCodeAt(s+1);o>=56320&&o<=57343&&(a--,s++)}return a}function cc(n,a){return Math.min(n.eMarks[a]+1,n.src.length)}function us(n,a){const s=n.lineMax;if(a>=s||n.isEmpty(a))return-1;let r=!1;if(n.sCount[a]-n.blkIndent>3&&(r=!0),n.sCount[a]<0&&(r=!0),!r){const o=n.md.block.ruler.getRules("reference"),f=n.parentType;n.parentType="reference";let m=!1;for(let p=0,b=o.length;p<b;p++)if(o[p](n,a,s,!0)){m=!0;break}if(n.parentType=f,m)return-1}return n.bMarks[a]+n.tShift[a]}function Gy(n,a,s,r){const o=n.src;let f=n.bMarks[a]+n.tShift[a],m=a+1;if(n.sCount[a]-n.blkIndent>=4||o.charCodeAt(f)!==91)return!1;let p=cc(n,a),b="",v=-1,_=++f;for(;f<p;){if(b.length+f-_>$0*2)return!1;let q=o.charCodeAt(f);if(q===91)return!1;if(q===93){v=f;break}if(q===92&&(q=o.charCodeAt(++f)),q===10&&f<p){const Q=us(n,m);if(Q<0)return!1;b+=o.slice(_,p),f=_=Q,p=cc(n,m++);continue}f++}if(v<0||o.charCodeAt(v+1)!==58||(b+=o.slice(_,v),b.length>$0&&qy(b)>$0))return!1;for(f=v+2;f<p;){const q=o.charCodeAt(f);if(q===10){const Q=us(n,m);if(Q<0)break;f=Q,p=cc(n,m++)}else if(Ke(q))f++;else break}const y=n.md.helpers.parseLinkDestination(o,f,p);if(!y.ok)return!1;const C=n.md.normalizeLink(y.str);if(!n.md.validateLink(C))return!1;f=y.pos;const M=f,A=p,L=m;for(;f<p;){const q=o.charCodeAt(f);if(q===10){const Q=us(n,m);if(Q<0)break;f=Q,p=cc(n,m++)}else if(Ke(q))f++;else break}const Y=f;let J=n.md.helpers.parseLinkTitle(o,f,p);for(;J.can_continue;){const q=us(n,m);if(q<0)break;f=q,p=cc(n,m++),J=n.md.helpers.parseLinkTitle(o,f,p,J)}let fe;for(Y!==M&&J.ok?(fe=J.str,f=J.pos):(fe="",f=M,p=A,m=L);f<p;){const q=o.charCodeAt(f);if(!Ke(q))break;f++}if(f<p&&o.charCodeAt(f)!==10&&fe)for(fe="",f=M,p=A,m=L;f<p;){const q=o.charCodeAt(f);if(!Ke(q))break;f++}if(f<p&&o.charCodeAt(f)!==10)return!1;const ae=hs(b);return ae?(r||(typeof n.env.references>"u"&&(n.env.references={}),typeof n.env.references[ae]>"u"&&(n.env.references[ae]={title:fe,href:C}),n.line=m),!0):!1}const Yy=["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"],Vy="[a-zA-Z_:][a-zA-Z0-9:._-]*",Zy="[^\"'=<>`\\x00-\\x20]+",Xy="'[^']*'",Qy='"[^"]*"',Iy="(?:"+Zy+"|"+Xy+"|"+Qy+")",Ky="(?:\\s+"+Vy+"(?:\\s*=\\s*"+Iy+")?)",$y="<[A-Za-z][A-Za-z0-9\\-]*"+Ky+"*\\s*\\/?>",Jy="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Km=new RegExp("^(?:"+$y+"|"+Jy+")"),ea=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Za-z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+Yy.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(Km.source+"\\s*$"),/^$/,!1]];function Wy(n,a,s,r){let o=n.bMarks[a]+n.tShift[a],f=n.eMarks[a];if(n.sCount[a]-n.blkIndent>=4||!n.md.options.html||n.src.charCodeAt(o)!==60)return!1;let m=n.src.slice(o,f),p=0;for(;p<ea.length&&!ea[p][0].test(m);p++);if(p===ea.length)return!1;if(r)return ea[p][2];let b=a+1;const v=ea[p][1].test("");if(!ea[p][1].test(m)){for(;b<s&&!(n.sCount[b]<n.blkIndent&&(v||!n.isEmpty(b)));b++)if(o=n.bMarks[b]+n.tShift[b],f=n.eMarks[b],m=n.src.slice(o,f),ea[p][1].test(m)){m.length!==0&&b++;break}}n.line=b;const _=n.push("html_block","",0);return _.map=[a,b],_.content=n.getLines(a,b,n.blkIndent,!0),!0}function Py(n,a,s,r){let o=n.bMarks[a]+n.tShift[a],f=n.eMarks[a];if(n.sCount[a]-n.blkIndent>=4)return!1;let m=n.src.charCodeAt(o);if(m!==35||o>=f)return!1;let p=1;for(m=n.src.charCodeAt(++o);m===35&&o<f&&p<=6;)p++,m=n.src.charCodeAt(++o);if(p>6||o<f&&!Ke(m))return!1;if(r)return!0;f=n.skipSpacesBack(f,o);const b=n.skipCharsBack(f,35,o);b>o&&Ke(n.src.charCodeAt(b-1))&&(f=b),n.line=a+1;const v=n.push("heading_open","h"+String(p),1);v.markup="########".slice(0,p),v.map=[a,n.line];const _=n.push("inline","",0);_.content=ms(n.src.slice(o,f)),_.map=[a,n.line],_.children=[];const y=n.push("heading_close","h"+String(p),-1);return y.markup="########".slice(0,p),!0}function e4(n,a,s){const r=n.md.block.ruler.getRules("paragraph");if(n.sCount[a]-n.blkIndent>=4)return!1;const o=n.parentType;n.parentType="paragraph";let f=0,m,p=a+1;for(;p<s&&!n.isEmpty(p);p++){if(n.sCount[p]-n.blkIndent>3)continue;if(n.sCount[p]>=n.blkIndent){let M=n.bMarks[p]+n.tShift[p];const A=n.eMarks[p];if(M<A&&(m=n.src.charCodeAt(M),(m===45||m===61)&&(M=n.skipChars(M,m),M=n.skipSpaces(M),M>=A))){f=m===61?1:2;break}}if(n.sCount[p]<0)continue;let C=!1;for(let M=0,A=r.length;M<A;M++)if(r[M](n,p,s,!0)){C=!0;break}if(C)break}if(!f)return n.parentType=o,!1;const b=ms(n.getLines(a,p,n.blkIndent,!1));n.line=p+1;const v=n.push("heading_open","h"+String(f),1);v.markup=String.fromCharCode(m),v.map=[a,n.line];const _=n.push("inline","",0);_.content=b,_.map=[a,n.line-1],_.children=[];const y=n.push("heading_close","h"+String(f),-1);return y.markup=String.fromCharCode(m),n.parentType=o,!0}function u4(n,a,s){const r=n.md.block.ruler.getRules("paragraph"),o=n.parentType;let f=a+1;for(n.parentType="paragraph";f<s&&!n.isEmpty(f);f++){if(n.sCount[f]-n.blkIndent>3||n.sCount[f]<0)continue;let v=!1;for(let _=0,y=r.length;_<y;_++)if(r[_](n,f,s,!0)){v=!0;break}if(v)break}const m=ms(n.getLines(a,f,n.blkIndent,!1));n.line=f;const p=n.push("paragraph_open","p",1);p.map=[a,n.line];const b=n.push("inline","",0);return b.content=m,b.map=[a,n.line],b.children=[],n.push("paragraph_close","p",-1),n.parentType=o,!0}const ts=[["table",Ry,["paragraph","reference"]],["code",wy],["fence",Ly,["paragraph","reference","blockquote","list"]],["blockquote",Uy,["paragraph","reference","blockquote","list"]],["hr",Fy,["paragraph","reference","blockquote","list"]],["list",Hy,["paragraph","reference","blockquote"]],["reference",Gy],["html_block",Wy,["paragraph","reference","blockquote"]],["heading",Py,["paragraph","reference","blockquote"]],["lheading",e4],["paragraph",u4]];function ps(){this.ruler=new lt;for(let n=0;n<ts.length;n++)this.ruler.push(ts[n][0],ts[n][1],{alt:(ts[n][2]||[]).slice()})}ps.prototype.tokenize=function(n,a,s){const r=this.ruler.getRules(""),o=r.length,f=n.md.options.maxNesting;let m=a,p=!1;for(;m<s&&(n.line=m=n.skipEmptyLines(m),!(m>=s||n.sCount[m]<n.blkIndent));){if(n.level>=f){n.line=s;break}const b=n.line;let v=!1;for(let _=0;_<o;_++)if(v=r[_](n,m,s,!1),v){if(b>=n.line)throw new Error("block rule didn't increment state.line");break}if(!v)throw new Error("none of the block rules matched");n.tight=!p,n.isEmpty(n.line-1)&&(p=!0),m=n.line,m<s&&n.isEmpty(m)&&(p=!0,m++,n.line=m)}};ps.prototype.parse=function(n,a,s,r){if(!n)return;const o=new this.State(n,a,s,r);this.tokenize(o,o.line,o.lineMax)};ps.prototype.State=cn;function Ec(n,a,s,r){this.src=n,this.env=s,this.md=a,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.skipHtmlSpecial=!1,this.linkLevel=0}Ec.prototype.pushPending=function(){const n=new Bt("text","",0);return n.content=this.pending,n.level=this.pendingLevel,this.tokens.push(n),this.pending="",n};Ec.prototype.push=function(n,a,s){this.pending&&this.pushPending();const r=new Bt(n,a,s);let o=null;return s<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),r.level=this.level,s>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(o),r};Ec.prototype.scanDelims=function(n,a){const s=this.posMax,r=this.src.charCodeAt(n);let o;if(n===0)o=32;else if(n===1)o=this.src.charCodeAt(0),(o&63488)===55296&&(o=65533);else if(o=this.src.charCodeAt(n-1),(o&64512)===56320){const Y=this.src.charCodeAt(n-2);o=(Y&64512)===55296?65536+(Y-55296<<10)+(o-56320):65533}else(o&64512)===55296&&(o=65533);let f=n;for(;f<s&&this.src.charCodeAt(f)===r;)f++;const m=f-n;let p=f<s?this.src.charCodeAt(f):32;if((p&64512)===55296){const Y=this.src.charCodeAt(f+1);p=(Y&64512)===56320?65536+(p-55296<<10)+(Y-56320):65533}else(p&64512)===56320&&(p=65533);const b=xc(o)||yc(o),v=xc(p)||yc(p),_=gc(o),y=gc(p),C=!y&&(!v||_||b),M=!_&&(!b||y||v);return{can_open:C&&(a||!M||b),can_close:M&&(a||!C||v),length:m}};Ec.prototype.Token=Bt;function t4(n){switch(n){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}function n4(n,a){let s=n.pos;for(;s<n.posMax&&!t4(n.src.charCodeAt(s));)s++;return s===n.pos?!1:(a||(n.pending+=n.src.slice(n.pos,s)),n.pos=s,!0)}function l4(n){return n>=65&&n<=90||n>=97&&n<=122}function a4(n){return n>=65&&n<=90||n>=97&&n<=122||n>=48&&n<=57||n===43||n===45||n===46}function i4(n,a){if(!n.md.options.linkify||n.linkLevel>0)return!1;const s=n.pos,r=n.posMax;if(s+3>r||n.src.charCodeAt(s)!==58||n.src.charCodeAt(s+1)!==47||n.src.charCodeAt(s+2)!==47)return!1;const o=s-Math.min(10,n.pending.length,s);let f=s;for(;f>o&&a4(n.src.charCodeAt(f-1));)f--;if(f===s||!l4(n.src.charCodeAt(f)))return!1;const m=s-f,p=n.md.linkify.matchAtStart(n.src.slice(f));if(!p)return!1;let b=p.url;if(b.length<=m)return!1;let v=b.length;for(;v>0&&b.charCodeAt(v-1)===42;)v--;v!==b.length&&(b=b.slice(0,v));const _=n.md.normalizeLink(b);if(!n.md.validateLink(_))return!1;if(!a){n.pending=n.pending.slice(0,-m);const y=n.push("link_open","a",1);y.attrs=[["href",_]],y.markup="linkify",y.info="auto";const C=n.push("text","",0);C.content=n.md.normalizeLinkText(b);const M=n.push("link_close","a",-1);M.markup="linkify",M.info="auto"}return n.pos+=b.length-m,!0}function c4(n,a){let s=n.pos;if(n.src.charCodeAt(s)!==10)return!1;const r=n.pending.length-1,o=n.posMax;if(!a)if(r>=0&&n.pending.charCodeAt(r)===32)if(r>=1&&n.pending.charCodeAt(r-1)===32){let f=r-1;for(;f>=1&&n.pending.charCodeAt(f-1)===32;)f--;n.pending=n.pending.slice(0,f),n.push("hardbreak","br",0)}else n.pending=n.pending.slice(0,-1),n.push("softbreak","br",0);else n.push("softbreak","br",0);for(s++;s<o&&Ke(n.src.charCodeAt(s));)s++;return n.pos=s,!0}const Df=[];for(let n=0;n<256;n++)Df.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(n){Df[n.charCodeAt(0)]=1});function r4(n,a){let s=n.pos;const r=n.posMax;if(n.src.charCodeAt(s)!==92||(s++,s>=r))return!1;let o=n.src.charCodeAt(s);if(o===10){for(a||n.push("hardbreak","br",0),s++;s<r&&(o=n.src.charCodeAt(s),!!Ke(o));)s++;return n.pos=s,!0}if(o===32){if(!a){const p=n.push("text_special","",0);p.content="\\",p.markup="\\",p.info="escape"}return n.pos=s,!0}let f=n.src[s];if(o>=55296&&o<=56319&&s+1<r){const p=n.src.charCodeAt(s+1);p>=56320&&p<=57343&&(f+=n.src[s+1],s++)}const m="\\"+f;if(!a){const p=n.push("text_special","",0);o<256&&Df[o]!==0?p.content=f:p.content=m,p.markup=m,p.info="escape"}return n.pos=s+1,!0}function s4(n,a){let s=n.pos;if(n.src.charCodeAt(s)!==96)return!1;const o=s;s++;const f=n.posMax;for(;s<f&&n.src.charCodeAt(s)===96;)s++;const m=n.src.slice(o,s),p=m.length;if(n.backticksScanned&&(n.backticks[p]||0)<=o)return a||(n.pending+=m),n.pos+=p,!0;let b=s,v;for(;(v=n.src.indexOf("`",b))!==-1;){for(b=v+1;b<f&&n.src.charCodeAt(b)===96;)b++;const _=b-v;if(_===p){if(!a){const y=n.push("code_inline","code",0);y.markup=m,y.content=n.src.slice(s,v).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return n.pos=b,!0}n.backticks[_]=v}return n.backticksScanned=!0,a||(n.pending+=m),n.pos+=p,!0}function o4(n,a){const s=n.pos,r=n.src.charCodeAt(s);if(a||r!==126)return!1;const o=n.scanDelims(n.pos,!0);let f=o.length;const m=String.fromCharCode(r);if(f<2)return!1;let p;f%2&&(p=n.push("text","",0),p.content=m,f--);for(let b=0;b<f;b+=2)p=n.push("text","",0),p.content=m+m,n.delimiters.push({marker:r,length:0,token:n.tokens.length-1,end:-1,open:o.can_open,close:o.can_close});return n.pos+=o.length,!0}function nm(n,a){let s;const r=[],o=a.length;for(let f=0;f<o;f++){const m=a[f];if(m.marker!==126||m.end===-1)continue;const p=a[m.end];s=n.tokens[m.token],s.type="s_open",s.tag="s",s.nesting=1,s.markup="~~",s.content="",s=n.tokens[p.token],s.type="s_close",s.tag="s",s.nesting=-1,s.markup="~~",s.content="",n.tokens[p.token-1].type==="text"&&n.tokens[p.token-1].content==="~"&&r.push(p.token-1)}for(;r.length;){const f=r.pop();let m=f+1;for(;m<n.tokens.length&&n.tokens[m].type==="s_close";)m++;m--,f!==m&&(s=n.tokens[m],n.tokens[m]=n.tokens[f],n.tokens[f]=s)}}function f4(n){const a=n.tokens_meta,s=n.tokens_meta.length;nm(n,n.delimiters);for(let r=0;r<s;r++)a[r]&&a[r].delimiters&&nm(n,a[r].delimiters)}const $m={tokenize:o4,postProcess:f4};function d4(n,a){const s=n.pos,r=n.src.charCodeAt(s);if(a||r!==95&&r!==42)return!1;const o=n.scanDelims(n.pos,r===42);for(let f=0;f<o.length;f++){const m=n.push("text","",0);m.content=String.fromCharCode(r),n.delimiters.push({marker:r,length:o.length,token:n.tokens.length-1,end:-1,open:o.can_open,close:o.can_close})}return n.pos+=o.length,!0}function lm(n,a){const s=a.length;for(let r=s-1;r>=0;r--){const o=a[r];if(o.marker!==95&&o.marker!==42||o.end===-1)continue;const f=a[o.end],m=r>0&&a[r-1].end===o.end+1&&a[r-1].marker===o.marker&&a[r-1].token===o.token-1&&a[o.end+1].token===f.token+1,p=String.fromCharCode(o.marker),b=n.tokens[o.token];b.type=m?"strong_open":"em_open",b.tag=m?"strong":"em",b.nesting=1,b.markup=m?p+p:p,b.content="";const v=n.tokens[f.token];v.type=m?"strong_close":"em_close",v.tag=m?"strong":"em",v.nesting=-1,v.markup=m?p+p:p,v.content="",m&&(n.tokens[a[r-1].token].content="",n.tokens[a[o.end+1].token].content="",r--)}}function h4(n){const a=n.tokens_meta,s=n.tokens_meta.length;lm(n,n.delimiters);for(let r=0;r<s;r++)a[r]&&a[r].delimiters&&lm(n,a[r].delimiters)}const Jm={tokenize:d4,postProcess:h4};function m4(n,a){let s,r,o,f,m="",p="",b=n.pos,v=!0;if(n.src.charCodeAt(n.pos)!==91)return!1;const _=n.pos,y=n.posMax,C=n.pos+1,M=n.md.helpers.parseLinkLabel(n,n.pos,!0);if(M<0)return!1;let A=M+1;if(A<y&&n.src.charCodeAt(A)===40){for(v=!1,A++;A<y&&(s=n.src.charCodeAt(A),!(!Ke(s)&&s!==10));A++);if(A>=y)return!1;if(b=A,o=n.md.helpers.parseLinkDestination(n.src,A,n.posMax),o.ok){for(m=n.md.normalizeLink(o.str),n.md.validateLink(m)?A=o.pos:m="",b=A;A<y&&(s=n.src.charCodeAt(A),!(!Ke(s)&&s!==10));A++);if(o=n.md.helpers.parseLinkTitle(n.src,A,n.posMax),A<y&&b!==A&&o.ok)for(p=o.str,A=o.pos;A<y&&(s=n.src.charCodeAt(A),!(!Ke(s)&&s!==10));A++);}(A>=y||n.src.charCodeAt(A)!==41)&&(v=!0),A++}if(v){if(typeof n.env.references>"u")return!1;if(A<y&&n.src.charCodeAt(A)===91?(b=A+1,A=n.md.helpers.parseLinkLabel(n,A),A>=0?r=n.src.slice(b,A++):A=M+1):A=M+1,r||(r=n.src.slice(C,M)),f=n.env.references[hs(r)],!f)return n.pos=_,!1;m=f.href,p=f.title}if(!a){n.pos=C,n.posMax=M;const L=n.push("link_open","a",1),Y=[["href",m]];L.attrs=Y,p&&Y.push(["title",p]),n.linkLevel++,n.md.inline.tokenize(n),n.linkLevel--,n.push("link_close","a",-1)}return n.pos=A,n.posMax=y,!0}function p4(n,a){let s,r,o,f,m,p,b,v,_="";const y=n.pos,C=n.posMax;if(n.src.charCodeAt(n.pos)!==33||n.src.charCodeAt(n.pos+1)!==91)return!1;const M=n.pos+2,A=n.md.helpers.parseLinkLabel(n,n.pos+1,!1);if(A<0)return!1;if(f=A+1,f<C&&n.src.charCodeAt(f)===40){for(f++;f<C&&(s=n.src.charCodeAt(f),!(!Ke(s)&&s!==10));f++);if(f>=C)return!1;for(v=f,p=n.md.helpers.parseLinkDestination(n.src,f,n.posMax),p.ok&&(_=n.md.normalizeLink(p.str),n.md.validateLink(_)?f=p.pos:_=""),v=f;f<C&&(s=n.src.charCodeAt(f),!(!Ke(s)&&s!==10));f++);if(p=n.md.helpers.parseLinkTitle(n.src,f,n.posMax),f<C&&v!==f&&p.ok)for(b=p.str,f=p.pos;f<C&&(s=n.src.charCodeAt(f),!(!Ke(s)&&s!==10));f++);else b="";if(f>=C||n.src.charCodeAt(f)!==41)return n.pos=y,!1;f++}else{if(typeof n.env.references>"u")return!1;if(f<C&&n.src.charCodeAt(f)===91?(v=f+1,f=n.md.helpers.parseLinkLabel(n,f),f>=0?o=n.src.slice(v,f++):f=A+1):f=A+1,o||(o=n.src.slice(M,A)),m=n.env.references[hs(o)],!m)return n.pos=y,!1;_=m.href,b=m.title}if(!a){r=n.src.slice(M,A);const L=[];n.md.inline.parse(r,n.md,n.env,L);const Y=n.push("image","img",0),J=[["src",_],["alt",""]];Y.attrs=J,Y.children=L,Y.content=r,b&&J.push(["title",b])}return n.pos=f,n.posMax=C,!0}const b4=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,g4=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function y4(n,a){let s=n.pos;if(n.src.charCodeAt(s)!==60)return!1;const r=n.pos,o=n.posMax;for(;;){if(++s>=o)return!1;const m=n.src.charCodeAt(s);if(m===60)return!1;if(m===62)break}const f=n.src.slice(r+1,s);if(g4.test(f)){const m=n.md.normalizeLink(f);if(!n.md.validateLink(m))return!1;if(!a){const p=n.push("link_open","a",1);p.attrs=[["href",m]],p.markup="autolink",p.info="auto";const b=n.push("text","",0);b.content=n.md.normalizeLinkText(f);const v=n.push("link_close","a",-1);v.markup="autolink",v.info="auto"}return n.pos+=f.length+2,!0}if(b4.test(f)){const m=n.md.normalizeLink("mailto:"+f);if(!n.md.validateLink(m))return!1;if(!a){const p=n.push("link_open","a",1);p.attrs=[["href",m]],p.markup="autolink",p.info="auto";const b=n.push("text","",0);b.content=n.md.normalizeLinkText(f);const v=n.push("link_close","a",-1);v.markup="autolink",v.info="auto"}return n.pos+=f.length+2,!0}return!1}function x4(n){return/^<a[>\s]/i.test(n)}function v4(n){return/^<\/a\s*>/i.test(n)}function Wm(n){const a=n|32;return a>=97&&a<=122}function _4(n,a){const s=n.src;let r,o;if(s.startsWith("<!--",a)){if(s.startsWith(">",a+4))return a+5;if(s.startsWith("->",a+4))return a+6;r=a+4,o="-->"}else if(s.startsWith("<![CDATA[",a))r=a+9,o="]]>";else if(s.charCodeAt(a+1)===63)r=a+2,o="?>";else if(Wm(s.charCodeAt(a+2)))r=a+3,o=">";else return-1;if(n.skipHtmlSpecial)return-1;const f=s.indexOf(o,r);return f<0?(n.skipHtmlSpecial=!0,-1):f+o.length}function E4(n,a){if(!n.md.options.html)return!1;const s=n.posMax,r=n.pos;if(n.src.charCodeAt(r)!==60||r+2>=s)return!1;let o;const f=n.src.charCodeAt(r+1);if(f===33||f===63)o=_4(n,r);else if(f===47||Wm(f)){const m=n.src.slice(r).match(Km);o=m?r+m[0].length:-1}else return!1;if(o<0)return!1;if(!a){const m=n.push("html_inline","",0);m.content=n.src.slice(r,o),x4(m.content)&&n.linkLevel++,v4(m.content)&&n.linkLevel--}return n.pos=o,!0}const S4=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,A4=/^&([a-z][a-z0-9]{1,31});/i;function T4(n,a){const s=n.pos,r=n.posMax;if(n.src.charCodeAt(s)!==38||s+1>=r)return!1;if(n.src.charCodeAt(s+1)===35){const f=n.src.slice(s).match(S4);if(f){if(!a){const m=f[1][0].toLowerCase()==="x"?parseInt(f[1].slice(1),16):parseInt(f[1],10),p=n.push("text_special","",0);p.content=Af(m)?bc(m):bc(65533),p.markup=f[0],p.info="entity"}return n.pos+=f[0].length,!0}}else{const f=n.src.slice(s).match(A4);if(f){const m=V6(f[0]);if(m!==f[0]){if(!a){const p=n.push("text_special","",0);p.content=m,p.markup=f[0],p.info="entity"}return n.pos+=f[0].length,!0}}}return!1}function am(n){const a={},s=n.length;if(!s)return;let r=0,o=-2;const f=[];for(let m=0;m<s;m++){const p=n[m];if(f.push(0),(n[r].marker!==p.marker||o!==p.token-1)&&(r=m),o=p.token,p.length=p.length||0,!p.close)continue;a.hasOwnProperty(p.marker)||(a[p.marker]=[-1,-1,-1,-1,-1,-1]);const b=a[p.marker][(p.open?3:0)+p.length%3];let v=r-f[r]-1,_=v;for(;v>b;v-=f[v]+1){const y=n[v];if(y.marker===p.marker&&y.open&&y.end<0){let C=!1;if((y.close||p.open)&&(y.length+p.length)%3===0&&(y.length%3!==0||p.length%3!==0)&&(C=!0),!C){const M=v>0&&!n[v-1].open?f[v-1]+1:0;f[m]=m-v+M,f[v]=M,p.open=!1,y.end=m,y.close=!1,_=-1,o=-2;break}}}_!==-1&&(a[p.marker][(p.open?3:0)+(p.length||0)%3]=_)}}function D4(n){const a=n.tokens_meta,s=n.tokens_meta.length;am(n.delimiters);for(let r=0;r<s;r++)a[r]&&a[r].delimiters&&am(a[r].delimiters)}function C4(n){let a,s,r=0;const o=n.tokens,f=n.tokens.length;for(a=s=0;a<f;a++)o[a].nesting<0&&r--,o[a].level=r,o[a].nesting>0&&r++,o[a].type==="text"&&a+1<f&&o[a+1].type==="text"?o[a+1].content=o[a].content+o[a+1].content:(a!==s&&(o[s]=o[a]),s++);a!==s&&(o.length=s)}const J0=[["text",n4],["linkify",i4],["newline",c4],["escape",r4],["backticks",s4],["strikethrough",$m.tokenize],["emphasis",Jm.tokenize],["link",m4],["image",p4],["autolink",y4],["html_inline",E4],["entity",T4]],W0=[["balance_pairs",D4],["strikethrough",$m.postProcess],["emphasis",Jm.postProcess],["fragments_join",C4]];function Sc(){this.ruler=new lt;for(let n=0;n<J0.length;n++)this.ruler.push(J0[n][0],J0[n][1]);this.ruler2=new lt;for(let n=0;n<W0.length;n++)this.ruler2.push(W0[n][0],W0[n][1])}Sc.prototype.skipToken=function(n){const a=n.pos,s=this.ruler.getRules(""),r=s.length,o=n.md.options.maxNesting,f=n.cache;if(typeof f[a]<"u"){n.pos=f[a];return}let m=!1;if(n.level<o){for(let p=0;p<r;p++)if(n.level++,m=s[p](n,!0),n.level--,m){if(a>=n.pos)throw new Error("inline rule didn't increment state.pos");break}}else n.pos=n.posMax;m||n.pos++,f[a]=n.pos};Sc.prototype.tokenize=function(n){const a=this.ruler.getRules(""),s=a.length,r=n.posMax,o=n.md.options.maxNesting;for(;n.pos<r;){const f=n.pos;let m=!1;if(n.level<o){for(let p=0;p<s;p++)if(m=a[p](n,!1),m){if(f>=n.pos)throw new Error("inline rule didn't increment state.pos");break}}if(m){if(n.pos>=r)break;continue}n.pending+=n.src[n.pos++]}n.pending&&n.pushPending()};Sc.prototype.parse=function(n,a,s,r){const o=new this.State(n,a,s,r);this.tokenize(o);const f=this.ruler2.getRules(""),m=f.length;for(let p=0;p<m;p++)f[p](o)};Sc.prototype.State=Ec;function N4(n){const a={};n=n||{},a.src_Any=Bm.source,a.src_Cc=Hm.source,a.src_Z=Gm.source,a.src_P=Ef.source,a.src_ZPCc=[a.src_Z,a.src_P,a.src_Cc].join("|"),a.src_ZCc=[a.src_Z,a.src_Cc].join("|");const s="[><|]";return a.src_pseudo_letter=`(?:(?!${s}|${a.src_ZPCc})${a.src_Any})`,a.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",a.src_auth=`(?:(?:(?!${a.src_ZCc}|[@/\\[\\]()]).){1,50}@)?`,a.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",a.src_host_terminator=`(?=$|${s}|${a.src_ZPCc})(?!${n["---"]?"-(?!--)|":"-|"}_|:\\d|\\.-|\\.(?!$|${a.src_ZPCc}))`,a.src_path=`(?:[/?#](?:(?!${a.src_ZCc}|${s}|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!${a.src_ZCc}|\\]).)*\\]|\\((?:(?!${a.src_ZCc}|[)]).)*\\)|\\{(?:(?!${a.src_ZCc}|[}]).)*\\}|\\"(?:(?!${a.src_ZCc}|["]).)+\\"|\\'(?:(?!${a.src_ZCc}|[']).)+\\'|\\'(?=${a.src_pseudo_letter}|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!${a.src_ZCc}|[.]|$)|`+(n["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+`,(?!${a.src_ZCc}|$)|;(?!${a.src_ZCc}|$)|\\!+(?!${a.src_ZCc}|[!]|$)|\\?(?!${a.src_ZCc}|[?]|$))+|\\/)?`,a.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]{0,63}',a.src_xn="xn--[a-z0-9\\-]{1,59}",a.src_domain_root="(?:"+a.src_xn+`|${a.src_pseudo_letter}{1,63})`,a.src_domain="(?:"+a.src_xn+`|(?:${a.src_pseudo_letter})|(?:${a.src_pseudo_letter}(?:-|${a.src_pseudo_letter}){0,61}${a.src_pseudo_letter}))`,a.src_host=`(?:(?:(?:(?:${a.src_domain})\\.)*${a.src_domain}))`,a.tpl_host_fuzzy="(?:"+a.src_ip4+`|(?:(?:(?:${a.src_domain})\\.)+(?:%TLDS%)))`,a.tpl_host_no_ip_fuzzy=`(?:(?:(?:${a.src_domain})\\.)+(?:%TLDS%))`,a.src_host_strict=a.src_host+a.src_host_terminator,a.tpl_host_fuzzy_strict=a.tpl_host_fuzzy+a.src_host_terminator,a.src_host_port_strict=a.src_host+a.src_port+a.src_host_terminator,a.tpl_host_port_fuzzy_strict=a.tpl_host_fuzzy+a.src_port+a.src_host_terminator,a.tpl_host_port_no_ip_fuzzy_strict=a.tpl_host_no_ip_fuzzy+a.src_port+a.src_host_terminator,a.tpl_host_fuzzy_test=`localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:${a.src_ZPCc}|>|$))`,a.tpl_email_fuzzy=`(^|${s}|"|\\(|${a.src_ZCc})(${a.src_email_name}@${a.tpl_host_fuzzy_strict})`,a.tpl_link_fuzzy=`(^|(?![.:/\\-_@])(?:[$+<=>^\`||]|${a.src_ZPCc}))((?![$+<=>^\`||])${a.tpl_host_port_fuzzy_strict}${a.src_path})`,a.tpl_link_no_ip_fuzzy=`(^|(?![.:/\\-_@])(?:[$+<=>^\`||]|${a.src_ZPCc}))((?![$+<=>^\`||])${a.tpl_host_port_no_ip_fuzzy_strict}${a.src_path})`,a}function mf(n){return Array.prototype.slice.call(arguments,1).forEach(function(s){s&&Object.keys(s).forEach(function(r){n[r]=s[r]})}),n}function bs(n){return Object.prototype.toString.call(n)}function k4(n){return bs(n)==="[object String]"}function O4(n){return bs(n)==="[object Object]"}function z4(n){return bs(n)==="[object RegExp]"}function im(n){return bs(n)==="[object Function]"}function j4(n){return n.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const Pm={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function M4(n){return Object.keys(n||{}).reduce(function(a,s){return a||Pm.hasOwnProperty(s)},!1)}const R4={"http:":{validate:function(n,a,s){const r=n.slice(a);return s.re.http||(s.re.http=new RegExp(`^\\/\\/${s.re.src_auth}${s.re.src_host_port_strict}${s.re.src_path}`,"i")),s.re.http.test(r)?r.match(s.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(n,a,s){const r=n.slice(a);return s.re.no_http||(s.re.no_http=new RegExp("^"+s.re.src_auth+`(?:localhost|(?:(?:${s.re.src_domain})\\.)+${s.re.src_domain_root})`+s.re.src_port+s.re.src_host_terminator+s.re.src_path,"i")),s.re.no_http.test(r)?a>=3&&n[a-3]===":"||a>=3&&n[a-3]==="/"?0:r.match(s.re.no_http)[0].length:0}},"mailto:":{validate:function(n,a,s){const r=n.slice(a);return s.re.mailto||(s.re.mailto=new RegExp(`^${s.re.src_email_name}@${s.re.src_host_strict}`,"i")),s.re.mailto.test(r)?r.match(s.re.mailto)[0].length:0}}},w4="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",L4="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function U4(n){return function(a,s){const r=a.slice(s);return n.test(r)?r.match(n)[0].length:0}}function cm(){return function(n,a){a.normalize(n)}}function fs(n){const a=n.re=N4(n.__opts__),s=n.__tlds__.slice();n.onCompile(),n.__tlds_replaced__||s.push(w4),s.push(a.src_xn),a.src_tlds=s.join("|");function r(p){return p.replace("%TLDS%",a.src_tlds)}a.email_fuzzy=RegExp(r(a.tpl_email_fuzzy),"i"),a.email_fuzzy_global=RegExp(r(a.tpl_email_fuzzy),"ig"),a.link_fuzzy=RegExp(r(a.tpl_link_fuzzy),"i"),a.link_fuzzy_global=RegExp(r(a.tpl_link_fuzzy),"ig"),a.link_no_ip_fuzzy=RegExp(r(a.tpl_link_no_ip_fuzzy),"i"),a.link_no_ip_fuzzy_global=RegExp(r(a.tpl_link_no_ip_fuzzy),"ig"),a.host_fuzzy_test=RegExp(r(a.tpl_host_fuzzy_test),"i");const o=[];n.__compiled__={};function f(p,b){throw new Error(`(LinkifyIt) Invalid schema "${p}": ${b}`)}Object.keys(n.__schemas__).forEach(function(p){const b=n.__schemas__[p];if(b===null)return;const v={validate:null,link:null};if(n.__compiled__[p]=v,O4(b)){z4(b.validate)?v.validate=U4(b.validate):im(b.validate)?v.validate=b.validate:f(p,b),im(b.normalize)?v.normalize=b.normalize:b.normalize?f(p,b):v.normalize=cm();return}if(k4(b)){o.push(p);return}f(p,b)}),o.forEach(function(p){n.__compiled__[n.__schemas__[p]]&&(n.__compiled__[p].validate=n.__compiled__[n.__schemas__[p]].validate,n.__compiled__[p].normalize=n.__compiled__[n.__schemas__[p]].normalize)}),n.__compiled__[""]={validate:null,normalize:cm()};const m=Object.keys(n.__compiled__).filter(function(p){return p.length>0&&n.__compiled__[p]}).map(j4).join("|");n.re.schema_test=RegExp(`(^|(?!_)(?:[><|]|${a.src_ZPCc}))(${m})`,"i"),n.re.schema_search=RegExp(`(^|(?!_)(?:[><|]|${a.src_ZPCc}))(${m})`,"ig"),n.re.schema_at_start=RegExp(`^${n.re.schema_search.source}`,"i"),n.re.pretest=RegExp(`(${n.re.schema_test.source})|(${n.re.host_fuzzy_test.source})|@`,"i")}function ep(n,a,s,r){const o=n.slice(s,r);this.schema=a.toLowerCase(),this.index=s,this.lastIndex=r,this.raw=o,this.text=o,this.url=o}function pt(n,a){if(!(this instanceof pt))return new pt(n,a);a||M4(n)&&(a=n,n={}),this.__opts__=mf({},Pm,a),this.__schemas__=mf({},R4,n),this.__compiled__={},this.__tlds__=L4,this.__tlds_replaced__=!1,this.re={},fs(this)}pt.prototype.add=function(a,s){return this.__schemas__[a]=s,fs(this),this};pt.prototype.set=function(a){return this.__opts__=mf(this.__opts__,a),this};pt.prototype.test=function(a){if(!a.length)return!1;let s,r;if(this.re.schema_test.test(a)){for(r=this.re.schema_search,r.lastIndex=0;(s=r.exec(a))!==null;)if(this.testSchemaAt(a,s[2],r.lastIndex))return!0}return!!(this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&a.search(this.re.host_fuzzy_test)>=0&&a.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy)!==null||this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&a.indexOf("@")>=0&&a.match(this.re.email_fuzzy)!==null)};pt.prototype.pretest=function(a){return this.re.pretest.test(a)};pt.prototype.testSchemaAt=function(a,s,r){return this.__compiled__[s.toLowerCase()]?this.__compiled__[s.toLowerCase()].validate(a,r,this):0};pt.prototype.match=function(a){const s=[],r=[],o=[],f=[];let m,p,b;function v(C,M){return C?M?C.index!==M.index?C.index<M.index?C:M:C.lastIndex>=M.lastIndex?C:M:C:M}if(!a.length)return null;if(this.re.schema_test.test(a))for(b=this.re.schema_search,b.lastIndex=0;(m=b.exec(a))!==null;)p=this.testSchemaAt(a,m[2],b.lastIndex),p&&r.push({schema:m[2],index:m.index+m[1].length,lastIndex:m.index+m[0].length+p});if(this.__opts__.fuzzyLink&&this.__compiled__["http:"])for(b=this.__opts__.fuzzyIP?this.re.link_fuzzy_global:this.re.link_no_ip_fuzzy_global,b.lastIndex=0;(m=b.exec(a))!==null;)o.push({schema:"",index:m.index+m[1].length,lastIndex:m.index+m[0].length});if(this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"])for(b=this.re.email_fuzzy_global,b.lastIndex=0;(m=b.exec(a))!==null;)f.push({schema:"mailto:",index:m.index+m[1].length,lastIndex:m.index+m[0].length});const _=[0,0,0];let y=0;for(;;){const C=[r[_[0]],f[_[1]],o[_[2]]],M=v(v(C[0],C[1]),C[2]);if(!M)break;if(M===C[0]?_[0]++:M===C[1]?_[1]++:_[2]++,M.index<y)continue;const A=new ep(a,M.schema,M.index,M.lastIndex);this.__compiled__[A.schema].normalize(A,this),s.push(A),y=M.lastIndex}return s.length?s:null};pt.prototype.matchAtStart=function(a){if(!a.length)return null;const s=this.re.schema_at_start.exec(a);if(!s)return null;const r=this.testSchemaAt(a,s[2],s[0].length);if(!r)return null;const o=new ep(a,s[2],s.index+s[1].length,s.index+s[0].length+r);return this.__compiled__[o.schema].normalize(o,this),o};pt.prototype.tlds=function(a,s){return a=Array.isArray(a)?a:[a],s?(this.__tlds__=this.__tlds__.concat(a).sort().filter(function(r,o,f){return r!==f[o-1]}).reverse(),fs(this),this):(this.__tlds__=a.slice(),this.__tlds_replaced__=!0,fs(this),this)};pt.prototype.normalize=function(a){a.schema||(a.url=`http://${a.url}`),a.schema==="mailto:"&&!/^mailto:/i.test(a.url)&&(a.url=`mailto:${a.url}`)};pt.prototype.onCompile=function(){};const ui=2147483647,nn=36,Cf=1,vc=26,F4=38,B4=700,up=72,tp=128,np="-",H4=/^xn--/,q4=/[^\0-\x7F]/,G4=/[\x2E\u3002\uFF0E\uFF61]/g,Y4={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},P0=nn-Cf,ln=Math.floor,ef=String.fromCharCode;function yl(n){throw new RangeError(Y4[n])}function V4(n,a){const s=[];let r=n.length;for(;r--;)s[r]=a(n[r]);return s}function lp(n,a){const s=n.split("@");let r="";s.length>1&&(r=s[0]+"@",n=s[1]),n=n.replace(G4,".");const o=n.split("."),f=V4(o,a).join(".");return r+f}function ap(n){const a=[];let s=0;const r=n.length;for(;s<r;){const o=n.charCodeAt(s++);if(o>=55296&&o<=56319&&s<r){const f=n.charCodeAt(s++);(f&64512)==56320?a.push(((o&1023)<<10)+(f&1023)+65536):(a.push(o),s--)}else a.push(o)}return a}const Z4=n=>String.fromCodePoint(...n),X4=function(n){return n>=48&&n<58?26+(n-48):n>=65&&n<91?n-65:n>=97&&n<123?n-97:nn},rm=function(n,a){return n+22+75*(n<26)-((a!=0)<<5)},ip=function(n,a,s){let r=0;for(n=s?ln(n/B4):n>>1,n+=ln(n/a);n>P0*vc>>1;r+=nn)n=ln(n/P0);return ln(r+(P0+1)*n/(n+F4))},cp=function(n){const a=[],s=n.length;let r=0,o=tp,f=up,m=n.lastIndexOf(np);m<0&&(m=0);for(let p=0;p<m;++p)n.charCodeAt(p)>=128&&yl("not-basic"),a.push(n.charCodeAt(p));for(let p=m>0?m+1:0;p<s;){const b=r;for(let _=1,y=nn;;y+=nn){p>=s&&yl("invalid-input");const C=X4(n.charCodeAt(p++));C>=nn&&yl("invalid-input"),C>ln((ui-r)/_)&&yl("overflow"),r+=C*_;const M=y<=f?Cf:y>=f+vc?vc:y-f;if(C<M)break;const A=nn-M;_>ln(ui/A)&&yl("overflow"),_*=A}const v=a.length+1;f=ip(r-b,v,b==0),ln(r/v)>ui-o&&yl("overflow"),o+=ln(r/v),r%=v,a.splice(r++,0,o)}return String.fromCodePoint(...a)},rp=function(n){const a=[];n=ap(n);const s=n.length;let r=tp,o=0,f=up;for(const b of n)b<128&&a.push(ef(b));const m=a.length;let p=m;for(m&&a.push(np);p<s;){let b=ui;for(const _ of n)_>=r&&_<b&&(b=_);const v=p+1;b-r>ln((ui-o)/v)&&yl("overflow"),o+=(b-r)*v,r=b;for(const _ of n)if(_<r&&++o>ui&&yl("overflow"),_===r){let y=o;for(let C=nn;;C+=nn){const M=C<=f?Cf:C>=f+vc?vc:C-f;if(y<M)break;const A=y-M,L=nn-M;a.push(ef(rm(M+A%L,0))),y=ln(A/L)}a.push(ef(rm(y,0))),f=ip(o,v,p===m),o=0,++p}++o,++r}return a.join("")},Q4=function(n){return lp(n,function(a){return H4.test(a)?cp(a.slice(4).toLowerCase()):a})},I4=function(n){return lp(n,function(a){return q4.test(a)?"xn--"+rp(a):a})},sp={version:"2.3.1",ucs2:{decode:ap,encode:Z4},decode:cp,encode:rp,toASCII:I4,toUnicode:Q4},K4={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},$4={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},J4={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}},W4={default:K4,zero:$4,commonmark:J4},P4=/^(vbscript|javascript|file|data):/,ex=/^data:image\/(gif|png|jpeg|webp);/;function ux(n){const a=n.trim().toLowerCase();return P4.test(a)?ex.test(a):!0}const op=["http:","https:","mailto:"];function tx(n){const a=_f(n,!0);if(a.hostname&&(!a.protocol||op.indexOf(a.protocol)>=0))try{a.hostname=sp.toASCII(a.hostname)}catch{}return _c(vf(a))}function nx(n){const a=_f(n,!0);if(a.hostname&&(!a.protocol||op.indexOf(a.protocol)>=0))try{a.hostname=sp.toUnicode(a.hostname)}catch{}return ni(vf(a),ni.defaultChars+"%")}function Nt(n,a){if(!(this instanceof Nt))return new Nt(n,a);a||Sf(n)||(a=n||{},n="default"),this.inline=new Sc,this.block=new ps,this.core=new Tf,this.renderer=new ai,this.linkify=new pt,this.validateLink=ux,this.normalizeLink=tx,this.normalizeLinkText=nx,this.utils=cy,this.helpers=ds({},fy),this.options={},this.configure(n),a&&this.set(a)}Nt.prototype.set=function(n){return ds(this.options,n),this};Nt.prototype.configure=function(n){const a=this;if(Sf(n)){const s=n;if(n=W4[s],!n)throw new Error('Wrong `markdown-it` preset "'+s+'", check name')}if(!n)throw new Error("Wrong `markdown-it` preset, can't be empty");return n.options&&a.set(n.options),n.components&&Object.keys(n.components).forEach(function(s){n.components[s].rules&&a[s].ruler.enableOnly(n.components[s].rules),n.components[s].rules2&&a[s].ruler2.enableOnly(n.components[s].rules2)}),this};Nt.prototype.enable=function(n,a){let s=[];Array.isArray(n)||(n=[n]),["core","block","inline"].forEach(function(o){s=s.concat(this[o].ruler.enable(n,!0))},this),s=s.concat(this.inline.ruler2.enable(n,!0));const r=n.filter(function(o){return s.indexOf(o)<0});if(r.length&&!a)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this};Nt.prototype.disable=function(n,a){let s=[];Array.isArray(n)||(n=[n]),["core","block","inline"].forEach(function(o){s=s.concat(this[o].ruler.disable(n,!0))},this),s=s.concat(this.inline.ruler2.disable(n,!0));const r=n.filter(function(o){return s.indexOf(o)<0});if(r.length&&!a)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this};Nt.prototype.use=function(n){const a=[this].concat(Array.prototype.slice.call(arguments,1));return n.apply(n,a),this};Nt.prototype.parse=function(n,a){if(typeof n!="string")throw new Error("Input data should be a String");const s=new this.core.State(n,this,a);return this.core.process(s),s.tokens};Nt.prototype.render=function(n,a){return a=a||{},this.renderer.render(this.parse(n,a),this.options,a)};Nt.prototype.parseInline=function(n,a){const s=new this.core.State(n,this,a);return s.inlineMode=!0,this.core.process(s),s.tokens};Nt.prototype.renderInline=function(n,a){return a=a||{},this.renderer.render(this.parseInline(n,a),this.options,a)};function sm(n,a){(a==null||a>n.length)&&(a=n.length);for(var s=0,r=Array(a);s<a;s++)r[s]=n[s];return r}function lx(n){if(Array.isArray(n))return n}function ax(n,a){var s=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(s!=null){var r,o,f,m,p=[],b=!0,v=!1;try{if(f=(s=s.call(n)).next,a!==0)for(;!(b=(r=f.call(s)).done)&&(p.push(r.value),p.length!==a);b=!0);}catch(_){v=!0,o=_}finally{try{if(!b&&s.return!=null&&(m=s.return(),Object(m)!==m))return}finally{if(v)throw o}}return p}}function ix(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
34
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function cx(n,a){return lx(n)||ax(n,a)||rx(n,a)||ix()}function rx(n,a){if(n){if(typeof n=="string")return sm(n,a);var s={}.toString.call(n).slice(8,-1);return s==="Object"&&n.constructor&&(s=n.constructor.name),s==="Map"||s==="Set"?Array.from(n):s==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)?sm(n,a):void 0}}const fp=Object.entries,om=Object.setPrototypeOf,sx=Object.isFrozen,dp=Object.getPrototypeOf,hp=Object.getOwnPropertyDescriptor;let Eu=Object.freeze,ju=Object.seal,Pa=Object.create,mp=typeof Reflect<"u"&&Reflect,pf=mp.apply,bf=mp.construct;Eu||(Eu=function(a){return a});ju||(ju=function(a){return a});pf||(pf=function(a,s){for(var r=arguments.length,o=new Array(r>2?r-2:0),f=2;f<r;f++)o[f-2]=arguments[f];return a.apply(s,o)});bf||(bf=function(a){for(var s=arguments.length,r=new Array(s>1?s-1:0),o=1;o<s;o++)r[o-1]=arguments[o];return new a(...r)});const Dn=We(Array.prototype.forEach),ox=We(Array.prototype.lastIndexOf),fm=We(Array.prototype.pop),rc=We(Array.prototype.push),fx=We(Array.prototype.slice),dx=We(Array.prototype.splice),ti=Array.isArray,uf=pp(Set),tf=We(Set.prototype.add),sc=We(Set.prototype.has),ua=We(String.prototype.toLowerCase),nf=We(String.prototype.toString),dm=We(String.prototype.match),oc=We(String.prototype.replace),hm=We(String.prototype.indexOf),hx=We(String.prototype.trim),mx=We(Number.prototype.toString),px=We(Boolean.prototype.toString),mm=typeof BigInt>"u"?null:We(BigInt.prototype.toString),pm=typeof Symbol>"u"?null:We(Symbol.prototype.toString),nt=We(Object.prototype.hasOwnProperty),fc=We(Object.prototype.toString),zu=We(RegExp.prototype.test),Cn=pp(TypeError);function We(n){return function(a){a instanceof RegExp&&(a.lastIndex=0);for(var s=arguments.length,r=new Array(s>1?s-1:0),o=1;o<s;o++)r[o-1]=arguments[o];return pf(n,a,r)}}function pp(n){return function(){for(var a=arguments.length,s=new Array(a),r=0;r<a;r++)s[r]=arguments[r];return bf(n,s)}}function we(n,a){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ua;if(om&&om(n,null),!ti(a))return n;let r=a.length;for(;r--;){let o=a[r];if(typeof o=="string"){const f=s(o);f!==o&&(sx(a)||(a[r]=f),o=f)}n[o]=!0}return n}function bx(n){for(let a=0;a<n.length;a++)nt(n,a)||(n[a]=null);return n}function mt(n){const a=Pa(null);for(const r of fp(n)){var s=cx(r,2);const o=s[0],f=s[1];nt(n,o)&&(ti(f)?a[o]=bx(f):f&&typeof f=="object"&&f.constructor===Object?a[o]=mt(f):a[o]=f)}return a}function gx(n){switch(typeof n){case"string":return n;case"number":return mx(n);case"boolean":return px(n);case"bigint":return mm?mm(n):"0";case"symbol":return pm?pm(n):"Symbol()";case"undefined":return fc(n);case"function":case"object":{if(n===null)return fc(n);const a=n,s=Ct(a,"toString");if(typeof s=="function"){const r=s(a);return typeof r=="string"?r:fc(r)}return fc(n)}default:return fc(n)}}function Ct(n,a){for(;n!==null;){const r=hp(n,a);if(r){if(r.get)return We(r.get);if(typeof r.value=="function")return We(r.value)}n=dp(n)}function s(){return null}return s}function yx(n,a){for(;n!==null;){const s=hp(n,a);if(s)return s.get?We(s.get):null;n=dp(n)}return null}function xx(n){try{return zu(n,""),!0}catch{return!1}}const bm=Eu(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),lf=Eu(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),af=Eu(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),vx=Eu(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),cf=Eu(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),_x=Eu(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),gm=Eu(["#text"]),ym=Eu(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),rf=Eu(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dominant-baseline","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","pointer-events","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-orientation","text-rendering","textlength","type","u1","u2","unicode","values","vector-effect","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),xm=Eu(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),ns=Eu(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Ex=ju(/{{[\w\W]*|^[\w\W]*}}/g),Sx=ju(/<%[\w\W]*|^[\w\W]*%>/g),Ax=ju(/\${[\w\W]*/g),Tx=ju(/^data-[\-\w.\u00B7-\uFFFF]+$/),Dx=ju(/^aria-[\-\w]+$/),vm=ju(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Cx=ju(/^(?:\w+script|data):/i),Nx=ju(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),kx=ju(/^html$/i),Ox=ju(/^[a-z][.\w]*(-[.\w]+)+$/i),sf=ju(/<[/\w!]/g),_m=ju(/<[/\w]/g),zx=ju(/<\/no(script|embed|frames)/i),Em=ju(/\/>/i),du={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},jx=Eu(we({},["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"])),Mx=function(){return typeof window>"u"?null:window},Rx=function(a,s){if(typeof a!="object"||typeof a.createPolicy!="function")return null;let r=null;const o="data-tt-policy-suffix";s&&s.hasAttribute(o)&&(r=s.getAttribute(o));const f="dompurify"+(r?"#"+r:"");try{return a.createPolicy(f,{createHTML(m){return m},createScriptURL(m){return m}})}catch{return console.warn("TrustedTypes policy "+f+" could not be created."),null}},Sm=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},gl=function(a,s,r,o){return nt(a,s)&&ti(a[s])?we(o.base?mt(o.base):{},a[s],o.transform):r},of=function(a,s,r){const o=nt(a,s)?a[s]:void 0;return o&&typeof o=="object"?mt(o):r()};function bp(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Mx();const a=H=>bp(H);if(a.version="3.4.17",a.removed=[],!n||!n.document||n.document.nodeType!==du.document||!n.Element)return a.isSupported=!1,a;let s=n.document;const r=s,o=r.currentScript;n.DocumentFragment;const f=n.HTMLTemplateElement,m=n.Node,p=n.Element,b=n.NodeFilter;n.NamedNodeMap===void 0&&(n.NamedNodeMap||n.MozNamedAttrMap),n.HTMLFormElement;const v=n.DOMParser,_=n.trustedTypes,y=p.prototype,C=Ct(y,"cloneNode"),M=Ct(y,"remove"),A=Ct(y,"removeAttributeNode"),L=Ct(y,"nextSibling"),Y=Ct(y,"childNodes"),J=Ct(y,"parentNode"),fe=Ct(y,"shadowRoot"),ae=Ct(y,"attributes"),q=m&&m.prototype?Ct(m.prototype,"nodeType"):null,Q=m&&m.prototype?Ct(m.prototype,"nodeName"):null,ue=m&&m.prototype?Ct(m.prototype,"ownerDocument"):null,K=function(x){return q?q(x):x.nodeType},ce=function(x){return Q?Q(x):x.nodeName},$e=yx(y,"namespaceURI"),de=function(x){return $e?$e(x):x.namespaceURI};if(typeof f=="function"){const H=s.createElement("template");H.content&&H.content.ownerDocument&&(s=H.content.ownerDocument)}let ge,Le="",Pe,Ue=!1,ye=0;const X=function(){if(ye>0)throw Cn('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},re=function(x){X(),ye++;try{return ge.createHTML(x)}finally{ye--}},P=function(x){X(),ye++;try{return ge.createScriptURL(x)}finally{ye--}},Z=function(){return Ue||(Pe=Rx(_,o),Ue=!0),Pe},_e=s,Su=_e.implementation,Qu=_e.createNodeIterator,kt=_e.createDocumentFragment,T=_e.getElementsByTagName,G=r.importNode;let I=Sm();a.isSupported=typeof fp=="function"&&typeof J=="function"&&Su&&Su.createHTMLDocument!==void 0;const ne=Ex,De=Sx,Oe=Ax,Me=Tx,ie=Dx,me=Cx,W=Nx,ee=Ox;let Ve=vm,Ae=null;const lu=we({},[...bm,...lf,...af,...cf,...gm]);let he=null;const Iu=we({},[...ym,...rf,...xm,...ns]);let Mu=Object.seal(Pa(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ku=null,El=null;const at=Object.seal(Pa(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let rn=!0,Sl=!0,Al=!1,Tl=!0,bt=!1,Ru=!0,Ot=!1,Dl=!1,na=null,Cl=null,Nl=!1,Ht=!1,kn=!1,la=!1,Ac=!0,wu=!1;const Tc="user-content-";let aa=!0,ia=!1,gt=null,On={},qt=null;const Dc=we({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let Cc=null;const zn=we({},["audio","video","img","source","image","track"]);let Lu=null;const zt=we({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),bu="http://www.w3.org/1998/Math/MathML",ca="http://www.w3.org/2000/svg",yt="http://www.w3.org/1999/xhtml";let jn=yt,Mn=!1,Rn=null;const ra=we({},[bu,ca,yt],nf),Gt=Eu(["mi","mo","mn","ms","mtext"]);let wn=we({},Gt);const Ln=Eu(["annotation-xml"]);let sa=we({},Ln);const ys=we({},["title","style","font","a","script"]);let Un=null;const ii=["application/xhtml+xml","text/html"],kl="text/html";let eu=null,sn=null;const Nc=s.createElement("form"),ci=function(x){return x instanceof RegExp||x instanceof Function},Ol=function(){let x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(sn&&sn===x)return;(!x||typeof x!="object")&&(x={}),x=mt(x),Un=ii.indexOf(x.PARSER_MEDIA_TYPE)===-1?kl:x.PARSER_MEDIA_TYPE,eu=Un==="application/xhtml+xml"?nf:ua,Ae=gl(x,"ALLOWED_TAGS",lu,{transform:eu}),he=gl(x,"ALLOWED_ATTR",Iu,{transform:eu}),Rn=gl(x,"ALLOWED_NAMESPACES",ra,{transform:nf}),Lu=gl(x,"ADD_URI_SAFE_ATTR",zt,{transform:eu,base:zt}),Cc=gl(x,"ADD_DATA_URI_TAGS",zn,{transform:eu,base:zn}),qt=gl(x,"FORBID_CONTENTS",Dc,{transform:eu}),Ku=gl(x,"FORBID_TAGS",mt({}),{transform:eu}),El=gl(x,"FORBID_ATTR",mt({}),{transform:eu}),On=nt(x,"USE_PROFILES")?x.USE_PROFILES&&typeof x.USE_PROFILES=="object"?mt(x.USE_PROFILES):x.USE_PROFILES:!1,rn=x.ALLOW_ARIA_ATTR!==!1,Sl=x.ALLOW_DATA_ATTR!==!1,Al=x.ALLOW_UNKNOWN_PROTOCOLS||!1,Tl=x.ALLOW_SELF_CLOSE_IN_ATTR!==!1,bt=x.SAFE_FOR_TEMPLATES||!1,Ru=x.SAFE_FOR_XML!==!1,Ot=x.WHOLE_DOCUMENT||!1,Ht=x.RETURN_DOM||!1,kn=x.RETURN_DOM_FRAGMENT||!1,la=x.RETURN_TRUSTED_TYPE||!1,Nl=x.FORCE_BODY||!1,Ac=x.SANITIZE_DOM!==!1,wu=x.SANITIZE_NAMED_PROPS||!1,aa=x.KEEP_CONTENT!==!1,ia=x.IN_PLACE||!1,Ve=xx(x.ALLOWED_URI_REGEXP)?x.ALLOWED_URI_REGEXP:vm,jn=typeof x.NAMESPACE=="string"?x.NAMESPACE:yt,wn=of(x,"MATHML_TEXT_INTEGRATION_POINTS",()=>we({},Gt)),sa=of(x,"HTML_INTEGRATION_POINTS",()=>we({},Ln));const D=of(x,"CUSTOM_ELEMENT_HANDLING",()=>Pa(null));if(Mu=Pa(null),nt(D,"tagNameCheck")&&ci(D.tagNameCheck)&&(Mu.tagNameCheck=D.tagNameCheck),nt(D,"attributeNameCheck")&&ci(D.attributeNameCheck)&&(Mu.attributeNameCheck=D.attributeNameCheck),nt(D,"allowCustomizedBuiltInElements")&&typeof D.allowCustomizedBuiltInElements=="boolean"&&(Mu.allowCustomizedBuiltInElements=D.allowCustomizedBuiltInElements),ju(Mu),bt&&(Sl=!1),kn&&(Ht=!0),On&&(Ae=we({},gm),he=Pa(null),On.html===!0&&(we(Ae,bm),we(he,ym)),On.svg===!0&&(we(Ae,lf),we(he,rf),we(he,ns)),On.svgFilters===!0&&(we(Ae,af),we(he,rf),we(he,ns)),On.mathMl===!0&&(we(Ae,cf),we(he,xm),we(he,ns))),at.tagCheck=null,at.attributeCheck=null,nt(x,"ADD_TAGS")&&(typeof x.ADD_TAGS=="function"?at.tagCheck=x.ADD_TAGS:ti(x.ADD_TAGS)&&(Ae===lu&&(Ae=mt(Ae)),we(Ae,x.ADD_TAGS,eu))),nt(x,"ADD_ATTR")&&(typeof x.ADD_ATTR=="function"?at.attributeCheck=x.ADD_ATTR:ti(x.ADD_ATTR)&&(he===Iu&&(he=mt(he)),we(he,x.ADD_ATTR,eu))),nt(x,"ADD_FORBID_CONTENTS")&&ti(x.ADD_FORBID_CONTENTS)&&(qt===Dc&&(qt=mt(qt)),we(qt,x.ADD_FORBID_CONTENTS,eu)),aa&&(Ae["#text"]=!0),Ot&&we(Ae,["html","head","body"]),Ae.table&&(we(Ae,["tbody"]),delete Ku.tbody),x.TRUSTED_TYPES_POLICY){if(typeof x.TRUSTED_TYPES_POLICY.createHTML!="function")throw Cn('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof x.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Cn('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const B=ge;ge=x.TRUSTED_TYPES_POLICY;try{Le=re("")}catch(F){throw ge=B,F}}else x.TRUSTED_TYPES_POLICY===null?(ge=void 0,Le=""):(ge===void 0&&(ge=Z()),ge&&typeof Le=="string"&&(Le=re("")));Eu&&Eu(x),sn=x},oa=we({},[...lf,...af,...vx]),ri=we({},[...cf,..._x]),kc=function(x,D,B){return D.namespaceURI===yt?x==="svg":D.namespaceURI===bu?x==="svg"&&(B==="annotation-xml"||wn[B]):!!oa[x]},jt=function(x,D,B){return D.namespaceURI===yt?x==="math":D.namespaceURI===ca?x==="math"&&sa[B]:!!ri[x]},hu=function(x,D,B){return D.namespaceURI===ca&&!sa[B]||D.namespaceURI===bu&&!wn[B]?!1:!ri[x]&&(ys[x]||!oa[x])},Uu=function(x){const D=de(x),B=ua(ce(x)),F=J(x);let se,pe;return F&&K(F)===du.element?(se={namespaceURI:de(F)},pe=ua(ce(F))):(se={namespaceURI:jn},pe="template"),Rn[D]?D===ca?kc(B,se,pe):D===bu?jt(B,se,pe):D===yt?hu(B,se,pe):!!(Un==="application/xhtml+xml"&&Rn[D]):!1},Hu=function(x){rc(a.removed,{element:x});try{J(x).removeChild(x)}catch{if(M(x),!J(x))throw Cn("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},si=function(x,D,B){try{A(x,D)}catch{try{x.removeAttribute(B)}catch{}}},oi=function(x){Bn(x);const D=Y(x);D&&Dn(fx(D),F=>{try{M(F)}catch{}});const B=K(x)===du.element?ae(x):null;if(B)for(let F=B.length-1;F>=0;--F){const se=B[F],pe=se&&se.name;typeof pe=="string"&&si(x,se,pe)}},Fn=function(x,D,B){if(!B)try{B=D.getAttributeNode(x)}catch{B=null}rc(a.removed,{attribute:B||null,from:D});try{B?A(D,B):D.removeAttribute(x)}catch{try{D.removeAttribute(x)}catch{}}if(x==="is")if(Ht||kn)try{Hu(D)}catch{}else try{D.setAttribute(x,"")}catch{}},fi=function(x){const D=ae(x);if(D)for(let B=D.length-1;B>=0;--B){const F=D[B],se=F&&F.name;typeof se!="string"||he[eu(se)]||si(x,F,se)}},on=function(x,D){let B=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const F=[x];for(;F.length>0;){const se=F.pop();if(D(se)===!1)continue;if(B&&K(se)===du.element){const ve=fe(se);Te(ve)&&F.push(ve)}const pe=Y(se);if(pe)for(let ve=pe.length-1;ve>=0;--ve)F.push(pe[ve])}},Bn=function(x){on(x,D=>{K(D)===du.element&&fi(D)})},Hn=function(x){const D=[];return on(x,B=>{D.push(B)},!0),D},fn=function(x,D){const B=uf();Dn(Hn(x),F=>{K(F)===du.element&&tf(B,F)}),Dn(D,F=>{K(F)===du.element&&!sc(B,F)&&fi(F)})},dn=function(x,D){let B=!1;return Dn(a.removed,F=>{F.element&&(B=B||F.element===x,Bn(F.element))}),fn(x,D),B},zl=8,qn=function(x,D){const B=gt;let F=null;const se=()=>(F||(F=uf(),Dn(D,pe=>{tf(F,pe)})),F);for(let pe=0;;pe++){const ve=Hn(x),Be=[x];let Ju=!1;if(Dn(ve,mu=>{K(mu)===du.documentFragment?rc(Be,mu):!Ju&&!sc(B,mu)&&(Ju=sc(se(),mu))}),!Ju)return;if(pe>=zl)throw Cn("the tree kept changing during in-place sanitization; refusing to return it");Dn(Be,(mu,au)=>{cu(mu,au>0,x,se())})}},cu=function(x,D,B,F){const se=Vt(x);let pe;for(;pe=se.nextNode();)!sc(F,pe)||sc(gt,pe)||(D&&Fu(I.uponSanitizeShadowNode,pe,null),jl(pe,B),Zt(pe,B),Te(pe.content)&&Vn(pe.content))},Oc=function(x){gt&&tf(gt,x)},di=function(x,D){return Ru?x==="patchsrc"?!0:x==="for"&&D!=="label"&&D!=="output":!1},zc=function(x){Ru&&on(x,D=>{const B=K(D);if(B===du.processingInstruction||B===du.comment&&zu(_m,D.data)){try{M(D)}catch{}return!1}if(B===du.element){const F=D,se=eu(ce(D));try{F.hasAttribute&&F.hasAttribute("patchsrc")&&F.removeAttribute("patchsrc"),F.hasAttribute&&F.hasAttribute("for")&&di("for",se)&&F.removeAttribute("for")}catch{}}return!0})},Yt=function(x){let D=null,B=null;if(Nl)x="<remove></remove>"+x;else{const pe=dm(x,/^[\r\n\t ]+/);B=pe&&pe[0]}Un==="application/xhtml+xml"&&jn===yt&&(x='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+x+"</body></html>");const F=ge?re(x):x;if(jn===yt)try{D=new v().parseFromString(F,Un)}catch{}if(!D||!D.documentElement){D=Su.createDocument(jn,"template",null);try{D.documentElement.innerHTML=Mn?Le:F}catch{}}const se=D.body||D.documentElement;return x&&B&&se.insertBefore(s.createTextNode(B),se.childNodes[0]||null),jn===yt?T.call(D,Ot?"html":"body")[0]:Ot?D.documentElement:se},Vt=function(x){const D=ue?ue(x):x.ownerDocument;return Qu.call(D||x,x,b.SHOW_ELEMENT|b.SHOW_COMMENT|b.SHOW_TEXT|b.SHOW_PROCESSING_INSTRUCTION|b.SHOW_CDATA_SECTION,null)},fa=function(x){return x=oc(x,ne," "),x=oc(x,De," "),x=oc(x,Oe," "),x},da=function(x){var D;hi(x);const B=(D=x.querySelectorAll)===null||D===void 0?void 0:D.call(x,"template");B&&Dn(B,F=>{Te(F.content)&&da(F.content)})},hi=function(x){x.normalize();const D=ue?ue(x):x.ownerDocument,B=Qu.call(D||x,x,b.SHOW_TEXT|b.SHOW_COMMENT|b.SHOW_CDATA_SECTION|b.SHOW_PROCESSING_INSTRUCTION,null);let F=B.nextNode();for(;F;)F.data=fa(F.data),F=B.nextNode()},ha=function(x){const D=Q?Q(x):null;return typeof D!="string"||eu(D)!=="form"?!1:typeof x.nodeName!="string"||typeof x.textContent!="string"||typeof x.removeChild!="function"||x.attributes!==ae(x)||typeof x.removeAttribute!="function"||typeof x.removeAttributeNode!="function"||typeof x.getAttributeNode!="function"||typeof x.setAttribute!="function"||typeof x.namespaceURI!="string"||typeof x.insertBefore!="function"||typeof x.hasChildNodes!="function"||x.nodeType!==q(x)||x.childNodes!==Y(x)},Te=function(x){if(!q||typeof x!="object"||x===null)return!1;try{return q(x)===du.documentFragment}catch{return!1}},Gn=function(x){if(!q||typeof x!="object"||x===null)return!1;try{return typeof q(x)=="number"}catch{return!1}};function Fu(H,x,D){H.length!==0&&Dn(H,B=>{B.call(a,x,D,sn)})}const ma=function(x,D){return!!(Ru&&x.hasChildNodes()&&!Gn(x.firstElementChild)&&zu(sf,x.textContent)&&zu(sf,x.innerHTML)||Ru&&jx[D]&&K(x)===du.element&&de(x)===yt&&(Gn(x.firstElementChild)||typeof x.textContent=="string"&&zu(sf,x.textContent))||x.nodeType===du.processingInstruction||Ru&&x.nodeType===du.comment&&zu(_m,x.data))},$u=function(x,D){if(x instanceof RegExp)return zu(x,D);if(x instanceof Function){for(var B=arguments.length,F=new Array(B>2?B-2:0),se=2;se<B;se++)F[se-2]=arguments[se];return!!x(D,...F)}return!1},qu=function(x,D,B){if(!Ku[D]&&Gu(D)&&$u(Mu.tagNameCheck,D))return!1;if(aa&&!qt[D]&&!qt[ua(D)]){const F=J(x),se=Y(x);if(se&&F){const pe=se.length;for(let ve=pe-1;ve>=0;--ve){const Be=x===B?C(se[ve],!0):se[ve];F.insertBefore(Be,L(x))}}}return Hu(x),!0},mi=function(x,D,B,F){return x.length===0?D:D===B||D===F?mt(D):D},Yn=function(x,D){return x===D||J(x)!==null?!1:(ia&&Bn(x),!0)},jl=function(x,D){if(Oc(x),Fu(I.beforeSanitizeElements,x,null),Yn(x,D))return!0;if(ha(x))return Hu(x),!0;const B=eu(ce(x));if(Ae=mi(I.uponSanitizeElement,Ae,lu,na),Fu(I.uponSanitizeElement,x,{tagName:B,allowedTags:Ae}),Yn(x,D))return!0;if(ma(x,B))return Hu(x),!0;if(Ku[B]||!(at.tagCheck instanceof Function&&at.tagCheck(B))&&!Ae[B]){const F=qu(x,B,D);return F===!1&&(Fu(I.afterSanitizeElements,x,null),Yn(x,D))?!0:F}if(K(x)===du.element&&!Uu(x)||(B==="noscript"||B==="noembed"||B==="noframes")&&zu(zx,x.innerHTML))return Hu(x),!0;if(bt&&x.nodeType===du.text){const F=fa(x.textContent);x.textContent!==F&&(rc(a.removed,{element:x.cloneNode()}),x.textContent=F)}return Fu(I.afterSanitizeElements,x,null),Yn(x,D)},pi=function(x,D,B){if(El[D]||di(D,x)||Ac&&(D==="id"||D==="name")&&(B in s||B in Nc))return!1;const F=he[D]||at.attributeCheck instanceof Function&&at.attributeCheck(D,x);return Sl&&zu(Me,D)||rn&&zu(ie,D)?!0:F?Lu[D]||zu(Ve,oc(B,W,""))||(D==="src"||D==="xlink:href"||D==="href")&&x!=="script"&&hm(B,"data:")===0&&Cc[x]||Al&&!zu(me,oc(B,W,""))?!0:!B:Gu(x)&&$u(Mu.tagNameCheck,x)&&$u(Mu.attributeNameCheck,D,x)||D==="is"&&Mu.allowCustomizedBuiltInElements&&$u(Mu.tagNameCheck,B)},xs=we({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Gu=function(x){return!xs[ua(x)]&&zu(ee,x)},bi=function(x,D,B,F){if(ge&&typeof _=="object"&&typeof _.getAttributeType=="function"&&!B)switch(_.getAttributeType(x,D)){case"TrustedHTML":return re(F);case"TrustedScriptURL":return P(F)}return F},jc=function(x,D,B,F){try{return B?x.setAttributeNS(B,D,F):x.setAttribute(D,F),ha(x)?(Hu(x),!1):!0}catch{return Fn(D,x),!1}},pa=function(x,D){return Ru&&zu(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,D)?!0:ua(x)==="attributename"&&dm(D,"href")!==null},Zt=function(x,D){if(Fu(I.beforeSanitizeAttributes,x,null),Yn(x,D))return;const B=x.attributes;if(!B||ha(x))return;he=mi(I.uponSanitizeAttribute,he,Iu,Cl);const F={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:he,forceKeepAttr:void 0};let se=B.length;const pe=eu(x.nodeName);for(;se--;){const ve=B[se],Be=ve.name,Ju=ve.namespaceURI,mu=ve.value,au=eu(Be),it=mu;let Au=Be==="value"?it:hx(it),ga=!1;if(F.attrName=au,F.attrValue=Au,F.keepAttr=!0,F.forceKeepAttr=void 0,Fu(I.uponSanitizeAttribute,x,F),Au=F.attrValue,wu&&(au==="id"||au==="name")&&hm(Au,Tc)!==0&&(Fn(Be,x,ve),Au=Tc+Au,ga=!0),pa(Be,Au)){Fn(Be,x,ve);continue}if(!F.forceKeepAttr){if(!F.keepAttr){Fn(Be,x,ve);continue}if(!Tl&&zu(Em,Au)){Fn(Be,x,ve);continue}if(bt&&(Au=fa(Au)),!pi(pe,au,Au)){Fn(Be,x,ve);continue}Au=bi(pe,au,Ju,Au),Au!==it&&jc(x,Be,Ju,Au)&&ga&&fm(a.removed)}}Fu(I.afterSanitizeAttributes,x,null),Yn(x,D)},Vn=function(x){let D=null;const B=Vt(x);for(Fu(I.beforeSanitizeShadowDOM,x,null);D=B.nextNode();)if(Fu(I.uponSanitizeShadowNode,D,null),jl(D,x),Zt(D,x),Te(D.content)&&Vn(D.content),K(D)===du.element){const F=fe(D);Te(F)&&(ba(F),Vn(F))}bt&&hi(x),Fu(I.afterSanitizeShadowDOM,x,null)},ba=function(x){const D=[{node:x,shadow:null}];for(;D.length>0;){const B=D.pop();if(B.shadow){Vn(B.shadow);continue}const F=B.node,se=K(F)===du.element,pe=Y(F);if(pe)for(let ve=pe.length-1;ve>=0;--ve)D.push({node:pe[ve],shadow:null});if(se){const ve=Q?Q(F):null;if(typeof ve=="string"&&eu(ve)==="template"){const Be=F.content;Te(Be)&&D.push({node:Be,shadow:null})}}if(se){const ve=fe(F);Te(ve)&&D.push({node:null,shadow:ve},{node:ve,shadow:null})}}};return a.sanitize=function(H){let x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},D=null,B=null,F=null,se=null;if(Mn=!H,Mn&&(H="<!-->"),typeof H!="string"&&!Gn(H)&&(H=gx(H),typeof H!="string"))throw Cn("dirty is not a string, aborting");if(!a.isSupported)return H;Dl?(Ae=na,he=Cl):Ol(x),(I.uponSanitizeElement.length>0||I.uponSanitizeAttribute.length>0)&&(Ae=mt(Ae)),I.uponSanitizeAttribute.length>0&&(he=mt(he)),a.removed=[];const pe=ia&&typeof H!="string"&&Gn(H);let ve=[];const Be=gt;if(pe){zc(H);const au=ce(H);if(typeof au=="string"){const it=eu(au);if(!Ae[it]||Ku[it])throw oi(H),Cn("root node is forbidden and cannot be sanitized in-place")}if(ha(H))throw oi(H),Cn("root node is clobbered and cannot be sanitized in-place");ve=Hn(H),gt=uf()}else if(Gn(H))D=Yt("<!---->"),B=D.ownerDocument.importNode(H,!0),B.nodeType===du.element&&B.nodeName==="BODY"||B.nodeName==="HTML"?D=B:D.appendChild(B),ba(D);else{if(!Ht&&!bt&&!Ot&&H.indexOf("<")===-1)return ge&&la?re(H):H;if(D=Yt(H),!D)return Ht?null:la?Le:""}D&&Nl&&Hu(D.firstChild);const Ju=pe?H:D;try{pe&&ba(H);const au=Vt(Ju);for(;F=au.nextNode();)jl(F,Ju),Zt(F,Ju),Te(F.content)&&Vn(F.content);pe&&qn(H,ve)}catch(au){throw pe&&(oi(H),dn(H,ve)),au}finally{gt=Be}if(pe){if(dn(H,ve))throw Cn("a node selected for removal could not be safely returned; refusing to sanitize in place");return bt&&da(H),H}if(Ht){if(bt&&da(D),kn)for(se=kt.call(D.ownerDocument);D.firstChild;)se.appendChild(D.firstChild);else se=D;return(he.shadowroot||he.shadowrootmode)&&(se=G.call(r,se,!0)),se}let mu=Ot?D.outerHTML:D.innerHTML;return Ot&&Ae["!doctype"]&&D.ownerDocument&&D.ownerDocument.doctype&&D.ownerDocument.doctype.name&&zu(kx,D.ownerDocument.doctype.name)&&(mu="<!DOCTYPE "+D.ownerDocument.doctype.name+`>
35
+ `+mu),bt&&(mu=fa(mu)),ge&&la?re(mu):mu},a.setConfig=function(){let H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Ol(H),Dl=!0,na=Ae,Cl=he},a.clearConfig=function(){sn=null,Dl=!1,na=null,Cl=null,ge=Pe,Le=""},a.isValidAttribute=function(H,x,D){sn||Ol({});const B=eu(H),F=eu(x);return typeof D=="string"&&(pa(x,D)||!Tl&&zu(Em,D))?!1:pi(B,F,D)},a.addHook=function(H,x){typeof x=="function"&&nt(I,H)&&rc(I[H],x)},a.removeHook=function(H,x){if(nt(I,H)){if(x!==void 0){const D=ox(I[H],x);return D===-1?void 0:dx(I[H],D,1)[0]}return fm(I[H])}},a.removeHooks=function(H){nt(I,H)&&(I[H]=[])},a.removeAllHooks=function(){I=Sm()},a}var wx=bp();let ff;function Lx(){if(ff)return ff;const n=wx,s=typeof n=="function"?n(globalThis.window):n;return s.addHook("afterSanitizeAttributes",r=>{const o=r;o.tagName==="A"&&typeof o.setAttribute=="function"&&(o.setAttribute("rel","noopener noreferrer nofollow"),o.setAttribute("target","_blank"))}),ff=s,s}const Ux=new Nt({html:!1,linkify:!0,breaks:!1,typographer:!1});function Fx(n){return n?Lx().sanitize(Ux.render(n),{ALLOWED_TAGS:["p","br","hr","strong","em","del","s","blockquote","code","pre","ul","ol","li","h1","h2","h3","h4","h5","h6","a","img","table","thead","tbody","tr","th","td","span","div","sup","sub"],ALLOWED_ATTR:["href","src","alt","title","class","target","rel","colspan","rowspan"],ALLOWED_URI_REGEXP:/^(?:https?|mailto):/i}):""}function Am({text:n,streaming:a=!1}){const s=V.useMemo(()=>Fx(n),[n]);return h.jsx("div",{className:"prose",dangerouslySetInnerHTML:{__html:s},"data-streaming":a||void 0})}const Bx=V.memo(function({code:a,lang:s}){const[r,o]=V.useState(void 0),[f,m]=V.useState("pending");V.useEffect(()=>{if(s.length===0){m("unavailable");return}let b=!0;return h6(a,s).then(v=>{b&&(o(v),m(v?"highlighted":"unavailable"))}),()=>{b=!1}},[a,s]);const p=r&&r.lang.toLowerCase()===s.toLowerCase();return h.jsxs("div",{className:"code-block",children:[s.length>0&&h.jsxs("div",{className:"code-lang",children:[s,f==="unavailable"&&h.jsx("span",{className:"code-lang-note",children:" · not highlighted"})]}),p?h.jsx("div",{className:"code-body","data-lang":s,children:p6(r)}):h.jsx("pre",{className:"code-plain",children:h.jsx("code",{children:a})})]})}),Hx=V.memo(function({text:a,streaming:s=!1}){const r=V.useMemo(()=>g6(a),[a]),o=V.useMemo(()=>y6(r),[r]);return r.some(m=>m.kind==="code")?h.jsx("div",{className:"prose","data-streaming":s||void 0,"data-has-code":o.length>0||void 0,children:r.map((m,p)=>m.kind==="prose"?m.text.trim().length===0?null:h.jsx(Am,{text:m.text},`p${p}`):h.jsx(Bx,{code:m.code,lang:m.lang},`c${p}`))}):h.jsx(Am,{text:a,streaming:s})});function qx(n){return n===void 0?{kind:"follow-end"}:{kind:"restore",scrollTop:n.scrollTop,pinned:n.pinned}}function Gx(n,a){return n>a}function Yx(n,a){const s=Math.max(0,a.scrollHeight-n.scrollHeight);return a.scrollHeight-a.scrollTop-a.clientHeight-s}function Vx(n,a,s){return Yx(n,a)<s}function Tm(n){return Number.isFinite(n.scrollTop)&&Number.isFinite(n.scrollHeight)&&Number.isFinite(n.clientHeight)&&n.scrollHeight>0&&n.clientHeight>0}function Zx(n,a){return n&&a}function Xx(n){const a=n.ended;if(!a)return"Compacting context…";if(a.aborted)return"Context compaction stopped.";if(a.errorMessage!==void 0)return`Context compaction failed: ${a.errorMessage}`;if(a.willRetry)return"Context compaction failed; retrying…";const s=n.tokensBefore,r=n.tokensAfter;return typeof s=="number"&&typeof r=="number"?`Context compacted: ${ss(s)} → ${ss(r)} tokens.`:"Context compacted."}function Qx(n){switch(n){case"overflow":return"the context was full";case"threshold":return"the context crossed the threshold";case"manual":return"you asked for it";default:return}}function Ix({notice:n}){const a=Lg(n);if(n.kind==="compaction"){const r=Qx(n.reason);return h.jsxs("div",{className:"run-notice","data-kind":"compaction","data-open":a||void 0,children:[h.jsx("span",{className:"notice-glyph","aria-hidden":"true",children:a?"◐":n.ended?.aborted||n.ended?.errorMessage?"✕":"✓"}),h.jsx("span",{className:"notice-text",children:Xx(n)}),a&&r!==void 0&&h.jsxs("span",{className:"notice-note",children:["(",r,")"]})]})}if(n.kind==="retry"){const r=n.ended,o=`Retrying (${n.attempt}/${n.maxAttempts})`,f=n.delayMs>0?` in ${Math.round(n.delayMs/1e3)}s`:"";return r?h.jsxs("div",{className:"run-notice","data-kind":"retry",children:[h.jsx("span",{className:"notice-glyph","aria-hidden":"true",children:r.success?"✓":"✕"}),h.jsx("span",{className:"notice-text",children:r.success?`Recovered after ${n.attempt} ${n.attempt===1?"retry":"retries"}.`:`Gave up after ${n.attempt} ${n.attempt===1?"attempt":"attempts"}: ${r.finalError??n.errorMessage}`})]}):h.jsxs("div",{className:"run-notice","data-kind":"retry","data-open":!0,children:[h.jsx("span",{className:"notice-glyph","aria-hidden":"true",children:"↻"}),h.jsxs("span",{className:"notice-text",children:[o,f," after ",n.errorMessage||"a provider error"]})]})}const s=n.source==="branchSummary"?"summary of the earlier branch":"context summary";return h.jsxs("div",{className:"run-notice","data-kind":"summarization","data-open":a||void 0,children:[h.jsx("span",{className:"notice-glyph","aria-hidden":"true",children:n.finished?"✓":"↻"}),h.jsx("span",{className:"notice-text",children:n.finished?`Recovered while building the ${s}.`:`Retrying the ${s} (${n.attempt}/${n.maxAttempts})${n.errorMessage!==void 0?`: ${n.errorMessage}`:""}`})]})}function Kx({notices:n}){return n===void 0||n.length===0?null:h.jsx("div",{className:"run-notices",children:n.map((a,s)=>h.jsx(Ix,{notice:a},`${a.kind}-${s}`))})}const gp=80;function $x(n,a=gp){const{scrollHeight:s,scrollTop:r,clientHeight:o}=n;return!Number.isFinite(s)||!Number.isFinite(r)||!Number.isFinite(o)||o<=0?!0:s-r-o<a}function Jx({initialScroll:n,onScrollMemory:a,transcript:s,busy:r,sessionLabel:o,followToken:f=0,autoFollow:m=!0,expectedCount:p=0,loading:b=!1,onOpenTool:v,showMarkers:_=!0,historyError:y}){const C=V.useRef(null),M=V.useRef(null),A=V.useRef(!0),[L,Y]=V.useState(!0),J=V.useRef(a);J.current=a;const fe=V.useRef(void 0);V.useEffect(()=>{const de=M.current;if(!de)return;const ge=()=>{const Le={scrollTop:de.scrollTop,scrollHeight:de.scrollHeight,clientHeight:de.clientHeight},Pe=fe.current;Tm(Le)&&(fe.current=Le);const Ue=Pe!==void 0&&Tm(Pe)?Vx(Pe,Le,gp):$x(de);A.current=Ue,Y(Ue),J.current?.({scrollTop:Le.scrollTop,pinned:Ue})};return de.addEventListener("scroll",ge,{passive:!0}),ge(),()=>de.removeEventListener("scroll",ge)},[]);const ae=V.useRef(void 0);V.useLayoutEffect(()=>{const de=qx(n);if(de.kind==="follow-end"){A.current=!0,Y(!0);return}A.current=de.pinned,Y(de.pinned),ae.current={scrollTop:de.scrollTop,pinned:de.pinned}},[]),V.useLayoutEffect(()=>{const de=ae.current;if(!de)return;const ge=M.current;ge&&Gx(ge.scrollHeight,ge.clientHeight)&&(ge.scrollTop=de.scrollTop,ae.current=void 0)});const q=V.useRef(f);V.useEffect(()=>{if(q.current===f)return;q.current=f,A.current=!0,Y(!0);const de=M.current;de&&(de.scrollTop=de.scrollHeight)},[f]),V.useEffect(()=>{Zx(m,A.current)&&C.current?.scrollIntoView({block:"end"})});const Q=V.useCallback(()=>{A.current=!0,Y(!0);const de=C.current;if(!de)return;typeof de.scrollIntoView=="function"&&de.scrollIntoView({block:"end",behavior:"smooth"});const ge=M.current;ge&&(ge.scrollTop=ge.scrollHeight)},[]),ue=s.messages.length===0&&s.tools.length===0,K=ue&&p>0&&y===void 0,ce=ue&&y!==void 0,$e=Ug(s);return h.jsxs("div",{className:"transcript-wrap",children:[h.jsxs("div",{className:"transcript",ref:M,tabIndex:0,role:"region","aria-label":`Transcript for ${o}`,"aria-busy":r||void 0,children:[ce?h.jsxs("div",{className:"empty",style:{padding:0},children:[h.jsx("h2",{children:"Could not load this session's history"}),h.jsx("p",{children:y}),h.jsxs("p",{className:"dim",children:[`Pi reports ${p} message${p===1?"":"s"} in this session, `,"so they exist — the request for them failed. Reconnect, or reload the page, to try again."]})]}):K?h.jsxs("div",{className:"empty",style:{padding:0},children:[h.jsx("h2",{children:"Loading this session's history…"}),h.jsxs("p",{children:[`Pi reports ${p} message${p===1?"":"s"} in this session. `,"They are being fetched; nothing is missing."]})]}):ue&&!b?h.jsxs("div",{className:"empty",style:{padding:0},children:[h.jsx("h2",{children:"No messages yet."}),h.jsxs("p",{children:["This session works in its own scratch workspace. Anything it writes stays there. To work in a project, use ",h.jsx("strong",{children:"Open in a directory"}),"."]})]}):h.jsx(h.Fragment,{children:$e.map((de,ge)=>de.kind==="tools"?_?h.jsx(Wx,{tools:de.tools,onOpenTool:v},`tools-${ge}`):null:h.jsx(Px,{message:de.message},de.message.id))}),h.jsx(Kx,{notices:s.notices}),h.jsx("div",{ref:C})]}),!L&&h.jsxs("button",{type:"button",className:"jump-latest",onClick:Q,title:"Scroll to the newest message and follow along again",children:[h.jsx("span",{"aria-hidden":"true",children:"↓"})," Jump to latest"]})]})}function Wx({tools:n,onOpenTool:a}){if(n.length===0)return null;const s=wg(n),r=n[n.length-1],o=n.some(f=>f.running);return h.jsxs("button",{type:"button",className:`tool-marker${s.failed>0?" has-error":""}${o?" running":""}`,onClick:()=>a?.(r.toolCallId),title:"Open the tool trace at this point",children:[h.jsx("span",{className:"m-glyph","aria-hidden":"true",children:o?"●":s.failed>0?"✕":"⌁"}),h.jsxs("span",{className:"m-count",children:[s.count," tool",s.count===1?"":"s"]}),h.jsx("span",{className:"m-names mono",children:s.names.join(" · ")}),s.failed>0&&h.jsxs("span",{className:"m-failed",children:[s.failed," failed"]}),o&&h.jsx("span",{className:"m-running",children:"running"})]})}function Px({message:n}){const a=n.role==="user"?"You":n.role==="assistant"?"Assistant":n.role,s=zg(n),r=n.blocks.filter(o=>o.kind==="thinking");return Om(n)?h.jsxs("article",{className:`turn measure turn-${n.role}`,children:[h.jsxs("div",{className:"role",children:[h.jsx("span",{children:a}),n.streaming&&h.jsxs(h.Fragment,{children:[h.jsx("span",{className:"live-dot","aria-hidden":"true"}),h.jsx("span",{children:"responding…"})]})]}),r.map((o,f)=>h.jsxs("details",{className:"quarantine",style:{marginBottom:8},children:[h.jsx("summary",{className:"quarantine-head",children:h.jsx("span",{className:"label",children:"Thinking"})}),h.jsx("pre",{className:"quarantine-body",children:o.kind==="thinking"?o.text:""})]},f)),s.length>0&&h.jsx(Hx,{text:s,streaming:n.streaming})]}):null}function e8({tools:n,selectedId:a,onSelect:s,collapsed:r,onToggleCollapsed:o,showMarkers:f,onToggleMarkers:m}){const p=V.useRef(null),b=V.useRef(!0),v=n.filter(L=>L.running),_=n.length;if(V.useEffect(()=>{const L=p.current;if(!L)return;const Y=()=>{const J=L.scrollHeight-L.scrollTop-L.clientHeight;b.current=J<40};return L.addEventListener("scroll",Y,{passive:!0}),()=>L.removeEventListener("scroll",Y)},[]),V.useEffect(()=>{if(b.current&&!r){const L=p.current;L&&(L.scrollTop=L.scrollHeight)}},[_,v.length,r]),V.useEffect(()=>{if(r)return;const L=Y=>{if(Y.key!=="ArrowUp"&&Y.key!=="ArrowDown"||!p.current?.contains(document.activeElement))return;Y.preventDefault();const J=n.findIndex(ae=>ae.toolCallId===a),fe=J===-1?n.length-1:Math.max(0,Math.min(n.length-1,J+(Y.key==="ArrowDown"?1:-1)));s(n[fe]?.toolCallId)};return window.addEventListener("keydown",L),()=>window.removeEventListener("keydown",L)},[n,a,s,r]),_===0)return null;const y=n.find(L=>L.toolCallId===a),C=Rg(n,5),M=new Set(C.map(L=>L.toolCallId)),A=r?[]:n;return h.jsxs("section",{className:"trace","aria-label":"Tool trace",children:[h.jsxs("div",{className:"trace-head",children:[h.jsxs("button",{type:"button",className:"trace-toggle",onClick:o,"aria-expanded":!r,children:[r?"▸":"▾"," Tool trace"]}),h.jsx("span",{className:"trace-count mono",children:`${_} call${_===1?"":"s"}`}),v.length>0&&h.jsxs("span",{className:"trace-running",children:[h.jsx("span",{className:"live-dot","aria-hidden":"true"}),`${v.map(L=>L.toolName).join(", ")} running`]}),r&&C.length>0&&h.jsx("span",{className:"trace-preview mono",title:C.map(L=>L.toolName).join(", "),children:`latest: ${C.slice(-3).map(L=>L.toolName).join(" · ")}`}),h.jsx("button",{type:"button",className:"trace-toggle toggle-chip",style:{marginLeft:r?"auto":void 0},onClick:m,"aria-pressed":f,children:f?"markers on":"markers off"}),!r&&h.jsx("span",{className:"trace-hint",children:"latest 5 shown · the rest below for debugging · ↑↓ to traverse"})]}),!r&&h.jsx("div",{className:"trace-list",ref:p,tabIndex:0,"aria-label":"Tool calls, newest last",children:A.map(L=>h.jsxs("button",{type:"button",className:["trace-row",L.running?"running":"",L.isError?"failed":"",L.toolCallId===a?"selected":"",L.unfinished?"unfinished":"",M.has(L.toolCallId)?"recent":""].filter(Boolean).join(" "),onClick:()=>s(L.toolCallId===a?void 0:L.toolCallId),"aria-current":L.toolCallId===a?"true":void 0,children:[h.jsx("span",{className:"t-status","aria-hidden":"true",children:L.running?"●":L.isError?"✕":L.unfinished?"?":"·"}),h.jsx("span",{className:"t-name mono",children:L.toolName||"tool"}),h.jsx("span",{className:"t-summary mono",title:q2(L),children:q2(L)}),h.jsx("span",{className:"t-time mono",children:L.running?"running":L.unfinished?"no result":L.durationMs!==void 0?u8(L.durationMs):"done"})]},L.toolCallId))}),!r&&y&&h.jsxs("div",{className:"trace-detail is-quarantined",children:[h.jsxs("div",{className:"trace-detail-head",children:[h.jsx("span",{className:"label",children:"Tool output"}),h.jsx("span",{className:"mono",children:y.toolName}),y.isError&&h.jsx("span",{className:"err",children:"failed"}),h.jsx("span",{className:"spacer"}),h.jsx("button",{type:"button",className:"copy",onClick:()=>s(void 0),children:"Close"})]}),y.args!==void 0&&h.jsx("pre",{className:"trace-args mono",children:t8(y.args)}),y.result.length>0?h.jsx("pre",{className:`trace-output mono${y.isError?" error":""}`,children:y.result}):h.jsx("pre",{className:"trace-output mono",children:y.running?"waiting for output…":y.unfinished?"No result was recorded for this call. The run was interrupted or aborted before it finished.":"This tool returned no output."})]})]})}function u8(n){return n<1e3?`${Math.round(n)}ms`:n<6e4?`${(n/1e3).toFixed(1)}s`:`${Math.floor(n/6e4)}m${Math.round(n%6e4/1e3)}s`}function t8(n){try{const a=JSON.stringify(n,null,2);return a===void 0?String(n):a}catch{return String(n)}}function n8({session:n,state:a,unavailableReason:s,onSend:r,onClearQueueAndStop:o,onRestored:f,restored:m,draft:p,onDraftChange:b}){const v=V.useRef(null),_=n?.state==="streaming",y=s!==void 0,[C,M]=V.useState("steer"),A=Qg(a,n);V.useEffect(()=>{if(m.length===0)return;const q=m.filter(ue=>ue.trim().length>0).join(`
36
+
37
+ `),Q=p.trim();q.length>0&&(b(Q.length>0?`${Q}
38
+
39
+ ${q}`:q),v.current?.focus()),f()},[m]),V.useEffect(()=>{const q=Q=>{Q.key==="Escape"&&_&&(Q.preventDefault(),o(),Y(!0))};return window.addEventListener("keydown",q),()=>window.removeEventListener("keydown",q)},[_,o]);const[L,Y]=V.useState(!1);V.useEffect(()=>{if(L&&!_){const q=setTimeout(()=>Y(!1),6e3);return()=>clearTimeout(q)}},[L,_]);const J=()=>{const q=p.trim();q.length===0||y||(r(q,_?C:"steer"),b(""))},fe=q=>{if(q.key==="Enter"&&!q.shiftKey){if(q.preventDefault(),_&&q.altKey){M("followUp");const Q=p.trim();Q.length>0&&!y&&(r(Q,"followUp"),b(""));return}J()}},ae=_?C==="steer"?"Send steer":"Queue follow-up":"Send";return h.jsxs("div",{className:"composer",children:[_&&h.jsxs("div",{className:"mode-strip",children:[h.jsxs("div",{className:"mode-choice",role:"radiogroup","aria-label":"What this message does",children:[h.jsx("button",{type:"button",role:"radio","aria-checked":C==="steer",className:C==="steer"?"mode-option mode-option-on":"mode-option",onClick:()=>M("steer"),children:"Steer"}),h.jsx("button",{type:"button",role:"radio","aria-checked":C==="followUp",className:C==="followUp"?"mode-option mode-option-on":"mode-option",onClick:()=>M("followUp"),children:"Follow-up"})]}),h.jsx("span",{className:"mode-consequence",children:C==="steer"?"Delivered after the current turn's tools finish":"Starts after this run finishes"})]}),_&&A.total>0&&h.jsxs("div",{className:"queue-strip",role:"status",children:[h.jsxs("span",{className:"queue-head",children:[A.total," queued"]}),A.textsKnown?h.jsxs("ul",{className:"queue-rows",children:[A.steering.map((q,Q)=>h.jsx("li",{children:q},`s${Q}`)),A.followUp.map((q,Q)=>h.jsx("li",{children:q},`f${Q}`))]}):h.jsxs("span",{className:"queue-unknown",children:[A.total===1?"1 message":"Messages"," queued before this page loaded"]})]}),y&&s&&h.jsx("div",{className:"hint",role:"note",children:s}),h.jsxs("div",{className:"composer-row",children:[h.jsx("textarea",{ref:v,value:p,onChange:q=>b(q.target.value),onKeyDown:fe,placeholder:y?s??"Unavailable":"Send a prompt…",disabled:y,"aria-label":"Prompt",rows:3}),h.jsx("button",{type:"button",className:"btn-send",onClick:J,disabled:y||p.trim().length===0,children:y?"Send":ae})]}),h.jsx("div",{className:"hint",children:_?h.jsxs(h.Fragment,{children:[h.jsx("kbd",{children:"Enter"})," to ",C==="steer"?"steer":"queue a follow-up"," ·"," ",h.jsx("kbd",{children:"Alt"}),"+",h.jsx("kbd",{children:"Enter"})," for ",C==="steer"?"a follow-up":"steer"," ·"," ",h.jsx("kbd",{children:"Esc"})," stops the run and returns the queue to this box"]}):h.jsxs(h.Fragment,{children:[h.jsx("kbd",{children:"Enter"})," to send · ",h.jsx("kbd",{children:"Shift"}),"+",h.jsx("kbd",{children:"Enter"})," for a new line"]})}),L&&h.jsx("div",{className:"hint",role:"status",children:"Stopped the run."})]})}function l8({dialogs:n,onAnswer:a}){const s=new Set(Dm),r=n.filter(f=>!s.has(f.method));if(r.length===0)return null;const o=r[0];return h.jsxs("div",{className:"dialog-dock",children:[h.jsxs("div",{className:"dialog-head",children:[h.jsx("span",{children:"Needs your answer"}),h.jsx("span",{style:{marginLeft:"auto",fontFamily:"var(--mono)"},children:o.method})]}),h.jsx(a8,{dialog:o,onAnswer:a},o.id)]})}function a8({dialog:n,onAnswer:a}){const[s,r]=V.useState(n.prefill??""),o=V.useRef(null),f=V.useRef(null);V.useEffect(()=>{f.current?.focus()},[]),V.useEffect(()=>{const p=v=>{v.key==="Escape"&&(v.stopPropagation(),v.preventDefault(),a(n.id,{cancelled:!0}))},b=o.current;return b?.addEventListener("keydown",p),()=>b?.removeEventListener("keydown",p)},[n.id,a]);const m=n.message??n.title??"The agent is asking for input.";return h.jsxs("div",{className:"dialog-body",ref:o,role:"dialog","aria-label":m,children:[n.title&&n.message&&h.jsx("p",{className:"title",children:n.title}),h.jsx("p",{className:"question",children:m}),n.method==="confirm"&&h.jsxs("div",{className:"dialog-actions",children:[h.jsx("button",{type:"button",className:"btn",onClick:()=>a(n.id,{confirmed:!0}),children:"Allow once"}),h.jsx("button",{type:"button",className:"btn",onClick:()=>a(n.id,{confirmed:!1}),children:"Deny"}),h.jsx("button",{type:"button",className:"btn btn-ghost",onClick:()=>a(n.id,{cancelled:!0}),children:"Cancel request"})]}),n.method==="select"&&h.jsxs("div",{className:"dialog-options",children:[(n.options??[]).map(p=>h.jsx("button",{type:"button",onClick:()=>a(n.id,{value:p}),children:p},p)),h.jsx("button",{type:"button",className:"btn btn-ghost",style:{marginTop:6},onClick:()=>a(n.id,{cancelled:!0}),children:"Cancel request"})]}),n.method==="input"&&h.jsxs(h.Fragment,{children:[h.jsx("input",{ref:f,type:"text",value:s,placeholder:n.placeholder??"Type your answer","aria-label":m,onChange:p=>r(p.target.value),onKeyDown:p=>{p.key==="Enter"&&(p.preventDefault(),a(n.id,{value:s}))}}),h.jsxs("div",{className:"dialog-actions",children:[h.jsx("button",{type:"button",className:"btn",onClick:()=>a(n.id,{value:s}),children:"Submit"}),h.jsx("button",{type:"button",className:"btn btn-ghost",onClick:()=>a(n.id,{cancelled:!0}),children:"Cancel request"})]})]}),n.method==="editor"&&h.jsxs(h.Fragment,{children:[h.jsx("textarea",{ref:f,value:s,placeholder:n.placeholder??"Edit the content","aria-label":m,onChange:p=>r(p.target.value)}),h.jsxs("div",{className:"dialog-actions",children:[h.jsx("button",{type:"button",className:"btn",onClick:()=>a(n.id,{value:s}),children:"Submit"}),h.jsx("button",{type:"button",className:"btn btn-ghost",onClick:()=>a(n.id,{cancelled:!0}),children:"Cancel request"})]})]}),!rg(n.method)&&h.jsx("div",{className:"dialog-actions",children:h.jsx("button",{type:"button",className:"btn",onClick:()=>a(n.id,{cancelled:!0}),children:"Cancel request"})})]})}function xl({text:n,label:a}){const[s,r]=V.useState(!1);return h.jsx("button",{type:"button",className:"copy",title:`Copy ${a}`,onClick:async()=>{const o=await u6(n);r(o),setTimeout(()=>r(!1),1500)},children:s?"Copied":`Copy ${a}`})}function i8({session:n,home:a,onStop:s,onRename:r}){return n?h.jsxs("div",{className:"inspector",children:[h.jsxs("section",{children:[h.jsx("h3",{children:"Isolation"}),h.jsxs("dl",{className:"kv",children:[h.jsx("dt",{children:"Mode"}),h.jsx("dd",{children:n.mode==="sandboxed"?h.jsx("span",{className:"chip chip-idle",children:"Safehouse"}):h.jsx("span",{className:"chip chip-no-isolation",children:"NO ISOLATION"})}),h.jsx("dt",{children:"Policy"}),h.jsx("dd",{children:n.isolation})]}),n.mode==="direct"&&h.jsx("p",{style:{color:"var(--warn-text)",fontSize:11,marginTop:8},children:"This session runs pi unsandboxed at your user account. It can read and write anything you can."})]}),h.jsxs("section",{children:[h.jsx("h3",{children:"Paths"}),h.jsxs("dl",{className:"kv",children:[h.jsx("dt",{children:"Workspace"}),h.jsxs("dd",{children:[h.jsx("span",{children:mc(n.cwd,40,a)}),h.jsx(xl,{text:n.cwd,label:"path"})]}),n.sessionFile&&h.jsxs(h.Fragment,{children:[h.jsx("dt",{children:"Session file"}),h.jsxs("dd",{children:[h.jsx("span",{children:mc(n.sessionFile,40,a)}),h.jsx(xl,{text:n.sessionFile,label:"path"})]})]}),h.jsx("dt",{children:"Session id"}),h.jsx("dd",{children:n.sessionId?h.jsxs(h.Fragment,{children:[h.jsx("span",{children:n.sessionId}),h.jsx(xl,{text:n.sessionId,label:"session id"})]}):h.jsx("span",{title:"Pi has not reported its session id yet",children:"—"})}),h.jsx("dt",{children:"Handle"}),h.jsxs("dd",{children:[h.jsx("span",{children:n.id}),h.jsx(xl,{text:n.id,label:"handle"})]})]})]}),h.jsxs("section",{children:[h.jsx("h3",{children:"Command"}),h.jsx("pre",{className:"cmd",children:n.command}),h.jsx("div",{style:{marginTop:6},children:h.jsx(xl,{text:n.command,label:"command"})})]}),h.jsxs("section",{children:[h.jsx("h3",{children:"Usage"}),h.jsxs("dl",{className:"kv",children:[h.jsx("dt",{children:"Messages"}),h.jsx("dd",{children:n.messageCount}),h.jsx("dt",{children:"Tokens"}),h.jsx("dd",{children:ss(n.tokensTotal)}),h.jsx("dt",{children:"Cost"}),h.jsx("dd",{children:yf(n.cost)}),h.jsx("dt",{children:"Context"}),h.jsx("dd",{children:n.contextPercent===null?"—":`${Math.round(n.contextPercent)}%`}),h.jsx("dt",{children:"Model"}),h.jsx("dd",{children:n.model??"—"}),h.jsx("dt",{children:"Thinking"}),h.jsx("dd",{children:n.thinkingLevel??"—"})]})]}),n.warnings.length>0&&h.jsxs("section",{children:[h.jsx("h3",{children:"Warnings"}),n.warnings.map((o,f)=>h.jsx("p",{style:{color:"var(--warn-text)",fontSize:11,margin:"0 0 6px"},children:o},f))]}),n.error&&h.jsxs("section",{children:[h.jsx("h3",{children:"Error"}),h.jsx("p",{style:{color:"var(--danger-text)",fontSize:11,whiteSpace:"pre-wrap"},children:n.error})]}),h.jsxs("section",{children:[h.jsx("h3",{children:"Actions"}),h.jsxs("div",{className:"actions",children:[h.jsx(c8,{current:n.name,onRename:r}),h.jsx("button",{type:"button",className:"btn",onClick:s,children:"Stop session"})]})]})]}):h.jsx("div",{className:"inspector",children:h.jsxs("section",{children:[h.jsx("h3",{children:"Inspector"}),h.jsx("p",{style:{color:"var(--dim)",fontSize:12},children:"Select a session to see its isolation, paths, and usage."})]})})}function c8({current:n,onRename:a}){return h.jsxs("details",{children:[h.jsx("summary",{className:"btn",style:{cursor:"pointer",fontSize:12},children:"Rename…"}),h.jsxs("form",{style:{marginTop:6,display:"flex",gap:6},onSubmit:s=>{s.preventDefault();const r=new FormData(s.currentTarget).get("name");typeof r=="string"&&r.trim().length>0&&a(r.trim())},children:[h.jsx("input",{name:"name",defaultValue:n,"aria-label":"Session name",style:{flex:1,background:"var(--bg)",border:"1px solid var(--line)",borderRadius:6,padding:"4px 8px",color:"var(--text)",font:"12px var(--sans)"}}),h.jsx("button",{type:"submit",className:"btn",children:"Save name"})]})]})}function dc({label:n,value:a,copyable:s=!1,monospace:r=!1,note:o}){const f=a===void 0;return h.jsxs(h.Fragment,{children:[h.jsx("dt",{children:n}),h.jsxs("dd",{children:[h.jsx("span",{className:f?"settings-absent":r?"settings-mono":void 0,children:f?"not reported":a}),s&&!f&&h.jsx(xl,{text:a,label:n.toLowerCase()}),o!==void 0&&h.jsx("span",{className:"settings-note",children:o})]})]})}function r8({install:n,ready:a,onClose:s}){const r=V.useRef(null);V.useEffect(()=>{r.current?.focus();const m=p=>{p.key==="Escape"&&s()};return window.addEventListener("keydown",m),()=>window.removeEventListener("keydown",m)},[s]);const o=n?.protocol,f=o!==void 0&&o!==ei;return h.jsx("div",{className:"modal-backdrop",onClick:s,role:"presentation",children:h.jsxs("div",{className:"modal settings",role:"dialog","aria-modal":"true","aria-labelledby":"settings-title",onClick:m=>m.stopPropagation(),children:[h.jsx("h3",{id:"settings-title",children:"This installation"}),n===void 0&&h.jsx("p",{className:"settings-absent-note",role:"status",children:a?h.jsxs(h.Fragment,{children:[h.jsx("strong",{children:"This orchestrator is older than this UI."})," It does not report the facts below, so nothing here can be shown. Restart it to pick up the current build — see"," ",h.jsx("code",{children:"docs/DOGFOODING.md"}),"."]}):h.jsx(h.Fragment,{children:"Waiting for the orchestrator to send these facts…"})}),h.jsxs("section",{children:[h.jsx("h4",{children:"This build"}),h.jsxs("dl",{className:"kv",children:[h.jsx(dc,{label:"Version",value:n?.version}),h.jsx(dc,{label:"Protocol",value:o===void 0?void 0:`v${o}`,note:o===void 0?void 0:f?`MISMATCH — this UI speaks v${ei}. One half is out of date; see docs/DOGFOODING.md.`:`matches this UI (v${ei})`})]})]}),h.jsxs("section",{children:[h.jsx("h4",{children:"Where things live"}),h.jsxs("dl",{className:"kv",children:[h.jsx(dc,{label:"Sessions",value:n?.sessionsRoot,copyable:!0,monospace:!0}),h.jsx(dc,{label:"Workspaces",value:n?.workspaceRoot,copyable:!0,monospace:!0}),h.jsx(dc,{label:"Agent root",value:n?.agentRoot,copyable:!0,monospace:!0,note:n===void 0?void 0:n.agentRootManaged?"managed by Pi Central":"external — not created or modified by Pi Central"})]})]}),h.jsxs("section",{children:[h.jsx("h4",{children:"Updates"}),h.jsxs("p",{className:"settings-note settings-updates",children:["This build does not check for updates. When it does, checking will be ",h.jsx("strong",{children:"off unless you turn it on"}),", will send nothing but the package name, and will never install anything without asking."]})]}),h.jsx("div",{className:"dialog-actions",children:h.jsx("button",{type:"button",className:"btn",ref:r,onClick:s,children:"Close"})})]})})}function Nf({path:n,reason:a,code:s,message:r,depth:o=0}){return h.jsxs("p",{className:"filetree-note filetree-error",role:"note",style:{paddingLeft:`${o*12}px`},title:n===""?void 0:n,children:[h.jsx("strong",{children:s8(a)}),h.jsx("span",{className:"filetree-error-detail",children:r}),s!==void 0&&h.jsx("span",{className:"filetree-kind",children:s})]})}function s8(n){switch(n){case"escapes-cwd":return"Outside the working directory";case"absolute-path":return"Not a relative path";case"invalid-path":return"Not a usable path";case"too-large":return"Too large to read";case"binary":return"Not a text file";case"permission":return"Permission denied";case"not-found":return"Not found";case"not-a-directory":return"Not a directory";case"is-directory":return"That is a directory";default:return"Could not read"}}function o8({path:n,state:a,wrapped:s,onToggleWrap:r,onClose:o}){const f=a.status==="loaded"?a.text.split(`
40
+ `):[];return h.jsxs("div",{className:"filepane",children:[h.jsxs("div",{className:"filepane-head",children:[h.jsx("span",{className:"filepane-path",title:n,children:n}),a.status==="loaded"&&h.jsxs("span",{className:"filepane-meta",children:[f.length," line",f.length===1?"":"s"," · ",Cm(a.bytes)]}),h.jsx(xl,{text:n,label:`path ${n}`}),a.status==="loaded"&&h.jsx("button",{type:"button",className:"btn btn-quiet",onClick:r,"aria-pressed":s,title:s?"Stop wrapping long lines, and scroll sideways instead":"Wrap long lines so the whole line is readable without scrolling sideways",children:s?"No wrap":"Wrap lines"}),h.jsx("button",{type:"button",className:"btn btn-quiet",onClick:o,"aria-label":"Close file",children:"Close"})]}),a.status==="unloaded"||a.status==="loading"?h.jsx("p",{className:"filetree-note",role:"status",children:"Reading…"}):a.status==="error"?h.jsx(Nf,{path:n,reason:a.reason,code:a.code,message:a.message}):h.jsx(h.Fragment,{children:h.jsx("ol",{className:s?"filepane-lines is-wrapped":"filepane-lines",children:f.map((m,p)=>h.jsxs("li",{children:[h.jsx("span",{className:"filepane-line-no","aria-hidden":"true",children:p+1}),h.jsx("span",{className:"filepane-line-text",children:m===""?" ":m})]},p))})})]})}function f8({sessionId:n,state:a,cwd:s,onExpand:r,onCollapse:o,onToggleHidden:f,onOpenFile:m}){const p=as(a,n),b=cs(a,n,"");return h.jsxs("div",{className:"filetree",children:[h.jsxs("div",{className:"filetree-head",children:[h.jsx("span",{className:"filetree-scope",title:s,children:"Working directory"}),h.jsx("button",{type:"button",className:"btn btn-quiet",onClick:f,"aria-pressed":p,title:p?"Hide dotfiles":"Show dotfiles",children:p?"Hide dotfiles":"Show dotfiles"})]}),b.status==="unloaded"?h.jsx("p",{className:"filetree-note",children:"Not loaded yet."}):b.status==="loading"?h.jsx("p",{className:"filetree-note",role:"status",children:"Reading…"}):b.status==="error"?h.jsx(Nf,{path:"",reason:b.reason,code:b.code,message:b.message}):b.entries.length===0?h.jsx("p",{className:"filetree-note",children:"This directory is empty."}):h.jsx("ul",{className:"filetree-list",role:"tree","aria-label":`Files in ${s}`,children:b.entries.map(v=>h.jsx(yp,{sessionId:n,parent:"",entry:v,state:a,depth:0,onExpand:r,onCollapse:o,onOpenFile:m},v.name))}),b.status==="loaded"&&b.truncated&&h.jsx("p",{className:"filetree-note filetree-truncated",children:"Showing the first entries only — this directory holds more."})]})}function yp({sessionId:n,parent:a,entry:s,state:r,depth:o,onExpand:f,onCollapse:m,onOpenFile:p}){const b=Sg(a,s.name),v=Eg(s),_=v&&xg(r,n,b),y=v&&_?cs(r,n,b):void 0;return h.jsxs("li",{className:`filetree-node${s.unreadable?" is-unreadable":""}`,role:"treeitem","aria-expanded":v?_:void 0,style:{paddingLeft:`${o*12}px`},children:[h.jsxs("button",{type:"button",className:"filetree-row",onClick:()=>{v?_?m(b):f(b):p(b)},title:b,children:[h.jsx("span",{className:"filetree-mark","aria-hidden":"true",children:v?_?"▾":"▸":s.kind==="symlink"?"↗":"·"}),h.jsx("span",{className:`filetree-name${s.hidden?" is-hidden":""}`,children:s.name}),s.kind==="symlink"&&!H2(s)&&h.jsx("span",{className:"filetree-kind",children:"link"}),H2(s)&&h.jsx("span",{className:"filetree-kind filetree-bad",children:"broken"}),s.unreadable&&h.jsx("span",{className:"filetree-kind filetree-bad",children:"unreadable"}),s.size!==void 0&&h.jsx("span",{className:"filetree-size",children:Cm(s.size)})]}),y!==void 0&&h.jsx(d8,{files:r,directory:y,sessionId:n,parent:b,depth:o+1,onExpand:f,onCollapse:m,onOpenFile:p})]})}function d8({files:n,directory:a,sessionId:s,parent:r,depth:o,onExpand:f,onCollapse:m,onOpenFile:p}){return a.status==="loading"||a.status==="unloaded"?h.jsx("p",{className:"filetree-note",role:"status",style:{paddingLeft:`${o*12}px`},children:"Reading…"}):a.status==="error"?h.jsx(Nf,{path:r,reason:a.reason,code:a.code,message:a.message,depth:o}):a.entries.length===0?h.jsx("p",{className:"filetree-note",style:{paddingLeft:`${o*12}px`},children:"Empty."}):h.jsxs(h.Fragment,{children:[h.jsx("ul",{className:"filetree-list",role:"group",children:a.entries.map(b=>h.jsx(yp,{sessionId:s,parent:r,entry:b,state:n,depth:o,onExpand:f,onCollapse:m,onOpenFile:p},b.name))}),a.truncated&&h.jsx("p",{className:"filetree-note filetree-truncated",style:{paddingLeft:`${o*12}px`},children:"Showing the first entries only — this directory holds more."})]})}function h8({sessionId:n,files:a,cwd:s,onExpand:r,onCollapse:o,onToggleHidden:f,wrapped:m,onToggleWrap:p,onOpenFile:b,onCloseFile:v}){const _=_g(a,n);return h.jsxs("div",{className:"files-panel",children:[_&&h.jsxs("div",{className:"files-back",children:[h.jsx("button",{type:"button",className:"btn btn-quiet",onClick:v,children:"‹ Files"}),h.jsx("span",{className:"files-back-path",title:_.path,children:_.path})]}),h.jsxs("div",{className:`files-body${_?" has-file":""}`,children:[h.jsx("div",{className:"files-tree",children:h.jsx(f8,{sessionId:n,state:a,cwd:s,onExpand:r,onCollapse:o,onToggleHidden:f,onOpenFile:b})}),_&&h.jsx("div",{className:"files-doc",children:h.jsx(o8,{path:_.path,state:_.state,wrapped:m,onToggleWrap:p,onClose:v})})]})]})}const gs=280,m8=.6,p8=1200,kf=360,b8=720;function Of(n){return Math.min(p8,Math.max(gs,n*m8))}function ta(n,a){return Number.isFinite(n)?Math.round(Math.min(Of(a),Math.max(gs,n))):kf}function g8(n,a,s){switch(n){case"ArrowLeft":return ta(a+16,s);case"ArrowRight":return ta(a-16,s);case"Home":return ta(gs,s);case"End":return ta(Of(s),s)}}const ls="pi-central.panel";function xp(){return{width:kf,mode:"session",userSized:!1,collapsed:!0}}function y8(n){const a=xp();if(n===null||n==="")return a;let s;try{s=JSON.parse(n)}catch{return a}if(typeof s!="object"||s===null)return a;const r=s,o=r.mode==="files"?"files":"session";return{width:typeof r.width=="number"?r.width:a.width,mode:o,userSized:r.userSized===!0,collapsed:r.collapsed!==!1}}function df(n){return JSON.stringify(n)}const x8=[{mode:"session",label:"Session"},{mode:"files",label:"Files"}];function v8({mode:n,onMode:a,width:s,onWidth:r,viewportWidth:o,resizable:f=!0,onCommit:m,children:p}){const b=V.useRef(void 0),v=Of(o);function _(A){f&&(A.preventDefault(),A.currentTarget.setPointerCapture(A.pointerId),b.current={pointerId:A.pointerId,startX:A.clientX,startWidth:s})}function y(A){const L=b.current;!L||L.pointerId!==A.pointerId||r(ta(L.startWidth-(A.clientX-L.startX),o),!0)}function C(A){b.current&&(b.current=void 0,A.currentTarget.hasPointerCapture(A.pointerId)&&A.currentTarget.releasePointerCapture(A.pointerId),m?.())}function M(A){f&&["ArrowLeft","ArrowRight","Home","End"].includes(A.key)&&(A.preventDefault(),r(g8(A.key,s,o),!0),m?.())}return h.jsxs("aside",{className:"panel","aria-label":"Panel",children:[h.jsx("div",{className:"panel-head",children:h.jsx("div",{className:"tabs",role:"tablist","aria-label":"Panel view",children:x8.map(({mode:A,label:L})=>h.jsx("button",{type:"button",role:"tab",id:`panel-tab-${A}`,className:"tab","aria-selected":n===A,"aria-controls":`panel-body-${A}`,tabIndex:n===A?0:-1,onClick:()=>a(A),children:L},A))})}),h.jsx("div",{className:"panel-body",id:`panel-body-${n}`,role:"tabpanel","aria-labelledby":`panel-tab-${n}`,tabIndex:-1,children:p}),f&&h.jsx("div",{className:"panel-resizer",role:"separator","aria-orientation":"vertical","aria-label":"Resize panel","aria-valuenow":s,"aria-valuemin":gs,"aria-valuemax":v,"aria-valuetext":`${s} pixels`,tabIndex:0,onPointerDown:_,onPointerMove:y,onPointerUp:C,onPointerCancel:C,onKeyDown:M,onDoubleClick:()=>{r(kf,!1),m?.()}})]})}function _8({collapsed:n,onToggle:a}){return h.jsx("button",{type:"button",className:"btn btn-quiet","aria-expanded":!n,onClick:a,title:n?"Show the session and file panel":"Hide the session and file panel and give the transcript the room",children:n?"Show panel":"Hide panel"})}function E8({following:n,onToggle:a}){return h.jsx("button",{type:"button",className:"toggle-chip","aria-pressed":n,onClick:a,title:n?"Stop scrolling to new output automatically. Jump to latest still works.":"Scroll to new output automatically whenever you are at the end of the transcript.",children:n?"auto-follow on":"auto-follow off"})}const S8=30;function A8({session:n,models:a,error:s,onRequest:r,onSelect:o}){const[f,m]=V.useState(!1),p=()=>{f||(m(!0),r())},b=n.state!=="starting"&&n.state!=="stopped"&&n.state!=="failed",v=$g(n),_=f&&a===void 0&&s===void 0;if(s!==void 0)return h.jsxs("div",{className:"picker picker-broken",children:[h.jsx("span",{className:"picker-label",children:"Model"}),h.jsx("span",{className:"picker-value",title:s,children:"unavailable"}),h.jsx("button",{type:"button",className:"btn btn-quiet",onClick:()=>{m(!0),r()},children:"Retry"}),h.jsxs("span",{className:"picker-note warn",children:["Could not read the model list: ",s]})]});const y=n.model===void 0?"—":n.provider?`${n.provider}/${n.model}`:n.model,C=a?.find(L=>Mm(n,L)),M=C?C.name??C.id:y,A=xf(M,S8);return h.jsxs("div",{className:"picker",children:[h.jsx("label",{className:"picker-label",htmlFor:`model-${n.id}`,children:"Model"}),h.jsxs("div",{className:"picker-field",children:[h.jsx("span",{className:`picker-display mono${b?"":" is-disabled"}`,"aria-hidden":"true",title:M,children:A}),h.jsxs("select",{id:`model-${n.id}`,className:"picker-select",title:M,value:a===void 0?"":T8(n,a),disabled:!b,onFocus:p,onMouseDown:p,onChange:L=>{const[Y,...J]=L.target.value.split("/");Y!==void 0&&J.length>0&&o(Y,J.join("/"))},children:[a===void 0&&h.jsx("option",{value:"",children:y}),a!==void 0&&a.length===0&&h.jsx("option",{value:"",children:"no models available"}),a!==void 0&&Kg(a).map(L=>h.jsx("optgroup",{label:L.provider,children:L.models.map(Y=>h.jsxs("option",{value:`${Y.provider}/${Y.id}`,children:[Y.name??Y.id,Y.reasoning?" · thinking":""]},`${Y.provider}/${Y.id}`))},L.provider))]})]}),_&&h.jsx("span",{className:"picker-note",children:"reading the model list…"}),v!==""&&h.jsx("span",{className:"picker-note",children:v})]})}function T8(n,a){const s=a.find(r=>Mm(n,r));return s?`${s.provider}/${s.id}`:""}function D8({installationRoot:n,initialPath:a="",onClose:s,onOpen:r}){const[o,f]=V.useState(a),m=V.useRef(null);V.useEffect(()=>{m.current?.focus();const _=y=>{y.key==="Escape"&&s()};return window.addEventListener("keydown",_),()=>window.removeEventListener("keydown",_)},[s]);const p=o.trim(),b=V.useMemo(()=>{if(p.length===0)return"Enter a directory.";if(!p.startsWith("/"))return"Enter an absolute path, starting with /."},[p]),v=V.useMemo(()=>{if(b===void 0)return fg(p,n)},[p,n,b]);return h.jsx("div",{className:"modal-backdrop",onClick:s,role:"presentation",children:h.jsxs("div",{className:"modal",role:"dialog","aria-modal":"true","aria-labelledby":"open-dir-title",onClick:_=>_.stopPropagation(),children:[h.jsx("h3",{id:"open-dir-title",children:"Open in a directory"}),h.jsx("p",{style:{marginBottom:12},children:"The session is sandboxed to this directory. Pi Central does not change a session's directory later, so start it where the work belongs."}),h.jsxs("form",{onSubmit:_=>{_.preventDefault(),b===void 0&&r(p)},children:[h.jsx("input",{ref:m,type:"text",value:o,spellCheck:!1,placeholder:"/absolute/path/to/project","aria-label":"Working directory","aria-invalid":b!==void 0&&o.length>0,onChange:_=>f(_.target.value),style:{width:"100%",background:"var(--bg)",border:"1px solid var(--line-strong)",borderRadius:6,padding:"8px 10px",color:"var(--text)",font:"13px var(--mono)"}}),b!==void 0&&o.length>0&&h.jsx("p",{style:{color:"var(--warn-text)",fontSize:12,margin:"6px 0 0"},children:b}),v!==void 0&&h.jsxs("p",{className:"hazard",role:"status",children:[h.jsx("span",{"aria-hidden":"true",children:"⚠ "}),v]}),h.jsxs("div",{className:"dialog-actions",children:[h.jsx("button",{type:"submit",className:"btn",disabled:b!==void 0,children:"Open here"}),h.jsx("button",{type:"button",className:"btn btn-ghost",onClick:s,children:"Cancel"})]})]})]})})}function C8(n){return`${n.provider??"?"}/${n.model??"?"}@${n.thinkingLevel??"?"}`}function N8({session:n,levels:a,error:s,onRequest:r,onSelect:o}){const[f,m]=V.useState(void 0),p=C8(n),b=n.state!=="starting"&&n.state!=="stopped"&&n.state!=="failed";V.useEffect(()=>{!b||f===p||(m(p),r())},[b,p,f,r]);const v=a!==void 0,_=n.thinkingLevel??"—";return s!==void 0?h.jsxs("div",{className:"picker picker-broken",children:[h.jsx("span",{className:"picker-label",children:"Thinking"}),h.jsx("span",{className:"picker-value",title:s,children:_}),h.jsx("button",{type:"button",className:"btn btn-quiet",onClick:()=>{m(void 0)},children:"Retry"}),h.jsxs("span",{className:"picker-note warn",children:["Could not read the levels: ",s]})]}):h.jsxs("div",{className:"picker",children:[h.jsx("label",{className:"picker-label",htmlFor:`thinking-${n.id}`,children:"Thinking"}),h.jsxs("select",{id:`thinking-${n.id}`,className:"picker-select picker-select-narrow",value:v&&a.includes(_)?_:"",disabled:!b||!v,onChange:y=>{y.target.value!==""&&o(y.target.value)},children:[(!v||!a.includes(_))&&h.jsx("option",{value:"",children:_}),v&&a.map(y=>h.jsx("option",{value:y,children:y},y))]}),!v&&h.jsx("span",{className:"picker-note",children:"reading the levels…"})]})}function k8({history:n,historyTotal:a,onResume:s,home:r}){const[o,f]=V.useState(""),[m,p]=V.useState(void 0),b=Ig(n,o);return h.jsxs("div",{className:"history",children:[h.jsxs("div",{className:"history-search",children:[h.jsx("input",{type:"search",value:o,placeholder:"Search sessions by content, project, or name","aria-label":"Search sessions",onChange:v=>f(v.target.value)}),o.length>0&&h.jsx("button",{type:"button",className:"btn",onClick:()=>f(""),children:"Clear search"})]}),n.length===0?h.jsxs("div",{className:"empty",style:{padding:0},children:[h.jsx("h2",{children:"No sessions on disk yet"}),h.jsxs("p",{children:["History comes from ",h.jsx("span",{className:"mono",children:"~/.pi/agent/sessions/"}),". A session appears here after its first message."]})]}):b.length===0?h.jsxs("div",{className:"empty",style:{padding:0},children:[h.jsxs("h2",{children:["No sessions match “",o,"”."]}),h.jsx("button",{type:"button",className:"btn",onClick:()=>f(""),children:"Clear search"})]}):h.jsxs(h.Fragment,{children:[h.jsxs("p",{className:"hint",style:{marginBottom:12},"aria-live":"polite",children:[b.length," of ",n.length," session",n.length===1?"":"s",a>n.length&&h.jsxs(h.Fragment,{children:[" · searching the ",n.length," most recent of ",a]})]}),b.map(v=>h.jsx(O8,{session:v,home:r,onSelect:()=>{if(!v.cwdExists){p(v);return}s(v)}},v.path))]}),m&&h.jsx(z8,{session:m,onDismiss:()=>p(void 0)})]})}function O8({session:n,home:a,onSelect:s}){return h.jsxs("button",{type:"button",className:"history-row",onClick:s,children:[h.jsxs("span",{className:"h1",children:[h.jsx("strong",{children:n.name??"Untitled session"}),n.scratch&&h.jsx("span",{className:"chip chip-scratch",children:"scratch"}),!n.cwdExists&&h.jsx("span",{className:"chip chip-awaiting-approval",children:"directory is gone"})]}),h.jsx("span",{className:"project",title:n.cwd,children:j8(n.cwd,a)}),h.jsx("p",{className:"first",children:n.firstMessage||"(no messages)"}),h.jsxs("span",{className:"meta",children:[h.jsx("span",{children:Wg(n.modifiedMs)}),h.jsxs("span",{children:[n.messageCount," msgs"]}),h.jsx("span",{children:M8(n.bytes)})]})]})}function z8({session:n,onDismiss:a}){return h.jsx("div",{className:"modal-backdrop",onClick:a,role:"presentation",children:h.jsxs("div",{className:"modal",role:"alertdialog","aria-modal":"true","aria-labelledby":"refusal-title",onClick:s=>s.stopPropagation(),children:[h.jsx("h3",{id:"refusal-title",children:"This session's directory is gone"}),h.jsx("p",{style:{marginBottom:12},children:"The directory this session worked in no longer exists:"}),h.jsx("pre",{className:"cmd",style:{marginBottom:12},children:n.cwd}),h.jsx("p",{style:{marginBottom:16},children:"Restore it, or start a new session in the directory you want to work in. Pi Central does not move a session between directories."}),h.jsxs("div",{className:"dialog-actions",style:{marginTop:0},children:[h.jsx("button",{type:"button",className:"btn",onClick:a,children:"Close"}),h.jsx(xl,{text:n.cwd,label:"path"})]})]})})}function j8(n,a){return a&&n.startsWith(a)?`~${n.slice(a.length)}`:n}function M8(n){return n<1024?`${n} B`:n<1024*1024?`${(n/1024).toFixed(1)} KB`:`${(n/(1024*1024)).toFixed(1)} MB`}function R8(){const[n,a]=V.useReducer(Bg,void 0,zm),[s,r]=V.useState("connecting"),[o,f]=V.useState(void 0),[m,p]=V.useState("sessions"),[b,v]=V.useState(!1),[_,y]=V.useState(void 0),[C,M]=V.useState(!1),A=V.useRef(null),[L,Y]=V.useState({}),[J,fe]=V.useState(0),[ae,q]=V.useState(!0),Q=V.useRef(new Map),[ue,K]=V.useState(()=>{try{return y8(localStorage.getItem(ls))}catch{return xp()}}),[ce,$e]=V.useState(()=>typeof window>"u"?1440:window.innerWidth);V.useEffect(()=>{const W=()=>{$e(window.innerWidth),K(ee=>({...ee,width:ta(ee.width,window.innerWidth)}))};return window.addEventListener("resize",W),()=>window.removeEventListener("resize",W)},[]);const de=V.useCallback((W,ee)=>{K(Ve=>({...Ve,width:W,userSized:ee}))},[]),ge=V.useCallback(()=>{K(W=>{const ee={...W,collapsed:!W.collapsed};try{localStorage.setItem(ls,df(ee))}catch{}return ee})},[]),Le=V.useCallback(()=>{K(W=>{try{localStorage.setItem(ls,df(W))}catch{}return W})},[]),Pe=V.useCallback(W=>{K(ee=>{const Ve=W==="files"&&!ee.userSized?ta(b8,ce):ee.width,Ae={...ee,mode:W,width:Ve};try{localStorage.setItem(ls,df(Ae))}catch{}return Ae})},[ce]),[Ue,ye]=V.useReducer(Ag,void 0,bg),X=V.useRef(Ue);X.current=Ue;const re=V.useRef(void 0);V.useEffect(()=>{const W=new mg(pg(),{onEvent:ee=>{switch(a(ee),ee.kind){case"files":ye({kind:"filesLoaded",sessionId:ee.sessionId,path:ee.path,entries:ee.entries,truncated:ee.truncated});break;case"file":ye({kind:"fileLoaded",sessionId:ee.sessionId,path:ee.path,text:ee.text,bytes:ee.bytes});break;case"fileError":ee.request==="list"?ye({kind:"filesFailed",sessionId:ee.sessionId,path:ee.path,reason:ee.reason,...ee.code===void 0?{}:{code:ee.code},message:ee.message}):ye({kind:"fileFailed",sessionId:ee.sessionId,path:ee.path,reason:ee.reason,...ee.code===void 0?{}:{code:ee.code},message:ee.message});break}},onStatus:(ee,Ve)=>{r(ee),f(Ve)}});return re.current=W,W.connect(),()=>W.disconnect()},[]);const P=V.useCallback(W=>{const ee=re.current?.send(W);return ee||a({kind:"error",message:"Not connected to the orchestrator. Nothing was sent."}),ee},[]),Z=Yg(n),_e=V.useCallback((W,ee,Ve)=>{ye({kind:"filesLoading",sessionId:W,path:ee}),P({kind:"listFiles",sessionId:W,path:ee,includeHidden:Ve})},[P]),Su=V.useCallback(W=>{Z&&(ye({kind:"setExpanded",sessionId:Z.id,path:W,expanded:!0}),cs(X.current,Z.id,W).status!=="loaded"&&_e(Z.id,W,as(X.current,Z.id)))},[Z,_e]),Qu=V.useCallback(W=>{Z&&(ye({kind:"openFile",sessionId:Z.id,path:W}),ye({kind:"fileLoading",sessionId:Z.id,path:W}),P({kind:"readFile",sessionId:Z.id,path:W}))},[Z,P]),kt=V.useCallback(()=>{if(!Z)return;const W=Z.id,ee=!as(X.current,W);ye({kind:"toggleHidden",sessionId:W});const Ve=`${W}\0`;for(const Ae of Object.keys(X.current.directories))Ae.startsWith(Ve)&&_e(W,Ae.slice(Ve.length),ee)},[Z,_e]),T=Z?.id;V.useEffect(()=>{T&&cs(X.current,T,"").status==="unloaded"&&_e(T,"",as(X.current,T))},[T,_e]);const G=n.live.map(W=>W.id).join("\0");V.useEffect(()=>{const W=new Set(n.live.map(ee=>ee.id));for(const ee of Object.keys(X.current.directories)){const{sessionId:Ve}=gg(ee);W.has(Ve)||ye({kind:"forgetSession",sessionId:Ve})}},[G]);const I=Vg(n,Z?.id),ne=qg(n),De=n.home,Oe=Gg(n);V.useEffect(()=>{const W=ee=>{const Ve=ee.metaKey||ee.ctrlKey;Ve&&ee.key.toLowerCase()==="n"&&(ee.preventDefault(),P({kind:"start"})),Ve&&ee.shiftKey&&ee.key.toLowerCase()==="o"&&(ee.preventDefault(),v(!0))};return window.addEventListener("keydown",W),()=>window.removeEventListener("keydown",W)},[P]);const Me=V.useCallback(()=>{P({kind:"start"})},[P]),ie=V.useCallback(W=>{P({kind:"start",cwd:W}),v(!1),p("sessions")},[P]),me=V.useCallback((W,ee)=>{Z&&P({kind:"answerDialog",sessionId:Z.id,dialogId:W,answer:ee})},[Z,P]);return h.jsxs("div",{className:"app",children:[h.jsxs("header",{className:"topbar",children:[h.jsx("h1",{className:"wordmark",children:"Pi Central"}),h.jsxs("div",{className:"tabs",role:"tablist","aria-label":"View",children:[h.jsx("button",{type:"button",role:"tab",className:"tab","aria-selected":m==="sessions",onClick:()=>p("sessions"),children:"Sessions"}),h.jsx("button",{type:"button",role:"tab",className:"tab","aria-selected":m==="history",onClick:()=>p("history"),children:"History"})]}),h.jsxs("div",{className:"topbar-right",children:[h.jsxs("div",{className:"fleet",children:[h.jsxs("span",{children:[ne.total," session",ne.total===1?"":"s"]}),ne.running>0&&h.jsxs("span",{children:[ne.running," running"]}),ne.scratch>0&&h.jsxs("span",{children:[ne.scratch," scratch"]}),ne.needs>0&&h.jsxs("span",{className:"fleet-needs",children:[ne.needs," need you"]})]}),h.jsxs("span",{className:`conn conn-${s}`,children:[h.jsx("span",{className:"conn-dot","aria-hidden":"true"}),h.jsx("span",{children:s==="open"?"connected":s==="connecting"?"connecting…":"disconnected"}),o&&h.jsxs("span",{className:"hint",children:["· ",o]})]}),h.jsx(_8,{collapsed:ue.collapsed,onToggle:ge}),h.jsx("button",{type:"button",className:"btn btn-quiet",ref:A,onClick:()=>M(!0),children:"Settings"})]})]}),Oe&&h.jsxs("div",{className:"direct-banner",role:"alert",children:[h.jsx("strong",{children:"Direct mode: sessions are not sandboxed"}),h.jsx("span",{children:"These sessions run pi with your account's access. Everything else in Pi Central is unaffected; start new sessions with the sandbox to change it."})]}),n.errors.length>0&&h.jsx(L8,{message:n.errors[0],onDismiss:()=>a({kind:"error",message:""})}),h.jsxs("div",{className:ue.collapsed?"panes is-collapsed":"panes",style:{"--panel-width":`${ue.width}px`},children:[h.jsx(n6,{sessions:n.live,focusedId:n.focusedId,onFocus:W=>{a({kind:"focusSession",sessionId:W}),p("sessions")},onStartSession:Me,onOpenDirectory:()=>v(!0),home:De,historyTotal:n.historyTotal}),m==="history"?h.jsx("main",{className:"column",children:h.jsx(k8,{history:n.history,historyTotal:n.historyTotal,home:De,onResume:W=>{P({kind:"resume",path:W.path}),p("sessions")}})}):h.jsx("main",{className:"column",children:h.jsx(w8,{session:Z,transcript:I,home:De,historyError:n.transcriptErrors[Z?.id??""],followToken:J,autoFollow:ae,onToggleAutoFollow:()=>q(W=>!W),scrollMemory:Q,models:Z?n.models[Z.id]:void 0,modelError:Z?n.modelErrors[Z.id]:void 0,onAnswer:me,onRequestModels:()=>{Z&&P({kind:"listModels",sessionId:Z.id})},onSelectModel:(W,ee)=>{Z&&P({kind:"setModel",sessionId:Z.id,provider:W,modelId:ee})},thinking:{levels:Z?n.thinkingLevels[Z.id]:void 0,error:Z?n.thinkingLevelErrors[Z.id]:void 0},onRequestThinkingLevels:()=>{Z&&P({kind:"listThinkingLevels",sessionId:Z.id})},onSelectThinkingLevel:W=>{Z&&P({kind:"setThinkingLevel",sessionId:Z.id,level:W})},onSend:(W,ee)=>{Z&&(P(Z.state==="streaming"?{kind:"prompt",sessionId:Z.id,message:W,behavior:ee}:{kind:"prompt",sessionId:Z.id,message:W}),fe(Ve=>Ve+1))},onClearQueueAndStop:()=>{Z&&P({kind:"clearQueue",sessionId:Z.id,andStop:!0})},state:n,restored:Z?n.restoredQueue[Z.id]??[]:[],onRestored:()=>{Z&&a({kind:"queueRestored",sessionId:Z.id})},draft:Z?L[Z.id]??"":"",onDraftChange:W=>{Z&&Y(ee=>({...ee,[Z.id]:W}))}},Z?.id)}),!ue.collapsed&&h.jsx(v8,{mode:ue.mode,onMode:Pe,width:ue.width,onWidth:de,viewportWidth:ce,onCommit:Le,children:ue.mode==="session"?h.jsx(i8,{session:m==="sessions"?Z:void 0,home:De,onStop:()=>Z&&y(Z),onRename:W=>Z&&P({kind:"rename",sessionId:Z.id,name:W})}):Z?h.jsx(h8,{sessionId:Z.id,files:Ue,cwd:Z.cwd,onExpand:Su,onCollapse:W=>ye({kind:"setExpanded",sessionId:Z.id,path:W,expanded:!1}),onToggleHidden:kt,wrapped:vg(Ue,Z.id),onToggleWrap:()=>ye({kind:"toggleWrap",sessionId:Z.id}),onOpenFile:Qu,onCloseFile:()=>ye({kind:"closeFile",sessionId:Z.id})}):h.jsx("p",{className:"panel-empty",children:"Select a session to browse its working directory."})})]}),C&&h.jsx(r8,{install:n.install,ready:n.ready,onClose:()=>{M(!1),A.current?.focus()}}),b&&h.jsx(D8,{installationRoot:n.installationRoot,onClose:()=>v(!1),onOpen:ie}),_&&h.jsx(U8,{session:_,onCancel:()=>y(void 0),onConfirm:()=>{P({kind:"stop",sessionId:_.id}),y(void 0)}})]})}function w8({session:n,transcript:a,home:s,historyError:r,models:o,modelError:f,onAnswer:m,onRequestModels:p,onSelectModel:b,thinking:v,onRequestThinkingLevels:_,onSelectThinkingLevel:y,onSend:C,onClearQueueAndStop:M,followToken:A,autoFollow:L,onToggleAutoFollow:Y,scrollMemory:J,restored:fe,onRestored:ae,state:q,draft:Q,onDraftChange:ue}){if(!n)return h.jsxs("div",{className:"empty",children:[h.jsx("h2",{children:"No session selected"}),h.jsxs("p",{children:[h.jsx("span",{className:"action",children:"New session"})," gives it its own scratch workspace immediately — no directory to pick, nothing to decide first. Files it writes stay there."]}),h.jsxs("p",{children:["Working in a project? ",h.jsx("span",{className:"action",children:"Open in a directory."})]})]});const[K,ce]=V.useState(void 0),[$e,de]=V.useState(!1),[ge,Le]=V.useState(!0),Pe=n.state==="streaming";return h.jsxs(h.Fragment,{children:[h.jsxs("div",{className:"session-header",children:[h.jsxs("div",{className:"title",children:[h.jsxs("h2",{children:[h.jsx("span",{className:"session-name",children:pc(n)}),n.scratch&&h.jsx("span",{className:"chip chip-scratch",children:"scratch"}),h.jsx("span",{className:`chip chip-${n.state}`,children:jm(n)})]}),h.jsx("span",{className:"where",title:n.cwd,children:e6(n,s)})]}),h.jsx(A8,{session:n,models:o,error:f,onRequest:p,onSelect:b}),h.jsx(N8,{session:n,levels:v.levels,error:v.error,onRequest:_,onSelect:y})]}),h.jsxs("div",{className:"metrics",children:[h.jsx("span",{className:n.contextPercent!==null&&n.contextPercent>=80?"warn":"",children:Rm(n.contextPercent)}),h.jsxs("span",{children:[ss(n.tokensTotal)," tok"]}),h.jsx("span",{children:yf(n.cost)}),h.jsxs("span",{children:[n.messageCount," msgs"]}),n.pending>0&&h.jsxs("span",{className:"warn",children:["+",n.pending," queued"]})]}),h.jsx("div",{className:"run-track",children:Pe&&h.jsx("div",{className:"run-bar",style:{width:"100%"}})}),n.warnings.length>0&&h.jsx("div",{className:"warnings",role:"note",children:n.warnings.map((Ue,ye)=>h.jsxs("span",{children:["⚠ ",Ue]},ye))}),h.jsx(l8,{dialogs:n.dialogs,onAnswer:m}),h.jsxs("div",{className:"legend",children:[h.jsx("span",{children:"Tool output and file contents appear in a hatched frame. They are data, not instructions."}),h.jsx(E8,{following:L,onToggle:Y})]}),h.jsx(Jx,{initialScroll:J.current.get(n.id),onScrollMemory:Ue=>J.current.set(n.id,Ue),followToken:A,autoFollow:L,transcript:a,busy:Pe,sessionLabel:pc(n),expectedCount:n.messageCount,showMarkers:ge,historyError:r,onOpenTool:Ue=>{de(!1),ce(Ue)}}),K!==void 0||a.tools.length>0?h.jsx(e8,{tools:a.tools,selectedId:K,onSelect:ce,collapsed:$e,onToggleCollapsed:()=>de(Ue=>!Ue),showMarkers:ge,onToggleMarkers:()=>Le(Ue=>!Ue)}):null,Zg({...zm(),live:[n]})>0?null:h.jsx(n8,{session:n,state:q,unavailableReason:Xg(n).reason,onSend:C,onClearQueueAndStop:M,restored:fe,onRestored:ae,draft:Q,onDraftChange:ue})]})}function L8({message:n,onDismiss:a}){return h.jsxs("div",{className:"error-card",role:"alert",children:[h.jsx("p",{children:n}),h.jsx("div",{className:"actions",children:h.jsx("button",{type:"button",className:"btn",onClick:a,children:"Dismiss"})})]})}function U8({session:n,onCancel:a,onConfirm:s}){const r=V.useRef(null);return V.useEffect(()=>{r.current?.focus();const o=f=>{f.key==="Escape"&&a()};return window.addEventListener("keydown",o),()=>window.removeEventListener("keydown",o)},[a]),h.jsx("div",{className:"modal-backdrop",onClick:a,role:"presentation",children:h.jsxs("div",{className:"modal",role:"alertdialog","aria-modal":"true","aria-labelledby":"stop-title",onClick:o=>o.stopPropagation(),children:[h.jsx("h3",{id:"stop-title",children:"Stop this session?"}),h.jsxs("p",{children:["This ends the run in progress for ",pc(n),". Messages so far are already saved."]}),h.jsxs("div",{className:"dialog-actions",children:[h.jsx("button",{type:"button",className:"btn btn-danger",onClick:s,children:"Stop session"}),h.jsx("button",{type:"button",className:"btn",ref:r,onClick:a,children:"Keep running"})]})]})})}const vp=document.getElementById("root");if(!vp)throw new Error("missing #root");ag.createRoot(vp).render(h.jsx(V.StrictMode,{children:h.jsx(R8,{})}));export{is as _};