pi-central 0.3.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,43 @@
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 H0={exports:{}},cc={};var Om;function ug(){if(Om)return cc;Om=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 cc.Fragment=a,cc.jsx=s,cc.jsxs=s,cc}var zm;function tg(){return zm||(zm=1,H0.exports=ug()),H0.exports}var h=tg(),q0={exports:{}},be={};var jm;function ng(){if(jm)return be;jm=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(){}},V=Object.assign,J={};function fe(T,Z,K){this.props=T,this.context=Z,this.refs=J,this.updater=K||L}fe.prototype.isReactComponent={},fe.prototype.setState=function(T,Z){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,Z,"setState")},fe.prototype.forceUpdate=function(T){this.updater.enqueueForceUpdate(this,T,"forceUpdate")};function le(){}le.prototype=fe.prototype;function G(T,Z,K){this.props=T,this.context=Z,this.refs=J,this.updater=K||L}var Q=G.prototype=new le;Q.constructor=G,V(Q,fe.prototype),Q.isPureReactComponent=!0;var ae=Array.isArray;function P(){}var ie={H:null,A:null,T:null,S:null},$e=Object.prototype.hasOwnProperty;function Be(T,Z,K){var ce=K.ref;return{$$typeof:n,type:T,key:Z,ref:ce!==void 0?ce:null,props:K}}function ue(T,Z){return Be(T.type,Z,T.props)}function ge(T){return typeof T=="object"&&T!==null&&T.$$typeof===n}function Je(T){var Z={"=":"=0",":":"=2"};return"$"+T.replace(/[=:]/g,function(K){return Z[K]})}var We=/\/+/g;function Te(T,Z){return typeof T=="object"&&T!==null&&T.key!=null?Je(""+T.key):Z.toString(36)}function W(T){switch(T.status){case"fulfilled":return T.value;case"rejected":throw T.reason;default:switch(typeof T.status=="string"?T.then(P,P):(T.status="pending",T.then(function(Z){T.status==="pending"&&(T.status="fulfilled",T.value=Z)},function(Z){T.status==="pending"&&(T.status="rejected",T.reason=Z)})),T.status){case"fulfilled":return T.value;case"rejected":throw T.reason}}throw T}function se(T,Z,K,ce,Se){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,se(Me(T._payload),Z,K,ce,Se)}}if(Me)return Se=Se(T),Me=ce===""?"."+Te(T,0):ce,ae(Se)?(K="",Me!=null&&(K=Me.replace(We,"$&/")+"/"),se(Se,Z,K,"",function(Qu){return Qu})):Se!=null&&(ge(Se)&&(Se=ue(Se,K+(Se.key==null||T&&T.key===Se.key?"":(""+Se.key).replace(We,"$&/")+"/")+Me)),Z.push(Se)),1;Me=0;var ee=ce===""?".":ce+":";if(ae(T))for(var he=0;he<T.length;he++)ce=T[he],Oe=ee+Te(ce,he),Me+=se(ce,Z,K,Oe,Se);else if(he=A(T),typeof he=="function")for(T=he.call(T),he=0;!(ce=T.next()).done;)ce=ce.value,Oe=ee+Te(ce,he++),Me+=se(ce,Z,K,Oe,Se);else if(Oe==="object"){if(typeof T.then=="function")return se(W(T),Z,K,ce,Se);throw Z=String(T),Error("Objects are not valid as a React child (found: "+(Z==="[object Object]"?"object with keys {"+Object.keys(T).join(", ")+"}":Z)+"). If you meant to render a collection of children, use an array instead.")}return Me}function de(T,Z,K){if(T==null)return T;var ce=[],Se=0;return se(T,ce,"","",function(Oe){return Z.call(K,Oe,Se++)}),ce}function xe(T){if(T._status===-1){var Z=T._result,K=Z();K.then(function(ce){(T._status===0||T._status===-1)&&(T._status=1,T._result=ce,K.status===void 0&&(K.status="fulfilled",K.value=ce))},function(ce){(T._status===0||T._status===-1)&&(T._status=2,T._result=ce,K.status===void 0&&(K.status="rejected",K.reason=ce))}),T._status===-1&&(T._status=0,T._result=K)}if(T._status===1)return T._result.default;throw T._result}var ye=typeof reportError=="function"?reportError:function(T){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Z=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(Z))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",T);return}console.error(T)};function gu(T){var Z=ie.T,K={};K.types=Z!==null?Z.types:null,ie.T=K;try{var ce=T(),Se=ie.S;Se!==null&&Se(K,ce),typeof ce=="object"&&ce!==null&&typeof ce.then=="function"&&ce.then(P,ye)}catch(Oe){ye(Oe)}finally{Z!==null&&K.types!==null&&(Z.types=K.types),ie.T=Z}}function we(T){var Z=ie.T;if(Z!==null){var K=Z.types;K===null?Z.types=[T]:K.indexOf(T)===-1&&K.push(T)}else gu(we.bind(null,T))}var I={map:de,forEach:function(T,Z,K){de(T,function(){Z.apply(this,arguments)},K)},count:function(T){var Z=0;return de(T,function(){Z++}),Z},toArray:function(T){return de(T,function(Z){return Z})||[]},only:function(T){if(!ge(T))throw Error("React.Children.only expected to receive a single React element child.");return T}};return be.Activity=y,be.Children=I,be.Component=fe,be.Fragment=s,be.Profiler=o,be.PureComponent=G,be.StrictMode=r,be.Suspense=b,be.ViewTransition=C,be.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=ie,be.__COMPILER_RUNTIME={__proto__:null,c:function(T){return ie.H.useMemoCache(T)}},be.addTransitionType=we,be.cache=function(T){return function(){return T.apply(null,arguments)}},be.cacheSignal=function(){return null},be.cloneElement=function(T,Z,K){if(T==null)throw Error("The argument must be a React element, but you passed "+T+".");var ce=V({},T.props),Se=T.key;if(Z!=null)for(Oe in Z.key!==void 0&&(Se=""+Z.key),Z)!$e.call(Z,Oe)||Oe==="key"||Oe==="__self"||Oe==="__source"||Oe==="ref"&&Z.ref===void 0||(ce[Oe]=Z[Oe]);var Oe=arguments.length-2;if(Oe===1)ce.children=K;else if(1<Oe){for(var Me=Array(Oe),ee=0;ee<Oe;ee++)Me[ee]=arguments[ee+2];ce.children=Me}return Be(T.type,Se,ce)},be.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},be.createElement=function(T,Z,K){var ce,Se={},Oe=null;if(Z!=null)for(ce in Z.key!==void 0&&(Oe=""+Z.key),Z)$e.call(Z,ce)&&ce!=="key"&&ce!=="__self"&&ce!=="__source"&&(Se[ce]=Z[ce]);var Me=arguments.length-2;if(Me===1)Se.children=K;else if(1<Me){for(var ee=Array(Me),he=0;he<Me;he++)ee[he]=arguments[he+2];Se.children=ee}if(T&&T.defaultProps)for(ce in Me=T.defaultProps,Me)Se[ce]===void 0&&(Se[ce]=Me[ce]);return Be(T,Oe,Se)},be.createRef=function(){return{current:null}},be.forwardRef=function(T){return{$$typeof:p,render:T}},be.isValidElement=ge,be.lazy=function(T){return{$$typeof:_,_payload:{_status:-1,_result:T},_init:xe}},be.memo=function(T,Z){return{$$typeof:v,type:T,compare:Z===void 0?null:Z}},be.startTransition=gu,be.unstable_useCacheRefresh=function(){return ie.H.useCacheRefresh()},be.use=function(T){return ie.H.use(T)},be.useActionState=function(T,Z,K){return ie.H.useActionState(T,Z,K)},be.useCallback=function(T,Z){return ie.H.useCallback(T,Z)},be.useContext=function(T){return ie.H.useContext(T)},be.useDebugValue=function(){},be.useDeferredValue=function(T,Z){return ie.H.useDeferredValue(T,Z)},be.useEffect=function(T,Z){return ie.H.useEffect(T,Z)},be.useEffectEvent=function(T){return ie.H.useEffectEvent(T)},be.useId=function(){return ie.H.useId()},be.useImperativeHandle=function(T,Z,K){return ie.H.useImperativeHandle(T,Z,K)},be.useInsertionEffect=function(T,Z){return ie.H.useInsertionEffect(T,Z)},be.useLayoutEffect=function(T,Z){return ie.H.useLayoutEffect(T,Z)},be.useMemo=function(T,Z){return ie.H.useMemo(T,Z)},be.useOptimistic=function(T,Z){return ie.H.useOptimistic(T,Z)},be.useReducer=function(T,Z,K){return ie.H.useReducer(T,Z,K)},be.useRef=function(T){return ie.H.useRef(T)},be.useState=function(T){return ie.H.useState(T)},be.useSyncExternalStore=function(T,Z,K){return ie.H.useSyncExternalStore(T,Z,K)},be.useTransition=function(){return ie.H.useTransition()},be.version="19.3.1",be}var Mm;function vf(){return Mm||(Mm=1,q0.exports=ng()),q0.exports}var Y=vf(),G0={exports:{}},rc={},Y0={exports:{}},V0={};var wm;function lg(){return wm||(wm=1,(function(n){function a(W,se){var de=W.length;W.push(se);e:for(;0<de;){var xe=de-1>>>1,ye=W[xe];if(0<o(ye,se))W[xe]=se,W[de]=ye,de=xe;else break e}}function s(W){return W.length===0?null:W[0]}function r(W){if(W.length===0)return null;var se=W[0],de=W.pop();if(de!==se){W[0]=de;e:for(var xe=0,ye=W.length,gu=ye>>>1;xe<gu;){var we=2*(xe+1)-1,I=W[we],T=we+1,Z=W[T];if(0>o(I,de))T<ye&&0>o(Z,I)?(W[xe]=Z,W[T]=de,xe=T):(W[xe]=I,W[we]=de,xe=we);else if(T<ye&&0>o(Z,de))W[xe]=Z,W[T]=de,xe=T;else break e}}return se}function o(W,se){var de=W.sortIndex-se.sortIndex;return de!==0?de:W.id-se.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,V=!1,J=typeof setTimeout=="function"?setTimeout:null,fe=typeof clearTimeout=="function"?clearTimeout:null,le=typeof setImmediate<"u"?setImmediate:null;function G(W){for(var se=s(v);se!==null;){if(se.callback===null)r(v);else if(se.startTime<=W)r(v),se.sortIndex=se.expirationTime,a(b,se);else break;se=s(v)}}function Q(W){if(L=!1,G(W),!A)if(s(b)!==null)A=!0,ae||(ae=!0,ge());else{var se=s(v);se!==null&&Te(Q,se.startTime-W)}}var ae=!1,P=-1,ie=5,$e=-1;function Be(){return V?!0:!(n.unstable_now()-$e<ie)}function ue(){if(V=!1,ae){var W=n.unstable_now();$e=W;var se=!0;try{e:{A=!1,L&&(L=!1,fe(P),P=-1),M=!0;var de=C;try{u:{for(G(W),y=s(b);y!==null&&!(y.expirationTime>W&&Be());){var xe=y.callback;if(typeof xe=="function"){y.callback=null,C=y.priorityLevel;var ye=xe(y.expirationTime<=W);if(W=n.unstable_now(),typeof ye=="function"){y.callback=ye,G(W),se=!0;break u}y===s(b)&&r(b),G(W)}else r(b);y=s(b)}if(y!==null)se=!0;else{var gu=s(v);gu!==null&&Te(Q,gu.startTime-W),se=!1}}break e}finally{y=null,C=de,M=!1}se=void 0}}finally{se?ge():ae=!1}}}var ge;if(typeof le=="function")ge=function(){le(ue)};else if(typeof MessageChannel<"u"){var Je=new MessageChannel,We=Je.port2;Je.port1.onmessage=ue,ge=function(){We.postMessage(null)}}else ge=function(){J(ue,0)};function Te(W,se){P=J(function(){W(n.unstable_now())},se)}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(W){W.callback=null},n.unstable_forceFrameRate=function(W){0>W||125<W?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ie=0<W?Math.floor(1e3/W):5},n.unstable_getCurrentPriorityLevel=function(){return C},n.unstable_next=function(W){switch(C){case 1:case 2:case 3:var se=3;break;default:se=C}var de=C;C=se;try{return W()}finally{C=de}},n.unstable_requestPaint=function(){V=!0},n.unstable_runWithPriority=function(W,se){switch(W){case 1:case 2:case 3:case 4:case 5:break;default:W=3}var de=C;C=W;try{return se()}finally{C=de}},n.unstable_scheduleCallback=function(W,se,de){var xe=n.unstable_now();switch(typeof de=="object"&&de!==null?(de=de.delay,de=typeof de=="number"&&0<de?xe+de:xe):de=xe,W){case 1:var ye=-1;break;case 2:ye=250;break;case 5:ye=1073741823;break;case 4:ye=1e4;break;default:ye=5e3}return ye=de+ye,W={id:_++,callback:se,priorityLevel:W,startTime:de,expirationTime:ye,sortIndex:-1},de>xe?(W.sortIndex=de,a(v,W),s(b)===null&&W===s(v)&&(L?(fe(P),P=-1):L=!0,Te(Q,de-xe))):(W.sortIndex=ye,a(b,W),A||M||(A=!0,ae||(ae=!0,ge()))),W},n.unstable_shouldYield=Be,n.unstable_wrapCallback=function(W){var se=C;return function(){var de=C;C=se;try{return W.apply(this,arguments)}finally{C=de}}}})(V0)),V0}var Rm;function ag(){return Rm||(Rm=1,Y0.exports=lg()),Y0.exports}var Z0={exports:{}},zu={};var Lm;function ig(){if(Lm)return zu;Lm=1;var n=vf();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 zu.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,zu.browser=function(_){return{$$typeof:f,_reason:_}},zu.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)},zu.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()}},zu.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))},zu.prefetchDNS=function(_){typeof _=="string"&&r.d.D(_)},zu.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})}},zu.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(_)},zu.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})}},zu.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(_)},zu.requestFormReset=function(_){r.d.r(_)},zu.unstable_batchedUpdates=function(_,y){return _(y)},zu.useFormState=function(_,y,C){return b.H.useFormState(_,y,C)},zu.useFormStatus=function(){return b.H.useHostTransitionStatus()},zu.version="19.3.1",zu}var Um;function cg(){if(Um)return Z0.exports;Um=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(),Z0.exports=ig(),Z0.exports}var Fm;function rg(){if(Fm)return rc;Fm=1;var n=ag(),a=vf(),s=cg();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 V(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 le(e,u,t){return e===t?!0:e===u?(J=e,!0):!1}function G(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 ae(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 P=Object.assign,ie=Symbol.for("react.element"),$e=Symbol.for("react.transitional.element"),Be=Symbol.for("react.portal"),ue=Symbol.for("react.fragment"),ge=Symbol.for("react.strict_mode"),Je=Symbol.for("react.profiler"),We=Symbol.for("react.consumer"),Te=Symbol.for("react.context"),W=Symbol.for("react.forward_ref"),se=Symbol.for("react.suspense"),de=Symbol.for("react.suspense_list"),xe=Symbol.for("react.memo"),ye=Symbol.for("react.lazy"),gu=Symbol.for("react.activity"),we=Symbol.for("react.legacy_hidden"),I=Symbol.for("react.memo_cache_sentinel"),T=Symbol.for("react.view_transition"),Z=Symbol.for("react.recoverable"),K=Symbol.iterator;function ce(e){return e===null||typeof e!="object"?null:(e=K&&e[K]||e["@@iterator"],typeof e=="function"?e:null)}var Se=Symbol.for("react.client.reference");function Oe(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Se?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case ue:return"Fragment";case Je:return"Profiler";case ge:return"StrictMode";case se:return"Suspense";case de:return"SuspenseList";case gu:return"Activity";case T:return"ViewTransition"}if(typeof e=="object")switch(e.$$typeof){case Be:return"Portal";case Te:return e.displayName||"Context";case We:return(e._context.displayName||"Context")+".Consumer";case W:var u=e.render;return e=e.displayName,e||(e=u.displayName||u.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case xe:return u=e.displayName||null,u!==null?u:Oe(e.type)||"Memo";case ye:u=e._payload,e=e._init;try{return Oe(e(u))}catch{}}return null}var Me=Array.isArray,ee=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,he=s.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Qu={pending:!1,data:null,method:null,action:null},_l=[],Nt=-1;function Ce(e){return{current:e}}function X(e){0>Nt||(e.current=_l[Nt],_l[Nt]=null,Nt--)}function F(e,u){Nt++,_l[Nt]=e.current,e.current=u}var Le=Ce(null),nu=Ce(null),Iu=Ce(null),El=Ce(null);function lt(e,u){switch(F(Iu,u),F(nu,e),F(Le,null),u.nodeType){case 9:case 11:e=(e=u.documentElement)&&(e=e.namespaceURI)?Bh(e):0;break;default:if(e=u.tagName,u=u.namespaceURI)u=Bh(u),e=Hh(u,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}X(Le),F(Le,e)}function cn(){X(Le),X(nu),X(Iu)}function Sl(e){var u=e.memoizedState;u!==null&&($a._currentValue=u.memoizedState,F(El,e)),u=Le.current;var t=Hh(u,e.type);u!==t&&(F(nu,e),F(Le,t))}function Al(e){nu.current===e&&(X(Le),X(nu)),El.current===e&&(X(El),$a._currentValue=Qu)}var Tl,pt;function wu(e){if(Tl===void 0)try{throw Error()}catch(t){var u=t.stack.trim().match(/\n( *(at )?)/);Tl=u&&u[1]||"",pt=-1<t.stack.indexOf(`
2
+ at`)?" (<anonymous>)":-1<t.stack.indexOf("@")?"@unknown:0:0":""}return`
3
+ `+Tl+e+pt}var kt=!1;function Dl(e,u){if(!e||kt)return"";kt=!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 w=`
6
+ `+E[l].replace(" at new "," at ");return e.displayName&&w.includes("<anonymous>")&&(w=w.replace("<anonymous>",e.displayName)),w}while(1<=l&&0<=i);break}}}finally{kt=!1,Error.prepareStackTrace=t}return(t=e?e.displayName||e.name:"")?wu(t):""}function na(e,u){switch(e.tag){case 26:case 27:case 5:return wu(e.type);case 16:return wu("Lazy");case 13:return e.child!==u&&u!==null?wu("Suspense Fallback"):wu("Suspense");case 19:return wu("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 wu("Activity");case 30:return wu("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,Bt=n.unstable_scheduleCallback,Nn=n.unstable_cancelCallback,la=n.unstable_shouldYield,Tc=n.unstable_requestPaint,Ru=n.unstable_now,Dc=n.unstable_getCurrentPriorityLevel,aa=n.unstable_ImmediatePriority,ia=n.unstable_UserBlockingPriority,bt=n.unstable_NormalPriority,kn=n.unstable_LowPriority,Ht=n.unstable_IdlePriority,Cc=n.log,Nc=n.unstable_setDisableYieldValue,On=null,Lu=null;function Ot(e){if(typeof Cc=="function"&&Nc(e),Lu&&typeof Lu.setStrictMode=="function")try{Lu.setStrictMode(On,e)}catch{}}var yu=Math.clz32?Math.clz32:zn,ca=Math.log,gt=Math.LN2;function zn(e){return e>>>=0,e===0?32:31-(ca(e)/gt|0)|0}var jn=256,Mn=262144,ra=4194304;function qt(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=qt(l):(d&=g,d!==0?i=qt(d):t||(t=g&~e,t!==0&&(i=qt(t))))):(g=l&~c,g!==0?i=qt(g):d!==0?i=qt(d):t||(t=l&~e,t!==0&&(i=qt(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 Rn(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-yu(t),i=1<<l;u|=e[l],t&=~i}return u}function vs(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 Ln(){var e=ra;return ra<<=1,(ra&62914560)===0&&(ra=4194304),e}function ri(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 uu(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 w=31-yu(t),U=1<<w;g[w]=0,E[w]=-1;var N=O[w];if(N!==null)for(O[w]=null,w=0;w<N.length;w++){var j=N[w];j!==null&&(j.lane&=-536870913)}t&=~U}l!==0&&rn(e,l,0),c!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=c&~(d&~u))}function rn(e,u,t){e.pendingLanes|=u,e.suspendedLanes&=~u;var l=31-yu(u);e.entangledLanes|=u,e.entanglements[l]=e.entanglements[l]|1073741824|t&261930}function kc(e,u){var t=e.entangledLanes|=u;for(e=e.entanglements;t;){var l=31-yu(t),i=1<<l;i&u|e[l]&u&&(e[l]|=u),t&=~i}}function si(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 oi(){var e=he.p;return e!==0?e:(e=window.event,e===void 0?32:Sm(e.type))}function Oc(e,u){var t=he.p;try{return he.p=e,u()}finally{he.p=t}}var zt=Math.random().toString(36).slice(2),mu="__reactFiber$"+zt,Uu="__reactProps$"+zt,Hu="__reactContainer$"+zt,fi="__reactEvents$"+zt,di="__reactListeners$"+zt,Un="__reactHandles$"+zt,hi="__reactResources$"+zt,sn="__reactMarker$"+zt,Fn="__reactLoad$"+zt;function Bn(e){delete e[mu],delete e[Uu],delete e[di],delete e[Un]}function on(e){var u;if(u=e[mu])return u;for(var t=e.parentNode;t;){if(u=t[Hu]||t[mu]){if(t=u.alternate,u.child!==null||t!==null&&t.child!==null)for(e=nm(e);e!==null;){if(t=e[mu])return t;e=nm(e)}return u}e=t,t=e.parentNode}return null}function fn(e){if(e=e[mu]||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 Hn(e){var u=e[hi];return u||(u=e[hi]={hoistableStyles:new Map,hoistableScripts:new Map}),u}function ru(e){e[sn]=!0}function zc(e){e[Fn]=void 0}var mi=new Set,jc={};function Gt(e,u){Yt(e,u),Yt(e+"Capture",u)}function Yt(e,u){for(jc[e]=u,e=0;e<u.length;e++)mi.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={},pi={};function ha(e){return Nl.call(pi,e)?!0:Nl.call(da,e)?!1:fa.test(e)?pi[e]=!0:(da[e]=!0,!1)}var Ae=!1;function qn(){var e=Ae;return Ae=!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 Ku(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 bi(e){var u=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(u==="checkbox"||u==="radio")}function Gn(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=bi(e)?"checked":"value";e._valueTracker=Gn(e,u,""+e[u])}}function gi(e){if(!e)return!1;var u=e._valueTracker;if(!u)return!0;var t=u.getValue(),l="";return e&&(l=bi(e)?e.checked?"true":"false":e.value),e=l,e!==t?(u.setValue(e),!0):!1}var _s=/[\n"\\]/g;function Gu(e){return e.replace(_s,function(u){return"\\"+u.charCodeAt(0).toString(16)+" "})}function yi(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 Mc(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 Vt(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 Yn(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 q(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 H(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]="",Ae=!0);for(var i in u)l=u[i],u.hasOwnProperty(i)&&t[i]!==l&&(D(e,i,l),Ae=!0)}else for(var c in u)u.hasOwnProperty(c)&&D(e,c,u[c])}function B(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 re=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"]]),me=/^[\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 me.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function He(){}var $u=null;function pu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var iu=null,at=null;function Tu(e){var u=fn(e);if(u&&(e=u.stateNode)){var t=e[Uu]||null;e:switch(e=u.stateNode,u.type){case"input":if(yi(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));yi(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&&gi(l)}break e;case"textarea":Yn(e,t.value,t.defaultValue);break e;case"select":u=t.value,u!=null&&Vt(e,!!t.multiple,u,!1)}}}var ga=!1;function wf(e,u,t){if(ga)return e(u,t);ga=!0;try{var l=e(u);return l}finally{if(ga=!1,(iu!==null||at!==null)&&(Mr(),iu&&(u=iu,e=at,at=iu=null,Tu(u),e)))for(u=0;u<e.length;u++)Tu(e[u])}}function xi(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 dn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Es=!1;if(dn)try{var vi={};Object.defineProperty(vi,"passive",{get:function(){Es=!0}}),window.addEventListener("test",vi,vi),window.removeEventListener("test",vi,vi)}catch{Es=!1}var Vn=null,Ss=null,wc=null;function Rf(){if(wc)return wc;var e,u=Ss,t=u.length,l,i="value"in Vn?Vn.value:Vn.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 wc=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 Lc(){return!0}function Lf(){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)?Lc:Lf,this.isPropagationStopped=Lf,this}return P(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=Lc)},stopPropagation:function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():typeof t.cancelBubble!="unknown"&&(t.cancelBubble=!0),this.isPropagationStopped=Lc)},persist:function(){},isPersistent:Lc}),u}var Zn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Uc=Yu(Zn),_i=P({},Zn,{view:0,detail:0}),Dp=Yu(_i),As,Ts,Ei,Fc=P({},_i,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cs,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!==Ei&&(Ei&&e.type==="mousemove"?(As=e.screenX-Ei.screenX,Ts=e.screenY-Ei.screenY):Ts=As=0,Ei=e),As)},movementY:function(e){return"movementY"in e?e.movementY:Ts}}),Uf=Yu(Fc),Cp=P({},Fc,{dataTransfer:0}),Np=Yu(Cp),kp=P({},_i,{relatedTarget:0}),Ds=Yu(kp),Op=P({},Zn,{animationName:0,elapsedTime:0,pseudoElement:0}),zp=Yu(Op),jp=P({},Zn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Mp=Yu(jp),wp=P({},Zn,{data:0}),Ff=Yu(wp),Rp={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Lp={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"},Up={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Fp(e){var u=this.nativeEvent;return u.getModifierState?u.getModifierState(e):(e=Up[e])?!!u[e]:!1}function Cs(){return Fp}var Bp=P({},_i,{key:function(e){if(e.key){var u=Rp[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"?Lp[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cs,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}}),Hp=Yu(Bp),qp=P({},Fc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Bf=Yu(qp),Gp=P({},Zn,{submitter:0}),Yp=Yu(Gp),Vp=P({},_i,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cs}),Zp=Yu(Vp),Xp=P({},Zn,{propertyName:0,elapsedTime:0,pseudoElement:0}),Qp=Yu(Xp),Ip=P({},Fc,{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}),Kp=Yu(Ip),$p=P({},Zn,{newState:0,oldState:0,source:0}),Jp=Yu($p),Wp=[9,13,27,32],Ns=dn&&"CompositionEvent"in window,Si=null;dn&&"documentMode"in document&&(Si=document.documentMode);var Pp=dn&&"TextEvent"in window&&!Si,Hf=dn&&(!Ns||Si&&8<Si&&11>=Si),qf=" ",Gf=!1;function Yf(e,u){switch(e){case"keyup":return Wp.indexOf(u.keyCode)!==-1;case"keydown":return u.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Vf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ya=!1;function e3(e,u){switch(e){case"compositionend":return Vf(u);case"keypress":return u.which!==32?null:(Gf=!0,qf);case"textInput":return e=u.data,e===qf&&Gf?null:e;default:return null}}function u3(e,u){if(ya)return e==="compositionend"||!Ns&&Yf(e,u)?(e=Rf(),wc=Ss=Vn=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 Hf&&u.locale!=="ko"?null:u.data;default:return null}}var t3={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 Zf(e){var u=e&&e.nodeName&&e.nodeName.toLowerCase();return u==="input"?!!t3[e.type]:u==="textarea"}function Xf(e,u,t,l){iu?at?at.push(l):at=[l]:iu=l,u=Br(u,"onChange"),0<u.length&&(t=new Uc("onChange","change",null,t,l),e.push({event:t,listeners:u}))}var Ai=null,Ti=null;function n3(e){Mh(e,0)}function Bc(e){var u=zl(e);if(gi(u))return e}function Qf(e,u){if(e==="change")return u}var If=!1;if(dn){var ks;if(dn){var Os="oninput"in document;if(!Os){var Kf=document.createElement("div");Kf.setAttribute("oninput","return;"),Os=typeof Kf.oninput=="function"}ks=Os}else ks=!1;If=ks&&(!document.documentMode||9<document.documentMode)}function $f(){Ai&&(Ai.detachEvent("onpropertychange",Jf),Ti=Ai=null)}function Jf(e){if(e.propertyName==="value"&&Bc(Ti)){var u=[];Xf(u,Ti,e,pu(e)),wf(n3,u)}}function l3(e,u,t){e==="focusin"?($f(),Ai=u,Ti=t,Ai.attachEvent("onpropertychange",Jf)):e==="focusout"&&$f()}function a3(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Bc(Ti)}function i3(e,u){if(e==="click")return Bc(u)}function c3(e,u){if(e==="input"||e==="change")return Bc(u)}function r3(e,u){return e===u&&(e!==0||1/e===1/u)||e!==e&&u!==u}var it=typeof Object.is=="function"?Object.is:r3;function Di(e,u){if(it(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)||!it(e[i],u[i]))return!1}return!0}function zs(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 Wf(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Pf(e,u){var t=Wf(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=Wf(t)}}function ed(e,u){return e&&u?e===u?!0:e&&e.nodeType===3?!1:u&&u.nodeType===3?ed(e,u.parentNode):"contains"in e?e.contains(u):e.compareDocumentPosition?!!(e.compareDocumentPosition(u)&16):!1:!1}function ud(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var u=zs(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=zs(e.document)}return u}function js(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 s3=dn&&"documentMode"in document&&11>=document.documentMode,xa=null,Ms=null,Ci=null,ws=!1;function td(e,u,t){var l=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;ws||xa==null||xa!==zs(l)||(l=xa,"selectionStart"in l&&js(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}),Ci&&Di(Ci,l)||(Ci=l,l=Br(Ms,"onSelect"),0<l.length&&(u=new Uc("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")},Rs={},nd={};dn&&(nd=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 wl(e){if(Rs[e])return Rs[e];if(!va[e])return e;var u=va[e],t;for(t in u)if(u.hasOwnProperty(t)&&t in nd)return Rs[e]=u[t];return e}var ld=wl("animationend"),ad=wl("animationiteration"),id=wl("animationstart"),o3=wl("transitionrun"),f3=wl("transitionstart"),d3=wl("transitioncancel"),cd=wl("transitionend"),rd=new Map,Ls="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(" ");Ls.push("scrollEnd");function jt(e,u){rd.set(e,u),Gt(u,[e])}var h3=0;function hn(e,u){if(e.name!=null&&e.name!=="auto")return e.name;if(u.autoName!==null)return u.autoName;e=Lt.identifierPrefix;var t=h3++;return e="_"+e+"t_"+t.toString(32)+"_",u.autoName=e}function sd(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 mn(e,u){return e=sd(e),u=sd(u),u==null?e==="auto"?null:e:u==="auto"?null:u}var Hc=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)},yt=[],_a=0,Us=0;function qc(){for(var e=_a,u=Us=_a=0;u<e;){var t=yt[u];yt[u++]=null;var l=yt[u];yt[u++]=null;var i=yt[u];yt[u++]=null;var c=yt[u];if(yt[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&&od(t,i,c)}}function Gc(e,u,t,l){yt[_a++]=e,yt[_a++]=u,yt[_a++]=t,yt[_a++]=l,Us|=l,e.lanes|=l,e=e.alternate,e!==null&&(e.lanes|=l)}function Fs(e,u,t,l){return Gc(e,u,t,l),Yc(e)}function Rl(e,u){return Gc(e,null,null,u),Yc(e)}function od(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-yu(t),e=c.hiddenUpdates,l=e[i],l===null?e[i]=[u]:l.push(u),u.lane=t|536870912),c):null}function Yc(e){if(50<Ki)throw Ki=0,jr=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 m3(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 Ju(e,u,t,l){return new m3(e,u,t,l)}function Bs(e){return e=e.prototype,!(!e||!e.isReactComponent)}function pn(e,u){var t=e.alternate;return t===null?(t=Ju(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 fd(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 Vc(e,u,t,l,i,c){var d=0;if(l=e,typeof l=="function")Bs(l)&&(d=1);else if(typeof l=="string")d=Gb(e,t,Le.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(l){case gu:return e=Ju(31,t,u,i),e.elementType=gu,e.lanes=c,e;case ue:return Ll(t.children,i,c,u);case ge:d=8,i|=24;break;case Je:return e=Ju(12,t,u,i|2),e.elementType=Je,e.lanes=c,e;case se:return e=Ju(13,t,u,i),e.elementType=se,e.lanes=c,e;case de:return e=Ju(19,t,u,i),e.elementType=de,e.lanes=c,e;case we:case T:return e=i|32,e=Ju(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 Te:d=10;break e;case We:d=9;break e;case W:d=11;break e;case xe:d=14;break e;case ye:d=16,l=null;break e}d=29,t=Error(r(130,e===null?"null":typeof e,"")),l=null}return u=Ju(d,t,u,i),u.elementType=e,u.type=l,u.lanes=c,u}function Ll(e,u,t,l){return e=Ju(7,e,l,u),e.lanes=t,e}function Hs(e,u,t){return e=Ju(6,e,null,u),e.lanes=t,e}function dd(e){var u=Ju(18,null,null,0);return u.stateNode=e,u}function qs(e,u,t){return u=Ju(4,e.children!==null?e.children:[],e.key,u),u.lanes=t,u.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},u}var hd=new WeakMap;function xt(e,u){if(typeof e=="object"&&e!==null){var t=hd.get(e);return t!==void 0?t:(u={value:e,source:u,stack:Cl(u)},hd.set(e,u),u)}return{value:e,source:u,stack:Cl(u)}}var Sa=[],Aa=0,Zc=null,Ni=0,vt=[],_t=0,Xn=null,Zt=1,Xt="";function bn(e,u){Sa[Aa++]=Ni,Sa[Aa++]=Zc,Zc=e,Ni=u}function md(e,u,t){vt[_t++]=Zt,vt[_t++]=Xt,vt[_t++]=Xn,Xn=e;var l=Zt;e=Xt;var i=32-yu(l)-1;l&=~(1<<i),t+=1;var c=32-yu(u)+i;if(30<c){var d=i-i%5;c=(l&(1<<d)-1).toString(32),l>>=d,i-=d,Zt=1<<32-yu(u)+i|t<<i|l,Xt=c+e}else Zt=1<<c|t<<i|l,Xt=e}function Xc(e){e.return!==null&&(bn(e,1),md(e,1,0))}function Gs(e){for(;e===Zc;)Zc=Sa[--Aa],Sa[Aa]=null,Ni=Sa[--Aa],Sa[Aa]=null;for(;e===Xn;)Xn=vt[--_t],vt[_t]=null,Xt=vt[--_t],vt[_t]=null,Zt=vt[--_t],vt[_t]=null}function pd(e,u){vt[_t++]=Zt,vt[_t++]=Xt,vt[_t++]=Xn,Zt=u.id,Xt=u.overflow,Xn=e}var xu=null,Qe=null,De=!1,Qn=null,Et=!1,Ys=Error(r(519));function In(e){var u=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw ki(xt(u,e)),Ys}function bd(e){var u=e.stateNode,t=e.type,l=e.memoizedProps;switch(u[mu]=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<Ji.length;t++)ke(Ji[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),Mc(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||Uh(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=He),u=!0):u=!1,u||In(e,!0)}function Qc(e){for(xu=e.return;xu;)switch(xu.tag){case 5:case 31:case 13:Et=!1;return;case 27:case 3:Et=!0;return;default:xu=xu.return}}function Ta(e){if(e!==xu)return!1;if(!De)return Qc(e),De=!0,!1;var u=e.tag,t;if((t=u!==3&&u!==27)&&((t=u===5)&&(t=e.type,t=!(t!=="form"&&t!=="button")||v0(e.type,e.memoizedProps)),t=!t),t&&Qe&&In(e),Qc(e),u===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));Qe=tm(e)}else if(u===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));Qe=tm(e)}else u===27?(u=Qe,ol(e.type)?(e=k0,k0=null,Qe=e):Qe=u):Qe=xu?At(e.stateNode.nextSibling):null;return!0}function Ul(){Qe=xu=null,De=!1}function Vs(){var e=Qn;return e!==null&&(et===null?et=e:et.push.apply(et,e),Qn=null),e}function ki(e){Qn===null?Qn=[e]:Qn.push(e)}var Zs=Ce(null),Fl=null,gn=null;function Kn(e,u,t){F(Zs,u._currentValue),u._currentValue=t}function yn(e){e._currentValue=Zs.current,X(Zs)}function Ic(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 Xs(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),Ic(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),Ic(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),Ic(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;it(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&&Xs(u,e,t,l),u.flags|=262144,e!==null}function Kc(e){for(e=e.firstContext;e!==null;){if(!it(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Hl(e){Fl=e,gn=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Du(e){return gd(Fl,e)}function $c(e,u){return Fl===null&&Hl(e),gd(e,u)}function gd(e,u){var t=u._currentValue;if(u={context:u,memoizedValue:t,next:null},gn===null){if(e===null)throw Error(r(308));gn=u,e.dependencies={lanes:0,firstContext:u},e.flags|=524288}else gn=gn.next=u;return t}var p3=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()})}},b3=n.unstable_scheduleCallback,g3=n.unstable_NormalPriority,su={$$typeof:Te,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Qs(){return{controller:new p3,data:new Map,refCount:0}}function Oi(e){e.refCount--,e.refCount===0&&b3(g3,function(){e.controller.abort()})}function yd(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 zi=null;function y3(e){var u=e.transitionTypes;return e.transitionTypes=null,u}var ji=null,Is=0,ql=0,Da=null;function x3(e,u){if(ji===null){var t=ji=[];Is=0,ql=f0(),Da={status:"pending",value:void 0,then:function(l){t.push(l)}}}return Is++,u.then(xd,xd),u}function xd(){if(--Is===0&&(zi=null,ji!==null)){Da!==null&&(Da.status="fulfilled");var e=ji;ji=null,ql=0,Da=null;for(var u=0;u<e.length;u++)(0,e[u])()}}function v3(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 vd=ee.S;ee.S=function(e,u){if(dh=Ru(),typeof u=="object"&&u!==null&&typeof u.then=="function"&&x3(e,u),zi!==null)for(var t=Va;t!==null;)yd(t,zi),t=t.next;if(t=e.types,t!==null){for(var l=Va;l!==null;)yd(l,t),l=l.next;if(ql!==0){l=zi,l===null&&(l=zi=[]);for(var i=0;i<t.length;i++){var c=t[i];l.indexOf(c)===-1&&l.push(c)}}}vd!==null&&vd(e,u)};var Gl=Ce(null);function Ks(){var e=Gl.current;return e!==null?e:Xe.pooledCache}function Jc(e,u){u===null?F(Gl,Gl.current):F(Gl,u.pool)}function _d(){var e=Ks();return e===null?null:{parent:su._currentValue,pool:e}}var Ca=Error(r(460)),$s=Error(r(474)),Wc=Error(r(542)),Pc={then:function(){}};function Ed(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Sd(e,u,t){switch(t=e[t],t===void 0?e.push(u):t!==u&&(u.then(He,He),u=t),u.status){case"fulfilled":return u.value;case"rejected":throw e=u.reason,Td(e),e===void 0&&!("reason"in u)?Error(r(600)):e;default:if(typeof u.status=="string")u.then(He,He);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,Td(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 Ad(){if(Vl===null)throw Error(r(459));var e=Vl;return Vl=null,e}function Td(e){if(e===Ca||e===Wc)throw Error(r(483))}var Na=null,Mi=0;function er(e){var u=Mi;return Mi+=1,Na===null&&(Na=[]),Sd(Na,e,u)}function $n(e,u){u=u.props.ref,e.ref=u!==void 0?u:null}function ur(e,u){throw u.$$typeof===ie?Error(r(525)):(e=Object.prototype.toString.call(u),Error(r(31,e==="[object Object]"?"object with keys {"+Object.keys(u).join(", ")+"}":e)))}function Dd(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=pn(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,R){return S===null||S.tag!==6?(S=Hs(z,k.mode,R),S.return=k,S):(S=i(S,z),S.return=k,S)}function E(k,S,z,R){var te=z.type;return te===ue?(k=w(k,S,z.props.children,R,z.key),$n(k,z),k):S!==null&&(S.elementType===te||typeof te=="object"&&te!==null&&te.$$typeof===ye&&Yl(te)===S.type)?(S=i(S,z.props),$n(S,z),S.return=k,S):(S=Vc(z.type,z.key,z.props,null,k.mode,R),$n(S,z),S.return=k,S)}function O(k,S,z,R){return S===null||S.tag!==4||S.stateNode.containerInfo!==z.containerInfo||S.stateNode.implementation!==z.implementation?(S=qs(z,k.mode,R),S.return=k,S):(S=i(S,z.children||[]),S.return=k,S)}function w(k,S,z,R,te){return S===null||S.tag!==7?(S=Ll(z,k.mode,R,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=Hs(""+S,k.mode,z),S.return=k,S;if(typeof S=="object"&&S!==null){switch(S.$$typeof){case $e:return z=Vc(S.type,S.key,S.props,null,k.mode,z),$n(z,S),z.return=k,z;case Be:return S=qs(S,k.mode,z),S.return=k,S;case ye:return S=Yl(S),U(k,S,z)}if(Me(S)||ce(S))return S=Ll(S,k.mode,z,null),S.return=k,S;if(typeof S.then=="function")return U(k,er(S),z);if(S.$$typeof===Te)return U(k,$c(k,S),z);ur(k,S)}return null}function N(k,S,z,R){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,R);if(typeof z=="object"&&z!==null){switch(z.$$typeof){case $e:return z.key===te?E(k,S,z,R):null;case Be:return z.key===te?O(k,S,z,R):null;case ye:return z=Yl(z),N(k,S,z,R)}if(Me(z)||ce(z))return te!==null?null:w(k,S,z,R,null);if(typeof z.then=="function")return N(k,S,er(z),R);if(z.$$typeof===Te)return N(k,S,$c(k,z),R);ur(k,z)}return null}function j(k,S,z,R,te){if(typeof R=="string"&&R!==""||typeof R=="number"||typeof R=="bigint")return k=k.get(z)||null,g(S,k,""+R,te);if(typeof R=="object"&&R!==null){switch(R.$$typeof){case $e:return k=k.get(R.key===null?z:R.key)||null,E(S,k,R,te);case Be:return k=k.get(R.key===null?z:R.key)||null,O(S,k,R,te);case ye:return R=Yl(R),j(k,S,z,R,te)}if(Me(R)||ce(R))return k=k.get(z)||null,w(S,k,R,te,null);if(typeof R.then=="function")return j(k,S,z,er(R),te);if(R.$$typeof===Te)return j(k,S,z,$c(S,R),te);ur(S,R)}return null}function $(k,S,z,R){for(var te=null,je=null,oe=S,pe=S=0,du=null;oe!==null&&pe<z.length;pe++){oe.index>pe?(du=oe,oe=null):du=oe.sibling;var Re=N(k,oe,z[pe],R);if(Re===null){oe===null&&(oe=du);break}e&&oe&&Re.alternate===null&&u(k,oe),S=c(Re,S,pe),je===null?te=Re:je.sibling=Re,je=Re,oe=du}if(pe===z.length)return t(k,oe),De&&bn(k,pe),te;if(oe===null){for(;pe<z.length;pe++)oe=U(k,z[pe],R),oe!==null&&(S=c(oe,S,pe),je===null?te=oe:je.sibling=oe,je=oe);return De&&bn(k,pe),te}for(oe=l(oe);pe<z.length;pe++)du=j(oe,k,pe,z[pe],R),du!==null&&(e&&(Re=du.alternate,Re!==null&&oe.delete(Re.key===null?pe:Re.key)),S=c(du,S,pe),je===null?te=du:je.sibling=du,je=du);return e&&oe.forEach(function(pl){return u(k,pl)}),De&&bn(k,pe),te}function ne(k,S,z,R){if(z==null)throw Error(r(151));for(var te=null,je=null,oe=S,pe=S=0,du=null,Re=z.next();oe!==null&&!Re.done;pe++,Re=z.next()){oe.index>pe?(du=oe,oe=null):du=oe.sibling;var pl=N(k,oe,Re.value,R);if(pl===null){oe===null&&(oe=du);break}e&&oe&&pl.alternate===null&&u(k,oe),S=c(pl,S,pe),je===null?te=pl:je.sibling=pl,je=pl,oe=du}if(Re.done)return t(k,oe),De&&bn(k,pe),te;if(oe===null){for(;!Re.done;pe++,Re=z.next())Re=U(k,Re.value,R),Re!==null&&(S=c(Re,S,pe),je===null?te=Re:je.sibling=Re,je=Re);return De&&bn(k,pe),te}for(oe=l(oe);!Re.done;pe++,Re=z.next())Re=j(oe,k,pe,Re.value,R),Re!==null&&(e&&(du=Re.alternate,du!==null&&oe.delete(du.key===null?pe:du.key)),S=c(Re,S,pe),je===null?te=Re:je.sibling=Re,je=Re);return e&&oe.forEach(function(eg){return u(k,eg)}),De&&bn(k,pe),te}function Ee(k,S,z,R){if(typeof z=="object"&&z!==null&&z.type===ue&&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===ue){if(S.tag===7){t(k,S.sibling),R=i(S,z.props.children),$n(R,z),R.return=k,k=R;break e}}else if(S.elementType===te||typeof te=="object"&&te!==null&&te.$$typeof===ye&&Yl(te)===S.type){t(k,S.sibling),R=i(S,z.props),$n(R,z),R.return=k,k=R;break e}t(k,S);break}else u(k,S);S=S.sibling}z.type===ue?(R=Ll(z.props.children,k.mode,R,z.key),$n(R,z),R.return=k,k=R):(R=Vc(z.type,z.key,z.props,null,k.mode,R),$n(R,z),R.return=k,k=R)}return d(k);case Be: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),R=i(S,z.children||[]),R.return=k,k=R;break e}else{t(k,S);break}else u(k,S);S=S.sibling}R=qs(z,k.mode,R),R.return=k,k=R}return d(k);case ye:return z=Yl(z),Ee(k,S,z,R)}if(Me(z))return $(k,S,z,R);if(ce(z)){if(te=ce(z),typeof te!="function")throw Error(r(150));return z=te.call(z),ne(k,S,z,R)}if(typeof z.then=="function")return Ee(k,S,er(z),R);if(z.$$typeof===Te)return Ee(k,S,$c(k,z),R);ur(k,z)}return typeof z=="string"&&z!==""||typeof z=="number"||typeof z=="bigint"?(z=""+z,S!==null&&S.tag===6?(t(k,S.sibling),R=i(S,z),R.return=k,k=R):(t(k,S),R=Hs(z,k.mode,R),R.return=k,k=R),d(k)):t(k,S)}return function(k,S,z,R){try{Mi=0;var te=Ee(k,S,z,R);return Na=null,te}catch(oe){if(oe===Ca||oe===Wc)throw oe;var je=Ju(29,oe,null,k.mode);return je.lanes=R,je.return=k,je}}}var Zl=Dd(!0),Cd=Dd(!1),Jn=!1;function Js(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ws(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 Wn(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Pn(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=Yc(e),od(e,null,t),u}return Gc(e,l,u,t),Yc(e)}function wi(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,kc(e,t)}}function Ps(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 eo=!1;function Ri(){if(eo){var e=Da;if(e!==null)throw e}}function Li(e,u,t,l){eo=!1;var i=e.updateQueue;Jn=!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 w=e.alternate;w!==null&&(w=w.updateQueue,g=w.lastBaseUpdate,g!==d&&(g===null?w.firstBaseUpdate=O:g.next=O,w.lastBaseUpdate=E))}if(c!==null){var U=i.baseState;d=0,w=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&&(eo=!0),w!==null&&(w=w.next={lane:0,tag:g.tag,payload:g.payload,callback:null,next:null});e:{var $=e,ne=g;N=u;var Ee=t;switch(ne.tag){case 1:if($=ne.payload,typeof $=="function"){U=$.call(Ee,U,N);break e}U=$;break e;case 3:$.flags=$.flags&-65537|128;case 0:if($=ne.payload,N=typeof $=="function"?$.call(Ee,U,N):$,N==null)break e;U=P({},U,N);break e;case 2:Jn=!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},w===null?(O=w=j,E=U):w=w.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);w===null&&(E=U),i.baseState=E,i.firstBaseUpdate=O,i.lastBaseUpdate=w,c===null&&(i.shared.lanes=0),il|=d,e.lanes=d,e.memoizedState=U}}function Nd(e,u){if(typeof e!="function")throw Error(r(191,e));e.call(u)}function kd(e,u){var t=e.callbacks;if(t!==null)for(e.callbacks=null,e=0;e<t.length;e++)Nd(t[e],u)}var el=Ce(null),tr=Ce(0);function Od(e,u){e=Sn,F(tr,e),F(el,u),Sn=e|u.baseLanes}function uo(){F(tr,Sn),F(el,el.current)}function to(){Sn=tr.current,X(el),X(tr)}var Cu=Ce(null),Bu=null;function ul(e){var u=e.alternate;F(Nu,Nu.current&1),F(Cu,e),Bu===null&&(u===null||el.current!==null||u.memoizedState!==null)&&(Bu=e)}function no(e){F(Nu,Nu.current),F(Cu,e),Bu===null&&(Bu=e)}function zd(e){e.tag===22?(F(Nu,Nu.current),F(Cu,e),Bu===null&&(Bu=e)):tl()}function tl(){F(Nu,Nu.current),F(Cu,Cu.current)}function ct(e){X(Cu),Bu===e&&(Bu=null),X(Nu)}var Nu=Ce(0);function Ui(e,u){F(Cu,Cu.current),F(Nu,u)}function lo(e){X(Nu),X(Cu),Bu===e&&(Bu=null)}function nr(e){for(var u=e;u!==null;){if(u.tag===13){var t=u.memoizedState;if(t!==null&&(t=t.dehydrated,t===null||C0(t)||N0(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 xn=0,_e=null,Ze=null,ou=null,lr=!1,ka=!1,Xl=!1,ar=0,Fi=0,Oa=null,_3=0;function lu(){throw Error(r(321))}function ao(e,u){if(u===null)return!1;for(var t=0;t<u.length&&t<e.length;t++)if(!it(e[t],u[t]))return!1;return!0}function io(e,u,t,l,i,c){return xn=c,_e=u,u.memoizedState=null,u.updateQueue=null,u.lanes=0,ee.H=e===null||e.memoizedState===null?m1:p1,Xl=!1,c=t(l,i),Xl=!1,ka&&(c=Md(u,t,l,i)),jd(e),c}function jd(e){ee.H=dr;var u=Ze!==null&&Ze.next!==null;if(xn=0,ou=Ze=_e=null,lr=!1,Fi=0,Oa=null,u)throw Error(r(300));e===null||fu||(e=e.dependencies,e!==null&&Kc(e)&&(fu=!0))}function Md(e,u,t,l){_e=e;var i=0;do{if(ka&&(Oa=null),Fi=0,ka=!1,25<=i)throw Error(r(301));if(i+=1,ou=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)}ee.H=k3,c=u(t,l)}while(ka);return c}function E3(){var e=ee.H,u=e.useState()[0];return u=typeof u.then=="function"?Bi(u):u,e=e.useState()[0],(Ze!==null?Ze.memoizedState:null)!==e&&(_e.flags|=1024),u}function co(){var e=ar!==0;return ar=0,e}function ro(e,u,t){u.updateQueue=e.updateQueue,u.flags&=-2053,e.lanes&=~t}function so(e){if(lr){for(e=e.memoizedState;e!==null;){var u=e.queue;u!==null&&(u.pending=null),e=e.next}lr=!1}xn=0,ou=Ze=_e=null,ka=!1,Fi=ar=0,Oa=null}function Vu(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ou===null?_e.memoizedState=ou=e:ou=ou.next=e,ou}function cu(){if(Ze===null){var e=_e.alternate;e=e!==null?e.memoizedState:null}else e=Ze.next;var u=ou===null?_e.memoizedState:ou.next;if(u!==null)ou=u,Ze=e;else{if(e===null)throw _e.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},ou===null?_e.memoizedState=ou=e:ou=ou.next=e}return ou}function ir(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Bi(e){var u=Fi;return Fi+=1,Oa===null&&(Oa=[]),e=Sd(Oa,e,u),u=_e,(ou===null?u.memoizedState:ou.next)===null&&(u=u.alternate,ee.H=u===null||u.memoizedState===null?m1:p1),e}function cr(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Bi(e);if(e.$$typeof===Z)return;if(e.$$typeof===Te)return Du(e)}throw Error(r(438,String(e)))}function oo(e){var u=null,t=_e.updateQueue;if(t!==null&&(u=t.memoCache),u==null){var l=_e.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=ir(),_e.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]=I;return u.index++,t}function vn(e,u){return typeof u=="function"?u(e):u}function rr(e){var u=cu();return fo(u,Ze,e)}function fo(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,w=!1;do{var U=O.lane&-536870913;if(U!==O.lane?(ze&U)===U:(xn&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&&(w=!0);else if((xn&N)===N){O=O.next,N===ql&&(w=!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,_e.lanes|=N,il|=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,_e.lanes|=U,il|=U;O=O.next}while(O!==null&&O!==u);if(E===null?d=c:E.next=g,!it(c,e.memoizedState)&&(fu=!0,w&&(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 ho(e){var u=cu(),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);it(c,u.memoizedState)||(fu=!0),u.memoizedState=c,u.baseQueue===null&&(u.baseState=c),t.lastRenderedState=c}return[c,l]}function wd(e,u,t){var l=_e,i=cu(),c=De;if(c){if(t===void 0)throw Error(r(407));t=t()}else t=u();var d=!it((Ze||i).memoizedState,t);if(d&&(i.memoizedState=t,fu=!0),i=i.queue,bo(Ud.bind(null,l,i,e),[e]),e=i.getSnapshot!==u||d||ou!==null&&(ou.memoizedState.tag&1)!==0,za(e?9:8,{destroy:void 0},Ld.bind(null,l,i,t,u),null),e){if(l.flags|=2048,Xe===null)throw Error(r(349));c||(xn&127)!==0||Rd(l,u,t)}return t}function Rd(e,u,t){e.flags|=16384,e={getSnapshot:u,value:t},u=_e.updateQueue,u===null?(u=ir(),_e.updateQueue=u,u.stores=[e]):(t=u.stores,t===null?u.stores=[e]:t.push(e))}function Ld(e,u,t,l){u.value=t,u.getSnapshot=l,Fd(u)&&Bd(e)}function Ud(e,u,t){return t(function(){Fd(u)&&Bd(e)})}function Fd(e){var u=e.getSnapshot;e=e.value;try{var t=u();return!it(e,t)}catch{return!0}}function Bd(e){var u=Rl(e,2);u!==null&&ut(u,e,2)}function mo(e){var u=Vu();if(typeof e=="function"){var t=e;if(e=t(),Xl){Ot(!0);try{t()}finally{Ot(!1)}}}return u.memoizedState=u.baseState=e,u.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:vn,lastRenderedState:e},u}function Hd(e,u,t,l){return e.baseState=t,fo(e,Ze,typeof l=="function"?l:vn)}function S3(e,u,t,l,i){if(fr(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)}};ee.T!==null?t(!0):c.isTransition=!1,l(c),t=u.pending,t===null?(c.next=u.pending=c,qd(u,c)):(c.next=t.next,u.pending=t.next=c)}}function qd(e,u){var t=u.action,l=u.payload,i=e.state;if(u.isTransition){var c=ee.T,d={};d.types=c!==null?c.types:null,ee.T=d;try{var g=t(i,l),E=ee.S;E!==null&&E(d,g),Gd(e,u,g)}catch(O){po(e,u,O)}finally{c!==null&&d.types!==null&&(c.types=d.types),ee.T=c}}else try{c=t(i,l),Gd(e,u,c)}catch(O){po(e,u,O)}}function Gd(e,u,t){t!==null&&typeof t=="object"&&typeof t.then=="function"?t.then(function(l){Yd(e,u,l)},function(l){return po(e,u,l)}):Yd(e,u,t)}function Yd(e,u,t){u.status="fulfilled",u.value=t,Vd(u),e.state=t,u=e.pending,u!==null&&(t=u.next,t===u?e.pending=null:(t=t.next,u.next=t,qd(e,t)))}function po(e,u,t){var l=e.pending;if(e.pending=null,l!==null){l=l.next;do u.status="rejected",u.reason=t,Vd(u),u=u.next;while(u!==l)}e.action=null}function Vd(e){e=e.listeners;for(var u=0;u<e.length;u++)(0,e[u])()}function Zd(e,u){return u}function Xd(e,u){if(De){var t=Xe.formState;if(t!==null){e:{var l=_e;if(De){if(Qe){u:{for(var i=Qe,c=Et;i.nodeType!==8;){if(!c){i=null;break u}if(i=At(i.nextSibling),i===null){i=null;break u}}c=i.data,i=c==="F!"||c==="F"?i:null}if(i){Qe=At(i.nextSibling),l=i.data==="F!";break e}}In(l)}l=!1}l&&(u=t[0])}}return t=Vu(),t.memoizedState=t.baseState=u,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Zd,lastRenderedState:u},t.queue=l,t=f1.bind(null,_e,l),l.dispatch=t,l=mo(!1),c=_o.bind(null,_e,!1,l.queue),l=Vu(),i={state:u,dispatch:null,action:e,pending:null},l.queue=i,t=S3.bind(null,_e,i,c,t),i.dispatch=t,l.memoizedState=e,[u,t,!1]}function Qd(e){var u=cu();return Id(u,Ze,e)}function Id(e,u,t){if(u=fo(e,u,Zd)[0],e=rr(vn)[0],typeof u=="object"&&u!==null&&typeof u.then=="function")try{var l=Bi(u)}catch(d){throw d===Ca?Wc:d}else l=u;u=cu();var i=u.queue,c=i.dispatch;return t!==u.memoizedState&&(_e.flags|=2048,za(9,{destroy:void 0},A3.bind(null,i,t),null)),[l,c,e]}function A3(e,u){e.action=u}function Kd(e){var u=cu(),t=Ze;if(t!==null)return Id(u,t,e);cu(),u=u.memoizedState,t=cu();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=_e.updateQueue,u===null&&(u=ir(),_e.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 $d(){return cu().memoizedState}function sr(e,u,t,l){var i=Vu();_e.flags|=e,i.memoizedState=za(1|u,{destroy:void 0},t,l===void 0?null:l)}function or(e,u,t,l){var i=cu();l=l===void 0?null:l;var c=i.memoizedState.inst;Ze!==null&&l!==null&&ao(l,Ze.memoizedState.deps)?i.memoizedState=za(u,c,t,l):(_e.flags|=e,i.memoizedState=za(1|u,c,t,l))}function Jd(e,u){sr(8390656,8,e,u)}function bo(e,u){or(2048,8,e,u)}function T3(e){_e.flags|=4;var u=_e.updateQueue;if(u===null)u=ir(),_e.updateQueue=u,u.events=[e];else{var t=u.events;t===null?u.events=[e]:t.push(e)}}function Wd(e){var u=cu().memoizedState;return T3({ref:u,nextImpl:e}),function(){if((Fe&2)!==0)throw Error(r(440));return u.impl.apply(void 0,arguments)}}function Pd(e,u){return or(4,2,e,u)}function e1(e,u){return or(4,4,e,u)}function u1(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 t1(e,u,t){t=t!=null?t.concat([e]):null,or(4,4,u1.bind(null,u,e),t)}function go(){}function n1(e,u){var t=cu();u=u===void 0?null:u;var l=t.memoizedState;return u!==null&&ao(u,l[1])?l[0]:(t.memoizedState=[e,u],e)}function l1(e,u){var t=cu();u=u===void 0?null:u;var l=t.memoizedState;if(u!==null&&ao(u,l[1]))return l[0];if(l=e(),Xl){Ot(!0);try{e()}finally{Ot(!1)}}return t.memoizedState=[l,u],l}function yo(e,u,t){return t===void 0||(xn&1073741824)!==0&&(ze&261930)===0?e.memoizedState=u:(e.memoizedState=t,e=mh(),_e.lanes|=e,il|=e,t)}function a1(e,u,t,l){return it(t,u)?t:el.current!==null?(e=yo(e,t,l),it(e,u)||(fu=!0),e):(xn&106)===0||(xn&1073741824)!==0&&(ze&261930)===0?(fu=!0,e.memoizedState=t):(e=mh(),_e.lanes|=e,il|=e,u)}function i1(e,u,t,l,i){var c=he.p;he.p=c!==0&&8>c?c:8;var d=ee.T,g={};g.types=d!==null?d.types:null,ee.T=g,_o(e,!1,u,t);try{var E=i(),O=ee.S;if(O!==null&&O(g,E),E!==null&&typeof E=="object"&&typeof E.then=="function"){var w=v3(E,l);Hi(e,u,w,ft(e))}else Hi(e,u,l,ft(e))}catch(U){Hi(e,u,{then:function(){},status:"rejected",reason:U},ft())}finally{he.p=c,d!==null&&g.types!==null&&(d.types=g.types),ee.T=d}}function D3(){}function xo(e,u,t,l){if(e.tag!==5)throw Error(r(476));var i=c1(e).queue;i1(e,i,u,Qu,t===null?D3:function(){return r1(e),t(l)})}function c1(e){var u=e.memoizedState;if(u!==null)return u;u={memoizedState:Qu,baseState:Qu,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:vn,lastRenderedState:Qu},next:null};var t={};return u.next={memoizedState:t,baseState:t,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:vn,lastRenderedState:t},next:null},e.memoizedState=u,e=e.alternate,e!==null&&(e.memoizedState=u),u}function r1(e){var u=c1(e);u.next===null&&(u=e.alternate.memoizedState),Hi(e,u.next.queue,{},ft())}function vo(){return Du($a)}function s1(){return cu().memoizedState}function o1(){return cu().memoizedState}function C3(e){for(var u=e.return;u!==null;){switch(u.tag){case 24:case 3:var t=ft();e=Wn(t);var l=Pn(u,e,t);l!==null&&(ut(l,u,t),wi(l,u,t)),u={cache:Qs()},e.payload=u;return}u=u.return}}function N3(e,u,t){var l=ft();t={lane:l,revertLane:0,gesture:null,action:t,hasEagerState:!1,eagerState:null,next:null},fr(e)?d1(u,t):(t=Fs(e,u,t,l),t!==null&&(ut(t,e,l),h1(t,u,l)))}function f1(e,u,t){var l=ft();Hi(e,u,t,l)}function Hi(e,u,t,l){var i={lane:l,revertLane:0,gesture:null,action:t,hasEagerState:!1,eagerState:null,next:null};if(fr(e))d1(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,it(g,d))return Gc(e,u,i,0),Xe===null&&qc(),!1}catch{}if(t=Fs(e,u,i,l),t!==null)return ut(t,e,l),h1(t,u,l),!0}return!1}function _o(e,u,t,l){if(l={lane:2,revertLane:f0(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},fr(e)){if(u)throw Error(r(479))}else u=Fs(e,t,l,2),u!==null&&ut(u,e,2)}function fr(e){var u=e.alternate;return e===_e||u!==null&&u===_e}function d1(e,u){ka=lr=!0;var t=e.pending;t===null?u.next=u:(u.next=t.next,t.next=u),e.pending=u}function h1(e,u,t){if((t&4194048)!==0){var l=u.lanes;l&=e.pendingLanes,t|=l,u.lanes=t,kc(e,t)}}var dr={readContext:Du,use:cr,useCallback:lu,useContext:lu,useEffect:lu,useImperativeHandle:lu,useLayoutEffect:lu,useInsertionEffect:lu,useMemo:lu,useReducer:lu,useRef:lu,useState:lu,useDebugValue:lu,useDeferredValue:lu,useTransition:lu,useSyncExternalStore:lu,useId:lu,useHostTransitionStatus:lu,useFormState:lu,useActionState:lu,useOptimistic:lu,useMemoCache:lu,useCacheRefresh:lu,useEffectEvent:lu},m1={readContext:Du,use:cr,useCallback:function(e,u){return Vu().memoizedState=[e,u===void 0?null:u],e},useContext:Du,useEffect:Jd,useImperativeHandle:function(e,u,t){t=t!=null?t.concat([e]):null,sr(4194308,4,u1.bind(null,u,e),t)},useLayoutEffect:function(e,u){return sr(4194308,4,e,u)},useInsertionEffect:function(e,u){sr(4,2,e,u)},useMemo:function(e,u){var t=Vu();u=u===void 0?null:u;var l=e();if(Xl){Ot(!0);try{e()}finally{Ot(!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){Ot(!0);try{t(u)}finally{Ot(!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=N3.bind(null,_e,e),[l.memoizedState,e]},useRef:function(e){var u=Vu();return e={current:e},u.memoizedState=e},useState:function(e){e=mo(e);var u=e.queue,t=f1.bind(null,_e,u);return u.dispatch=t,[e.memoizedState,t]},useDebugValue:go,useDeferredValue:function(e,u){var t=Vu();return yo(t,e,u)},useTransition:function(){var e=mo(!1);return e=i1.bind(null,_e,e.queue,!0,!1),Vu().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,u,t){var l=_e,i=Vu();if(De){if(t===void 0)throw Error(r(407));t=t()}else{if(t=u(),Xe===null)throw Error(r(349));(ze&127)!==0||Rd(l,u,t)}i.memoizedState=t;var c={value:t,getSnapshot:u};return i.queue=c,Jd(Ud.bind(null,l,c,e),[e]),l.flags|=2048,za(9,{destroy:void 0},Ld.bind(null,l,c,t,u),null),t},useId:function(){var e=Vu(),u=Xe.identifierPrefix;if(De){var t=Xt,l=Zt;t=(l&~(1<<32-yu(l)-1)).toString(32)+t,u="_"+u+"R_"+t,t=ar++,0<t&&(u+="H"+t.toString(32)),u+="_"}else t=_3++,u="_"+u+"r_"+t.toString(32)+"_";return e.memoizedState=u},useHostTransitionStatus:vo,useFormState:Xd,useActionState:Xd,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=_o.bind(null,_e,!0,t),t.dispatch=u,[e,u]},useMemoCache:oo,useCacheRefresh:function(){return Vu().memoizedState=C3.bind(null,_e)},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)}}},p1={readContext:Du,use:cr,useCallback:n1,useContext:Du,useEffect:bo,useImperativeHandle:t1,useInsertionEffect:Pd,useLayoutEffect:e1,useMemo:l1,useReducer:rr,useRef:$d,useState:function(){return rr(vn)},useDebugValue:go,useDeferredValue:function(e,u){var t=cu();return a1(t,Ze.memoizedState,e,u)},useTransition:function(){var e=rr(vn)[0],u=cu().memoizedState;return[typeof e=="boolean"?e:Bi(e),u]},useSyncExternalStore:wd,useId:s1,useHostTransitionStatus:vo,useFormState:Qd,useActionState:Qd,useOptimistic:function(e,u){var t=cu();return Hd(t,Ze,e,u)},useMemoCache:oo,useCacheRefresh:o1,useEffectEvent:Wd},k3={readContext:Du,use:cr,useCallback:n1,useContext:Du,useEffect:bo,useImperativeHandle:t1,useInsertionEffect:Pd,useLayoutEffect:e1,useMemo:l1,useReducer:ho,useRef:$d,useState:function(){return ho(vn)},useDebugValue:go,useDeferredValue:function(e,u){var t=cu();return Ze===null?yo(t,e,u):a1(t,Ze.memoizedState,e,u)},useTransition:function(){var e=ho(vn)[0],u=cu().memoizedState;return[typeof e=="boolean"?e:Bi(e),u]},useSyncExternalStore:wd,useId:s1,useHostTransitionStatus:vo,useFormState:Kd,useActionState:Kd,useOptimistic:function(e,u){var t=cu();return Ze!==null?Hd(t,Ze,e,u):(t.baseState=e,[e,t.queue.dispatch])},useMemoCache:oo,useCacheRefresh:o1,useEffectEvent:Wd};function Eo(e,u,t,l){u=e.memoizedState,t=t(l,u),t=t==null?u:P({},u,t),e.memoizedState=t,e.lanes===0&&(e.updateQueue.baseState=t)}var So={enqueueSetState:function(e,u,t){e=e._reactInternals;var l=ft(),i=Wn(l);i.payload=u,t!=null&&(i.callback=t),u=Pn(e,i,l),u!==null&&(ut(u,e,l),wi(u,e,l))},enqueueReplaceState:function(e,u,t){e=e._reactInternals;var l=ft(),i=Wn(l);i.tag=1,i.payload=u,t!=null&&(i.callback=t),u=Pn(e,i,l),u!==null&&(ut(u,e,l),wi(u,e,l))},enqueueForceUpdate:function(e,u){e=e._reactInternals;var t=ft(),l=Wn(t);l.tag=2,u!=null&&(l.callback=u),u=Pn(e,l,t),u!==null&&(ut(u,e,t),wi(u,e,t))}};function b1(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?!Di(t,l)||!Di(i,c):!0}function g1(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&&So.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=P({},t));for(var i in e)t[i]===void 0&&(t[i]=e[i])}return t}function y1(e){Hc(e)}function x1(e){console.error(e)}function v1(e){Hc(e)}function hr(e,u){try{var t=e.onUncaughtError;t(u.value,{componentStack:u.stack})}catch(l){setTimeout(function(){throw l})}}function _1(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 Ao(e,u,t){return t=Wn(t),t.tag=3,t.payload={element:null},t.callback=function(){hr(e,u)},t}function E1(e){return e=Wn(e),e.tag=3,e}function S1(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(){_1(u,t,l)}}var d=t.stateNode;d!==null&&typeof d.componentDidCatch=="function"&&(e.callback=function(){_1(u,t,l),typeof i!="function"&&(cl===null?cl=new Set([this]):cl.add(this));var g=l.stack;this.componentDidCatch(l.value,{componentStack:g!==null?g:""})})}function O3(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=Cu.current,t!==null){switch(t.tag){case 31:case 13:case 19:return Bu===null?wr():t.alternate===null&&au===0&&(au=3),t.flags&=-257,t.flags|=65536,t.lanes=i,l===Pc?t.flags|=16384:(u=t.updateQueue,u===null?t.updateQueue=new Set([l]):u.add(l),r0(e,l,i)),!1;case 22:return t.flags|=65536,l===Pc?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)),r0(e,l,i)),!1}throw Error(r(435,t.tag))}return r0(e,l,i),wr(),!1}if(De)return u=Cu.current,u!==null?((u.flags&65536)===0&&(u.flags|=256),u.flags|=65536,u.lanes=i,l!==Ys&&(e=Error(r(422),{cause:l}),ki(xt(e,t)))):(l!==Ys&&(u=Error(r(423),{cause:l}),ki(xt(u,t))),e=e.current.alternate,e.flags|=65536,i&=-i,e.lanes|=i,l=xt(l,t),i=Ao(e.stateNode,l,i),Ps(e,i),au!==4&&(au=2)),!1;var c=Error(r(520),{cause:l});if(c=xt(c,t),Ii===null?Ii=[c]:Ii.push(c),au!==4&&(au=2),u===null)return!0;l=xt(l,t),t=u;do{switch(t.tag){case 3:return t.flags|=65536,e=i&-i,t.lanes|=e,e=Ao(t.stateNode,l,e),Ps(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"&&(cl===null||!cl.has(c))))return t.flags|=65536,i&=-i,t.lanes|=i,i=E1(i),S1(i,e,t,l),Ps(t,i),!1;break;case 22:if(t.memoizedState!==null)return t.flags|=65536,!1}t=t.return}while(t!==null);return!1}var To=Error(r(461)),fu=!1;function bu(e,u,t,l){u.child=e===null?Cd(u,null,t,l):Zl(u,e.child,t,l)}function A1(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=io(e,u,t,d,c,i),g=co(),e!==null&&!fu?(ro(e,u,i),_n(e,u,i)):(De&&g&&Xc(u),u.flags|=1,bu(e,u,l,i),u.child)}function T1(e,u,t,l,i){if(e===null){var c=t.type;return typeof c=="function"&&!Bs(c)&&c.defaultProps===void 0&&t.compare===null?(u.tag=15,u.type=c,D1(e,u,c,l,i)):(e=Vc(t.type,null,l,u,u.mode,i),e.ref=u.ref,e.return=u,u.child=e)}if(c=e.child,!Mo(e,i)){var d=c.memoizedProps;if(t=t.compare,t=t!==null?t:Di,t(d,l)&&e.ref===u.ref)return _n(e,u,i)}return u.flags|=1,e=pn(c,l),e.ref=u.ref,e.return=u,u.child=e}function D1(e,u,t,l,i){if(e!==null){var c=e.memoizedProps;if(Di(c,l)&&e.ref===u.ref)if(fu=!1,u.pendingProps=l=c,Mo(e,i))(e.flags&131072)!==0&&(fu=!0);else return u.lanes=e.lanes,_n(e,u,i)}return Do(e,u,t,l,i)}function C1(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 N1(e,u,c,t,l)}if((t&536870912)!==0)u.memoizedState={baseLanes:0,cachePool:null},e!==null&&Jc(u,c!==null?c.cachePool:null),c!==null?Od(u,c):uo(),zd(u);else return l=u.lanes=536870912,N1(e,u,c!==null?c.baseLanes|t:t,t,l)}else c!==null?(Jc(u,c.cachePool),Od(u,c),tl(),u.memoizedState=null):(e!==null&&Jc(u,null),uo(),tl());return bu(e,u,i,t),u.child}function qi(e,u){return e!==null&&e.tag===22||u.stateNode!==null||(u.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),u.sibling}function N1(e,u,t,l,i){var c=Ks();return c=c===null?null:{parent:su._currentValue,pool:c},u.memoizedState={baseLanes:t,cachePool:c},e!==null&&Jc(u,null),uo(),zd(u),e!==null&&Bl(e,u,l,!0),u.childLanes=i,null}function mr(e,u){return u=pr({mode:u.mode,children:u.children},e.mode),u.ref=e.ref,e.child=u,u.return=e,u}function k1(e,u,t){return Zl(u,e.child,null,t),e=mr(u,u.pendingProps),e.flags|=2,ct(u),u.memoizedState=null,e}function z3(e,u,t){var l=u.pendingProps,i=(u.flags&128)!==0;if(u.flags&=-129,e===null){if(De){if(l.mode==="hidden")return e=mr(u,l),u.lanes=536870912,e.memoizedState={baseLanes:0,cachePool:null},qi(null,e);if(no(u),(e=Qe)?(e=um(e,Et),e=e!==null&&e.data==="&"?e:null,e!==null&&(u.memoizedState={dehydrated:e,treeContext:Xn!==null?{id:Zt,overflow:Xt}:null,retryLane:536870912,hydrationErrors:null},t=dd(e),t.return=u,u.child=t,xu=u,Qe=null)):e=null,e===null)throw In(u);return u.lanes=536870912,null}return mr(u,l)}var c=e.memoizedState;if(c!==null){var d=c.dehydrated;if(no(u),i)if(u.flags&256)u.flags&=-257,u=k1(e,u,t);else if(u.memoizedState!==null)u.child=e.child,u.flags|=128,u=null;else throw Error(r(558));else if(fu||Bl(e,u,t,!1),i=(t&e.childLanes)!==0,fu||i){if(el.current===null){if(l=Xe,l!==null&&(d=si(l,t),d!==0&&d!==c.retryLane))throw c.retryLane=d,Rl(e,d),ut(l,e,d),To;wr()}u=k1(e,u,t)}else e=c.treeContext,Qe=At(d.nextSibling),xu=u,De=!0,Qn=null,Et=!1,e!==null&&pd(u,e),u=mr(u,l),u.flags|=134221824;return u}return e=pn(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 Do(e,u,t,l,i){return Hl(u),t=io(e,u,t,l,void 0,i),l=co(),e!==null&&!fu?(ro(e,u,i),_n(e,u,i)):(De&&l&&Xc(u),u.flags|=1,bu(e,u,t,i),u.child)}function O1(e,u,t,l,i,c){return Hl(u),u.updateQueue=null,t=Md(u,l,t,i),jd(e),l=co(),e!==null&&!fu?(ro(e,u,c),_n(e,u,c)):(De&&l&&Xc(u),u.flags|=1,bu(e,u,t,c),u.child)}function z1(e,u,t,l,i){if(Hl(u),u.stateNode===null){var c=Ea,d=t.contextType;typeof d=="object"&&d!==null&&(c=Du(d)),c=new t(l,c),u.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,c.updater=So,u.stateNode=c,c._reactInternals=u,c=u.stateNode,c.props=l,c.state=u.memoizedState,c.refs={},Js(u),d=t.contextType,c.context=typeof d=="object"&&d!==null?Du(d):Ea,c.state=u.memoizedState,d=t.getDerivedStateFromProps,typeof d=="function"&&(Eo(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&&So.enqueueReplaceState(c,c.state,null),Li(u,l,c,i),Ri(),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,w=t.contextType;d=Ea,typeof w=="object"&&w!==null&&(d=Du(w));var U=t.getDerivedStateFromProps;w=typeof U=="function"||typeof c.getSnapshotBeforeUpdate=="function",g=u.pendingProps!==g,w||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(g||O!==d)&&g1(u,c,l,d),Jn=!1;var N=u.memoizedState;c.state=N,Li(u,l,c,i),Ri(),O=u.memoizedState,g||N!==O||Jn?(typeof U=="function"&&(Eo(u,t,U,l),O=u.memoizedState),(E=Jn||b1(u,t,E,l,N,O,d))?(w||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,Ws(e,u),d=u.memoizedProps,w=Ql(t,d),c.props=w,U=u.pendingProps,N=c.context,O=t.contextType,E=Ea,typeof O=="object"&&O!==null&&(E=Du(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)&&g1(u,c,l,E),Jn=!1,N=u.memoizedState,c.state=N,Li(u,l,c,i),Ri();var j=u.memoizedState;d!==U||N!==j||Jn||e!==null&&e.dependencies!==null&&Kc(e.dependencies)?(typeof g=="function"&&(Eo(u,t,g,l),j=u.memoizedState),(w=Jn||b1(u,t,w,l,N,j,E)||e!==null&&e.dependencies!==null&&Kc(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=w):(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)):bu(e,u,t,i),u.memoizedState=c.state,e=u.child):e=_n(e,u,i),e}function j1(e,u,t,l){return Ul(),u.flags|=256,bu(e,u,t,l),u.child}var Co={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function No(e){return{baseLanes:e,cachePool:_d()}}function ko(e,u,t){return e=e!==null?e.childLanes&~t:0,u&&(e|=ot),e}function M1(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:(Nu.current&2)!==0),d&&(i=!0,u.flags&=-129),d=(u.flags&32)!==0,u.flags&=-33,e===null){if(De){if(i?ul(u):tl(),(e=Qe)?(e=um(e,Et),e=e!==null&&e.data!=="&"?e:null,e!==null&&(u.memoizedState={dehydrated:e,treeContext:Xn!==null?{id:Zt,overflow:Xt}:null,retryLane:536870912,hydrationErrors:null},t=dd(e),t.return=u,u.child=t,xu=u,Qe=null)):e=null,e===null)throw In(u);return N0(e)?u.lanes=32:u.lanes=536870912,null}return c=l.children,l=l.fallback,i?(tl(),i=u.mode,c=pr({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=No(t),l.childLanes=ko(e,d,t),u.memoizedState=Co,qi(null,l)):(ul(u),Oo(u,c))}var g=e.memoizedState;if(g!==null){var E=g.dehydrated;if(E!==null)return j3(e,u,c,d,l,E,g,t)}return i?(tl(),i=l.fallback,c=u.mode,g=e.child,E=g.sibling,l=pn(g,{mode:"hidden",children:l.children}),l.subtreeFlags=g.subtreeFlags&1206910976,E!==null?i=pn(E,i):(i=Ll(i,c,t,null),i.flags|=2),i.return=u,l.return=u,l.sibling=i,u.child=l,qi(null,l),l=u.child,i=e.child.memoizedState,i===null?i=No(t):(c=i.cachePool,c!==null?(g=su._currentValue,c=c.parent!==g?{parent:g,pool:g}:c):c=_d(),i={baseLanes:i.baseLanes|t,cachePool:c}),l.memoizedState=i,l.childLanes=ko(e,d,t),u.memoizedState=Co,qi(e.child,l)):(ul(u),t=e.child,e=t.sibling,t=pn(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 Oo(e,u){return u=pr({mode:"visible",children:u},e.mode),u.return=e,e.child=u}function pr(e,u){return e=Ju(22,e,null,u),e.lanes=0,e}function br(e,u,t){return Zl(u,e.child,null,t),e=Oo(u,u.pendingProps.children),e.flags|=2,u.memoizedState=null,e}function j3(e,u,t,l,i,c,d,g){if(t)return u.flags&256?(ul(u),u.flags&=-257,br(e,u,g)):u.memoizedState!==null?(tl(),u.child=e.child,u.flags|=128,null):(tl(),c=i.fallback,d=u.mode,i=pr({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=No(g),i.childLanes=ko(e,l,g),u.memoizedState=Co,qi(null,i));if(ul(u),N0(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,ki({value:i,source:null,stack:null})),br(e,u,g)}if(fu||Bl(e,u,g,!1),l=(g&e.childLanes)!==0,fu||l){if(el.current!==null)return br(e,u,g);if(l=Xe,l!==null&&(i=si(l,g),i!==0&&i!==d.retryLane))throw d.retryLane=i,Rl(e,i),ut(l,e,i),To;return C0(c)||wr(),br(e,u,g)}return C0(c)?(u.flags|=192,u.child=e.child,null):(e=d.treeContext,Qe=At(c.nextSibling),xu=u,De=!0,Qn=null,Et=!1,e!==null&&pd(u,e),u=Oo(u,i.children),u.flags|=134221824,u)}function w1(e,u,t){e.lanes|=u;var l=e.alternate;l!==null&&(l.lanes|=u),Ic(e.return,u,t)}function R1(e){for(var u=null;e!==null;){var t=e.alternate;t!==null&&nr(t)===null&&(u=e),e=e.sibling}return u}function gr(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 zo(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 jo(e,u,t){var l=u.pendingProps,i=l.revealOrder,c=l.tail;l=l.children;var d=Nu.current;if(u.flags&128)return Ui(u,d),null;var g=(d&2)!==0;if(g?(d=d&1|2,u.flags|=128):d&=1,Ui(u,d),i==="backwards"&&e!==null?(zo(e),bu(e,u,l,t),zo(e)):bu(e,u,l,t),l=De?Ni:0,!g&&e!==null&&(e.flags&128)!==0)e:for(e=u.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&w1(e,t,u);else if(e.tag===19)w1(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=R1(u.child),t===null?(i=u.child,u.child=null):(i=t.sibling,t.sibling=null,zo(u)),gr(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&&nr(e)===null){u.child=i;break}e=i.sibling,i.sibling=t,t=i,i=e}gr(u,!0,t,null,c,l);break;case"together":gr(u,!1,null,null,void 0,l);break;case"independent":u.memoizedState=null;break;default:t=R1(u.child),t===null?(i=u.child,u.child=null):(i=t.sibling,t.sibling=null),gr(u,!1,i,t,c,l)}return u.child}function L1(e,u,t){var l=u.pendingProps;return Kn(u,u.type,l.value),bu(e,u,l.children,t),u.child}function _n(e,u,t){if(e!==null&&(u.dependencies=e.dependencies),il|=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=pn(e,e.pendingProps),u.child=t,t.return=u;e.sibling!==null;)e=e.sibling,t=t.sibling=pn(e,e.pendingProps),t.return=u;t.sibling=null}return u.child}function Mo(e,u){return(e.lanes&u)!==0?!0:(e=e.dependencies,!!(e!==null&&Kc(e)))}function M3(e,u,t){switch(u.tag){case 3:lt(u,u.stateNode.containerInfo),Kn(u,su,e.memoizedState.cache),Ul();break;case 27:case 5:Sl(u);break;case 4:lt(u,u.stateNode.containerInfo);break;case 10:Kn(u,u.type,u.memoizedProps.value);break;case 31:if(u.memoizedState!==null)return u.flags|=128,no(u),null;break;case 13:var l=u.memoizedState;if(l!==null){if(l.dehydrated!==null)return ul(u),u.flags|=128,null;l=Bl(e,u,t,!1);var i=u.child.childLanes;return l||(t&i)!==0?M1(e,u,t):(ul(u),e=_n(e,u,t),e!==null?e.sibling:null)}ul(u);break;case 19:if(u.flags&128)return jo(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 jo(e,u,t);u.flags|=128}if(i=u.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Ui(u,Nu.current),l)break;return null;case 22:return u.lanes=0,C1(e,u,t,u.pendingProps);case 24:Kn(u,su,e.memoizedState.cache)}return _n(e,u,t)}function U1(e,u,t){if(e!==null)if(e.memoizedProps!==u.pendingProps)fu=!0;else{if(!Mo(e,t)&&(u.flags&128)===0)return fu=!1,M3(e,u,t);fu=(e.flags&131072)!==0}else fu=!1,De&&(u.flags&1048576)!==0&&md(u,Ni,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")Bs(e)?(l=Ql(e,l),u.tag=1,u=z1(null,u,e,l,t)):(u.tag=0,u=Do(null,u,e,l,t));else{if(e!=null){var i=e.$$typeof;if(i===W){u.tag=11,u=A1(null,u,e,l,t);break e}else if(i===xe){u.tag=14,u=T1(null,u,e,l,t);break e}else if(i===Te){u.tag=10,u.type=e,u=L1(null,u,t);break e}}throw u=Oe(e)||e,Error(r(306,u,""))}}return u;case 0:return Do(e,u,u.type,u.pendingProps,t);case 1:return l=u.type,i=Ql(l,u.pendingProps),z1(e,u,l,i,t);case 3:e:{if(lt(u,u.stateNode.containerInfo),e===null)throw Error(r(387));l=u.pendingProps;var c=u.memoizedState;i=c.element,Ws(e,u),Li(u,l,null,t);var d=u.memoizedState;if(l=d.cache,Kn(u,su,l),l!==c.cache&&Xs(u,[su],t,!0),Ri(),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=j1(e,u,l,t);break e}else if(l!==i){i=xt(Error(r(424)),u),ki(i),u=j1(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=At(e.firstChild),xu=u,De=!0,Qn=null,Et=!0,t=Cd(u,null,l,t),u.child=t;t;)t.flags=t.flags&-3|134221824,t=t.sibling;else{if(Ul(),l===i){u=_n(e,u,t);break e}bu(e,u,l,t)}u=u.child}return u;case 26:return ja(e,u),e===null?(t=rm(u.type,null,u.pendingProps,null))?u.memoizedState=t:De||(u.stateNode=qh(u.type,u.pendingProps,Iu.current,u)):u.memoizedState=rm(u.type,e.memoizedProps,u.pendingProps,e.memoizedState),null;case 27:return Sl(u),e===null&&De&&(l=u.stateNode=lm(u.type,u.pendingProps,Iu.current),xu=u,Et=!0,i=Qe,ol(u.type)?(k0=i,Qe=At(l.firstChild)):Qe=i),bu(e,u,u.pendingProps.children,t),ja(e,u),e===null&&(u.flags|=4194304),u.child;case 5:return e===null&&De&&((i=l=Qe)&&(l=Cb(l,u.type,u.pendingProps,Et),l!==null?(u.stateNode=l,xu=u,Qe=At(l.firstChild),Et=!1,i=!0):i=!1),i||In(u)),Sl(u),i=u.type,c=u.pendingProps,d=e!==null?e.memoizedProps:null,l=c.children,v0(i,c)?l=null:d!==null&&v0(i,d)&&(u.flags|=32),u.memoizedState!==null&&(i=io(e,u,E3,null,null,t),$a._currentValue=i),ja(e,u),bu(e,u,l,t),u.child;case 6:return e===null&&De&&((e=t=Qe)&&(t=Nb(t,u.pendingProps,Et),t!==null?(u.stateNode=t,xu=u,Qe=null,e=!0):e=!1),e||In(u)),null;case 13:return M1(e,u,t);case 4:return lt(u,u.stateNode.containerInfo),l=u.pendingProps,e===null?u.child=Zl(u,null,l,t):bu(e,u,l,t),u.child;case 11:return A1(e,u,u.type,u.pendingProps,t);case 7:return l=u.pendingProps,ja(e,u),bu(e,u,l,t),u.child;case 8:return bu(e,u,u.pendingProps.children,t),u.child;case 12:return bu(e,u,u.pendingProps.children,t),u.child;case 10:return L1(e,u,t);case 9:return i=u.type._context,l=u.pendingProps.children,Hl(u),i=Du(i),l=l(i),u.flags|=1,bu(e,u,l,t),u.child;case 14:return T1(e,u,u.type,u.pendingProps,t);case 15:return D1(e,u,u.type,u.pendingProps,t);case 19:return jo(e,u,t);case 31:return z3(e,u,t);case 22:return C1(e,u,t,u.pendingProps);case 24:return Hl(u),l=Du(su),e===null?(i=Ks(),i===null&&(i=Xe,c=Qs(),i.pooledCache=c,c.refCount++,c!==null&&(i.pooledCacheLanes|=t),i=c),u.memoizedState={parent:l,cache:i},Js(u),Kn(u,su,i)):((e.lanes&t)!==0&&(Ws(e,u),Li(u,null,null,t),Ri()),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),Kn(u,su,l)):(l=c.cache,Kn(u,su,l),l!==i.cache&&Xs(u,[su],t,!0))),bu(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:De&&Xc(u),e!==null&&e.memoizedProps.name!==l.name?u.flags|=4194816:ja(e,u),bu(e,u,l.children,t),u.child;case 29:throw u.pendingProps}throw Error(r(156,u.tag))}function En(e){e.flags|=4}function wo(e,u,t,l,i){var c;if((c=(e.mode&32)!==0)&&(c=t===null?dm(u,l):dm(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(yh())e.flags|=8192;else throw Vl=Pc,$s}else e.flags&=-16777217}function F1(e,u){if(u.type!=="stylesheet"||(u.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!hm(u))if(yh())e.flags|=8192;else throw Vl=Pc,$s}function yr(e,u){u!==null&&(e.flags|=4),e.flags&16384&&(u=e.tag!==22?Ln():536870912,e.lanes|=u,Ua|=u)}function Gi(e,u){if(!De)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 w3(e,u,t){var l=u.pendingProps;switch(Gs(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),yn(su),cn(),t.pendingContext&&(t.context=t.pendingContext,t.pendingContext=null),(e===null||e.child===null)&&(Ta(u)?En(u):e===null||e.memoizedState.isDehydrated&&(u.flags&256)===0||(u.flags|=1024,Vs())),Ie(u),null;case 26:var i=u.type,c=u.memoizedState;return e===null?(En(u),c!==null?(Ie(u),F1(u,c)):(Ie(u),wo(u,i,null,l,t))):c?c!==e.memoizedState?(En(u),Ie(u),F1(u,c)):(Ie(u),u.flags&=-16777217):(e=e.memoizedProps,e!==l&&En(u),Ie(u),wo(u,i,e,l,t)),null;case 27:if(Al(u),t=Iu.current,i=u.type,e!==null&&u.stateNode!=null)e.memoizedProps!==l&&En(u);else{if(!l){if(u.stateNode===null)throw Error(r(166));return Ie(u),u.subtreeFlags&=-33554433,null}e=Le.current,Ta(u)?bd(u):(e=lm(i,l,t),u.stateNode=e,En(u))}return Ie(u),u.subtreeFlags&=-33554433,null;case 5:if(Al(u),i=u.type,e!==null&&u.stateNode!=null)e.memoizedProps!==l&&En(u);else{if(!l){if(u.stateNode===null)throw Error(r(166));return Ie(u),u.subtreeFlags&=-33554433,null}if(c=Le.current,Ta(u))bd(u);else{var d=Pi(Iu.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[mu]=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(Ou(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&&En(u)}}return Ie(u),u.subtreeFlags&=-33554433,wo(u,u.type,e===null?null:e.memoizedProps,u.pendingProps,t),null;case 6:if(e&&u.stateNode!=null)e.memoizedProps!==l&&En(u);else{if(typeof l!="string"&&u.stateNode===null)throw Error(r(166));if(e=Iu.current,Ta(u)){if(e=u.stateNode,t=u.memoizedProps,l=null,i=xu,i!==null)switch(i.tag){case 27:case 5:l=i.memoizedProps}e[mu]=u,e=!!(e.nodeValue===t||l!==null&&l.suppressHydrationWarning===!0||Uh(e.nodeValue,t)),e||In(u,!0)}else e=Pi(e).createTextNode(l),e[mu]=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[mu]=u}else Ul(),(u.flags&128)===0&&(u.memoizedState=null),u.flags|=4;Ie(u),e=!1}else t=Vs(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=t),e=!0;if(!e)return u.flags&256?(ct(u),u):(ct(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[mu]=u}else Ul(),(u.flags&128)===0&&(u.memoizedState=null),u.flags|=4;Ie(u),i=!1}else i=Vs(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),i=!0;if(!i)return u.flags&256?(ct(u),u):(ct(u),null)}return ct(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),yr(u,u.updateQueue),Ie(u),null);case 4:return cn(),e===null&&p0(u.stateNode.containerInfo),u.flags|=67108864,Ie(u),null;case 10:return yn(u.type),Ie(u),null;case 19:if(lo(u),l=u.memoizedState,l===null)return Ie(u),null;if(i=(u.flags&128)!==0,c=l.rendering,c===null)if(i)Gi(l,!1);else{if(au!==0||e!==null&&(e.flags&128)!==0)for(e=u.child;e!==null;){if(c=nr(e),c!==null){for(u.flags|=128,Gi(l,!1),e=c.updateQueue,u.updateQueue=e,yr(u,e),u.subtreeFlags=0,e=t,t=u.child;t!==null;)fd(t,e),t=t.sibling;return Ui(u,Nu.current&1|2),De&&bn(u,l.treeForkCount),u.child}e=e.sibling}l.tail!==null&&Ru()>Or&&(u.flags|=128,i=!0,Gi(l,!1),u.lanes=4194304)}else{if(!i)if(e=nr(c),e!==null){if(u.flags|=128,i=!0,e=e.updateQueue,u.updateQueue=e,yr(u,e),Gi(l,!0),l.tail===null&&l.tailMode!=="collapsed"&&l.tailMode!=="visible"&&!c.alternate&&!De)return Ie(u),null}else 2*Ru()-l.renderingStartTime>Or&&t!==536870912&&(u.flags|=128,i=!0,Gi(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=Ru(),e.sibling=null,c=Nu.current,c=i?c&1|2:c&1,l.tailMode==="visible"||l.tailMode==="collapsed"||!t||De?Ui(u,c):(t=c,F(Cu,u),F(Nu,t),Bu===null&&(Bu=u)),De&&bn(u,l.treeForkCount),e}return Ie(u),null;case 22:case 23:return ct(u),to(),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&&yr(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&&X(Gl),null;case 24:return t=null,e!==null&&(t=e.memoizedState.cache),u.memoizedState.cache!==t&&(u.flags|=2048),yn(su),Ie(u),null;case 25:return null;case 30:return u.flags|=33554432,Ie(u),null}throw Error(r(156,u.tag))}function R3(e,u){switch(Gs(u),u.tag){case 1:return e=u.flags,e&65536?(u.flags=e&-65537|128,u):null;case 3:return yn(su),cn(),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(ct(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(ct(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 lo(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 cn(),null;case 10:return yn(u.type),null;case 22:case 23:return ct(u),to(),e!==null&&X(Gl),e=u.flags,e&65536?(u.flags=e&-65537|128,u):null;case 24:return yn(su),null;case 25:return null;default:return null}}function B1(e,u){switch(Gs(u),u.tag){case 3:yn(su),cn();break;case 26:case 27:case 5:Al(u);break;case 4:cn();break;case 31:u.memoizedState!==null&&ct(u);break;case 13:ct(u);break;case 19:lo(u);break;case 10:yn(u.type);break;case 22:case 23:ct(u),to(),e!==null&&X(Gl);break;case 24:yn(su)}}function Yi(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){Ye(u,u.return,g)}}function nl(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(w){Ye(i,E,w)}}}l=l.next}while(l!==c)}}catch(w){Ye(u,u.return,w)}}function H1(e){var u=e.updateQueue;if(u!==null){var t=e.stateNode;try{kd(u,t)}catch(l){Ye(e,e.return,l)}}}function q1(e,u,t){t.props=Ql(e.type,e.memoizedProps),t.state=e.memoizedState;try{t.componentWillUnmount()}catch(l){Ye(e,u,l)}}function Qt(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=hn(e.memoizedProps,i);(i.ref===null||i.ref.name!==c)&&(i.ref=Ih(c)),l=i.ref;break;case 7:if(e.stateNode===null){var d=new dt(e);y(e.child,!1,Tb,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){Ye(e,u,g)}}function ku(e,u){var t=e.ref,l=e.refCleanup;if(t!==null)if(typeof l=="function")try{l()}catch(i){Ye(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){Ye(e,u,i)}else t.current=null}function xr(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++)em(e.stateNode,u[t])}function G1(e){for(var u=e.return;u!==null&&(Lo(u)&&em(e.stateNode,u.stateNode),!Ro(u));)u=u.return}function Vi(e){for(var u=e.return;u!==null&&(Lo(u)&&Db(e.stateNode,u.stateNode),!Ro(u));)u=u.return}function Ro(e){return e.tag===5||e.tag===3||e.tag===27}function Lo(e){return e&&e.tag===7&&e.stateNode!==null}function Uo(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){Ye(e,e.return,i)}}function Fo(e,u,t){try{var l=e.stateNode;cb(l,e.type,t,u),l[Uu]=u}catch(i){Ye(e,e.return,i)}}function Y1(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&ol(e.type)||e.tag===4}function Bo(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Y1(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&&ol(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 Ho(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=He)),xr(e,l),Ae=!0;else if(i!==4&&(i===27&&(xr(e,l),l=null,ol(e.type)&&(t=e.stateNode,u=null)),e=e.child,e!==null))for(Ho(e,u,t,l),e=e.sibling;e!==null;)Ho(e,u,t,l),e=e.sibling}function vr(e,u,t,l){var i=e.tag;if(i===5||i===6)i=e.stateNode,u?t.insertBefore(i,u):t.appendChild(i),xr(e,l),Ae=!0;else if(i!==4&&(i===27&&(xr(e,l),l=null,ol(e.type)&&(t=e.stateNode)),e=e.child,e!==null))for(vr(e,u,t,l),e=e.sibling;e!==null;)vr(e,u,t,l),e=e.sibling}function V1(e){var u=e.stateNode,t=e.memoizedProps;try{for(var l=e.type,i=u.attributes;i.length;)u.removeAttributeNode(i[0]);Ou(u,l,t),u[mu]=e,u[Uu]=t}catch(c){Ye(e,e.return,c)}}var _r=!1,rt=null;function Z1(e){(e.tag===30||(e.subtreeFlags&33554432)!==0)&&(_r=!0)}var It=null;function X1(){var e=It;return It=null,e}var Wu=0;function Ma(e,u,t,l,i){return Wu=0,Q1(e.child,u,t,l,i)}function Q1(e,u,t,l,i){for(var c=!1;e!==null;){if(e.tag===5){var d=e.stateNode;if(l!==null){var g=S0(d);l.push(g),g.view&&(c=!0)}else c||S0(d).view&&(c=!0);_r=!0,Xh(d,Wu===0?u:u+"_"+Wu,t),Wu++}else(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&i||Q1(e.child,u,t,l,i)&&(c=!0));e=e.sibling}return c}function Kt(e,u){for(;e!==null;)e.tag===5?Qh(e.stateNode,e.memoizedProps):(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&u||Kt(e.child,u)),e=e.sibling}function Er(e){if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if((e.tag!==22||e.memoizedState===null)&&(Er(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=mn(u.default,u.share),u!=="none"&&(Ma(e,t,u,null,!1)||Kt(e.child,!1))}e=e.sibling}}function qo(e,u){if(e.tag===30){var t=e.stateNode,l=e.memoizedProps,i=hn(l,t),c=mn(l.default,t.paired?l.share:l.enter);c!=="none"?Ma(e,i,c,null,!1)?(Er(e),t.paired||u||qa(e,l.onEnter)):Kt(e.child,!1):Er(e)}else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)qo(e,u),e=e.sibling;else Er(e)}function Go(e){if(rt!==null&&rt.size!==0){var u=rt;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=mn(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)):Kt(e.child,!1)),u.delete(l),u.size===0)break}}}Go(e)}e=e.sibling}}}function Yo(e){if(e.tag===30){var u=e.memoizedProps,t=hn(u,e.stateNode),l=rt!==null?rt.get(t):void 0,i=mn(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,rt.delete(t),qa(e,u.onShare)):qa(e,u.onExit):Kt(e.child,!1)),rt!==null&&Go(e)}else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)Yo(e),e=e.sibling;else rt!==null&&Go(e)}function I1(e){for(e=e.child;e!==null;){if(e.tag===30){var u=e.memoizedProps,t=hn(u,e.stateNode);u=mn(u.default,u.update),e.flags&=-5,u!=="none"&&Ma(e,t,u,e.memoizedState=[],!1)}else(e.subtreeFlags&33554432)!==0&&I1(e);e=e.sibling}}function Vo(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,Kt(e.child,!1))}Vo(e)}e=e.sibling}}function Sr(e){if(e.tag===30)e.stateNode.paired=null,Kt(e.child,!1),Vo(e);else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)Sr(e),e=e.sibling;else Vo(e)}function K1(e){for(e=e.child;e!==null;)e.tag===30?Kt(e.child,!1):(e.subtreeFlags&33554432)!==0&&K1(e),e=e.sibling}function Zo(e,u,t,l,i,c,d){for(var g=!1;u!==null;){if(u.tag===5){var E=u.stateNode;if(c!==null&&Wu<c.length){var O=c[Wu],w=S0(E);(O.view||w.view)&&(g=!0);var U;if(U=(e.flags&4)===0)if(w.clip)U=!0;else{U=O.rect;var N=w.rect;U=U.y!==N.y||U.x!==N.x||U.height!==N.height||U.width!==N.width}U&&(e.flags|=4),w.abs?w=!O.abs:(O=O.rect,w=w.rect,w=O.height!==w.height||O.width!==w.width),w&&(e.flags|=32)}else e.flags|=32;(e.flags&4)!==0&&Xh(E,Wu===0?t:t+"_"+Wu,i),g&&(e.flags&4)!==0||(It===null&&(It=[]),It.push(E,Wu===0?l:l+"_"+Wu,u.memoizedProps)),Wu++}else(u.tag!==22||u.memoizedState===null)&&(u.tag===30&&d?e.flags|=u.flags&32:Zo(e,u.child,t,l,i,c,d)&&(g=!0));u=u.sibling}return g}function $1(e,u){for(e=e.child;e!==null;){if(e.tag===30){var t=e.memoizedProps,l=e.stateNode,i=hn(t,l),c=mn(t.default,t.update),d;d=e.memoizedState,e.memoizedState=null,l=e;var g=e.child;Wu=0,i=Zo(l,g,i,i,c,d,!1),(e.flags&4)!==0&&i&&qa(e,t.onUpdate)}else(e.subtreeFlags&33554432)!==0&&$1(e);e=e.sibling}}var vu=!1,qe=!1,$t=!1,Xo=!1,J1=typeof WeakSet=="function"?WeakSet:Set,_u=null,Jt=!1,Zi=!1,Ar=!1,Qo=!1;function L3(e,u,t){if(e=e.containerInfo,y0=Ja,e=ud(e),js(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,w=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&&++w===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(x0={focusedElem:e,selectionRange:l},Ja=!1,t=(t&335544064)===t,_u=u,u=t?9270:1024;_u!==null;){if(e=_u,t&&(l=e.deletions,l!==null))for(c=0;c<l.length;c++)t&&Yo(l[c]);if(e.alternate===null&&(e.flags&2)!==0)t&&Z1(e),Tr(t);else{if(e.tag===22){if(l=e.alternate,e.memoizedState!==null){l!==null&&l.memoizedState===null&&t&&Yo(l),Tr(t);continue}else if(l!==null&&l.memoizedState!==null){t&&Z1(e),Tr(t);continue}}l=e.child,(e.subtreeFlags&u)!==0&&l!==null?(l.return=e,_u=l):(t&&I1(e),Tr(t))}}rt=null}function Tr(e){for(;_u!==null;){var u=_u,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){Ye(u,u.return,g)}}break;case 3:if((i&1024)!==0){if(l=u.stateNode.containerInfo,t=l.nodeType,t===9)D0(l);else if(t===1)switch(l.nodeName){case"HEAD":case"HTML":case"BODY":D0(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=hn(l.memoizedProps,l.stateNode),i=u.memoizedProps,i=mn(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,_u=l;break}_u=u.return}}function W1(e,u,t){var l=t.flags;switch(t.tag){case 0:case 11:case 15:Wt(e,t),l&4&&Yi(5,t);break;case 1:if(Wt(e,t),l&4)if(e=t.stateNode,u===null)try{e.componentDidMount()}catch(d){Ye(t,t.return,d)}else{var i=Ql(t.type,u.memoizedProps);u=u.memoizedState;try{e.componentDidUpdate(i,u,e.__reactInternalSnapshotBeforeUpdate)}catch(d){Ye(t,t.return,d)}}l&64&&H1(t),l&512&&Qt(t,t.return);break;case 3:if(Wt(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{kd(e,u)}catch(d){Ye(t,t.return,d)}}break;case 27:u===null&&l&4&&V1(t);case 26:case 5:Wt(e,t),u===null&&l&4&&Uo(t),l&512&&Qt(t,t.return);break;case 12:Wt(e,t);break;case 31:Wt(e,t),l&4&&th(e,t);break;case 13:Wt(e,t),l&4&&nh(e,t),l&64&&(e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(t=I3.bind(null,t),kb(e,t))));break;case 22:if(l=t.memoizedState!==null||vu,!l){var c=u!==null&&u.memoizedState!==null||qe;u=vu,i=qe,vu=l,(qe=c)&&!i?(l=2,(t.subtreeFlags&8772)!==0&&(l|=1),Rt(e,t,l)):Wt(e,t),vu=u,qe=i}break;case 30:Wt(e,t),l&512&&Qt(t,t.return);break;case 7:l&512&&Qt(t,t.return);default:Wt(e,t)}}function Io(e,u){for(e=e.child;e!==null;)P1(e,u),e=e.sibling}function P1(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){Ye(e,e.return,E)}Ko(e,u);break;case 6:try{e.stateNode.nodeValue=u?"":e.memoizedProps,Ae=!0}catch(E){Ye(e,e.return,E)}break;case 18:try{var g=e.stateNode;u?Zh(g,!0):Zh(e.stateNode,!1)}catch(E){Ye(e,e.return,E)}break;case 22:case 23:e.memoizedState===null&&Io(e,u);break;default:Io(e,u)}}function Ko(e,u){if(e.subtreeFlags&67108864)for(e=e.child;e!==null;){e:{var t=e,l=u;switch(t.tag){case 4:P1(t,l);break e;case 22:t.memoizedState===null&&Ko(t,l);break e;default:Ko(t,l)}}e=e.sibling}}function eh(e){var u=e.alternate;u!==null&&(e.alternate=null,eh(u)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(u=e.stateNode,u!==null&&Bn(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 Pe=null,Pu=!1;function Mt(e,u,t){for(t=t.child;t!==null;)uh(e,u,t),t=t.sibling}function uh(e,u,t){if(Lu&&typeof Lu.onCommitFiberUnmount=="function")try{Lu.onCommitFiberUnmount(On,t)}catch{}switch(t.tag){case 26:qe||ku(t,u),Mt(e,u,t),t.memoizedState?t.memoizedState.count--:t.stateNode&&!qe&&(t=t.stateNode,t.parentNode.removeChild(t));break;case 27:qe||ku(t,u),Vi(t);var l=Pe,i=Pu;ol(t.type)&&(Pe=t.stateNode,Pu=!1),Mt(e,u,t),am(t.stateNode,t.type,t.memoizedProps),Pe=l,Pu=i;break;case 5:qe||ku(t,u),Vi(t);case 6:if(t.tag===6&&Vi(t),l=Pe,i=Pu,Pe=null,Mt(e,u,t),Pe=l,Pu=i,Pe!==null)if(Pu)try{(Pe.nodeType===9?Pe.body:Pe.nodeName==="HTML"?Pe.ownerDocument.body:Pe).removeChild(t.stateNode),Ae=!0}catch(c){Ye(t,u,c)}else try{Pe.removeChild(t.stateNode),Ae=!0}catch(c){Ye(t,u,c)}break;case 18:Pe!==null&&(Pu?(e=Pe,Vh(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,t.stateNode),Wa(e)):Vh(Pe,t.stateNode));break;case 4:l=Pe,i=Pu,Pe=t.stateNode.containerInfo,Pu=!0,Mt(e,u,t),Pe=l,Pu=i;break;case 0:case 11:case 14:case 15:nl(2,t,u),qe||nl(4,t,u),Mt(e,u,t);break;case 1:qe||(ku(t,u),l=t.stateNode,typeof l.componentWillUnmount=="function"&&q1(t,u,l)),Mt(e,u,t);break;case 21:Mt(e,u,t);break;case 22:qe=(l=qe)||t.memoizedState!==null,Mt(e,u,t),qe=l;break;case 30:ku(t,u),Mt(e,u,t);break;case 7:qe||ku(t,u),Mt(e,u,t);break;default:Mt(e,u,t)}}function th(e,u){if(u.memoizedState===null&&(e=u.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Wa(e)}catch(t){Ye(u,u.return,t)}}}function nh(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){Ye(u,u.return,t)}}function U3(e){switch(e.tag){case 31:case 13:case 19:var u=e.stateNode;return u===null&&(u=e.stateNode=new J1),u;case 22:return e=e.stateNode,u=e._retryCache,u===null&&(u=e._retryCache=new J1),u;default:throw Error(r(435,e.tag))}}function Dr(e,u){var t=U3(e);u.forEach(function(l){if(!t.has(l)){t.add(l);var i=K3.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(ol(E.type)){Pe=E.stateNode,Pu=!1;break e}break;case 5:Pe=E.stateNode,Pu=!1;break e;case 3:case 4:Pe=E.stateNode.containerInfo,Pu=!0;break e}E=E.return}if(Pe===null)throw Error(r(160));uh(d,g,c),Pe=null,Pu=!1,d=c.alternate,d!==null&&(d.return=null),c.return=null}if(u.subtreeFlags&13886)for(u=u.child;u!==null;)lh(u,e,t),u=u.sibling}var wt=null;function lh(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&&(nl(3,e,e.return),Yi(3,e),nl(5,e,e.return));break;case 1:Zu(u,e,t),Xu(e),i&512&&(qe||l===null||ku(l,l.return)),i&64&&vu&&(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&&(qe||l===null||ku(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(vu)e.stateNode=qh(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[sn]||l[mu]||l.namespaceURI==="http://www.w3.org/2000/svg"||l.hasAttribute("itemprop"))&&(l=i.createElement(u),i.head.insertBefore(l,i.querySelector("head > title"))),Ou(l,u,t),l[mu]=e,ru(l),u=l;break e;case"link":if(c=fm("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),Ou(l,u,t),i.head.appendChild(l);break;case"meta":if(c=fm("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),Ou(l,u,t),i.head.appendChild(l);break;default:throw Error(r(468,u))}l[mu]=e,ru(l),u=l}e.stateNode=u}else vu||M0(c,e.type,e.stateNode);else e.stateNode=om(c,t,e.memoizedProps);else i!==t?(i===null?(u=l.stateNode,u===null||qe||u.parentNode.removeChild(u)):i.count--,t===null?vu||M0(c,e.type,e.stateNode):om(c,t,e.memoizedProps)):t===null&&e.stateNode!==null&&Fo(e,e.memoizedProps,l.memoizedProps);break;case 27:Zu(u,e,t),Xu(e),i&512&&(qe||l===null||ku(l,l.return)),l!==null&&i&4&&Fo(e,e.memoizedProps,l.memoizedProps);break;case 5:if(c=$t,$t=!1,Zu(u,e,t),$t=c,Xu(e),i&512&&(qe||l===null||ku(l,l.return)),e.flags&32){u=e.stateNode;try{q(u,""),Ae=!0}catch(w){Ye(e,e.return,w)}}i&4&&e.stateNode!=null&&(u=e.memoizedProps,Fo(e,u,l!==null?l.memoizedProps:u)),i&1024&&(Xo=!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,Ae=!0}catch(w){Ye(e,e.return,w)}}break;case 3:if(Ae=!1,qr=null,c=wt,wt=ec(u.containerInfo),Zu(u,e,t),wt=c,Xu(e),i&4&&l!==null&&l.memoizedState.isDehydrated)try{Wa(u.containerInfo)}catch(w){Ye(e,e.return,w)}Xo&&(Xo=!1,ah(e)),Ae=!1;break;case 4:i=$t,$t=vu,l=qn(),c=wt,wt=ec(e.stateNode.containerInfo),Zu(u,e,t),Xu(e),wt=c,Ae&&Zi&&(Ar=!0),Ae=l,$t=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,Dr(e,u)));break;case 13:Zu(u,e,t),Xu(e),e.child.flags&8192&&e.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(kr=Ru()),i&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,Dr(e,u)));break;case 22:c=e.memoizedState!==null,d=l!==null&&l.memoizedState!==null;var g=vu,E=qe,O=$t;vu=g||c,$t=O||c,qe=E||d,Zu(u,e,t),qe=E,$t=O,vu=g,Xu(e),i&8192&&(u=e.stateNode,u._visibility=c?u._visibility&-2:u._visibility|1,!c||l===null||d||vu||qe||(u=d||qe,t=vu,l=qe,vu=c||vu,qe=u,ll(e,2),vu=t,qe=l),!c&&$t||Io(e,c)),i&4&&(u=e.updateQueue,u!==null&&(t=u.retryQueue,t!==null&&(u.retryQueue=null,Dr(e,t))));break;case 19:Zu(u,e,t),Xu(e),i&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,Dr(e,u)));break;case 30:i&512&&(qe||l===null||ku(l,l.return)),i=qn(),c=Zi,d=(t&335544064)===t,g=e.memoizedProps,Zi=d&&mn(g.default,g.update)!=="none",Zu(u,e,t),Xu(e),d&&l!==null&&Ae&&(e.flags|=4),Zi=c,Ae=i;break;case 21:break;case 7:i&512&&(qe||l===null||ku(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(Y1(l)){t=l;break}l=l.return}l=null;for(var i=e.return;i!==null;){if(Lo(i)){var c=i.stateNode;l===null?l=[c]:l.push(c)}if(Ro(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=Bo(e);vr(e,E,g,d);break;case 5:var O=t.stateNode;t.flags&32&&(q(O,""),t.flags&=-33);var w=Bo(e);vr(e,w,O,d);break;case 3:case 4:var U=t.stateNode.containerInfo,N=Bo(e);Ho(e,N,U,d);break;default:throw Error(r(161))}}catch(j){Ye(e,e.return,j)}e.flags&=-3}u&4096&&(e.flags&=-4097)}function ah(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var u=e;ah(u),u.tag===5&&u.flags&1024&&(u=u.stateNode,Ja=!0,u.reset(),Ja=!1),e=e.sibling}}function wa(e,u){if(u.subtreeFlags&9270)for(u=u.child;u!==null;)ih(u,e),u=u.sibling;else $1(u)}function ih(e,u){var t=e.alternate;if(t===null)qo(e,!1);else switch(e.tag){case 3:if(Qo=Jt=!1,X1(),wa(u,e),!Jt&&!Ar){if(e=It,e!==null)for(var l=0;l<e.length;l+=3){t=e[l];var i=e[l+1];Qh(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"})),Qo=!0}It=null;break;case 5:wa(u,e);break;case 4:l=Jt,Jt=!1,wa(u,e),Jt&&(Ar=!0),Jt=l;break;case 22:e.memoizedState===null&&(t.memoizedState!==null?qo(e,!1):wa(u,e));break;case 30:l=Jt,i=X1(),Jt=!1,wa(u,e),Jt&&(e.flags|=4);var c=e.memoizedProps,d=e.stateNode;u=hn(c,d),d=hn(t.memoizedProps,d);var g=mn(c.default,c.update);g==="none"?u=!1:(c=t.memoizedState,t.memoizedState=null,t=e.child,Wu=0,u=Zo(e,t,u,d,g,c,!0),Wu!==(c===null?0:c.length)&&(e.flags|=32)),(e.flags&4)!==0&&u?(qa(e,e.memoizedProps.onUpdate),It=i):i!==null&&(i.push.apply(i,It),It=i),Jt=(e.flags&32)!==0?!0:l;break;default:wa(u,e)}}function Wt(e,u){if(u.subtreeFlags&8772)for(u=u.child;u!==null;)W1(e,u.alternate,u),u=u.sibling}function ll(e,u){for(e=e.child;e!==null;){var t=e,l=u;switch(t.tag){case 0:case 11:case 14:case 15:nl(4,t,t.return),ll(t,l);break;case 1:ku(t,t.return);var i=t.stateNode;typeof i.componentWillUnmount=="function"&&q1(t,t.return,i),ll(t,l);break;case 27:(l&2)!==0&&am(t.stateNode,t.type,t.memoizedProps);case 5:ku(t,t.return),t.tag!==5&&t.tag!==27||Vi(t),ll(t,l);break;case 6:Vi(t);break;case 26:ku(t,t.return),i=t.stateNode,t.memoizedState!==null||i===null||qe||i.parentNode.removeChild(i),ll(t,l);break;case 22:t.memoizedState===null&&ll(t,l);break;case 30:ku(t,t.return),ll(t,l);break;case 7:ku(t,t.return);default:ll(t,l)}e=e.sibling}}function Rt(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:Rt(i,c,t),Yi(4,c);break;case 1:if(Rt(i,c,t),l=c,i=l.stateNode,typeof i.componentDidMount=="function")try{i.componentDidMount()}catch(w){Ye(l,l.return,w)}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++)Nd(O[i],E)}catch(w){Ye(l,l.return,w)}}g&&d&64&&H1(c),Qt(c,c.return);break;case 27:(t&2)!==0&&V1(c);case 5:c.tag!==5&&c.tag!==27||G1(c),Rt(i,c,t),g&&l===null&&d&4&&Uo(c),Qt(c,c.return);break;case 6:G1(c);break;case 26:E=c.stateNode,c.memoizedState!==null||E===null||vu||M0(ec(E.ownerDocument),c.type,E),Rt(i,c,t),g&&l===null&&d&4&&Uo(c),Qt(c,c.return);break;case 12:Rt(i,c,t);break;case 31:Rt(i,c,t),g&&d&4&&th(i,c);break;case 13:Rt(i,c,t),g&&d&4&&nh(i,c);break;case 22:c.memoizedState===null&&Rt(i,c,t),Qt(c,c.return);break;case 30:Rt(i,c,t),Qt(c,c.return);break;case 7:Qt(c,c.return);default:Rt(i,c,t)}u=u.sibling}}function $o(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&&Oi(t))}function Jo(e,u){e=null,u.alternate!==null&&(e=u.alternate.memoizedState.cache),u=u.memoizedState.cache,u!==e&&(u.refCount++,e!=null&&Oi(e))}function St(e,u,t,l){var i=(t&335544064)===t;if(u.subtreeFlags&(i?10262:10256))for(u=u.child;u!==null;)ch(e,u,t,l),u=u.sibling;else i&&K1(u)}function ch(e,u,t,l){var i=(t&335544064)===t;i&&u.alternate===null&&u.return!==null&&u.return.alternate!==null&&Sr(u);var c=u.flags;switch(u.tag){case 0:case 11:case 15:St(e,u,t,l),c&2048&&Yi(9,u);break;case 1:St(e,u,t,l);break;case 3:St(e,u,t,l),i&&Qo&&(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&&Oi(c)));break;case 12:if(c&2048){St(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){Ye(u,u.return,O)}}else St(e,u,t,l);break;case 31:St(e,u,t,l);break;case 13:St(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&&Sr(g),d._visibility&2?St(e,u,t,l):Xi(e,u)):(i&&g!==null&&g.memoizedState!==null&&Sr(u),d._visibility&2?St(e,u,t,l):(d._visibility|=2,Ra(e,u,t,l,(u.subtreeFlags&10256)!==0||!1))),c&2048&&$o(g,u);break;case 24:St(e,u,t,l),c&2048&&Jo(u.alternate,u);break;case 30:i&&(c=u.alternate,c!==null&&(Kt(c.child,!0),Kt(u.child,!0))),St(e,u,t,l);break;default:St(e,u,t,l)}}function Ra(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:Ra(c,d,g,E,i),Yi(8,d);break;case 23:break;case 22:var w=d.stateNode;d.memoizedState!==null?w._visibility&2?Ra(c,d,g,E,i):Xi(c,d):(w._visibility|=2,Ra(c,d,g,E,i)),i&&O&2048&&$o(d.alternate,d);break;case 24:Ra(c,d,g,E,i),i&&O&2048&&Jo(d.alternate,d);break;default:Ra(c,d,g,E,i)}u=u.sibling}}function Xi(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:Xi(t,l),i&2048&&$o(l.alternate,l);break;case 24:Xi(t,l),i&2048&&Jo(l.alternate,l);break;default:Xi(t,l)}u=u.sibling}}var Il=8192;function Kl(e,u,t){if(e.subtreeFlags&Il)for(e=e.child;e!==null;)rh(e,u,t),e=e.sibling}function rh(e,u,t){switch(e.tag){case 26:Kl(e,u,t),e.flags&Il&&(e.memoizedState!==null?Yb(t,wt,e.memoizedState,e.memoizedProps):(e=e.stateNode,(u&335544128)===u&&pm(t,e)));break;case 5:Kl(e,u,t),e.flags&Il&&(e=e.stateNode,(u&335544128)===u&&pm(t,e));break;case 3:case 4:var l=wt;wt=ec(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,rt===null&&(rt=new Map),rt.set(l,i)}Kl(e,u,t);break;default:Kl(e,u,t)}}function sh(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 Qi(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];_u=l,fh(l,e)}sh(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)oh(e),e=e.sibling}function oh(e){switch(e.tag){case 0:case 11:case 15:Qi(e),e.flags&2048&&nl(9,e,e.return);break;case 3:Qi(e);break;case 12:Qi(e);break;case 22:var u=e.stateNode;e.memoizedState!==null&&u._visibility&2&&(e.return===null||e.return.tag!==13)?(u._visibility&=-3,Cr(e)):Qi(e);break;default:Qi(e)}}function Cr(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];_u=l,fh(l,e)}sh(e)}for(e=e.child;e!==null;){switch(u=e,u.tag){case 0:case 11:case 15:nl(8,u,u.return),Cr(u);break;case 22:t=u.stateNode,t._visibility&2&&(t._visibility&=-3,Cr(u));break;default:Cr(u)}e=e.sibling}}function fh(e,u){for(;_u!==null;){var t=_u;switch(t.tag){case 0:case 11:case 15:nl(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:Oi(t.memoizedState.cache)}if(l=t.child,l!==null)l.return=t,_u=l;else e:for(t=e;_u!==null;){l=_u;var i=l.sibling,c=l.return;if(eh(l),l===t){_u=null;break e}if(i!==null){i.return=c,_u=i;break e}_u=c}}}var F3={getCacheForType:function(e){var u=Du(su),t=u.data.get(e);return t===void 0&&(t=e(),u.data.set(e,t)),t},cacheSignal:function(){return Du(su).controller.signal}},B3=typeof WeakMap=="function"?WeakMap:Map,Fe=0,Xe=null,Ne=null,ze=0,Ge=0,st=null,al=!1,La=!1,Wo=!1,Sn=0,au=0,il=0,$l=0,Nr=0,ot=0,Ua=0,Ii=null,et=null,Po=!1,kr=0,dh=0,Or=1/0,zr=null,cl=null,tu=0,Lt=null,Jl=null,Pt=0,e0=0,u0=null,hh=null,Fa=null,Ba=null,Ha=null,Ki=0,jr=null;function ft(){return(Fe&2)!==0&&ze!==0?ze&-ze:ee.T!==null?f0():oi()}function mh(){if(ot===0)if((ze&536870912)===0||De){var e=Mn;Mn<<=1,(Mn&3932160)===0&&(Mn=262144),ot=e}else ot=536870912;return e=Cu.current,e!==null&&(e.flags|=32),ot}function qa(e,u){if(u!=null){var t=e.stateNode,l=t.ref;l===null&&(l=t.ref=Ih(hn(e.memoizedProps,t))),Ba===null&&(Ba=[]),Ba.push(u.bind(null,l))}}function ut(e,u,t){(e===Xe&&(Ge===2||Ge===9)||e.cancelPendingCommit!==null)&&(Ga(e,0),rl(e,ze,ot,!1)),kl(e,t),((Fe&2)===0||e!==Xe)&&(e===Xe&&((Fe&2)===0&&($l|=t),au===4&&rl(e,ze,ot,!1)),en(e))}function ph(e,u,t){if((Fe&6)!==0)throw Error(r(327));var l=!t&&(u&127)===0&&(u&e.expiredLanes)===0||Rn(e,u),i=l?G3(e,u):n0(e,u,!0),c=l;do{if(i===0){La&&!l&&rl(e,u,0,!1);break}else{if(t=e.current.alternate,c&&!H3(t)){i=n0(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=Ii;var E=g.current.memoizedState.isDehydrated;if(E&&(Ga(g,d).flags|=256),d=n0(g,d,!1),d!==2&&d!==6){if(Wo&&!E){g.errorRecoveryDisabledLanes|=c,$l|=c,i=4;break e}c=et,et=i,c!==null&&(et===null?et=c:et.push.apply(et,c))}i=d}if(c=!1,i!==2)continue}}if(i===1){Ga(e,0),rl(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:rl(l,u,ot,!al);break e;case 2:et=null;break;case 3:case 5:break;default:throw Error(r(329))}if((u&62914560)===u&&(i=kr+300-Ru(),10<i)){if(rl(l,u,ot,!al),wn(l,0,!0)!==0)break e;Pt=u,l.timeoutHandle=E0(bh.bind(null,l,t,et,zr,Po,u,ot,$l,Ua,al,c,"Throttled",-0,0),i);break e}bh(l,t,et,zr,Po,u,ot,$l,Ua,al,c,null,-0,0)}}break}while(!0);en(e)}function bh(e,u,t,l,i,c,d,g,E,O,w,U,N,j){e.timeoutHandle=-1;var $=u.subtreeFlags,ne=(c&335544064)===c;if(U=null,(ne||$&8192||($&16785408)===16785408)&&(U={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:He},rt=null,rh(u,c,U),ne&&($=U,ne=e.containerInfo,ne=(ne.nodeType===9?ne:ne.ownerDocument).__reactViewTransition,ne!=null&&($.count++,$.waitingForViewTransition=!0,$=nc.bind($),ne.finished.then($,$))),$=(c&62914560)===c?kr-Ru():(c&4194048)===c?dh-Ru():0,$=Vb(U,$),$!==null)){Pt=c,e.cancelPendingCommit=$(Ah.bind(null,e,u,c,t,l,i,d,g,E,O,w,U,null,N,j)),rl(e,c,d,!O);return}Ah(e,u,c,t,l,i,d,g,E,O,w,U)}function H3(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(!it(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 rl(e,u,t,l){u=sa(e,u),u&=~Nr,u&=~$l,e.suspendedLanes|=u,e.pingedLanes&=~u,l&&(e.warmLanes|=u),l=e.expirationTimes;for(var i=u;0<i;){var c=31-yu(i),d=1<<c;l[c]=-1,i&=~d}t!==0&&rn(e,t,u)}function Mr(){return(Fe&6)===0?($i(0),!1):!0}function t0(){if(Ne!==null){if(Ge===0)var e=Ne.return;else e=Ne,gn=Fl=null,so(e),Na=null,Mi=0,e=Ne;for(;e!==null;)B1(e.alternate,e),e=e.return;Ne=null}}function Ga(e,u){var t=e.timeoutHandle;return t!==-1&&(e.timeoutHandle=-1,ob(t)),t=e.cancelPendingCommit,t!==null&&(e.cancelPendingCommit=null,t()),Pt=0,t0(),Xe=e,Ne=t=pn(e.current,null),ze=u,Ge=0,st=null,al=!1,La=Rn(e,u),Wo=!1,Ua=ot=Nr=$l=il=au=0,et=Ii=null,Po=!1,Sn=sa(e,u),qc(),t}function gh(e,u){_e=null,ee.H=dr,u===Ca||u===Wc?(u=Ad(),Ge=3):u===$s?(u=Ad(),Ge=4):Ge=u===To?8:u!==null&&typeof u=="object"&&typeof u.then=="function"?6:1,st=u,Ne===null&&(au=1,hr(e,xt(u,e.current)))}function yh(){var e=Cu.current;return e===null?!0:(ze&4194048)===ze?Bu===null:(ze&62914560)===ze||(ze&536870912)!==0?e===Bu:!1}function xh(){var e=ee.H;return ee.H=dr,e===null?dr:e}function vh(){var e=ee.A;return ee.A=F3,e}function wr(){au=4,al||(ze&4194048)!==ze&&Cu.current!==null||(La=!0),(il&134217727)===0&&($l&134217727)===0||Xe===null||rl(Xe,ze,ot,!1)}function n0(e,u,t){var l=Fe;Fe|=2;var i=xh(),c=vh();(Xe!==e||ze!==u)&&(zr=null,Ga(e,u)),u=!1;var d=au;e:do try{if(Ge!==0&&Ne!==null){var g=Ne,E=st;switch(Ge){case 8:t0(),d=6;break e;case 3:case 2:case 9:case 6:Cu.current===null&&(u=!0);var O=Ge;if(Ge=0,st=null,Ya(e,g,E,O),t&&La){d=0;break e}break;default:O=Ge,Ge=0,st=null,Ya(e,g,E,O)}}q3(),d=au;break}catch(w){gh(e,w)}while(!0);return u&&e.shellSuspendCounter++,gn=Fl=null,Fe=l,ee.H=i,ee.A=c,Ne===null&&(Xe=null,ze=0,qc()),d}function q3(){for(;Ne!==null;)_h(Ne)}function G3(e,u){var t=Fe;Fe|=2;var l=xh(),i=vh();Xe!==e||ze!==u?(zr=null,Or=Ru()+500,Ga(e,u)):La=Rn(e,u);e:do try{if(Ge!==0&&Ne!==null){u=Ne;var c=st;u:switch(Ge){case 1:Ge=0,st=null,Ya(e,u,c,1);break;case 2:case 9:if(Ed(c)){Ge=0,st=null,Eh(u);break}u=function(){Ge!==2&&Ge!==9||Xe!==e||(Ge=7),en(e)},c.then(u,u);break e;case 3:Ge=7;break e;case 4:Ge=5;break e;case 7:Ed(c)?(Ge=0,st=null,Eh(u)):(Ge=0,st=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?hm(d):g.stateNode.complete){Ge=0,st=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}}Ge=0,st=null,Ya(e,u,c,5);break;case 6:Ge=0,st=null,Ya(e,u,c,6);break;case 8:t0(),au=6;break e;default:throw Error(r(462))}}Y3();break}catch(w){gh(e,w)}while(!0);return gn=Fl=null,ee.H=l,ee.A=i,Fe=t,Ne!==null?0:(Xe=null,ze=0,qc(),au)}function Y3(){for(;Ne!==null&&!la();)_h(Ne)}function _h(e){var u=U1(e.alternate,e,Sn);e.memoizedProps=e.pendingProps,u===null?Rr(e):Ne=u}function Eh(e){var u=e,t=u.alternate;switch(u.tag){case 15:case 0:u=O1(t,u,u.pendingProps,u.type,void 0,ze);break;case 11:u=O1(t,u,u.pendingProps,u.type.render,u.ref,ze);break;case 5:so(u);var l=u;l===xu&&(De?(Qc(l),l.tag===5&&l.stateNode!=null&&(Qe=l.stateNode)):(Qc(l),De=!0));default:B1(t,u),u=Ne=fd(u,Sn),u=U1(t,u,Sn)}e.memoizedProps=e.pendingProps,u===null?Rr(e):Ne=u}function Ya(e,u,t,l){gn=Fl=null,so(u),Na=null,Mi=0;var i=u.return;try{if(O3(e,i,u,t,ze)){au=1,hr(e,xt(t,e.current)),Ne=null;return}}catch(c){if(i!==null)throw Ne=i,c;au=1,hr(e,xt(t,e.current)),Ne=null;return}u.flags&32768?(De||l===1?e=!0:La||(ze&536870912)!==0?e=!1:(al=e=!0,(l===2||l===9||l===3||l===6)&&(l=Cu.current,l!==null&&l.tag===13&&(l.flags|=16384))),Sh(u,e)):Rr(u)}function Rr(e){var u=e;do{if((u.flags&32768)!==0){Sh(u,al);return}e=u.return;var t=w3(u.alternate,u,Sn);if(t!==null){Ne=t;return}if(u=u.sibling,u!==null){Ne=u;return}Ne=u=e}while(u!==null);au===0&&(au=5)}function Sh(e,u){do{var t=R3(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);au=6,Ne=null}function Ah(e,u,t,l,i,c,d,g,E,O,w,U){e.cancelPendingCommit=null;do Lr();while(tu!==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,Lt=e,Pt=t,u0=i,hh=l,V3(e,u,t,d,g,E,U)}}function V3(e,u,t,l,i,c,d){var g=u.lanes|u.childLanes;if(e0=g,g|=Us,uu(e,t,g,l,i,c),Ba=null,(t&335544064)===t?(Ha=y3(e),l=10262):(Ha=null,l=10256),(u.subtreeFlags&l)!==0||(u.flags&l)!==0?(e.callbackNode=null,e.callbackPriority=0,$3(bt,function(){return c0(),null})):(e.callbackNode=null,e.callbackPriority=0),_r=!1,l=(u.flags&13878)!==0,(u.subtreeFlags&13878)!==0||l){l=ee.T,ee.T=null,i=he.p,he.p=2,c=Fe,Fe|=4;try{L3(e,u,t)}finally{Fe=c,he.p=i,ee.T=l}}tu=1,_r?Fa=bb(d,e.containerInfo,Ha,l0,a0,X3,i0,c0,Z3):(l0(),a0(),i0())}function Z3(e){if(tu!==0){var u=Lt.onRecoverableError;u(e,{componentStack:null})}}function X3(){tu===3&&(tu=0,ih(Jl,Lt),tu=4)}function l0(){if(tu===1){tu=0;var e=Lt,u=Jl,t=Pt,l=(u.flags&13878)!==0;if((u.subtreeFlags&13878)!==0||l){l=ee.T,ee.T=null;var i=he.p;he.p=2;var c=Fe;Fe|=4;try{Zi=Ar=!1,lh(u,e,t),t=x0;var d=ud(e.containerInfo),g=t.focusedElem,E=t.selectionRange;if(d!==g&&g&&g.ownerDocument&&ed(g.ownerDocument.documentElement,g)){if(E!==null&&js(g)){var O=E.start,w=E.end;if(w===void 0&&(w=O),"selectionStart"in g)g.selectionStart=O,g.selectionEnd=Math.min(w,g.value.length);else{var U=g.ownerDocument||document,N=U&&U.defaultView||window;if(N.getSelection){var j=N.getSelection(),$=g.textContent.length,ne=Math.min(E.start,$),Ee=E.end===void 0?ne:Math.min(E.end,$);!j.extend&&ne>Ee&&(d=Ee,Ee=ne,ne=d);var k=Pf(g,ne),S=Pf(g,Ee);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(),ne>Ee?(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 R=U[g];R.element.scrollLeft=R.left,R.element.scrollTop=R.top}}Ja=!!y0,x0=y0=null}finally{Fe=c,he.p=i,ee.T=l}}e.current=u,tu=2}}function a0(){if(tu===2){tu=0;var e=Lt,u=Jl,t=(u.flags&8772)!==0;if((u.subtreeFlags&8772)!==0||t){t=ee.T,ee.T=null;var l=he.p;he.p=2;var i=Fe;Fe|=4;try{W1(e,u.alternate,u)}finally{Fe=i,he.p=l,ee.T=t}}tu=3}}function i0(){if(tu===4||tu===3){tu=0;var e=Fa;Fa=null,Tc();var u=Lt,t=Jl,l=Pt,i=hh,c=(l&335544064)===l?10262:10256;if((t.subtreeFlags&c)!==0||(t.flags&c)!==0?tu=5:(tu=0,Jl=Lt=null,Th(u,u.pendingLanes)),c=u.pendingLanes,c===0&&(cl=null),oa(l),t=t.stateNode,Lu&&typeof Lu.onCommitFiberRoot=="function")try{Lu.onCommitFiberRoot(On,t,void 0,(t.current.flags&128)===128)}catch{}if(i!==null){t=ee.T,c=he.p,he.p=2,ee.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{ee.T=t,he.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);(Pt&3)!==0&&Lr(),en(u),c=u.pendingLanes,(l&261930)!==0&&(c&42)!==0?u===jr?Ki++:(Ki=0,jr=u):(Ki=0,jr=null),$i(0)}}function Th(e,u){(e.pooledCacheLanes&=u)===0&&(u=e.pooledCache,u!=null&&(e.pooledCache=null,Oi(u)))}function Lr(){return Fa!==null&&(Fa.skipTransition(),Fa=null),l0(),a0(),i0(),c0()}function c0(){if(tu!==5)return!1;var e=Lt,u=e0;e0=0;var t=oa(Pt),l=ee.T,i=he.p;try{he.p=32>t?32:t,ee.T=null,t=u0,u0=null;var c=Lt,d=Pt;if(tu=0,Jl=Lt=null,Pt=0,(Fe&6)!==0)throw Error(r(331));var g=Fe;if(Fe|=4,oh(c.current),ch(c,c.current,d,t),Fe=g,$i(0,!1),Lu&&typeof Lu.onPostCommitFiberRoot=="function")try{Lu.onPostCommitFiberRoot(On,c)}catch{}return!0}finally{he.p=i,ee.T=l,Th(e,u)}}function Dh(e,u,t){u=xt(t,u),u=Ao(e.stateNode,u,2),e=Pn(e,u,2),e!==null&&(kl(e,2),en(e))}function Ye(e,u,t){if(e.tag===3)Dh(e,e,t);else for(;u!==null;){if(u.tag===3){Dh(u,e,t);break}else if(u.tag===1){var l=u.stateNode;if(typeof u.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(cl===null||!cl.has(l))){e=xt(t,e),t=E1(2),l=Pn(u,t,2),l!==null&&(S1(t,l,u,e),kl(l,2),en(l));break}}u=u.return}}function r0(e,u,t){var l=e.pingCache;if(l===null){l=e.pingCache=new B3;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)||(Wo=!0,i.add(t),e=Q3.bind(null,e,u,t),u.then(e,e))}function Q3(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&&((au===4||au===3&&(ze&62914560)===ze&&300>Ru()-kr)&&(Fe&2)===0?Ga(e,0):Nr|=t,Ua===ze&&(Ua=0)),en(e)}function Ch(e,u){u===0&&(u=Ln()),e=Rl(e,u),e!==null&&(kl(e,u),en(e))}function I3(e){var u=e.memoizedState,t=0;u!==null&&(t=u.retryLane),Ch(e,t)}function K3(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),Ch(e,t)}function $3(e,u){return Bt(e,u)}var Va=null,Za=null,s0=!1,Ur=!1,o0=!1,sl=0;function en(e){e!==Za&&e.next===null&&(Za===null?Va=Za=e:Za=Za.next=e),Ur=!0,s0||(s0=!0,W3())}function $i(e,u){if(!o0&&Ur){o0=!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-yu(42|e)+1)-1,c&=i&~(d&~g),c=c&201326741?c&201326741|1:c?c|2:0}c!==0&&(t=!0,zh(l,c))}else c=ze,c=wn(l,l===Xe?c:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(c&3)===0||Rn(l,c)||(t=!0,zh(l,c));l=l.next}while(t);o0=!1}}function J3(){Nh()}function Nh(){Ur=s0=!1;var e=0;sl!==0&&sb()&&(e=sl);for(var u=Ru(),t=null,l=Va;l!==null;){var i=l.next,c=kh(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)&&(Ur=!0)),l=i}tu!==0&&tu!==5||$i(e),sl!==0&&(sl=0)}function kh(e,u){for(var t=e.suspendedLanes,l=e.pingedLanes,i=e.expirationTimes,c=e.pendingLanes&-62914561;0<c;){var d=31-yu(c),g=1<<d,E=i[d];E===-1?((g&t)===0||(g&l)!==0)&&(i[d]=vs(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&&(Ge===2||Ge===9)||e.cancelPendingCommit!==null)return l!==null&&l!==null&&Nn(l),e.callbackNode=null,e.callbackPriority=0;if((t&3)===0||Rn(e,t)){if(u=t&-t,u===e.callbackPriority)return u;switch(l!==null&&Nn(l),oa(t)){case 2:case 8:t=ia;break;case 32:t=bt;break;case 268435456:t=Ht;break;default:t=bt}return l=Oh.bind(null,e),t=Bt(t,l),e.callbackPriority=u,e.callbackNode=t,u}return l!==null&&l!==null&&Nn(l),e.callbackPriority=2,e.callbackNode=null,2}function Oh(e,u){if(tu!==0&&tu!==5)return e.callbackNode=null,e.callbackPriority=0,null;var t=e.callbackNode;if(Lr()&&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:(ph(e,l,u),kh(e,Ru()),e.callbackNode!=null&&e.callbackNode===t?Oh.bind(null,e):null)}function zh(e,u){if(Lr())return null;ph(e,u,!0)}function W3(){fb(function(){(Fe&6)!==0?Bt(aa,J3):Nh()})}function f0(){if(sl===0){var e=ql;e===0&&(e=jn,jn<<=1,(jn&261888)===0&&(jn=256)),sl=e}return sl}function jh(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:ve(e)}function P3(e,u,t,l,i){if(u==="submit"&&t&&t.stateNode===i){var c=jh((i[Uu]||null).action),d=l.submitter;d&&(u=(u=d[Uu]||null)?jh(u.formAction):d.getAttribute("formAction"),u!==null&&(c=u,d=null));var g=new Uc("action","action",null,l,i);e.push({event:g,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(sl!==0){var E=new FormData(i,d);xo(t,{pending:!0,data:E,method:i.method,action:c},null,E)}}else typeof c=="function"&&(g.preventDefault(),E=new FormData(i,d),xo(t,{pending:!0,data:E,method:i.method,action:c},c,E))},currentTarget:i}]})}}for(var d0=0;d0<Ls.length;d0++){var h0=Ls[d0],eb=h0.toLowerCase(),ub=h0[0].toUpperCase()+h0.slice(1);jt(eb,"on"+ub)}jt(ld,"onAnimationEnd"),jt(ad,"onAnimationIteration"),jt(id,"onAnimationStart"),jt("dblclick","onDoubleClick"),jt("focusin","onFocus"),jt("focusout","onBlur"),jt(o3,"onTransitionRun"),jt(f3,"onTransitionStart"),jt(d3,"onTransitionCancel"),jt(cd,"onTransitionEnd"),Yt("onMouseEnter",["mouseout","mouseover"]),Yt("onMouseLeave",["mouseout","mouseover"]),Yt("onPointerEnter",["pointerout","pointerover"]),Yt("onPointerLeave",["pointerout","pointerover"]),Gt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Gt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Gt("onBeforeInput",["compositionend","keypress","textInput","paste"]),Gt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Gt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Gt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ji="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(" "),tb=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Ji));function Mh(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(w){Hc(w)}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(w){Hc(w)}i.currentTarget=null,c=E}}}}function ke(e,u){var t=u[fi];t===void 0&&(t=u[fi]=new Set);var l=e+"__bubble";t.has(l)||(wh(u,e,2,!1),t.add(l))}function m0(e,u,t){var l=0;u&&(l|=4),wh(t,e,l,u)}var Fr="_reactListening"+Math.random().toString(36).slice(2);function p0(e){if(!e[Fr]){e[Fr]=!0,mi.forEach(function(t){t!=="selectionchange"&&(tb.has(t)||m0(t,!1,e),m0(t,!0,e))});var u=e.nodeType===9?e:e.ownerDocument;u===null||u[Fr]||(u[Fr]=!0,m0("selectionchange",!1,u))}}function wh(e,u,t,l){switch(Sm(u)){case 2:var i=Ib;break;case 8:i=Kb;break;default:i=R0}t=i.bind(null,u,t,e),i=void 0,!Es||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 b0(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=on(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}wf(function(){var O=c,w=pu(t),U=[];e:{var N=rd.get(e);if(N!==void 0){var j=Uc,$=e;switch(e){case"keypress":if(Rc(t)===0)break e;case"keydown":case"keyup":j=Hp;break;case"focusin":$="focus",j=Ds;break;case"focusout":$="blur",j=Ds;break;case"beforeblur":case"afterblur":j=Ds;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=Uf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":j=Np;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":j=Zp;break;case ld:case ad:case id:j=zp;break;case cd:j=Qp;break;case"scroll":case"scrollend":j=Dp;break;case"wheel":j=Kp;break;case"copy":case"cut":case"paste":j=Mp;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":j=Bf;break;case"submit":j=Yp;break;case"toggle":case"beforetoggle":j=Jp}var ne=(u&4)!==0,Ee=!ne&&(e==="scroll"||e==="scrollend"),k=ne?N!==null?N+"Capture":null:N;ne=[];for(var S=O,z;S!==null;){var R=S;if(z=R.stateNode,R=R.tag,R!==5&&R!==26&&R!==27||z===null||k===null||(R=xi(S,k),R!=null&&ne.push(Wi(S,R,z))),Ee)break;S=S.return}0<ne.length&&(N=new j(N,$,null,t,w),U.push({event:N,listeners:ne}))}}if((u&7)===0){e:{if(j=e==="mouseover"||e==="pointerover",N=e==="mouseout"||e==="pointerout",j&&t!==$u&&($=t.relatedTarget||t.fromElement)&&(on($)||$[Hu]))break e;(N||j)&&($=w.window===w?w:(j=w.ownerDocument)?j.defaultView||j.parentWindow:window,N?(j=t.relatedTarget||t.toElement,N=O,j=j?on(j):null,j!==null&&(Ee=f(j),ne=j.tag,j!==Ee||ne!==5&&ne!==27&&ne!==6)&&(j=null)):(N=null,j=O),N!==j&&(ne=Uf,R="onMouseLeave",k="onMouseEnter",S="mouse",(e==="pointerout"||e==="pointerover")&&(ne=Bf,R="onPointerLeave",k="onPointerEnter",S="pointer"),Ee=N==null?$:zl(N),z=j==null?$:zl(j),$=new ne(R,S+"leave",N,t,w),$.target=Ee,$.relatedTarget=z,R=null,on(w)===O&&(ne=new ne(k,S+"enter",j,t,w),ne.target=z,ne.relatedTarget=Ee,R=ne),Ee=R,ne=N&&j?ae(N,j,nb):null,N!==null&&Rh(U,$,N,ne,!1),j!==null&&Ee!==null&&Rh(U,Ee,j,ne,!0)))}e:{if(N=O?zl(O):window,j=N.nodeName&&N.nodeName.toLowerCase(),j==="select"||j==="input"&&N.type==="file")var te=Qf;else if(Zf(N))if(If)te=c3;else{te=a3;var je=l3}else j=N.nodeName,!j||j.toLowerCase()!=="input"||N.type!=="checkbox"&&N.type!=="radio"?O&&B(O.elementType)&&(te=Qf):te=i3;if(te&&(te=te(e,O))){Xf(U,te,t,w);break e}je&&je(e,N,O)}switch(je=O?zl(O):window,e){case"focusin":(Zf(je)||je.contentEditable==="true")&&(xa=je,Ms=O,Ci=null);break;case"focusout":Ci=Ms=xa=null;break;case"mousedown":ws=!0;break;case"contextmenu":case"mouseup":case"dragend":ws=!1,td(U,t,w);break;case"selectionchange":if(s3)break;case"keydown":case"keyup":td(U,t,w)}var oe;if(Ns)e:{switch(e){case"compositionstart":var pe="onCompositionStart";break e;case"compositionend":pe="onCompositionEnd";break e;case"compositionupdate":pe="onCompositionUpdate";break e}pe=void 0}else ya?Yf(e,t)&&(pe="onCompositionEnd"):e==="keydown"&&t.keyCode===229&&(pe="onCompositionStart");pe&&(Hf&&t.locale!=="ko"&&(ya||pe!=="onCompositionStart"?pe==="onCompositionEnd"&&ya&&(oe=Rf()):(Vn=w,Ss="value"in Vn?Vn.value:Vn.textContent,ya=!0)),je=Br(O,pe),0<je.length&&(pe=new Ff(pe,e,null,t,w),U.push({event:pe,listeners:je}),oe?pe.data=oe:(oe=Vf(t),oe!==null&&(pe.data=oe)))),(oe=Pp?e3(e,t):u3(e,t))&&(pe=Br(O,"onBeforeInput"),0<pe.length&&(je=new Ff("onBeforeInput","beforeinput",null,t,w),U.push({event:je,listeners:pe}),je.data=oe)),P3(U,e,O,t,w)}Mh(U,u)})}function Wi(e,u,t){return{instance:e,listener:u,currentTarget:t}}function Br(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=xi(e,t),i!=null&&l.unshift(Wi(e,i,c)),i=xi(e,u),i!=null&&l.push(Wi(e,i,c))),e.tag===3)return l;e=e.return}return[]}function nb(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Rh(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=xi(t,c),O!=null&&d.unshift(Wi(t,O,E))):i||(O=xi(t,c),O!=null&&d.push(Wi(t,O,E)))),t=t.return}d.length!==0&&e.push({event:u,listeners:d})}var lb=/\r\n?/g,ab=/\u0000|\uFFFD/g;function Lh(e){return(typeof e=="string"?e:""+e).replace(lb,`
9
+ `).replace(ab,"")}function Uh(e,u){return u=Lh(u),Lh(e)===u}function Ve(e,u,t,l,i,c){switch(t){case"children":if(typeof l=="string")u==="body"||u==="textarea"&&l===""||q(e,l);else if(typeof l=="number"||typeof l=="bigint")u!=="body"&&q(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":H(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"&&Ve(e,u,"name",i.name,i,null),Ve(e,u,"formEncType",i.formEncType,i,null),Ve(e,u,"formMethod",i.formMethod,i,null),Ve(e,u,"formTarget",i.formTarget,i,null)):(Ve(e,u,"encType",i.encType,i,null),Ve(e,u,"method",i.method,i,null),Ve(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=He);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":Ku(e,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":Ku(e,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":Ku(e,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":Ku(e,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":Ku(e,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":Ku(e,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":Ku(e,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":Ku(e,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":Ku(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=re.get(t)||t,Fu(e,t,l);else return}Ae=!0}function g0(e,u,t,l,i,c){switch(t){case"style":H(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")q(e,l);else if(typeof l=="number"||typeof l=="bigint")q(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=He);return;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":return;case"innerText":case"textContent":return;default:if(!jc.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}Ae=!0,t in e?e[t]=l:l===!0?e.setAttribute(t,""):Fu(e,t,l)}return}Ae=!0}function Ou(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:Ve(e,u,c,d,t,null)}}i&&Ve(e,u,"srcSet",t.srcSet,t,null),l&&Ve(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 w=t[l];if(w!=null)switch(l){case"name":i=w;break;case"type":d=w;break;case"checked":E=w;break;case"defaultChecked":O=w;break;case"value":c=w;break;case"defaultValue":g=w;break;case"children":case"dangerouslySetInnerHTML":if(w!=null)throw Error(r(137,u));break;default:Ve(e,u,l,w,t,null)}}Mc(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:Ve(e,u,i,g,t,null)}u=c,t=d,e.multiple=!!l,u!=null?Vt(e,!!l,u,!1):t!=null&&Vt(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:Ve(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":Ve(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<Ji.length;l++)ke(Ji[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:Ve(e,u,O,l,t,null)}return;default:if(B(u)){for(w in t)t.hasOwnProperty(w)&&(l=t[w],l!==void 0&&g0(e,u,w,l,t,void 0));return}}for(g in t)t.hasOwnProperty(g)&&(l=t[g],l!=null&&Ve(e,u,g,l,t,null))}var ib={};function cb(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,w=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)||Ve(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&&(Ae=!0),c=j;break;case"name":j!==U&&(Ae=!0),i=j;break;case"checked":j!==U&&(Ae=!0),O=j;break;case"defaultChecked":j!==U&&(Ae=!0),w=j;break;case"value":j!==U&&(Ae=!0),d=j;break;case"defaultValue":j!==U&&(Ae=!0),g=j;break;case"children":case"dangerouslySetInnerHTML":if(j!=null)throw Error(r(137,u));break;default:j!==U&&Ve(e,u,N,j,l,U)}}yi(e,d,g,E,O,w,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)||Ve(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&&(Ae=!0),N=c;break;case"defaultValue":c!==E&&(Ae=!0),g=c;break;case"multiple":c!==E&&(Ae=!0),d=c;default:c!==E&&Ve(e,u,i,c,l,E)}u=g,t=d,l=j,N!=null?Vt(e,!!t,N,!1):!!l!=!!t&&(u!=null?Vt(e,!!t,u,!0):Vt(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:Ve(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&&(Ae=!0),N=i;break;case"defaultValue":i!==c&&(Ae=!0),j=i;break;case"children":break;case"dangerouslySetInnerHTML":if(i!=null)throw Error(r(91));break;default:i!==c&&Ve(e,u,d,i,l,c)}Yn(e,N,j);return;case"option":for(var $ in t)N=t[$],t.hasOwnProperty($)&&N!=null&&!l.hasOwnProperty($)&&($==="selected"?e.selected=!1:Ve(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&&(Ae=!0),e.selected=N&&typeof N!="function"&&typeof N!="symbol"):Ve(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 ne in t)N=t[ne],t.hasOwnProperty(ne)&&N!=null&&!l.hasOwnProperty(ne)&&Ve(e,u,ne,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:Ve(e,u,O,N,l,j)}return;default:if(B(u)){for(var Ee in t)N=t[Ee],t.hasOwnProperty(Ee)&&N!==void 0&&!l.hasOwnProperty(Ee)&&g0(e,u,Ee,void 0,l,N);for(w in l)N=l[w],j=t[w],!l.hasOwnProperty(w)||N===j||N===void 0&&j===void 0||g0(e,u,w,N,l,j);return}}for(var k in t)N=t[k],t.hasOwnProperty(k)&&N!=null&&!l.hasOwnProperty(k)&&Ve(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||Ve(e,u,U,N,l,j)}function Fh(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function rb(){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&&Fh(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 w=E.transferSize,U=E.initiatorType;w&&Fh(U)&&(E=E.responseEnd,d+=w*(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 y0=null,x0=null;function Pi(e){return e.nodeType===9?e:e.ownerDocument}function Bh(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 Hh(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 qh(e,u,t,l){return t=Pi(t).createElement(e),t[mu]=l,t[Uu]=u,Ou(t,e,u),ru(t),t}function v0(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 _0=null;function sb(){var e=window.event;return e&&e.type==="popstate"?e===_0?!1:(_0=e,!0):(_0=null,!1)}var E0=typeof setTimeout=="function"?setTimeout:void 0,ob=typeof clearTimeout=="function"?clearTimeout:void 0,Gh=typeof Promise=="function"?Promise:void 0,Yh=typeof requestAnimationFrame=="function"?requestAnimationFrame:E0,fb=typeof queueMicrotask=="function"?queueMicrotask:typeof Gh<"u"?function(e){return Gh.resolve(null).then(e).catch(db)}:E0;function db(e){setTimeout(function(){throw e})}function ol(e){return e==="head"}function Vh(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")O0(e.ownerDocument.documentElement);else if(t==="head"){t=e.ownerDocument.head,O0(t);for(var c=t.firstChild;c;){var d=c.nextSibling,g=c.nodeName;c[sn]||g==="SCRIPT"||g==="STYLE"||g==="LINK"&&c.rel.toLowerCase()==="stylesheet"||t.removeChild(c),c=d}}else t==="body"&&O0(e.ownerDocument.body);t=i}while(t);Wa(u)}function Zh(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 Xh(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 Qh(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 hb(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 S0(e){var u=e.getBoundingClientRect(),t=getComputedStyle(e);return hb(u,t,e)}function mb(e){return e.documentElement.clientHeight}function pb(e){this.addEventListener("load",e),this.addEventListener("error",e)}function bb(e,u,t,l,i,c,d,g,E){var O=u.nodeType===9?u:u.ownerDocument;try{var w=O.startViewTransition({update:function(){var N=O.defaultView,j=N.navigation&&N.navigation.transition,$=O.fonts.status;l();var ne=[];if($==="loaded"&&(mb(O),O.fonts.status==="loading"&&ne.push(O.fonts.ready)),$=ne.length,e!==null)for(var Ee=e.suspenseyImages,k=0,S=0;S<Ee.length;S++){var z=Ee[S];if(!z.complete){var R=z.getBoundingClientRect();if(0<R.bottom&&0<R.right&&R.top<N.innerHeight&&R.left<N.innerWidth){if(k+=mm(z),k>Gr){ne.length=$;break}z=new Promise(pb.bind(z)),ne.push(z)}}}if(0<ne.length)return N=Promise.race([Promise.all(ne),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=w;var U=[];return w.ready.then(function(){for(var N=O.documentElement.getAnimations({subtree:!0}),j=0;j<N.length;j++){var $=N[j],ne=$.effect,Ee=ne.pseudoElement;if(Ee!=null&&Ee.startsWith("::view-transition")){U.push($),$=ne.getKeyframes();for(var k=Ee=void 0,S=!0,z=0;z<$.length;z++){var R=$[z],te=R.width;if(Ee===void 0)Ee=te;else if(Ee!==te){S=!1;break}if(te=R.height,k===void 0)k=te;else if(k!==te){S=!1;break}delete R.width,delete R.height,R.transform==="none"&&delete R.transform}S&&Ee!==void 0&&k!==void 0&&(ne.setKeyframes($),S=getComputedStyle(ne.target,ne.pseudoElement),S.width!==Ee||S.height!==k)&&(S=$[0],S.width=Ee,S.height=k,S=$[$.length-1],S.width=Ee,S.height=k,ne.setKeyframes($))}}d()},function(N){O.__reactViewTransition===w&&(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()}}),w.finished.finally(function(){for(var N=0;N<U.length;N++)U[N].cancel();O.__reactViewTransition===w&&(O.__reactViewTransition=null),g()}),w}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}:P({},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 Ih(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 dt(e){this._fragmentFiber=e,this._observers=this._eventListeners=null}dt.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($h(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,gb,e,g,l)}this._eventListeners=c}};function gb(e,u,t,l){return V(e).addEventListener(u,t,l),!1}dt.prototype.removeEventListener=function(e,u,t){var l=this._eventListeners;if(l!==null&&(u=$h(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,yb,e,t,i),l.splice(u,1),c!==null&&c()}};function yb(e,u,t,l){return V(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 Kh(e){return e==null?"c=0":typeof e=="boolean"?"c="+(e?"1":"0"):"c="+(e.capture?"1":"0")}function $h(e,u,t,l){if(e.length===0)return-1;l=Kh(l);for(var i=0;i<e.length;i++){var c=e[i];if(c.type===u&&c.listener===t&&Kh(c.optionsOrUseCapture)===l)return i}return-1}dt.prototype.dispatchEvent=function(e){var u=C(this._fragmentFiber);if(u===null)return!0;u=V(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)},dt.prototype.focus=function(e){y(this._fragmentFiber.child,!0,Jh,e,void 0,void 0)};function Jh(e,u){return e.tag===6?!1:(e=V(e),Ob(e,u))}dt.prototype.focusLast=function(e){var u=[];y(this._fragmentFiber.child,!0,A0,u,void 0,void 0);for(var t=u.length-1;0<=t&&!Jh(u[t],e);t--);};function A0(e,u){return u.push(e),!1}dt.prototype.blur=function(){var e=C(this._fragmentFiber);e!==null&&(e=V(e),e=Pi(e).activeElement,e!==null&&y(this._fragmentFiber.child,!1,xb,e,void 0,void 0))};function xb(e,u){return e.tag===6?!1:(e=V(e),e===u||e.contains(u)?(u.blur(),!0):!1)}dt.prototype.observeUsing=function(e){this._observers===null&&(this._observers=new Set),this._observers.add(e),y(this._fragmentFiber.child,!1,vb,e,void 0,void 0)};function vb(e,u){return e.tag===6||(e=V(e),u.observe(e)),!1}dt.prototype.unobserveUsing=function(e){var u=this._observers;if(u!==null&&u.has(e)){u.delete(e),y(this._fragmentFiber.child,!1,_b,e,void 0,void 0);for(var t=u=0;t<Ut.length;t++){var l=Ut[t];l.fragmentInstance===this&&l.observer===e?e.unobserve(l.instance):Ut[u++]=l}Ut.length=u}};function _b(e,u){return e.tag===6||(e=V(e),u.unobserve(e)),!1}var Ut=[],T0=!1;function Eb(e,u,t){Ut.push({fragmentInstance:e,observer:u,instance:t}),T0||(T0=!0,zb(function(){T0=!1;var l=Ut;Ut=[];for(var i=0;i<l.length;i++){var c=l[i];c.observer.unobserve(c.instance)}}))}dt.prototype.getClientRects=function(){var e=[];return y(this._fragmentFiber.child,!1,Sb,e,void 0,void 0),e};function Sb(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=V(e),u.push.apply(u,e.getClientRects());return!1}dt.prototype.getRootNode=function(e){var u=C(this._fragmentFiber);return u===null?this:V(u).getRootNode(e)},dt.prototype.compareDocumentPosition=function(e){var u=C(this._fragmentFiber);if(u===null)return Node.DOCUMENT_POSITION_DISCONNECTED;var t=[];y(this._fragmentFiber.child,!1,A0,t,void 0,void 0);var l=V(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=V(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=V(t[0]),i=V(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||Ab(u,this._fragmentFiber,t[0],t[t.length-1],e)?u:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC};function Ab(e,u,t,l,i){var c=on(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=ae(t,c,Q),u===null?u=!1:(y(u,!0,le,c,t),c=J,J=null,u=c!==null)),u):e&Node.DOCUMENT_POSITION_FOLLOWING?((u=!!c)&&!(u=c===l)&&(u=ae(l,c,Q),u===null?u=!1:(y(u,!0,G,c,l),c=J,fe=J=null,u=c!==null)),u):!1}function Wh(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)}dt.prototype.scrollIntoView=function(e){if(typeof e=="object")throw Error(r(566));var u=[];y(this._fragmentFiber.child,!1,A0,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=V(l),Wh(e,t);return}if(l=V(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=V(i),Wh(i,t)):V(i).scrollIntoView(e),l+=t?-1:1}};function Tb(e,u){return e=V(e),Ph(e,u),!1}function Ph(e,u){e.reactFragments==null&&(e.reactFragments=new Set),e.reactFragments.add(u)}function em(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<Ut.length;g++){var E=Ut[g];(E.fragmentInstance!==u||E.observer!==c||E.instance!==e)&&(Ut[d++]=E)}Ut.length=d,c.observe(e)}),Ph(e,u))}function Db(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"?Eb(u,c,e):c.unobserve(e)}),e.reactFragments!=null&&e.reactFragments.delete(u))}function D0(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":D0(t),Bn(t);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(t.rel.toLowerCase()==="stylesheet")continue}e.removeChild(t)}}function Cb(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[sn])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=At(e.nextSibling),e===null)break}return null}function Nb(e,u,t){if(u==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=At(e.nextSibling),e===null))return null;return e}function um(e,u){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!u||(e=At(e.nextSibling),e===null))return null;return e}function C0(e){return e.data==="$?"||e.data==="$~"}function N0(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function kb(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 At(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 k0=null;function tm(e){e=e.nextSibling;for(var u=0;e;){if(e.nodeType===8){var t=e.data;if(t==="/$"||t==="/&"){if(u===0)return At(e.nextSibling);u--}else t!=="$"&&t!=="$!"&&t!=="$?"&&t!=="$~"&&t!=="&"||u++}e=e.nextSibling}return null}function nm(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 Ob(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 zb(e){Yh(function(){Yh(function(u){return e(u)})})}function lm(e,u,t){switch(u=Pi(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 am(e,u,t){for(var l in t){var i=t[l];t.hasOwnProperty(l)&&i!=null&&Ve(e,u,l,null,ib,i)}t.dangerouslySetInnerHTML!=null&&(e.textContent=""),e.onclick===He&&(e.onclick=null),Bn(e)}function O0(e){for(var u=e.attributes;u.length;)e.removeAttributeNode(u[0]);Bn(e)}var Tt=new Map,im=new Set;function ec(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 An=he.d;he.d={f:jb,r:Mb,D:wb,C:Rb,L:Lb,m:Ub,X:Bb,S:Fb,M:Hb};function jb(){var e=An.f(),u=Mr();return e||u}function Mb(e){var u=fn(e);u!==null&&u.tag===5&&u.type==="form"?r1(u):An.r(e)}var Qa=typeof document>"u"?null:document;function cm(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+'"]'),im.has(i)||(im.add(i),e={rel:e,crossOrigin:t,href:u},l.querySelector(i)===null&&(u=l.createElement("link"),Ou(u,"link",e),ru(u),l.head.appendChild(u)))}}function wb(e){An.D(e),cm("dns-prefetch",e,null)}function Rb(e,u){An.C(e,u),cm("preconnect",e,u)}function Lb(e,u,t){An.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(!(Tt.has(c)||(e=P({rel:"preload",href:u==="image"&&t&&t.imageSrcSet?void 0:e,as:u},t),Tt.set(c,e),l.querySelector(i)!==null||u==="style"&&l.querySelector(uc(c))||u==="script"&&l.querySelector(tc(c))))){var d=l.createElement("link");Ou(d,"link",e),u==="style"&&(d[Fn]=!0,d.onload=d.onerror=function(){zc(d)}),ru(d),l.head.appendChild(d)}}}function Ub(e,u){An.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(!Tt.has(c)&&(e=P({rel:"modulepreload",href:e},u),Tt.set(c,e),t.querySelector(i)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(t.querySelector(tc(c)))return}l=t.createElement("link"),Ou(l,"link",e),ru(l),t.head.appendChild(l)}}}function Fb(e,u,t){An.S(e,u,t);var l=Qa;if(l&&e){var i=Hn(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(uc(c)))g.loading=5;else{e=P({rel:"stylesheet",href:e,"data-precedence":u},t),(t=Tt.get(c))&&z0(e,t);var E=d=l.createElement("link");ru(E),Ou(E,"link",e),E._p=new Promise(function(O,w){E.onload=O,E.onerror=w}),E.addEventListener("load",function(){g.loading|=1}),E.addEventListener("error",function(){g.loading|=2}),g.loading|=4,Hr(d,u,l)}d={type:"stylesheet",instance:d,count:1,state:g},i.set(c,d)}}}function Bb(e,u){An.X(e,u);var t=Qa;if(t&&e){var l=Hn(t).hoistableScripts,i=Ka(e),c=l.get(i);c||(c=t.querySelector(tc(i)),c||(e=P({src:e,async:!0},u),(u=Tt.get(i))&&j0(e,u),c=t.createElement("script"),ru(c),Ou(c,"link",e),t.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},l.set(i,c))}}function Hb(e,u){An.M(e,u);var t=Qa;if(t&&e){var l=Hn(t).hoistableScripts,i=Ka(e),c=l.get(i);c||(c=t.querySelector(tc(i)),c||(e=P({src:e,async:!0,type:"module"},u),(u=Tt.get(i))&&j0(e,u),c=t.createElement("script"),ru(c),Ou(c,"link",e),t.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},l.set(i,c))}}function rm(e,u,t,l){var i=(i=Iu.current)?ec(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=Hn(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=Hn(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(uc(e)))?c._p||(d.instance=c,d.state.loading=5):(c=Tt.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},Tt.set(e,c)),qb(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=Hn(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 uc(e){return'link[rel="stylesheet"]['+e+"]"}function sm(e){return P({},e,{"data-precedence":e.precedence,precedence:null})}function qb(e,u,t,l){if(u=e.querySelector('link[rel="preload"][as="style"]['+u+"]")){if(u[Fn]!==!0){l.loading=1;return}}else u=e.createElement("link"),u[Fn]=!0,u.onload=u.onerror=zc.bind(null,u),Ou(u,"link",t),ru(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 tc(e){return"script[async]"+e}function om(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,ru(l),l;var i=P({},t,{"data-href":t.href,"data-precedence":t.precedence,href:null,precedence:null});return l=(e.ownerDocument||e).createElement("style"),ru(l),Ou(l,"style",i),Hr(l,t.precedence,e),u.instance=l;case"stylesheet":i=Ia(t.href);var c=e.querySelector(uc(i));if(c)return u.state.loading|=4,u.instance=c,ru(c),c;l=sm(t),(i=Tt.get(i))&&z0(l,i),c=(e.ownerDocument||e).createElement("link"),ru(c);var d=c;return d._p=new Promise(function(g,E){d.onload=g,d.onerror=E}),Ou(c,"link",l),u.state.loading|=4,Hr(c,t.precedence,e),u.instance=c;case"script":return c=Ka(t.src),(i=e.querySelector(tc(c)))?(u.instance=i,ru(i),i):(l=t,(i=Tt.get(c))&&(l=P({},t),j0(l,i)),e=e.ownerDocument||e,i=e.createElement("script"),ru(i),Ou(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,Hr(l,t.precedence,e));return u.instance}function Hr(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 z0(e,u){e.crossOrigin==null&&(e.crossOrigin=u.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=u.referrerPolicy),e.title==null&&(e.title=u.title)}function j0(e,u){e.crossOrigin==null&&(e.crossOrigin=u.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=u.referrerPolicy),e.integrity==null&&(e.integrity=u.integrity)}var qr=null;function fm(e,u,t){if(qr===null){var l=new Map,i=qr=new Map;i.set(t,l)}else i=qr,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[sn]||c[mu]||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 M0(e,u,t){e=e.ownerDocument||e,e.head.insertBefore(t,u==="title"?e.querySelector("head > title"):null)}function Gb(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 dm(e,u){return e==="img"&&u.src!=null&&u.src!==""&&u.onLoad==null&&u.loading!=="lazy"}function hm(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function mm(e){return(e.width||100)*(e.height||100)*(typeof devicePixelRatio=="number"?devicePixelRatio:1)*.25}function pm(e,u){typeof u.decode=="function"&&(e.imgCount++,u.complete||(e.imgBytes+=mm(u),e.suspenseyImages.push(u)),e=Zb.bind(e),u.decode().then(e,e))}function Yb(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(uc(i));if(c){u=c._p,u!==null&&typeof u=="object"&&typeof u.then=="function"&&(e.count++,e=nc.bind(e),u.then(e,e)),t.state.loading|=4,t.instance=c,ru(c);return}c=u.ownerDocument||u,l=sm(l),(i=Tt.get(i))&&z0(l,i),c=c.createElement("link"),ru(c);var d=c;d._p=new Promise(function(g,E){d.onload=g,d.onerror=E}),Ou(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=nc.bind(e),u.addEventListener("load",t),u.addEventListener("error",t))}}var Gr=0;function Vb(e,u){return e.stylesheets&&e.count===0&&Vr(e,e.stylesheets),0<e.count||0<e.imgCount?function(t){var l=setTimeout(function(){if(e.stylesheets&&Vr(e,e.stylesheets),e.unsuspend){var c=e.unsuspend;e.unsuspend=null,c()}},6e4+u);0<e.imgBytes&&Gr===0&&(Gr=62500*rb());var i=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Vr(e,e.stylesheets),e.unsuspend)){var c=e.unsuspend;e.unsuspend=null,c()}},(e.imgBytes>Gr?50:800)+u);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(l),clearTimeout(i)}}:null}function bm(e){if(e.count===0&&(e.imgCount===0||!e.waitingForImages)){if(e.stylesheets)Vr(e,e.stylesheets);else if(e.unsuspend){var u=e.unsuspend;e.unsuspend=null,u()}}}function nc(){this.count--,bm(this)}function Zb(){this.imgCount--,bm(this)}var Yr=null;function Vr(e,u){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Yr=new Map,u.forEach(Xb,e),Yr=null,nc.call(e))}function Xb(e,u){if(!(u.state.loading&4)){var t=Yr.get(e);if(t)var l=t.get(null);else{t=new Map,Yr.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=nc.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:Te,Provider:null,Consumer:null,_currentValue:Qu,_currentValue2:Qu,_threadCount:0};function Qb(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=ri(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ri(0),this.hiddenUpdates=ri(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 gm(e,u,t,l,i,c,d,g,E,O,w,U){return e=new Qb(e,u,t,d,E,O,w,U,g),u=1,c===!0&&(u|=24),c=Ju(3,null,null,u),e.current=c,c.stateNode=e,u=Qs(),u.refCount++,e.pooledCache=u,u.refCount++,c.memoizedState={element:l,isDehydrated:t,cache:u},Js(c),e}function ym(e){return e?(e=Ea,e):Ea}function xm(e,u,t,l,i,c){i=ym(i),l.context===null?l.context=i:l.pendingContext=i,l=Wn(u),l.payload={element:t},c=c===void 0?null:c,c!==null&&(l.callback=c),t=Pn(e,l,u),t!==null&&(ut(t,e,u),wi(t,e,u))}function vm(e,u){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var t=e.retryLane;e.retryLane=t!==0&&t<u?t:u}}function w0(e,u){vm(e,u),(e=e.alternate)&&vm(e,u)}function _m(e){if(e.tag===13||e.tag===31){var u=Rl(e,67108864);u!==null&&ut(u,e,67108864),w0(e,67108864)}}function Em(e){if(e.tag===13||e.tag===31){var u=ft();u=Ol(u);var t=Rl(e,u);t!==null&&ut(t,e,u),w0(e,u)}}var Ja=!0;function Ib(e,u,t,l){var i=ee.T;ee.T=null;var c=he.p;try{he.p=2,R0(e,u,t,l)}finally{he.p=c,ee.T=i}}function Kb(e,u,t,l){var i=ee.T;ee.T=null;var c=he.p;try{he.p=8,R0(e,u,t,l)}finally{he.p=c,ee.T=i}}function R0(e,u,t,l){if(Ja){var i=L0(l);if(i===null)b0(e,u,l,Zr,t),Am(e,l);else if(Jb(i,e,u,t,l))l.stopPropagation();else if(Am(e,l),u&4&&-1<$b.indexOf(e)){for(;i!==null;){var c=fn(i);if(c!==null)switch(c.tag){case 3:if(c=c.stateNode,c.current.memoizedState.isDehydrated){var d=qt(c.pendingLanes);if(d!==0){var g=c;for(g.pendingLanes|=2,g.entangledLanes|=2;d;){var E=1<<31-yu(d);g.entanglements[1]|=E,d&=~E}en(c),(Fe&6)===0&&(Or=Ru()+500,$i(0))}}break;case 31:case 13:g=Rl(c,2),g!==null&&ut(g,c,2),Mr(),w0(c,2)}if(c=L0(l),c===null&&b0(e,u,l,Zr,t),c===i)break;i=c}i!==null&&l.stopPropagation()}else b0(e,u,l,null,t)}}function L0(e){return e=pu(e),U0(e)}var Zr=null;function U0(e){if(Zr=null,e=on(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 Zr=e,null}function Sm(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"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(Dc()){case aa:return 2;case ia:return 8;case bt:case kn:return 32;case Ht:return 268435456;default:return 32}default:return 32}}var F0=!1,fl=null,dl=null,hl=null,lc=new Map,ac=new Map,ml=[],$b="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 Am(e,u){switch(e){case"focusin":case"focusout":fl=null;break;case"dragenter":case"dragleave":dl=null;break;case"mouseover":case"mouseout":hl=null;break;case"pointerover":case"pointerout":lc.delete(u.pointerId);break;case"gotpointercapture":case"lostpointercapture":ac.delete(u.pointerId)}}function ic(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=fn(u),u!==null&&_m(u)),e):(e.eventSystemFlags|=l,u=e.targetContainers,i!==null&&u.indexOf(i)===-1&&u.push(i),e)}function Jb(e,u,t,l,i){switch(u){case"focusin":return fl=ic(fl,e,u,t,l,i),!0;case"dragenter":return dl=ic(dl,e,u,t,l,i),!0;case"mouseover":return hl=ic(hl,e,u,t,l,i),!0;case"pointerover":var c=i.pointerId;return lc.set(c,ic(lc.get(c)||null,e,u,t,l,i)),!0;case"gotpointercapture":return c=i.pointerId,ac.set(c,ic(ac.get(c)||null,e,u,t,l,i)),!0}return!1}function Tm(e){var u=on(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,Oc(e.priority,function(){Em(t)});return}}else if(u===31){if(u=p(t),u!==null){e.blockedOn=u,Oc(e.priority,function(){Em(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 Xr(e){if(e.blockedOn!==null)return!1;for(var u=e.targetContainers;0<u.length;){var t=L0(e.nativeEvent);if(t===null){t=e.nativeEvent;var l=new t.constructor(t.type,t);$u=l,t.target.dispatchEvent(l),$u=null}else return u=fn(t),u!==null&&_m(u),e.blockedOn=t,!1;u.shift()}return!0}function Dm(e,u,t){Xr(e)&&t.delete(u)}function Wb(){F0=!1,fl!==null&&Xr(fl)&&(fl=null),dl!==null&&Xr(dl)&&(dl=null),hl!==null&&Xr(hl)&&(hl=null),lc.forEach(Dm),ac.forEach(Dm)}function Qr(e,u){e.blockedOn===u&&(e.blockedOn=null,F0||(F0=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,Wb)))}var Ir=null;function Cm(e){Ir!==e&&(Ir=e,n.unstable_scheduleCallback(n.unstable_NormalPriority,function(){Ir===e&&(Ir=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(U0(l||t)===null)continue;break}var c=fn(t);c!==null&&(e.splice(u,3),u-=3,xo(c,{pending:!0,data:i,method:t.method,action:l},l,i))}}))}function Wa(e){function u(E){return Qr(E,e)}fl!==null&&Qr(fl,e),dl!==null&&Qr(dl,e),hl!==null&&Qr(hl,e),lc.forEach(u),ac.forEach(u);for(var t=0;t<ml.length;t++){var l=ml[t];l.blockedOn===e&&(l.blockedOn=null)}for(;0<ml.length&&(t=ml[0],t.blockedOn===null);)Tm(t),t.blockedOn===null&&ml.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||Cm(t);else if(d){var g=null;if(c&&c.hasAttribute("formAction")){if(i=c,d=c[Uu]||null)g=d.formAction;else if(U0(i)!==null)continue}else g=d.action;typeof g=="function"?t[l+1]=g:(t.splice(l,3),l-=3),Cm(t)}}}function Nm(){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 B0(e){this._internalRoot=e}Kr.prototype.render=B0.prototype.render=function(e){var u=this._internalRoot;if(u===null)throw Error(r(409));var t=u.current,l=ft();xm(t,l,e,u,null,null)},Kr.prototype.unmount=B0.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var u=e.containerInfo;xm(e.current,2,null,e,null,null),Mr(),u[Hu]=null}};function Kr(e){this._internalRoot=e}Kr.prototype.unstable_scheduleHydration=function(e){if(e){var u=oi();e={blockedOn:null,target:e,priority:u};for(var t=0;t<ml.length&&u!==0&&u<ml[t].priority;t++);ml.splice(t,0,e),t===0&&Tm(e)}};var km=a.version;if(km!=="19.3.1")throw Error(r(527,km,"19.3.1"));he.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 Pb={bundleType:0,version:"19.3.1",rendererPackageName:"react-dom",currentDispatcherRef:ee,reconcilerVersion:"19.3.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var $r=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!$r.isDisabled&&$r.supportsFiber)try{On=$r.inject(Pb),Lu=$r}catch{}}return rc.createRoot=function(e,u){if(!o(e))throw Error(r(299));var t=!1,l="",i=y1,c=x1,d=v1;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=gm(e,1,!1,null,null,t,l,null,i,c,d,Nm),e[Hu]=u.current,p0(e),new B0(u)},rc.hydrateRoot=function(e,u,t){if(!o(e))throw Error(r(299));var l=!1,i="",c=y1,d=x1,g=v1,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=gm(e,1,!0,u,t??null,l,i,E,c,d,g,Nm),u.context=ym(null),t=u.current,l=ft(),l=Ol(l),i=Wn(l),i.callback=null,Pn(t,i,l),t=l,u.current.lanes=t,kl(u,t),en(u),e[Hu]=u.current,p0(e),new Kr(u)},rc.version="19.3.1",rc}var Bm;function sg(){if(Bm)return G0.exports;Bm=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(a){console.error(a)}}return n(),G0.exports=rg(),G0.exports}var og=sg();const fg=["select","confirm","input","editor"],dg=new Set(fg),O2=["notify","setStatus","setWidget","setTitle","set_editor_text"];new Set(O2);function hg(n){return dg.has(n)}const ui=3;function Hm(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 mg(n,a){const s=Hm(n),r=Hm(a);return s.length===0||r.length===0?!1:s===r?!0:qm(s,r)||qm(r,s)}function qm(n,a){return a==="/"?n!=="/":n.startsWith(`${a}/`)}const pg="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 bg(n,a){if(a!==void 0)return mg(n,a)?pg:void 0}function li(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 gg={},Gm=[500,1e3,2e3,3e3,5e3];function yg(n){if(n!==ui)return`protocol mismatch: the orchestrator speaks v${n} and this UI speaks v${ui}. Reload the UI; if that fails, restart the orchestrator.`}class xg{#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=yg(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=Gm[Math.min(this.#l,Gm.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:ui,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 vg(){const n=gg.VITE_PI_CENTRAL_WS;return typeof n=="string"&&n.length>0?n:`${window.location.protocol==="https:"?"wss:":"ws:"}//${window.location.host}/ws`}const _g="/assets/logo-icon-BCSgj5RT.svg";function Eg(n){return n===void 0?{kind:"follow-end"}:n.pinned?{kind:"follow-end"}:{kind:"restore",scrollTop:n.scrollTop,pinned:!1}}function Sg(n,a){return n>a}function Ag(n,a){const s=Math.max(0,a.scrollHeight-n.scrollHeight);return a.scrollHeight-a.scrollTop-a.clientHeight-s}function Tg(n,a,s){return Ag(n,a)<s}function X0(n){return Number.isFinite(n.scrollTop)&&Number.isFinite(n.scrollHeight)&&Number.isFinite(n.clientHeight)&&n.scrollHeight>0&&n.clientHeight>0}function Dg(n,a){return n&&a}const z2="pi-central.trace";function Ym(n){const a={};if(typeof n!="object"||n===null||Array.isArray(n))return a;for(const[s,r]of Object.entries(n))typeof r=="boolean"&&(a[s]=r);return a}function Vm(){try{const n=localStorage.getItem(z2);if(n===null||n==="")return{collapsed:{},markers:{}};const a=JSON.parse(n);if(typeof a!="object"||a===null)return{collapsed:{},markers:{}};const s=a;return{collapsed:Ym(s.collapsed),markers:Ym(s.markers)}}catch{return{collapsed:{},markers:{}}}}function Cg(n){try{localStorage.setItem(z2,JSON.stringify({collapsed:n.collapsed,markers:n.markers}))}catch{}}function Ng(){return{directories:{},files:{},expanded:{},openFile:{},showHidden:{},wrapLines:{}}}function un(n,a){return`${n}\0${a}`}function kg(n){const a=n.indexOf("\0");return{sessionId:n.slice(0,a),path:n.slice(a+1)}}function ss(n,a,s){return n.directories[un(a,s)]??{status:"unloaded"}}function Og(n,a,s){return n.files[un(a,s)]??{status:"unloaded"}}function zg(n,a,s){return n.expanded[un(a,s)]===!0}function cs(n,a){return n.showHidden[a]===!0}function jg(n,a){return n.wrapLines[a]!==!1}function Mg(n,a){const s=n.openFile[a];if(s!==void 0)return{path:s,state:Og(n,a,s)}}function wg(n){return n.kind==="directory"?!0:n.kind==="symlink"&&n.linkTarget==="directory"}function Zm(n){return n.kind==="symlink"&&n.linkTarget==="missing"}function Rg(n,a){return n===""?a:`${n.replace(/\/+$/,"")}/${a}`}function Lg(n,a){switch(a.kind){case"filesLoading":return{...n,directories:{...n.directories,[un(a.sessionId,a.path)]:{status:"loading"}}};case"filesLoaded":return{...n,directories:{...n.directories,[un(a.sessionId,a.path)]:{status:"loaded",entries:a.entries,truncated:a.truncated}}};case"filesFailed":return{...n,directories:{...n.directories,[un(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,[un(a.sessionId,a.path)]:{status:"loading"}}};case"fileLoaded":return{...n,files:{...n.files,[un(a.sessionId,a.path)]:{status:"loaded",content:a.content,bytes:a.bytes}}};case"fileFailed":return{...n,files:{...n.files,[un(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=un(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 os(){return{messages:[],tools:[],notices:[]}}function Ug(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 Q0(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 j2(n){const a=n.messages[n.messages.length-1];return a?.role==="assistant"?a:void 0}function M2(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=I0(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=I0(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=I0(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=j2(r);m&&(r.messages[r.messages.length-1]={...m,usage:f})}return Fg(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=Q0(r.tools,{toolCallId:v,toolName:o?.toolName??(f==="bashExecution"?"bash":"tool"),args:o?.command!==void 0?{command:o.command}:void 0,result:mc(o?.content)||String(o?.output??""),isError:o?.isError===!0,running:!1,startedAt:Date.now(),afterMessage:r.messages.length}),r}const m=Ug(o?.content),p=o?Bg(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:Hg(f),blocks:m,complete:!0,streaming:!1}),r}case"tool_execution_start":{const o=String(a.toolCallId??"");return r.tools=Q0(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:mc(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:mc(a.result),isError:a.isError===!0,running:!1,...typeof a.durationMs=="number"?{durationMs:a.durationMs}:{}})),f||(r.tools=Q0(r.tools,{toolCallId:o,toolName:String(a.toolName??""),args:a.args,result:mc(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 Fg(n,a){const s=String(a.type??""),r=typeof a.contentIndex=="number"?a.contentIndex:0,o=j2(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 mc(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 mc(a.content);try{return JSON.stringify(n,null,2)}catch{return String(n)}}return String(n)}function Bg(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 Hg(n){switch(n){case"user":return"user";case"system":return"system";case"toolResult":case"bashExecution":return"tool";default:return"assistant"}}function qg(n){let a=os();for(const s of n)typeof s!="object"||s===null||(a=M2(a,{type:"message_end",message:s}));return Gg(a)}function Gg(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 Yg(n){return n.blocks.filter(a=>a.kind==="text").map(a=>a.text).join("")}function Vg(n,a){const s=a+1;return n.tools.filter(r=>r.afterMessage===s)}function Zg(n){return n.tools.filter(a=>a.afterMessage===0)}function Xg(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 Xm(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 Qg(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 w2(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 I0(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 Ig(n){return n.kind==="summarization"?!n.finished:n.ended===void 0}function Kg(n){const a=[],s=Zg(n);s.length>0&&a.push({kind:"tools",tools:s});let r=[];return n.messages.forEach((o,f)=>{const m=Vg(n,f);w2(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 R2(){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 $g=20;function Jg(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}:Wg(n,a)}function Wg(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]??os();return{...n,transcripts:{...n.transcripts,[a.sessionId]:M2(s,a.record)}}}case"transcript":{const{[a.sessionId]:s,...r}=n.transcriptErrors;return{...n,transcripts:{...n.transcripts,[a.sessionId]:qg(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,$g)}}}function Pg(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 e6(n){return n.live.some(a=>a.mode==="direct")}function u6(n){return n.live.find(a=>a.id===n.focusedId)}function t6(n,a){return a?n.transcripts[a]??os():os()}function n6(n){return n.live.reduce((a,s)=>a+s.dialogs.length,0)}function l6(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 a6(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 i6(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 L2(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 c6(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 U2(n,a){return n.model===a.id&&(n.provider===void 0||n.provider===a.provider)}function r6(n){return n&&n.state==="streaming"?"Applies to the next turn; this run is already using the current model.":""}function _f(n){return n===null||!Number.isFinite(n)?"—":n===0?"$0.00":n<1?`$${n.toFixed(4)}`:`$${n.toFixed(2)}`}function fs(n){return n===null||!Number.isFinite(n)?"—":n<1e3?`${n}`:n<1e6?`${(n/1e3).toFixed(1)}k`:`${(n/1e6).toFixed(1)}M`}function F2(n){if(n===null||!Number.isFinite(n))return"ctx —";const a=Math.round(n);return a>=80?`ctx ${a}% full`:`ctx ${a}%`}function s6(n){return n?n.length>4?n.slice(0,3):n:"—"}function o6(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 Ef(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 pc(n,a=34,s){let r=n;return s&&s.length>1&&r.startsWith(s)&&(r=`~${r.slice(s.length)}`),Ef(r,a)}function f6(n,a=14){return n?Ef(n,a):"model —"}function bc(n){const a=n.name?.trim();return!a||n.scratch&&/^s\d+$/.test(a)?n.scratch?"Scratch session":a??n.id:a}function B2(n,a){return n.scratch?`scratch · ${n.id}`:pc(n.cwd,34,a)}function d6(n,a,s=70){return n.scratch?`${B2(n,a)} · ${pc(n.cwd,s,a)}`:pc(n.cwd,s,a)}async function h6(n){try{return await navigator.clipboard.writeText(n),!0}catch{return!1}}const m6=[{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 p6({sessions:n,focusedId:a,onFocus:s,onStartSession:r,onOpenDirectory:o,home:f,historyTotal:m}){const[p,b]=Y.useState(""),v=Y.useMemo(()=>{const y=p.trim().toLowerCase();return y.length===0?n:n.filter(C=>bc(C).toLowerCase().includes(y)||C.cwd.toLowerCase().includes(y)||C.id.toLowerCase().includes(y))},[n,p]),_=Y.useMemo(()=>m6.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(b6,{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 b6({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:bc(n)}),n.scratch&&h.jsx("span",{className:"chip chip-scratch",children:"scratch"}),h.jsx("span",{className:`chip chip-${n.state}`,children:L2(n)})]}),o?h.jsxs("span",{className:"r2 ask",title:o,children:["⚠ ",o]}):h.jsx("span",{className:"r2",title:n.cwd,children:B2(n,r)}),h.jsxs("span",{className:"r3",children:[h.jsx("span",{children:f6(n.model)}),h.jsx("span",{children:s6(n.thinkingLevel)}),h.jsx("span",{children:F2(n.contextPercent)}),h.jsx("span",{children:_f(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 g6="modulepreload",y6=function(n){return"/"+n},Qm={},rs=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=y6(v),v in Qm)return;Qm[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":g6,_||(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)})},x6="github-dark-default";let Jr,Wr;async function H2(){return Jr||(Wr||(Wr=rs(()=>import("./grammar-map-BNDc6jQR.js"),[]).then(n=>(Jr=n.grammars,Jr)).catch(()=>(Wr=void 0,{}))),Wr)}let Pr,es;const v6=new Set,K0=new Map;function q2(n){return n.trim().toLowerCase()}async function G2(n){if(n.length===0)return;const a=await H2(),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 _6(n){return await G2(q2(n))!==void 0}async function E6(n){const a=K0.get(n);if(a)return a;const s=await G2(n),r=s?(await H2())[s]:void 0;if(!r)return;const o=r().then(f=>f,()=>{K0.delete(n)});return K0.set(n,o),o}async function S6(){return Pr||(es||(es=(async()=>{try{const[{createHighlighterCore:n},{createJavaScriptRegexEngine:a},s]=await Promise.all([rs(()=>import("./core-CcaQSRDK.js"),[]),rs(()=>import("./engine-javascript-CuxHA8oH.js"),[]),rs(()=>import("./github-dark-default-Cuk6v7N8.js"),[])]);return Pr=await n({themes:[s],langs:[],engine:a()}),Pr}catch{es=void 0;return}})()),es)}function A6(n){return typeof n=="number"&&(n&1)===1}async function T6(n,a){if(n.length===0)return;const s=q2(a);if(!await _6(s))return;const r=await S6();if(r)try{if(!r.getLoadedLanguages().includes(s)){const f=await E6(s);if(!f)return;await r.loadLanguage(f.default),v6.add(s)}const{tokens:o}=r.codeToTokens(n,{lang:s,theme:x6});return{lang:s,lines:o.map(f=>f.map(m=>({text:m.content,...m.color!==void 0?{color:m.color}:{},...A6(m.fontStyle)?{italic:!0}:{}})))}}catch{return}}function D6(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 C6(n){return Y.createElement("pre",{className:`shiki shiki-${n.lang}`},Y.createElement("code",null,n.lines.map((a,s)=>Y.createElement("span",{className:"line",key:s},a.length===0?`
14
+ `:[...a.map((r,o)=>Y.createElement("span",{key:o,className:[D6(r.color),r.italic?"tk-i":void 0].filter(Boolean).join(" ")||void 0},r.text)),`
15
+ `]))))}const N6=/^(`{3,}|~{3,})\s*([^`\s]*)\s*$/;function k6(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=N6.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 O6(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 Im={};function z6(n){let a=Im[n];if(a)return a;a=Im[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 ai(n,a){typeof a!="string"&&(a=ai.defaultChars);const s=z6(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})}ai.defaultChars=";/?:@&=+$,#";ai.componentChars="";const Km={};function j6(n){let a=Km[n];if(a)return a;a=Km[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 Ec(n,a,s){typeof a!="string"&&(s=a,a=Ec.defaultChars),typeof s>"u"&&(s=!0);const r=j6(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}Ec.defaultChars=";/?:@&=+$,-_.!~*'()#";Ec.componentChars="-_.!~*'()";function Sf(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 ds(){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 M6=/^([a-z0-9.+-]+:)/i,w6=/:[0-9]*$/,R6=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,L6=["<",">",'"',"`"," ","\r",`
19
+ `," "],U6=["{","}","|","\\","^","`"].concat(L6),F6=["'"].concat(U6),$m=["%","/","?",";","#"].concat(F6),Jm=["/","?","#"],B6=255,Wm=/^[+a-z0-9A-Z_-]{0,63}$/,H6=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Pm={javascript:!0,"javascript:":!0},e2={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Af(n,a){if(n&&n instanceof ds)return n;const s=new ds;return s.parse(n,a),s}ds.prototype.parse=function(n,a){let s,r,o,f=n;if(f=f.trim(),!a&&n.split("#").length===1){const v=R6.exec(f);if(v)return this.pathname=v[1],v[2]&&(this.search=v[2]),this}let m=M6.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&&Pm[m])&&(f=f.substr(2),this.slashes=!0)),!Pm[m]&&(o||m&&!e2[m])){let v=-1;for(let A=0;A<Jm.length;A++)r=f.indexOf(Jm[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<$m.length;A++)r=f.indexOf($m[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,V=A.length;L<V;L++){const J=A[L];if(J&&!J.match(Wm)){let fe="";for(let le=0,G=J.length;le<G;le++)J.charCodeAt(le)>127?fe+="x":fe+=J[le];if(!fe.match(Wm)){const le=A.slice(0,L),G=A.slice(L+1),Q=J.match(H6);Q&&(le.push(Q[1]),G.unshift(Q[2])),G.length&&(f=G.join(".")+f),this.hostname=le.join(".");break}}}}this.hostname.length>B6&&(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),e2[s]&&this.hostname&&!this.pathname&&(this.pathname=""),this};ds.prototype.parseHost=function(n){let a=w6.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 q6=Object.freeze(Object.defineProperty({__proto__:null,decode:ai,encode:Ec,format:Sf,parse:Af},Symbol.toStringTag,{value:"Module"})),Y2=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,V2=/[\0-\x1F\x7F-\x9F]/,G6=/[\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]/,Tf=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/,Z2=/[\$\+<->\^`\|~\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]/,X2=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,Y6=Object.freeze(Object.defineProperty({__proto__:null,Any:Y2,Cc:V2,Cf:G6,P:Tf,S:Z2,Z:X2},Symbol.toStringTag,{value:"Module"})),V6=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))),Z6=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(n=>n.charCodeAt(0)));var $0;const X6=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]]),Q6=($0=String.fromCodePoint)!==null&&$0!==void 0?$0: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 I6(n){var a;return n>=55296&&n<=57343||n>1114111?65533:(a=X6.get(n))!==null&&a!==void 0?a:n}var Su;(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"})(Su||(Su={}));const K6=32;var xl;(function(n){n[n.VALUE_LENGTH=49152]="VALUE_LENGTH",n[n.BRANCH_LENGTH=16256]="BRANCH_LENGTH",n[n.JUMP_TABLE=127]="JUMP_TABLE"})(xl||(xl={}));function bf(n){return n>=Su.ZERO&&n<=Su.NINE}function $6(n){return n>=Su.UPPER_A&&n<=Su.UPPER_F||n>=Su.LOWER_A&&n<=Su.LOWER_F}function J6(n){return n>=Su.UPPER_A&&n<=Su.UPPER_Z||n>=Su.LOWER_A&&n<=Su.LOWER_Z||bf(n)}function W6(n){return n===Su.EQUALS||J6(n)}var Eu;(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"})(Eu||(Eu={}));var Cn;(function(n){n[n.Legacy=0]="Legacy",n[n.Strict=1]="Strict",n[n.Attribute=2]="Attribute"})(Cn||(Cn={}));class P6{constructor(a,s,r){this.decodeTree=a,this.emitCodePoint=s,this.errors=r,this.state=Eu.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Cn.Strict}startEntity(a){this.decodeMode=a,this.state=Eu.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(a,s){switch(this.state){case Eu.EntityStart:return a.charCodeAt(s)===Su.NUM?(this.state=Eu.NumericStart,this.consumed+=1,this.stateNumericStart(a,s+1)):(this.state=Eu.NamedEntity,this.stateNamedEntity(a,s));case Eu.NumericStart:return this.stateNumericStart(a,s);case Eu.NumericDecimal:return this.stateNumericDecimal(a,s);case Eu.NumericHex:return this.stateNumericHex(a,s);case Eu.NamedEntity:return this.stateNamedEntity(a,s)}}stateNumericStart(a,s){return s>=a.length?-1:(a.charCodeAt(s)|K6)===Su.LOWER_X?(this.state=Eu.NumericHex,this.consumed+=1,this.stateNumericHex(a,s+1)):(this.state=Eu.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(bf(o)||$6(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(bf(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===Su.SEMI)this.consumed+=1;else if(this.decodeMode===Cn.Strict)return 0;return this.emitCodePoint(I6(this.result),this.consumed),this.errors&&(a!==Su.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&xl.VALUE_LENGTH)>>14;for(;s<a.length;s++,this.excess++){const m=a.charCodeAt(s);if(this.treeIndex=ey(r,o,this.treeIndex+Math.max(1,f),m),this.treeIndex<0)return this.result===0||this.decodeMode===Cn.Attribute&&(f===0||W6(m))?0:this.emitNotTerminatedNamedEntity();if(o=r[this.treeIndex],f=(o&xl.VALUE_LENGTH)>>14,f!==0){if(m===Su.SEMI)return this.emitNamedEntityData(this.treeIndex,f,this.consumed+this.excess);this.decodeMode!==Cn.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]&xl.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]&~xl.VALUE_LENGTH:o[a+1],r),s===3&&this.emitCodePoint(o[a+2],r),r}end(){var a;switch(this.state){case Eu.NamedEntity:return this.result!==0&&(this.decodeMode!==Cn.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Eu.NumericDecimal:return this.emitNumericEntity(0,2);case Eu.NumericHex:return this.emitNumericEntity(0,3);case Eu.NumericStart:return(a=this.errors)===null||a===void 0||a.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Eu.EntityStart:return 0}}}function Q2(n){let a="";const s=new P6(n,r=>a+=Q6(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 ey(n,a,s,r){const o=(a&xl.BRANCH_LENGTH)>>7,f=a&xl.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 I2=Q2(V6);Q2(Z6);function uy(n,a=Cn.Legacy){return I2(n,a)}function ty(n){return I2(n,Cn.Strict)}function ny(n){return Object.prototype.toString.call(n)}function Df(n){return ny(n)==="[object String]"}const ly=Object.prototype.hasOwnProperty;function ay(n,a){return ly.call(n,a)}function ms(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 iy(n,a,s){return[].concat(n.slice(0,a),s,n.slice(a+1))}function Cf(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 gc(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 K2=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,cy=/&([a-z#][a-z0-9]{1,31});/gi,ry=new RegExp(K2.source+"|"+cy.source,"gi"),sy=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function oy(n,a){if(a.charCodeAt(0)===35&&sy.test(a)){const r=a[1].toLowerCase()==="x"?parseInt(a.slice(2),16):parseInt(a.slice(1),10);return Cf(r)?gc(r):n}const s=uy(n);return s!==n?s:n}function fy(n){return n.indexOf("\\")<0?n:n.replace(K2,"$1")}function ii(n){return n.indexOf("\\")<0&&n.indexOf("&")<0?n:n.replace(ry,function(a,s,r){return s||oy(a,r)})}const dy=/[&<>"]/,hy=/[&<>"]/g,my={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function py(n){return my[n]}function vl(n){return dy.test(n)?n.replace(hy,py):n}const by=/[.?*+^$[\]\\(){}|-]/g;function gy(n){return n.replace(by,"\\$&")}function Ke(n){switch(n){case 9:case 32:return!0}return!1}function yc(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 $2(n){return Tf.test(n)||Z2.test(n)}function xc(n){return $2(gc(n))}function vc(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 ps(n){return n=n.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(n=n.replace(/ẞ/g,"ß")),n.toLowerCase().toUpperCase()}function u2(n){return n===32||n===9||n===10||n===13}function bs(n){let a=0;for(;a<n.length&&u2(n.charCodeAt(a));a++);let s=n.length-1;for(;s>=a&&u2(n.charCodeAt(s));s--);return n.slice(a,s+1)}const yy={mdurl:q6,ucmicro:Y6},xy=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:iy,asciiTrim:bs,assign:ms,escapeHtml:vl,escapeRE:gy,fromCodePoint:gc,has:ay,isMdAsciiPunct:vc,isPunctChar:$2,isPunctCharCode:xc,isSpace:Ke,isString:Df,isValidEntityCode:Cf,isWhiteSpace:yc,lib:yy,normalizeReference:ps,unescapeAll:ii,unescapeMd:fy},Symbol.toStringTag,{value:"Module"}));function vy(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 _y(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=ii(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=ii(n.slice(a,o)),f.pos=o,f.ok=!0),f}function Ey(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+=ii(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+=ii(n.slice(a,f)),m}const Sy=Object.freeze(Object.defineProperty({__proto__:null,parseLinkDestination:_y,parseLinkLabel:vy,parseLinkTitle:Ey},Symbol.toStringTag,{value:"Module"})),ln={};ln.code_inline=function(n,a,s,r,o){const f=n[a];return"<code"+o.renderAttrs(f)+">"+vl(f.content)+"</code>"};ln.code_block=function(n,a,s,r,o){const f=n[a];return"<pre"+o.renderAttrs(f)+"><code>"+vl(n[a].content)+`</code></pre>
20
+ `};ln.fence=function(n,a,s,r,o){const f=n[a],m=f.info?ii(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)||vl(f.content):v=vl(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
+ `};ln.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)};ln.hardbreak=function(n,a,s){return s.xhtmlOut?`<br />
24
+ `:`<br>
25
+ `};ln.softbreak=function(n,a,s){return s.breaks?s.xhtmlOut?`<br />
26
+ `:`<br>
27
+ `:`
28
+ `};ln.text=function(n,a){return vl(n[a].content)};ln.html_block=function(n,a){return n[a].content};ln.html_inline=function(n,a){return n[a].content};function ci(){this.rules=ms({},ln)}ci.prototype.renderAttrs=function(a){let s,r,o;if(!a.attrs)return"";for(o="",s=0,r=a.attrs.length;s<r;s++)o+=" "+vl(a.attrs[s][0])+'="'+vl(a.attrs[s][1])+'"';return o};ci.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};ci.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};ci.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};ci.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 nt(){this.__rules__=[],this.__cache__=null}nt.prototype.__find__=function(n){for(let a=0;a<this.__rules__.length;a++)if(this.__rules__[a].name===n)return a;return-1};nt.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))})})};nt.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};nt.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};nt.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};nt.prototype.push=function(n,a,s){const r=s||{};this.__rules__.push({name:n,enabled:!0,fn:a,alt:r.alt||[]}),this.__cache__=null};nt.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};nt.prototype.enableOnly=function(n,a){Array.isArray(n)||(n=[n]),this.__rules__.forEach(function(s){s.enabled=!1}),this.enable(n,a)};nt.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};nt.prototype.getRules=function(n){return this.__cache__===null&&this.__compile__(),this.__cache__[n]||[]};function Ft(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}Ft.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};Ft.prototype.attrPush=function(a){this.attrs?this.attrs.push(a):this.attrs=[a]};Ft.prototype.attrSet=function(a,s){const r=this.attrIndex(a),o=[a,s];r<0?this.attrPush(o):this.attrs[r]=o};Ft.prototype.attrGet=function(a){const s=this.attrIndex(a);let r=null;return s>=0&&(r=this.attrs[s][1]),r};Ft.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 J2(n,a,s){this.src=n,this.env=s,this.tokens=[],this.inlineMode=!1,this.md=a}J2.prototype.Token=Ft;const Ay=/\r\n?|\n/g,Ty=/\0/g;function Dy(n){let a;a=n.src.replace(Ay,`
32
+ `),a=a.replace(Ty,"�"),n.src=a}function Cy(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 Ny(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 ky(n){return/^<a[>\s]/i.test(n)}function Oy(n){return/^<\/a\s*>/i.test(n)}function zy(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"&&(ky(b.content)&&m>0&&m--,Oy(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,V=n.md.normalizeLink(L);if(!n.md.validateLink(V))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 ae=new n.Token("text","",0);ae.content=v.slice(M,fe),ae.level=C,y.push(ae)}const le=new n.Token("link_open","a",1);le.attrs=[["href",V]],le.level=C++,le.markup="linkify",le.info="auto",y.push(le);const G=new n.Token("text","",0);G.content=J,G.level=C,y.push(G);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 W2=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,jy=/\((c|tm|r)\)/i,My=/\((c|tm|r)\)/ig,wy={c:"©",r:"®",tm:"™"};function Ry(n,a){return wy[a.toLowerCase()]}function Ly(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(My,Ry)),r.type==="link_open"&&r.info==="auto"&&a--,r.type==="link_close"&&r.info==="auto"&&a++}}function Uy(n){let a=0;for(let s=n.length-1;s>=0;s--){const r=n[s];r.type==="text"&&!a&&W2.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 Fy(n){let a;if(n.md.options.typographer)for(a=n.tokens.length-1;a>=0;a--)n.tokens[a].type==="inline"&&(jy.test(n.tokens[a].content)&&Ly(n.tokens[a].children),W2.test(n.tokens[a].content)&&Uy(n.tokens[a].children))}const By=/['"]/,t2=/['"]/g,n2="’",Hy=1e3;function l2(n,a,s){for(;n.length>s;){const r=n.pop();r.isSingleQuote?a.single=r.prevSameQuoteIdx:a.double=r.prevSameQuoteIdx}}function us(n,a,s,r){n[a]||(n[a]=[]),n[a].push({pos:s,ch:r})}function qy(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 Gy(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(l2(r,o,s+1),p.type!=="text")continue;const v=p.content;let _=0;const y=v.length;e:for(;_<y;){t2.lastIndex=_;const C=t2.exec(v);if(!C)break;let M=!0,A=!0;_=C.index+1;const L=C[0]==="'";let V=32;if(C.index-1>=0)V=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){V=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=vc(V)||xc(V),le=vc(J)||xc(J),G=yc(V),Q=yc(J);if(Q?M=!1:le&&(G||fe||(M=!1)),G?A=!1:fe&&(Q||le||(A=!1)),J===34&&C[0]==='"'&&V>=48&&V<=57&&(A=M=!1),M&&A&&(M=fe,A=le),!M&&!A){L&&us(f,m,C.index,n2);continue}if(A&&(s=L?o.single:o.double,s>=0&&r[s].level===b)){const ae=r[s];let P,ie;L?(P=a.md.options.quotes[2],ie=a.md.options.quotes[3]):(P=a.md.options.quotes[0],ie=a.md.options.quotes[1]),us(f,m,C.index,ie),us(f,ae.tokenIdx,ae.contentPos,P),l2(r,o,s);continue e}if(M){if(r.length>=Hy)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&&us(f,m,C.index,n2)}}Object.keys(f).forEach(function(m){n[m].content=qy(n[m].content,f[m])})}function Yy(n){if(n.md.options.typographer)for(let a=n.tokens.length-1;a>=0;a--)n.tokens[a].type!=="inline"||!By.test(n.tokens[a].content)||Gy(n.tokens[a].children,n)}function Vy(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 J0=[["normalize",Dy],["block",Cy],["inline",Ny],["linkify",zy],["replacements",Fy],["smartquotes",Yy],["text_join",Vy]];function Nf(){this.ruler=new nt;for(let n=0;n<J0.length;n++)this.ruler.push(J0[n][0],J0[n][1])}Nf.prototype.process=function(n){const a=this.ruler.getRules("");for(let s=0,r=a.length;s<r;s++)a[s](n)};Nf.prototype.State=J2;function an(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}an.prototype.push=function(n,a,s){const r=new Ft(n,a,s);return r.block=!0,s<0&&this.level--,r.level=this.level,s>0&&this.level++,this.tokens.push(r),r};an.prototype.isEmpty=function(a){return this.bMarks[a]+this.tShift[a]>=this.eMarks[a]};an.prototype.skipEmptyLines=function(a){for(let s=this.lineMax;a<s&&!(this.bMarks[a]+this.tShift[a]<this.eMarks[a]);a++);return a};an.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};an.prototype.skipSpacesBack=function(a,s){if(a<=s)return a;for(;a>s;)if(!Ke(this.src.charCodeAt(--a)))return a+1;return a};an.prototype.skipChars=function(a,s){for(let r=this.src.length;a<r&&this.src.charCodeAt(a)===s;a++);return a};an.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};an.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("")};an.prototype.Token=Ft;const Zy=65536;function W0(n,a){const s=n.bMarks[a]+n.tShift[a],r=n.eMarks[a];return n.src.slice(s,r)}function a2(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 Xy(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 G=n.src.charCodeAt(f);if(G!==124&&G!==45&&G!==58&&!Ke(G))return!1;f++}let b=W0(n,a+1),v=b.split("|");const _=[];for(let G=0;G<v.length;G++){const Q=v[G].trim();if(!Q){if(G===0||G===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=W0(n,a).trim(),b.indexOf("|")===-1||n.sCount[a]-n.blkIndent>=4)return!1;v=a2(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 V=n.push("thead_open","thead",1);V.map=[a,a+1];const J=n.push("tr_open","tr",1);J.map=[a,a+1];for(let G=0;G<v.length;G++){const Q=n.push("th_open","th",1);_[G]&&(Q.attrs=[["style","text-align:"+_[G]]]);const ae=n.push("inline","",0);ae.content=v[G].trim(),ae.children=[],n.push("th_close","th",-1)}n.push("tr_close","tr",-1),n.push("thead_close","thead",-1);let fe,le=0;for(o=a+2;o<s&&!(n.sCount[o]<n.blkIndent);o++){let G=!1;for(let ae=0,P=M.length;ae<P;ae++)if(M[ae](n,o,s,!0)){G=!0;break}if(G||(b=W0(n,o).trim(),!b)||n.sCount[o]-n.blkIndent>=4||(v=a2(b),v.length&&v[0]===""&&v.shift(),v.length&&v[v.length-1]===""&&v.pop(),le+=y-v.length,le>Zy))break;if(o===a+2){const ae=n.push("tbody_open","tbody",1);ae.map=fe=[a+2,0]}const Q=n.push("tr_open","tr",1);Q.map=[o,o+1];for(let ae=0;ae<y;ae++){const P=n.push("td_open","td",1);_[ae]&&(P.attrs=[["style","text-align:"+_[ae]]]);const ie=n.push("inline","",0);ie.content=v[ae]?v[ae].trim():"",ie.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 Qy(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 Iy(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 Ky(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 le=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&&!le){let Q=n.sCount[A]+1,ae,P;n.src.charCodeAt(o)===32?(o++,Q++,P=!1,ae=!0):n.src.charCodeAt(o)===9?(ae=!0,(n.bsCount[A]+Q)%4===3?(o++,Q++,P=!1):P=!0):ae=!1;let ie=Q;for(p.push(n.bMarks[A]),n.bMarks[A]=o;o<f;){const $e=n.src.charCodeAt(o);if(Ke($e))$e===9?ie+=4-(ie+n.bsCount[A]+(P?1:0))%4:ie++;else break;o++}M=o>=f,b.push(n.bsCount[A]),n.bsCount[A]=n.sCount[A]+1+(ae?1:0),v.push(n.sCount[A]),n.sCount[A]=ie-Q,_.push(n.tShift[A]),n.tShift[A]=o-n.bMarks[A];continue}if(M)break;let G=!1;for(let Q=0,ae=y.length;Q<ae;Q++)if(y[Q](n,A,s,!0)){G=!0;break}if(G){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 V=n.push("blockquote_open","blockquote",1);V.markup=">";const J=[a,0];V.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 le=0;le<_.length;le++)n.bMarks[le+a]=p[le],n.tShift[le+a]=_[le],n.sCount[le+a]=v[le],n.bsCount[le+a]=b[le];return n.blkIndent=L,!0}function $y(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 i2(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 c2(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 Jy(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 Wy(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=c2(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=i2(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 V=[b,0];p.map=V,p.markup=String.fromCharCode(A);let J=!1;const fe=n.md.block.ruler.getRules("list"),le=n.parentType;for(n.parentType="list";b<s;){f=M,o=n.eMarks[b];const G=n.sCount[b]+M-(n.bMarks[b]+n.tShift[b]);let Q=G;for(;f<o;){const Te=n.src.charCodeAt(f);if(Te===9)Q+=4-(Q+n.bsCount[b])%4;else if(Te===32)Q++;else break;f++}const ae=f;let P;ae>=o?P=1:P=Q-G,P>4&&(P=1);const ie=G+P;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 Be=n.tight,ue=n.tShift[b],ge=n.sCount[b],Je=n.listIndent;if(n.listIndent=n.blkIndent,n.blkIndent=ie,n.tight=!0,n.tShift[b]=ae-n.bMarks[b],n.sCount[b]=Q,ae>=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=Je,n.tShift[b]=ue,n.sCount[b]=ge,n.tight=Be,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 We=!1;for(let Te=0,W=fe.length;Te<W;Te++)if(fe[Te](n,b,s,!0)){We=!0;break}if(We)break;if(y){if(M=c2(n,b),M<0)break;m=n.bMarks[b]+n.tShift[b]}else if(M=i2(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),V[1]=b,n.line=b,n.parentType=le,v&&Jy(n,L),!0}const P0=999;function Py(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 sc(n,a){return Math.min(n.eMarks[a]+1,n.src.length)}function ts(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 e4(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=sc(n,a),b="",v=-1,_=++f;for(;f<p;){if(b.length+f-_>P0*2)return!1;let G=o.charCodeAt(f);if(G===91)return!1;if(G===93){v=f;break}if(G===92&&(G=o.charCodeAt(++f)),G===10&&f<p){const Q=ts(n,m);if(Q<0)return!1;b+=o.slice(_,p),f=_=Q,p=sc(n,m++);continue}f++}if(v<0||o.charCodeAt(v+1)!==58||(b+=o.slice(_,v),b.length>P0&&Py(b)>P0))return!1;for(f=v+2;f<p;){const G=o.charCodeAt(f);if(G===10){const Q=ts(n,m);if(Q<0)break;f=Q,p=sc(n,m++)}else if(Ke(G))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 G=o.charCodeAt(f);if(G===10){const Q=ts(n,m);if(Q<0)break;f=Q,p=sc(n,m++)}else if(Ke(G))f++;else break}const V=f;let J=n.md.helpers.parseLinkTitle(o,f,p);for(;J.can_continue;){const G=ts(n,m);if(G<0)break;f=G,p=sc(n,m++),J=n.md.helpers.parseLinkTitle(o,f,p,J)}let fe;for(V!==M&&J.ok?(fe=J.str,f=J.pos):(fe="",f=M,p=A,m=L);f<p;){const G=o.charCodeAt(f);if(!Ke(G))break;f++}if(f<p&&o.charCodeAt(f)!==10&&fe)for(fe="",f=M,p=A,m=L;f<p;){const G=o.charCodeAt(f);if(!Ke(G))break;f++}if(f<p&&o.charCodeAt(f)!==10)return!1;const le=ps(b);return le?(r||(typeof n.env.references>"u"&&(n.env.references={}),typeof n.env.references[le]>"u"&&(n.env.references[le]={title:fe,href:C}),n.line=m),!0):!1}const u4=["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"],t4="[a-zA-Z_:][a-zA-Z0-9:._-]*",n4="[^\"'=<>`\\x00-\\x20]+",l4="'[^']*'",a4='"[^"]*"',i4="(?:"+n4+"|"+l4+"|"+a4+")",c4="(?:\\s+"+t4+"(?:\\s*=\\s*"+i4+")?)",r4="<[A-Za-z][A-Za-z0-9\\-]*"+c4+"*\\s*\\/?>",s4="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",P2=new RegExp("^(?:"+r4+"|"+s4+")"),ea=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Za-z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+u4.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(P2.source+"\\s*$"),/^$/,!1]];function o4(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 f4(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=bs(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 d4(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=bs(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 h4(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=bs(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 ns=[["table",Xy,["paragraph","reference"]],["code",Qy],["fence",Iy,["paragraph","reference","blockquote","list"]],["blockquote",Ky,["paragraph","reference","blockquote","list"]],["hr",$y,["paragraph","reference","blockquote","list"]],["list",Wy,["paragraph","reference","blockquote"]],["reference",e4],["html_block",o4,["paragraph","reference","blockquote"]],["heading",f4,["paragraph","reference","blockquote"]],["lheading",d4],["paragraph",h4]];function gs(){this.ruler=new nt;for(let n=0;n<ns.length;n++)this.ruler.push(ns[n][0],ns[n][1],{alt:(ns[n][2]||[]).slice()})}gs.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)}};gs.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)};gs.prototype.State=an;function Sc(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}Sc.prototype.pushPending=function(){const n=new Ft("text","",0);return n.content=this.pending,n.level=this.pendingLevel,this.tokens.push(n),this.pending="",n};Sc.prototype.push=function(n,a,s){this.pending&&this.pushPending();const r=new Ft(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};Sc.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 V=this.src.charCodeAt(n-2);o=(V&64512)===55296?65536+(V-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 V=this.src.charCodeAt(f+1);p=(V&64512)===56320?65536+(p-55296<<10)+(V-56320):65533}else(p&64512)===56320&&(p=65533);const b=vc(o)||xc(o),v=vc(p)||xc(p),_=yc(o),y=yc(p),C=!y&&(!v||_||b),M=!_&&(!b||y||v);return{can_open:C&&(a||!M||b),can_close:M&&(a||!C||v),length:m}};Sc.prototype.Token=Ft;function m4(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 p4(n,a){let s=n.pos;for(;s<n.posMax&&!m4(n.src.charCodeAt(s));)s++;return s===n.pos?!1:(a||(n.pending+=n.src.slice(n.pos,s)),n.pos=s,!0)}function b4(n){return n>=65&&n<=90||n>=97&&n<=122}function g4(n){return n>=65&&n<=90||n>=97&&n<=122||n>=48&&n<=57||n===43||n===45||n===46}function y4(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&&g4(n.src.charCodeAt(f-1));)f--;if(f===s||!b4(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 x4(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 kf=[];for(let n=0;n<256;n++)kf.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(n){kf[n.charCodeAt(0)]=1});function v4(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&&kf[o]!==0?p.content=f:p.content=m,p.markup=m,p.info="escape"}return n.pos=s+1,!0}function _4(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 E4(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 r2(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 S4(n){const a=n.tokens_meta,s=n.tokens_meta.length;r2(n,n.delimiters);for(let r=0;r<s;r++)a[r]&&a[r].delimiters&&r2(n,a[r].delimiters)}const ep={tokenize:E4,postProcess:S4};function A4(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 s2(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 T4(n){const a=n.tokens_meta,s=n.tokens_meta.length;s2(n,n.delimiters);for(let r=0;r<s;r++)a[r]&&a[r].delimiters&&s2(n,a[r].delimiters)}const up={tokenize:A4,postProcess:T4};function D4(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[ps(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),V=[["href",m]];L.attrs=V,p&&V.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 C4(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[ps(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 V=n.push("image","img",0),J=[["src",_],["alt",""]];V.attrs=J,V.children=L,V.content=r,b&&J.push(["title",b])}return n.pos=f,n.posMax=C,!0}const N4=/^([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])?)*)$/,k4=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function O4(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(k4.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(N4.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 z4(n){return/^<a[>\s]/i.test(n)}function j4(n){return/^<\/a\s*>/i.test(n)}function tp(n){const a=n|32;return a>=97&&a<=122}function M4(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(tp(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 w4(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=M4(n,r);else if(f===47||tp(f)){const m=n.src.slice(r).match(P2);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),z4(m.content)&&n.linkLevel++,j4(m.content)&&n.linkLevel--}return n.pos=o,!0}const R4=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,L4=/^&([a-z][a-z0-9]{1,31});/i;function U4(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(R4);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=Cf(m)?gc(m):gc(65533),p.markup=f[0],p.info="entity"}return n.pos+=f[0].length,!0}}else{const f=n.src.slice(s).match(L4);if(f){const m=ty(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 o2(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 F4(n){const a=n.tokens_meta,s=n.tokens_meta.length;o2(n.delimiters);for(let r=0;r<s;r++)a[r]&&a[r].delimiters&&o2(a[r].delimiters)}function B4(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 ef=[["text",p4],["linkify",y4],["newline",x4],["escape",v4],["backticks",_4],["strikethrough",ep.tokenize],["emphasis",up.tokenize],["link",D4],["image",C4],["autolink",O4],["html_inline",w4],["entity",U4]],uf=[["balance_pairs",F4],["strikethrough",ep.postProcess],["emphasis",up.postProcess],["fragments_join",B4]];function Ac(){this.ruler=new nt;for(let n=0;n<ef.length;n++)this.ruler.push(ef[n][0],ef[n][1]);this.ruler2=new nt;for(let n=0;n<uf.length;n++)this.ruler2.push(uf[n][0],uf[n][1])}Ac.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};Ac.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()};Ac.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)};Ac.prototype.State=Sc;function H4(n){const a={};n=n||{},a.src_Any=Y2.source,a.src_Cc=V2.source,a.src_Z=X2.source,a.src_P=Tf.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 gf(n){return Array.prototype.slice.call(arguments,1).forEach(function(s){s&&Object.keys(s).forEach(function(r){n[r]=s[r]})}),n}function ys(n){return Object.prototype.toString.call(n)}function q4(n){return ys(n)==="[object String]"}function G4(n){return ys(n)==="[object Object]"}function Y4(n){return ys(n)==="[object RegExp]"}function f2(n){return ys(n)==="[object Function]"}function V4(n){return n.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const np={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function Z4(n){return Object.keys(n||{}).reduce(function(a,s){return a||np.hasOwnProperty(s)},!1)}const X4={"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}}},Q4="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]",I4="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function K4(n){return function(a,s){const r=a.slice(s);return n.test(r)?r.match(n)[0].length:0}}function d2(){return function(n,a){a.normalize(n)}}function hs(n){const a=n.re=H4(n.__opts__),s=n.__tlds__.slice();n.onCompile(),n.__tlds_replaced__||s.push(Q4),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,G4(b)){Y4(b.validate)?v.validate=K4(b.validate):f2(b.validate)?v.validate=b.validate:f(p,b),f2(b.normalize)?v.normalize=b.normalize:b.normalize?f(p,b):v.normalize=d2();return}if(q4(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:d2()};const m=Object.keys(n.__compiled__).filter(function(p){return p.length>0&&n.__compiled__[p]}).map(V4).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 lp(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 mt(n,a){if(!(this instanceof mt))return new mt(n,a);a||Z4(n)&&(a=n,n={}),this.__opts__=gf({},np,a),this.__schemas__=gf({},X4,n),this.__compiled__={},this.__tlds__=I4,this.__tlds_replaced__=!1,this.re={},hs(this)}mt.prototype.add=function(a,s){return this.__schemas__[a]=s,hs(this),this};mt.prototype.set=function(a){return this.__opts__=gf(this.__opts__,a),this};mt.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)};mt.prototype.pretest=function(a){return this.re.pretest.test(a)};mt.prototype.testSchemaAt=function(a,s,r){return this.__compiled__[s.toLowerCase()]?this.__compiled__[s.toLowerCase()].validate(a,r,this):0};mt.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 lp(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};mt.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 lp(a,s[2],s.index+s[1].length,s.index+s[0].length+r);return this.__compiled__[o.schema].normalize(o,this),o};mt.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(),hs(this),this):(this.__tlds__=a.slice(),this.__tlds_replaced__=!0,hs(this),this)};mt.prototype.normalize=function(a){a.schema||(a.url=`http://${a.url}`),a.schema==="mailto:"&&!/^mailto:/i.test(a.url)&&(a.url=`mailto:${a.url}`)};mt.prototype.onCompile=function(){};const ti=2147483647,tn=36,Of=1,_c=26,$4=38,J4=700,ap=72,ip=128,cp="-",W4=/^xn--/,P4=/[^\0-\x7F]/,ex=/[\x2E\u3002\uFF0E\uFF61]/g,ux={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},tf=tn-Of,nn=Math.floor,nf=String.fromCharCode;function gl(n){throw new RangeError(ux[n])}function tx(n,a){const s=[];let r=n.length;for(;r--;)s[r]=a(n[r]);return s}function rp(n,a){const s=n.split("@");let r="";s.length>1&&(r=s[0]+"@",n=s[1]),n=n.replace(ex,".");const o=n.split("."),f=tx(o,a).join(".");return r+f}function sp(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 nx=n=>String.fromCodePoint(...n),lx=function(n){return n>=48&&n<58?26+(n-48):n>=65&&n<91?n-65:n>=97&&n<123?n-97:tn},h2=function(n,a){return n+22+75*(n<26)-((a!=0)<<5)},op=function(n,a,s){let r=0;for(n=s?nn(n/J4):n>>1,n+=nn(n/a);n>tf*_c>>1;r+=tn)n=nn(n/tf);return nn(r+(tf+1)*n/(n+$4))},fp=function(n){const a=[],s=n.length;let r=0,o=ip,f=ap,m=n.lastIndexOf(cp);m<0&&(m=0);for(let p=0;p<m;++p)n.charCodeAt(p)>=128&&gl("not-basic"),a.push(n.charCodeAt(p));for(let p=m>0?m+1:0;p<s;){const b=r;for(let _=1,y=tn;;y+=tn){p>=s&&gl("invalid-input");const C=lx(n.charCodeAt(p++));C>=tn&&gl("invalid-input"),C>nn((ti-r)/_)&&gl("overflow"),r+=C*_;const M=y<=f?Of:y>=f+_c?_c:y-f;if(C<M)break;const A=tn-M;_>nn(ti/A)&&gl("overflow"),_*=A}const v=a.length+1;f=op(r-b,v,b==0),nn(r/v)>ti-o&&gl("overflow"),o+=nn(r/v),r%=v,a.splice(r++,0,o)}return String.fromCodePoint(...a)},dp=function(n){const a=[];n=sp(n);const s=n.length;let r=ip,o=0,f=ap;for(const b of n)b<128&&a.push(nf(b));const m=a.length;let p=m;for(m&&a.push(cp);p<s;){let b=ti;for(const _ of n)_>=r&&_<b&&(b=_);const v=p+1;b-r>nn((ti-o)/v)&&gl("overflow"),o+=(b-r)*v,r=b;for(const _ of n)if(_<r&&++o>ti&&gl("overflow"),_===r){let y=o;for(let C=tn;;C+=tn){const M=C<=f?Of:C>=f+_c?_c:C-f;if(y<M)break;const A=y-M,L=tn-M;a.push(nf(h2(M+A%L,0))),y=nn(A/L)}a.push(nf(h2(y,0))),f=op(o,v,p===m),o=0,++p}++o,++r}return a.join("")},ax=function(n){return rp(n,function(a){return W4.test(a)?fp(a.slice(4).toLowerCase()):a})},ix=function(n){return rp(n,function(a){return P4.test(a)?"xn--"+dp(a):a})},hp={version:"2.3.1",ucs2:{decode:sp,encode:nx},decode:fp,encode:dp,toASCII:ix,toUnicode:ax},cx={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},rx={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"]}}},sx={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"]}}},ox={default:cx,zero:rx,commonmark:sx},fx=/^(vbscript|javascript|file|data):/,dx=/^data:image\/(gif|png|jpeg|webp);/;function hx(n){const a=n.trim().toLowerCase();return fx.test(a)?dx.test(a):!0}const mp=["http:","https:","mailto:"];function mx(n){const a=Af(n,!0);if(a.hostname&&(!a.protocol||mp.indexOf(a.protocol)>=0))try{a.hostname=hp.toASCII(a.hostname)}catch{}return Ec(Sf(a))}function px(n){const a=Af(n,!0);if(a.hostname&&(!a.protocol||mp.indexOf(a.protocol)>=0))try{a.hostname=hp.toUnicode(a.hostname)}catch{}return ai(Sf(a),ai.defaultChars+"%")}function Ct(n,a){if(!(this instanceof Ct))return new Ct(n,a);a||Df(n)||(a=n||{},n="default"),this.inline=new Ac,this.block=new gs,this.core=new Nf,this.renderer=new ci,this.linkify=new mt,this.validateLink=hx,this.normalizeLink=mx,this.normalizeLinkText=px,this.utils=xy,this.helpers=ms({},Sy),this.options={},this.configure(n),a&&this.set(a)}Ct.prototype.set=function(n){return ms(this.options,n),this};Ct.prototype.configure=function(n){const a=this;if(Df(n)){const s=n;if(n=ox[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};Ct.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};Ct.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};Ct.prototype.use=function(n){const a=[this].concat(Array.prototype.slice.call(arguments,1));return n.apply(n,a),this};Ct.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};Ct.prototype.render=function(n,a){return a=a||{},this.renderer.render(this.parse(n,a),this.options,a)};Ct.prototype.parseInline=function(n,a){const s=new this.core.State(n,this,a);return s.inlineMode=!0,this.core.process(s),s.tokens};Ct.prototype.renderInline=function(n,a){return a=a||{},this.renderer.render(this.parseInline(n,a),this.options,a)};function m2(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 bx(n){if(Array.isArray(n))return n}function gx(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 yx(){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 xx(n,a){return bx(n)||gx(n,a)||vx(n,a)||yx()}function vx(n,a){if(n){if(typeof n=="string")return m2(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)?m2(n,a):void 0}}const pp=Object.entries,p2=Object.setPrototypeOf,_x=Object.isFrozen,bp=Object.getPrototypeOf,gp=Object.getOwnPropertyDescriptor;let Au=Object.freeze,Mu=Object.seal,ei=Object.create,yp=typeof Reflect<"u"&&Reflect,yf=yp.apply,xf=yp.construct;Au||(Au=function(a){return a});Mu||(Mu=function(a){return a});yf||(yf=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)});xf||(xf=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 Tn=eu(Array.prototype.forEach),Ex=eu(Array.prototype.lastIndexOf),b2=eu(Array.prototype.pop),oc=eu(Array.prototype.push),Sx=eu(Array.prototype.slice),Ax=eu(Array.prototype.splice),ni=Array.isArray,lf=xp(Set),af=eu(Set.prototype.add),fc=eu(Set.prototype.has),ua=eu(String.prototype.toLowerCase),cf=eu(String.prototype.toString),g2=eu(String.prototype.match),dc=eu(String.prototype.replace),y2=eu(String.prototype.indexOf),Tx=eu(String.prototype.trim),Dx=eu(Number.prototype.toString),Cx=eu(Boolean.prototype.toString),x2=typeof BigInt>"u"?null:eu(BigInt.prototype.toString),v2=typeof Symbol>"u"?null:eu(Symbol.prototype.toString),tt=eu(Object.prototype.hasOwnProperty),hc=eu(Object.prototype.toString),ju=eu(RegExp.prototype.test),Dn=xp(TypeError);function eu(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 yf(n,a,r)}}function xp(n){return function(){for(var a=arguments.length,s=new Array(a),r=0;r<a;r++)s[r]=arguments[r];return xf(n,s)}}function Ue(n,a){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ua;if(p2&&p2(n,null),!ni(a))return n;let r=a.length;for(;r--;){let o=a[r];if(typeof o=="string"){const f=s(o);f!==o&&(_x(a)||(a[r]=f),o=f)}n[o]=!0}return n}function Nx(n){for(let a=0;a<n.length;a++)tt(n,a)||(n[a]=null);return n}function ht(n){const a=ei(null);for(const r of pp(n)){var s=xx(r,2);const o=s[0],f=s[1];tt(n,o)&&(ni(f)?a[o]=Nx(f):f&&typeof f=="object"&&f.constructor===Object?a[o]=ht(f):a[o]=f)}return a}function kx(n){switch(typeof n){case"string":return n;case"number":return Dx(n);case"boolean":return Cx(n);case"bigint":return x2?x2(n):"0";case"symbol":return v2?v2(n):"Symbol()";case"undefined":return hc(n);case"function":case"object":{if(n===null)return hc(n);const a=n,s=Dt(a,"toString");if(typeof s=="function"){const r=s(a);return typeof r=="string"?r:hc(r)}return hc(n)}default:return hc(n)}}function Dt(n,a){for(;n!==null;){const r=gp(n,a);if(r){if(r.get)return eu(r.get);if(typeof r.value=="function")return eu(r.value)}n=bp(n)}function s(){return null}return s}function Ox(n,a){for(;n!==null;){const s=gp(n,a);if(s)return s.get?eu(s.get):null;n=bp(n)}return null}function zx(n){try{return ju(n,""),!0}catch{return!1}}const _2=Au(["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"]),rf=Au(["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"]),sf=Au(["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"]),jx=Au(["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"]),of=Au(["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"]),Mx=Au(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),E2=Au(["#text"]),S2=Au(["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"]),ff=Au(["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"]),A2=Au(["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"]),ls=Au(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),wx=Mu(/{{[\w\W]*|^[\w\W]*}}/g),Rx=Mu(/<%[\w\W]*|^[\w\W]*%>/g),Lx=Mu(/\${[\w\W]*/g),Ux=Mu(/^data-[\-\w.\u00B7-\uFFFF]+$/),Fx=Mu(/^aria-[\-\w]+$/),T2=Mu(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Bx=Mu(/^(?:\w+script|data):/i),Hx=Mu(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),qx=Mu(/^html$/i),Gx=Mu(/^[a-z][.\w]*(-[.\w]+)+$/i),df=Mu(/<[/\w!]/g),D2=Mu(/<[/\w]/g),Yx=Mu(/<\/no(script|embed|frames)/i),C2=Mu(/\/>/i),hu={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Vx=Au(Ue({},["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"])),Zx=function(){return typeof window>"u"?null:window},Xx=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}},N2=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},bl=function(a,s,r,o){return tt(a,s)&&ni(a[s])?Ue(o.base?ht(o.base):{},a[s],o.transform):r},hf=function(a,s,r){const o=tt(a,s)?a[s]:void 0;return o&&typeof o=="object"?ht(o):r()};function vp(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Zx();const a=q=>vp(q);if(a.version="3.4.17",a.removed=[],!n||!n.document||n.document.nodeType!==hu.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=Dt(y,"cloneNode"),M=Dt(y,"remove"),A=Dt(y,"removeAttributeNode"),L=Dt(y,"nextSibling"),V=Dt(y,"childNodes"),J=Dt(y,"parentNode"),fe=Dt(y,"shadowRoot"),le=Dt(y,"attributes"),G=m&&m.prototype?Dt(m.prototype,"nodeType"):null,Q=m&&m.prototype?Dt(m.prototype,"nodeName"):null,ae=m&&m.prototype?Dt(m.prototype,"ownerDocument"):null,P=function(x){return G?G(x):x.nodeType},ie=function(x){return Q?Q(x):x.nodeName},$e=Ox(y,"namespaceURI"),Be=function(x){return $e?$e(x):x.namespaceURI};if(typeof f=="function"){const q=s.createElement("template");q.content&&q.content.ownerDocument&&(s=q.content.ownerDocument)}let ue,ge="",Je,We=!1,Te=0;const W=function(){if(Te>0)throw Dn('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.')},se=function(x){W(),Te++;try{return ue.createHTML(x)}finally{Te--}},de=function(x){W(),Te++;try{return ue.createScriptURL(x)}finally{Te--}},xe=function(){return We||(Je=Xx(_,o),We=!0),Je},ye=s,gu=ye.implementation,we=ye.createNodeIterator,I=ye.createDocumentFragment,T=ye.getElementsByTagName,Z=r.importNode;let K=N2();a.isSupported=typeof pp=="function"&&typeof J=="function"&&gu&&gu.createHTMLDocument!==void 0;const ce=wx,Se=Rx,Oe=Lx,Me=Ux,ee=Fx,he=Bx,Qu=Hx,_l=Gx;let Nt=T2,Ce=null;const X=Ue({},[..._2,...rf,...sf,...of,...E2]);let F=null;const Le=Ue({},[...S2,...ff,...A2,...ls]);let nu=Object.seal(ei(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}})),Iu=null,El=null;const lt=Object.seal(ei(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let cn=!0,Sl=!0,Al=!1,Tl=!0,pt=!1,wu=!0,kt=!1,Dl=!1,na=null,Cl=null,Nl=!1,Bt=!1,Nn=!1,la=!1,Tc=!0,Ru=!1;const Dc="user-content-";let aa=!0,ia=!1,bt=null,kn={},Ht=null;const Cc=Ue({},["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 Nc=null;const On=Ue({},["audio","video","img","source","image","track"]);let Lu=null;const Ot=Ue({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),yu="http://www.w3.org/1998/Math/MathML",ca="http://www.w3.org/2000/svg",gt="http://www.w3.org/1999/xhtml";let zn=gt,jn=!1,Mn=null;const ra=Ue({},[yu,ca,gt],cf),qt=Au(["mi","mo","mn","ms","mtext"]);let wn=Ue({},qt);const Rn=Au(["annotation-xml"]);let sa=Ue({},Rn);const vs=Ue({},["title","style","font","a","script"]);let Ln=null;const ri=["application/xhtml+xml","text/html"],kl="text/html";let uu=null,rn=null;const kc=s.createElement("form"),si=function(x){return x instanceof RegExp||x instanceof Function},Ol=function(){let x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(rn&&rn===x)return;(!x||typeof x!="object")&&(x={}),x=ht(x),Ln=ri.indexOf(x.PARSER_MEDIA_TYPE)===-1?kl:x.PARSER_MEDIA_TYPE,uu=Ln==="application/xhtml+xml"?cf:ua,Ce=bl(x,"ALLOWED_TAGS",X,{transform:uu}),F=bl(x,"ALLOWED_ATTR",Le,{transform:uu}),Mn=bl(x,"ALLOWED_NAMESPACES",ra,{transform:cf}),Lu=bl(x,"ADD_URI_SAFE_ATTR",Ot,{transform:uu,base:Ot}),Nc=bl(x,"ADD_DATA_URI_TAGS",On,{transform:uu,base:On}),Ht=bl(x,"FORBID_CONTENTS",Cc,{transform:uu}),Iu=bl(x,"FORBID_TAGS",ht({}),{transform:uu}),El=bl(x,"FORBID_ATTR",ht({}),{transform:uu}),kn=tt(x,"USE_PROFILES")?x.USE_PROFILES&&typeof x.USE_PROFILES=="object"?ht(x.USE_PROFILES):x.USE_PROFILES:!1,cn=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,pt=x.SAFE_FOR_TEMPLATES||!1,wu=x.SAFE_FOR_XML!==!1,kt=x.WHOLE_DOCUMENT||!1,Bt=x.RETURN_DOM||!1,Nn=x.RETURN_DOM_FRAGMENT||!1,la=x.RETURN_TRUSTED_TYPE||!1,Nl=x.FORCE_BODY||!1,Tc=x.SANITIZE_DOM!==!1,Ru=x.SANITIZE_NAMED_PROPS||!1,aa=x.KEEP_CONTENT!==!1,ia=x.IN_PLACE||!1,Nt=zx(x.ALLOWED_URI_REGEXP)?x.ALLOWED_URI_REGEXP:T2,zn=typeof x.NAMESPACE=="string"?x.NAMESPACE:gt,wn=hf(x,"MATHML_TEXT_INTEGRATION_POINTS",()=>Ue({},qt)),sa=hf(x,"HTML_INTEGRATION_POINTS",()=>Ue({},Rn));const D=hf(x,"CUSTOM_ELEMENT_HANDLING",()=>ei(null));if(nu=ei(null),tt(D,"tagNameCheck")&&si(D.tagNameCheck)&&(nu.tagNameCheck=D.tagNameCheck),tt(D,"attributeNameCheck")&&si(D.attributeNameCheck)&&(nu.attributeNameCheck=D.attributeNameCheck),tt(D,"allowCustomizedBuiltInElements")&&typeof D.allowCustomizedBuiltInElements=="boolean"&&(nu.allowCustomizedBuiltInElements=D.allowCustomizedBuiltInElements),Mu(nu),pt&&(Sl=!1),Nn&&(Bt=!0),kn&&(Ce=Ue({},E2),F=ei(null),kn.html===!0&&(Ue(Ce,_2),Ue(F,S2)),kn.svg===!0&&(Ue(Ce,rf),Ue(F,ff),Ue(F,ls)),kn.svgFilters===!0&&(Ue(Ce,sf),Ue(F,ff),Ue(F,ls)),kn.mathMl===!0&&(Ue(Ce,of),Ue(F,A2),Ue(F,ls))),lt.tagCheck=null,lt.attributeCheck=null,tt(x,"ADD_TAGS")&&(typeof x.ADD_TAGS=="function"?lt.tagCheck=x.ADD_TAGS:ni(x.ADD_TAGS)&&(Ce===X&&(Ce=ht(Ce)),Ue(Ce,x.ADD_TAGS,uu))),tt(x,"ADD_ATTR")&&(typeof x.ADD_ATTR=="function"?lt.attributeCheck=x.ADD_ATTR:ni(x.ADD_ATTR)&&(F===Le&&(F=ht(F)),Ue(F,x.ADD_ATTR,uu))),tt(x,"ADD_FORBID_CONTENTS")&&ni(x.ADD_FORBID_CONTENTS)&&(Ht===Cc&&(Ht=ht(Ht)),Ue(Ht,x.ADD_FORBID_CONTENTS,uu)),aa&&(Ce["#text"]=!0),kt&&Ue(Ce,["html","head","body"]),Ce.table&&(Ue(Ce,["tbody"]),delete Iu.tbody),x.TRUSTED_TYPES_POLICY){if(typeof x.TRUSTED_TYPES_POLICY.createHTML!="function")throw Dn('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof x.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Dn('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const H=ue;ue=x.TRUSTED_TYPES_POLICY;try{ge=se("")}catch(B){throw ue=H,B}}else x.TRUSTED_TYPES_POLICY===null?(ue=void 0,ge=""):(ue===void 0&&(ue=xe()),ue&&typeof ge=="string"&&(ge=se("")));Au&&Au(x),rn=x},oa=Ue({},[...rf,...sf,...jx]),oi=Ue({},[...of,...Mx]),Oc=function(x,D,H){return D.namespaceURI===gt?x==="svg":D.namespaceURI===yu?x==="svg"&&(H==="annotation-xml"||wn[H]):!!oa[x]},zt=function(x,D,H){return D.namespaceURI===gt?x==="math":D.namespaceURI===ca?x==="math"&&sa[H]:!!oi[x]},mu=function(x,D,H){return D.namespaceURI===ca&&!sa[H]||D.namespaceURI===yu&&!wn[H]?!1:!oi[x]&&(vs[x]||!oa[x])},Uu=function(x){const D=Be(x),H=ua(ie(x)),B=J(x);let re,me;return B&&P(B)===hu.element?(re={namespaceURI:Be(B)},me=ua(ie(B))):(re={namespaceURI:zn},me="template"),Mn[D]?D===ca?Oc(H,re,me):D===yu?zt(H,re,me):D===gt?mu(H,re,me):!!(Ln==="application/xhtml+xml"&&Mn[D]):!1},Hu=function(x){oc(a.removed,{element:x});try{J(x).removeChild(x)}catch{if(M(x),!J(x))throw Dn("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},fi=function(x,D,H){try{A(x,D)}catch{try{x.removeAttribute(H)}catch{}}},di=function(x){Fn(x);const D=V(x);D&&Tn(Sx(D),B=>{try{M(B)}catch{}});const H=P(x)===hu.element?le(x):null;if(H)for(let B=H.length-1;B>=0;--B){const re=H[B],me=re&&re.name;typeof me=="string"&&fi(x,re,me)}},Un=function(x,D,H){if(!H)try{H=D.getAttributeNode(x)}catch{H=null}oc(a.removed,{attribute:H||null,from:D});try{H?A(D,H):D.removeAttribute(x)}catch{try{D.removeAttribute(x)}catch{}}if(x==="is")if(Bt||Nn)try{Hu(D)}catch{}else try{D.setAttribute(x,"")}catch{}},hi=function(x){const D=le(x);if(D)for(let H=D.length-1;H>=0;--H){const B=D[H],re=B&&B.name;typeof re!="string"||F[uu(re)]||fi(x,B,re)}},sn=function(x,D){let H=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const B=[x];for(;B.length>0;){const re=B.pop();if(D(re)===!1)continue;if(H&&P(re)===hu.element){const ve=fe(re);Ae(ve)&&B.push(ve)}const me=V(re);if(me)for(let ve=me.length-1;ve>=0;--ve)B.push(me[ve])}},Fn=function(x){sn(x,D=>{P(D)===hu.element&&hi(D)})},Bn=function(x){const D=[];return sn(x,H=>{D.push(H)},!0),D},on=function(x,D){const H=lf();Tn(Bn(x),B=>{P(B)===hu.element&&af(H,B)}),Tn(D,B=>{P(B)===hu.element&&!fc(H,B)&&hi(B)})},fn=function(x,D){let H=!1;return Tn(a.removed,B=>{B.element&&(H=H||B.element===x,Fn(B.element))}),on(x,D),H},zl=8,Hn=function(x,D){const H=bt;let B=null;const re=()=>(B||(B=lf(),Tn(D,me=>{af(B,me)})),B);for(let me=0;;me++){const ve=Bn(x),He=[x];let $u=!1;if(Tn(ve,pu=>{P(pu)===hu.documentFragment?oc(He,pu):!$u&&!fc(H,pu)&&($u=fc(re(),pu))}),!$u)return;if(me>=zl)throw Dn("the tree kept changing during in-place sanitization; refusing to return it");Tn(He,(pu,iu)=>{ru(pu,iu>0,x,re())})}},ru=function(x,D,H,B){const re=Yt(x);let me;for(;me=re.nextNode();)!fc(B,me)||fc(bt,me)||(D&&Fu(K.uponSanitizeShadowNode,me,null),jl(me,H),Vt(me,H),Ae(me.content)&&Yn(me.content))},zc=function(x){bt&&af(bt,x)},mi=function(x,D){return wu?x==="patchsrc"?!0:x==="for"&&D!=="label"&&D!=="output":!1},jc=function(x){wu&&sn(x,D=>{const H=P(D);if(H===hu.processingInstruction||H===hu.comment&&ju(D2,D.data)){try{M(D)}catch{}return!1}if(H===hu.element){const B=D,re=uu(ie(D));try{B.hasAttribute&&B.hasAttribute("patchsrc")&&B.removeAttribute("patchsrc"),B.hasAttribute&&B.hasAttribute("for")&&mi("for",re)&&B.removeAttribute("for")}catch{}}return!0})},Gt=function(x){let D=null,H=null;if(Nl)x="<remove></remove>"+x;else{const me=g2(x,/^[\r\n\t ]+/);H=me&&me[0]}Ln==="application/xhtml+xml"&&zn===gt&&(x='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+x+"</body></html>");const B=ue?se(x):x;if(zn===gt)try{D=new v().parseFromString(B,Ln)}catch{}if(!D||!D.documentElement){D=gu.createDocument(zn,"template",null);try{D.documentElement.innerHTML=jn?ge:B}catch{}}const re=D.body||D.documentElement;return x&&H&&re.insertBefore(s.createTextNode(H),re.childNodes[0]||null),zn===gt?T.call(D,kt?"html":"body")[0]:kt?D.documentElement:re},Yt=function(x){const D=ae?ae(x):x.ownerDocument;return we.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=dc(x,ce," "),x=dc(x,Se," "),x=dc(x,Oe," "),x},da=function(x){var D;pi(x);const H=(D=x.querySelectorAll)===null||D===void 0?void 0:D.call(x,"template");H&&Tn(H,B=>{Ae(B.content)&&da(B.content)})},pi=function(x){x.normalize();const D=ae?ae(x):x.ownerDocument,H=we.call(D||x,x,b.SHOW_TEXT|b.SHOW_COMMENT|b.SHOW_CDATA_SECTION|b.SHOW_PROCESSING_INSTRUCTION,null);let B=H.nextNode();for(;B;)B.data=fa(B.data),B=H.nextNode()},ha=function(x){const D=Q?Q(x):null;return typeof D!="string"||uu(D)!=="form"?!1:typeof x.nodeName!="string"||typeof x.textContent!="string"||typeof x.removeChild!="function"||x.attributes!==le(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!==G(x)||x.childNodes!==V(x)},Ae=function(x){if(!G||typeof x!="object"||x===null)return!1;try{return G(x)===hu.documentFragment}catch{return!1}},qn=function(x){if(!G||typeof x!="object"||x===null)return!1;try{return typeof G(x)=="number"}catch{return!1}};function Fu(q,x,D){q.length!==0&&Tn(q,H=>{H.call(a,x,D,rn)})}const ma=function(x,D){return!!(wu&&x.hasChildNodes()&&!qn(x.firstElementChild)&&ju(df,x.textContent)&&ju(df,x.innerHTML)||wu&&Vx[D]&&P(x)===hu.element&&Be(x)===gt&&(qn(x.firstElementChild)||typeof x.textContent=="string"&&ju(df,x.textContent))||x.nodeType===hu.processingInstruction||wu&&x.nodeType===hu.comment&&ju(D2,x.data))},Ku=function(x,D){if(x instanceof RegExp)return ju(x,D);if(x instanceof Function){for(var H=arguments.length,B=new Array(H>2?H-2:0),re=2;re<H;re++)B[re-2]=arguments[re];return!!x(D,...B)}return!1},qu=function(x,D,H){if(!Iu[D]&&Gu(D)&&Ku(nu.tagNameCheck,D))return!1;if(aa&&!Ht[D]&&!Ht[ua(D)]){const B=J(x),re=V(x);if(re&&B){const me=re.length;for(let ve=me-1;ve>=0;--ve){const He=x===H?C(re[ve],!0):re[ve];B.insertBefore(He,L(x))}}}return Hu(x),!0},bi=function(x,D,H,B){return x.length===0?D:D===H||D===B?ht(D):D},Gn=function(x,D){return x===D||J(x)!==null?!1:(ia&&Fn(x),!0)},jl=function(x,D){if(zc(x),Fu(K.beforeSanitizeElements,x,null),Gn(x,D))return!0;if(ha(x))return Hu(x),!0;const H=uu(ie(x));if(Ce=bi(K.uponSanitizeElement,Ce,X,na),Fu(K.uponSanitizeElement,x,{tagName:H,allowedTags:Ce}),Gn(x,D))return!0;if(ma(x,H))return Hu(x),!0;if(Iu[H]||!(lt.tagCheck instanceof Function&&lt.tagCheck(H))&&!Ce[H]){const B=qu(x,H,D);return B===!1&&(Fu(K.afterSanitizeElements,x,null),Gn(x,D))?!0:B}if(P(x)===hu.element&&!Uu(x)||(H==="noscript"||H==="noembed"||H==="noframes")&&ju(Yx,x.innerHTML))return Hu(x),!0;if(pt&&x.nodeType===hu.text){const B=fa(x.textContent);x.textContent!==B&&(oc(a.removed,{element:x.cloneNode()}),x.textContent=B)}return Fu(K.afterSanitizeElements,x,null),Gn(x,D)},gi=function(x,D,H){if(El[D]||mi(D,x)||Tc&&(D==="id"||D==="name")&&(H in s||H in kc))return!1;const B=F[D]||lt.attributeCheck instanceof Function&&lt.attributeCheck(D,x);return Sl&&ju(Me,D)||cn&&ju(ee,D)?!0:B?Lu[D]||ju(Nt,dc(H,Qu,""))||(D==="src"||D==="xlink:href"||D==="href")&&x!=="script"&&y2(H,"data:")===0&&Nc[x]||Al&&!ju(he,dc(H,Qu,""))?!0:!H:Gu(x)&&Ku(nu.tagNameCheck,x)&&Ku(nu.attributeNameCheck,D,x)||D==="is"&&nu.allowCustomizedBuiltInElements&&Ku(nu.tagNameCheck,H)},_s=Ue({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Gu=function(x){return!_s[ua(x)]&&ju(_l,x)},yi=function(x,D,H,B){if(ue&&typeof _=="object"&&typeof _.getAttributeType=="function"&&!H)switch(_.getAttributeType(x,D)){case"TrustedHTML":return se(B);case"TrustedScriptURL":return de(B)}return B},Mc=function(x,D,H,B){try{return H?x.setAttributeNS(H,D,B):x.setAttribute(D,B),ha(x)?(Hu(x),!1):!0}catch{return Un(D,x),!1}},pa=function(x,D){return wu&&ju(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,D)?!0:ua(x)==="attributename"&&g2(D,"href")!==null},Vt=function(x,D){if(Fu(K.beforeSanitizeAttributes,x,null),Gn(x,D))return;const H=x.attributes;if(!H||ha(x))return;F=bi(K.uponSanitizeAttribute,F,Le,Cl);const B={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:F,forceKeepAttr:void 0};let re=H.length;const me=uu(x.nodeName);for(;re--;){const ve=H[re],He=ve.name,$u=ve.namespaceURI,pu=ve.value,iu=uu(He),at=pu;let Tu=He==="value"?at:Tx(at),ga=!1;if(B.attrName=iu,B.attrValue=Tu,B.keepAttr=!0,B.forceKeepAttr=void 0,Fu(K.uponSanitizeAttribute,x,B),Tu=B.attrValue,Ru&&(iu==="id"||iu==="name")&&y2(Tu,Dc)!==0&&(Un(He,x,ve),Tu=Dc+Tu,ga=!0),pa(He,Tu)){Un(He,x,ve);continue}if(!B.forceKeepAttr){if(!B.keepAttr){Un(He,x,ve);continue}if(!Tl&&ju(C2,Tu)){Un(He,x,ve);continue}if(pt&&(Tu=fa(Tu)),!gi(me,iu,Tu)){Un(He,x,ve);continue}Tu=yi(me,iu,$u,Tu),Tu!==at&&Mc(x,He,$u,Tu)&&ga&&b2(a.removed)}}Fu(K.afterSanitizeAttributes,x,null),Gn(x,D)},Yn=function(x){let D=null;const H=Yt(x);for(Fu(K.beforeSanitizeShadowDOM,x,null);D=H.nextNode();)if(Fu(K.uponSanitizeShadowNode,D,null),jl(D,x),Vt(D,x),Ae(D.content)&&Yn(D.content),P(D)===hu.element){const B=fe(D);Ae(B)&&(ba(B),Yn(B))}pt&&pi(x),Fu(K.afterSanitizeShadowDOM,x,null)},ba=function(x){const D=[{node:x,shadow:null}];for(;D.length>0;){const H=D.pop();if(H.shadow){Yn(H.shadow);continue}const B=H.node,re=P(B)===hu.element,me=V(B);if(me)for(let ve=me.length-1;ve>=0;--ve)D.push({node:me[ve],shadow:null});if(re){const ve=Q?Q(B):null;if(typeof ve=="string"&&uu(ve)==="template"){const He=B.content;Ae(He)&&D.push({node:He,shadow:null})}}if(re){const ve=fe(B);Ae(ve)&&D.push({node:null,shadow:ve},{node:ve,shadow:null})}}};return a.sanitize=function(q){let x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},D=null,H=null,B=null,re=null;if(jn=!q,jn&&(q="<!-->"),typeof q!="string"&&!qn(q)&&(q=kx(q),typeof q!="string"))throw Dn("dirty is not a string, aborting");if(!a.isSupported)return q;Dl?(Ce=na,F=Cl):Ol(x),(K.uponSanitizeElement.length>0||K.uponSanitizeAttribute.length>0)&&(Ce=ht(Ce)),K.uponSanitizeAttribute.length>0&&(F=ht(F)),a.removed=[];const me=ia&&typeof q!="string"&&qn(q);let ve=[];const He=bt;if(me){jc(q);const iu=ie(q);if(typeof iu=="string"){const at=uu(iu);if(!Ce[at]||Iu[at])throw di(q),Dn("root node is forbidden and cannot be sanitized in-place")}if(ha(q))throw di(q),Dn("root node is clobbered and cannot be sanitized in-place");ve=Bn(q),bt=lf()}else if(qn(q))D=Gt("<!---->"),H=D.ownerDocument.importNode(q,!0),H.nodeType===hu.element&&H.nodeName==="BODY"||H.nodeName==="HTML"?D=H:D.appendChild(H),ba(D);else{if(!Bt&&!pt&&!kt&&q.indexOf("<")===-1)return ue&&la?se(q):q;if(D=Gt(q),!D)return Bt?null:la?ge:""}D&&Nl&&Hu(D.firstChild);const $u=me?q:D;try{me&&ba(q);const iu=Yt($u);for(;B=iu.nextNode();)jl(B,$u),Vt(B,$u),Ae(B.content)&&Yn(B.content);me&&Hn(q,ve)}catch(iu){throw me&&(di(q),fn(q,ve)),iu}finally{bt=He}if(me){if(fn(q,ve))throw Dn("a node selected for removal could not be safely returned; refusing to sanitize in place");return pt&&da(q),q}if(Bt){if(pt&&da(D),Nn)for(re=I.call(D.ownerDocument);D.firstChild;)re.appendChild(D.firstChild);else re=D;return(F.shadowroot||F.shadowrootmode)&&(re=Z.call(r,re,!0)),re}let pu=kt?D.outerHTML:D.innerHTML;return kt&&Ce["!doctype"]&&D.ownerDocument&&D.ownerDocument.doctype&&D.ownerDocument.doctype.name&&ju(qx,D.ownerDocument.doctype.name)&&(pu="<!DOCTYPE "+D.ownerDocument.doctype.name+`>
35
+ `+pu),pt&&(pu=fa(pu)),ue&&la?se(pu):pu},a.setConfig=function(){let q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Ol(q),Dl=!0,na=Ce,Cl=F},a.clearConfig=function(){rn=null,Dl=!1,na=null,Cl=null,ue=Je,ge=""},a.isValidAttribute=function(q,x,D){rn||Ol({});const H=uu(q),B=uu(x);return typeof D=="string"&&(pa(x,D)||!Tl&&ju(C2,D))?!1:gi(H,B,D)},a.addHook=function(q,x){typeof x=="function"&&tt(K,q)&&oc(K[q],x)},a.removeHook=function(q,x){if(tt(K,q)){if(x!==void 0){const D=Ex(K[q],x);return D===-1?void 0:Ax(K[q],D,1)[0]}return b2(K[q])}},a.removeHooks=function(q){tt(K,q)&&(K[q]=[])},a.removeAllHooks=function(){K=N2()},a}var Qx=vp();let mf;function Ix(){if(mf)return mf;const n=Qx,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"))}),mf=s,s}const Kx=new Ct({html:!1,linkify:!0,breaks:!1,typographer:!1});function $x(n){return n?Ix().sanitize(Kx.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 k2({text:n,streaming:a=!1}){const s=Y.useMemo(()=>$x(n),[n]);return h.jsx("div",{className:"prose",dangerouslySetInnerHTML:{__html:s},"data-streaming":a||void 0})}const Jx=Y.memo(function({code:a,lang:s}){const[r,o]=Y.useState(void 0),[f,m]=Y.useState("pending");Y.useEffect(()=>{if(s.length===0){m("unavailable");return}let b=!0;return T6(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:C6(r)}):h.jsx("pre",{className:"code-plain",children:h.jsx("code",{children:a})})]})}),Wx=Y.memo(function({text:a,streaming:s=!1}){const r=Y.useMemo(()=>k6(a),[a]),o=Y.useMemo(()=>O6(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(k2,{text:m.text},`p${p}`):h.jsx(Jx,{code:m.code,lang:m.lang},`c${p}`))}):h.jsx(k2,{text:a,streaming:s})});function Px(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: ${fs(s)} → ${fs(r)} tokens.`:"Context compacted."}function e8(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 u8({notice:n}){const a=Ig(n);if(n.kind==="compaction"){const r=e8(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:Px(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 t8({notices:n}){return n===void 0||n.length===0?null:h.jsx("div",{className:"run-notices",children:n.map((a,s)=>h.jsx(u8,{notice:a},`${a.kind}-${s}`))})}const as=12;function n8(n){try{return JSON.stringify(n,null,2)??String(n)}catch{return"(arguments could not be shown)"}}function l8({tool:n,header:a}){const s=n.result.length>0?n.result.split(`
36
+ `):[],r=s.slice(0,as).join(`
37
+ `),o=s.length>as;return h.jsxs("div",{className:"tool-detail","data-tool":n.toolName,children:[a,n.args!==void 0&&h.jsx("pre",{className:"tool-detail-args mono",children:n8(n.args)}),h.jsx("pre",{className:`tool-detail-output mono${n.isError?" error":""}`,children:n.result.length>0?r:n.running?"waiting for output…":n.unfinished?"No result was recorded for this call. The run was interrupted or aborted before it finished.":"This tool returned no output."}),o&&h.jsxs("details",{className:"tool-detail-rest",children:[h.jsxs("summary",{children:[s.length-as," more lines"]}),h.jsx("pre",{className:`tool-detail-output mono${n.isError?" error":""}`,children:s.slice(as).join(`
38
+ `)})]})]})}const _p=80;function a8(n,a=_p){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 i8({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=Y.useRef(null),M=Y.useRef(null),A=Y.useRef(!0),[L,V]=Y.useState(!0),J=Y.useRef(a);J.current=a;const fe=Y.useRef(void 0);Y.useEffect(()=>{const ue=M.current;if(!ue)return;const ge=()=>{const Je={scrollTop:ue.scrollTop,scrollHeight:ue.scrollHeight,clientHeight:ue.clientHeight},We=fe.current;X0(Je)&&(fe.current=Je);const Te=We!==void 0&&X0(We)?Tg(We,Je,_p):a8(ue);G.current||(A.current=Te,V(Te),X0(Je)&&J.current?.({scrollTop:Je.scrollTop,pinned:Te}))};return ue.addEventListener("scroll",ge,{passive:!0}),ge(),G.current=!1,()=>ue.removeEventListener("scroll",ge)},[]);const le=Y.useRef(void 0),G=Y.useRef(!0);Y.useLayoutEffect(()=>{const ue=Eg(n);if(ue.kind==="follow-end"){A.current=!0,V(!0);return}A.current=ue.pinned,V(ue.pinned),le.current={scrollTop:ue.scrollTop,pinned:ue.pinned}},[]),Y.useLayoutEffect(()=>{const ue=le.current;if(!ue)return;const ge=M.current;ge&&Sg(ge.scrollHeight,ge.clientHeight)&&(ge.scrollTop=ue.scrollTop,le.current=void 0)});const Q=Y.useRef(f);Y.useEffect(()=>{if(Q.current===f)return;Q.current=f,A.current=!0,V(!0);const ue=M.current;ue&&(ue.scrollTop=ue.scrollHeight)},[f]),Y.useEffect(()=>{Dg(m,A.current)&&C.current?.scrollIntoView({block:"end"})});const ae=Y.useCallback(()=>{A.current=!0,V(!0);const ue=C.current;if(!ue)return;typeof ue.scrollIntoView=="function"&&ue.scrollIntoView({block:"end",behavior:"smooth"});const ge=M.current;ge&&(ge.scrollTop=ge.scrollHeight)},[]),P=s.messages.length===0&&s.tools.length===0,ie=P&&p>0&&y===void 0,$e=P&&y!==void 0,Be=Kg(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:[$e?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."]})]}):ie?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."]})]}):P&&!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:Be.map((ue,ge)=>ue.kind==="tools"?_?h.jsx(c8,{tools:ue.tools},`tools-${ge}`):null:h.jsx(r8,{message:ue.message},ue.message.id))}),h.jsx(t8,{notices:s.notices}),h.jsx("div",{ref:C})]}),!L&&h.jsxs("button",{type:"button",className:"jump-latest",onClick:ae,title:"Scroll to the newest message and follow along again",children:[h.jsx("span",{"aria-hidden":"true",children:"↓"})," Jump to latest"]})]})}function c8({tools:n}){if(n.length===0)return null;const a=Qg(n),s=n[n.length-1],r=n.some(o=>o.running);return h.jsxs("details",{className:`tool-marker${a.failed>0?" has-error":""}${r?" running":""}`,children:[h.jsxs("summary",{className:"tool-marker-summary",title:"Show this call's arguments and output here",children:[h.jsx("span",{className:"m-glyph","aria-hidden":"true",children:r?"●":a.failed>0?"✕":"⌁"}),h.jsxs("span",{className:"m-count",children:[a.count," tool",a.count===1?"":"s"]}),h.jsx("span",{className:"m-names mono",children:a.names.join(" · ")}),a.failed>0&&h.jsxs("span",{className:"m-failed",children:[a.failed," failed"]}),r&&h.jsx("span",{className:"m-running",children:"running"}),h.jsx("span",{className:"spacer"}),h.jsx("span",{className:"tool-detail-meta",children:li(s.result.length)}),h.jsx("span",{className:"m-open","aria-hidden":"true",children:"⌄"})]}),n.map((o,f)=>h.jsx(l8,{tool:o,header:f===0?void 0:h.jsxs("div",{className:"tool-detail-head",children:[h.jsx("span",{className:"mono",children:o.toolName}),o.isError&&h.jsx("span",{className:"err",children:"failed"}),o.running&&h.jsx("span",{className:"m-running",children:"running"}),h.jsx("span",{className:"spacer"}),h.jsx("span",{className:"tool-detail-meta",children:li(o.result.length)})]})},o.toolCallId))]})}function r8({message:n}){const a=n.role==="user"?"You":n.role==="assistant"?"Assistant":n.role,s=Yg(n),r=n.blocks.filter(o=>o.kind==="thinking");return w2(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(Wx,{text:s,streaming:n.streaming})]}):null}function s8({tools:n,selectedId:a,onSelect:s,collapsed:r,onToggleCollapsed:o,showMarkers:f,onToggleMarkers:m}){const p=Y.useRef(null),b=Y.useRef(!0),v=n.filter(L=>L.running),_=n.length;if(Y.useEffect(()=>{const L=p.current;if(!L)return;const V=()=>{const J=L.scrollHeight-L.scrollTop-L.clientHeight;b.current=J<40};return L.addEventListener("scroll",V,{passive:!0}),()=>L.removeEventListener("scroll",V)},[]),Y.useEffect(()=>{if(b.current&&!r){const L=p.current;L&&(L.scrollTop=L.scrollHeight)}},[_,v.length,r]),Y.useEffect(()=>{if(r)return;const L=V=>{if(V.key!=="ArrowUp"&&V.key!=="ArrowDown"||!p.current?.contains(document.activeElement))return;V.preventDefault();const J=n.findIndex(le=>le.toolCallId===a),fe=J===-1?n.length-1:Math.max(0,Math.min(n.length-1,J+(V.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=Xg(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:Xm(L),children:Xm(L)}),h.jsx("span",{className:"t-time mono",children:L.running?"running":L.unfinished?"no result":L.durationMs!==void 0?o8(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:f8(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 o8(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 f8(n){try{const a=JSON.stringify(n,null,2);return a===void 0?String(n):a}catch{return String(n)}}function d8({session:n,state:a,unavailableReason:s,onSend:r,onClearQueueAndStop:o,onRestored:f,restored:m,draft:p,onDraftChange:b}){const v=Y.useRef(null),_=n?.state==="streaming",y=s!==void 0,[C,M]=Y.useState("steer"),A=a6(a,n);Y.useEffect(()=>{if(m.length===0)return;const G=m.filter(ae=>ae.trim().length>0).join(`
39
+
40
+ `),Q=p.trim();G.length>0&&(b(Q.length>0?`${Q}
41
+
42
+ ${G}`:G),v.current?.focus()),f()},[m]),Y.useEffect(()=>{const G=Q=>{Q.key==="Escape"&&_&&(Q.preventDefault(),o(),V(!0))};return window.addEventListener("keydown",G),()=>window.removeEventListener("keydown",G)},[_,o]);const[L,V]=Y.useState(!1);Y.useEffect(()=>{if(L&&!_){const G=setTimeout(()=>V(!1),6e3);return()=>clearTimeout(G)}},[L,_]);const J=()=>{const G=p.trim();G.length===0||y||(r(G,_?C:"steer"),b(""))},fe=G=>{if(G.key==="Enter"&&!G.shiftKey){if(G.preventDefault(),_&&G.altKey){M("followUp");const Q=p.trim();Q.length>0&&!y&&(r(Q,"followUp"),b(""));return}J()}},le=_?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((G,Q)=>h.jsx("li",{children:G},`s${Q}`)),A.followUp.map((G,Q)=>h.jsx("li",{children:G},`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:G=>b(G.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":le})]}),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 h8({dialogs:n,onAnswer:a}){const s=new Set(O2),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(m8,{dialog:o,onAnswer:a},o.id)]})}function m8({dialog:n,onAnswer:a}){const[s,r]=Y.useState(n.prefill??""),o=Y.useRef(null),f=Y.useRef(null);Y.useEffect(()=>{f.current?.focus()},[]),Y.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"})]})]}),!hg(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 yl({text:n,label:a}){const[s,r]=Y.useState(!1);return h.jsx("button",{type:"button",className:"copy",title:`Copy ${a}`,onClick:async()=>{const o=await h6(n);r(o),setTimeout(()=>r(!1),1500)},children:s?"Copied":`Copy ${a}`})}function p8({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:pc(n.cwd,40,a)}),h.jsx(yl,{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:pc(n.sessionFile,40,a)}),h.jsx(yl,{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(yl,{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(yl,{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(yl,{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:fs(n.tokensTotal)}),h.jsx("dt",{children:"Cost"}),h.jsx("dd",{children:_f(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(b8,{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 b8({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 Ep(){return{commit:"55e57e8",builtAt:"2026-10-29T16:10:34.476Z"}}function g8(n=Ep()){const a=n.builtAt==="unknown"?"unknown build time":n.builtAt.slice(0,16).replace("T"," ");return`${n.commit} · ${a}`}function Pa({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(yl,{text:a,label:n.toLowerCase()}),o!==void 0&&h.jsx("span",{className:"settings-note",children:o})]})]})}function y8({install:n,ready:a,onClose:s}){const r=Y.useRef(null);Y.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!==ui;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(Pa,{label:"Version",value:n?.version}),h.jsx(Pa,{label:"UI build",value:g8(),note:Ep().commit==="dev"?"built outside a git checkout, so there is no commit to name":void 0}),h.jsx(Pa,{label:"Protocol",value:o===void 0?void 0:`v${o}`,note:o===void 0?void 0:f?`MISMATCH — this UI speaks v${ui}. One half is out of date; see docs/DOGFOODING.md.`:`matches this UI (v${ui})`})]})]}),h.jsxs("section",{children:[h.jsx("h4",{children:"Where things live"}),h.jsxs("dl",{className:"kv",children:[h.jsx(Pa,{label:"Sessions",value:n?.sessionsRoot,copyable:!0,monospace:!0}),h.jsx(Pa,{label:"Workspaces",value:n?.workspaceRoot,copyable:!0,monospace:!0}),h.jsx(Pa,{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 zf({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:x8(a)}),h.jsx("span",{className:"filetree-error-detail",children:r}),s!==void 0&&h.jsx("span",{className:"filetree-kind",children:s})]})}function x8(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 v8(n){const a=atob(n),s=new Uint8Array(new ArrayBuffer(a.length));for(let r=0;r<a.length;r+=1)s[r]=a.charCodeAt(r);return s}function _8({path:n,type:a,base64:s,bytes:r}){const[o,f]=Y.useState(void 0),[m,p]=Y.useState(!1),b=Y.useMemo(()=>new Blob([v8(s)],{type:a}),[s,a]);return Y.useEffect(()=>{const v=URL.createObjectURL(b);return f(v),p(!1),()=>URL.revokeObjectURL(v)},[b]),o===void 0?null:m?h.jsxs("p",{className:"filetree-note filetree-error",role:"note",children:[h.jsxs("strong",{children:["Could not display ",n]}),h.jsxs("span",{className:"filetree-error-detail",children:["The browser could not decode this image. Its leading bytes are a valid ",a," header, so the file is most likely truncated or corrupt."]})]}):h.jsxs("div",{className:"imagepane",children:[h.jsx("img",{className:"imagepane-img",src:o,alt:n,onError:()=>p(!0)}),h.jsxs("p",{className:"imagepane-meta",children:[a," · ",li(r)]})]})}function E8({path:n,state:a,wrapped:s,onToggleWrap:r,onClose:o}){const f=a.status==="loaded"&&a.content.kind==="text"?a.content.text:void 0,m=f===void 0?[]:f.split(`
43
+ `);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.jsx("span",{className:"filepane-meta",children:a.content.kind==="text"?`${m.length} line${m.length===1?"":"s"} · ${li(a.bytes)}`:li(a.bytes)}),h.jsx(yl,{text:n,label:`path ${n}`}),a.status==="loaded"&&a.content.kind==="text"&&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(zf,{path:n,reason:a.reason,code:a.code,message:a.message}):h.jsx(h.Fragment,{children:a.content.kind==="image"?h.jsx(_8,{path:n,type:a.content.type,base64:a.content.base64,bytes:a.bytes}):h.jsx("ol",{className:s?"filepane-lines is-wrapped":"filepane-lines",children:m.map((p,b)=>h.jsxs("li",{children:[h.jsx("span",{className:"filepane-line-no","aria-hidden":"true",children:b+1}),h.jsx("span",{className:"filepane-line-text",children:p===""?" ":p})]},b))})})]})}function S8({sessionId:n,state:a,cwd:s,onExpand:r,onCollapse:o,onToggleHidden:f,onOpenFile:m}){const p=cs(a,n),b=ss(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(zf,{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(Sp,{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 Sp({sessionId:n,parent:a,entry:s,state:r,depth:o,onExpand:f,onCollapse:m,onOpenFile:p}){const b=Rg(a,s.name),v=wg(s),_=v&&zg(r,n,b),y=v&&_?ss(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"&&!Zm(s)&&h.jsx("span",{className:"filetree-kind",children:"link"}),Zm(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:li(s.size)})]}),y!==void 0&&h.jsx(A8,{files:r,directory:y,sessionId:n,parent:b,depth:o+1,onExpand:f,onCollapse:m,onOpenFile:p})]})}function A8({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(zf,{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(Sp,{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 T8({sessionId:n,files:a,cwd:s,onExpand:r,onCollapse:o,onToggleHidden:f,wrapped:m,onToggleWrap:p,onOpenFile:b,onCloseFile:v}){const _=Mg(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(S8,{sessionId:n,state:a,cwd:s,onExpand:r,onCollapse:o,onToggleHidden:f,onOpenFile:b})}),_&&h.jsx("div",{className:"files-doc",children:h.jsx(E8,{path:_.path,state:_.state,wrapped:m,onToggleWrap:p,onClose:v})})]})]})}const xs=280,D8=.6,C8=1200,jf=360,N8=720;function Mf(n){return Math.min(C8,Math.max(xs,n*D8))}function ta(n,a){return Number.isFinite(n)?Math.round(Math.min(Mf(a),Math.max(xs,n))):jf}function k8(n,a,s){switch(n){case"ArrowLeft":return ta(a+16,s);case"ArrowRight":return ta(a-16,s);case"Home":return ta(xs,s);case"End":return ta(Mf(s),s)}}const is="pi-central.panel";function Ap(){return{width:jf,mode:"session",userSized:!1,collapsed:!0}}function O8(n){const a=Ap();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 pf(n){return JSON.stringify(n)}const z8=[{mode:"session",label:"Session"},{mode:"files",label:"Files"}];function j8({mode:n,onMode:a,width:s,onWidth:r,viewportWidth:o,resizable:f=!0,onCommit:m,children:p}){const b=Y.useRef(void 0),v=Mf(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(k8(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:z8.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":xs,"aria-valuemax":v,"aria-valuetext":`${s} pixels`,tabIndex:0,onPointerDown:_,onPointerMove:y,onPointerUp:C,onPointerCancel:C,onKeyDown:M,onDoubleClick:()=>{r(jf,!1),m?.()}})]})}function M8({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 w8({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 R8=30;function L8({session:n,models:a,error:s,onRequest:r,onSelect:o}){const[f,m]=Y.useState(!1),p=()=>{f||(m(!0),r())},b=n.state!=="starting"&&n.state!=="stopped"&&n.state!=="failed",v=r6(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=>U2(n,L)),M=C?C.name??C.id:y,A=Ef(M,R8);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?"":U8(n,a),disabled:!b,onFocus:p,onMouseDown:p,onChange:L=>{const[V,...J]=L.target.value.split("/");V!==void 0&&J.length>0&&o(V,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&&c6(a).map(L=>h.jsx("optgroup",{label:L.provider,children:L.models.map(V=>h.jsxs("option",{value:`${V.provider}/${V.id}`,children:[V.name??V.id,V.reasoning?" · thinking":""]},`${V.provider}/${V.id}`))},L.provider))]})]}),_&&h.jsx("span",{className:"picker-note",children:"reading the model list…"}),v!==""&&h.jsx("span",{className:"picker-note",children:v})]})}function U8(n,a){const s=a.find(r=>U2(n,r));return s?`${s.provider}/${s.id}`:""}function F8({installationRoot:n,initialPath:a="",onClose:s,onOpen:r}){const[o,f]=Y.useState(a),m=Y.useRef(null);Y.useEffect(()=>{m.current?.focus();const _=y=>{y.key==="Escape"&&s()};return window.addEventListener("keydown",_),()=>window.removeEventListener("keydown",_)},[s]);const p=o.trim(),b=Y.useMemo(()=>{if(p.length===0)return"Enter a directory.";if(!p.startsWith("/"))return"Enter an absolute path, starting with /."},[p]),v=Y.useMemo(()=>{if(b===void 0)return bg(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 B8(n){return`${n.provider??"?"}/${n.model??"?"}@${n.thinkingLevel??"?"}`}function H8({session:n,levels:a,error:s,onRequest:r,onSelect:o}){const[f,m]=Y.useState(void 0),p=B8(n),b=n.state!=="starting"&&n.state!=="stopped"&&n.state!=="failed";Y.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 q8({history:n,historyTotal:a,onResume:s,home:r}){const[o,f]=Y.useState(""),[m,p]=Y.useState(void 0),b=i6(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(G8,{session:v,home:r,onSelect:()=>{if(!v.cwdExists){p(v);return}s(v)}},v.path))]}),m&&h.jsx(Y8,{session:m,onDismiss:()=>p(void 0)})]})}function G8({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:V8(n.cwd,a)}),h.jsx("p",{className:"first",children:n.firstMessage||"(no messages)"}),h.jsxs("span",{className:"meta",children:[h.jsx("span",{children:o6(n.modifiedMs)}),h.jsxs("span",{children:[n.messageCount," msgs"]}),h.jsx("span",{children:Z8(n.bytes)})]})]})}function Y8({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(yl,{text:n.cwd,label:"path"})]})]})})}function V8(n,a){return a&&n.startsWith(a)?`~${n.slice(a.length)}`:n}function Z8(n){return n<1024?`${n} B`:n<1024*1024?`${(n/1024).toFixed(1)} KB`:`${(n/(1024*1024)).toFixed(1)} MB`}function X8(){const[n,a]=Y.useReducer(Jg,void 0,R2),[s,r]=Y.useState("connecting"),[o,f]=Y.useState(void 0),[m,p]=Y.useState("sessions"),[b,v]=Y.useState(!1),[_,y]=Y.useState(void 0),[C,M]=Y.useState(!1),A=Y.useRef(null),[L,V]=Y.useState({}),[J,fe]=Y.useState(0),[le,G]=Y.useState(!0),Q=Y.useRef(new Map),[ae,P]=Y.useState(()=>Vm().collapsed),[ie,$e]=Y.useState(()=>Vm().markers),[Be,ue]=Y.useState(()=>{try{return O8(localStorage.getItem(is))}catch{return Ap()}}),[ge,Je]=Y.useState(()=>typeof window>"u"?1440:window.innerWidth);Y.useEffect(()=>{const X=()=>{Je(window.innerWidth),ue(F=>({...F,width:ta(F.width,window.innerWidth)}))};return window.addEventListener("resize",X),()=>window.removeEventListener("resize",X)},[]),Y.useEffect(()=>{Cg({collapsed:ae,markers:ie})},[ae,ie]);const We=Y.useCallback((X,F)=>{ue(Le=>({...Le,width:X,userSized:F}))},[]),Te=Y.useCallback(()=>{ue(X=>{const F={...X,collapsed:!X.collapsed};try{localStorage.setItem(is,pf(F))}catch{}return F})},[]),W=Y.useCallback(()=>{ue(X=>{try{localStorage.setItem(is,pf(X))}catch{}return X})},[]),se=Y.useCallback(X=>{ue(F=>{const Le=X==="files"&&!F.userSized?ta(N8,ge):F.width,nu={...F,mode:X,width:Le};try{localStorage.setItem(is,pf(nu))}catch{}return nu})},[ge]),[de,xe]=Y.useReducer(Lg,void 0,Ng),ye=Y.useRef(de);ye.current=de;const gu=Y.useRef(void 0);Y.useEffect(()=>{const X=new xg(vg(),{onEvent:F=>{switch(a(F),F.kind){case"files":xe({kind:"filesLoaded",sessionId:F.sessionId,path:F.path,entries:F.entries,truncated:F.truncated});break;case"file":xe({kind:"fileLoaded",sessionId:F.sessionId,path:F.path,bytes:F.bytes,content:F.content});break;case"fileError":F.request==="list"?xe({kind:"filesFailed",sessionId:F.sessionId,path:F.path,reason:F.reason,...F.code===void 0?{}:{code:F.code},message:F.message}):xe({kind:"fileFailed",sessionId:F.sessionId,path:F.path,reason:F.reason,...F.code===void 0?{}:{code:F.code},message:F.message});break}},onStatus:(F,Le)=>{r(F),f(Le)}});return gu.current=X,X.connect(),()=>X.disconnect()},[]);const we=Y.useCallback(X=>{const F=gu.current?.send(X);return F||a({kind:"error",message:"Not connected to the orchestrator. Nothing was sent."}),F},[]),I=u6(n),T=Y.useCallback((X,F,Le)=>{xe({kind:"filesLoading",sessionId:X,path:F}),we({kind:"listFiles",sessionId:X,path:F,includeHidden:Le})},[we]),Z=Y.useCallback(X=>{I&&(xe({kind:"setExpanded",sessionId:I.id,path:X,expanded:!0}),ss(ye.current,I.id,X).status!=="loaded"&&T(I.id,X,cs(ye.current,I.id)))},[I,T]),K=Y.useCallback(X=>{I&&(xe({kind:"openFile",sessionId:I.id,path:X}),xe({kind:"fileLoading",sessionId:I.id,path:X}),we({kind:"readFile",sessionId:I.id,path:X}))},[I,we]),ce=Y.useCallback(()=>{if(!I)return;const X=I.id,F=!cs(ye.current,X);xe({kind:"toggleHidden",sessionId:X});const Le=`${X}\0`;for(const nu of Object.keys(ye.current.directories))nu.startsWith(Le)&&T(X,nu.slice(Le.length),F)},[I,T]),Se=I?.id;Y.useEffect(()=>{Se&&ss(ye.current,Se,"").status==="unloaded"&&T(Se,"",cs(ye.current,Se))},[Se,T]);const Oe=n.live.map(X=>X.id).join("\0");Y.useEffect(()=>{const X=new Set(n.live.map(F=>F.id));for(const F of Object.keys(ye.current.directories)){const{sessionId:Le}=kg(F);X.has(Le)||xe({kind:"forgetSession",sessionId:Le})}},[Oe]);const Me=t6(n,I?.id),ee=Pg(n),he=n.home,Qu=e6(n);Y.useEffect(()=>{const X=F=>{const Le=F.metaKey||F.ctrlKey;Le&&F.key.toLowerCase()==="n"&&(F.preventDefault(),we({kind:"start"})),Le&&F.shiftKey&&F.key.toLowerCase()==="o"&&(F.preventDefault(),v(!0))};return window.addEventListener("keydown",X),()=>window.removeEventListener("keydown",X)},[we]);const _l=Y.useCallback(()=>{we({kind:"start"})},[we]),Nt=Y.useCallback(X=>{we({kind:"start",cwd:X}),v(!1),p("sessions")},[we]),Ce=Y.useCallback((X,F)=>{I&&we({kind:"answerDialog",sessionId:I.id,dialogId:X,answer:F})},[I,we]);return h.jsxs("div",{className:"app",children:[h.jsxs("header",{className:"topbar",children:[h.jsxs("h1",{className:"wordmark",children:[h.jsx("img",{className:"wordmark-mark",src:_g,alt:"","aria-hidden":"true"}),"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:[ee.total," session",ee.total===1?"":"s"]}),ee.running>0&&h.jsxs("span",{children:[ee.running," running"]}),ee.scratch>0&&h.jsxs("span",{children:[ee.scratch," scratch"]}),ee.needs>0&&h.jsxs("span",{className:"fleet-needs",children:[ee.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(M8,{collapsed:Be.collapsed,onToggle:Te}),h.jsx("button",{type:"button",className:"btn btn-quiet",ref:A,onClick:()=>M(!0),children:"Settings"})]})]}),Qu&&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(I8,{message:n.errors[0],onDismiss:()=>a({kind:"error",message:""})}),h.jsxs("div",{className:Be.collapsed?"panes is-collapsed":"panes",style:{"--panel-width":`${Be.width}px`},children:[h.jsx(p6,{sessions:n.live,focusedId:n.focusedId,onFocus:X=>{a({kind:"focusSession",sessionId:X}),p("sessions")},onStartSession:_l,onOpenDirectory:()=>v(!0),home:he,historyTotal:n.historyTotal}),m==="history"?h.jsx("main",{className:"column",children:h.jsx(q8,{history:n.history,historyTotal:n.historyTotal,home:he,onResume:X=>{we({kind:"resume",path:X.path}),p("sessions")}})}):h.jsx("main",{className:"column",children:h.jsx(Q8,{session:I,traceCollapsed:I?ae[I.id]===!0:!1,showMarkers:I?ie[I.id]!==!1:!0,onToggleTraceCollapsed:X=>I&&P(F=>({...F,[I.id]:X})),onToggleMarkers:()=>I&&$e(X=>({...X,[I.id]:X[I.id]===!1})),transcript:Me,home:he,historyError:n.transcriptErrors[I?.id??""],followToken:J,autoFollow:le,onToggleAutoFollow:()=>G(X=>!X),scrollMemory:Q,models:I?n.models[I.id]:void 0,modelError:I?n.modelErrors[I.id]:void 0,onAnswer:Ce,onRequestModels:()=>{I&&we({kind:"listModels",sessionId:I.id})},onSelectModel:(X,F)=>{I&&we({kind:"setModel",sessionId:I.id,provider:X,modelId:F})},thinking:{levels:I?n.thinkingLevels[I.id]:void 0,error:I?n.thinkingLevelErrors[I.id]:void 0},onRequestThinkingLevels:()=>{I&&we({kind:"listThinkingLevels",sessionId:I.id})},onSelectThinkingLevel:X=>{I&&we({kind:"setThinkingLevel",sessionId:I.id,level:X})},onSend:(X,F)=>{I&&(we(I.state==="streaming"?{kind:"prompt",sessionId:I.id,message:X,behavior:F}:{kind:"prompt",sessionId:I.id,message:X}),fe(Le=>Le+1))},onClearQueueAndStop:()=>{I&&we({kind:"clearQueue",sessionId:I.id,andStop:!0})},state:n,restored:I?n.restoredQueue[I.id]??[]:[],onRestored:()=>{I&&a({kind:"queueRestored",sessionId:I.id})},draft:I?L[I.id]??"":"",onDraftChange:X=>{I&&V(F=>({...F,[I.id]:X}))}},I?.id)}),!Be.collapsed&&h.jsx(j8,{mode:Be.mode,onMode:se,width:Be.width,onWidth:We,viewportWidth:ge,onCommit:W,children:Be.mode==="session"?h.jsx(p8,{session:m==="sessions"?I:void 0,home:he,onStop:()=>I&&y(I),onRename:X=>I&&we({kind:"rename",sessionId:I.id,name:X})}):I?h.jsx(T8,{sessionId:I.id,files:de,cwd:I.cwd,onExpand:Z,onCollapse:X=>xe({kind:"setExpanded",sessionId:I.id,path:X,expanded:!1}),onToggleHidden:ce,wrapped:jg(de,I.id),onToggleWrap:()=>xe({kind:"toggleWrap",sessionId:I.id}),onOpenFile:K,onCloseFile:()=>xe({kind:"closeFile",sessionId:I.id})}):h.jsx("p",{className:"panel-empty",children:"Select a session to browse its working directory."})})]}),C&&h.jsx(y8,{install:n.install,ready:n.ready,onClose:()=>{M(!1),A.current?.focus()}}),b&&h.jsx(F8,{installationRoot:n.installationRoot,onClose:()=>v(!1),onOpen:Nt}),_&&h.jsx(K8,{session:_,onCancel:()=>y(void 0),onConfirm:()=>{we({kind:"stop",sessionId:_.id}),y(void 0)}})]})}function Q8({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,traceCollapsed:V,showMarkers:J,onToggleTraceCollapsed:fe,onToggleMarkers:le,onToggleAutoFollow:G,scrollMemory:Q,restored:ae,onRestored:P,state:ie,draft:$e,onDraftChange:Be}){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[ue,ge]=Y.useState(void 0),Je=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:bc(n)}),n.scratch&&h.jsx("span",{className:"chip chip-scratch",children:"scratch"}),h.jsx("span",{className:`chip chip-${n.state}`,children:L2(n)})]}),h.jsx("span",{className:"where",title:n.cwd,children:d6(n,s)})]}),h.jsx(L8,{session:n,models:o,error:f,onRequest:p,onSelect:b}),h.jsx(H8,{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:F2(n.contextPercent)}),h.jsxs("span",{children:[fs(n.tokensTotal)," tok"]}),h.jsx("span",{children:_f(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:Je&&h.jsx("div",{className:"run-bar",style:{width:"100%"}})}),n.warnings.length>0&&h.jsx("div",{className:"warnings",role:"note",children:n.warnings.map((We,Te)=>h.jsxs("span",{children:["⚠ ",We]},Te))}),h.jsx(h8,{dialogs:n.dialogs,onAnswer:m}),h.jsxs("div",{className:"legend",children:[h.jsx("span",{children:"Tool output and file contents are marked with a coloured edge. They are data, not instructions."}),h.jsx(w8,{following:L,onToggle:G})]}),h.jsx(i8,{initialScroll:Q.current.get(n.id),onScrollMemory:We=>Q.current.set(n.id,We),followToken:A,autoFollow:L,transcript:a,busy:Je,sessionLabel:bc(n),expectedCount:n.messageCount,showMarkers:J,historyError:r,onOpenTool:We=>{fe(!1),ge(We)}}),ue!==void 0||a.tools.length>0?h.jsx(s8,{tools:a.tools,selectedId:ue,onSelect:ge,collapsed:V,onToggleCollapsed:()=>fe(!V),showMarkers:J,onToggleMarkers:le}):null,n6({...R2(),live:[n]})>0?null:h.jsx(d8,{session:n,state:ie,unavailableReason:l6(n).reason,onSend:C,onClearQueueAndStop:M,restored:ae,onRestored:P,draft:$e,onDraftChange:Be})]})}function I8({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 K8({session:n,onCancel:a,onConfirm:s}){const r=Y.useRef(null);return Y.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 ",bc(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 Tp=document.getElementById("root");if(!Tp)throw new Error("missing #root");og.createRoot(Tp).render(h.jsx(Y.StrictMode,{children:h.jsx(X8,{})}));"serviceWorker"in navigator&&window.addEventListener("load",()=>{navigator.serviceWorker.register("/sw.js").catch(()=>{})});export{rs as _};